/* V6.8 Block 6: only Dashboard content. Shared navigation and page chrome stay untouched. */
.v68-dashboard{display:grid;gap:16px;min-width:0}.v68-dashboard>*,.v68-dashboard .panel{min-width:0}.v68-dashboard-heading{display:flex;align-items:end;justify-content:space-between;padding:2px 3px}.v68-dashboard-heading h1{font-size:clamp(23px,2vw,30px);line-height:1.12;letter-spacing:-.8px;margin:4px 0}.v68-dashboard-heading p{font-size:12px;color:var(--muted);margin:0}
.v68-finance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.v68-finance-card{min-width:0;min-height:140px;display:flex;flex-direction:column;justify-content:space-between;padding:17px 19px;border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow-sm);overflow:hidden}.v68-card-label{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:800}.v68-card-icon{width:32px;height:32px;display:grid;place-items:center;flex:none;border-radius:10px;background:#fff9}.v68-card-icon .icon{width:17px}.v68-finance-card strong{font-size:clamp(24px,2.25vw,34px);line-height:1.1;letter-spacing:-.8px;overflow-wrap:anywhere}.v68-finance-card small{font-size:11px;line-height:1.3;opacity:.8}.v68-income{background:#e7f8ee;color:#075b3a;border-color:#c4ead2}.v68-expense{background:#fff0ee;color:#8b393e;border-color:#f4d2ce}.v68-result{background:#e9f2fc;color:#174d78;border-color:#cedeef}.v68-finance-card .v68-negative,.v68-future-grid .v68-negative{color:#af303a}
.v68-dashboard .dashboard-entry-actions{margin:0;box-shadow:var(--shadow-sm)}.v68-dashboard .dashboard-entry-actions .input-method-grid button{cursor:pointer}.v68-dashboard .dashboard-entry-actions button[data-action=openFinance]{opacity:.75}.v68-dashboard .dashboard-entry-actions button[data-action=openFinance]:hover{opacity:1}
.v68-analysis-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:15px}.v68-dashboard .panel{padding:17px 19px}.v68-dashboard .panel-head{margin-bottom:12px}.v68-dashboard .interactive-category-chart{grid-template-columns:minmax(155px,195px) minmax(0,1fr)!important;min-height:210px;gap:14px!important}.v68-dashboard .category-plot svg{max-width:195px}.v68-dashboard .category-hover-label{min-height:21px;margin-top:5px;font-size:11px}.v68-dashboard .complete-legend{max-height:225px!important;overflow:auto!important}.v68-dashboard .complete-legend>div,.v68-dashboard .category-segment{cursor:pointer}.v68-dashboard [data-category-id]:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.v68-hint{font-size:11px;color:var(--muted);line-height:1.4;margin:10px 0 0}
.v68-list{display:grid}.v68-list-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:55px;padding:9px 1px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;color:var(--ink);cursor:pointer}.v68-list-row:hover,.v68-list-row:focus-visible{background:var(--soft);outline-offset:2px}.v68-row-main{min-width:0;display:grid;gap:3px}.v68-row-main strong{min-width:0;display:flex;align-items:center;gap:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.v68-row-main strong .icon{width:15px;flex:none}.v68-row-main small{font-size:10px;color:var(--muted);line-height:1.35}.v68-list-row>b{font-size:12px;white-space:nowrap}.v68-overdue{font-size:11px;color:var(--danger,#ad3c3d);margin:10px 0 0}.v68-income-text{color:#078250}.v68-expense-text{color:#c65b58}
.v68-future-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v68-future-grid>div{display:grid;gap:6px;padding:12px 14px;background:var(--soft);border-radius:13px;min-width:0}.v68-future-grid span{font-size:11px;color:var(--muted);font-weight:700}.v68-future-grid strong{font-size:clamp(18px,1.6vw,24px);overflow-wrap:anywhere}.v68-complement-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:15px}.v68-health-main{display:flex;align-items:center;gap:18px;min-height:85px}.v68-health-main>div:last-child{display:grid;gap:7px}.v68-health-main strong{font-size:17px}.v68-health-main small{font-size:11px;color:var(--muted);line-height:1.45}.v68-health-main .health-gauge{flex:none}.v68-secondary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.v68-secondary>.panel{display:grid;gap:7px;align-content:center;padding:13px 15px;min-height:83px;text-decoration:none;color:var(--ink)}.v68-secondary span,.v68-secondary small{font-size:10px;color:var(--muted)}.v68-secondary strong{font-size:15px;overflow-wrap:anywhere}.v68-secondary button{justify-self:start}.v68-insights-panel .insights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-theme=dark] .v68-income{background:#12382e;color:#d8ffea;border-color:#276349}html[data-theme=dark] .v68-expense{background:#3b292d;color:#ffe2dc;border-color:#6a4448}html[data-theme=dark] .v68-result{background:#193344;color:#e1f4ff;border-color:#31536a}html[data-theme=dark] .v68-card-icon{background:#ffffff16}html[data-theme=dark] .v68-finance-card .v68-negative,html[data-theme=dark] .v68-future-grid .v68-negative{color:#ff9c9e}html[data-theme=dark] .v68-future-grid>div{background:var(--surface-secondary)}html[data-theme=dark] .v68-income-text{color:#45e28e}html[data-theme=dark] .v68-expense-text{color:#ffaaa4}html[data-theme=dark] .v68-overdue{color:#ffaaa4}
@media(max-width:1200px){.v68-dashboard .interactive-category-chart{grid-template-columns:1fr!important}.v68-dashboard .complete-legend{max-height:180px!important}.v68-analysis-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.v68-analysis-grid,.v68-complement-grid{grid-template-columns:1fr 1fr}.v68-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.v68-dashboard{gap:13px}.v68-dashboard .panel{padding:15px}.v68-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v68-finance-card{min-height:112px;padding:12px 13px;border-radius:15px}.v68-finance-card:nth-child(3){grid-column:1/-1;min-height:88px}.v68-finance-card strong{font-size:clamp(19px,5vw,27px);letter-spacing:-.5px}.v68-finance-card:nth-child(3) strong{font-size:26px}.v68-card-label{font-size:10px;gap:5px}.v68-card-icon{width:25px;height:25px}.v68-card-icon .icon{width:14px}.v68-finance-card small{font-size:9px}.v68-dashboard-heading h1{font-size:23px}.v68-dashboard .dashboard-entry-actions{padding:12px;gap:9px}.v68-dashboard .dashboard-entry-actions>div:first-child{display:none}.v68-dashboard .input-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.v68-dashboard .input-method-grid button{min-width:0;min-height:58px!important;padding:8px!important;gap:6px}.v68-dashboard .input-method-grid button>span{width:26px;height:26px}.v68-dashboard .input-method-grid button strong{font-size:10px}.v68-dashboard .input-method-grid button small{display:none}.v68-dashboard .input-method-grid button[data-action=openFinance]{grid-column:1/-1;min-height:40px!important}.v68-dashboard .input-method-grid button[data-action=openFinance] em{position:static;margin-left:auto;font-size:8px}.v68-analysis-grid,.v68-complement-grid{grid-template-columns:1fr}.v68-dashboard .interactive-category-chart{grid-template-columns:1fr!important}.v68-dashboard .category-plot svg{max-width:180px}.v68-dashboard .complete-legend{max-height:220px!important}.v68-future-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v68-future-grid>div:last-child{grid-column:1/-1}.v68-future-grid strong{font-size:18px}.v68-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.v68-insights-panel .insights-grid{grid-template-columns:1fr}}
@media(max-width:390px){.v68-dashboard .v68-finance-card{padding:11px}.v68-dashboard .v68-finance-card strong{font-size:clamp(17px,4.7vw,22px)}.v68-dashboard .v68-finance-card:nth-child(3) strong{font-size:24px}.v68-card-label{font-size:9px}.v68-list-row>b{font-size:11px}.v68-dashboard .panel-head{gap:7px}.v68-dashboard .panel-head h2{font-size:15px}}
@media(max-width:760px){.v68-category-panel .panel-head{display:block}.v68-category-panel .panel-head h2{font-size:17px}.v68-category-panel .panel-head .empty-actions{margin-top:4px}.v68-category-panel .panel-head p{white-space:normal}}
