/* Accounting SaaS workspace — a ledger-led extension of the Gedo Store identity. */
.acct-shell { --acct-ink:#102a43; --acct-blue:#0a4b78; --acct-red:#2f6df6; --acct-paper:#f6f8fb; color:var(--acct-ink); }
.acct-hero { position:relative; overflow:hidden; display:flex; align-items:flex-end; justify-content:space-between; gap:28px; min-height:210px; margin:-4px 0 18px; padding:28px 30px; border-radius:24px; background:linear-gradient(120deg,#071a2d 0%,#0a3452 66%,#0e4d6d 100%); color:white; box-shadow:0 22px 54px rgba(7,26,45,.2); }
.acct-hero::after { content:''; position:absolute; left:-54px; bottom:26px; width:260px; height:52px; border:10px solid rgba(230,0,18,.82); border-left:0; border-radius:0 26px 26px 0; transform:rotate(-7deg); pointer-events:none; }
.acct-hero-copy,.acct-tenant-bar { position:relative; z-index:1; }
.acct-hero-copy { max-width:560px; }
.acct-hero h2 { margin:5px 0 7px; font-size:clamp(1.8rem,4vw,3rem); line-height:1.15; font-weight:900; letter-spacing:-.03em; }
.acct-hero p { color:#d5e2ec; font-size:.92rem; }
.acct-eyebrow { display:block; margin-bottom:4px; color:#718096; font-size:.67rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.acct-eyebrow.light { color:#91bad0; }
.acct-tenant-bar { display:grid; grid-template-columns:minmax(145px,1fr) minmax(125px,.8fr) auto; align-items:end; gap:10px; min-width:min(100%,460px); padding:12px; border:1px solid rgba(255,255,255,.15); border-radius:16px; background:rgba(255,255,255,.08); backdrop-filter:blur(12px); }
.acct-tenant-bar label,.acct-entry-meta label,.acct-account-modal label { display:flex; flex-direction:column; gap:5px; font-size:.72rem; font-weight:800; }
.acct-tenant-bar label span { color:#b8ccda; }
.acct-tenant-bar select { min-height:38px; padding:6px 9px; border:1px solid rgba(255,255,255,.18); border-radius:9px; background:#102f47; color:white; font-size:.78rem; }
.acct-plan { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:38px; padding:5px 10px; border-radius:10px; background:#2f6df6; color:white; line-height:1.1; }
.acct-plan span { font-size:.67rem; font-weight:900; letter-spacing:.1em; }
.acct-plan small { margin-top:3px; font-size:.62rem; color:#ffe5e7; }
.acct-tabs { display:flex; gap:6px; overflow-x:auto; padding:5px 2px 14px; scrollbar-width:none; }
.acct-tabs::-webkit-scrollbar { display:none; }
.acct-tabs button { flex:none; min-height:40px; padding:8px 14px; border:1px solid #dce4ec; border-radius:12px; background:white; color:#53677a; font-size:.78rem; font-weight:800; transition:.18s ease; }
.acct-tabs button.active { border-color:#0a4b78; background:#0a4b78; color:white; box-shadow:0 7px 16px rgba(10,75,120,.2); }
.acct-refreshing { margin:-4px 0 10px; color:#59748a; font-size:.72rem; }
.acct-stack { display:flex; flex-direction:column; gap:16px; }
.acct-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.acct-stat { min-height:122px; padding:17px; border:1px solid #e1e8ef; border-radius:17px; background:white; box-shadow:0 8px 20px rgba(18,45,69,.06); }
.acct-stat-label { color:#657b8f; font-size:.72rem; font-weight:800; }
.acct-stat-value { margin:11px 0 7px; color:#102a43; font-size:clamp(1.05rem,2vw,1.55rem); font-weight:900; font-variant-numeric:tabular-nums; white-space:nowrap; }
.acct-stat-value.positive,.positive { color:#087d5a; }
.acct-stat-value.negative,.negative { color:#c92a2a; }
.acct-stat-hint { color:#8b9baa; font-size:.65rem; }
.acct-grid-two,.acct-statements-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.acct-panel { padding:20px; border:1px solid #e1e8ef; border-radius:18px; background:white; box-shadow:0 9px 25px rgba(18,45,69,.055); }
.acct-panel-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.acct-panel-head h3,.acct-modal-head h3 { margin:0; font-size:1.08rem; font-weight:900; }
.acct-panel-actions { align-items:flex-end; }
.acct-actions { display:flex; align-items:center; gap:8px; }
.acct-search,.acct-account-picker { min-width:220px; padding:8px 11px; border:1px solid #d7e0e8; border-radius:10px; background:white; font-size:.78rem; }
.acct-equation { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; padding:18px; border-radius:14px; background:#f4f8fb; }
.acct-equation div { display:flex; flex-direction:column; gap:5px; }
.acct-equation span { color:#71869a; font-size:.68rem; }
.acct-equation strong { font-size:.94rem; font-variant-numeric:tabular-nums; }
.acct-equation b { color:#2f6df6; font-size:1.4rem; }
.acct-equation-status { margin-top:10px; padding:8px 11px; border-radius:9px; font-size:.7rem; font-weight:800; }
.acct-equation-status.ok { background:#e9f8f2; color:#087d5a; }
.acct-equation-status.warn { background:#fff3e6; color:#a85b00; }
.acct-muted { color:#6c8193; font-size:.78rem; line-height:1.9; }
.acct-primary,.acct-secondary,.acct-add-line { min-height:40px; padding:8px 15px; border-radius:10px; font-size:.77rem; font-weight:900; }
.acct-primary { border:1px solid #2f6df6; background:#2f6df6; color:white; box-shadow:0 7px 16px rgba(230,0,18,.18); }
.acct-primary:disabled { opacity:.45; cursor:not-allowed; box-shadow:none; }
.acct-secondary { border:1px solid #d4dee7; background:white; color:#40596e; }
.acct-full { width:100%; margin-top:13px; }
.acct-link { padding:4px 7px; border:0; background:transparent; color:#0a5d92; font-size:.72rem; font-weight:900; }
.acct-link.danger { color:#c92a2a; }
.acct-table-wrap { overflow:auto; border:1px solid #e8edf2; border-radius:13px; }
.acct-table { width:100%; border-collapse:collapse; min-width:680px; font-size:.76rem; }
.acct-table th { padding:11px 12px !important; background:#f3f7fa; color:#64798c; text-align:right; font-size:.67rem; font-weight:900; white-space:nowrap; }
.acct-table td { padding:11px 12px !important; border-top:1px solid #edf1f5; color:#29465c; vertical-align:middle; }
.acct-table tbody tr:hover { background:#fbfdff; }
.acct-group-row td { background:#f7fafc; font-weight:900; }
.acct-inactive-row td { opacity:.55; }
.acct-inactive-row .acct-code { text-decoration:line-through; }
.acct-code,.acct-money { direction:ltr; text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.acct-code { color:#0a5d92 !important; font-weight:900; }
.acct-total-row td { background:#edf4f8; font-weight:900; }
.acct-badge { display:inline-flex; align-items:center; padding:4px 8px; border-radius:999px; font-size:.62rem; font-weight:900; white-space:nowrap; }
.acct-badge.success { background:#e8f7f1; color:#087d5a; }
.acct-badge.muted { background:#edf1f4; color:#6b7e8e; }
.acct-badge.danger { background:#ffebed; color:#c92a2a; }
.acct-empty { display:flex; min-height:190px; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:28px; color:#6d8294; text-align:center; }
.acct-empty-icon { color:#2f6df6; font-size:2rem; font-weight:900; }
.acct-empty strong { color:#28475f; }
.acct-empty span { max-width:420px; font-size:.72rem; }
.acct-loading { display:flex; min-height:320px; align-items:center; justify-content:center; gap:12px; color:#607789; }
.acct-ledger-title { display:flex; align-items:center; gap:10px; margin:-3px 0 12px; color:#35556d; font-size:.76rem; }
.acct-ledger-title span { color:#8293a1; }
.acct-statement-block { margin-bottom:16px; border:1px solid #e8edf2; border-radius:13px; overflow:hidden; }
.acct-statement-block h4 { margin:0; padding:10px 12px; background:#f3f7fa; color:#39576e; font-size:.78rem; }
.acct-statement-row,.acct-statement-total,.acct-profit-line { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 12px; font-size:.73rem; }
.acct-statement-row { border-top:1px solid #edf1f5; }
.acct-statement-total { border-top:2px solid #dfe8ef; background:#fbfdfe; font-weight:900; }
.acct-profit-line { margin-top:8px; border-radius:12px; background:#102f47; color:white; font-size:.9rem; font-weight:900; }
.acct-profit-line.positive { background:#087d5a; color:white; }
.acct-profit-line.negative { background:#b4232f; color:white; }
.acct-entry-modal,.acct-account-modal { width:min(1040px,calc(100vw - 24px)); max-height:92vh; overflow:auto; padding:22px; border-radius:20px; background:#fff; box-shadow:0 30px 90px rgba(6,22,36,.32); }
.acct-account-modal { width:min(520px,calc(100vw - 24px)); display:flex; flex-direction:column; gap:13px; }
.acct-account-modal label span,.acct-entry-meta label span { color:#526b80; }
.acct-account-modal input,.acct-account-modal select,.acct-entry-meta input,.acct-line input,.acct-line select { min-height:42px; padding:8px 10px; border:1px solid #d7e0e8; border-radius:9px; background:white; font-size:.76rem; }
.acct-modal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:17px; }
.acct-close { width:36px; height:36px; border:1px solid #e2e8ee; border-radius:10px; background:white; color:#64798c; font-size:1.4rem; }
.acct-entry-meta { display:grid; grid-template-columns:180px 180px 1fr; gap:11px; margin-bottom:16px; }
.acct-lines-wrap { border:1px solid #dfe7ee; border-radius:13px; overflow:auto; }
.acct-line { display:grid; grid-template-columns:minmax(210px,1.45fr) minmax(170px,1.1fr) 125px 125px 40px; gap:7px; min-width:760px; padding:8px; border-top:1px solid #edf1f5; }
.acct-line:first-child { border-top:0; }
.acct-line-head { background:#f3f7fa; color:#64798c; font-size:.66rem; font-weight:900; }
.acct-line-field { display:contents; }
.acct-line-field-label { display:none; }
.acct-line-remove { min-height:40px; border:1px solid #f0d7da; border-radius:9px; background:#fff5f6; color:#c92a2a; font-size:1.1rem; }
.acct-line-remove:disabled { opacity:.35; }
.acct-add-line { margin-top:9px; border:1px dashed #9db4c5; background:#f6fafc; color:#0a5d92; }
.acct-balance-rail { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; margin-top:15px; padding:13px 16px; border:1px solid #f0c5ca; border-radius:13px; background:#fff6f7; }
.acct-balance-rail.balanced { border-color:#b5decf; background:#effaf6; }
.acct-balance-rail > div { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.acct-balance-rail > div:last-child { flex-direction:row-reverse; }
.acct-balance-rail span { color:#71869a; font-size:.68rem; }
.acct-balance-status { justify-content:center !important; color:#ad2c37; font-size:.7rem; font-weight:900; white-space:nowrap; }
.acct-balance-rail.balanced .acct-balance-status { color:#087d5a; }
.acct-modal-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:16px; }
.acct-check { flex-direction:row !important; align-items:center; }
@media (max-width: 980px) {
  .acct-hero { align-items:stretch; flex-direction:column; min-height:0; }
  .acct-tenant-bar { width:100%; }
  .acct-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .acct-grid-two,.acct-statements-grid { grid-template-columns:1fr; }
}
