.accounting{--ac-blue:#1457b4}.account-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:18px 0}.account-toolbar label{display:flex;align-items:center;gap:10px;margin:0;font-size:13px}.account-month input{width:170px}.account-search input{width:260px;max-width:100%}.account-tabs{display:flex;gap:22px;flex-wrap:wrap;border-bottom:1px solid #dae3ee;margin-bottom:22px}.account-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:12px 1px;font:inherit;font-weight:700;color:#65768d;cursor:pointer}.account-tabs button[aria-selected=true]{color:var(--ac-blue);border-color:var(--ac-blue)}.account-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.account-metric{display:flex;flex-direction:column;gap:9px;border:1px solid #dae3ee;border-radius:12px;background:#fff;padding:20px;text-align:left;font:inherit;cursor:pointer}.account-metric.accent{background:#fff;border-color:#dae3ee}.account-metric>span{font-size:13px;color:#526984;font-weight:600}.account-metric strong{font-size:clamp(18px,1.5vw,25px);font-weight:750;color:#18355b;font-variant-numeric:tabular-nums;white-space:nowrap}.account-metric small{font-size:11px;color:#7b8ba0}.account-invoice-prompts{display:flex;gap:12px;margin:16px 0 22px;flex-wrap:wrap}.account-invoice-prompts strong{color:#a94a20;margin-left:12px}.account-bottom-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:20px;margin-top:20px}.account-cash{display:grid;gap:16px;padding:0 22px 22px}.account-cash>span{display:flex;justify-content:space-between;gap:12px}.account-recent{padding:0 22px 10px}.account-recent button{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;border:0;border-bottom:1px solid #edf1f6;background:none;padding:12px 0;text-align:left;font:inherit;font-size:13px;cursor:pointer}.account-recent small{display:block;color:#7b8ba0;margin-top:4px}.account-number{text-align:right!important;white-space:nowrap;font-variant-numeric:tabular-nums}.account-title{background:none;border:0;padding:0;text-align:left;font:inherit;color:#193c67;font-weight:650;cursor:pointer}.account-title:hover{text-decoration:underline}.account-title span{display:block;font-size:12px;color:#7889a0;font-weight:400;margin-top:4px}.account-footnote{margin-top:14px}.account-switch{display:flex;gap:7px}.account-detail{display:grid;gap:23px}.account-detail h2{font-size:20px}.account-detail h3{font-size:15px;margin:0 0 10px}.account-detail p{margin:7px 0 0}.account-balance{background:#edf4ff;border:1px solid #d6e4f8;border-radius:9px;padding:18px;display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:15px}.account-detail .account-balance{margin-bottom:0}.account-balance strong{font-size:25px;color:#1457b4;font-variant-numeric:tabular-nums;white-space:nowrap}.account-balance small{display:block;color:#647b98;margin-top:5px}.account-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0}.account-facts dt{font-size:12px;color:#7889a0}.account-facts dd{margin:4px 0 0;font-weight:650}.account-invoice-box{border:1px solid #dce5ef;background:#f8fafc;border-radius:9px;padding:15px}.account-invoice-box>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.account-invoice-box p{font-size:13px;color:#617692}.account-invoice-fields{border:1px solid #d8e2ef;border-radius:9px;padding:15px;min-width:0}.account-invoice-fields legend{padding:0 7px;font-weight:700}.account-check{display:flex!important;align-items:center;gap:9px;min-height:40px}.account-check input{width:18px!important;min-height:18px;margin:0;flex:none}.account-invoice-fields .form-grid{margin-top:9px}.account-invoice-fields [data-account-invoice-fields][hidden],.account-invoice-fields [hidden]{display:none!important}.account-payments>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e9eef5;padding:12px 0}.account-payments small{display:block;color:#74869d}.account-payments .removed{color:#8894a5;background:#f7f8fa}.account-notes{white-space:pre-wrap;overflow-wrap:anywhere}.account-files{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.account-file{border:1px solid #dce5ef;border-radius:8px;padding:10px;display:flex;align-items:center;gap:10px;max-width:100%;overflow-wrap:anywhere}.account-file a{display:flex;align-items:center;gap:9px}.account-file img{width:84px;height:64px;object-fit:cover;border-radius:5px}.account-file svg{width:24px;height:24px}.account-history{border-top:1px solid #e6edf5;padding-top:16px;color:#74859b;font-size:12px}.account-history summary{cursor:pointer;font-weight:650}.accounting table th{white-space:nowrap}.accounting table td{vertical-align:middle}.accounting .card{overflow:hidden}.accounting .table-wrap{overflow:auto}.accounting input,.accounting select{min-height:38px}.accounting .account-search{flex-wrap:wrap}.accounting button:focus-visible,.account-detail button:focus-visible{outline:3px solid #8ab7f0;outline-offset:2px}.raon-mobile a[href="#accounting"]{display:none!important}@media(max-width:1200px){.account-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.account-bottom-grid{grid-template-columns:1fr}.account-toolbar{align-items:flex-start}.account-tabs{gap:13px}.account-tabs button{font-size:13px}.account-search input{width:220px}.account-balance{align-items:flex-start;flex-wrap:wrap}.account-payments>div{flex-wrap:wrap}.accounting table{min-width:650px}.account-metric{padding:14px}.account-metric strong{font-size:19px}}

.account-money-fields{border:1px solid #d8e2ef;border-radius:9px;padding:15px;min-width:0}.account-money-fields legend{font-weight:700;padding:0 7px}.account-tax-preview{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:12px;padding:14px;background:#edf4ff;border-radius:8px;margin-top:12px}.account-tax-preview span{font-size:12px;color:#526984}.account-tax-preview strong{display:block;margin-top:6px;font-size:16px;color:#18355b}.account-tax-preview span:last-child strong{color:#1457b4}#account-company-create[hidden]{display:none!important}[data-ac-company-status]{margin-left:10px}.accounting .table-wrap .sub{white-space:nowrap}

/* Annual ledger report */
.annual-year,.annual-panel-head,.annual-legend,.annual-metric,.annual-year select{font-variant-numeric:tabular-nums}
.annual-year{display:flex;align-items:center;gap:6px;color:#334b64;font-size:13px;font-weight:650}
.annual-year>span{margin-right:6px}.annual-year select{width:auto;min-width:104px}.annual-year .btn{padding:4px 11px;font-size:19px}
.annual-report{container-type:inline-size}.annual-report>header h2{margin:0;color:#173c65;font-size:24px}.annual-report>header p,.annual-unit,.annual-panel-head>span{font-size:12px;color:#526579}
.annual-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.annual-metric,.annual-panel{background:white;border:1px solid #d7e0e9;border-radius:12px}
.annual-metric{padding:14px 18px;display:grid;gap:6px;border-top:3px solid #667c95}.annual-metric.sales{border-top-color:#c44343}.annual-metric.purchases{border-top-color:#245caf}
.annual-metric span{font-size:13px;font-weight:650;color:#3c536d}.annual-metric strong{font-size:clamp(16px,2vw,26px);color:#173c65;overflow-wrap:anywhere}.annual-metric small{color:#596c80}
.annual-panels{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
@container (min-width:1050px){.annual-panels{grid-template-columns:minmax(0,0.91fr) minmax(0,1.09fr)}}
.annual-panel{min-width:0;padding:16px}.annual-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.annual-panel-head h3{margin:0;color:#173c65;font-size:16px}
.annual-legend{display:flex;gap:12px;font-size:12px;color:#354c64}.annual-legend span::before{content:"";display:inline-block;width:9px;height:9px;border-radius:2px;background:#c44343;margin-right:5px}.annual-legend span+span::before{background:#245caf}
.annual-unit{margin:10px 0 0}.annual-chart svg{display:block;width:100%;height:auto;stroke:none}.annual-chart text{font:14px "Malgun Gothic",sans-serif;fill:#435970}.annual-bar-sales{fill:#c44343}.annual-bar-purchases{fill:#245caf}.annual-gridline{stroke:#dce4ec;stroke-width:1}.annual-empty{font-size:13px;color:#526579;text-align:center}
.annual-table .table-wrap{margin-top:12px}.annual-table table{width:100%;font-variant-numeric:tabular-nums;font-size:13px}.annual-table th,.annual-table td{text-align:right;padding:7px 6px;white-space:nowrap}.annual-table th:first-child{text-align:left}
.annual-table tfoot th,.annual-table tfoot td{background:#e7eff8;color:#173c65;border-top:1px solid #b9cde0;font-weight:700}.annual-month-link{border:0;background:none;padding:2px 3px;color:#185493;text-decoration:underline;text-underline-offset:3px;font:inherit;cursor:pointer}.annual-table .annual-negative{color:#995136}
@media(max-width:650px){.annual-metrics{gap:6px}.annual-metric{padding:9px}.annual-panel{padding:12px}}

/* Neutral actions, with a gray outline retained for the selected ledger view. */
.account-switch .btn.primary{background:#eef1f4;border-color:#aab6c3;color:#24374b}
.annual-legend span:first-child,.annual-metric.sales>span{color:#c44343}
.annual-legend span+span,.annual-metric.purchases>span{color:#245caf}

/* Keep invoice status labels and choices on a single line. */
.account-toolbar .account-invoice-filter{flex:none;white-space:nowrap}.account-invoice-filter>span{flex:none;white-space:nowrap}.account-invoice-filter select{width:auto;min-width:112px}.accounting .badge{white-space:nowrap}
