:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#18324a;background:#f5f8fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--blue: #1e3a5f;--blue-soft: #e7eef7;--teal: #0f8f73;--teal-dark: #08715b;--border: #d9e3ec;--text-muted: #607386;--danger: #9f2d2d}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:20px 0 48px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0 28px}.wordmark{display:inline-flex;align-items:center}.site-logo{height:96px;width:auto;display:block}.nav-link{color:var(--blue);font-weight:700}.hero-banner{background:linear-gradient(135deg,var(--blue) 0%,#2a5298 100%);border-radius:20px;margin-bottom:20px}.hero-banner-inner{padding:28px 36px;display:flex;flex-direction:column;gap:6px}.hero-banner .eyebrow{color:#ffffffb3;margin:0}.hero-banner h1{color:#fff;font-size:clamp(1.3rem,2.5vw,1.9rem);margin-bottom:4px}.hero-banner p{color:#fffc;font-size:.95rem;margin:0}.intake-full{width:100%}.eyebrow{margin:0 0 8px;color:var(--teal-dark);font-weight:800;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{color:var(--blue);font-size:clamp(1.3rem,2.5vw,1.75rem);line-height:1.1;letter-spacing:-.03em;margin-bottom:10px}h2{color:var(--blue);font-size:clamp(1.2rem,2.5vw,1.6rem);line-height:1.15;margin-bottom:20px}h3{color:var(--blue);margin-bottom:8px}.lock-screen{display:flex;justify-content:center;align-items:center;min-height:60vh}.lock-card{background:#fff;border:1px solid var(--border);border-radius:24px;box-shadow:0 18px 45px #1e3a5f14;padding:40px 36px;width:100%;max-width:380px;text-align:center}.lock-icon{font-size:2.5rem;margin-bottom:12px}.lock-card h2{margin-bottom:6px}.lock-card p{color:var(--text-muted);font-size:.92rem;margin-bottom:24px}.lock-form{display:flex;flex-direction:column;gap:10px}.lock-input{border:1.5px solid var(--border);border-radius:12px;padding:12px 14px;font-size:1rem;outline:none;transition:border-color .15s}.lock-input:focus{border-color:var(--teal)}.lock-input.error{border-color:#e53e3e}.lock-error{color:#e53e3e;font-size:.85rem;margin:0}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:100;padding:16px}.modal-card{background:#fff;border-radius:20px;padding:32px 28px;width:100%;max-width:360px;text-align:center;box-shadow:0 24px 60px #0003}.modal-card h3{margin:8px 0 6px}.modal-card p{color:var(--text-muted);font-size:.9rem;margin-bottom:20px}.modal-actions{display:flex;gap:10px;margin-top:4px}.modal-actions .secondary-button,.modal-actions .danger-button{flex:1}.danger-button{background:#e53e3e;color:#fff;border:none;border-radius:12px;padding:12px 20px;font-size:1rem;font-weight:700;cursor:pointer;transition:background .15s}.danger-button:hover{background:#c53030}.danger-button:disabled{opacity:.5;cursor:not-allowed}.recent-row-wrap{display:flex;align-items:center;gap:8px}.recent-row-wrap .recent-row{flex:1}.delete-brief-btn{flex-shrink:0;background:none;border:none;cursor:pointer;font-size:1.1rem;padding:8px;border-radius:8px;color:var(--text-muted);opacity:.5;transition:opacity .15s,background .15s}.delete-brief-btn:hover{opacity:1;background:#fff0f0}.delete-brief-btn:disabled{opacity:.3;cursor:not-allowed}.pathway-shell{background:#fff;border:1px solid var(--border);border-radius:24px;box-shadow:0 18px 45px #1e3a5f14;padding:36px}.pathway-shell h2{margin-bottom:6px}.pathway-subtitle{color:var(--text-muted);margin-bottom:28px}.pathway-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pathway-card{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:24px;border:2px solid var(--border);border-radius:18px;background:#fff;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}.pathway-card:hover:not(.disabled){border-color:var(--teal);box-shadow:0 4px 20px #0f8f731f}.pathway-card.disabled{opacity:.5;cursor:not-allowed}.pathway-label{color:var(--blue);font-size:1.15rem;font-weight:800}.pathway-desc{color:var(--text-muted);font-size:.88rem}.pathway-soon{display:inline-block;margin-top:4px;background:var(--blue-soft);color:var(--blue);border-radius:999px;padding:3px 10px;font-size:.78rem;font-weight:800}.pathway-badge{display:flex;align-items:center;gap:6px;margin:16px 16px 8px;padding:8px 12px;background:#ffffff1a;border:0;border-radius:10px;color:#fffc;font-size:.82rem;font-weight:700;cursor:pointer;text-align:left;transition:background .15s;width:calc(100% - 32px)}.pathway-badge:hover{background:#ffffff2e;color:#fff}.intake-shell{display:grid;grid-template-columns:200px 1fr;background:#fff;border:1px solid var(--border);border-radius:24px;box-shadow:0 18px 45px #1e3a5f14;overflow:hidden}.intake-steps-panel{background:var(--blue);padding:24px 0;display:flex;flex-direction:column;gap:2px}.intake-step-row{display:flex;align-items:flex-start;gap:10px;padding:11px 16px;background:transparent;border:0;color:#ffffff80;text-align:left;cursor:pointer;transition:background .15s,color .15s;width:100%}.intake-step-row:hover{background:#ffffff14;color:#fff}.intake-step-row.active{background:#ffffff21;color:#fff}.intake-step-row.done{color:#ffffffb3}.step-dot{width:24px;height:24px;border-radius:50%;background:#ffffff1f;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:800;flex-shrink:0;margin-top:1px}.intake-step-row.active .step-dot{background:var(--teal);color:#fff}.intake-step-row.done .step-dot{background:var(--teal-dark);color:#fff}.step-meta{display:flex;flex-direction:column;gap:2px;min-width:0}.step-eyebrow{font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;opacity:.65}.intake-step-row.active .step-eyebrow,.intake-step-row.done .step-eyebrow{opacity:1}.step-value{font-size:.82rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:138px;color:#ffffffd9}.intake-step-row:not(.done):not(.active) .step-value{color:#ffffff59}.intake-question-panel{padding:28px 28px 24px;display:flex;flex-direction:column}.progress-meta{display:flex;justify-content:space-between;color:var(--text-muted);font-weight:700;font-size:.85rem;margin-bottom:6px}.progress-track{height:6px;background:var(--blue-soft);border-radius:999px;overflow:hidden;margin-bottom:0}.progress-fill{height:100%;background:linear-gradient(90deg,var(--blue),var(--teal));border-radius:inherit;transition:width .25s ease}.question-block{padding:20px 0 16px}.option-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.option-grid.single-col{grid-template-columns:1fr}.option-card{min-height:72px;text-align:left;padding:16px 18px;border:2px solid var(--border);border-radius:14px;background:#fff;color:var(--blue);font-weight:700;font-size:1rem;transition:border-color .15s,box-shadow .15s,background .15s}.option-card:hover,.option-card:focus-visible{border-color:var(--teal);box-shadow:0 4px 16px #0f8f731f;outline:none}.option-card.selected{border-color:var(--teal);background:#effaf7;box-shadow:inset 0 0 0 1px #0f8f734d}.multi-hint{color:var(--teal-dark);font-size:.85rem;font-weight:700;margin:0 0 10px}.other-text-wrap{margin-top:16px;display:flex;flex-direction:column;gap:8px}.other-label{color:var(--blue);font-weight:800;font-size:.9rem}.other-input{border:2px solid var(--teal);border-radius:12px;padding:13px 16px;font-size:1rem;color:var(--blue);outline:none;width:100%}.other-input:focus{box-shadow:0 0 0 3px #0f8f7326}.form-actions{display:flex;justify-content:space-between;gap:12px;margin-top:24px}.primary-button,.secondary-button,.icon-button,.copy-button{border:0;border-radius:999px;padding:12px 20px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-button{background:var(--teal);color:#fff}.primary-button:hover,.primary-button:focus-visible{background:var(--teal-dark);outline:3px solid rgba(15,143,115,.22)}.secondary-button,.icon-button,.copy-button{background:var(--blue-soft);color:var(--blue)}.small{padding:9px 13px;font-size:.92rem}.error-banner,.loading-banner{margin:14px 0;border-radius:14px;padding:13px 15px;font-weight:700}.error-banner{color:var(--danger);background:#fff0f0;border:1px solid #f3caca}.loading-banner,.loading-page{color:var(--blue);background:var(--blue-soft)}.loading-page{padding:28px;border-radius:18px;display:inline-flex;gap:10px;align-items:center;font-weight:800}.spinner{width:18px;height:18px;border-radius:50%;border:3px solid rgba(30,58,95,.2);border-top-color:var(--teal);display:inline-block;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.brief-title-card,.brief-section,.recent-list{background:#fff;border:1px solid var(--border);border-radius:24px;box-shadow:0 18px 45px #1e3a5f14}.brief-layout,.recent-layout{display:grid;gap:18px}.brief-header{display:grid;grid-template-columns:1fr auto 1fr}.brief-header .primary-button{justify-self:end}.brief-title-card{padding:24px}.label-button{border:0;background:transparent;color:var(--blue);font-size:1.55rem;font-weight:850;padding:0;margin-bottom:10px}.label-form{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.label-form input{flex:1;min-width:220px;border:1px solid var(--border);border-radius:999px;padding:10px 14px}.chip-bar{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.chip-bar span{background:var(--blue-soft);color:var(--blue);border-radius:999px;padding:8px 12px;font-weight:800;font-size:.88rem}.brief-section{overflow:hidden}.section-toggle{width:100%;border:0;background:#fff;color:var(--blue);display:flex;justify-content:space-between;padding:18px 22px;font-size:1.12rem;font-weight:850}.section-content{border-top:1px solid var(--border);padding:20px 22px 24px}.treatment-list,.doc-grid{display:grid;gap:14px}.treatment-card,.doc-card{border:1px solid var(--border);border-radius:18px;padding:18px;background:#fbfdff}.card-heading,.doc-card>div{display:flex;align-items:start;justify-content:space-between;gap:12px}.evidence-badge{background:#eaf8f4;color:var(--teal-dark);border:1px solid #bfe5da;border-radius:999px;padding:6px 10px;font-weight:850;font-size:.8rem;white-space:nowrap}dl{display:grid;gap:4px}dt{color:var(--blue);font-weight:850}dd{margin:0 0 10px;color:#31485e}.source-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.source-row a,.source-row span{border-radius:999px;background:var(--blue-soft);color:var(--blue);padding:7px 10px;font-weight:800;font-size:.85rem}.soc-grid,.billing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.soc-grid div,.brief-list-block{background:#fbfdff;border:1px solid var(--border);border-radius:16px;padding:16px}ul{padding-left:20px}li+li{margin-top:7px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden}th,td{border-bottom:1px solid var(--border);padding:12px;text-align:left;vertical-align:top}th{color:var(--blue);background:var(--blue-soft)}.doc-card p{color:#31485e}.doc-disclaimer,.disclaimer-bar{color:#596d7f;background:#fff8e8;border:1px solid #f0dfb6;border-radius:14px;padding:14px}.disclaimer-bar{margin-top:4px}.copy-button{padding:8px 12px}.page-heading h1{margin-bottom:0}.recent-list{overflow:hidden}.recent-row{display:grid;grid-template-columns:1.4fr repeat(4,.7fr) 1fr;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border);align-items:center}.recent-row:hover{background:#f8fbfd}.recent-row strong{color:var(--blue)}.recent-row span,.recent-row time{color:var(--text-muted);font-size:.92rem}@media (max-width: 1024px){.home-layout{grid-template-columns:1fr}.hero-panel{position:static}.intake-shell{grid-template-columns:180px 1fr}}@media (max-width: 768px){.app-shell{width:calc(100% - 16px);padding-top:8px;padding-bottom:32px}.site-header{padding:10px 0 16px}.site-logo{height:52px}.hero-banner{border-radius:14px;margin-bottom:12px}.hero-banner-inner{padding:16px 18px;gap:4px}.hero-banner h1{font-size:1.15rem}.hero-banner p{font-size:.85rem}.pathway-shell{padding:20px 16px;border-radius:16px}.pathway-shell h2{font-size:1.2rem}.pathway-subtitle{font-size:.88rem;margin-bottom:16px}.pathway-grid{grid-template-columns:1fr;gap:10px}.pathway-card{flex-direction:column;align-items:flex-start;padding:16px 18px;border-radius:14px;gap:4px}.pathway-label{font-size:1.05rem}.pathway-desc{font-size:.82rem;line-height:1.4}.intake-shell{grid-template-columns:1fr}.intake-steps-panel{flex-direction:row;flex-wrap:wrap;padding:10px;gap:5px}.intake-step-row{flex-direction:column;align-items:center;gap:3px;padding:7px 8px;border-radius:10px;width:auto;flex:1;min-width:52px}.step-value{display:none}.step-eyebrow{font-size:.58rem;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:52px}.step-dot{margin-top:0;width:20px;height:20px;font-size:.7rem}.pathway-badge{margin:10px 10px 4px;padding:6px 10px;font-size:.78rem;width:calc(100% - 20px)}.intake-question-panel{padding:14px 14px 16px}h2{font-size:1.1rem}.option-grid{grid-template-columns:1fr;gap:8px}.option-card{min-height:52px;padding:12px 14px;font-size:.95rem}.form-actions{flex-direction:column-reverse;gap:8px;margin-top:16px}.primary-button,.secondary-button{width:100%}.soc-grid,.billing-grid{grid-template-columns:1fr}.brief-header{grid-template-columns:auto 1fr auto}.card-heading,.doc-card>div{flex-direction:column}.recent-row{grid-template-columns:1fr 1fr;gap:6px;padding:12px 14px}.recent-row strong{grid-column:1 / -1;font-size:.95rem}.recent-row span,.recent-row time{font-size:.82rem}}
