/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0d1117;
  --bg-card:     #161b22;
  --bg-stat:     #1c2330;
  --bg-item:     #1c2330;
  --text:        #e6edf3;
  --text-muted:  #8b949e;
  --text-hint:   #484f58;
  --border:      rgba(255,255,255,0.07);
  --border-md:   rgba(255,255,255,0.13);
  --accent:      #2dd4bf;
  --accent-dark: #0f766e;
  --accent-dim:  rgba(45,212,191,0.12);
  --success:     #2dd4bf;
  --success-bg:  rgba(45,212,191,0.1);
  --error:       #f87171;
  --error-bg:    rgba(248,113,113,0.1);
  --nav-h:       64px;
  --header-h:    52px;
  --radius-md:   10px;
  --radius-lg:   16px;
}

html, body { height: 100%; font-size: 15px; }
body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* ── SCREENS ────────────────────────────────────────────── */
.screen { display: none; height: 100dvh; overflow-y: auto; }
.screen.active { display: block; }

/* ── AUTH ───────────────────────────────────────────────── */
.auth-logo { text-align: center; padding: 40px 24px 20px; }
.logo-img  { width: 180px; height: auto; display: block; margin: 0 auto; }
.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--border);
  padding: 20px; margin: 0 16px 16px;
  max-width: 420px; margin-left: auto; margin-right: auto;
}
.auth-logo { max-width: 420px; margin-left: auto; margin-right: auto; }
.auth-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 16px; }

/* ── FORM ELEMENTS ──────────────────────────────────────── */
label {
  display: block; font-size: 11px; color: var(--text-muted);
  margin-top: 12px; margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500;
}
input[type=text], input[type=email], input[type=password],
input[type=number], input[type=date], select {
  width: 100%; padding: 11px 13px;
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border-md);
  background: var(--bg-stat); color: var(--text);
  font-size: 16px; -webkit-appearance: none;
  transition: border-color 0.15s;
}
input:focus, select:focus { outline: none; border-color: var(--accent); }
input::placeholder { color: var(--text-hint); font-size: 14px; }

.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 44px; }
.eye-btn {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 16px; color: var(--text-muted); padding: 4px;
}
.eye-btn:hover { color: var(--accent); }

.inline-field { display: flex; align-items: center; gap: 8px; }
.inline-field input { width: 100px; }
.unit-label { font-size: 15px; color: var(--text-muted); }
.divider { height: 0.5px; background: var(--border); margin: 14px 0; }
.text-muted { color: var(--text-muted); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: block; width: 100%; padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border-md);
  background: var(--bg-card); color: var(--text);
  font-size: 15px; font-weight: 600; cursor: pointer;
  text-align: center; margin-top: 12px;
  transition: transform 0.1s, background 0.12s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #0d1117; border-color: var(--accent); }
.btn-primary:hover { background: #5eead4; }
.btn-danger  { color: var(--error); border-color: rgba(248,113,113,0.3); }
.btn-sm { display: inline-block; width: auto; padding: 6px 12px; font-size: 12px; margin-top: 0; font-weight: 600; }
.link-btn {
  background: none; border: none; color: var(--text-muted);
  font-size: 13px; cursor: pointer; text-decoration: underline;
  margin-top: 14px; display: block; text-align: center; width: 100%;
}
.btn-icon {
  background: none; border: 0.5px solid var(--border);
  border-radius: var(--radius-md); padding: 7px 16px;
  font-size: 18px; cursor: pointer; color: var(--text-muted);
}
.btn-icon:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn {
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: var(--text); padding: 6px;
  border-radius: 8px; line-height: 1;
}
.icon-btn:hover { background: var(--bg-stat); }

/* ── MESSAGES ───────────────────────────────────────────── */
.msg { font-size: 13px; margin-top: 8px; padding: 9px 12px; border-radius: var(--radius-md); display: none; }
.msg-error   { background: var(--error-bg);   color: var(--error); display: none; }
.msg-success { background: var(--success-bg); color: var(--success); display: none; }

/* ── APP LAYOUT ─────────────────────────────────────────── */
#screen-app {
  display: none; height: 100dvh;
  flex-direction: column; overflow: hidden;
}
#screen-app.active { display: flex; }

