:root{--bg:#f5f7fb;--panel:#fff;--ink:#162033;--muted:#697586;--border:#e3e8ef;--soft:#f8fafc;--brand:#1d4ed8;--brand2:#0ea5e9;--brand-dark:#102a56;--success:#ecfdf3;--success-text:#027a48;--error:#fef3f2;--error-text:#b42318;--shadow:0 14px 42px rgba(15,23,42,.08);--radius:18px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}a{color:inherit;text-decoration:none}.topbar{height:66px;background:rgba(255,255,255,.9);backdrop-filter:blur(18px);border-bottom:1px solid var(--border);position:fixed;top:0;left:0;right:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.brand a{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:-.02em}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;font-weight:900;box-shadow:0 10px 22px rgba(29,78,216,.26)}.brand-mark.large{width:48px;height:48px;font-size:22px}.userbar{display:flex;align-items:center;gap:12px;color:#475569;font-size:14px;font-weight:700}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:999px;background:#e0edff;color:#1d4ed8;font-weight:900}.logout-link{color:#b42318}.sidebar{position:fixed;top:66px;bottom:0;left:0;width:250px;padding:20px 14px;background:#0f172a;color:#d8e2f0;overflow:auto}.sidebar-title{font-size:11px;text-transform:uppercase;letter-spacing:.16em;color:#94a3b8;font-weight:900;margin:4px 10px 14px}.sidebar a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:13px;margin-bottom:5px;font-weight:750;color:#cbd5e1}.sidebar a:hover,.sidebar a.active{background:rgba(255,255,255,.1);color:#fff}.nav-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.08)}.content{margin-left:250px;padding:92px 28px 28px}.content.full{margin-left:0}.page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.page-title h1{font-size:30px;margin:0;letter-spacing:-.04em}.eyebrow{margin:0 0 5px;color:var(--muted);font-size:12px;letter-spacing:.13em;text-transform:uppercase;font-weight:900}.panel,.card,.summary-tile,.coa-summary-card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.panel{padding:22px;margin-bottom:20px}.clean-panel{box-shadow:0 10px 30px rgba(15,23,42,.06)}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.panel h2{margin:0 0 5px;font-size:20px;letter-spacing:-.02em}.panel p{margin:0}.muted{color:var(--muted)}.grid{display:grid;gap:18px}.cards{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:20px}.card{padding:20px}.card span,.metric-card-v3 span,.summary-tile span{display:block;color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px}.card strong,.metric-card-v3 strong,.summary-tile strong{font-size:26px;letter-spacing:-.03em}.card em{display:block;margin-top:8px;color:#7b8794;font-size:12px;font-style:normal}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end}.form-grid .wide{grid-column:span 2}.form-action{align-self:end}label{display:block;font-size:13px;font-weight:850;color:#344054;margin-bottom:6px}input,select,textarea{width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--ink);outline:none;transition:.18s box-shadow,.18s border-color}textarea{min-height:82px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 4px rgba(59,130,246,.12)}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:#fff;color:#172033;padding:10px 14px;border-radius:12px;cursor:pointer;font-size:14px;font-weight:850;transition:.16s transform,.16s box-shadow;gap:6px}.btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,23,42,.09)}.btn.primary{background:linear-gradient(135deg,var(--brand),var(--brand2));border-color:transparent;color:#fff}.btn.small{padding:7px 10px;font-size:12px;border-radius:10px}.btn.danger{color:#b91c1c;border-color:#fecaca;background:#fff7f7}.alert{padding:12px 14px;border-radius:14px;margin-bottom:16px;border:1px solid var(--border);font-weight:800}.alert.success{background:var(--success);color:var(--success-text);border-color:#bbf7d0}.alert.error{background:var(--error);color:var(--error-text);border-color:#fecaca}.table-responsive{overflow:auto;border-radius:16px;border:1px solid var(--border)}table{width:100%;border-collapse:collapse;background:#fff}th,td{border-bottom:1px solid var(--border);padding:12px 12px;text-align:left;vertical-align:middle}th{background:#f8fafc;font-size:12px;color:#475569;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}tr:last-child td{border-bottom:0}.qbo-table tbody tr:hover{background:#fbfdff}.text-right{text-align:right}.section td{background:#eef2ff;font-weight:850}.footer{margin-left:250px;padding:14px 28px;color:var(--muted);font-size:12px}.full+.footer{margin-left:0}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:900}.status-pill{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:900}.status-active{background:#dcfce7;color:#166534}.status-inactive{background:#fee2e2;color:#991b1b}.switch-line{display:flex;align-items:center;gap:8px;height:43px;padding:0 2px;font-weight:850;color:#334155}.switch-line input{width:auto}.inline-form{display:inline}.amount-mini{font-size:13px;color:#1e293b;white-space:nowrap}.summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.product-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.summary-tile{padding:18px}.summary-tile small{display:block;margin-top:7px;color:var(--muted);line-height:1.4}.coa-name{display:flex;align-items:center;gap:10px;white-space:nowrap}.coa-code{display:inline-flex;align-items:center;border-radius:9px;background:#eef2ff;color:#1d4ed8;font-weight:900;padding:5px 8px;font-size:12px}.tree-wrap{background:#fbfdff;border:1px dashed #cbd5e1;border-radius:16px;padding:14px}.account-tree{list-style:none;margin:0;padding-left:0}.account-tree ul,.account-tree.level-1,.account-tree.level-2,.account-tree.level-3{margin-left:22px;border-left:1px dashed #cbd5e1;padding-left:17px}.account-tree li{margin:9px 0}.tree-node{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff;border:1px solid #e6edf7;border-radius:14px;padding:11px 12px;box-shadow:0 5px 18px rgba(15,23,42,.04)}.tree-main{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tree-code{display:inline-block;background:#0f172a;color:#fff;border-radius:9px;padding:5px 8px;font-size:12px;font-weight:900}.tree-meta{color:#64748b;font-size:12px;font-weight:750}.tree-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.login-page-v3{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 12% 10%,rgba(14,165,233,.35),transparent 28%),radial-gradient(circle at 88% 88%,rgba(29,78,216,.32),transparent 30%),linear-gradient(135deg,#08111f,#102a56 52%,#0f172a)}.login-card-v3{width:min(1080px,100%);display:grid;grid-template-columns:1fr 430px;min-height:620px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:32px;overflow:hidden;box-shadow:0 36px 110px rgba(2,6,23,.5)}.login-visual-v3{padding:56px;color:#fff;background:linear-gradient(135deg,rgba(15,23,42,.72),rgba(29,78,216,.55));display:flex;flex-direction:column;justify-content:center}.login-logo-v3{display:inline-flex;align-items:center;gap:12px;width:max-content;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:8px 13px;font-weight:900}.login-logo-v3 span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;color:#1d4ed8}.login-visual-v3 h1{font-size:48px;line-height:1.04;letter-spacing:-.05em;margin:24px 0 18px;max-width:650px}.login-visual-v3 p{font-size:17px;line-height:1.75;color:#dbeafe;max-width:590px;margin:0}.login-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:34px}.login-feature-grid div{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:18px;padding:15px}.login-feature-grid strong{display:block}.login-feature-grid span{display:block;color:#bfdbfe;font-size:12px;margin-top:5px}.login-form-card-v3{background:#fff;padding:42px;display:flex;flex-direction:column;justify-content:center}.login-form-head{display:flex;gap:12px;align-items:center;margin-bottom:22px}.login-form-head h2{margin:0;font-size:26px;letter-spacing:-.03em}.login-form-head p{margin:4px 0 0;color:var(--muted)}.secure-dot{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#16a34a,#22c55e);box-shadow:0 12px 22px rgba(22,163,74,.2)}.login-form-v3 label{margin-top:13px}.login-btn{width:100%;padding:13px;margin-top:18px}.demo-credentials-v3{margin-top:22px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px;padding:14px}.demo-credentials-v3 span{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:11px;color:#64748b;font-weight:900;margin-bottom:8px}.demo-credentials-v3 strong{display:block;font-size:13px;margin-top:4px}.dashboard-hero-v3{display:flex;justify-content:space-between;align-items:center;gap:20px;border-radius:26px;padding:26px;margin-bottom:20px;background:linear-gradient(135deg,#0f172a,#174ea6 62%,#0ea5e9);color:#fff;box-shadow:0 20px 54px rgba(29,78,216,.22)}.dashboard-hero-v3 span{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.14em;color:#bfdbfe}.dashboard-hero-v3 h2{font-size:30px;margin:8px 0 8px;letter-spacing:-.04em}.dashboard-hero-v3 p{color:#dbeafe;margin:0;max-width:720px}.dashboard-actions-v3{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.dashboard-actions-v3 .btn:not(.primary){background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.26);color:#fff}.metrics-v3{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.metric-card-v3{background:#fff;border:1px solid var(--border);border-radius:20px;padding:20px;box-shadow:var(--shadow);position:relative;overflow:hidden}.metric-card-v3:before{content:"";position:absolute;right:-28px;top:-28px;width:92px;height:92px;border-radius:50%;background:rgba(29,78,216,.08)}.metric-card-v3.good:before{background:rgba(22,163,74,.12)}.metric-card-v3.bad:before{background:rgba(220,38,38,.12)}.metric-card-v3 small{display:block;color:#7b8794;margin-top:8px}.dashboard-layout-v3{display:grid;grid-template-columns:1.35fr .85fr;gap:20px;margin-bottom:20px}.overview-grid-v3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.overview-grid-v3 div{background:#f8fafc;border:1px solid #e6edf7;border-radius:16px;padding:16px}.overview-grid-v3 span,.flow-card-v3 span{display:block;color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.overview-grid-v3 strong,.flow-card-v3 strong{display:block;font-size:22px;margin-top:8px}.flow-card-v3{margin-top:18px;display:grid;gap:10px}.bar-track{height:12px;background:#e8eef8;border-radius:999px;overflow:hidden}.bar-fill{height:100%;border-radius:999px}.bar-fill.income{background:linear-gradient(90deg,#22c55e,#16a34a)}.bar-fill.expense{background:linear-gradient(90deg,#f97316,#dc2626)}.quick-panel-v3 a{display:block;border:1px solid #e6edf7;background:#fbfdff;border-radius:16px;padding:15px;margin-bottom:10px}.quick-panel-v3 a strong{display:block}.quick-panel-v3 a span{display:block;color:var(--muted);font-size:13px;margin-top:4px}.activity-row-v3{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.activity-row-v3:last-child{border-bottom:0}.activity-row-v3>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:999px;background:#eef2ff;color:#1d4ed8;font-weight:900}.activity-row-v3 strong{display:block}.activity-row-v3 small{display:block;color:var(--muted);margin-top:3px}.invoice-form-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:18px}.invoice-form-grid .wide{grid-column:span 3}.line-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:16px;margin-bottom:18px}.invoice-lines input,.invoice-lines select{min-width:100px}.invoice-bottom-grid{display:grid;grid-template-columns:1fr 360px;gap:18px;align-items:start}.totals-card{background:#f8fafc;border:1px solid #e6edf7;border-radius:18px;padding:16px}.totals-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #e6edf7}.totals-card>div:last-of-type{border-bottom:0}.totals-card span{font-weight:850}.totals-card input,.totals-card select{max-width:130px;padding:8px 10px}.inline-controls{display:flex;gap:8px;align-items:center}.total-row strong{font-size:24px}.message-box label:not(:first-child){margin-top:12px}.invoice-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.invoice-preview{max-width:1060px}.invoice-template-head{display:flex;justify-content:space-between;gap:24px;border-bottom:2px solid #0f172a;padding-bottom:22px;margin-bottom:22px}.invoice-template-head h1,.invoice-template-head h2{margin:10px 0 4px}.invoice-company-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:#0f172a;color:#fff;font-weight:900;font-size:22px}.invoice-title{font-size:34px;font-weight:950;letter-spacing:.06em;color:#0f172a}.invoice-address-grid{display:grid;grid-template-columns:1.2fr 1.2fr .8fr;gap:16px;margin-bottom:22px}.invoice-address-grid>div{background:#f8fafc;border:1px solid #e6edf7;border-radius:16px;padding:14px;min-height:100px}.invoice-address-grid span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:950;margin-bottom:8px}.invoice-print-table th,.invoice-print-table td{padding:12px}.invoice-print-table tfoot th{background:#fff}.invoice-print-table .grand-total th{background:#eef2ff;font-size:16px}.invoice-message{margin-top:20px;border-left:4px solid #1d4ed8;background:#f8fafc;padding:14px;border-radius:0 14px 14px 0}.print-body{background:#e5e7eb}.print-toolbar{position:sticky;top:0;z-index:10;display:flex;gap:10px;align-items:center;padding:14px;background:#fff;border-bottom:1px solid var(--border)}.invoice-page{padding:24px}.invoice-paper{width:210mm;min-height:297mm;background:#fff;margin:0 auto;padding:22mm;box-shadow:0 18px 60px rgba(15,23,42,.18)}.invoice-footer-note{margin-top:30px;text-align:center;color:#64748b;border-top:1px solid var(--border);padding-top:14px}@media(max-width:1200px){.cards,.metrics-v3{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout-v3{grid-template-columns:1fr}.product-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-form-grid .wide{grid-column:span 2}.invoice-bottom-grid{grid-template-columns:1fr}}@media(max-width:900px){.sidebar{position:static;width:auto;margin-top:66px;display:flex;flex-wrap:wrap;gap:4px}.sidebar-title{display:none}.content,.footer{margin-left:0}.content{padding-top:24px}.topbar{position:fixed}.sidebar a{display:inline-flex}.login-card-v3{grid-template-columns:1fr}.login-visual-v3{padding:36px;min-height:360px}.login-visual-v3 h1{font-size:36px}.dashboard-hero-v3{display:block}.dashboard-actions-v3{justify-content:flex-start;margin-top:18px}.invoice-address-grid{grid-template-columns:1fr}}@media(max-width:640px){.cards,.metrics-v3,.form-grid,.summary-strip,.product-summary,.overview-grid-v3,.invoice-form-grid{grid-template-columns:1fr}.form-grid .wide,.invoice-form-grid .wide{grid-column:span 1}.content{padding-left:12px;padding-right:12px}.panel{padding:16px}table{font-size:13px}.tree-node{align-items:flex-start;flex-direction:column}.tree-actions{width:100%}.login-page-v3{padding:12px}.login-visual-v3{display:none}.login-form-card-v3{padding:28px}.page-title{display:block}.invoice-paper{width:100%;min-height:auto;padding:18px}.invoice-page{padding:10px}}@media print{.topbar,.sidebar,.no-print,.btn,.footer,.page-title{display:none!important}.content{margin:0;padding:0}.panel{border:0;box-shadow:none}.printable{display:block}body,.print-body{background:#fff}.invoice-page{padding:0}.invoice-paper{width:auto;min-height:auto;margin:0;padding:0;box-shadow:none}.invoice-template-head{break-inside:avoid}a{color:#000}}

/* v4 navigation, login, and names list refinements */
.sidebar-v4{width:272px;padding:16px 14px 22px;background:linear-gradient(180deg,#0b1220,#111827 62%,#0f172a)}
.content{margin-left:272px}.footer{margin-left:272px}.content.full{margin-left:0}.login-page-v4{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 15% 15%,rgba(14,165,233,.28),transparent 30%),radial-gradient(circle at 80% 0%,rgba(37,99,235,.22),transparent 28%),linear-gradient(135deg,#08111f,#0f172a 58%,#102a56);}
.sidebar-company{display:flex;gap:11px;align-items:center;padding:12px;margin:0 0 14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.06);border-radius:16px}.company-dot{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:14px;background:linear-gradient(135deg,#1d4ed8,#0ea5e9);color:#fff;font-weight:950}.sidebar-company strong{display:block;color:#fff;font-size:14px;line-height:1.15}.sidebar-company small{display:block;color:#93a4bb;font-size:11px;margin-top:3px}.sidebar-section{margin:14px 0 4px}.sidebar-section-title{margin:0 8px 7px;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#7c8ca5;font-weight:950}.sidebar-v4 a{padding:10px 11px;margin-bottom:4px;border:1px solid transparent}.sidebar-v4 a.active{background:linear-gradient(135deg,rgba(29,78,216,.95),rgba(14,165,233,.78));box-shadow:0 12px 24px rgba(29,78,216,.22);border-color:rgba(255,255,255,.16)}.sidebar-v4 a:hover{border-color:rgba(255,255,255,.1)}.login-shell-v4{width:min(1060px,100%);display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:0;overflow:hidden;border-radius:34px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);box-shadow:0 36px 110px rgba(2,6,23,.50);backdrop-filter:blur(18px)}.login-brand-v4{padding:58px;color:#fff;background:linear-gradient(135deg,rgba(15,23,42,.78),rgba(30,64,175,.42));display:flex;flex-direction:column;justify-content:center}.login-logo-v4{display:inline-flex;align-items:center;gap:10px;width:max-content;border-radius:999px;padding:8px 13px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);font-weight:950}.login-logo-v4 span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;color:#1d4ed8}.login-brand-v4 h1{margin:26px 0 16px;font-size:48px;line-height:1.03;letter-spacing:-.055em;max-width:620px}.login-brand-v4 p{margin:0;max-width:580px;color:#dbeafe;font-size:17px;line-height:1.75}.login-proof-v4{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:34px}.login-proof-v4 div{padding:15px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.09);border-radius:18px}.login-proof-v4 strong{display:block}.login-proof-v4 small{display:block;margin-top:5px;color:#bfdbfe}.login-panel-v4{background:#fff;padding:44px;display:flex;flex-direction:column;justify-content:center}.login-panel-head-v4{display:flex;gap:13px;align-items:center;margin-bottom:22px}.login-lock-v4{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;color:#fff;background:linear-gradient(135deg,#16a34a,#22c55e);font-weight:950;box-shadow:0 16px 32px rgba(22,163,74,.20)}.login-panel-head-v4 h2{margin:0;font-size:28px;letter-spacing:-.04em}.login-panel-head-v4 p{margin:3px 0 0;color:#697586}.login-form-v4 label{display:block;margin:14px 0 7px;font-weight:850}.login-form-v4 input{height:48px;border-radius:14px}.login-submit-v4{width:100%;height:48px;margin-top:18px}.demo-credentials-v4{margin-top:22px;border:1px solid #e3e8ef;background:#f8fafc;border-radius:18px;padding:15px}.demo-credentials-v4 span{display:block;text-transform:uppercase;letter-spacing:.10em;font-size:11px;color:#64748b;font-weight:950;margin-bottom:10px}.demo-credentials-v4 code{display:block;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:8px 10px;margin-top:7px;color:#111827}.names-summary .summary-tile{display:block}.summary-tile.active-filter{outline:2px solid rgba(29,78,216,.35);background:#eff6ff}.name-type-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;background:#eef2ff;color:#1d4ed8}.name-type-badge.vendor{background:#fff7ed;color:#c2410c}.name-type-badge.employee{background:#ecfdf5;color:#047857}.name-type-badge.other-name{background:#f1f5f9;color:#475569}.names-table small{color:#64748b}.company-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.company-shortcuts a{margin:0}.qbo-table td small a, small a{color:#1d4ed8;font-weight:800}.app-topbar-v4{box-shadow:0 8px 28px rgba(15,23,42,.04)}
@media(max-width:900px){.sidebar-v4{position:static;width:auto;margin-top:66px;display:block}.content,.footer{margin-left:0}.sidebar-company{display:none}.sidebar-section{display:inline}.sidebar-section-title{display:inline-block;margin:8px 10px;color:#94a3b8}.sidebar-v4 a{display:inline-flex}.login-shell-v4{grid-template-columns:1fr}.login-brand-v4{padding:38px}.login-brand-v4 h1{font-size:34px}.company-shortcuts{grid-template-columns:1fr}}
@media(max-width:640px){.login-page-v4{padding:12px}.login-brand-v4{display:none}.login-panel-v4{padding:28px}.login-shell-v4{border-radius:24px}.login-proof-v4{grid-template-columns:1fr}.sidebar-section-title{display:block}.sidebar-v4 a{display:flex}.content{padding-left:12px;padding-right:12px}}

/* v5 AXIS Accounting branding, SaaS, vouchers, drilldown */
:root{--axis:#0ea5e9;--axis-dark:#08111f}.app-topbar-v5{height:68px;background:#fff;border-bottom:1px solid #e5edf6}.brand-v5 a{gap:12px;color:#0f172a}.brand-v5 img{height:34px;width:auto;display:block}.brand-v5 span{font-weight:950;letter-spacing:-.035em}.topbar-right-v5{display:flex;align-items:center;gap:14px}.company-switcher-v5 select{height:38px;border-radius:999px;background:#f8fafc;border:1px solid #dbe3ef;font-weight:850;min-width:210px}.sidebar-v5{width:286px;background:linear-gradient(180deg,#060b14,#0e1b2e 58%,#101827);padding:16px 14px 24px}.content{margin-left:286px}.footer{margin-left:286px}.sidebar-logo-img{width:44px;height:44px;object-fit:contain;background:#fff;border-radius:14px;padding:5px}.sidebar-v5 .sidebar-section{margin-top:13px}.sidebar-v5 a{font-size:13px;padding:9px 10px}.sidebar-v5 a.active{background:linear-gradient(135deg,#0ea5e9,#2563eb);box-shadow:0 16px 34px rgba(14,165,233,.25)}.page-title-v5{align-items:center}.page-company-badge{border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;padding:8px 12px;border-radius:999px;font-weight:900}.login-page-v5{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 20%,rgba(14,165,233,.28),transparent 34%),radial-gradient(circle at 90% 10%,rgba(59,130,246,.24),transparent 30%),linear-gradient(135deg,#020617,#0f172a 62%,#09233a)}.login-shell-v5{width:min(1080px,100%);min-height:650px;display:grid;grid-template-columns:430px 1fr;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:34px;overflow:hidden;box-shadow:0 38px 120px rgba(0,0,0,.44);backdrop-filter:blur(14px)}.login-panel-v5{background:#fff;padding:48px;display:flex;flex-direction:column;justify-content:center}.login-logo-wrap-v5{display:flex;align-items:center;gap:12px;margin-bottom:22px}.login-logo-wrap-v5 img{height:42px;width:auto}.login-logo-wrap-v5 span{font-size:16px;font-weight:950}.login-panel-v5 h1{font-size:40px;line-height:1;margin:0 0 12px;letter-spacing:-.05em}.login-panel-v5 p{color:#64748b;line-height:1.65;margin:0 0 24px}.login-form-v5 label{display:block;margin:14px 0 7px;font-weight:900;color:#334155}.login-form-v5 input{height:50px;border-radius:15px;background:#f8fafc}.login-submit-v5{width:100%;height:50px;margin-top:18px}.demo-credentials-v5{margin-top:22px;padding:15px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px}.demo-credentials-v5 strong{display:block;margin-bottom:8px}.demo-credentials-v5 code{display:block;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:8px 10px;margin-top:6px}.login-visual-v5{position:relative;padding:58px;display:flex;flex-direction:column;justify-content:center;gap:18px;color:#fff;background:linear-gradient(135deg,rgba(14,165,233,.08),rgba(37,99,235,.16))}.login-visual-v5:before{content:"";position:absolute;inset:45px;border:1px solid rgba(255,255,255,.10);border-radius:28px}.visual-card-v5{position:relative;width:min(390px,100%);padding:22px;border:1px solid rgba(255,255,255,.16);border-radius:24px;background:rgba(255,255,255,.10);box-shadow:0 20px 50px rgba(0,0,0,.2)}.visual-card-v5:nth-child(2){margin-left:70px}.visual-card-v5 span,.metric-card-v5 span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#9fb6d3;font-weight:950}.visual-card-v5 strong{display:block;font-size:30px;margin:9px 0}.visual-card-v5 small{color:#dbeafe}.settings-hero-v5{display:flex;justify-content:space-between;align-items:center;gap:18px}.settings-hero-v5>div{display:flex;align-items:center;gap:16px}.settings-hero-v5 img,.brand-preview-v5 img{max-height:58px;max-width:180px;object-fit:contain}.control-box-v5{padding:14px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px}.control-box-v5 label{font-weight:900}.control-box-v5 small{display:block;color:#64748b;margin-top:5px}.brand-preview-v5{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.brand-preview-v5 strong{display:block;font-size:22px}.brand-preview-v5 span{color:#64748b}.dashboard-hero-v5{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:22px;border-radius:26px;background:linear-gradient(135deg,#0f172a,#12305f);color:#fff;box-shadow:0 22px 70px rgba(15,23,42,.16)}.dashboard-company-card-v5{display:flex;align-items:center;gap:18px}.dashboard-company-card-v5 img{width:76px;height:76px;object-fit:contain;border-radius:22px;background:#fff;padding:10px}.dashboard-company-card-v5 span{display:block;color:#b7cff8;font-weight:800}.dashboard-company-card-v5 h2{margin:5px 0;font-size:32px;letter-spacing:-.04em}.dashboard-company-card-v5 p{margin:0;color:#dbeafe}.dashboard-actions-v5{display:flex;gap:10px;flex-wrap:wrap}.metrics-v5{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.metric-card-v5{display:block;text-decoration:none;background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:18px;box-shadow:0 12px 38px rgba(15,23,42,.06);color:#0f172a}.metric-card-v5 strong{display:block;font-size:26px;margin:9px 0;letter-spacing:-.04em}.metric-card-v5 small{color:#64748b}.metric-card-v5.good{border-color:#bbf7d0}.metric-card-v5.bad{border-color:#fecaca}.dashboard-layout-v5{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:18px;margin-bottom:18px}.overview-grid-v5{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.overview-grid-v5 div{padding:16px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.overview-grid-v5 span{display:block;color:#64748b;font-weight:800}.overview-grid-v5 strong{display:block;margin-top:7px;font-size:20px}.flow-card-v5{margin-top:16px}.flow-card-v5>div:not(.bar-track){display:flex;justify-content:space-between;margin:10px 0 7px;font-weight:900}.quick-panel-v5 a{display:block;margin-bottom:10px;padding:14px;border:1px solid #e2e8f0;border-radius:16px;text-decoration:none;color:#0f172a;background:#fff}.quick-panel-v5 strong{display:block}.quick-panel-v5 span{display:block;color:#64748b;margin-top:4px}.voucher-tabs-v5{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.voucher-tabs-v5 a{padding:10px 12px;border-radius:999px;border:1px solid #dbe3ef;text-decoration:none;color:#334155;background:#fff;font-weight:850}.voucher-tabs-v5 a.active{background:#0ea5e9;border-color:#0ea5e9;color:#fff}.voucher-form-v5 textarea{min-height:80px}.amount-link{text-decoration:none;color:#1d4ed8;font-weight:950}.invoice-logo-img{max-height:62px;max-width:220px;object-fit:contain;margin-bottom:8px}.gateway-note-v5{background:linear-gradient(135deg,#eff6ff,#f8fafc);border-color:#bfdbfe}.payment-page-v5{min-height:100vh;display:grid;place-items:center;background:#f1f5f9;padding:24px}.payment-card-v5{width:min(620px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:28px;padding:34px;box-shadow:0 24px 80px rgba(15,23,42,.14)}.payment-card-v5>img{max-height:70px;max-width:220px;object-fit:contain}.payment-total-v5{display:flex;justify-content:space-between;align-items:center;margin:22px 0;padding:18px;border-radius:18px;background:#eff6ff;border:1px solid #bfdbfe}.payment-total-v5 span{font-weight:900;color:#1d4ed8}.payment-total-v5 strong{font-size:26px}.small-note-v5{font-size:12px;margin-top:16px}@media(max-width:1200px){.metrics-v5{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout-v5{grid-template-columns:1fr}.overview-grid-v5{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.sidebar-v5{position:static;width:auto;margin-top:68px}.content,.footer{margin-left:0}.topbar-right-v5{gap:8px}.company-switcher-v5 select{min-width:140px}.login-shell-v5{grid-template-columns:1fr}.login-visual-v5{display:none}.dashboard-hero-v5{display:block}.dashboard-actions-v5{margin-top:16px}.settings-hero-v5{display:block}.settings-hero-v5>a{margin-top:12px}}@media(max-width:640px){.metrics-v5,.overview-grid-v5{grid-template-columns:1fr}.login-panel-v5{padding:28px}.login-shell-v5{border-radius:22px}.dashboard-company-card-v5{align-items:flex-start;flex-direction:column}.dashboard-company-card-v5 h2{font-size:25px}.brand-v5 span{display:none}.topbar-right-v5 .userbar span:not(.avatar){display:none}.company-switcher-v5 select{max-width:130px}.payment-card-v5{padding:22px}}

/* v6 SaaS license pricing and concurrent user controls */
.license-hero-v6{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(135deg,#f8fafc,#eff6ff);border-color:#bfdbfe}.license-hero-v6 h2{font-size:30px;letter-spacing:-.04em;margin:5px 0 8px}.license-kicker{display:inline-flex;padding:6px 10px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-weight:950;font-size:12px;text-transform:uppercase;letter-spacing:.12em}.license-live-v6{min-width:160px;text-align:center;padding:18px;border:1px solid #dbeafe;border-radius:22px;background:#fff;box-shadow:0 16px 45px rgba(37,99,235,.10)}.license-live-v6 span{display:block;color:#64748b;font-weight:900;font-size:12px;text-transform:uppercase}.license-live-v6 strong{display:block;font-size:34px;line-height:1;margin:8px 0;color:#0f172a}.license-live-v6 small{color:#64748b}.license-grid-v6{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.7fr);gap:18px;margin-bottom:18px}.license-guide-v6 ol{margin:0 0 16px;padding-left:22px}.license-guide-v6 li{margin:10px 0;color:#334155;font-weight:750}.license-note-v6{padding:14px;border:1px dashed #93c5fd;border-radius:16px;background:#eff6ff;color:#1e3a8a;font-weight:800}.license-table-v6 td{vertical-align:top}.badge.blue{background:#dbeafe;color:#1d4ed8}.muted-badge{background:#f1f5f9;color:#64748b}.company-license-form-v6{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:7px;min-width:360px}.company-license-form-v6 select,.company-license-form-v6 input{height:34px;border-radius:10px;font-size:12px}.company-license-form-v6 button{grid-column:1/-1}@media(max-width:1100px){.license-grid-v6{grid-template-columns:1fr}.company-license-form-v6{min-width:260px;grid-template-columns:1fr}}@media(max-width:700px){.license-hero-v6{display:block}.license-live-v6{margin-top:14px}.company-license-form-v6{min-width:0}}

/* v7 report drilldown to original transactions */
.report-v7 .drill-link-v7,.report-drilldown-v7 a,.transaction-open-card a{color:#1d4ed8;font-weight:900;text-decoration:none}.report-v7 .drill-link-v7:hover,.report-drilldown-v7 a:hover,.transaction-open-card a:hover{text-decoration:underline}.actions-inline{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.source-chip-v7{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:999px;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;font-size:12px;font-weight:950;white-space:nowrap}.drill-table-v7 td{vertical-align:top}.transaction-open-card h3{margin:22px 0 10px}.transaction-head-v7{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.transaction-head-v7 div{padding:16px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.transaction-head-v7 span{display:block;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:950;margin-bottom:7px}.transaction-head-v7 strong{font-size:20px;letter-spacing:-.02em}.transaction-meta-v7{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.transaction-meta-v7 p{padding:12px 14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;margin:0}.transaction-meta-v7 strong{color:#334155}@media(max-width:900px){.transaction-head-v7,.transaction-meta-v7{grid-template-columns:1fr}.actions-inline{justify-content:flex-start}}

/* v9 responsive top menu bar mirroring the sidebar groups */
.menu-bar-v9{position:fixed;top:68px;left:0;right:0;z-index:49;height:56px;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid #e5edf6;box-shadow:0 10px 28px rgba(15,23,42,.05)}
.menu-bar-scroll-v9{width:100%;height:100%;display:flex;align-items:center;gap:8px;overflow-x:auto;overflow-y:visible;padding:8px 24px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.menu-bar-scroll-v9::-webkit-scrollbar{height:7px}.menu-bar-scroll-v9::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.menu-bar-group-v9{position:relative;flex:0 0 auto}.menu-bar-group-v9 summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:38px;padding:9px 15px;border:1px solid #dbe3ef;border-radius:999px;background:#f8fafc;color:#334155;font-size:13px;font-weight:950;cursor:pointer;white-space:nowrap;user-select:none;box-shadow:0 8px 18px rgba(15,23,42,.03)}
.menu-bar-group-v9 summary::-webkit-details-marker{display:none}.menu-bar-group-v9 summary:after{content:'⌄';font-size:12px;color:#64748b}.menu-bar-group-v9[open] summary,.menu-bar-group-v9.active summary{background:linear-gradient(135deg,#0ea5e9,#2563eb);border-color:transparent;color:#fff;box-shadow:0 14px 30px rgba(14,165,233,.22)}.menu-bar-group-v9[open] summary:after,.menu-bar-group-v9.active summary:after{color:#fff}.menu-bar-dropdown-v9{position:absolute;top:calc(100% + 10px);left:0;min-width:245px;padding:9px;border:1px solid #dbe3ef;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.18);z-index:70}.menu-bar-dropdown-v9 a{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:13px;color:#334155;font-size:13px;font-weight:850;white-space:nowrap}.menu-bar-dropdown-v9 a:hover,.menu-bar-dropdown-v9 a.active{background:#eff6ff;color:#1d4ed8}.menu-bar-dropdown-v9 .nav-icon{background:#f1f5f9;color:#1d4ed8}.sidebar-v5{top:124px}.content{padding-top:146px}.content.full{padding-top:92px}
@media(max-width:1100px){.menu-bar-scroll-v9{padding-left:16px;padding-right:16px}.menu-bar-group-v9 summary{padding-left:13px;padding-right:13px}}
@media(max-width:900px){.menu-bar-v9{top:68px;height:58px}.menu-bar-scroll-v9{padding:9px 12px;gap:7px}.menu-bar-dropdown-v9{position:fixed;top:132px;left:12px;right:12px;min-width:0;max-height:calc(100vh - 148px);overflow:auto}.sidebar-v5{display:none!important}.content,.footer{margin-left:0!important}.content{padding:144px 14px 22px}.content.full{padding-top:92px}.page-title-v5{display:block}.page-company-badge{display:inline-flex;margin-top:10px}.topbar{padding-left:12px;padding-right:12px}}
@media(max-width:640px){.menu-bar-group-v9 summary{min-height:36px;padding:8px 12px;font-size:12px}.menu-bar-dropdown-v9 a{white-space:normal}.company-switcher-v5{display:none}.topbar-right-v5 .logout-link{font-size:12px}.userbar{gap:8px}.page-title h1{font-size:24px}}
@media print{.menu-bar-v9{display:none!important}.content{padding-top:0!important}}
.gl-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.general-ledger-modern .table-responsive{max-height:none}.gl-report-table th,.gl-report-table td{white-space:nowrap}.gl-report-table td:nth-child(5),.gl-report-table td:nth-child(6){white-space:normal;min-width:180px}.gl-account-row td{background:#eaf4ff;color:#0f3b6d;font-size:14px;letter-spacing:.01em}.gl-balance-row td{background:#fbfdff;color:#475569;font-weight:800}.gl-total-row td{background:#f8fafc;font-weight:900;border-top:2px solid #d9e2ec}.report-period{font-size:12px;font-weight:900;color:#64748b;background:#f8fafc;border:1px solid var(--border);border-radius:999px;padding:8px 12px}@media(max-width:1100px){.gl-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.gl-filter-grid{grid-template-columns:1fr}.general-ledger-modern .table-responsive{overflow:auto}.gl-report-table{min-width:1080px}.report-period{display:none}}

/* v11 report export/email controls */
.report-action-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 1px solid #e7edf3;
    margin-top: 12px;
}
.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
}
.checkbox-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 700;
}
@media (max-width: 720px) {
    .report-action-bar { justify-content: stretch; }
    .report-action-bar .btn { flex: 1 1 46%; text-align: center; }
}

/* v12 searchable tree/multi-select controls */
.tree-select-shell-v12 { display: grid; gap: 6px; }
.tree-select-toolbar-v12 { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tree-select-search-v12 { width: 100%; border: 1px solid var(--border, #d8e1ea); border-radius: 10px; padding: 9px 11px; font-size: 13px; background: #fff; }
.tree-select-control { min-height: 42px; }
.tree-select-control[multiple] { min-height: 150px; padding: 7px; }
.tree-select-toolbar-v12 .mini-btn-v12 { border: 1px solid #d8e1ea; background: #fff; border-radius: 999px; padding: 5px 9px; cursor: pointer; font-size: 12px; color: #345; }
.tree-select-toolbar-v12 .mini-btn-v12:hover { background: #f3f7fb; }
.tree-select-help-v12 { color: #708090; font-size: 12px; }
.tree-list-toolbar-v12 { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0 14px; }
.tree-list-toolbar-v12 input { max-width: 360px; }
.qbo-tree-list-v12 ul { list-style: none; margin: 0; padding-left: 22px; }
.qbo-tree-list-v12 > ul { padding-left: 0; }
.qbo-tree-list-v12 li { margin: 7px 0; }
.qbo-tree-node-v12 { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.qbo-tree-node-v12 .node-meta-v12 { color: #64748b; font-size: 12px; margin-top: 2px; }
.qbo-tree-actions-v12 { display:flex; gap:6px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
@media (max-width: 720px) {
  .qbo-tree-node-v12 { grid-template-columns: 1fr; }
  .qbo-tree-actions-v12 { justify-content:flex-start; }
  .tree-select-control[multiple] { min-height: 120px; }
}

/* AXIS Accounting v13: transaction attachments */
.attachment-upload-v13 {
    border: 1px dashed #b9c6d5;
    border-radius: 14px;
    padding: 14px 16px;
    background: #f8fbff;
}
.attachment-upload-v13 label {
    display: block;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}
.attachment-upload-v13 input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #d7dee8;
    border-radius: 10px;
    background: #fff;
}
.attachment-upload-v13 small {
    display: block;
    margin-top: 8px;
    color: #64748b;
    line-height: 1.45;
}
.attachments-panel-v13 .panel-heading {
    margin-bottom: 8px;
}
.attachment-list-v13 {
    display: grid;
    gap: 10px;
}
.attachment-item-v13 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
}
.attachment-item-v13 strong {
    display: block;
    color: #102033;
    word-break: break-word;
}
.attachment-item-v13 small {
    display: block;
    color: #64748b;
    margin-top: 3px;
}
.existing-attachments-v13 {
    margin-top: 12px;
}
.existing-attachments-v13 > strong {
    display: block;
    margin-bottom: 8px;
}
.existing-attachments-v13 .attachments-panel-v13 {
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
}
@media (max-width: 700px) {
    .attachment-item-v13 { align-items: flex-start; flex-direction: column; }
}

/* v14 numbering settings */
.numbering-table-v14 input,
.numbering-table-v14 select {
    width: 100%;
    min-width: 72px;
    padding: 7px 8px;
    border: 1px solid #d6dee6;
    border-radius: 8px;
    background: #fff;
}
.numbering-table-v14 td:first-child small {
    display: block;
    color: #6b7280;
    margin-top: 3px;
}
.numbering-table-v14 code {
    display: inline-block;
    white-space: nowrap;
    background: #eef8fb;
    color: #075985;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 5px 9px;
    font-weight: 700;
}
@media (max-width: 900px) {
    .numbering-table-v14 input,
    .numbering-table-v14 select { min-width: 96px; }
}

/* v16 Opening Balance UI */
.ob-grid-v16{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px}.compact-form-v16 textarea{min-height:72px}.opening-balance-summary-v16 .summary-tile strong{font-size:1rem}.system-account-v16{display:inline-flex;align-items:center;gap:6px}.qbo-table .badge,.badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 9px;background:#eef4ff;color:#1f3b73;font-weight:700;font-size:.78rem}@media(max-width:980px){.ob-grid-v16{grid-template-columns:1fr}}

/* v17 report header: company name, report title and period centered on every report */
.report-title-block-v17 {
    text-align: center;
    margin: 0 0 18px;
    padding: 2px 12px 15px;
    border-bottom: 1px solid #e1e8f0;
}
.report-company-name-v17 {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: .01em;
    color: #0f172a;
    line-height: 1.2;
}
.report-name-v17 {
    margin-top: 5px;
    font-size: 1.08rem;
    font-weight: 800;
    color: #172033;
    line-height: 1.25;
}
.report-period-v17 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #f3f7fb;
    border: 1px solid #dce6ef;
    color: #607086;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.report-note-v17 {
    text-align: center;
    margin: -6px 0 14px;
}
@media (max-width: 720px) {
    .report-title-block-v17 { padding-left: 4px; padding-right: 4px; margin-bottom: 14px; }
    .report-company-name-v17 { font-size: 1.15rem; }
    .report-name-v17 { font-size: 1rem; }
    .report-period-v17 { font-size: .68rem; padding: 5px 9px; white-space: normal; }
}
@media print {
    .report-title-block-v17 { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #222; }
    .report-company-name-v17 { font-size: 18px; color: #000; }
    .report-name-v17 { font-size: 15px; color: #000; }
    .report-period-v17 { background: transparent; border: 0; color: #000; padding: 0; margin-top: 4px; }
}

/* AXIS Accounting v18: single-row searchable tree dropdowns */
.tree-select-single-v18 {
    display: block;
}
.tree-select-single-v18 .tree-select-toolbar-v12 {
    display: grid;
    grid-template-columns: minmax(130px, 0.95fr) minmax(150px, 1.05fr);
    gap: 0;
    align-items: stretch;
    width: 100%;
}
.tree-select-single-v18 .tree-select-search-v12,
.tree-select-single-v18 .tree-select-control {
    min-height: 44px;
    height: 44px;
    margin: 0;
    font-size: 14px;
}
.tree-select-single-v18 .tree-select-search-v12 {
    border-radius: 12px 0 0 12px;
    border-right: 0;
    background: #fbfdff;
}
.tree-select-single-v18 .tree-select-control {
    border-radius: 0 12px 12px 0;
    padding-left: 12px;
}
.entry-table .tree-select-single-v18 .tree-select-toolbar-v12,
.qbo-table .tree-select-single-v18 .tree-select-toolbar-v12 {
    min-width: 280px;
}
.entry-table td,
.qbo-table td {
    vertical-align: top;
}
@media (max-width: 720px) {
    .tree-select-single-v18 .tree-select-toolbar-v12 {
        grid-template-columns: minmax(118px, 0.95fr) minmax(126px, 1.05fr);
    }
    .tree-select-single-v18 .tree-select-search-v12,
    .tree-select-single-v18 .tree-select-control {
        min-height: 42px;
        height: 42px;
        font-size: 13px;
    }
    .entry-table .tree-select-single-v18 .tree-select-toolbar-v12,
    .qbo-table .tree-select-single-v18 .tree-select-toolbar-v12 {
        min-width: 250px;
    }
}


/* AXIS Accounting v19: improved Journal Entry layout */
.journal-lines-wrap-v19 {
    margin-top: 16px;
    border-radius: 16px;
}
.journal-entry-table-v19 {
    min-width: 1380px;
}
.journal-entry-table-v19 th,
.journal-entry-table-v19 td {
    vertical-align: top;
}
.journal-entry-table-v19 th:nth-child(1),
.journal-entry-table-v19 td:nth-child(1) { min-width: 280px; }
.journal-entry-table-v19 th:nth-child(2),
.journal-entry-table-v19 td:nth-child(2) { min-width: 220px; }
.journal-entry-table-v19 th:nth-child(3),
.journal-entry-table-v19 td:nth-child(3),
.journal-entry-table-v19 th:nth-child(4),
.journal-entry-table-v19 td:nth-child(4),
.journal-entry-table-v19 th:nth-child(5),
.journal-entry-table-v19 td:nth-child(5),
.journal-entry-table-v19 th:nth-child(6),
.journal-entry-table-v19 td:nth-child(6) { min-width: 210px; }
.journal-entry-table-v19 th:nth-child(7),
.journal-entry-table-v19 td:nth-child(7),
.journal-entry-table-v19 th:nth-child(8),
.journal-entry-table-v19 td:nth-child(8) { min-width: 135px; }
.journal-line-actions-v19 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0 16px;
}
.journal-attachment-bottom-v19 {
    margin-top: 18px;
}
.button-row-v19 {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
}
@media (max-width: 720px) {
    .journal-line-actions-v19 .muted { width: 100%; }
    .button-row-v19 .btn { flex: 1 1 100%; }
}

/* AXIS Accounting v20: Chart of Accounts create form is hidden until requested */
.coa-action-bar-v20 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
}
@media (max-width: 720px) {
    .coa-action-bar-v20 .btn,
    .panel-heading .btn.primary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* v26 voucher row-entry improvements */
.voucher-form-v26 .form-grid{margin-bottom:18px}
.voucher-lines-wrap-v26{margin-top:10px;border:1px solid var(--line);border-radius:18px;background:#fff;overflow:auto}
.voucher-entry-table-v26{min-width:1280px;margin:0;border-collapse:separate;border-spacing:0;width:100%}
.voucher-entry-table-v26 th{position:sticky;top:0;background:#f8fafc;z-index:1;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#475569}
.voucher-entry-table-v26 td,.voucher-entry-table-v26 th{padding:10px;border-bottom:1px solid #e5e7eb;vertical-align:top}
.voucher-entry-table-v26 td:first-child,.voucher-entry-table-v26 th:first-child{min-width:240px}
.voucher-entry-table-v26 td:nth-child(2),.voucher-entry-table-v26 th:nth-child(2){min-width:220px}
.voucher-entry-table-v26 td:nth-child(3),.voucher-entry-table-v26 th:nth-child(3){min-width:200px}
.voucher-entry-table-v26 input,.voucher-entry-table-v26 select{min-width:130px}
.voucher-entry-table-v26 .tree-select-shell-v12{min-width:190px}
.voucher-entry-table-v26 td:nth-last-child(1) input,.voucher-entry-table-v26 td:nth-last-child(2) input{min-width:120px;text-align:right}
.voucher-line-actions-v26{display:flex;align-items:center;gap:12px;margin:12px 0 18px}
.voucher-attachment-bottom-v26{margin-top:18px;border-top:1px dashed #cbd5e1;padding-top:16px}
.voucher-button-row-v26{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
@media (max-width: 760px){
  .voucher-lines-wrap-v26{border-radius:14px}
  .voucher-entry-table-v26{min-width:1120px}
  .voucher-line-actions-v26{align-items:flex-start;flex-direction:column}
}

/* v27 subscription/company login separation */
.company-chip-v27{display:flex;flex-direction:column;gap:2px;padding:8px 12px;border:1px solid #e4ebf5;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04);font-size:12px;color:#64748b;line-height:1.1}.company-chip-v27 strong{font-size:14px;color:#0f172a;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subscription-link-v27{margin-top:16px;text-align:center}.subscription-link-v27 a{font-weight:800;color:#0ea5e9;text-decoration:none}.subscription-panel-v27{margin:0;background:#f4f8fb;color:#0f172a;font-family:Inter,Arial,sans-serif}.subscription-topbar-v27{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 28px;background:rgba(255,255,255,.96);border-bottom:1px solid #e5edf6;box-shadow:0 12px 32px rgba(15,23,42,.05);backdrop-filter:blur(10px)}.subscription-topbar-v27 .brand img{height:44px}.subscription-user-v27{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-weight:700}.subscription-content-v27{max-width:1280px;margin:0 auto;padding:28px}.subscription-content-v27.narrow-v27{max-width:680px}.subscription-title-v27{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.subscription-title-v27 h1{font-size:34px;margin:0;color:#0f172a}.subscription-company-form-v27 .form-section-title-v27{padding-top:14px;margin-top:8px;border-top:1px solid #e5edf6;font-size:16px;font-weight:900;color:#0f172a}.compact-plan-form-v27{padding:16px;border:1px dashed #d7e2ef;border-radius:18px;background:#fbfdff;margin-bottom:18px}.subscription-panel-v27 .qbo-table td{vertical-align:top}.dual-login-v27 .login-panel-v5,.subscription-login-v27 .login-panel-v5{box-shadow:0 28px 80px rgba(15,23,42,.16)}
@media (max-width: 760px){.subscription-topbar-v27{padding:14px 16px;align-items:flex-start}.subscription-user-v27{justify-content:flex-end}.subscription-content-v27{padding:16px}.subscription-title-v27{display:block}.subscription-title-v27 h1{font-size:28px}.company-chip-v27{display:none}.subscription-company-form-v27{grid-template-columns:1fr!important}.compact-plan-form-v27{grid-template-columns:1fr!important}}

/* AXIS Accounting v28: cleaned navigation groups, collapsible sidebar and desktop-safe top menu */
.menu-bar-v9{z-index:160;overflow:visible!important}.menu-bar-scroll-v9{overflow-x:auto;overflow-y:visible!important}.menu-bar-group-v9{position:relative}.menu-bar-dropdown-v9{z-index:500}.menu-bar-dropdown-v9.v28-fixed{position:fixed!important;top:auto;left:auto;right:auto;max-height:calc(100vh - 92px);overflow:auto}.sidebar-section-v28{margin:12px 0 6px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:rgba(255,255,255,.025);overflow:hidden}.sidebar-section-v28[open]{background:rgba(255,255,255,.045)}.sidebar-section-title-v28{display:flex!important;align-items:center;justify-content:space-between;gap:10px;margin:0!important;padding:10px 11px!important;cursor:pointer;user-select:none;color:#aab8cc!important;letter-spacing:.14em!important}.sidebar-section-title-v28::-webkit-details-marker{display:none}.sidebar-section-title-v28::marker{content:''}.sidebar-section-title-v28:hover{background:rgba(255,255,255,.04);color:#fff!important}.sidebar-section-v28.active .sidebar-section-title-v28{color:#fff!important}.sidebar-chevron-v28{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:rgba(255,255,255,.06);font-size:12px;transition:transform .18s ease}.sidebar-section-v28[open] .sidebar-chevron-v28{transform:rotate(180deg)}.sidebar-section-items-v28{padding:0 7px 8px}.sidebar-section-items-v28 a{margin-bottom:4px}.sidebar-section-v28:not([open]) .sidebar-section-items-v28{display:none}.sidebar-v5 .sidebar-section-v28 a.active{background:linear-gradient(135deg,#0ea5e9,#2563eb);box-shadow:0 16px 34px rgba(14,165,233,.25)}
@media(max-width:900px){.menu-bar-dropdown-v9.v28-fixed{top:auto!important;left:12px!important;right:12px!important;max-height:calc(100vh - 148px)}}
@media print{.sidebar-section-v28,.menu-bar-dropdown-v9.v28-fixed{display:none!important}}

/* AXIS Accounting v31 - bulk opening balance entry */
.ob-bulk-panel-v31 { margin-bottom: 18px; }
.ob-tabs-v31 { display:flex; flex-wrap:wrap; gap:8px; margin: 0 0 14px; border-bottom:1px solid var(--border, #dfe6ee); padding-bottom:10px; }
.ob-tabs-v31 button { border:1px solid var(--border, #dfe6ee); background:#fff; color:#24364b; border-radius:999px; padding:9px 16px; font-weight:700; cursor:pointer; }
.ob-tabs-v31 button.active { background:#0b6bcb; border-color:#0b6bcb; color:#fff; box-shadow:0 8px 18px rgba(11,107,203,.18); }
.ob-tab-panel-v31 { display:none; }
.ob-tab-panel-v31.active { display:block; }
.bulk-toolbar-v31 { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; margin: 0 0 12px; background:#f7fafc; border:1px solid #e6edf5; border-radius:14px; padding:12px; }
.bulk-toolbar-v31 label { display:flex; align-items:center; gap:8px; font-weight:700; color:#304155; }
.bulk-ob-table-v31 { min-width: 980px; }
.bulk-ob-table-v31 td { vertical-align:top; }
.bulk-ob-table-v31 td:first-child { width:42px; text-align:center; color:#6b7b8d; font-weight:700; }
.bulk-ob-table-v31 input, .bulk-ob-table-v31 select { width:100%; min-width: 120px; }
.bulk-ob-table-v31 .tree-select-shell-v12 { min-width: 260px; }
.bulk-ob-table-v31[data-bulk-table="product"] .tree-select-shell-v12 { min-width: 220px; }
.bulk-ob-table-v31[data-bulk-table="product"] td:nth-child(7) .tree-select-shell-v12 { min-width: 190px; }
.muted-btn-v31 { color:#6b7b8d; border-color:#d7e0ea; background:#fff; }
.single-opening-panel-v31 { margin: 16px 0; }
.single-opening-summary-v31 { cursor:pointer; display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; padding:12px 0; }
.single-opening-grid-v31 { margin-top:14px; }
@media (max-width: 768px) {
  .bulk-toolbar-v31 { align-items:stretch; }
  .bulk-toolbar-v31 label, .bulk-toolbar-v31 .btn { width:100%; justify-content:space-between; }
  .ob-tabs-v31 button { flex: 1 1 45%; }
}

/* AXIS Accounting v34: dashboard report widgets similar to the requested fund/working-capital snapshot */
.dashboard-report-grid-v34{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);
    gap:18px;
    margin-bottom:18px;
}
.dashboard-report-card-v34{
    min-height:220px;
    overflow:hidden;
}
.dashboard-card-title-v34{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:16px;
}
.dashboard-card-title-v34 h2{
    margin:0 0 3px;
    font-size:20px;
    letter-spacing:-.03em;
}
.dashboard-card-title-v34 p{margin:0;}
.dash-card-icon-v34{
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:12px;
    background:#e9fbf1;
    color:#16a34a;
    font-weight:900;
}
.dash-card-icon-v34.blue{
    background:#eef4ff;
    color:#2563eb;
}
.fund-layout-v34{
    display:grid;
    grid-template-columns:minmax(260px,.75fr) minmax(260px,1fr);
    gap:20px;
    align-items:center;
}
.fund-summary-v34{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.fund-box-v34{
    display:block;
    min-height:88px;
    padding:16px;
    border:1px solid #e2e8f0;
    border-radius:16px;
    background:#fff;
    box-shadow:0 8px 20px rgba(15,23,42,.04);
}
.fund-box-v34 span,
.working-capital-numbers-v34 span{
    display:block;
    text-transform:uppercase;
    color:#64748b;
    font-size:12px;
    letter-spacing:.08em;
    font-weight:950;
    margin-bottom:8px;
}
.fund-box-v34 strong,
.working-capital-numbers-v34 strong{
    display:block;
    word-break:break-word;
    font-size:20px;
    letter-spacing:-.03em;
}
.fund-box-v34.cash strong{color:#059669;}
.fund-box-v34.bank strong{color:#2563eb;}
.fund-box-v34.total{
    grid-column:1 / -1;
    background:#f8fafc;
}
.fund-box-v34.total strong{font-size:22px;}
.donut-panel-v34{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    min-height:170px;
}
.donut-panel-v34.compact{
    flex-direction:column;
    min-height:150px;
}
.donut-v34{
    width:150px;
    height:150px;
    border-radius:50%;
    position:relative;
    flex:0 0 auto;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,.03), 0 10px 28px rgba(15,23,42,.08);
}
.donut-v34:after{
    content:"";
    position:absolute;
    inset:34px;
    background:#fff;
    border-radius:50%;
    box-shadow:inset 0 0 0 1px #eef2f7;
}
.wc-donut-v34{width:118px;height:118px;}
.wc-donut-v34:after{inset:29px;}
.donut-legend-v34{
    display:grid;
    gap:9px;
    color:#64748b;
    font-weight:850;
    white-space:nowrap;
}
.donut-legend-v34 span{
    display:flex;
    align-items:center;
    gap:8px;
}
.donut-legend-v34 b{
    display:inline-block;
    width:11px;
    height:11px;
    border-radius:999px;
}
.cash-dot-v34,.ca-dot-v34{background:#22c55e;}
.bank-dot-v34{background:#38bdf8;}
.cl-dot-v34{background:#ef4444;}
.working-capital-grid-v34{
    display:grid;
    grid-template-columns:minmax(0,1fr) 165px;
    gap:14px;
    align-items:center;
}
.working-capital-numbers-v34{
    display:grid;
    gap:10px;
}
.working-capital-numbers-v34>div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:11px 0;
    border-bottom:1px solid #eef2f7;
}
.working-capital-numbers-v34>div.net{
    border-bottom:0;
    margin-top:4px;
    padding-top:14px;
    border-top:1px solid #dbe3ef;
}
.working-capital-numbers-v34 span{margin:0;}
.working-capital-numbers-v34 strong{font-size:16px;text-align:right;}
.working-capital-numbers-v34 .net strong{font-size:19px;}
.positive-v34{color:#15803d;}
.negative-v34{color:#dc2626;}
.outstanding-grid-v34{grid-template-columns:repeat(2,minmax(0,1fr));}
.dashboard-list-v34{
    display:grid;
    gap:10px;
}
.dashboard-list-row-v34{
    display:grid;
    grid-template-columns:34px minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
    padding:12px;
    border:1px solid #e2e8f0;
    border-radius:16px;
    background:#fff;
}
.dashboard-list-row-v34:hover{
    background:#f8fbff;
    border-color:#bfdbfe;
}
.rank-v34{
    display:grid;
    place-items:center;
    width:28px;
    height:28px;
    border-radius:999px;
    background:#f1f5f9;
    color:#475569;
    font-size:12px;
    font-weight:950;
}
.name-v34{min-width:0;}
.name-v34 strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.name-v34 small{
    display:block;
    color:#64748b;
    margin-top:3px;
    font-size:12px;
}
.amount-v34{
    font-weight:950;
    color:#0f172a;
    white-space:nowrap;
    text-align:right;
}
.empty-dashboard-v34{
    padding:16px;
    border:1px dashed #cbd5e1;
    border-radius:16px;
    background:#f8fafc;
    color:#64748b;
    font-weight:800;
}
@media(max-width:1200px){
    .dashboard-report-grid-v34,
    .outstanding-grid-v34{grid-template-columns:1fr;}
}
@media(max-width:720px){
    .fund-layout-v34,
    .working-capital-grid-v34{grid-template-columns:1fr;}
    .fund-summary-v34{grid-template-columns:1fr;}
    .donut-panel-v34{flex-direction:column;gap:12px;}
    .donut-v34{width:126px;height:126px;}
    .donut-v34:after{inset:29px;}
    .dashboard-list-row-v34{grid-template-columns:28px minmax(0,1fr);}
    .amount-v34{grid-column:2;text-align:left;}
    .working-capital-numbers-v34>div{align-items:flex-start;flex-direction:column;gap:3px;}
    .working-capital-numbers-v34 strong{text-align:left;}
}

/* AXIS Accounting v35 - QuickBooks-style Balance Sheet */
.balance-sheet-qbo-v35{max-width:980px;margin-left:auto;margin-right:auto;}
.balance-sheet-wrap-v35{border:0;overflow:auto;}
.balance-sheet-table-v35{border-collapse:collapse;min-width:640px;}
.balance-sheet-table-v35 th{background:#fff;color:#475569;border-bottom:2px solid #172033;font-size:12px;letter-spacing:.08em;}
.balance-sheet-table-v35 td{border-bottom:1px solid #edf2f7;padding:9px 12px;vertical-align:top;}
.balance-sheet-table-v35 tr:hover{background:#fff;}
.balance-sheet-table-v35 td:first-child{font-weight:650;color:#172033;}
.balance-sheet-table-v35 td:first-child small{display:block;color:#94a3b8;font-weight:700;margin-top:2px;font-size:11px;}
.balance-sheet-table-v35 a{color:#0f3b6d;font-weight:800;}
.bs-section-row-v35 td{background:#f8fafc!important;color:#0f172a!important;font-weight:950!important;text-transform:uppercase;letter-spacing:.08em;border-top:1px solid #dbe3ef;}
.bs-major-row-v35 td{font-weight:900!important;color:#1f2937!important;background:#fff!important;}
.bs-group-row-v35 td{font-weight:850!important;color:#334155!important;background:#fff!important;}
.bs-account-row-v35 td{font-weight:600!important;background:#fff!important;}
.bs-group-total-row-v35 td{font-weight:900!important;border-top:1px solid #e2e8f0;background:#fbfdff!important;}
.bs-major-total-row-v35 td{font-weight:950!important;border-top:1px solid #cbd5e1;background:#f8fafc!important;}
.bs-account-total-row-v35 td{font-weight:850!important;background:#fff!important;}
.bs-grand-row-v35 td,.bs-grand.final-row-v35 td{font-weight:1000!important;border-top:2px solid #172033!important;border-bottom:2px solid #172033!important;background:#eef6ff!important;color:#0f172a!important;text-transform:uppercase;}
.bs-warning-row-v35 td{font-weight:950!important;color:#b42318!important;background:#fff7f7!important;border-top:2px solid #fecaca!important;}
.bs-empty-row-v35 td{color:#64748b;font-style:italic;background:#fff;}
.balance-sheet-table-v35 .indent-1 td:first-child{padding-left:28px;}
.balance-sheet-table-v35 .indent-2 td:first-child{padding-left:48px;}
.balance-sheet-table-v35 .indent-3 td:first-child{padding-left:68px;}
.balance-sheet-table-v35 .indent-4 td:first-child{padding-left:88px;}
@media(max-width:720px){
    .balance-sheet-qbo-v35{max-width:100%;}
    .balance-sheet-table-v35{min-width:560px;}
    .balance-sheet-table-v35 td,.balance-sheet-table-v35 th{padding:8px 9px;}
    .balance-sheet-table-v35 .indent-1 td:first-child{padding-left:20px;}
    .balance-sheet-table-v35 .indent-2 td:first-child{padding-left:32px;}
    .balance-sheet-table-v35 .indent-3 td:first-child{padding-left:44px;}
}
@media print{
    .balance-sheet-qbo-v35{max-width:100%;box-shadow:none;border:0;padding:0;}
    .balance-sheet-table-v35{min-width:0;width:100%;font-size:11px;}
    .balance-sheet-table-v35 a{text-decoration:none;color:#000;}
    .balance-sheet-table-v35 th{border-bottom:2px solid #000;color:#000;}
    .bs-section-row-v35 td,.bs-major-total-row-v35 td,.bs-group-total-row-v35 td,.bs-grand-row-v35 td{background:#fff!important;color:#000!important;}
}

/* v36 QuickBooks-style Profit and Loss report */
.profit-loss-qbo-v36{max-width:980px;margin-left:auto;margin-right:auto;}
.profit-loss-wrap-v36{border:0;overflow:auto;}
.profit-loss-table-v36{border-collapse:collapse;min-width:640px;}
.profit-loss-table-v36 th{background:#fff;color:#475569;border-bottom:2px solid #172033;font-size:12px;letter-spacing:.08em;}
.profit-loss-table-v36 td{border-bottom:1px solid #edf2f7;padding:9px 12px;vertical-align:top;}
.profit-loss-table-v36 tr:hover{background:#fff;}
.profit-loss-table-v36 td:first-child{font-weight:650;color:#172033;}
.profit-loss-table-v36 td:first-child small{display:block;color:#94a3b8;font-weight:700;margin-top:2px;font-size:11px;}
.profit-loss-table-v36 a{color:#0f3b6d;font-weight:800;}
.pl-section-row-v36 td{background:#f8fafc!important;color:#0f172a!important;font-weight:950!important;text-transform:uppercase;letter-spacing:.08em;border-top:1px solid #dbe3ef;}
.pl-account-row-v36 td{font-weight:600!important;background:#fff!important;}
.pl-total-row-v36 td{font-weight:900!important;border-top:1px solid #e2e8f0;background:#fbfdff!important;}
.pl-subtotal-row-v36 td{font-weight:950!important;border-top:1px solid #cbd5e1;background:#f8fafc!important;}
.pl-grand-row-v36 td{font-weight:1000!important;border-top:2px solid #172033!important;border-bottom:2px solid #172033!important;background:#eef6ff!important;color:#0f172a!important;text-transform:uppercase;}
.pl-empty-row-v36 td{color:#64748b;font-style:italic;background:#fff;}
.profit-loss-table-v36 .indent-1 td:first-child{padding-left:48px;}
.profit-loss-table-v36 .indent-2 td:first-child{padding-left:68px;}
.profit-loss-table-v36 .indent-3 td:first-child{padding-left:88px;}
@media(max-width:700px){
    .profit-loss-qbo-v36{max-width:100%;}
    .profit-loss-table-v36{min-width:560px;}
    .profit-loss-table-v36 td,.profit-loss-table-v36 th{padding:8px 9px;}
    .profit-loss-table-v36 .indent-1 td:first-child{padding-left:32px;}
    .profit-loss-table-v36 .indent-2 td:first-child{padding-left:44px;}
}
@media print{
    .profit-loss-qbo-v36{max-width:100%;box-shadow:none;border:0;padding:0;}
    .profit-loss-table-v36{min-width:0;width:100%;font-size:11px;}
    .profit-loss-table-v36 a{text-decoration:none;color:#000;}
    .profit-loss-table-v36 th{border-bottom:2px solid #000;color:#000;}
    .pl-section-row-v36 td,.pl-total-row-v36 td,.pl-subtotal-row-v36 td,.pl-grand-row-v36 td{background:#fff!important;color:#000!important;}
}
