.hf-costs{padding:20px 0;text-align:left}.hf-costs h2,.hf-costs h3{margin:16px 0 8px}.hf-costs>label{display:block;margin-bottom:16px}.hf-cost-row{display:flex;gap:16px;align-items:center;border:1px solid #a0a0a055;border-radius:9px;padding:15px;margin:12px 0}.hf-cost-row>span{flex:1}.hf-cost-summary,.hf-doc-card{border:1px solid #a0a0a055;border-radius:10px;padding:20px;margin-top:18px}.hf-doc-card h3{margin-top:0}.hf-doc-fields{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.hf-doc-fields label{display:grid;gap:6px;flex:1;min-width:130px}.hf-doc-fields input,.hf-costs input{padding:10px;border:1px solid #9997;border-radius:6px;background:transparent;color:inherit}.hf-net-line{display:grid;grid-template-columns:1fr auto;gap:5px;margin-top:12px;font-size:11px}.hf-net-track{grid-column:1/-1;background:#9993;height:7px;border-radius:5px;overflow:hidden}.hf-net-track span{height:100%;display:block}.hf-home-net{min-width:0}
@media(min-width:1024px){.hf-home-lower{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(270px,1.45fr)!important}.hf-home-agenda{grid-column:1!important;grid-row:1!important}.hf-home-net{grid-column:2;grid-row:1}.hf-home-secondary{grid-column:3!important;grid-row:1!important}.hf-home-agenda>header{flex-wrap:wrap}.hf-home-agenda-actions{flex-wrap:wrap}.hf-home-agenda-actions>.hf-home-outline{width:auto;min-width:90px;flex:1;font-size:9px!important}.hf-home-chart-row{grid-column:1/-1!important}.hf-home-overview .hf-home-agenda h2{font-size:12px!important}}
@media(max-width:700px){.hf-cost-row{flex-wrap:wrap}.hf-cost-row>span{flex-basis:100%}.hf-doc-card{padding:12px}.hf-net-line{font-size:12px}}

/* V425: five financial indicators and compact agenda header. */
@media(min-width:801px){.apn-fin-app .apn-fin-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.apn-fin-app .apn-fin-cards article{padding:16px 12px;min-height:116px}.apn-fin-app .apn-fin-cards strong{font-size:clamp(17px,2vw,25px);overflow-wrap:anywhere}.apn-fin-app .apn-fin-cards small{font-size:12px}}
.hf-fin-net-card{box-shadow:inset 4px 0 0 #37845e}
@media(min-width:1024px){.hf-home-overview .hf-home-agenda>header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;flex-wrap:nowrap!important}.hf-home-overview .hf-home-agenda-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px;margin:0!important}.hf-home-overview .hf-home-agenda-actions>.hf-home-outline{flex:none!important;min-width:102px!important;width:102px!important;min-height:27px;padding:5px 6px!important;font-size:9px!important}.hf-home-overview .hf-home-agenda-actions>.hf-home-outline:last-child{order:-1}.hf-home-overview .hf-home-agenda>header>div:first-child small{display:block}}

/* V428: document tables inherit the light palette outside receipt forms. */
html:not([data-theme="dark"]) [data-hf-documents]{--card:#fff;--text:#17181a;--input:#fff;color:#17181a}
html:not([data-theme="dark"]) [data-hf-documents] .hf-doc-card,
html:not([data-theme="dark"]) [data-hf-documents] .apn-fin-table-wrap{background:#fff!important;color:#17181a!important;border-color:#d9dde2!important}
html:not([data-theme="dark"]) [data-hf-documents] table,
html:not([data-theme="dark"]) [data-hf-documents] thead,
html:not([data-theme="dark"]) [data-hf-documents] tbody,
html:not([data-theme="dark"]) [data-hf-documents] tr,
html:not([data-theme="dark"]) [data-hf-documents] th,
html:not([data-theme="dark"]) [data-hf-documents] td{background:#fff!important;color:#17181a!important;border-color:#e1e4e8!important}
html:not([data-theme="dark"]) [data-hf-documents] th{opacity:1;color:#56606b!important}
html:not([data-theme="dark"]) [data-hf-documents] button.primary{background:#111214!important;color:#fff!important}
html:not([data-theme="dark"]) [data-hf-documents] .apn-fin-delete{background:#fce8e8!important;color:#b42323!important}

/* V429: compact agenda title and single navigation action. */
@media(min-width:1024px){.hf-home-overview .hf-home-agenda>header{align-items:start!important}.hf-home-overview .hf-home-agenda>header>div:first-child{display:flex;flex-direction:column;gap:2px;align-self:start}.hf-home-overview .hf-home-agenda>header h2{margin:0!important;line-height:1.2!important}.hf-home-overview .hf-home-agenda [data-home-agenda-count]{display:block;margin:0!important;padding:0!important;line-height:1.2!important}.hf-home-overview .hf-home-agenda-actions{align-self:start!important}.hf-home-overview .hf-home-agenda-actions>.hf-home-outline{order:0!important}}