.app-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 16px; height: var(--header-h);
  background: var(--bg-card);
  border-bottom: 0.5px solid var(--border);
  flex-shrink: 0; z-index: 20;
}
.app-header h2 { font-size: 16px; font-weight: 600; }

/* ── SIDE MENU ──────────────────────────────────────────── */
.side-menu {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: 280px; background: var(--bg-card);
  border-right: 0.5px solid var(--border);
  z-index: 100; display: flex; flex-direction: column;
  transform: translateX(0); transition: transform 0.25s ease;
}
.side-menu.hidden { transform: translateX(-100%); }
.menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 99; transition: opacity 0.25s;
}
.menu-overlay.hidden { display: none; }
.side-menu-header {
  padding: 40px 20px 20px; border-bottom: 0.5px solid var(--border);
  text-align: center;
}
.menu-name  { font-size: 16px; font-weight: 600; margin-top: 8px; }
.menu-email { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.side-menu-items { flex: 1; padding: 12px 0; overflow-y: auto; }
.menu-item {
  display: block; width: 100%; padding: 14px 20px;
  background: none; border: none; cursor: pointer;
  text-align: left; font-size: 15px; color: var(--text);
  transition: background 0.1s;
}
.menu-item:hover { background: var(--bg-stat); color: var(--accent); }
.menu-logout {
  margin: 12px 16px 24px; display: block; width: calc(100% - 32px);
  padding: 12px; border-radius: var(--radius-md);
  border: 0.5px solid var(--border-md);
  background: none; color: var(--error); cursor: pointer;
  font-size: 14px; font-weight: 600;
}

/* ── NOTIFICATION BADGE ─────────────────────────────────── */
.notif-badge {
  position: absolute; top: 2px; right: 2px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--error);
}

/* ── PAGES ──────────────────────────────────────────────── */
.app-pages { flex: 1; overflow: hidden; position: relative; }
.page {
  display: none; position: absolute; inset: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.page.active { display: block; }
.page-content { padding: 16px 16px calc(var(--nav-h) + 16px); max-width: 500px; margin: 0 auto; }
.page-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 0.5px solid var(--border); padding: 20px; margin-bottom: 12px;
}
.page-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }

/* ── BOTTOM NAV ─────────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg-card);
  border-top: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  gap: 0; z-index: 30;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav .nav-btn:not(.nav-btn-center) { flex: 1; max-width: 160px; }
.nav-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; background: none; border: none;
  cursor: pointer; padding: 6px 4px;
  color: var(--text-muted); transition: color 0.15s;
}
.nav-btn.active { color: var(--accent); }
.nav-btn:not(.nav-btn-center):hover { color: var(--accent); }
.nav-icon  { font-size: 20px; line-height: 1; }
.nav-label { font-size: 10px; font-weight: 500; letter-spacing: 0.2px; }
.nav-btn-center {
  flex: 0 0 56px !important;
  width: 56px; height: 56px;
  background: var(--accent) !important;
  border-radius: 50% !important;
  margin-bottom: 8px;
  box-shadow: 0 4px 16px rgba(45,212,191,0.4);
  transition: transform 0.1s, box-shadow 0.1s;
}
.nav-btn-center:active { transform: scale(0.94); }
.nav-plus { font-size: 28px; color: #0d1117; font-weight: 300; line-height: 1; }

/* ── MONTH NAV ──────────────────────────────────────────── */
.month-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 16px;
}
.month-nav span {
  font-size: 17px; font-weight: 700; letter-spacing: -0.3px;
  min-width: 160px; text-align: center;
}

/* ── STATS ──────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px; margin-bottom: 20px;
}
.stat-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px 16px;
}
.stat-full { grid-column: unset; }
.stat-label { font-size: 10px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px; }
.stat-val   { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; color: var(--text); }
.stat-sub   { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ── SECTION HEADER ─────────────────────────────────────── */
.section-header-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.section-title { font-size: 15px; font-weight: 600; color: var(--text); }
.link-action { background: none; border: none; color: var(--accent); font-size: 13px; cursor: pointer; }

