:root{color:#16211f;--app-vh:1vh;font-synthesis:none;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f6f8f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:#f6f8f6;min-height:-webkit-fill-available}body{min-width:320px;min-height:100vh;min-height:calc(var(--app-vh,1vh) * 100);overscroll-behavior-y:none;-webkit-tap-highlight-color:#0f766e2e;background:#f6f8f6;min-height:100dvh;margin:0}button,textarea,input,select{font:inherit}button{border:0}a{color:inherit}#root{min-height:100vh;min-height:calc(var(--app-vh,1vh) * 100);min-height:100dvh}:root{--bg:#f6f8f6;--surface:#fff;--surface-soft:#eef4f1;--ink:#16211f;--muted:#64726f;--line:#dce5e1;--line-strong:#c3d0ca;--teal:#0f766e;--teal-soft:#dff4ef;--coral:#b75c45;--coral-soft:#fae7df;--violet:#6f5aa8;--violet-soft:#eee9fb;--blue:#2563a8;--blue-soft:#e5f0fb;--amber:#936b19;--amber-soft:#fff0c2;--green:#2f7d4f;--green-soft:#e1f4e8;--red:#a33a3a;--red-soft:#fae5e5;--shadow:0 14px 40px #11242014}.app-shell{min-height:100vh;min-height:calc(var(--app-vh,1vh) * 100);background:linear-gradient(180deg, #dff4ef80, #f6f8f600 280px), var(--bg);min-height:100dvh;display:flex}.public-shell{min-height:100vh;min-height:calc(var(--app-vh,1vh) * 100);background:linear-gradient(180deg, #dff4efb8, #f6f8f600 360px), var(--bg);min-height:100dvh}.public-header{z-index:5;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffdb;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:16px 24px;display:grid;position:sticky;top:0}.public-brand{width:auto}.public-nav{flex-wrap:nowrap;justify-content:center;gap:6px;display:flex}.public-nav button{cursor:pointer;min-width:0;min-height:36px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:0 0;border-radius:8px;padding:8px 11px;font-weight:700;overflow:hidden}.public-nav button.active,.public-nav button:hover{background:var(--ink);color:#fff}.public-nav-label-short{display:none}.public-login-button{cursor:pointer;border:1px solid var(--line);background:var(--ink);color:#fff;white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:8px 13px;font-weight:850;display:inline-flex}.public-login-button:hover{border-color:var(--ink);background:var(--teal)}.public-main{width:min(1180px,100% - 32px);margin:0 auto;padding:28px 0 56px}.public-stack{gap:18px;display:grid}.pilot-notice{border:1px solid var(--line);color:var(--muted);background:#ffffffe6;border-radius:8px;align-items:center;gap:10px;padding:12px 14px;font-size:14px;font-weight:700;display:flex}.pilot-notice svg{color:var(--teal);flex:none}.public-hero{border:1px solid var(--line);background:linear-gradient(135deg, #0f766e24, #fff0c29e), var(--surface);box-shadow:var(--shadow);border-radius:8px;grid-template-columns:minmax(0,1fr) 320px;align-items:stretch;gap:18px;padding:28px;display:grid}.public-hero h1{max-width:760px;margin:8px 0 12px;font-size:44px}.public-hero p{max-width:760px;font-size:18px}.public-story-hero{border:1px solid var(--line);background:linear-gradient(135deg, #0f766e1f, #fff0c28f), var(--surface);box-shadow:var(--shadow);border-radius:8px;grid-template-columns:minmax(0,1fr) 340px;align-items:stretch;gap:18px;padding:30px;display:grid}.public-story-copy{align-content:center;display:grid}.public-story-copy h1{max-width:860px;margin:8px 0 14px;font-size:clamp(36px,4vw,56px);line-height:1.02}.public-story-copy p{max-width:860px;color:var(--muted);margin:0 0 12px;font-size:18px;line-height:1.58}.public-story-aside{color:var(--muted);background:#ffffffb8;border:1px solid #0f766e33;border-radius:8px;align-content:center;gap:12px;padding:20px;display:grid}.public-story-aside svg{color:var(--teal)}.public-story-aside strong{color:var(--ink);font-size:22px;line-height:1.15}.public-story-aside>span{line-height:1.5}.public-privacy-note{border-top:1px solid var(--line);align-items:flex-start;gap:9px;margin-top:4px;padding-top:12px;font-size:14px;font-weight:750;display:flex}.public-interest-card{border-top:1px solid var(--line);gap:10px;margin-top:4px;padding-top:14px;display:grid}.public-interest-heading{align-items:flex-start;gap:10px;display:flex}.public-interest-heading svg{color:var(--teal);flex:none;margin-top:1px}.public-interest-heading div{gap:2px;display:grid}.public-interest-heading strong{color:var(--ink);font-size:16px;line-height:1.2}.public-interest-heading span{color:var(--muted);font-size:13px;line-height:1.35}.public-interest-card label{color:var(--muted);font-size:13px;font-weight:750}.public-interest-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.public-interest-row input{border:1px solid var(--line);width:100%;min-width:0;color:var(--ink);background:#fbfcfb;border-radius:8px;padding:11px 12px}.public-interest-button{cursor:pointer;background:var(--teal);color:#fff;white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 12px;font-weight:800;display:inline-flex}.public-interest-card .form-error,.public-interest-card .form-status{margin:0}.public-interest-card .form-status{align-items:flex-start;gap:7px;line-height:1.35;display:flex}.public-interest-card .form-status svg{flex:none}.hero-actions{flex-wrap:wrap;gap:10px;margin-top:22px;display:flex}.secondary-button,.complete-treatment-button{cursor:pointer;border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink);border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-weight:800;display:inline-flex}.public-promise{color:var(--muted);background:#fff9;border:1px solid #0f766e33;border-radius:8px;align-content:center;gap:10px;padding:18px;display:grid}.public-promise svg{color:var(--teal)}.public-promise strong{color:var(--ink);font-size:20px}.public-feature-grid,.knowledge-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.public-support-section{gap:14px;display:grid}.compact-heading{margin-top:2px}.public-support-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.library-tabs button{cursor:pointer;border:1px solid var(--line);background:var(--surface);min-height:48px;color:var(--ink);text-align:left;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;font-weight:800;display:flex}.library-tabs button.selected{background:var(--ink);color:#fff;border-color:#0f766e59}.library-tabs span{background:var(--surface-soft);min-width:26px;height:24px;color:var(--teal);border-radius:999px;place-items:center;font-size:12px;display:inline-grid}.library-tabs button.selected span{color:#fff;background:#ffffff24}.library-category-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:16px}.library-category-panel h3{margin:5px 0 7px;font-size:22px}.public-feature-card,.knowledge-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-content:start;gap:11px;padding:16px;display:grid}.public-support-card{min-height:188px}.subtype-list{background:#fbfcfb;border-radius:8px;gap:8px;padding:10px;display:grid}.subtype-list strong{color:var(--ink);text-transform:uppercase;font-size:12px}.subtype-list div{flex-wrap:wrap;gap:7px;display:flex}.subtype-list span{background:var(--surface-soft);color:var(--ink);border-radius:999px;padding:6px 8px;font-size:12px;font-weight:700}.public-feature-card svg,.knowledge-card svg{color:var(--teal)}.account-layout{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;display:grid}.suggested-template{margin-top:0}.suggested-steps{gap:8px;display:grid}.suggested-steps span{border-left:3px solid var(--teal);color:var(--ink);padding-left:10px}.sidebar{width:264px;height:100vh;height:calc(var(--app-vh,1vh) * 100);border-right:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffd1;flex-direction:column;flex:none;gap:22px;height:100dvh;padding:24px 18px;display:flex;position:sticky;top:0}.sidebar-top{align-items:center;gap:8px;display:flex}.sidebar-collapse{flex:none;width:36px;height:36px;margin-left:auto}.icon-button.mobile-menu-toggle{flex:none;display:none}.sidebar-collapsed-icon{color:var(--teal);display:none}.app-shell.sidebar-collapsed .sidebar{width:82px;padding:18px 12px}.sidebar[data-collapsed=true]{align-items:center}.sidebar[data-collapsed=true] .sidebar-text{display:none}.sidebar[data-collapsed=true] .brand,.sidebar[data-collapsed=true] .nav-list button,.sidebar[data-collapsed=true] .privacy-strip{justify-content:center}.sidebar[data-collapsed=true] .nav-list button,.sidebar[data-collapsed=true] .privacy-strip{width:48px;padding:12px}.sidebar[data-collapsed=true] .privacy-strip{min-height:48px}.sidebar[data-collapsed=true] .sidebar-collapsed-icon{display:block}.brand{cursor:pointer;width:100%;color:var(--ink);text-align:left;background:0 0;align-items:center;gap:12px;padding:0;display:flex}.brand-mark{background:var(--ink);color:#fff;border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.brand strong,.brand small{display:block}.brand strong{font-size:18px;line-height:1.1}.brand small{color:var(--muted);margin-top:2px;font-size:12px}.nav-list{gap:6px;display:grid}.nav-list button{cursor:pointer;width:100%;min-height:42px;color:var(--muted);text-align:left;background:0 0;border-radius:8px;align-items:center;gap:10px;padding:10px 12px;display:flex}.nav-list button:hover,.nav-list button.active{background:var(--surface-soft);color:var(--ink)}.privacy-strip{border:1px solid var(--line);color:var(--muted);background:#fbfcfb;border-radius:8px;gap:10px;margin-top:auto;padding:12px;font-size:13px;line-height:1.35;display:flex}.main-surface{min-width:0;padding:max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));flex:1}.topbar{justify-content:space-between;align-items:center;gap:16px;max-width:1240px;margin:0 auto 14px;display:flex}.topbar h1{font-size:30px}.topbar-title{min-width:0}.mobile-header-brand{display:none}.eyebrow,.mini-label,.task-type{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:12px;font-weight:700}h1,h2,h3,p{margin:0}h1{color:var(--ink);font-size:34px;line-height:1.1}h2{color:var(--ink);font-size:22px;line-height:1.15}h3{color:var(--ink);font-size:15px;line-height:1.25}p{color:var(--muted);line-height:1.5}.top-actions{align-items:center;gap:10px;display:flex}.role-switch{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:4px;padding:4px;display:flex}.role-switch button,.mood-options button{cursor:pointer;min-height:34px;color:var(--muted);white-space:nowrap;background:0 0;border-radius:6px;padding:6px 10px}.role-switch button.selected,.mood-options button.selected{background:var(--ink);color:#fff}.icon-button{cursor:pointer;border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--ink);border-radius:8px;place-items:center;display:grid;position:relative}.signout-button{gap:8px;width:auto;padding:0 12px;display:inline-flex}.signout-button span{font-size:13px;font-weight:800}.notification-dot{background:var(--coral);border-radius:999px;width:7px;height:7px;position:absolute;top:11px;right:11px}.notification-wrap,.profile-wrap{position:relative}.profile-trigger span{background:var(--ink);color:#fff;border-radius:8px;place-items:center;width:26px;height:26px;font-size:14px;font-weight:900;display:grid}.notification-menu{z-index:10;border:1px solid var(--line);background:var(--surface);width:min(360px,100vw - 32px);box-shadow:var(--shadow);border-radius:8px;gap:10px;padding:12px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.profile-menu{z-index:10;border:1px solid var(--line);background:var(--surface);width:min(420px,100vw - 32px);box-shadow:var(--shadow);border-radius:8px;gap:12px;padding:14px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.profile-menu-section{border-bottom:1px solid var(--line);gap:10px;padding-bottom:12px;display:grid}.profile-menu-identity{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;display:grid}.profile-menu-identity div:last-child{gap:3px;min-width:0;display:grid}.profile-menu-identity strong{overflow-wrap:anywhere;color:var(--ink)}.profile-menu-identity span{color:var(--muted);font-size:12px;font-weight:700}.profile-menu-avatar{background:var(--ink);color:#fff;border-radius:8px;place-items:center;width:48px;height:48px;font-size:22px;font-weight:900;display:grid}.profile-menu-action{cursor:pointer;border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#fbfcfb;border-radius:8px;align-items:center;gap:9px;padding:10px 12px;font-weight:800;display:flex}.profile-menu-action svg{color:var(--teal);flex:none}.profile-menu-action.logout-action{color:var(--red);border-color:#b9484840;justify-content:center}.profile-menu-action.logout-action svg{color:var(--red)}.notification-menu-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.notification-menu-header>div{gap:3px;display:grid}.notification-menu-header strong{color:var(--ink)}.notification-menu-header span,.notification-item small,.notification-empty span{color:var(--muted);font-size:12px;font-weight:700}.notification-menu-header .icon-button{width:32px;height:32px}.notification-permission-button{cursor:pointer;background:var(--green-soft);min-height:32px;color:var(--teal);white-space:nowrap;border:1px solid #14847840;border-radius:8px;align-items:center;gap:6px;padding:6px 9px;font-size:12px;font-weight:900;display:inline-flex}.notification-permission-button.enabled{color:var(--green);border-color:#2c875847}.notification-list{gap:8px;max-height:min(520px,100dvh - 180px);padding-right:2px;display:grid;overflow-y:auto}.notification-item{border:1px solid var(--line);border-left:4px solid var(--teal);text-align:left;background:#fbfcfb;border-radius:8px;gap:4px;width:100%;padding:10px;display:grid}.notification-main{cursor:pointer;text-align:left;background:0 0;border:0;gap:4px;width:100%;padding:0;display:grid}.notification-item span{color:var(--ink);font-size:13px;font-weight:800;line-height:1.3}.notification-action{cursor:pointer;background:var(--green-soft);width:fit-content;color:var(--teal);border:1px solid #14847840;border-radius:999px;align-items:center;gap:6px;margin-top:6px;padding:6px 9px;font-size:12px;font-weight:900;display:inline-flex}.notification-action svg{flex:none}.notification-item.tone-urgent{border-left-color:var(--red)}.notification-item.tone-watch{border-left-color:var(--amber)}.notification-empty{background:var(--green-soft);color:var(--green);border-radius:8px;gap:8px;padding:10px;display:flex}.view-stack{gap:18px;max-width:1240px;margin:0 auto;display:grid}.welcome-panel{background:linear-gradient(135deg, #2f7d4f1f, #fff0c280), var(--surface);width:min(100%,1060px);box-shadow:var(--shadow);border:1px solid #0f766e33;border-radius:8px;grid-template-columns:minmax(0,1fr) repeat(2,minmax(190px,190px));justify-self:center;align-items:stretch;gap:10px;padding:12px;display:grid}.welcome-copy{align-content:center;min-width:0;padding:4px 6px;display:grid}.welcome-panel h2{max-width:660px;margin:0;font-size:19px;line-height:1.15}.welcome-panel p{max-width:640px;margin-top:6px;font-size:13px;line-height:1.35}.end-countdown{text-align:center;background:#ffffffb8;border-radius:8px;place-items:center;gap:4px;min-height:128px;padding:12px;display:grid}.countdown-copy{justify-items:center;gap:3px;display:grid}.end-countdown strong{color:var(--ink);font-size:31px;line-height:1}.end-countdown span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800}.end-countdown small{color:var(--muted);font-size:12px;font-weight:750;line-height:1.25}.badge-celebration{background:var(--surface);position:relative;overflow:hidden}.badge-shelf-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.milestone-badge-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;display:grid}.milestone-badge-loading{border:1px dashed color-mix(in srgb, var(--teal) 34%, var(--line));background:radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 30%), linear-gradient(135deg, #ffffffe0, color-mix(in srgb, var(--teal) 7%, white));min-height:112px;color:var(--muted);letter-spacing:.02em;text-align:center;border-radius:8px;place-items:center;font-size:12px;font-weight:850;display:grid}.milestone-badge-card{--badge-accent:var(--teal);--badge-accent-2:#d59f22;border:1px solid color-mix(in srgb, var(--badge-accent) 26%, var(--line));background:radial-gradient(circle at 20% 12%, color-mix(in srgb, var(--badge-accent-2) 24%, transparent), transparent 34%), linear-gradient(145deg, #fffffff0, color-mix(in srgb, var(--badge-accent) 9%, white)), var(--surface);min-height:112px;color:inherit;cursor:pointer;font:inherit;text-align:center;border-radius:8px;justify-items:center;gap:5px;padding:8px;display:grid;position:relative;overflow:hidden;box-shadow:0 12px 26px #11242014}.milestone-badge-card:after{content:"";background:linear-gradient(90deg, var(--badge-accent) 0 var(--badge-progress), #16211f1a var(--badge-progress) 100%);border-radius:999px;height:3px;position:absolute;inset:auto 10px 7px}.milestone-badge-card.locked{--badge-accent:#7c8985;--badge-accent-2:#c8d2ce;background:linear-gradient(145deg, #ffffffe6, #eef4f1db), var(--surface);box-shadow:none;filter:grayscale(.92);opacity:.68}.milestone-badge-card.locked.in-progress{--badge-accent:var(--teal);--badge-accent-2:#d59f22;filter:none;opacity:.92}.milestone-badge-card:hover,.milestone-badge-card:focus-visible{transform:translateY(-1px);box-shadow:0 12px 24px #1124201c}.milestone-badge-card.just-earned{animation:.9s cubic-bezier(.18,.85,.26,1.18) badge-unlocked-card}.milestone-badge-copy{gap:2px;min-width:0;padding-bottom:10px;display:grid}.milestone-badge-copy span{color:var(--badge-accent);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:900}.milestone-badge-copy strong{color:var(--ink);font-size:12px;line-height:1.12}.milestone-badge-copy small{color:var(--muted);font-size:10px;font-weight:800;line-height:1.2}.milestone-badge-copy p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:2px 0 0;font-size:11px;font-weight:650;line-height:1.28;display:-webkit-box;overflow:hidden}.milestone-badge-card.earned .milestone-badge-copy small{color:var(--green)}.milestone-badge-card.locked .milestone-badge-copy strong,.milestone-badge-card.locked .milestone-badge-copy small{color:#71807b}.milestone-badge-card.locked.in-progress .milestone-badge-copy strong{color:var(--ink)}.milestone-badge-card.locked.in-progress .milestone-badge-copy small{color:var(--badge-accent)}.milestone-medallion{--badge-accent:var(--teal);--badge-accent-2:#d59f22;--badge-ribbon-neutral:#b8b2a4;--badge-ribbon-neutral-dark:#767065;isolation:isolate;place-items:start center;width:60px;height:78px;display:grid;position:relative}.tone-forest{--badge-accent:#2f7d4f;--badge-accent-2:#d59f22}.tone-sun{--badge-accent:#a06f12;--badge-accent-2:#f3c94b}.tone-violet{--badge-accent:#6f5aa8;--badge-accent-2:#9d86df}.tone-coral{--badge-accent:#b75c45;--badge-accent-2:#f0a18a}.tone-mint{--badge-accent:#0f766e;--badge-accent-2:#73c8b9}.tone-phase{--badge-accent:#263a8b;--badge-accent-2:#d5a42d}.medallion-ring{z-index:2;background:conic-gradient(var(--badge-accent) 0 var(--badge-progress), #16211f24 var(--badge-progress) 100%);width:58px;height:58px;box-shadow:0 13px 24px color-mix(in srgb, var(--badge-accent) 22%, transparent), inset 0 0 0 7px #fff9, inset 0 0 0 11px #2a261d1a;border:2px solid #ffffffe0;border-radius:50%;place-items:center;margin-top:2px;display:grid;position:relative}.milestone-medallion.earned .medallion-ring{background:conic-gradient(var(--badge-accent-2), var(--badge-accent), var(--badge-accent-2), var(--badge-accent))}.milestone-medallion.locked .medallion-ring{filter:grayscale(.45)}.milestone-medallion.segmented .medallion-ring,.milestone-medallion.segmented.earned .medallion-ring,.milestone-medallion.segmented.locked .medallion-ring{background:radial-gradient(circle at center, color-mix(in srgb, var(--badge-accent) 7%, white) 0 54%, transparent 55%), color-mix(in srgb, var(--badge-accent) 10%, white);filter:none;overflow:hidden}.medallion-segments{z-index:1;width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.medallion-segment{fill:none;stroke-linecap:butt;stroke-width:22px}.medallion-segment.complete{stroke:var(--badge-accent)}.medallion-segment:nth-child(2n).complete{stroke:color-mix(in srgb, var(--badge-accent) 76%, var(--badge-accent-2))}.medallion-segment.pending{stroke:#16211f29}.medallion-face{z-index:2;background:radial-gradient(circle at 28% 18%, #ffffffe6, transparent 34%), linear-gradient(145deg, color-mix(in srgb, var(--badge-accent-2) 34%, white), color-mix(in srgb, var(--badge-accent) 72%, black));color:#fff;border:2px solid #ffffffdb;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;position:relative;box-shadow:inset 0 0 0 3px #ffffff2e,inset 0 -8px 14px #0000002e}.medallion-face svg{filter:drop-shadow(0 3px 4px #0000003d)}.medallion-face small{color:#ffffffdb;letter-spacing:.08em;margin-top:-6px;font-size:7px;font-weight:950}.medallion-ribbon{z-index:1;background:linear-gradient(180deg, var(--badge-ribbon-neutral), var(--badge-ribbon-neutral-dark));clip-path:polygon(0 0,100% 0,100% 100%,50% 76%,0 100%);opacity:.95;width:20px;height:28px;position:absolute;bottom:4px}.medallion-ribbon.left{left:11px;transform:rotate(9deg)}.medallion-ribbon.right{right:11px;transform:rotate(-9deg)}.milestone-medallion.earned .medallion-ribbon.left{background:linear-gradient(180deg, var(--badge-accent), color-mix(in srgb, var(--badge-accent) 72%, black))}.milestone-medallion.earned .medallion-ribbon.right{background:linear-gradient(180deg, var(--badge-accent-2), color-mix(in srgb, var(--badge-accent-2) 70%, black))}.milestone-medallion.featured{width:122px;height:138px}.milestone-medallion.featured .medallion-ring{width:114px;height:114px;animation:.9s cubic-bezier(.18,.85,.26,1.18) badge-medallion-pop}.milestone-medallion.featured .medallion-face{width:86px;height:86px}.milestone-medallion.featured .medallion-ribbon{width:38px;height:52px;bottom:0}.compact-badge-cabinet{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px;display:grid}.compact-badge{border:1px solid var(--line);background:var(--surface-soft);text-align:center;border-radius:8px;justify-items:center;gap:6px;min-width:0;padding:9px 7px;display:grid}.compact-badge .milestone-medallion{width:60px;height:74px}.compact-badge .medallion-ring{width:58px;height:58px}.compact-badge .medallion-face{width:40px;height:40px}.compact-badge .medallion-face svg{width:20px;height:20px}.compact-badge .medallion-face small{display:none}.compact-badge .medallion-ribbon{width:20px;height:27px;bottom:2px}.compact-badge .medallion-ribbon.left{left:11px}.compact-badge .medallion-ribbon.right{right:11px}.compact-badge span{color:var(--ink);font-size:11px;font-weight:850;line-height:1.15}.milestone-detail{border:1px solid color-mix(in srgb, var(--badge-accent) 22%, var(--line));background:radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--badge-accent-2) 18%, transparent), transparent 35%), var(--surface);border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;padding:14px;display:grid}.milestone-detail.locked{filter:grayscale(.8)}.milestone-detail h3{margin:3px 0 6px}.milestone-detail p{color:var(--muted);margin:7px 0 0;font-size:14px;line-height:1.45}@keyframes badge-unlocked-card{0%{transform:scale(.98);box-shadow:0 0 #d59f2200}45%{transform:scale(1.025);box-shadow:0 0 0 8px #d59f2229}to{transform:scale(1);box-shadow:0 12px 26px #11242014}}@keyframes badge-medallion-pop{0%{transform:scale(.72)rotate(-8deg)}62%{transform:scale(1.08)rotate(3deg)}to{transform:scale(1)rotate(0)}}.summary-band{border:1px solid var(--line);background:linear-gradient(135deg, #0f766e24, #b75c451f), var(--surface);box-shadow:var(--shadow);border-radius:8px;grid-template-columns:minmax(0,1fr) 220px;gap:0;display:grid;overflow:hidden}.summary-copy{gap:7px;padding:16px 18px;display:grid}.summary-copy h2{max-width:800px;font-size:20px}.summary-copy p{max-width:780px;font-size:13px;line-height:1.4}.next-appointment{background:#fff9;border-left:1px solid #16211f1f;align-content:center;gap:6px;padding:16px;display:grid}.welcome-next-treatment{border:1px solid #16211f1a;border-radius:8px;min-height:128px}.welcome-next-treatment strong{font-size:17px;line-height:1.15}.welcome-next-treatment .complete-treatment-button{width:100%;min-height:38px;padding:8px 10px}.complete-treatment-button{background:var(--green);color:#fff;margin-top:4px}.celebration-banner{min-height:236px;color:var(--green);isolation:isolate;background:radial-gradient(circle at 18% 20%,#fffabbd1,#0000 34%),linear-gradient(135deg,#eefff8f0,#f5ecdae0);border:1px solid #2f7d4f40;border-radius:8px;align-items:end;padding:0;display:grid;position:relative;overflow:hidden}.celebration-pop{animation:.52s cubic-bezier(.2,.9,.22,1.1) celebration-rise}.celebration-pop>svg{flex:none;animation:.72s ease-out celebration-icon}.celebration-banner .milestone-medallion{flex:none;margin:-8px 2px -12px -4px}.celebration-foreground{z-index:6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(135deg,#ffffffeb,#f4fffac2),#ffffffd6;border:1px solid #ffffffb8;border-radius:12px;align-items:center;gap:14px;width:min(610px,100% - 28px);margin:14px;padding:13px 16px;display:flex;position:relative;box-shadow:0 20px 48px #0c2b2529,inset 0 1px #ffffffeb}.celebration-foreground>svg{color:var(--green);filter:drop-shadow(0 8px 16px #2f7d4f42);flex:none;animation:.72s ease-out celebration-icon}.treatment-celebration-scene{z-index:1;pointer-events:none;position:absolute;inset:0}.celebration-stage{width:100%;height:100%;min-height:236px;display:block}.celebration-light{z-index:2;opacity:.72;mix-blend-mode:screen;pointer-events:none;transform-origin:top;width:38%;animation:3.2s ease-in-out infinite alternate animal-stage-spotlight;position:absolute;top:-20%;bottom:-10%}.celebration-light-left{background:linear-gradient(70deg,#0000 12%,#fff5b4b8 46%,#0000 78%);left:-10%}.celebration-light-right{background:linear-gradient(-70deg,#0000 12%,#6adcc78f 46%,#0000 78%);animation-delay:.38s;right:-10%}.celebration-sky{opacity:.98}.celebration-glow{animation:2.4s ease-in-out infinite alternate animal-stage-glow}.celebration-hill{fill:#2f7d4f3d}.celebration-hill.front{fill:#2f7d4f57}.celebration-token{transform-box:fill-box;transform-origin:50%;animation:1.8s cubic-bezier(.14,.84,.34,1) both token-fountain}.celebration-token circle{fill:#f4c94f;stroke:#6d500a33;stroke-width:1.2px}.celebration-token path{fill:#ffffffc2}.token-1{--token-x:-54px;--token-y:-112px;--token-rotate:280deg;translate:106px 188px}.token-2{--token-x:-34px;--token-y:-136px;--token-rotate:-220deg;animation-delay:40ms;translate:146px 196px}.token-3{--token-x:16px;--token-y:-148px;--token-rotate:260deg;animation-delay:80ms;translate:210px 202px}.token-4{--token-x:38px;--token-y:-124px;--token-rotate:-280deg;animation-delay:.11s;translate:284px 206px}.token-5{--token-x:-8px;--token-y:-154px;--token-rotate:320deg;animation-delay:.15s;translate:356px 204px}.token-6{--token-x:24px;--token-y:-132px;--token-rotate:-240deg;animation-delay:.19s;translate:432px 202px}.token-7{--token-x:58px;--token-y:-118px;--token-rotate:280deg;animation-delay:.23s;translate:508px 198px}.token-8{--token-x:70px;--token-y:-144px;--token-rotate:-300deg;animation-delay:.27s;translate:586px 190px}.token-9{--token-x:32px;--token-y:-102px;--token-rotate:220deg;animation-delay:.31s;translate:650px 182px}.token-10{--token-x:-18px;--token-y:-72px;--token-rotate:-180deg;animation-delay:.13s;translate:92px 218px}.token-11{--token-x:-42px;--token-y:-84px;--token-rotate:220deg;animation-delay:.21s;translate:260px 224px}.token-12{--token-x:12px;--token-y:-88px;--token-rotate:-240deg;animation-delay:.28s;translate:470px 220px}.token-13{--token-x:48px;--token-y:-76px;--token-rotate:190deg;animation-delay:.34s;translate:610px 218px}.token-14{--token-x:18px;--token-y:-92px;--token-rotate:-210deg;animation-delay:.39s;translate:702px 212px}.sparkle{fill:#ffffffeb;filter:drop-shadow(0 0 8px #ffd657c2);transform-box:fill-box;transform-origin:50%;animation:1.3s ease-in-out infinite both sparkle-twinkle}.sparkle-1{animation-delay:20ms;transform:translate(74px,52px)scale(.7)}.sparkle-2{animation-delay:.12s;transform:translate(112px,96px)scale(.44)}.sparkle-3{animation-delay:.22s;transform:translate(154px,40px)scale(.56)}.sparkle-4{animation-delay:.32s;transform:translate(198px,104px)scale(.5)}.sparkle-5{animation-delay:.42s;transform:translate(244px,62px)scale(.66)}.sparkle-6{animation-delay:.52s;transform:translate(298px,32px)scale(.42)}.sparkle-7{animation-delay:.62s;transform:translate(344px,88px)scale(.62)}.sparkle-8{animation-delay:.72s;transform:translate(388px,48px)scale(.52)}.sparkle-9{animation-delay:.82s;transform:translate(438px,104px)scale(.44)}.sparkle-10{animation-delay:.92s;transform:translate(486px,42px)scale(.68)}.sparkle-11{animation-delay:1.02s;transform:translate(538px,86px)scale(.5)}.sparkle-12{animation-delay:1.12s;transform:translate(596px,52px)scale(.58)}.sparkle-13{animation-delay:1.22s;transform:translate(650px,102px)scale(.46)}.sparkle-14{animation-delay:1.32s;transform:translate(706px,54px)scale(.62)}.sparkle-15{animation-delay:1.42s;transform:translate(92px,138px)scale(.42)}.sparkle-16{animation-delay:1.52s;transform:translate(168px,150px)scale(.48)}.sparkle-17{animation-delay:1.62s;transform:translate(240px,128px)scale(.4)}.sparkle-18{animation-delay:1.72s;transform:translate(322px,142px)scale(.46)}.sparkle-19{animation-delay:1.82s;transform:translate(402px,132px)scale(.5)}.sparkle-20{animation-delay:1.92s;transform:translate(478px,152px)scale(.44)}.sparkle-21{animation-delay:2.02s;transform:translate(558px,128px)scale(.42)}.sparkle-22{animation-delay:2.12s;transform:translate(638px,146px)scale(.48)}.sparkle-23{animation-delay:2.22s;transform:translate(708px,128px)scale(.4)}.sparkle-24{animation-delay:2.32s;transform:translate(44px,112px)scale(.44)}.sparkle-25{animation-delay:2.42s;transform:translate(274px,106px)scale(.38)}.sparkle-26{animation-delay:2.52s;transform:translate(524px,112px)scale(.38)}.sparkle-27{animation-delay:2.62s;transform:translate(690px,88px)scale(.36)}.sparkle-28{animation-delay:2.72s;transform:translate(374px,22px)scale(.36)}.carrot{transform-box:fill-box;transform-origin:50%;animation:1.55s ease-out both carrot-pop}.carrot-1{animation-delay:.18s;translate:126px 170px;rotate:-18deg}.carrot-2{animation-delay:.26s;translate:526px 164px;rotate:22deg}.carrot-3{animation-delay:.34s;translate:666px 184px;rotate:-8deg}.carrot-root{fill:#f28b2e;stroke:#76390c2e;stroke-width:1px}.carrot-top{fill:#2f9a60}.celebration-animal,.animal-hop,.animal-trot{transform-box:fill-box;transform-origin:bottom}.animal-shadow{fill:#0c2b2533;opacity:.8}.rabbit{animation:.7s cubic-bezier(.18,.9,.24,1.18) both animal-arrive}.rabbit .animal-hop{animation:.72s cubic-bezier(.22,.98,.28,1) infinite rabbit-hop}.rabbit-ear{fill:#fff3ec;stroke:#6e4e3a1a;stroke-width:1.2px;transform-box:fill-box;transform-origin:bottom;animation:1.18s ease-in-out infinite rabbit-ear-wiggle}.rabbit-ear-right{animation-delay:.12s}.rabbit-ear-inner{fill:#f3b7bc;opacity:.86}.rabbit-body,.rabbit-head,.rabbit-tail,.rabbit-paw{fill:#fff8f0;stroke:#6049371f;stroke-width:1.2px}.rabbit-tail{transform-box:fill-box;transform-origin:50%;animation:.64s ease-in-out infinite rabbit-tail-pop}.rabbit-cheek{fill:#f2aab0;opacity:.38}.rabbit-eye,.animal-eye{fill:#22302c}.rabbit-smile,.rabbit-whisker,.animal-smile{fill:none;stroke:#5f4d45;stroke-linecap:round;stroke-width:2.1px}.rabbit-a{animation-delay:40ms;transform:translate(92px,161px)scale(.78)}.rabbit-b{animation-delay:.14s;transform:translate(186px,178px)scale(.62)}.rabbit-c{animation-delay:20ms;transform:translate(316px,154px)scale(.9)}.rabbit-d{animation-delay:.21s;transform:translate(430px,178px)scale(.58)}.rabbit-e{animation-delay:95ms;transform:translate(574px,158px)scale(.82)}.rabbit-f{animation-delay:.26s;transform:translate(682px,174px)scale(.66)}.rabbit-b .animal-hop,.rabbit-d .animal-hop,.rabbit-f .animal-hop{animation-delay:.24s}.gentle-animal{animation:.76s cubic-bezier(.18,.9,.24,1.18) both animal-arrive}.gentle-animal .animal-trot{animation:.96s ease-in-out infinite gentle-trot}.sheep{animation-delay:.18s;transform:translate(252px,171px)scale(.64)}.camel{animation-delay:.3s;transform:translate(498px,168px)scale(.64)}.horse{animation-delay:.25s;transform:translate(610px,170px)scale(.62)}.sheep-fleece{fill:#fffdf6;stroke:#5e4e3d1f;stroke-width:1.1px}.sheep-head,.sheep-ear{fill:#efe0cf}.camel-body,.camel-neck{fill:#d6a461;stroke:#53381c2e;stroke-width:1.2px}.horse-body,.horse-neck{fill:#c78a5a;stroke:#50301f33;stroke-width:1.2px}.horse-tail,.horse-mane{fill:#6b3c2f}.animal-leg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:5px}.sheep .animal-leg{color:#5e5148}.camel-leg{color:#8b642e}.horse-leg{color:#6b3c2f}.celebration-shockwave{opacity:0;pointer-events:none;border:2px solid #2f7d4f59;border-radius:999px;width:68px;height:68px;animation:.9s ease-out forwards celebration-shockwave;position:absolute;top:50%;left:24px;transform:translateY(-50%)scale(.3)}.celebration-burst{pointer-events:none;position:absolute;inset:0}.celebration-burst span{opacity:0;border-radius:3px;width:7px;height:12px;animation:.86s ease-out forwards celebration-confetti;position:absolute;top:50%;left:48px;transform:translate(-50%,-50%)}.celebration-burst span:first-child{background:var(--green);--confetti-x:-32px;--confetti-y:-42px;--confetti-rotate:-32deg}.celebration-burst span:nth-child(2){--confetti-x:6px;--confetti-y:-54px;--confetti-rotate:24deg;background:#d59f22;animation-delay:35ms}.celebration-burst span:nth-child(3){background:var(--teal);--confetti-x:40px;--confetti-y:-34px;--confetti-rotate:48deg;animation-delay:70ms}.celebration-burst span:nth-child(4){--confetti-x:-46px;--confetti-y:4px;--confetti-rotate:18deg;background:#6f5aa8;animation-delay:95ms}.celebration-burst span:nth-child(5){--confetti-x:48px;--confetti-y:16px;--confetti-rotate:-46deg;background:#c75842;animation-delay:.11s}.celebration-burst span:nth-child(6){background:var(--green);--confetti-x:-4px;--confetti-y:40px;--confetti-rotate:72deg;animation-delay:.145s}.celebration-burst span:nth-child(7){--confetti-x:82px;--confetti-y:-24px;--confetti-rotate:-64deg;background:#d59f22;animation-delay:.16s}.celebration-burst span:nth-child(8){background:var(--teal);--confetti-x:94px;--confetti-y:32px;--confetti-rotate:38deg;animation-delay:.18s}.celebration-burst span:nth-child(9){--confetti-x:130px;--confetti-y:-45px;--confetti-rotate:86deg;background:#f3c94b;animation-delay:.11s}.celebration-burst span:nth-child(10){background:var(--green);--confetti-x:146px;--confetti-y:4px;--confetti-rotate:-82deg;animation-delay:.145s}.celebration-burst span:nth-child(11){--confetti-x:118px;--confetti-y:48px;--confetti-rotate:58deg;background:#6f5aa8;animation-delay:.19s}.celebration-burst span:nth-child(12){--confetti-x:-74px;--confetti-y:-24px;--confetti-rotate:-96deg;background:#c75842;animation-delay:.12s}.celebration-burst span:nth-child(13){background:var(--teal);--confetti-x:-88px;--confetti-y:38px;--confetti-rotate:112deg;animation-delay:.165s}.celebration-burst span:nth-child(14){--confetti-x:186px;--confetti-y:-10px;--confetti-rotate:-124deg;background:#d59f22;animation-delay:.21s}.celebration-burst span:nth-child(15){background:var(--green);--confetti-x:178px;--confetti-y:46px;--confetti-rotate:104deg;animation-delay:.235s}.celebration-burst span:nth-child(16){--confetti-x:212px;--confetti-y:-56px;--confetti-rotate:132deg;background:#f3c94b;animation-delay:.26s}.celebration-copy strong,.celebration-copy span{display:block}.celebration-copy strong{color:var(--ink)}.celebration-copy span{color:var(--muted);margin-top:2px}@keyframes celebration-rise{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes celebration-icon{0%{transform:scale(.82)rotate(-10deg)}45%{transform:scale(1.24)rotate(9deg)}to{transform:scale(1)rotate(0)}}.treatment-celebration-overlay{z-index:3000;color:#fff8d8;pointer-events:none;opacity:0;place-items:center;padding:0;animation:7.2s ease-out forwards celebration-overlay-lifecycle;display:grid;position:fixed;inset:0;overflow:hidden}.celebration-vignette,.celebration-aurora,.celebration-flares,.celebration-token-field{pointer-events:none;position:absolute;inset:0}.celebration-vignette{-webkit-backdrop-filter:blur(7px)saturate(1.1);backdrop-filter:blur(7px)saturate(1.1);background:radial-gradient(circle at 50% 42%,#146c5b2e,#0000 24%),radial-gradient(circle at 50% 48%,#ffd4563d,#0000 38%),linear-gradient(135deg,#051216d6,#072825c7 42%,#0d1017db);animation:2.4s ease-in-out infinite alternate celebration-vignette-pulse}.celebration-aurora{opacity:.72;mix-blend-mode:screen;filter:blur(1px);transform-origin:top;width:58vw;height:130vh;animation:3.3s ease-in-out infinite alternate celebration-aurora-sweep;top:-18vh}.celebration-aurora-left{background:linear-gradient(70deg,#0000 9%,#ffdc6861 36%,#45d3b93d 52%,#0000 76%);left:-10vw}.celebration-aurora-right{background:linear-gradient(-70deg,#0000 9%,#71e0ca47 34%,#fff5b85c 55%,#0000 78%);animation-delay:.42s;right:-10vw}.celebration-overlay-panel{width:100vw;height:calc(var(--app-vh,1vh) * 100);min-height:100vh;box-shadow:none;transform-origin:50%;background:radial-gradient(circle at 50% 38%,#ffefa129,#0000 28%),radial-gradient(circle at 50% 58%,#18756533,#0000 42%);border:0;border-radius:0;animation:none;position:relative;overflow:hidden}.celebration-overlay-panel:before,.celebration-overlay-panel:after{content:"";pointer-events:none;position:absolute}.celebration-overlay-panel:before{z-index:1;box-shadow:none;background:radial-gradient(circle at 50% 48%,#ffe16f33,#0000 22%),radial-gradient(circle,#fffadb14,#0000 34%);border:0;border-radius:0;inset:0}.celebration-overlay-panel:after{z-index:6;background:linear-gradient(90deg,#0000 18%,#ffffff2e,#0000 72%);height:auto;animation:3.6s ease-in-out infinite celebration-panel-sheen;inset:-18% -26%;transform:rotate(-10deg)translate(-58%)}.celebration-jackpot-ring,.celebration-orbit{pointer-events:none;border-radius:999px;position:absolute;top:43%;left:50%}.celebration-jackpot-ring{background:conic-gradient(from 0deg, transparent 0 7%, #ffe68470 8% 10%, transparent 11% 21%, #53d8c147 22% 24%, transparent 25% 100%), radial-gradient(circle, transparent 54%, #ffd45024 55%, transparent 64%);filter:drop-shadow(0 0 32px #ffcf4847);border:2px solid #ffd9625c;width:min(620px,72vw);height:min(620px,72vw);animation:8.5s linear infinite celebration-ring-spin;transform:translate(-50%,-50%)}.celebration-orbit{border:1px solid #fff5c02e;width:min(760px,84vw);height:min(240px,30vw);animation:3.8s ease-in-out infinite alternate celebration-orbit-drift;transform:translate(-50%,-50%)rotate(-8deg);box-shadow:0 0 36px #53d8c129}.celebration-orbit-two{width:min(650px,74vw);height:min(310px,38vw);animation-delay:.38s;transform:translate(-50%,-50%)rotate(13deg)}.celebration-token-field{z-index:2}.overlay-token,.celebration-flare{pointer-events:none;position:absolute}.overlay-token{opacity:0;background:radial-gradient(circle at 34% 24%,#fff9ce 0 16%,#0000 17%),radial-gradient(circle,#ffd95f 0 38%,#b87519 68%,#6b3d0d 100%);border-radius:50%;width:18px;height:18px;animation:2.3s cubic-bezier(.14,.86,.22,1) both celebration-token-burst;top:50%;left:50%;transform:translate(-50%,-50%)scale(.4);box-shadow:inset 0 0 0 2px #ffeea638,0 0 18px #ffd34994}.overlay-token:after{content:"";border:1px solid #5f380873;border-radius:999px;position:absolute;inset:5px}.overlay-token-1{--token-x:-440px;--token-y:-245px;--token-r:-420deg;animation-delay:20ms}.overlay-token-2{--token-x:-350px;--token-y:-300px;--token-r:380deg;animation-delay:65ms}.overlay-token-3{--token-x:-245px;--token-y:-270px;--token-r:-360deg;animation-delay:.11s}.overlay-token-4{--token-x:-120px;--token-y:-320px;--token-r:440deg;animation-delay:.15s}.overlay-token-5{--token-x:0;--token-y:-340px;--token-r:-390deg;animation-delay:60ms}.overlay-token-6{--token-x:138px;--token-y:-310px;--token-r:410deg;animation-delay:.12s}.overlay-token-7{--token-x:252px;--token-y:-275px;--token-r:-430deg;animation-delay:.175s}.overlay-token-8{--token-x:370px;--token-y:-296px;--token-r:380deg;animation-delay:95ms}.overlay-token-9{--token-x:456px;--token-y:-238px;--token-r:-360deg;animation-delay:.145s}.overlay-token-10{--token-x:-500px;--token-y:-86px;--token-r:290deg;animation-delay:.22s}.overlay-token-11{--token-x:505px;--token-y:-96px;--token-r:-320deg;animation-delay:.235s}.overlay-token-12{--token-x:-475px;--token-y:112px;--token-r:360deg;animation-delay:.28s}.overlay-token-13{--token-x:475px;--token-y:126px;--token-r:-370deg;animation-delay:.3s}.overlay-token-14{--token-x:-344px;--token-y:260px;--token-r:420deg;animation-delay:.34s}.overlay-token-15{--token-x:344px;--token-y:270px;--token-r:-420deg;animation-delay:.36s}.overlay-token-16{--token-x:-148px;--token-y:314px;--token-r:320deg;animation-delay:.39s}.overlay-token-17{--token-x:158px;--token-y:320px;--token-r:-300deg;animation-delay:.41s}.overlay-token-18{--token-x:0;--token-y:350px;--token-r:340deg;animation-delay:.44s}.overlay-token-19{--token-x:-530px;--token-y:-188px;--token-r:-300deg;animation-delay:.18s}.overlay-token-20{--token-x:530px;--token-y:-180px;--token-r:310deg;animation-delay:.2s}.overlay-token-21{--token-x:-560px;--token-y:28px;--token-r:360deg;animation-delay:.26s}.overlay-token-22{--token-x:560px;--token-y:30px;--token-r:-360deg;animation-delay:.275s}.overlay-token-23{--token-x:-410px;--token-y:205px;--token-r:-410deg;animation-delay:.325s}.overlay-token-24{--token-x:420px;--token-y:210px;--token-r:390deg;animation-delay:.345s}.overlay-token-25{--token-x:-60px;--token-y:-265px;--token-r:-280deg;animation-delay:.5s}.overlay-token-26{--token-x:72px;--token-y:-258px;--token-r:280deg;animation-delay:.52s}.overlay-token-27{--token-x:-235px;--token-y:222px;--token-r:300deg;animation-delay:.54s}.overlay-token-28{--token-x:235px;--token-y:220px;--token-r:-300deg;animation-delay:.56s}.celebration-flares{z-index:3}.celebration-flare{opacity:0;background:#fff6c0;border-radius:999px;width:7px;height:7px;animation:2.6s ease-out infinite celebration-flare-rise;box-shadow:0 0 14px #ffed98eb,0 0 34px #59e1c86b}.flare-1{animation-delay:0s;top:62%;left:12%}.flare-2{animation-delay:.14s;top:38%;left:18%}.flare-3{animation-delay:.32s;top:72%;left:24%}.flare-4{animation-delay:.52s;top:28%;left:31%}.flare-5{animation-delay:.68s;top:61%;left:39%}.flare-6{animation-delay:.86s;top:35%;left:46%}.flare-7{animation-delay:1.02s;top:70%;left:52%}.flare-8{animation-delay:1.22s;top:26%;left:58%}.flare-9{animation-delay:1.4s;top:58%;left:64%}.flare-10{animation-delay:1.58s;top:39%;left:70%}.flare-11{animation-delay:1.76s;top:72%;left:76%}.flare-12{animation-delay:1.94s;top:32%;left:84%}.flare-13{animation-delay:2.12s;top:57%;left:88%}.flare-14{animation-delay:2.3s;top:46%;left:8%}.flare-15{animation-delay:2.48s;top:47%;left:92%}.flare-16{animation-delay:2.66s;top:82%;left:36%}.flare-17{animation-delay:2.84s;top:83%;left:67%}.flare-18{animation-delay:3.02s;top:18%;left:50%}.celebration-mascot-stage{z-index:4;pointer-events:none;position:absolute;inset:0}.celebration-rabbit-cameo,.celebration-animal-cameo{filter:drop-shadow(0 20px 28px #0000005c)drop-shadow(0 0 26px #ffd55433);opacity:0;transform-origin:bottom;width:clamp(82px,10vw,142px);height:clamp(82px,10vw,142px);animation:.86s cubic-bezier(.16,1.2,.22,1) both celebration-cameo-enter,1.9s ease-in-out infinite celebration-cameo-float;position:absolute;overflow:visible}.celebration-rabbit-cameo{width:clamp(92px,11vw,164px);height:clamp(92px,11vw,164px)}.rabbit-alpha{animation-delay:.11s,.9s;top:24%;left:7%}.rabbit-bravo{animation-delay:.16s,.98s;top:25%;right:7%}.rabbit-charlie{animation-delay:.25s,1.1s;bottom:11%;left:17%}.rabbit-delta{animation-delay:.3s,1.18s;bottom:10%;right:18%}.rabbit-echo{animation-delay:.21s,1.04s;top:8%;left:38%}.rabbit-foxtrot{animation-delay:.34s,1.26s;top:10%;right:35%}.rabbit-golf{width:clamp(132px,15vw,210px);height:clamp(132px,15vw,210px);animation-delay:80ms,.86s;bottom:6%;left:42%}.celebration-animal-cameo.sheep{animation-delay:.39s,1.32s;bottom:34%;left:10%}.celebration-animal-cameo.camel{animation-delay:.45s,1.4s;bottom:34%;right:10%}.celebration-animal-cameo.horse{animation-delay:.52s,1.48s;top:26%;left:43%}.animal-cameo-halo{fill:#ffec9e14;stroke:#ffe0758c;stroke-width:2px;filter:drop-shadow(0 0 18px #ffdd7647);animation:1.6s ease-in-out infinite alternate celebration-halo-pulse}.rabbit-sigil-shadow,.gentle-sigil-shadow{fill:#0000003d}.rabbit-sigil-ear,.rabbit-sigil-body,.rabbit-sigil-head,.rabbit-sigil-tail,.gentle-sigil-main,.gentle-sigil-accent{fill:#fff6dcf0;stroke:#ffe79d9e;stroke-width:1.4px}.rabbit-sigil-ear.back,.gentle-sigil-accent{fill:#d4a54eeb}.rabbit-sigil-highlight{fill:#ffffff8a}.rabbit-sigil-line,.gentle-sigil-line{fill:none;stroke:#492f14b8;stroke-width:4px;stroke-linecap:round}.horse-sigil-mane{fill:#6f4119c7}.celebration-overlay-foreground{z-index:7;width:min(720px,100% - 42px);box-shadow:none;text-align:center;filter:drop-shadow(0 22px 48px #0000006b)drop-shadow(0 0 42px #ffdc6433);background:0 0;border:0;border-radius:0;justify-items:center;padding:0;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.celebration-kicker{color:#ffe89a;letter-spacing:.18em;text-transform:uppercase;text-shadow:0 0 18px #ffde6952;background:#ffd54e1f;border:1px solid #ffe07c6b;border-radius:999px;justify-content:center;align-items:center;min-height:28px;margin-bottom:12px;padding:5px 14px;font-size:11px;font-weight:900;display:inline-flex}.celebration-overlay-medallion{color:#ffe79a;filter:drop-shadow(0 20px 36px #00000057);place-items:center;width:146px;min-height:154px;animation:.98s cubic-bezier(.16,1.18,.22,1) both celebration-medallion-pop;display:grid}.celebration-overlay-medallion>svg{color:#ffe79a;filter:drop-shadow(0 0 24px #ffe06a80);width:76px;height:76px}.celebration-overlay-medallion .milestone-medallion.featured{margin:0;transform:scale(1.18)}.celebration-overlay-copy{max-width:560px;animation:.82s cubic-bezier(.16,1,.3,1) .16s both celebration-copy-rise}.celebration-overlay-copy strong,.celebration-overlay-copy span{display:block}.celebration-overlay-copy strong{color:#fff9d8;letter-spacing:-.05em;text-shadow:0 2px #6a420b6b,0 0 36px #ffd86061;font-size:clamp(28px,5vw,54px);font-weight:950;line-height:.96}.celebration-overlay-copy span{color:#fffae0d6;margin-top:12px;font-size:clamp(15px,2vw,20px);line-height:1.45}.rabbit-sigil-line{display:none}.gentle-sigil-line{opacity:.28}.celebration-rabbit-cameo .rabbit-sigil-ear,.celebration-rabbit-cameo .rabbit-sigil-body,.celebration-rabbit-cameo .rabbit-sigil-head,.celebration-rabbit-cameo .rabbit-sigil-tail{fill:#ffeeaee6;stroke:#fff5cf8a}.celebration-rabbit-cameo .rabbit-sigil-ear.back{fill:#ad7a22e0}.celebration-rabbit-cameo .rabbit-sigil-highlight{fill:#ffffff47}.celebration-hero-rabbit{z-index:4;opacity:0;filter:drop-shadow(0 28px 34px #00000057)drop-shadow(0 0 30px #ffe48438);width:clamp(180px,19vw,260px);height:clamp(180px,19vw,260px);animation:.86s cubic-bezier(.16,1.18,.24,1) .14s both hero-rabbit-enter,1.12s cubic-bezier(.3,0,.25,1) 1.05s infinite hero-rabbit-bounce;position:absolute;top:4%;bottom:auto;left:50%;overflow:visible;transform:translate(-50%)}.hero-rabbit-body-group{transform-origin:50% 82%;animation:1.12s cubic-bezier(.3,0,.25,1) 1.05s infinite hero-rabbit-squash}.hero-rabbit-shadow{fill:#00000052;transform-origin:50%;animation:1.12s ease-in-out 1.05s infinite hero-rabbit-shadow}.hero-rabbit-ear,.hero-rabbit-arm,.hero-rabbit-body,.hero-rabbit-head{fill:#fff9e5f5;stroke:#ffeca8b8;stroke-width:4.2px;stroke-linejoin:round}.hero-rabbit-ear.back,.hero-rabbit-cheek{fill:#dca65ad1}.hero-rabbit-ear{transform-origin:50% 48%;animation:1.12s ease-in-out 1.05s infinite hero-rabbit-ear-wiggle}.hero-rabbit-ear.front{animation-delay:1.14s}.hero-rabbit-arm{fill:none;stroke-linecap:round;animation:1.12s ease-in-out 1.05s infinite hero-rabbit-arm-wave}.hero-rabbit-arm.right{animation-delay:1.12s}.hero-rabbit-face{fill:none;stroke:#302011db;stroke-width:6.2px;stroke-linecap:round;stroke-linejoin:round}@keyframes celebration-shockwave{0%{opacity:.65;transform:translateY(-50%)scale(.28)}to{opacity:0;transform:translateY(-50%)scale(2.8)}}@keyframes celebration-confetti{0%{opacity:0;transform:translate(-50%,-50%)scale(.7)rotate(0)}18%{opacity:1}to{opacity:0;transform:translate(calc(-50% + var(--confetti-x)), calc(-50% + var(--confetti-y))) scale(1) rotate(var(--confetti-rotate))}}@keyframes animal-stage-glow{0%{opacity:.58;transform:scale(1)}to{opacity:.92;transform:scale(1.06)}}@keyframes animal-stage-spotlight{0%{opacity:.46;transform:rotate(-8deg)translateY(0)}to{opacity:.82;transform:rotate(7deg)translateY(8px)}}@keyframes token-fountain{0%{opacity:0;transform:translate(0)scale(.35)rotate(0)}18%{opacity:1}72%{opacity:1}to{opacity:0;transform:translate(var(--token-x), var(--token-y)) scale(1.05) rotate(var(--token-rotate))}}@keyframes sparkle-twinkle{0%,to{opacity:.22;filter:drop-shadow(0 0 2px #ffd65733)}45%{opacity:1;filter:drop-shadow(0 0 12px #ffd657db)}}@keyframes carrot-pop{0%{opacity:0;transform:translateY(22px)scale(.4)rotate(-26deg)}48%{opacity:1;transform:translateY(-8px)scale(1.1)rotate(10deg)}to{opacity:1;transform:translateY(0)scale(1)rotate(0)}}@keyframes animal-arrive{0%{opacity:0;translate:0 34px;scale:.84}to{opacity:1;translate:0;scale:1}}@keyframes rabbit-hop{0%,to{transform:translateY(0)scaleX(1.04)scaleY(.96)}36%{transform:translateY(-18px)scaleX(.96)scaleY(1.06)}58%{transform:translateY(-20px)rotate(-2deg)scale(1.02)}78%{transform:translateY(0)scaleX(1.08)scaleY(.92)}}@keyframes rabbit-ear-wiggle{0%,to{transform:rotate(-3deg)}45%{transform:rotate(7deg)}70%{transform:rotate(-9deg)}}@keyframes rabbit-tail-pop{0%,to{transform:scale(1)}52%{transform:scale(1.22)}}@keyframes gentle-trot{0%,to{transform:translateY(0)rotate(0)}45%{transform:translateY(-8px)rotate(-1.2deg)}72%{transform:translateY(0)rotate(1deg)}}@media (prefers-reduced-motion:reduce){.celebration-pop,.celebration-pop>svg,.celebration-shockwave,.celebration-burst span,.celebration-light,.celebration-glow,.celebration-token,.sparkle,.carrot,.celebration-animal,.animal-hop,.animal-trot,.rabbit-ear,.rabbit-tail,.milestone-badge-card.just-earned,.milestone-medallion.featured .medallion-ring{animation:none}.celebration-burst{display:none}}.next-appointment strong{color:var(--ink);font-size:21px}.next-appointment small,.metric-card small,.phase-meta,.source-card span,.drug-header span,.message-card span{color:var(--muted)}.metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.metric-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:7px;padding:16px;display:grid}.metric-card svg{color:var(--teal)}.metric-card span{color:var(--muted);font-size:13px}.metric-card strong{color:var(--ink);font-size:27px;line-height:1}.dashboard-grid,.calendar-layout,.message-layout,.opinion-layout,.profile-grid{grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);gap:18px;display:grid}.profile-grid{grid-template-columns:minmax(0,1fr) minmax(340px,.75fr)}.span-2{grid-column:1/-1}.panel,.comparison-card,.drug-card,.source-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;box-shadow:0 8px 22px #1124200a}.panel{min-width:0;padding:18px}.panel-header,.section-heading,.item-row,.drug-header,.source-top,.source-meta,.phase-topline{justify-content:space-between;align-items:center;gap:12px;display:flex}.panel-header{margin-bottom:15px}.panel-header>div,.drug-header,.source-top{align-items:center;gap:9px;display:flex}.panel-header svg,.section-heading svg,.source-top svg{color:var(--teal)}.text-button,.source-link{cursor:pointer;color:var(--teal);background:0 0;border-radius:6px;align-items:center;gap:4px;padding:4px 0;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.phase-track{grid-template-columns:repeat(5,minmax(180px,1fr));gap:12px;padding-bottom:4px;display:grid;overflow-x:auto}.phase-card{border:1px solid var(--line);border-radius:8px;align-content:space-between;min-height:172px;padding:14px;display:grid}.phase-card h3{min-height:40px;margin:10px 0 16px}.tone-teal{background:var(--teal-soft)}.tone-coral{background:var(--coral-soft)}.tone-violet{background:var(--violet-soft)}.tone-amber{background:var(--amber-soft)}.tone-ink{background:#e8ecea}.progress-bar{background:#fffc;border-radius:999px;height:9px;overflow:hidden}.progress-bar span{border-radius:inherit;background:var(--ink);height:100%;display:block}.phase-meta{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:8px;margin-top:10px;font-size:12px;display:grid}.phase-meta span:last-child{text-align:right}.appointment-list,.task-list,.thread-list,.opinion-timeline{gap:10px;display:grid}.appointment-item,.task-item,.message-card{border-top:1px solid var(--line);grid-template-columns:auto minmax(0,1fr);gap:12px;padding-top:12px;display:grid}.appointment-item:first-child,.task-item:first-child,.message-card:first-child{border-top:0;padding-top:0}.date-chip{background:var(--surface-soft);border-radius:8px;place-items:center;width:48px;height:48px;display:grid}.date-chip strong{color:var(--ink);font-size:18px;line-height:1}.date-chip span,.item-row span,.task-item p,.source-meta,.timeline-item small{color:var(--muted);font-size:12px}.appointment-item.infusion .date-chip,.event-dot.infusion{background:var(--teal-soft);color:var(--teal)}.appointment-item.payment .date-chip,.event-dot.payment{background:var(--amber-soft);color:var(--amber)}.appointment-item.approval .date-chip,.event-dot.approval{background:var(--violet-soft);color:var(--violet)}.appointment-item.consultation .date-chip,.event-dot.consultation{background:var(--blue-soft);color:var(--blue)}.appointment-item.procedure .date-chip,.event-dot.procedure{background:var(--red-soft);color:var(--red)}.appointment-item.support .date-chip,.event-dot.support{background:var(--coral-soft);color:var(--coral)}.task-item{grid-template-columns:minmax(0,1fr) auto;align-items:center}.task-item h3{margin:3px 0}.task-item.done h3{color:var(--muted)}.task-item.done p{color:#8b9693}.small-button,.done-button,.primary-button{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:36px;font-weight:700;display:inline-flex}.small-button{background:var(--ink);color:#fff;padding:7px 12px}.done-button{background:var(--green-soft);width:36px;color:var(--green)}.primary-button{background:var(--teal);color:#fff;width:100%;padding:10px 14px}button:disabled,input:disabled{cursor:not-allowed;opacity:.58}.mood-options,.badge-row,.watch-list,.source-chips,.calendar-legend{flex-wrap:wrap;gap:8px;display:flex}.mood-options{margin-bottom:14px}.mood-options button{border:1px solid var(--line);background:var(--surface)}.care-note,.privacy-note,.refund-box,.fact-row{background:var(--surface-soft);color:var(--muted);border-radius:8px;align-items:flex-start;gap:10px;padding:12px;font-size:14px;display:flex}.notification-limit-note{border-top:1px solid var(--line);color:var(--muted);padding-top:8px;font-size:12px;font-weight:750;line-height:1.35}.care-note svg,.privacy-note svg,.refund-box svg{color:var(--teal);flex:none}.care-note.urgent{border:1px solid color-mix(in srgb, var(--red) 28%, var(--line));background:var(--red-soft);color:var(--red)}.care-note.urgent svg{color:var(--red)}.care-note.compact{gap:8px;padding:9px 10px;font-size:12px;font-weight:750;line-height:1.35}.badge-row span,.watch-list span,.calendar-legend span,.source-chips a,.price-pill,.complete-pill,.status-pill,.table-status{border-radius:999px;padding:7px 9px;font-size:12px;font-weight:700;line-height:1}.badge-row span,.watch-list span{background:var(--surface-soft);color:var(--ink)}.profile-summary{align-content:start;gap:14px;display:grid}.profile-card-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.profile-card-header .panel-header{margin-bottom:0}.profile-identity{align-items:center;gap:14px;display:flex}.avatar-block{background:var(--ink);color:#fff;border-radius:8px;place-items:center;width:58px;height:58px;font-size:24px;font-weight:800;display:grid}.profile-facts,.security-row{flex-wrap:wrap;gap:8px;display:flex}.profile-facts span,.security-row span{background:var(--surface-soft);color:var(--ink);border-radius:999px;padding:7px 9px;font-size:12px;font-weight:700}.profile-detail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.profile-detail-list div{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;gap:4px;padding:10px 12px;display:grid}.profile-detail-list div:first-child,.profile-detail-list div:nth-child(2),.profile-detail-list div:last-child{grid-column:1/-1}.profile-detail-list.compact div{grid-column:auto}.profile-detail-list span{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:11px;font-weight:800}.profile-detail-list strong{min-width:0;color:var(--ink);font-size:14px;line-height:1.35}.settings-panel{gap:14px}.settings-intro{max-width:78ch;color:var(--muted);margin:0;font-size:15px;line-height:1.5}.settings-detail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:0;display:grid}.settings-detail-list div{border-bottom:1px solid var(--line);gap:3px;min-width:0;padding:9px 0;display:grid}.settings-detail-list dt{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:11px;font-weight:800}.settings-detail-list dd{overflow-wrap:anywhere;color:var(--ink);margin:0;font-size:14px;font-weight:750;line-height:1.35}.settings-detail-list.compact dd{font-weight:650}.settings-action-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.settings-note{background:var(--surface-soft);color:var(--muted);border-radius:8px;align-items:flex-start;gap:8px;padding:10px;font-size:13px;line-height:1.45;display:flex}.settings-note svg{color:var(--teal);flex:none}.settings-section{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;gap:10px;padding:12px;display:grid}.notification-engagement-panel{background:radial-gradient(circle at 100% 0,#eb97371f,#0000 34%),#fbfcfb}.notification-policy-form{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-policy-form label:last-child{grid-column:1/-1}.settings-section-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.settings-section-heading{gap:3px;min-width:0;display:grid}.settings-section-heading .panel-header{margin-bottom:0}.settings-section-heading h3{color:var(--ink);margin:0;font-size:18px;line-height:1.2}.settings-section-heading p,.empty-list-note{color:var(--muted);margin:0;font-size:13px;line-height:1.4}.settings-count{color:var(--muted);white-space:nowrap;flex:none;font-size:13px;font-weight:800}.small-pill-button{cursor:pointer;border:1px solid var(--line);background:var(--surface);min-height:32px;color:var(--ink);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:13px;font-weight:800;display:inline-flex}.small-pill-button svg{color:var(--teal)}.small-pill-button.danger{background:var(--red-soft);color:var(--red);border-color:#a33a3a38}.small-pill-button.danger svg{color:var(--red)}.auth-panel .small-pill-button,.recovery-actions .small-pill-button{justify-self:start}.connection-state{background:var(--amber-soft);color:var(--amber);border-radius:8px;gap:10px;padding:12px;display:flex}.connection-state svg{flex:none}.connection-state strong{color:var(--ink)}.auth-panel,.doctor-register{align-content:start;gap:12px;display:grid}.doctor-patients-stack,.doctor-patients-panel{gap:14px;display:grid}.doctor-patients-table{min-width:720px}.contact-table-panel{gap:12px;display:grid}.table-panel-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.table-panel-header .panel-header{margin-bottom:0}.table-panel-action{width:auto;min-height:38px;padding:8px 12px}.contact-table-wrap{border:1px solid var(--line);background:var(--surface);border-radius:8px;overflow-x:auto}.list-table{border-collapse:collapse;width:100%;min-width:780px;font-size:14px}.viewer-access-table{min-width:720px}.account-sessions-table{min-width:680px}.account-sessions-table td{overflow-wrap:anywhere}.access-history-table{table-layout:fixed;min-width:820px}.access-history-table th:first-child,.access-history-table td:first-child{width:15%}.access-history-table th:nth-child(2),.access-history-table td:nth-child(2){width:24%}.access-history-table th:nth-child(4),.access-history-table td:nth-child(4){width:23%}.access-history-table th:nth-child(3),.access-history-table td:nth-child(3){white-space:nowrap;width:11%}.access-history-table th:nth-child(5),.access-history-table td:nth-child(5){width:17%}.access-history-table th:nth-child(6),.access-history-table td:nth-child(6){width:10%}.access-history-table td{overflow-wrap:anywhere}.task-table{table-layout:fixed;min-width:0}.task-table th:first-child,.task-table td:first-child{width:48%}.task-table th:nth-child(2),.task-table td:nth-child(2){width:24%}.task-table th:nth-child(3),.task-table td:nth-child(3){width:28%}.task-table td{overflow-wrap:anywhere}.task-table .table-actions-cell{justify-content:flex-end}.task-table .small-button,.task-table .done-button,.task-table .table-role-chip{white-space:nowrap;min-width:0;max-width:100%}.list-table th,.list-table td{text-align:left;vertical-align:top;padding:11px 12px}.list-table th{background:var(--surface-soft);color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:12px;font-weight:800}.list-table td{border-top:1px solid var(--line)}.list-table tr:first-child td{border-top:0}.list-table td strong,.list-table td small{display:block}.list-table td small{color:var(--muted);margin-top:3px;font-weight:700}.table-role-chip,.viewer-status-chip{background:var(--teal-soft);width:fit-content;color:var(--teal);border-radius:999px;align-items:center;padding:6px 8px;font-size:12px;font-weight:800;line-height:1.1;display:inline-flex}.table-status.open{background:var(--red-soft);color:var(--red)}.table-status.pending,.viewer-status-chip.status-pending{background:var(--amber-soft);color:var(--amber)}.viewer-status-chip.status-expired{background:var(--surface-soft);color:var(--muted)}.table-contact-lines{gap:3px;display:grid}.actions-column{text-align:right}.table-actions-cell{justify-content:flex-end;gap:6px;display:flex}.task-table td.table-actions-cell{text-align:right;padding-left:8px;padding-right:8px;display:table-cell}.table-icon-action{width:34px;height:34px}.table-icon-action.danger{background:var(--red-soft);color:var(--red)}.table-empty-cell{color:var(--muted);text-align:center}.table-empty-cell strong,.table-empty-cell span{display:block}.table-empty-cell .text-button{margin:8px auto 0}.privacy-note.compact{padding:10px}.care-team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.care-team-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:12px;padding:16px;display:grid;position:relative}.care-team-remove{width:32px;height:32px;position:absolute;top:10px;right:10px}.care-team-card-header{gap:4px;padding-right:40px;display:grid}.care-team-card-header span{color:var(--teal);letter-spacing:0;text-transform:uppercase;font-size:12px;font-weight:800}.viewer-access-panel{gap:14px;display:grid}.viewer-access-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.viewer-access-heading .panel-header{margin-bottom:0}.viewer-access-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:14px;display:grid}.viewer-invite-card,.viewer-access-list,.empty-access-state{gap:12px;display:grid}.viewer-invite-card{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;padding:14px}.viewer-invite-form{grid-template-columns:minmax(180px,.8fr) minmax(220px,1.2fr)}.viewer-permission-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.viewer-permission-option,.viewer-access-consent,.viewer-access-edit-summary{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:flex-start;gap:10px;padding:10px;display:flex}.viewer-permission-option input,.viewer-access-consent input{width:18px;height:18px;accent-color:var(--teal);flex:none;margin-top:2px}.viewer-permission-option span,.viewer-access-consent span,.viewer-access-edit-summary{min-width:0}.viewer-permission-option strong,.viewer-permission-option small,.viewer-access-edit-summary strong,.viewer-access-edit-summary span{display:block}.viewer-permission-option strong{font-size:13px}.viewer-permission-option small,.viewer-access-consent,.viewer-access-edit-summary span{color:var(--muted);font-size:12px;line-height:1.3}.viewer-access-consent{background:var(--teal-soft)}.viewer-access-edit-summary{background:var(--surface-soft);gap:3px;display:grid}.viewer-invite-button{width:fit-content}.viewer-access-card{border:1px solid var(--line);border-left:5px solid var(--teal);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px;display:flex}.viewer-access-card.status-pending{border-left-color:var(--amber)}.viewer-access-card.status-expired{border-left-color:var(--muted)}.viewer-access-card span{color:var(--teal);letter-spacing:0;text-transform:uppercase;font-size:12px;font-weight:800}.viewer-access-card.status-pending span{color:var(--amber)}.viewer-access-card.status-expired span{color:var(--muted)}.viewer-access-card h3,.viewer-access-card p{margin:3px 0 0}.viewer-access-card p,.empty-access-state span{color:var(--muted)}.viewer-access-actions{align-items:center;gap:8px;display:flex}.viewer-privacy-toggle{width:38px;height:38px;color:var(--teal)}.empty-access-state{border:1px dashed var(--line-strong);background:var(--surface-soft);border-radius:8px;padding:16px}.empty-access-state svg{color:var(--teal)}.care-team-form{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-tabs,.setup-toggle{flex-wrap:wrap;gap:8px;display:flex}.auth-tabs button,.setup-toggle button,.today-button{cursor:pointer;border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-weight:700;display:inline-flex}.auth-tabs button.selected,.setup-toggle button.selected{background:var(--ink);color:#fff}.auth-form,.connect-grid{gap:11px;display:grid}.auth-form label,.connect-grid label{color:var(--muted);gap:6px;font-size:13px;font-weight:700;display:grid}.auth-form input,.auth-form select,.auth-form textarea,.connect-grid input{border:1px solid var(--line);width:100%;color:var(--ink);background:#fbfcfb;border-radius:8px;padding:11px 12px}.form-error,.form-status{border-radius:8px;padding:10px 12px;font-size:13px;font-weight:800}.form-error{background:var(--red-soft);color:var(--red)}.form-status{background:var(--green-soft);color:var(--green)}.mfa-setup-card{border:1px solid color-mix(in srgb, var(--green) 28%, var(--line));background:var(--green-soft);border-radius:8px;gap:12px;padding:14px;display:grid}.mfa-setup-card>div:first-child{gap:5px;display:grid}.mfa-setup-card strong{color:var(--ink);font-size:14px}.mfa-setup-card span{color:var(--muted);font-size:13px;line-height:1.45}.qr-frame{border:1px solid var(--line);background:#fff;border-radius:8px;place-items:center;width:fit-content;padding:10px;display:grid}.recovery-code-block,.recovery-actions{gap:10px;display:grid}.passkey-panel{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;gap:10px;padding:12px;display:grid}.passkey-list{gap:8px;display:grid}.passkey-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.passkey-row div{gap:3px;min-width:0;display:grid}.passkey-row strong{color:var(--ink);font-size:14px}.passkey-row span{color:var(--muted);font-size:12px;line-height:1.35}.recovery-code-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.recovery-code-grid code{overflow-wrap:anywhere;border:1px solid var(--line);color:var(--ink);background:#ffffffdb;border-radius:8px;padding:9px 10px;font-size:12px;font-weight:800}.security-note{color:var(--muted);margin:0;font-size:13px;line-height:1.45}.sync-state{background:var(--green-soft);width:fit-content;color:var(--green);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;display:inline-flex}.compact-profile-form{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-profile-form label:nth-child(4),.compact-profile-form label:nth-child(5){grid-column:1/-1}.side-effect-layout{gap:18px;display:grid}.side-effect-stats{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;width:min(100%,1120px);margin:0 auto;display:grid}.side-effect-stats span{background:var(--surface-soft);min-height:62px;color:var(--muted);text-align:center;border-radius:8px;place-items:center;gap:2px;padding:8px 9px;font-size:11px;font-weight:700;line-height:1.2;display:grid}.side-effect-stats strong{color:var(--ink);font-size:18px;line-height:1}.side-effect-list{gap:12px;display:grid}.journal-heading-actions{align-items:flex-end}.journal-mode-switch{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,330px);padding:4px;display:grid;position:relative}.journal-mode-switch-indicator{background:var(--ink);border-radius:6px;width:calc(50% - 4px);transition:transform .26s cubic-bezier(.2,.8,.2,1);position:absolute;top:4px;bottom:4px;left:4px}.journal-mode-switch button{z-index:1;cursor:pointer;min-height:36px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:6px;padding:8px 11px;font-size:13px;font-weight:850;position:relative}.journal-mode-switch button.selected{color:#fff}.journal-mode-viewport{min-width:0;overflow:hidden}.journal-mode-slider{will-change:transform;gap:18px;width:100%;transition:transform .32s cubic-bezier(.2,.8,.2,1);display:flex}.journal-mode-entries .journal-mode-slider{transform:translate(calc(-100% - 18px))}.journal-mode-panel{flex:0 0 100%;align-content:start;gap:18px;min-width:0;display:grid}.journal-mode-panel[aria-hidden=true]{pointer-events:none}.journal-entries-panel{gap:12px;display:grid}.journal-entries-table{min-width:980px}.journal-table-row.can-edit{cursor:pointer}.journal-table-row.can-edit:hover td{background:#f7fbfa}.journal-kind-chip{background:var(--teal-soft);width:fit-content;color:var(--teal);border:1px solid #0d847742;border-radius:999px;align-items:center;padding:6px 8px;font-size:12px;font-weight:800;line-height:1.1;display:inline-flex}.journal-kind-chip.journal-kind-temperature{background:var(--coral-soft);color:var(--coral);border-color:#be523740}.journal-kind-chip.journal-kind-mood{background:var(--violet-soft);color:var(--violet);border-color:#6957a940}.journal-kind-chip.journal-kind-weight{background:var(--amber-soft);color:var(--amber);border-color:#a3751140}.journal-kind-chip.journal-kind-exercise{background:var(--green-soft);color:var(--green);border-color:#2a844d40}.journal-kind-chip.journal-kind-vitals{background:var(--teal-soft);color:var(--teal);border-color:#0f766e40}.journal-kind-chip.journal-kind-general{border-color:var(--line);background:var(--surface-soft);color:var(--muted)}.journal-kind-chip.journal-kind-escalation{background:var(--coral-soft);color:var(--coral);border-color:#be523747;margin-top:5px}.journal-value-cell{color:var(--ink);white-space:nowrap;font-weight:800}.journal-notes-cell{max-width:240px;color:var(--muted);display:block}.journal-entry-panel{gap:14px;display:grid}.journal-entry-form{gap:12px;display:grid}.journal-entry-form label,.journal-main-value{color:var(--muted);gap:7px;font-size:13px;font-weight:800;display:grid}.journal-entry-form input,.journal-entry-form select,.journal-entry-form textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fbfcfb;border-radius:8px;padding:10px 11px}.side-effect-card{border:1px solid var(--line);border-left:4px solid var(--green);background:#fbfcfb;border-radius:8px;gap:12px;padding:14px;display:grid}.side-effect-card.severity-medium{border-left-color:var(--amber)}.side-effect-card.severity-high{border-left-color:var(--red)}.side-effect-card.journal-kind-temperature{border-left-color:var(--coral)}.side-effect-card.journal-kind-mood{border-left-color:var(--violet)}.side-effect-card.journal-kind-weight{border-left-color:var(--amber)}.side-effect-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.side-effect-card label,.entry-slider-label{color:var(--muted);gap:7px;font-size:13px;font-weight:800;display:grid}.side-effect-card input[type=text]{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:8px;padding:10px 11px}.side-effect-card p{margin:0}.severity-slider{accent-color:var(--teal);cursor:pointer}.temperature-slider{accent-color:var(--coral);cursor:pointer}.mood-slider{accent-color:var(--violet);cursor:pointer}.exercise-slider{accent-color:var(--green);cursor:pointer}.vitals-pair-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.vitals-pair-grid>span{background:var(--teal-soft);width:fit-content;color:var(--teal);border-radius:999px;grid-column:1/-1;padding:7px 9px;font-size:13px;font-weight:850}.side-effect-card.severity-medium .severity-slider{accent-color:var(--amber)}.side-effect-card.severity-high .severity-slider{accent-color:var(--red)}.entry-vitals,.report-meta{flex-wrap:wrap;gap:8px;display:flex}.entry-vitals span,.report-meta span{background:var(--surface-soft);color:var(--muted);border-radius:999px;align-items:center;gap:6px;padding:7px 9px;font-size:12px;font-weight:800;display:inline-flex}.entry-vitals svg{color:var(--teal)}.doctor-report-panel{gap:14px;display:grid;container-type:inline-size}.report-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.report-heading .small-button{flex:none}.report-controls{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;grid-template-columns:minmax(300px,1fr) auto;grid-template-areas:"dates actions""presets presets";align-items:end;gap:10px;padding:12px;display:grid}.report-date-row{grid-area:dates;grid-template-columns:repeat(2,minmax(135px,1fr));gap:10px;min-width:0;max-width:680px;display:grid}.report-controls label{color:var(--muted);gap:5px;font-size:12px;font-weight:800;display:grid}.report-controls input{border:1px solid var(--line);background:var(--surface);width:100%;min-height:38px;color:var(--ink);border-radius:8px;padding:8px 10px}.report-preset-row,.report-action-row{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.report-preset-row{grid-area:presets;justify-content:start}.report-action-row{grid-area:actions;justify-content:flex-end}.report-preset-row .secondary-button,.report-action-row .primary-button,.report-action-row .secondary-button{white-space:nowrap;width:auto;min-height:38px;padding:8px 11px}@container (width<=1180px){.report-controls{grid-template-columns:minmax(300px,1fr) auto;grid-template-areas:"dates actions""presets presets"}}@container (width<=760px){.report-controls{grid-template-columns:1fr;grid-template-areas:"dates""presets""actions"}.report-action-row{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;display:grid}.report-action-row .primary-button,.report-action-row .secondary-button{width:100%}}@media (prefers-reduced-motion:reduce){.journal-mode-switch-indicator,.journal-mode-slider{transition:none}}.doctor-report-scroll{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;gap:14px;max-height:560px;padding:14px;display:grid;overflow-y:auto}.report-summary-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.report-summary-grid span{background:var(--surface);color:var(--muted);border-radius:8px;gap:4px;padding:12px;font-size:12px;font-weight:800;display:grid}.report-summary-grid strong{color:var(--ink);font-size:22px}.report-grid{grid-template-columns:minmax(240px,.75fr) minmax(0,1.25fr);align-items:start;gap:12px;display:grid}.report-card,.report-entry-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:11px;padding:13px;display:grid}@keyframes celebration-overlay-lifecycle{0%{opacity:0;transform:scale(1.02)}7%{opacity:1;transform:scale(1)}78%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.015)}}@keyframes celebration-vignette-pulse{0%{opacity:.88}to{opacity:1}}@keyframes celebration-aurora-sweep{0%{opacity:.42;transform:rotate(-10deg)translateY(-18px)}to{opacity:.78;transform:rotate(9deg)translateY(24px)}}@keyframes celebration-panel-drop{0%{opacity:0;transform:translateY(34px)scale(.9)rotateX(10deg)}58%{opacity:1;transform:translateY(-6px)scale(1.015)rotateX(0)}to{opacity:1;transform:translateY(0)scale(1)rotateX(0)}}@keyframes celebration-panel-sheen{0%,28%{transform:rotate(-8deg)translate(-58%)}58%,to{transform:rotate(-8deg)translate(76%)}}@keyframes celebration-ring-spin{to{transform:translate(-50%,-50%)rotate(360deg)}}@keyframes celebration-orbit-drift{0%{opacity:.42;filter:blur()}to{opacity:.78;filter:blur(.4px)}}@keyframes celebration-token-burst{0%{opacity:0;transform:translate(-50%,-50%)scale(.3)rotate(0)}12%{opacity:1}68%{opacity:1}to{opacity:0;transform:translate(calc(-50% + var(--token-x)), calc(-50% + var(--token-y))) scale(1.08) rotate(var(--token-r))}}@keyframes celebration-flare-rise{0%{opacity:0;transform:translateY(42px)scale(.4)}22%{opacity:.95}to{opacity:0;transform:translateY(-118px)scale(1.4)}}@keyframes celebration-cameo-enter{0%{opacity:0;transform:translateY(42px)scale(.62)rotate(-8deg)}70%{opacity:1;transform:translateY(-8px)scale(1.04)rotate(2deg)}to{opacity:1;transform:translateY(0)scale(1)rotate(0)}}@keyframes celebration-cameo-float{0%,to{translate:0}50%{translate:0 -10px}}@keyframes celebration-halo-pulse{0%{opacity:.5;stroke-width:1.4px}to{opacity:1;stroke-width:2.4px}}@keyframes celebration-medallion-pop{0%{opacity:0;transform:translateY(18px)scale(.54)rotate(-12deg)}62%{opacity:1;transform:translateY(-8px)scale(1.18)rotate(5deg)}to{opacity:1;transform:translateY(0)scale(1)rotate(0)}}@keyframes celebration-copy-rise{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.treatment-celebration-overlay,.celebration-vignette,.celebration-aurora,.celebration-overlay-panel,.celebration-overlay-panel:after,.celebration-jackpot-ring,.celebration-orbit,.overlay-token,.celebration-flare,.celebration-rabbit-cameo,.celebration-hero-rabbit,.hero-rabbit-body-group,.hero-rabbit-shadow,.hero-rabbit-ear,.hero-rabbit-arm,.celebration-animal-cameo,.animal-cameo-halo,.celebration-overlay-medallion,.celebration-overlay-copy{animation:none}.treatment-celebration-overlay{opacity:1}}@keyframes hero-rabbit-enter{0%{opacity:0;transform:translate(-50%)translateY(90px)scale(.62)rotate(-7deg)}62%{opacity:1;transform:translate(-50%)translateY(-14px)scale(1.08)rotate(3deg)}to{opacity:1;transform:translate(-50%)translateY(0)scale(1)rotate(0)}}@keyframes hero-rabbit-bounce{0%,to{translate:0}34%{translate:0 -26px}62%{translate:0 -8px}78%{translate:0 2px}}@keyframes hero-rabbit-squash{0%,to{transform:scaleX(1.03)scaleY(.97)}30%{transform:scaleX(.96)scaleY(1.06)rotate(-1.6deg)}68%{transform:scaleX(1.04)scaleY(.96)rotate(1deg)}}@keyframes hero-rabbit-shadow{0%,to{opacity:.34;transform:scaleX(1.05)}34%{opacity:.16;transform:scaleX(.72)}}@keyframes hero-rabbit-ear-wiggle{0%,to{transform:rotate(-2deg)}38%{transform:rotate(7deg)}64%{transform:rotate(-8deg)}}@keyframes hero-rabbit-arm-wave{0%,to{transform:rotate(0)}40%{transform:rotate(-7deg)translateY(-4px)}68%{transform:rotate(6deg)translateY(2px)}}.report-card.report-wide{grid-column:1/-1}.report-bar-list,.report-entry-list,.report-metric-stack,.report-medicine-list{gap:10px;display:grid}.report-medicine-list>div{background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex}.report-medicine-list span{color:var(--ink);font-size:13px;font-weight:800}.report-medicine-list strong{background:var(--green-soft);min-width:26px;height:24px;color:var(--green);border-radius:999px;place-items:center;font-size:12px;display:inline-grid}.report-bar-row{gap:6px;display:grid}.report-bar-row>div,.report-entry-row>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.report-bar-row span,.report-entry-row span{color:var(--muted);font-size:12px;font-weight:800}.report-bar,.metric-track{background:var(--surface-soft);border-radius:999px;height:9px;display:block;overflow:hidden}.report-bar i,.metric-track i{border-radius:inherit;background:var(--teal);height:100%;display:block}.metric-track.temperature i{background:var(--coral)}.metric-track.mood i{background:var(--violet)}.report-entry-row p{margin:0}.report-entry-row.compact{gap:7px;padding:10px}.template-grid,.connect-grid{margin-top:14px}.protected-builder{gap:14px;margin-top:14px;display:grid}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.template-card,.verification-card{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;gap:10px;padding:14px;display:grid}.template-card .small-button{width:fit-content}.verification-list{gap:10px;display:grid}.verification-card>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.verification-card span{color:var(--muted)}.verification-card>.status-pill{background:var(--amber-soft);width:fit-content;color:var(--amber)}.source-chips a{color:var(--teal);background:#edf2f0;text-decoration:none}.source-chips.compact a{padding:6px 8px}.source-chip-group{gap:6px;min-width:0;margin-top:7px;display:grid}.source-chip-group>span{color:var(--muted);letter-spacing:.02em;text-transform:uppercase;font-size:10px;font-weight:850}.source-chip-group .source-chips{gap:5px;min-width:0}.section-heading{align-items:flex-end;margin-top:4px}.section-heading h2{margin-top:4px}.section-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.bubble-action{cursor:pointer;background:var(--ink);color:#fff;white-space:nowrap;border:1px solid #0f766e40;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:10px 14px;font-weight:800;display:inline-flex}.modal-backdrop{z-index:40;padding:max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));-webkit-overflow-scrolling:touch;background:#16211f6b;place-items:center;display:grid;position:fixed;inset:0;overflow:auto}.overlay-modal{width:min(980px,100%);max-height:min(860px, calc((var(--app-vh,1vh) * 100) - 36px));border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden;box-shadow:0 26px 80px #11242038}.overlay-modal.fullscreen-document-modal{width:min(1440px,100vw - 24px);height:calc((var(--app-vh,1vh) * 100) - 24px);max-height:none}.fullscreen-document-modal .modal-body{overflow:hidden}.modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;display:flex}.modal-header>div{align-items:center;gap:10px;display:flex}.modal-header svg{color:var(--teal)}.modal-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;gap:16px;min-height:0;padding:18px;display:grid;overflow-y:auto}.modal-form-card{box-shadow:none;background:0 0;border:0;gap:12px;padding:0;display:grid}.comparison-grid,.drug-grid,.source-grid,.how-to-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.how-to-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:14px;padding:16px;display:grid}.how-to-card h3{margin:0 0 7px}.how-to-card p{color:var(--muted);margin:0}.how-to-icon{background:var(--green-soft);width:42px;height:42px;color:var(--teal);border-radius:8px;place-items:center;display:grid}.workflow-list{gap:10px;display:grid}.workflow-step{border-top:1px solid var(--line);grid-template-columns:34px minmax(0,1fr);align-items:start;gap:12px;padding-top:12px;display:grid}.workflow-step:first-child{border-top:0;padding-top:0}.workflow-step strong{background:var(--ink);color:#fff;border-radius:999px;place-items:center;height:30px;font-size:13px;display:grid}.technical-layout{grid-template-columns:minmax(260px,.35fr) minmax(0,1fr);gap:16px;display:grid}.technical-hero,.technical-pillars-panel,.technical-runtime-panel{grid-column:1/-1}.technical-hero p,.technical-doc-summary,.technical-doc-section-box p,.technical-pillar-card p{color:var(--muted);margin:0;line-height:1.5}.technical-hero p,.technical-doc-summary{max-width:92ch}.technical-pillars{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.technical-pillar-card{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;align-content:start;gap:8px;min-height:150px;padding:14px;display:grid}.technical-pillar-card>span{background:var(--violet-soft);width:fit-content;color:var(--violet);border-radius:999px;padding:6px 9px;font-size:12px;font-weight:900}.technical-doc-nav,.technical-doc-article{align-content:start}.technical-doc-nav-button{cursor:pointer;border:1px solid var(--line);background:var(--surface);width:100%;min-height:42px;color:var(--ink);text-align:left;border-radius:8px;align-items:center;gap:9px;margin-bottom:8px;padding:0 10px;font-weight:800;display:flex}.technical-doc-nav-button.active,.technical-doc-nav-button:hover{background:var(--green-soft);color:var(--teal);border-color:#0f766e52}.technical-doc-article{gap:14px;display:grid}.technical-doc-section-box{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;gap:9px;padding:14px;display:grid}.technical-doc-section-box.highlighted{background:var(--green-soft);border-color:#0f766e38}.technical-doc-list{gap:9px;margin:0;padding:0;display:grid}.technical-doc-list li{color:var(--muted);grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;line-height:1.45;display:grid}.technical-doc-list svg{color:var(--teal);margin-top:2px}.technical-risk-list,.technical-runtime-table{gap:10px;display:grid}.technical-runtime-row{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;grid-template-columns:minmax(150px,.6fr) minmax(120px,.35fr) minmax(0,1.8fr);align-items:center;gap:10px;min-height:46px;padding:10px;display:grid}.technical-runtime-row span{color:var(--muted);line-height:1.35}.medicine-builder{gap:14px;display:grid}.medicine-form{grid-template-columns:repeat(2,minmax(0,1fr))}.medicine-search-field{gap:8px;min-width:0;display:grid}.medicine-search-field label{min-width:0}.medicine-search-panel{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;gap:8px;padding:10px;display:grid}.medicine-search-source{color:var(--muted);align-items:center;gap:7px;font-size:12px;font-weight:800;display:flex}.medicine-search-source svg{color:var(--teal)}.medicine-suggestion-list{gap:7px;max-height:250px;display:grid;overflow-y:auto}.medicine-suggestion-list button{cursor:pointer;border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);text-align:left;border-radius:8px;gap:4px;padding:9px 10px;display:grid}.medicine-suggestion-list button:hover{background:var(--teal-soft);border-color:#0f766e59}.medicine-suggestion-list strong{font-size:13px;line-height:1.25}.medicine-suggestion-list span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.hidden-file-input{clip:rect(0 0 0 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.documents-toolbar{gap:14px;display:grid}.documents-toolbar p{max-width:820px;color:var(--muted);margin:0;line-height:1.55}.lifecycle-panel{gap:14px;display:grid}.lifecycle-panel p{max-width:880px;color:var(--muted);margin:0;line-height:1.55}.lifecycle-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.lifecycle-grid article{border:1px solid var(--line);background:linear-gradient(135deg,#f8fbf9 0%,#eef5f1 100%);border-radius:8px;gap:7px;padding:14px;display:grid}.lifecycle-grid span,.lifecycle-grid small{color:var(--muted);font-size:12px;font-weight:800}.lifecycle-grid strong{color:var(--ink);font-size:25px;line-height:1}.document-lifecycle-actions{flex-wrap:wrap;gap:10px;display:flex}.finance-lifecycle-panel{gap:14px;display:grid}.finance-lifecycle-panel p{max-width:900px;color:var(--muted);margin:0;line-height:1.55}.finance-lifecycle-grid article{background:linear-gradient(135deg,#fbfaf5 0%,#f4efe0 100%)}.customer-operations-console{background:radial-gradient(circle at top right, #0f766e14, transparent 34%), var(--surface);border-color:#0f766e3d}.customer-operations-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-operations-grid label{color:var(--muted);gap:6px;font-size:12px;font-weight:800;display:grid}.customer-operations-grid input,.customer-operations-grid select{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);border-radius:8px;padding:9px 10px}.customer-report-grid article{background:#fbfcfb}.small-button.danger-light{background:var(--coral-soft);color:var(--coral);border-color:#be4b4347}.document-sort-row{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:14px;display:flex}.document-sort-row label{min-width:min(100%,260px);color:var(--muted);gap:7px;font-size:12px;font-weight:800;display:grid}.document-sort-row select,.document-upload-form select,.document-upload-form input{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink);font:inherit;border-radius:8px;padding:9px 10px}.document-list{gap:10px;display:grid}.document-card{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px;display:grid}.document-icon{background:var(--teal-soft);width:44px;height:44px;color:var(--teal);border:1px solid #0f766e38;border-radius:8px;place-items:center;display:grid}.document-main{min-width:0}.document-main h3{text-overflow:ellipsis;white-space:nowrap;margin:3px 0;font-size:16px;overflow:hidden}.document-main p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:13px;font-weight:700;overflow:hidden}.document-actions{align-items:center;gap:7px;display:flex}.document-table-wrap{overflow-x:auto}.documents-table{min-width:860px}.document-table-name{align-items:center;gap:6px;min-width:0;display:inline-flex}.document-table-name svg{color:var(--teal);flex:none}.documents-table td small{max-width:360px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.document-upload-form{gap:14px;display:grid}.document-upload-form label{color:var(--muted);gap:7px;font-size:12px;font-weight:800;display:grid}.document-viewer{gap:12px;min-height:0;display:grid}.document-viewer-toolbar{justify-content:space-between;align-items:center;gap:10px;display:flex}.document-viewer-toolbar span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:850}.document-viewer iframe{border:1px solid var(--line);background:#fff;border-radius:8px;width:min(78vw,920px);height:min(76vh,720px)}.document-viewer img{border:1px solid var(--line);object-fit:contain;border-radius:8px;max-width:min(78vw,920px);max-height:72vh;display:block}.fullscreen-document-viewer{grid-template-rows:auto minmax(0,1fr) auto;height:100%}.fullscreen-document-viewer iframe{width:100%;height:100%;min-height:0}.fullscreen-document-viewer img{justify-self:center;width:100%;max-width:100%;max-height:100%}.empty-document-state{background:var(--teal-soft);color:var(--muted);text-align:center;border:1px dashed #0f766e59;border-radius:8px;justify-items:center;gap:8px;padding:26px;display:grid}.empty-document-state strong{color:var(--ink);font-size:17px}.medicine-form label:nth-child(5),.medicine-form label:nth-child(6),.medicine-form label:nth-child(7){grid-column:1/-1}.medicine-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.medicine-category-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.medicine-category-tabs button{cursor:pointer;border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);text-align:left;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-weight:800;display:flex}.medicine-category-tabs button.selected{background:var(--ink);color:#fff;border-color:#0f766e59}.medicine-category-tabs strong{min-width:26px;height:24px;color:inherit;background:#0f766e1f;border-radius:999px;place-items:center;font-size:12px;display:inline-grid}.source-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.comparison-card,.drug-card,.source-card{align-content:start;gap:13px;padding:16px;display:grid}.drug-card-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.drug-card-actions{flex:none;align-items:center;gap:6px;display:inline-flex}.medicine-reconciliation-actions{flex-wrap:wrap;gap:8px;display:flex}.journal-escalation-panel{background:linear-gradient(135deg,#fff4efeb,#ffffffd6);border-color:#be523738}.reference-lock-note{border:1px solid var(--line);background:var(--surface-soft);width:fit-content;color:var(--muted);white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:6px;padding:7px 9px;font-size:12px;font-weight:800;display:inline-flex}.icon-button.danger{color:var(--red)}.category-pill,.private-medicine-note{background:var(--surface-soft);width:fit-content;color:var(--muted);border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800}.private-medicine-note{background:var(--green-soft);color:var(--green)}.comparison-card dl{gap:10px;margin:0;display:grid}.comparison-card dt{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:700}.comparison-card dd{color:var(--ink);margin:3px 0 0;line-height:1.45}.status-pill{width:fit-content}.status-aligned .status-pill{background:var(--green-soft);color:var(--green)}.status-review .status-pill{background:var(--amber-soft);color:var(--amber)}.status-pending .status-pill{background:var(--violet-soft);color:var(--violet)}.knowledge-card>.status-pill{background:var(--surface-soft);width:fit-content;color:var(--teal)}.table-wrap{overflow-x:auto}.editable-schedule-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.schedule-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.schedule-actions .primary-button,.schedule-actions .secondary-button{width:auto;min-height:38px;padding:8px 12px}.edit-note{margin:0 0 14px}.plan-review-panel{gap:14px;display:grid}.plan-review-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.plan-review-description{max-width:860px;color:var(--muted);margin:0;line-height:1.55}.clinical-status-badge{white-space:nowrap;border-radius:999px;align-items:center;padding:8px 10px;font-size:12px;font-weight:850;line-height:1;display:inline-flex}.clinical-status-badge.status-patient-entered,.clinical-status-badge.status-superseded,.clinical-status-badge.status-archived{background:var(--surface-soft);color:var(--ink)}.clinical-status-badge.status-submitted-for-review,.clinical-status-badge.status-needs-changes,.clinical-status-badge.status-cancelled{background:var(--amber-soft);color:var(--amber)}.clinical-status-badge.status-clinician-reviewed,.clinical-status-badge.status-clinician-approved,.clinical-status-badge.status-signed{background:var(--green-soft);color:var(--green)}.plan-review-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.plan-review-grid article{border:1px solid var(--line);background:#ffffff94;border-radius:10px;padding:12px}.plan-review-grid strong{color:var(--ink);margin-top:5px;display:block}.plan-review-request{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.plan-review-request label{color:var(--muted);text-transform:uppercase;gap:7px;font-size:12px;font-weight:800;display:grid}.plan-review-request textarea{resize:vertical;border:1px solid var(--line);min-height:78px;color:var(--ink);font:inherit;text-transform:none;background:#fffc;border-radius:10px;padding:10px 12px}.plan-review-request .primary-button{white-space:nowrap;width:auto;min-height:42px}.plan-review-request .primary-button:disabled{cursor:not-allowed;opacity:.68}.plan-review-events{gap:8px;display:grid}.plan-review-event{border-left:3px solid var(--teal);background:var(--surface-soft);border-radius:8px;padding:10px 12px}.plan-review-event strong,.plan-review-event span{display:block}.plan-review-event span{color:var(--muted);margin-top:3px;font-size:12px;font-weight:750}.plan-review-event p{color:var(--ink);margin:7px 0 0}.plan-edit-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:14px;display:flex}.session-table{border-collapse:collapse;width:100%;min-width:1320px;font-size:13px}.session-table.compact-plan-table{min-width:1080px}.session-table th,.session-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:10px}.session-table th{color:var(--muted);text-transform:uppercase;font-size:12px}.session-row.done td:first-child{border-left:4px solid var(--green)}.session-row.kind-supportive-injection td:first-child,.session-row.kind-ongoing-medicine td:first-child,.session-row.kind-other-care td:first-child{border-left:4px solid var(--violet)}.session-row.done td{background:#e1f4e873}.session-table td.given{background:var(--green-soft);color:var(--green);font-weight:700}.session-table td.given.premed{color:var(--ink);background:#edf2f0}.session-table td.planned{background:var(--teal-soft);color:var(--teal);font-weight:700}.session-table td.planned.premed{background:var(--violet-soft);color:var(--violet)}.session-table td.not-due{color:var(--muted)}.table-input,.table-select,.status-select{border:1px solid var(--line);width:100%;min-height:34px;color:var(--ink);font:inherit;background:#ffffffc7;border-radius:6px;padding:6px 8px}.week-input{width:62px}.date-input{width:136px}.visit-input{min-width:230px}.table-select{min-width:105px;font-weight:700}.plan-kind-select{min-width:176px}.table-select:disabled{cursor:not-allowed;opacity:.78}.status-select{text-transform:capitalize;min-width:132px;font-weight:800}.status-select.done{background:var(--green-soft);color:var(--green)}.status-select.scheduled{background:var(--surface-soft);color:var(--ink)}.status-select.needs-approval{background:var(--amber-soft);color:var(--amber)}.delete-row-button{cursor:pointer;background:var(--red-soft);min-height:34px;color:var(--red);border-radius:6px;padding:6px 10px;font-weight:800}.delete-row-button:disabled{cursor:not-allowed;background:var(--surface-soft);color:var(--muted)}.table-status.done{background:var(--green-soft);color:var(--green)}.table-status.scheduled{background:var(--surface-soft);color:var(--ink)}.table-status.needs-approval{background:var(--amber-soft);color:var(--amber)}.plan-kind-pill{background:var(--surface-soft);min-height:26px;color:var(--ink);border-radius:999px;align-items:center;padding:6px 9px;font-size:12px;font-weight:850;line-height:1.1;display:inline-flex}.plan-kind-pill.kind-phase-treatment{background:var(--teal-soft);color:var(--teal)}.plan-kind-pill.kind-supportive-injection{background:var(--violet-soft);color:var(--violet)}.plan-kind-pill.kind-ongoing-medicine,.plan-kind-pill.kind-other-care{background:var(--amber-soft);color:var(--amber)}.medicine-bubble-list,.medicine-palette{flex-wrap:wrap;gap:7px;display:flex}.medicine-palette{min-width:360px}.medicine-bubble{border:1px solid var(--line-strong);border-left:4px solid var(--teal);min-height:28px;color:var(--ink);background:#fff;border-radius:999px;align-items:center;padding:7px 10px;font-size:12px;font-weight:850;line-height:1;display:inline-flex}.medicine-bubble.kind-premed{border-left-color:var(--violet)}.medicine-bubble.status-given{background:var(--green-soft);color:var(--green)}.medicine-bubble.status-planned{background:var(--teal-soft);color:var(--teal)}.medicine-bubble.selectable{cursor:pointer;border-left-color:var(--line-strong);color:var(--muted)}.medicine-bubble.selectable.selected{border-left-color:var(--teal);background:var(--teal-soft);color:var(--teal)}.row-medicine-adder{align-items:center;gap:8px;min-width:360px;margin-top:9px;display:flex}.row-medicine-adder input{border:1px solid var(--line);min-width:0;color:var(--ink);background:#fff;border-radius:8px;flex:1;padding:9px 10px}.row-medicine-adder .small-button{min-height:36px}.structured-plan-builder,.editable-plan-table{gap:14px;display:grid}.plan-setup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.treatment-path-summary{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);align-items:start;gap:12px;padding:12px;display:grid}.treatment-path-summary>div,.treatment-path-summary .source-chip-group{min-width:0}.treatment-path-summary .source-chips a{overflow-wrap:anywhere;max-width:100%}.treatment-path-summary h3{margin-top:2px}.treatment-path-summary p,.phase-setup-card p,.comparison-card p{color:var(--muted);margin:4px 0 0;font-size:13px;line-height:1.4}.phase-setup-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.phase-setup-card{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;gap:10px;padding:12px;display:grid}.plan-template-summary td{vertical-align:top}.plan-template-summary .source-chips{gap:6px}.calendar-layout{align-items:start}.calendar-tools{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.calendar-tools.compact{flex-wrap:nowrap}.calendar-tools .icon-button{width:38px;height:38px}.calendar-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.calendar-summary-grid article{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:5px;padding:14px;display:grid}.calendar-summary-grid span,.calendar-summary-grid small{color:var(--muted);font-size:12px;font-weight:800}.calendar-summary-grid strong{color:var(--ink);font-size:24px}.finance-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.finance-summary-grid article{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:5px;padding:14px;display:grid}.finance-summary-grid span,.finance-summary-grid small{color:var(--muted);font-size:12px;font-weight:800}.finance-summary-grid strong{overflow-wrap:anywhere;color:var(--ink);font-size:24px}.finance-filter-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;display:flex}.segmented-control{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;display:inline-flex;overflow:hidden}.segmented-control button{cursor:pointer;border:0;border-right:1px solid var(--line);min-height:38px;color:var(--muted);background:0 0;padding:8px 12px;font-weight:850}.segmented-control button:last-child{border-right:0}.segmented-control button.active{background:var(--ink);color:#fff}.finance-filter-row label{color:var(--muted);align-items:center;gap:8px;font-size:13px;font-weight:800;display:inline-flex}.finance-filter-row select{border:1px solid var(--line);min-height:38px;color:var(--ink);background:#fbfcfb;border-radius:8px;padding:8px 10px;font-weight:800}.finance-records-panel{gap:10px}.finance-table-actions{align-items:flex-end;gap:8px;display:flex}.finance-table-actions label{color:var(--muted);text-transform:uppercase;gap:4px;font-size:11px;font-weight:850;display:grid}.finance-table-actions select,.finance-money-form input,.finance-money-form select,.finance-money-form textarea{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:8px;padding:9px 10px}.finance-money-grid,.finance-proof-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.finance-money-form label{color:var(--muted);gap:5px;font-size:12px;font-weight:800;display:grid}.finance-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.36fr);align-items:start;gap:14px;display:grid}.finance-chart-panel,.finance-source-panel{min-width:0}.finance-chart-list{gap:10px;display:grid}.finance-chart-row{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;gap:8px;padding:10px;display:grid}.finance-chart-row-header,.finance-chart-meta{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.finance-chart-row-header>div{gap:2px;min-width:0;display:grid}.finance-chart-row-header strong,.finance-chart-row-header span{overflow-wrap:anywhere}.finance-chart-row-header span,.finance-chart-meta,.finance-footnote{color:var(--muted);font-size:12px;font-weight:800;line-height:1.35}.finance-chart-row-header b{color:var(--ink);white-space:nowrap}.finance-bar-track{background:var(--surface-soft);border-radius:999px;height:9px;display:flex;overflow:hidden}.finance-bar-paid{background:var(--green)}.finance-bar-open{background:var(--amber)}.finance-footnote{margin:10px 0 0}.finance-records-table{min-width:900px}.calendar-filter-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;display:flex}.calendar-filter-row select{border:1px solid var(--line);min-height:38px;color:var(--ink);background:#fbfcfb;border-radius:8px;padding:8px 10px;font-weight:800}.calendar-filter-row label{color:var(--muted);align-items:center;gap:8px;font-size:13px;font-weight:800;display:inline-flex}.calendar-filter-row .calendar-legend{margin-left:auto}.calendar-panel{overflow:hidden}.calendar-month-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.calendar-month-header h2{margin-top:2px}.calendar-grid{border:1px solid var(--line);background:var(--line);border-radius:8px;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.weekday,.calendar-day{background:var(--surface)}.weekday{min-height:32px;color:var(--muted);text-align:center;padding:9px;font-size:12px;font-weight:800}.calendar-day{cursor:pointer;width:100%;min-height:118px;color:var(--ink);text-align:left;border:0;padding:8px}.calendar-day>span{width:28px;height:28px;color:var(--ink);border-radius:999px;place-items:center;font-size:13px;font-weight:700;display:inline-grid}.calendar-day.muted{background:#f1f4f2}.calendar-day.muted>span{color:#a4aaa8}.calendar-day.today>span{background:var(--ink);color:#fff}.calendar-day.selected{outline:2px solid var(--teal);outline-offset:-3px;background:#fbfffd}.event-dot{cursor:pointer;text-overflow:ellipsis;white-space:nowrap;border-radius:5px;align-items:center;gap:4px;max-width:100%;margin-top:5px;padding:5px 6px;font-size:11px;line-height:1.2;display:flex;overflow:hidden}.event-dot-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.event-dot-attachment{flex:none}.event-more{background:var(--surface-soft);color:var(--muted);border-radius:999px;margin-top:5px;padding:4px 6px;font-size:11px;font-weight:800;display:inline-flex}.mobile-agenda,.mobile-date-strip,.mobile-agenda-heading,.mobile-agenda-list{display:none}.cat-infusion{background:var(--teal-soft);color:var(--teal)}.cat-complete,.event-dot.status-done,.appointment-item.status-done .date-chip{background:var(--green-soft);color:var(--green)}.cat-payment{background:var(--amber-soft);color:var(--amber)}.cat-approval{background:var(--violet-soft);color:var(--violet)}.cat-consultation{background:var(--blue-soft);color:var(--blue)}.cat-procedure{background:var(--red-soft);color:var(--red)}.cat-support{background:var(--coral-soft);color:var(--coral)}.calendar-day-panel{gap:14px;display:grid}.calendar-day-header{align-items:flex-start;gap:10px}.calendar-day-header h2{line-height:1.1}.calendar-day-add-button{flex:none;width:auto;min-width:40px;height:40px;padding:9px 12px}.selected-day-list{gap:8px;max-height:520px;padding-right:0;display:grid;overflow-y:auto}.empty-day{background:var(--surface-soft);color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding:12px;font-weight:800;display:flex}.selected-event,.selected-task,.calendar-add-card{border:1px solid var(--line);border-left:4px solid var(--teal);background:#fbfcfb;border-radius:8px;gap:8px;padding:10px;display:grid}.selected-event.payment,.selected-task.payment{border-left-color:var(--amber)}.selected-event.approval{border-left-color:var(--violet)}.selected-event.consultation{border-left-color:var(--blue)}.selected-event.procedure{border-left-color:var(--red)}.selected-event.support{border-left-color:var(--coral)}.selected-event.status-done,.selected-task.done{border-left-color:var(--green)}.selected-event.can-edit{cursor:pointer}.selected-event-top{grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;gap:6px;display:grid}.event-action-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.selected-event-top>div:first-child{gap:4px;min-width:0;display:grid}.selected-event-top h3,.selected-event-top p{overflow-wrap:anywhere}.selected-event-top h3{font-size:15px}.selected-event-top p{margin-top:0;font-size:12px;line-height:1.3}.event-icon-actions{flex:none;gap:4px;display:flex}.event-icon-actions .icon-button{width:30px;height:30px}.event-delete-button{color:var(--red)}.selected-event-top select,.calendar-edit-grid select,.calendar-edit-grid input,.calendar-edit-stack input,.calendar-edit-stack textarea,.calendar-add-card input,.calendar-add-card textarea,.calendar-add-card select{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:8px;padding:9px 10px}.selected-event-top select{width:auto;min-width:132px;font-weight:800}.calendar-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.calendar-edit-grid label,.calendar-add-card label{color:var(--muted);gap:5px;font-size:12px;font-weight:800;display:grid}.calendar-edit-stack{gap:8px;display:grid}.calendar-edit-actions{justify-content:flex-end;gap:8px;display:flex}.calendar-recurrence-panel{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;gap:10px;padding:10px;display:grid}.calendar-recurrence-toggle{cursor:pointer;align-items:center;grid-template-columns:none!important;gap:10px!important;display:flex!important}.calendar-recurrence-toggle input{height:18px;accent-color:var(--teal);flex:none;margin:0;width:18px!important}.calendar-recurrence-toggle span{gap:2px;display:grid}.calendar-recurrence-toggle strong{color:var(--ink);font-size:13px}.calendar-recurrence-toggle small,.calendar-recurrence-note{color:var(--muted);font-size:11px;font-weight:750;line-height:1.35}.calendar-recurrence-preview{background:var(--teal-soft);width:fit-content;max-width:100%;color:var(--teal);border:1px solid #0f766e33;border-radius:8px;padding:6px 8px;display:inline-flex}.calendar-recurrence-preview.error{color:var(--red);background:#fff1f2;border-color:#b91c1c38}.calendar-recurrence-controls{gap:7px;display:grid}.event-edit-form{border-top:1px solid var(--line);padding-top:10px}.event-meta-grid{flex-wrap:wrap;gap:5px;display:flex}.event-meta-grid span{background:var(--surface-soft);color:var(--ink);border-radius:999px;padding:4px 7px;font-size:11px;font-weight:800}.event-documents{border-top:1px solid var(--line);gap:6px;min-width:0;padding-top:8px;display:grid}.event-documents>*{min-width:0;max-width:100%}.event-documents-header,.event-document-row{align-items:center;gap:8px;display:flex}.event-documents-header{flex-wrap:wrap;justify-content:space-between}.event-document-list{min-width:0;max-width:100%;display:grid}.attach-document-button{width:30px;min-width:30px;height:30px}.event-document-row{background:var(--surface);border-radius:8px;min-width:0;padding:6px}.calendar-event-document-row{grid-template-columns:auto minmax(0,1fr) auto auto;gap:6px;display:grid}.event-document-main{min-width:0;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0;display:grid}.event-document-main span{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:850;overflow:hidden}.event-document-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.event-document-row>span{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:13px;font-weight:800;overflow:hidden}.event-document-row small{color:var(--muted);white-space:nowrap;font-size:11px}.event-document-row .icon-button{width:28px;min-width:28px;height:28px}.selected-event h3,.selected-task h3,.calendar-add-card h3{margin:0}.calendar-add-card.modal-form-card,.medicine-builder.modal-form-card{box-shadow:none;background:0 0;border:0;padding:0}.selected-event p,.selected-task p{color:var(--muted);margin:4px 0 0}.selected-event-detail{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.35;display:-webkit-box;overflow:hidden}.calendar-open-tasks{gap:12px;display:grid}.drug-header{justify-content:flex-start}.drug-header svg{color:var(--coral);flex:none}.drug-class{color:var(--teal);font-weight:800}.fact-row{gap:4px;display:grid}.fact-row strong{color:var(--ink)}.safety-copy{max-width:850px}.message-layout{align-items:start}.inbox-layout{grid-template-columns:minmax(280px,.42fr) minmax(0,1fr)}.message-card{grid-template-columns:1fr;gap:8px;display:grid}.message-card>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.message-card small{color:var(--muted);text-transform:capitalize;font-weight:800}.priority-watch{border-left:3px solid var(--amber);padding-left:10px}.priority-urgent{border-left:3px solid var(--red);padding-left:10px}.composer-panel,.inbox-panel,.chat-panel,.message-side-stack{gap:12px;display:grid}.inbox-titlebar,.chat-list-meta{justify-content:space-between;align-items:center;gap:10px;display:flex}.inbox-titlebar .panel-header{flex:1}.chat-list-meta{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:850}.conversation-list{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:2px;display:grid;overflow:hidden}.conversation-list button{cursor:pointer;border:0;border-bottom:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);text-align:left;border-radius:0;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;display:grid}.conversation-list button:last-child{border-bottom:0}.conversation-list button.selected{background:color-mix(in srgb, var(--teal-soft) 68%, white);box-shadow:inset 3px 0 0 var(--teal)}.conversation-main,.chat-message>div,.chat-header{gap:3px;display:grid}.conversation-main>span,.chat-message>div{justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;display:flex}.chat-avatar{background:var(--teal-soft);width:38px;height:38px;color:var(--teal);border-radius:50%;justify-content:center;align-items:center;font-size:13px;font-weight:900;display:inline-flex}.chat-avatar.team{background:var(--purple-soft);color:var(--purple)}.conversation-list strong,.conversation-list small{min-width:0;display:block}.conversation-list small,.chat-header p,.chat-message small{color:var(--muted)}.conversation-list strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.conversation-list p,.chat-message p{margin:0}.conversation-list p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.25;overflow:hidden}.conversation-state{background:var(--surface-soft);color:var(--muted);text-transform:uppercase;border-radius:999px;align-self:end;padding:5px 7px;font-size:10px;font-weight:900;line-height:1}.conversation-state.unread{background:var(--green-soft);color:var(--green)}.chat-header{border-bottom:1px solid var(--line);grid-template-columns:44px minmax(0,1fr) auto;align-items:center;padding-bottom:10px}.chat-header h2{margin:0;font-size:22px}.chat-thread{border:1px solid var(--line);background:linear-gradient(135deg, #0f766e0a, transparent 35%), var(--surface-soft);border-radius:8px;align-content:start;gap:8px;min-height:330px;max-height:520px;padding:12px;display:grid;overflow-y:auto}.chat-message{border:1px solid var(--line);background:var(--surface);max-width:min(68%,720px);color:var(--ink);border-radius:10px;gap:4px;padding:8px 10px;font-size:13px;line-height:1.35;display:grid}.chat-message.own{background:var(--teal-soft);border-color:#0f766e3d;justify-self:end}.chat-message.received{background:#fbfcfb;justify-self:start}.chat-message p{font-size:13px;line-height:1.35}.chat-message small,.chat-message span{font-size:11px}.empty-chat-state{border:1px dashed var(--line-strong);background:var(--surface-soft);min-height:220px;color:var(--muted);text-align:center;border-radius:8px;place-items:center;gap:8px;padding:18px;display:grid}.empty-chat-state svg{color:var(--teal)}.empty-chat-state strong{color:var(--ink)}.new-message-form{gap:12px;display:grid}.recipient-choice-grid,.recipient-choice-section,.recipient-choice-list{gap:8px;display:grid}.recipient-choice-section>h3{color:var(--ink);text-transform:uppercase;margin:0;font-size:12px}.recipient-choice-button{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#fbfcfb;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:10px;display:grid}.recipient-choice-button:hover{background:var(--teal-soft);border-color:#0f766e52}.recipient-choice-button span:last-child{gap:2px;min-width:0;display:grid}.recipient-choice-button strong,.recipient-choice-button small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.recipient-choice-button small{color:var(--muted);font-size:12px;font-weight:750}.composer-panel textarea{min-height:88px}.compact-label{color:var(--muted);gap:6px;font-size:13px;font-weight:800;display:grid}.compact-label input,.compact-label select{border:1px solid var(--line);width:100%;color:var(--ink);background:#fbfcfb;border-radius:8px;padding:11px 12px}textarea{resize:vertical;border:1px solid var(--line);width:100%;color:var(--ink);background:#fbfcfb;border-radius:8px;padding:12px}input{font:inherit}textarea:focus,input:focus,select:focus,button:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #0f766e47}.opinion-layout{align-items:stretch}.dropzone{border:1px dashed var(--line-strong);min-height:210px;color:var(--muted);text-align:center;background:#fbfcfb;border-radius:8px;place-items:center;gap:8px;padding:22px;display:grid}.dropzone svg{color:var(--teal)}.dropzone.completed{background:var(--green-soft);border-color:#2f7d4f59}.dropzone strong{color:var(--ink)}.timeline-item{grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;display:grid}.timeline-item>div{gap:3px;display:grid}.timeline-item em{color:var(--muted);font-size:12px;font-style:normal;line-height:1.35}.timeline-item>span{border:3px solid var(--line-strong);background:var(--surface);border-radius:999px;width:14px;height:14px;margin-top:3px}.timeline-item.open>span{border-color:var(--teal);background:var(--teal)}.timeline-item.done>span{border-color:var(--green);background:var(--green)}.empty-timeline{background:var(--surface-soft);color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding:12px;font-size:13px;font-weight:800;display:flex}.manual-timeline-editor{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;gap:10px;padding:12px;display:grid}.timeline-inline-editor{background:var(--green-soft);border:1px solid #0f766e38;border-radius:8px;gap:12px;padding:12px;display:grid}.timeline-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.timeline-field-grid label{color:var(--muted);gap:6px;font-size:13px;font-weight:800;display:grid}.timeline-field-grid input,.timeline-field-grid select{border:1px solid var(--line);width:100%;color:var(--ink);background:#fbfcfb;border-radius:8px;padding:10px 11px}.event-documents-header>div{gap:3px;min-width:0;display:grid}.event-documents-header small{color:var(--muted);font-size:12px;line-height:1.35}.manual-timeline-list{gap:10px;display:grid}.manual-timeline-row{grid-template-columns:minmax(180px,1fr) 150px 120px 38px;align-items:end;gap:8px;display:grid}.manual-timeline-row .icon-button{width:38px;height:38px}.timeline-editor-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.refund-box{margin-top:16px}.price-pill{background:var(--ink);color:#fff}.complete-pill{background:var(--green-soft);color:var(--green)}.source-card p{min-height:96px}.source-meta{gap:4px;display:grid}.luces-section-stack{gap:16px}.luces-workspace{grid-template-columns:minmax(230px,.32fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.luces-nav-panel,.luces-reader-panel{background:#fffdf9f0;border:1px solid #ded7cc;border-radius:8px;min-width:0;box-shadow:0 18px 55px #27262212}.luces-nav-panel{gap:14px;padding:16px;display:grid;position:sticky;top:18px}.luces-reader-panel{gap:16px;padding:18px;display:grid}.luces-panel-heading,.luces-reader-titlebar{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.luces-panel-heading h3,.luces-reader-titlebar h3{color:#20242c;margin:3px 0 0}.luces-count{color:#fffdf9;background:#252833;border-radius:999px;place-items:center;min-width:34px;height:30px;font-weight:800;display:inline-grid}.luces-breadcrumb{color:#686f77;margin:0 0 5px;font-size:13px;font-weight:800}.luces-key-row{flex-wrap:wrap;gap:7px;display:flex}.luces-key-row span{color:#4f5962;background:#faf7f1;border:1px solid #ded7cc;border-radius:999px;width:fit-content;padding:7px 9px;font-size:12px;font-weight:800;line-height:1}.luces-tree-list{grid-template-columns:1fr;gap:8px;display:grid}.luces-tree-list.medicine-category-tabs{grid-template-columns:1fr}.luces-tree-list.medicine-category-tabs button,.source-tree-row{color:#25303a;cursor:pointer;min-height:42px;font:inherit;text-align:left;background:#faf7f1;border:1px solid #e2dbd0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;display:flex}.luces-tree-list.medicine-category-tabs button.selected,.source-tree-row.selected{color:#255c4d;background:#f2faf6;border-color:#b9cabf;box-shadow:inset 4px 0 #2f7668}.source-tree-row:hover,.source-tree-row:focus-visible{background:#f2faf6;border-color:#b9cabf}.source-tree-row strong,.luces-tree-list.medicine-category-tabs strong{color:#20242c;background:#ede7dc;border-radius:999px;place-items:center;min-width:26px;height:24px;font-size:12px;display:inline-grid}.luces-sidebar-note{color:#686f77;border-top:1px solid #e2dbd0;margin:0;padding-top:12px;font-size:13px;line-height:1.45}.luces-card-grid{gap:12px}.luces-reader-panel .source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.drug-card.luces-document-card,.source-card.luces-source-card{background:#fffdf9;border-color:#ded7cc;box-shadow:0 12px 36px #2726220f}.drug-card.luces-document-card:hover,.source-card.luces-source-card:hover{border-color:#b9cabf;box-shadow:0 18px 45px #27262217}.drug-card.luces-document-card .drug-header svg,.source-card.luces-source-card .source-top svg{color:#2f7668}.drug-card.luces-document-card .category-pill{color:#fffdf9;background:#252833;border:0}.drug-card.luces-document-card .drug-class{color:#2f7668;margin:0}.drug-card.luces-document-card .fact-row{background:#faf7f1;border:1px solid #e2dbd0}.drug-card.luces-document-card .watch-list span{color:#255c4d;background:#f6fbfc;border:1px solid #d9e5df}.source-card.luces-source-card{position:relative;overflow:hidden}.source-card.luces-source-card:before{content:"";background:#2f7668;height:4px;position:absolute;top:0;left:0;right:0}.luces-source-top{color:#2f7668;font-weight:800}.source-card.luces-source-card p{color:#4f5962;min-height:64px}.source-purpose-note{background:#fbfdfc;border:1px solid #dce7e2}.source-purpose-note span{max-width:1080px;line-height:1.5}.source-usage-panel{background:#fbfdfc;border:1px solid #dce7e2;border-radius:8px;gap:9px;padding:10px;display:grid}.source-usage-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.source-usage-head strong{color:var(--ink);font-size:13px}.source-usage-head span{color:var(--muted);font-size:11px;font-weight:800}.source-usage-purpose{margin:0;font-size:12px;font-weight:700;line-height:1.35;min-height:0!important;color:var(--muted)!important}.source-usage-pills{flex-wrap:wrap;gap:5px;display:flex}.source-usage-pills span{color:#2f7668;background:#eaf3ef;border-radius:999px;padding:4px 7px;font-size:11px;font-weight:850}.source-usage-list{gap:6px;display:grid}.source-usage-list div{border-left:3px solid #c8d8d2;gap:2px;padding-left:8px;display:grid}.source-usage-list strong{color:#2f7668;text-transform:uppercase;font-size:11px}.source-usage-list span,.source-usage-empty{color:var(--muted);font-size:12px;font-style:normal;font-weight:700;line-height:1.3}.source-usage-more{cursor:pointer;width:fit-content;color:var(--muted);text-align:left;background:0 0;border:0;padding:2px 0;font-size:12px;font-weight:850}.source-usage-more:hover,.source-usage-more:focus-visible{color:#2f7668;text-decoration:underline}.source-usage-overlay{gap:12px;display:grid}.source-usage-overlay-list{gap:8px;max-height:min(620px,100dvh - 260px);padding-right:3px;display:grid;overflow-y:auto}.source-usage-overlay-list div{background:#fbfdfc;border-left:3px solid #c8d8d2;border-radius:0 8px 8px 0;gap:3px;padding:8px 10px;display:grid}.source-usage-overlay-list strong{color:#2f7668;text-transform:uppercase;font-size:11px}.source-usage-overlay-list span{color:var(--muted);font-size:13px;font-weight:750;line-height:1.35}.source-usage-empty{min-height:0}.source-card.luces-source-card .source-link{color:#2f7668;background:#faf7f1;border:1px solid #ded7cc;border-radius:999px;width:fit-content;padding:8px 10px}@media (width<=1100px){.metrics-grid,.comparison-grid,.drug-grid,.source-grid,.how-to-grid,.technical-pillars,.public-feature-grid,.public-support-grid,.library-tabs,.medicine-category-tabs,.calendar-summary-grid,.finance-summary-grid,.report-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.calendar-layout,.message-layout,.opinion-layout,.finance-layout,.side-effect-layout,.report-grid,.welcome-panel,.phase-setup-grid,.profile-grid,.technical-layout,.account-layout,.luces-workspace,.viewer-access-layout,.public-story-hero,.public-hero{grid-template-columns:1fr}.luces-nav-panel{position:static}.luces-tree-list.medicine-category-tabs,.source-tree-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=880px){.app-shell{display:block}.sidebar{top:calc(66px + env(safe-area-inset-top));right:max(10px, env(safe-area-inset-right));left:max(10px, env(safe-area-inset-left));z-index:10;width:auto;max-height:calc(100dvh - 78px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border:1px solid var(--line);height:auto;box-shadow:var(--shadow);border-radius:8px;padding:12px;display:none;position:fixed;overflow:auto}.sidebar.mobile-open{display:flex}.sidebar-top{display:none}.icon-button.mobile-menu-toggle{display:grid}.sidebar-collapse{display:none}.app-shell.sidebar-collapsed .sidebar{width:100%;padding:14px}.sidebar[data-collapsed=true]{align-items:stretch}.sidebar[data-collapsed=true] .sidebar-text{display:inline}.sidebar[data-collapsed=true] .nav-list button,.sidebar[data-collapsed=true] .privacy-strip{justify-content:flex-start;width:auto}.sidebar[data-collapsed=true] .sidebar-collapsed-icon,.nav-list{display:none}.sidebar.mobile-open .nav-list{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:0;display:grid}.sidebar.mobile-open .nav-list button{white-space:normal;width:100%}.privacy-strip{display:none}.main-surface{padding:0 max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left))}.public-header{padding:max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 14px max(14px, env(safe-area-inset-left));grid-template-columns:minmax(0,1fr) auto;align-items:center;position:sticky}.public-brand{grid-area:1/1;min-width:0}.public-login-button{grid-area:1/2;justify-self:end}.public-nav{grid-area:2/1/auto/-1;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;gap:5px;width:100%;display:grid}.public-nav button{width:100%;padding:7px 6px;font-size:12px}.public-main{width:min(100% - 20px,1180px);padding-top:16px}.public-hero{padding:20px}.public-story-hero{padding:22px}.public-story-copy h1{font-size:32px;line-height:1.08}.public-story-copy p{font-size:16px;line-height:1.52}.public-hero h1{font-size:32px}.section-heading,.summary-band{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.topbar{z-index:11;margin:0 calc(-1 * max(16px, env(safe-area-inset-right))) 16px calc(-1 * max(16px, env(safe-area-inset-left)));max-width:none;min-height:calc(66px + env(safe-area-inset-top));border-bottom:1px solid var(--line);padding:max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffeb;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid;position:sticky;top:0}.topbar-title{display:none}.mobile-header-brand{min-width:0;color:var(--ink);justify-content:center;align-items:center;gap:8px;font-size:15px;font-weight:900;display:inline-flex}.mobile-header-brand .brand-mark{width:34px;height:34px}.mobile-header-brand span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar>*,.section-heading>*{min-width:0}.top-actions{flex-wrap:nowrap;flex:none;justify-content:flex-end;min-width:0}.topbar-menu-toggle{justify-self:start}.notification-wrap,.profile-wrap{flex:none}.notification-menu,.profile-menu{right:max(10px, env(safe-area-inset-right));left:max(10px, env(safe-area-inset-left));z-index:20;width:auto;position:fixed;overflow:auto}.notification-menu{top:calc(74px + env(safe-area-inset-top));max-height:calc(100dvh - 88px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.profile-menu{top:calc(66px + env(safe-area-inset-top));max-height:calc(100dvh - 78px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border:1px solid var(--line);box-shadow:var(--shadow);-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border-radius:8px;gap:10px;padding:12px}.profile-menu-section{gap:8px;padding-bottom:10px}.profile-menu-identity{border:1px solid var(--line);background:#fbfcfb;border-radius:8px;padding:10px}.profile-menu-action{background:0 0;border:0;min-height:42px}.profile-menu-action:hover{background:var(--surface-soft)}.profile-menu-action.logout-action{background:0 0;border:0;justify-content:flex-start}.notification-menu-header,.notification-menu-header>div,.notification-item,.notification-main{min-width:0}.notification-menu-header strong,.notification-item span,.notification-item small{overflow-wrap:anywhere}.notification-action{white-space:normal;max-width:100%}.role-switch{overflow-x:auto}.summary-copy{padding:20px}.summary-copy h2{font-size:24px}.next-appointment{border-top:1px solid #16211f1f;border-left:0}.phase-track{grid-template-columns:repeat(5,minmax(220px,1fr))}}@media (width<=980px){.side-effect-stats{grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,640px)}}@media (width<=640px){h1{font-size:28px}.topbar h1{font-size:24px}h2{font-size:20px}.metrics-grid,.comparison-grid,.drug-grid,.care-team-grid,.source-grid,.how-to-grid,.technical-pillars,.knowledge-grid,.public-feature-grid,.public-support-grid,.library-tabs,.medicine-category-tabs,.medicine-form,.plan-setup-grid,.calendar-summary-grid,.finance-summary-grid,.finance-money-grid,.customer-operations-grid,.finance-proof-row,.calendar-edit-grid,.vitals-pair-grid,.care-team-form,.viewer-invite-form,.viewer-permission-grid,.notification-policy-form,.manual-timeline-row,.timeline-field-grid,.profile-detail-list,.report-summary-grid{grid-template-columns:1fr}.public-header{gap:10px}.public-nav button{min-height:34px;padding:7px 4px;font-size:11px}.public-login-button{min-height:36px;padding:8px 11px}.public-story-hero{padding:18px}.public-story-copy h1{font-size:28px}.public-story-aside{padding:15px}.public-interest-row{grid-template-columns:1fr}.public-interest-button{width:100%}.public-nav-label-full{display:none}.public-nav-label-short{display:inline}.technical-runtime-row,.luces-tree-list.medicine-category-tabs,.source-tree-list,.luces-reader-panel .source-grid{grid-template-columns:1fr}.luces-panel-heading,.luces-reader-titlebar{flex-direction:column}.milestone-badge-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.milestone-badge-card{grid-template-columns:1fr;gap:5px;min-height:102px;padding:8px}.milestone-badge-card:after{height:3px;inset:auto 8px 6px}.milestone-medallion{width:44px;height:58px}.medallion-ring{width:44px;height:44px}.medallion-face{width:32px;height:32px}.medallion-face svg{width:16px;height:16px}.medallion-ribbon{width:14px;height:20px;bottom:2px}.medallion-ribbon.left{left:8px}.medallion-ribbon.right{right:8px}.milestone-badge-copy strong{font-size:11px}.milestone-badge-copy span{display:none}.milestone-badge-copy small{font-size:9px}.milestone-badge-copy p{display:none}.section-actions{justify-content:stretch}.section-actions>*,.bubble-action{width:100%}.table-panel-header{align-items:flex-start}.table-panel-action{min-height:34px;padding:7px 10px}.contact-table-wrap{overflow:visible}.list-table{min-width:0;font-size:12px}.list-table thead{display:none}.list-table,.list-table tbody,.list-table tr,.list-table td{width:100%;display:block}.task-table th,.task-table td,.task-table th:first-child,.task-table th:nth-child(2),.task-table th:nth-child(3),.task-table td:first-child,.task-table td:nth-child(2),.task-table td:nth-child(3){width:100%}.list-table tr{border-top:1px solid var(--line);padding:7px 0}.list-table tr:first-child{border-top:0}.list-table td{border-top:0;grid-template-columns:82px minmax(0,1fr);gap:8px;padding:5px 10px;display:grid}.list-table td:before{content:attr(data-label);color:var(--muted);text-transform:uppercase;grid-area:1/1/-1;font-size:10px;font-weight:800;line-height:1.2}.list-table td>*{grid-column:2}.list-table td.table-actions-cell{justify-content:flex-start;padding-left:100px;display:flex}.list-table td.table-actions-cell:before,.table-empty-cell:before{display:none}.table-empty-cell{padding:14px!important;display:block!important}.table-empty-cell>*{grid-column:auto}.task-table tbody tr{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:10px;display:grid}.task-table td{min-width:0;padding:0;display:block}.task-table td:before{display:none}.task-table td[data-label=Task]{grid-area:1/1}.task-table td[data-label=Due]{flex-wrap:wrap;grid-area:2/1;align-items:baseline;gap:2px 8px;display:flex}.task-table td[data-label=Due] strong{font-size:13px}.task-table td[data-label=Due] small{font-size:11px}.task-table td.table-actions-cell{grid-area:1/2/3;align-self:center;padding-left:0}.task-table .small-button,.task-table .done-button,.task-table .table-role-chip{min-height:36px;padding:8px 10px}.journal-entries-panel{gap:9px}.journal-entries-panel .table-panel-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.journal-entries-panel .panel-header{gap:8px}.journal-entries-panel .panel-header svg{width:18px;height:18px}.journal-entries-panel .panel-header h2{font-size:22px;line-height:1.05}.journal-entries-panel .table-panel-action{white-space:nowrap;width:auto;min-height:38px;padding:8px 10px;font-size:13px}.journal-table-wrap{-webkit-overflow-scrolling:touch;max-width:100%;overflow:auto hidden}.journal-entries-table{table-layout:fixed;width:100%;min-width:720px;font-size:11px;display:table}.journal-entries-table thead{display:table-header-group}.journal-entries-table tbody{display:table-row-group}.journal-entries-table tr{border-top:0;padding:0;display:table-row}.journal-entries-table th,.journal-entries-table td{border-top:1px solid var(--line);vertical-align:top;width:auto;padding:7px;display:table-cell}.journal-entries-table th{font-size:9px;line-height:1.1}.journal-entries-table td:before,.journal-entries-table td.table-actions-cell:before{content:none;display:none}.journal-entries-table td>*{grid-column:auto}.journal-entries-table td.table-actions-cell{white-space:nowrap;padding-left:7px;display:table-cell}.journal-entries-table td.table-actions-cell .table-icon-action{vertical-align:top;width:28px;height:28px;display:inline-grid}.journal-entries-table td.table-actions-cell .table-icon-action+.table-icon-action{margin-left:4px}.journal-entries-table .journal-kind-chip{white-space:nowrap;max-width:84px;padding:4px 6px;font-size:10px}.journal-entries-table .journal-value-cell{white-space:normal}.journal-entries-table .journal-notes-cell{max-width:120px}.table-role-chip,.viewer-status-chip{padding:5px 7px;font-size:11px}.table-icon-action{width:32px;height:32px}.section-heading .calendar-tools{justify-content:flex-start}.calendar-tools .bubble-action{width:auto;min-height:40px;padding:0 14px}.calendar-filter-row .calendar-legend{margin-left:0}.panel{padding:14px}.editable-schedule-header{display:grid}.schedule-actions{justify-content:stretch}.schedule-actions .primary-button,.schedule-actions .secondary-button{width:100%}.plan-edit-toolbar{display:grid}.plan-edit-toolbar .secondary-button{width:100%}.treatment-path-summary{grid-template-columns:1fr}.row-medicine-adder{min-width:260px}.calendar-summary-grid,.finance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.calendar-summary-grid article,.finance-summary-grid article{gap:2px;padding:9px}.calendar-summary-grid strong,.finance-summary-grid strong{font-size:18px}.calendar-summary-grid span,.calendar-summary-grid small,.finance-summary-grid span,.finance-summary-grid small{font-size:11px;line-height:1.25}.finance-filter-row{grid-template-columns:1fr;gap:8px;padding:8px;display:grid}.segmented-control{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.segmented-control button{min-height:36px;padding:7px 8px}.finance-filter-row label,.finance-filter-row select{width:100%}.finance-chart-row{padding:9px}.finance-chart-row-header,.finance-chart-meta{gap:6px}.finance-chart-row-header b{font-size:13px}.finance-records-table{min-width:0}.calendar-filter-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px;display:grid}.calendar-filter-row select{min-height:36px;font-size:13px}.calendar-filter-row label{white-space:nowrap;justify-content:flex-end;font-size:12px}.calendar-month-header{margin-bottom:8px}.calendar-month-header h2{font-size:18px}.calendar-grid{display:none}.mobile-date-strip{scroll-snap-type:x proximity;scrollbar-width:thin;gap:7px;margin:0 -2px;padding:2px 2px 10px;display:flex;overflow-x:auto}.mobile-date-chip{cursor:pointer;scroll-snap-align:start;border:1px solid var(--line);background:var(--surface);min-height:74px;color:var(--ink);text-align:left;border-radius:8px;flex:0 0 56px;gap:2px;padding:7px 6px;display:grid}.mobile-date-chip span:first-child,.mobile-date-chip small{color:var(--muted);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:10px;font-weight:800;line-height:1.1;overflow:hidden}.mobile-date-chip strong{font-size:19px;line-height:1}.mobile-date-chip.today strong{color:var(--teal)}.mobile-date-chip.selected{border-color:var(--teal);background:var(--teal-soft);box-shadow:inset 0 0 0 1px #11827559}.mobile-date-markers{align-items:center;gap:3px;min-height:6px;display:flex}.mobile-date-markers i{background:var(--teal);border-radius:999px;width:6px;height:6px}.mobile-date-markers i.payment{background:var(--amber)}.mobile-date-markers i.approval{background:var(--violet)}.mobile-date-markers i.consultation{background:var(--blue)}.mobile-date-markers i.procedure{background:var(--red)}.mobile-date-markers i.support{background:var(--coral)}.mobile-date-markers i.status-done,.mobile-date-markers i.completed{background:var(--green)}.mobile-agenda{gap:8px;margin-top:4px;display:grid}.mobile-agenda-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.mobile-agenda-heading strong{color:var(--ink);font-size:13px}.mobile-agenda-list{gap:6px;display:grid}.mobile-agenda-row{cursor:pointer;border:1px solid var(--line);color:var(--ink);text-align:left;background:#fbfcfb;border-radius:8px;grid-template-columns:48px minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px;display:grid}.mobile-agenda-row.status-done{background:var(--green-soft)}.mobile-agenda-date{color:var(--muted);white-space:nowrap;font-size:11px;font-weight:900}.mobile-agenda-main{gap:2px;min-width:0;display:grid}.mobile-agenda-main strong,.mobile-agenda-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-agenda-attachment{color:var(--teal)}.mobile-agenda-main strong{color:var(--ink);font-size:13px}.mobile-agenda-main small,.mobile-agenda-more{color:var(--muted);font-size:11px;font-weight:800}.mobile-agenda-row .table-status{white-space:nowrap;padding:5px 6px;font-size:10px}.calendar-day-panel{gap:10px}.calendar-day-panel .panel-header h2{font-size:17px}.selected-day-list{gap:8px;max-height:none;padding-right:0}.selected-event,.selected-task{border-left-width:3px;gap:7px;padding:10px}.selected-event-top{grid-template-columns:minmax(0,1fr) auto;align-items:start;display:grid}.selected-event-top h3,.selected-task h3{font-size:14px}.selected-event p,.selected-task p{font-size:12px;line-height:1.35}.event-meta-grid{gap:5px}.event-meta-grid span{padding:5px 7px;font-size:11px}.event-documents{gap:6px;padding-top:8px}.event-documents-header strong,.event-documents-header .text-button{font-size:12px}.calendar-legend{display:none}.event-document-row{grid-template-columns:auto minmax(0,1fr) auto auto;display:grid}.event-document-row small{grid-column:2/-1}.viewer-access-heading,.viewer-access-card,.chat-header{display:grid}.viewer-invite-button,.viewer-access-actions,.viewer-access-card .small-pill-button{width:100%}.chat-message{max-width:100%}.template-grid,.appointment-item,.task-item,.document-card{grid-template-columns:1fr}.task-item{align-items:start}.document-actions{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.document-actions .icon-button{width:100%}.document-main h3,.document-main p{white-space:normal}.document-viewer iframe,.document-viewer img{width:calc(100vw - 44px);max-width:calc(100vw - 44px)}.small-button,.done-button{width:100%}.done-button{min-height:36px}.report-heading{flex-direction:column;align-items:stretch}.report-preset-row,.report-action-row{display:grid}.report-preset-row .secondary-button,.report-action-row .primary-button,.report-action-row .secondary-button{width:100%}.doctor-report-scroll{max-height:620px}}@media (pointer:coarse){button,input,select,textarea{font-size:16px}.nav-list button,.public-nav button,.role-switch button,.mood-options button,.small-button,.done-button,.primary-button,.secondary-button,.complete-treatment-button,.bubble-action,.today-button,.setup-toggle button,.auth-tabs button{min-height:44px}.icon-button,.sidebar-collapse{min-width:44px;min-height:44px}}@media (width<=640px){.view-stack{gap:12px}.main-surface{padding-right:max(10px, env(safe-area-inset-right));padding-left:max(10px, env(safe-area-inset-left))}.section-heading{gap:10px}.section-heading h2{line-height:1.12}.welcome-panel{gap:10px;padding:12px}.welcome-copy{padding:0}.welcome-panel h2{margin-bottom:0;font-size:19px;line-height:1.16}.welcome-panel p{display:none}.end-countdown{text-align:left;grid-template-columns:auto minmax(0,1fr);justify-items:start;column-gap:10px;min-height:0;padding:10px}.countdown-copy{justify-items:start}.welcome-next-treatment{min-height:0}.end-countdown strong{grid-row:span 2;font-size:32px}.end-countdown span,.end-countdown small{font-size:11px}.summary-copy{gap:5px;padding:12px}.summary-copy h2{font-size:17px}.summary-copy p{font-size:12px}.next-appointment{padding:12px}.section-actions{justify-content:flex-start;gap:7px;display:flex}.section-actions>*,.bubble-action,.schedule-actions .primary-button,.schedule-actions .secondary-button,.plan-edit-toolbar .secondary-button,.viewer-invite-button,.viewer-access-actions,.viewer-access-card .small-pill-button,.report-preset-row .secondary-button,.report-action-row .primary-button,.report-action-row .secondary-button,.document-actions .icon-button,.small-button,.done-button{width:auto}.bubble-action,.small-pill-button,.secondary-button,.complete-treatment-button{min-height:38px;padding:8px 10px}.celebration-banner{min-height:286px}.celebration-foreground{gap:10px;width:calc(100% - 20px);margin:10px;padding:10px}.celebration-copy strong{font-size:14px}.celebration-copy span{font-size:12px}.celebration-stage{min-height:286px}.celebration-banner .milestone-medallion.featured{width:78px;height:92px;margin:-8px -4px -16px -10px}.milestone-medallion.featured .medallion-ring{width:74px;height:74px}.milestone-medallion.featured .medallion-face{width:58px;height:58px}.milestone-medallion.featured .medallion-face svg{width:30px;height:30px}.panel,.template-card,.verification-card,.drug-card,.source-card,.comparison-card{padding:11px}.panel-header{align-items:flex-start;margin-bottom:10px}.panel-header h2,.panel-header h3{line-height:1.15}.care-note,.privacy-note,.refund-box,.fact-row,.empty-day,.empty-timeline{gap:8px;padding:9px;font-size:12px;line-height:1.35}.profile-identity{gap:10px}.avatar-block{width:44px;height:44px;font-size:20px}.profile-identity h2{font-size:20px}.profile-identity p{font-size:13px;line-height:1.3}.profile-detail-list{gap:6px}.profile-detail-list div,.profile-detail-list div:first-child,.profile-detail-list div:nth-child(2),.profile-detail-list div:last-child{border-radius:6px;grid-column:auto;padding:8px 9px}.profile-detail-list span{font-size:10px}.profile-detail-list strong{font-size:13px}.settings-intro{font-size:13px;line-height:1.4}.settings-detail-list,.settings-detail-list.compact{grid-template-columns:1fr;gap:0}.settings-detail-list div{padding:8px 0}.settings-detail-list dt{font-size:10px}.settings-detail-list dd{font-size:13px}.settings-action-row{gap:6px}.settings-note{gap:8px;padding:9px;font-size:12px;line-height:1.35}.settings-section{gap:8px;padding:10px}.settings-section-header{gap:6px;display:grid}.settings-section-heading h3{font-size:16px}.settings-section-heading p,.empty-list-note,.settings-count{font-size:12px}.security-row,.profile-facts,.source-chips,.watch-list,.luces-key-row,.entry-vitals,.event-meta-grid{gap:5px}.profile-facts span,.security-row span,.source-chips a,.watch-list span,.entry-vitals span,.event-meta-grid span,.price-pill,.complete-pill,.status-pill,.table-status{padding:5px 7px;font-size:11px;line-height:1.15}.passkey-panel,.viewer-invite-card,.empty-access-state,.manual-timeline-editor,.timeline-inline-editor,.technical-doc-section-box,.report-card,.report-entry-row{padding:10px}.passkey-row,.viewer-access-card,.care-team-card{gap:8px;padding:10px}.care-team-grid,.viewer-access-panel,.viewer-access-layout,.verification-list,.template-grid{gap:8px}.care-team-card-header{padding-right:36px}.care-team-card-header h3,.viewer-access-card h3{font-size:16px}.care-team-remove{top:8px;right:8px}.luces-section-stack,.luces-workspace,.luces-reader-panel,.luces-card-grid{gap:10px}.luces-nav-panel,.luces-reader-panel{padding:11px}.luces-panel-heading,.luces-reader-titlebar{gap:8px}.luces-count{min-width:28px;height:26px;font-size:12px}.luces-tree-list.medicine-category-tabs,.source-tree-list{scroll-snap-type:x proximity;gap:7px;margin-inline:-2px;padding:2px 2px 4px;display:flex;overflow-x:auto}.luces-tree-list.medicine-category-tabs button,.source-tree-row{scroll-snap-align:start;flex:none;max-width:230px;min-height:36px;padding:7px 9px}.luces-tree-list.medicine-category-tabs button span,.source-tree-row span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.luces-sidebar-note{padding-top:8px;font-size:12px}.drug-card.luces-document-card,.source-card.luces-source-card{box-shadow:none;gap:9px}.drug-card-top{gap:8px}.drug-header h3,.source-top h3{font-size:16px}.drug-card p,.source-card p,.source-card.luces-source-card p,.safety-copy,.documents-toolbar p,.technical-hero p,.technical-doc-summary{min-height:0;font-size:13px;line-height:1.4}.medicine-suggestion-list{max-height:190px}.medicine-suggestion-list button{padding:8px}.documents-toolbar{gap:10px}.lifecycle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lifecycle-grid article{padding:10px}.document-lifecycle-actions{display:grid}.document-sort-row{align-items:start;gap:8px}.document-sort-row label{min-width:min(100%,210px)}.document-card{grid-template-columns:34px minmax(0,1fr) auto;gap:9px;padding:9px}.document-icon{width:34px;height:34px}.document-main h3{-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;margin:2px 0;font-size:14px;line-height:1.25;display:-webkit-box;overflow:hidden}.document-main p{font-size:11px;line-height:1.3}.document-actions{gap:5px;display:flex}.document-actions .icon-button,.document-card .icon-button,.event-icon-actions .icon-button,.event-document-row .icon-button{width:34px;min-width:34px;height:34px;min-height:34px}.empty-document-state,.empty-chat-state{min-height:0;padding:14px}.document-viewer iframe,.document-viewer img{width:calc(100vw - 36px);max-width:calc(100vw - 36px);max-height:68vh}.side-effect-layout,.doctor-report-panel,.journal-mode-panel,.side-effect-list,.report-grid,.report-entry-list,.report-medicine-list{gap:9px}.journal-mode-slider{gap:10px}.journal-mode-entries .journal-mode-slider{transform:translate(calc(-100% - 10px))}.journal-mode-switch{width:100%}.side-effect-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.side-effect-stats span,.report-summary-grid span{gap:2px;padding:9px;font-size:11px;line-height:1.25}.side-effect-stats strong,.report-summary-grid strong{font-size:18px}.side-effect-card{gap:8px;padding:10px}.side-effect-header{gap:8px}.side-effect-header h3,.report-card h3{font-size:15px}.report-heading{gap:7px}.report-heading h2{font-size:18px}.report-heading p{margin:3px 0 0;font-size:12px;line-height:1.35}.report-controls{gap:8px;padding:9px}.report-preset-row,.report-action-row{justify-content:flex-start;gap:7px;padding-bottom:2px;overflow-x:auto}.report-action-row{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;overflow-x:visible}.report-preset-row .secondary-button,.report-action-row .primary-button,.report-action-row .secondary-button{min-height:38px;padding:8px 10px;font-size:13px}.doctor-report-scroll{gap:10px;max-height:520px;padding:10px}.report-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.report-entry-row>div:first-child{gap:3px;display:grid}.report-entry-row p,.side-effect-card p{font-size:12px;line-height:1.35}.inbox-layout,.inbox-panel,.chat-panel,.composer-panel{gap:10px}.conversation-list{gap:6px}.conversation-list button{grid-template-columns:34px minmax(0,1fr) auto;gap:7px;padding:8px}.conversation-list p,.chat-header p,.chat-message p{font-size:12px;line-height:1.35}.chat-header{grid-template-columns:36px minmax(0,1fr);gap:7px;padding-bottom:9px}.chat-header .price-pill{grid-column:2;width:fit-content}.chat-header h2{font-size:17px}.chat-thread{gap:7px;min-height:160px;max-height:360px}.chat-message{gap:4px;max-width:86%;padding:9px}.composer-panel textarea{min-height:92px}.dropzone{gap:6px;min-height:96px;padding:14px}.dropzone svg{width:22px;height:22px}.opinion-timeline,.timeline-item{gap:8px}.timeline-item em,.timeline-item small{font-size:11px}.manual-timeline-row{gap:8px;display:grid}.timeline-editor-actions{justify-content:flex-start}.how-to-grid,.workflow-list{gap:8px}.how-to-card{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:11px}.how-to-icon{width:34px;height:34px}.how-to-card h3{margin-bottom:3px;font-size:15px}.how-to-card p,.workflow-step p{font-size:12px;line-height:1.35}.workflow-step{grid-template-columns:28px minmax(0,1fr);gap:9px;padding-top:9px}.workflow-step strong{height:26px;font-size:12px}.technical-layout,.technical-doc-article,.technical-risk-list,.technical-runtime-table{gap:9px}.technical-pillars{gap:8px}.technical-pillar-card{gap:5px;min-height:0;padding:10px}.technical-doc-nav{gap:7px;padding-bottom:10px;display:flex;overflow-x:auto}.technical-doc-nav .panel-header{display:none}.technical-doc-nav-button{white-space:nowrap;flex:none;width:auto;min-height:36px;margin-bottom:0;padding:0 9px}.technical-doc-list{gap:7px}.technical-doc-list li{grid-template-columns:16px minmax(0,1fr);gap:7px;font-size:12px;line-height:1.35}.technical-runtime-row{gap:4px;min-height:0;padding:9px}}.pwa-standalone .public-shell,.pwa-standalone .app-shell{min-height:calc(var(--app-vh,1vh) * 100)}@media (width<=760px){.treatment-celebration-overlay{padding:0}.celebration-overlay-panel{width:100vw;min-height:calc(var(--app-vh,1vh) * 100);border-radius:0}.celebration-overlay-panel:before{border-radius:0;inset:0}.celebration-overlay-foreground{border-radius:0;width:calc(100% - 30px);padding:0}.celebration-overlay-medallion{width:118px;min-height:126px}.celebration-overlay-medallion .milestone-medallion.featured{transform:scale(.96)}.celebration-overlay-copy strong{font-size:clamp(25px,10vw,42px)}.celebration-overlay-copy span{font-size:14px}.celebration-kicker{letter-spacing:.14em;font-size:10px}.rabbit-alpha,.rabbit-bravo,.celebration-animal-cameo.sheep,.celebration-animal-cameo.camel{display:none}.rabbit-charlie{bottom:10%;left:5%}.rabbit-delta{bottom:10%;right:5%}.rabbit-echo{top:12%;left:12%}.rabbit-foxtrot{top:12%;right:12%}.rabbit-golf{bottom:5%;left:34%}.celebration-animal-cameo.horse{top:20%;left:36%}.celebration-hero-rabbit{width:clamp(154px,48vw,210px);height:clamp(154px,48vw,210px);top:7%;bottom:auto}}@media (width<=640px){h1{font-size:24px}h2{font-size:19px}h3{font-size:14px}.eyebrow,.mini-label,.task-type{font-size:10px}.topbar{margin:0 calc(-1 * max(10px, env(safe-area-inset-right))) 12px calc(-1 * max(10px, env(safe-area-inset-left)));min-height:calc(58px + env(safe-area-inset-top));padding:max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) 8px max(10px, env(safe-area-inset-left));grid-template-columns:38px minmax(0,1fr) auto;gap:7px}.sidebar{top:calc(58px + env(safe-area-inset-top));z-index:30;max-height:calc(100dvh - 70px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.top-actions{gap:6px}.icon-button.mobile-menu-toggle,.notification-wrap>.icon-button,.profile-trigger{width:38px;min-width:38px;height:38px;min-height:38px}.mobile-header-brand{gap:6px;font-size:17px}.mobile-header-brand .brand-mark{width:30px;height:30px}.profile-trigger span{width:23px;height:23px;font-size:13px}.notification-dot{top:8px;right:8px}.notification-menu,.profile-menu{top:calc(58px + env(safe-area-inset-top))}.view-stack{gap:10px;min-width:0;max-width:100%}.view-stack>*,.section-heading,.section-actions{min-width:0;max-width:100%}.section-actions{overflow-x:auto}.section-heading{align-items:flex-start;gap:8px}.section-heading>.bubble-action,.section-heading .bubble-action{align-self:flex-start}.panel-header>div:has(h2){gap:3px;display:grid}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric-card{gap:4px;padding:9px}.metric-card svg{width:18px;height:18px}.metric-card strong{font-size:20px}.metric-card span,.metric-card small{font-size:11px;line-height:1.25}.care-note svg,.privacy-note svg,.refund-box svg{width:16px;height:16px}.care-note,.privacy-note,.refund-box,.fact-row,.empty-day,.empty-timeline{padding:8px;font-size:12px}.viewer-access-panel{gap:10px}.viewer-access-heading{align-items:flex-start}.viewer-invite-form{grid-template-columns:1fr}.viewer-access-card{display:grid}.viewer-access-actions{flex-wrap:nowrap;justify-content:flex-start;display:flex;overflow-x:auto}.viewer-access-actions .small-pill-button{flex:none}.care-team-card .profile-detail-list.compact,.profile-detail-list.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.care-team-card p{font-size:12px;line-height:1.35}.app-shell .source-chips{flex-wrap:nowrap;padding-bottom:2px;overflow-x:auto}.app-shell .source-chips a{text-overflow:ellipsis;white-space:nowrap;flex:none;max-width:230px;overflow:hidden}.luces-workspace,.luces-nav-panel,.luces-reader-panel,.luces-tree-list.medicine-category-tabs,.source-tree-list{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.editable-schedule-header{gap:8px}.plan-edit-toolbar,.schedule-actions{flex-wrap:nowrap;justify-content:flex-start;gap:7px;padding-bottom:2px;display:flex;overflow-x:auto}.plan-edit-toolbar .secondary-button,.schedule-actions .primary-button,.schedule-actions .secondary-button{flex:none}.session-table.compact-plan-table{min-width:860px;font-size:12px}.session-table th,.session-table td{padding:7px}.phase-track{grid-template-columns:1fr;gap:8px;padding-bottom:0;overflow-x:visible}.phase-card{gap:7px;min-height:0;padding:10px}.phase-card h3{overflow-wrap:anywhere;min-height:0;margin:5px 0 7px;font-size:14px;line-height:1.2}.phase-meta{margin-top:4px;font-size:11px}.appointment-list .appointment-item{grid-template-columns:46px minmax(0,1fr);gap:8px;padding-top:9px}.appointment-list .date-chip{width:42px;height:42px}.appointment-list .date-chip strong{font-size:16px}.appointment-list .date-chip span{font-size:10px}.appointment-list .item-row{align-items:flex-start;gap:6px}.appointment-list .item-row h3{margin:0;font-size:13px;line-height:1.2}.appointment-list .item-row span{flex:none;font-size:11px}.appointment-list .appointment-item p{-webkit-line-clamp:2;color:var(--muted);-webkit-box-orient:vertical;margin:3px 0 0;font-size:12px;line-height:1.3;display:-webkit-box;overflow:hidden}.plan-rows-table-wrap,.plan-template-summary{overflow-x:visible}.session-table.compact-plan-table.is-read-mode,.session-table.compact-plan-table.is-edit-mode,.plan-template-summary .compact-plan-table{border-collapse:separate;width:100%;min-width:0;font-size:12px;display:block}.session-table.compact-plan-table.is-read-mode thead,.session-table.compact-plan-table.is-edit-mode thead,.plan-template-summary .compact-plan-table thead{display:none}.session-table.compact-plan-table.is-read-mode tbody,.session-table.compact-plan-table.is-edit-mode tbody,.plan-template-summary .compact-plan-table tbody{gap:8px;display:grid}.session-table.compact-plan-table.is-read-mode tr,.session-table.compact-plan-table.is-edit-mode tr,.plan-template-summary .compact-plan-table tr{box-sizing:border-box;border:1px solid var(--line);border-left:4px solid var(--teal);background:var(--surface);border-radius:8px;width:100%;min-width:0;padding:9px;display:grid}.session-table.compact-plan-table.is-read-mode .session-row.done,.session-table.compact-plan-table.is-edit-mode .session-row.done{border-left-color:var(--green);background:#e1f4e873}.session-table.compact-plan-table.is-read-mode .session-row.kind-supportive-injection,.session-table.compact-plan-table.is-read-mode .session-row.kind-ongoing-medicine,.session-table.compact-plan-table.is-read-mode .session-row.kind-other-care,.session-table.compact-plan-table.is-edit-mode .session-row.kind-supportive-injection,.session-table.compact-plan-table.is-edit-mode .session-row.kind-ongoing-medicine,.session-table.compact-plan-table.is-edit-mode .session-row.kind-other-care{border-left-color:var(--violet)}.session-table.compact-plan-table.is-read-mode td,.session-table.compact-plan-table.is-edit-mode td,.plan-template-summary .compact-plan-table td{background:0 0;border-bottom:0;min-width:0;padding:0}.session-table.compact-plan-table.is-read-mode tr{grid-template-columns:44px minmax(0,1fr) auto;gap:5px 9px}.session-table.compact-plan-table.is-read-mode td:first-child{color:var(--muted);border-left:0;grid-area:1/1;font-weight:850}.session-table.compact-plan-table.is-read-mode td:nth-child(2){color:var(--muted);grid-area:2/1;font-size:11px;line-height:1.2}.session-table.compact-plan-table.is-read-mode td:nth-child(3){grid-area:2/2}.session-table.compact-plan-table.is-read-mode td:nth-child(4){grid-area:1/2/auto/4}.session-table.compact-plan-table.is-read-mode td:nth-child(5){grid-area:3/2/auto/4}.session-table.compact-plan-table.is-read-mode td:nth-child(6){grid-area:2/3;justify-self:end}.session-table.compact-plan-table.is-read-mode td:nth-child(4) strong{overflow-wrap:anywhere;font-size:14px;line-height:1.2;display:block}.session-table.compact-plan-table.is-edit-mode tr{gap:8px}.session-table.compact-plan-table.is-edit-mode td{grid-template-columns:78px minmax(0,1fr);align-items:center;gap:6px;display:grid}.session-table.compact-plan-table.is-edit-mode td:before{content:attr(data-label);color:var(--muted);letter-spacing:.02em;text-transform:uppercase;font-size:10px;font-weight:850}.session-table.compact-plan-table.is-edit-mode td:nth-child(5){grid-template-columns:1fr}.session-table.compact-plan-table.is-edit-mode td:nth-child(5):before{margin-bottom:-2px}.session-table.compact-plan-table.is-edit-mode input,.session-table.compact-plan-table.is-edit-mode select,.session-table.compact-plan-table.is-edit-mode .delete-row-button,.session-table.compact-plan-table.is-edit-mode .small-button{width:100%;min-width:0}.plan-template-summary .compact-plan-table tr{gap:5px}.plan-template-summary .compact-plan-table td strong{font-size:13px;line-height:1.2;display:block}.session-table.compact-plan-table .source-chip-group{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px;margin-top:4px}.session-table.compact-plan-table .source-chip-group>span{white-space:nowrap;font-size:9px}.session-table.compact-plan-table .source-chips,.comparison-card .source-chips,.plan-template-summary .source-chips{flex-wrap:wrap;padding-bottom:0;overflow-x:visible}.session-table.compact-plan-table .source-chips a,.comparison-card .source-chips a,.plan-template-summary .source-chips a{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;flex:130px;max-width:100%;overflow:visible}.plan-kind-pill,.session-table.compact-plan-table .table-status{white-space:normal;width:fit-content;max-width:100%;min-height:22px;padding:4px 7px;font-size:10px;line-height:1.1}.plan-review-header,.plan-review-request{grid-template-columns:1fr;align-items:stretch;display:grid}.plan-review-grid{grid-template-columns:1fr}.clinical-status-badge,.plan-review-request .primary-button{width:fit-content}.medicine-bubble{white-space:normal;min-height:24px;padding:5px 7px;font-size:11px;line-height:1.12}.medicine-bubble-list,.medicine-palette{gap:5px}.medicine-palette,.row-medicine-adder{width:100%;min-width:260px}.session-table.compact-plan-table.is-edit-mode .medicine-palette,.session-table.compact-plan-table.is-edit-mode .row-medicine-adder,.session-table.compact-plan-table.is-read-mode .medicine-bubble-list{min-width:0}.session-table.compact-plan-table.is-read-mode .medicine-bubble{border-left-width:3px;border-radius:6px;min-height:20px;padding:3px 5px;font-size:10px}.calendar-summary-grid article{gap:2px;padding:8px}.calendar-summary-grid strong{font-size:17px}.mobile-date-chip{flex-basis:52px;min-height:66px;padding:6px}.mobile-date-chip strong{font-size:17px}.mobile-agenda-row{grid-template-columns:44px minmax(0,1fr) auto;padding:7px}.side-effect-stats span,.report-summary-grid span{padding:8px}.report-controls label{min-width:0;font-size:11px}.report-controls input{min-width:0;min-height:34px;padding:7px 8px;font-size:13px}.compact-label{gap:5px;font-size:12px}.compact-label input,.compact-label select{min-height:36px;padding:8px 9px;font-size:13px}.conversation-main>span,.chat-message>div,.chat-header{gap:6px}.chat-message>div{display:grid}.composer-panel .care-note.urgent{font-size:12px;line-height:1.35}.modal-backdrop{padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));place-items:start stretch}.overlay-modal{width:100%;max-height:calc((var(--app-vh,1vh) * 100) - 16px)}.modal-header{gap:8px;padding:10px 12px}.modal-header h2{font-size:16px;line-height:1.15}.modal-body{gap:12px;padding:12px}.journal-entry-form{gap:10px}.entry-slider-label input[type=range],.journal-entry-form input[type=range]{touch-action:none;min-height:32px}.technical-hero,.technical-pillars-panel,.technical-runtime-panel{padding:11px}.technical-hero .panel-header,.technical-pillars-panel .panel-header,.technical-runtime-panel .panel-header,.technical-doc-article .panel-header{grid-template-columns:minmax(0,1fr) auto;display:grid}.technical-hero h2,.technical-pillars-panel h2,.technical-runtime-panel h2,.technical-doc-article h2{font-size:18px}.technical-hero p,.technical-doc-summary,.technical-doc-section-box p,.technical-pillar-card p{font-size:12px;line-height:1.35}.side-effect-stats{grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,360px);margin:0 auto}.side-effect-stats span{min-height:52px;padding:7px;font-size:10px}.side-effect-stats strong{font-size:16px}}
