:root{--background:#eaf4f7;--foreground:#143650;--card-foreground:#143650;--primary:#087b8b;--muted:#f0f6f9;--muted-foreground:#516d80;--border:#d7e5ed;--input:#c8dce7;--ring:#087b8b;--clinic-surface-shadow:0 5px 22px rgb(27 81 108/6%)}html{scroll-padding-top:180px}body{background:#eaf4f7 url(/clinic-background.webp) top/cover fixed no-repeat;color:var(--foreground);font-family:Segoe UI,Arial,sans-serif;line-height:1.5}.clinic-shell,.doctor-workspace,.workspace{background:transparent}.centered-workspace{max-width:1540px;padding:24px 40px 48px}.clinic-header{min-height:74px;gap:20px;margin-bottom:20px}.original-logo{width:210px;background:transparent;border:0;box-shadow:none;border-radius:0}.original-logo:after{display:none}.clinic-account{color:var(--muted-foreground);gap:18px}.clinic-account strong{color:var(--foreground)}.language-switch,.theme-toggle{box-shadow:none;border-color:var(--border)}.navigation-dock{position:sticky;z-index:30;background:var(--card);border:1px solid var(--border);border-radius:16px;box-shadow:0 8px 26px rgb(26 71 97/10%);margin-bottom:26px}.site-navigation-tools{padding:9px 16px;background:transparent}.center-navigation,.navigation-dock .center-navigation{background:var(--card);border-color:var(--border);border-radius:14px;padding:9px;backdrop-filter:none}.navigation-dock .center-navigation{position:static;box-shadow:none;margin:0;border:0;border-radius:0 0 16px 16px}.navigation-dock .navigation-groups{display:grid;grid-template-columns:repeat(6,minmax(0,auto));align-items:stretch;justify-content:stretch;gap:8px;padding:10px}.navigation-group{display:flex;min-width:0;flex-direction:column;gap:7px;padding:8px;border:1px solid var(--border);border-radius:12px;background:color-mix(in srgb,var(--muted) 52%,var(--card))}.navigation-group-label{min-height:18px;padding:0 4px;color:var(--muted-foreground);font-size:11px;font-weight:700;line-height:1.25;letter-spacing:.055em;text-transform:uppercase}.navigation-group-buttons{display:flex;flex:1;flex-wrap:wrap;align-items:stretch;gap:4px}.center-navigation .center-navigation-button{flex:1 1 85px;flex-direction:column;min-height:72px;padding:10px 8px;border-radius:10px;font-size:13px;font-weight:500;color:var(--foreground);line-height:1.3}.center-navigation .center-navigation-button svg{width:21px;height:21px;flex:none}.center-navigation .center-navigation-button:hover{background:var(--muted);color:var(--primary)}.center-navigation .center-navigation-button[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground);border-color:transparent;box-shadow:0 3px 9px rgb(8 123 139/18%)}.medical-header,.topline{background:transparent;color:var(--foreground);border:0;box-shadow:none;padding:4px 0 12px;min-height:84px;margin-bottom:18px}h1{font-size:clamp(28px,2.8vw,40px);line-height:1.2;letter-spacing:-1px;font-weight:700}h2{color:var(--foreground);font-size:21px;letter-spacing:-.35px}.medical-header .muted,.topline .screen-date{color:var(--muted-foreground)}.topline .actions button{background:var(--card);border-color:var(--input);color:var(--foreground);min-height:44px;border-radius:10px}.topline .actions button[data-variant=default]{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.topline .actions button:hover{filter:brightness(.96)}.dashboard-card,.dashboard-filters,.dashboard-kpi,.day-filter,.integration-strip>div,.panel,.stat{background:var(--card);color:var(--foreground);border:1px solid var(--border);border-radius:14px;box-shadow:var(--clinic-surface-shadow)}.panel{padding:24px}.panelhead,.stats{margin-bottom:20px}.stats{gap:18px}.stat{padding:22px 24px;border-top:1px solid var(--border);position:relative}.stat-link{width:100%;text-align:left;cursor:pointer;font:inherit;transition:border-color .15s,box-shadow .15s}.stat-link>.muted{display:block}.stat-link>.muted:last-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.stat-link:hover:not(:disabled){border-color:var(--primary);box-shadow:0 5px 22px rgb(8 123 139/14%)}.stat-link:focus-visible{outline:3px solid var(--ring);outline-offset:3px}.stat-link:disabled{cursor:wait}.stat strong{color:var(--foreground);font-size:clamp(27px,2.5vw,36px);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.6px}.stat>.muted:first-child{color:var(--foreground);font-weight:500}.stat>.muted:last-child{font-size:13px}.stat-icon{display:grid;place-items:center;float:right;width:46px;height:46px;margin-left:8px;background:#e1f2ff;color:#126394;border-radius:50%}.stat:nth-child(2) .stat-icon{background:#dcf3ee;color:#11796c}.stat:nth-child(3) .stat-icon{background:#fff0da;color:#a65f13}.stat:nth-child(4) .stat-icon{background:#e5edf9;color:#47659f}.secure-notice{background:var(--card);color:var(--muted-foreground);border:1px solid var(--border);border-left:3px solid #76bcbf;font-size:13px;padding:10px 14px}.day-filter{padding:16px 20px}.workflow-links{padding:16px;background:var(--card);border:1px solid var(--border);border-radius:14px;box-shadow:var(--clinic-surface-shadow)}.workflow-links button{background:var(--card);border-color:var(--input);color:var(--foreground);border-radius:9px;min-height:44px}[data-slot=table]{font-size:14px}[data-slot=table-header]{background:var(--muted)}[data-slot=table-head]{color:var(--foreground);height:44px;font-weight:600}[data-slot=table-cell]{padding-top:15px;padding-bottom:15px}[data-slot=table-row]{border-color:var(--border)}[data-slot=table-body] [data-slot=table-row]:hover{background:var(--muted)}[data-slot=input-group],[data-slot=input],[data-slot=select-trigger],[data-slot=textarea]{background:var(--card);color:var(--foreground);border-color:var(--input);border-radius:8px}[data-slot=input]::placeholder,[data-slot=textarea]::placeholder{color:var(--muted-foreground)}[data-slot=dialog-content],[data-slot=popover-content],[data-slot=select-content],[data-slot=sheet-content]{background:var(--card);color:var(--foreground);border-color:var(--border)}.badge{border-radius:7px;font-size:13px;padding:5px 10px;font-weight:500}.dashboard-kpi.kpi-accent{background:var(--card);color:var(--foreground);border-color:var(--border)}.dashboard-kpi.kpi-accent .kpi-foot,.dashboard-kpi.kpi-accent .kpi-top,.dashboard-kpi.kpi-accent .kpi-top svg{color:var(--primary)}:where(button,a,input,select,textarea):focus-visible{outline:2px solid var(--ring);outline-offset:3px}html[data-theme=dark]{--background:#0b1b28;--foreground:#e4eff8;--card:#142b3c;--card-foreground:#e4eff8;--muted:#1b3548;--muted-foreground:#acc2d3;--border:#2e4a5d;--input:#456377;--clinic-bg-ffffff:#142b3c;--clinic-surface-shadow:0 5px 24px rgb(0 0 0/13%)}html[data-theme=dark] body{background:linear-gradient(rgb(6 23 37/92%),rgb(6 23 37/94%)),url(/clinic-background.webp) top /cover fixed no-repeat;color:var(--foreground)}html[data-theme=dark] .center-navigation,html[data-theme=dark] .navigation-dock,html[data-theme=dark] .navigation-dock .center-navigation{background:var(--card)}html[data-theme=dark] .original-logo{background:#d9eaf1;border-radius:12px;box-shadow:none}html[data-theme=dark] .stat-icon{background:#214560;color:#9ed9ff}html[data-theme=dark] .stat:nth-child(2) .stat-icon{background:#194841;color:#91dfcc}html[data-theme=dark] .stat:nth-child(3) .stat-icon{background:#483824;color:#ffd49d}html[data-theme=dark] .stat:nth-child(4) .stat-icon{background:#2a3d60;color:#bdccff}@media(max-width:1100px){.centered-workspace{padding:22px}.navigation-dock .navigation-groups{grid-template-columns:repeat(3,minmax(0,1fr))}.center-navigation .center-navigation-button{flex-basis:90px;min-height:62px}html{scroll-padding-top:220px}}@media(max-width:700px){.centered-workspace{padding:16px 12px 32px}.clinic-header{gap:12px}.navigation-dock{top:4px;border-radius:12px;margin-bottom:20px}.navigation-dock .navigation-groups{display:flex;align-items:stretch;overflow-x:auto;padding:6px;gap:6px;scroll-snap-type:x proximity}.navigation-group{flex:0 0 auto;min-width:max-content;padding:7px;scroll-snap-align:start}.navigation-group-label{font-size:10px}.center-navigation .center-navigation-button{flex:0 0 auto;min-width:78px;min-height:62px;padding:8px;font-size:12px}.site-navigation-tools{padding:6px 8px}.topline{gap:14px}.panel{padding:16px}.stats{gap:10px}.stat{padding:16px}.stat-icon{width:32px;height:32px}.stat-icon svg{width:17px}.stat strong{font-size:26px;overflow-wrap:anywhere}.workflow-links{padding:10px}html{scroll-padding-top:160px}}@media print{body,html[data-theme=dark] body{background:white!important;color:black!important}.dashboard-card,.panel,.stat{box-shadow:none}}.clinic-header,.medical-header{position:relative;isolation:isolate;overflow:hidden;padding:16px 20px;border:1px solid rgb(171 211 221/62%);border-radius:22px;background:radial-gradient(ellipse at 10% 50%,rgb(211 246 247/82%) 0,rgb(228 248 250/48%) 32%,transparent 58%),linear-gradient(105deg,rgb(255 255 255/88%),rgb(245 252 253/68%) 55%,rgb(255 255 255/78%));box-shadow:0 12px 34px rgb(26 91 113/9%);backdrop-filter:blur(14px) saturate(115%)}.clinic-header:before,.medical-header:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(112deg,transparent 0 54%,rgb(82 190 198/8%) 54.2% 54.9%,transparent 55.1%),radial-gradient(circle at 94% 18%,rgb(56 180 193/12%) 0 7%,transparent 7.3%)}.clinic-header>*,.medical-header>*{position:relative;z-index:1}.access-logo,.original-logo{position:relative;flex:none;width:clamp(220px,23vw,278px);max-width:100%;height:auto;aspect-ratio:744/291;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;isolation:auto}.access-logo:before,.original-logo:before{content:"";position:absolute;z-index:-1;inset:-24% -14%;border-radius:50%;background:radial-gradient(ellipse,rgb(255 255 255/72%) 0,rgb(221 247 248/38%) 48%,transparent 73%);filter:blur(8px)}.access-logo:after,.original-logo:after{display:none}.access-logo img,.medical-brand .original-logo img,.original-logo img{position:relative;inset:auto;display:block;width:100%;max-width:100%;height:auto;object-fit:contain;mix-blend-mode:normal;filter:drop-shadow(0 5px 12px rgb(10 92 134/13%))}.access-logo{width:min(292px,78vw);margin:4px auto 28px}html[data-theme=dark] .clinic-header,html[data-theme=dark] .medical-header{border-color:rgb(87 138 159/45%);background:radial-gradient(ellipse at 10% 50%,rgb(37 97 111/52%) 0,transparent 56%),linear-gradient(105deg,rgb(18 46 62/94%),rgb(16 41 56/88%) 58%,rgb(20 50 66/92%));box-shadow:0 14px 38px rgb(0 0 0/20%)}html[data-theme=dark] .access-logo,html[data-theme=dark] .original-logo{border:0;border-radius:0;background:transparent;box-shadow:none}html[data-theme=dark] .access-logo:before,html[data-theme=dark] .original-logo:before{background:radial-gradient(ellipse,rgb(221 246 248/82%) 0,rgb(167 224 231/42%) 49%,transparent 73%)}html[data-theme=dark] .access-logo img,html[data-theme=dark] .original-logo img{filter:drop-shadow(0 6px 14px rgb(0 0 0/24%))}@media(max-width:800px){.clinic-header,.medical-header{padding:14px 16px;border-radius:18px}.clinic-header .original-logo,.medical-header .original-logo{width:218px}}@media(max-width:520px){.clinic-header,.medical-header{padding:14px}.clinic-header .original-logo,.medical-header .original-logo{width:min(230px,72vw)}}.launch-control{display:grid;gap:20px}.launch-overview{border-top:4px solid var(--primary)}.launch-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.launch-kpis>:is(div,button){display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px 10px;min-width:0;padding:17px;border:1px solid var(--border);border-radius:12px;background:var(--muted)}.launch-kpis svg{grid-row:1/3;color:var(--primary)}.launch-kpis span{font-size:13px;color:var(--muted-foreground)}.launch-kpis strong{font-size:23px;letter-spacing:-.4px}.launch-kpis [data-slot=progress],.launch-kpis small{grid-column:1/-1}.launch-kpis small{font-size:12px;color:var(--muted-foreground);line-height:1.4}.launch-signals{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.launch-signal{display:flex;min-width:0;min-height:116px;flex-direction:column;gap:5px;padding:15px;border:1px solid var(--border);border-radius:11px;background:var(--muted)}.launch-signal span{font-size:12px;color:var(--muted-foreground)}.launch-signal strong{font-size:27px;font-variant-numeric:tabular-nums}.launch-signal small{margin-top:auto;font-size:11px;color:var(--muted-foreground)}.launch-signal-alert{border-color:#e9c679;background:#fff9ec}.launch-signal-alert strong{color:#9b5f0d}html[data-theme=dark] .launch-signal-alert{background:#3a3020;border-color:#745d35}.launch-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.launch-two-columns>.panel{min-width:0}.launch-form{display:grid;gap:18px}.launch-form fieldset,.launch-form label{display:grid;gap:6px}.launch-form small{font-size:12px;color:var(--muted-foreground)}.launch-switch{display:flex!important;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--border);border-radius:10px}.launch-switch span{display:grid;gap:3px}.launch-role-options{display:flex;flex-wrap:wrap;gap:8px}.launch-role-options label{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--card);font-size:13px}.launch-form fieldset legend{margin-bottom:8px;font-size:14px;font-weight:600}.launch-readonly{margin:0 0 16px}.launch-diagnostic-summary{display:flex;justify-content:space-between;gap:12px;align-items:end;padding:13px 0;border-bottom:1px solid var(--border)}.launch-diagnostic-summary strong{font-size:20px}.launch-diagnostic-summary span{font-size:12px;color:var(--muted-foreground)}.launch-diagnostic-list{display:grid}.launch-diagnostic-list>div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.launch-diagnostic-list span{display:grid}.launch-diagnostic-list small{font-size:11px;color:var(--muted-foreground)}.launch-diagnostic-list strong{font-variant-numeric:tabular-nums}.launch-readiness-list{display:grid;gap:4px}.launch-readiness{display:flex;gap:11px;padding:13px 0;border-bottom:1px solid var(--border)}.launch-readiness:last-child{border-bottom:0}.launch-readiness p{margin-top:3px;color:var(--muted-foreground);font-size:13px;line-height:1.4}.launch-ready-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%}.launch-ready-icon.ready{color:#087b63;background:#dcf4ec}.launch-ready-icon.waiting{color:#a4650c;background:#fff1d5}html[data-theme=dark] .launch-ready-icon.ready{background:#17483d;color:#85dbc4}html[data-theme=dark] .launch-ready-icon.waiting{background:#49391f;color:#f3c77e}.control-week{display:grid;grid-template-columns:repeat(7,minmax(180px,1fr));gap:12px;overflow-x:auto;padding-bottom:5px}.control-day{display:flex;min-width:180px;flex-direction:column;gap:13px;padding:14px;border:1px solid var(--border);border-radius:11px;background:var(--card)}.control-day-complete{border-color:#80c6b3;background:#f2fbf8}.control-day-footer,.control-day-heading{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.control-day-heading>div{display:grid}.control-day-footer small,.control-day-heading span:not(.badge){font-size:11px;color:var(--muted-foreground)}.control-day-checks{display:grid;gap:8px}.control-day-checks label{display:flex;align-items:center;gap:8px;font-size:12px}.control-day textarea{min-height:76px;font-size:12px}.control-day-footer{align-items:center;margin-top:auto}.control-day-footer small{max-width:105px}html[data-theme=dark] .control-day-complete{background:#173b35;border-color:#397f6d}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.guide-grid article{padding:17px;border:1px solid var(--border);border-radius:11px;background:var(--muted)}.guide-grid h3{margin-bottom:9px;font-size:15px}.guide-grid ol{display:grid;gap:7px;padding-left:19px;color:var(--muted-foreground);font-size:13px;line-height:1.45}@media(max-width:1250px){.launch-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.launch-signals{grid-template-columns:repeat(4,minmax(0,1fr))}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.launch-two-columns{grid-template-columns:1fr}.launch-signals{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.guide-grid,.launch-kpis,.launch-signals{grid-template-columns:1fr}.launch-diagnostic-summary{align-items:flex-start;flex-direction:column}.launch-role-options{display:grid;grid-template-columns:1fr 1fr}}@media print{.launch-guides{break-before:page}.launch-control [data-slot=checkbox],.launch-control button,.launch-control input,.launch-control textarea{display:none!important}.guide-grid{grid-template-columns:repeat(2,1fr)}.launch-control .panel{break-inside:avoid}}.book-filters{display:grid;gap:14px;margin-bottom:18px}.book-dialog{width:calc(100% - 24px);max-width:860px!important}.book-stages{display:grid;gap:10px}.book-stage{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--border);background:var(--card);border-radius:10px}.book-stage>div{min-width:0;overflow-wrap:anywhere}.book-stage button{flex:none}.book-control .stats{margin-top:16px}.book-dialog h3{font-weight:650;margin-top:12px}@media(max-width:600px){.book-stage{align-items:flex-start;flex-direction:column}.book-filters .actions{gap:7px}}.clinic-clock{display:flex;align-items:center;gap:9px;flex-shrink:0;color:var(--foreground);padding:4px 12px;border-inline:1px solid var(--border)}.clinic-clock-city{display:block;font-size:11px;color:var(--muted-foreground);line-height:1.25}.clinic-clock-values{display:flex;gap:10px;align-items:baseline;white-space:nowrap}.clinic-clock-values time{font-size:19px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:.5px}.clinic-clock-values>span{font-size:12px;color:var(--muted-foreground)}.clinic-clock-warning{font-size:10px}.clinic-clock-warning,.elapsed-time{display:block;color:var(--muted-foreground)}.elapsed-time{font-size:12px;margin:5px 0;font-variant-numeric:tabular-nums}.elapsed-time strong{font-weight:600;color:var(--foreground)}.deadline-time{display:block;width:fit-content;margin-top:5px}.damumed-time-bar{display:flex;justify-content:flex-end;padding:10px}.site-navigation-tools{flex-wrap:wrap}@media(max-width:850px){.site-navigation-tools>.clinic-clock{margin-left:auto;border-right:0}.clinic-clock-values{gap:7px}.clinic-clock-values time{font-size:17px}}@media(max-width:520px){.site-navigation-tools>.clinic-clock{order:3;width:100%;border:0;border-top:1px solid var(--border);padding:7px 3px 2px}.clinic-clock>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.clinic-clock-values time{font-size:16px}.clinic-clock-city{font-size:10px}html{scroll-padding-top:205px}}@media print{.clinic-clock{display:none!important}}.launch-kpis>button:hover,.stat:is(button):hover{outline:2px solid var(--primary)}.launch-kpis>button:focus-visible,.stat:is(button):focus-visible{outline:3px solid var(--primary)}:root{--background:#edf6f8;--foreground:#18394b;--card:#ffffff;--card-foreground:#18394b;--primary:#087985;--primary-foreground:#ffffff;--muted:#f2f7f9;--muted-foreground:#536f7e;--border:#d2e1e7;--input:#bfd2da;--ring:#087985;--clinic-surface-shadow:0 6px 22px rgb(26 76 98/7%)}body{background-color:var(--background);background-image:linear-gradient(180deg,rgb(246 251 252/86%),rgb(235 246 248/93%)),url(/clinic-background.webp);background-position:top;background-size:cover;background-attachment:fixed;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}.centered-workspace{max-width:1600px;padding:18px 32px 44px}.clinic-header{min-height:84px;margin-bottom:14px;padding:10px 18px;gap:14px;border-color:rgb(174 207 217/78%);border-radius:18px;background:radial-gradient(ellipse at 8% 50%,rgb(215 246 247/72%) 0,transparent 38%),linear-gradient(108deg,rgb(255 255 255/94%),rgb(246 252 253/88%) 58%,rgb(239 250 251/90%));box-shadow:0 8px 26px rgb(23 81 104/8%)}.clinic-header:before{opacity:.72;background:linear-gradient(112deg,transparent 0 62%,rgb(37 160 170/7%) 62.15% 62.65%,transparent 62.8%),radial-gradient(circle at 95% 8%,rgb(48 174 187/10%) 0 8%,transparent 8.3%)}.clinic-header .original-logo,.medical-header .original-logo{width:clamp(164px,14vw,190px)}.clinic-header .original-logo:before,.medical-header .original-logo:before{inset:-10% -7%;opacity:.58;filter:blur(5px)}.clinic-brand-lockup{display:flex;flex:none;align-items:center;gap:16px;min-width:0}.clinic-facade{position:relative;flex:none;width:clamp(160px,15vw,200px);aspect-ratio:3/2;overflow:visible}.clinic-facade img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 9px 12px rgb(12 67 85/20%))}.display-preferences{flex-wrap:nowrap;gap:8px}.language-switch{padding:3px;border-radius:10px}.language-switch button{min-height:32px;padding:5px 10px;font-size:13px}.theme-toggle{min-height:38px;padding-inline:11px;font-size:13px;border-radius:10px}.clinic-account{gap:14px;padding-left:16px;border-left:1px solid var(--border);font-size:13px}.clinic-account strong{font-size:15px}.clinic-account span{margin-top:2px}.clinic-account .signout-link{color:var(--primary);font-weight:600;text-decoration:none}.navigation-dock{top:8px;margin-bottom:18px;overflow:visible;border-color:var(--border);border-radius:14px;box-shadow:0 8px 24px rgb(25 72 92/9%)}.site-navigation-tools{min-height:48px;padding:6px 12px}.site-navigation-tools .actions{flex-wrap:nowrap}.site-navigation-tools .actions button{min-height:36px}.clinic-clock{padding:2px 12px}.clinic-clock-values time{font-size:18px}.center-navigation,.navigation-dock .center-navigation{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:6px;gap:4px}.center-navigation .center-navigation-button{width:100%;flex-direction:row;justify-content:center;gap:7px;min-height:50px;padding:8px 10px;border-radius:9px;font-size:14px;font-weight:600;line-height:1.25}.center-navigation .center-navigation-button svg{width:19px;height:19px}.topline{min-height:68px;margin-bottom:10px;padding:2px 2px 8px}h1{font-size:clamp(28px,2.3vw,36px);letter-spacing:-.75px}.topline .screen-date{font-size:13px}.topline .actions button{min-height:42px}.secure-notice{margin-bottom:16px;padding:9px 13px;border-left-width:3px;border-radius:10px}.dashboard-card,.dashboard-filters,.dashboard-kpi,.day-filter,.integration-strip>div,.panel,.stat,.workflow-links{border-color:var(--border);border-radius:13px}.panel{padding:22px}.panelhead{margin-bottom:16px}.panel>.empty{min-height:180px;display:grid;place-content:center;border:1px dashed var(--input);border-radius:11px;background:linear-gradient(145deg,#fbfdfe,var(--muted))}.clinic-shell button,.doctor-workspace button{transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.clinic-shell button:active,.doctor-workspace button:active{transform:translateY(1px)}html[data-theme=dark] body{background-image:linear-gradient(rgb(6 23 37/93%),rgb(6 23 37/95%)),url(/clinic-background.webp)}html[data-theme=dark] .clinic-header{border-color:rgb(83 133 153/48%);background:radial-gradient(ellipse at 8% 50%,rgb(37 97 111/48%) 0,transparent 43%),linear-gradient(108deg,rgb(17 43 58/96%),rgb(15 39 53/94%) 62%,rgb(18 47 62/96%))}html[data-theme=dark] .clinic-facade{filter:brightness(1.05) saturate(1.04)}html[data-theme=dark] .panel>.empty{background:var(--muted)}@media(max-width:1100px){.centered-workspace{padding:18px 20px 38px}.clinic-header .original-logo,.medical-header .original-logo{width:170px}.clinic-facade{width:150px}.center-navigation,.navigation-dock .center-navigation{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:900px){.navigation-dock .center-navigation{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain}.center-navigation .center-navigation-button{flex:0 0 auto;min-width:112px}}@media(max-width:800px){.clinic-header{padding:11px 14px}.clinic-header .original-logo{width:158px}.clinic-facade{width:130px}.display-preferences{margin-left:auto}.clinic-account{width:100%;justify-content:flex-end;padding:9px 0 0;border-top:1px solid var(--border);border-left:0}}@media(max-width:700px){.centered-workspace{padding:12px 10px 28px}.clinic-header{margin-bottom:10px;border-radius:14px}.navigation-dock{margin-bottom:14px;border-radius:12px}.site-navigation-tools{min-height:44px}.navigation-dock .center-navigation{padding:5px}.center-navigation .center-navigation-button{min-width:104px;min-height:46px;font-size:13px}.topline{min-height:62px}.panel{padding:16px}.panel>.empty{min-height:150px}}@media(max-width:520px){.clinic-header{align-items:center}.clinic-header .original-logo{width:146px}.clinic-brand-lockup{gap:10px}.clinic-facade{width:104px}.theme-toggle{width:38px;padding:0}.theme-toggle span{display:none}.clinic-account{justify-content:space-between}}.settings-grid>.settings-backup-span{grid-column:1/-1;min-width:0;width:100%;max-width:100%;min-inline-size:0;margin:0;padding:0;border:0}.settings-backup-span>.backup-control-panel{width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}.settings-backup-span .backup-summary-card,.settings-backup-span>.backup-control-panel>*{min-width:0}.settings-backup-span .backup-history [data-slot=table-container]{min-width:0;max-width:100%}.backup-control-panel{grid-column:1/-1;display:grid;gap:20px}.backup-control-panel>.panelhead{margin-bottom:0}.backup-health{display:flex;align-items:flex-start;gap:13px;padding:15px 17px;border:1px solid var(--clinic-line-d8e8ed);border-radius:11px;background:var(--clinic-bg-f5f9fc)}.backup-health svg{flex:none;width:21px;height:21px;margin-top:1px}.backup-health strong{display:block;font-size:15px;margin-bottom:3px}.backup-health p{font-size:14px;color:var(--clinic-fg-52707f);line-height:1.45}.backup-health-healthy{border-color:#b7ddd2;background:#eff9f5;color:#17634f}.backup-health-healthy p{color:#397565}.backup-health-pending,.backup-health-warning{border-color:var(--clinic-line-efdfbb);background:var(--clinic-bg-fffbf2);color:var(--clinic-fg-aa7924)}.backup-health-error{border-color:#efc2c5;background:var(--clinic-bg-ffebec);color:var(--clinic-fg-a3131d)}.backup-health-error p{color:inherit}.backup-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.backup-summary-card{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:4px;padding:17px;border:1px solid var(--clinic-line-dbe6ed);border-radius:11px;background:var(--clinic-bg-f8fafc)}.backup-summary-card>svg{grid-row:1/4;width:21px;height:21px;margin-top:2px;color:var(--clinic-fg-147885)}.backup-summary-card>span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--clinic-fg-6a8391)}.backup-summary-card>strong{font-size:16px;color:var(--clinic-fg-234759)}.backup-summary-card>small{font-size:12px;line-height:1.4;color:var(--clinic-fg-637c8c)}.backup-policy{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--clinic-line-dbe6ed);border-radius:11px;overflow:hidden}.backup-policy>div{display:grid;gap:4px;padding:14px 16px;background:var(--clinic-bg-ffffff)}.backup-policy>div+div{border-left:1px solid var(--clinic-line-dbe6ed)}.backup-policy strong{font-size:14px}.backup-policy span{font-size:12px;line-height:1.4;color:var(--clinic-fg-637c8c)}.backup-schedule-note{margin-top:-10px;line-height:1.5}.backup-history{display:grid;gap:12px;padding-top:4px}.backup-history h3,.backup-local h3{font-size:16px;font-weight:650;color:var(--clinic-fg-234759)}.backup-history [data-slot=table-container]{border:1px solid var(--clinic-line-dbe6ed);border-radius:10px}.backup-history [data-slot=table-cell]{white-space:normal;min-width:112px;vertical-align:top}.backup-history [data-slot=table-head]{background:var(--clinic-bg-f8fafc)}.backup-history [data-slot=table-cell]:last-child{min-width:205px}.backup-row-actions{display:flex;gap:6px;flex-wrap:wrap}.backup-ready{background:#e7f6ef;color:#17634f}.backup-running{background:var(--clinic-bg-fff3dd);color:var(--clinic-fg-946020)}.backup-failed{background:var(--clinic-bg-ffebec);color:var(--clinic-fg-a3131d)}.backup-local{display:grid;gap:15px;padding:19px;border:1px solid var(--clinic-line-d8e6eb);border-radius:11px;background:var(--clinic-bg-f4f8fa)}.backup-local h3{display:flex;align-items:center;gap:8px}.backup-passwords{display:grid;grid-template-columns:1fr 1fr;gap:12px}.backup-file-check label,.backup-passwords label{display:grid;gap:6px;font-size:13px}.backup-file-check{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:12px;align-items:end;padding-top:15px;border-top:1px solid var(--clinic-line-d8e6eb)}.backup-recovery-note{display:flex;align-items:flex-start;gap:11px;margin-bottom:0}.backup-recovery-note>svg{flex:none;margin-top:2px}.backup-recovery-note strong{display:block;margin-bottom:3px}.backup-recovery-note p{line-height:1.5}.backup-error{border-color:#efc2c5;background:var(--clinic-bg-ffebec);color:var(--clinic-fg-a3131d)}html[data-theme=dark] .backup-health-healthy{border-color:#275c50;background:#112d29;color:#a9e7d5}html[data-theme=dark] .backup-health-healthy p{color:#b1d9cd}html[data-theme=dark] .backup-ready{background:#14352d;color:#a9e7d5}@media(max-width:900px){.backup-policy,.backup-summary{grid-template-columns:1fr}.backup-policy>div+div{border-left:0;border-top:1px solid var(--clinic-line-dbe6ed)}}@media(max-width:640px){.backup-file-check,.backup-passwords{grid-template-columns:1fr}.backup-control-panel{gap:16px}.backup-summary-card{padding:14px}.backup-history [data-slot=table-cell]:last-child{min-width:180px}}.clinic-header{display:flex;align-items:center;justify-content:space-between;gap:22px}.clinic-header>.clinic-brand-lockup{flex:0 0 auto}.clinic-header-utilities{display:flex;align-items:stretch;justify-content:flex-end;min-width:0;margin-left:auto;padding:6px;border:1px solid rgb(174 207 217/82%);border-radius:14px;background:rgb(255 255 255/58%);box-shadow:inset 0 1px 0 rgb(255 255 255/70%);font-family:inherit}.clinic-header-utilities>*{min-height:48px;margin:0}.clinic-header-utilities>*+*{border-left:1px solid var(--border)}.clinic-header-utilities .display-preferences{flex-wrap:nowrap;align-items:center;padding:4px 12px 4px 4px}.clinic-header-utilities .language-switch,.clinic-header-utilities .theme-toggle{font-family:inherit}.clinic-header-utilities .language-switch button,.clinic-header-utilities .signout-link,.clinic-header-utilities .theme-toggle{font-size:13px;line-height:1.2}.clinic-header-utilities .clinic-clock{align-items:center;gap:10px;min-width:202px;padding:4px 16px;border-inline:0;text-align:left}.clinic-header-utilities .clinic-clock>svg{flex:0 0 auto;color:var(--primary)}.clinic-header-utilities .clinic-clock-copy{display:grid;gap:2px}.clinic-header-utilities .clinic-clock-city{font-size:12px;line-height:1.2;color:var(--muted-foreground)}.clinic-header-utilities .clinic-clock-values{display:flex;align-items:baseline;gap:10px}.clinic-header-utilities .clinic-clock-values time{font-size:18px;font-weight:650;line-height:1.15;letter-spacing:.25px}.clinic-header-utilities .clinic-clock-date{font-size:13px;line-height:1.2;color:var(--muted-foreground)}.clinic-header-utilities .clinic-clock-warning{display:none}.clinic-header-utilities .clinic-account{align-items:center;gap:14px;min-width:226px;padding:4px 8px 4px 16px;border-left:1px solid var(--border);color:var(--muted-foreground)}.clinic-header-utilities .clinic-account>div{min-width:0;text-align:left}.clinic-header-utilities .clinic-account strong{display:block;max-width:190px;overflow:hidden;color:var(--foreground);font-size:14px;font-weight:650;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.clinic-header-utilities .clinic-account span{margin-top:3px;font-size:12px;line-height:1.2}.clinic-header-utilities .signout-link{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 8px;border-radius:8px;white-space:nowrap}.clinic-header-utilities .signout-link:hover{background:var(--muted)}html[data-theme=dark] .clinic-header-utilities{border-color:rgb(83 133 153/48%);background:rgb(15 39 53/58%);box-shadow:inset 0 1px 0 rgb(255 255 255/4%)}.medical-header{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;grid-template-rows:auto auto;column-gap:18px;row-gap:6px;align-items:center}.medical-header>.medical-brand{grid-column:1;grid-row:1/3}.medical-header>.display-preferences{grid-column:2;grid-row:2;margin-left:0}.medical-header>.signout-link{grid-column:3;grid-row:2;justify-self:end}.medical-header>.clinic-clock{grid-column:2/4;grid-row:1;justify-self:end;border:0;padding:0;gap:8px;text-align:right}.medical-header>.clinic-clock>div{display:block}.medical-header .clinic-clock-values{justify-content:flex-end}@media(max-width:1180px){.clinic-header{display:grid;grid-template-columns:auto minmax(0,1fr)}.clinic-header-utilities{grid-column:1/-1;width:100%;justify-content:flex-end}}@media(max-width:800px){.clinic-header-utilities{display:grid;grid-template-columns:1fr 1fr;padding:6px}.clinic-header-utilities .display-preferences{grid-column:1/-1;justify-content:flex-end;padding:4px 4px 10px;border-bottom:1px solid var(--border)}.clinic-header-utilities>*+*{border-left:0}.clinic-header-utilities .clinic-clock{min-width:0;padding:10px 12px 4px}.clinic-header-utilities .clinic-account{min-width:0;padding:10px 4px 4px 14px;border-left:1px solid var(--border)}.medical-header{grid-template-columns:minmax(0,1fr) auto;row-gap:12px}.medical-header>.clinic-clock{grid-column:2;grid-row:1}.medical-header>.medical-brand{grid-column:1/3;grid-row:2;flex-wrap:wrap}.medical-header>.display-preferences{grid-column:1;grid-row:3}.medical-header>.signout-link{grid-column:2;grid-row:3}}@media(max-width:560px){.clinic-header,.clinic-header-utilities{grid-template-columns:1fr}.clinic-header-utilities .clinic-account,.clinic-header-utilities .clinic-clock,.clinic-header-utilities .display-preferences{grid-column:1;width:100%}.clinic-header-utilities .display-preferences{justify-content:flex-start}.clinic-header-utilities .clinic-clock{border-bottom:1px solid var(--border)}.clinic-header-utilities .clinic-account{justify-content:space-between;border-left:0}.clinic-header-utilities .clinic-clock-values{flex-wrap:wrap;gap:3px 10px}}@media(max-width:420px){.clinic-header>.clinic-brand-lockup .original-logo{width:132px}.clinic-header-utilities .clinic-account{flex-wrap:wrap}}.clinic-brand-lockup{gap:0}.navigation-dock .compact-navigation{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.25rem;padding:.375rem;overflow:visible;scroll-snap-type:none}.compact-navigation .center-navigation-button{flex:0 1 auto;flex-direction:row;width:auto;min-width:0;max-width:100%;height:auto;min-height:2.125rem;padding:.375rem .625rem;gap:.375rem;border:1px solid var(--border);border-radius:.4375rem;font-size:.875rem;font-weight:500;line-height:1.35;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.compact-navigation .center-navigation-button svg{flex:none;width:1rem;height:1rem}.compact-navigation .center-navigation-button[aria-pressed=true]{box-shadow:none;font-weight:600}.site-navigation-tools{min-height:2.625rem;padding:.25rem .5rem;gap:.5rem}.site-navigation-tools .actions{gap:.25rem}.site-navigation-tools .actions button,.site-navigation-tools .site-navigation-location>button{min-height:2rem}.clinic-shell .day-filter [data-slot=button],.clinic-shell .report-view-switch [data-slot=button],.clinic-shell .topline .actions [data-slot=button],.clinic-shell .workflow-links [data-slot=button],.doctor-workspace .medical-toolbar [data-slot=button]{flex:0 1 auto;width:auto;height:auto;min-height:2.125rem;padding:.375rem .625rem;gap:.375rem;border-radius:.4375rem;font-size:.875rem;line-height:1.35;white-space:normal}.clinic-shell .workflow-links{gap:.375rem;padding:.625rem;margin-bottom:1rem}.clinic-shell .report-view-switch{flex-wrap:wrap;width:fit-content;max-width:100%}@media(max-width:900px){.navigation-dock{position:static}.compact-navigation .center-navigation-button{min-height:2.25rem}}@media(pointer:coarse){.compact-navigation .center-navigation-button{min-height:2.5rem}}.book-control .book-metric[data-slot=button]{display:block;height:auto;min-height:116px;white-space:normal;text-align:left;color:var(--foreground);font-size:14px;cursor:pointer}.book-control .book-metric:hover,.book-control .book-metric[aria-pressed=true]{border-color:var(--clinic-fg-087e8b);background:var(--clinic-bg-e5f3f4)}.book-control .book-metric:focus-visible{outline:3px solid var(--clinic-fg-087e8b);outline-offset:3px}.email-auth-form{display:flex;flex-direction:column;gap:10px;text-align:left;margin-top:24px}.email-auth-form h2{font-size:18px;font-weight:600;margin-bottom:4px}.email-auth-form input{width:100%;font-size:16px}.email-auth-form .muted{font-size:14px;line-height:1.5}.email-auth-form button{margin-top:6px}.email-auth-error{color:#b91c1c;font-size:14px}[data-theme=dark] .email-auth-error{color:#fca5a5}.staff-preview-banner{position:sticky;top:0;z-index:100;background:#fff2bf;color:#382700;border-bottom:2px solid #ae7a00;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:16px}.staff-preview-banner p{margin:4px 0}.staff-preview-banner button{background:#134e4a;color:white;flex-shrink:0}@media(max-width:640px){.staff-preview-banner{align-items:stretch;flex-direction:column;padding:10px 14px}}html:root .book-control--registry .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:8px}html:root .book-control--registry .book-metric[data-slot=button]{min-height:64px;padding:7px 12px;line-height:1.2;overflow-wrap:normal;word-break:normal}.book-control--registry .book-filters{grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:12px}.book-scope,.book-search-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}html:root .book-control--registry .book-scope button[data-slot=button]{width:auto;min-width:0;max-width:100%;height:auto;min-height:40px;padding:6px 10px;font-size:14px;white-space:normal;overflow-wrap:normal}.book-search-controls input{flex:1 1 230px;min-width:0;width:auto}.book-search-controls select{min-width:0;max-width:100%;flex:0 1 210px;min-height:40px;padding:6px 10px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--foreground)}html:root .book-control--registry .book-register{padding:10px}.book-register .table-viewport-body table{width:100%;min-width:820px;table-layout:fixed}html:root .book-register .table-viewport-body th{height:40px;padding:7px 8px;font-size:13px;line-height:1.3;white-space:normal}html:root .book-register .table-viewport-body td{padding-inline:8px}html:root .book-register .table-viewport-body td:last-child button[data-slot=button]{max-width:100%;padding-inline:6px;font-size:13px}.book-register :is(th,td){white-space:normal;overflow-wrap:break-word}.book-register th:first-child{width:23%}.book-register th:nth-child(2){width:20%}.book-register th:nth-child(3){width:15%}.book-register th:nth-child(4){width:13%}.book-register th:nth-child(5),.book-register th:nth-child(6){width:9%}.book-register th:nth-child(7){width:11%}@media (max-width:700px){html:root .book-control--registry .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.book-search-controls select{flex:1 1 150px}}@media screen{.workspace-mark-label{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-width:0;white-space:normal}.workspace-mark-label>span:last-child{min-width:0;overflow-wrap:break-word}.workflow-status-mark{display:inline-grid;place-items:center;flex:0 0 21px;width:21px;height:21px;border-radius:6px;color:#234b78;background:#eaf2fd}.workflow-status-mark[data-kind=payment],.workflow-status-mark[data-kind=pending]{color:#765018;background:#fcf0d7}.workflow-status-mark[data-kind=examination],.workflow-status-mark[data-kind=ready]{color:#16603e;background:#e3f4e9}.workflow-status-mark[data-kind=damumed]{color:#573887;background:#f0eafb}.workflow-status-mark[data-kind=overdue]{color:#97252d;background:#ffeaed}.workflow-status-mark[data-kind=paused]{color:#3d5365;background:#e7eef4}.workspace-mark-label .cash-pay-mark{width:21px;height:21px}.workspace-mark-label .cash-pay-mark :is(svg,img){width:16px;height:16px}}html:root .book-register .book-register-stage{padding:3px 6px;border:1px solid var(--border);border-radius:7px;background:var(--muted);color:var(--foreground);font-size:13px;font-weight:700;line-height:1.3}html:root .book-register .book-register-stage[data-overdue=true]{border-color:#daacb0;background:#ffeaed;color:#8b2029}html:root .book-register .book-register-missing{display:inline-block;padding:3px 6px;border:1px solid #e0c392;border-radius:6px;background:#fcf0d7;color:#65400e;font-size:13px;font-weight:650;line-height:1.35}html:root{--background:#f3f5f7;--foreground:#20262e;--card:#fff;--card-foreground:#20262e;--popover:#fff;--popover-foreground:#20262e;--primary:#087f80;--primary-foreground:#fff;--muted:#eef1f4;--muted-foreground:#596574;--secondary:#eef1f4;--secondary-foreground:#20262e;--accent:#dcf2ef;--accent-foreground:#086a64;--border:#d9dfe6;--input:#b7c1cd;--ring:#0d9488;--sidebar:#191d24;--sidebar-foreground:#dce2eb;--sidebar-accent:#273139;--sidebar-accent-foreground:#74e0cf;--sidebar-border:#343c48;--sidebar-primary:#59d4be;--sidebar-primary-foreground:#11231f;--crm-row-stripe:#f8fafb;--crm-row-hover:#e5f5f1;--crm-font:"Segoe UI Variable","Segoe UI",Inter,system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif}html:root[data-theme=dark]{--background:#171a20;--foreground:#edf0f5;--card:#22262e;--card-foreground:#edf0f5;--popover:#292e38;--popover-foreground:#edf0f5;--primary:#5bd5bd;--primary-foreground:#10251f;--secondary:#2c323c;--secondary-foreground:#e8edf4;--muted:#2b303a;--muted-foreground:#b3bccb;--accent:#23403d;--accent-foreground:#8ce9d7;--border:#3a424f;--input:#556170;--ring:#70e3cc;--crm-row-stripe:#252a33;--crm-row-hover:#293d3c;--crm-scroll-track:#20242c;--crm-scroll-thumb:#667385;--crm-scroll-hover:#8b98a9;--crm-scroll-active:#5bd5bd;--clinic-bg-ffffff:#22262e;--clinic-bg-f8fafc:#252a33;--clinic-bg-f8fbfc:#252a33;--clinic-bg-f3f6f8:#171a20;--clinic-bg-f3f8fa:#252a33;--clinic-bg-f4f8fa:#252a33;--clinic-bg-f5f9fc:#252a33;--clinic-bg-edf2f6:#2b303a;--clinic-bg-edf3f7:#2b303a;--clinic-fg-193441:#edf0f5;--clinic-fg-1b394b:#edf0f5;--clinic-fg-234759:#edf0f5;--clinic-fg-24485b:#edf0f5;--clinic-fg-647a87:#b3bccb;--clinic-fg-537586:#b3bccb;--clinic-line-dfe7ec:#3a424f;--clinic-line-dae5ec:#3a424f;--clinic-line-dce7ee:#3a424f;--clinic-surface-shadow:none}html:root body{font-family:var(--crm-font);background:var(--background);background-image:none;line-height:1.5}html:root[data-theme=dark] body{background:var(--background)}.clinic-sidebar [data-slot=sidebar-inner]{background:var(--sidebar);color:var(--sidebar-foreground)}.clinic-sidebar [data-slot=sidebar-menu-button][data-active=true]{box-shadow:inset 3px 0 var(--sidebar-primary)}.clinic-sidebar [data-slot=sidebar-menu-button]:hover,.clinic-sidebar [data-slot=sidebar-menu-button][data-active=true]{background:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.clinic-header.pulse-header,.dashboard-card,.medical-header,.metric,.panel,.stat{background:var(--card);background-image:none;border-color:var(--border);box-shadow:none}.pulse-brand{flex-direction:row;align-items:center;gap:12px}.clinic-sidebar-brand .pulse-brand .original-logo,.medical-brand .pulse-brand-compact .original-logo,.pulse-brand .original-logo,.pulse-brand-compact .original-logo{width:42px;min-width:42px;aspect-ratio:1;border-radius:12px;background:transparent}.pulse-access-brand .pulse-brand .original-logo{width:52px}.pulse-brand-copy strong{letter-spacing:.08em;font-size:24px;font-weight:700}.pulse-brand-copy span{font-size:12px}.clinic-sidebar-brand{padding:22px 18px}.clinic-sidebar-brand .pulse-brand-copy span{color:#b7c1d0}.table-viewport-body tbody tr[aria-selected=true] td,.table-viewport-body tbody tr[data-state=selected] td{background:var(--accent);color:var(--accent-foreground)}.visit-service-entry[data-selected=true],.visit-service-option[data-selected=true]{background:var(--accent);border-color:var(--primary);color:var(--accent-foreground)}.table-viewport-body tbody tr:focus-within td:first-child{box-shadow:inset 3px 0 var(--primary),1px 0 var(--border)}.price-value,[data-slot=table-cell] strong{font-weight:600}.metric strong,.price-amount,.stat strong,.table-viewport-body table,.visit-create-total{font-variant-numeric:tabular-nums}html:root[data-theme=dark] .stat-icon{background:#243d3c;color:#8ce9d7}html:root[data-theme=dark] .stat:nth-child(3) .stat-icon{background:#493c25;color:#f3ce80}html:root[data-theme=dark] .stat:nth-child(4) .stat-icon{background:#313952;color:#bdcaff}html:root[data-theme=dark] .badge.green{background:#214339;color:#a0ecc5;border-color:#416c57}html:root[data-theme=dark] .badge.amber{background:#4a3b23;color:#ffdfa0;border-color:#755c35}html:root[data-theme=dark] .badge.red{background:#4b292f;color:#ffb8c2;border-color:#79424c}html:root[data-theme=dark] .badge.neutral{background:var(--muted);color:var(--muted-foreground);border-color:var(--border)}html:root[data-theme=dark] .text-slate-500{color:var(--muted-foreground)}@media(max-width:600px){.pulse-brand-copy strong{font-size:22px}.pulse-brand{gap:10px}}@media print{html:root[data-theme=dark]{--background:#fff;--foreground:#000;--card:#fff;--card-foreground:#000;--muted:#f1f1f1;--muted-foreground:#333;--border:#bbb;--crm-row-stripe:#fff;--crm-row-hover:#fff}html:root[data-theme=dark] body{background:#fff;color:#000}}html:root .pulse-brand{display:flex;flex-direction:row;align-items:center;gap:12px}html:root .clinic-sidebar-brand .pulse-brand .original-logo,html:root .medical-brand .pulse-brand-compact .original-logo,html:root .pulse-brand .original-logo{width:42px;min-width:42px;max-width:42px;height:42px;aspect-ratio:1;border-radius:12px;background:transparent;box-shadow:none;margin:0}html:root .pulse-access-brand .pulse-brand .original-logo{width:52px;min-width:52px;max-width:52px;height:52px}html:root .pulse-brand .original-logo img{width:100%;height:100%;position:static;object-fit:contain;filter:none}html:root .clinic-sidebar-brand .pulse-brand-copy strong{font-size:24px;letter-spacing:.08em}html:root .clinic-sidebar-brand .pulse-brand-copy span{font-size:11px}html:root .center-navigation,html:root .clinic-header.pulse-header,html:root .dashboard-card,html:root .medical-header,html:root .metric,html:root .navigation-dock,html:root .panel,html:root .stat{background:var(--card);background-image:none;border-color:var(--border);box-shadow:none}html:root[data-theme=dark] body{background:#171a20;background-image:none;font-family:var(--crm-font)}html:root[data-theme=light] body{background:#f3f5f7;background-image:none;font-family:var(--crm-font)}html:root .pulse-brand-copy strong{font-size:24px;line-height:1.2;letter-spacing:-.02em;white-space:normal;word-break:normal;overflow-wrap:normal}html:root .clinic-sidebar-brand .pulse-brand-copy strong{font-size:20px;letter-spacing:-.02em}html:root .pulse-brand-compact .pulse-brand-copy strong{font-size:20px}html:root .pulse-brand-copy span{max-width:100%;white-space:normal;text-wrap:balance}html:root .pulse-header-tagline{display:block;margin-top:2px;font-size:11px;line-height:1.4;color:var(--muted-foreground)}@media(max-width:400px){html:root .pulse-access-brand .pulse-brand-copy strong{font-size:22px}}.clinic-shell .shift-overview{display:grid;gap:10px;min-width:0;margin:0 0 12px;padding:12px 16px}.clinic-shell .shift-overview-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;min-width:0}.clinic-shell .shift-overview-heading>strong{font-size:15px;font-weight:650;line-height:1.4}.clinic-shell .shift-overview-heading>.muted{font-size:12px}.clinic-shell .shift-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.clinic-shell .shift-overview-grid:has(>:only-child){grid-template-columns:minmax(0,1fr)}.clinic-shell .shift-overview .work-shifts{min-width:0;margin:0;padding:6px 0 0;border:0;box-shadow:none;background:transparent}.clinic-shell .shift-overview .work-shifts+.work-shifts{padding-left:14px;border-left:1px solid var(--border)}.clinic-shell .shift-overview .work-shifts>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.clinic-shell .shift-overview .work-shifts>div:first-child>strong{flex:1 1 110px;font-size:13px;font-weight:600}.clinic-shell .shift-overview .work-shifts button{min-height:40px}.clinic-shell .shift-overview .work-shifts [data-slot=table-container]{max-width:100%;overflow-x:auto}@media (max-width:900px){.clinic-shell .shift-overview-grid{grid-template-columns:minmax(0,1fr);gap:6px}.clinic-shell .shift-overview .work-shifts+.work-shifts{border-left:0;border-top:1px solid var(--border);padding-left:0;padding-top:12px}}@media (max-width:768px){.clinic-shell .shift-overview{padding:12px;gap:8px}.clinic-shell .shift-overview-heading .muted{width:100%}.clinic-shell .pulse-header{min-width:0}.clinic-shell .pulse-header-tools{min-width:0;flex-wrap:wrap}.clinic-shell .topline{align-items:flex-start;gap:12px}.clinic-shell .topline .actions{flex-wrap:wrap}.clinic-shell .day-filter{display:grid;min-width:0}.clinic-shell .day-filter>div:first-child{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.clinic-shell .day-filter label{width:100%;min-width:0}.clinic-shell .day-filter label input{width:100%;max-width:100%;min-width:0;font-size:16px}.clinic-shell .day-filter button{min-height:42px}.clinic-shell .navigation-dock{max-width:100%;min-width:0}.clinic-shell .workflow-links{flex-wrap:wrap;gap:8px}.clinic-shell .workflow-links [data-slot=button]{min-height:44px;white-space:normal;text-align:left}.clinic-shell .visit-table-shell{max-height:70dvh;overflow-y:auto;overscroll-behavior:contain}.clinic-shell .visit-table [data-slot=table-cell]{overflow-wrap:anywhere}[data-slot=dialog-content].visit-create-dialog{max-height:100dvh}.visit-create-dialog .visit-create-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}}@media (max-width:480px){.clinic-shell .shift-overview .work-shifts>div:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.clinic-shell .shift-overview .work-shifts>div:first-child>span,.clinic-shell .shift-overview .work-shifts>div:first-child>strong{grid-column:1/-1;min-width:0}.clinic-shell .shift-overview .work-shifts>div:first-child button{width:100%;white-space:normal}.clinic-shell .topline{display:flex;flex-wrap:wrap}.clinic-shell .topline>div:first-child{min-width:0}.clinic-shell .topline h1{overflow-wrap:anywhere}.clinic-shell .topline .actions{width:100%}}@media print{.clinic-shell .shift-overview{display:none}}.appointments-page{display:grid;gap:16px;min-width:0}.appointments-page .panel{min-width:0}.appointments-page .panelhead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.appointments-page h2{font-size:21px;font-weight:650}.appointments-page h3{font-size:17px;font-weight:650}.appointments-page .panelhead p{max-width:720px;font-size:13px;margin-top:6px}.appointment-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px;align-items:end;margin:14px 0;min-width:0}.appointment-controls label{display:grid;gap:6px;min-width:0;font-size:13px;font-weight:600}.appointment-controls input,.appointment-controls select{min-height:44px;width:100%;min-width:0}.appointment-control-buttons{display:flex;flex-wrap:wrap;gap:8px}.appointment-actions button,.appointment-book-form button,.appointment-control-buttons button{min-height:42px}.appointment-rule-list{display:grid;gap:8px;margin-top:14px}.appointment-rule{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0;border-bottom:1px solid var(--border);padding:10px 0}.appointment-rule span{min-width:0;overflow-wrap:anywhere}.appointment-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:9px;margin:16px 0}.appointment-slots button{min-height:46px;white-space:normal}.appointment-book-form{display:grid;gap:10px;border-top:1px solid var(--border);padding-top:16px;margin-top:16px}.appointment-book-form>label{display:grid;gap:8px}.appointment-list{display:grid;gap:10px;margin-top:12px}.appointment-entry{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:13px;border-radius:11px;border:1px solid var(--border);min-width:0}.appointment-entry>div:first-child{min-width:0;display:grid;gap:5px}.appointment-entry strong{font-size:14px;overflow-wrap:anywhere}.appointment-entry p{font-size:13px;overflow-wrap:anywhere}.appointment-entry small{font-size:12px;color:var(--muted-foreground);overflow-wrap:anywhere}.appointment-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap;max-width:400px}@media(max-width:700px){.appointments-page .appointment-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.appointment-entry{flex-wrap:wrap}.appointment-actions{justify-content:stretch;width:100%;max-width:none}.appointment-actions button{flex:1 1 135px}.appointment-rule{flex-wrap:wrap}}@media(max-width:440px){.appointments-page .appointment-controls{grid-template-columns:minmax(0,1fr)}.appointment-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.appointment-control-buttons{display:grid;grid-template-columns:1fr 1fr}}html:root{--pulse-payment:#b7812d;--pulse-waiting:#6878b4;--pulse-exam:#087f80;--pulse-ready:#348163;--pulse-chart-bg:color-mix(in srgb,var(--foreground) 6%,var(--card))}html:root[data-theme=dark]{--pulse-payment:#e4b968;--pulse-waiting:#a6b0ef;--pulse-exam:#5bd5bd;--pulse-ready:#94d4af}html:root .clinic-shell .topline h1{font-size:clamp(25px,2.5vw,34px);letter-spacing:-.04em;font-weight:700}html:root .pulse-stats .stat-link{border-radius:15px;padding:20px;border-color:var(--border);transition:border-color .15s,background .15s}html:root .pulse-stats .stat-link:hover{background:color-mix(in srgb,var(--primary) 4%,var(--card));border-color:color-mix(in srgb,var(--primary) 50%,var(--border))}html:root .pulse-stats .stat-link>strong{font-weight:720;letter-spacing:-.04em;font-size:clamp(28px,2.6vw,38px)}html:root .pulse-stats .pulse-payment-stat>strong{font-size:clamp(25px,2.15vw,33px)}html:root .pulse-stats .stat-link>.muted:last-child{display:flex;justify-content:space-between;gap:8px}html:root .clinic-shell .day-filter{padding:12px 0 18px;gap:12px}html:root .clinic-shell .workflow-links{background:transparent;border:0;padding:0;gap:8px}html:root .clinic-shell .panel{border-radius:15px}.pulse-visual{font-variant-numeric:tabular-nums;min-width:0}.clinic-pulse{border:1px solid var(--border);border-radius:18px;background:var(--card);padding:22px;margin:8px 0 22px;min-width:0}.pulse-visual-heading{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:16px;margin-bottom:20px}.pulse-visual-eyebrow{display:flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.1em;font-weight:650;color:var(--primary)}.pulse-visual-heading h2{font-size:25px;letter-spacing:-.03em;font-weight:700;line-height:1.25;margin:7px 0}.pulse-visual-heading p{font-size:12px;color:var(--muted-foreground);max-width:620px;line-height:1.5}.pulse-visual-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.pulse-live-state{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted-foreground)}.pulse-live-state i{width:7px;height:7px;border-radius:50%;background:var(--pulse-ready)}.pulse-live-state[data-stale=true] i{background:var(--pulse-payment)}.pulse-flow-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;margin-bottom:12px}.pulse-flow-caption>span{color:var(--muted-foreground)}.pulse-flow-caption>strong{font-weight:650}.pulse-flow-track,.pulse-mix-track{display:flex;height:12px;background:var(--pulse-chart-bg);border-radius:5px;overflow:hidden}.pulse-flow-track>span,.pulse-mix-track>span,.pulse-room-track>span{display:block;flex:none}.pulse-flow [data-phase=payment],.pulse-phase-dot[data-phase=payment]{--pulse-phase:var(--pulse-payment)}.pulse-flow [data-phase=waiting],.pulse-phase-dot[data-phase=waiting]{--pulse-phase:var(--pulse-waiting)}.pulse-flow [data-phase=in_progress],.pulse-phase-dot[data-phase=in_progress]{--pulse-phase:var(--pulse-exam)}.pulse-flow [data-phase=ready],.pulse-phase-dot[data-phase=ready]{--pulse-phase:var(--pulse-ready)}.pulse-flow-track>span,.pulse-phase-dot{background:var(--pulse-phase)}.pulse-flow-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 22px}.pulse-flow-stage{display:grid;grid-template-columns:9px 1fr;gap:7px 9px;padding:13px 14px;background:var(--pulse-chart-bg);border-radius:10px;border:1px solid transparent;min-width:0;text-align:left;color:var(--foreground)}button.pulse-flow-stage{cursor:pointer}button.pulse-flow-stage:hover,button.pulse-flow-stage[aria-pressed=true]{border-color:var(--primary);background:var(--accent)}.pulse-flow-stage>span:not(.pulse-phase-dot){font-size:12px;line-height:1.45}.pulse-phase-dot{width:8px;height:8px;border-radius:2px;margin-top:5px}.pulse-flow-stage>strong{grid-column:2;font-size:25px;line-height:1.15;letter-spacing:-.03em;font-weight:700}.pulse-snapshot-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;padding-top:20px;border-top:1px solid var(--border)}.pulse-snapshot-block{min-width:0}.pulse-finance-block>header,.pulse-snapshot-block>header{display:flex;justify-content:space-between;align-items:start;flex-wrap:wrap;gap:8px;margin-bottom:17px}.pulse-finance-block h3,.pulse-snapshot-block h3{font-size:16px;font-weight:650;letter-spacing:-.02em;margin:0}.pulse-chart-legend,.pulse-snapshot-block>header>span{font-size:11px;color:var(--muted-foreground)}.pulse-chart-legend{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin-bottom:16px}.pulse-chart-legend>span,.pulse-mix-values dt{display:flex;align-items:center;gap:6px}.pulse-chart-legend i,.pulse-mix-values i{display:block;width:8px;height:8px;border-radius:2px;flex:none}.pulse-chart-legend i[data-phase=waiting],.pulse-room-track>span[data-phase=waiting]{background:var(--pulse-waiting)}.pulse-chart-legend i[data-phase=in_progress],.pulse-room-track>span[data-phase=in_progress]{background:var(--pulse-exam)}.pulse-chart-legend>small{font-size:11px;flex-basis:100%}.pulse-room-bar{margin-bottom:16px;min-width:0}.pulse-room-label{display:flex;justify-content:space-between;gap:10px;align-items:baseline;font-size:13px;margin-bottom:7px}.pulse-room-label strong{font-weight:600;overflow-wrap:anywhere}.pulse-room-label>span{font-weight:700;flex:none}.pulse-room-label small{font-size:11px;color:var(--muted-foreground);font-weight:400}.pulse-room-track{display:flex;height:8px;background:var(--pulse-chart-bg);border-radius:3px;overflow:hidden}.pulse-room-detail{display:flex;justify-content:space-between;flex-wrap:wrap;gap:3px 8px;font-size:11px;color:var(--muted-foreground);margin-top:6px}.pulse-attention-summary{display:flex;align-items:start;gap:9px;line-height:1.5;font-size:12px;color:var(--muted-foreground);margin-bottom:10px}.pulse-attention-summary svg{flex:none;color:var(--pulse-payment)}.pulse-attention-summary strong{color:var(--foreground)}.pulse-priority-list{display:grid;gap:0}.pulse-priority-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--border);min-width:0}.pulse-priority-row:last-child{border-bottom:0}.pulse-priority-row>div{display:grid;gap:4px;min-width:0}.pulse-priority-row strong{font-size:13px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}.pulse-priority-row small{font-size:11px;color:var(--muted-foreground);overflow-wrap:anywhere}.pulse-priority-row [data-slot=button]{flex:none;min-height:38px}.pulse-priority-phase{font-size:11px;font-weight:600;color:var(--primary)}.pulse-priority-phase[data-phase=payment]{color:var(--pulse-payment)}.pulse-priority-phase[data-phase=waiting]{color:var(--pulse-waiting)}.pulse-priority-phase[data-phase=ready]{color:var(--pulse-ready)}.pulse-chart-note,.pulse-visual-empty{font-size:12px;color:var(--muted-foreground);line-height:1.5;margin:10px 0 0}.pulse-visual-loading{padding:22px 0;color:var(--muted-foreground);font-size:13px}.pulse-finance-charts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 22px}.pulse-finance-block{background:var(--card);padding:20px;border:1px solid var(--border);border-radius:14px;min-width:0}.pulse-finance-block header p{font-size:11px;color:var(--muted-foreground);margin:4px 0 0}.pm .pulse-chart-link{font-size:12px;min-height:32px;padding:4px 0;color:var(--primary);border:0;background:transparent;white-space:normal}.pulse-mix-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;margin:20px 0 0!important}.pulse-mix-values>div{min-width:0}.pulse-mix-values dt{font-size:12px;color:var(--muted-foreground);font-weight:400}.pulse-mix-values dd{margin:8px 0 0;font-size:clamp(18px,1.7vw,24px);font-weight:650;letter-spacing:-.025em;overflow-wrap:anywhere}.pulse-mix-track>span[data-method=cash],.pulse-mix-values i[data-method=cash]{background:var(--pulse-exam)}.pulse-mix-track>span[data-method=bank],.pulse-mix-values i[data-method=bank]{background:var(--pulse-waiting)}.pulse-mix-track>span[data-method=unspecified],.pulse-mix-values i[data-method=unspecified]{background:var(--pulse-payment)}.pulse-debt-chart{display:grid;gap:14px}.pulse-debt-row>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:7px}.pulse-debt-row strong{font-weight:600;white-space:nowrap}.pulse-debt-track{height:7px;border-radius:3px;overflow:hidden;background:var(--pulse-chart-bg)}.pulse-debt-track>span{display:block;height:100%;background:var(--pulse-payment);border-radius:3px}html:root .pm-cards>button{background:var(--card);border-color:var(--border);border-radius:14px;padding:20px}html:root .pm-cards>button:hover{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 4%,var(--card))}html:root .pm-tabs .pm-selected{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.ops-monitor>.pulse-flow{padding:18px 20px;border-radius:14px;border:1px solid var(--border);background:var(--card)}.ops-monitor>.pulse-flow .pulse-flow-stages{margin-bottom:0}@media(max-width:1000px){.pulse-finance-charts,.pulse-snapshot-columns{grid-template-columns:1fr}.pulse-snapshot-columns{gap:20px}.pulse-snapshot-block+section{border-top:1px solid var(--border);padding-top:20px}}@media(max-width:600px){.clinic-pulse{padding:16px;border-radius:14px;margin-bottom:16px}.pulse-flow-stages{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pulse-flow-stage{padding:11px 10px}.pulse-visual-heading h2{font-size:22px}.pulse-visual-tools{width:100%}.pulse-visual-tools .pulse-live-state{margin-right:auto}.pulse-finance-block{padding:16px}html:root .pulse-stats .stat-link{padding:14px 12px}html:root .pulse-stats .stat-link>strong{font-size:29px}html:root .pulse-stats .pulse-payment-stat>strong{font-size:23px;white-space:normal}html:root .clinic-shell .topline h1{font-size:26px}.pulse-room-detail{font-size:11px}.pulse-snapshot-columns{padding-top:16px}.pulse-priority-row{align-items:flex-start}.ops-monitor>.pulse-flow{padding:14px}}@media(max-width:380px){.pulse-mix-values{grid-template-columns:1fr}.pulse-priority-row{flex-wrap:wrap}.pulse-priority-row [data-slot=button]{width:100%}}@media(pointer:coarse){.pm .pulse-chart-link,.pulse-flow-stage,.pulse-visual [data-slot=button]{min-height:44px}}@media(prefers-reduced-motion:reduce){html:root .pulse-stats .stat-link{transition:none}}@media print{.pulse-chart-link,.pulse-priority-row [data-slot=button],.pulse-visual-tools{display:none}.pulse-finance-charts,.pulse-snapshot-columns{grid-template-columns:1fr}.clinic-pulse,.pulse-finance-block{break-inside:avoid}}.team-permissions-dialog{width:min(760px,calc(100vw - 24px));max-width:760px;max-height:88dvh;overflow-y:auto}.team-permission-editor{display:grid;gap:12px;margin:4px 0 8px;padding:14px;border:1px solid var(--clinic-line-dfe7ec);border-radius:12px;background:var(--clinic-bg-f8fafc);min-width:0}.team-permission-editor-heading{display:flex;align-items:flex-start;gap:11px}.team-permission-editor-heading svg{flex:none;margin-top:2px}.team-permission-editor-heading h3{font-size:17px;font-weight:750;margin:0 0 5px}.team-permission-editor-heading p{font-size:12px;line-height:1.5}.team-permission-editor .team-feature-group{background:var(--clinic-bg-ffffff)}.team-permission-editor .team-feature-group h4{font-size:14px;font-weight:750;margin:0 0 6px}.team-report-grant{padding:12px;border:1px solid var(--clinic-line-dfe7ec);border-radius:9px;background:var(--clinic-bg-ffffff)}@media(max-width:640px){.team-permission-editor{padding:10px}.team-permissions-dialog{width:calc(100vw - 16px)}}.finance-fact-dialog{width:min(670px,calc(100vw - 22px));max-width:670px;max-height:90dvh;overflow-y:auto;padding:24px}.finance-fact-dialog .finance-review-form{margin:0;padding:0;border:0;background:transparent;display:grid;gap:13px;min-width:0}.finance-fact-dialog .finance-review-form h4{font-size:15px;margin:0;font-weight:700}.finance-fact-dialog .finance-review-form label{display:grid;gap:6px;font-size:13px;font-weight:600;min-width:0}.finance-fact-dialog .finance-review-form input:not([type=checkbox]),.finance-fact-dialog .finance-review-form select,.finance-fact-dialog .finance-review-form textarea{box-sizing:border-box;width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--border);border-radius:9px;background:var(--background);color:inherit;font:inherit;min-width:0}.finance-fact-dialog .finance-review-form textarea{min-height:78px;resize:vertical}.finance-fact-dialog .finance-review-form .finance-check{display:flex;align-items:flex-start;gap:11px;cursor:pointer;font-weight:500}.finance-fact-dialog .finance-check input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:none}.finance-fact-dialog .finance-review-form>p{font-size:12px;line-height:1.5}.finance-fact-dialog .pm-actions{display:flex;gap:10px;flex-wrap:wrap}.finance-fact-dialog .pm-actions button{min-height:42px;flex:1 1 170px}@media(max-width:580px){.finance-fact-dialog{padding:16px;max-height:94dvh}}html:root .partner-billing .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;align-items:end}html:root .partner-billing label:not(:has(input[type=checkbox])){display:flex;flex-direction:column;gap:9px;min-width:0;font-size:15px;line-height:1.5;font-weight:600}html:root .partner-billing input:not([type=checkbox]):not([type=radio]),html:root .partner-billing select,html:root .partner-billing textarea{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:48px;height:48px;padding:11px 14px;border:1px solid var(--border);border-radius:10px;background:var(--background);color:var(--foreground);font-size:16px;line-height:24px;flex-shrink:0}html:root .partner-billing select{appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2394a3b8' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}html:root .partner-billing select:focus-visible{outline:2px solid var(--ring);outline-offset:2px}html:root .partner-billing textarea{height:auto;min-height:96px}html:root .partner-billing .actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}html:root .partner-billing .actions button{min-height:48px;height:auto;padding:11px 18px;font-size:15px;line-height:24px;white-space:normal}html:root .partner-billing .panelhead{margin-bottom:22px}html:root .partner-billing .muted{line-height:1.6}html:root .partner-billing td,html:root .partner-billing th{padding:16px 18px;line-height:1.5;vertical-align:middle}html:root .partner-billing label:has(input[type=checkbox]){line-height:1.6}@media(max-width:900px){html:root .partner-billing .grid2{grid-template-columns:minmax(0,1fr);gap:18px}html:root .partner-billing .actions{justify-content:flex-start}html:root .clinic-shell .visit-table-shell .table-viewport-body,html:root .clinic-shell .visit-table-shell [data-slot=table-container],html:root .clinic-shell .visit-table-shell.table-viewport{max-height:none!important;height:auto;overflow:visible!important;overscroll-behavior:auto;scrollbar-gutter:auto;min-width:0;width:100%}html:root .clinic-shell .visit-table-shell .table-viewport-controls{display:none!important}html:root .clinic-shell .visit-table{display:block;width:100%;min-width:0;max-width:100%;table-layout:auto;border-collapse:separate}html:root .clinic-shell .visit-table [data-slot=table-header]{display:none}html:root .clinic-shell .visit-table [data-slot=table-body]{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%}html:root .clinic-shell .visit-table [data-slot=table-row]{display:block;min-width:0;width:100%;margin:0;padding:0 16px;border:1px solid var(--border)!important;border-radius:14px;background:var(--card)!important;box-shadow:none;overflow:visible}html:root .clinic-shell .visit-table [data-slot=table-cell]{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;justify-items:start;gap:6px;position:static!important;inset:auto;float:none;box-sizing:border-box;width:100%!important;min-width:0!important;max-width:none;min-height:0;height:auto;margin:0!important;padding:14px 0!important;text-align:left!important;background:transparent!important;box-shadow:none!important;border-bottom:1px solid var(--border);font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}html:root .clinic-shell .visit-table [data-slot=table-cell]:before{content:attr(data-label);display:block;position:static!important;inset:auto!important;width:auto;max-width:100%;height:auto;padding:0;margin:0;color:var(--muted-foreground);font-size:12px;font-weight:600;line-height:1.4;white-space:normal}html:root .clinic-shell .visit-table [data-slot=table-cell]:last-child{border-bottom:0}html:root .clinic-shell .visit-table [data-slot=table-cell]>*{max-width:100%;min-width:0;margin-left:0;margin-right:0}html:root .clinic-shell .visit-table .visit-payment-cell>strong{font-size:20px;line-height:1.35;font-variant-numeric:tabular-nums}html:root .clinic-shell .visit-table .visit-payment-cell .payment-result{margin-top:0}html:root .clinic-shell .visit-table .visit-action-cell{justify-items:stretch}html:root .clinic-shell .visit-table .visit-action-cell [data-slot=button]{width:100%;min-height:44px;justify-content:center;white-space:normal}}@media(max-width:600px){html:root .clinic-utility-bar{gap:6px}html:root .clinic-utility-bar>*{min-width:0}html:root .clinic-utility-bar .workflow-alert-dock{flex:1;min-width:0}html:root .clinic-utility-bar .workflow-alert-dock button{max-width:100%;height:auto;min-height:40px;white-space:normal;line-height:1.25;padding:6px 8px}html:root .clinic-app-viewport{scroll-padding-bottom:24px}}html:root .premium-clinic-shell .centered-workspace:not([data-view="Главная"])>.topline{margin:0 0 10px;padding:0;min-height:0;align-items:center;gap:12px}html:root .premium-clinic-shell .centered-workspace:not([data-view="Главная"])>.topline h1{margin:0}html:root .premium-clinic-shell .centered-workspace:not([data-view="Главная"])>.clinic-header{margin-bottom:12px}html:root .ops-monitor{gap:10px}html:root .ops-monitor-heading{align-items:center;gap:10px;min-height:0}html:root .ops-monitor-scope{display:flex;align-items:center;gap:8px;flex-wrap:wrap}html:root .ops-monitor-refresh{margin-left:auto;gap:8px}html:root .ops-monitor-patients{gap:8px;padding:14px}html:root .ops-monitor .ops-monitor-review-note{margin:0}@media(max-width:700px){html:root .ops-monitor-heading{display:flex;flex-wrap:wrap}html:root .ops-monitor-refresh{margin-left:0}html:root .ops-monitor-patients{padding:12px}}