/* ── RESUMEN DÍAS ───────────────────────────────────────── */
.dia-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--border);
  cursor: pointer; transition: opacity 0.15s;
}
.dia-row:last-child { border-bottom: none; }
.dia-row.has-data:hover { opacity: 0.8; }
.dia-row-empty { opacity: 0.4; cursor: default; }
.dia-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.dia-num-box {
  font-size: 14px; font-weight: 700; color: var(--text);
  min-width: 20px; flex-shrink: 0;
}
.dia-name-box { font-size: 13px; color: var(--text-muted); text-transform: capitalize; flex-shrink: 0; min-width: 32px; }
.dia-boletas-count {
  font-size: 10px; font-weight: 600; color: var(--accent);
  background: var(--accent-dim); padding: 2px 7px; border-radius: 20px;
  border: 0.5px solid rgba(45,212,191,0.2); white-space: nowrap;
}
.dia-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.dia-total { font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.dia-empty-dash { color: var(--text-hint); font-size: 13px; }
.dia-arrow { color: var(--text-hint); font-size: 12px; font-weight: 600; }
#resumen-dias {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 0.5px solid var(--border); padding: 0 14px;
}

/* ── CALENDARIO ─────────────────────────────────────────── */
.cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center; margin-bottom: 8px;
}
.cal-weekdays span { font-size: 11px; color: var(--text-muted); font-weight: 600; padding: 4px 0; }

.cal-day {
  background: var(--bg-card); border-radius: var(--radius-md);
  border: 0.5px solid var(--border); margin-bottom: 6px; overflow: hidden;
}
.cal-day-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; cursor: pointer; transition: background 0.1s;
}
.cal-day-header:hover { background: var(--bg-stat); }
.cal-day.has-data { border-color: rgba(45,212,191,0.2); }
.cal-day-left { display: flex; align-items: center; gap: 10px; }
.cal-day-num { font-size: 18px; font-weight: 700; min-width: 30px; }
.cal-day-name { font-size: 13px; color: var(--text-muted); text-transform: capitalize; }
.cal-day-count {
  font-size: 11px; color: var(--accent); font-weight: 600;
  background: var(--accent-dim); padding: 2px 8px; border-radius: 20px;
}
.cal-day-right { display: flex; align-items: center; gap: 8px; }
.cal-day-total { font-size: 15px; font-weight: 700; color: var(--accent); }
.cal-day-chevron { font-size: 12px; color: var(--text-hint); transition: transform 0.2s; }
.cal-day-chevron.open { transform: rotate(180deg); }
.cal-day-body { display: none; border-top: 0.5px solid var(--border); }
.cal-day-body.open { display: block; }

.cal-boleta {
  padding: 10px 14px; border-bottom: 0.5px solid var(--border);
}
.cal-boleta:last-child { border-bottom: none; }
.cal-boleta-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.cal-boleta-num { font-size: 12px; font-weight: 700; color: var(--accent); }
.cal-boleta-com { font-size: 14px; font-weight: 700; color: var(--accent); }
.cal-boleta-serv { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.cal-boleta-prod { font-size: 11px; color: var(--accent); margin-top: 3px; }
.cal-boleta-desglose { font-size: 11px; color: var(--text-hint); margin-top: 2px; font-style: italic; }
.cal-boleta-actions { display: flex; gap: 4px; margin-top: 6px; }
.btn-action {
  background: none; border: 0.5px solid var(--border);
  border-radius: 6px; padding: 4px 8px; font-size: 13px;
  cursor: pointer; transition: background 0.12s;
}
.btn-edit:hover { border-color: var(--accent); background: var(--accent-dim); }
.btn-del:hover  { border-color: var(--error);  background: var(--error-bg); color: var(--error); }

.cal-day-footer {
  padding: 8px 14px; background: var(--bg-stat);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--text-muted);
  border-top: 0.5px solid var(--border);
}
.cal-day-footer strong { color: var(--accent); }

.cal-empty { opacity: 0.35; }
.cal-empty .cal-day-header { cursor: default; }
.cal-empty .cal-day-name { color: var(--text-hint); }

