/* DoughLAB colors on the compact transaction layout. */
.funding-embedded .topbar,.funding-embedded .layout>aside{display:none!important}.funding-embedded main{padding:20px}.finance-embedded input::placeholder{color:var(--finance-muted)!important;opacity:.8}.bank-preview{padding:12px;background:var(--active-bg);border:1px solid var(--line);margin-top:14px}.bank-preview p{font-size:12px}
:root[data-theme=light]{--bg:#f4f2ef;--line:#ded7d0;--active-bg:#fff0e4;--accent-text:#b14f17;--header-bg:#fff}
.layout>aside a.active{background:#ed762e;border-color:#ed762e;color:#21140c}.layout>aside .erp-start{margin-left:auto;border-left:1px solid var(--line)}.layout>aside .erp-link{font-size:12px;color:var(--muted);padding-inline:12px}.invoice-tabs button[aria-pressed=true]{border-color:#ed762e}.invoice-total strong{color:var(--accent-text)}.invoice-chart .column{background:#ec7832}.invoice-actions button[data-invoice-action=new]{background:#ed762e;border-color:#ed762e;color:#21140c}.invoice-overview h2{font-size:15px}.invoice-table td:last-child{display:flex;gap:6px;align-items:center;min-height:62px}.annual-legend{display:flex;gap:24px;font-size:12px;margin:20px 0}.annual-legend span:before{content:'';display:inline-block;width:9px;height:9px;margin-right:7px;background:#ed762e}.annual-legend .legend-expense:before{background:#a9b772}.annual-legend .legend-open:before{background:transparent;border:1px dashed var(--muted)}.annual-graph{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;height:215px;padding:20px 0;border-bottom:1px solid var(--line)}.annual-month{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:10px;min-width:0}.annual-bars{display:flex;gap:3px;align-items:flex-end;height:160px;width:100%;justify-content:center}.annual-bars span{width:20%;max-width:25px;min-height:1px}.annual-bars .income{background:#ed762e}.annual-bars .expense{background:#a9b772}.annual-bars .forecast{border:1px dashed var(--muted);background:var(--active-bg)}.annual-month small{font-size:10px;color:var(--muted)}.funding-frame{display:block;width:100%;height:calc(100dvh - 145px);border:0}.layout #fundingPage{padding:0}#imageDialog{width:min(1400px,96vw);max-width:96vw;height:90dvh;max-height:90dvh;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:5px;padding:16px}#imageDialog::backdrop{background:#0007}.image-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);height:calc(100% - 70px);gap:16px}.image-workspace aside{padding:12px;background:var(--bg);border:1px solid var(--line);min-width:0;overflow:auto}.image-upload{display:block;background:var(--accent);color:#21140c;padding:10px;border-radius:3px;cursor:pointer;font-size:12px}.image-upload input{display:block;margin-top:8px;font-size:11px;width:100%}#imageList button{display:block;max-width:100%;width:100%;text-align:left;overflow-wrap:anywhere;margin:8px 0;padding:10px;font-size:12px}.image-preview{background:#e6e3df;min-width:0;display:flex;align-items:center;justify-content:center;overflow:auto}.image-preview iframe{width:100%;height:100%;border:0}.image-preview img{max-width:100%;height:auto}.image-preview p{padding:20px;color:#4a4039}#imageError{font-size:12px;color:var(--accent-text)}#overviewYear,#overviewBasis{padding:7px;border-radius:3px}#monthlyFinance table{min-width:850px}
@media(max-width:1000px){.layout>aside .erp-start{margin-left:20px}.annual-graph{gap:5px}.image-workspace{grid-template-columns:190px minmax(0,1fr)}}@media(max-width:650px){.image-workspace{display:flex;flex-direction:column}.image-workspace aside{max-height:190px;flex:none}.image-preview{flex:1;min-height:250px}.annual-legend{gap:10px;font-size:10px}.annual-graph{overflow-x:auto;grid-template-columns:repeat(12,40px)}.invoice-table td:last-child{min-width:110px}.funding-frame{height:calc(100dvh - 130px)}}
