:root {
    --ink: var(--theme-d12c341b27c9, #382a34);
    --ink-soft: var(--theme-35b2f1ebf86c, #594852);
    --blue: var(--theme-068bb87d4a75, #b978a0);
    --blue-deep: var(--theme-d79ee36028a6, #925775);
    --blue-pale: var(--theme-2ab10a9eb9ca, #f3e5ee);
    --paper: var(--theme-aec3b5e1c073, #f4edf3);
    --white: var(--theme-f27d72f9e489, rgba(255, 252, 254, .72));
    --line: var(--theme-c7d701a7f54a, rgba(107, 76, 96, .14));
    --muted: var(--theme-8207b358fcb4, #806f7a);
    --sage: var(--theme-f2e8a29f1531, #8ca59a);
    --sage-pale: var(--theme-fe53c54df50f, #e8f0ec);
    --blush: var(--theme-77ebce41a209, #c98ca9);
    --blush-pale: var(--theme-7bc17a1921ce, #f7e8ef);
    --plum: var(--theme-699aae0df870, #80647b);
    --plum-pale: var(--theme-447a84fd3626, #eee6ee);
    --amber: var(--theme-e0766e0f9e52, #c1a06f);
    --amber-pale: var(--theme-0b751b737411, #f7efdf);
    --coral: var(--theme-18ee48bae7ed, #bd6e78);
    --coral-pale: var(--theme-1868d2d94796, #f6e5e8);
    --glass: var(--theme-f7100d18603f, rgba(255, 252, 254, .62));
    --glass-strong: var(--theme-69810fce3da3, rgba(255, 253, 255, .82));
    --glass-border: var(--theme-88389890058c, rgba(255, 255, 255, .72));
    --shadow: 0 24px 70px var(--theme-c333e0a99af9, rgba(76, 46, 67, .13));
    --shadow-soft: 0 10px 35px var(--theme-02d82e8615af, rgba(76, 46, 67, .08));
    --radius: 24px;
    --sidebar: 242px;
    --topbar: 72px;
    --font-display: "Bodoni Moda", Didot, Georgia, serif;
    --font-body: "Manrope", "Avenir Next", system-ui, sans-serif;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
button, input, textarea, select { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--theme-2315c2a465de, rgba(43, 183, 235, .36)); outline-offset: 2px; }
button:disabled { cursor: not-allowed; opacity: .42; }
svg { width: 18px; height: 18px; stroke-width: 1.8; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(2.25rem, 4vw, 3.65rem); line-height: .98; letter-spacing: -.045em; font-family: var(--font-display); font-weight: 400; }
h2 { margin-bottom: 0; font-size: 1.35rem; line-height: 1.15; letter-spacing: -.025em; }
h3 { margin-bottom: 0; font-size: 0.9749rem; }
small { color: var(--muted); }
.skip-link { position: fixed; left: 14px; top: -60px; padding: 10px 16px; background: var(--ink); color: var(--theme-e08de713877c, #fff); border-radius: 10px; z-index: 1000; transition: top .2s; }
.skip-link:focus { top: 14px; }
.text-positive { color: var(--theme-c7668fa6bae5, #3d8970) !important; }
.text-warning { color: var(--theme-09bc347a9717, #a56b16) !important; }
.eyebrow { margin: 0 0 8px; font-size: 0.8393rem; line-height: 1; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--blue-deep); }
.eyebrow.light { color: var(--theme-98a87e916b58, #93def9); }

.app-frame { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); display: flex; flex-direction: column; background: var(--ink); color: var(--theme-e08de713877c, #fff); z-index: 50; }
.brand-lockup { height: var(--topbar); display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--theme-c201d2dab2c4, rgba(255,255,255,.08)); }
.brand-mark { width: 37px; height: 37px; border: 1px solid var(--theme-1c42c883ab35, rgba(255,255,255,.32)); border-radius: 50% 50% 50% 18%; display: grid; place-items: center; font-family: "Instrument Serif", Georgia, serif; font-size: 1.42rem; color: var(--theme-e08de713877c, #fff); background: linear-gradient(145deg, var(--theme-eb68f1b6220c, rgba(43,183,235,.9)), var(--theme-5445936a4edf, rgba(116,153,138,.9))); box-shadow: inset 0 0 0 3px var(--theme-b34d3e791125, rgba(255,255,255,.12)); }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 1rem; letter-spacing: .01em; font-weight: 600; }
.brand-copy small { margin-top: 5px; font-size: 0.7891rem; letter-spacing: .19em; text-transform: uppercase; color: var(--theme-954eda273527, rgba(255,255,255,.48)); }
.primary-nav { padding: 18px 12px; overflow-y: auto; }
.nav-label { margin: 18px 10px 7px; font-size: 0.8041rem; letter-spacing: .15em; text-transform: uppercase; color: var(--theme-5791f6bd14d8, rgba(255,255,255,.38)); font-weight: 700; }
.primary-nav .nav-label:first-child { margin-top: 0; }
.nav-item { position: relative; width: 100%; min-height: 42px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 9px; padding: 0 10px; color: var(--theme-49cf4f0302a7, rgba(255,255,255,.64)); background: transparent; text-align: left; border-radius: 10px; font-size: 0.9096rem; transition: .2s ease; }
.nav-item:hover { color: var(--theme-e08de713877c, #fff); background: var(--theme-5704ef9ed39c, rgba(255,255,255,.06)); }
.nav-item.is-active { color: var(--theme-e08de713877c, #fff); background: linear-gradient(90deg, var(--theme-6deb1c774972, rgba(43,183,235,.17)), var(--theme-1fc7c19250fb, rgba(43,183,235,.04))); }
.nav-item.is-active::before { content: ""; position: absolute; width: 3px; height: 21px; left: -12px; top: 10px; background: var(--blue); border-radius: 0 4px 4px 0; }
.nav-item svg { width: 17px; }
.nav-badge { min-width: 20px; padding: 3px 6px; color: var(--theme-5b6f02a2ab62, #c5edf9); background: var(--theme-aec9bab6de64, rgba(43,183,235,.16)); border-radius: 20px; font-size: 0.8041rem; text-align: center; }
.nav-badge.coral { color: var(--theme-0ef0609feb9d, #ffd9d5); background: var(--theme-20fc614d908b, rgba(207,102,93,.2)); }
.nav-badge.sage { color: var(--theme-e12b6ab9cd5a, #d9eee6); background: var(--theme-32db0700d4a4, rgba(116,153,138,.25)); }
.nav-badge.amber { color: var(--theme-74c8bc80da57, #ffe7bd); background: var(--theme-59b0421e324e, rgba(201,147,63,.22)); }
.nav-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--theme-b345aea5f15e, #62c69f); box-shadow: 0 0 0 4px var(--theme-884125a12aa1, rgba(98,198,159,.1)); }
.sidebar-footer { margin-top: auto; padding: 12px; border-top: 1px solid var(--theme-0d923d38199d, rgba(255,255,255,.07)); }
.sync-card { display: flex; gap: 10px; align-items: center; padding: 10px; }
.sync-card > span:last-child, .tablet-launch > span { display: flex; flex-direction: column; }
.sync-card strong, .tablet-launch strong { font-size: 0.8493rem; font-weight: 600; }
.sync-card small, .tablet-launch small { margin-top: 3px; color: var(--theme-3cfd69311e95, rgba(255,255,255,.4)); font-size: 0.8092rem; }
.sync-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--theme-07fb4a5b397c, #66c89f); background: var(--theme-884125a12aa1, rgba(98,198,159,.1)); }
.sync-icon svg { width: 14px; }
.tablet-launch { width: 100%; display: grid; grid-template-columns: 26px 1fr 16px; align-items: center; gap: 8px; padding: 11px 10px; color: var(--theme-e08de713877c, #fff); background: var(--theme-1ef7f9315602, rgba(255,255,255,.055)); border: 1px solid var(--theme-c201d2dab2c4, rgba(255,255,255,.08)); border-radius: 12px; text-align: left; }
.tablet-launch:hover { background: var(--theme-b56364a7c7a0, rgba(255,255,255,.1)); }
.tablet-launch > svg:last-child { width: 13px; color: var(--theme-aeceb004b4ec, rgba(255,255,255,.5)); }

.workspace { margin-left: var(--sidebar); min-height: 100vh; }
.topbar { position: sticky; top: 0; height: var(--topbar); display: flex; justify-content: space-between; align-items: center; padding: 0 28px; background: var(--theme-309cc2996e2f, rgba(243,245,244,.88)); backdrop-filter: blur(18px); border-bottom: 1px solid var(--theme-e8037c1a3144, rgba(23,37,50,.08)); z-index: 40; }
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 16px; }
.location-copy { display: flex; flex-direction: column; gap: 3px; }
.location-copy small { font-size: 0.7941rem; text-transform: uppercase; letter-spacing: .14em; }
.location-copy button { display: flex; align-items: center; gap: 3px; padding: 0; background: transparent; font-size: 0.8895rem; font-weight: 700; }
.location-copy svg { width: 13px; }
.search-trigger { min-width: 270px; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--theme-88389890058c, rgba(255,255,255,.72)); color: var(--muted); font-size: 0.8594rem; text-align: left; }
.search-trigger span { flex: 1; }
kbd { padding: 2px 5px; border: 1px solid var(--theme-9e2b8d548d45, #d5dcdd); border-bottom-width: 2px; border-radius: 5px; color: var(--theme-d4f5caf1f771, #718087); background: var(--theme-e08de713877c, #fff); font-family: inherit; font-size: 0.7891rem; }
.role-switcher { display: flex; align-items: center; padding: 3px; background: var(--theme-f861644d0823, #e7ebea); border-radius: 10px; }
.role-caption { padding: 0 6px; font-size: 0.7891rem; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; }
.role-button { padding: 7px 8px; border-radius: 7px; background: transparent; color: var(--muted); font-size: 0.8142rem; font-weight: 600; }
.role-button.is-active { background: var(--theme-e08de713877c, #fff); color: var(--ink); box-shadow: 0 2px 6px var(--theme-e8037c1a3144, rgba(23,37,50,.08)); }
.icon-button { width: 34px; height: 34px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); background: var(--theme-e08de713877c, #fff); border-radius: 9px; color: var(--ink-soft); }
.icon-button:hover { border-color: var(--theme-23999e5fc0e2, #c7d1d1); background: var(--theme-3a7702099201, #fafcfc); }
.icon-button svg { width: 16px; }
.notification-button { position: relative; }
.notification-button span { position: absolute; width: 7px; height: 7px; right: 5px; top: 5px; background: var(--coral); border: 2px solid var(--theme-e08de713877c, #fff); border-radius: 50%; }
.user-menu { display: flex; align-items: center; gap: 9px; padding: 0; background: transparent; text-align: left; }
.user-menu > span:nth-child(2) { display: flex; flex-direction: column; }
.user-menu strong { font-size: 0.8493rem; }
.user-menu small { font-size: 0.7941rem; }
.user-menu > svg { width: 13px; color: var(--muted); }
.mobile-menu { display: none; }

main { padding: 34px clamp(22px, 3vw, 42px) 70px; }
.view { display: none; max-width: 1540px; margin: 0 auto; animation: view-in .3s ease; }
.view.is-active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.page-heading { margin-bottom: 26px; }
.page-heading > p:last-child, .page-heading > div > p:last-child { max-width: 690px; margin-bottom: 0; color: var(--muted); font-size: 0.9146rem; }
.heading-with-actions { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.compact-page-heading h1 { font-size: clamp(2.2rem, 3.2vw, 3rem); }
.page-actions { display: flex; gap: 9px; flex: 0 0 auto; }
.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border-radius: 10px; font-size: 0.8594rem; font-weight: 700; transition: transform .17s, box-shadow .17s, background .17s; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: var(--theme-e08de713877c, #fff); background: var(--blue-deep); box-shadow: 0 6px 18px var(--theme-f76df4fc0e43, rgba(8,126,170,.18)); }
.button.primary:hover { background: var(--theme-00879b97a41e, #056f97); box-shadow: 0 8px 22px var(--theme-63b733326d8d, rgba(8,126,170,.25)); }
.button.secondary { color: var(--ink); background: var(--theme-e08de713877c, #fff); border: 1px solid var(--line); }
.button.dark { color: var(--theme-e08de713877c, #fff); background: var(--ink); }
.button.ghost { background: transparent; }
.button.small { min-height: 34px; padding: 0 11px; font-size: 0.8292rem; }
.button.full { width: 100%; }
.text-button { display: inline-flex; align-items: center; gap: 5px; padding: 0; color: var(--blue-deep); background: transparent; font-size: 0.8292rem; font-weight: 700; }
.text-button svg { width: 14px; }
.panel { background: var(--white); border: 1px solid var(--theme-c6f4bbdd71c6, rgba(23,37,50,.07)); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.panel-header.compact { align-items: center; }
.count-badge { min-width: 28px; padding: 5px 8px; border-radius: 20px; background: var(--blue-pale); color: var(--blue-deep); font-size: 0.8292rem; font-weight: 700; text-align: center; }

/* Today */
.today-pulse { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; background: var(--theme-e08de713877c, #fff); border: 1px solid var(--theme-c6f4bbdd71c6, rgba(23,37,50,.07)); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; }
.today-pulse article { min-width: 0; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 18px 20px; border-right: 1px solid var(--line); }
.today-pulse article:last-child { border: 0; }
.pulse-icon { grid-row: 1 / 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; }
.pulse-icon.blue { color: var(--blue-deep); background: var(--blue-pale); }
.pulse-icon.blush { color: var(--blush); background: var(--blush-pale); }
.pulse-icon.sage { color: var(--sage); background: var(--sage-pale); }
.pulse-icon.amber { color: var(--amber); background: var(--amber-pale); }
.today-pulse article > div { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.today-pulse article > div strong { font-family: "Instrument Serif", Georgia, serif; font-size: 1.58rem; font-weight: 400; white-space: nowrap; }
.today-pulse article > div span { color: var(--muted); font-size: 0.8393rem; white-space: nowrap; }
.today-pulse article > small { font-size: 0.7991rem; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(280px, .62fr); gap: 18px; }
.agenda-panel { padding: 22px; overflow: hidden; }
.segmented-control { display: flex; padding: 3px; background: var(--theme-e5f4064810e6, #eef1f1); border-radius: 9px; }
.segmented-control button { padding: 7px 10px; color: var(--muted); background: transparent; border-radius: 7px; font-size: 0.8092rem; font-weight: 600; }
.segmented-control button.is-active { color: var(--ink); background: var(--theme-e08de713877c, #fff); box-shadow: 0 2px 5px var(--theme-e8037c1a3144, rgba(23,37,50,.08)); }
.agenda-legend { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.agenda-legend > span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.7991rem; }
.agenda-legend .text-button { margin-left: auto; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.legend-dot.anna { background: var(--sage); }.legend-dot.sara { background: var(--blush); }.legend-dot.elena { background: var(--blue); }
.day-ruler { margin: 13px 0 8px 142px; display: grid; grid-template-columns: repeat(10, 1fr); color: var(--theme-ffe78e0ac7e8, #9aa6aa); font-size: 0.7589rem; }
.day-ruler span:not(:first-child) { text-align: center; }
.rhythm-lanes { display: flex; flex-direction: column; gap: 10px; }
.rhythm-row { display: grid; grid-template-columns: 132px 1fr; gap: 10px; align-items: center; }
.rhythm-name { display: flex; gap: 8px; align-items: center; }
.rhythm-name > span:last-child { display: flex; flex-direction: column; }
.rhythm-name strong { font-size: 0.8292rem; }.rhythm-name small { font-size: 0.764rem; }
.avatar { width: 32px; height: 32px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; font-size: 0.7991rem; font-weight: 700; }
.avatar.large { width: 40px; height: 40px; font-size: 0.8493rem; }
.avatar.xlarge { width: 58px; height: 58px; font-family: "Instrument Serif", Georgia, serif; font-size: 1.15rem; font-weight: 400; }
.avatar.tiny { width: 23px; height: 23px; font-size: 0.7388rem; }
.avatar-sage { color: var(--theme-4da9d52db94e, #315a4d); background: var(--sage-pale); }.avatar-blush { color: var(--theme-09a690e6699b, #84465a); background: var(--blush-pale); }.avatar-blue { color: var(--theme-11c827cc9629, #076b90); background: var(--blue-pale); }.avatar-plum { color: var(--theme-cac9a2945123, #5a4360); background: var(--plum-pale); }.avatar-amber { color: var(--theme-c95c7b8afa3a, #885c19); background: var(--amber-pale); }
.rhythm-track { position: relative; height: 49px; border-radius: 9px; background-color: var(--theme-9311bc6b6a84, #f7f9f8); background-image: repeating-linear-gradient(90deg, transparent, transparent calc(10% - 1px), var(--theme-12c19315c119, #e7eceb) calc(10% - 1px), var(--theme-12c19315c119, #e7eceb) 10%); overflow: hidden; }
.rhythm-block, .rhythm-gap { position: absolute; left: calc(var(--start) * 10%); width: calc(var(--span) * 10%); top: 5px; bottom: 5px; min-width: 50px; display: flex; flex-direction: column; justify-content: center; padding: 5px 8px; border-radius: 7px; text-align: left; font-size: 0.779rem; font-weight: 700; line-height: 1.1; overflow: hidden; white-space: nowrap; }
.rhythm-block small { margin-top: 3px; font-size: 0.7388rem; color: currentColor; opacity: .66; }
.rhythm-block.anna { color: var(--theme-4da9d52db94e, #315a4d); background: var(--theme-2f093401da23, #dcebe5); border-left: 3px solid var(--sage); }.rhythm-block.sara { color: var(--theme-3d3446fa30ab, #81485a); background: var(--theme-29e3c61402f9, #f5e5ea); border-left: 3px solid var(--blush); }.rhythm-block.elena { color: var(--theme-0c07d3157231, #076788); background: var(--theme-f372671b5626, #e2f4fa); border-left: 3px solid var(--blue); }
.rhythm-gap { align-items: center; flex-direction: row; gap: 4px; color: var(--muted); background: transparent; border: 1px dashed var(--theme-68c4ac6e9322, #cbd4d4); }
.rhythm-gap.opportunity { color: var(--theme-65f31ad501f8, #95661d); border-color: var(--theme-b00bcdda2b01, #d9ab60); background: var(--theme-a3a35aa6dc0b, #fff8e9); }.rhythm-gap svg { width: 11px; }
.resource-strip { margin: 18px -22px -22px; padding: 11px 22px; display: flex; align-items: center; gap: 8px; background: var(--theme-9311bc6b6a84, #f7f9f8); border-top: 1px solid var(--line); overflow-x: auto; }
.resource-label { display: inline-flex; align-items: center; gap: 5px; margin-right: 4px; color: var(--muted); font-size: 0.779rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }.resource-label svg { width: 13px; }
.resource-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 20px; background: var(--theme-e08de713877c, #fff); font-size: 0.774rem; white-space: nowrap; }.resource-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--theme-a3711b40a247, #65b692); }.resource-chip.busy i { background: var(--blush); }.resource-chip strong { font-weight: 600; color: var(--muted); }
.next-panel { overflow: hidden; }
.next-panel > .panel-header { padding: 22px 20px 0; }
.next-client-card { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.client-identity { display: flex; align-items: center; gap: 10px; }.client-identity > span:last-child { display: flex; flex-direction: column; }.client-identity strong { font-size: 0.8945rem; }.client-identity small { margin-top: 3px; font-size: 0.7891rem; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; width: max-content; padding: 5px 8px; border-radius: 20px; font-size: 0.774rem; font-weight: 700; white-space: nowrap; }.status-pill i { width: 6px; height: 6px; border-radius: 50%; }.status-pill.confirmed { color: var(--theme-9e7be137d565, #367960); background: var(--sage-pale); }.status-pill.confirmed i { background: var(--theme-8427ff32bcd9, #4aa27f); }.status-pill.pending { color: var(--theme-c81cc5357a95, #8f621b); background: var(--amber-pale); }.status-pill.pending i { background: var(--amber); }
.next-client-card > .status-pill { margin: 11px 0; }
.treatment-line { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.treatment-line span { display: flex; flex-direction: column; }.treatment-line small { font-size: 0.769rem; }.treatment-line strong { margin-top: 3px; font-size: 0.8192rem; }
.clinical-note { display: flex; gap: 8px; margin: 12px 0; padding: 10px; color: var(--theme-64d3882ac2aa, #8e4e4a); background: var(--coral-pale); border-radius: 9px; }.clinical-note svg { width: 15px; }.clinical-note span { display: flex; flex-direction: column; }.clinical-note strong { font-size: 0.784rem; }.clinical-note small { margin-top: 2px; color: var(--theme-a363e12b6abe, #9b6a66); font-size: 0.7539rem; line-height: 1.35; }
.session-counter > span { display: flex; justify-content: space-between; }.session-counter small, .session-counter strong { font-size: 0.779rem; }.progress { height: 4px; margin-top: 7px; background: var(--theme-612e2c20b8b0, #e8eceb); border-radius: 5px; overflow: hidden; }.progress i { display: block; height: 100%; background: var(--sage); }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.mini-task-list { padding: 16px 20px 20px; }.mini-task-list h3 { margin-bottom: 7px; }.mini-task-list label { display: grid; grid-template-columns: 17px 1fr auto; align-items: center; gap: 7px; padding: 8px 0; border-bottom: 1px solid var(--theme-29bccd636dcf, #edf0f0); font-size: 0.784rem; }.mini-task-list label:last-child { border: 0; }.mini-task-list input { accent-color: var(--blue-deep); }.mini-task-list small { font-size: 0.7489rem; }
.opportunity-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 18px; }
.opportunity-hero { position: relative; min-height: 230px; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 25px; padding: 26px; overflow: hidden; background: linear-gradient(135deg, var(--theme-82b2d11ab187, #e9f4f0) 0%, var(--theme-3b9df6927f18, #f5f9f7) 52%, var(--theme-e08de713877c, #fff) 100%); }
.opportunity-hero::after { content: ""; position: absolute; width: 180px; height: 180px; right: -85px; top: -80px; border: 1px solid var(--theme-32db0700d4a4, rgba(116,153,138,.25)); border-radius: 50%; box-shadow: 0 0 0 25px var(--theme-63e34c26dece, rgba(116,153,138,.04)), 0 0 0 50px var(--theme-c7469418ddec, rgba(116,153,138,.03)); }
.opportunity-visual { position: relative; width: 108px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 8px; font-family: "Instrument Serif", Georgia, serif; font-size: 1.22rem; }
.opportunity-visual::before { content: ""; position: absolute; inset: 33px 50%; border-left: 1px dashed var(--theme-038fef4ceea5, #789c8c); }.opportunity-visual i { width: 42px; height: 42px; z-index: 1; background: var(--sage); border: 10px solid var(--theme-ae3d21cd612f, #d8e7e1); border-radius: 50%; box-shadow: 0 0 0 8px var(--theme-6875b7453d4f, rgba(116,153,138,.1)); }
.opportunity-hero h2 { font-family: "Instrument Serif", Georgia, serif; font-size: 2rem; font-weight: 400; }.opportunity-hero p:last-child { max-width: 540px; margin: 10px 0 0; color: var(--muted); font-size: 0.8443rem; line-height: 1.55; }.opportunity-hero .button { align-self: end; z-index: 1; }
.attention-list { padding: 22px; }.attention-list > button { width: 100%; display: grid; grid-template-columns: 36px 1fr 16px; align-items: center; gap: 10px; padding: 13px 0; background: transparent; border-bottom: 1px solid var(--line); text-align: left; }.attention-list > button:last-child { border: 0; }.attention-list > button > span:nth-child(2) { display: flex; flex-direction: column; }.attention-list strong { font-size: 0.8192rem; }.attention-list small { margin-top: 3px; font-size: 0.774rem; }.attention-list > button > svg { width: 14px; color: var(--muted); }
.attention-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; }.attention-icon.amber { color: var(--theme-887694a34e51, #9a6a20); background: var(--amber-pale); }.attention-icon.coral { color: var(--coral); background: var(--coral-pale); }.attention-icon.blue { color: var(--blue-deep); background: var(--blue-pale); }.attention-icon.sage { color: var(--sage); background: var(--sage-pale); }.attention-icon svg { width: 15px; }

/* Calendar */
.calendar-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 12px 16px; }
.date-nav, .calendar-filters { display: flex; align-items: center; gap: 6px; }
.calendar-filters { max-width: 52%; padding-bottom: 2px; overflow-x: auto; scrollbar-width: thin; }
.date-nav .icon-button { border: 0; background: var(--theme-0de18b311bcc, #f6f8f7); }
.filter-chip { display: flex; align-items: center; gap: 6px; padding: 5px 8px; background: var(--theme-e08de713877c, #fff); border: 1px solid var(--line); border-radius: 20px; color: var(--muted); font-size: 0.7891rem; }.filter-chip.is-active { color: var(--ink); }
.shift-roster { display: grid; grid-template-columns: minmax(180px, 1.4fr) repeat(6, minmax(92px, 1fr)); align-items: stretch; gap: 1px; margin: 12px 0; background: var(--line); overflow: hidden; }
.shift-roster-title, .shift-person { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 11px 12px; background: var(--theme-e08de713877c, #fff); }
.shift-roster-title > span:first-child { width: 30px; height: 30px; display: grid; place-items: center; color: var(--blue-deep); background: var(--blue-pale); border-radius: 9px; }.shift-roster-title svg { width: 14px; }.shift-roster-title > span:last-child, .shift-person > span:last-child { display: flex; flex-direction: column; }.shift-roster-title small, .shift-person small { font-size: 0.7388rem; }.shift-roster-title strong, .shift-person strong { font-size: 0.779rem; white-space: nowrap; }.shift-person.late { background: var(--theme-ad6698f60c23, #fffbf2); }.shift-person.long { background: var(--theme-4d3103b61cf6, #f0f8f5); }
.resource-health { display: flex; align-items: center; gap: 8px; margin: 12px 0; }.resource-health > span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 20px; background: var(--theme-2b274f599162, rgba(255,255,255,.75)); color: var(--muted); font-size: 0.779rem; }.resource-health strong { color: var(--ink-soft); }.status-dot { width: 8px; height: 8px; border-radius: 50%; }.status-dot.good { background: var(--theme-e1606b48e931, #55ae86); }.status-dot.warning { background: var(--amber); }.status-dot.private { background: var(--plum); }
.calendar-shell { min-height: 720px; display: grid; grid-template-columns: 85px repeat(3, 1fr); grid-template-rows: 66px 1fr; overflow: hidden; }
.calendar-corner { padding: 16px 14px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.calendar-corner small { font-size: 0.764rem; }.calendar-corner strong { font-size: 0.8092rem; }
.calendar-column-head { display: grid; grid-template-columns: 32px 1fr 20px; align-items: center; gap: 8px; padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.calendar-column-head > span:nth-child(2) { display: flex; flex-direction: column; }.calendar-column-head strong { font-size: 0.8292rem; }.calendar-column-head small { font-size: 0.7489rem; }.calendar-column-head button { padding: 0; background: transparent; color: var(--muted); }.calendar-column-head svg { width: 14px; }
.time-column { display: grid; grid-template-rows: repeat(11, 1fr); padding: 0 10px; border-right: 1px solid var(--line); background: var(--theme-9d7bf5e38b19, #fbfcfc); }.time-column span { position: relative; padding-top: 6px; color: var(--theme-07c8bc3fe49c, #8a989e); font-size: 0.764rem; }.time-column span::after { content: ""; position: absolute; right: -10px; top: 10px; width: 6px; border-top: 1px solid var(--theme-5f3e78fa1cde, #dfe5e5); }
.calendar-lane { position: relative; border-right: 1px solid var(--line); background-color: var(--theme-e08de713877c, #fff); background-image: repeating-linear-gradient(180deg, transparent, transparent calc(9.09% - 1px), var(--theme-17270f473503, #edf0ef) calc(9.09% - 1px), var(--theme-17270f473503, #edf0ef) 9.09%); }.calendar-lane:last-child { border: 0; }
.calendar-event { position: absolute; left: 8px; right: 8px; top: var(--top); height: var(--height); min-height: 54px; display: flex; flex-direction: column; align-items: flex-start; padding: 9px 10px; border-radius: 9px; text-align: left; overflow: hidden; }.calendar-event time { font-size: 0.7439rem; opacity: .7; }.calendar-event strong { margin-top: 4px; font-size: 0.8242rem; }.calendar-event span { margin-top: 3px; font-size: 0.7539rem; opacity: .72; }.calendar-event.sage { color: var(--theme-4da9d52db94e, #315a4d); background: var(--theme-885c22201f78, #deece7); border-left: 3px solid var(--sage); }.calendar-event.blush { color: var(--theme-d3bd5e9fba2a, #824b5d); background: var(--theme-0fa06bf6c2db, #f4e6ea); border-left: 3px solid var(--blush); }.calendar-event.blue { color: var(--theme-9fa47613041b, #076689); background: var(--theme-47583bb01700, #e1f4fb); border-left: 3px solid var(--blue); }.calendar-event.opportunity-event { color: var(--theme-f6bc4b88d82d, #96691f); background: var(--theme-a3a35aa6dc0b, #fff8e9); border: 1px dashed var(--theme-53e1e42e729b, #d4a454); align-items: center; justify-content: center; }.calendar-event.opportunity-event svg { width: 14px; }.calendar-event.opportunity-event strong { margin-top: 3px; }

/* Clients */
.client-layout { display: grid; grid-template-columns: minmax(330px, .75fr) minmax(560px, 1.65fr); gap: 18px; }
.client-index, .client-detail { min-height: 720px; }
.list-toolbar { display: grid; grid-template-columns: 1fr 34px; gap: 8px; padding: 16px; }
.input-with-icon { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--theme-e08de713877c, #fff); }.input-with-icon svg { width: 14px; color: var(--muted); }.input-with-icon input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 0.8092rem; }.input-with-icon input::placeholder, textarea::placeholder { color: var(--theme-00d0d14218f3, #9aa5a9); }
.client-tabs, .inventory-tabs { display: flex; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; }.client-tabs button, .inventory-tabs button { position: relative; padding: 10px 0; color: var(--muted); background: transparent; font-size: 0.774rem; white-space: nowrap; }.client-tabs button.is-active, .inventory-tabs button.is-active { color: var(--ink); font-weight: 700; }.client-tabs button.is-active::after, .inventory-tabs button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue-deep); }.client-tabs span, .inventory-tabs span { margin-left: 3px; color: var(--blue-deep); }
.client-list { padding: 7px; }.client-row { width: 100%; display: grid; grid-template-columns: 38px 1fr auto 15px; align-items: center; gap: 9px; padding: 11px; background: transparent; border-radius: 10px; text-align: left; }.client-row:hover { background: var(--theme-9311bc6b6a84, #f7f9f8); }.client-row.is-active { background: var(--theme-78529b76b4f6, #edf7f4); }.client-main { display: flex; flex-direction: column; min-width: 0; }.client-main strong { font-size: 0.8192rem; }.client-main small { margin-top: 3px; font-size: 0.7539rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.client-row > svg { width: 13px; color: var(--muted); }.client-tags { display: flex; align-items: flex-end; flex-direction: column; gap: 3px; }.tag { padding: 3px 6px; border-radius: 10px; font-style: normal; font-size: 0.7238rem; white-space: nowrap; }.tag.treatment { color: var(--blue-deep); background: var(--blue-pale); }.tag.good { color: var(--theme-593ac95512af, #397c64); background: var(--sage-pale); }.tag.payment, .tag.warning { color: var(--theme-5c366bcf5394, #956821); background: var(--amber-pale); }.tag.consent { color: var(--theme-891496e12e56, #98504b); background: var(--coral-pale); }
.client-detail { padding: 22px; overflow: hidden; }
.client-profile-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }.client-profile-head h2 { font-family: "Instrument Serif", Georgia, serif; font-size: 2rem; font-weight: 400; }.client-profile-head .eyebrow { margin-bottom: 4px; font-size: 0.774rem; }.profile-actions { display: flex; gap: 7px; }
.client-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 20px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }.client-summary-grid > div { padding: 12px; display: flex; flex-direction: column; gap: 6px; background: var(--theme-418b9fe52738, #f9fbfa); }.client-summary-grid small { font-size: 0.7489rem; }.client-summary-grid strong { font-size: 0.8142rem; }.client-summary-grid > div > span { display: flex; align-items: center; gap: 5px; }
.detail-tabs { display: flex; gap: 22px; margin: 22px -22px 0; padding: 0 22px; border-bottom: 1px solid var(--line); overflow-x: auto; }.detail-tabs button { position: relative; padding: 11px 0; background: transparent; color: var(--muted); font-size: 0.7891rem; white-space: nowrap; }.detail-tabs button.is-active { color: var(--ink); font-weight: 700; }.detail-tabs button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue-deep); }
.client-tab-panel { display: none; padding-top: 18px; }.client-tab-panel.is-active { display: block; }.detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.detail-columns > div { display: flex; flex-direction: column; gap: 14px; }.detail-card { padding: 15px; background: var(--theme-4073150da952, #f8faf9); border: 1px solid var(--theme-612e2c20b8b0, #e8eceb); border-radius: 12px; }.detail-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }.detail-card-head > span { display: inline-flex; align-items: center; gap: 7px; }.detail-card-head svg { width: 15px; color: var(--blue-deep); }.detail-card-head strong { font-size: 0.8242rem; }.health-note { padding: 10px; margin-bottom: 10px; border-radius: 8px; }.health-note.critical { background: var(--coral-pale); border-left: 3px solid var(--coral); }.health-note strong { font-size: 0.7941rem; }.health-note p { margin: 4px 0 0; color: var(--theme-be5d510c6ab3, #89615e); font-size: 0.7589rem; line-height: 1.45; }.detail-card dl { margin: 0; }.detail-card dl div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--theme-05691188a892, #e4e9e7); font-size: 0.769rem; }.detail-card dl div:last-child { border: 0; }.detail-card dt { color: var(--muted); }.detail-card dd { margin: 0; font-weight: 600; text-align: right; }
.preference-chips { display: flex; flex-wrap: wrap; gap: 6px; }.preference-chips span { padding: 6px 8px; color: var(--ink-soft); background: var(--theme-e08de713877c, #fff); border: 1px solid var(--line); border-radius: 20px; font-size: 0.7489rem; }
.package-card-mini h3 { margin-bottom: 8px; font-family: "Instrument Serif", Georgia, serif; font-size: 1.4rem; font-weight: 400; }.session-visual { display: flex; align-items: baseline; gap: 5px; }.session-visual strong { font-family: "Instrument Serif", Georgia, serif; color: var(--sage); font-size: 2rem; font-weight: 400; }.session-visual span { color: var(--muted); font-size: 0.774rem; }.session-dots { display: flex; gap: 4px; margin: 7px 0 8px; }.session-dots i { flex: 1; height: 6px; background: var(--theme-ee7c59b1c53e, #dfe5e3); border-radius: 4px; }.session-dots i.used { background: var(--sage); }.package-card-mini > small { font-size: 0.7489rem; }
.document-list { margin: 0; padding: 0; list-style: none; }.document-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }.document-list li > span { display: flex; align-items: center; gap: 6px; }.document-list svg { width: 13px; color: var(--muted); }.document-list strong { font-size: 0.769rem; }.document-list small { font-size: 0.7388rem; }
.permission-denied { display: none; text-align: center; padding: 28px; }.permission-denied svg { color: var(--muted); }.permission-denied strong { display: block; margin-top: 8px; font-size: 0.8192rem; }.permission-denied p { margin: 4px auto 0; max-width: 360px; color: var(--muted); font-size: 0.764rem; line-height: 1.5; }.permission-placeholder { display: none; color: var(--muted); }
.empty-state { min-height: 310px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.empty-state > svg { width: 34px; height: 34px; color: var(--blue-deep); }.empty-state h3 { margin-top: 12px; font-family: "Instrument Serif", Georgia, serif; font-size: 1.6rem; font-weight: 400; }.empty-state p { max-width: 430px; margin: 7px 0 16px; color: var(--muted); font-size: 0.8292rem; }.measure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }.measure-grid > div { display: flex; flex-direction: column; padding: 16px; border-radius: 12px; background: var(--theme-4073150da952, #f8faf9); }.measure-grid small { font-size: 0.764rem; }.measure-grid strong { margin: 7px 0 3px; font-family: "Instrument Serif", Georgia, serif; font-size: 1.6rem; font-weight: 400; }.measure-grid span { font-size: 0.7589rem; }.timeline-list p { position: relative; display: flex; flex-direction: column; margin: 0 0 0 6px; padding: 0 0 20px 24px; border-left: 1px solid var(--line); }.timeline-list p > i { position: absolute; left: -5px; top: 2px; width: 9px; height: 9px; background: var(--blue); border: 2px solid var(--theme-e08de713877c, #fff); border-radius: 50%; }.timeline-list strong { font-size: 0.8092rem; }.timeline-list span { margin-top: 3px; color: var(--muted); font-size: 0.769rem; }

/* Messages */
.messages-shell { min-height: 730px; display: grid; grid-template-columns: 300px minmax(430px, 1fr) 210px; overflow: hidden; }
.conversation-index { border-right: 1px solid var(--line); }.conversation-toolbar { display: grid; grid-template-columns: 1fr 34px; gap: 7px; padding: 14px; }.inbox-tabs { display: flex; gap: 16px; padding: 0 14px 8px; border-bottom: 1px solid var(--line); }.inbox-tabs button { padding: 6px 0; color: var(--muted); background: transparent; font-size: 0.769rem; }.inbox-tabs button.is-active { color: var(--ink); font-weight: 700; }.inbox-tabs span { margin-left: 3px; color: var(--coral); }
.conversation-row { width: 100%; display: grid; grid-template-columns: 34px 1fr 8px; gap: 9px; align-items: center; padding: 14px; background: transparent; border-bottom: 1px solid var(--theme-17270f473503, #edf0ef); text-align: left; }.conversation-row.is-active { background: var(--theme-495ce8facc3c, #eff8f5); }.conversation-row > span:nth-child(2) { min-width: 0; }.conversation-row strong { font-size: 0.8092rem; }.conversation-row p { margin: 3px 0; color: var(--ink-soft); font-size: 0.769rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.conversation-row small { font-size: 0.7388rem; }.channel { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }.channel.whatsapp { color: var(--theme-65aaaa49cf35, #34896b); background: var(--sage-pale); }.channel svg { width: 15px; }.unread-dot { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.conversation-pane { min-width: 0; display: grid; grid-template-rows: 61px auto 1fr auto; }.conversation-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--line); }.conversation-head > div:last-child { display: flex; gap: 5px; }.online-dot { display: inline-block; width: 6px; height: 6px; background: var(--theme-e1606b48e931, #55ae86); border-radius: 50%; }
.conversation-context { display: flex; align-items: center; gap: 9px; padding: 9px 16px; color: var(--blue-deep); background: var(--blue-pale); }.conversation-context > svg { width: 15px; }.conversation-context > span { display: flex; flex-direction: column; }.conversation-context small { color: var(--theme-9a668fd33f8a, #4b8fa7); font-size: 0.7388rem; }.conversation-context strong { font-size: 0.779rem; }.conversation-context .text-button { margin-left: auto; }
.message-thread { min-height: 400px; padding: 18px; background-color: var(--theme-9311bc6b6a84, #f7f9f8); background-image: radial-gradient(var(--theme-95de81cdd7f2, rgba(116,153,138,.09)) .8px, transparent .8px); background-size: 16px 16px; overflow-y: auto; }.day-separator { display: flex; justify-content: center; margin-bottom: 16px; }.day-separator span { padding: 4px 8px; background: var(--theme-5953d4c27a22, rgba(255,255,255,.88)); border-radius: 20px; color: var(--muted); font-size: 0.7388rem; }.message { max-width: 72%; margin-bottom: 9px; padding: 10px 12px 7px; border-radius: 12px; box-shadow: 0 3px 10px var(--theme-d982f8bcc7bf, rgba(23,37,50,.05)); }.message p { margin: 0; font-size: 0.8092rem; line-height: 1.45; }.message > small { display: block; margin-top: 4px; text-align: right; font-size: 0.7188rem; }.message.received { background: var(--theme-e08de713877c, #fff); border-radius: 4px 12px 12px 12px; }.message.system { max-width: 90%; display: flex; gap: 9px; margin: 16px auto; color: var(--muted); background: var(--theme-395a60f1d004, rgba(255,255,255,.65)); box-shadow: none; }.message.system svg { width: 15px; }.message.system span { display: flex; flex-direction: column; }.message.system strong { font-size: 0.7589rem; }.message.system small { margin-top: 2px; font-size: 0.7338rem; }.suggested-reply { max-width: 92%; margin: 18px auto 0; padding: 12px; background: var(--theme-a3db70f55f6f, #fff9ea); border: 1px dashed var(--theme-b29cfefa8be1, #ddb76f); border-radius: 11px; }.suggested-reply > span { display: inline-grid; grid-template-columns: 15px 1fr; column-gap: 5px; }.suggested-reply > span svg { grid-row: 1 / 3; width: 13px; color: var(--amber); }.suggested-reply strong { font-size: 0.774rem; }.suggested-reply small { font-size: 0.7238rem; }.suggested-reply .text-button { float: right; }.suggested-reply p { clear: both; margin: 9px 0 0; color: var(--theme-bb8cf47ed133, #5c5544); font-size: 0.7891rem; line-height: 1.45; }
.message-composer { padding: 10px 14px; border-top: 1px solid var(--line); background: var(--theme-e08de713877c, #fff); }.quick-replies { display: flex; gap: 5px; margin-bottom: 7px; overflow-x: auto; }.quick-replies button { padding: 5px 8px; border: 1px solid var(--line); border-radius: 20px; background: var(--theme-e08de713877c, #fff); color: var(--muted); font-size: 0.7388rem; white-space: nowrap; }.composer-row { display: grid; grid-template-columns: 34px 1fr 34px; gap: 7px; align-items: end; }.composer-row textarea { min-height: 36px; max-height: 100px; resize: vertical; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; outline: 0; font-size: 0.7991rem; }.send-button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--theme-e08de713877c, #fff); background: var(--blue-deep); border-radius: 9px; }.send-button svg { width: 15px; }.composer-note { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 0.7238rem; }.composer-note svg { width: 11px; }
.conversation-side { padding: 16px; border-left: 1px solid var(--line); }.conversation-side h3 { margin-bottom: 14px; }.side-fact { display: flex; flex-direction: column; padding: 9px 0; border-bottom: 1px solid var(--line); }.side-fact small { font-size: 0.7388rem; }.side-fact strong { margin-top: 4px; font-size: 0.7891rem; }.side-note { display: flex; gap: 7px; margin-top: 14px; padding: 10px; color: var(--theme-ce31e3e977ae, #8b621f); background: var(--amber-pale); border-radius: 9px; }.side-note svg { width: 14px; }.side-note p { margin: 0; font-size: 0.7489rem; line-height: 1.45; }

/* Packages */
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 18px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }.metric-strip article { padding: 18px; display: flex; flex-direction: column; background: var(--theme-e08de713877c, #fff); }.metric-strip small { font-size: 0.769rem; }.metric-strip strong { margin: 6px 0 3px; font-family: "Instrument Serif", Georgia, serif; font-size: 1.7rem; font-weight: 400; }.metric-strip span { color: var(--muted); font-size: 0.7489rem; }
.package-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .55fr); gap: 18px; }.wide-table-panel, .ledger-panel { padding: 20px; }.compact-input { width: 210px; }.table-wrap { overflow-x: auto; }.wide-table-panel table, .inventory-table, .permission-matrix table { width: 100%; margin-top: 15px; border-collapse: collapse; font-size: 0.784rem; }.wide-table-panel th, .wide-table-panel td, .inventory-table th, .inventory-table td, .permission-matrix th, .permission-matrix td { padding: 11px 9px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }.wide-table-panel th, .inventory-table th, .permission-matrix th { color: var(--muted); font-size: 0.7388rem; text-transform: uppercase; letter-spacing: .07em; }.table-person, .product-cell { display: flex; align-items: center; gap: 8px; }.table-progress { display: flex; align-items: center; gap: 7px; }.table-progress > i { width: 70px; height: 4px; background: var(--theme-eb5f2a6fa31d, #e7ecea); border-radius: 4px; overflow: hidden; }.table-progress b { display: block; height: 100%; background: var(--sage); }.table-progress small { font-size: 0.7388rem; }
.ledger-list { margin-top: 10px; }.ledger-list > div { display: grid; grid-template-columns: 35px 1fr; align-items: center; gap: 9px; padding: 12px 0; border-bottom: 1px solid var(--line); }.ledger-list > div:last-child { border: 0; }.ledger-list span:nth-child(2) { display: flex; flex-direction: column; }.ledger-list strong { font-size: 0.7891rem; }.ledger-list small { margin-top: 3px; font-size: 0.7439rem; }.ledger-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 0.8142rem; font-weight: 700; }.ledger-icon.minus { color: var(--blush); background: var(--blush-pale); }.ledger-icon.euro { color: var(--sage); background: var(--sage-pale); }.ledger-icon.undo { color: var(--blue-deep); background: var(--blue-pale); }.ledger-icon svg { width: 14px; }

/* Reactivation */
.opportunity-banner { min-height: 185px; display: grid; grid-template-columns: 155px 1fr 110px; align-items: center; gap: 26px; padding: 25px 30px; color: var(--theme-e08de713877c, #fff); background: linear-gradient(125deg, var(--theme-58bc1de33825, #203c3a), var(--theme-cdc7c1250f1d, #315d55) 60%, var(--theme-aac3c232c437, #213f3c)); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }.opportunity-clock { height: 125px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--theme-e7e4f05dbb75, rgba(255,255,255,.2)); border-radius: 50% 50% 50% 18%; background: var(--theme-5704ef9ed39c, rgba(255,255,255,.06)); }.opportunity-clock small { color: var(--theme-84c75447cecf, rgba(255,255,255,.6)); font-size: 0.774rem; }.opportunity-clock strong { margin: 5px 0; font-family: "Instrument Serif", Georgia, serif; font-size: 2.2rem; font-weight: 400; }.opportunity-clock span { font-size: 0.764rem; color: var(--theme-8faea22a5153, #bbd5cd); }.opportunity-banner h2 { font-family: "Instrument Serif", Georgia, serif; font-size: 2.05rem; font-weight: 400; }.opportunity-banner p:last-child { max-width: 690px; margin: 9px 0 0; color: var(--theme-2dc93e105f34, #bfd0cc); font-size: 0.8242rem; line-height: 1.5; }.match-score { display: flex; flex-direction: column; align-items: center; text-align: center; }.match-score span { font-family: "Instrument Serif", Georgia, serif; color: var(--theme-2387d70e827f, #9fe0c7); font-size: 2.1rem; }.match-score small { color: var(--theme-45d92e2a57d5, #adc5be); font-size: 0.7388rem; }
.reactivation-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .55fr); gap: 18px; margin-top: 18px; }.match-list, .dormant-panel { padding: 20px; }.match-card { display: grid; grid-template-columns: 28px 42px 1fr auto auto; align-items: center; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); }.match-card:last-child { border: 0; }.match-rank { font-family: "Instrument Serif", Georgia, serif; color: var(--theme-48fe8d24c257, #9da8ab); font-size: 1.15rem; }.match-person { min-width: 0; }.match-person > strong { font-size: 0.8292rem; }.match-person > small { display: block; margin-top: 3px; font-size: 0.7539rem; }.match-person > div { display: flex; gap: 5px; margin-top: 7px; }.match-person > div span { padding: 4px 6px; border-radius: 10px; background: var(--theme-41ba9c9ea44f, #f2f5f4); color: var(--muted); font-size: 0.7188rem; }.match-reasons { display: flex; flex-direction: column; gap: 4px; }.match-reasons span { display: flex; align-items: center; gap: 3px; color: var(--theme-f0dd597c58b1, #4d7e6c); font-size: 0.7388rem; white-space: nowrap; }.match-reasons svg { width: 10px; }
.donut-summary { display: flex; align-items: center; gap: 18px; margin: 24px 0; }.donut { width: 110px; height: 110px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(var(--sage) 0 41.7%, var(--amber) 41.7% 75%, var(--blush) 75% 100%); position: relative; }.donut::after { content: ""; position: absolute; inset: 16px; background: var(--theme-e08de713877c, #fff); border-radius: 50%; }.donut span { display: flex; flex-direction: column; z-index: 1; text-align: center; font-family: "Instrument Serif", Georgia, serif; font-size: 1.65rem; }.donut small { font-family: "DM Sans", sans-serif; font-size: 0.7238rem; }.donut-summary ul { margin: 0; padding: 0; list-style: none; }.donut-summary li { display: flex; align-items: center; gap: 6px; margin: 8px 0; color: var(--muted); font-size: 0.7439rem; }.donut-summary li i { width: 7px; height: 7px; border-radius: 50%; }.donut-summary li i.sage { background: var(--sage); }.donut-summary li i.amber { background: var(--amber); }.donut-summary li i.blush { background: var(--blush); }.donut-summary li strong { color: var(--ink); }.campaign-mini { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }.campaign-mini > span:nth-child(2) { display: flex; flex-direction: column; }.campaign-mini strong { font-size: 0.779rem; }.campaign-mini small { font-size: 0.7338rem; }.campaign-mini > span:last-child { font-size: 0.779rem; font-weight: 700; }

/* Inventory */
.inventory-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }.inventory-summary article { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 15px; background: var(--theme-e08de713877c, #fff); border: 1px solid var(--line); border-radius: 13px; }.inventory-summary article > span { width: 40px; height: 40px; display: grid; place-items: center; color: var(--sage); background: var(--sage-pale); border-radius: 11px; }.inventory-summary article.critical > span { color: var(--coral); background: var(--coral-pale); }.inventory-summary article > div { display: flex; flex-direction: column; }.inventory-summary small { font-size: 0.7489rem; }.inventory-summary strong { margin-top: 3px; font-size: 0.8443rem; }
.inventory-panel { padding: 20px; }.panel-tools { display: flex; gap: 7px; }.panel-tools select { padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--theme-e08de713877c, #fff); font-size: 0.774rem; }
.inventory-tabs { margin: 12px -20px 0; padding: 0 20px; }.inventory-table { margin-top: 4px; }.product-pictogram { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; }.product-pictogram.gel, .tablet-product-icon.gel { color: var(--blue-deep); background: var(--blue-pale); }.product-pictogram.wraps, .tablet-product-icon.wraps { color: var(--blush); background: var(--blush-pale); }.product-pictogram.gloves, .tablet-product-icon.gloves { color: var(--plum); background: var(--plum-pale); }.product-pictogram.cream, .tablet-product-icon.cream { color: var(--amber); background: var(--amber-pale); }.product-cell > span:last-child { display: flex; flex-direction: column; }.product-cell small { margin-top: 3px; font-size: 0.7288rem; }.category-tag { padding: 4px 7px; color: var(--blue-deep); background: var(--blue-pale); border-radius: 12px; font-size: 0.7288rem; }.category-tag.neutral { color: var(--plum); background: var(--plum-pale); }.category-tag.retail { color: var(--theme-74097a238b63, #8c611e); background: var(--amber-pale); }.stock-state { display: inline-flex; align-items: center; gap: 5px; font-size: 0.7439rem; }.stock-state i { width: 7px; height: 7px; border-radius: 50%; }.stock-state.low { color: var(--coral); }.stock-state.low i { background: var(--coral); }.stock-state.good { color: var(--theme-49c6400a0b4d, #43856d); }.stock-state.good i { background: var(--theme-e1606b48e931, #55ae86); }.stock-state.warning { color: var(--theme-febdbb5c0b4b, #9b6c23); }.stock-state.warning i { background: var(--amber); }

/* Catalogo servizi e cabine */
.catalog-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }.catalog-summary article { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; padding: 16px; background: var(--theme-e08de713877c, #fff); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); }.catalog-summary article > div { display: flex; flex-direction: column; }.catalog-summary article small { font-size: 0.7489rem; }.catalog-summary article strong { margin: 2px 0; font-family: "Instrument Serif", Georgia, serif; font-size: 1.55rem; font-weight: 400; }.catalog-summary article span { color: var(--muted); font-size: 0.7388rem; }
.cabin-panel, .treatment-panel { padding: 20px; }.treatment-panel { margin-top: 18px; }.catalog-note { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 0.7489rem; }.catalog-note svg { width: 13px; }.cabin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }.cabin-card { position: relative; min-height: 128px; padding: 15px; background: var(--theme-4073150da952, #f8faf9); border: 1px solid var(--theme-2b0da4ea7ef2, #e6ebe9); border-radius: 13px; overflow: hidden; }.cabin-card::after { content: attr(data-number); position: absolute; right: 9px; bottom: -15px; color: var(--theme-cb6e261cc826, rgba(23,37,50,.045)); font-family: "Instrument Serif", Georgia, serif; font-size: 5.2rem; line-height: 1; }.cabin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.cabin-card-head > span { display: flex; align-items: center; gap: 7px; }.cabin-number { width: 29px; height: 29px; display: grid; place-items: center; color: var(--theme-e08de713877c, #fff); background: var(--ink); border-radius: 50% 50% 50% 9px; font-size: 0.774rem; font-weight: 700; }.cabin-card h3 { font-size: 0.8393rem; }.cabin-card .status-pill { z-index: 1; }.cabin-card p { position: relative; z-index: 1; margin: 11px 0 0; max-width: 90%; color: var(--muted); font-size: 0.769rem; line-height: 1.45; }.cabin-card footer { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }.cabin-card footer span { padding: 4px 6px; color: var(--blue-deep); background: var(--blue-pale); border-radius: 10px; font-size: 0.7238rem; }
.treatment-table { width: 100%; margin-top: 14px; border-collapse: collapse; }.treatment-table th, .treatment-table td { padding: 11px 9px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.774rem; vertical-align: middle; }.treatment-table th { color: var(--muted); font-size: 0.7288rem; letter-spacing: .07em; text-transform: uppercase; }.treatment-name { display: flex; flex-direction: column; }.treatment-name strong { font-size: 0.7941rem; }.treatment-name small { margin-top: 3px; font-size: 0.7288rem; }.duration-chips, .cabin-chips { display: flex; flex-wrap: wrap; gap: 4px; }.duration-chips span { min-width: 31px; padding: 4px 6px; color: var(--theme-af35b6d2e127, #864c60); background: var(--blush-pale); border-radius: 10px; font-size: 0.7288rem; font-weight: 700; text-align: center; }.cabin-chips span { width: 25px; height: 25px; display: grid; place-items: center; color: var(--blue-deep); background: var(--blue-pale); border-radius: 7px; font-size: 0.7238rem; font-weight: 700; }.booking-rule { display: inline-flex; align-items: center; gap: 5px; font-size: 0.7439rem; }.booking-rule i { width: 7px; height: 7px; background: var(--theme-e1606b48e931, #55ae86); border-radius: 50%; }.booking-rule.guided { color: var(--theme-7702d17bb391, #93651f); }.booking-rule.guided i { background: var(--amber); }

/* Team */
.team-grid { display: grid; grid-template-columns: minmax(360px, .65fr) minmax(620px, 1.3fr); gap: 18px; }.team-members, .permission-matrix, .audit-panel { padding: 20px; }.team-members article { display: grid; grid-template-columns: 42px 1fr auto 34px; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }.team-members article:last-child { border: 0; }.team-members article > span:nth-child(2) { display: flex; flex-direction: column; }.team-members strong { font-size: 0.8092rem; }.team-members small { margin-top: 3px; font-size: 0.7388rem; }.role-pill { padding: 5px 8px; border-radius: 20px; font-size: 0.7338rem; font-weight: 700; }.role-pill.admin { color: var(--blue-deep); background: var(--blue-pale); }.role-pill.reception { color: var(--plum); background: var(--plum-pale); }.role-pill.operator { color: var(--theme-bec28fcd0da9, #437a66); background: var(--sage-pale); }
.weekly-shifts { margin-bottom: 18px; padding: 20px; }.weekly-shifts table { width: 100%; margin-top: 14px; border-collapse: collapse; }.weekly-shifts th, .weekly-shifts td { padding: 9px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.764rem; }.weekly-shifts th { color: var(--muted); font-size: 0.7288rem; letter-spacing: .06em; text-transform: uppercase; }.shift-legend { display: flex; gap: 10px; }.shift-legend span { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 0.7338rem; }.shift-legend i { width: 7px; height: 7px; border-radius: 50%; }.shift-legend i.morning { background: var(--sage); }.shift-legend i.late { background: var(--amber); }.shift-legend i.long { background: var(--blue); }.shift-cell { min-width: 47px; display: inline-grid; place-items: center; padding: 5px 7px; border-radius: 8px; font-size: 0.7439rem; font-weight: 700; }.shift-cell.morning { color: var(--theme-ac7119271a25, #3f7d67); background: var(--sage-pale); }.shift-cell.late { color: var(--theme-52c8b73cc88c, #91631e); background: var(--amber-pale); }.shift-cell.mid { color: var(--theme-1ee0bd230022, #6b5571); background: var(--plum-pale); }.shift-cell.long { color: var(--blue-deep); background: var(--blue-pale); }
.permission-matrix table td:not(:first-child) { font-size: 0.7489rem; }.permission-matrix table svg { width: 11px; margin-right: 4px; vertical-align: -2px; color: var(--sage); }.permission-matrix table td:nth-last-child(-n+2) svg[data-lucide="x"] { color: var(--coral); }
.audit-panel { margin-top: 18px; }.audit-row { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }.audit-row > span:nth-child(2) { display: flex; flex-direction: column; }.audit-row strong { font-size: 0.779rem; }.audit-row small { margin-top: 3px; font-size: 0.7388rem; }.audit-row > span:last-child { color: var(--muted); font-size: 0.7388rem; }

/* Integration */
.integration-status { display: grid; grid-template-columns: 72px 1fr auto auto; align-items: center; gap: 20px; padding: 20px; }.integration-logo { width: 66px; height: 66px; display: grid; place-items: center; background: var(--blue-pale); border-radius: 18px; }.integration-logo img { width: 38px; height: 42px; }.integration-status h2 { margin: 8px 0 3px; }.integration-status p { margin: 0; color: var(--muted); font-size: 0.7891rem; }.integration-status dl { display: flex; gap: 28px; margin: 0; }.integration-status dl div { display: flex; flex-direction: column; }.integration-status dt { color: var(--muted); font-size: 0.7388rem; }.integration-status dd { margin: 4px 0 0; font-size: 0.7891rem; font-weight: 700; }
.integration-grid { display: grid; grid-template-columns: minmax(360px, .7fr) minmax(580px, 1.3fr); gap: 18px; margin-top: 18px; }.api-config, .sync-map { padding: 20px; }.demo-badge { padding: 5px 8px; color: var(--theme-5c366bcf5394, #956821); background: var(--amber-pale); border-radius: 20px; font-size: 0.7388rem; font-weight: 700; }.api-config form { display: grid; grid-template-columns: 1fr 100px; gap: 13px; margin-top: 18px; }.api-config label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 0.7539rem; font-weight: 600; }.api-config input { width: 100%; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--theme-e08de713877c, #fff); font-size: 0.784rem; outline: 0; }.api-config label > small { font-size: 0.7238rem; font-weight: 400; }.full-field { grid-column: 1 / -1; }.password-field { display: grid; grid-template-columns: 1fr 38px; }.password-field input { border-radius: 9px 0 0 9px; }.password-field button { background: var(--theme-e08de713877c, #fff); border: 1px solid var(--line); border-left: 0; border-radius: 0 9px 9px 0; }.password-field svg { width: 14px; }.form-actions { display: flex; justify-content: flex-end; gap: 7px; }
.sync-map-row { display: grid; grid-template-columns: 130px 1fr 110px 9px; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--line); }.sync-map-row:last-child { border: 0; }.sync-entity { display: flex; align-items: center; gap: 7px; }.sync-entity svg { width: 14px; color: var(--blue-deep); }.sync-entity strong { font-size: 0.779rem; }.sync-map-row code { padding: 4px 6px; color: var(--ink-soft); background: var(--theme-4531ca8d9eb7, #f3f5f4); border-radius: 5px; font-size: 0.7338rem; }.sync-direction { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 0.7288rem; }.sync-direction svg { width: 11px; }.sync-map-row.local .sync-entity svg { color: var(--plum); }
.integration-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; padding: 18px; }.integration-notes > div { display: flex; gap: 10px; }.integration-notes > div > span:last-child { display: flex; flex-direction: column; }.integration-notes strong { font-size: 0.7891rem; }.integration-notes p { margin: 4px 0 0; color: var(--muted); font-size: 0.7439rem; line-height: 1.45; }

/* Tablet mode */
.tablet-mode { position: fixed; inset: 0; display: none; background: var(--theme-3f83848300a4, #edf1ef); z-index: 200; overflow-y: auto; }.tablet-mode.is-open { display: block; animation: tablet-in .35s ease; }.tablet-mode[aria-hidden="false"] { display: block; }@keyframes tablet-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.tablet-header { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; color: var(--theme-e08de713877c, #fff); background: var(--ink); }.tablet-brand, .tablet-user { display: flex; align-items: center; gap: 10px; }.tablet-brand > span:last-child, .tablet-user > span:not(.avatar):not(.sync-live) { display: flex; flex-direction: column; }.tablet-brand strong { font-size: 0.9247rem; }.tablet-brand small, .tablet-user small { color: var(--theme-aeceb004b4ec, rgba(255,255,255,.5)); font-size: 0.774rem; }.tablet-user strong { font-size: 0.8292rem; }.sync-live { display: flex; align-items: center; gap: 6px; margin-right: 12px; color: var(--theme-d404928713b7, #aee5cf); font-size: 0.7891rem; }.sync-live i { width: 7px; height: 7px; background: var(--theme-6ba020cc1017, #63c99d); border-radius: 50%; box-shadow: 0 0 0 4px var(--theme-e1c733b0be96, rgba(99,201,157,.12)); }.tablet-exit { height: 40px; display: flex; align-items: center; gap: 6px; margin-left: 12px; padding: 0 13px; color: var(--theme-e08de713877c, #fff); background: var(--theme-b56364a7c7a0, rgba(255,255,255,.1)); border-radius: 10px; font-size: 0.8092rem; }.tablet-exit svg { width: 15px; }
.tablet-content { max-width: 1380px; margin: 0 auto; padding: 30px; }.tablet-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }.tablet-intro h1 { font-size: clamp(2.7rem, 5vw, 4.2rem); }.tablet-intro p:last-child { margin: 0; color: var(--muted); font-size: 0.8795rem; }.tablet-scan { min-width: 210px; display: flex; align-items: center; gap: 13px; padding: 15px 18px; color: var(--theme-e08de713877c, #fff); background: var(--blue-deep); border-radius: 14px; box-shadow: 0 10px 24px var(--theme-b3405f84d45e, rgba(8,126,170,.22)); text-align: left; }.tablet-scan > svg { width: 28px; height: 28px; }.tablet-scan > span { display: flex; flex-direction: column; }.tablet-scan strong { font-size: 0.8895rem; }.tablet-scan small { margin-top: 2px; color: var(--theme-a44a21db690b, rgba(255,255,255,.68)); font-size: 0.769rem; }
.tablet-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 28px 0 16px; }.tablet-search { height: 50px; min-width: 330px; display: flex; align-items: center; gap: 9px; padding: 0 14px; background: var(--theme-e08de713877c, #fff); border: 1px solid var(--line); border-radius: 13px; }.tablet-search input { width: 100%; border: 0; outline: 0; font-size: 0.8594rem; }.tablet-filter { display: flex; padding: 4px; background: var(--theme-82fefba4e182, #dde4e1); border-radius: 12px; }.tablet-filter button { min-height: 39px; padding: 0 14px; color: var(--muted); background: transparent; border-radius: 9px; font-size: 0.8092rem; font-weight: 600; }.tablet-filter button.is-active { color: var(--ink); background: var(--theme-e08de713877c, #fff); box-shadow: 0 2px 7px var(--theme-432789041a03, rgba(23,37,50,.09)); }
.tablet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }.tablet-product { display: grid; grid-template-columns: 60px 1fr auto; grid-template-rows: 1fr auto; gap: 12px 16px; padding: 18px; background: var(--theme-e08de713877c, #fff); border: 2px solid transparent; border-radius: 18px; box-shadow: var(--shadow-soft); }.tablet-product.low { border-color: var(--theme-3a059ecce4bd, rgba(207,102,93,.3)); }.tablet-product-icon { width: 60px; height: 60px; display: grid; place-items: center; grid-row: 1; border-radius: 16px; }.tablet-product-icon svg { width: 27px; height: 27px; }.tablet-product h2 { margin: 6px 0 3px; font-size: 1rem; }.tablet-product p { margin: 0; color: var(--muted); font-size: 0.7891rem; }.stock-alert { display: flex; align-items: center; gap: 5px; color: var(--coral); font-size: 0.7388rem; font-weight: 700; }.stock-alert i { width: 6px; height: 6px; background: var(--coral); border-radius: 50%; }.stock-alert.good { color: var(--theme-097f98ca117f, #46836d); }.stock-alert.good i { background: var(--theme-e1606b48e931, #55ae86); }.stock-alert.warning { color: var(--theme-5a668e5ebe40, #9b6d25); }.stock-alert.warning i { background: var(--amber); }.tablet-stock { min-width: 75px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-left: 14px; border-left: 1px solid var(--line); }.tablet-stock small { font-size: 0.7338rem; }.tablet-stock strong { margin: 2px 0; font-family: "Instrument Serif", Georgia, serif; font-size: 2.2rem; font-weight: 400; }.tablet-stock span { color: var(--muted); font-size: 0.7288rem; }.quantity-control { grid-column: 1 / -1; display: grid; grid-template-columns: 58px 1fr 58px; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }.quantity-control button { height: 48px; display: grid; place-items: center; color: var(--ink); background: var(--theme-3f83848300a4, #edf1ef); border-radius: 11px; }.quantity-control button:last-child { color: var(--theme-e08de713877c, #fff); background: var(--sage); }.quantity-control button:active { transform: scale(.96); }.quantity-control span { color: var(--muted); font-size: 0.784rem; text-align: center; }.tablet-feed { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 16px 18px; background: var(--theme-e08de713877c, #fff); border-radius: 14px; }.tablet-feed strong { font-size: 0.8242rem; }.tablet-feed .eyebrow { margin-bottom: 4px; }

/* Modal & command */
.modal-backdrop, .command-backdrop { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 18px; background: var(--theme-8690b81e46ec, rgba(15,27,35,.54)); backdrop-filter: blur(7px); z-index: 300; }.modal-backdrop.is-open, .command-backdrop.is-open { display: flex; }.modal { width: min(560px, 100%); max-height: 92vh; overflow-y: auto; padding: 22px; background: var(--theme-e08de713877c, #fff); border-radius: 18px; box-shadow: 0 30px 80px var(--theme-78eab87e6186, rgba(0,0,0,.25)); animation: modal-in .2s ease; }.modal > header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }.modal h2 { font-family: "Instrument Serif", Georgia, serif; font-size: 2rem; font-weight: 400; }.modal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.modal-form label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 0.764rem; font-weight: 600; }.modal-form input, .modal-form select, .modal-form textarea { width: 100%; min-height: 40px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--theme-e08de713877c, #fff); outline: 0; font-size: 0.8041rem; }.modal-form textarea { min-height: 78px; resize: vertical; }.modal-form .full { grid-column: 1 / -1; }.modal-form .modal-note { display: flex; gap: 7px; padding: 10px; color: var(--theme-959e4b148aa7, #4e7568); background: var(--sage-pale); border-radius: 9px; font-size: 0.7589rem; line-height: 1.45; }.modal-form .modal-note svg { width: 14px; }.modal-form .form-actions { margin-top: 4px; }@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.command-palette { width: min(610px, 100%); overflow: hidden; background: var(--theme-e08de713877c, #fff); border-radius: 16px; box-shadow: 0 30px 80px var(--theme-13ea0f53917e, rgba(0,0,0,.28)); }.command-palette > label { height: 62px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 9px; padding: 0 18px; border-bottom: 1px solid var(--line); }.command-palette input { border: 0; outline: 0; font-size: 0.8795rem; }.command-results { padding: 8px; }.command-results .nav-label { color: var(--muted); }.command-results button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; padding: 9px 10px; background: transparent; border-radius: 10px; text-align: left; }.command-results button:hover { background: var(--theme-33de467cefc1, #f3f6f5); }.command-results button > svg { width: 17px; color: var(--blue-deep); }.command-results button > span { display: flex; flex-direction: column; }.command-results strong { font-size: 0.8041rem; }.command-results small { margin-top: 2px; font-size: 0.7439rem; }
.toast-region { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 8px; z-index: 400; }.toast { min-width: 270px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 9px; padding: 12px; color: var(--theme-e08de713877c, #fff); background: var(--ink); border-radius: 12px; box-shadow: 0 14px 40px var(--theme-9035ca512c31, rgba(23,37,50,.24)); animation: toast-in .25s ease; }.toast > span:first-child { width: 28px; height: 28px; display: grid; place-items: center; color: var(--theme-2387d70e827f, #9fe0c7); background: var(--theme-b56364a7c7a0, rgba(255,255,255,.1)); border-radius: 8px; }.toast > span:nth-child(2) { display: flex; flex-direction: column; }.toast strong { font-size: 0.7991rem; }.toast small { margin-top: 2px; color: var(--theme-04683885c29c, rgba(255,255,255,.58)); font-size: 0.7388rem; }.toast button { color: var(--theme-84c75447cecf, rgba(255,255,255,.6)); background: transparent; }.toast button svg { width: 13px; }@keyframes toast-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* Serum glass visual system */
body::before, body::after { content: ""; position: fixed; z-index: -2; border-radius: 50%; filter: blur(10px); pointer-events: none; }
body::before { width: 48vw; height: 48vw; min-width: 520px; min-height: 520px; right: -14vw; top: -20vw; background: radial-gradient(circle at 42% 44%, var(--theme-51a3ab762ee0, rgba(214,176,199,.58)), var(--theme-c9dfbdffe25e, rgba(229,210,223,.18)) 58%, transparent 72%); }
body::after { width: 38vw; height: 38vw; min-width: 420px; min-height: 420px; left: 18vw; bottom: -24vw; background: radial-gradient(circle, var(--theme-f0767b42be40, rgba(164,191,177,.34)), var(--theme-edb6e04292dc, rgba(216,230,222,.1)) 62%, transparent 74%); }
.app-frame::before { content: ""; position: fixed; inset: 0; z-index: -3; background: linear-gradient(145deg, var(--theme-94f461945525, #f9f5f8) 0%, var(--theme-d820129ecada, #f2eaf1) 48%, var(--theme-c8037a4302db, #edf2ef) 100%); }
:where(h1, .today-pulse article > div strong, .opportunity-visual, .opportunity-hero h2, .client-profile-head h2, .package-card-mini h3, .session-visual strong, .empty-state h3, .measure-grid strong, .metric-strip strong, .opportunity-clock strong, .opportunity-banner h2, .match-score span, .catalog-summary article strong, .cabin-card::after, .tablet-stock strong, .modal h2) { font-family: var(--font-display); }

body.role-admin { --role-accent: var(--theme-18447b3a512c, #a7648e); --role-soft: var(--theme-dbe4f49eff3b, rgba(219, 182, 205, .33)); }
body.role-receptionist { --role-accent: var(--theme-eb91d940ce8e, #af855f); --role-soft: var(--theme-2a5292fa3cc9, rgba(222, 199, 166, .36)); }
body.role-operator { --role-accent: var(--theme-d3ca2d03914b, #668f7e); --role-soft: var(--theme-7b243f3b091d, rgba(174, 205, 190, .34)); }

.sidebar { inset: 14px auto 14px 14px; height: auto; color: var(--ink); background: var(--theme-41a616f46de9, rgba(255, 251, 254, .64)); border: 1px solid var(--glass-border); border-radius: 28px; box-shadow: 0 24px 60px var(--theme-c71412a74070, rgba(89,55,78,.14)), inset 0 1px 0 var(--theme-8f48d9ac577c, rgba(255,255,255,.9)); backdrop-filter: blur(30px) saturate(145%); overflow: hidden; }
.brand-lockup { border-color: var(--line); }
.brand-mark { color: var(--theme-e08de713877c, #fff); border: 1px solid var(--theme-9a5bbea1f5fc, rgba(255,255,255,.76)); background: linear-gradient(145deg, var(--theme-e4f03666e2b3, #c889ad), var(--theme-fb0106a9de30, #927089) 56%, var(--theme-749641afb12c, #849e92)); box-shadow: inset 0 1px 1px var(--theme-395a60f1d004, rgba(255,255,255,.65)), 0 8px 22px var(--theme-95d502ea2db2, rgba(126,82,110,.22)); }
.brand-copy strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; letter-spacing: -.02em; }
.brand-copy small, .nav-label { color: var(--theme-4c9fac055708, rgba(71,49,65,.48)); }
.nav-item { color: var(--theme-9f7a40a4680b, rgba(71,49,65,.66)); border: 1px solid transparent; }
.nav-item:hover { color: var(--ink); background: var(--theme-aeceb004b4ec, rgba(255,255,255,.5)); border-color: var(--theme-88389890058c, rgba(255,255,255,.72)); }
.nav-item.is-active { color: var(--ink); background: linear-gradient(105deg, var(--theme-5d1cc971f5cf, rgba(255,255,255,.82)), var(--role-soft)); border-color: var(--theme-8f48d9ac577c, rgba(255,255,255,.9)); box-shadow: 0 7px 20px var(--theme-4a4173ba060c, rgba(91,55,79,.08)), inset 0 1px 0 var(--theme-e08de713877c, #fff); }
.nav-item.is-active::before { left: -1px; top: 9px; height: 22px; width: 3px; background: var(--role-accent); border-radius: 6px; }
.nav-badge { color: var(--blue-deep); background: var(--theme-b3b4d9d8c22c, rgba(183,119,159,.12)); }
.nav-dot { background: var(--theme-968a94a69120, #729c88); box-shadow: 0 0 0 4px var(--theme-e896f20cfadc, rgba(114,156,136,.12)); }
.sidebar-footer { border-color: var(--line); }
.sync-card strong, .tablet-launch strong { color: var(--ink); }
.sync-card small, .tablet-launch small { color: var(--muted); }
.tablet-launch { color: var(--ink); background: var(--theme-06e62143f044, rgba(255,255,255,.43)); border-color: var(--theme-88389890058c, rgba(255,255,255,.72)); }
.tablet-launch:hover { background: var(--theme-88389890058c, rgba(255,255,255,.72)); }
.tablet-launch > svg:last-child { color: var(--muted); }

.workspace { margin-left: calc(var(--sidebar) + 28px); }
.topbar { top: 14px; height: var(--topbar); margin: 14px 18px 0 0; padding: 0 20px; background: var(--theme-6a1485593106, rgba(255,252,254,.64)); border: 1px solid var(--glass-border); border-radius: 22px; box-shadow: 0 12px 36px var(--theme-94415af7c70e, rgba(86,52,76,.08)), inset 0 1px 0 var(--theme-8f48d9ac577c, rgba(255,255,255,.9)); backdrop-filter: blur(26px) saturate(150%); }
.search-trigger, .icon-button { background: var(--theme-84c75447cecf, rgba(255,255,255,.6)); border-color: var(--theme-13ceb1a0955b, rgba(110,78,98,.12)); box-shadow: inset 0 1px 0 var(--theme-bfe36491dcf5, rgba(255,255,255,.8)); }
.search-trigger:hover, .icon-button:hover { background: var(--theme-adb8e156fd31, rgba(255,255,255,.84)); border-color: var(--theme-c2fc03a8c1a2, rgba(146,87,117,.2)); }
.role-switcher { padding: 4px; background: var(--theme-7fc356c484e4, rgba(110,78,98,.08)); border: 1px solid var(--theme-04683885c29c, rgba(255,255,255,.58)); border-radius: 13px; }
.role-button { padding: 8px 10px; border-radius: 9px; }
.role-button.is-active { color: var(--theme-e08de713877c, #fff); background: var(--role-accent); box-shadow: 0 7px 16px color-mix(in srgb, var(--role-accent) 28%, transparent); }
.user-menu .avatar { box-shadow: 0 0 0 3px var(--role-soft); }

main { padding-top: 46px; }
.page-heading { margin-bottom: 22px; }
.eyebrow { color: var(--role-accent, var(--blue-deep)); }
.page-heading > p:last-child, .page-heading > div > p:last-child { color: var(--theme-84d48fad676a, #74616e); line-height: 1.65; }
.panel, .today-pulse, .metric-strip, .catalog-summary article { background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-soft), inset 0 1px 0 var(--theme-5953d4c27a22, rgba(255,255,255,.88)); backdrop-filter: blur(24px) saturate(140%); }
.button { min-height: 42px; border-radius: 13px; }
.button.primary { color: var(--theme-e08de713877c, #fff); background: linear-gradient(135deg, var(--role-accent, var(--blue-deep)), color-mix(in srgb, var(--role-accent, var(--blue-deep)) 72%, var(--theme-97c075a56b71, #4d3847))); box-shadow: 0 11px 26px color-mix(in srgb, var(--role-accent, var(--blue-deep)) 22%, transparent), inset 0 1px 0 var(--theme-263c066ac774, rgba(255,255,255,.25)); }
.button.primary:hover { background: linear-gradient(135deg, color-mix(in srgb, var(--role-accent) 88%, var(--theme-e08de713877c, #fff)), color-mix(in srgb, var(--role-accent) 72%, var(--theme-93c576ce71d2, #3f303a))); }
.button.secondary { background: var(--theme-04683885c29c, rgba(255,255,255,.58)); border-color: var(--theme-b88da2f52bbf, rgba(110,78,98,.14)); box-shadow: inset 0 1px 0 var(--theme-5d1cc971f5cf, rgba(255,255,255,.82)); }
.button.dark { background: var(--theme-5311a19fa848, #4b3745); }
.segmented-control, .client-tabs, .inventory-tabs { background: var(--theme-5490d77c8506, rgba(103,75,94,.08)); }
.segmented-control button.is-active, .client-tabs button.is-active, .inventory-tabs button.is-active { background: var(--theme-5d1cc971f5cf, rgba(255,255,255,.82)); }

.access-lens { position: relative; display: grid; grid-template-columns: 48px minmax(240px,1fr) auto auto; align-items: center; gap: 16px; margin-bottom: 18px; padding: 15px 17px; overflow: hidden; background: linear-gradient(110deg, var(--theme-bfe36491dcf5, rgba(255,255,255,.8)), var(--role-soft)); border: 1px solid var(--theme-8f48d9ac577c, rgba(255,255,255,.9)); border-radius: 22px; box-shadow: 0 14px 34px var(--theme-ee0c143371ef, rgba(82,51,72,.08)), inset 0 1px 0 var(--theme-e08de713877c, #fff); backdrop-filter: blur(24px); }
.access-lens::after { content: ""; position: absolute; width: 140px; height: 140px; right: -45px; top: -70px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--theme-bf4d2367b169, rgba(255,255,255,.86)), var(--role-soft) 48%, transparent 69%); pointer-events: none; }
.access-lens-orb { width: 48px; height: 48px; display: grid; place-items: center; color: var(--theme-e08de713877c, #fff); background: linear-gradient(145deg, color-mix(in srgb, var(--role-accent) 74%, var(--theme-e08de713877c, #fff)), var(--role-accent)); border: 1px solid var(--theme-88389890058c, rgba(255,255,255,.72)); border-radius: 50% 50% 50% 16px; box-shadow: inset 0 1px 1px var(--theme-04683885c29c, rgba(255,255,255,.58)), 0 10px 24px var(--role-soft); }
.access-lens-copy { display: flex; flex-direction: column; }
.access-lens-copy small { color: var(--role-accent); font-size: 0.7489rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.access-lens-copy strong { margin-top: 3px; font-size: 0.8594rem; }
.access-lens-copy p { margin: 3px 0 0; color: var(--muted); font-size: 0.764rem; }
.access-lens-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.access-lens-chips span { padding: 6px 9px; color: var(--ink-soft); background: var(--theme-e0888e602199, rgba(255,255,255,.55)); border: 1px solid var(--theme-bfe36491dcf5, rgba(255,255,255,.8)); border-radius: 999px; font-size: 0.7388rem; font-weight: 650; white-space: nowrap; }
.access-lens-lock, .scope-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--role-accent); font-size: 0.7489rem; font-weight: 700; white-space: nowrap; }
.access-lens-lock { position: relative; z-index: 1; padding: 8px 10px; background: var(--theme-8e2d6ca7b073, rgba(255,255,255,.45)); border-radius: 12px; }
.access-lens-lock svg, .scope-badge svg { width: 14px; }
.scope-badge { min-height: 42px; padding: 0 13px; background: var(--role-soft); border: 1px solid var(--theme-54e001f5fead, rgba(255,255,255,.78)); border-radius: 13px; }

.role-workstream { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1.2fr; align-items: center; gap: 10px; margin: -2px 0 18px; padding: 12px 16px; color: var(--ink-soft); background: var(--theme-5791f6bd14d8, rgba(255,255,255,.38)); border: 1px solid var(--theme-73ebe876e03e, rgba(255,255,255,.62)); border-radius: 18px; }
.role-workstream > span { display: flex; flex-direction: column; }
.role-workstream small { color: var(--muted); font-size: 0.7288rem; }
.role-workstream strong { margin-top: 3px; font-size: 0.784rem; }
.role-workstream > i { position: relative; height: 1px; background: linear-gradient(90deg, var(--role-soft), var(--role-accent)); opacity: .7; }
.role-workstream > i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--role-accent); }
.operator-stream { background: linear-gradient(105deg, var(--theme-04683885c29c, rgba(255,255,255,.58)), var(--theme-eba585084c63, rgba(185,211,198,.28))); }

.today-pulse { background: var(--theme-5791f6bd14d8, rgba(255,255,255,.38)); }
.today-pulse article { background: var(--theme-510a943662d2, rgba(255,255,255,.34)); }
.today-pulse article > div strong { font-size: 1.72rem; }
.pulse-icon { border: 1px solid var(--theme-3abf49ec81cd, rgba(255,255,255,.7)); box-shadow: inset 0 1px 0 var(--theme-54e001f5fead, rgba(255,255,255,.78)); }
.rhythm-track, .calendar-lane { background-color: var(--theme-5596a8e94c0b, rgba(255,255,255,.42)); }
.resource-strip { background: var(--theme-e80f1a9fb336, rgba(255,255,255,.33)); }
.resource-chip, .shift-roster-title, .shift-person, .calendar-column-head { background: var(--theme-954eda273527, rgba(255,255,255,.48)); }
.client-row.is-active { background: linear-gradient(90deg, var(--role-soft), var(--theme-fcd0a2584e89, rgba(255,255,255,.46))); }
.cabin-card, .measure-grid > div { background: var(--theme-5596a8e94c0b, rgba(255,255,255,.42)); border-color: var(--theme-3abf49ec81cd, rgba(255,255,255,.7)); }
.cabin-number { background: linear-gradient(145deg, var(--role-accent), var(--theme-5aff0dc22842, #584050)); }
.modal, .command-palette { background: var(--theme-9602030bb99a, rgba(255,252,254,.9)); border: 1px solid var(--theme-bf4d2367b169, rgba(255,255,255,.86)); backdrop-filter: blur(30px); }
.modal-backdrop, .command-backdrop { background: var(--theme-74cc11932273, rgba(67,45,59,.34)); backdrop-filter: blur(15px); }
.toast { background: var(--theme-f0d3beca4375, rgba(61,43,55,.92)); border: 1px solid var(--theme-fd3259d37c88, rgba(255,255,255,.15)); backdrop-filter: blur(20px); }

body.role-operator .agenda-legend > span:not([data-current-operator]),
body.role-operator .rhythm-row:not([data-current-operator]),
body.role-operator .calendar-filters > :not([data-current-operator]),
body.role-operator .shift-person:not([data-current-operator]),
body.role-operator .calendar-column-head:not([data-current-operator]),
body.role-operator .calendar-lane:not([data-current-operator]) { display: none; }
body.role-operator .calendar-shell { grid-template-columns: 85px minmax(0, 1fr); min-width: 0; }
body.role-operator .shift-roster { grid-template-columns: minmax(210px, 1fr) minmax(150px, .5fr); }
body.role-operator .agenda-legend { justify-content: space-between; }
body.role-operator .agenda-legend .text-button { margin-left: 0; }
body.role-operator .opportunity-grid { grid-template-columns: 1fr; }
body.role-operator [data-book-treatment] { display: none; }
body.role-receptionist .clinical-note { display: none; }

/* Role visibility */
body.role-receptionist [data-permission="health"], body.role-receptionist [data-permission="admin"], body.role-operator [data-permission="finance"], body.role-operator [data-permission="admin"] { display: none !important; }
body.role-receptionist [data-role-placeholder="health"], body.role-operator [data-role-placeholder="finance"] { display: flex; }
body.role-operator .permission-placeholder[data-role-placeholder="finance"] { display: inline; }

/* Responsive */
@media (max-width: 1220px) {
    .topbar { padding: 0 20px; }.search-trigger { min-width: 0; width: 38px; padding: 9px; }.search-trigger span, .search-trigger kbd { display: none; }.role-caption { display: none; }.user-menu > span:nth-child(2), .user-menu > svg { display: none; }
    .dashboard-grid { grid-template-columns: 1fr; }.next-panel { display: grid; grid-template-columns: 1fr 1fr; }.next-panel > .panel-header { grid-column: 1 / -1; }.next-client-card { border-right: 1px solid var(--line); border-bottom: 0; }
    .opportunity-hero { grid-template-columns: 90px 1fr; }.opportunity-hero .button { grid-column: 2; justify-self: start; }
    .messages-shell { grid-template-columns: 270px 1fr; }.conversation-side { display: none; }
    .client-layout { grid-template-columns: 330px 1fr; }.client-summary-grid { grid-template-columns: 1fr 1fr; }
    .team-grid, .integration-grid { grid-template-columns: 1fr; }.shift-roster { grid-template-columns: repeat(3, 1fr); }.shift-roster-title { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
    :root { --sidebar: 230px; }
    .sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: 20px 0 50px var(--theme-51112248272b, rgba(0,0,0,.22)); }.sidebar.is-open { transform: translateX(0); }.workspace { margin-left: 0; }.mobile-menu { display: grid; }
    .today-pulse { grid-template-columns: 1fr 1fr; }.today-pulse article:nth-child(2) { border-right: 0; }.today-pulse article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .opportunity-grid, .package-grid, .reactivation-layout { grid-template-columns: 1fr; }
    .client-layout { grid-template-columns: 1fr; }.client-index { min-height: auto; }.client-list { max-height: 310px; overflow-y: auto; }.client-detail { min-height: 620px; }
    .calendar-shell { min-width: 820px; }.view#view-calendar { overflow-x: auto; }
    .messages-shell { grid-template-columns: 230px minmax(420px, 1fr); overflow-x: auto; }
    .integration-status { grid-template-columns: 64px 1fr auto; }.integration-status dl { grid-column: 2 / -1; }.integration-status > button { grid-column: 3; grid-row: 1; }
    .tablet-grid { grid-template-columns: 1fr; }.cabin-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .topbar { height: 66px; padding: 0 12px; }.location-copy small { display: none; }.location-copy button { max-width: 145px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.role-switcher { display: none; }.notification-button { display: none; }
    main { padding: 24px 14px 60px; }.heading-with-actions { align-items: flex-start; flex-direction: column; }.page-actions { width: 100%; }.page-actions .button { flex: 1; }.today-pulse { grid-template-columns: 1fr; }.today-pulse article { border-right: 0; border-bottom: 1px solid var(--line); }.today-pulse article:nth-child(3) { border-bottom: 1px solid var(--line); }
    .agenda-panel { padding: 16px; }.day-ruler { margin-left: 0; }.rhythm-row { grid-template-columns: 1fr; }.rhythm-name { display: none; }.rhythm-track { height: 56px; }.resource-strip { margin: 18px -16px -16px; padding: 11px 16px; }
    .next-panel { display: block; }.next-client-card { border-right: 0; border-bottom: 1px solid var(--line); }
    .opportunity-hero { grid-template-columns: 1fr; }.opportunity-visual { height: 80px; width: 100%; flex-direction: row; }.opportunity-visual::before { inset: 50% 50px auto; border-left: 0; border-top: 1px dashed var(--theme-038fef4ceea5, #789c8c); }.opportunity-hero .button { grid-column: 1; }.opportunity-hero h2 { font-size: 1.65rem; }
    .client-detail { padding: 16px; }.client-profile-head { align-items: flex-start; }.client-profile-head .profile-actions .button { display: none; }.client-summary-grid { grid-template-columns: 1fr 1fr; }.detail-tabs { margin: 20px -16px 0; padding: 0 16px; }.detail-columns { grid-template-columns: 1fr; }.measure-grid { grid-template-columns: 1fr 1fr; }
    .metric-strip, .inventory-summary, .integration-notes, .catalog-summary { grid-template-columns: 1fr 1fr; }.metric-strip article:last-child, .inventory-summary article:last-child, .integration-notes > div:last-child, .catalog-summary article:last-child { grid-column: 1 / -1; }
    .match-card { grid-template-columns: 25px 40px 1fr; }.match-reasons { display: none; }.match-card .invite-button { grid-column: 3; justify-self: start; }
    .inventory-panel { padding: 15px; }.panel-header { flex-direction: column; }.panel-tools { width: 100%; }.panel-tools .input-with-icon { flex: 1; }.inventory-tabs { margin: 12px -15px 0; padding: 0 15px; }
    .team-members, .permission-matrix, .weekly-shifts { padding: 15px; }.team-members article { grid-template-columns: 40px 1fr auto; }.team-members article .icon-button { display: none; }.permission-matrix, .weekly-shifts { overflow-x: auto; }.weekly-shifts table { min-width: 650px; }.shift-roster { grid-template-columns: 1fr 1fr; }.shift-roster-title { grid-column: 1 / -1; }.calendar-filters { max-width: none; }.cabin-panel, .treatment-panel { padding: 15px; }.cabin-grid { grid-template-columns: 1fr; }.treatment-table { min-width: 720px; }
    .integration-status { grid-template-columns: 55px 1fr; }.integration-status dl, .integration-status > button { grid-column: 1 / -1; }.integration-status dl { justify-content: space-between; gap: 10px; }.integration-grid { min-width: 0; }.sync-map { overflow-x: auto; }.sync-map-row { min-width: 620px; }.api-config form { grid-template-columns: 1fr; }.api-config .full-field { grid-column: 1; }
    .tablet-header { height: 68px; padding: 0 14px; }.sync-live, .tablet-user > span:not(.avatar):not(.sync-live) { display: none; }.tablet-content { padding: 22px 14px; }.tablet-intro { align-items: stretch; flex-direction: column; }.tablet-scan { min-width: 0; }.tablet-toolbar { align-items: stretch; flex-direction: column; }.tablet-search { min-width: 0; }.tablet-filter { overflow-x: auto; }.tablet-product { grid-template-columns: 50px 1fr auto; padding: 14px; }.tablet-product-icon { width: 50px; height: 50px; }.tablet-feed { align-items: stretch; flex-direction: column; }
    .modal-form { grid-template-columns: 1fr; }.modal-form .full { grid-column: 1; }.toast-region { left: 12px; right: 12px; bottom: 12px; }.toast { min-width: 0; }
}

@media (max-width: 1220px) {
    .access-lens { grid-template-columns: 48px 1fr auto; }
    .access-lens-chips { grid-column: 2 / -1; justify-content: flex-start; }
}

@media (max-width: 920px) {
    .sidebar { transform: translateX(calc(-100% - 28px)); }
    .sidebar.is-open { transform: translateX(0); }
    .topbar { margin: 12px 12px 0; top: 12px; }
    main { padding-top: 42px; }
    .role-workstream { grid-template-columns: 1fr 26px 1fr 26px 1.15fr; }
    body.role-operator .calendar-shell { min-width: 620px; }
}

@media (max-width: 680px) {
    .topbar { margin: 9px 9px 0; top: 9px; border-radius: 18px; }
    main { padding-top: 30px; }
    h1 { font-size: clamp(2.15rem, 12vw, 3rem); }
    .access-lens { grid-template-columns: 42px 1fr; gap: 12px; padding: 14px; }
    .access-lens-orb { width: 42px; height: 42px; }
    .access-lens-chips, .access-lens-lock { grid-column: 1 / -1; justify-content: flex-start; }
    .access-lens-lock { justify-self: start; }
    .today-pulse { grid-template-columns: 1fr 1fr; }
    .today-pulse article { padding: 15px; border-right: 1px solid var(--line); }
    .today-pulse article:nth-child(2n) { border-right: 0; }
    .today-pulse article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .today-pulse article:nth-child(n+3) { border-bottom: 0; }
    .today-pulse article { grid-template-columns: 34px 1fr; column-gap: 9px; }
    .pulse-icon { width: 34px; height: 34px; }
    .today-pulse article > div { align-items: flex-start; flex-direction: column; gap: 0; }
    .today-pulse article > div strong { font-size: 1.35rem; }
    .today-pulse article > div span { font-size: 0.769rem; white-space: normal; }
    .role-workstream { grid-template-columns: 1fr; gap: 8px; }
    .role-workstream > i { width: 1px; height: 14px; margin-left: 4px; background: linear-gradient(var(--role-soft), var(--role-accent)); }
    .role-workstream > i::after { right: -3px; top: auto; bottom: 0; }
    .scope-badge { min-height: 38px; }
    body.role-operator .shift-roster { grid-template-columns: 1fr; }
    body.role-operator .shift-roster-title { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
    .sidebar, .topbar, .page-actions, .tablet-mode { display: none !important; }.workspace { margin: 0; }main { padding: 0; }.view { display: block !important; break-after: page; }.panel { box-shadow: none; }
}
