.wallet-rule-panel{min-width:0;padding:24px;margin-top:22px}.wallet-history-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.wallet-history-kpis>div{padding:14px;border:1px solid #dbeafe;border-radius:8px;background:#f8fafc}.wallet-history-kpis span{color:#64748b;font-size:12px;display:block}.wallet-history-kpis strong{font-size:21px;display:block;margin-top:5px}.wallet-history-panel table{width:100%;border-collapse:collapse;font-size:12px}.wallet-history-panel td,.wallet-history-panel th{padding:12px;text-align:left;border-bottom:1px solid #e2e8f0;vertical-align:top;line-height:1.65}.wallet-history-panel th{background:#f8fafc;color:#475569}.wallet-history-details{min-width:800px;table-layout:fixed}.wallet-history-details th:first-child{width:55px}.wallet-history-details th:nth-child(2){width:160px}.wallet-history-details th:nth-child(3){width:240px}.wallet-history-panel td{overflow-wrap:anywhere}.wallet-history-panel td small,.wallet-history-panel td strong{display:block}.wallet-history-panel td small{color:#64748b;margin-top:5px}.wallet-history-panel details summary{cursor:pointer;color:#2563eb}.wallet-history-confirm{width:min(480px,calc(100vw - 32px));padding:24px}.wallet-history-confirm p{line-height:1.8}@media(max-width:700px){.wallet-history-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}.wallet-classification-evidence{font-size:11px;white-space:normal;margin-top:5px;min-width:90px}.wallet-classification-evidence summary{cursor:pointer;color:#2563eb}.wallet-classification-evidence p{max-width:260px;line-height:1.6;color:#64748b}.wallet-rule-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.wallet-rule-heading h2{font-size:20px;margin:5px 0 8px}.wallet-rule-heading p,.wallet-rule-trial>p{margin:0;color:#64748b;font-size:13px;line-height:1.7}.wallet-rule-eyebrow{color:#2563eb;font-size:12px;font-weight:600}.wallet-rule-status{background:#eff6ff;color:#1d4ed8;border-radius:8px;padding:8px 12px;white-space:nowrap;font-size:12px}.wallet-rule-toolbar,.wallet-rule-filter{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}.wallet-rule-panel label,.wallet-rule-modal label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#334155}.wallet-rule-panel input:not([type=checkbox]),.wallet-rule-panel select,.wallet-rule-modal input:not([type=checkbox]),.wallet-rule-modal select,.wallet-rule-modal textarea{min-width:0;border:1px solid #cbd5e1;border-radius:7px;padding:9px 11px;background:#fff;color:#1e293b;font:inherit}.wallet-rule-toolbar input{max-width:160px}.wallet-rule-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}.wallet-rule-note,.wallet-rule-message,.wallet-rule-errors{padding:12px 14px;background:#f8fafc;border-radius:8px;color:#475569;font-size:13px;line-height:1.7;margin:12px 0}.wallet-rule-message{background:#eff6ff;color:#1e40af}.wallet-rule-errors{background:#fff7ed;color:#9a3412}.wallet-rule-filter{justify-content:flex-start}.wallet-rule-filter>input{width:280px}.wallet-rule-filter>span{margin-left:auto;font-size:12px;color:#64748b}.wallet-rule-table-wrap{max-height:520px;overflow:auto;border:1px solid #e2e8f0;border-radius:9px}.wallet-rule-table{width:100%;border-collapse:collapse;font-size:12px;min-width:770px}.wallet-rule-table th{position:sticky;top:0;background:#f1f5f9;text-align:left;padding:12px;z-index:1;color:#475569}.wallet-rule-table td{padding:12px;vertical-align:top;border-top:1px solid #e2e8f0;line-height:1.65}.wallet-rule-table td:nth-child(4){width:46%}.wallet-rule-table td:nth-child(3){white-space:nowrap}.wallet-rule-table p{margin:4px 0;color:#64748b;max-width:620px}.wallet-rule-table small{display:block;color:#64748b;font-size:12px}.wallet-rule-order{display:flex;gap:3px;margin-top:5px}.wallet-rule-order button{background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:0 5px;cursor:pointer}.wallet-rule-disabled{opacity:.5}.wallet-rule-trial{padding:22px 0 0}.wallet-rule-trial h3{font-size:16px;margin:0 0 6px}.wallet-rule-trial-fields{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,2fr) minmax(0,1.4fr) minmax(0,.7fr) minmax(0,1fr);gap:12px;margin:16px 0}.wallet-rule-trial-fields>label{min-width:0}.wallet-rule-trial-fields input{width:100%;box-sizing:border-box}.wallet-rule-result{margin-top:16px;background:#f0fdf4;border:1px solid #bbf7d0;padding:15px;border-radius:9px;font-size:13px;line-height:1.8}.wallet-rule-result p{color:#475569;margin:5px 0}.wallet-rule-result summary{cursor:pointer}.wallet-rule-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:150;background:#0f172a80;display:flex;align-items:center;justify-content:center;padding:20px}.wallet-rule-modal{background:#fff;border-radius:14px;padding:24px;width:740px;max-width:100%;max-height:90vh;overflow:auto;box-shadow:0 20px 60px #0f172a30}.wallet-rule-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.wallet-rule-wide{grid-column:1 / -1}.wallet-rule-checks{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.wallet-rule-checks label{flex-direction:row;align-items:center}@media(max-width:1200px){.wallet-rule-trial-fields{grid-template-columns:1fr 1fr}.wallet-rule-heading{flex-wrap:wrap}}@media(max-width:600px){.wallet-rule-panel{padding:15px}.wallet-rule-trial-fields,.wallet-rule-editor-grid{grid-template-columns:1fr}}:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#172238;background:#f4f7fb;font-synthesis:none;--blue: #3f7ee8;--blue-dark: #275fc3;--blue-soft: #eaf2ff;--amber: #f59e0b;--green: #16a36a;--violet: #6558e8;--ink: #172238;--muted: #6c7890;--line: #e4eaf2;--sidebar: #172238;--brand-50: #eef4ff;--brand-100: #dbe8ff;--brand-500: #3f7ee8;--brand-600: #2f6dd4;--brand-700: #2557ab;--surface: #ffffff;--surface-soft: #f6f9fd;--surface-muted: #eef3fa;--border-subtle: #e9eef6;--border-base: #dde4ef;--border-strong: #c7d1e1;--text-strong: #172238;--text-base: #31415c;--text-muted: #6c7890;--text-faint: #98a3b7;--danger-50: #fef3f2;--danger-100: #fee4e2;--danger-500: #dc2626;--danger-600: #b91c1c;--danger-700: #991b1b;--success-50: #ecfdf5;--success-100: #d1fae5;--success-500: #16a36a;--success-600: #059669;--success-700: #047857;--warn-50: #fffbeb;--warn-100: #fef3c7;--warn-500: #f59e0b;--warn-600: #d97706;--warn-700: #b45309}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4f7fb;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}.auth-loading,.login-screen{min-height:100vh;background:radial-gradient(circle at 15% 18%,rgba(63,126,232,.2),transparent 34%),radial-gradient(circle at 85% 82%,rgba(101,88,232,.16),transparent 34%),#f4f7fb}.auth-loading{display:grid;place-content:center;justify-items:center;gap:14px;color:#506078}.login-screen{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);align-items:center;gap:clamp(54px,9vw,140px);padding:clamp(28px,7vw,100px)}.login-intro{justify-self:end;width:min(460px,100%)}.login-brand-mark{width:60px;height:60px;display:grid;place-items:center;border-radius:18px;color:#fff;background:linear-gradient(145deg,#3f7ee8,#6558e8);box-shadow:0 18px 42px #3f5bc247}.login-intro>span{display:block;margin-top:30px;color:var(--blue);font-size:13px;font-weight:850;letter-spacing:.1em}.login-intro h1{margin:12px 0 5px;color:#172238;font-size:clamp(34px,4vw,54px);line-height:1.15}.login-intro p{margin:0;color:#718096;font-size:20px;font-weight:650}.login-card{width:min(470px,100%);display:grid;gap:20px;padding:clamp(28px,4vw,44px);border:1px solid rgba(218,227,240,.95);border-radius:24px;background:#fffffff0;box-shadow:0 30px 80px #1e325624;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.login-card-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;color:var(--blue-dark);background:var(--blue-soft)}.login-card h2{margin:0;font-size:25px}.login-card>div>p{margin:7px 0 0;color:var(--muted);font-size:13px}.login-field{display:grid;gap:8px}.login-field span{color:#4d5b73;font-size:13px;font-weight:750}.login-field input{width:100%;height:48px;padding:0 14px;border:1px solid #d6deeb;border-radius:11px;outline:none;color:var(--ink);background:#fbfcfe;transition:.18s ease}.login-field input:focus{border-color:#7ba7ef;box-shadow:0 0 0 4px #3f7ee81c;background:#fff}.login-error{display:flex;align-items:center;gap:7px;padding:10px 12px;border-radius:9px;color:#b8323c;background:#fff1f2;font-size:12px;font-weight:700}.login-submit{height:48px;border:0;border-radius:11px;color:#fff;background:linear-gradient(135deg,#2f70de,#5b57dc);box-shadow:0 12px 26px #3f67d13d;font-weight:800}.login-submit:disabled{cursor:not-allowed;opacity:.58}.login-card small{color:#8793a6;font-size:11px;line-height:1.55}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;padding:24px 18px 20px;background:var(--sidebar);color:#fff;display:flex;flex-direction:column;z-index:20;transition:transform .22s ease}.sidebar-toggle{position:absolute;top:18px;right:-15px;width:30px;height:30px;display:grid;place-items:center;border:1px solid #dce4ef;border-radius:50%;color:#53627a;background:#fff;box-shadow:0 6px 18px #17223829}.sidebar-reopen{position:fixed;top:18px;left:18px;z-index:35;width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:12px;color:#fff;background:var(--sidebar);box-shadow:0 10px 28px #17223838}.sidebar-is-collapsed .sidebar{transform:translate(-110%)}.brand{display:flex;align-items:center;gap:12px;padding:0 6px 22px;border-bottom:1px solid rgba(255,255,255,.09)}.brand-mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#536dde;color:#fff;box-shadow:0 10px 26px #3360be47}.brand strong{display:block;font-size:17px}.brand span{display:block;margin-top:4px;color:#9eaabd;font-size:12px}.sidebar nav{display:grid;gap:7px;padding:22px 0}.sidebar nav button{border:0;border-radius:11px;background:transparent;color:#aeb9ca;display:flex;align-items:center;gap:13px;padding:12px 14px;font-weight:650;text-align:left;transition:.18s ease}.sidebar nav button:hover{background:#ffffff0f;color:#fff}.sidebar nav button.active{color:#fff;background:#3f7ee8;box-shadow:0 10px 24px #2054b347}.sidebar-foot{margin-top:auto;display:flex;align-items:center;gap:10px;padding:16px 8px 0;border-top:1px solid rgba(255,255,255,.09)}.sidebar-profile-copy{min-width:0;flex:1}.logout-button{width:32px;height:32px;flex:0 0 auto;display:grid;place-items:center;border:0;border-radius:9px;color:#9eacc0;background:#ffffff0f}.logout-button:hover{color:#fff;background:#ffffff1f}.profile-avatar,.person-avatar{width:34px;height:34px;border-radius:50%;display:inline-grid;place-items:center;background:#6558e8;color:#fff;font-size:13px;font-weight:800;flex:0 0 auto}.profile-avatar{background:#324158}.profile-avatar+div strong,.profile-avatar+div span{display:block}.profile-avatar+div strong{font-size:13px}.profile-avatar+div span{color:#8f9cb0;font-size:11px;margin-top:3px}.profile-avatar+div .database-status.ready{color:#72d9ad}.profile-avatar+div .database-status.saving,.profile-avatar+div .database-status.loading{color:#b9cdf5}.profile-avatar+div .database-status.error,.profile-avatar+div .database-status.conflict{color:#ff9b9b}.main-content{min-height:100vh;margin-left:246px;transition:margin-left .22s ease}.sidebar-is-collapsed .main-content{margin-left:0}.view-shell{width:100%;margin:0;padding:34px 36px 54px}.mobile-header,.mobile-nav{display:none}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}.eyebrow{display:block;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.08em;margin-bottom:8px}.page-heading h1{margin:0;color:var(--ink);font-size:clamp(26px,2.4vw,34px);line-height:1.16;letter-spacing:-.03em}.page-heading p{margin:8px 0 0;color:var(--muted);font-size:14px}.heading-actions,.date-range{display:flex;align-items:center;gap:10px}.month-field{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--muted)}.month-field input,.date-range input{border:0;color:var(--ink);outline:0;background:transparent}.date-range{padding:8px 10px;background:#fff;border:1px solid var(--line);border-radius:11px;color:var(--muted)}.date-range input{padding:4px}.primary-button,.secondary-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;font-weight:750;transition:.18s ease;white-space:nowrap}.primary-button{border:1px solid var(--blue);background:var(--blue);color:#fff;padding:11px 16px;box-shadow:0 9px 19px #3f7ee833}.primary-button:hover{background:var(--blue-dark);transform:translateY(-1px)}.primary-button:disabled{background:#b5c7e4;border-color:#b5c7e4;color:#ffffffd9;cursor:not-allowed;transform:none;box-shadow:none}.secondary-button{border:1px solid #ced8e7;background:#fff;color:#30415c;padding:9px 13px}.secondary-button:hover,.ghost-button:hover{border-color:var(--blue);color:var(--blue)}.ghost-button{border:1px solid var(--line);background:transparent;color:#526178;padding:8px 12px}.review-banner{margin-bottom:18px;padding:13px 16px;display:flex;align-items:center;gap:12px;color:#8a5600;border:1px solid #f5d791;background:#fff9e8;border-radius:12px}.review-banner>div{flex:1}.review-banner strong,.review-banner span{display:block}.review-banner strong{font-size:14px}.review-banner span{margin-top:3px;color:#9a6b1d;font-size:12px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.stat-card{min-width:0;padding:20px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 6px 22px #2536520e;display:flex;align-items:flex-start;gap:13px}.stat-icon{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto}.tone-blue .stat-icon{color:var(--blue);background:#eaf2ff}.tone-amber .stat-icon{color:#c97b00;background:#fff3d5}.tone-green .stat-icon{color:var(--green);background:#e6f8f0}.tone-violet .stat-icon{color:var(--violet);background:#efedff}.stat-card p,.stat-card strong,.stat-card span{display:block}.stat-card p{margin:1px 0 8px;color:var(--muted);font-size:12px;font-weight:650}.stat-card strong{color:var(--ink);font-size:clamp(20px,1.7vw,25px);line-height:1.05;letter-spacing:-.025em;white-space:nowrap}.stat-card span{margin-top:8px;color:#8b97aa;font-size:11px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 6px 22px #2536520e}.analysis-grid{display:grid;grid-template-columns:minmax(330px,.78fr) minmax(520px,1.6fr);gap:18px;margin-bottom:18px}.store-panel,.category-panel{min-height:356px;padding:22px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.panel-title>svg{color:#8692a5}.panel-title span{display:block;color:#8a97aa;font-size:11px;font-weight:750;letter-spacing:.05em;margin-bottom:4px}.panel-title h2{margin:0;font-size:18px;letter-spacing:-.02em}.store-chart-wrap{min-height:250px;display:grid;grid-template-columns:minmax(190px,1fr) minmax(170px,.95fr);align-items:center;gap:12px}.donut-chart{position:relative;width:100%;height:232px}.donut-center{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);text-align:center;pointer-events:none}.donut-center strong{display:block;font-size:18px}.donut-center span{display:block;color:#94a0b2;font-size:11px;margin-top:4px}.store-legend{display:grid;gap:14px}.store-legend>div{display:grid;grid-template-columns:11px 1fr auto;align-items:center;gap:8px}.store-legend i{width:10px;height:10px;border-radius:3px}.store-legend span{font-size:13px;font-weight:650}.store-legend strong{font-size:14px}.store-legend em{grid-column:2 / -1;color:#8d99ab;font-size:11px;font-style:normal}.category-chart{height:265px}.pivot-panel,.ledger-panel,.reimbursement-panel{overflow:hidden}.pivot-panel .panel-title,.reimbursement-panel .panel-title{margin:0;padding:20px 22px;border-bottom:1px solid var(--line)}.pivot-dashboard-header{min-height:78px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:22px}.pivot-dashboard-title,.pivot-dashboard-actions{display:flex;align-items:center;gap:22px}.pivot-dashboard-title>div>span{color:#7f8ea5;font-size:10px;font-weight:800}.pivot-dashboard-title h2{margin:3px 0 0;color:var(--ink);font-size:20px;letter-spacing:-.02em}.pivot-month-field{padding-left:18px;display:inline-flex;align-items:center;gap:7px;color:#52617a;border-left:1px solid #e1e7f0}.pivot-month-field input{width:126px;padding:7px 5px;border:0;color:#35445c;background:transparent;font:inherit;font-size:12px;font-weight:750}.pivot-store-switch{display:inline-flex;max-width:100%;overflow-x:auto;padding:3px;border:1px solid #d7e0ed;border-radius:9px;background:#fff}.pivot-store-switch button{min-width:88px;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:7px;color:#56657c;background:transparent;font-size:11px;font-weight:800}.pivot-store-switch button+button{border-left:1px solid #e3e8f0}.pivot-store-switch button.active{color:var(--store-color, #1e5fc4);background:var(--store-soft, #f2f7ff);box-shadow:inset 0 0 0 1px var(--store-color, #b9d0f2)}.pivot-store-switch button svg{color:var(--store-color, #3f7ee8)}.pivot-detail-button{padding:10px 14px;display:inline-flex;align-items:center;gap:7px;border:0;border-radius:8px;color:#fff;background:#0864d9;box-shadow:0 7px 16px #0864d938;font-size:11px;font-weight:800}.pivot-kpi-strip{margin:0 16px;padding:17px 16px 13px;border:1px solid #dce4ef;border-radius:10px 10px 0 0;background:#fff}.pivot-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.pivot-kpi-grid article{min-height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid #e1e7f0}.pivot-kpi-grid article:last-child{border-right:0}.pivot-kpi-grid span{color:#53627a;font-size:11px;font-weight:750}.pivot-kpi-grid strong{margin:4px 0 2px;color:#0d5fc6;font-size:23px;line-height:1.15;letter-spacing:.01em}.pivot-kpi-grid small{color:#8491a5;font-size:9px;font-weight:650}.pivot-kpi-grid article.personal{padding:10px 18px;flex-direction:column;align-items:stretch;gap:8px}.pivot-personal-total{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.pivot-personal-total>strong{color:#6f2dbd}.pivot-personal-label{display:inline-flex;align-items:baseline;gap:5px}.pivot-personal-label .pivot-personal-store{margin:0;color:#2f3c51;font-size:13px;font-weight:900;line-height:1;letter-spacing:0}.pivot-reimbursement-summary{min-width:0;padding-top:8px;display:flex;flex-direction:column;justify-content:center;border-top:1px solid #e7ddf8}.pivot-reimbursement-summary button{border:0;font:inherit;cursor:pointer}.pivot-reimbursement-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(142px,1fr));gap:3px 8px}.pivot-reimbursement-people button{min-width:0;padding:4px 6px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:6px;color:#62547e;background:#f8f5ff}.pivot-reimbursement-people button:hover{background:#f1ebff}.pivot-reimbursement-people span{overflow:hidden;color:#6f6287;font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.pivot-reimbursement-people strong{margin:0;color:#5f2fb5;font-size:10px;line-height:1.2;white-space:nowrap}.pivot-reimbursement-empty{padding:5px 6px;color:#8d80a5;background:#f8f5ff;border-radius:6px}.pivot-mix-bar{height:18px;margin-top:12px;display:flex;overflow:hidden;border-radius:999px;background:#edf1f6}.pivot-mix-bar span{min-width:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:9px;font-weight:850;white-space:nowrap}.pivot-mix-bar .tone-blue{background:#075fcf}.pivot-mix-bar .tone-slate{background:#8190a5}.pivot-mix-bar .tone-violet{background:#6f2dbd}.pivot-kpi-strip+.table-scroll{margin:0 16px 16px;width:calc(100% - 32px);border:1px solid #dce4ef;border-top:0;border-radius:0 0 10px 10px}.table-scroll{width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th{padding:13px 15px;text-align:left;background:#f5f7fb;color:#66758d;font-size:11px;font-weight:800;white-space:nowrap;border-bottom:1px solid var(--line)}.data-table td{padding:13px 15px;color:#36445c;border-bottom:1px solid #edf1f6;vertical-align:middle}.data-table tbody tr:hover{background:#f8fbff}.data-table .store-cq{color:#285dbd;background:#eaf2ff}.data-table .store-cd{color:#a76100;background:#fff5dc}.data-table .store-dynamic-head{color:var(--store-color, #285dbd);background:var(--store-soft, #eaf2ff)}.pivot-table td:not(:first-child),.pivot-table th:not(:first-child){text-align:right}.interactive-pivot-table{width:100%;min-width:900px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:10.5px;font-variant-numeric:tabular-nums}.interactive-pivot-table thead tr:first-child th{text-align:center;border-right:1px solid #e5ebf3;border-bottom-color:#dde5f0}.interactive-pivot-table thead tr:first-child th:first-child{width:165px;text-align:left;vertical-align:middle;padding-left:14px;color:#52617a;background:#f8fafc}.interactive-pivot-table thead tr:nth-child(n+2) th{min-width:0;padding:9px 3px;font-size:10px;text-align:center;color:#586982;background:#f8fafc}.pivot-group-head{color:#4f6079!important;background:#eef2f7!important}.pivot-group-head,.interactive-pivot-table .store-cq,.interactive-pivot-table .store-cd,.interactive-pivot-table .store-dynamic-head{padding-top:14px;padding-bottom:13px}.pivot-head-title,.pivot-group-head small{display:block}.pivot-group-head small,.pivot-personal-head small{margin-top:3px;color:#8a97aa;font-size:9px;font-weight:650}.pivot-total-column-head{color:#27364d!important;background:#f1f5f9!important}.pivot-previous-column-head{color:#607089!important;background:#f8fafc!important}.pivot-comparison-column-head{color:#8b5a20!important;background:#fffaf0!important}.pivot-week-column-head,.pivot-company-column-head{border-right:1px solid #dde5f0!important}.pivot-personal-head{color:#5546bd!important;background:#eeeaff!important;border-top:0}.pivot-personal-head>span{display:inline-flex;align-items:center;justify-content:center;gap:6px}.pivot-personal-head small{display:block;color:#796db8}.interactive-pivot-table thead .pivot-personal-subhead,.interactive-pivot-table thead .pivot-handler-head{color:#5b4bc2;background:#f5f2ff;border-bottom-color:#dcd5fb}.interactive-pivot-table thead .pivot-personal-subhead{border-left:0;font-weight:850}.interactive-pivot-table thead .pivot-handler-head{display:table-cell;color:#6a5ca8}.pivot-handler-head svg{margin-right:4px;color:#7567dc;vertical-align:-2px}.pivot-table td:first-child{position:sticky;left:0;z-index:1;color:var(--ink);font-weight:750;background:inherit;border-right:1px solid #e5ebf3;box-shadow:8px 0 12px -14px #1f2e498c}.pivot-parent-row{background:#fff}.pivot-parent-row:nth-child(2n){background:#fbfcfe}.pivot-parent-row:hover{background:#f4f8ff}.pivot-child-row{background:#f8fafc}.pivot-child-row td{padding-top:10px;padding-bottom:10px;color:#637189}.pivot-child-row td:first-child{padding-left:31px;font-weight:600}.pivot-category-button{width:100%;display:inline-flex;align-items:center;gap:7px;padding:3px 0;border:0;color:inherit;background:transparent;font-weight:inherit;text-align:left}.pivot-category-button small{margin-left:0;color:#98a4b5;font-size:9px;font-weight:650}.pivot-category-summary{min-width:105px;display:grid;grid-template-columns:1fr auto;gap:2px 8px;align-items:center}.pivot-category-summary strong{font-weight:inherit}.pivot-category-summary small{grid-column:1}.pivot-category-share{width:58px;height:4px;grid-column:1;overflow:hidden;border-radius:999px;background:#e3e9f2}.pivot-category-share i{height:100%;display:block;border-radius:inherit;background:#0864d9}.pivot-category-button>em{margin-left:auto;color:#66758d;font-size:9px;font-style:normal;font-weight:700}.pivot-category-button.child{color:#52617a;font-weight:650}.pivot-child-mark{width:7px;height:7px;border:2px solid #9aabc0;border-radius:50%}.pivot-category-button:hover{color:var(--blue-dark)}.pivot-number-button{width:100%;padding:5px 3px;border:0;border-radius:7px;color:inherit;background:transparent;text-align:right;white-space:nowrap}.interactive-pivot-table tbody td,.interactive-pivot-table tfoot td{padding:9px 3px}.pivot-income-row{background:#f1fbf6;box-shadow:inset 0 -1px #cfe8db}.pivot-income-row:hover{background:#e9f8f0}.pivot-income-row td{color:#176344}.pivot-financial-label{display:grid;gap:3px;padding:2px 8px}.pivot-financial-label strong{font-size:12px;font-weight:850}.pivot-financial-label small{color:#668578;font-size:9px;font-weight:650}.pivot-income-value,.pivot-not-applicable,.pivot-profit-value{text-align:right;font-variant-numeric:tabular-nums;font-weight:780}.pivot-income-editor-cell{min-width:138px}.pivot-income-editor{display:flex;align-items:center;gap:4px;min-width:132px;padding:3px 4px 3px 7px;border:1px solid #9bd0b3;border-radius:8px;background:#fff}.pivot-income-editor>span{color:#23805b;font-size:11px;font-weight:800}.pivot-income-editor input{width:66px;min-width:0;padding:3px 0;border:0;outline:0;color:#164d39;background:transparent;text-align:right;font-size:10px;font-weight:800;font-variant-numeric:tabular-nums}.pivot-income-editor button{padding:4px 6px;border:0;border-radius:6px;color:#fff;background:#1f9668;font-size:9px;font-weight:780;white-space:nowrap}.pivot-income-editor button:disabled{opacity:.6}.pivot-income-message{display:block;max-width:138px;margin-top:3px;color:#377b60;font-size:8px;text-align:right}.pivot-income-comparison{background:#f8fcf9;text-align:right}.pivot-income-comparison strong,.pivot-income-comparison small{display:block}.pivot-income-comparison strong{font-size:10px}.pivot-income-comparison small{margin-top:2px;font-size:8px}.pivot-income-comparison.is-increase{color:#16815f}.pivot-income-comparison.is-decrease{color:#bd6027}.pivot-not-applicable{color:#a7b1bf!important;font-weight:500!important}.pivot-column-comparison{background:#fffdf8}.pivot-parent-row:nth-child(2n) .pivot-column-comparison{background:#fffcf5}.pivot-parent-row:hover .pivot-column-comparison,.pivot-child-row:hover .pivot-column-comparison{background:#fff6df}.pivot-comparison-button{display:grid;justify-items:end;gap:2px;line-height:1.05;white-space:normal}.pivot-comparison-button strong{font-size:10px;font-weight:820}.pivot-comparison-button small{font-size:8px;font-weight:750}.pivot-comparison-button.is-increase{color:#bd6027}.pivot-comparison-button.is-decrease{color:#16815f}.pivot-comparison-button.is-flat{color:#7c8798}.pivot-metric-cell{transition:background .16s ease,box-shadow .16s ease}.pivot-metric-cell.is-zero .pivot-number-button{color:#b5bfcd;font-weight:500}.pivot-personal-cell{background:#faf8ff}.pivot-parent-row:nth-child(2n) .pivot-personal-cell{background:#f7f4ff}.pivot-parent-row:hover .pivot-personal-cell,.pivot-child-row:hover .pivot-personal-cell{background:#f1edff}.pivot-personal-cell .pivot-number-button{color:#5b4bc2;font-weight:720}.pivot-personal-cell.is-zero .pivot-number-button{color:#bbb5d0;font-weight:500}.pivot-personal-subtotal-cell{border-left:0;box-shadow:none}.interactive-pivot-table tbody .pivot-column-week,.interactive-pivot-table tbody .pivot-column-company{border-right:1px solid #dde5f0}.pivot-personal-subtotal-cell:not(.is-zero) .pivot-number-button{color:#4f3eb4;font-weight:850}.pivot-column-week .pivot-number-button,.pivot-column-store .pivot-number-button,.pivot-column-pocket .pivot-number-button,.pivot-column-company .pivot-number-button{color:#0864d9}.interactive-pivot-table tbody tr:has(.active-cell){background:#f0f6ff;box-shadow:inset 0 0 0 1px #c5daf8}.pivot-number-button:hover{color:var(--blue-dark);background:#eaf2ff}.pivot-table td.active-cell{background:#e5f0ff;box-shadow:inset 0 0 0 1px #bad3f7}.pivot-table td.active-cell .pivot-number-button{color:#235cb9;font-weight:800}.store-switch{display:inline-flex;max-width:100%;overflow-x:auto;gap:4px;padding:4px;border:1px solid #dce4ef;border-radius:10px;background:#f5f7fb}.store-switch button{padding:7px 12px;border:0;border-radius:7px;color:#65738a;background:transparent;font-size:11px;font-weight:750}.store-switch button.active{color:#fff;background:var(--store-color, var(--blue));box-shadow:0 4px 12px var(--store-soft, rgba(63, 126, 232, .22))}.pivot-table tfoot{background:#253248;color:#fff;font-weight:800}.pivot-table tfoot td{color:#fff;border:0}.pivot-table tfoot .pivot-personal-cell{background:#302f5f}.pivot-table tfoot .pivot-personal-subtotal-cell{box-shadow:none}.pivot-table tfoot .pivot-personal-cell .pivot-number-button,.pivot-table tfoot .pivot-personal-cell.is-zero .pivot-number-button{color:#f1efff;font-weight:800}.pivot-table tfoot .pivot-number-button{color:#fff;font-weight:800}.pivot-table tfoot td.active-cell,.pivot-table tfoot .pivot-number-button:hover{background:#355078;color:#fff}.pivot-table tfoot td:first-child{color:#fff}.interactive-pivot-table tfoot{background:#f7f9fc}.interactive-pivot-table tfoot td,.interactive-pivot-table tfoot td:first-child{color:#17243a;border-top:1px solid #dce4ef;font-weight:850}.interactive-pivot-table tfoot .pivot-number-button{color:#17243a}.interactive-pivot-table tfoot .pivot-column-week .pivot-number-button,.interactive-pivot-table tfoot .pivot-column-store .pivot-number-button,.interactive-pivot-table tfoot .pivot-column-pocket .pivot-number-button,.interactive-pivot-table tfoot .pivot-column-company .pivot-number-button{color:#075fcf}.interactive-pivot-table tfoot .pivot-personal-cell{background:#f5f1ff}.interactive-pivot-table tfoot .pivot-column-week,.interactive-pivot-table tfoot .pivot-column-company{border-right:1px solid #dde5f0}.interactive-pivot-table tfoot .pivot-personal-cell .pivot-number-button,.interactive-pivot-table tfoot .pivot-personal-cell.is-zero .pivot-number-button{color:#6a2db7}.interactive-pivot-table tfoot .pivot-profit-row td{border-top:2px solid #b8d9c7;background:#eef9f3;color:#174b36;font-weight:900}.interactive-pivot-table tfoot .pivot-profit-row td:first-child{color:#174b36}.interactive-pivot-table tfoot .pivot-profit-row .is-loss{color:#bd4f45;background:#fff2f0}.interactive-pivot-table tfoot .pivot-profit-row .is-profit{color:#0f7a52}.trend-placeholder{margin-top:18px;padding:22px 24px;border:1px dashed #c7d3e3;border-radius:15px;background:#f8fbff;display:flex;align-items:center;justify-content:space-between;gap:24px}.trend-placeholder>div>span{color:var(--blue);font-size:11px;font-weight:800}.trend-placeholder h2{margin:4px 0 6px;font-size:18px}.trend-placeholder p{margin:0;color:var(--muted);font-size:12px}.monthly-trend-panel{margin-top:18px;padding:22px}.monthly-trend-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.month-count-badge{padding:6px 10px;border:1px solid #dce4ef;border-radius:999px;color:#65738a;background:#f8fafc;font-size:11px;font-weight:750}.monthly-trend-table-scroll{margin-top:16px;border:1px solid var(--line);border-radius:13px}.monthly-trend-table{min-width:760px}.monthly-trend-table th,.monthly-trend-table td{min-width:170px}.monthly-trend-table th:first-child,.monthly-trend-table td:first-child{position:sticky;left:0;z-index:2;min-width:260px;max-width:260px;display:table-cell;text-align:left;box-shadow:1px 0 #e5ebf3}.monthly-trend-table thead th:first-child{z-index:4;background:#f5f7fb}.monthly-trend-table tbody tr td:first-child{background:#fff}.monthly-trend-table tbody tr.pivot-child-row td:first-child{background:#f8fafc}.monthly-trend-table tfoot td:first-child{z-index:3;background:#253248}.monthly-category-label{display:inline-flex;align-items:center;gap:8px;color:#52617a;font-weight:650}.monthly-category-label.child{padding-left:18px}.monthly-trend-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:24px;margin-top:18px}.monthly-trend-chart{height:260px;padding:8px 4px 0}.monthly-change-list{display:grid;align-content:start;gap:9px}.monthly-change-summary,.category-change-row{border:1px solid var(--line);border-radius:11px;background:#f8fafc}.monthly-change-summary{padding:14px;display:grid;gap:4px}.monthly-change-summary span,.monthly-change-summary small{color:var(--muted);font-size:11px}.monthly-change-summary strong{font-size:20px}.category-change-row{padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px}.monthly-change-list .up{color:#c04f39}.monthly-change-list .down{color:#16805b}.comparison-note,.empty-comparison{margin-top:16px;padding:12px 14px;border-radius:10px;display:flex;align-items:flex-start;gap:9px;color:#765719;background:#fff8e8;font-size:12px;line-height:1.55}.period-tag{display:block;margin-top:3px;color:#a36a13;font-size:10px}.filter-bar{display:flex;align-items:center;gap:9px;padding:17px 20px;border-bottom:1px solid var(--line);flex-wrap:wrap}.import-batch-review-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 20px;border-bottom:1px solid #d8e5f4;background:#f2f7ff}.import-batch-review-bar>div:first-child{min-width:0;display:grid;gap:4px}.import-batch-review-bar strong,.import-batch-review-bar span,.import-batch-review-bar small{display:block}.import-batch-review-bar strong{color:#24466f;font-size:13px}.import-batch-review-bar span{color:#4b6380;font-size:12px}.import-batch-review-bar small{color:#a16a0b;font-size:11px}.import-batch-review-bar>div:last-child{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}@media(max-width:980px){.import-batch-review-bar{align-items:stretch;flex-direction:column}.import-batch-review-bar>div:last-child{justify-content:flex-start}}.ledger-heading-actions{min-width:0;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}.ledger-filter-totals{display:grid;grid-template-columns:repeat(var(--summary-columns, 4),minmax(92px,1fr));overflow:hidden;border:1px solid #dce4ef;border-radius:10px;background:#ffffffc7;box-shadow:0 8px 22px #28426a0f}.ledger-filter-totals>span{min-width:92px;padding:9px 11px;border-right:1px solid #e6ebf2}.ledger-filter-totals>span:last-child{border-right:0}.ledger-filter-totals small,.ledger-filter-totals strong{display:block;white-space:nowrap}.ledger-filter-totals small{margin-bottom:3px;color:#8390a4;font-size:9px;font-weight:750}.ledger-filter-totals strong{color:#1f3049;font-size:12px;font-variant-numeric:tabular-nums}.ledger-filter-totals .paid strong{color:#16805b}.ledger-filter-totals .pending strong{color:#b87408}.ledger-filter-totals .not-required strong{color:#66758d}.ledger-filter-totals .handler-name strong{color:#285dbd;font-size:14px}.ledger-filter-totals .handler-total strong{color:#b87408}.ledger-filter-totals .handler-store-total strong{color:var(--store-color, #3f7ee8)}.ledger-store-switch{display:inline-flex;flex:0 0 auto;max-width:100%;overflow-x:auto;padding:3px;border:1px solid #d7e0ed;border-radius:10px;background:#fff}.ledger-store-switch button{min-width:73px;padding:8px 10px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:7px;color:#5e6d83;background:transparent;font-size:10px;font-weight:800;white-space:nowrap}.ledger-store-switch button+button{border-left:1px solid #e5eaf1}.ledger-store-switch button.active{color:var(--store-color, #285dbd);background:var(--store-soft, #edf4ff);box-shadow:inset 0 0 0 1px var(--store-color, #bfd2ef)}.ledger-store-switch button svg{color:var(--store-color, #3f7ee8)}@media(max-width:1360px){.ledger-view-shell .page-heading{align-items:flex-start;flex-direction:column}.ledger-heading-actions{width:100%;justify-content:flex-start}}@media(max-width:820px){.ledger-filter-totals{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-filter-totals>span:nth-child(2){border-right:0}.ledger-filter-totals>span:nth-child(-n+2){border-bottom:1px solid #e6ebf2}.ledger-store-switch{width:100%}.ledger-store-switch button{min-width:0;flex:1}}.search-field{min-width:240px;flex:1;display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid #d7dfeb;border-radius:9px;color:#8c98a9}.search-field input,.amount-search-field input{min-width:0;flex:1;border:0;outline:0}.amount-search-field{min-width:155px;display:flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid #d7dfeb;border-radius:9px;color:#58708f;background:#fff}.amount-search-field span{font-weight:750}.filter-bar select,.form-grid select,.form-grid input,.form-grid textarea,.inline-add input{border:1px solid #d7dfeb;color:#30415a;background:#fff;border-radius:9px;outline:0}.filter-bar select{padding:9px 10px}.category-review-kpis{display:grid;grid-template-columns:repeat(3,minmax(105px,1fr));overflow:hidden;border:1px solid #dce4ef;border-radius:12px;background:#ffffffdb;box-shadow:0 8px 22px #28426a0f}.category-review-kpis>span{padding:10px 13px;border-right:1px solid #e6ebf2}.category-review-kpis>span:last-child{border-right:0}.category-review-kpis small,.category-review-kpis strong{display:block;white-space:nowrap}.category-review-kpis small{margin-bottom:3px;color:#8390a4;font-size:10px;font-weight:750}.category-review-kpis strong{color:#263850;font-size:14px;font-variant-numeric:tabular-nums}.category-review-kpis .pending strong{color:#b87408}.category-review-kpis .confirmed strong{color:#16805b}.category-review-panel{overflow:hidden}.category-review-toolbar{display:flex;align-items:center;gap:9px;padding:16px 18px;border-bottom:1px solid var(--line);background:#fbfcfe}.category-review-toolbar select{padding:9px 10px;border:1px solid #d7dfeb;border-radius:9px;color:#30415a;background:#fff;outline:0}.category-review-version{margin-left:auto;padding:7px 10px;border-radius:999px;color:#4f6290;background:#eef3ff;font-size:11px;font-weight:750;white-space:nowrap}.category-review-alert{display:flex;align-items:center;gap:8px;padding:11px 18px;color:#9a5a06;border-bottom:1px solid #f2ddb0;background:#fff9e9;font-size:12px;font-weight:650}.category-review-layout{display:grid;grid-template-columns:330px minmax(0,1fr);min-height:650px}.category-review-queue{max-height:calc(100vh - 260px);overflow:auto;border-right:1px solid var(--line);background:#f8fafc}.category-review-queue-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:13px 15px;color:#52617a;border-bottom:1px solid var(--line);background:#f8fafcf5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:12px}.category-review-queue>button{width:100%;display:grid;gap:6px;padding:14px 15px;border:0;border-bottom:1px solid #e6ebf2;color:#283850;background:transparent;text-align:left;transition:.16s ease}.category-review-queue>button:hover{background:#fff}.category-review-queue>button.active{position:relative;background:#fff;box-shadow:inset 4px 0 0 var(--blue)}.category-review-row-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.category-review-row-top strong{font-size:13px}.category-review-row-meta{color:#6b7890;font-size:11px;font-variant-numeric:tabular-nums}.category-review-row-reason{display:-webkit-box;overflow:hidden;color:#7e899b;font-size:11px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.category-review-empty{padding:28px 18px;color:#8793a6;font-size:12px;text-align:center}.category-review-detail{min-width:0;padding:24px;background:#fff}.category-review-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.category-review-detail-head span,.category-review-detail-head p{color:#718096;font-size:12px}.category-review-detail-head h2{margin:5px 0 3px;color:#182a44;font-size:27px;font-variant-numeric:tabular-nums}.category-review-detail-head p{margin:0}.category-review-comparison{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;margin-top:20px}.category-review-comparison>div{min-width:0;padding:14px 16px;border:1px solid #e1e7f0;border-radius:12px;background:#f8fafc}.category-review-comparison>div.selected{border-color:#a9c4ef;background:#eef5ff}.category-review-comparison>div.empty{border-style:dashed}.category-review-comparison small,.category-review-comparison strong,.category-review-comparison span{display:block}.category-review-comparison small{margin-bottom:6px;color:#7d899b;font-size:10px;font-weight:750}.category-review-comparison strong{color:#20324d;font-size:13px}.category-review-comparison span{margin-top:3px;color:#66758a;font-size:12px}.category-review-comparison>svg{color:#97a5b9}.category-review-reason-box{margin-top:16px;padding:13px 15px;display:flex;align-items:flex-start;gap:10px;color:#8a590c;border:1px solid #f1d69c;border-radius:11px;background:#fff9e9}.category-review-reason-box svg{flex:0 0 auto;margin-top:1px}.category-review-reason-box strong,.category-review-reason-box span{display:block;line-height:1.55}.category-review-reason-box strong{font-size:12px}.category-review-reason-box span{margin-top:2px;color:#9b6d24;font-size:11px}.category-review-evidence,.category-review-form{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.category-review-evidence h3{margin:0 0 11px;color:#263850;font-size:14px}.category-review-evidence dl{margin:0;display:grid;gap:8px}.category-review-evidence dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:9px 11px;border-radius:8px;background:#f8fafc}.category-review-evidence dt{color:#79869a;font-size:10px;font-weight:750}.category-review-evidence dd{min-width:0;margin:0;color:#34445b;font-size:11px;line-height:1.58;overflow-wrap:anywhere}.category-review-candidates>span,.category-review-selects label>span,.category-review-note>span{display:block;margin-bottom:7px;color:#52617a;font-size:11px;font-weight:750}.category-review-candidates>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.category-review-candidates button{min-width:0;padding:10px 11px;border:1px solid #d9e1ec;border-radius:9px;color:#3e4f67;background:#fff;text-align:left}.category-review-candidates button:hover,.category-review-candidates button.active{border-color:#8cb2ed;background:#edf4ff}.category-review-candidates strong,.category-review-candidates span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-review-candidates strong{font-size:10px}.category-review-candidates span{margin-top:3px;color:#6c7890;font-size:10px}.category-review-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.category-review-selects select,.category-review-note textarea{width:100%;border:1px solid #d7dfeb;border-radius:9px;color:#30415a;background:#fff;outline:0}.category-review-selects select{height:42px;padding:0 10px}.category-review-selects select:focus,.category-review-note textarea:focus{border-color:#7ba7ef;box-shadow:0 0 0 3px #3f7ee81a}.category-review-note{display:block;margin-top:14px}.category-review-note textarea{padding:10px 11px;resize:vertical;line-height:1.55}.category-review-preview-button{margin-top:14px}.category-review-preview-button:disabled,.category-review-confirm button:disabled{cursor:not-allowed;opacity:.52;transform:none}.category-review-confirm{margin-top:14px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #b9d0f2;border-radius:11px;background:#f0f6ff}.category-review-confirm strong,.category-review-confirm span{display:block}.category-review-confirm strong{color:#254f91;font-size:12px}.category-review-confirm span{margin-top:4px;color:#58719a;font-size:11px;line-height:1.5}.category-review-confirm>div:last-child{display:flex;flex:0 0 auto;gap:8px}.category-review-empty-detail{display:grid;place-content:center;justify-items:center;gap:8px;color:#7b8799;text-align:center}.category-review-empty-detail span{font-size:12px}@media(max-width:1100px){.category-review-view .page-heading{align-items:flex-start;flex-direction:column}.category-review-layout{grid-template-columns:290px minmax(0,1fr)}.category-review-candidates>div{grid-template-columns:1fr}}.date-filter-field{display:flex;align-items:center;gap:7px;padding:5px 9px;border:1px solid #d7dfeb;border-radius:9px;background:#fff}.date-filter-field span{color:#758298;font-size:10px;font-weight:750;white-space:nowrap}.date-filter-field input{min-width:122px;padding:4px 0;border:0;outline:0;color:#30415a}.ledger-summary{display:flex;gap:24px;padding:12px 20px;color:var(--muted);background:#fafbfd;font-size:12px;border-bottom:1px solid var(--line)}.ledger-summary strong{color:var(--ink)}.ledger-summary-actions{display:inline-flex;align-items:center;gap:8px;margin-left:auto}.ledger-columns-toggle,.ledger-filter-toggle{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid #d8e2ef;border-radius:8px;color:#42658f;background:#fff;font-size:10px;font-weight:800;white-space:nowrap}.ledger-columns-toggle:hover,.ledger-filter-toggle:hover{color:#135fc4;border-color:#aac7eb;background:#f4f8ff}.ledger-table{min-width:1970px}.ledger-table.is-compact{width:100%;min-width:900px;table-layout:fixed}.ledger-table.is-compact th,.ledger-table.is-compact td{padding-right:9px;padding-left:9px}.ledger-table.is-compact th{overflow:hidden;text-overflow:ellipsis}.ledger-table.is-compact td{overflow:hidden}.ledger-table.is-compact .amount-cell{white-space:nowrap}.ledger-table.is-compact .edit-button{padding-right:7px;padding-left:7px}.ledger-table-scroll{max-height:calc(100vh - 315px);min-height:310px;overflow:auto}.ledger-table thead th{position:sticky;top:0;z-index:4;box-shadow:0 1px 0 var(--line)}.ledger-sort-button{display:inline-flex;align-items:center;gap:5px;padding:3px 0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;cursor:pointer}.ledger-sort-button:hover,.ledger-sort-button:focus-visible{color:var(--primary)}.ledger-sort-button:focus-visible{outline:2px solid color-mix(in srgb,var(--primary) 35%,transparent);outline-offset:3px;border-radius:3px}.ledger-sort-arrows{display:inline-grid;grid-template-rows:7px 7px;color:#b7c1d1}.ledger-sort-arrows svg{display:block}.ledger-sort-arrows svg.active{color:var(--primary)}.recorded-at-cell{min-width:150px;white-space:nowrap;font-variant-numeric:tabular-nums}.ledger-selection-cell{text-align:center!important}.ledger-selection-cell input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--primary);cursor:pointer}.ledger-selection-cell input[type=checkbox]:disabled{cursor:not-allowed;opacity:.35}.ledger-table tbody tr.is-review-selected td{background:#f1f7ff}.ledger-table tbody tr.is-review-selected:hover td{background:#e9f2ff}.record-id{display:block;color:#96a2b3;font-size:10px;margin-bottom:4px}.sub-cell{display:block;margin-top:3px;color:#8591a3;font-size:11px}.remark-cell{width:310px;color:#394861;line-height:1.5}.remark-cell span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.remark-cell small{display:block;overflow:hidden;margin-top:4px;color:#8a96a8;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.amount-cell{color:var(--ink)!important;font-weight:800;white-space:nowrap}.store-pill,.status-badge{display:inline-flex;align-items:center;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.store-pill{padding:4px 8px;color:var(--store-color, #2c65c9);background:var(--store-soft, #eaf2ff)}.store-pill.cq{background:#eaf2ff;color:#2c65c9}.store-pill.cd{background:#fff4d8;color:#ad6900}.status-badge{padding:4px 8px}.status-success{background:#e5f7ef;color:#0e8856}.status-warning{background:#fff2cf;color:#a56400}.status-danger{background:#fee8e8;color:#bd3333}.status-neutral{background:#edf1f6;color:#627086}.review-status-cell{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:4px}.review-reason-line{display:flex;width:100%;min-width:0;align-items:center;gap:3px;overflow:hidden;color:#b44747;font-size:8px;font-weight:700;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.review-reason-line svg{flex:0 0 auto}.source-dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:6px}.source-dot.large{width:11px;height:11px}.receipt-button{display:inline-flex;align-items:center;gap:5px;border:0;background:#edf4ff;color:var(--blue-dark);border-radius:7px;padding:6px 8px;font-size:11px;font-weight:750}.edit-button{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #d8e2ef;border-radius:7px;color:var(--blue-dark);background:#fff;font-size:10px;font-weight:750;white-space:nowrap}.edit-button:hover{border-color:#a9c3eb;background:#f3f7ff}.pagination-bar{min-height:58px;display:flex;align-items:center;justify-content:flex-end;gap:18px;padding:10px 18px;border-top:1px solid var(--line);color:#6c7890;font-size:11px}.pagination-bar label,.pagination-bar>div{display:flex;align-items:center;gap:8px}.pagination-bar select,.pagination-bar button{padding:7px 10px;border:1px solid #d7dfeb;border-radius:8px;color:#40516a;background:#fff}.pagination-bar button:disabled{cursor:not-allowed;opacity:.45}.analysis-detail-panel{margin-top:18px;overflow:hidden;scroll-margin-top:18px}.analysis-detail-panel .panel-title{margin:0;padding:20px 22px;border-bottom:1px solid var(--line)}.analysis-detail-scroll{max-height:480px;overflow:auto}.analysis-detail-table{min-width:1260px}.analysis-detail-table thead th{position:sticky;top:0;z-index:2}.empty-detail-cell{padding:34px!important;color:#8794a7!important;text-align:center}.expense-editor{width:min(860px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:17px;box-shadow:0 30px 80px #00000057}.editor-heading{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line);background:#fff}.editor-heading span{color:#8b97a9;font-size:10px}.editor-heading h2{margin:3px 0 0;font-size:18px}.editor-heading button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;color:#53627a;background:#edf1f6}.editor-form-grid{padding:20px 22px 6px}.editor-receipts{padding:15px;border:1px solid #dce4ef;border-radius:12px;background:#f8fafc;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.editor-receipts.is-dragging{border-color:var(--blue);background:#eef5ff;box-shadow:0 0 0 3px #3e80e824}.editor-receipts-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.editor-receipts-heading>div:first-child strong,.editor-receipts-heading>div:first-child span{display:block}.editor-receipts-heading>div:first-child strong{color:#34445d;font-size:12px}.editor-receipts-heading>div:first-child span{margin-top:3px;color:#8390a3;font-size:10px}.editor-receipts-heading>div:last-child{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.editor-receipts-heading .secondary-button{padding:7px 9px;font-size:10px}.editor-receipt-toolbar{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.editor-ai-button{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border:1px solid #cfcaf8;border-radius:7px;color:#574ac9;background:#f3f1ff;font-size:10px;font-weight:750}.editor-ai-button:hover{border-color:#a9a0ee;background:#ebe8ff}.editor-ai-button:disabled{cursor:not-allowed;opacity:.5}.editor-receipt-thumbnails{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px}.editor-receipt-thumbnails>div{position:relative;height:126px;min-width:0;overflow:visible;border:1px solid #dbe3ef;border-radius:9px;background:#fff;box-shadow:0 4px 12px #2539580f}.thumbnail-select{width:100%;height:100%;position:relative;display:block;padding:0;overflow:hidden;border:0;border-radius:8px;background:#172238}.thumbnail-select img{width:100%;height:100%;object-fit:contain;transition:transform .16s ease}.thumbnail-select:hover img{transform:scale(1.035)}.thumbnail-index{position:absolute;left:5px;top:5px;min-width:18px;padding:2px 5px;border-radius:999px;color:#fff;background:#172238c7;font-size:9px}.thumbnail-open-label{position:absolute;right:6px;bottom:6px;left:6px;display:flex;align-items:center;justify-content:center;gap:4px;padding:5px 6px;border-radius:6px;color:#fff;background:#172238cc;font-size:9px;font-weight:750;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.thumbnail-remove{position:absolute;top:-7px;right:-7px;width:22px;height:22px;display:grid;place-items:center;border:2px solid white;border-radius:50%;color:#fff;background:#cf3f45}.editor-receipt-empty{width:100%;min-height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1.5px dashed #b9c8dc;border-radius:10px;color:#718098;background:#fff}.editor-receipt-empty strong{color:#41516a;font-size:12px}.editor-receipt-empty span{font-size:10px}.editor-drop-hint{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;min-height:42px;padding:7px 10px;border:1px dashed #b9c8dc;border-radius:8px;color:#718098;background:#fff;font-size:10px}.editor-receipts.is-dragging .editor-receipt-empty,.editor-receipts.is-dragging .editor-drop-hint{border-color:var(--blue);color:var(--blue);background:#f7faff}.image-notice{margin:10px 0 0;padding:8px 10px;border-radius:7px;color:#87621b;background:#fff7df;font-size:10px}.editor-ai-result,.editor-ai-review{margin-top:10px;border-radius:9px}.editor-ai-result{padding:9px 11px;font-size:10px}.editor-ai-review{padding:10px 11px}.editor-ai-review strong{font-size:10px}.editor-ai-review span{font-size:9px}.editor-review-notice{display:flex;align-items:flex-start;gap:9px;margin:14px 22px 0;padding:11px 13px;border:1px solid #f1c6ca;border-radius:9px;color:#9f2f3a;background:#fff6f6}.editor-review-notice svg{flex:0 0 auto;margin-top:1px}.editor-review-notice div{display:grid;gap:3px}.editor-review-notice strong{font-size:10px}.editor-review-notice span{font-size:9px;line-height:1.5}.duplicate-resolution-actions{display:flex!important;align-items:center;gap:8px!important;margin-top:6px}.duplicate-resolution-actions button{padding:6px 10px;border:1px solid #d94652;border-radius:7px;color:#a52733;background:#fff;font-size:9px;font-weight:700;cursor:pointer}.duplicate-resolution-actions button:hover{background:#fff0f1}.duplicate-resolution-actions small{color:#8a5b60;font-size:8px}.duplicate-resolution-success{display:flex;align-items:center;gap:8px;margin:14px 22px 0;padding:10px 12px;border:1px solid #a7dec5;border-radius:9px;color:#14764b;background:#f1fbf6;font-size:9px}.editor-actions{position:sticky;bottom:0;z-index:3;display:flex;justify-content:space-between;gap:10px;padding:14px 22px;border-top:1px solid var(--line);background:#fff}.editor-delete-actions,.editor-save-actions{display:flex;align-items:center;gap:9px}.editor-delete-actions span{max-width:360px;color:#8f3740;font-size:10px;font-weight:700}.danger-link-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #f0b8bd;border-radius:8px;color:#b6323f;background:#fff7f7;font-weight:800}.danger-link-button{padding:8px 10px;font-size:10px}.danger-button{background:#bd3945;color:#fff}.danger-button.compact,.secondary-button.compact{min-height:32px;padding:6px 9px;font-size:9px}.danger-link-button:hover,.danger-button:hover{border-color:#cf5661;background:#a92f3b;color:#fff}.entry-view{max-width:1380px}.entry-grid{display:grid;grid-template-columns:minmax(350px,.85fr) minmax(560px,1.35fr);gap:18px}.upload-panel,.entry-form{padding:22px}.drop-zone{width:100%;min-height:205px;border:1.5px dashed #b9c8dc;border-radius:13px;background:#f8fbff;color:#56647b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.drop-zone:hover{border-color:var(--blue);background:#f2f7ff}.upload-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:14px;background:var(--blue-soft);color:var(--blue);margin-bottom:4px}.drop-zone strong{color:#30415a;font-size:14px}.drop-zone small{color:#8794a7;font-size:11px}.upload-preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.upload-preview{position:relative;aspect-ratio:1;border-radius:9px;overflow:hidden;border:1px solid var(--line)}.upload-preview img{width:100%;height:100%;object-fit:cover}.upload-preview-open{width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.upload-preview-open span{position:absolute;inset:auto 7px 7px;display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 8px;color:#fff;background:#0f1c33c7;border-radius:7px;font-size:10px;font-weight:750;opacity:0;transform:translateY(3px);transition:.16s ease;pointer-events:none}.upload-preview-open:hover span,.upload-preview-open:focus-visible span{opacity:1;transform:translateY(0)}.upload-remove{position:absolute;right:5px;top:5px;width:24px;height:24px;border-radius:50%;border:0;background:#172238cc;color:#fff;display:grid;place-items:center;z-index:2}.image-lightbox-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:180;display:grid;place-items:center;padding:22px;background:#070d18e0;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.image-lightbox{width:min(1180px,97vw);height:min(880px,94vh);display:flex;flex-direction:column;overflow:hidden;background:#111827;border:1px solid rgba(255,255,255,.12);border-radius:17px;box-shadow:0 32px 90px #00000085}.image-lightbox-header{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px 12px 20px;color:#fff;background:#182338;border-bottom:1px solid rgba(255,255,255,.1)}.image-lightbox-header>div:first-child{display:flex;flex-direction:column;gap:3px}.image-lightbox-header strong{font-size:13px}.image-lightbox-header span{color:#aab7ca;font-size:10px}.image-lightbox-tools{display:flex;align-items:center;gap:7px}.image-lightbox-tools button,.image-lightbox-nav{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:9px;color:#fff;background:#ffffff14}.image-lightbox-tools button:hover,.image-lightbox-nav:hover{background:#ffffff29}.image-lightbox-tools button:disabled{opacity:.34}.image-lightbox-tools>span{min-width:44px;color:#dbe5f3;text-align:center;font-variant-numeric:tabular-nums}.image-lightbox-stage{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;background:#0a0f1b}.image-lightbox-canvas{min-width:100%;min-height:100%;display:grid;place-items:center;padding:28px 72px}.image-lightbox-canvas img{display:block;max-width:100%;max-height:calc(94vh - 125px);object-fit:contain;border-radius:6px;box-shadow:0 12px 48px #0000005c;transition:width .16s ease,transform .18s ease}.image-lightbox-canvas.is-zoomed img{width:calc(var(--image-zoom) * 100%);max-width:none;max-height:none}.image-lightbox-nav{position:fixed;top:50%;z-index:2;border-radius:50%;background:#182338d1}.image-lightbox-nav.previous{left:max(34px,calc((100vw - min(1180px,97vw))/2 + 18px))}.image-lightbox-nav.next{right:max(34px,calc((100vw - min(1180px,97vw))/2 + 18px))}.upload-hint{display:flex;gap:8px;padding:12px 2px;color:#7b889c;font-size:11px;line-height:1.5}.ai-card{margin-top:14px;padding:14px;border:1px solid #dcd8ff;background:#f7f5ff;border-radius:12px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px}.ai-card button:disabled{cursor:wait;opacity:.65}.ai-result-message,.ai-review-panel{margin-top:12px;border-radius:14px;border:1px solid #dbe6f5;background:#f7faff;color:#3a4b66}.ai-result-message{display:flex;align-items:center;gap:9px;padding:12px 14px;font-size:13px}.ai-result-message.error{border-color:#f2c9c5;background:#fff6f5;color:#a33d35}.ai-result-message.success{border-color:#bfe4d2;background:#f3fbf7;color:#18774e}.ai-review-panel{padding:13px 14px;border-color:#f0d6a5;background:#fffaf0}.ai-review-panel>div,.ai-review-panel span{display:block}.ai-review-panel>div+div{margin-top:12px;padding-top:12px;border-top:1px solid #f0dfbd}.ai-review-panel strong{display:block;margin-bottom:6px;color:#8a5a08;font-size:13px}.ai-review-panel span{margin-top:4px;color:#66563c;font-size:12px;line-height:1.55}.ai-card-icon{width:35px;height:35px;display:grid;place-items:center;color:#6558e8;background:#fff;border-radius:10px}.ai-card strong,.ai-card span{display:block}.ai-card strong{font-size:12px}.ai-card span{margin-top:3px;color:#786f9d;font-size:10px;line-height:1.4}.ai-card button{border:1px solid #ccc7f5;background:#fff;color:#5a50ca;border-radius:8px;padding:7px 9px;display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:750}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid label>span{display:block;margin-bottom:7px;color:#53627a;font-size:11px;font-weight:750}.form-grid select,.form-grid input,.form-grid textarea{width:100%;padding:10px 11px}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.inline-add input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #3f7ee81a}.form-grid textarea{min-height:85px;resize:vertical}.full-field{grid-column:1 / -1}.money-input{display:flex;align-items:center;border:1px solid #d7dfeb;border-radius:9px;padding-left:10px;color:#8996a8}.money-input input{border:0;box-shadow:none!important}.form-note{display:flex;gap:8px;margin-top:17px;padding:11px 12px;color:#8a641c;background:#fff9e9;border-radius:9px;font-size:11px;line-height:1.5}.form-submit{width:100%;margin-top:16px}.reimbursement-table{min-width:920px}.reimbursement-filters{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.store-filter-field{min-width:150px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #d7dfeb;border-radius:10px;color:#6d7c92;background:#fff}.store-filter-field select{width:100%;padding:10px 4px;border:0;color:#34445d;background:transparent}.reimbursement-batch-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 22px;border-bottom:1px solid var(--line);background:#f8fafc}.reimbursement-batch-bar>label,.reimbursement-batch-bar>div,.table-select-all{display:flex;align-items:center;gap:8px}.reimbursement-batch-bar>label{color:#5e6e86;font-size:11px;font-weight:700}.reimbursement-batch-bar>div{justify-content:flex-end;flex-wrap:wrap}.reimbursement-batch-bar>div>span{color:#67758b;font-size:11px}.reimbursement-batch-bar>div>span strong{margin:0 4px;color:#223048;font-size:13px}.reimbursement-batch-bar .primary-button{padding:8px 12px;font-size:11px}.reimbursement-batch-bar .primary-button:disabled{cursor:not-allowed;opacity:.45}.reimbursement-table th:not(:first-child),.reimbursement-table td:not(:first-child){text-align:right}.person-row{cursor:pointer}.person-row td:first-child{display:flex;align-items:center;gap:8px}.expand-button{border:0;color:#64748b;background:transparent;padding:0;display:grid;place-items:center}.person-avatar.small{width:27px;height:27px;font-size:11px}.pending-number{color:#b36b00}.person-detail-row>td{padding:0!important;background:#f7f9fc}.person-expenses{display:grid;gap:8px;padding:14px 20px 18px 58px}.person-expense-card{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:14px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:10px;text-align:left}.person-expense-card>input,.person-row td:first-child>input,.table-select-all input,.reimbursement-batch-bar input{width:15px;height:15px;accent-color:var(--blue)}.selection-spacer{width:15px}.person-expense-card span,.person-expense-card strong,.person-expense-card small{display:block}.person-expense-card span{color:#8996a8;font-size:10px}.person-expense-card strong{color:#334158;margin:3px 0}.person-expense-card small{color:#748198}.person-expense-amount{text-align:right}.person-expense-amount>strong{color:var(--ink);font-size:14px;margin-bottom:5px}.accounting-note{margin-top:16px;padding:16px 18px;display:flex;gap:10px;border:1px solid #d6e2f2;background:#f6faff;border-radius:12px;color:#376293}.accounting-note strong,.accounting-note span{display:block}.accounting-note strong{font-size:13px}.accounting-note span{margin-top:4px;color:#6680a0;font-size:11px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-card{padding:22px}.company-settings-card{grid-column:1 / -1}.company-name-form{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:12px}.company-name-form label{display:grid;gap:7px}.company-name-form label span{color:#59677d;font-size:12px;font-weight:750}.company-name-form input{height:44px;padding:0 13px;border:1px solid #d5deeb;border-radius:9px;outline:none;color:var(--ink);background:#fbfcfe}.company-name-form input:focus{border-color:#8eb3ef;box-shadow:0 0 0 3px #3f7ee81a}.company-name-form .primary-button{height:44px;white-space:nowrap}.company-name-hint{margin:10px 0 0;color:#8290a4;font-size:11px}.settings-list{display:grid;gap:8px}.settings-list>div{min-height:45px;display:flex;align-items:center;gap:10px;padding:9px 11px;background:#f8fafc;border:1px solid #edf1f6;border-radius:9px}.settings-list>div strong{flex:1;font-size:13px}.settings-list>div em{color:#7f8b9e;font-size:11px;font-style:normal}.settings-maintenance-trigger,.settings-row-edit{display:inline-flex;align-items:center;gap:5px;border:1px solid #cbd9ee;border-radius:8px;color:var(--blue-dark);background:#f7faff;font-weight:750}.settings-maintenance-trigger{padding:8px 11px;font-size:11px}.settings-row-edit{padding:6px 8px;font-size:10px}.settings-maintenance-trigger:hover,.settings-row-edit:hover{border-color:#a9c3eb;background:#eef5ff}.store-mark{width:10px;height:10px;border-radius:3px}.store-mark.cq{background:var(--blue)}.store-mark.cd{background:var(--amber)}.inline-add{display:flex;gap:8px;margin-top:12px}.inline-add input{flex:1;min-width:0;padding:9px 10px}.inline-add button{border:1px solid #ccd7e7;background:#fff;color:var(--blue-dark);border-radius:9px;padding:8px 11px;display:inline-flex;align-items:center;gap:5px;font-weight:750}.category-settings{grid-column:1 / -1}.category-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.category-list>div{padding:13px;border:1px solid #e7edf5;border-radius:10px}.category-list>div>div:first-child{display:flex;justify-content:space-between;gap:10px}.category-list strong{font-size:13px}.category-list>div>div:first-child span{color:#8b97a9;font-size:10px}.category-chips{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.category-chips span{padding:4px 7px;background:#f2f5f9;border-radius:6px;color:#69778d;font-size:9px}.category-maintenance-trigger,.field-label-with-action button{border:1px solid #cbd9ee;background:#f7faff;color:var(--blue-dark);border-radius:8px;display:inline-flex;align-items:center;gap:6px;font-weight:750}.category-maintenance-trigger{padding:8px 11px;font-size:11px}.master-maintenance-modal{width:min(820px,96vw);max-height:90vh;overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 32px 90px #00000057}.master-maintenance-body{min-height:410px;display:grid;grid-template-columns:290px minmax(0,1fr);border-bottom:1px solid var(--line)}.master-item-list{display:flex;min-height:0;flex-direction:column;padding:18px;border-right:1px solid var(--line);background:#f8fafc}.master-list-heading{display:flex;align-items:center;justify-content:space-between;padding:0 3px 12px}.master-list-heading strong{color:#263750;font-size:12px}.master-list-heading span{color:#8895a8;font-size:10px}.master-item-scroll{display:grid;gap:7px;min-height:0;overflow:auto}.master-item-scroll>button{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:10px 11px;border:1px solid #e1e8f2;border-radius:9px;color:#35465f;background:#fff;text-align:left}.master-item-scroll>button span{overflow:hidden;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.master-item-scroll>button small{color:#8794a7;font-size:9px}.master-item-scroll>button.active{border-color:#b8cef2;color:var(--blue-dark);background:var(--blue-soft)}.master-detail-editor{display:flex;flex-direction:column;gap:18px;padding:26px}.master-detail-editor label>span,.master-detail-editor label>small{display:block}.master-detail-editor label>span{margin-bottom:7px;color:#53627a;font-size:11px;font-weight:750}.master-detail-editor label>input:not([type=checkbox]),.master-detail-editor label>select{width:100%;padding:11px 12px;border:1px solid #d6dfeb;border-radius:9px;color:#263750;background:#fff}.master-detail-editor label>small{margin-top:7px;color:#8290a4;font-size:10px;line-height:1.5}.master-active-control{display:flex;align-items:center;gap:9px;padding:12px 13px;border:1px solid #dce7e2;border-radius:9px;background:#f5fbf8}.master-active-control input{width:17px;height:17px;accent-color:#16a36a}.master-active-control span{margin:0!important;color:#27654b!important}.master-change-note{display:flex;align-items:flex-start;gap:8px;padding:11px 12px;border-radius:9px;color:#6b7890;background:#f2f6fb;font-size:10px;line-height:1.55}.form-grid label>span.field-label-with-action{display:flex;align-items:center;justify-content:space-between;gap:10px}.field-label-with-action button{padding:4px 8px;font-size:10px}.category-maintenance-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:320;display:grid;place-items:center;padding:24px;background:#0b121fc7;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.category-maintenance-modal{width:min(980px,96vw);max-height:92vh;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;background:#fff;border-radius:18px;box-shadow:0 32px 90px #00000061}.category-maintenance-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px 20px;border-bottom:1px solid var(--line)}.category-maintenance-heading span{color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.06em}.category-maintenance-heading h2{margin:5px 0;font-size:24px}.category-maintenance-heading p{margin:0;color:var(--muted);font-size:12px}.category-maintenance-heading>button{width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;background:#edf2f8;color:#45546b}.category-maintenance-body{min-height:430px;overflow:hidden;display:grid;grid-template-columns:310px minmax(0,1fr)}.category-master-list{min-height:0;padding:20px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;background:#f7f9fc;border-right:1px solid var(--line)}.category-master-list>div:first-child{display:flex;align-items:center;justify-content:space-between;color:#60708a;font-size:11px}.category-master-scroll{min-height:0;overflow:auto;display:grid;align-content:start;gap:7px}.category-master-scroll button{width:100%;padding:11px 12px;border:1px solid transparent;border-radius:10px;display:grid;grid-template-columns:1fr auto;gap:3px 8px;text-align:left;background:transparent;color:#37475f}.category-master-scroll button span{font-size:12px;font-weight:800}.category-master-scroll button small{grid-row:2;color:#8a97a9;font-size:10px}.category-master-scroll button svg{grid-column:2;grid-row:1 / 3;align-self:center}.category-master-scroll button.active{border-color:#bed2f3;background:#eaf2ff;color:var(--blue-dark)}.category-add-primary{min-height:42px;border:1px dashed #9fb9e3;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:7px;background:#fff;color:var(--blue-dark);font-weight:800}.category-detail-editor{min-width:0;overflow:auto;padding:24px 26px}.category-detail-editor>label>span{display:block;margin-bottom:8px;color:#56657c;font-size:11px;font-weight:800}.category-detail-editor>label>input{width:100%;padding:12px 13px;font-size:15px;font-weight:750}.secondary-category-heading{margin:24px 0 11px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.secondary-category-heading strong,.secondary-category-heading span{display:block}.secondary-category-heading strong{color:#334259;font-size:13px}.secondary-category-heading span{margin-top:4px;color:#8996a8;font-size:10px}.secondary-category-heading button{padding:8px 10px;border:1px solid #cbd9ee;border-radius:8px;display:inline-flex;align-items:center;gap:6px;background:#f7faff;color:var(--blue-dark);font-size:10px;font-weight:800}.secondary-category-list{display:grid;gap:8px}.secondary-category-list label{display:grid;grid-template-columns:30px minmax(0,1fr) 22px;align-items:center;gap:8px;padding:5px 10px;border:1px solid #e3e9f2;border-radius:10px;background:#fbfcfe;color:#8896a8}.secondary-category-list label>span{font-size:10px;font-weight:800}.secondary-category-list input{min-width:0;padding:7px 8px;border:0;background:transparent}.secondary-category-list input:focus{box-shadow:none}.category-empty-state{padding:28px;border:1px dashed #ccd7e7;border-radius:10px;color:#8492a5;text-align:center;font-size:11px}.category-maintenance-error{margin:0 26px;padding:9px 11px;border-radius:8px;background:#fff0ee;color:#b94e43;font-size:11px}.category-maintenance-actions{padding:16px 24px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.category-maintenance-actions>span{color:#7e8ca0;font-size:10px}.category-maintenance-actions>div{display:flex;gap:9px}.settings-tip{margin-top:12px;display:flex;gap:8px;padding:10px 11px;color:#62748c;background:#f4f8fd;border-radius:8px;font-size:11px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:28px;background:#0b121fbd;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.receipt-modal{width:min(860px,96vw);max-height:92vh;overflow:auto;position:relative;background:#fff;border-radius:17px;box-shadow:0 30px 80px #00000057}.modal-close{position:absolute;right:14px;top:14px;width:36px;height:36px;border-radius:50%;border:0;background:#edf1f6;color:#39475d;display:grid;place-items:center;z-index:2}.modal-copy{padding:21px 60px 17px 22px}.modal-copy span{color:#8b97a9;font-size:10px}.modal-copy h2{margin:4px 0;font-size:18px}.modal-copy p{margin:0;color:#65738a;font-size:12px}.receipt-stage{min-height:360px;max-height:620px;display:grid;place-items:center;padding:18px;background:#111827;overflow:auto}.receipt-stage img{max-width:100%;max-height:580px;object-fit:contain;border-radius:6px}.receipt-thumbnails{display:flex;gap:8px;padding:12px;overflow-x:auto}.receipt-thumbnails button{width:58px;height:58px;padding:2px;border:2px solid transparent;background:#fff;border-radius:8px;overflow:hidden}.receipt-thumbnails button.active{border-color:var(--blue)}.receipt-thumbnails img{width:100%;height:100%;object-fit:cover}.toast{position:fixed;right:24px;bottom:24px;z-index:120;max-width:420px;display:flex;align-items:center;gap:9px;padding:13px 16px;color:#fff;background:#173d31;border-radius:11px;box-shadow:0 16px 45px #0c3d2d4d;font-size:12px;font-weight:650}@media(max-width:1360px){.analysis-grid{grid-template-columns:1fr}}@media(max-width:1180px){.stat-grid{grid-template-columns:repeat(2,1fr)}.entry-grid{grid-template-columns:1fr}}@media(max-width:900px){.login-screen{grid-template-columns:1fr;justify-items:center;gap:28px;padding:34px 20px}.login-intro{justify-self:center;text-align:center}.login-brand-mark{margin-inline:auto}.login-intro>span{margin-top:18px}.login-intro h1{font-size:32px}.login-intro p{font-size:16px}.sidebar,.sidebar-toggle,.sidebar-reopen{display:none}.main-content{margin-left:0;padding-top:58px}.mobile-header{position:fixed;inset:0 0 auto;height:58px;padding:8px 16px;z-index:30;display:flex;align-items:center;gap:10px;color:#fff;background:var(--sidebar)}.mobile-header .brand-mark{width:34px;height:34px;border-radius:10px}.mobile-nav{display:flex;gap:5px;padding:10px 13px;overflow-x:auto;background:#fff;border-bottom:1px solid var(--line)}.mobile-nav button{min-width:max-content;border:0;border-radius:8px;background:transparent;color:#6e7b90;padding:8px 10px;display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:750}.mobile-nav button.active{color:var(--blue-dark);background:var(--blue-soft)}.view-shell{padding:24px 18px 44px}.settings-grid{grid-template-columns:1fr}.category-settings,.company-settings-card{grid-column:auto}.category-list,.monthly-trend-grid{grid-template-columns:1fr}.category-maintenance-body{grid-template-columns:240px minmax(0,1fr)}}@media(max-width:640px){.company-name-form{grid-template-columns:1fr}.company-name-form .primary-button{width:100%}.view-shell{padding-inline:13px}.page-heading{flex-direction:column;align-items:flex-start;margin-bottom:20px}.page-heading p{line-height:1.55}.heading-actions,.date-range{width:100%;flex-wrap:wrap}.heading-actions>*,.date-range input{flex:1}.stat-grid{grid-template-columns:1fr;gap:10px}.stat-card{padding:16px}.store-panel,.category-panel,.upload-panel,.entry-form,.settings-card{padding:17px}.category-maintenance-backdrop{padding:8px}.category-maintenance-modal{width:100%;max-height:96vh}.category-maintenance-heading{padding:18px}.category-maintenance-body{min-height:0;overflow:auto;grid-template-columns:1fr}.master-maintenance-modal{width:100%;max-height:96vh;overflow:auto}.master-maintenance-body{min-height:0;grid-template-columns:1fr}.master-item-list{max-height:320px;border-right:0;border-bottom:1px solid var(--line)}.category-master-list{min-height:260px;border-right:0;border-bottom:1px solid var(--line)}.category-detail-editor{overflow:visible;padding:18px}.secondary-category-heading,.category-maintenance-actions{align-items:stretch;flex-direction:column}.category-maintenance-actions>div{justify-content:flex-end}.store-chart-wrap{grid-template-columns:1fr}.donut-chart{height:210px}.store-legend{grid-template-columns:repeat(2,1fr)}.category-chart{height:300px}.pivot-dashboard-header,.pivot-dashboard-title,.pivot-dashboard-actions{width:100%;align-items:stretch;flex-direction:column;gap:12px}.pivot-dashboard-title{flex-direction:row;align-items:center;justify-content:space-between}.pivot-month-field{padding-left:10px}.pivot-store-switch,.pivot-detail-button{width:100%}.pivot-store-switch button{flex:1}.pivot-detail-button{justify-content:center}.pivot-kpi-strip{margin-inline:8px;padding-inline:8px}.pivot-kpi-grid strong{font-size:15px}.pivot-kpi-grid span{font-size:9px}.pivot-kpi-grid small{display:none}.pivot-kpi-grid{grid-template-columns:1fr}.pivot-kpi-grid article{border-right:0;border-bottom:1px solid #e1e7f0}.pivot-kpi-grid article:last-child{border-bottom:0}.pivot-kpi-grid article.personal{padding-block:14px}.pivot-reimbursement-summary .pivot-reimbursement-empty{display:block}.pivot-kpi-strip+.table-scroll{width:calc(100% - 16px);margin-inline:8px}.trend-placeholder,.filter-bar{align-items:stretch;flex-direction:column}.filter-bar>*,.search-field,.amount-search-field{width:100%}.form-grid{grid-template-columns:1fr}.full-field{grid-column:auto}.ai-card{grid-template-columns:auto 1fr}.ai-card button{grid-column:1 / -1}.person-expenses{padding:12px}.person-expense-card{grid-template-columns:1fr auto}.person-expense-card>.receipt-button{grid-column:1 / -1;justify-self:start}.receipt-stage{min-height:300px}.modal-backdrop{padding:10px}.image-lightbox-backdrop{padding:8px}.image-lightbox{width:100%;height:96vh}.image-lightbox-header{align-items:flex-start;flex-direction:column;padding:11px}.image-lightbox-header>div:first-child span{display:none}.image-lightbox-tools{width:100%;justify-content:flex-end}.image-lightbox-canvas{padding:22px 52px}.image-lightbox-nav.previous{left:16px}.image-lightbox-nav.next{right:16px}.toast{left:14px;right:14px;bottom:14px}}@media(max-width:760px){.category-review-view,.category-review-panel,.category-review-layout,.category-review-detail{min-width:0;width:100%}.category-review-kpis{width:100%;grid-template-columns:1fr}.category-review-kpis>span{border-right:0;border-bottom:1px solid #e6ebf2}.category-review-kpis>span:last-child{border-bottom:0}.category-review-toolbar{align-items:stretch;flex-direction:column}.category-review-toolbar>*,.category-review-toolbar .search-field{width:100%}.category-review-version{margin-left:0;text-align:center}.category-review-layout{display:block}.category-review-queue{max-height:330px;border-right:0;border-bottom:1px solid var(--line)}.category-review-detail{padding:18px}.category-review-detail-head,.category-review-confirm{align-items:stretch;flex-direction:column}.category-review-comparison{grid-template-columns:1fr}.category-review-comparison>svg{justify-self:center;transform:rotate(90deg)}.category-review-evidence dl>div,.category-review-selects{grid-template-columns:1fr}.category-review-confirm>div:last-child{width:100%}.category-review-confirm button{flex:1}}.asset-page-heading{align-items:center}.asset-heading-actions,.asset-month-control,.scene-section-title,.scene-section-title>div:last-child,.scene-editor-actions,.scene-editor-actions>div{display:flex;align-items:center;gap:10px}.asset-month-control{min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;color:#62718a;background:#fff}.asset-month-control input{border:0;color:#26364f;background:transparent;font:inherit;font-weight:700}.asset-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.asset-kpi-grid article{min-width:0;display:flex;align-items:center;gap:13px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 10px 28px #2437530f}.asset-kpi-grid article>div,.asset-kpi-grid article small,.asset-kpi-grid article strong,.asset-kpi-grid article div>span{display:block;min-width:0}.asset-kpi-grid article small{color:#728099;font-size:11px;font-weight:750}.asset-kpi-grid article strong{margin-top:4px;color:#17243a;font-size:22px;white-space:nowrap}.asset-kpi-grid article div>span{margin-top:3px;color:#94a0b3;font-size:10px}.asset-kpi-icon{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;border-radius:12px;font-weight:900}.asset-kpi-icon.blue{color:#3f7ee8;background:#eaf2ff}.asset-kpi-icon.teal{color:#0f907f;background:#e7f8f4}.asset-kpi-icon.amber{color:#ad6b00;background:#fff4d9}.asset-kpi-icon.purple{color:#6558e8;background:#f0edff}.asset-workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:16px;min-height:540px;margin-bottom:18px}.asset-scene-list,.asset-scene-detail,.asset-category-summary{overflow:hidden}.asset-panel-title,.asset-detail-head,.asset-summary-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.asset-panel-title{padding:16px;border-bottom:1px solid var(--line)}.asset-panel-title strong,.asset-panel-title span{display:block}.asset-panel-title strong{color:#263650;font-size:13px}.asset-panel-title span{margin-top:3px;color:#8895a8;font-size:10px}.asset-panel-title button{width:32px;height:32px;display:grid;place-items:center;border:1px solid #cbd8eb;border-radius:9px;color:var(--blue);background:#f6f9ff}.asset-scene-scroll{max-height:680px;overflow:auto}.asset-scene-scroll>button{width:100%;display:grid;grid-template-columns:54px minmax(0,1fr);gap:11px;padding:13px 14px;border:0;border-bottom:1px solid #edf0f5;color:#3a4961;background:#fff;text-align:left}.asset-scene-scroll>button:hover,.asset-scene-scroll>button.active{background:#f3f7ff}.asset-scene-scroll>button.active{box-shadow:inset 3px 0 #3f7ee8}.asset-scene-thumb{width:54px;height:48px;display:grid;place-items:center;overflow:hidden;border-radius:8px;color:#8ca0bc;background:#edf2f8}.asset-scene-thumb img{width:100%;height:100%;object-fit:cover}.asset-scene-scroll>button strong,.asset-scene-scroll>button small,.asset-scene-scroll>button em{display:block}.asset-scene-scroll>button strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.asset-scene-scroll>button small{margin-top:5px;color:#8491a5;font-size:9px}.asset-scene-scroll>button em{margin-top:5px;color:#356bc8;font-size:11px;font-style:normal;font-weight:800}.asset-empty-list,.asset-detail-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:48px 24px;color:#8b98ab;text-align:center}.asset-empty-list strong,.asset-detail-empty h2{color:#34445d}.asset-empty-list span,.asset-detail-empty p{max-width:300px;font-size:10px;line-height:1.7}.asset-detail-empty{min-height:530px}.asset-detail-head{padding:20px 22px;border-bottom:1px solid var(--line)}.asset-detail-head span,.asset-detail-head p,.asset-detail-head small{color:#8794a8;font-size:10px}.asset-detail-head h2{margin:5px 0;color:#1e2d45;font-size:22px}.asset-detail-head>div:last-child{min-width:160px;text-align:right}.asset-detail-head>div:last-child strong,.asset-detail-head>div:last-child small{display:block}.asset-detail-head>div:last-child strong{color:#285fbe;font-size:20px}.asset-detail-head>div:last-child button{margin-top:9px}.asset-detail-images{display:flex;gap:8px;padding:14px 22px 0}.asset-detail-images img{width:94px;height:68px;object-fit:cover;border:1px solid var(--line);border-radius:8px}.asset-item-table-wrap{width:100%;overflow:auto}.asset-item-table-wrap table{width:100%;border-collapse:collapse}.asset-item-table{min-width:900px}.asset-category-table{min-width:760px}.asset-item-table th,.asset-item-table td,.asset-category-table th,.asset-category-table td{padding:12px 13px;border-bottom:1px solid #edf0f5;color:#536179;font-size:10px;text-align:left;vertical-align:middle}.asset-item-table th,.asset-category-table th{color:#77849a;background:#f8fafc;font-size:9px;font-weight:800;white-space:nowrap}.asset-item-table td strong,.asset-category-table td strong{color:#2b3b54}.asset-item-table td span,.asset-item-table td small{display:block}.asset-item-table td small{margin-top:3px;color:#8693a7}.asset-table-empty{padding:48px!important;color:#909bad!important;text-align:center!important}.asset-review-badge{display:inline-flex!important;width:fit-content;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:800}.asset-review-badge.confirmed{color:#157455;background:#e9f7f1}.asset-review-badge.pending{color:#a36300;background:#fff3d5}.asset-category-summary{padding:0}.asset-summary-head{padding:18px 20px;border-bottom:1px solid var(--line)}.asset-summary-head span{color:var(--blue);font-size:9px;font-weight:800}.asset-summary-head h2{margin-top:4px;color:#22324b;font-size:16px}.asset-summary-head p{max-width:600px;color:#8693a7;font-size:10px;line-height:1.65;text-align:right}.asset-category-table td:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}.asset-category-table td.over{color:#bd3e49;font-weight:800}.asset-category-table td.under{color:#177458;font-weight:800}.scene-editor-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:140;padding:28px;overflow:auto;background:#101a2bb8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.scene-editor{width:min(1500px,100%);margin:0 auto;overflow:hidden;border-radius:16px;background:#f7f9fc;box-shadow:0 30px 90px #0a142657}.scene-editor-head,.scene-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;background:#fff}.scene-editor-head{border-bottom:1px solid var(--line)}.scene-editor-head span{color:#8290a5;font-size:10px}.scene-editor-head h2{margin-top:4px;color:#1d2c44;font-size:21px}.scene-editor-head>button{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;color:#5d6d84;background:#eef2f7}.scene-editor-body{display:grid;gap:14px;padding:16px}.scene-basic-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}.scene-basic-grid label,.scene-item-edit-row label{display:grid;gap:5px;min-width:0}.scene-basic-grid label>span,.scene-item-edit-row label>span{color:#758298;font-size:9px;font-weight:750}.scene-basic-grid input,.scene-basic-grid select,.scene-item-edit-row input,.scene-item-edit-row select{width:100%;min-width:0;min-height:36px;padding:8px 9px;border:1px solid #d8e0eb;border-radius:8px;color:#31415a;background:#fff;font:inherit;font-size:10px}.scene-description-field{grid-column:span 2}.scene-image-section,.scene-items-editor{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}.scene-image-section{transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.scene-image-section.is-dragging{border-color:#6293eb;background:#f3f7ff;box-shadow:inset 0 0 0 2px #3f7ee821}.scene-image-section.is-dragging .scene-image-empty{border-color:#6293eb;color:#2f6fd5;background:#eaf2ff}.scene-section-title{justify-content:space-between}.scene-section-title strong,.scene-section-title span{display:block}.scene-section-title strong{color:#2c3c54;font-size:12px}.scene-section-title span{margin-top:3px;color:#8794a7;font-size:9px}.scene-image-grid{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px}.scene-image-grid>div,.scene-image-empty{position:relative;width:128px;height:92px;overflow:hidden;border:1px solid #dce4ef;border-radius:9px;background:#f4f7fb}.scene-image-grid img{width:100%;height:100%;object-fit:cover}.scene-image-grid>div>button{position:absolute;top:5px;right:5px;width:23px;height:23px;display:grid;place-items:center;border:0;border-radius:50%;color:#fff;background:#172238c7}.scene-image-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#7b8ba3;font-size:9px}.scene-ai-message{display:flex;align-items:center;gap:7px;margin-top:11px;padding:9px 11px;border-radius:8px;color:#39705f;background:#ebf7f2;font-size:10px}.scene-ai-message.error{color:#a8444c;background:#fff0f1}.scene-ai-message.loading{color:#315f9e;background:#edf4ff}.scene-ai-warnings{margin:8px 0 0 18px;color:#9a690f;font-size:9px}.scene-items-editor{overflow:hidden}.scene-item-edit-list{display:grid;gap:8px;margin-top:12px}.scene-item-edit-row{display:grid;grid-template-columns:28px 1.25fr 1.15fr 1.15fr 1.2fr 70px 70px 90px 90px 34px;gap:7px;align-items:end;padding:10px;border:1px solid #e3e8f0;border-radius:9px;background:#fbfcfe}.scene-item-index{align-self:center;color:#8491a5;font-size:10px;font-weight:800;text-align:center}.scene-item-remove{width:32px;height:36px;display:grid;place-items:center;border:1px solid #efc5c9;border-radius:8px;color:#b13c47;background:#fff7f7}.scene-item-warning{grid-column:2 / -1;display:flex;align-items:center;gap:5px;color:#a46b08;font-size:9px}.scene-editor-actions{position:sticky;bottom:0;border-top:1px solid var(--line)}.scene-editor-actions>span{color:#6f7d92;font-size:11px}.scene-editor-actions>span strong{color:#285fbe;font-size:17px}@media(max-width:1250px){.asset-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scene-basic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.scene-description-field{grid-column:span 1}.scene-item-edit-list{overflow-x:auto}.scene-item-edit-row{min-width:1160px}}@media(max-width:820px){.asset-page-heading,.asset-summary-head,.scene-section-title,.scene-editor-actions{align-items:flex-start;flex-direction:column}.asset-heading-actions,.asset-month-control{width:100%}.asset-heading-actions .primary-button{flex:1}.asset-kpi-grid,.asset-workspace{grid-template-columns:1fr}.asset-scene-scroll{max-height:320px}.asset-summary-head p{text-align:left}.scene-editor-backdrop{padding:8px}.scene-basic-grid{grid-template-columns:1fr}.scene-section-title>div:last-child,.scene-editor-actions>div{width:100%}.scene-section-title>div:last-child button,.scene-editor-actions>div button{flex:1}}.segmented-tabs{display:inline-flex;align-items:center;background:var(--surface-soft);border:1px solid var(--border-base);border-radius:14px;padding:5px;gap:2px;box-shadow:inset 0 1px #fffc}.segmented-tabs.small{padding:4px;border-radius:12px}.segmented-tabs button{all:unset;display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:10px;color:var(--text-muted);font-size:13.5px;font-weight:650;letter-spacing:-.005em;cursor:pointer;transition:color .15s ease,background .15s ease,transform .08s ease;white-space:nowrap}.segmented-tabs.small button{padding:5.5px 12px;font-size:12.5px;border-radius:8px}.segmented-tabs button:hover{color:var(--text-base);background:#ffffffbf}.segmented-tabs button:active{transform:translateY(.5px)}.segmented-tabs button.active{background:linear-gradient(180deg,#fff,#f7faff);color:var(--brand-600);box-shadow:0 1px 2px #17223814,0 0 0 1px #3f7ee82e,inset 0 -1px #3f7ee80f}.entry-sub-tabs{margin-top:16px}.wallet-import-shell{display:grid;grid-template-columns:400px 1fr;gap:20px;align-items:flex-start}.wallet-import-shell>.panel{padding:22px}@media(max-width:1100px){.wallet-import-shell{grid-template-columns:1fr}.wallet-import-shell>.panel{padding:18px}}.upload-panel .drop-zone{margin-top:4px;border:1.5px dashed var(--border-strong);border-radius:16px;background:radial-gradient(120% 90% at 50% 0%,rgba(63,126,232,.06),transparent 55%),var(--surface-soft);padding:28px 20px 26px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .12s ease,box-shadow .2s ease}.upload-panel .drop-zone:hover{border-color:var(--brand-500);background:radial-gradient(120% 90% at 50% 0%,rgba(63,126,232,.1),transparent 55%),#f5f9ff;box-shadow:0 6px 22px #3f7ee81a}.upload-panel .drop-zone:active{transform:translateY(1px)}.upload-panel .drop-zone .upload-icon{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(180deg,#eef4ff,#e0ecff);color:var(--brand-600);margin-bottom:4px;box-shadow:inset 0 0 0 1px #3f7ee81f}.upload-panel .drop-zone strong{font-size:14.5px;color:var(--text-strong);font-weight:700;letter-spacing:-.01em}.upload-panel .drop-zone small{font-size:12px;color:var(--text-muted);line-height:1.55}.entry-quick-field{min-width:0;margin:0;padding:0;border:0}.entry-quick-field legend{width:100%;margin:0 0 8px;padding:0;color:var(--text-muted);font-size:12px;font-weight:700}.entry-quick-options{min-height:42px;display:flex;align-items:stretch;gap:7px;padding:4px;border:1px solid var(--border-subtle);border-radius:10px;background:var(--surface-soft)}.entry-quick-options button{min-width:0;flex:1 1 0;padding:8px 10px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--text-base);font:inherit;font-size:13px;font-weight:650;white-space:nowrap;cursor:pointer;transition:color .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}.entry-quick-options button:hover{color:var(--brand-600);background:#fff}.entry-quick-options button.active{color:var(--brand-700);border-color:#3f7ee86b;background:#fff;box-shadow:0 2px 7px #3f7ee81f}.entry-quick-options button:focus-visible{outline:2px solid rgba(63,126,232,.3);outline-offset:1px}.wallet-filelist{margin-top:14px;display:flex;flex-direction:column;gap:8px}.wallet-filelist>div{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:10px 12px;background:#fff;border:1px solid var(--border-subtle);border-radius:12px;font-size:13px;box-shadow:0 1px 2px #17223808}.wallet-filelist>div>svg:first-child{width:28px;height:28px;padding:6px;border-radius:8px;background:linear-gradient(180deg,#eef4ff,#e0ecff);color:var(--brand-600);box-sizing:border-box}.wallet-filelist>div>span{font-weight:600;color:var(--text-base);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wallet-filelist>div small{color:var(--text-faint);font-size:11.5px;font-variant-numeric:tabular-nums}.upload-panel>.ai-result-message{margin-top:12px;border-radius:12px!important;padding:10px 12px!important;font-size:12.5px!important;line-height:1.55!important;font-weight:600!important}.wallet-summary-card{margin-top:16px;padding:14px;border-radius:16px;background:radial-gradient(120% 90% at 0% 0%,rgba(63,126,232,.1),transparent 60%),radial-gradient(120% 90% at 100% 100%,rgba(22,163,106,.1),transparent 60%),linear-gradient(180deg,#fbfdff,#f3f9f7);border:1px solid var(--border-subtle);display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;box-shadow:inset 0 1px #ffffffe6}.wallet-summary-card>div{display:flex;flex-direction:column;gap:4px;padding:2px 4px}.wallet-summary-card b{font-size:20px;font-weight:780;letter-spacing:-.02em;color:var(--text-strong);font-variant-numeric:tabular-nums;line-height:1.1}.wallet-summary-card b.warn{color:var(--danger-600)}.wallet-summary-card span{font-size:12px;color:var(--text-muted);line-height:1.35}.wallet-toolbar{display:flex;flex-direction:column;gap:12px;margin-bottom:14px;padding:12px 14px;background:var(--surface-soft);border:1px solid var(--border-subtle);border-radius:14px}.wallet-filters,.wallet-bulk-edit{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.wallet-filters select,.wallet-bulk-edit select{height:34px;padding:0 10px;border-radius:10px;border:1px solid var(--border-base);background:#fff;font-size:13px;color:var(--text-base);box-shadow:0 1px 2px #17223808;transition:border-color .15s ease,box-shadow .15s ease}.wallet-filters select:focus,.wallet-bulk-edit select:focus{outline:none;border-color:var(--brand-500);box-shadow:0 0 0 3px #3f7ee824}.bulk-label{display:inline-flex;align-items:center;gap:6px;color:var(--text-muted);font-size:12.5px;font-weight:650;padding:0 2px}.wallet-table-wrap{max-height:62vh;overflow:auto;border:1px solid var(--border-base);border-radius:14px;background:#fff;box-shadow:0 1px 2px #17223808}.wallet-table{border-collapse:separate;border-spacing:0;min-width:1120px;width:100%}.wallet-table thead th{position:sticky;top:0;background:linear-gradient(180deg,#f8fbfd,#f1f5fb);z-index:2;padding:11px 10px;font-size:11.5px;font-weight:750;color:var(--text-muted);text-align:left;border-bottom:1px solid var(--border-base);white-space:nowrap;letter-spacing:.02em;text-transform:none}.wallet-table thead th>*{vertical-align:middle;opacity:.75}.wallet-table tbody td{padding:10px;vertical-align:top;border-bottom:1px solid var(--border-subtle);font-size:13px;color:var(--text-base)}.wallet-table tbody tr:nth-child(2n) td{background:#f6f9fd73}.wallet-table tbody tr:hover td{background:#f4f8ff}.wallet-table tbody tr.invalid td{background:#fffbf0;box-shadow:inset 0 -1px #f59e0b2e}.wallet-table tbody tr.invalid:hover td{background:#fff6dc}.wallet-table tbody tr.needs-review td:first-child{box-shadow:inset 3px 0 0 var(--warn-500)}.wallet-table input[type=checkbox]{width:15px;height:15px;accent-color:var(--brand-600);cursor:pointer}.wallet-table input[type=date],.wallet-table select{width:100%;padding:5.5px 8px;border-radius:8px;border:1px solid var(--border-base);background:#fff;font-size:12.5px;color:var(--text-strong);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.wallet-table input[type=date]:hover,.wallet-table select:hover{border-color:var(--border-strong)}.wallet-table input[type=date]:focus,.wallet-table select:focus{outline:none;border-color:var(--brand-500);box-shadow:0 0 0 3px #3f7ee824}.wallet-table select+select{margin-top:5px}.wallet-table .tx-desc-cell b{font-size:13px;font-weight:650;color:var(--text-strong);display:block;line-height:1.4}.wallet-table .tx-note{font-size:11.5px;color:var(--text-muted);margin-top:3px;line-height:1.5}.wallet-table .tx-dup,.wallet-table .tx-review{margin-top:6px;font-size:11.5px;color:var(--danger-700);display:flex;align-items:flex-start;gap:5px;flex-wrap:wrap;line-height:1.5}.wallet-table .tx-review{color:var(--warn-700)}.wallet-table .tx-dup span{background:var(--danger-50);border:1px solid #fecaca;padding:1.5px 7px;border-radius:6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.wallet-table .money{font-weight:750;text-align:right;font-variant-numeric:tabular-nums;color:var(--success-700);font-size:13.5px;letter-spacing:-.01em}.wallet-table .money.refund{color:var(--warn-700)}.wallet-name{font-size:12.5px;font-weight:650;color:var(--text-strong);line-height:1.3}.tx-order{margin-top:3px;font-size:11px;color:var(--text-faint);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.4;word-break:break-all}.confidence{display:inline-block;padding:3px 9px;border-radius:999px;font-size:11.5px;font-weight:700;letter-spacing:.01em;border:1px solid transparent}.confidence.高{background:var(--success-50);border-color:#bbf7d0;color:var(--success-700)}.confidence.中{background:var(--warn-50);border-color:#fde68a;color:var(--warn-700)}.confidence.低{background:var(--danger-50);border-color:#fecaca;color:var(--danger-700)}.badge{display:inline-block;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:700;margin-top:5px;border:1px solid transparent}.badge-warn{background:var(--warn-50);border-color:#fed7aa;color:var(--warn-700)}.ghost-button.tiny{padding:4.5px 8px;font-size:11.5px;border-radius:8px}.wallet-skipped{display:flex;flex-direction:column;gap:8px;max-height:62vh;overflow:auto}.skipped-row{display:grid;grid-template-columns:28px minmax(160px,.9fr) 1fr auto;gap:12px;align-items:start;padding:12px 14px;background:#fff;border:1px solid var(--border-subtle);border-radius:12px;font-size:12.5px;box-shadow:0 1px 2px #17223808}.skipped-row>svg:first-child{width:28px;height:28px;padding:6px;border-radius:8px;background:var(--warn-50);color:var(--warn-600);box-sizing:border-box;flex:0 0 auto}.skipped-row b{display:block;font-size:13px;color:var(--text-strong);font-weight:700;margin-bottom:3px}.skipped-row small{color:var(--text-faint);font-size:11.5px;line-height:1.4}.skipped-row>span:nth-child(3){display:flex;flex-direction:column;gap:2px;color:var(--text-base);min-width:0}.skipped-row>span:nth-child(3)>small{color:var(--text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.skipped-row>small:last-child{flex:0 0 auto;padding-top:2px;text-align:right;white-space:nowrap}.empty-hint{padding:32px 16px;text-align:center;color:var(--text-muted);font-size:13px}.wallet-action-bar{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:linear-gradient(180deg,#fff,#f6f9fd);border:1px solid var(--border-base);border-radius:14px;flex-wrap:wrap;box-shadow:0 4px 16px #1722380a,inset 0 1px #ffffffe6}.wallet-action-note{flex:1;display:inline-flex;align-items:flex-start;gap:8px;color:var(--text-muted);font-size:12.5px;line-height:1.55;min-width:280px}.wallet-action-note svg{flex:0 0 auto;margin-top:1px;color:var(--warn-600)}.wallet-action-bar .primary-button{min-width:240px;justify-content:center;padding:11px 18px;border-radius:12px;font-weight:700;box-shadow:0 6px 16px #3f7ee838}.batch-expense-import-shell{display:flex;flex-direction:column;gap:16px;min-width:0}.batch-expense-upload-panel{padding:20px}.batch-expense-drop-zone{min-height:142px}.batch-expense-upload-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.batch-expense-upload-status span,.batch-expense-upload-status b{padding:6px 10px;border-radius:999px;background:#f3f7fd;color:var(--text-muted);font-size:12px}.batch-expense-upload-status b{background:#eef4ff;color:var(--primary-700)}.batch-expense-explanation{margin:12px 0 0;padding:10px 12px;border-radius:10px;background:#fff8e8;color:#8a5a12;font-size:12.5px;line-height:1.55}.batch-expense-review-panel{padding:18px 0 0;overflow:hidden}.batch-expense-review-panel>.panel-title,.batch-expense-toolbar,.batch-expense-action-bar{margin-left:18px;margin-right:18px}.batch-expense-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px;margin-bottom:14px;padding:12px 14px;border:1px solid var(--border-subtle);border-radius:12px;background:#f8faff}.batch-expense-toolbar b{margin-right:auto;color:var(--text-strong);font-size:13px}.batch-expense-toolbar select{min-width:132px;height:36px;border:1px solid var(--border-base);border-radius:9px;background:#fff;padding:0 30px 0 10px;font-size:12px}.searchable-choice{position:relative;display:flex;align-items:center;min-width:0}.searchable-choice>svg{position:absolute;left:9px;z-index:1;color:#7a889d;pointer-events:none}.searchable-choice-input{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--border-base);border-radius:8px;background:#fff;padding:7px 8px 7px 28px;color:var(--text-base);font-size:12px}.searchable-choice-input:focus{border-color:#8bb5f4;outline:3px solid rgba(58,128,235,.12)}.batch-expense-toolbar .bulk-searchable-choice{width:min(360px,42vw);min-width:220px}.batch-expense-toolbar .searchable-choice-input{height:36px;border-radius:9px}.batch-expense-table-wrap{width:100%;overflow:auto;border-top:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);max-height:62vh}.batch-expense-table{min-width:2140px;table-layout:fixed}.batch-expense-table th,.batch-expense-table td{padding:10px 8px;vertical-align:top}.batch-expense-table th:nth-child(1),.batch-expense-table td:nth-child(1){width:42px;text-align:center}.batch-expense-table th:nth-child(2),.batch-expense-table td:nth-child(2){width:116px}.batch-expense-table th:nth-child(3),.batch-expense-table td:nth-child(3){width:132px}.batch-expense-table th:nth-child(4),.batch-expense-table td:nth-child(4){width:96px}.batch-expense-table th:nth-child(5),.batch-expense-table td:nth-child(5){width:112px}.batch-expense-table th:nth-child(6),.batch-expense-table td:nth-child(6){width:170px}.batch-expense-table th:nth-child(7),.batch-expense-table td:nth-child(7){width:210px}.batch-expense-table th:nth-child(8),.batch-expense-table td:nth-child(8){width:126px}.batch-expense-table th:nth-child(9),.batch-expense-table td:nth-child(9){width:118px}.batch-expense-table th:nth-child(10),.batch-expense-table td:nth-child(10){width:112px}.batch-expense-table th:nth-child(11),.batch-expense-table td:nth-child(11){width:240px}.batch-expense-table th:nth-child(12),.batch-expense-table td:nth-child(12){width:300px}.batch-expense-table th:nth-child(13),.batch-expense-table td:nth-child(13){width:78px}.batch-expense-table input[type=date],.batch-expense-table input[type=number],.batch-expense-table .searchable-choice-input,.batch-expense-table select,.batch-expense-table textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--border-base);border-radius:8px;background:#fff;padding:7px 8px;color:var(--text-base);font-size:12px}.batch-expense-table select{padding-right:24px}.batch-expense-table .searchable-choice-input{padding-left:28px}.batch-expense-table textarea{min-height:74px;resize:vertical;line-height:1.45}.batch-expense-table tr.invalid td{background:#fffaf0}.batch-expense-thumbnail{display:flex;flex-direction:column;gap:5px;width:100%;padding:0;border:0;background:transparent;color:var(--primary-700);cursor:zoom-in;font-size:11px}.batch-expense-thumbnail img{width:88px;height:78px;object-fit:cover;object-position:top;border:1px solid var(--border-base);border-radius:8px;background:#fff}.batch-expense-status-cell{display:flex;flex-direction:column;gap:5px;line-height:1.4}.batch-expense-status-cell small{color:var(--text-muted);overflow-wrap:anywhere}.batch-expense-status-cell .warning{color:#b45309}.batch-expense-status-cell .classification-basis{color:#315f9f;line-height:1.5}.status-line{display:inline-flex;width:fit-content;padding:3px 7px;border-radius:999px;font-size:11px;font-weight:700}.status-line.loading{background:#eef4ff;color:var(--primary-700)}.status-line.success{background:#eaf8f1;color:#13805b}.status-line.error{background:#fff0f0;color:#bd3030}@media(max-width:900px){.batch-expense-review-panel>.panel-title,.batch-expense-toolbar,.batch-expense-action-bar{margin-left:12px;margin-right:12px}}
