:root{font-family:"Segoe UI Variable","Segoe UI",Aptos,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#202136;background:#f4f5f8;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4f5f8;font-size:15px;line-height:1.45}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.topbar{min-height:60px;display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:16px;padding:7px 14px;color:#fff;background:linear-gradient(92deg,#5149df 0%,#4339ce 56%,#3d32bf 100%);box-shadow:0 2px 12px rgba(49,43,144,.22);position:sticky;top:0;z-index:30}.brand-button{display:flex;align-items:center;gap:9px;border:0;padding:0;color:inherit;text-align:left;background:transparent}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:#493fd1;background:#fff;font-size:14px;font-weight:650;letter-spacing:-.04em;box-shadow:0 8px 20px rgba(27,22,101,.2)}.brand-mark.large{width:76px;height:76px;border-radius:22px;font-size:26px}.brand-copy strong,.brand-copy small{display:block}.brand-copy strong{font-size:15px;font-weight:650}.brand-copy small{color:rgba(255,255,255,.72);font-size:10px}.organization-control{justify-self:center;width:min(420px,100%);display:flex;align-items:center;gap:8px;padding-left:12px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(255,255,255,.1)}.organization-control select{width:100%;border:0;padding:9px 34px 9px 0;color:#fff;outline:0;background:transparent}.organization-control option{color:#202136}.topbar-actions{display:flex;align-items:center;gap:8px}.topbar-icon-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.24);border-radius:10px;color:#fff;background:rgba(255,255,255,.09)}.dev-badge{padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.13);font-size:11px;font-weight:650}.workspace-layout{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:calc(100vh - 60px)}.sidebar{display:flex;flex-direction:column;border-right:1px solid #e3e5ed;background:#fff;padding:16px 11px;position:sticky;top:60px;height:calc(100vh - 60px)}.sidebar nav{display:grid;gap:4px}.nav-item{width:100%;display:flex;align-items:center;gap:10px;border:0;border-radius:11px;padding:10px 11px;color:#55566b;text-align:left;background:transparent;font-size:13px}.nav-item:hover{background:#f4f3ff;color:#5146d8}.nav-item.active{color:#4b42cf;background:#efeeff;font-weight:620}.sidebar-foot{margin-top:auto;padding:12px;border-top:1px solid #eeeef4;display:grid;gap:2px;color:#898a9b;font-size:10px}.sidebar-foot strong{color:#4e5064;font-size:12px}.main-content{min-width:0}.content-container{width:min(1420px,calc(100% - 36px));margin:24px auto 54px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 17px}.page-heading h1{margin:4px 0 5px;font-size:30px;line-height:1.1;font-weight:620;letter-spacing:-.035em}.page-heading p{margin:0;color:#77788d}.eyebrow{color:#5146d8;font-size:10px;font-weight:650;letter-spacing:.13em}.phase-badge{display:flex;align-items:center;padding:9px 13px;border-radius:999px;color:#176c4a;background:#e4f8ef;font-size:12px;font-weight:600}.panel,.metric-card{border:1px solid #e3e5ed;border-radius:17px;background:#fff;box-shadow:0 8px 25px rgba(36,38,74,.05)}.panel{padding:21px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 16px}.metric-card{min-height:103px;padding:14px 15px;color:#fff;border:0;overflow:hidden;position:relative}.metric-card::after{content:'';width:95px;height:95px;position:absolute;right:-31px;bottom:-41px;border-radius:50%;background:rgba(255,255,255,.11)}.metric-card span,.metric-card small,.metric-card strong{display:block;position:relative;z-index:1}.metric-card span{font-size:11px;color:rgba(255,255,255,.82)}.metric-card strong{margin:4px 0 2px;font-size:24px;font-weight:620}.metric-card small{font-size:10px;color:rgba(255,255,255,.76)}.violet{background:linear-gradient(135deg,#6660df,#7652b5)}.rose{background:linear-gradient(135deg,#e26182,#bb4b72)}.blue{background:linear-gradient(135deg,#5b7fe7,#27bde1)}.green{background:linear-gradient(135deg,#29ba78,#39d2b5)}.dashboard-grid{display:grid;grid-template-columns:1.42fr .58fr;gap:16px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:13px;border-bottom:1px solid #ececf2}.panel-heading h2{margin:3px 0 0;font-size:20px;font-weight:620;letter-spacing:-.02em}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:11px;padding-top:16px}.quick-card{min-height:142px;display:grid;justify-items:center;align-content:center;gap:6px;border:1px solid #e8e9f1;border-radius:15px;padding:14px 11px;color:#303146;text-align:center;background:#fbfbfe;transition:.16s}.quick-card:hover{transform:translateY(-2px);border-color:#c4c0f6;box-shadow:0 10px 22px rgba(75,65,191,.09)}.quick-card>span,.empty-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;color:#5146d8;background:#edecff}.quick-card strong{font-weight:620}.quick-card small{color:#85869a;font-size:11px;line-height:1.35}.architecture-list{display:grid;gap:12px;padding-top:15px}.architecture-list>div{display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:flex-start}.architecture-list>div>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;color:#5146d8;background:#efeeff;font-size:11px;font-weight:650}.architecture-list p{display:grid;gap:2px;margin:0}.architecture-list strong{font-size:12px}.architecture-list small{color:#85869a;font-size:11px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border-radius:11px;padding:9px 14px;font-weight:600}.primary-button{border:1px solid #4b42cf;color:#fff;background:#5146d8}.primary-button:hover{background:#4439cb}.secondary-button{border:1px solid #dcdde7;color:#4c4d61;background:#fff}.secondary-button:hover{border-color:#c9c7ed;color:#5146d8;background:#fafaff}.large-button{width:100%;min-height:52px}.empty-module{min-height:460px;display:grid;place-items:center;align-content:center;text-align:center}.empty-module h2{margin:12px 0 7px;font-size:28px}.empty-module p{max-width:610px;margin:0;color:#77788d}.phase-chip{margin-top:17px;padding:8px 12px;border-radius:999px;color:#6c619e;background:#f2f0ff;font-size:11px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-grid>.panel:last-child{grid-column:1/-1}.details-list{margin:0;padding-top:8px}.details-list>div{display:grid;grid-template-columns:180px 1fr;gap:16px;padding:11px 0;border-bottom:1px solid #efeff4}.details-list dt{color:#838497;font-size:12px}.details-list dd{margin:0;color:#3c3d52;font-size:13px;font-weight:550}.status-pill{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:650}.status-pill.paid{color:#176c4a;background:#e4f8ef}.status-pill.overdue{color:#a4334d;background:#ffe9ee}.button-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.helper{margin:12px 0 0;color:#858699;font-size:11px;line-height:1.5}.notice{width:min(1420px,calc(100% - 36px));margin:14px auto -10px;padding:10px 13px;border:1px solid #cfe9dc;border-radius:11px;color:#176c4a;background:#ecfaf4;font-size:12px}.company-gate{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(460px,.92fr)}.workspace-brand-panel{position:relative;overflow:hidden;display:grid;align-content:center;gap:17px;padding:clamp(40px,6vw,88px);color:#fff;background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.2),transparent 31%),linear-gradient(145deg,#5146dd,#4437b9 50%,#218dbb)}.workspace-brand-panel::after{content:'';position:absolute;width:420px;height:420px;right:-180px;bottom:-185px;border:1px solid rgba(255,255,255,.15);border-radius:50%;box-shadow:0 0 0 80px rgba(255,255,255,.035),0 0 0 160px rgba(255,255,255,.02)}.workspace-brand-panel>*{position:relative;z-index:1}.workspace-brand-panel .eyebrow.light{color:rgba(255,255,255,.66)}.workspace-brand-panel h1{max-width:650px;margin:0;font-size:clamp(34px,4.15vw,55px);line-height:1.045;font-weight:540;letter-spacing:-.042em}.workspace-brand-panel>p{max-width:590px;margin:0;color:rgba(255,255,255,.8);font-size:15px;line-height:1.62}.workspace-feature-list{display:grid;gap:11px;max-width:590px;margin-top:9px}.workspace-feature-list>div{display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:center;padding:12px 14px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(255,255,255,.08)}.workspace-feature-list svg{width:40px;height:40px;padding:9px;border-radius:11px;background:rgba(255,255,255,.12)}.workspace-feature-list span{display:grid;gap:3px}.workspace-feature-list strong{font-size:14px;font-weight:570}.workspace-feature-list small{color:rgba(255,255,255,.68);font-size:12px}.workspace-action-panel{display:grid;align-content:center;justify-items:center;padding:clamp(28px,5vw,76px)}.workspace-action-card{width:min(620px,100%);padding:clamp(27px,4vw,45px);border:1px solid #e0e2ec;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(38,40,78,.12)}.workspace-action-card h2{margin:7px 0 8px;color:#2e3048;font-size:29px;font-weight:570}.workspace-action-card>p{margin:0 0 22px;color:#737589;line-height:1.6}.foundation-note{display:grid;gap:3px;margin-top:16px;padding:12px 13px;border:1px solid #e3e4ed;border-radius:12px;background:#fafafe}.foundation-note strong{font-size:12px}.foundation-note span{color:#808195;font-size:11px}.modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(24,25,45,.45);backdrop-filter:blur(2px)}.modal{width:min(680px,100%);border:1px solid #e0e1e9;border-radius:19px;background:#fff;box-shadow:0 24px 80px rgba(17,18,42,.28);overflow:hidden}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 23px 17px;border-bottom:1px solid #ececf2}.modal-header h2{margin:5px 0 0;font-size:24px;font-weight:620}.icon-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #e2e3eb;border-radius:10px;color:#616276;background:#fff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:22px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field>span{color:#606176;font-size:12px;font-weight:600}.field input,.field select{width:100%;min-height:42px;border:1px solid #d9dbe5;border-radius:10px;padding:9px 11px;color:#2f3045;background:#fff;outline:0}.field input:focus,.field select:focus{border-color:#655ae5;box-shadow:0 0 0 4px rgba(81,70,216,.1)}.modal-footer{display:flex;justify-content:flex-end;gap:9px;padding:15px 22px;border-top:1px solid #ececf2;background:#fafafe}.ofi-startup-placeholder,.fatal{min-height:100vh;display:grid;place-items:center;align-content:center;gap:8px;text-align:center}.ofi-startup-placeholder small,.fatal p{color:#7b7c8e}.fatal h1{margin:8px 0 0}.fatal p{max-width:560px}.fatal .primary-button{margin-top:10px}@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:repeat(2,1fr)}.company-gate{grid-template-columns:1fr}.workspace-brand-panel{min-height:44vh}.settings-grid{grid-template-columns:1fr}.settings-grid>.panel:last-child{grid-column:auto}}@media(max-width:760px){.topbar{grid-template-columns:auto 1fr auto}.brand-copy{display:none}.organization-control{min-width:0}.workspace-layout{grid-template-columns:68px 1fr}.sidebar{padding:12px 7px}.nav-item{justify-content:center;padding:10px}.nav-item span{display:none}.content-container{width:min(100% - 22px,1420px);margin-top:18px}.metric-grid{grid-template-columns:1fr 1fr}.quick-grid{grid-template-columns:1fr 1fr}.page-heading{align-items:flex-start}.details-list>div{grid-template-columns:1fr;gap:2px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}}@media(max-width:520px){.metric-grid,.quick-grid{grid-template-columns:1fr}.organization-control svg{display:none}.company-gate{display:block}.workspace-action-panel{padding:24px 14px}.workspace-brand-panel{padding:38px 24px}.phase-badge{display:none}}

/* F3 — Chart of Accounts + Accounting Settings */
.heading-actions{display:flex;align-items:center;gap:9px}.disabled-control{opacity:.55;cursor:not-allowed}.coa-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0 0 14px}.coa-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid #e4e5ed;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(36,38,74,.035)}.coa-summary span{color:#77788c;font-size:11px}.coa-summary strong{font-size:22px;font-weight:620}.coa-summary .needs-attention{border-color:#f1c9c9;background:#fff9f8}.coa-summary .needs-attention strong{color:#a44a50}.coa-panel{padding:0;overflow:hidden}.coa-toolbar{display:flex;align-items:center;gap:10px;padding:14px 15px;border-bottom:1px solid #e7e8ef;background:#fbfbfd}.search-control{min-width:280px;display:flex;align-items:center;gap:8px;border:1px solid #d9dbe5;border-radius:10px;padding:0 11px;background:#fff;color:#77788c}.search-control input{width:100%;min-height:40px;border:0;outline:0;background:transparent;color:#313247}.coa-toolbar select{min-height:42px;border:1px solid #d9dbe5;border-radius:10px;padding:8px 34px 8px 11px;color:#3a3b50;background:#fff}.inline-check{display:flex;align-items:center;gap:7px;color:#66677a;font-size:12px}.inline-check input{width:16px;height:16px;accent-color:#5146d8}.table-count{margin-left:auto;color:#898a9c;font-size:11px}.coa-table-wrap{overflow:auto}.coa-table{width:100%;border-collapse:collapse;min-width:980px}.coa-table th{padding:11px 13px;border-bottom:1px solid #dfe1e9;color:#5f6074;background:#f2f3f8;text-align:left;font-size:10px;font-weight:650;letter-spacing:.035em;text-transform:uppercase}.coa-table td{padding:11px 13px;border-bottom:1px solid #ececf2;color:#414257;font-size:12px;vertical-align:middle}.coa-table tr:hover td{background:#fbfbfe}.coa-table .right{text-align:right}.money-cell{font-variant-numeric:tabular-nums;font-weight:570}.account-name-cell{display:flex;align-items:center;gap:7px;padding-left:calc(var(--depth,0) * 20px)}.account-name-cell strong{font-weight:590}.account-name-cell small{color:#9697a6}.warning-badge,.muted-badge{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:650}.warning-badge{color:#9c4b33;background:#fff0e9}.muted-badge{color:#66687a;background:#eff0f4}.inactive-row td{color:#9596a5}.placeholder-row td{background:#fffdf8}.row-actions{display:flex;flex-wrap:wrap;gap:9px}.text-button{border:0;padding:3px 0;color:#5146d8;background:transparent;font-size:11px;font-weight:600}.text-button:hover{text-decoration:underline}.danger-text{color:#a14b5b}.coa-empty{min-height:330px;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;padding:35px}.coa-empty h3{margin:3px 0 0;font-size:22px}.coa-empty p{max-width:590px;margin:0 0 9px;color:#7a7b8d;line-height:1.5}.account-drawer-backdrop{place-items:stretch end;padding:0}.account-drawer{width:min(600px,100%);height:100vh;border-radius:0;display:flex;flex-direction:column}.account-drawer .account-form-grid{overflow:auto;align-content:start;flex:1}.account-drawer .modal-footer{margin-top:auto}.drawer-warning{display:grid;grid-template-columns:24px 1fr;gap:10px;align-items:start;margin:15px 22px 0;padding:12px 13px;border:1px solid #f0d1bd;border-radius:11px;color:#8d543d;background:#fff8f2}.drawer-warning span{display:grid;gap:3px}.drawer-warning small{color:#926b59;line-height:1.45}.field textarea{width:100%;border:1px solid #d9dbe5;border-radius:10px;padding:10px 11px;color:#2f3045;background:#fff;outline:0;font:inherit;resize:vertical}.field textarea:focus{border-color:#655ae5;box-shadow:0 0 0 4px rgba(81,70,216,.1)}.field small{color:#8b8c9e;font-size:10px;line-height:1.4}.toggle-setting{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 14px;border:1px solid #e2e3ea;border-radius:12px;background:#fbfbfd}.toggle-setting>span{display:grid;gap:3px}.toggle-setting strong{font-size:12px}.toggle-setting small{color:#858698;font-size:10px;line-height:1.4}.toggle-setting input{position:absolute;opacity:0;pointer-events:none}.toggle-setting i{position:relative;width:40px;height:22px;flex:0 0 auto;border-radius:999px;background:#d8d9e2;transition:.15s}.toggle-setting i::after{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.18);transition:.15s}.toggle-setting input:checked+i{background:#5146d8}.toggle-setting input:checked+i::after{transform:translateX(18px)}.hidden-field{display:none!important}.locked-setting{display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:center;padding:12px 13px;border:1px dashed #dfe0e8;border-radius:11px;color:#6f8082;background:#fafafe}.locked-setting span{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#eeeeF8;color:#5951c8}.locked-setting p{display:grid;gap:2px;margin:0}.locked-setting strong{font-size:12px}.locked-setting small{color:#898a9b;font-size:10px}.settings-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding-top:16px}.settings-form .full{grid-column:1/-1}.settings-save-row{display:flex;justify-content:flex-end;padding-top:2px}.subaccount-toggle{margin-top:2px}
@media(max-width:900px){.coa-summary{grid-template-columns:repeat(2,1fr)}.coa-toolbar{flex-wrap:wrap}.search-control{min-width:220px;flex:1}.table-count{width:100%;margin-left:0}.settings-form{grid-template-columns:1fr}.settings-form .full{grid-column:auto}}
@media(max-width:560px){.coa-summary{grid-template-columns:1fr}.heading-actions{flex-wrap:wrap}.coa-toolbar>*{width:100%}.inline-check{width:auto}.account-drawer{width:100%}}

