:root {
  font-family: Inter, system-ui, sans-serif;
  color: #1d2330;
  background: #f8f6f3;
  --pink: #dc6fa8;
  --ink: #1d2330;
  --card: #fff;
  --line: #e6dfd9;
  --muted: #6d7077;
}

* { box-sizing: border-box; }
body { margin: 0; }
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 5vw;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
main { width: min(1100px, 92vw); margin: 32px auto; }
.brand { font-family: Georgia, serif; font-size: 1.35rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px #24140a0b;
}
h1, h2 { font-family: Georgia, serif; }
label { display: grid; gap: 6px; margin: 10px 0; }
input, select, button { font: inherit; padding: 11px 13px; border: 1px solid #cfc6bf; border-radius: 10px; }
button { cursor: pointer; background: var(--ink); color: #fff; border: 0; }
button:disabled { cursor: not-allowed; opacity: .45; }
.secondary { background: #eee8e3; color: var(--ink); }
.danger { background: #a83d4d; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.muted { color: var(--muted); }
.tag { display: inline-block; padding: 5px 9px; background: #f4e7ef; border-radius: 999px; font-size: .82rem; }
.hidden { display: none; }
.queue-number { font: 700 4rem Georgia, serif; color: var(--pink); text-align: center; }
.queue-advance { animation: advance 1.1s ease; }
@keyframes advance {
  0% { transform: scale(.88); opacity: .4; }
  45% { transform: scale(1.12); text-shadow: 0 0 30px #dc6fa877; }
  100% { transform: scale(1); opacity: 1; }
}
table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); }
a { color: var(--pink); }
.site-nav { display: flex; justify-content: flex-end; align-items: center; gap: 12px; flex-wrap: wrap; }
.site-nav a.active { color: var(--ink); font-weight: 700; text-decoration-thickness: 2px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.page-heading h1, .page-heading p { margin: 0 0 6px; }
.management-layout { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 16px; align-items: start; }
.management-list { min-width: 0; }
.status-summary { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.summary-item { display: flex; gap: 7px; align-items: baseline; padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.summary-item b { font-size: 1.25rem; }
.staff-status-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: 10px; max-height: 310px; overflow: auto; padding: 2px 6px 2px 2px; margin-bottom: 30px; }
.staff-status-card { display: flex; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.status-dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; flex: 0 0 auto; }
.status-disponible { background: #318a57; }
.status-ocupado { background: #dc6fa8; }
.status-break { background: #d18a27; }
.client-list { display: grid; gap: 16px; }
.client-card h3 { margin: 8px 0 0; font-size: 1.35rem; }
.client-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.status-pill { padding: 5px 9px; border-radius: 999px; font-size: .82rem; text-transform: capitalize; background: #eee8e3; }
.service-assignment-list { margin: 18px 0; border-top: 1px solid var(--line); }
.service-assignment { display: grid; grid-template-columns: minmax(180px,1fr) minmax(260px,1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.assigned-to { margin-top: 5px; color: #256d45; font-size: .9rem; }
.assign-control { display: flex; gap: 8px; }
.assign-control select,.assign-control input { min-width: 0; flex: 1; }
.assignment-note { color: var(--muted); font-size: .88rem; margin: 5px 0 0; }
.situation-actions { justify-content: flex-end; }

.admin-header nav { justify-content: flex-end; }
.list-toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.list-toolbar input { flex: 1 1 280px; min-width: 0; }
.result-count { color: var(--muted); white-space: nowrap; }
.entity-list { display: grid; gap: 8px; }
.entity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.entity-row:last-child { border-bottom: 0; }
.entity-main { min-width: 0; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 18px; }
.pagination button { min-width: 105px; }
.empty-state { text-align: center; padding: 44px 20px; }
.empty-state h2 { margin-bottom: 8px; }
.empty-state p { margin: 0; }

.service-picker { margin-top: 10px; }
.service-picker > input { width: 100%; margin-bottom: 12px; }
.service-groups { display: grid; gap: 12px; max-height: 430px; overflow: auto; padding-right: 4px; }
.service-group { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.service-group h3 { margin: 0 0 8px; font-size: 1rem; text-transform: capitalize; }
.service-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 6px;
  border-top: 1px solid #f1ece8;
  cursor: pointer;
}
.service-option:first-of-type { border-top: 0; }
.service-option input { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; }
.service-option span { display: flex; justify-content: space-between; gap: 12px; width: 100%; }
.selected-services { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.selection-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.selection-error { color: #a83d4d; margin: 8px 0 0; }

@media (max-width: 620px) {
  header { align-items: flex-start; padding: 15px 4vw; }
  header { flex-direction: column; }
  header .site-nav { width: 100%; justify-content: flex-start; }
  header .site-nav a { padding: 8px 0; }
  main { margin: 24px auto; }
  .card { padding: 16px; border-radius: 14px; }
  .list-toolbar { align-items: stretch; flex-direction: column; }
  .result-count { white-space: normal; }
  .entity-row { align-items: flex-start; }
  .entity-row button { flex: 0 0 auto; }
  .pagination { gap: 8px; }
  .pagination button { min-width: 0; flex: 1; }
  .selection-summary { align-items: flex-start; flex-direction: column; }
  .service-option span { flex-direction: column; gap: 2px; }
  .page-heading { align-items: flex-start; }
  .management-layout { grid-template-columns: 1fr; }
  .service-assignment { grid-template-columns: 1fr; }
  .assign-control { flex-direction: column; }
  .situation-actions { justify-content: flex-start; }
}

/* Prototipo visual del panel operativo */
.admin-dashboard-body {
  --dash-bg: #f7f8f5;
  --dash-ink: #191c1a;
  --dash-muted: #777d78;
  --dash-green: #1f6a52;
  --dash-green-soft: #e5f2eb;
  --dash-rose: #c9698f;
  min-height: 100vh;
  background: var(--dash-bg);
  color: var(--dash-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.dashboard-sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; z-index: 20; display: flex; flex-direction: column; padding: 28px 18px 20px; color: #fff; background: linear-gradient(165deg,#173f35 0%,#102e27 62%,#0c241f 100%); box-shadow: 12px 0 40px #16382d17; }
.dashboard-logo { display: flex; align-items: center; gap: 12px; padding: 0 10px 30px; color: #fff; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px 4px 14px 4px; color: #244f42; background: linear-gradient(135deg,#f7d5df,#efb7cb); font: 700 1.4rem Georgia,serif; box-shadow: 0 8px 24px #0003; }
.dashboard-logo b { display: block; font: 600 1.2rem Georgia,serif; letter-spacing: .02em; }
.dashboard-logo small { display: block; margin-top: 1px; color: #a9c3b9; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.dashboard-nav { display: grid; gap: 7px; }
.dashboard-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 13px; border-radius: 12px; color: #bdd0c9; text-decoration: none; font-size: .88rem; font-weight: 550; transition: .2s ease; }
.dashboard-nav a span { display: grid; width: 22px; place-items: center; font-size: 1.1rem; }
.dashboard-nav a:hover { color: #fff; background: #ffffff0b; transform: translateX(2px); }
.dashboard-nav a.active { color: #fff; background: linear-gradient(90deg,#ffffff1c,#ffffff0c); box-shadow: inset 3px 0 #e9a8c0; }
.sidebar-profile { display: grid; grid-template-columns: 36px 1fr 30px; gap: 10px; align-items: center; margin-top: auto; padding: 14px 10px 0; border-top: 1px solid #ffffff16; }
.profile-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: #173f35; background: #f0bdcf; font-size: .72rem; font-weight: 800; }
.sidebar-profile b,.sidebar-profile small { display: block; }
.sidebar-profile b { font-size: .8rem; }.sidebar-profile small { margin-top: 2px; color: #8daf9f; font-size: .68rem; }
.sidebar-profile button { padding: 5px; color: #9db8ae; background: transparent; font-size: 1rem; }
.dashboard-shell { min-height: 100vh; margin-left: 244px; }
.dashboard-topbar { position: sticky; top: 0; z-index: 10; height: 72px; display: flex; justify-content: space-between; align-items: center; padding: 0 3.2vw; background: #f7f8f5e8; border-bottom: 1px solid #e2e6e1; backdrop-filter: blur(16px); }
.topbar-search { display: flex; align-items: center; gap: 9px; width: min(410px,48vw); padding: 9px 14px; border: 1px solid #dfe4df; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px #152b2308; }
.topbar-search span { color: #8b918c; font-size: 1.2rem; }.topbar-search input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: .86rem; }
.topbar-title b,.topbar-title span { display:block }.topbar-title b { font:600 .95rem Georgia,serif }.topbar-title span { margin-top:2px;color:#817981;font-size:.7rem }
.live-indicator { display: flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #dbe9e1; border-radius: 999px; color: #35705a; background: #eef7f1; font-size: .74rem; font-weight: 700; }
.live-indicator span { width: 7px; height: 7px; border-radius: 50%; background: #45a878; box-shadow: 0 0 0 4px #45a8781f; animation: live-pulse 2s infinite; }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 7px #45a87800; } }
.mobile-menu { display: none; }
.dashboard-main { width: min(1360px,93%); margin: 0 auto; padding: 38px 0 60px; }
.dashboard-welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.eyebrow,.section-kicker { color: #a55b78; font-size: .67rem; font-weight: 800; letter-spacing: .16em; }
.dashboard-welcome h1 { margin: 6px 0 5px; font: 600 clamp(2rem,3.2vw,3rem)/1.05 Georgia,serif; letter-spacing: -.035em; }
.dashboard-welcome p { margin: 0; color: var(--dash-muted); font-size: .91rem; }
.refresh-button { display: flex; align-items: center; gap: 8px; padding: 10px 15px; color: #234c40; background: #fff; border: 1px solid #dce2dd; box-shadow: 0 6px 20px #173e320a; font-size: .82rem; font-weight: 650; }
.refresh-button:hover span { transform: rotate(180deg); }.refresh-button span { display: inline-block; transition: .35s ease; }
.metric-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 13px; margin-bottom: 32px; }
.metric-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 18px; border: 1px solid #e0e4df; border-radius: 17px; background: #fff; box-shadow: 0 10px 28px #17382d09; }
.metric-card::after { content:""; position:absolute; right:-25px; bottom:-35px; width:85px; height:85px; border-radius:50%; background:currentColor; opacity:.035; }
.metric-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px; font-size: 1.1rem; }
.metric-clients .metric-icon { color:#9c4c6c;background:#f9eaf0 }.metric-available .metric-icon { color:#287257;background:#e4f3eb }.metric-busy .metric-icon { color:#3b648c;background:#e8f0f8 }.metric-break .metric-icon { color:#9a6a25;background:#f8efdf }.metric-lunch .metric-icon { color:#8a5b19;background:#fff0c9 }
.metric-card span,.metric-card small { display:block;color:var(--dash-muted) }.metric-card span { font-size:.72rem;font-weight:650 }.metric-card b { display:block;margin:2px 0;font-size:1.55rem;line-height:1 }.metric-card small { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.65rem }
.dashboard-columns { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(310px,.8fr); gap: 24px; align-items: start; }
.dashboard-section { min-width: 0; }.section-heading { display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:14px }.section-heading h2 { margin:4px 0 0;font:600 1.45rem Georgia,serif }.section-heading a { color:#28654f;font-size:.76rem;font-weight:700;text-decoration:none }.count-badge { padding:6px 10px;border-radius:999px;color:#5c625e;background:#e9ede9;font-size:.7rem;font-weight:700 }
.admin-dashboard-body .client-list { gap:14px }.admin-dashboard-body .client-card { overflow:hidden;padding:0;border:1px solid #e0e4df;border-radius:19px;background:#fff;box-shadow:0 12px 32px #16372c0a;transition:.2s ease }.admin-dashboard-body .client-card:hover { border-color:#cad7cf;box-shadow:0 16px 38px #16372c11;transform:translateY(-1px) }
.admin-dashboard-body .client-card.focused-client { border-color:#dc6fa8!important;box-shadow:0 0 0 4px #dc6fa820,0 18px 48px #8b3c641f!important;animation:focus-pulse 1.1s ease 2 }
.admin-dashboard-body .client-card-header { padding:18px 20px 13px }.client-identity { display:flex;align-items:center;gap:12px }.client-avatar { display:grid;place-items:center;width:42px;height:42px;border-radius:14px;color:#813e59;background:linear-gradient(145deg,#f9e9ef,#f1cddd);font-size:.75rem;font-weight:800 }.client-turn { color:#9a6075;font-size:.61rem;font-weight:800;letter-spacing:.12em }.admin-dashboard-body .client-card h3 { margin:2px 0 0;font-size:1.15rem }.situation-menu { padding:7px 10px;color:#565d58;background:#f2f4f2;border:1px solid #e3e7e3;border-radius:999px;font-size:.7rem;text-transform:capitalize }.progress-block { padding:0 20px 14px }.progress-block>div:first-child { display:flex;justify-content:space-between;margin-bottom:7px;color:#838984;font-size:.66rem }.progress-block b { color:#3b6757 }.progress-track { height:5px;overflow:hidden;border-radius:99px;background:#edf0ed }.progress-track span { display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#2b745b,#72ad91);transition:width .4s ease }
.client-card-actions { display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end }.add-service-button { min-height:36px;padding:7px 10px!important;font-size:.68rem!important }.client-observation { margin:8px 0 0;padding:8px 10px;border-left:3px solid #dc6fa8;border-radius:8px;color:#6a5f66;background:#fff7fb;font-size:.7rem;line-height:1.45 }.situation-presente { border-left:4px solid #4aa576!important }.situation-ausente { border-left:4px solid #e0a84f!important;background:#fffdf8!important }.situation-estafa { border-left:4px solid #d95365!important;background:#fff8f9!important }.situation-menu.status-presente { color:#287055;background:#e4f3eb;border-color:#cde8d9 }.situation-menu.status-ausente { color:#936521;background:#fff0c9;border-color:#ead29b }.situation-menu.status-estafa { color:#9d2f43;background:#ffe4e8;border-color:#f0b8c1 }
.admin-dashboard-body .service-assignment-list { margin:0;border-top:1px solid #edf0ed }.admin-dashboard-body .service-assignment { padding:14px 20px;border-color:#edf0ed;grid-template-columns:minmax(180px,1fr) minmax(230px,.9fr) }.service-info { display:flex;align-items:flex-start;gap:10px }.area-dot { flex:0 0 auto;width:8px;height:8px;margin-top:5px;border-radius:50%;background:#c9698f;box-shadow:0 0 0 4px #c9698f17 }.area-hidratacion .area-dot { background:#4b9bc4;box-shadow:0 0 0 4px #4b9bc417 }.area-manicure .area-dot { background:#d99b35;box-shadow:0 0 0 4px #d99b3517 }.area-cejas .area-dot { background:#48a179;box-shadow:0 0 0 4px #48a17917 }.service-info b { font-size:.76rem;letter-spacing:.01em }.service-meta { margin-top:3px;color:#858b87;font-size:.67rem;text-transform:capitalize }.area-pending-note { display:inline-flex;margin-top:6px;padding:4px 7px;border-radius:999px;color:#8b436a;background:#f8e8f0;font-size:.62rem;font-weight:750 }.admin-dashboard-body .assigned-to { display:flex;align-items:center;gap:5px;margin-top:6px;color:#36705b;font-size:.68rem }.assigned-to span { display:grid;place-items:center;width:20px;height:20px;border-radius:7px;color:#276149;background:#dff0e7;font-size:.55rem;font-weight:800 }.admin-dashboard-body .assign-control select { padding:8px 10px;border-color:#dce2dd;background:#fbfcfb;font-size:.72rem }.admin-dashboard-body .assign-control button { padding:8px 12px;border-radius:9px;background:#183f34;font-size:.7rem;font-weight:700 }.admin-dashboard-body .assignment-note { font-size:.66rem }.admin-dashboard-body .situation-actions { display:none;padding:12px 20px 16px;border-top:1px solid #edf0ed;align-items:center;gap:7px }.admin-dashboard-body .situation-actions.visible { display:flex }.admin-dashboard-body .situation-actions span { margin-right:auto;color:#858b87;font-size:.68rem }.admin-dashboard-body .situation-actions button { padding:7px 10px;font-size:.68rem }
.staff-filter-tabs { display:flex;gap:5px;padding:5px;margin-bottom:10px;border-radius:12px;background:#ebefec;overflow:auto }.staff-filter-tabs button { flex:1;padding:7px 8px;color:#747a76;background:transparent;white-space:nowrap;font-size:.64rem }.staff-filter-tabs button.active { color:#234e41;background:#fff;box-shadow:0 3px 10px #173a2f12 }.staff-filter-tabs b { margin-left:3px }.admin-dashboard-body .staff-status-grid { display:grid;grid-template-columns:1fr;gap:7px;max-height:520px;margin:0;padding:1px 4px 1px 1px }.admin-dashboard-body .staff-status-card { display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:10px;border-color:#e4e8e4;border-radius:13px;box-shadow:0 5px 18px #17382d06 }.staff-avatar { display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#315f50;background:#e5f0ea;font-size:.68rem;font-weight:800 }.staff-copy { min-width:0 }.staff-copy b,.staff-copy span { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap }.staff-copy b { font-size:.75rem }.staff-copy span { margin-top:2px;color:#8a908c;font-size:.6rem;text-transform:capitalize }.staff-state { padding:5px 7px;border-radius:99px;font-size:.57rem;font-weight:700 }.staff-state.status-disponible { color:#287055;background:#e4f3eb }.staff-state.status-ocupado { color:#99516f;background:#f8e7ee }.staff-state.status-break { color:#936521;background:#f8eddb }.dashboard-skeleton { height:240px;border-radius:18px;background:linear-gradient(100deg,#ecefeb 30%,#f7f8f6 50%,#ecefeb 70%);background-size:300% 100%;animation:skeleton 1.4s infinite }.admin-dashboard-body [hidden] { display:none!important } @keyframes skeleton { to { background-position:-150% 0 } }

@media (max-width: 1050px) { .metric-grid { grid-template-columns:repeat(2,1fr) }.dashboard-columns { grid-template-columns:1fr }.admin-dashboard-body .staff-status-grid { grid-template-columns:repeat(2,minmax(0,1fr));max-height:340px } }
@media (max-width: 760px) { .dashboard-sidebar { transform:translateX(-105%);transition:.25s ease }.sidebar-open .dashboard-sidebar { transform:translateX(0);box-shadow:20px 0 80px #0005 }.dashboard-shell { margin-left:0 }.dashboard-topbar { height:64px;padding:0 4vw }.mobile-menu { display:block;padding:7px 9px;color:#234c40;background:#fff;border:1px solid #dce2dd }.topbar-search { width:min(370px,65vw) }.dashboard-main { width:92%;padding-top:26px }.dashboard-welcome { align-items:flex-start }.dashboard-welcome h1 { font-size:2rem }.metric-grid { grid-template-columns:repeat(2,1fr) }.admin-dashboard-body .service-assignment { grid-template-columns:1fr }.admin-dashboard-body .staff-status-grid { grid-template-columns:1fr }.live-indicator { display:none } }
@media (max-width: 480px) { .dashboard-welcome { flex-direction:column }.refresh-button { align-self:flex-start }.metric-grid { grid-template-columns:1fr 1fr;gap:8px }.metric-card { padding:13px;gap:9px }.metric-icon { width:34px;height:34px }.metric-card b { font-size:1.25rem }.metric-card small { display:none }.admin-dashboard-body .client-card-header { padding:15px }.progress-block { padding:0 15px 13px }.admin-dashboard-body .service-assignment { padding:13px 15px }.topbar-search { width:72vw }.dashboard-welcome p { font-size:.8rem } }

/* Paleta original de Mundo del Cabello */
.admin-dashboard-body {
  --dash-bg: #f8f6f3;
  --dash-ink: #1d2330;
  --dash-muted: #6d7077;
  --dash-rose: #dc6fa8;
  background: radial-gradient(circle at 85% 5%, #f9e8f1 0, transparent 24%), var(--dash-bg);
}
.dashboard-sidebar { background: linear-gradient(165deg,#252b39 0%,#1d2330 58%,#171c27 100%); box-shadow: 12px 0 40px #24140a12; }
.logo-mark { color:#7c355d;background:linear-gradient(135deg,#f8dcea,#dc6fa8) }.dashboard-logo small { color:#c9bac3 }.dashboard-nav a { color:#c9c5cc }.dashboard-nav a.active { background:linear-gradient(90deg,#dc6fa826,#ffffff08);box-shadow:inset 3px 0 #dc6fa8 }.dashboard-nav a:hover { background:#dc6fa812 }.profile-avatar { color:#6f3153;background:#efb9d5 }.sidebar-profile small,.sidebar-profile button { color:#b9acb5 }
.dashboard-topbar { background:#f8f6f3e8;border-color:#e6dfd9 }.topbar-search { border-color:#e2d9d3;box-shadow:0 5px 18px #24140a08 }.live-indicator { color:#9c4d76;background:#f9eaf2;border-color:#efd5e3 }.live-indicator span { background:#dc6fa8;box-shadow:0 0 0 4px #dc6fa824 }.eyebrow,.section-kicker { color:#c2548d }.refresh-button { color:#1d2330;border-color:#e2d9d3;box-shadow:0 6px 20px #24140a0a }
.metric-card { border-color:#e6dfd9;box-shadow:0 10px 28px #24140a09 }.metric-clients .metric-icon { color:#a33f74;background:#f8e5ef }.metric-available .metric-icon { color:#287257;background:#e4f3eb }.metric-busy .metric-icon { color:#854366;background:#f4e3ec }.metric-break .metric-icon { color:#9a6a25;background:#f8efdf }.metric-lunch .metric-icon { color:#8a5b19;background:#fff0c9 }
.section-heading a { color:#c2548d }.count-badge { color:#735c68;background:#f2e8ed }.admin-dashboard-body .client-card { border-color:#e6dfd9;box-shadow:0 12px 32px #24140a0a }.admin-dashboard-body .client-card:hover { border-color:#e2bfd1;box-shadow:0 16px 38px #6c304d12 }.client-avatar { color:#7e345b;background:linear-gradient(145deg,#faeaf2,#efbfd7) }.client-turn { color:#bd558c }.progress-block b { color:#a84277 }.progress-track { background:#f1e7ec }.progress-track span { background:linear-gradient(90deg,#c9548f,#e78cba) }
.admin-dashboard-body .assign-control button { background:#1d2330 }.admin-dashboard-body .assigned-to { color:#a04474 }.assigned-to span { color:#85335e;background:#f6dfeb }.staff-filter-tabs { background:#eee8e3 }.staff-filter-tabs button.active { color:#8e3d68;box-shadow:0 3px 10px #24140a12 }.admin-dashboard-body .staff-status-card { border-color:#e6dfd9;box-shadow:0 5px 18px #24140a06 }.staff-avatar { color:#8a3c66;background:#f5e2ec }.dashboard-skeleton { background:linear-gradient(100deg,#eee8e3 30%,#faf8f6 50%,#eee8e3 70%);background-size:300% 100% }
.admin-dashboard-body .assign-control .specialist-search { padding:8px 10px;border-color:#dce2dd;background:#fbfcfb;font-size:.72rem }
.admin-dashboard-body .assign-control .specialist-search.specialist-selected {
  color:#81375f;background:#fff0f7;border-color:#dc6fa8;
  box-shadow:0 0 0 4px #dc6fa81c;font-weight:800
}
.admin-dashboard-body .assign-control .specialist-search.specialist-selected + datalist + button {
  background:linear-gradient(135deg,#a94477,#dc6fa8);
  box-shadow:0 7px 18px #dc6fa82e
}
.dashboard-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 22px }
.quick-action { display:flex;align-items:center;gap:13px;padding:15px 17px;border:1px solid #e4dcd7;border-radius:16px;color:#2a2630;background:#fff;text-decoration:none;box-shadow:0 8px 24px #24140a08;transition:.2s ease }
.quick-action:hover { transform:translateY(-1px);border-color:#dfb6cb;box-shadow:0 12px 30px #6c304d12 }
.quick-action>span { display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#87365f;background:#f7e2ed;font-size:1.1rem }
.quick-action b,.quick-action small { display:block }.quick-action b { font-size:.82rem }.quick-action small { margin-top:3px;color:#817981;font-size:.68rem }
.quick-action.primary { color:#fff;border-color:#292e3b;background:linear-gradient(135deg,#252b39,#171c27) }.quick-action.primary>span { color:#fff;background:#dc6fa8 }.quick-action.primary small { color:#d2cbd0 }
.load-status { display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-8px 0 18px;padding:12px 15px;border:1px solid #efc9d9;border-radius:13px;color:#7f355b;background:#fff2f7;font-size:.78rem }
.load-status button { padding:7px 11px;background:#1d2330;font-size:.7rem }

/* Sistema visual compartido para las pantallas secundarias */
html { scroll-behavior: smooth; }
body.modern-page { min-height:100vh;background:radial-gradient(circle at 92% 2%,#f9e4ef 0,transparent 24%),#f8f6f3;color:#1d2330; }
.modern-page .app-shell { min-height:100vh;display:grid;grid-template-columns:244px minmax(0,1fr); }
.modern-page .app-sidebar { position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:28px 18px 20px;color:#fff;background:linear-gradient(165deg,#252b39,#1d2330 58%,#171c27);box-shadow:12px 0 40px #24140a12;z-index:20; }
.modern-page .app-content { min-width:0; }
.modern-page .app-topbar { position:sticky;top:0;z-index:10;height:72px;padding:0 3.2vw;background:#f8f6f3e8;border-bottom:1px solid #e6dfd9;backdrop-filter:blur(16px); }
.modern-page .app-topbar-copy b,.modern-page .app-topbar-copy span { display:block; }.modern-page .app-topbar-copy b { font:600 .95rem Georgia,serif }.modern-page .app-topbar-copy span { margin-top:2px;color:#817981;font-size:.68rem }
.modern-page .app-main { width:min(1180px,92%);margin:0 auto;padding:38px 0 64px;animation:page-in .45s ease both; }
.modern-page .page-heading { margin-bottom:26px; }.modern-page .page-heading h1 { margin:5px 0 7px;font:600 clamp(2rem,4vw,3rem)/1.05 Georgia,serif;letter-spacing:-.035em }.modern-page .page-heading p { max-width:620px; }
.modern-page .section-kicker { display:block; }.modern-page .card { border-color:#e6dfd9;box-shadow:0 12px 34px #24140a0a;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease }.modern-page .card:hover { border-color:#e3c4d4;box-shadow:0 18px 42px #6b304d10 }
.modern-page input,.modern-page select { width:100%;background:#fcfbfa;border-color:#ddd5cf;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease }.modern-page input:focus,.modern-page select:focus { background:#fff;border-color:#d66da4;box-shadow:0 0 0 4px #dc6fa817 }
.modern-page .service-option { display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:12px;padding:12px 8px;overflow:hidden }.modern-page .service-option>input { width:18px;height:18px;padding:0;accent-color:#dc6fa8;box-shadow:none }.modern-page .service-option>span { min-width:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:14px;width:100% }.modern-page .service-option>span>span { min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap }.modern-page .service-option b { flex:0 0 auto;color:#9c4975;font-size:.82rem }
.modern-page button { transition:transform .18s ease,box-shadow .18s ease,background .18s ease }.modern-page button:hover:not(:disabled) { transform:translateY(-1px);box-shadow:0 8px 18px #1d23301c }.modern-page button:active:not(:disabled) { transform:translateY(0) scale(.98) }
.modern-page .primary-button { background:linear-gradient(135deg,#252b39,#1d2330);font-weight:700 }.modern-page .pink-button { background:linear-gradient(135deg,#ca578f,#e37daf);font-weight:700;box-shadow:0 8px 20px #dc6fa829 }
.modern-page .management-layout { grid-template-columns:minmax(280px,350px) minmax(0,1fr);gap:22px }.modern-page .form-card { position:sticky;top:94px }.modern-page .form-card h2 { margin:5px 0 4px }.modern-page .form-card>p { margin-top:0;font-size:.82rem }.modern-page .form-card button[type=submit] { width:100%;margin-top:8px }
.catalog-form-stack { display:grid;gap:18px;align-items:start }.catalog-form-stack .form-card { position:static }.promotion-form h2 { margin:5px 0 4px }.promotion-form>p { margin-top:0;font-size:.82rem }.promotion-form button[type=submit] { width:100%;margin-top:8px }.promotion-service-picker { max-height:250px;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:4px 12px;margin-top:4px }.promotion-service-picker small,.promotion-summary small { display:block;color:#7b7374;font-size:.72rem;margin-top:3px }.promotion-picker-row { border-bottom:1px solid #f1ebe7;padding:3px 0 9px }.promotion-picker-row:last-child { border-bottom:0 }.promotion-picker-row .service-option { border:0;padding-bottom:4px }.promotion-price { display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 0 40px;font-size:.72rem;color:#766b70 }.promotion-price input { width:104px;padding:7px 8px }.promotion-total { display:flex;justify-content:space-between;margin:8px 0 0!important;padding:10px;border-radius:10px;background:#fdf3f8;color:#84385f;font-size:.88rem!important }.promotion-list { margin-bottom:12px }.promotion-summary { border:1px solid #f1cddd;border-radius:14px;padding:13px;background:#fff8fb;display:grid;gap:8px }.promotion-summary article { display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:7px;border-top:1px solid #f4ddea }.promotion-summary article:first-of-type { border-top:0;padding-top:0 }.promotion-actions { display:flex;gap:6px;flex:0 0 auto }.promotion-actions button { padding:7px 9px!important;font-size:.7rem }.promotion-edit-modal { width:min(650px,94vw) }
.modern-page .list-toolbar { padding-bottom:14px;border-bottom:1px solid #eee8e3 }.search-field { position:relative;flex:1 }.search-field span { position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#9a8f96 }.search-field input { padding-left:37px }.result-count { padding:6px 10px;border-radius:999px;background:#f3e9ee;color:#8e426a;font-size:.72rem;font-weight:700 }
.entity-list { gap:0 }.modern-page .entity-row { margin:0 -8px;padding:13px 10px;border-radius:13px;border-bottom:1px solid #eee8e3;transition:background .18s ease,transform .18s ease }.modern-page .entity-row:hover { background:#fbf5f8;transform:translateX(2px) }.entity-identity { display:flex;align-items:center;gap:12px;min-width:0 }.entity-avatar { display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:14px;color:#84385f;background:linear-gradient(145deg,#faeaf2,#efbfd7);font-size:.7rem;font-weight:800 }.entity-main b { display:block }.entity-meta { display:flex;gap:6px;flex-wrap:wrap;margin-top:5px }.mini-pill { padding:3px 7px;border-radius:99px;background:#f0ece9;color:#746d70;font-size:.62rem;text-transform:capitalize }.mini-pill.available { color:#287055;background:#e4f3eb }.edit-button { padding:8px 11px!important;background:#f0ebe7!important;color:#1d2330!important;font-size:.72rem;font-weight:700 }
.stats-strip { display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px }.stat-chip { padding:13px 15px;border:1px solid #e6dfd9;border-radius:15px;background:#ffffffb8 }.stat-chip span,.stat-chip b { display:block }.stat-chip span { color:#817981;font-size:.66rem }.stat-chip b { margin-top:3px;font-size:1.35rem }
.modal-backdrop { position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:#1619238c;backdrop-filter:blur(7px);animation:fade-in .2s ease }.modal-backdrop[hidden] { display:none }.edit-modal { width:min(520px,100%);max-height:90vh;overflow:auto;padding:25px;border:1px solid #ffffff70;border-radius:22px;background:#fff;box-shadow:0 28px 90px #11152255;animation:modal-in .25s ease }.modal-heading { display:flex;justify-content:space-between;align-items:flex-start;gap:16px }.modal-heading h2 { margin:4px 0 0 }.close-button { width:36px;height:36px;padding:0;border-radius:50%;background:#f0ebe7;color:#1d2330 }.modal-actions { display:flex;justify-content:flex-end;gap:9px;margin-top:18px }.toast { position:fixed;right:24px;bottom:24px;z-index:200;padding:12px 17px;border-radius:13px;color:#fff;background:#1d2330;box-shadow:0 15px 40px #1d233044;animation:toast-in .3s ease }.toast[hidden] { display:none }
.compact-service-groups { max-height:46vh;overflow:auto;margin-top:14px;padding-right:4px }.compact-service-groups .service-group { margin-top:10px }
.area-picker { display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:7px 0 14px }.area-choice { position:relative;display:flex!important;align-items:center;gap:10px;margin:0;padding:11px 12px;border:1px solid #ddd5cf;border-radius:12px;background:#fcfbfa;cursor:pointer;transition:.18s ease }.area-choice:hover { border-color:#e0afc8;background:#fff8fb }.modern-page .area-choice input { width:17px;height:17px;margin:0;padding:0;accent-color:#dc6fa8;box-shadow:none }.area-choice:has(input:checked) { color:#8b3d67;border-color:#dc6fa8;background:#faeaf2;box-shadow:0 0 0 3px #dc6fa812 }.area-choice span { font-size:.78rem;font-weight:700 }.field-title { display:block;margin:10px 0 6px;font-size:.83rem;font-weight:600 }.field-help { display:block;margin-top:-7px;color:#817981;font-size:.68rem }
.public-shell { width:min(1120px,92%);margin:0 auto;padding:42px 0 70px }.public-hero { display:grid;grid-template-columns:1.05fr .95fr;gap:35px;align-items:center;min-height:calc(100vh - 160px) }.public-copy h1 { margin:8px 0 14px;font:600 clamp(2.6rem,6vw,5rem)/.96 Georgia,serif;letter-spacing:-.05em }.public-copy p { max-width:540px;color:#6d7077;font-size:1rem;line-height:1.7 }.public-art { position:relative;min-height:430px;border-radius:32px;background:linear-gradient(145deg,#f9e4ef,#efd0df);box-shadow:0 28px 80px #8b3c641b;overflow:hidden }.public-art::before,.public-art::after { content:"";position:absolute;border-radius:50% }.public-art::before { width:300px;height:300px;right:-50px;top:-40px;background:#dc6fa84a }.public-art::after { width:240px;height:240px;left:-50px;bottom:-60px;background:#fff7 }.art-mark { position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);font:600 9rem Georgia,serif;color:#8f41691c }.glass-card { position:absolute;left:8%;right:8%;bottom:9%;padding:22px;border:1px solid #fff9;border-radius:20px;background:#ffffffe0;box-shadow:0 20px 50px #7e345b1a;backdrop-filter:blur(10px) }
.form-grid { display:grid;grid-template-columns:1fr 1fr;gap:0 14px }.form-grid .full { grid-column:1/-1 }.checkin-layout { display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:22px;align-items:start }.checkin-layout .service-picker { margin:0;border:0;padding:0 }.checkin-submit { width:100%;margin-top:14px }.specialist-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:15px }.specialist-card { position:relative;overflow:hidden }.specialist-service { display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-top:1px solid #eee8e3 }.specialist-service>div { min-width:0 }.specialist-service button { min-width:104px;min-height:44px;padding:10px 14px;font-size:.82rem;font-weight:750 }.filter-bar { display:flex;gap:10px;align-items:center;margin-bottom:18px }.filter-bar .search-field { max-width:480px }
.queue-stage { display:grid;grid-template-columns:1.05fr .95fr;gap:18px }.queue-now { text-align:center;padding:38px }.queue-now .queue-number { font-size:clamp(5rem,14vw,9rem) }.queue-next { padding:28px }.queue-next .tag { margin:4px;font-size:1rem;padding:8px 12px }
@keyframes page-in { from { opacity:0;transform:translateY(10px) } }
@keyframes focus-pulse { 50% { transform:translateY(-2px);box-shadow:0 0 0 7px #dc6fa82b,0 20px 50px #8b3c6424 } }
@keyframes fade-in { from { opacity:0 } } @keyframes modal-in { from { opacity:0;transform:translateY(18px) scale(.97) } } @keyframes toast-in { from { opacity:0;transform:translateY(12px) } }
@media (max-width:900px) { .modern-page .app-shell { grid-template-columns:1fr }.modern-page .app-sidebar { position:relative;height:auto;padding:16px }.modern-page .dashboard-logo { padding-bottom:15px }.modern-page .dashboard-nav { display:flex;overflow:auto }.modern-page .dashboard-nav a { flex:0 0 auto }.modern-page .sidebar-profile { display:none }.modern-page .app-topbar { display:none }.modern-page .form-card { position:static }.modern-page .management-layout,.checkin-layout,.public-hero,.queue-stage { grid-template-columns:1fr }.public-art { min-height:300px }.public-hero { padding-top:15px } }
@media (max-width:620px) { .modern-page .app-main { padding-top:26px }.modern-page .management-layout { grid-template-columns:1fr }.stats-strip { grid-template-columns:1fr 1fr }.form-grid { grid-template-columns:1fr }.form-grid .full { grid-column:auto }.filter-bar { align-items:stretch;flex-direction:column }.public-copy h1 { font-size:2.8rem }.public-art { min-height:240px }.entity-row { align-items:center }.modal-actions { flex-direction:column-reverse }.modal-actions button { width:100% } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important } }

/* Navegación superior compartida y flujos de operación de julio 2026 */
.top-nav-page .app-shell { display:block }
.top-nav-page .app-sidebar {
  position:sticky;top:0;height:auto;min-height:72px;display:flex;flex-direction:row;
  align-items:center;gap:22px;padding:10px 3vw;z-index:40
}
.top-nav-page .dashboard-logo { flex:0 0 auto;padding:0;border:0 }
.top-nav-page .dashboard-nav { display:flex;align-items:center;gap:4px;overflow-x:auto;margin:0;flex:1;flex-wrap:nowrap;justify-content:flex-start }
.top-nav-page .dashboard-nav a { flex:0 0 auto;padding:10px 12px }
.top-nav-page .sidebar-profile { position:static;flex:0 0 auto;padding:0;border:0 }
.top-nav-page .sidebar-profile button { display:none }
.top-nav-page .app-topbar { top:72px }

.admin-dashboard-body.top-nav-page .dashboard-sidebar {
  position:sticky;top:0;width:100%;height:auto;min-height:72px;display:flex;flex-direction:row;
  align-items:center;gap:22px;padding:10px 3vw;z-index:40;transform:none
}
.admin-dashboard-body.top-nav-page .dashboard-logo { flex:0 0 auto;padding:0;border:0 }
.admin-dashboard-body.top-nav-page .dashboard-nav { display:flex;align-items:center;gap:4px;overflow-x:auto;margin:0;flex:1;flex-wrap:nowrap;justify-content:flex-start }
.admin-dashboard-body.top-nav-page .dashboard-nav a { flex:0 0 auto;padding:10px 12px }
.admin-dashboard-body.top-nav-page .sidebar-profile { position:static;flex:0 0 auto;padding:0;border:0 }
.admin-dashboard-body.top-nav-page .dashboard-shell { margin-left:0 }
.admin-dashboard-body.top-nav-page .dashboard-topbar { position:sticky;top:72px }
.admin-dashboard-body.top-nav-page .dashboard-columns.assignment-only { grid-template-columns:minmax(0,1fr) }

.wizard-progress { display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 18px;padding:0;list-style:none }
.wizard-progress li { display:flex;align-items:center;gap:9px;padding:12px 14px;border:1px solid #e6dfd9;border-radius:14px;color:#8b8288;background:#ffffffa8;font-size:.75rem;font-weight:700 }
.wizard-progress li b { display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eee8e3 }
.wizard-progress li.active { color:#8d3f69;border-color:#dc6fa8;background:#fff }
.wizard-progress li.active b,.wizard-progress li.complete b { color:#fff;background:#dc6fa8 }
.wizard-progress li.complete { color:#8d3f69 }
.wizard-card { padding:28px }
.wizard-step { animation:page-in .28s ease both }
.wizard-step[hidden] { display:none }
.wizard-step h2 { margin:5px 0 5px }
.wizard-actions { display:flex;justify-content:space-between;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid #eee8e3 }
.wizard-actions button { min-width:150px }
.autocomplete-field { position:relative }
.autocomplete-results { position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:30;overflow:hidden;border:1px solid #e1d8d3;border-radius:14px;background:#fff;box-shadow:0 18px 46px #24140a22 }
.autocomplete-results button { display:block;width:100%;padding:11px 14px;text-align:left;color:#1d2330;background:#fff;border-radius:0;border-bottom:1px solid #eee8e3 }
.autocomplete-results button:hover { transform:none!important;background:#fcf4f8 }
.autocomplete-results button.fraud-match { color:#8a2438;background:#fff1f4 }
.autocomplete-results button b,.autocomplete-results button span { display:block }
.autocomplete-results button span { margin-top:3px;color:#817981;font-size:.7rem }
.autocomplete-results .no-match { padding:14px;color:#817981;font-size:.76rem }
.field-message { min-height:22px;margin:10px 0 0;color:#91456e;font-size:.8rem }
.fraud-alert { display:block;padding:11px 13px;border-left:4px solid #d95365;border-radius:10px;color:#8a2438;background:#fff1f4;font-weight:750 }
.tag-picker { display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:8px 0 18px }
.tag-choice { display:grid!important;grid-template-columns:auto 1fr;align-items:center;column-gap:8px;margin:0;padding:12px;border:1px solid #ddd5cf;border-radius:13px;background:#fcfbfa;cursor:pointer }
.tag-choice input { grid-row:1/3;width:17px!important;height:17px;padding:0!important;accent-color:#dc6fa8 }
.tag-choice b { font-size:.78rem;color:#93486e }
.tag-choice span { color:#817981;font-size:.65rem }
.tag-choice:has(input:checked) { border-color:#dc6fa8;background:#faeaf2;box-shadow:0 0 0 3px #dc6fa812 }
.staff-preferences-picker { margin:18px 0;padding:16px;border:1px solid #e7b6cf;border-radius:14px;background:#fff8fc;box-shadow:0 8px 20px #dc6fa814 }.staff-preferences-picker legend { padding:0 6px;color:#93486e;font-weight:800 }.staff-preferences-picker .muted { margin:0 0 10px }.staff-preferences-picker input[type="search"] { margin-bottom:4px }.staff-preferences-picker .preference-staff-list { margin:8px 0;max-height:360px;border:1px solid #eadfe5;border-radius:10px;padding:8px;scrollbar-color:#c9698f #fff3f8 }
.modern-page textarea { width:100%;resize:vertical;padding:12px;border:1px solid #ddd5cf;border-radius:10px;background:#fcfbfa;font:inherit;outline:none }
.modern-page textarea:focus { background:#fff;border-color:#d66da4;box-shadow:0 0 0 4px #dc6fa817 }
.checkin-review { display:grid;gap:8px;margin-top:18px;padding:16px;border:1px solid #e6dfd9;border-radius:14px;background:#faf7f5 }
.checkin-review>span,.checkin-review>small { color:#817981 }
.active-turn-notice { margin:12px 0;padding:11px 13px;border-left:4px solid #dc6fa8;border-radius:10px;color:#703453;background:#fff0f7;font-size:.78rem }
.checkin-success { display:grid;justify-items:center;gap:11px;text-align:center;padding:42px 28px }
.checkin-success[hidden] { display:none!important }
.success-mark { display:grid;place-items:center;width:68px;height:68px;border-radius:22px;color:#fff;background:linear-gradient(135deg,#b64a82,#dc6fa8);box-shadow:0 14px 34px #dc6fa83b;font-size:2rem;font-weight:800 }
.checkin-success h2 { margin:4px 0 0 }.checkin-success p { max-width:560px;margin:0 }
.success-actions { display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:10px }
.button-link { display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:10px;text-decoration:none }
.tag-actions { display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px }
.tag-actions .tag { margin:0 }
.status-select { width:auto!important;min-width:112px;min-height:44px;padding:7px 28px 7px 9px!important;border-radius:99px!important;font-size:.68rem;font-weight:700 }
.team-status-list { display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px }
.team-filter-bar .search-field { flex:1 1 560px;max-width:none }.preselection-count { display:block;margin-top:5px;color:#93486e;font-size:.67rem;font-weight:750 }
.team-status-card { padding:16px }
.team-status-card .staff-status-head { display:flex;align-items:flex-start;gap:11px }
.team-status-card .staff-status-head .staff-copy { flex:1 }
.team-status-card .staff-copy b,.team-status-card .staff-copy span { overflow:visible;text-overflow:clip;white-space:normal;line-height:1.25 }
.active-client-list { margin:12px 0 0;padding:10px;border-radius:11px;background:#f7f2ef;font-size:.7rem }
.client-database { display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px }
.client-table-tools { flex-wrap:wrap }.client-table-tools .search-field { flex:1 1 330px }.client-table-tools>button { min-height:44px }
.client-table-card { overflow:hidden;border:1px solid #e5ddd8;border-radius:18px;background:#fff;box-shadow:0 12px 34px #24140a09 }
.client-table-scroll { overflow-x:auto }
.client-table { width:100%;border-collapse:collapse;min-width:840px }
.client-table th { padding:12px 14px;color:#8d7e87;background:#faf7f5;text-align:left;font-size:.65rem;text-transform:uppercase;letter-spacing:.07em }
.client-table td { padding:13px 14px;border-top:1px solid #eee8e3;color:#615a5f;font-size:.76rem;vertical-align:middle }
.client-table td:first-child b,.client-table td:first-child small { display:block }.client-table td:first-child b { color:#2a2730;font-size:.8rem }.client-table td:first-child small { max-width:240px;margin-top:3px;color:#8b8388;overflow:hidden;text-overflow:ellipsis;white-space:nowrap }
.client-table tr:hover td { background:#fffafd }.table-action { min-height:38px;padding:8px 11px;white-space:nowrap }
.table-pagination { display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 14px;border-top:1px solid #eee8e3;color:#817981;font-size:.74rem }.table-pagination button { min-height:40px }
.client-profile-card { display:flex;flex-direction:column;padding:18px }
.profile-contact { display:grid;gap:4px;margin:12px 0;color:#746d70;font-size:.76rem }
.client-history-button { width:100%;min-height:44px;margin-top:auto }
.client-history-modal { width:min(860px,100%) }
.history-loading { padding:50px 20px;text-align:center;color:#817981 }
.history-profile { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0;padding:15px;border:1px solid #e6dfd9;border-radius:15px;background:#faf7f5 }
.history-profile span { min-width:0;color:#6f686c;font-size:.76rem;overflow-wrap:anywhere }
.history-profile b { display:block;margin-bottom:4px;color:#9b4773;font-size:.64rem;text-transform:uppercase;letter-spacing:.08em }
.history-heading { display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 12px }
.history-heading h3 { margin:0 }
.history-heading span { color:#817981;font-size:.76rem }
.history-timeline { display:grid;gap:14px }
.history-visit { padding:17px;border:1px solid #e6dfd9;border-radius:17px;background:#fff;box-shadow:0 8px 24px #24140a08 }
.history-visit>header { display:flex;justify-content:space-between;align-items:flex-start;gap:14px }
.history-visit h3 { margin:3px 0 0;font-size:1rem }
.visit-statuses { display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap }
.history-observation { margin:13px 0;padding:10px 12px;border-radius:10px;background:#faf7f5;color:#625b5f;font-size:.78rem }
.history-services { display:grid;gap:7px;margin:12px 0 0;padding:0;list-style:none }
.history-service { display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;border:1px solid #eee8e3;border-radius:11px }
.history-service>div:first-child { min-width:0 }
.history-service small { display:block;margin-top:4px;color:#817981;font-size:.68rem;text-transform:capitalize }
.history-service-state { display:flex;align-items:center;justify-content:flex-end;gap:9px;white-space:nowrap }
.history-service-state>b { color:#97476f;font-size:.78rem }
.queue-explanation { margin-bottom:18px;padding:14px 17px;border-left:4px solid #dc6fa8;border-radius:10px;background:#fff7fb;color:#675d63 }
.queue-number-list { display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:22px 0 }
.queue-number-chip { display:grid;place-items:center;min-width:120px;min-height:90px;padding:12px;border-radius:24px;color:#8a3d66;background:#f8e5ef;font:700 2.6rem Georgia,serif }.queue-number-chip small { max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#74455c;font:700 .74rem/1.2 system-ui,sans-serif }
.queue-topbar { min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 4vw;color:#fff;background:linear-gradient(135deg,#252b39,#171c27);box-shadow:0 10px 34px #24140a18 }
.queue-topbar .dashboard-logo { padding:0;border:0 }.queue-topbar .site-nav { display:flex;align-items:center;justify-content:flex-end;gap:7px }.queue-topbar .site-nav a { padding:9px 12px;border-radius:10px;color:#ded6dc;text-decoration:none;font-size:.75rem;font-weight:700 }.queue-topbar .site-nav a:hover { color:#fff;background:#ffffff12 }
.history-filter-grid { display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-top:14px }
.history-filter-grid label { margin:0 }
.history-area-summary { display:flex;flex-wrap:wrap;gap:8px }
.history-admin-tools .modal-actions { margin-top:12px }
.area-queue-card { margin-top:22px }
.area-queue-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-top:14px }
.area-queue-section { display:grid;gap:10px;padding:14px;border:1px solid #eadfe5;border-radius:16px;background:#fff }
.area-queue-section header { display:flex;justify-content:space-between;gap:12px;text-transform:capitalize }
.area-queue-section header span,.area-queue-section small { color:#83777e;font-size:.72rem }
.area-queue-row { display:flex;flex-wrap:wrap;gap:7px;margin-top:5px }
.area-queue-chip { display:grid;gap:2px;padding:8px 10px;border-radius:12px;background:#f8dcea;color:#813359;font-size:.8rem }
.area-queue-chip small { max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7f6e78 }
.position-result span small { display:block;margin-top:4px;color:#9a4c74 }
.trial-check { display:flex!important;align-items:center;gap:9px;padding:11px;border:1px dashed #d49abd;border-radius:12px;background:#fff5fa }.trial-check input { width:auto!important }.trial-specialist { border-color:#d982b2!important;background:linear-gradient(135deg,#fff,#fff3f9)!important;box-shadow:0 0 0 2px #f5cce2 inset!important }.trial-badge { display:inline-block;padding:3px 6px;border-radius:99px;color:#8a2e61;background:#f6d5e7;font-size:.5rem;vertical-align:middle }.status-almorzando { color:#8a5b19!important;background:#fff0c9!important }.status-reposo,.service-resting { color:#375f84!important;background:#eef7ff!important }.service-actions { display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end }.queue-position-tool { display:grid;grid-template-columns:minmax(200px,.8fr) minmax(320px,1.2fr);gap:22px;margin-bottom:22px;padding:20px }.position-search-row { display:flex;gap:8px }.position-search-row input { flex:1 }.position-result { display:flex;width:100%;justify-content:space-between;align-items:center;gap:14px;margin-top:10px;padding:10px 12px;border:1px solid #eadfe5;border-radius:11px;color:inherit;background:#fff;text-align:left }.position-result:hover { transform:none!important;border-color:#dc6fa8;background:#fff7fb;box-shadow:0 8px 18px #dc6fa816!important }.position-result b,.position-result span { font-size:.72rem }.position-result span { color:#786d73 }.priority-client { border:2px solid #d15f9a!important;box-shadow:0 12px 35px #c44f8b20!important }.priority-client .client-turn { color:#a12f6a }.queue-resting { margin:10px 0;padding:8px 10px;border-radius:10px;color:#375f84;background:#eef7ff;font-size:.72rem }.history-registrar { margin:9px 0;color:#746a70;font-size:.72rem }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0 }

@media (max-width:1180px) { .metric-grid { grid-template-columns:repeat(3,1fr) } }
@media (max-width:980px) {
  .top-nav-page .app-sidebar,.admin-dashboard-body.top-nav-page .dashboard-sidebar { align-items:flex-start;flex-wrap:wrap;gap:8px;padding:10px 4vw }
  .top-nav-page .dashboard-nav,.admin-dashboard-body.top-nav-page .dashboard-nav { order:3;width:100%;overflow:visible;flex-wrap:wrap }
  .top-nav-page .dashboard-nav a,.admin-dashboard-body.top-nav-page .dashboard-nav a { flex:1 1 150px;justify-content:center }
  .top-nav-page .sidebar-profile,.admin-dashboard-body.top-nav-page .sidebar-profile { margin-left:auto }
  .admin-dashboard-body.top-nav-page .dashboard-topbar { top:125px }
  .queue-position-tool { grid-template-columns:1fr }
  .metric-grid { grid-template-columns:repeat(2,1fr) }
}
@media (min-width:700px) and (max-width:1180px) {
  .modern-page .app-main { width:94%;padding-top:30px }
  .modern-page .dashboard-nav a { min-height:44px;padding:11px 13px }
  .specialist-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:16px }
  .specialist-card { padding:22px }
  .specialist-card h2 { font-size:1.4rem }
}
@media (min-width:700px) and (max-width:900px) {
  .specialist-grid { grid-template-columns:1fr }
  .specialist-service button { min-width:120px;min-height:48px }
  .history-profile { grid-template-columns:1fr 1fr }
}
@media (hover:none) and (pointer:coarse) {
  .modern-page button,.modern-page select,.modern-page .dashboard-nav a { min-height:44px }
  .specialist-service button { min-height:48px }
}
@media (max-width:1400px) {
  .top-nav-page .sidebar-profile,.admin-dashboard-body.top-nav-page .sidebar-profile { display:none }
}
@media (max-width:680px) {
  .wizard-progress li { justify-content:center;padding:9px }
  .wizard-progress li span { display:none }
  .tag-picker { grid-template-columns:1fr 1fr }
  .wizard-actions { flex-direction:column-reverse }
  .wizard-actions span { display:none }
  .wizard-actions button { width:100% }
  .top-nav-page .sidebar-profile,.admin-dashboard-body.top-nav-page .sidebar-profile { display:none }
  .history-profile { grid-template-columns:1fr 1fr }
  .history-visit>header,.history-service { align-items:flex-start;flex-direction:column }
  .visit-statuses,.history-service-state { justify-content:flex-start }
  .dashboard-actions { grid-template-columns:1fr }
  .success-actions { width:100%;flex-direction:column }.success-actions>* { width:100% }
  .queue-topbar { align-items:flex-start;flex-direction:column }.queue-topbar .site-nav { width:100%;justify-content:flex-start }
  .position-search-row,.position-result { align-items:stretch;flex-direction:column }
  .metric-grid { grid-template-columns:1fr 1fr }
  .client-card-actions { justify-content:flex-start }
}

.admin-dashboard-body .client-turn { font-size:.78rem!important;letter-spacing:.14em!important }
.service-row-actions { display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:7px }.service-row-actions button { padding:6px 8px!important;font-size:.64rem!important }.finish-button { background:#2f795d!important }.service-finished { display:inline-flex;padding:5px 8px;border-radius:99px;color:#397457;background:#e5f3eb;font-size:.64rem;font-weight:700 }.preference-staff-list { display:grid;gap:7px;max-height:280px;overflow:auto;margin:12px 0;padding-right:3px }.preference-staff { display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid #eadfe5;border-radius:10px;background:#fff }.preference-staff input,.preference-other input { width:auto!important }.preference-staff span { display:grid;gap:2px }.preference-staff b { font-size:.73rem }.preference-staff small { color:#858b87;font-size:.62rem;text-transform:capitalize }.preference-other { display:flex;align-items:center;gap:8px;margin:10px 0;color:#60575c;font-size:.76rem }
.management-toggle { display:flex!important;align-items:center;gap:7px;margin:0!important;font-size:.72rem!important;white-space:nowrap }.management-toggle input { width:auto!important }.is-deleted { opacity:.68;background:#f5f2f2!important }.compact-management-list { display:grid;gap:7px;margin-top:14px }.compact-management-row { display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:9px;border:1px solid #eadfe5;border-radius:10px }.compact-management-row>div:nth-child(2) { display:grid;gap:2px }.compact-management-row small { color:#817981;font-size:.62rem }.compact-management-row>div:last-child,.entity-row>div:last-child { display:flex;gap:6px }.area-swatch { display:inline-block;width:12px;height:12px;border-radius:50%;vertical-align:middle }.area-choice .area-swatch { margin-right:5px }.selected-service-adjustment { display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap }.selected-service-adjustment label,.service-adjustment-control { display:inline-flex!important;align-items:center;gap:5px;margin:0!important;font-size:.68rem!important }.selected-service-adjustment select,.service-adjustment-control select { width:auto!important;padding:5px 7px!important }.service-adjustment-control { margin-top:7px!important }.area-queue-section { border-top:4px solid var(--area-color,#dc6fa8) }.service-group { border-top-color:var(--area-color,#dc6fa8) }
