 :root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--surface);font-synthesis:none;color-scheme:light;--green:#173e35;--text:#222623;--secondary:#5d665b;--muted:#71776c;--line:#e1e5dd;--sidebar:#f7f7f5;--surface:#fff;--control-border:#d6dcd1;--hover:#edf0e9;--soft:#f1f3ed;--focus:#71937a;--gold:#816631;--error:#9f3e2f;--button:#173e35;--button-hover:#245244;--onbutton:#fff}
:root[data-theme=dark]{color-scheme:dark;--green:#b5d4c0;--text:#eef0e9;--secondary:#c0c7b9;--muted:#a7afa0;--line:#3c4238;--sidebar:#191c19;--surface:#222622;--control-border:#4d5547;--hover:#343b30;--soft:#30372d;--focus:#a7c9af;--gold:#d8bf86;--error:#f1afa0;--button:#b5d4c0;--button-hover:#c9e2d0;--onbutton:#173125}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,summary{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}a{color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}input:focus-visible{outline:none}button,summary{touch-action:manipulation}svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;top:-60px;left:20px;background:var(--surface);z-index:200;padding:14px}.skip:focus{top:10px}.workspace{display:grid;grid-template-columns:260px minmax(0,1fr);height:100vh;height:100dvh;overflow:hidden;transition:grid-template-columns .18s}.workspace.sidebar-closed{grid-template-columns:0 minmax(0,1fr)}.sidebar{background:var(--sidebar);display:flex;flex-direction:column;padding:20px 12px 14px;min-width:0;width:260px;overflow:hidden;transition:transform .18s;border-right:1px solid var(--line)}.sidebar-closed .sidebar{transform:translateX(-100%);visibility:hidden}.sidebar-head{display:flex;align-items:center;justify-content:space-between;margin:0 6px 25px}.brand{display:flex;align-items:center;gap:9px;text-decoration:none}.brand img{width:35px;height:36px;object-fit:contain}.brand strong{font-size:20px;letter-spacing:-.8px;color:var(--green)}.brand strong span{font-weight:400}.icon-button{border:0;background:transparent;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0}.icon-button:hover{background:var(--hover)}.side-nav{display:grid;gap:3px}.side-link{border:0;background:transparent;display:flex;align-items:center;gap:11px;width:100%;padding:12px;border-radius:9px;text-align:left;font-size:14px;text-decoration:none;min-height:44px}.side-link:hover,.side-link.active{background:var(--hover)}.side-link.primary{font-weight:600}.side-link svg{width:19px;height:19px}.history{flex:1;min-height:90px;overflow:auto;margin-top:30px}.history h2{font-size:12px;font-weight:500;color:var(--muted);padding:0 12px 12px}.history-empty{font-size:12px;line-height:1.7;color:var(--muted);margin:0 12px;max-width:185px}.history-row{width:100%;border:0;background:transparent;display:flex;gap:10px;align-items:center;padding:12px;border-radius:8px;text-align:left;font-size:13px}.history-row:hover,.history-row.active{background:var(--hover)}.history-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.side-bottom{border-top:1px solid var(--line);padding-top:9px;margin-top:12px}.session-note{font-size:10px;color:var(--muted);padding:8px 12px 2px;line-height:1.5}.avatar{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;background:var(--soft);color:var(--green);border-radius:50%;font-size:12px;font-weight:600;flex-shrink:0}.shell{min-width:0;display:flex;flex-direction:column;height:100%;position:relative;background:var(--surface)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 28px;min-height:78px;flex-shrink:0}.top-left,.top-actions{display:flex;align-items:center;gap:9px}.top-title{font-size:19px;letter-spacing:-.5px;font-weight:550;color:var(--secondary)}.top-tag{font-size:11px;color:var(--muted);margin-left:3px}.open-sidebar{display:none}.sidebar-closed .open-sidebar{display:inline-flex}.btn{border:1px solid var(--control-border);background:var(--surface);display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:10px 17px;border-radius:24px;text-decoration:none;font-size:13px;font-weight:550;min-height:40px;white-space:nowrap;transition:background .15s}.btn:hover{background:var(--hover)}.btn.solid{background:var(--green);border-color:var(--green);color:var(--onbutton)}.btn.solid:hover{background:var(--button-hover)}.btn.full{width:100%}.btn.small{font-size:12px;padding:8px 13px;min-height:36px}.text-btn{border:0;background:none;padding:8px 0;color:var(--green);font-size:13px;text-decoration:underline;text-underline-offset:4px}.main{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scroll-behavior:smooth;position:relative}.home{max-width:820px;padding:0 28px;margin:auto;min-height:100%;display:flex;flex-direction:column;justify-content:center;padding-bottom:13vh}.home-heading{text-align:center;margin-bottom:30px}.home-heading h1{font-size:clamp(26px,3vw,34px);font-weight:520;letter-spacing:-1.1px;line-height:1.22}.home-heading p{font-size:14px;color:var(--muted);margin-top:13px;line-height:1.6}.composer{border:1px solid var(--control-border);border-radius:26px;padding:19px 17px 13px 22px;box-shadow:0 3px 12px #22262306;background:var(--surface);transition:border-color .15s,box-shadow .15s}.composer:focus-within{border-color:var(--focus);box-shadow:0 3px 16px #173e350a}.composer input{border:0;background:transparent;width:100%;padding:3px 2px 16px;color:var(--text);font-size:16px;min-height:45px;box-shadow:none}.composer input::placeholder{color:var(--muted)}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.composer-hint{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.composer-hint svg{width:16px;height:16px}.send{background:var(--green);color:var(--surface);border:0;width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.send:hover{background:var(--button-hover)}.send svg{width:22px;height:22px}.examples{display:flex;justify-content:center;gap:10px;margin-top:20px;flex-wrap:wrap}.example{border:1px solid var(--line);background:var(--surface);border-radius:22px;display:flex;align-items:center;gap:7px;padding:9px 13px;color:var(--secondary);font-size:12px;min-height:38px}.example:hover{background:var(--hover);border-color:var(--control-border)}.example svg{width:15px;height:15px}.home-note{text-align:center;color:var(--muted);font-size:11px;margin-top:16px;line-height:1.7}.error{color:var(--error);font-size:13px;line-height:1.5;margin-top:12px}.error:empty{display:none}.bottom-note{text-align:center;color:var(--muted);font-size:10px;padding:12px 16px 17px;line-height:1.5;flex-shrink:0}.demo-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--gold);vertical-align:2px;margin-right:5px}.backdrop{display:none}.thread{max-width:800px;padding:26px 30px 40px;margin:0 auto}.question{display:flex;justify-content:flex-end;margin:0 0 37px}.question p{border-radius:22px 22px 4px 22px;background:var(--soft);padding:13px 20px;line-height:1.5;font-size:14px}.answer-head{display:flex;align-items:center;gap:9px;margin-bottom:22px;font-size:13px;font-weight:600}.answer-head img{height:28px;width:28px;object-fit:contain}.answer-head span:last-child{font-size:11px;font-weight:400;color:var(--muted);margin-left:3px}.result-header h1{font-size:25px;letter-spacing:-.7px;line-height:1.3;font-weight:550}.result-header p{font-size:12px;color:var(--muted);margin-top:8px}.demo-label{color:var(--gold);font-size:11px;margin:16px 0;display:flex;gap:6px;align-items:center}.demo-label svg{width:14px;height:14px}.indicators{display:flex;margin:26px 0 24px;gap:0}.indicator{padding:0 38px 0 0}.indicator+.indicator{padding:0 0 0 38px;border-left:1px solid var(--line)}.indicator strong{display:block;font-size:37px;letter-spacing:-1.5px;font-weight:550;color:var(--green)}.indicator span{display:block;font-size:13px;margin-top:5px;color:var(--secondary)}.result-reading{font-size:14px;line-height:1.8;color:var(--secondary);max-width:640px}.disclosure{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:25px 0}.disclosure summary{cursor:pointer;padding:16px 0;font-size:13px;color:var(--secondary)}.detail-list{padding:0 0 10px;display:grid;gap:15px}.detail-list div strong{font-size:13px;font-weight:550;display:block}.detail-list div span{font-size:12px;color:var(--muted);display:block;margin-top:5px}.next-step{padding-top:2px}.next-step h2{font-size:18px;font-weight:550;letter-spacing:-.35px;margin-bottom:8px}.next-step p{font-size:13px;line-height:1.7;color:var(--secondary);max-width:590px;margin-bottom:16px}.result-tools{display:flex;gap:10px;margin-top:27px}.result-tools button{font-size:12px}.plans{margin-top:18px}.plan-row{padding:20px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:12px 24px}.plan-row h3{font-size:16px;font-weight:600}.plan-row p{font-size:12px;line-height:1.7;color:var(--secondary);margin-top:6px;max-width:420px}.plan-action{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.plan-action strong{font-size:18px;font-weight:600}.plan-action small{font-size:10px;color:var(--muted)}.source-note{color:var(--muted);font-size:11px;line-height:1.6;margin:14px 0 0}.compact-composer{margin-top:34px}.compact-composer .composer{border-radius:20px}.compact-composer input{font-size:14px;min-height:34px;padding-bottom:8px}.empty-page{max-width:760px;margin:35px auto;padding:20px 30px}.empty-page h1{font-size:27px;font-weight:550;letter-spacing:-.7px;margin-bottom:12px}.empty-page>p{font-size:14px;color:var(--muted);line-height:1.8}.empty-state{padding:50px 0;max-width:480px}.empty-state>svg{width:35px;height:35px;color:var(--muted);margin-bottom:18px}.empty-state h2{font-size:19px;font-weight:550;margin-bottom:9px}.empty-state p{font-size:14px;color:var(--muted);line-height:1.7;margin-bottom:22px}.order-row{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:22px 0;border-bottom:1px solid var(--line)}.order-row h2{font-size:16px;font-weight:550}.order-row p{font-size:12px;color:var(--muted);margin-top:7px}.order-row small{display:block;margin-top:6px;color:var(--muted);font-size:11px}dialog{border:1px solid var(--line);border-radius:20px;padding:30px;max-width:460px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);overflow:auto;color:var(--text);background:var(--surface);box-shadow:0 20px 90px #12241926}dialog::backdrop{background:#17251f55;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.modal-head h2{font-size:23px;font-weight:550;letter-spacing:-.6px}.modal-copy{font-size:13px;line-height:1.75;color:var(--muted);margin-bottom:20px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;margin:15px 0}.field input,.field select,.filter-input{width:100%;min-height:46px;border:1px solid var(--control-border);background:var(--surface);border-radius:10px;padding:12px;color:var(--text);font-size:14px}.field input:focus,.filter-input:focus{border-color:var(--focus);outline:2px solid var(--focus)}.modal-note{font-size:11px;line-height:1.7;color:var(--muted);margin-top:14px}.modal-switch{display:flex;gap:5px;justify-content:center;align-items:center;font-size:12px;margin-top:15px;color:var(--muted)}.recap{padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:15px 0}.recap strong{display:block;font-size:15px;font-weight:550;line-height:1.5}.recap span{display:block;font-size:12px;color:var(--muted);margin-top:5px}.recap .price{font-size:25px;color:var(--green);font-weight:600;margin-top:15px}.status-icon{display:flex;width:44px;height:44px;align-items:center;justify-content:center;background:var(--soft);color:var(--green);border-radius:50%;margin-bottom:20px}.account-summary{display:flex;gap:12px;align-items:center;margin:20px 0}.account-summary strong,.account-summary small{display:block}.account-summary small{color:var(--muted);font-size:12px;margin-top:4px}.modal-actions{display:grid;gap:10px;margin-top:22px}.search-results{margin-top:18px;max-height:340px;overflow:auto}.busy{height:calc(100% - 60px);display:flex;align-items:center;justify-content:center;gap:13px;color:var(--secondary);font-size:14px}.spinner{height:18px;width:18px;border:2px solid #e2e8df;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);max-width:calc(100% - 36px);background:#263e30;color:var(--onbutton);border-radius:12px;padding:12px 18px;font-size:12px;line-height:1.5;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.home{max-width:850px}.thread{max-width:840px}}
@media(max-width:1000px){.workspace{grid-template-columns:230px minmax(0,1fr)}.sidebar{width:230px}.topbar{padding:15px 20px}.top-tag{display:none}.home{padding-inline:25px}.thread{padding-inline:25px}.top-title{font-size:18px}.plan-row{gap:15px}.indicator{padding-right:28px}.indicator+.indicator{padding-left:28px}}
@media(max-width:760px){.workspace,.workspace.sidebar-closed{display:block}.sidebar{position:fixed;inset:0 auto 0 0;height:100dvh;width:min(290px,85vw);z-index:40;box-shadow:15px 0 40px #17281e12}.sidebar-closed .sidebar{visibility:hidden}.open-sidebar{display:inline-flex}.backdrop{display:block;position:fixed;inset:0;border:0;background:#17271e44;z-index:39}.sidebar-closed .backdrop{display:none}.topbar{padding:10px 14px;min-height:68px;gap:5px}.top-left{gap:2px}.top-title{font-size:17px}.top-actions{gap:6px}.top-actions .btn{padding:8px 12px;font-size:12px;min-height:38px}.topbar .icon-button{width:34px}.home{padding:0 22px 15vh}.home-heading{margin-bottom:25px}.home-heading h1{font-size:28px;letter-spacing:-.85px}.home-heading p{font-size:13px;line-height:1.6;margin-top:12px}.composer{padding:16px 12px 12px 16px;border-radius:22px}.composer input{font-size:16px}.composer-hint{font-size:11px}.examples{gap:8px;margin-top:18px}.example{padding:9px 11px;font-size:11px}.bottom-note{font-size:10px;padding:10px 20px 14px}.thread{padding:20px 22px 28px}.question{margin-bottom:28px}.question p{font-size:13px;padding:12px 16px}.result-header h1{font-size:23px}.answer-head{margin-bottom:18px}.indicator strong{font-size:34px}.indicator{padding-right:23px}.indicator+.indicator{padding-left:23px}.indicator span{font-size:12px}.plan-row{grid-template-columns:1fr}.plan-action{flex-direction:row;align-items:center;justify-content:space-between}.plan-action small{display:none}.empty-page{margin-top:15px;padding:20px 22px}.order-row{align-items:flex-start;flex-direction:column;gap:12px}dialog{padding:24px}.modal-head h2{font-size:22px}}
@media(max-width:360px){.topbar{padding-inline:9px}.top-title{font-size:15px}.top-actions .btn{padding:8px 10px;font-size:11px}.topbar .icon-button{width:29px}.home{padding-inline:18px}.home-heading h1{font-size:25px}.home-note{font-size:10px}.thread{padding-inline:18px}.indicator{padding-right:19px}.indicator+.indicator{padding-left:19px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Shared light/dark surfaces and aligned comparison below the query. */
.workspace{grid-template-rows:minmax(0,1fr)}
.shell,.sidebar{min-height:0}
.field input::placeholder,.filter-input::placeholder{color:var(--muted);opacity:1}
.btn.solid,.send{background:var(--button);border-color:var(--button);color:var(--onbutton)}
.btn.solid:hover,.send:hover{background:var(--button-hover);border-color:var(--button-hover)}
#toast{background:var(--button);color:var(--onbutton)}
.field input,.field select,.filter-input{color:var(--text)}
.theme-toggle{color:var(--secondary)}
.theme-toggle svg{width:18px;height:18px}
.home{max-width:1040px;min-height:0;display:block;padding:64px 36px 46px}
.home-entry{max-width:764px;margin:auto}
.home-heading{margin-bottom:27px}
.examples{display:grid;grid-template-columns:repeat(2,minmax(0,150px));gap:12px;justify-content:center;align-items:stretch;margin-top:20px}
.example{justify-content:center;min-height:40px;padding:10px 14px}
.home-note{margin:12px auto 0;max-width:600px;text-align:center;line-height:1.7}
.home-products{margin:42px auto 0;width:100%;max-width:968px}
.home-products>header{margin-bottom:25px}
.home-products h2{font-size:23px;font-weight:550;letter-spacing:-.65px;line-height:1.3}
.home-products>header p{font-size:13px;color:var(--muted);margin-top:9px;line-height:1.6}
.home-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px;align-items:stretch}
.home-product{display:flex;flex-direction:column;border-top:1px solid var(--line);padding-top:18px;min-width:0}
.home-product:first-child{border-top-color:var(--green)}
.product-step{font-size:9px;font-weight:600;letter-spacing:.08em;color:var(--muted);line-height:1.6}
.home-product h3{font-size:18px;letter-spacing:-.5px;font-weight:600;margin:12px 0 10px;line-height:1.3}
.product-intro{font-size:13px;color:var(--secondary);line-height:1.7;min-height:44px;margin-bottom:15px}
.home-product ul{margin:0 0 24px;padding:0;list-style:none;display:grid;gap:12px;font-size:13px;color:var(--secondary);line-height:1.65}
.home-product li{padding-left:12px;position:relative}
.home-product li:before{position:absolute;left:0;top:.7em;content:'';width:3px;height:3px;background:var(--green);border-radius:50%}
.home-product li strong{font-weight:600;color:var(--text)}
.product-footer{margin-top:auto}
.product-price{font-size:24px;font-weight:600;letter-spacing:-.7px;color:var(--green);display:block;line-height:1.3}
.product-footer p{font-size:11px;color:var(--muted);line-height:1.6;margin:8px 0 17px;min-height:35px}
.product-footer .btn{border-radius:12px;font-size:12px;min-height:43px;padding:10px}
.products-note{font-size:11px;color:var(--muted);line-height:1.7;margin-top:22px}
.selection-note{font-size:12px;line-height:1.7;color:var(--green);margin-top:12px}
.selected-next{border-left:2px solid var(--green);padding:6px 0 6px 15px;margin:0 0 24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.selected-next span{font-size:13px;color:var(--secondary)}
[data-theme=dark] dialog::backdrop{background:#070b086e}
[data-theme=dark] .composer{box-shadow:0 3px 12px #00000018}
[data-theme=dark] .composer:focus-within{box-shadow:0 0 0 2px #a7c9af33}
@media(max-width:1100px){.home{padding:46px 28px 36px}.home-products-grid{gap:20px}.home-product h3{font-size:17px}.home-product ul{font-size:12px}.product-intro{font-size:12px}}
@media(min-width:761px) and (max-width:1000px){.home-products-grid{grid-template-columns:1fr}.home-product h3{font-size:20px}.product-intro{min-height:0}.home-product ul{font-size:14px}.home-product{padding-top:22px}.product-footer .btn{max-width:300px}.home-products{margin-top:38px}}
@media(max-width:760px){.home{padding:42px 22px 28px}.home-heading h1{font-size:27px}.home-products{margin-top:36px}.home-products h2{font-size:22px}.home-products-grid{grid-template-columns:1fr;gap:28px}.home-product h3{font-size:21px}.home-product ul{font-size:14px;gap:10px;margin-bottom:20px}.product-intro{font-size:14px;min-height:0;margin-bottom:16px}.product-footer .btn{font-size:13px;min-height:46px}.product-footer p{margin-bottom:14px}.product-step{font-size:10px}.top-actions{gap:5px}.top-actions .theme-toggle{width:30px;height:36px}.top-title{font-size:16px}.example{padding:9px 10px}.home-note{font-size:10px}.home-products>header{margin-bottom:22px}}
@media(max-width:360px){.home{padding:28px 18px}.home-heading h1{font-size:25px}.top-title{font-size:14px}.top-actions .btn{padding:8px;font-size:10px}.top-actions{gap:3px}.top-actions .theme-toggle{width:26px}.topbar{gap:3px}.home-note{font-size:10px}.product-step{font-size:9px}}

.dossier-examples-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin:22px 0 12px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.dossier-examples-bar>span{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--secondary)}
.dossier-examples-bar svg{width:16px;height:16px}.dossier-examples-bar small{color:var(--muted);font-size:11px}

.smart-widget { margin:16px 0 8px; min-height:14px; }
.smart-progress { display:block; width:100%; height:14px; accent-color:#b99752; }
.smart-status { font-size:15px; line-height:1.5; }
.smart-retry[hidden] { display:none; }
