@import"https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&display=swap";:root{--c-primary: #009ab0;--c-primary-dark: #00707f;--c-primary-light: #e6f6f8;--c-primary-50: #f2fafc;--c-accent: #f7941e;--c-accent-soft: #fdecd6;--c-accent-hover: #e0830f;--c-success: #14a36a;--c-warning: #e89a18;--c-danger: #d40d39;--c-danger-soft: #fbe1e6;--c-info: #00cdfb;--c-ink: #10343b;--c-ink-2: #2c3e44;--c-muted: #6b8085;--c-line: #e3ecee;--c-line-2: #eef2f3;--c-bg: #f4f9fa;--c-white: #ffffff;--c-tv-bg: #052a31;--c-tv-surface: #0c3a44;--c-tv-surface-2: #124e5b;--c-tv-ink: #f4fbfc;--c-tv-muted: #8fb6c0;--r-sm: 6px;--r-md: 10px;--r-lg: 16px;--r-xl: 24px;--r-pill: 999px;--shadow-sm: 0 1px 2px rgba(15, 30, 36, .05);--shadow-md: 0 6px 18px rgba(15, 30, 36, .08);--shadow-lg: 0 18px 48px rgba(0, 101, 123, .18);--f-sans: "Raleway", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%}body{font-family:var(--f-sans);color:var(--c-ink);background:var(--c-bg);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}a{color:var(--c-primary-dark);text-decoration:none}a:hover{color:var(--c-primary)}h1,h2,h3,h4{font-weight:700;color:var(--c-ink);margin:0 0 .6em;letter-spacing:-.01em}h1{font-size:2.4rem;line-height:1.15}h2{font-size:1.75rem}h3{font-size:1.25rem}p{margin:0 0 1rem;color:var(--c-ink-2)}.btn{display:inline-flex;align-items:center;gap:8px;padding:11px 22px;border-radius:var(--r-pill);font-weight:600;font-size:.95rem;border:1px solid transparent;cursor:pointer;transition:all .15s ease;font-family:inherit}.btn-primary{background:var(--c-primary);color:#fff}.btn-primary:hover{background:var(--c-primary-dark)}.btn-ghost{background:transparent;color:var(--c-primary-dark);border-color:var(--c-line)}.btn-accent{background:var(--c-accent);color:#fff}.btn-accent:hover{background:var(--c-accent-hover)}.card{background:#fff;border:1px solid var(--c-line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);padding:20px}.pill{display:inline-flex;align-items:center;padding:4px 12px;border-radius:var(--r-pill);font-size:.8rem;font-weight:600;background:var(--c-primary-light);color:var(--c-primary-dark)}.pill-success{background:#d8f3e6;color:#0d6f47}.pill-warning{background:#fceedb;color:#8a5a04}.pill-danger{background:var(--c-danger-soft);color:var(--c-danger)}html.tv{font-size:calc(28px * var(--zoom, 1));background:var(--c-tv-bg);color:var(--c-tv-ink)}html.tv body{background:var(--c-tv-bg);color:var(--c-tv-ink);font-size:1rem;line-height:1.35;font-weight:500;overflow:hidden;cursor:none;letter-spacing:.01em}html.tv h1{font-size:3.2rem;font-weight:800;letter-spacing:-.015em}html.tv h2{font-size:2.2rem;font-weight:700}html.tv h3{font-size:1.6rem;font-weight:700}html.tv .tv-screen{display:grid;grid-template-rows:auto 1fr auto;height:100vh;padding:32px 40px;gap:28px}html.tv .tv-header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--c-tv-surface-2);padding-bottom:16px;gap:24px;flex-wrap:wrap}html.tv .tv-header h1{margin:0;color:#fff}html.tv .tv-subheader{color:var(--c-tv-muted);font-size:1rem;letter-spacing:.1em;text-transform:uppercase;margin-top:4px}html.tv .tv-header-right{display:flex;align-items:center;gap:28px}html.tv .tv-clock{font-variant-numeric:tabular-nums;font-size:2.4rem;font-weight:700;color:var(--c-primary-light)}html.tv .tv-kpis{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:24px}html.tv .tv-kpi{background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:18px;padding:28px 32px;display:flex;flex-direction:column;gap:8px}html.tv .tv-kpi .label{text-transform:uppercase;letter-spacing:.12em;font-size:.85rem;color:var(--c-tv-muted);font-weight:600}html.tv .tv-kpi .value{font-size:4.2rem;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;color:#fff}html.tv .tv-kpi.accent .value{color:var(--c-accent)}html.tv .tv-kpi.primary .value{color:var(--c-info)}html.tv .tv-kpi.success .value{color:#6bf0ad}html.tv .tv-grid{display:grid;gap:20px;overflow:hidden}html.tv .tv-card{background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:18px;padding:24px 28px;display:flex;flex-direction:column;gap:14px;min-height:0}html.tv .tv-card h2{margin:0;color:var(--c-primary-light)}html.tv .tv-card .row{display:flex;align-items:center;justify-content:space-between;font-size:1.15rem;padding:10px 0;border-bottom:1px solid var(--c-tv-surface-2)}html.tv .tv-card .row:last-child{border-bottom:0}html.tv .tv-card .row .num{font-variant-numeric:tabular-nums;font-weight:700}html.tv .tv-card .row .num.free{color:#6bf0ad}html.tv .tv-card .row .num.occ{color:var(--c-accent)}html.tv .tv-footer{display:flex;justify-content:space-between;color:var(--c-tv-muted);font-size:.85rem;letter-spacing:.08em;text-transform:uppercase}html.tv .paturi-nav,html.tv .vol-nav{display:flex;gap:10px}html.tv .paturi-nav a,html.tv .vol-nav a{display:inline-flex;align-items:center;padding:10px 22px;border-radius:999px;font-size:.9rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--c-tv-muted);background:transparent;border:2px solid var(--c-tv-surface-2);transition:all .15s ease}html.tv .paturi-nav a.active,html.tv .vol-nav a.active{color:var(--c-tv-bg);background:var(--c-primary-light);border-color:var(--c-primary-light)}html.tv .paturi-nav a:hover,html.tv .vol-nav a:hover{border-color:var(--c-primary-light);color:#fff}@media (max-width: 1399px){html.tv{font-size:calc(20px * var(--zoom, 1))}html.tv body{overflow:auto;cursor:auto}html.tv .tv-screen{height:auto;min-height:100vh;padding:24px 28px}html.tv h1{font-size:2.4rem}html.tv h2{font-size:1.7rem}html.tv .tv-clock{font-size:1.8rem}html.tv .tv-kpi .value{font-size:3.2rem}html.tv .tv-grid{overflow:visible}}@media (max-width: 899px){html.tv{font-size:calc(16px * var(--zoom, 1))}html.tv .tv-screen{padding:16px;gap:16px}html.tv .tv-header{flex-direction:column;align-items:flex-start;gap:12px}html.tv .tv-header-right{width:100%;justify-content:space-between;gap:12px;flex-wrap:wrap}html.tv h1{font-size:1.6rem}html.tv h2{font-size:1.2rem}html.tv .tv-clock{font-size:1.4rem}html.tv .tv-kpis{grid-auto-flow:row;grid-template-columns:repeat(2,1fr)}html.tv .tv-kpi{padding:16px 18px}html.tv .tv-kpi .value{font-size:2rem}html.tv .tv-kpi .label{font-size:.7rem}html.tv .tv-grid,html.tv .paturi-sections,html.tv .vol-grid,html.tv .waitlist-layout{grid-template-columns:1fr!important}html.tv .tv-card{padding:16px 18px}html.tv .paturi-nav a,html.tv .vol-nav a{padding:6px 12px;font-size:.7rem}}html.tv body,html.tv body *{cursor:auto}html.tv .paturi-nav a,html.tv .zoom-controls button,html.tv .btn,html.tv .admin-claim-row .btn,html.tv .admin-tabs button,html.tv a{cursor:pointer}html.tv body.scroll-body{overflow:auto;cursor:auto}html.tv body.scroll-body .tv-screen{height:auto;min-height:100vh}html.tv .cerere-screen{height:auto;min-height:100vh;overflow:auto;grid-template-rows:auto 1fr;max-width:920px;margin:0 auto}html.tv .cerere-intro{background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:12px;padding:14px 18px;color:var(--c-tv-ink);font-size:.9rem;line-height:1.5;margin:0 0 8px}html.tv .cerere-form{display:flex;flex-direction:column;gap:18px}html.tv .cerere-form fieldset{background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:14px;padding:16px 18px}html.tv .cerere-form legend{padding:2px 8px;color:var(--c-tv-muted);text-transform:uppercase;letter-spacing:.1em;font-size:.72rem;font-weight:700}html.tv .cerere-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}html.tv .cerere-grid .span-2{grid-column:span 2}html.tv .cerere-form label,html.tv .cerere-form .full{display:flex;flex-direction:column;gap:6px}html.tv .cerere-form label>span{color:var(--c-tv-muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}html.tv .cerere-form input,html.tv .cerere-form select,html.tv .cerere-form textarea{background:var(--c-tv-bg);color:var(--c-tv-ink);border:1px solid var(--c-tv-surface-2);border-radius:10px;padding:12px 14px;font-family:inherit;font-size:1rem;color-scheme:dark;min-height:44px}html.tv .cerere-form input:focus,html.tv .cerere-form select:focus,html.tv .cerere-form textarea:focus{outline:0;border-color:var(--c-primary)}html.tv .cerere-form .full{margin-top:10px}html.tv .cerere-hint{color:var(--c-tv-muted);font-size:.78rem;margin-top:6px}html.tv .cerere-error{background:var(--c-accent-soft);color:var(--c-danger);border:1px solid var(--c-accent);border-radius:10px;padding:10px 14px;font-size:.9rem}html.tv .cerere-actions{display:flex;justify-content:flex-end;padding-bottom:24px}html.tv .cerere-form .btn-primary{background:var(--c-primary);color:#fff;border:0;border-radius:999px;padding:14px 28px;font-size:1rem;font-weight:700;cursor:pointer;min-height:48px}html.tv .cerere-form .btn-primary:hover:not(:disabled){background:var(--c-primary-dark)}html.tv .cerere-form .btn-primary:disabled{opacity:.5;cursor:not-allowed}html.tv .cerere-done{background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:16px;padding:36px 28px;text-align:center;display:flex;flex-direction:column;gap:14px;align-items:center}html.tv .cerere-done .check{width:72px;height:72px;border-radius:50%;background:#14a36a;color:#fff;display:grid;place-items:center;font-size:2.4rem;font-weight:800}html.tv .cerere-done h2{margin:0;color:#fff}html.tv .cerere-done p{margin:0;color:var(--c-tv-ink)}html.tv .cerere-done b{color:var(--c-info);font-size:1.2em}@media (max-width: 699px){html.tv .cerere-grid{grid-template-columns:1fr}html.tv .cerere-grid .span-2{grid-column:auto}}html.tv .login-cta,html.tv .login-meta a{color:var(--c-tv-muted);font-size:.8rem;text-decoration:none;padding:6px 10px;border-radius:6px;font-weight:600;letter-spacing:.02em}html.tv .login-cta:hover,html.tv .login-meta a:hover{color:var(--c-info);background:var(--c-tv-surface)}html.tv .login-meta{text-align:center;margin-top:6px;padding-top:14px;border-top:1px solid var(--c-tv-surface-2)}html.tv .admin-login-screen{max-width:480px;margin:0 auto}html.tv .admin-login-card{background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:14px}html.tv .admin-login-card h2{color:#fff;margin:0}html.tv .admin-login-card label{display:flex;flex-direction:column;gap:6px}html.tv .admin-login-card label span{color:var(--c-tv-muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}html.tv .admin-login-card input{background:var(--c-tv-bg);color:var(--c-tv-ink);border:1px solid var(--c-tv-surface-2);border-radius:10px;padding:12px 14px;font-size:1rem;color-scheme:dark}html.tv .admin-login-card input:focus{border-color:var(--c-primary);outline:0}html.tv .admin-login-card .btn-primary{background:var(--c-primary);color:#fff;border:0;border-radius:999px;padding:12px 22px;font-size:1rem;font-weight:700;cursor:pointer;min-height:48px}html.tv .admin-login-card .btn-primary:hover:not(:disabled){background:var(--c-primary-dark)}html.tv .admin-screen{overflow:auto;height:auto;min-height:100vh}html.tv .admin-tabs{display:flex;gap:6px;border-bottom:1px solid var(--c-tv-surface-2);padding:0}html.tv .admin-tabs button{background:transparent;border:0;color:var(--c-tv-muted);font-weight:700;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;padding:12px 18px;border-radius:8px 8px 0 0;border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer}html.tv .admin-tabs button:hover{color:var(--c-tv-ink);background:var(--c-tv-surface)}html.tv .admin-tabs button.active{color:#fff;background:var(--c-tv-surface);border-bottom-color:var(--c-primary)}html.tv .admin-claims{display:flex;flex-direction:column;gap:10px}html.tv .admin-claim-row{display:grid;grid-template-columns:96px minmax(0,1fr) minmax(120px,max-content) auto;gap:16px;align-items:center;background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:12px;padding:14px 18px}html.tv .admin-claim-row .rank{font-size:1.6rem;font-weight:800;color:var(--c-info);font-variant-numeric:tabular-nums}html.tv .admin-claim-row .rank .legacy{display:block;font-size:.65rem;font-weight:600;color:var(--c-tv-muted);text-transform:uppercase;letter-spacing:.06em;margin-top:4px}html.tv .admin-claim-row .patient{color:#fff;font-weight:800;font-size:1.05rem;margin-bottom:2px}html.tv .admin-claim-row .diagnostic{color:var(--c-tv-ink);font-size:.9rem;margin-bottom:4px}html.tv .admin-claim-row .meta{display:flex;flex-wrap:wrap;gap:8px;color:var(--c-tv-muted);font-size:.8rem}html.tv .admin-claim-row .meta b{color:var(--c-tv-ink)}html.tv .admin-claim-row .when{text-align:right;font-variant-numeric:tabular-nums}html.tv .admin-claim-row .when .big{font-size:1.6rem;font-weight:800;color:var(--c-info)}html.tv .admin-claim-row .when .hint{color:var(--c-tv-muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.05em}html.tv .admin-claim-row .when .pill{display:inline-block;background:var(--c-tv-surface-2);color:var(--c-tv-ink);padding:5px 12px;border-radius:999px;font-size:.78rem;font-weight:700;letter-spacing:.02em;max-width:100%;white-space:normal;line-height:1.25;text-align:center;box-sizing:border-box;word-break:break-word}html.tv .admin-claim-row .actions{display:flex;gap:8px}html.tv .admin-claim-row .btn{padding:8px 14px;font-size:.85rem;border-radius:999px;font-weight:700;cursor:pointer;min-height:36px;border:0}html.tv .admin-claim-row .btn-primary{background:var(--c-primary);color:#fff}html.tv .admin-claim-row .btn-primary:hover{background:var(--c-primary-dark)}html.tv .admin-claim-row .btn-ghost{background:transparent;border:1px solid var(--c-tv-surface-2);color:var(--c-tv-ink)}html.tv .admin-claim-row .btn-ghost:hover{border-color:var(--c-accent);color:var(--c-accent)}html.tv .modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000a6;display:grid;place-items:center;z-index:100;padding:16px}html.tv .modal-card{background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:16px;padding:24px;width:100%;max-width:460px;display:flex;flex-direction:column;gap:12px}html.tv .modal-card header{display:flex;align-items:center;justify-content:space-between}html.tv .modal-card header h2{margin:0;color:#fff;font-size:1.1rem}html.tv .modal-card .btn-icon{background:transparent;border:0;font-size:1.6rem;color:var(--c-tv-muted);width:36px;height:36px;border-radius:999px;cursor:pointer}html.tv .modal-card .btn-icon:hover{background:var(--c-tv-bg);color:#fff}html.tv .modal-card label{display:flex;flex-direction:column;gap:6px}html.tv .modal-card label span{color:var(--c-tv-muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}html.tv .modal-card select{background:var(--c-tv-bg);color:var(--c-tv-ink);border:1px solid var(--c-tv-surface-2);border-radius:10px;padding:12px 14px;font-size:1rem;color-scheme:dark}html.tv .modal-actions{display:flex;gap:10px;justify-content:flex-end}html.tv .modal-card .btn{padding:12px 22px;font-size:.95rem;font-weight:700;border-radius:999px;cursor:pointer;min-height:44px;border:0}html.tv .modal-card .btn-accent{background:var(--c-accent);color:#fff}html.tv .modal-card .btn-accent:hover:not(:disabled){background:var(--c-danger)}html.tv .modal-card .btn-accent:disabled{opacity:.5;cursor:not-allowed}html.tv .modal-card .btn-ghost{background:transparent;border:1px solid var(--c-tv-surface-2);color:var(--c-tv-ink)}html.tv .modal-card .btn-ghost:hover{border-color:var(--c-primary);color:#fff}@media (max-width: 899px){html.tv .admin-claim-row{grid-template-columns:70px 1fr;grid-template-areas:"rank body" "when when" "actions actions"}html.tv .admin-claim-row .rank{grid-area:rank}html.tv .admin-claim-row .body{grid-area:body}html.tv .admin-claim-row .when{grid-area:when;text-align:left}html.tv .admin-claim-row .actions{grid-area:actions}}html.tv .zoom-controls{position:fixed;left:16px;bottom:16px;display:inline-flex;align-items:center;gap:4px;background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:999px;padding:4px;box-shadow:0 6px 20px #00000059;z-index:40;font-size:14px;--zoom: 1}html.tv .zoom-controls .zoom-btn{width:36px;height:36px;border-radius:999px;border:0;background:transparent;color:var(--c-tv-ink);font-size:18px;font-weight:700;cursor:pointer;display:grid;place-items:center;line-height:1}html.tv .zoom-controls .zoom-btn:hover{background:var(--c-tv-surface-2)}html.tv .zoom-controls .zoom-btn:disabled{opacity:.35;cursor:not-allowed}html.tv .zoom-controls .zoom-readout{min-width:56px;text-align:center;background:transparent;border:0;color:var(--c-tv-ink);font-variant-numeric:tabular-nums;font-weight:700;font-size:13px;cursor:pointer;letter-spacing:.05em}html.tv .zoom-controls .zoom-readout:hover{color:var(--c-info)}html.tv .tv-screen .tv-header h1{font-size:1.8rem}html.tv .tv-screen .tv-subheader{font-size:.85rem}html.tv .tv-screen .tv-clock{font-size:1.6rem}html.tv .paturi-sections{grid-template-columns:repeat(3,1fr)}@media (max-width: 1399px){html.tv .paturi-sections{grid-template-columns:repeat(2,1fr)}}html.tv .occupancy-bar{height:14px;background:#163b48;border-radius:999px;overflow:hidden;margin-top:6px}html.tv .occupancy-bar>span{display:block;height:100%;background:linear-gradient(90deg,#6bf0ad,#00cdfb);transition:width .6s ease}html.tv .occupancy-bar.tight>span{background:linear-gradient(90deg,var(--c-warning),var(--c-accent))}html.tv .hospital-strip{font-size:1rem;text-transform:uppercase;letter-spacing:.14em;color:var(--c-tv-muted);margin-bottom:4px}html.tv .waitlist-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:32px;min-height:0}html.tv .waitlist-left{display:flex;flex-direction:column;gap:28px}html.tv .waitlist-headline{font-size:2rem;font-weight:600;color:var(--c-tv-ink);line-height:1.2;text-align:center;padding:24px 0}html.tv .waitlist-headline .big .num{font-weight:800}html.tv .waitlist-headline .waiting{margin-top:8px;color:#c662ff;font-weight:800}html.tv .waitlist-headline .waiting .num{font-size:2.4rem}html.tv .waitlist-occupancy{display:flex;flex-direction:column;gap:14px}html.tv .waitlist-occupancy-bar{display:flex;height:56px;background:var(--c-tv-surface);border-radius:10px;overflow:hidden;border:1px solid var(--c-tv-surface-2)}html.tv .waitlist-occupancy-bar .occ{background:var(--c-primary);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:1.3rem;transition:width .6s ease;border-right:1px solid rgba(0,0,0,.2)}html.tv .waitlist-occupancy-bar .occ .occ-label{background:#00000040;border-radius:999px;padding:4px 14px;min-width:48px;text-align:center}html.tv .waitlist-occupancy-bar .free{background:#1b3a44;transition:width .6s ease}html.tv .waitlist-occupancy-legend{display:flex;gap:24px;justify-content:center;font-size:.85rem;color:var(--c-tv-muted)}html.tv .waitlist-occupancy-legend .dot{display:inline-block;width:12px;height:12px;border-radius:2px;margin-right:8px;vertical-align:middle}html.tv .waitlist-occupancy-legend .dot.occ{background:var(--c-primary)}html.tv .waitlist-occupancy-legend .dot.free{background:#1b3a44}html.tv .waitlist-occupancy-legend .dot.over{background:var(--c-accent)}html.tv .waitlist-today{display:grid;grid-template-columns:1fr auto auto;gap:28px;align-items:end;padding-top:16px;border-top:1px solid var(--c-tv-surface-2)}html.tv .waitlist-today .today-label .date{font-weight:700;font-size:1.05rem}html.tv .waitlist-today .muted{color:var(--c-tv-muted);text-transform:uppercase;font-size:.75rem;letter-spacing:.1em}html.tv .waitlist-today .today-stat{text-align:center}html.tv .waitlist-today .today-stat .num{font-size:1.8rem;font-weight:800;color:var(--c-tv-ink);font-variant-numeric:tabular-nums}html.tv .waitlist-updated{color:var(--c-tv-muted);font-size:.8rem;letter-spacing:.05em}html.tv .waitlist-right{display:flex;flex-direction:column;gap:10px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--c-tv-surface-2) transparent;padding-right:6px}html.tv .waitlist-right::-webkit-scrollbar{width:8px}html.tv .waitlist-right::-webkit-scrollbar-thumb{background:var(--c-tv-surface-2);border-radius:4px}html.tv .waitlist-row{display:grid;grid-template-columns:110px 1fr auto;gap:18px;align-items:center;background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:12px;padding:12px 18px}html.tv .waitlist-row-rank{display:flex;flex-direction:column;align-items:center;gap:6px}html.tv .waitlist-row-rank .num{background:var(--c-primary);color:#fff;width:52px;height:52px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.4rem;font-variant-numeric:tabular-nums}html.tv .waitlist-row-rank .days{background:var(--c-tv-surface-2);color:var(--c-tv-ink);padding:4px 12px;border-radius:999px;font-size:.85rem;font-weight:700;font-variant-numeric:tabular-nums}html.tv .waitlist-row-body{min-width:0}html.tv .waitlist-row-body .diagnostic{font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;color:var(--c-tv-muted);line-height:1.3;margin-bottom:4px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}html.tv .waitlist-row-body .patient{font-size:1.15rem;font-weight:800;color:#fff;margin-bottom:4px}html.tv .waitlist-row-body .spital{font-size:.85rem;color:var(--c-tv-ink)}html.tv .waitlist-row-body .spital .muted{color:var(--c-tv-muted)}html.tv .waitlist-row-meta{text-align:right;font-size:.85rem;color:var(--c-tv-muted);font-variant-numeric:tabular-nums;white-space:nowrap}html.tv .waitlist-row-meta .date{font-weight:700;color:var(--c-tv-ink)}html.tv .stats-screen{height:100vh;overflow:hidden;grid-template-rows:auto auto auto 1fr}html.tv .stats-filter{display:flex;align-items:end;gap:16px;background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:12px;padding:12px 16px}html.tv .stats-filter label{display:flex;flex-direction:column;gap:4px;color:var(--c-tv-muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.08em}html.tv .stats-filter input{padding:8px 12px;background:var(--c-tv-bg);color:var(--c-tv-ink);border:1px solid var(--c-tv-surface-2);border-radius:6px;font-family:inherit;font-size:.9rem;color-scheme:dark}html.tv .stats-filter .btn-reset{padding:8px 18px;background:var(--c-tv-surface-2);color:var(--c-tv-ink);border:0;border-radius:6px;font-weight:700;letter-spacing:.08em;cursor:pointer}html.tv .stats-filter .btn-reset:hover{background:var(--c-primary-dark);color:#fff}html.tv .stats-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}html.tv .stats-kpi{background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:14px;padding:16px 20px}html.tv .stats-kpi .lbl{color:var(--c-tv-muted);font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600}html.tv .stats-kpi .val{font-size:2.4rem;line-height:1.1;font-weight:800;color:var(--c-tv-ink);font-variant-numeric:tabular-nums;margin-top:6px}html.tv .stats-kpi .val .suf{font-size:1rem;font-weight:600;margin-left:4px;opacity:.7}html.tv .stats-charts{display:grid;grid-template-columns:1.4fr 1fr;grid-template-rows:minmax(200px,1.1fr) minmax(180px,1fr);gap:16px;min-height:0;overflow:hidden}html.tv .stats-charts .stats-card{background:var(--c-tv-surface);border:1px solid var(--c-tv-surface-2);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:12px;min-height:0;overflow:hidden}html.tv .stats-charts .stats-card.chart-wide{grid-column:1 / -1}html.tv *::-webkit-scrollbar{width:8px;height:8px}html.tv *::-webkit-scrollbar-thumb{background:var(--c-tv-surface-2);border-radius:4px}html.tv *::-webkit-scrollbar-track{background:transparent}html.tv *{scrollbar-width:thin;scrollbar-color:var(--c-tv-surface-2) transparent}html.tv .stats-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}html.tv .stats-card-head h2{margin:0;color:var(--c-tv-ink);font-size:.95rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}html.tv .stats-card-head .sub{color:var(--c-tv-muted);font-size:.75rem;letter-spacing:.05em}html.tv .chart-host{flex:1 1 auto;min-height:0}html.tv .recharts-text{fill:var(--c-tv-muted)}html.tv .recharts-cartesian-axis-line{stroke:var(--c-tv-surface-2)}html.tv .recharts-default-tooltip{background:var(--c-tv-surface-2)!important;border-color:var(--c-tv-surface-2)!important;color:var(--c-tv-ink)!important}html.tv .chart-donut{display:grid;grid-template-columns:minmax(200px,1fr) minmax(160px,220px);gap:16px;flex:1;min-height:0;align-items:center}html.tv .donut-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:100%;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--c-tv-surface-2) transparent}html.tv .donut-legend li{display:grid;grid-template-columns:14px 1fr auto auto;align-items:center;gap:10px;font-size:.85rem;padding:4px 0;border-bottom:1px solid var(--c-tv-surface-2)}html.tv .donut-legend li:last-child{border-bottom:0}html.tv .donut-legend .swatch{width:14px;height:14px;border-radius:3px;display:inline-block}html.tv .donut-legend .lbl{color:var(--c-tv-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html.tv .donut-legend .num{color:var(--c-tv-ink);font-weight:800;font-variant-numeric:tabular-nums}html.tv .donut-legend .pct{color:var(--c-tv-muted);font-size:.78rem;font-variant-numeric:tabular-nums;min-width:36px;text-align:right}html.tv .donut-host{height:100%;min-height:0}@media (max-width: 899px){html.tv .chart-donut{grid-template-columns:1fr}html.tv .donut-host{min-height:200px}}html.tv .stats-wait{display:flex;flex-direction:column;gap:10px;justify-content:center;flex:1}html.tv .stats-wait .wait-row{display:flex;align-items:baseline;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--c-tv-surface-2)}html.tv .stats-wait .wait-row:last-child{border-bottom:0}html.tv .stats-wait .lbl{color:var(--c-tv-muted);font-size:.85rem;text-transform:uppercase;letter-spacing:.06em}html.tv .stats-wait .val{font-size:2rem;font-weight:800;color:var(--c-info);font-variant-numeric:tabular-nums}html.tv .stats-wait .val span{font-size:.85rem;font-weight:600;margin-left:6px;color:var(--c-tv-muted)}@media (max-width: 1399px){html.tv .waitlist-layout{grid-template-columns:1fr}html.tv .waitlist-right{max-height:none;overflow:visible}html.tv .waitlist-headline{font-size:1.5rem;padding:12px 0}html.tv .waitlist-headline .waiting .num{font-size:1.8rem}}@media (max-width: 1399px){html.tv .stats-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}html.tv .stats-kpi .val{font-size:1.8rem}html.tv .stats-wait .val{font-size:1.6rem}}@media (max-width: 1199px){html.tv .stats-screen{height:auto;overflow:auto}html.tv .stats-charts{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:minmax(280px,auto);overflow:visible}html.tv .stats-charts .stats-card{overflow:visible}html.tv .stats-charts .stats-card.chart-wide{grid-column:auto}}@media (max-width: 899px){html.tv .stats-filter{flex-wrap:wrap}html.tv .stats-kpis{grid-template-columns:repeat(2,1fr)}html.tv .stats-kpi .val{font-size:1.5rem}html.tv .chart-host{min-height:200px}html.tv .stats-card-head h2{font-size:.8rem}html.tv .stats-wait .lbl{font-size:.75rem}html.tv .stats-wait .val{font-size:1.3rem}html.tv .waitlist-row{grid-template-columns:70px 1fr;gap:12px;padding:10px 12px}html.tv .waitlist-row-rank .num{width:40px;height:40px;font-size:1.1rem}html.tv .waitlist-row-rank .days{font-size:.7rem;padding:2px 8px}html.tv .waitlist-row-body .patient{font-size:.95rem}html.tv .waitlist-row-body .diagnostic{font-size:.7rem}html.tv .waitlist-row-meta{grid-column:1 / -1;text-align:left;font-size:.75rem;padding-left:82px}html.tv .waitlist-occupancy-bar{height:40px}html.tv .waitlist-today{grid-template-columns:1fr 1fr;gap:14px}}