/* F4 — Vendors, Customers and Classes */
.quick-master-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-master-actions .secondary-button{justify-content:flex-start;min-height:44px}.names-table td:first-child strong{font-weight:600}.role-badge{display:inline-flex;margin-left:8px;padding:3px 7px;border-radius:999px;background:#efeffa;color:#5b54bf;font-size:9px;font-weight:650;vertical-align:middle}.contact-drawer{width:min(680px,100%)}.contact-drawer .inline-check.full{grid-column:1/-1;padding:4px 0}.contact-drawer .inline-check input{flex:0 0 auto}.coa-empty strong{font-weight:650}.page-heading h1,.panel-heading h2,.modal-header h2,.coa-empty h3,.workspace-action-card h2,.workspace-brand-panel h1{font-weight:650}
@media(max-width:620px){.quick-master-actions{grid-template-columns:1fr}}

/* F5 — Manual transactions, registers and journal entries */
.register-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:14px}.back-link{border:0;padding:0;color:#5146d8;background:transparent;font-size:11px;font-weight:600}.register-title-row{display:flex;align-items:flex-end;gap:18px;margin-top:9px}.register-title-row h1{margin:3px 0 0;font-size:28px;font-weight:650}.register-switch{display:grid;gap:4px}.register-switch span,.register-balance span{color:#77788c;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.register-switch select{min-height:40px;min-width:230px;border:1px solid #d9dbe5;border-radius:10px;padding:7px 34px 7px 10px;background:#fff;color:#333449}.register-balance{display:grid;justify-items:end;gap:1px}.register-balance strong{font-size:30px;font-weight:650;font-variant-numeric:tabular-nums}.register-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:13px}.register-panel{padding:0;overflow:hidden}.register-table-wrap{overflow:auto}.register-table{width:100%;min-width:1120px;border-collapse:collapse}.register-table th{padding:10px 12px;border-bottom:1px solid #dfe1e9;background:#f1f2f6;color:#626376;text-align:left;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.03em}.register-table td{padding:10px 12px;border-bottom:1px solid #ececf2;color:#414257;font-size:12px;vertical-align:top}.register-table td:first-child{white-space:nowrap}.register-table td:first-child small{display:block;margin-top:2px;color:#9293a2;font-size:9px}.register-table .right{text-align:right}.memo-cell{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transaction-drawer{width:min(620px,100%)}.transaction-form-grid{align-content:start;overflow:auto;flex:1}.journal-backdrop{place-items:center;padding:18px}.journal-modal{width:min(1500px,calc(100vw - 36px));max-height:calc(100vh - 36px);display:flex;flex-direction:column}.journal-head{display:grid;grid-template-columns:190px minmax(220px,1fr) auto;gap:14px;align-items:end;padding:16px 22px;border-bottom:1px solid #ececf2}.journal-adjust{padding-bottom:10px}.journal-lines-wrap{overflow:auto;padding:0 8px;flex:1}.journal-lines{width:100%;min-width:1100px;border-collapse:collapse}.journal-lines th{padding:10px 8px;border-bottom:1px solid #dfe1e9;background:#f4f4f8;color:#636477;text-align:left;font-size:10px;font-weight:650;text-transform:uppercase}.journal-lines td{padding:7px 5px;border-bottom:1px solid #ececf2}.journal-lines select,.journal-lines input{width:100%;min-height:38px;border:1px solid #d9dbe5;border-radius:8px;padding:7px 8px;background:#fff;color:#333449;outline:0}.journal-lines select:focus,.journal-lines input:focus{border-color:#655ae5;box-shadow:0 0 0 3px rgba(81,70,216,.08)}.journal-lines th:nth-child(1){min-width:260px}.journal-lines th:nth-child(2),.journal-lines th:nth-child(3){min-width:115px}.journal-lines th:nth-child(4){min-width:220px}.journal-lines th:nth-child(5){min-width:190px}.journal-lines th:last-child{width:45px}.journal-lines .right{text-align:right}.icon-button.small{width:32px;height:32px;border-radius:8px}.icon-button.small:disabled{opacity:.35;cursor:not-allowed}.add-line-button{margin:10px 8px}.journal-memo{padding:12px 22px 4px}.journal-totals{display:flex;justify-content:flex-end;gap:24px;padding:8px 22px 14px;color:#77788c;font-size:11px}.journal-totals span{display:grid;gap:2px;text-align:right}.journal-totals strong{color:#34354a;font-size:16px;font-weight:650;font-variant-numeric:tabular-nums}.journal-totals .balanced-text{color:#26704f}.journal-totals .difference-text{color:#b04b55}.journal-list td:nth-child(2) strong{font-weight:600}.status-pill.neutral{color:#67687b;background:#eff0f4}.transaction-drawer .foundation-note{margin-top:2px}.page-heading h1,.register-title-row h1,.journal-modal h2{font-weight:650}
@media(max-width:800px){.register-heading{align-items:flex-start;flex-direction:column}.register-balance{justify-items:start}.register-title-row{align-items:flex-start;flex-direction:column}.journal-head{grid-template-columns:1fr}.journal-adjust{padding-bottom:0}.journal-totals{justify-content:flex-start;flex-wrap:wrap}.journal-modal{width:100%;height:100vh;max-height:100vh;border-radius:0}.journal-backdrop{padding:0}}

/* F6 — Core financial reports */
.report-controls{padding:16px 18px;margin-bottom:15px}.report-control-grid{display:grid;grid-template-columns:repeat(6,minmax(145px,1fr));gap:10px;align-items:end}.report-control-grid .field{min-width:0}.report-control-grid .field span{font-size:10px}.report-control-grid select,.report-control-grid input{min-height:39px}.report-action-row{display:flex;align-items:center;gap:8px;margin-top:13px;padding-top:13px;border-top:1px solid #ececf2}.report-spacer{flex:1}.report-paper{padding:28px 32px;overflow:auto}.report-paper-head{text-align:center;margin-bottom:22px}.report-paper-head>span{display:block;color:#66677a;font-size:12px}.report-paper-head h2{margin:5px 0 2px;font-size:24px;font-weight:650;letter-spacing:-.025em}.report-paper-head p{margin:0;color:#858699;font-size:11px}.financial-report-table{width:100%;border-collapse:collapse;min-width:650px}.financial-report-table th{padding:9px 10px;border-bottom:2px solid #dfe1e9;color:#616276;text-align:left;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.035em}.financial-report-table td{padding:8px 10px;border-bottom:1px solid #eeeeF3;color:#414257;font-size:12px}.financial-report-table .right{text-align:right}.report-account-name{display:block;padding-left:calc(var(--depth,0) * 18px)}.report-section-row td{padding-top:17px;border-bottom:0;color:#323348;font-weight:650}.report-subtotal td{border-top:1px solid #dfe1e9;border-bottom:0;font-weight:600}.report-key-total td{border-top:1px solid #d8dae4;border-bottom:1px solid #d8dae4;background:#fafafe;font-weight:620}.report-grand-total td{border-top:2px solid #bfc2d1;border-bottom:3px double #bfc2d1;font-weight:650}.comparison-cell{color:#64657a}.report-warning{margin-top:15px;padding:10px 12px;border:1px solid #f0d1bd;border-radius:10px;color:#8d543d;background:#fff8f2;font-size:11px}.report-empty,.report-loading{min-height:240px;display:grid;place-items:center;color:#808195;text-align:center;font-size:12px}.report-loading::before{content:'';width:26px;height:26px;margin-bottom:8px;border:3px solid #e4e3f6;border-top-color:#5146d8;border-radius:50%;animation:ofi-spin .8s linear infinite}.ledger-report-group{margin-top:22px}.ledger-report-group:first-child{margin-top:0}.ledger-report-heading{display:flex;justify-content:space-between;gap:16px;padding:10px 12px;border-radius:10px 10px 0 0;background:#f2f3f8;color:#414257;font-size:11px}.ledger-report-heading strong{font-weight:650}.ledger-report-heading span{color:#77788c}.ledger-detail-table{min-width:1050px}.transaction-detail-table{min-width:1050px}.report-footnote{margin-top:18px;padding-top:10px;border-top:1px solid #eeeeF3;color:#9a9baa;text-align:right;font-size:9px}
@keyframes ofi-spin{to{transform:rotate(360deg)}}
@media(max-width:1180px){.report-control-grid{grid-template-columns:repeat(3,minmax(150px,1fr))}}
@media(max-width:720px){.report-control-grid{grid-template-columns:1fr 1fr}.report-action-row{flex-wrap:wrap}.report-spacer{display:none}.report-paper{padding:20px 16px}}
@media(max-width:480px){.report-control-grid{grid-template-columns:1fr}.report-action-row>*{flex:1}.report-paper-head h2{font-size:21px}}
@media print{body{background:#fff}.topbar,.sidebar,.no-print,.notice,.report-footnote{display:none!important}.workspace-layout{display:block}.main-content{width:100%}.content-container{width:100%;margin:0}.report-paper{border:0;box-shadow:none;padding:0;overflow:visible}.financial-report-table{min-width:0}.ledger-detail-table,.transaction-detail-table{font-size:9px}.panel{box-shadow:none}}

/* QuickBooks migration */
.settings-grid>.settings-wide{grid-column:1/-1}.migration-intro{max-width:850px;margin-top:14px}.migration-file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.migration-file-grid .field{min-width:0}.migration-file-grid input[type=file]{width:100%;min-height:42px;border:1px solid #d9dbe5;border-radius:10px;padding:8px;color:#55566b;background:#fff;font-size:11px}.migration-actions{align-items:center}.migration-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.migration-metrics>div{display:grid;gap:3px;padding:12px 13px;border:1px solid #e6e7ee;border-radius:12px;background:#fafafe}.migration-metrics span{color:#858699;font-size:10px}.migration-metrics strong{font-size:20px;font-weight:650;color:#34354a}.migration-check{display:grid;gap:2px;margin-top:12px;padding:11px 13px;border:1px solid #dfe1e9;border-radius:11px;background:#fafafe}.migration-check strong{font-size:12px;font-weight:650}.migration-check span{color:#77788c;font-size:11px}.migration-check.ok{border-color:#cfe9dc;background:#f1fbf6}.migration-check.ok strong{color:#176c4a}.migration-check.bad,.migration-problems{border-color:#f0d1bd;background:#fff8f2}.migration-problems{margin-top:12px;padding:11px 13px;border:1px solid #f0d1bd;border-radius:11px;color:#775445}.migration-problems strong{font-size:12px;font-weight:650}.migration-problems ul{margin:7px 0 0;padding-left:18px;font-size:11px}.migration-reconcile-list{margin-top:17px;border-top:1px solid #ececf2}.migration-subhead{display:flex;justify-content:space-between;gap:18px;padding:13px 0 8px}.migration-subhead strong{font-size:12px;font-weight:650}.migration-subhead span{color:#858699;font-size:10px}.migration-reconcile-row{display:grid;grid-template-columns:minmax(0,1fr) 160px auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #f0f0f4}.migration-reconcile-row>div{display:grid;gap:2px}.migration-reconcile-row strong{font-size:12px;font-weight:600}.migration-reconcile-row small{color:#898a9b;font-size:10px}.migration-reconcile-row input{width:100%;min-height:38px;border:1px solid #d9dbe5;border-radius:9px;padding:7px 9px;color:#333449;background:#fff}.compact-button{min-height:38px;padding:7px 12px}.primary-button:disabled,.secondary-button:disabled{opacity:.55;cursor:wait}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.migration-file-grid{grid-template-columns:1fr 1fr}.migration-metrics{grid-template-columns:1fr 1fr}}@media(max-width:620px){.migration-file-grid{grid-template-columns:1fr}.migration-reconcile-row{grid-template-columns:1fr}.migration-subhead{display:grid}.migration-metrics{grid-template-columns:1fr 1fr}}

/* F8 — Bank file import + Bank Feed */
.bank-account-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:11px;margin-bottom:14px}.bank-account-card{display:grid;gap:3px;text-align:left;padding:14px 15px;border:1px solid #e0e1e9;border-radius:13px;background:#fff;color:#404156;cursor:pointer;box-shadow:0 1px 2px rgba(35,37,54,.03)}.bank-account-card:hover{border-color:#c8c9da}.bank-account-card.selected{border-color:#8c85e9;box-shadow:0 0 0 2px rgba(81,70,216,.08)}.bank-account-card span{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#858699;font-weight:600}.bank-account-card strong{font-size:13px;font-weight:650}.bank-account-card small{color:#77788c;font-size:10px}.bank-import-panel{margin-bottom:14px}.bank-import-row{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(260px,1.3fr);gap:12px;margin-top:13px}.file-field input[type=file]{width:100%;min-height:42px;border:1px solid #d9dbe5;border-radius:10px;padding:8px;background:#fff;color:#55566b;font-size:11px}.file-field small{display:block;margin-top:4px;color:#88899a;font-size:9px}.mapping-box{margin-top:14px;padding:13px;border:1px solid #e4e5ed;border-radius:12px;background:#fafafe}.mapping-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:10px}.mapping-head strong{font-size:12px;font-weight:650;color:#3d3e52}.mapping-head span{font-size:10px;color:#858699}.mapping-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:9px}.bank-import-review{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:13px}.bank-import-review>div{display:grid;gap:3px;padding:11px 12px;border:1px solid #e6e7ee;border-radius:11px;background:#fafafe}.bank-import-review span{font-size:10px;color:#858699}.bank-import-review strong{font-size:19px;font-weight:650;color:#34354a}.bank-preview-list{display:grid;margin-top:11px;border:1px solid #e7e8ef;border-radius:11px;overflow:hidden}.bank-preview-list>div{display:grid;grid-template-columns:100px minmax(0,1fr) 120px;gap:12px;align-items:center;padding:9px 11px;border-top:1px solid #efeff4;background:#fff}.bank-preview-list>div:first-child{border-top:0}.bank-preview-list span{font-size:10px;color:#77788c}.bank-preview-list strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;color:#414257}.bank-preview-list em{font-size:11px;font-style:normal;font-weight:650;text-align:right;font-variant-numeric:tabular-nums}.money-in{color:#26704f}.money-out{color:#9c4750}.bank-feed-panel{padding:0;overflow:hidden}.bank-feed-tabs{display:flex;gap:4px;padding:10px 13px 0;border-bottom:1px solid #e4e5ec;background:#fafafe}.bank-feed-tabs button{border:0;border-bottom:2px solid transparent;padding:9px 11px;background:transparent;color:#717285;font-size:11px;font-weight:600;cursor:pointer}.bank-feed-tabs button.active{border-bottom-color:#5146d8;color:#37384c}.bank-feed-tabs button span{display:inline-grid;place-items:center;min-width:20px;height:18px;margin-left:4px;padding:0 5px;border-radius:9px;background:#ebecf3;color:#747588;font-size:9px}.bank-feed-tabs button.active span{background:#eeecff;color:#5146d8}.bank-feed-toolbar{margin:0;padding:12px 14px;border-bottom:1px solid #ececf2}.bank-feed-toolbar>select{min-width:190px;min-height:38px;border:1px solid #d9dbe5;border-radius:9px;padding:7px 9px;background:#fff;color:#3f4054}.bank-feed-table{min-width:1000px}.bank-feed-table td:nth-child(2){max-width:360px}.bank-feed-table td:nth-child(2) small{display:block;margin-top:2px;color:#8c8d9d;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bank-feed-table .money-cell{font-variant-numeric:tabular-nums}.status-pill.warning{background:#fff4dc;color:#8a6320}
@media(max-width:1000px){.mapping-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:720px){.bank-import-row{grid-template-columns:1fr}.mapping-head{display:grid}.bank-preview-list>div{grid-template-columns:82px minmax(0,1fr);}.bank-preview-list em{grid-column:2}.bank-feed-toolbar{flex-wrap:wrap}.bank-feed-toolbar>select,.bank-feed-toolbar .search-control{flex:1 1 220px}}@media(max-width:500px){.mapping-grid,.bank-import-review{grid-template-columns:1fr}.bank-feed-tabs{overflow:auto}.bank-account-cards{grid-template-columns:1fr}}

/* F9 — Bank feed actions */

.bank-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.bank-row-actions .text-button{white-space:nowrap}.feed-resolution-label{display:inline-flex;align-items:center;min-height:28px;padding:4px 8px;border:1px solid #e0e1e9;border-radius:999px;background:#f5f5f9;font-size:10px;font-weight:600;color:#67687b}.bank-action-drawer{width:min(780px,100%)}.bank-action-summary{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1.45fr) auto;gap:14px;align-items:start;margin:14px 22px 4px;padding:13px 14px;border:1px solid #e4e5ed;border-radius:12px;background:#fafafe}.bank-action-summary>div{min-width:0;display:grid;gap:3px}.bank-action-summary span{color:#858699;font-size:10px}.bank-action-summary strong{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:650;color:#34354a}.bank-action-summary>div:last-child{text-align:right}.split-editor{grid-column:1/-1;margin-top:2px;border:1px solid #e2e3eb;border-radius:12px;overflow:hidden;background:#fff}.split-editor-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border-bottom:1px solid #e7e8ef;background:#fafafe}.split-editor-head>div{display:grid;gap:2px}.split-editor-head strong{font-size:12px;font-weight:650;color:#3b3c51}.split-editor-head small{color:#858699;font-size:10px}.bank-split-row{display:grid;grid-template-columns:minmax(180px,1.35fr) 112px minmax(150px,.9fr) minmax(160px,1fr) auto;gap:8px;align-items:end;padding:10px 11px;border-top:1px solid #eeeeF3}.bank-split-row:first-of-type{border-top:0}.bank-split-row .field{margin:0}.bank-split-row .field span{font-size:9px}.bank-split-row .split-remove{margin-bottom:3px}.bank-split-row .wide-field{grid-column:span 2}.bank-split-totals{display:flex;justify-content:flex-end;gap:18px;flex-wrap:wrap;padding:10px 12px;border-top:1px solid #e7e8ef;background:#fafafe;color:#77788c;font-size:10px}.bank-split-totals span{white-space:nowrap}.bank-split-totals strong{font-weight:650;color:#3b3c51}.bank-split-totals .balanced-text{color:#26704f}.bank-split-totals .difference-text{color:#b04b55}.match-list{display:grid;gap:8px;max-height:440px;overflow:auto;padding:14px 22px 4px}.match-option{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:start;padding:12px 13px;border:1px solid #e1e2e9;border-radius:12px;background:#fff;cursor:pointer}.match-option:hover{border-color:#c9c7ed;background:#fafaff}.match-option:has(input:checked){border-color:#8d86e9;background:#f8f7ff;box-shadow:0 0 0 2px rgba(81,70,216,.07)}.match-option input{margin-top:3px;accent-color:#5146d8}.match-option>span{min-width:0;display:grid;gap:3px}.match-option strong{font-size:12px;font-weight:650;color:#3b3c51}.match-option small{color:#808195;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.match-option>b{font-size:12px;font-weight:650;color:#3b3c51;white-space:nowrap}.compact-empty{min-height:230px;margin:14px 22px 4px;border:1px dashed #d9dbe5;border-radius:12px}.compact-empty h3{font-size:19px}.report-loading{padding:30px 22px;color:#77788c;text-align:center;font-size:12px}
@media(max-width:900px){.bank-action-summary{grid-template-columns:1fr 1.4fr}.bank-action-summary>div:last-child{text-align:left}.bank-split-row{grid-template-columns:1fr 120px}.bank-split-row .wide-field{grid-column:span 1}.bank-split-row .split-remove{justify-self:end}.match-option{grid-template-columns:auto minmax(0,1fr)}.match-option>b{grid-column:2}}
@media(max-width:620px){.bank-action-summary{grid-template-columns:1fr}.bank-row-actions{justify-content:flex-start}.bank-split-row{grid-template-columns:1fr}.split-editor-head{align-items:flex-start;flex-direction:column}.bank-split-totals{justify-content:flex-start}.match-list{padding-left:14px;padding-right:14px}.compact-empty{margin-left:14px;margin-right:14px}}

/* F10 — Categorization history and bank rules */
.rule-summary{margin-bottom:14px}.rules-table{min-width:1120px}.rules-table td:nth-child(2){min-width:210px}.rules-table td small{display:block;margin-top:3px;color:#858699;font-size:9px}.bank-rule-drawer{width:min(860px,100%)}.rule-form-grid{padding-top:13px}.rule-section{margin-top:2px;border:1px solid #e2e3eb;border-radius:12px;background:#fff;overflow:hidden}.rule-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border-bottom:1px solid #e7e8ef;background:#fafafe}.rule-section-head>div{display:grid;gap:2px}.rule-section-head strong{font-size:12px;font-weight:650;color:#3b3c51}.rule-section-head small{color:#858699;font-size:10px}.inline-choice{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #eeeeF3;color:#696a7d;font-size:10px}.inline-choice select{min-height:34px;border:1px solid #d9dbe5;border-radius:8px;padding:5px 8px;color:#3f4054;background:#fff}.rule-condition-row{display:grid;grid-template-columns:150px 150px minmax(180px,1fr) auto;gap:8px;align-items:center;padding:9px 11px;border-top:1px solid #eeeeF3}.rule-condition-row:first-of-type{border-top:0}.rule-condition-row select,.rule-condition-row input{width:100%;min-height:38px;border:1px solid #d9dbe5;border-radius:9px;padding:7px 9px;color:#3f4054;background:#fff}.rule-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:11px 12px}.category-rule-head{border-top:1px solid #e7e8ef}.rule-split-row{display:grid;grid-template-columns:minmax(190px,1.25fr) 110px minmax(130px,.75fr) minmax(150px,1fr) auto;gap:8px;align-items:end;padding:10px 11px;border-top:1px solid #eeeeF3}.rule-split-row .field{margin:0}.percent-field input{text-align:right}.rule-remove{margin-bottom:3px}.rule-percent-total{display:flex;justify-content:flex-end;gap:7px;padding:9px 12px;border-top:1px solid #e7e8ef;background:#fafafe;color:#77788c;font-size:10px}.rule-percent-total strong{font-weight:650}.rule-percent-total.ok strong{color:#26704f}.rule-percent-total.bad strong{color:#b04b55}.auto-post-check{margin:3px 12px 0}.rule-section>.helper{margin:7px 12px 12px}.history-drawer{width:min(760px,100%)}.history-drawer .modal-header p{margin:3px 0 0;color:#858699;font-size:10px}.history-section{padding:14px 22px 2px}.history-section h3{margin:0 0 9px;color:#3c3d52;font-size:13px;font-weight:650}.history-category-list{display:grid;gap:7px}.history-category-card{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 11px;border:1px solid #e4e5ed;border-radius:10px;background:#fff}.history-category-card>div{min-width:0;display:grid;gap:2px}.history-category-card strong{font-size:11px;font-weight:650;color:#3b3c51}.history-category-card small{color:#858699;font-size:9px}.history-recent-list{display:grid;border:1px solid #e7e8ef;border-radius:10px;overflow:hidden}.history-recent-list>div{display:grid;grid-template-columns:92px minmax(120px,.7fr) minmax(160px,1.3fr) 105px;gap:9px;align-items:center;padding:8px 10px;border-top:1px solid #efeff4;background:#fff}.history-recent-list>div:first-child{border-top:0}.history-recent-list span,.history-recent-list small{font-size:9px;color:#858699}.history-recent-list strong{font-size:10px;font-weight:600;color:#3d3e52}.history-recent-list b{text-align:right;font-size:10px;font-weight:650;color:#3d3e52}.categorization-history-compact,.rule-suggestions.compact{grid-column:1/-1;margin-top:-2px;padding:10px 11px;border:1px solid #e3e4ed;border-radius:11px;background:#fafafe}.compact-history-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:7px}.compact-history-head>div{display:grid;gap:2px}.compact-history-head strong,.rule-suggestions.compact>strong{font-size:11px;font-weight:650;color:#3b3c51}.compact-history-head small,.rule-suggestions.compact>small{color:#858699;font-size:9px}.history-category-chip{display:inline-flex;justify-content:space-between;align-items:center;gap:9px;margin:3px 5px 3px 0;padding:6px 8px;border:1px solid #dddde8;border-radius:9px;color:#4a4b60;background:#fff;font-size:10px;text-align:left}.history-category-chip:hover{border-color:#bdb9ee;color:#5146d8}.history-category-chip small{color:#8a8b9c;font-size:8px}.rule-suggestions.compact{margin:11px 22px 1px}.rule-suggestion-card{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:7px;padding:8px 9px;border:1px solid #dfE0e8;border-radius:9px;background:#fff}.rule-suggestion-card>div{min-width:0;display:grid;gap:2px}.rule-suggestion-card b{font-size:10px;font-weight:650;color:#3d3e52}.rule-suggestion-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#858699;font-size:8px}
@media(max-width:900px){.rule-condition-row{grid-template-columns:1fr 1fr}.rule-condition-row input{grid-column:1/-1}.rule-split-row{grid-template-columns:1fr 120px}.rule-action-grid{grid-template-columns:1fr}.history-recent-list>div{grid-template-columns:82px minmax(0,1fr) 90px}.history-recent-list small{grid-column:2}.history-recent-list b{grid-column:3;grid-row:1/3}}
@media(max-width:620px){.rule-condition-row,.rule-split-row{grid-template-columns:1fr}.rule-section-head{align-items:flex-start;flex-direction:column}.rule-percent-total{justify-content:flex-start}.history-section{padding-left:14px;padding-right:14px}.history-category-card,.compact-history-head,.rule-suggestion-card{align-items:flex-start;flex-direction:column}.history-recent-list>div{grid-template-columns:1fr auto}.history-recent-list span,.history-recent-list strong,.history-recent-list small{grid-column:1}.history-recent-list b{grid-column:2;grid-row:1/4}.rule-suggestions.compact{margin-left:14px;margin-right:14px}}


/* Reconciliation and book controls */
.reconcile-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.reconcile-account-card .primary-button{margin-top:14px}.reconcile-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.reconcile-summary>div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 16px;display:flex;flex-direction:column;gap:5px}.reconcile-summary span{font-size:12px;color:var(--muted)}.reconcile-summary strong{font-size:20px;font-weight:650}.reconcile-summary .reconcile-ok{border-color:#b8e5d0;background:#f5fbf8}.reconcile-summary .reconcile-diff{border-color:#efd2d2;background:#fff8f8}.reconcile-table-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--line)}.reconcile-table-head>div{display:flex;flex-direction:column;gap:3px}.reconcile-table-head span{font-size:12px;color:var(--muted)}.reconciliation-table .check-col{width:42px;text-align:center}.reconciliation-table input[type=checkbox]{width:17px;height:17px}.reconcile-selected{background:#faf9ff}.reconciliation-history{margin-top:18px}.book-close-box{margin-top:16px;padding-top:16px;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,240px) auto auto;gap:12px;align-items:end}.book-close-box>div:first-child{align-self:center;display:flex;flex-direction:column;gap:3px}.book-close-box small{color:var(--muted);font-size:12px}.activity-list{display:flex;flex-direction:column}.activity-list>div{display:grid;grid-template-columns:110px 1fr;gap:14px;padding:11px 0;border-bottom:1px solid var(--line)}.activity-list>div:last-child{border-bottom:0}.activity-list>div>span{font-size:12px;color:var(--muted)}.activity-list p{margin:0;display:flex;flex-direction:column;gap:2px}.activity-list small{color:var(--muted)}@media(max-width:900px){.reconcile-account-grid,.reconcile-summary{grid-template-columns:1fr 1fr}.book-close-box{grid-template-columns:1fr}.reconcile-table-head{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.reconcile-account-grid,.reconcile-summary{grid-template-columns:1fr}}
