:root{--bg:#f5f7fb;--accent:#3278c7;--ink:#233247;--muted:#738095;--line:#e2e8f0;--radius:20px;--shadow:0 5px 20px #213c6410}.welcome-hero{display:flex;position:relative;background:linear-gradient(115deg,#fff7ef,#f6eadf);min-height:215px;border-radius:24px;overflow:hidden;margin-bottom:20px}.welcome-copy{padding:32px 24px;z-index:1;max-width:65%}.welcome-copy h1{font-size:28px;letter-spacing:-1px;margin:10px 0;line-height:1.4}.welcome-copy p:not(.eyebrow){font-size:15px;line-height:1.7;max-width:350px}.welcome-art{position:absolute;width:44%;height:100%;right:0;bottom:0;overflow:hidden}.welcome-art svg,.welcome-art img,.hero-preview img,.hero-preview svg{width:100%;height:100%;object-fit:cover}.dark .welcome-hero{background:linear-gradient(110deg,#20364c,#344260)}.today-panel .section-head{margin-top:0}.today-row{border:0;border-top:1px solid var(--line);background:transparent;width:100%;text-align:left;display:flex;align-items:center;gap:12px;padding:14px 0;color:var(--ink)}.today-row>span:nth-child(2){flex:1}.today-row small,.tool-summary small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.tool-orb{height:44px;width:44px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#e7edf8;color:#337dcc;font-size:25px}.tool-orb.shopping{background:#fdeaf0;color:#da6686}.tool-orb.asset{background:#e6f0fe;color:#4689d2}.tool-orb.chore{background:#e3f4ec;color:#43a78c}.tool-orb.ledger{background:#fff2d8;color:#dc9b2e}.tool-orb.notice{background:#eee9fc;color:#8369ca}.quick-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tool-summary{border:1px solid var(--line);background:var(--paper);padding:18px 14px;border-radius:20px;box-shadow:var(--shadow);display:flex;gap:12px;align-items:center;text-align:left;color:var(--ink)}.tool-summary:last-child{grid-column:1/-1}.tool-summary strong{font-size:16px}.widget-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-widget h3{font-size:16px;margin:0}.dashboard-widget .section-head{margin-top:0}.dashboard-widget.size-large{grid-column:1/-1}.dashboard-widget.size-small .widget-row{display:none}.dashboard-widget .button{width:100%;margin-top:14px}.widget-number{display:block;font-size:21px;margin:16px 0}.widget-row{width:100%;display:flex;justify-content:space-between;gap:8px;text-align:left;border:0;background:transparent;color:var(--ink);padding:10px 0;border-bottom:1px solid var(--line)}.widget-row small{color:var(--muted)}.hero-preview{height:190px;background:var(--bg);border-radius:16px;overflow:hidden}.hero-preview svg{object-fit:contain}.order-item{display:flex;align-items:center;gap:8px;padding:8px;border-bottom:1px solid var(--line)}.order-item button:first-of-type{margin-left:auto}.order-item button{border:0;background:var(--bg);border-radius:8px;min-width:38px;min-height:38px}.check-row{display:flex!important;align-items:center;gap:8px;margin:10px 0}.check-row input{width:auto!important;min-height:20px}.detail-fields{margin:14px 0}.detail-fields>div{display:grid;grid-template-columns:2fr 3fr;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.detail-fields dt{color:var(--muted);font-size:13px}.detail-fields dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;text-align:right}.comparison-strip{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 0}.comparison-strip .candidate-panel{flex:0 0 80%;max-width:300px;scroll-snap-align:start}.comparison-strip .photo-strip img{width:130px;height:110px}.split-row{display:grid;grid-template-columns:1fr 1fr auto;gap:6px;margin:10px 0}.split-row input{min-width:0;width:100%}.split-editor{border:1px solid var(--line);border-radius:15px;padding:12px}.split-editor>label{display:grid;margin:8px 0;gap:5px}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table td,.data-table th{padding:10px 6px;border-bottom:1px solid var(--line);text-align:right}.data-table td:first-child,.data-table th:first-child{text-align:left}.history-row{padding:12px 0;border-bottom:1px solid var(--line)}.history-row .soft-button{margin-left:10px}.option-item{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.option-item>span{flex:1;overflow-wrap:anywhere}.location-tree details{margin:8px 0 8px 15px}.location-tree .link-button{background:transparent;color:var(--accent);border:0;padding:5px}.period-row{display:grid;grid-template-columns:3fr 3fr 2fr;gap:8px;margin:12px 0}.period-row label{font-size:12px;display:grid;gap:4px;min-width:0}.period-row select,.period-row input{width:100%;min-width:0}.record-card.paused{opacity:.55}.preset-grid{display:flex;gap:6px;flex-wrap:wrap}.drawer #drawer-items{overflow:auto}.drawer #drawer-items>button{display:block;text-align:left;width:100%;border:0;padding:13px;background:transparent;color:var(--ink)}dialog footer{flex-wrap:wrap}.mode-compact .record-photo,.density-standard .record-photo{display:none}.photo-strip{gap:4px}.form-grid{grid-template-columns:6fr 4fr}.form-grid .full{grid-column:1/-1}.candidate-row [name=candidate-id]{font-size:12px}input[type=range]{padding:0}.dark .tool-orb{filter:brightness(.8)}
@media(min-width:850px){.app-shell{max-width:1080px}.bottom-nav{width:min(1080px,100%)}.welcome-hero{min-height:255px}.welcome-copy h1{font-size:36px}.quick-tools{grid-template-columns:repeat(5,1fr)}.tool-summary{display:block}.tool-summary .tool-orb{margin-bottom:12px}.tool-summary:last-child{grid-column:auto}.widget-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-widget.size-large{grid-column:span 2}.today-panel{padding:22px}.today-row{padding:15px 4px}.welcome-art{width:40%}}
@media(max-width:480px){.welcome-copy{padding:24px 17px;max-width:69%}.welcome-copy h1{font-size:24px}.welcome-copy p:not(.eyebrow){font-size:13px}.welcome-art{width:47%;opacity:.88}.welcome-hero{min-height:205px}.tool-summary{padding:14px 10px;gap:8px}.tool-summary strong{font-size:14px}.tool-orb{width:38px;height:38px;font-size:22px}.widget-grid{grid-template-columns:1fr}.dashboard-widget.size-large{grid-column:auto}.period-row{grid-template-columns:1fr 1fr}.period-row label:last-child{grid-column:1/-1}dialog footer .button{padding:9px 11px;font-size:13px}.topbar{height:57px}.brand{font-size:15px}.brand small{display:none}}
.record-card .swipe-actions{gap:5px}.record-card .swipe-actions .soft-button{white-space:nowrap;padding:6px 9px}.record-card.open-left .swipe-actions{overflow:auto;max-width:calc(100% - 18px)}.candidate-panel a{overflow-wrap:anywhere}.record-inner{min-width:0}.toolbar{min-width:0}.toolbar input[type=search]{min-width:0}.filter-row{overflow-x:auto;scrollbar-width:thin;flex-wrap:nowrap}.filter-row .chip{white-space:nowrap}.location-tree{margin:12px 0}

.tool-orb svg{width:25px;height:25px}.bottom-nav button svg{width:22px;height:22px}.bottom-nav button span{height:24px;display:grid;place-items:center}.tool-orb.chore svg{stroke-width:3}