/* ── SEARCH & ITEMS ─────────────────────────────────────── */
.search-wrap { position: relative; margin-top: 4px; }
.dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--bg-card); border: 0.5px solid var(--border-md);
  border-radius: var(--radius-md); max-height: 240px; overflow-y: auto;
  z-index: 50; box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.dropdown.hidden { display: none; }
.dropdown-item {
  padding: 11px 14px; cursor: pointer;
  border-bottom: 0.5px solid var(--border);
  display: flex; justify-content: space-between;
  align-items: center; font-size: 14px;
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: var(--accent-dim); }
.d-nombre { color: var(--text); flex: 1; }
.d-precio { color: var(--accent); font-size: 13px; font-weight: 600; }
.dropdown-empty { padding: 14px; text-align: center; color: var(--text-hint); font-size: 13px; }

.items-list { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.item-chip {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--accent-dim); border: 0.5px solid rgba(45,212,191,0.2);
  border-radius: var(--radius-md); padding: 10px 12px; gap: 8px;
}
.chip-nombre { font-size: 13px; font-weight: 500; flex: 1; }
.chip-precio { font-size: 13px; color: var(--accent); font-weight: 600; }
.chip-remove {
  background: none; border: none; cursor: pointer;
  color: var(--text-hint); font-size: 16px; padding: 0 0 0 8px;
}
.chip-remove:hover { color: var(--error); }

.section-header-row label { margin: 0; }
.btn-add-prod {
  background: none; border: 0.5px solid var(--accent);
  color: var(--accent); border-radius: var(--radius-md);
  padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer;
}
.btn-add-prod:hover { background: var(--accent-dim); }

.producto-row {
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
}

/* ── PREVIEW ─────────────────────────────────────────────── */
.preview-box { margin-top: 4px; }
.preview-row {
  display: flex; justify-content: space-between;
  font-size: 14px; padding: 5px 0; color: var(--text-muted);
}
.preview-total-row {
  color: var(--text); font-size: 16px; padding-top: 8px;
  border-top: 0.5px solid var(--border); margin-top: 4px;
}
.preview-total-row strong { font-size: 22px; letter-spacing: -0.5px; color: var(--accent); }

/* ── ACCOUNT ─────────────────────────────────────────────── */
.account-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 14px; border-bottom: 0.5px solid var(--border);
}
.account-row:last-child { border-bottom: none; }
.account-row span { color: var(--text-muted); }

/* ── ADMIN ───────────────────────────────────────────────── */
.admin-section-title {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 10px 0 6px; border-bottom: 0.5px solid var(--border); margin-bottom: 8px;
}
.admin-user-card {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 12px; background: var(--bg-stat); border-radius: var(--radius-md);
  margin-bottom: 8px; border: 0.5px solid var(--border); gap: 8px;
}
.admin-user-name { font-size: 14px; font-weight: 600; }
.admin-user-pct  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.admin-user-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.admin-actions { display: flex; gap: 6px; }
.admin-badge {
  font-size: 10px; font-weight: 700; background: var(--accent-dim);
  color: var(--accent); padding: 2px 6px; border-radius: 20px; margin-left: 6px;
}
.estado-badge { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; }
.estado-success { background: var(--success-bg); color: var(--success); }
.estado-error   { background: var(--error-bg);   color: var(--error); }
.estado-warning { background: rgba(234,179,8,0.1); color: #ca8a04; }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  display: flex; align-items: flex-end; justify-content: center; z-index: 200;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: var(--bg-card); border-radius: 20px 20px 0 0;
  padding: 24px 20px 40px; width: 100%; max-width: 500px;
  border: 0.5px solid var(--border);
}
.modal h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.modal p  { font-size: 14px; color: var(--text-muted); }

/* ── EXPORT ──────────────────────────────────────────────── */
.radio-group { display: flex; gap: 16px; margin-top: 8px; }
.radio-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--text); cursor: pointer;
  text-transform: none; letter-spacing: 0; font-weight: 400; margin: 0;
}
.radio-label input[type=radio] { width: 16px; height: 16px; accent-color: var(--accent); }

