@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url('../img/manrope-latin.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('../img/dm-sans-latin.woff2') format('woff2')}
:root{--ink:#182820;--muted:#5c6c60;--green:#23664a;--lime:#d8edb1;--line:#e2e7df;--paper:#f8f9f5;--white:#fff;--orange:#de714c}*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--paper);line-height:1.6;font-size:1rem}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #80ad6c;outline-offset:4px}h1,h2,h3{font-family:'Manrope',sans-serif;line-height:1.17;letter-spacing:-.04em}h1{font-size:clamp(2.1rem,4.4vw,3.5rem);font-weight:500;margin:.65rem 0 1rem}h2{font-size:1.7rem;font-weight:500;margin:0 0 1rem}h3{font-size:1.12rem;font-weight:600}p{margin:.7rem 0 1.1rem}small{font-size:.875rem}em{font-family:Georgia,serif;font-weight:400}.green{color:var(--green)}.muted{color:var(--muted)}.eyebrow{font-size:.8125rem;letter-spacing:.17em;font-weight:700;color:var(--green)}.brand{display:flex;align-items:center;gap:.6rem;font-family:'Manrope',sans-serif;font-size:1.3rem;font-weight:800;letter-spacing:-.07em;line-height:1.1}.brand-light{font-weight:400}.brand small{display:block;font-family:'DM Sans',sans-serif;letter-spacing:.2em;font-size:.75rem;margin-top:.55rem;font-weight:500}.brand-symbol{position:relative;width:39px;height:40px;font-size:2.8rem;color:var(--green);font-family:Georgia,serif;font-style:italic;line-height:.8}.brand-symbol span{font-size:1.4rem;position:absolute;right:0;top:0;color:var(--orange)}.button{display:inline-flex;align-items:center;justify-content:center;gap:1.5rem;border:1px solid transparent;padding:.9rem 1.35rem;border-radius:7px;font-size:1rem;font-weight:600;line-height:1.3;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.button.dark{color:white;background:var(--ink)}.button.dark:hover{background:var(--green)}.button.outline{border-color:#cdd7cd;background:transparent}.button.small{padding:.65rem 1rem;font-size:.875rem}.button.full{width:100%;justify-content:space-between}.text-link{font-size:.875rem;font-weight:600;border-bottom:1px solid var(--green);padding-bottom:.2rem}.text-button{border:0;background:none;padding:0;font-size:.875rem;color:var(--muted)}.workspace{display:flex;min-height:100vh}.sidebar{width:280px;flex:none;background:white;border-right:1px solid var(--line);padding:35px 25px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.nav-label{font-size:.8125rem;font-weight:700;letter-spacing:.1em;color:#5d6b5e;margin-top:55px;margin-bottom:17px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav>a{padding:11px 10px;border-radius:6px;font-size:1rem;display:flex;align-items:center;gap:11px;color:#626e64}.sidebar nav>a span{font-size:1.2rem;width:21px;line-height:1}.sidebar nav>a:hover,.sidebar nav>a.active{background:#edf2e8;color:#235139}.nav-divider{height:1px;background:var(--line);margin:20px 0 10px}.sidebar-bottom{margin-top:auto;padding-top:30px}.science-note{font-size:.875rem;color:var(--green);padding-bottom:25px}.science-note p{color:var(--muted);font-size:.875rem;margin:.6rem 0}.tiny-dot{width:6px;height:6px;display:inline-block;background:var(--green);border-radius:50%;margin-right:4px}.account{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:20px 0 10px}.avatar{width:34px;height:34px;background:var(--lime);border-radius:50%;display:grid;place-items:center;text-transform:uppercase}.account strong,.account small{display:block;line-height:1.5}.account strong{font-size:.875rem}.account small{font-size:.875rem;color:var(--muted)}.work-main{min-width:0;flex:1}.work-topbar{height:80px;padding:0 4vw;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.6)}.work-topbar>span{font-size:.8125rem;font-weight:600;letter-spacing:.13em;color:var(--muted)}.mobile-brand{display:none}.work-content{max-width:1450px;margin:auto;padding:42px 4vw 60px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.page-heading p{color:var(--muted);font-size:1rem;margin-bottom:0}.date-label{font-size:.875rem;color:var(--muted)}.welcome-panel{display:flex;overflow:hidden;align-items:center;justify-content:space-between;padding:35px 40px;background:#eaf0df;border-radius:13px;min-height:260px;border:1px solid #dee6d7}.welcome-panel h2{font-size:clamp(1.7rem,3vw,2.6rem);margin:1rem 0}.welcome-panel p{max-width:420px;font-size:1rem;color:#53664b}.word-sculpture{position:relative;width:230px;flex:none;text-align:center;transform:rotate(-9deg);padding:20px}.word-sculpture>span{display:block;font-size:8.5rem;font-family:Georgia,serif;color:#2e5c39;font-style:italic;letter-spacing:-.13em;text-shadow:8px 8px 0 #cfddba}.word-sculpture i{position:absolute;inset:38px 3px;border:1px solid #a9bda0;border-radius:50%;transform:rotate(-30deg)}.word-sculpture b{font-size:.75rem;letter-spacing:.18em}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:25px 0 32px}.metric{padding:23px;background:white;border:1px solid var(--line);border-radius:9px}.metric>span{font-size:1rem;color:#5d6c5f}.metric>strong{display:block;font-size:2.2rem;font-weight:500;letter-spacing:-.05em;line-height:1.5}.metric>strong.money{font-size:1.65rem}.metric>strong>em{font:inherit;font-size:1.2rem;color:#5c6c60}.metric>small{font-size:.875rem;color:var(--muted)}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:28px;margin-bottom:24px;min-width:0}.panel.soft{background:#eef2e8}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.section-heading h2{font-size:1.3rem;margin:.4rem 0 0}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:1rem;text-align:left}th{font-size:.875rem;letter-spacing:.04em;font-weight:500;color:var(--muted);padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:17px 10px;border-bottom:1px solid #edf0eb}tbody tr:last-child td{border-bottom:0}.article-title{display:flex;align-items:center;gap:10px;min-width:210px}.file-icon{display:grid;place-items:center;width:27px;height:34px;border:1px solid #dce4d5;border-radius:4px;font-size:1.2rem;flex:none;color:var(--green)}.circle-link{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);border-radius:50%}.pill{display:inline-block;font-size:.875rem;border:1px solid #dfe4dc;padding:5px 9px;border-radius:30px;line-height:1.4;white-space:nowrap}.green-pill,.status-completed,.status-paid{background:#eaf4e3;border-color:#d2e4c7;color:#426c2a}.status-processing,.status-queued,.status-submitting,.status-pending{background:#fff3de;border-color:#f4e3c5;color:#886321}.status-review,.status-failed{background:#fae9e4;border-color:#eed3c8;color:#9b462b}.status-refunded{color:#6a6994;background:#f0eef8}.empty{text-align:center;padding:40px 20px 48px}.empty-icon{display:inline-block;font-size:2rem;color:var(--green);border:1px solid var(--line);width:66px;height:66px;line-height:66px;border-radius:50%}.empty h3{margin-top:20px}.empty p{font-size:1rem;color:var(--muted);max-width:430px;margin:12px auto 23px}.empty.compact{text-align:left;padding:8px}.grant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}.grant{border-left:2px solid #bdd2ad;padding:4px 20px}.grant p{font-size:1rem;color:var(--muted)}.grant small{color:var(--muted);font-size:.875rem}.work-footer{display:flex;gap:25px;border-top:1px solid var(--line);padding:20px 4vw;font-size:.875rem;color:var(--muted)}.work-footer span{margin-right:auto}.notice{padding:15px 19px;background:#edf1e8;border:1px solid #dbe4d5;border-radius:7px;font-size:1rem;line-height:1.6;margin-bottom:20px}.notice.error{background:#fcf0ed;border-color:#f3d1c8;color:#9b442f}.notice.success{background:#eaf4e3;color:#426c2a}.notice.warning{background:#fff7e9;border-color:#f2e1bc;color:#85652f}.notice p{margin:.4rem 0 0}.two-columns{display:grid;grid-template-columns:1.35fr 1fr;gap:24px}.two-columns .panel{margin-bottom:24px}.form-stack{margin-top:25px}.form-stack p{margin-bottom:18px}.form-stack label,form .field-label{font-size:1rem;font-weight:600;display:block;margin-bottom:8px}input:not([type=checkbox]):not([type=hidden]),select,textarea{width:100%;padding:12px 14px;border-radius:6px;border:1px solid #d9e0d3;background:#fcfdfb;color:var(--ink);font-size:1rem}input[type=checkbox]{width:16px;height:16px;accent-color:var(--green)}textarea{resize:vertical;min-height:85px}.form-stack .helptext,.helptext ul{display:block;font-size:.875rem;color:var(--muted);line-height:1.5;margin:7px 0}.helptext ul{padding-left:15px}.errorlist{padding:0;list-style:none;font-size:.875rem;color:#ab4937}.checkbox-row{display:flex;align-items:flex-start;gap:9px}.checkbox-row label{font-weight:400;font-size:1rem}.fine-print{font-size:.875rem;color:var(--muted);line-height:1.7}.fine-print a{text-decoration:underline}.drop-zone{margin:25px 0;border:1px dashed #aabf9c;background:#f7faf2;border-radius:10px;text-align:center;padding:35px 22px}.drop-zone h3{font-size:1rem}.drop-zone p{font-size:1rem;color:var(--muted)}.drop-zone input{max-width:100%;font-size:1rem}.drop-zone small{display:block;margin-top:15px;color:var(--muted);font-size:.875rem}.upload-symbol{font-size:2.6rem;line-height:1.2;color:var(--green)}.upload-aside{padding:25px 25px 25px 15px}.upload-aside>h2{font-size:2.8rem;margin:18px 0 30px}.step-number{font-size:.875rem;color:var(--orange);letter-spacing:.15em}.explain-step{display:flex;gap:18px;margin:20px 0}.explain-step>b{font-size:.875rem;color:var(--orange);padding-top:4px}.explain-step h3{font-size:1rem;margin:0}.explain-step p{font-size:1rem;color:var(--muted);margin:.6rem 0}.back-link{font-size:.875rem;color:var(--muted);display:inline-block;margin-bottom:18px}.filter-bar{display:flex;align-items:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.filter-bar>input{flex:2;min-width:180px}.filter-bar select{flex:1;min-width:140px}.filter-bar label{font-size:.875rem}.filter-bar input[type=date]{padding:9px;max-width:180px;font-size:1rem}.pagination{display:flex;justify-content:center;gap:24px;margin:22px 0;font-size:.875rem}.catalog-heading{margin:45px 0 20px}.catalog-heading small{display:block;font:500 .875rem 'DM Sans',sans-serif;color:var(--muted);letter-spacing:0;margin-top:10px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-card{padding:30px 25px;background:white;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;position:relative}.product-card.featured{border-color:#6e9770;background:#f5f8f0}.product-card .pill{align-self:flex-start;margin-bottom:12px}.product-card h3{font-size:1.5rem;margin:0 0 15px}.product-card>p{font-size:1rem;color:var(--muted);min-height:60px}.price{font-family:'Manrope',sans-serif;font-size:2.2rem;letter-spacing:-.05em;font-weight:500;margin:12px 0}.price>small{font:500 .9rem 'DM Sans',sans-serif;letter-spacing:0}.price>span{font:400 .875rem 'DM Sans',sans-serif;color:var(--muted);letter-spacing:0}.feature-list{list-style:none;padding:0;font-size:1rem;margin:18px 0 30px;flex:1}.feature-list li{padding:8px 0 8px 22px;position:relative;border-bottom:1px solid #edf0e8}.feature-list li:before{content:'✓';position:absolute;left:0;color:var(--green)}.product-card .button{font-size:1rem;gap:4px}.checkout-grid{display:grid;grid-template-columns:minmax(270px,.8fr) 1.3fr;gap:25px;max-width:1000px}.checkout-grid .product-card>.button{display:none;font-size:1rem}.checkout-grid .panel p{font-size:1rem;color:#6b7769}.checkout-total{display:flex;justify-content:space-between;align-items:center;border-block:1px solid var(--line);padding:25px 0;margin:25px 0;font-size:1rem}.checkout-total strong{font-size:1.8rem;font-weight:500;letter-spacing:-.04em}.inline-form{display:flex;gap:12px}.inline-form select{flex:1;min-width:0}.quota-breakdown{margin:25px 0}.quota-breakdown>div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:1rem;gap:12px}.quota-breakdown dt{color:var(--muted)}.quota-breakdown dd{margin:0;font-weight:500}.document-heading{font-size:clamp(1.6rem,3.5vw,2.6rem);max-width:840px;overflow-wrap:anywhere}.document-meta{display:flex;align-items:center;gap:20px;font-size:.875rem;color:var(--muted);margin:0 0 35px;flex-wrap:wrap}.addon-link{display:flex;justify-content:space-between;border-top:1px solid #d5dfcd;padding:20px 0;gap:15px;font-size:1rem}.addon-link strong,.addon-link small{display:block}.addon-link small{font-size:.875rem;color:var(--muted);margin-top:8px}.report-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:25px 0}.report-metric{padding:30px;background:#eaf0df;border-radius:10px}.report-metric.ai{background:#f6ebdf}.report-metric.sources{background:#eeeef4}.report-metric>span{font-size:1rem}.report-metric>strong{display:block;font-size:4.4rem;letter-spacing:-.07em;line-height:1.4;font-weight:400}.report-metric strong small{font-size:1.5rem;padding-left:5px}.report-metric p{font-size:.875rem;line-height:1.65;color:#53634e}.source-row{display:flex;gap:22px;border-bottom:1px solid var(--line);padding:23px 0}.source-index{font-size:.875rem;color:var(--orange);padding-top:5px}.source-row h3{font-size:1rem;margin:0 0 8px}.source-row a{font-size:.875rem;color:var(--green);overflow-wrap:anywhere}.source-row p{font-size:1rem}.source-row small{display:block;margin-top:8px;color:var(--muted);font-size:.875rem}.report-detail summary{cursor:pointer;font-size:1rem;font-weight:500}.report-detail{border-bottom:1px solid var(--line);padding:15px 0}.report-detail blockquote{font-size:1rem;color:var(--muted);margin-left:20px}.raw-report{max-height:450px;overflow:auto;background:#f4f6f1;border-radius:7px;padding:20px;font-size:.875rem;white-space:pre-wrap;overflow-wrap:anywhere}.assistant-panel{border:1px solid #cfddc5;border-radius:13px;padding:30px;background:#fff;margin-top:32px;scroll-margin-top:20px}.assistant-header{display:flex;gap:17px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:24px}.doctor-avatar{width:58px;height:58px;display:flex;align-items:center;justify-content:center;background:#e2edce;border-radius:18px;font-size:1.4rem;font-family:Georgia,serif;font-style:italic;flex:none}.doctor-avatar>span{color:var(--orange)}.assistant-header h2{font-size:1.5rem;margin:7px 0}.assistant-header p{font-size:.875rem;color:var(--muted);margin:0}.assistant-header>.pill{margin-left:auto}.chat-log{padding:30px 0;max-height:620px;overflow:auto}.chat-intro{padding:15px 20px;text-align:center}.chat-intro h3{font-size:1.8rem;font-weight:400}.chat-intro p{max-width:550px;margin:20px auto;font-size:1rem;color:var(--muted)}.suggestion-grid{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.suggestion-grid span{font-size:.875rem;border:1px solid var(--line);padding:9px 12px;border-radius:7px}.chat-message{max-width:86%;background:#f0f4e9;padding:20px;border-radius:9px;margin-bottom:20px;font-size:1rem}.chat-message.user{margin-left:auto;background:#f4f4f0}.chat-message small{font-size:.875rem;color:var(--muted);display:block;margin-bottom:10px}.chat-form{display:flex;align-items:flex-end;gap:15px}.chat-form textarea{background:#f8f9f5}.chat-form .button{white-space:nowrap;min-height:48px;font-size:1rem}.processing-panel{text-align:center;padding:45px}.processing-panel p{color:var(--muted);font-size:1rem}.scan-orbit{height:70px;width:70px;border:1px solid #c8d5bd;border-top:2px solid var(--green);border-radius:50%;margin:0 auto 30px;animation:scan 3s linear infinite}.scan-orbit:after{content:'';display:block;width:46px;height:46px;border:1px solid #c8d5bd;border-bottom:2px solid var(--orange);border-radius:50%;margin:10px}.table-subtitle{display:block;color:var(--muted);font-size:.875rem;margin-top:7px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#e7eddc;padding:50px 9%;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;min-height:100vh}.auth-story h1{font-size:clamp(3rem,5.5vw,6rem);line-height:1.04;position:relative;z-index:1}.auth-story h1 em{color:var(--green)}.auth-story p{font-size:1rem;color:#51664b;position:relative;z-index:1}.auth-story small{font-size:.875rem;color:var(--green);z-index:1}.auth-story>div{margin:80px 0}.auth-orbit{position:absolute;border:1px solid #b9cda8;border-radius:50%;width:550px;height:550px;bottom:-250px;right:-200px;transform:rotate(-30deg);box-shadow:0 0 0 25px #dce6cd,0 0 0 26px #cbd9bd,0 0 0 60px #e2e9d6;opacity:.6}.auth-form{padding:50px 10%;background:white}.auth-card{max-width:430px;margin:60px auto}.auth-card h2{font-size:2.7rem;margin:18px 0}.auth-card>.muted{font-size:1rem}.auth-card .form-stack label{font-size:1rem}.auth-card .form-stack p:has(input[type=checkbox]){display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:12px;align-items:flex-start}.auth-card input[type=checkbox]{flex:none;margin:4px 0}.auth-card .form-stack p:has(input[type=checkbox]) label{font-weight:400}.form-aside{font-size:.875rem;display:block;text-align:right;margin:0 0 25px;color:var(--green)}.auth-switch{font-size:1rem;margin-top:25px;color:var(--muted)}.auth-switch a{color:var(--green);text-decoration:underline}.auth-form>.fine-print{text-align:center}.legal-page{max-width:850px;margin:auto;padding:50px 25px 100px}.legal-page>.brand{margin-bottom:40px}.legal-page>.back-link{display:block}.legal-page h1{margin-bottom:40px}.legal-page h2{font-size:1.5rem;margin-top:40px}.legal-page p{font-size:1rem;color:#526452}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes scan{to{transform:rotate(360deg)}}@media(min-width:1600px){.work-content{padding-inline:70px}.welcome-panel{padding:45px 50px}}@media(max-width:1150px){.sidebar{width:250px;padding-inline:20px}.metric-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,1fr)}.welcome-panel{padding:30px}.word-sculpture{width:170px}.word-sculpture>span{font-size:6.5rem}.two-columns{grid-template-columns:1fr}.upload-aside{display:none}.assistant-header>.pill{display:none}.report-metric{padding:22px}.report-metric>strong{font-size:3.2rem}.work-content{padding-inline:30px}.auth-form{padding-inline:8%}}@media(max-width:760px){.sidebar{width:100%;position:static;height:auto;padding:20px;border:0;border-bottom:1px solid var(--line)}.sidebar>.brand,.sidebar-bottom,.nav-label,.nav-divider{display:none}.sidebar nav{flex-direction:row;overflow:auto;gap:5px}.sidebar nav>a{white-space:nowrap;font-size:1rem;padding:8px}.sidebar nav>a span{display:none}.workspace{flex-direction:column}.work-topbar{height:64px;padding-inline:22px}.work-topbar>span{display:none;font-size:.8125rem}.mobile-brand{display:block;font-weight:700;letter-spacing:-.05em}.mobile-brand span{font-weight:400}.work-content{padding:30px 20px}.page-heading{align-items:flex-start;flex-direction:column;gap:15px}.page-heading h1{font-size:2.15rem}.date-label{display:none}.welcome-panel{padding:25px;min-height:260px}.welcome-panel h2{font-size:1.85rem}.word-sculpture{display:none}.metric-grid{gap:10px}.metric{padding:17px}.metric>strong{font-size:1.9rem}.metric>span{font-size:1rem}.metric>small{font-size:.875rem}.panel{padding:22px 18px}.section-heading h2{font-size:1.1rem}.section-heading>.text-link{font-size:.875rem;white-space:nowrap}.product-grid{grid-template-columns:1fr}.checkout-grid{grid-template-columns:1fr}.report-metrics{grid-template-columns:1fr;gap:12px}.report-metric>strong{font-size:3rem}.report-metric p{max-width:500px}.document-meta{gap:12px;font-size:.875rem}.assistant-panel{padding:22px 18px}.assistant-header{gap:12px}.doctor-avatar{width:45px;height:45px}.assistant-header .eyebrow{font-size:.8125rem}.assistant-header h2{font-size:1.25rem}.assistant-header p{font-size:.875rem}.chat-intro{padding:0}.chat-intro h3{font-size:1.4rem}.chat-form{flex-direction:column;align-items:stretch}.chat-form .button{justify-content:space-between;font-size:1rem}.chat-message{max-width:95%;padding:15px;font-size:1rem}.work-footer{flex-wrap:wrap;gap:15px}.work-footer span{width:100%}.auth-layout{grid-template-columns:1fr}.auth-story{min-height:0;padding:25px}.auth-story>div,.auth-story>small,.auth-orbit{display:none}.auth-form{padding:25px}.auth-card{margin:30px auto}.auth-card h2{font-size:2.3rem}.inline-form{flex-direction:column}.filter-bar>.button{width:100%;font-size:1rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.mobile-logout{display:none}.auth-card ul{font-size:.875rem;color:var(--muted);padding-left:17px;line-height:1.6}@media(max-width:760px){.mobile-logout{display:block;margin-left:auto;margin-right:15px}.mobile-logout .text-button{font-size:.875rem}}

.match-block{padding:20px 0;border-top:1px solid var(--line)}.match-block p{font-size:1rem;margin:14px 0 5px}.match-block blockquote{margin:0;background:#f4f6ec;border-left:2px solid #abbf91;padding:12px 15px;white-space:pre-wrap;overflow-wrap:anywhere}

/* Keep the expanded research/admin navigation reachable on shorter screens. */
@media(min-width:761px){.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.sidebar>.brand{flex-shrink:0}}

/* Keep larger reading text flexible rather than clipping cards or controls. */
.sidebar nav>a{line-height:1.5}.account>div{min-width:0}.account small{overflow-wrap:anywhere}.sidebar-bottom .text-button{font-size:.875rem}
.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.metric,.product-card,.report-metric{min-width:0}.metric>span,.metric>small{display:block;line-height:1.6}.metric>strong{overflow-wrap:anywhere}.metric>strong.money{font-size:1.9rem}.metric>strong>em{padding-left:.15em}
.section-heading{flex-wrap:wrap}.section-heading>div{min-width:0}.button{min-height:44px;max-width:100%}.pill{white-space:normal;overflow-wrap:anywhere}.filter-bar label{display:flex;flex-direction:column;gap:5px}.pagination{flex-wrap:wrap;align-items:center}.source-row>div{min-width:0}.assistant-header{flex-wrap:wrap}.assistant-header>.pill{display:inline-block;max-width:100%}.chat-message{line-height:1.75;overflow-wrap:anywhere}.report-metric p{font-size:.875rem}.report-detail blockquote{overflow-wrap:anywhere}
@media(max-width:1150px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.assistant-header>.pill{margin-left:75px}}
@media(max-width:760px){.sidebar nav>a{font-size:1rem;padding:10px 12px;flex-shrink:0}.work-topbar{height:auto;min-height:72px;gap:12px;flex-wrap:wrap;padding-block:12px}.work-content{padding-inline:18px}.metric>span{font-size:1rem}.metric>small{font-size:.875rem}.section-heading>.text-link{white-space:normal;font-size:.875rem}.assistant-header>.pill{margin-left:57px}.assistant-header p{font-size:.875rem}.document-meta{font-size:.875rem}.chat-intro p{font-size:1rem}.table-scroll{max-width:100%;overscroll-behavior-x:contain}.table-scroll table{min-width:560px}.work-footer{font-size:.875rem}.filter-bar input[type=date]{max-width:100%}.document-toolbar .button{white-space:normal}}
@media(max-width:440px){.metric-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start}.assistant-header>.pill{margin-left:0}.welcome-panel{padding:22px}.auth-form{padding-inline:20px}}

.step-number,.explain-step>b,.source-index{color:#9e492e}

/* A clear, accessible decision before an immutable analysis starts. */
.analysis-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;border:0;padding:0;margin:1.5rem 0}
.analysis-choice-card{display:flex;align-items:flex-start;gap:.85rem;padding:1.4rem;border:1px solid var(--line,#dce3d5);border-radius:16px;cursor:pointer;background:#fff;transition:border-color .2s,background .2s,box-shadow .2s}
.analysis-choice-card:has(input:checked){border-color:#355c45;background:#f1f5e9;box-shadow:inset 0 0 0 1px #355c45}
.analysis-choice-card:focus-within{outline:3px solid #9ebd88;outline-offset:3px}
.analysis-choice-card input[type=radio]{flex:0 0 1.2rem;width:1.2rem;height:1.2rem;padding:0;margin:.15rem 0;accent-color:#355c45}.analysis-choice-card>span{min-width:0;flex:1}
.analysis-choice-card strong{display:block;margin-bottom:.6rem;font-size:1.1rem;line-height:1.4;color:#243c2f}
.analysis-choice-card span span{display:block;font-size:1rem;font-weight:400;line-height:1.65;color:#536052}
.analysis-choice-actions{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}.analysis-choice-actions .fine-print{max-width:42rem}
.usage-recovery{margin:1.3rem 0;padding:1.4rem;border:1px solid #d8decf;border-radius:16px;background:#f5f7ed;scroll-margin-top:2rem}
.usage-recovery h3{margin:0 0 .6rem}.usage-recovery p{line-height:1.65}.usage-recovery-actions{display:flex;gap:1rem;flex-wrap:wrap}.usage-recovery-action{flex:1 1 240px;max-width:34rem}.usage-recovery-action small{display:block;margin-top:.7rem;line-height:1.6;font-size:.94rem;color:#54634f}
@media(max-width:760px){.analysis-choice-grid{grid-template-columns:1fr}.analysis-choice-card{padding:1.1rem}.analysis-choice-actions .button{width:100%}}
