.dashboard-page{--dash-paper:#171a1c;--dash-ink:#e7e8e2;--dash-muted:#a2a69e;--dash-line:#343a3b;--dash-lime:#c9f36b;--dash-card:#222629;--dash-dark:#343a3b;--dash-warn:#ddb65e;--dash-good:#b5dd65;--dash-bad:#e18b7e;background:var(--dash-paper);color:var(--dash-ink)}
.dashboard-header{position:sticky;top:0;z-index:5;background:rgba(23,26,28,.96);backdrop-filter:blur(12px);border-bottom-color:#303637}
.dashboard-header nav{display:flex;align-items:center;gap:24px}.dashboard-header nav a{font-size:12px;color:#70716b}.dashboard-header nav a:hover{color:var(--dash-ink)}
.dashboard-header .mode{margin-left:5px;border:0;background:var(--dash-lime);border-radius:999px;padding:6px 10px;color:var(--dash-ink);font-size:10px;font-weight:700;white-space:nowrap}
.dashboard-main{width:min(1120px,calc(100% - 64px));margin:0 auto;padding:54px 0 68px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);grid-template-areas:"intro banner" "findings findings" "chat due" "upload household" "trace trace";gap:14px;align-items:start}
.dashboard-intro{grid-area:intro;align-self:center;padding:5px 0 17px}.dashboard-intro .section-index{margin-bottom:12px}.dashboard-intro h1{font-size:clamp(42px,5vw,62px);line-height:1.02;margin:0 0 14px}.dashboard-intro h1 em{font-weight:500;background:var(--dash-lime);font-style:italic;padding:0 .12em .06em;border-radius:3px}.dashboard-intro .intro{max-width:530px;color:var(--dash-muted);font-size:14px;line-height:1.7;margin:0}
.dashboard-main>.banner{grid-area:banner;align-self:center;background:#eeeddf;border:1px solid #e4e1cb;color:#766a42;border-radius:12px;padding:14px 16px;font-size:11px;line-height:1.6;margin:0}.banner span{font-size:8px;color:#ad8b30;padding-right:7px}
.panel{background:var(--dash-card);border:1px solid var(--dash-line);border-radius:14px;padding:20px 21px;min-width:0;box-shadow:0 4px 18px rgba(30,31,26,.025)}
.panel h2{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#777972;margin:0 0 14px;font-weight:700}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading h2{margin-bottom:13px}.count{color:#8b8c84;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}
.panel-findings{grid-area:findings}.panel-chat{grid-area:chat}.panel-due{grid-area:due}.panel-upload{grid-area:upload}.panel-household{grid-area:household}.panel-trace{grid-area:trace}
.panel-upload{align-self:stretch;display:flex;flex-direction:column}.panel-upload .upload{flex:1;min-height:220px;display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:2px 0 10px;padding:0;border:0;background:transparent}.upload-dropzone{position:relative;flex:1;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:24px;border:1px dashed #cfcec4;border-radius:11px;background:#faf9f5;text-align:center;color:#64665f;cursor:pointer;transition:background .2s,border-color .2s}.upload-dropzone:hover,.upload-dropzone.is-dragging{border-color:#9fbd5c;background:#f6faed}.upload-dropzone:focus-within{outline:2px solid #85a93e;outline-offset:3px}.upload-dropzone input[type=file]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}.upload-icon{width:42px;height:42px;margin-bottom:5px;padding:9px;border:1px solid #e2e1d9;border-radius:50%;color:#738e3f;background:#fff;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.upload-dropzone strong{font-size:12px;color:#343630}.upload-dropzone>span{font-size:10px;color:#777972}.upload-dropzone small{margin-top:6px;font-size:9px;color:#999a92}.upload-dropzone.has-file small{color:#66822f;font-weight:600}.panel-upload .upload>button{align-self:center}.panel-upload .privacy-note{margin-top:auto}
.panel .intro{font-size:12px;color:var(--dash-muted);margin:0 0 8px}.panel ul{list-style:none;margin:0;padding:0}.panel li{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid #eeede8;min-width:0}.panel li:first-child{border-top:0}.when{font-variant-numeric:tabular-nums;color:#778f3d;min-width:95px;font-size:11px;font-weight:600}.what{flex:1;min-width:120px;font-size:12px;font-weight:600}.who{color:var(--dash-muted);font-size:10px}.state{font-size:9px;padding:4px 9px;border-radius:999px;border:1px solid var(--dash-line);color:#70716b;white-space:nowrap;background:#f6f5f0}.state.soon{color:#82651f;border-color:#e9d9a8;background:#fbf7e9}.state.due{color:var(--dash-bad);border-color:#e9c8c2;background:#fff5f2}.state.done{color:var(--dash-good);border-color:#d2dfbb;background:#f3f8e9}
.finding{align-items:flex-start!important}.finding .what{display:grid;gap:3px}.finding .what strong{font-size:12px}.finding .detail{color:var(--dash-muted);font-size:11px;font-weight:400}.finding.warn .what strong{color:#8e6e28}.finding.bad .what strong{color:var(--dash-bad)}.finding.ok .what strong{color:var(--dash-good)}
.empty{color:#92938b;font-size:11px;font-style:normal!important}.panel li.empty{padding:9px 0}
.panel button{font:600 10px/1.2 ui-sans-serif,system-ui,sans-serif;background:var(--dash-dark);color:#fff;border:1px solid var(--dash-dark);border-radius:999px;padding:8px 12px;cursor:pointer;white-space:nowrap;transition:background .2s,transform .2s}.panel button:hover{background:#41423d;transform:translateY(-1px)}.panel button:disabled{opacity:.55;cursor:wait;transform:none}.panel button:focus-visible,.panel input:focus-visible{outline:2px solid #85a93e;outline-offset:3px}
.upload{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.upload input[type=file]{max-width:100%;flex:1;min-width:180px;color:var(--dash-muted);font-size:10px}.notice{color:var(--dash-muted);font-size:10px;line-height:1.6;min-height:1.5em;margin:10px 0}.privacy-note{background:#f3f2ed;border-radius:9px;padding:11px 12px;font-size:10px;line-height:1.6;color:#65665f;margin:9px 0 0}.draft{border-top:1px solid var(--dash-line);margin-top:15px;padding-top:12px}.draft h2{font-size:11px;color:var(--dash-ink);letter-spacing:0;text-transform:none}.draft pre{background:#f6f5f0;color:var(--dash-ink);padding:12px;border:1px solid var(--dash-line);border-radius:8px;font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-log{display:grid;gap:9px;max-height:300px;overflow-y:auto;margin:0 0 11px;padding:2px}.chat-message{max-width:90%;padding:10px 12px;border-radius:11px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.6}.chat-message.assistant{background:#f1f0e9;justify-self:start;border-bottom-left-radius:3px}.chat-message.user{background:var(--dash-dark);color:#fff;justify-self:end;border-bottom-right-radius:3px}.suggestions{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.panel .suggestions button{background:#fff;color:#4b4c46;border-color:#deddd5;font-weight:500;padding:7px 10px}.panel .suggestions button:hover{background:#f4f4ed;border-color:#b8ca8e}.chat-form{display:flex;gap:8px}.chat-form input{flex:1;min-width:0;background:#fbfaf7;color:var(--dash-ink);border:1px solid #deddd5;border-radius:999px;padding:10px 13px;font:11px ui-sans-serif,system-ui,sans-serif}.chat-form input::placeholder{color:#9a9b93}.panel-chat>.notice{margin:8px 0 0}
.timeline li{align-items:flex-start;flex-wrap:wrap;gap:8px 11px}.step-no{color:#8a8b82;min-width:23px;font:10px ui-monospace,monospace}.step-agent{min-width:105px;font-size:11px;font-weight:700}.step-summary{flex:1 1 300px;color:var(--dash-muted);font-size:10px}.badge{font-size:9px;padding:3px 8px;border-radius:999px;border:1px solid #e2e1da;color:#777972;white-space:nowrap;text-transform:lowercase;background:#faf9f5}.badge.ok{color:var(--dash-good);border-color:#d2dfbb;background:#f3f8e9}.badge.bad{color:var(--dash-bad);border-color:#e9c8c2;background:#fff5f2}.badge.tier{color:#667d35;border-color:#d9e4c3;background:#f7faef}
.panel code{background:#f0efe9;padding:3px 6px;border-radius:5px;color:#696a63;font:9px ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.dashboard-footer{width:min(1120px,calc(100% - 64px));margin:0 auto;border-top:1px solid var(--dash-line);padding:18px 0 28px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#7b7c75;font-size:10px}.dashboard-footer .wordmark{color:var(--dash-ink)}.dashboard-footer>a:last-child{color:var(--dash-ink);font-weight:600}
.panel-household li{display:grid;grid-template-columns:minmax(86px,.9fr) minmax(125px,1.5fr) minmax(54px,.65fr) auto;grid-template-rows:auto auto;column-gap:10px;row-gap:8px;align-items:center}
.panel-household li>.when{grid-column:1;grid-row:1}.panel-household li>.what{grid-column:2;grid-row:1}.panel-household li>.who{grid-column:3;grid-row:1}.panel-household li>.state{grid-column:4;grid-row:1}.panel-household li>button{grid-column:4;grid-row:2;justify-self:end}.panel-household li>code{grid-column:1 / 4;grid-row:2;justify-self:start;max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.dashboard-main{width:calc(100% - 36px);grid-template-columns:1fr;grid-template-areas:"intro" "banner" "findings" "chat" "due" "upload" "household" "trace";padding-top:35px;gap:12px}.dashboard-intro{padding:8px 0 5px}.dashboard-intro h1{font-size:48px}.dashboard-header{padding-inline:18px}.dashboard-header nav{gap:11px}.dashboard-header nav a{font-size:10px}.dashboard-header nav a:first-child{display:none}.dashboard-header .mode{font-size:9px;padding:5px 7px}.panel{padding:17px}.panel li{flex-wrap:wrap;align-items:center;gap:7px 9px}.when{min-width:84px}.what{flex:1 1 calc(100% - 100px)}.who{margin-left:93px}.state{margin-left:auto}.panel-household li>button{margin-left:0}.dashboard-footer{width:calc(100% - 36px);flex-wrap:wrap}.dashboard-footer>span{order:3;flex-basis:100%}}
@media(max-width:430px){.dashboard-header nav a:nth-child(2){display:none}.dashboard-header nav{gap:8px}.dashboard-header .mode{max-width:125px;overflow:hidden;text-overflow:ellipsis}.panel li code{max-width:100%;margin-left:0}.upload{align-items:stretch}.upload input[type=file]{flex-basis:100%}.upload button{align-self:flex-start}.step-summary{flex-basis:100%}}
@media(max-width:760px){.panel-household li{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);grid-template-rows:auto auto auto auto;column-gap:10px}.panel-household li>.when{grid-column:1;grid-row:1}.panel-household li>.what{grid-column:2;grid-row:1}.panel-household li>.who{grid-column:1;grid-row:2;margin-left:0}.panel-household li>.state{grid-column:2;grid-row:2;margin-left:0;justify-self:start}.panel-household li>code{grid-column:1 / -1;grid-row:3}.panel-household li>button{grid-column:1 / -1;grid-row:4;justify-self:start}}
.panel-household li.household-item{display:grid;grid-template-columns:minmax(120px,.9fr) minmax(0,1.6fr) minmax(100px,.8fr) auto;grid-template-rows:auto;gap:12px;align-items:center;margin:7px 0;padding:12px 13px;border:1px solid transparent;border-radius:10px}.panel-household li.household-item:first-child{border-top:1px solid transparent}.panel-household .household-item.active{background:rgba(201,243,107,.045);border-left:2px solid #7c9845}.panel-household .household-item.cancelled{background:rgba(218,224,216,.035);border-left:2px solid #58605d}.panel-household .household-item .when{min-width:0}.panel-household .household-item .what{min-width:0}.panel-household .household-item .who{margin-left:0}.panel-household .household-item>button{grid-column:4;grid-row:1}.panel-household .household-item.cancelled .when,.panel-household .household-item.cancelled .what{color:#b0b5ae}
@media(max-width:760px){.panel-household li.household-item{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:7px 12px}.panel-household .household-item .when{grid-column:1;grid-row:1}.panel-household .household-item .what{grid-column:1;grid-row:2}.panel-household .household-item .who{grid-column:1;grid-row:3}.panel-household .household-item>button{grid-column:2;grid-row:1 / 4;justify-self:end}}
.household-hint{margin:0 0 8px;color:#a2a69e;font-size:13px}.panel-household li.household-item{cursor:pointer;transition:background .18s,border-color .18s,transform .18s}.panel-household li.household-item:hover{transform:translateY(-1px);background:rgba(201,243,107,.09)}.panel-household li.household-item:focus-visible{outline:2px solid var(--dash-lime);outline-offset:2px}.panel-household li.household-item.updating{opacity:.6;pointer-events:none}.panel-household .household-item>.household-status{grid-column:4;grid-row:1;justify-self:end;padding:6px 11px;border:1px solid #465044;border-radius:999px;background:#2c3529;color:var(--dash-lime);font-size:12px;font-weight:600;white-space:nowrap}.panel-household .household-item>.household-status.cancelled{border-color:#4a5050;background:#303536;color:#b7beb7}
@media(max-width:760px){.panel-household .household-item>.household-status{grid-column:2;grid-row:1 / 4;align-self:center;justify-self:end}.household-hint{font-size:12px}}
.panel-household li.household-item{grid-template-columns:minmax(205px,24%) minmax(0,1fr) minmax(130px,21%) 90px;column-gap:12px}.panel-household .household-item .when{white-space:nowrap}.panel-household .household-item .who{white-space:nowrap}.panel-household .household-item>.household-status{width:90px;box-sizing:border-box;display:flex;justify-content:center}
@media(max-width:1100px) and (min-width:761px){.panel-household li.household-item{grid-template-columns:minmax(125px,.9fr) minmax(0,1.6fr) 90px;column-gap:10px}.panel-household .household-item .when{grid-column:1;grid-row:1}.panel-household .household-item .what{grid-column:2;grid-row:1}.panel-household .household-item .who{grid-column:2;grid-row:2}.panel-household .household-item>.household-status{grid-column:3;grid-row:1 / 3}}

/* Dark surface treatment shared with the InkWell dark-mode concept. */
.dashboard-header nav a,.dashboard-header nav{color:#b2b6af}.dashboard-header nav a:hover{color:var(--dash-ink)}
.dashboard-header .mode{background:#343b32;color:var(--dash-lime)}
.dashboard-intro .section-index,.dashboard-main .section-index{color:#a2a69e}.dashboard-intro h1 em{color:#20241d}
.dashboard-main>.banner{background:#242a27;border-color:#3b4434;color:#c1c8b6}.dashboard-main>.banner span{color:var(--dash-lime)}
.panel{background:var(--dash-card);border-color:#343a3b;box-shadow:0 8px 25px rgba(0,0,0,.08)}
.panel h2{color:#c1c5bd}.count{color:#a2a69e}
.panel .intro,.who,.finding .detail,.notice,.step-summary{color:#a2a69e}
.panel li{border-top-color:#343a3b}.when{color:var(--dash-lime)}.what{color:#e4e6df}
.state{background:#2b3031;border-color:#424849;color:#c4c7c0}.state.soon{color:#e2bd68;border-color:#5b4d2f;background:#342f23}.state.due{color:#ed9c8f;border-color:#64413c;background:#352624}.state.done{color:#bfdf7e;border-color:#4b5b35;background:#293226}
.finding.warn .what strong{color:#e2bd68}.finding.bad .what strong{color:#ed9c8f}.finding.ok .what strong{color:#bfdf7e}.empty{color:#a2a69e}
.panel button{background:#353b3d;color:#e7e8e2;border-color:#454c4d}.panel button:hover{background:#41494a}.panel button:focus-visible,.panel input:focus-visible{outline-color:var(--dash-lime)}
.upload-dropzone{background:#1e2325;border-color:#46504f;color:#c0c4bc}.upload-dropzone:hover,.upload-dropzone.is-dragging{background:#242c27;border-color:#8fae4e}.upload-dropzone:focus-within{outline-color:var(--dash-lime)}.upload-icon{background:#2b3230;border-color:#46504b;color:var(--dash-lime)}.upload-dropzone strong{color:#e7e8e2}.upload-dropzone>span{color:#b0b4ad}.upload-dropzone small{color:#92978f}.upload-dropzone.has-file small{color:var(--dash-lime)}
.panel-upload .upload>button,.chat-form button{background:var(--dash-lime);border-color:var(--dash-lime);color:#20241d}.panel-upload .upload>button:hover,.chat-form button:hover{background:#d6f68f}
.privacy-note{background:#2a2f30;color:#c0c4bc}.draft{border-top-color:#3a4142}.draft h2{color:var(--dash-ink)}.draft pre{background:#1b2021;color:#e7e8e2;border-color:#3b4243}
.chat-message.assistant{background:#2b3133;color:#e3e5de}.chat-message.user{background:#39403d;color:#f0f1eb}.panel .suggestions button{background:#272d2e;color:#cbd0c8;border-color:#42494a}.panel .suggestions button:hover{background:#303837;border-color:#788d54}.chat-form input{background:#1d2223;color:#e7e8e2;border-color:#454c4d}.chat-form input::placeholder{color:#92978f}
.step-no{color:#a2a69e}.badge{background:#292f30;border-color:#42494a;color:#bac0b8}.badge.ok{color:#c0df82;border-color:#4b5b35;background:#293226}.badge.bad{color:#efa095;border-color:#64413c;background:#352624}.badge.tier{color:#d0e59f;border-color:#4a5737;background:#293026}
.panel-trace .timeline{position:relative}.panel-trace .timeline:before{content:"";position:absolute;left:11px;top:17px;bottom:17px;width:1px;background:#617542}.panel-trace .timeline li.trace-step{position:relative;display:flex;align-items:center;gap:20px;min-height:41px;padding:9px 3px;border-top-color:#343a3b;flex-wrap:nowrap}.trace-check{z-index:1;display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:50%;background:var(--dash-lime);color:#25301b;font-size:14px;font-weight:800;line-height:1}.trace-step.is-error .trace-check{background:#e18b7e;color:#2b1b19}.trace-task{min-width:0;flex:1;color:#e4e6df;font-size:14px;font-weight:500;line-height:1.35}
.panel code{background:#303637;color:#c1c5bd}.dashboard-footer{border-top-color:#343a3b;color:#a2a69e}.dashboard-footer .wordmark,.dashboard-footer>a:last-child{color:#e7e8e2}

/* Wide overview composition from the dark dashboard concept. */
.dashboard-header{width:calc(100% - 72px);max-width:1440px;height:72px;margin:24px auto 0;padding:0 24px;border:1px solid #303637;border-radius:15px}
.dashboard-header .wordmark{font-size:16px;letter-spacing:.16em}.dashboard-header .wordmark-dot{color:var(--dash-lime)}.dashboard-header nav{gap:34px}.dashboard-header nav a{font-size:13px}.dashboard-header nav a[href="/"]{color:var(--dash-ink);position:relative}.dashboard-header nav a[href="/"]::after{content:"";position:absolute;left:0;right:0;bottom:-17px;height:2px;background:var(--dash-lime)}
.dashboard-header .mode{background:#2c3233;border:1px solid #3b4243;color:#d8dbd4;padding:8px 13px;font-size:12px}.dashboard-header .mode::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--dash-lime);margin-right:8px;vertical-align:1px}
.dashboard-main{width:calc(100% - 72px);max-width:1440px;padding:42px 0 48px;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"intro intro intro" "banner banner banner" "findings chat due" "upload household trace";gap:18px;align-items:stretch}
.dashboard-intro{padding:0 10px 0;align-self:end}.dashboard-intro .section-index{display:none}.dashboard-intro h1{font-size:clamp(42px,5vw,64px);line-height:1.08;letter-spacing:-.055em;margin-bottom:8px}.dashboard-intro h1 em{background:none;color:var(--dash-lime);padding:0;font-style:normal}.dashboard-intro .intro{font-size:15px;max-width:none;color:#b5b9b2}
.dashboard-main>.banner{align-self:start;background:transparent;border:0;border-radius:0;padding:0 10px 6px;color:#aeb3ab;font-size:13px;line-height:1.5}.privacy-lock{display:inline-block;color:var(--dash-lime);font-size:11px;margin-right:7px}
.panel{height:100%;padding:21px 22px;border-radius:14px;background:linear-gradient(145deg,#23282a,#202426);border-color:#303738;box-shadow:0 10px 28px rgba(0,0,0,.08)}.panel h2{font-size:12px;letter-spacing:.1em;color:#d3d6cf}.section-heading h2{margin-bottom:13px}.count{font-size:11px}
.panel-findings,.panel-chat,.panel-due,.panel-upload,.panel-household,.panel-trace{align-self:stretch;min-height:310px}
.panel-findings li,.panel-due li{padding:14px 0;gap:13px}.panel-findings .what,.panel-due .what{font-size:13px}.panel-findings .detail{font-size:12px}
.panel-chat{display:flex;flex-direction:column}.panel-chat .chat-log{flex:1;max-height:340px;min-height:140px;padding:4px 0}.chat-message{font-size:12px;padding:11px 13px}.chat-form input{font-size:12px;padding:12px 15px}.panel-chat>.notice{margin-top:10px}
.panel-upload .upload{min-height:230px}.upload-dropzone{min-height:205px;background:#1e2325;border-color:#46504f}.upload-icon{width:52px;height:52px;padding:12px}.upload-dropzone strong{font-size:15px}.upload-dropzone>span{font-size:12px}.upload-dropzone small{font-size:10px}
.panel-household li{padding:12px 0}.panel-trace .timeline li{padding:12px 0}.dashboard-footer{width:calc(100% - 72px);max-width:1440px}
@media(max-width:1100px){.dashboard-main{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"intro intro" "banner banner" "findings chat" "due chat" "upload household" "trace trace";gap:15px}.dashboard-intro{padding-inline:4px}.dashboard-main>.banner{padding-inline:4px}.panel-findings,.panel-chat,.panel-due,.panel-upload,.panel-household,.panel-trace{min-height:280px}.dashboard-header{width:calc(100% - 48px)}}
@media(max-width:760px){.dashboard-header{width:calc(100% - 32px);height:62px;margin-top:12px;padding-inline:15px}.dashboard-header nav{gap:14px}.dashboard-header nav a{font-size:11px}.dashboard-header nav a[href="/"]::after{bottom:-15px}.dashboard-header .mode{font-size:10px;padding:7px 9px}.dashboard-main{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "banner" "findings" "chat" "due" "upload" "household" "trace";gap:12px;padding-top:32px}.dashboard-intro{padding:0 2px 5px}.dashboard-intro h1{font-size:clamp(37px,9vw,50px)}.dashboard-intro .intro{font-size:13px}.dashboard-main>.banner{font-size:11px;padding:0 2px 8px}.panel-findings,.panel-chat,.panel-due,.panel-upload,.panel-household,.panel-trace{min-height:0}.panel{height:auto;padding:17px}.panel-upload .upload{min-height:210px}.dashboard-footer{width:calc(100% - 32px)}}
@media(max-width:430px){.dashboard-header nav{gap:8px}.dashboard-header nav a{font-size:10px}.dashboard-header nav a:nth-child(2){display:none}.dashboard-header .mode{max-width:132px;font-size:9px;overflow:hidden;text-overflow:ellipsis}.dashboard-main>.banner{line-height:1.65}.panel{padding:15px}}

/* Pair the two primary actions, then keep the remaining sections in a calm reading flow. */
.dashboard-main{width:min(1120px,calc(100% - 48px));max-width:1120px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"intro intro" "banner banner" "findings upload" "due due" "chat chat" "household household" "trace trace";gap:16px;align-items:start;padding-top:44px}
.dashboard-intro{padding:0 2px 4px}.dashboard-main>.banner{padding:0 2px 5px;max-width:820px}
.panel-findings,.panel-chat,.panel-due,.panel-upload,.panel-household,.panel-trace{min-height:0;align-self:start}.panel-findings,.panel-upload{align-self:stretch}
.panel{height:auto}.panel-chat{display:block}.panel-chat .chat-log{max-height:260px;min-height:0}.panel-upload{width:100%}.panel-upload .upload{min-height:190px}.upload-dropzone{min-height:170px}
.dashboard-footer{width:min(900px,calc(100% - 48px));max-width:900px}
@media(max-width:760px){.dashboard-main{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "banner" "findings" "due" "chat" "upload" "household" "trace";padding-top:30px;gap:12px}.panel-findings,.panel-upload{align-self:start}.dashboard-footer{width:calc(100% - 32px)}}
/* Comfortable reading sizes: retain compact labels without making them tiny. */
.dashboard-header nav a{font-size:14px}.dashboard-header .mode{font-size:12px}
.dashboard-intro .intro{font-size:16px;line-height:1.7}.dashboard-main>.banner{font-size:14px;line-height:1.65}
.panel h2{font-size:14px;letter-spacing:.08em}.count{font-size:13px}
.panel .intro{font-size:14px;line-height:1.6}.panel li{line-height:1.55}.when{font-size:13px}.what{font-size:14px}.who{font-size:12px}.state{font-size:11px;padding:5px 10px}
.finding .what strong{font-size:14px}.finding .detail{font-size:13px}.empty{font-size:13px}
.panel button{font-size:12px;padding:9px 13px}.upload-dropzone strong{font-size:16px}.upload-dropzone>span{font-size:13px}.upload-dropzone small{font-size:11px}.notice,.privacy-note{font-size:12px;line-height:1.65}
.chat-message{font-size:14px;line-height:1.65;padding:12px 14px}.panel .suggestions button{font-size:12px}.chat-form input{font-size:14px;padding:13px 15px}.panel-chat>.notice{font-size:12px}
.step-no{font-size:12px}.step-agent{font-size:13px}.step-summary{font-size:12px}.badge{font-size:11px;padding:4px 9px}.panel code{font-size:11px}.draft pre{font-size:13px;line-height:1.7}.dashboard-footer{font-size:12px}
@media(max-width:760px){.dashboard-header nav a{font-size:12px}.dashboard-header .mode{font-size:10px}.dashboard-main>.banner{font-size:13px}.panel{padding:18px}.dashboard-intro .intro{font-size:15px}.what{font-size:14px}}
.panel-findings{display:flex;flex-direction:column}.panel-findings #findings{flex:1;display:flex;flex-direction:column}.panel-findings #findings>.finding{flex:1 1 0;min-height:72px;align-items:center!important}.panel-findings #findings>.empty{flex:1;display:flex;align-items:center;justify-content:center;text-align:center}
.panel-findings .section-heading{padding-bottom:13px;border-bottom:1px solid #343a3b}.findings-view-all{display:inline-flex;align-items:center;gap:8px;color:var(--dash-lime);font-size:13px;font-weight:600;white-space:nowrap}.findings-view-all:hover{color:#e0f5b1}.panel-findings #findings>.finding{gap:15px;padding:13px 0}.finding-icon{width:48px;height:48px;flex:0 0 48px;border-radius:50%;display:grid;place-items:center;background:#2d3335;color:#c2c7bf}.finding-icon svg{width:23px;height:23px}.finding-icon.deadline{background:#413722;color:#efb43f}.finding-icon.duplicate_charge{background:#303638;color:#c5cac3}.finding-icon.clear{background:#303b2c;color:var(--dash-lime)}.panel-findings .finding .what{min-width:0;gap:4px}.panel-findings .finding .what strong{font-size:15px;line-height:1.35;color:#e7e8e2}.panel-findings .finding.warn .what strong{color:#e7e8e2}.panel-findings .finding .detail{font-size:13px;line-height:1.5;color:#a2a69e}.finding-arrow{margin-left:auto;color:#bec2bb;font-size:26px;line-height:1;font-weight:300}
.panel-due .section-heading{padding-bottom:13px;border-bottom:1px solid #343a3b}.panel-due #due{display:flex;flex-direction:column}.panel-due .upcoming-row{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:14px;padding:14px 0;align-items:center}.upcoming-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#303638;color:#c4c9c1}.upcoming-icon svg{width:23px;height:23px}.upcoming-icon.auto{background:#303b2d;color:var(--dash-lime)}.upcoming-icon.health{background:#30383a;color:#c9d3d1}.upcoming-icon.home{background:#303638;color:#c9cec6}.upcoming-icon.identity{background:#343538;color:#d0d2ca}.upcoming-icon.subscription{background:#303b2d;color:#c6df92}.upcoming-copy{display:grid;gap:3px;min-width:0}.panel-due .upcoming-copy .what{font-size:15px;line-height:1.35}.upcoming-detail{font-size:13px;line-height:1.5;color:#a2a69e}.panel-due .state.soon{background:#30382d;border-color:#414d35;color:var(--dash-lime);font-size:12px;padding:7px 12px}
@media(max-width:760px){.panel-due .upcoming-row{grid-template-columns:44px minmax(0,1fr) auto;gap:10px}.upcoming-icon{width:42px;height:42px}.panel-due .upcoming-copy .what{font-size:14px}.upcoming-detail{font-size:12px}.panel-due .state.soon{font-size:11px;padding:6px 9px}}

/* Keep supporting text comfortably readable across the dashboard. */
.dashboard-header nav a{font-size:14px;color:#c1c5bd}
.dashboard-header .mode{font-size:13px}
.dashboard-intro .section-index{font-size:13px;letter-spacing:.12em}
.dashboard-main>.banner{font-size:15px;line-height:1.6;color:#d0d5c8}
.panel h2{font-size:15px;letter-spacing:.07em}
.count,.findings-view-all{font-size:14px}
.when,.what,.finding .what strong,.panel-due .upcoming-copy .what{font-size:15px}
.who,.finding .detail,.upcoming-detail,.household-hint{font-size:14px;line-height:1.5}
.state{font-size:13px}
.empty{font-size:14px;line-height:1.5}
.notice,.privacy-note{font-size:14px;line-height:1.55}
.upload-dropzone strong{font-size:18px}
.upload-dropzone>span{font-size:15px}
.upload-dropzone small{font-size:13px}
.panel button,.panel .suggestions button{font-size:14px}
.chat-message{font-size:15px;line-height:1.55}
.chat-form input{font-size:15px}
.trace-task{font-size:16px}
.dashboard-footer{font-size:14px}
@media(max-width:760px){.dashboard-header nav a{font-size:13px}.dashboard-header .mode{font-size:12px}.dashboard-main>.banner{font-size:14px}.dashboard-intro .intro{font-size:16px}.panel{padding:19px}.when,.what,.finding .what strong,.panel-due .upcoming-copy .what{font-size:15px}.dashboard-footer{font-size:13px}}
@media(max-width:430px){.dashboard-header nav a{font-size:13px}.dashboard-header .mode{display:none}.dashboard-header .theme-toggle{width:66px;height:36px}.dashboard-header .theme-thumb{width:28px;height:28px;top:3px;right:3px}.theme-light .dashboard-header .theme-toggle.is-light .theme-thumb{left:3px}.dashboard-header .header-brand{gap:9px}.dashboard-main>.banner{font-size:14px}}

.dashboard-header .header-brand{display:flex;align-items:center;gap:14px;flex:0 0 auto}
.dashboard-header .theme-toggle{position:relative;width:72px;height:38px;display:block;border:1px solid #4b5351;border-radius:999px;background:#292f30;color:var(--dash-muted);padding:0;cursor:pointer;flex:0 0 auto;transition:background .2s,border-color .2s}
.dashboard-header .theme-toggle:not(.is-light) .theme-thumb{position:absolute;z-index:0;top:3px;left:auto;right:3px;width:30px;height:30px;border-radius:50%;background:var(--dash-lime);transform:none;transition:transform .2s,background .2s}
.dashboard-header .theme-icon{position:absolute;z-index:1;top:8px;display:grid;place-items:center;width:20px;height:20px;color:#929a93;transition:color .2s}
.dashboard-header .theme-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dashboard-header .theme-icon-sun{left:8px}.dashboard-header .theme-icon-moon{right:8px}
.dashboard-header .theme-toggle:not(.is-light) .theme-icon-moon,.dashboard-header .theme-toggle.is-light .theme-icon-sun{color:#26301e}
.dashboard-header .theme-toggle:hover{border-color:#82946b}
.dashboard-header .theme-toggle:focus-visible{outline:2px solid var(--dash-lime);outline-offset:3px}

/* Light palette: same dashboard grid, with the warm paper and white cards. */
.dashboard-page.theme-light{--dash-paper:#f6f5f0;--dash-ink:#20211e;--dash-muted:#686a63;--dash-line:#deded6;--dash-lime:#a9ce53;--dash-card:#fff;--dash-dark:#292a27;--dash-good:#66852d;--dash-bad:#b64e40;background:var(--dash-paper);color:var(--dash-ink)}
.theme-light .dashboard-header{background:rgba(246,245,240,.96);border-bottom-color:#e3e2db}
.theme-light .dashboard-header nav a{color:#60625b}
.theme-light .dashboard-header nav a:hover{color:#171816}
.theme-light .dashboard-header .mode{background:#e7edda;color:#45582c}
.theme-light .dashboard-header .theme-toggle{border-color:#d8d8d0;background:#eceee7}
.theme-light .dashboard-header .theme-toggle.is-light .theme-thumb{right:auto;left:3px}
.theme-light .dashboard-header .theme-toggle.is-light .theme-icon-sun{color:#26301e}
.theme-light .dashboard-header .theme-toggle.is-light .theme-icon-moon{color:#858980}
.theme-light .dashboard-header .theme-toggle:hover{border-color:#aebd8d;background:#e7ebdf}
.theme-light .dashboard-header .theme-toggle:focus-visible{outline-color:#78963b}
.theme-light .dashboard-intro .section-index,.theme-light .dashboard-main .section-index{color:#73756e}
.theme-light .dashboard-intro .intro{color:#555850}
.theme-light .dashboard-intro h1 em{color:#20211e}
.theme-light .dashboard-main>.banner{background:#eeeee7;border-color:#e1e1d9;color:#55574f}
.theme-light .dashboard-main>.banner span{color:#788f3b}
.theme-light .panel{background:#fff;border-color:#deded6;box-shadow:0 5px 20px rgba(28,29,25,.035)}
.theme-light .panel h2,.theme-light .count{color:#686a63}
.theme-light .panel .intro,.theme-light .who,.theme-light .finding .detail,.theme-light .notice,.theme-light .step-summary{color:#686a63}
.theme-light .panel li{border-top-color:#e7e6df}
.theme-light .when{color:#6d8738}
.theme-light .what,.theme-light .trace-task{color:#242520}
.theme-light .state{background:#f2f1eb;border-color:#deded6;color:#55574f}
.theme-light .state.soon{color:#6a7f35;border-color:#dce6c9;background:#f1f5e8}
.theme-light .state.due{color:#a9473c;border-color:#ead0ca;background:#fbf1ee}
.theme-light .state.done{color:#5f7d2b;border-color:#d7e2c5;background:#f0f5e8}
.theme-light .finding.warn .what strong{color:#765d27}
.theme-light .finding.bad .what strong{color:#a9473c}
.theme-light .finding.ok .what strong{color:#5f7d2b}
.theme-light .empty{color:#686a63}
.theme-light .panel button{background:#292a27;color:#fff;border-color:#292a27}
.theme-light .panel button:hover{background:#41423d}
.theme-light .panel button:focus-visible,.theme-light .panel input:focus-visible{outline-color:#78963b}
.theme-light .upload-dropzone{background:#faf9f6;border-color:#d6d6cf;color:#50514c}
.theme-light .upload-dropzone:hover,.theme-light .upload-dropzone.is-dragging{background:#f2f6e9;border-color:#91ad4b}
.theme-light .upload-icon{background:#fff;border-color:#e1e0d9;color:#718b3b}
.theme-light .upload-dropzone strong{color:#252620}
.theme-light .upload-dropzone>span{color:#686a63}
.theme-light .upload-dropzone small{color:#777971}
.theme-light .privacy-note{background:#f0efe9;color:#55574f}
.theme-light .draft pre{background:#f6f5f0;color:#292a27;border-color:#deded6}
.theme-light .chat-message.assistant{background:#f0efe9;color:#292a27}
.theme-light .chat-message.user{background:#e7eadf;color:#252620}
.theme-light .panel .suggestions button{background:#fff;color:#41423d;border-color:#deded6}
.theme-light .panel .suggestions button:hover{background:#f3f4ed;border-color:#bdc99f}
.theme-light .chat-form input{background:#fff;color:#252620;border-color:#d7d7cf}
.theme-light .chat-form input::placeholder{color:#777971}
.theme-light .step-no{color:#686a63}
.theme-light .badge{background:#f4f3ee;border-color:#deded6;color:#55574f}
.theme-light .badge.ok{color:#5f7d2b;border-color:#d7e2c5;background:#f0f5e8}
.theme-light .badge.bad{color:#a9473c;border-color:#ead0ca;background:#fbf1ee}
.theme-light .badge.tier{color:#627c30;border-color:#dbe4cb;background:#f3f6ec}
.theme-light .panel-trace .timeline:before{background:#9bb66a}
.theme-light .trace-check{background:#c9f36b;color:#25301b}
.theme-light .trace-step.is-error .trace-check{background:#e18b7e;color:#2b1b19}
.theme-light .finding-icon{background:#f0f0e9;color:#62645d}
.theme-light .finding-icon.deadline{background:#f7f0dc;color:#94721f}
.theme-light .finding-icon.clear{background:#eef4e5;color:#6a8735}
.theme-light .upcoming-icon{background:#f0f0e9;color:#62645d}
.theme-light .upcoming-icon.auto,.theme-light .upcoming-icon.subscription{background:#eef4e5;color:#6a8735}
.theme-light .upcoming-icon.health{background:#eef1ef;color:#53615c}
.theme-light .upcoming-icon.home{background:#f0f0e9;color:#62645d}
.theme-light .upcoming-icon.identity{background:#f0efea;color:#63615a}
.theme-light .panel-due .state.soon{background:#f1f5e8;border-color:#dce6c9;color:#6a7f35}
.theme-light .panel-findings .section-heading,.theme-light .panel-due .section-heading{border-bottom-color:#e7e6df}
.theme-light .findings-view-all{color:#627c30}
.theme-light .findings-view-all:hover{color:#445820}
.theme-light .finding-arrow{color:#666860}
.theme-light .panel code{background:#f0efe9;color:#55574f}
.theme-light .dashboard-footer{border-top-color:#deded6;color:#686a63}
.theme-light .dashboard-footer .wordmark,.theme-light .dashboard-footer>a:last-child{color:#20211e}
.theme-light .panel-household .household-item.active{background:#fbfcf7;border-left-color:#9bb66a}
.theme-light .panel-household .household-item.active:hover{background:#f5f8ed}
.theme-light .panel-household .household-item.cancelled{background:#f5f5f2;border-left-color:#b9bcb5}
.theme-light .panel-household .household-item.cancelled .when,.theme-light .panel-household .household-item.cancelled .what{color:#85877f}
.theme-light .panel-household .household-item>.household-status{gap:5px;border-color:#aeca81;background:#e4efcf;color:#3e5c1d}
.theme-light .panel-household .household-item>.household-status:before{content:"✓";font-size:12px;font-weight:800}
.theme-light .panel-household .household-item>.household-status.cancelled{border-color:#b9bdb4;background:#e6e8e2;color:#444840}
.theme-light .panel-household .household-item>.household-status.cancelled:before{content:"×";font-size:15px;line-height:.8}
.theme-light .panel-trace .timeline li.trace-step{border-top-color:#e7e6df}
.theme-light .trace-step.is-error .trace-check{background:#f4d9d4;color:#9f4439}
.theme-light .panel button{background:#eef3e5;color:#4f6729;border-color:#dce6ca}
.theme-light .panel button:hover{background:#e5edda;border-color:#cbd9b1}
.theme-light .panel .suggestions button{background:#fff;color:#454740;border-color:#deded6}
.theme-light .panel .suggestions button:hover{background:#f3f4ed;border-color:#bdc99f}
.theme-light .panel button:disabled{background:#f0f0eb;color:#85877f;border-color:#e1e1da}
@media(max-width:430px){.dashboard-header .mode{display:none}.dashboard-header .theme-toggle{width:66px;height:36px}.dashboard-header .theme-thumb{width:28px;height:28px}.dashboard-header .header-brand{gap:9px}}
.finding-arrow{display:grid;place-items:center;min-width:30px;min-height:36px;border-radius:8px;text-decoration:none;transition:background .18s,color .18s}
.finding-arrow:hover{background:rgba(127,145,91,.12);color:var(--dash-lime)}
.theme-light .finding-arrow:hover{background:#edf2e3;color:#536f27}

/* Give the upload area a clearer, warmer drop target in both themes. */
.dashboard-page:not(.theme-light) .upload-dropzone{background:radial-gradient(ellipse at 50% 42%,rgba(201,243,107,.09),transparent 58%),#1e2325;border-color:#71864c;box-shadow:inset 0 0 0 1px rgba(201,243,107,.06)}
.dashboard-page:not(.theme-light) .upload-dropzone:hover,.dashboard-page:not(.theme-light) .upload-dropzone.is-dragging{background:radial-gradient(ellipse at 50% 42%,rgba(201,243,107,.14),transparent 60%),#222a25;border-color:#a4c75c;box-shadow:inset 0 0 0 1px rgba(201,243,107,.12)}
.dashboard-page:not(.theme-light) .upload-icon{background:#30392d;border-color:#526244;color:#c9f36b;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.dashboard-page:not(.theme-light) .panel-upload .upload>button{background:#c9f36b;border-color:#c9f36b;color:#28321f}
.dashboard-page:not(.theme-light) .panel-upload .upload>button:hover{background:#d7f690;border-color:#d7f690}
.theme-light .upload-dropzone{background:radial-gradient(ellipse at 50% 42%,rgba(169,206,83,.13),transparent 58%),#fbfcf8;border-color:#9db769;box-shadow:inset 0 0 0 1px rgba(127,159,67,.08)}
.theme-light .upload-dropzone:hover,.theme-light .upload-dropzone.is-dragging{background:radial-gradient(ellipse at 50% 42%,rgba(169,206,83,.2),transparent 60%),#f7faef;border-color:#7f9f43;box-shadow:inset 0 0 0 1px rgba(127,159,67,.16)}
.theme-light .upload-icon{background:#fff;border-color:#d7e2c3;color:#6f8d35;box-shadow:0 3px 12px rgba(35,45,24,.08)}
.theme-light .upload-dropzone small{color:#666a5e}
.theme-light .panel-upload .upload>button{background:#e4efcf;border-color:#bdd397;color:#405c20}
.theme-light .panel-upload .upload>button:hover{background:#dce9c7;border-color:#aec884}

/* Give InkWell replies the compact lime avatar shown in the chat reference. */
.chat-log>.chat-row.assistant-row{display:flex;align-items:flex-start;gap:10px;max-width:90%}
.chat-avatar{flex:0 0 34px;width:34px;height:34px;margin-top:3px;display:grid;place-items:center;border-radius:50%;background:#303735;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.chat-avatar>span{width:13px;height:13px;border-radius:50%;background:var(--dash-lime);box-shadow:0 0 10px rgba(201,243,107,.3)}
.chat-row>.chat-message.assistant{max-width:none;min-width:0}
.theme-light .chat-avatar{background:#e9eee0;box-shadow:0 2px 8px rgba(35,45,24,.1)}
.theme-light .chat-avatar>span{box-shadow:0 0 8px rgba(126,163,57,.25)}