/* ── EMPTY / LOADING ─────────────────────────────────────── */
.empty-state { text-align: center; padding: 32px 16px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.loading-msg { text-align: center; padding: 32px; color: var(--text-hint); font-size: 14px; }

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--border-md); border-radius: 4px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 380px) {
  html { font-size: 14px; }
  .stat-val { font-size: 22px; }
  .stat-full .stat-val { font-size: 28px; }
  .nav-label { font-size: 9px; }
}

@supports (padding: max(0px)) {
  .app-header { padding-top: max(0px, env(safe-area-inset-top)); }
  .bottom-nav { padding-bottom: max(0px, env(safe-area-inset-bottom)); }
}

/* ── AVATAR ──────────────────────────────────────────────── */
.avatar-wrap { position: relative; }
.avatar-circle {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #0d1117;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; cursor: pointer;
  border: 2px solid rgba(45,212,191,0.4);
  overflow: hidden; flex-shrink: 0;
  transition: border-color 0.15s;
}
.avatar-circle:hover { border-color: var(--accent); }

.avatar-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: 220px; background: var(--bg-card);
  border: 0.5px solid var(--border-md);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 200; overflow: hidden;
}
.avatar-dropdown.hidden { display: none; }

.avatar-dd-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border-bottom: 0.5px solid var(--border);
  background: var(--bg-stat);
}
.avatar-dd-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #0d1117;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; overflow: hidden; flex-shrink: 0;
}
.avatar-dd-name { font-size: 14px; font-weight: 600; color: var(--text); }

.avatar-dd-items { padding: 6px 0; }
.avatar-dd-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 11px 16px;
  background: none; border: none; cursor: pointer;
  text-align: left; font-size: 14px; color: var(--text);
  transition: background 0.1s;
}
.avatar-dd-item:hover { background: var(--bg-stat); }
.avatar-dd-logout { color: var(--error); }
.dd-icon { font-size: 16px; width: 20px; text-align: center; }
.avatar-dd-divider { height: 0.5px; background: var(--border); margin: 4px 0; }

/* ── PROFILE PAGE ────────────────────────────────────────── */
.profile-avatar-wrap { display: flex; flex-direction: column; align-items: center; padding: 8px 0 16px; }
.profile-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--accent); color: #0d1117;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 700; overflow: hidden;
  border: 3px solid rgba(45,212,191,0.4); margin-bottom: 12px;
}
.change-photo-btn {
  font-size: 13px; color: var(--accent); cursor: pointer;
  background: var(--accent-dim); border: 0.5px solid rgba(45,212,191,0.3);
  padding: 6px 14px; border-radius: 20px; font-weight: 600;
  text-transform: none; letter-spacing: 0; margin: 0;
  display: inline-block;
}
.photo-hint { font-size: 11px; color: var(--text-hint); margin-top: 6px; }
.profile-name  { font-size: 20px; font-weight: 700; margin-top: 12px; }
.profile-email { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ── PRECIO EDITABLE EN CHIP ─────────────────────────────── */
.chip-precio-wrap {
  display: flex; align-items: center; gap: 2px; flex-shrink: 0;
}
.chip-precio-input {
  width: 80px; padding: 4px 6px !important;
  font-size: 13px !important; font-weight: 600;
  color: var(--accent) !important;
  background: rgba(45,212,191,0.08) !important;
  border: 0.5px solid rgba(45,212,191,0.3) !important;
  border-radius: 6px !important; text-align: right;
}
.chip-precio-input:focus {
  outline: none; border-color: var(--accent) !important;
  background: rgba(45,212,191,0.15) !important;
}

/* ── ROL SELECT EN ADMIN ─────────────────────────────────── */
.rol-select {
  font-size: 12px !important; padding: 4px 8px !important;
  border-radius: 6px !important; width: auto !important;
  color: var(--accent) !important;
  background: var(--accent-dim) !important;
  border: 0.5px solid rgba(45,212,191,0.3) !important;
}

/* ── SCAN BUTTON ─────────────────────────────────────────── */
.scan-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-dim); border: 0.5px solid rgba(45,212,191,0.3);
  color: var(--accent); border-radius: 20px;
  padding: 7px 14px; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  text-transform: none; letter-spacing: 0; margin: 0;
}
.scan-btn:hover { background: rgba(45,212,191,0.2); }
.scan-btn:active { transform: scale(0.97); }
