@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,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)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Aboreto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/aboreto-latin-ext-400-normal-BqYHi4nq.woff2)format("woff2"),url(/assets/aboreto-latin-ext-400-normal-5VhZs4TV.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Aboreto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/aboreto-latin-400-normal-DFvlBIG0.woff2)format("woff2"),url(/assets/aboreto-latin-400-normal-CkCvLKiI.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--ink:#1f1316;--ink-2:#2c1d21;--ink-line:#38292e;--gold:#d4b26a;--gold-soft:#e2c98b;--gold-deep:#8a5a12;--champagne:#e6ded6;--sand:#bfb2a8;--paper:#f9f6f2;--surface:#fff;--surface-2:#f4efe9;--line:#e7dfd6;--line-strong:#d6cbbf;--text:#2a1f21;--muted:#6f6265;--danger:#a3243b;--radius:10px;--radius-sm:7px;--sans:"Manrope Variable", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;--display:"Aboreto", "Manrope Variable", serif;--shadow-pop:0 12px 40px #1f131638;--t-gold:#8a5a12;--t-gold-bg:#f8efd9;--t-orange:#a8460a;--t-orange-bg:#fcebdd;--t-blue:#1d58a8;--t-blue-bg:#e4eefb;--t-violet:#6532b0;--t-violet-bg:#efe8fb;--t-green:#1a6b3c;--t-green-bg:#e0f3e6;--t-stone:#5b5150;--t-stone-bg:#ece7e2;--t-red:#a3243b;--t-red-bg:#fae4e7}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--paper);color:var(--text);font:400 14px/1.5 var(--sans);-webkit-font-smoothing:antialiased;margin:0}h1,h2,h3,p,ul,ol,dl,dd{margin:0}ul,ol{padding:0;list-style:none}a{color:var(--gold-deep);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--gold-deep);outline-offset:2px}.icon{flex:none}.num{font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.nowrap{white-space:nowrap}.right{text-align:right}.truncate{text-overflow:ellipsis;white-space:nowrap;max-width:240px;overflow:hidden}.pre-wrap{white-space:pre-wrap}.text-danger{color:var(--danger)}.shell{grid-template-columns:224px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--ink);color:var(--champagne);flex-direction:column;gap:26px;height:100vh;padding:22px 12px;display:flex;position:sticky;top:0}.brand{color:inherit;padding:2px 12px;display:block}.brand:hover{text-decoration:none}.brand-name{font-family:var(--display);letter-spacing:.04em;color:var(--gold-soft);font-size:21px;line-height:1.15;display:block}.brand-sub{letter-spacing:.14em;text-transform:uppercase;color:var(--sand);margin-top:3px;font-size:11px;display:block}.sidebar nav{flex-direction:column;gap:2px;display:flex}.nav-item{border-radius:var(--radius-sm);color:var(--sand);align-items:center;gap:11px;padding:9px 12px;font-weight:500;display:flex}.nav-item:hover{background:var(--ink-2);color:var(--champagne);text-decoration:none}.nav-item.is-on{color:var(--gold-soft);background:#d4b26a24}.nav-item:focus-visible{outline-color:var(--gold)}.nav-label{flex:1;min-width:0}.nav-badge{background:var(--gold);color:var(--ink);font-variant-numeric:tabular-nums;border-radius:999px;padding:4px 7px;font-size:11.5px;font-weight:700;line-height:1}.main{flex-direction:column;min-width:0;display:flex}.page{width:100%;max-width:1480px;padding:26px 32px 56px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.page-head h1,.patient-id h1{font-family:var(--display);letter-spacing:.01em;font-size:27px;font-weight:400;line-height:1.2}.page-sub{color:var(--muted);max-width:62ch;margin-top:3px}.page-actions{flex-wrap:wrap;gap:8px;display:flex}.section-title{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:10px;font-size:12px;font-weight:700}.demo-banner{background:#f8efd9;border-bottom:1px solid #ecdcb3;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:9px 32px;font-size:13px;display:flex}.btn{border-radius:var(--radius-sm);white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:7px 14px;font-size:13.5px;font-weight:600;line-height:1.2;transition:background-color .12s,border-color .12s;display:inline-flex}.btn:hover{text-decoration:none}.btn:disabled{opacity:.55}.btn-sm{min-height:30px;padding:4px 10px;font-size:12.5px}.btn-primary{background:var(--ink);color:var(--champagne)}.btn-primary:hover:not(:disabled){background:#3a262b}.btn-secondary{background:var(--surface);border-color:var(--line-strong);color:var(--text)}.btn-secondary:hover:not(:disabled){background:var(--surface-2)}.btn-gold{background:var(--gold);color:var(--ink)}.btn-gold:hover:not(:disabled){background:var(--gold-soft)}.btn-ghost{color:var(--muted);background:0 0}.btn-ghost:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:#8a1d31}.icon-btn{border-radius:var(--radius-sm);width:34px;height:34px;color:var(--muted);background:0 0;border:0;flex:none;place-items:center;display:inline-grid}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.icon-btn-line{border:1px solid var(--line-strong);background:var(--surface);width:36px;height:36px}.icon-btn-sm{width:22px;height:22px}.link-btn{color:var(--gold-deep);background:0 0;border:0;padding:0;font-size:13px;font-weight:600}.link-btn:hover{text-decoration:underline}.badge{white-space:nowrap;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:600;line-height:1.5;display:inline-block}.badge-gold{background:var(--t-gold-bg);color:var(--t-gold)}.badge-orange{background:var(--t-orange-bg);color:var(--t-orange)}.badge-blue{background:var(--t-blue-bg);color:var(--t-blue)}.badge-violet{background:var(--t-violet-bg);color:var(--t-violet)}.badge-green{background:var(--t-green-bg);color:var(--t-green)}.badge-stone{background:var(--t-stone-bg);color:var(--t-stone)}.badge-red{background:var(--t-red-bg);color:var(--t-red)}.tone-gold{background:#c79a3c}.tone-orange{background:#d9721f}.tone-blue{background:#2f76d2}.tone-violet{background:#7c4fd0}.tone-green{background:#2a9456}.tone-stone{background:#94897f}.tone-red{background:#c43a52}.dot{border-radius:50%;flex:none;display:inline-block}input:not([type=checkbox],[type=radio],[type=color]),select,textarea{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-sm);width:100%;min-height:38px;padding:7px 10px}textarea{resize:vertical;min-height:60px}input::placeholder,textarea::placeholder{color:#94898b}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold-deep);outline-offset:0;border-color:var(--gold-deep)}.form{flex-direction:column;gap:14px;display:flex}.form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.form-row-4{grid-template-columns:1.35fr .9fr .8fr .8fr}.field{border:0;flex-direction:column;gap:5px;min-width:0;margin:0;padding:0;display:flex}.field-label{color:var(--text);padding:0;font-size:12.5px;font-weight:600}.field-hint{color:var(--muted);font-size:12px}.field-error{color:var(--danger);font-size:12.5px}.form-error{color:var(--danger);background:var(--t-red-bg);border-radius:var(--radius-sm);padding:8px 12px;font-weight:500}.form-note{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;margin-top:-6px;font-size:12.5px;display:flex}.form-actions{justify-content:flex-end;gap:8px;display:flex}.check{align-items:center;gap:8px;display:flex}.notice{background:var(--t-gold-bg);border-radius:var(--radius-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;font-size:13px;display:flex}.search{min-width:180px;max-width:380px;color:var(--muted);flex:1;align-items:center;display:flex;position:relative}.search .icon{pointer-events:none;position:absolute;left:11px}.search input{color:var(--text);padding-left:33px}.modal{background:var(--surface);color:var(--text);box-shadow:var(--shadow-pop);border:0;border-radius:13px;width:min(600px,100vw - 32px);max-height:calc(100dvh - 48px);padding:0;overflow:hidden}.modal[open]{display:flex}.modal::backdrop{background:#1f131680}.modal-sm{width:min(440px,100vw - 32px)}.modal-lg{width:min(860px,100vw - 32px)}.modal-inner{flex-direction:column;width:100%;min-height:0;max-height:100%;display:flex}.modal-head{align-items:flex-start;gap:12px;padding:18px 16px 12px 22px;display:flex}.modal-titles{flex:1;min-width:0}.modal-head h2{font-size:18px;font-weight:700;line-height:1.3}.modal-subtitle{color:var(--muted);margin-top:3px;font-size:13px}.modal-body{flex:1;min-height:0;padding:4px 22px 18px;overflow-y:auto}.modal-foot{border-top:1px solid var(--line);background:var(--surface);justify-content:flex-end;gap:8px;padding:12px 22px;display:flex}.foot-left{margin-right:auto}.confirm-body{color:var(--muted)}.modal-drawer{border-radius:0;width:min(480px,100vw);height:100dvh;max-height:100dvh;margin:0 0 0 auto}.drawer-section{margin-top:20px}.drawer-section h3{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:9px;font-size:12px;font-weight:700}.drawer-phone{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.phone-big{color:var(--text);align-items:center;gap:9px;font-size:21px;font-weight:700;display:inline-flex}.phone-link{color:var(--text);align-items:center;gap:6px;font-weight:500;display:inline-flex}.phone-link .icon{color:var(--gold-deep)}.drawer-foot{border-top:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:6px;margin-top:22px;padding-top:14px;font-size:12px;display:flex}.outcome-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.outcome{text-align:left;background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-sm);flex-direction:column;align-items:flex-start;gap:1px;padding:9px 12px;display:flex}.outcome strong{font-size:13.5px;font-weight:600}.outcome span{color:var(--muted);font-size:12px}.outcome:hover{background:var(--surface-2)}.outcome.is-on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.outcome-book{background:var(--gold);border-color:var(--gold);grid-column:1/-1}.outcome-book:hover{background:var(--gold-soft)}.outcome-book span{color:#4c3b1d}.call-form{background:var(--surface-2);border-radius:var(--radius-sm);margin-top:12px;padding:12px}.timeline{flex-direction:column;gap:12px;display:flex}.timeline li{grid-template-columns:12px minmax(0,1fr);gap:10px;display:grid}.timeline-dot{border-radius:50%;width:9px;height:9px;margin-top:6px}.timeline-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.timeline-head .muted{font-size:12.5px}.timeline-head .icon-btn{margin-left:auto}.timeline-body p{font-size:13px}.timeline-body p.muted{font-size:12.5px}.info-list{gap:7px;display:grid}.info-list>div{grid-template-columns:110px minmax(0,1fr);gap:10px;display:grid}.info-list dt{color:var(--muted);font-size:13px}.info-list dd{overflow-wrap:anywhere}.toasts{background:0 0;border:0;flex-direction:column;align-items:flex-end;gap:8px;max-width:min(440px,100vw - 40px);margin:0;padding:0;display:none;position:fixed;inset:auto 20px 20px auto;overflow:visible}.toasts:popover-open{display:flex}.toast{background:var(--ink);color:var(--champagne);border-radius:var(--radius-sm);box-shadow:var(--shadow-pop);align-items:center;gap:10px;padding:10px 14px;font-size:13.5px;font-weight:500;display:flex}.toast .icon{color:var(--gold)}.toast-error{background:var(--danger);color:#fff}.toast-error .icon{color:#fff}.toast button{color:var(--gold-soft);white-space:nowrap;background:0 0;border:0;padding:0 0 0 6px;font-weight:700}.toast button:hover{text-decoration:underline}.empty{text-align:center;background:var(--surface);border:1px dashed var(--line-strong);border-radius:var(--radius);flex-direction:column;align-items:center;gap:8px;padding:56px 20px;display:flex}.empty-icon{background:var(--surface-2);width:54px;height:54px;color:var(--gold-deep);border-radius:50%;place-items:center;display:grid}.empty h3{margin-top:4px;font-size:16px;font-weight:700}.empty-body{color:var(--muted);flex-direction:column;align-items:center;gap:12px;max-width:46ch;display:flex}.list-tools{flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:12px;display:flex}.lead-filters{flex-wrap:wrap;align-items:flex-end;gap:8px 12px;margin:-4px 0 14px;display:flex}.filter{color:var(--muted);flex-direction:column;gap:3px;font-size:12px;font-weight:600;display:flex}.filter select,.filter input{min-height:34px;color:var(--text);width:auto;max-width:220px;padding:5px 8px;font-size:13px;font-weight:400}.th-sort{font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex}.th-sort:hover,.th-sort.is-on{color:var(--text)}.th-arrow{opacity:.5;font-size:11px}.table.table-resizable{table-layout:fixed;width:var(--table-w)}.table-resizable th{text-overflow:ellipsis;position:relative;overflow:hidden}.table-resizable td{text-overflow:ellipsis;overflow:hidden}.table-resizable .truncate{max-width:none}th:has(>.col-resize){position:relative}.col-resize{cursor:col-resize;touch-action:none;width:9px;height:100%;position:absolute;top:0;right:0}.col-resize:after{content:"";background:var(--line-strong);width:1px;position:absolute;top:28%;bottom:28%;right:3px}.col-resize:hover:after,.col-resize:focus-visible:after{background:var(--gold-deep);width:2px;top:0;bottom:0}.col-resize:focus-visible{outline:none}body.is-resizing,body.is-resizing *{-webkit-user-select:none;user-select:none;cursor:col-resize!important}.cols-reset{margin-left:auto}.th-sort.is-on .th-arrow{opacity:1;color:var(--gold-deep)}.list-total{font-size:13px}.table-wrap{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow-x:auto}.table{border-collapse:collapse;width:100%}.table th{text-align:left;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;padding:10px 14px;font-size:11.5px;font-weight:700}.table th.right{text-align:right}.table td{border-bottom:1px solid var(--line);vertical-align:top;padding:11px 14px}.table tbody tr:last-child td{border-bottom:0}.table-click tbody tr{cursor:pointer}.table-click tbody tr:hover{background:#fcfaf7}.table tr.is-off td{opacity:.55}.table-compact td{padding:7px 12px;font-size:13px}.table-compact th{padding:7px 12px}.row-title{color:var(--text);text-align:left;background:0 0;border:0;padding:0;font-weight:600}a.row-title:hover,button.row-title:hover{text-decoration:underline}.row-sub{color:var(--muted);font-size:12.5px}.row-tag{color:var(--t-green);background:var(--t-green-bg);white-space:nowrap;border-radius:999px;margin-left:8px;padding:1px 7px;font-size:11px;font-weight:600}.row-actions{text-align:right;white-space:nowrap;cursor:default}.row-actions .btn+.btn{margin-left:6px}.table-click .row-actions .icon{color:var(--muted)}.load-more{justify-content:center;padding:16px;display:flex}.calls-cell{flex-direction:column;gap:1px;font-size:13px;display:flex}.calls-next{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:4px;font-size:12.5px;display:inline-flex}.calls-next.is-overdue{color:var(--danger);font-weight:600}.tabs{flex-wrap:wrap;gap:6px;margin-bottom:14px;display:flex}.tab{background:var(--surface);border:1px solid var(--line);color:var(--text);white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:6px 11px;font-size:13px;font-weight:500;display:inline-flex}.tab:hover{border-color:var(--line-strong);background:var(--surface-2)}.tab.is-on{background:var(--ink);border-color:var(--ink);color:var(--champagne)}.tab-dot{border-radius:50%;width:8px;height:8px}.tab-count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.tab.is-on .tab-count{color:var(--gold-soft)}.tab-due:not(.is-on){border-color:var(--gold);background:var(--t-gold-bg)}.status-row{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:6px;padding-bottom:12px;display:flex}.status-label{margin-right:4px;font-size:12.5px;font-weight:600}.status-btn{background:var(--surface);border:1px solid var(--line-strong);border-radius:999px;padding:5px 11px;font-size:12.5px;font-weight:600}.status-btn:hover:not(:disabled){background:var(--surface-2)}.status-btn.is-on.status-green{background:var(--t-green-bg);border-color:var(--t-green);color:var(--t-green)}.status-btn.is-on.status-orange{background:var(--t-orange-bg);border-color:var(--t-orange);color:var(--t-orange)}.status-btn.is-on.status-stone{background:var(--t-stone-bg);border-color:var(--t-stone);color:var(--t-stone)}.status-btn.is-on.status-blue{background:var(--t-blue-bg);border-color:var(--t-blue);color:var(--t-blue)}.patient-picked{background:var(--surface-2);border-radius:var(--radius-sm);justify-content:space-between;align-items:center;gap:10px;min-height:38px;padding:7px 8px 7px 12px;display:flex}.patient-new{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.patient-new>*{width:100%}.patient-new>.link-btn{width:auto}.combo{position:relative}.combo-list{z-index:5;background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-pop);max-height:260px;margin-top:4px;position:absolute;top:100%;left:0;right:0;overflow-y:auto}.combo-list button{text-align:left;background:0 0;border:0;justify-content:space-between;gap:10px;width:100%;padding:9px 12px;display:flex}.combo-list button:hover{background:var(--surface-2)}.combo-new{color:var(--gold-deep);align-items:center;font-weight:600;border-top:1px solid var(--line)!important;justify-content:flex-start!important}.spec-choice{flex-wrap:wrap;gap:6px;display:flex}.spec-chip{background:var(--surface);border:1px solid var(--line-strong);cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:6px 12px;font-weight:500;display:inline-flex}.spec-chip input{opacity:0;pointer-events:none;position:absolute}.spec-chip:has(input:focus-visible){outline:2px solid var(--gold-deep);outline-offset:2px}.spec-chip:hover{background:var(--surface-2)}.spec-chip.is-on{border-color:var(--c);box-shadow:inset 0 0 0 1px var(--c);background:color-mix(in srgb, var(--c) 10%, white);font-weight:600}.conflict{background:var(--t-orange-bg);border-radius:var(--radius-sm);flex-direction:column;gap:10px;padding:12px 14px;display:flex}.conflict-actions{justify-content:flex-end;gap:8px;display:flex}.page-calendar{flex-direction:column;flex:none;height:100dvh;min-height:560px;padding-bottom:20px;display:flex}.main:has(.demo-banner) .page-calendar{height:calc(100dvh - 50px)}.nudge{background:var(--t-gold-bg);border-radius:var(--radius-sm);text-align:left;width:100%;color:var(--text);border:1px solid #ecdcb3;align-items:center;gap:9px;margin-bottom:12px;padding:8px 12px;font-size:13px;display:flex}.nudge .icon{color:var(--t-gold)}.nudge:hover{background:#f5e8c7}.nudge-link{color:var(--t-gold);white-space:nowrap;margin-left:auto;font-weight:700}.cal-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.cal-nav{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.cal-title{margin-left:8px;font-size:17px;font-weight:700}.cal-jump{cursor:pointer;color:#0000!important;width:38px!important;padding:7px!important}.cal-jump::-webkit-datetime-edit{display:none}.cal-jump::-webkit-calendar-picker-indicator{cursor:pointer;margin:0}.segmented{background:var(--surface-2);border-radius:var(--radius-sm);padding:3px;display:inline-flex}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:5px;padding:5px 14px;font-size:13px;font-weight:600}.segmented button.is-on{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #1f131624}.legend{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:12px;display:flex}.legend-item{background:color-mix(in srgb, var(--c) 10%, white);border:1px solid color-mix(in srgb, var(--c) 45%, white);border-radius:999px;align-items:center;gap:7px;padding:4px 11px 4px 9px;font-size:13px;font-weight:600;display:inline-flex}.legend-swatch{background:var(--c);border-radius:3px;width:11px;height:11px}.legend-count{color:color-mix(in srgb, var(--c) 75%, black);font-variant-numeric:tabular-nums;font-size:12px;font-weight:700}.legend-item.is-off{background:var(--surface);border-color:var(--line);color:var(--muted);text-decoration:line-through}.legend-item.is-off .legend-swatch{background:var(--line-strong)}.legend-item.is-off .legend-count{color:var(--muted)}.tg{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);--gutter:58px;--hour:calc(60px * var(--px));--min-col:132px;flex:1;min-height:360px;overflow:auto}.tg-head{z-index:6;grid-template-columns:var(--gutter) repeat(var(--cols), minmax(var(--min-col), 1fr));background:var(--surface);border-bottom:1px solid var(--line);min-width:max-content;display:grid;position:sticky;top:0}.tg-corner{background:var(--surface);z-index:1;position:sticky;left:0}.tg-head-cell{border-left:1px solid var(--line);justify-content:center;min-width:0;padding:8px;display:flex}.tg-spec{align-items:center;gap:7px;font-size:13.5px;font-weight:700;display:inline-flex}.tg-spec-count{background:color-mix(in srgb, var(--c) 14%, white);color:color-mix(in srgb, var(--c) 75%, black);font-variant-numeric:tabular-nums;border-radius:999px;padding:0 6px;font-size:11.5px;font-weight:700}.tg-day{border-radius:var(--radius-sm);background:0 0;border:0;align-items:center;gap:7px;padding:2px 6px;display:inline-flex}.tg-day:hover{background:var(--surface-2)}.tg-day-name{color:var(--muted);font-size:12.5px;font-weight:600}.tg-day-num{font-variant-numeric:tabular-nums;border-radius:50%;place-items:center;min-width:26px;height:26px;font-size:15px;font-weight:700;display:inline-grid}.tg-day.is-today .tg-day-num{background:var(--gold);color:var(--ink)}.tg-body{grid-template-columns:var(--gutter) repeat(var(--cols), minmax(var(--min-col), 1fr));min-width:max-content;display:grid;position:relative}.tg-times{z-index:4;background:var(--surface);position:sticky;left:0}.tg-time{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11.5px;position:absolute;right:8px;transform:translateY(-50%)}.tg-time:first-child{transform:none;top:2px!important}.tg-col{border-left:1px solid var(--line);cursor:pointer;background-image:linear-gradient(to bottom, var(--line) 1px, transparent 1px), linear-gradient(to bottom, #f3eee8 1px, transparent 1px);background-size:100% var(--hour), 100% calc(var(--hour) / 2);position:relative}.tg-col.is-today{background-color:#fdfbf4}.tg-hover{height:calc(15px * var(--px));color:var(--gold-deep);font-size:11px;font-weight:600;line-height:calc(15px * var(--px));pointer-events:none;font-variant-numeric:tabular-nums;background:#d4b26a33;border-radius:3px;padding-left:6px;position:absolute;left:2px;right:3px}.tg-now{background:var(--danger);z-index:3;pointer-events:none;height:2px;position:absolute;left:0;right:0}.tg-now:before{content:"";background:var(--danger);border-radius:50%;width:8px;height:8px;position:absolute;top:-3px;left:-4px}.appt{background:color-mix(in srgb, var(--c) 15%, white);border:0;border-left:3px solid var(--c);text-align:left;color:var(--text);z-index:2;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:5px;flex-direction:column;align-items:flex-start;gap:0;padding:3px 6px 3px 8px;font-size:12.5px;line-height:1.3;display:flex;position:absolute;overflow:hidden}.appt:hover{background:color-mix(in srgb, var(--c) 24%, white);z-index:3}.appt-line{max-width:100%;color:color-mix(in srgb, var(--c) 72%, black);align-items:center;gap:5px;display:flex}.appt-time{font-variant-numeric:tabular-nums;color:color-mix(in srgb, var(--c) 72%, black);font-size:11.5px;font-weight:700}.appt-name{white-space:nowrap;text-overflow:ellipsis;max-width:100%;color:var(--text);font-weight:600;overflow:hidden}.appt-proc{color:#5a4d50;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.appt-spec{color:var(--muted);align-items:center;gap:4px;margin-top:auto;font-size:11px;display:inline-flex}.appt.is-compact{justify-content:center}.appt.is-dragging{opacity:.35}.appt-completed{background:color-mix(in srgb, var(--c) 28%, white)}.appt-completed:hover{background:color-mix(in srgb, var(--c) 36%, white)}.appt-no_show{border-left-color:color-mix(in srgb, var(--c) 45%, #bbb);background:repeating-linear-gradient(135deg,#f2eee9,#f2eee9 5px,#e9e3dc 5px 10px)}.appt-no_show .appt-name{color:var(--muted);text-decoration:line-through}.appt-no_show .appt-proc{color:var(--muted)}.appt-unresolved{outline:1.5px dashed color-mix(in srgb, var(--c) 70%, black);outline-offset:-1.5px}.appt-ghost{z-index:5;background:color-mix(in srgb, var(--c) 30%, white);border-left:3px solid var(--c);pointer-events:none;white-space:nowrap;border-radius:5px;padding:3px 7px;font-size:12px;font-weight:700;position:absolute;left:2px;right:3px;overflow:hidden;box-shadow:0 4px 14px #1f131640}.appt-preview{cursor:default;width:220px;margin-top:5px;position:static}.appt-preview:hover{background:color-mix(in srgb, var(--c) 15%, white)}.appt-preview-wrap{flex-direction:column;display:flex}.mg{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;flex:1;min-height:360px;display:flex;overflow-y:auto}.mg-head{border-bottom:1px solid var(--line);z-index:2;background:var(--surface);grid-template-columns:repeat(7,minmax(0,1fr));display:grid;position:sticky;top:0}.mg-head>div{color:var(--muted);padding:7px 8px;font-size:12px;font-weight:700}.mg-grid{flex:none;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:minmax(130px,auto);display:grid}.mg-cell{border-right:1px solid var(--line);border-bottom:1px solid var(--line);flex-direction:column;gap:2px;min-width:0;padding:3px 4px 5px;display:flex;overflow:hidden}.mg-cell:nth-child(7n){border-right:0}.mg-cell:nth-last-child(-n+7){border-bottom:0}.mg-cell.is-out{background:#fbf9f6}.mg-cell.is-out .mg-num{color:#a79c9e}.mg-date{background:0 0;border:0;border-radius:4px;justify-content:space-between;align-items:center;gap:4px;padding:1px 2px;display:flex}.mg-date:hover{background:var(--surface-2)}.mg-num{font-variant-numeric:tabular-nums;border-radius:50%;place-items:center;min-width:22px;height:22px;font-size:12.5px;font-weight:700;display:inline-grid}.mg-cell.is-today .mg-num{background:var(--gold);color:var(--ink)}.mg-dots{gap:2px;display:inline-flex}.mg-chip{background:color-mix(in srgb, var(--c) 15%, white);border:0;border-left:3px solid var(--c);text-align:left;white-space:nowrap;text-overflow:ellipsis;border-radius:3px;width:100%;padding:1px 5px;font-size:11.5px;line-height:1.45;display:block;overflow:hidden}.mg-chip:hover{background:color-mix(in srgb, var(--c) 26%, white)}.mg-chip.appt-no_show{color:var(--muted);background:#f2eee9;text-decoration:line-through}.mg-chip-time{font-variant-numeric:tabular-nums;font-weight:700}.mg-more{text-align:left;color:var(--gold-deep);background:0 0;border:0;padding:0 5px;font-size:11.5px;font-weight:600}.mg-more:hover{text-decoration:underline}.unresolved{flex-direction:column;display:flex}.unresolved li{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 0;display:flex}.unresolved li:last-child{border-bottom:0}.unresolved-main{text-align:left;background:0 0;border:0;flex-direction:column;flex:1;align-items:flex-start;min-width:220px;padding:0;display:flex}.unresolved-main .muted{font-size:13px}.unresolved-spec{align-items:center;gap:5px;display:inline-flex}.unresolved-actions{gap:6px;display:flex}.dropzone{text-align:center;border:1.5px dashed var(--line-strong);border-radius:var(--radius);background:var(--paper);flex-direction:column;align-items:center;gap:10px;padding:30px 20px;display:flex}.dropzone.is-over{border-color:var(--gold-deep);background:var(--t-gold-bg)}.dropzone-icon{background:var(--surface);width:50px;height:50px;color:var(--gold-deep);border:1px solid var(--line);border-radius:50%;place-items:center;display:grid}.dropzone-note{font-size:12.5px}.import-help{margin-top:18px;font-size:13.5px}.import-help h3{margin-bottom:6px;font-size:13.5px;font-weight:700}.import-help ol{flex-direction:column;gap:3px;margin-bottom:9px;padding-left:20px;list-style:decimal;display:flex}.import-summary{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin-bottom:16px;display:grid}.stat{background:var(--surface-2);border-radius:var(--radius-sm);color:var(--muted);flex-direction:column;padding:9px 12px;font-size:12.5px;display:flex}.stat-num{color:var(--text);font-variant-numeric:tabular-nums;font-size:21px;font-weight:700;line-height:1.25}.stat-green{background:var(--t-green-bg)}.stat-green .stat-num{color:var(--t-green)}.stat-red{background:var(--t-red-bg)}.stat-red .stat-num{color:var(--t-red)}.import-section{margin-bottom:16px}.import-section h3{margin-bottom:2px;font-size:13.5px;font-weight:700}.import-section .table-wrap{margin-top:8px}.mapping-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:9px 14px;margin-top:10px;display:grid}.mapping-item{flex-direction:column;gap:3px;font-size:12.5px;font-weight:600;display:flex}.mapping-item select{min-height:34px;padding:5px 8px;font-size:13px;font-weight:400}.req{color:var(--danger);font-style:normal}.import-result{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:10px 0;display:flex}.import-result-icon{background:var(--t-green-bg);width:54px;height:54px;color:var(--t-green);border-radius:50%;place-items:center;display:grid}.import-result-main{font-size:16px;font-weight:700}.back-link{color:var(--muted);align-items:center;gap:5px;margin-bottom:12px;font-size:13px;display:inline-flex}.patient-head{flex-wrap:wrap;align-items:center;gap:15px;margin-bottom:18px;display:flex}.avatar{background:var(--ink);width:56px;height:56px;color:var(--gold-soft);text-transform:uppercase;border-radius:50%;flex:none;place-items:center;font-size:19px;font-weight:600;display:grid}.patient-id{flex:1;min-width:220px}.patient-contacts{flex-wrap:wrap;gap:6px 16px;margin-top:2px;font-size:13.5px;display:flex}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;min-width:0;padding:13px 16px;display:flex}.stat-card-num{font-variant-numeric:tabular-nums;font-size:27px;font-weight:700;line-height:1.2}.stat-card-text{white-space:nowrap;text-overflow:ellipsis;height:32px;font-size:17px;line-height:40px;overflow:hidden}.stat-card-label{color:var(--muted);font-size:12.5px}.card-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:16px;display:grid}.card-main,.card-side{flex-direction:column;gap:16px;min-width:0;display:flex}.card-side>.btn{align-self:flex-start}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:15px 18px}.panel h2{margin-bottom:10px;font-size:15px;font-weight:700}.panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.panel-head h2{margin-bottom:0}.panel-empty{font-size:13.5px}.visits{margin:0 -18px -15px}.visit{border-top:1px solid var(--line)}.visit button{text-align:left;background:0 0;border:0;grid-template-columns:92px minmax(0,1fr) auto;align-items:start;gap:12px;width:100%;padding:10px 18px;display:grid}.visit:last-child button{border-radius:0 0 var(--radius) var(--radius)}.visit button:hover{background:#fcfaf7}.visit.is-muted .visit-proc{color:var(--muted)}.visit-date{flex-direction:column;font-size:13px;display:flex}.visit-date strong{font-weight:600}.visit-main{flex-direction:column;gap:1px;min-width:0;display:flex}.visit-proc{font-weight:600}.visit-meta{flex-wrap:wrap;gap:4px 12px;font-size:12.5px;display:flex}.visit-spec{align-items:center;gap:5px;display:inline-flex}.visit-notes{color:var(--muted);margin-top:2px;font-size:12.5px}.proc-summary{flex-direction:column;gap:10px;display:flex}.proc-summary li{grid-template-columns:34px minmax(0,1fr);gap:8px;display:grid}.proc-times{color:var(--gold-deep);font-size:15px;font-weight:700;line-height:1.4}.lead-origin{flex-direction:column;gap:8px;display:flex}.spec-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;display:grid}.spec-card{background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--c);border-radius:var(--radius);flex-direction:column;gap:12px;padding:15px 16px;display:flex}.spec-card-top{align-items:flex-start;gap:11px;display:flex}.spec-avatar{background:color-mix(in srgb, var(--c) 16%, white);width:44px;height:44px;color:color-mix(in srgb, var(--c) 78%, black);text-transform:uppercase;border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid}.spec-card-id{flex:1;min-width:0}.spec-card-id h2{font-size:16px;font-weight:700;line-height:1.3}.spec-card-id p{font-size:13px}.spec-stats{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:8px;padding-top:11px;display:grid}.spec-stats dt{color:var(--muted);font-size:12px}.spec-stats dd{font-size:19px;font-weight:700}.spec-contacts{flex-direction:column;gap:1px;font-size:13px;display:flex}.spec-inactive{margin-top:28px}.spec-inactive ul{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;display:flex}.spec-inactive li{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding:9px 14px;display:flex}.spec-inactive li:last-child{border-bottom:0}.spec-inactive li>span:nth-child(2){flex:1;min-width:100px;font-weight:600}.swatches{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.swatch{background:var(--c);cursor:pointer;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:relative}.swatch input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.swatch:has(input:focus-visible){outline:2px solid var(--gold-deep);outline-offset:2px}.swatch.is-on{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--c)}.swatch-owner{color:#fff;pointer-events:none;text-transform:uppercase;font-size:12px;font-weight:700}.swatch-custom{color:var(--muted);cursor:pointer;align-items:center;gap:5px;margin-left:4px;font-size:12.5px;display:inline-flex}.swatch-custom input{border:1px solid var(--line-strong);cursor:pointer;background:0 0;border-radius:6px;width:30px;height:30px;padding:0}.proc-group{margin-bottom:20px}.auth-screen{background:var(--ink);place-items:center;min-height:100dvh;padding:24px 16px;display:grid}.auth-card{background:var(--surface);width:min(420px,100%);box-shadow:var(--shadow-pop);border-radius:14px;padding:28px 28px 24px}.auth-brand{margin-bottom:22px}.auth-brand .brand-name{color:var(--ink)}.auth-brand .brand-sub{color:var(--muted)}.auth-card h1{margin-bottom:4px;font-size:20px;font-weight:700}.auth-sub{color:var(--muted);margin-bottom:16px}.auth-card .form{margin-top:14px}.auth-card .btn-primary{min-height:42px}.auth-note{color:var(--muted);text-align:center;font-size:12.5px}.user-box{border-top:1px solid var(--ink-line);grid-template-columns:auto minmax(0,1fr);gap:4px 10px;margin-top:auto;padding:12px;display:grid}.user-avatar{background:var(--ink-2);width:34px;height:34px;color:var(--gold-soft);text-transform:uppercase;border-radius:50%;grid-row:span 2;place-items:center;font-size:13px;font-weight:600;display:grid}.user-id{flex-direction:column;min-width:0;display:flex}.user-name{color:var(--champagne);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.user-role{color:var(--sand);font-size:11.5px}.user-actions{gap:10px;display:flex}.user-actions button{color:var(--sand);text-underline-offset:2px;background:0 0;border:0;padding:0;font-size:12px;text-decoration:underline}.user-actions button:hover{color:var(--gold-soft)}.nav-more{text-align:left;font:inherit;background:0 0;border:0;display:none}.more-list{flex-direction:column;gap:2px;display:flex}.more-list a{border-radius:var(--radius-sm);color:var(--text);align-items:center;gap:10px;padding:11px 10px;font-weight:500;display:flex}.more-list a:hover,.more-list a.is-on{background:var(--surface-2);text-decoration:none}.more-user{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;padding-top:14px;display:flex}.panel-alert{background:#fffaf6;border-color:#ecc3ab}.flag-list{flex-wrap:wrap;gap:6px;display:flex}.flag{background:var(--t-orange-bg);color:var(--t-orange);border-radius:999px;align-items:center;gap:5px;padding:3px 9px;font-size:12.5px;font-weight:600;display:inline-flex}.health-notes{margin-top:10px;font-size:13.5px}.check-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 14px;margin-top:6px;display:grid}.check-grid .check{align-items:flex-start;font-size:13px;line-height:1.35}.check-grid .check input{margin-top:2px}.contra-warning{background:var(--t-orange-bg);border-radius:var(--radius-sm);color:#6d2c05;border:1px solid #f0c9a6;gap:10px;padding:10px 12px;font-size:13.5px;display:flex}.contra-warning .icon{color:var(--t-orange);margin-top:1px}.contra-warning .muted{color:#8a4a1f;margin-top:2px;font-size:12.5px}.health-hint{color:var(--t-orange);margin-top:-4px}.course-field{background:var(--surface-2);border-radius:var(--radius-sm);flex-direction:column;gap:8px;padding:10px 12px;display:flex}.course-field select{background:var(--surface)}.audit{color:var(--muted);font-size:12px}.courses{flex-direction:column;gap:12px;display:flex}.course{border-bottom:1px solid var(--line);flex-direction:column;gap:6px;padding-bottom:12px;display:flex}.course:last-child{border-bottom:0;padding-bottom:0}.course-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.course-head strong{font-size:13.5px}.course-count{white-space:nowrap;font-size:13px;font-weight:700}.course-progress{background:var(--surface-2);border-radius:4px;gap:2px;height:8px;display:flex;overflow:hidden}.course-bar-done{background:var(--gold-deep);border-radius:4px}.course-bar-planned{background:#e3c98f;border-radius:4px}.course-meta{flex-wrap:wrap;gap:2px 10px;font-size:12.5px;display:flex}.course-due{color:var(--t-orange);font-size:12.5px;font-weight:600}.course-actions{flex-wrap:wrap;gap:4px;margin-top:2px;display:flex}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;display:grid}.photo-thumb{aspect-ratio:3/4;border-radius:var(--radius-sm);background:var(--surface-2);border:0;padding:0;position:relative;overflow:hidden}.photo-thumb img{object-fit:cover;width:100%;height:100%;transition:transform .15s;display:block}.photo-thumb:hover img{transform:scale(1.03)}.photo-kind{color:var(--text);background:#ffffffeb;border-radius:999px;padding:1px 7px;font-size:11px;font-weight:700;position:absolute;top:6px;left:6px}.photo-kind-before{color:var(--t-gold)}.photo-kind-after{color:var(--t-green)}.photo-date{color:#fff;text-align:left;background:linear-gradient(#0000,#0000008c);padding:14px 7px 5px;font-size:11.5px;position:absolute;bottom:0;left:0;right:0}.upload-previews{gap:6px;margin-bottom:14px;display:flex;overflow-x:auto}.upload-previews img{object-fit:cover;border-radius:6px;flex:none;height:92px}.viewer{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.viewer-compare{grid-template-columns:1fr 1fr}.viewer figure{flex-direction:column;gap:6px;min-width:0;margin:0;display:flex}.viewer img{object-fit:contain;border-radius:var(--radius-sm);background:#f2eee9;width:100%;max-height:62vh}.viewer-meta{flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:13px;display:flex}.viewer-strip{flex-direction:column;gap:6px;margin-top:14px;display:flex}.viewer-thumbs{gap:6px;padding-bottom:4px;display:flex;overflow-x:auto}.viewer-thumb{background:var(--surface-2);border:2px solid #0000;border-radius:6px;flex:none;width:64px;height:80px;padding:0;position:relative;overflow:hidden}.viewer-thumb img{object-fit:cover;width:100%;height:100%;display:block}.viewer-thumb .photo-kind{padding:0 5px;font-size:9.5px;top:3px;left:3px}.viewer-thumb.is-on{border-color:var(--gold-deep)}.proc-extra{flex-direction:column;gap:2px;font-size:12.5px;display:flex}.proc-extra span{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.contra-count{color:var(--t-orange);font-weight:600}.report-filters{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px;display:flex}.range-inputs{align-items:center;gap:6px;display:flex}.range-inputs input{width:auto;min-height:34px}.is-refreshing{opacity:.6;transition:opacity .15s}.funnel{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.funnel-step{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:4px;min-width:0;padding:13px 16px;display:flex}.funnel-label{color:var(--muted);font-size:12.5px}.funnel-num{font-size:26px;font-weight:700;line-height:1.15}.funnel-bar{background:var(--surface-2);border-radius:3px;height:6px;overflow:hidden}.funnel-bar span{background:var(--gold-deep);border-radius:3px;height:100%;display:block}.funnel-pct{font-size:12px}.funnel-money{background:var(--ink);border-color:var(--ink)}.funnel-money .funnel-label,.funnel-money .funnel-pct{color:var(--sand)}.funnel-money .funnel-num{color:var(--gold-soft)}.report-table th{white-space:normal}.report-sub td{background:#fcfaf7;padding-top:7px;padding-bottom:7px;font-size:13px}.report-sub td:first-child{color:var(--muted);padding-left:38px}.expand{align-items:center;gap:4px;display:inline-flex}.expand[aria-expanded=true] .icon{transform:rotate(-90deg)}.expand .icon{transition:transform .12s;transform:rotate(0)}.report-note{max-width:80ch;margin-top:10px;font-size:12.5px}.report-section{margin-top:22px}.platforms{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;display:grid}.report-panel{margin-top:4px}.report-grid{grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;display:grid}.daychart{grid-template-columns:auto minmax(0,1fr);gap:8px;height:240px;padding:8px 0 22px;display:grid}.daychart-axis{color:var(--muted);text-align:right;font-variant-numeric:tabular-nums;flex-direction:column;justify-content:space-between;height:calc(100% + 12px);font-size:11px;display:flex;transform:translateY(-6px)}.daychart-plot{grid-template-columns:repeat(var(--n), minmax(0, 1fr));border-bottom:1px solid var(--line-strong);align-items:end;height:100%;display:grid;position:relative}.daychart-grid{pointer-events:none;flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:0}.daychart-grid span{border-top:1px solid var(--line)}.daychart-grid span:last-child{border-top:0}.daychart-col{outline:none;justify-content:center;align-items:flex-end;height:100%;display:flex;position:relative}.daychart-col:focus-visible{box-shadow:inset 0 0 0 2px var(--gold-deep);border-radius:4px}.daychart-col.is-hover{background:#d4b26a1f}.daychart-bar{background:var(--gold-deep);border-radius:4px 4px 0 0;width:min(24px,100% - 2px);min-height:0;display:block}.daychart-col.is-hover .daychart-bar{background:#a8701c}.daychart-peak{white-space:nowrap;font-size:11px;font-weight:700;position:absolute;transform:translateY(-4px)}.daychart-x{color:var(--muted);font-size:11px;position:absolute;bottom:-20px}.chart-tip{background:var(--ink);color:var(--champagne);white-space:nowrap;pointer-events:none;z-index:3;border-radius:6px;flex-direction:column;gap:1px;padding:6px 10px;font-size:12px;display:flex;position:absolute;top:-6px;transform:translate(-50%,-100%)}.chart-tip strong{color:#fff;font-size:14px}.daytable{max-height:300px;overflow-y:auto}.barlist{flex-direction:column;gap:12px;display:flex}.barlist li{flex-direction:column;gap:3px;display:flex}.barlist-head{justify-content:space-between;gap:10px;font-size:13.5px;display:flex}.barlist-label{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:7px;min-width:0;display:inline-flex;overflow:hidden}.barlist-value{white-space:nowrap;font-weight:700}.barlist-track{background:var(--surface-2);border-radius:4px;height:8px;overflow:hidden}.barlist-track span{background:var(--gold-deep);border-radius:4px;height:100%;display:block}.barlist-sub{font-size:12px}.settings-tabs{margin-bottom:18px}.settings-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.push-right{margin-left:auto}.list-tools>p{max-width:70ch}.role-choice{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.role-option{border:1px solid var(--line-strong);border-radius:var(--radius-sm);cursor:pointer;flex-direction:column;gap:2px;padding:10px 12px;display:flex;position:relative}.role-option input{opacity:0;pointer-events:none;position:absolute}.role-option:has(input:focus-visible){outline:2px solid var(--gold-deep);outline-offset:2px}.role-option strong{font-size:13.5px}.role-option span{color:var(--muted);font-size:12px;line-height:1.35}.role-option.is-on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.role-option:has(input:disabled){opacity:.6;cursor:default}.fb-status{border-radius:var(--radius-sm);background:var(--surface-2);gap:10px;margin:4px 0 16px;padding:11px 13px;font-size:13.5px;display:flex}.fb-status .icon{color:var(--muted);margin-top:1px}.fb-status.is-ok{background:var(--t-green-bg)}.fb-status.is-ok .icon{color:var(--t-green)}.fb-status.is-error{background:var(--t-red-bg)}.fb-status.is-error .icon{color:var(--t-red)}.fb-status .muted{margin-top:2px;font-size:12.5px}.form-actions-left{flex-wrap:wrap;justify-content:flex-start}.fb-forms{margin-top:14px;font-size:13.5px}.fb-forms ul{margin-top:4px;padding-left:20px;list-style:outside}.help-panel ol{flex-direction:column;gap:7px;margin:10px 0;padding-left:20px;font-size:13.5px;list-style:decimal;display:flex}.help-panel p{font-size:13px}.bullets{flex-direction:column;gap:7px;padding-left:20px;font-size:13.5px;list-style:outside;display:flex}code{background:var(--surface-2);overflow-wrap:anywhere;border-radius:4px;padding:1px 5px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.88em}.backup-dir{color:var(--muted);margin:6px 0 12px;font-size:12.5px}.backups{flex-direction:column;display:flex}.backups li{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding:8px 0;font-size:13.5px;display:flex}.backups .icon{color:var(--muted)}@media (width<=1100px){.card-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=820px){.shell{grid-template-columns:minmax(0,1fr);padding-bottom:62px}.sidebar{z-index:20;flex-direction:row;height:auto;padding:0;position:fixed;inset:auto 0 0}.brand,.user-box{display:none}.nav-secondary{display:none!important}.nav-more{display:flex}.funnel{grid-template-columns:1fr 1fr}.funnel-money{grid-column:1/-1}.report-grid,.settings-grid,.role-choice{grid-template-columns:minmax(0,1fr)}.viewer-compare{grid-template-columns:1fr 1fr;gap:6px}.report-filters .segmented{max-width:100%;overflow-x:auto}.report-sub td:first-child{padding-left:0}.sidebar nav{flex-direction:row;flex:1;gap:0}.nav-item{border-radius:0;flex-direction:column;flex:1 1 0;gap:2px;min-width:0;padding:8px 2px 7px;font-size:10.5px;position:relative}.nav-label{white-space:nowrap;text-overflow:ellipsis;flex:none;max-width:100%;overflow:hidden}.nav-badge{padding:3px 5px;font-size:10px;position:absolute;top:3px;left:calc(50% + 6px)}.page{padding:18px 16px 30px}.page-head h1,.patient-id h1{font-size:23px}.demo-banner{padding:8px 16px}.page-calendar{height:auto}.main:has(.demo-banner) .page-calendar{height:auto}.list-tools{gap:6px}.table.table-resizable{table-layout:auto;width:auto}.col-resize,.cols-reset{display:none}.search{flex-basis:100%;max-width:none}.tg{--min-col:118px;--gutter:46px;max-height:68vh}.cal-title{order:5;width:100%;margin:4px 0 0;font-size:16px}.stats,.form-row,.form-row-4{grid-template-columns:1fr 1fr}.modal-body{padding-inline:16px}.modal-head{padding-left:16px}.modal-foot{flex-wrap:wrap;padding-inline:16px}.mg{min-height:0}.mg-grid{grid-auto-rows:minmax(58px,auto)}.mg-chip,.mg-more{display:none}.mg-date{flex-direction:column;justify-content:flex-start;gap:3px;height:100%}.mg-dots{flex-wrap:wrap;justify-content:center}.toasts{align-items:stretch;max-width:none;inset:auto 16px 74px}.table:not(.table-compact) thead{display:none}.table:not(.table-compact),.table:not(.table-compact) tbody,.table:not(.table-compact) tr,.table:not(.table-compact) td{display:block}.table:not(.table-compact) tr{border-bottom:1px solid var(--line);padding:11px 14px}.table:not(.table-compact) tbody tr:last-child{border-bottom:0}.table:not(.table-compact) td{text-align:left;border:0;padding:2px 0}.table:not(.table-compact) td[data-label]:not([data-label=Vardas],[data-label=Pacientas],[data-label=Pavadinimas]):before{content:attr(data-label) ": ";color:var(--muted);white-space:nowrap;font-size:12.5px;font-weight:500}.table:not(.table-compact) .row-actions{text-align:left;padding-top:7px}.table:not(.table-compact) .row-actions .btn{min-height:38px}.table:not(.table-compact) td:empty{display:none}.truncate{white-space:normal;max-width:100%}.calls-cell{display:inline-flex}.card-side>.btn{align-self:flex-start}.visit button{grid-template-columns:82px minmax(0,1fr)}.visit button>.badge{grid-column:2;justify-self:start}}@media (width<=460px){.form-row-4{grid-template-columns:1fr 1fr}.outcome-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}
