@font-face{font-family:Inter;src:url('/assets/Inter-Variable.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{color-scheme:light;--bg:#f4f7fb;--surface:#fff;--surface-2:#f5f8fc;--surface-3:#edf2f8;--glass:rgba(255,255,255,.78);--glass-bar:rgba(244,247,251,.85);--ink:#1b2b40;--muted:#62748a;--subtle:#7b8ca1;--line:#e3eaf3;--line-strong:#cdd9e8;--accent:#0879db;--accent-hover:#0067c2;--accent-wash:#e9f3ff;--accent-ink:#0669ba;--green:#287963;--green-wash:#e8f6ef;--orange:#906423;--orange-wash:#fff4e2;--red:#b24c4c;--red-wash:#fff0ed;--shadow:0 8px 36px #17395907;--shadow-dialog:0 30px 100px #0c254b38;--radius:18px;--focus:#0879db66;--hero-copy:#143a54;--hero-sub:#4d6b80;--hero-shade:linear-gradient(90deg,#eaf3f9 0%,#eaf3f9f2 32%,#eaf3f900 84%);font-synthesis:none}
:root[data-theme=dark]{color-scheme:dark;--bg:#11151d;--surface:#1b222d;--surface-2:#222c38;--surface-3:#2a3544;--glass:rgba(25,32,43,.82);--glass-bar:rgba(17,21,29,.88);--ink:#eef4fc;--muted:#a7b5c7;--subtle:#8c9db2;--line:#303c4e;--line-strong:#425168;--accent:#58acff;--accent-hover:#79bcff;--accent-wash:#203d5a;--accent-ink:#8fc6ff;--green:#8fd5b6;--green-wash:#213f36;--orange:#e8c181;--orange-wash:#443a2a;--red:#ffaaa3;--red-wash:#452c30;--shadow:0 8px 36px #0002;--shadow-dialog:0 30px 100px #0009;--focus:#8fc6ff88;--hero-copy:#e9f4ff;--hero-sub:#b4cede;--hero-shade:linear-gradient(90deg,#193449 0%,#193449f2 30%,#19344955 70%,#19344920 100%)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 -apple-system,BlinkMacSystemFont,Inter,'Segoe UI',sans-serif;letter-spacing:-.015em;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.48}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus)}a{color:var(--accent-ink)}button{transition:background .18s ease,box-shadow .18s ease,transform .18s ease,border-color .18s ease}button:active:not(:disabled){transform:scale(.985)}button svg{pointer-events:none}button span{pointer-events:none}input,textarea,select{accent-color:var(--accent)}h1,h2,h3,p{overflow-wrap:break-word}h1,h2,h3{color:var(--ink)}[hidden]{display:none!important}
.app{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100dvh}.side{position:fixed;inset:0 auto 0 0;width:244px;padding:30px 18px 22px;border-right:1px solid var(--line);background:var(--glass);-webkit-backdrop-filter:blur(28px) saturate(1.4);backdrop-filter:blur(28px) saturate(1.4);display:flex;flex-direction:column;z-index:20;overflow-y:auto}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;margin:0 10px 34px;color:var(--ink)}.logo{display:grid;place-items:center;width:40px;height:43px;flex-shrink:0;background:linear-gradient(145deg,#168aea,#24b6bc);color:#fff;border:1px solid #ffffff60;border-radius:14px;box-shadow:0 5px 20px #168aea25}.brand b{font-size:19px;font-weight:650;letter-spacing:-.6px}.brand small{display:block;font-size:10px;letter-spacing:1.3px;text-transform:uppercase;color:var(--subtle)}.side-label{font-size:10px;font-weight:650;letter-spacing:1.4px;color:var(--subtle);padding:0 15px 12px;text-transform:uppercase}.nav{display:grid;gap:5px}.nav button{display:flex;gap:12px;align-items:center;border:1px solid transparent;background:transparent;padding:11px 14px;min-height:45px;border-radius:12px;text-align:left;color:var(--muted);font-weight:550;font-size:13px}.nav button.active{background:var(--accent-wash);color:var(--accent-ink);border-color:color-mix(in srgb,var(--accent) 9%,transparent)}.nav button:hover{background:var(--surface-3)}.nav button.active:hover{background:var(--accent-wash)}.nav .count{margin-left:auto;background:var(--surface);border-radius:7px;padding:0 7px;font-size:10px;color:var(--muted)}.spacer{flex:1;min-height:24px}.side-note{font-size:12px;color:var(--subtle);margin:22px 14px;line-height:1.7}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:19px 10px 0;margin-top:15px}.avatar{background:var(--accent-wash);color:var(--accent-ink);border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:12px;font-weight:650;flex-shrink:0}.profile b{display:block;font-size:12px}.profile small{font-size:10px;color:var(--subtle)}.main{grid-column:2;min-width:0}.topbar{height:80px;position:sticky;top:0;z-index:15;display:flex;align-items:center;gap:16px;justify-content:space-between;padding:0 36px;background:var(--glass-bar);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border-bottom:1px solid var(--line)}.breadcrumb{color:var(--subtle);font-size:12px;white-space:nowrap}.breadcrumb b{color:var(--muted);font-weight:550}.top-actions{display:flex;align-items:center;gap:9px}.mobile-brand{display:none}.demo-badge{font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:var(--green);background:var(--green-wash);padding:5px 8px;border-radius:6px;white-space:nowrap}.role{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:9px 11px;color:var(--muted);font-size:12px;max-width:170px;min-height:40px}.content{max-width:1440px;margin:0 auto;padding:33px 36px 50px;animation:content-in .24s ease-out}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:1.65px;color:var(--subtle);font-weight:650}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:7px 0 27px}.page-head h1{font-size:32px;letter-spacing:-1.2px;line-height:1.18;margin:0 0 10px;font-weight:650}.sub{color:var(--muted);font-size:13px;max-width:600px}.primary,.secondary,.ghost,.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;min-height:42px;padding:10px 16px;font-size:12px;font-weight:650;border:1px solid transparent;text-decoration:none;flex-shrink:0}.primary{background:var(--accent);color:#fff;box-shadow:0 4px 14px #0879db20}.primary:hover{background:var(--accent-hover)}:root[data-theme=dark] .primary{color:#102640}.secondary{background:var(--surface);border-color:var(--line-strong);color:var(--ink)}.secondary:hover{background:var(--surface-3)}.ghost{background:transparent;color:var(--accent-ink);padding-left:0}.ghost:hover{color:var(--accent)}.danger{background:var(--red-wash);color:var(--red);border-color:color-mix(in srgb,var(--red) 15%,transparent)}.icon{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;fill:none;flex-shrink:0}.icon-button{display:inline-grid;place-items:center;position:relative;min-width:40px;height:40px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:11px;color:var(--muted)}.icon-button:hover{background:var(--surface-3)}.notification-dot{position:absolute;right:7px;top:7px;width:6px;height:6px;border-radius:50%;background:var(--accent);outline:2px solid var(--surface)}
.hero{position:relative;overflow:hidden;min-height:252px;border-radius:22px;background:var(--surface-2);margin-bottom:23px;display:flex;align-items:center;border:1px solid var(--line);box-shadow:var(--shadow)}.hero img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:70% 52%;opacity:.95}.hero:after{content:'';position:absolute;inset:0;background:var(--hero-shade)}.hero-copy{padding:30px 32px;z-index:1;position:relative;max-width:57%;color:var(--hero-copy)}.hero-copy .eyebrow{color:var(--hero-sub)}.hero h2{color:inherit;font-size:30px;font-weight:550;line-height:1.2;letter-spacing:-1px;margin:12px 0}.hero p{color:var(--hero-sub);font-size:13px;max-width:285px;margin:0 0 15px}.hero .ghost{color:var(--hero-copy);font-size:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:27px}.stat{display:flex;align-items:center;gap:15px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px 22px;box-shadow:var(--shadow)}button.stat:hover{border-color:var(--line-strong);background:var(--surface-2)}.stat .stat-icon{background:var(--accent-wash);color:var(--accent-ink);border-radius:12px;display:grid;place-items:center;width:43px;height:43px}.stat b{font-size:28px;line-height:1.25;font-weight:550;display:block;font-variant-numeric:tabular-nums}.stat small{font-size:11px;color:var(--muted)}.columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:22px;align-items:start}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.panel-head{padding:20px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center}.panel-head h2{font-size:15px;margin:0;font-weight:650}.panel-head small{color:var(--subtle);font-size:11px}.case-row{width:100%;display:flex;align-items:center;gap:13px;text-align:left;border:0;background:var(--surface);padding:19px 23px;border-bottom:1px solid var(--line)}.case-row:last-child{border-bottom:0}.case-row:hover{background:var(--surface-2)}.tooth{width:43px;height:43px;background:var(--surface-2);color:var(--accent-ink);border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;font-size:15px;font-weight:550;flex-shrink:0}.row-main{flex:1;min-width:0}.row-main b{font-size:13px;font-weight:600;display:block;margin-bottom:5px}.row-main small{font-size:11px;color:var(--muted);display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%}.row-end{text-align:right;flex-shrink:0}.row-end small{display:block;font-size:11px;color:var(--subtle);margin-top:7px}.pill{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:550;padding:4px 8px;background:var(--accent-wash);color:var(--accent-ink);border-radius:7px;white-space:nowrap}.pill.green{background:var(--green-wash);color:var(--green)}.pill.orange{background:var(--orange-wash);color:var(--orange)}.pill.neutral{background:var(--surface-3);color:var(--muted)}.dot{width:5px;height:5px;background:currentColor;border-radius:50%}.booking-card{padding:23px}.mini-date{color:var(--muted);font-size:12px;margin-bottom:16px}.slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.slot{border:1px solid var(--line-strong);border-radius:10px;background:var(--surface-2);min-height:43px;color:var(--accent-ink);font-size:12px;padding:9px}.slot:hover,.slot.selected{background:var(--accent);color:#fff;border-color:var(--accent)}.booking-note{font-size:11px;color:var(--subtle);margin:16px 0 4px}.all-link{padding:17px 23px;border:0;border-top:1px solid var(--line);color:var(--accent-ink);background:transparent;width:100%;text-align:left;font-size:12px;display:flex;align-items:center;justify-content:space-between}.all-link:hover{background:var(--surface-2)}.notice{margin:25px 0 0;display:flex;align-items:flex-start;gap:9px;color:var(--subtle);font-size:11px}.notice .icon{width:16px;height:16px;margin-top:1px}.notice a{color:var(--muted)}
.date-input,.search,textarea,select.input,input.input{border:1px solid var(--line-strong);border-radius:10px;padding:11px 13px;background:var(--surface-2);color:var(--ink);width:100%;min-width:0;max-width:100%;min-height:44px;font-size:13px}.input::placeholder,.search::placeholder{color:var(--subtle)}textarea{resize:vertical;min-height:90px}.search{max-width:340px}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px}.filter-tabs,.theme-picker{display:flex;align-items:center;gap:4px;padding:4px;background:var(--surface-3);border:1px solid var(--line);border-radius:12px;max-width:100%;overflow:auto}.filter-tabs button,.theme-picker button{border:0;background:transparent;color:var(--muted);border-radius:8px;font-size:12px;padding:8px 12px;min-height:35px;white-space:nowrap}.filter-tabs button[aria-pressed=true],.theme-picker button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 2px 5px #0000000b}.results-meta{font-size:12px;color:var(--subtle);margin:0 0 12px}.calendar-head{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}.calendar-controls{display:flex;align-items:center;gap:8px}.calendar-head .date-input{width:170px}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:20px}.day-button{background:var(--surface);border:1px solid var(--line);border-radius:13px;min-height:74px;padding:10px 5px;display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--muted)}.day-button strong{font-size:20px;font-weight:550;color:var(--ink)}.day-button small{font-size:10px}.day-button.selected{background:var(--accent-wash);border-color:var(--accent);color:var(--accent-ink)}.day-button.selected strong{color:var(--accent-ink)}.calendar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:23px}.calendar-grid .slot{padding:13px 6px}.calendar-bookings{margin-top:22px}.empty{padding:38px 24px;text-align:center;color:var(--muted);font-size:13px}.empty .icon{width:30px;height:30px;margin:0 auto 13px;display:block;color:var(--subtle)}.empty strong{display:block;color:var(--ink);font-size:15px;font-weight:600;margin-bottom:7px}.empty p{max-width:390px;margin:0 auto;line-height:1.7}.empty .secondary{margin-top:18px}
.detail-top{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:18px}.detail-top .ghost{font-size:12px}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.case-summary{padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.case-summary h2{font-size:25px;margin:0 0 8px;letter-spacing:-.7px;font-weight:600}.case-summary p{color:var(--muted);font-size:12px;margin:0;line-height:1.9}.price{font-size:24px;white-space:nowrap;font-variant-numeric:tabular-nums}.price small{display:block;font-size:10px;text-align:right;color:var(--subtle);margin-top:5px}.detail-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:22px;margin-top:22px}.section-pad{padding:22px 24px}.section-pad h3{font-size:14px;font-weight:650;margin:0 0 17px}.next-stage{font-size:24px;letter-spacing:-.6px;margin:6px 0 16px;font-weight:550}.check{display:flex;gap:10px;align-items:flex-start;padding:10px 0;font-size:12px;color:var(--muted)}.check input{accent-color:var(--accent);width:18px;height:18px;flex-shrink:0;margin:1px 0 0}.step-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.timeline{list-style:none;padding:0;margin:0}.timeline li{position:relative;display:flex;gap:12px;align-items:center;color:var(--subtle);font-size:12px;min-height:35px}.timeline li:before{content:'';width:8px;height:8px;border:1px solid var(--line-strong);background:var(--surface);border-radius:50%;z-index:1;flex-shrink:0}.timeline li:after{content:'';position:absolute;left:3.5px;top:23px;bottom:-12px;width:1px;background:var(--line)}.timeline li:last-child:after{display:none}.timeline li.done:before{background:var(--green);border-color:var(--green)}.timeline li.current{color:var(--accent-ink);font-weight:650}.timeline li.current:before{background:var(--accent);border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-wash)}.chat{display:flex;flex-direction:column;gap:12px;max-height:330px;overflow:auto;overscroll-behavior:contain;padding:1px}.bubble{background:var(--surface-2);border-radius:14px 14px 14px 3px;padding:12px 14px;max-width:92%;align-self:flex-start;font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}.bubble.mine{background:var(--accent-wash);align-self:flex-end;border-radius:14px 14px 3px 14px}.bubble small{font-size:10px;color:var(--muted);display:block;margin-bottom:5px;white-space:normal}.compose{display:flex;gap:8px;margin-top:18px}.compose input{min-width:0}.compose button{padding:10px 14px}.file-list{display:grid;gap:10px}.file-list a{font-size:12px;color:var(--accent-ink);overflow-wrap:anywhere}.file-picker{font-size:12px;display:block;margin-top:15px;max-width:100%}.history{font-size:12px;color:var(--muted);margin-top:14px}.history p{border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:10px}.history small{font-size:10px;color:var(--subtle)}.mobile-nav{display:none}.modal-backdrop{position:fixed;inset:0;background:#12243966;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;animation:veil-in .17s ease-out}.modal{background:var(--surface);border:1px solid var(--line);border-radius:22px;width:min(650px,100%);max-height:90dvh;overflow:auto;overscroll-behavior:contain;box-shadow:var(--shadow-dialog);animation:dialog-in .2s cubic-bezier(.2,.8,.2,1)}.modal.compact{width:min(470px,100%)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--glass);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);z-index:2}.modal-header h2{font-size:20px;letter-spacing:-.6px;margin:0}.close{background:var(--surface-3);color:var(--muted);border:0;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;flex-shrink:0}.modal form,.modal-body{padding:24px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;min-width:0}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted);min-width:0;max-width:100%}.field.full{grid-column:1/-1}.field small{color:var(--subtle);font-size:11px}.form-note{padding:13px 15px;background:var(--surface-2);border:1px solid var(--line);border-radius:11px;font-size:12px;color:var(--muted);margin:17px 0;line-height:1.7}.teeth{display:grid;grid-template-columns:repeat(8,1fr);gap:5px}.teeth button{background:var(--surface-2);border:1px solid var(--line);border-radius:8px;min-height:38px;font-size:12px}.teeth button.selected{background:var(--accent);color:#fff;border-color:var(--accent)}.form-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:22px}.form-error{color:var(--red);font-size:12px;margin:15px 0 0;min-height:18px}.status-explainer{background:var(--green-wash);border:1px solid color-mix(in srgb,var(--green) 15%,transparent);border-radius:13px;padding:16px 18px;font-size:12px;color:var(--green);margin-bottom:22px}.status-explainer.warning{background:var(--orange-wash);color:var(--orange);border-color:color-mix(in srgb,var(--orange) 15%,transparent)}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(8px);z-index:200;background:var(--ink);color:var(--bg);padding:13px 20px;border-radius:13px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:min(90%,520px);text-align:center;box-shadow:var(--shadow-dialog)}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.muted{color:var(--muted)}.inline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;min-width:0}.text-small{font-size:12px}.flow-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.flow-row:last-child{border-bottom:0}.flow-row>span:last-child{text-align:right}.availability{margin:18px 0 0;padding:0;list-style:none}.availability li{font-size:12px;margin:0;color:var(--muted);display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}.availability .icon-button{width:32px;min-width:32px;height:32px;border:0;background:var(--surface-2)}.stack{display:grid;gap:20px}.mt{margin-top:22px}.theme-picker{display:inline-flex}.theme-picker button{display:flex;align-items:center;gap:7px}.theme-picker .icon{width:16px;height:16px}.settings-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px;align-items:start}.protocol-summary{font-size:11px;color:var(--muted);padding-top:12px;margin-top:12px;border-top:1px solid var(--line)}.protocol-fields{border:1px solid var(--line);background:var(--surface-2);border-radius:13px;padding:15px;grid-column:1/-1}.protocol-fields legend{font-size:12px;color:var(--muted);padding:0 6px}.protocol-fields .inline-fields{margin-top:5px}.production-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}.production-lane{background:var(--surface-2);border:1px solid var(--line);border-radius:17px;padding:15px}.lane-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:13px;font-weight:650}.lane-title .count{font-size:11px;background:var(--surface-3);padding:2px 8px;border-radius:7px;color:var(--muted)}.production-card{width:100%;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:16px;margin-bottom:10px;display:block}.production-card:hover{border-color:var(--accent)}.production-card>strong{display:block;font-size:14px;margin-bottom:7px}.production-card>small{display:block;color:var(--muted);font-size:11px;margin-top:8px}.lane-empty{font-size:12px;color:var(--subtle);text-align:center;padding:23px 7px}.activity-row{display:flex;gap:14px;align-items:flex-start;text-align:left;border:0;border-bottom:1px solid var(--line);padding:18px 23px;background:var(--surface);width:100%}.activity-row:hover{background:var(--surface-2)}.activity-row .activity-icon{background:var(--accent-wash);border-radius:10px;padding:10px;color:var(--accent-ink);display:flex}.activity-row .row-main strong{font-size:12px;display:block;font-weight:550}.activity-row .row-main p{font-size:13px;margin:4px 0;color:var(--ink)}.activity-row>time{font-size:10px;color:var(--subtle);white-space:nowrap}.helper-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.help-card{padding:24px}.help-card h2{font-size:17px;margin:0 0 12px}.help-card p,.help-card li{color:var(--muted);font-size:13px;line-height:1.8}.help-card ol{padding-left:20px}.help-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.progress-track{height:4px;background:var(--surface-3);border-radius:5px;overflow:hidden;margin:15px 0 3px}.progress-track span{display:block;height:100%;background:var(--accent);border-radius:5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body.modal-open{overflow:hidden}.skip-link{position:fixed;top:-60px;left:16px;z-index:300;background:var(--accent);color:#fff;padding:12px 18px;border-radius:10px}.skip-link:focus{top:12px}
.section-menu{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.section-menu a{text-decoration:none}.section-menu .secondary{font-size:12px}.modal-body>p:first-child{margin-top:0}.protocol-fields .check{line-height:1.6}.activity-row .row-main p{overflow-wrap:anywhere}
@media(max-width:680px){.date-input,.search,textarea,select.input,input.input{font-size:16px}.section-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.section-menu .secondary{justify-content:flex-start;font-size:11px;padding:10px}.theme-picker button{min-height:42px}.filter-tabs button{min-height:42px}.teeth button{min-height:42px}.auth-card .field input{font-size:16px}}
@keyframes content-in{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes dialog-in{from{opacity:.6;transform:translateY(9px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes veil-in{from{opacity:0}to{opacity:1}}
@media(min-width:1500px){.content{padding-top:40px}.hero{min-height:278px}}
@media(max-width:1180px){.app{grid-template-columns:210px minmax(0,1fr)}.side{width:210px;padding-left:12px;padding-right:12px}.content{padding:28px}.topbar{padding:0 28px}.columns,.detail-columns{grid-template-columns:1fr}.hero-copy{max-width:65%}.stats{gap:10px}.stat{padding:17px;gap:10px}.stat small{font-size:10px}.settings-grid{grid-template-columns:1fr}.breadcrumb>span,.breadcrumb:not(:has(b)){display:none}.breadcrumb{max-width:160px;overflow:hidden;text-overflow:ellipsis}.production-grid{gap:12px}.production-lane{padding:11px}}
@media(max-width:900px){.topbar .demo-badge{display:none}.topbar .workspace-link{display:none}.breadcrumb{display:none}.top-actions{width:100%;justify-content:flex-end}.production-grid{grid-template-columns:1fr}.production-lane{padding:16px}.helper-grid{grid-template-columns:1fr}.hero-copy{max-width:70%}}
@media(max-width:680px){body{font-size:14px}.app{display:block}.side{display:none}.main{width:100%}.topbar{height:72px;padding:0 17px;gap:10px}.mobile-brand{display:flex;align-items:center;gap:9px;margin-right:auto;font-size:15px;font-weight:650;white-space:nowrap}.mobile-brand .logo{width:30px;height:33px;border-radius:10px}.mobile-brand .icon{width:17px;height:17px}.top-actions{width:auto;gap:7px}.topbar .role{font-size:11px;padding:9px 6px;max-width:131px}.topbar .icon-button{min-width:36px;width:36px;height:36px;border-radius:10px}.topbar .notification-toggle{display:none}.content{padding:25px 17px 112px}.page-head{align-items:flex-start;margin-bottom:23px;gap:14px}.page-head h1{font-size:28px;letter-spacing:-.9px}.page-head>.primary{font-size:0;padding:12px;min-width:43px}.page-head>.primary .icon{width:19px}.sub{font-size:12px;line-height:1.7}.hero{min-height:249px;border-radius:18px;margin-bottom:18px}.hero-copy{padding:23px;max-width:80%}.hero h2{font-size:26px}.hero p{max-width:205px;font-size:12px}.hero img{object-position:62% 50%}.hero:after{background:var(--hero-shade)}.hero .ghost{font-size:11px}.stats{gap:8px;margin-bottom:22px}.stat{display:block;padding:15px 11px;border-radius:13px}.stat .stat-icon{display:none}.stat b{font-size:25px}.stat small{font-size:10px;line-height:1.45;display:block;margin-top:5px}.columns,.detail-columns{gap:18px}.panel-head{padding:18px}.case-row{padding:18px 15px;gap:10px}.tooth{width:37px;height:39px;border-radius:10px}.row-main b{font-size:12px}.row-main small{font-size:10px}.pill{font-size:9px;padding:4px 6px}.row-end small{font-size:10px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--glass);-webkit-backdrop-filter:blur(28px) saturate(1.4);backdrop-filter:blur(28px) saturate(1.4);z-index:30;border-top:1px solid var(--line);padding:9px 8px calc(9px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;min-height:44px;flex:1;min-width:0;color:var(--subtle);border:0;background:transparent;font-size:10px;border-radius:10px}.mobile-nav button.active{color:var(--accent-ink)}.mobile-nav .icon{width:21px;height:21px}.calendar-grid{padding:18px;grid-template-columns:repeat(2,1fr)}.case-summary{padding:20px;align-items:flex-start}.case-summary h2{font-size:22px}.price{font-size:20px}.case-summary p{font-size:11px}.detail-columns{margin-top:18px}.section-pad{padding:20px}.modal-backdrop{padding:0;align-items:flex-end}.modal{border-radius:23px 23px 0 0;max-height:94dvh;padding-bottom:env(safe-area-inset-bottom);width:100%}.modal.compact{width:100%}.modal form,.modal-body{padding:20px}.modal-header{padding:20px}.form-grid{gap:15px}.form-bottom{align-items:center;gap:10px}.form-bottom .primary{padding:10px 13px}.calendar-head{flex-wrap:wrap}.inline-fields{grid-template-columns:1fr}#toast{bottom:95px}.notice{font-size:10px}.step-buttons .primary{width:100%}.filter-bar{display:block}.filter-bar .search{max-width:none;margin-bottom:13px}.filter-tabs{max-width:100%}.filter-tabs button{font-size:11px;padding:8px 10px}.detail-top{align-items:flex-start}.detail-actions{justify-content:flex-end}.detail-actions .secondary{font-size:11px;padding:8px;min-height:36px}.week-strip{gap:5px}.day-button{min-height:66px;border-radius:10px}.day-button strong{font-size:18px}.day-button small{font-size:9px}.theme-picker{display:flex}.theme-picker button{flex:1;justify-content:center;font-size:11px;padding:8px}.activity-row{padding:17px 16px;gap:11px}.activity-row>time{font-size:9px}.production-grid{gap:16px}.helper-grid{gap:17px}}
@media(max-width:380px){.mobile-brand .logo{display:none}.mobile-brand{font-size:14px}.topbar{padding:0 14px}.topbar .role{max-width:122px}.content{padding-left:14px;padding-right:14px}.row-end{max-width:108px}.pill{white-space:normal;text-align:left;line-height:1.35}.case-summary{gap:10px}.price{font-size:18px}.hero-copy{max-width:85%}.page-head h1{font-size:26px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.protocol-fields{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.side,.topbar,.mobile-nav,.detail-actions,.notice,.step-buttons,.compose,.file-picker{display:none!important}.app{display:block}.main{grid-column:auto}.content{padding:0;max-width:none}.panel{box-shadow:none;break-inside:avoid}body{background:#fff;color:#000}.detail-columns{display:block}}

/* Native date controls must fit their grid cell on iOS as well as desktop. */
input.input:is([type="date"],[type="datetime-local"],[type="time"]){display:block;box-sizing:border-box;min-inline-size:0;max-inline-size:100%;inline-size:100%;-webkit-appearance:none;appearance:none;text-align:left}
input.input::-webkit-date-and-time-value{min-width:0;text-align:left}
input.input::-webkit-datetime-edit{min-width:0;padding:0}
@media(max-width:680px){
  #availability-form .form-grid,#availability-form .inline-fields,#reschedule-form .form-grid{grid-template-columns:minmax(0,1fr)}
}
