:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#1b2a28;--ink-soft:#33433f;--muted:#6a7775;--line:#e2e7e3;--line-soft:#eef1ee;--paper:#f5f7f3;--surface:#fff;--surface-2:#fbfcfa;--brand:#1763b8;--brand-strong:#11498a;--brand-dark:#0e3a6e;--brand-tint:#e6f0fb;--accent:#27c9b3;--teal:var(--brand);--teal-strong:var(--brand-strong);--teal-dark:var(--brand-dark);--teal-tint:var(--brand-tint);--teal-soft:var(--brand-tint);--coral:var(--accent);--gold:#b08524;--blue:#3f6985;--mint:#e7f3ee;--rose:#f9e7e1;--amber:#f7eecd;--sky:#e8f0f6;--r-sm:0px;--r-md:0px;--r-lg:0px;--r-pill:0px;--shadow-pop:0 8px 24px #11201e14;--shadow-lg:0 16px 40px #11201e1f;--ring:0 0 0 3px #1763b838;--ease:.16s cubic-bezier(.4, 0, .2, 1);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--paper);min-width:320px;min-height:100dvh;color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;font-size:15px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}:where(button,input,a,[tabindex]):focus-visible{box-shadow:var(--ring);border-radius:var(--r-sm);outline:none}.app-shell{flex-direction:column;min-height:100dvh;display:flex}.medi-topbar{z-index:35;background:var(--brand);color:#fff;grid-template-columns:auto minmax(0,1fr) auto;align-items:stretch;min-height:44px;display:grid;position:sticky;top:0;box-shadow:0 1px #0e3a6e59}.topbar-brand{background:var(--brand-strong);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-width:132px;padding:0 10px;display:grid}.brand-home-button{min-width:0;min-height:44px;color:inherit;text-align:left;background:0 0;border:0;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;padding:0;text-decoration:none;display:grid}.brand-home-button:hover{color:#fff}.topbar-brand .brand-mark{background:0 0;width:32px;height:32px}.topbar-brand .brand-mark svg{width:32px;height:32px}.topbar-brand .brand-code,.topbar-brand .brand-sub{color:#ffffffb8}.topbar-brand .brand-code{letter-spacing:.08em;font-size:.64rem;font-weight:700;display:block}.topbar-brand .brand-copy{min-width:0}.topbar-brand strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:1.05rem;line-height:1;display:block;overflow:hidden}.topbar-brand .brand-sub{display:none}.top-module-nav{scrollbar-width:thin;flex-direction:row;gap:0;min-width:0;display:flex;overflow-x:auto}.top-module-nav button{color:#ffffffe6;white-space:nowrap;background:0 0;border:0;border-right:1px solid #ffffff1f;grid-template-columns:none;align-items:center;gap:7px;min-height:44px;padding:0 12px;font-size:.9rem;font-weight:650;display:inline-flex;position:relative}.top-module-nav button svg{color:currentColor;opacity:.82;width:16px;height:16px}.top-module-nav button:hover,.top-module-nav button.active{color:var(--brand-dark);background:#dce9ff}.top-module-nav button.active:before{display:none}.topbar-actions{background:var(--brand);align-items:center;gap:8px;padding:0 10px;display:flex}.topbar-actions .tenant-pill{color:#fff;background:#ffffff1a;border-color:#ffffff47;min-height:32px}.topbar-actions .icon-button{color:#fff;background:#ffffff14;border-color:#ffffff38;width:36px;height:36px}.topbar-user{background:0 0;border:0;grid-template-columns:30px minmax(110px,1fr);gap:8px;min-width:170px;padding:0}.topbar-user .user-avatar{background:#fff3;width:30px;height:30px;font-size:.76rem}.topbar-user strong,.topbar-user span{color:#fff}.topbar-user span{opacity:.72}.medi-topbar .logout-button{color:#fff;background:#ffffff14;border-color:#ffffff38;width:auto;min-height:36px;margin-top:0;padding:0 10px}.medi-topbar .logout-button:hover{color:#fff;background:#ffffff29;border-color:#ffffff57}.sidebar{border-right:1px solid var(--line);background:var(--surface);z-index:30;flex-direction:column;gap:18px;height:100dvh;padding:18px 16px;display:flex;position:sticky;top:0;overflow-y:auto}.brand-block{border-bottom:1px solid var(--line-soft);grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:4px 6px 16px;display:grid}.brand-mark{border-radius:var(--r-md);background:var(--brand);place-items:center;width:42px;height:42px;display:grid;overflow:hidden}.brand-mark svg{width:100%;height:100%;display:block}.brand-block>div{min-width:0}.brand-block .brand-code{color:var(--muted);letter-spacing:.04em;font-size:.72rem;font-weight:600}.brand-block strong{font-size:1.08rem;line-height:1.2;display:block}.brand-block .brand-sub{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:1px;font-size:.74rem;display:block;overflow:hidden}.module-nav{flex-direction:column;flex:auto;gap:8px;display:flex}.module-nav>div{flex-direction:column;gap:3px;display:flex}.nav-group-label{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:8px 8px 4px;font-size:.68rem;font-weight:700}.module-nav>div:first-child .nav-group-label{margin-top:0}.module-nav button{border-radius:var(--r-sm);min-height:44px;color:var(--ink-soft);text-align:left;transition:background var(--ease), color var(--ease);background:0 0;border:1px solid #0000;grid-template-columns:22px 1fr;align-items:center;gap:12px;padding:9px 12px;font-size:.92rem;font-weight:550;display:grid;position:relative}.module-nav button svg{width:19px;height:19px;color:var(--muted);transition:color var(--ease)}.module-nav button:hover{background:var(--surface-2);color:var(--ink)}.module-nav button:hover svg{color:var(--teal)}.module-nav button.active{background:var(--teal-tint);color:var(--teal-dark);font-weight:650}.module-nav button.active svg{color:var(--teal)}.module-nav button.active:before{content:"";background:var(--teal);border-radius:0;width:4px;height:22px;position:absolute;top:50%;left:-16px;transform:translateY(-50%)}.medi-topbar .top-module-nav{scrollbar-width:thin;flex-direction:row;gap:0;min-width:0;display:flex;overflow-x:auto}.medi-topbar .top-module-nav button{color:#ffffffe6;white-space:nowrap;background:0 0;border:0;border-right:1px solid #ffffff1f;border-radius:0;grid-template-columns:none;align-items:center;gap:0;min-height:44px;padding:0 8px;font-size:.82rem;font-weight:650;display:inline-flex}.medi-topbar .top-module-nav button svg{display:none}.medi-topbar .top-module-nav button:hover,.medi-topbar .top-module-nav button.active{color:var(--brand-dark);background:#dce9ff}.medi-topbar .top-module-nav button.active:before,.medi-topbar .topbar-actions .tenant-pill{display:none}.medi-topbar .topbar-user{background:0 0;border:0;grid-template-columns:30px;min-width:30px;padding:0}.medi-topbar .topbar-user .user-meta span,.medi-topbar .topbar-user .user-meta{display:none}.medi-topbar .logout-button{width:36px;padding:0;font-size:0}.medi-topbar .logout-button svg{width:18px;height:18px}.user-card{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-2);grid-template-columns:38px 1fr;align-items:center;gap:10px;padding:10px;display:grid}.user-avatar{border-radius:var(--r-pill);background:var(--teal-dark);color:#fff;place-items:center;width:38px;height:38px;font-size:.86rem;font-weight:700;display:grid}.user-card .user-meta{min-width:0}.user-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;display:block;overflow:hidden}.user-card span{color:var(--muted);font-size:.74rem;display:block}.logout-button{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);width:100%;min-height:42px;color:var(--ink-soft);transition:background var(--ease), border-color var(--ease), color var(--ease);justify-content:center;align-items:center;gap:8px;margin-top:8px;padding:0 14px;font-weight:600;display:flex}.logout-button svg{width:18px;height:18px}.logout-button:hover{border-color:var(--coral);background:var(--rose);color:#8f3829}.workspace{flex-direction:column;gap:14px;min-width:0;padding:16px 16px 36px;display:flex}.workspace-header{z-index:15;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);background:#f5f7f3d9;align-items:center;gap:14px;min-height:60px;margin:-22px -26px 0;padding:12px 26px;display:flex;position:sticky;top:0}.workspace-header .header-title{min-width:0}.workspace-header .header-title p{color:var(--muted);letter-spacing:.02em;margin:0;font-size:.74rem;font-weight:600}.workspace-header .header-title h1{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:clamp(1.05rem,2vw,1.3rem);font-weight:700;line-height:1.2;overflow:hidden}.header-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.tenant-pill{border:1px solid var(--line);border-radius:var(--r-pill);background:var(--surface);letter-spacing:.02em;align-items:center;min-height:36px;padding:0 14px;font-size:.82rem;font-weight:700;display:inline-flex}.icon-button{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);width:40px;height:40px;color:var(--ink-soft);transition:background var(--ease), border-color var(--ease), color var(--ease);place-items:center;display:inline-grid;position:relative}.icon-button svg{width:20px;height:20px}.icon-button:hover{background:var(--surface-2);border-color:var(--teal);color:var(--teal-dark)}.icon-button.has-dot:after{content:"";border-radius:var(--r-pill);background:var(--coral);width:7px;height:7px;box-shadow:0 0 0 2px var(--surface);position:absolute;top:8px;right:9px}.primary-button,.ghost-button{border-radius:var(--r-sm);transition:background var(--ease), border-color var(--ease), color var(--ease);justify-content:center;align-items:center;gap:8px;font-weight:650;display:inline-flex}.primary-button{border:1px solid var(--teal);background:var(--teal);color:#fff;min-height:44px;padding:0 20px}.primary-button:hover{border-color:var(--teal-strong);background:var(--teal-strong)}.primary-button:active{transform:translateY(1px)}.ghost-button{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--ink-soft);padding:0 14px;font-size:.86rem}.ghost-button:hover{border-color:var(--teal);color:var(--teal-dark);background:var(--surface-2)}.text-link{color:var(--teal-dark);white-space:nowrap;font-size:.84rem;font-weight:700;text-decoration:none}.text-link:hover{text-decoration:underline}.inline-actions,.meta-grid,.tabs{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.meta-grid span,.tabs .ghost-button{border:1px solid var(--line);border-radius:var(--r-sm);color:var(--muted);padding:8px 10px;font-size:.84rem}.tabs .ghost-button[aria-selected=true]{border-color:var(--teal);color:var(--teal-dark);background:var(--teal-soft)}.ghost-button:disabled{cursor:not-allowed;opacity:.55}.empty-state{border:1px dashed var(--line);border-radius:var(--r-sm);color:var(--muted);background:var(--surface-2);margin:0;padding:14px}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.module-hero{border:0;border-bottom:1px solid var(--line);background:var(--surface);border-radius:0;justify-content:space-between;align-items:center;gap:16px;padding:10px 0 14px;display:flex}.module-title{align-items:center;gap:16px;min-width:0;display:flex}.module-title>span{border-radius:var(--r-md);background:var(--teal);color:#fff;flex:none;place-items:center;width:42px;height:42px;display:grid}.module-title>span svg{width:24px;height:24px}.module-title p{color:var(--teal-strong);letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:.74rem;font-weight:700}.module-title h2{margin:2px 0 0;font-size:1.3rem;font-weight:700;line-height:1.2}.page-grid{gap:18px;display:grid}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;display:grid}.split-grid,.patient-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.stat-card{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);gap:6px;padding:18px;display:grid;position:relative;overflow:hidden}.stat-card .stat-label{color:var(--muted);align-items:center;gap:8px;font-size:.82rem;font-weight:600;display:flex}.stat-card .stat-icon{border-radius:var(--r-sm);background:var(--teal-tint);width:28px;height:28px;color:var(--teal-strong);place-items:center;display:grid}.stat-card .stat-icon svg{width:16px;height:16px}.stat-card strong{letter-spacing:-.01em;font-size:1.7rem;font-weight:750;line-height:1.05}.stat-card small{color:var(--muted);font-size:.78rem}.stat-card:before{content:"";background:var(--teal);width:4px;position:absolute;inset:0 auto 0 0}.stat-coral:before{background:var(--coral)}.stat-gold:before{background:var(--gold)}.stat-blue:before{background:var(--blue)}.stat-coral .stat-icon{background:var(--rose);color:#8f3829}.stat-gold .stat-icon{background:var(--amber);color:#6f4d00}.stat-blue .stat-icon{background:var(--sky);color:var(--blue)}.panel{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);min-width:0;padding:18px}.panel-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.panel h2{margin:0;font-size:1.02rem;font-weight:700}.patients-toolbar{grid-template-columns:minmax(280px,1fr) auto;align-items:center;gap:14px;margin-bottom:12px;display:grid}.patient-helper-row{gap:10px;margin-bottom:14px;display:grid}.patient-helper-row .empty-note{margin-top:0}.patients-table{min-width:1060px}.appointment-page{gap:0}.appointment-board{border:1px solid var(--line);background:var(--surface);min-width:0}.appointment-actions{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.appointment-actions h2{margin:0;font-size:1.16rem}.appointment-actions>div{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.appointment-actions svg,.calendar-toolbar svg{width:17px;height:17px}.appointment-tabs{border-bottom:1px solid var(--line);margin:0;padding:18px 16px 0}.appointment-tabs .ghost-button{background:0 0;border-color:#0000;border-bottom-style:solid;border-bottom-width:2px;min-height:42px;margin-bottom:-1px}.appointment-tabs .ghost-button[aria-selected=true]{border-color:#0000;border-bottom-color:var(--brand);color:var(--brand);background:0 0}.appointment-filters{background:var(--surface);grid-template-columns:minmax(170px,220px) minmax(190px,220px) minmax(240px,320px) auto auto;align-items:end;gap:12px;padding:16px;display:grid}.appointment-filters label{color:var(--muted);gap:6px;font-size:.82rem;font-weight:650;display:grid}.appointment-filters label>span[aria-hidden=true]{color:#b42318;display:inline}.appointment-filters input,.appointment-filters select{border:1px solid var(--line);background:var(--surface);width:100%;min-height:36px;color:var(--ink);padding:0 10px}.phone-filter>span{border:1px solid var(--line);background:var(--surface);grid-template-columns:18px 1fr;align-items:center;gap:8px;min-height:36px;padding:0 10px;display:grid}.phone-filter svg{width:17px;height:17px;color:var(--muted)}.phone-filter input{border:0;min-height:0;padding:0}.calendar-toolbar{background:#eef4ff;grid-template-columns:auto 48px 48px minmax(160px,1fr) auto;align-items:center;gap:10px;padding:10px 16px;display:grid}.calendar-toolbar>strong{color:var(--ink);justify-self:center;font-size:1.35rem;font-weight:500}.icon-only{width:48px;padding:0}.calendar-legend{color:var(--ink-soft);flex-wrap:wrap;justify-content:flex-end;gap:14px;font-size:.88rem;display:flex}.calendar-legend span{align-items:center;gap:7px;display:inline-flex}.legend-dot{border-radius:var(--r-pill);background:var(--brand);width:10px;height:10px;display:inline-block}.legend-dot.therapy{background:#f59f00}.legend-dot.single{background:#5b8def}.legend-dot.group{background:#67b76a}.calendar-table-wrap{border-top:1px solid var(--line);max-height:760px;overflow:auto}.appointment-calendar{table-layout:fixed;min-width:1180px}.appointment-calendar thead th{color:#22406a;text-align:center;background:#f3f7ff;top:0}.appointment-calendar th,.appointment-calendar td{border-right:1px solid var(--line)}.appointment-calendar th:last-child,.appointment-calendar td:last-child{border-right:0}.appointment-calendar tbody th{border-bottom:1px solid var(--line-soft);width:76px;color:var(--ink-soft);text-align:right;white-space:nowrap;padding:10px 12px;font-weight:600}.appointment-calendar tbody td{vertical-align:top;background:#fff;height:48px;padding:6px 8px}.appointment-calendar tbody tr:nth-child(2n) td,.appointment-calendar tbody tr:nth-child(2n) th{background:#fbfdff}.calendar-count{color:#3276d6;text-align:center;font-weight:700}.calendar-chip{border-left:3px solid var(--brand);background:var(--brand-tint);gap:2px;padding:6px 8px;font-size:.78rem;display:grid}.calendar-chip strong,.calendar-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.calendar-chip span{color:var(--muted)}.request-list{gap:0;padding:0 16px 16px;display:grid}.table-wrap{border:1px solid var(--line-soft);border-radius:var(--r-md);width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:720px}thead th{color:var(--brand);letter-spacing:.02em;text-transform:uppercase;text-align:left;background:#f4f8ff;border-bottom:1px solid #e7eef9;padding:10px 12px;font-size:.75rem;font-weight:600;position:sticky;top:0}tbody td{border-bottom:1px solid var(--line-soft);color:#31413f;text-align:left;vertical-align:middle;padding:12px;font-size:.9rem;font-weight:400}tbody tr:last-child td{border-bottom:0}tbody tr{transition:background var(--ease), box-shadow var(--ease)}tbody tr:hover{background:var(--surface-2)}.interactive-row{cursor:pointer}.interactive-row:hover,.interactive-row:focus-visible{background:#f7fbff}.interactive-row:focus-visible{outline:2px solid var(--brand);outline-offset:-2px;box-shadow:inset 3px 0 0 var(--brand)}.interactive-row.is-selected{background:var(--brand-tint);box-shadow:inset 3px 0 0 var(--brand)}.interactive-row.is-selected .cell-stack strong{color:var(--brand-dark)}.table-row-action{white-space:nowrap;width:1%}.row-open-button{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);min-height:36px;color:var(--brand-dark);transition:background var(--ease), border-color var(--ease), color var(--ease);justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:.84rem;font-weight:500;display:inline-flex}.row-open-button:hover,.interactive-row:hover .row-open-button,.interactive-row:focus-visible .row-open-button{border-color:var(--brand);color:var(--brand-dark);background:#f8fbff}.row-open-button[aria-pressed=true]{background:var(--surface);color:var(--brand-dark);border-color:#1763b847}.row-open-button svg{flex:none;width:15px;height:15px}.cell-code{font-variant-numeric:tabular-nums;color:var(--muted);font-size:.84rem}.cell-stack strong{font-weight:500;display:block}.cell-stack span,td .cell-muted{color:var(--muted);margin-top:2px;font-size:.78rem;display:block}.business-report-tabs{border-bottom:1px solid #dbe7f6;flex-wrap:wrap;gap:0;margin:-2px -2px 18px;display:flex}.business-report-tabs button{border-radius:var(--r-sm) var(--r-sm) 0 0;min-height:42px;color:var(--muted);transition:background var(--ease), border-color var(--ease), color var(--ease);background:0 0;border:1px solid #0000;border-bottom:0;padding:0 18px;font-size:.88rem;font-weight:700}.business-report-tabs button:hover{color:var(--brand-dark);background:#f5f9ff}.business-report-tabs button.active,.business-report-tabs button[aria-selected=true]{background:var(--surface);color:var(--brand);border-color:#dbe7f6;margin-bottom:-1px}.business-report-stack{gap:28px;display:grid}.business-report-section{border-top:1px solid var(--line-soft);min-width:0;padding-top:18px}.business-print-target{position:relative}.business-report-section:first-child{border-top:0;padding-top:0}.report-section-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.report-section-header h3{color:var(--ink-soft);margin:0;font-size:1.12rem;font-weight:650}.report-summary-pill{background:var(--brand-tint);min-height:32px;color:var(--brand-dark);white-space:nowrap;border:1px solid #d6e5fa;align-items:center;padding:0 11px;font-size:.82rem;font-weight:700;display:inline-flex}.report-summary-bars{gap:12px;padding:8px 0;display:grid}.summary-bar{gap:7px;display:grid}.summary-bar>div{color:var(--ink-soft);justify-content:space-between;align-items:center;gap:12px;font-size:.88rem;display:flex}.summary-bar span{color:var(--muted);font-weight:700}.summary-bar strong{font-variant-numeric:tabular-nums}.summary-bar i{border-radius:var(--r-sm);background:var(--brand);height:12px;display:block}.summary-bar.income i{background:var(--brand)}.summary-bar.expense i,.summary-bar.debt i{background:#f05252}.summary-bar.balance i{background:var(--accent)}.report-filter-bar{flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:16px;display:flex}.report-filter-bar>label{min-width:138px;color:var(--muted);flex:0 160px;gap:5px;font-size:.78rem;font-weight:700;display:grid}.report-filter-bar>label span,.report-filter-bar legend{color:#6f879d}.report-filter-bar select,.report-filter-bar input[type=date]{border-radius:var(--r-sm);background:var(--surface);width:100%;min-width:0;min-height:36px;color:var(--ink);border:1px solid #d6dee9;padding:0 9px;font-size:.86rem}.report-filter-bar input[type=text],.report-filter-bar .report-date-wrap{width:100%}.report-filter-bar .report-date-wrap{align-items:center;gap:7px;display:inline-flex}.report-date-wrap input[type=text]{flex:auto}.report-date-wrap .report-date-button{width:32px;min-width:32px;height:32px;padding:0}.report-filter-bar select:focus,.report-filter-bar input[type=text]:focus,.report-filter-bar input[type=date]:focus{border-color:var(--brand);box-shadow:var(--ring);outline:0}.report-filter-bar fieldset{border:0;flex-wrap:wrap;flex:220px;align-items:center;gap:10px 14px;min-width:210px;margin:0;padding:0 0 2px;display:flex}.report-filter-bar legend{flex:0 0 100%;margin:0;padding:0;font-size:.78rem;font-weight:700}.report-filter-bar fieldset label{min-height:30px;color:var(--ink-soft);align-items:center;gap:6px;font-size:.86rem;font-weight:500;display:inline-flex}.report-filter-bar input[type=radio]{width:16px;height:16px;accent-color:var(--brand);margin:0}.business-report-printing .business-print-target{display:none}.business-report-printing .business-print-target.is-printing{display:block}@media print{body.business-report-printing *{visibility:hidden}body.business-report-printing .business-print-target.is-printing,body.business-report-printing .business-print-target.is-printing *{visibility:visible}body.business-report-printing .business-print-target.is-printing{background:#fff;margin:0;padding:0;position:absolute;inset:0}.report-filter-bar{display:none}}.report-refresh-button{width:36px;height:36px}.report-refresh-button svg,.report-print-button svg{width:17px;height:17px}.report-print-button{white-space:nowrap;min-height:36px;margin-left:auto;padding:0 14px}.report-view-toggle{border-radius:var(--r-sm);background:var(--surface);border:1px solid #cbdcf3;display:inline-flex;overflow:hidden}.report-view-toggle button{width:38px;height:34px;color:var(--brand);transition:background var(--ease), color var(--ease);background:0 0;border:0;border-left:1px solid #dbe7f6;place-items:center;display:inline-grid}.report-view-toggle button:first-child{border-left:0}.report-view-toggle button:hover{background:#edf5ff}.report-view-toggle button.active,.report-view-toggle button[aria-pressed=true]{background:var(--brand);color:#fff}.report-view-toggle svg{width:18px;height:18px}.report-combo-chart{grid-template-columns:76px minmax(680px,1fr);grid-template-areas:"scale bars"".legend";gap:8px 12px;min-width:0;padding:8px 0 0;display:grid;overflow-x:auto}.report-chart-scale{color:#6f879d;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;flex-direction:column;grid-area:scale;justify-content:space-between;height:230px;padding:0 0 38px;font-size:.76rem;display:flex}.report-chart-bars{background:linear-gradient(#e2e7e3cc 1px,#0000 1px) 0 8px/100% 57px repeat-y;border-bottom:1px solid #b8c1c8;grid-area:bars;grid-auto-columns:minmax(38px,1fr);grid-auto-flow:column;align-items:end;gap:8px;min-width:680px;min-height:268px;padding-top:8px;display:grid}.report-chart-column{grid-template-rows:220px 38px;place-items:end center;min-width:0;display:grid}.report-chart-stack{width:100%;height:220px;position:relative}.report-chart-stack b{border-radius:var(--r-sm) var(--r-sm) 0 0;background:var(--brand);min-height:0;position:absolute;bottom:0;left:18%;right:18%}.projected-marker{background:#5bb865;height:2px;position:absolute;left:4%;right:4%;transform:translateY(50%)}.projected-marker:after{content:"";background:#5bb865;border-radius:999px;width:7px;height:7px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.report-chart-column>span{max-width:62px;color:var(--muted);text-align:right;transform-origin:50% 0;white-space:nowrap;align-self:start;font-size:.7rem;line-height:1.1;transform:rotate(-45deg)}.report-chart-legend{color:var(--ink-soft);flex-wrap:wrap;grid-area:legend;justify-content:center;gap:14px;padding-top:6px;font-size:.78rem;display:flex}.report-chart-legend span,.customer-legend span{align-items:center;gap:6px;display:inline-flex}.report-chart-legend i,.customer-legend i{border-radius:999px;width:9px;height:9px;display:inline-block}.report-chart-legend .actual{background:var(--brand)}.report-chart-legend .projected{background:#5bb865}.customer-report-grid{grid-template-columns:minmax(360px,1.5fr) minmax(300px,.85fr);align-items:stretch;gap:12px;min-width:0;display:grid}.customer-group-chart{grid-template-columns:minmax(220px,1fr) minmax(180px,.75fr);align-items:center;gap:16px;min-width:0;padding:8px 0;display:grid}.customer-pie{aspect-ratio:1;border-radius:50%;justify-self:center;width:clamp(220px,28vw,340px);box-shadow:inset 0 0 0 1px #31413f14}.customer-legend{color:var(--ink-soft);align-content:center;gap:8px;font-size:.8rem;display:grid}.customer-revenue-table{border:1px solid #dbe7f6;min-width:0}.customer-revenue-table .table-wrap{border:0;border-radius:0}.customer-revenue-table table{min-width:430px}.table-title{background:var(--brand);color:#fff;align-items:center;min-height:36px;padding:0 14px;font-size:.82rem;font-weight:700;display:flex}.customer-revenue-table tbody tr:nth-child(odd){background:#f5f8fd}.customer-revenue-table tbody tr:hover{background:#edf5ff}.customer-revenue-table td:last-child,.customer-revenue-table th:last-child{text-align:right;font-variant-numeric:tabular-nums}.status{border-radius:var(--r-pill);white-space:nowrap;align-items:center;gap:6px;min-height:26px;padding:0 10px;font-size:.76rem;font-weight:600;display:inline-flex}.status:before{content:"";border-radius:var(--r-pill);opacity:.7;background:currentColor;width:6px;height:6px}.status-finished,.status-normal,.status-paid{background:var(--mint);color:var(--teal-dark)}.status-warning,.status-new,.status-booked{background:var(--amber);color:#6f4d00}.status-cancelled{background:var(--rose);color:#8f382b}.status-re-examination{background:var(--sky);color:var(--blue)}.status-unknown{background:var(--line-soft);color:#566361}.key-value-list{gap:2px;display:grid}.key-value-row,.metric-pair,.compact-row{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:14px;padding:12px 0;display:flex}.key-value-row:last-child,.compact-row:last-child{border-bottom:0}.metric-pair span,.key-value-row span,.compact-row span,.empty-note span{color:var(--muted)}.key-value-row strong{font-variant-numeric:tabular-nums}.metric-pair{align-items:baseline}.metric-pair strong{font-size:1.45rem;font-weight:750}.inventory-alerts{display:grid}.compact-row strong{margin-bottom:2px;display:block}.search-slab{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface-2);min-height:48px;transition:border-color var(--ease), box-shadow var(--ease);grid-template-columns:20px 1fr;align-items:center;gap:10px;padding:0 14px;display:grid}.search-slab:focus-within{border-color:var(--teal);box-shadow:var(--ring)}.search-slab svg{width:18px;height:18px;color:var(--muted)}.search-slab input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0}.empty-note{border-radius:var(--r-sm);background:var(--teal-tint);color:var(--ink-soft);align-items:flex-start;gap:10px;margin-top:14px;padding:14px;font-size:.88rem;display:flex}.empty-note svg{width:18px;height:18px;color:var(--teal-strong);flex:none;margin-top:1px}.therapy-list,.product-grid,.export-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;display:grid}.workflow-card{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);transition:border-color var(--ease), background var(--ease);gap:10px;padding:16px;display:grid}.workflow-card:hover{border-color:var(--teal);background:var(--surface-2)}.workflow-card>div span{color:var(--muted);font-size:.74rem;font-weight:600}.workflow-card strong{margin-top:2px;display:block}.workflow-card p{color:var(--ink-soft);margin:0;font-size:.9rem}.workflow-card footer{border-top:1px solid var(--line-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding-top:12px;display:flex}.workflow-card footer span{color:var(--muted);font-size:.82rem}.workflow-card footer strong{color:var(--teal-dark)}.product-row,.export-item{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);transition:border-color var(--ease), background var(--ease);gap:6px;padding:16px;display:grid}.product-row:hover,.export-item:hover{border-color:var(--teal);background:var(--surface-2)}.product-row span,.export-item span{color:var(--muted);font-size:.74rem;font-weight:600}.product-row em{color:var(--muted);font-size:.84rem;font-style:normal}.product-row b{color:var(--teal-dark);font-size:1.02rem}.revenue-bars{gap:14px;display:grid}.bar-row{grid-template-columns:96px 1fr minmax(120px,auto);align-items:center;gap:14px;display:grid}.bar-row>span{color:var(--muted);font-size:.84rem}.bar-row .bar-track{border-radius:var(--r-pill);background:var(--line-soft);height:10px;overflow:hidden}.bar-row .bar-track i{border-radius:inherit;background:var(--teal);height:100%;display:block}.bar-row strong{text-align:right;font-variant-numeric:tabular-nums}.status-banner{border-radius:var(--r-sm);align-items:center;gap:10px;padding:12px 16px;font-size:.9rem;display:flex}.status-banner svg{flex:none;width:18px;height:18px}.status-banner.is-error{background:var(--rose);color:#8f382b;border:1px solid #8f382b2e}.status-hint{color:var(--muted);margin:8px 0 0;font-size:.82rem}.auth-card p[role=alert],.dialog-panel p[role=alert],.workspace>p[role=alert]{border-radius:var(--r-sm);background:var(--rose);color:#8f382b;border:1px solid #8f382b2e;align-items:center;gap:8px;margin:0 0 16px;padding:12px 14px;font-size:.88rem;font-weight:500;display:flex}.workspace>p[role=alert]{margin:0}.dialog-backdrop{z-index:40;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f1a1885;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow-y:auto}.dialog-panel{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);width:min(94vw,720px);max-height:min(92dvh,760px);box-shadow:var(--shadow-lg);padding:22px;overflow-y:auto}.dialog-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.dialog-header p,.dialog-header h2{margin:0}.dialog-header p{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:700}.dialog-header h2{font-size:1.2rem}.medi-detail-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#080e128f}.medi-detail-dialog{border-color:#d7dee7;border-radius:4px;width:min(760px,100vw - 32px);max-height:min(88dvh,720px);padding:0;overflow:hidden}.medi-detail-header{border-bottom:1px solid var(--line-soft);background:#f7faff;justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:12px 16px;display:flex}.medi-detail-header h2{color:#1763b8;letter-spacing:0;margin:0;font-size:1.05rem;font-weight:600}.medi-detail-tabs{border-bottom:1px solid var(--line);background:var(--surface);gap:8px;padding:0 16px;display:flex}.medi-detail-tabs button{min-height:42px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:0;font-size:.82rem;font-weight:600;position:relative}.medi-detail-tabs button+button{margin-left:14px}.medi-detail-tabs button[aria-selected=true]{border-bottom-color:var(--brand);color:var(--brand)}.medi-detail-tab-panel{background:var(--surface);max-height:calc(min(88dvh,720px) - 98px);padding:14px 16px 18px;overflow-y:auto}.medi-detail-form{grid-template-columns:repeat(6,minmax(0,1fr));gap:11px 12px;display:grid}.medi-detail-field{color:#60716f;grid-column:span 2;gap:5px;min-width:0;font-size:.78rem;font-weight:600;display:grid}.medi-detail-field-wide{grid-column:span 4}.medi-detail-field em{color:#d04437;margin-left:3px;font-style:normal}.medi-detail-field input{background:var(--surface);color:#273331;border:1px solid #d9e0e7;border-radius:3px;width:100%;min-height:34px;padding:0 9px;font-size:.86rem;font-weight:400}.medi-detail-field input:focus{border-color:var(--brand);box-shadow:var(--ring);outline:none}.medi-detail-collapse{border-top:1px solid var(--line-soft);margin-top:12px}.medi-detail-collapse summary{color:#445452;cursor:pointer;justify-content:space-between;align-items:center;min-height:48px;font-size:1rem;font-weight:600;list-style:none;display:flex}.medi-detail-collapse summary::-webkit-details-marker{display:none}.medi-detail-collapse summary svg{width:18px;height:18px;color:var(--muted);transition:transform var(--ease);transform:rotate(90deg)}.medi-detail-collapse[open] summary svg{transform:rotate(-90deg)}.encounter-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.encounter-form label{color:var(--ink-soft);gap:6px;font-size:.88rem;font-weight:600;display:grid}.encounter-form input,.encounter-form select,.encounter-form textarea{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);width:100%;min-height:44px;color:var(--ink);transition:border-color var(--ease), box-shadow var(--ease);padding:0 12px}.encounter-form input:focus,.encounter-form select:focus,.encounter-form textarea:focus{border-color:var(--teal);box-shadow:var(--ring);outline:none}.encounter-form textarea{resize:vertical;min-height:88px;padding-top:10px}.form-wide{grid-column:1/-1}.dialog-actions{flex-wrap:wrap;grid-column:1/-1;justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.auth-shell{background:linear-gradient(135deg, #ffffffeb, #eff6f4eb), linear-gradient(90deg, #1763b812 0 1px, transparent 1px 100%), linear-gradient(0deg, #1763b80f 0 1px, transparent 1px 100%), var(--paper);background-size:auto,32px 32px,32px 32px,auto;place-items:center;min-height:100dvh;padding:32px;display:grid;position:relative}.auth-card{border:1px solid var(--line);background:var(--surface);grid-template-columns:minmax(360px,430px) minmax(0,1fr);width:min(100%,1040px);min-height:620px;display:grid;overflow:hidden;box-shadow:0 24px 70px #1b2a2824}.auth-panel{flex-direction:column;justify-content:center;min-width:0;padding:52px 48px;display:flex}.auth-brand{align-items:center;gap:12px;margin-bottom:28px;display:flex}.auth-brand .brand-mark{width:48px;height:48px;box-shadow:0 10px 22px #1763b838}.auth-kicker{color:var(--brand);text-transform:uppercase;margin:0 0 2px;font-size:.76rem;font-weight:750}.auth-card h1{color:#1d2927;margin:0;font-size:2rem;line-height:1.05}.auth-card .auth-intro{color:var(--muted);margin:0 0 30px;font-size:1rem;line-height:1.6}.auth-form{gap:16px;display:grid}.auth-form label{color:var(--ink-soft);gap:8px;font-size:.9rem;font-weight:700;display:grid}.auth-form input{border-radius:var(--r-sm);width:100%;min-height:50px;color:var(--ink);transition:background var(--ease), border-color var(--ease), box-shadow var(--ease);background:#fbfcfb;border:1px solid #d5dedb;padding:0 15px;font-size:1rem}.auth-form input:focus{border-color:var(--teal);background:var(--surface);box-shadow:var(--ring);outline:none}.auth-form input::placeholder{color:#97a4a1}.auth-submit{width:100%;min-height:50px;margin-top:10px;box-shadow:0 14px 24px #1763b833}.auth-visual{background:#dceae7;min-width:0;min-height:100%;position:relative;overflow:hidden}.auth-visual:after{content:"";pointer-events:none;background:linear-gradient(90deg,#09233d29,#0000 42%),linear-gradient(#0000 56%,#0c252347);position:absolute;inset:0}.auth-visual img{object-fit:cover;object-position:58% center;width:100%;height:100%;display:block}.auth-error{border-radius:var(--r-sm);background:var(--rose);color:#8f382b;align-items:center;gap:8px;margin:0 0 16px;padding:12px 14px;font-size:.88rem;display:flex}.mobile-only,.nav-backdrop{display:none}@media (width<=980px){.split-grid,.patient-summary-grid,.customer-report-grid,.customer-group-chart{grid-template-columns:1fr}.auth-shell{padding:18px}.auth-card{grid-template-columns:1fr;width:min(100%,520px);min-height:0}.auth-panel{padding:34px 30px}.auth-visual{order:-1;height:210px;min-height:0}.auth-visual img{aspect-ratio:16/7;object-position:58% 42%}}@media (width<=860px){.app-shell{display:block}.medi-topbar{grid-template-columns:1fr}.topbar-brand{grid-template-columns:minmax(0,1fr) auto;min-height:54px}.topbar-brand .brand-home-button{justify-self:start;width:min(100%,100vw - 170px)}.medi-topbar .top-module-nav{border-top:1px solid #ffffff24;flex-wrap:nowrap;max-height:calc(100dvh - 120px);display:flex;overflow:auto hidden}.medi-topbar .top-module-nav.open{flex-wrap:wrap;display:flex;overflow-y:auto}.medi-topbar .top-module-nav button{flex:none;justify-content:flex-start}.medi-topbar .top-module-nav.open button{flex:180px}.topbar-actions{background:0 0;border-top:0;flex-wrap:wrap;justify-content:flex-start;gap:6px;padding:0;position:absolute;top:9px;right:58px}.topbar-user{display:none}.medi-topbar .topbar-actions .icon-button,.medi-topbar .logout-button{width:36px;height:36px;min-height:36px}.appointment-actions,.calendar-toolbar{grid-template-columns:1fr;align-items:stretch}.appointment-actions{flex-direction:column;align-items:stretch}.appointment-actions>div{justify-content:stretch}.appointment-actions .primary-button,.appointment-actions .ghost-button,.appointment-filters .primary-button,.appointment-filters .ghost-button{width:100%}.appointment-filters{grid-template-columns:1fr}.calendar-toolbar>strong{justify-self:start}.calendar-legend{justify-content:flex-start}.sidebar{width:min(86vw,320px);box-shadow:var(--shadow-lg);transition:transform .22s cubic-bezier(.4,0,.2,1);position:fixed;inset:0 auto 0 0;transform:translate(-104%)}.sidebar.open{transform:translate(0)}.nav-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:25;background:#0f1a1880;border:0;animation:.18s fade;display:block;position:fixed;inset:0}@keyframes fade{0%{opacity:0}to{opacity:1}}.mobile-only{display:inline-grid}.workspace{padding:18px 16px 36px}.workspace-header{margin:-18px -16px 0;padding:12px 16px}.tenant-pill{display:none}.module-hero{flex-direction:column;align-items:stretch}.module-hero .primary-button{width:100%}.report-section-header{align-items:flex-start}.report-filter-bar>label,.report-filter-bar fieldset{flex:190px}}@media (width<=720px){.calendar-table-wrap{overflow-x:auto}.patients-toolbar{grid-template-columns:1fr}.patients-toolbar .inline-actions{justify-content:stretch}.patients-toolbar .ghost-button{flex:140px}.business-report-tabs{flex-wrap:nowrap;margin-left:-16px;margin-right:-16px;padding:0 16px;overflow-x:auto}.business-report-tabs button{flex:none}.report-section-header{flex-direction:column;align-items:stretch}.report-view-toggle{align-self:flex-end}.report-filter-bar{grid-template-columns:1fr;display:grid}.report-filter-bar>label,.report-filter-bar fieldset{min-width:0}.report-refresh-button,.report-print-button{width:100%;margin-left:0}.report-combo-chart{grid-template-columns:58px minmax(560px,1fr);margin-right:-16px;padding-right:16px}.report-chart-scale{height:210px;font-size:.68rem}.report-chart-bars{grid-auto-columns:minmax(34px,1fr);min-width:560px;min-height:248px}.report-chart-column{grid-template-rows:200px 38px}.report-chart-stack{height:200px}.customer-pie{width:min(260px,72vw)}.table-wrap{border:0;overflow:visible}table,.patients-table{min-width:0}thead{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}tbody tr{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);gap:2px;margin-bottom:12px;padding:6px 14px;display:grid}.interactive-row.is-selected{background:var(--brand-tint)}tbody tr:last-child td{border-bottom:0}tbody td{border-bottom:1px solid var(--line-soft);text-align:right;justify-content:space-between;align-items:center;gap:16px;padding:10px 0;display:flex}tbody td:before{content:attr(data-label);color:var(--muted);letter-spacing:.04em;text-transform:uppercase;text-align:left;flex:none;font-size:.72rem;font-weight:700}.cell-stack,.cell-stack span,td .cell-muted{text-align:right}.table-row-action{white-space:normal;width:auto}.row-open-button{min-height:36px}.appointment-calendar{min-width:980px}.appointment-calendar thead{clip:auto;width:auto;height:auto;position:static;overflow:visible}.appointment-calendar tbody tr{background:0 0;border:0;border-radius:0;margin:0;padding:0;display:table-row}.appointment-calendar tbody td,.appointment-calendar tbody th{border-bottom:1px solid var(--line-soft);text-align:left;padding:8px;display:table-cell}.appointment-calendar tbody th{text-align:right}.appointment-calendar tbody td:before{content:none}.customer-revenue-table{border:0}.customer-revenue-table .table-wrap{overflow:visible}.customer-revenue-table table{min-width:0}.customer-revenue-table td:last-child,.customer-revenue-table th:last-child{text-align:right}}@media (width<=480px){.auth-shell{align-items:start;padding:12px}.auth-card{width:100%}.auth-panel{padding:24px 20px}.auth-brand{margin-bottom:20px}.auth-brand .brand-mark{width:44px;height:44px}.auth-card h1{font-size:1.65rem}.auth-card .auth-intro{margin-bottom:22px;font-size:.95rem}.auth-visual{height:150px}.workspace{gap:16px}.business-report-section{padding-top:16px}.business-report-tabs button{min-height:40px;padding:0 13px;font-size:.82rem}.report-combo-chart{grid-template-columns:50px minmax(480px,1fr)}.report-chart-bars{min-width:480px}.report-chart-stack b{left:14%;right:14%}.module-title>span{width:44px;height:44px}.module-title h2{font-size:1.15rem}.panel,.module-hero,.stat-card{padding:16px}.bar-row{grid-template-columns:1fr auto;gap:4px 12px}.bar-row .bar-track{order:3;grid-column:1/-1}.dialog-backdrop{align-items:start;padding:10px}.dialog-panel{width:100%;padding:16px}.medi-detail-dialog{width:100%;padding:0}.medi-detail-form{grid-template-columns:1fr}.medi-detail-field,.medi-detail-field-wide{grid-column:1/-1}.dialog-header{margin-bottom:14px}.encounter-form{grid-template-columns:1fr;gap:12px}.dialog-actions{grid-template-columns:1fr;display:grid}.auth-card{padding:24px 20px}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.module-skeleton{gap:16px;display:grid}.skeleton-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;display:grid}.skeleton-card{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);gap:12px;padding:18px;display:grid}.skeleton-panel{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);gap:14px;padding:20px;display:grid}.skeleton-line{border-radius:var(--r-sm);background:linear-gradient(90deg, var(--line-soft) 25%, var(--line) 37%, var(--line-soft) 63%);background-size:400% 100%;height:14px;animation:1.4s infinite skeleton-shimmer}.skeleton-line-xs{width:40%}.skeleton-line-sm{width:60%}.skeleton-line-lg{width:80%;height:28px}@keyframes skeleton-shimmer{0%{background-position:100%}to{background-position:0}}.toast-stack{z-index:60;gap:10px;max-width:min(360px,100vw - 32px);display:grid;position:fixed;bottom:20px;right:20px}.toast{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);box-shadow:var(--shadow-pop);color:var(--ink);animation:toast-in var(--ease);align-items:center;gap:10px;padding:12px 14px;font-size:.88rem;font-weight:600;display:flex}.toast svg{flex-shrink:0;width:18px;height:18px}.toast-info svg{color:var(--blue)}.toast-success svg{color:var(--teal)}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.notif{position:relative}.notif .icon-button[aria-expanded=true]{background:#ffffff2e;border-color:#ffffff6b}.notif-panel{z-index:50;border:1px solid var(--line);background:var(--surface);width:min(390px,100vw - 24px);color:var(--ink);box-shadow:var(--shadow-pop);animation:notif-panel-in var(--ease);position:absolute;top:calc(100% + 10px);right:0;overflow:visible}.notif-panel:before{content:"";border-top:1px solid var(--line);border-left:1px solid var(--line);background:var(--surface);width:14px;height:14px;position:absolute;top:-7px;right:18px;transform:rotate(45deg)}.notif-head{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex;position:relative}.notif-head div{gap:1px;min-width:0;display:grid}.notif-head strong{color:var(--ink);font-size:.95rem;font-weight:650;line-height:1.25}.notif-head div span{color:var(--muted);font-size:.78rem;line-height:1.35}.notif-count{border-radius:var(--r-pill);background:var(--brand-tint);min-width:30px;height:30px;color:var(--brand-dark);place-items:center;padding:0 6px;font-size:.88rem;font-weight:700;display:inline-grid}.notif-list{gap:6px;max-height:min(420px,100dvh - 128px);margin:0;padding:8px;list-style:none;display:grid;overflow-y:auto}.notif-item{margin:0}.notif-item button,.notif-static{border-radius:var(--r-sm);width:100%;min-width:0;min-height:58px;color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;align-items:center;gap:10px;padding:10px 11px;display:flex}.notif-item button{cursor:pointer;transition:background var(--ease), border-color var(--ease)}.notif-item button:hover,.notif-item button:focus-visible{border-color:var(--line);background:var(--surface-2)}.notif-copy{flex:auto;gap:3px;min-width:0;display:grid}.notif-copy strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:600;line-height:1.25;overflow:hidden}.notif-copy span{color:var(--muted);font-size:.82rem;line-height:1.35}.notif-action{color:var(--brand-dark);white-space:nowrap;flex:none;font-size:.78rem;font-weight:650}.notif-icon{border-radius:var(--r-sm);flex-shrink:0;place-items:center;width:34px;height:34px;display:inline-grid}.notif-icon svg{width:18px;height:18px}.notif-warning .notif-icon{color:var(--gold);background:#fff4d8}.notif-info .notif-icon{background:var(--brand-tint);color:var(--brand)}.notif-empty{color:var(--muted);justify-items:center;gap:8px;padding:28px 16px;font-size:.85rem;display:grid}.notif-empty svg{opacity:.6;width:26px;height:26px}@keyframes notif-panel-in{0%{transform:translateY(-4px)}to{transform:translateY(0)}}@media (width<=520px){.notif{position:static}.notif-panel{width:auto;max-height:calc(100dvh - 82px);position:fixed;top:62px;left:12px;right:12px}.notif-panel:before{right:78px}.notif-list{max-height:calc(100dvh - 178px)}.notif-action{display:none}}.brand-loader-trace{animation:1.1s linear infinite brand-ecg-scroll}@keyframes brand-ecg-scroll{0%{transform:translate(0)}to{transform:translate(-28px)}}@media (prefers-reduced-motion:reduce){.brand-loader-trace{animation:none}}.brand-spinner{vertical-align:middle;animation:.7s linear infinite brand-spin;display:inline-block}@keyframes brand-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.brand-spinner{animation-duration:1.6s}}.brand-wordmark{align-items:center;gap:12px;line-height:1;display:inline-flex}.brand-wordmark-text{flex-direction:column;gap:3px;display:inline-flex}.brand-wordmark-name{letter-spacing:-.02em;color:var(--brand-strong);font-weight:700}.brand-wordmark-i{color:var(--accent)}.brand-wordmark-tagline{letter-spacing:.18em;text-transform:uppercase;color:var(--muted);font-size:.3em;font-weight:600}.brand-wordmark-dark .brand-wordmark-name{color:#fff}.brand-wordmark-dark .brand-wordmark-tagline{color:#ffffffb3}.boot-card{justify-items:center;gap:10px;display:grid}.boot-card .brand-loader{margin-bottom:4px}
