@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&family=JetBrains+Mono:wght@400;500;600&display=swap";:root{--bg:#f4f7fb;--panel-bg:#fff;--panel-bg-soft:#f8fafc;--panel-bg-subtle:#f1f5f9;--border:#e2e8f0;--border-subtle:#edf2f7;--border-focus:#145bff;--text:#475569;--text-h:#0f172a;--text-muted:#64748b;--text-light:#94a3b8;--primary:#145bff;--primary-hover:#0d47d9;--primary-soft:#145bff14;--primary-border:#145bff38;--primary-navy:#0f2f7d;--primary-secondary:#2563eb;--primary-gradient:linear-gradient(135deg, #145bff 0%, #3b82f6 100%);--primary-gradient-hover:linear-gradient(135deg, #0d47d9 0%, #2563eb 100%);--primary-mesh:radial-gradient(at 0% 0%, #145bff26 0px, transparent 50%), radial-gradient(at 100% 0%, #06b6d41f 0px, transparent 50%);--accent-cyan:#06b6d4;--accent-cyan-soft:#06b6d41f;--accent-lime:#10b981;--accent-lime-soft:#10b9811f;--accent-purple:#8b5cf6;--accent-purple-soft:#8b5cf61f;--accent-orange:#f97316;--accent-orange-soft:#f973161f;--warning:#f59e0b;--warning-soft:#f59e0b1f;--warning-border:#f59e0b59;--danger:#ef4444;--danger-soft:#ef44441f;--danger-border:#ef444459;--green:#10b981;--green-soft:#10b9811f;--shadow-sm:0 1px 3px 0 #0f172a0d, 0 1px 2px -1px #0f172a0d;--shadow:0 4px 20px -2px #0f172a0a, 0 2px 6px -1px #0f172a05;--shadow-hover:0 12px 28px -4px #145bff17, 0 4px 10px -2px #0f172a08;--shadow-lg:0 20px 25px -5px #0f172a12, 0 8px 10px -6px #0f172a08;--shadow-glow:0 0 20px #145bff33;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-xl:20px;--datatable-header-height:30px;--datatable-row-height:34px;--datatable-cell-inline:8px;--accounting-control-height:28px;--accounting-toolbar-height:32px;--sans:"Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--heading:"Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--mono:"JetBrains Mono", ui-monospace, Consolas, monospace;font:14px/150% var(--sans);letter-spacing:-.01em;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{background:var(--bg);color:var(--text);font-family:var(--sans);margin:0}#root{box-sizing:border-box;min-height:100svh}h1,h2,h3,h4,h5,h6{font-family:var(--heading);color:var(--text-h);letter-spacing:-.02em;font-weight:700}p{margin:0}code{font-family:var(--mono);border-radius:var(--radius-sm);color:var(--text-h);background:var(--panel-bg-soft);border:1px solid var(--border);padding:2px 6px;font-size:12.5px}.warehouse-section-layout{min-width:0}.working-route.warehouse-accounting-page.warehouse-section-content{background:var(--panel-bg);border:1px solid var(--border);border-radius:10px;min-width:0;margin-bottom:18px;padding:20px}.warehouse-section-content>:is(main,section,div):not([role=dialog]){min-width:0;max-width:none;margin-inline:0}.working-route.warehouse-section-content>.purchase-requisitions{width:100%;padding:0}.warehouse-section-content :is(.wh-back,.warehouse-opening__back),.warehouse-section-content>:is(main,section,div)>a[href=\/warehouse],.warehouse-section-content .wh-page-head>a[href=\/warehouse]{display:none}.warehouse-section-content>:is(main,section,div)>h1+p,.warehouse-section-content .warehouse-opening__heading p,.warehouse-section-content .wh-page-head p{color:var(--text-muted);margin:0 0 12px;font-size:12px;line-height:1.5}.working-route.warehouse-accounting-page.warehouse-section-content :is(.warehouse-opening__card.warehouse-opening__actions,.warehouse-opening__selector,.wh-filter,.warehouse-obligations__filters,.warehouse-tasks__filters,.supplier-profile__filters,.warehouse-filter-form,.pr-actions,.document-unit-select){box-shadow:none;text-align:left;background:0 0;border:0;border-radius:0;flex-wrap:wrap;justify-content:flex-start;align-items:flex-end;gap:8px 12px;min-width:0;padding:0;display:flex}.working-route.warehouse-section-content .warehouse-opening__actions{justify-content:flex-start}.working-route.warehouse-accounting-page.warehouse-section-content :is(.document-unit-select,.warehouse-obligations__scope)>label{flex:0 360px;width:100%;margin:0;align-items:flex-start!important}.working-route.warehouse-accounting-page.warehouse-section-content .warehouse-obligations__scope>.warehouse-tasks__lane{max-width:none;margin:0;padding:0}.working-route.warehouse-accounting-page.warehouse-section-content :is(.warehouse-opening__actions,.warehouse-opening__selector,.wh-filter,.warehouse-obligations__filters,.warehouse-tasks__filters,.supplier-profile__filters,.warehouse-filter-form,.pr-actions,.document-unit-select) :is(select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not(.document-native-date-picker),button:not(.shared-date-picker>button)){box-sizing:border-box;height:32px;min-height:32px}.working-route.warehouse-accounting-page.warehouse-section-content table:not(.data-table){border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.working-route.warehouse-accounting-page.warehouse-section-content table:not(.data-table) :is(th,td){box-sizing:border-box;padding:5px var(--datatable-cell-inline);border-bottom:1px solid var(--border);border-right:1px solid var(--border-subtle);vertical-align:middle}.working-route.warehouse-accounting-page.warehouse-section-content table:not(.data-table) th{height:var(--datatable-header-height);background:var(--panel-bg-soft);color:var(--text-h);text-align:left;font-size:11px;font-weight:650}.working-route.warehouse-accounting-page.warehouse-section-content table:not(.data-table) td{height:34px}.working-route.warehouse-accounting-page.warehouse-section-content table:not(.data-table) :is(th,td):last-child{border-right:0}.working-route.warehouse-accounting-page.warehouse-section-content :is(.warehouse-section-empty,.empty-table-cell,.warehouse-dashboard-empty,.wh-empty){text-align:center;color:var(--text-muted);background:var(--panel-bg);margin:0;padding:32px 16px;font-size:12px}.warehouse-section-content .warehouse-opening__heading h1{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=760px){.working-route.warehouse-accounting-page.warehouse-section-content{padding:12px}}.warehouse-section-layout>.finance-tabs{scrollbar-width:thin;flex-wrap:nowrap;overflow-x:auto}.warehouse-section-layout>.finance-tabs>.finance-tab-btn{white-space:nowrap;flex:none;text-decoration:none}.warehouse-section-layout>.finance-tabs>.finance-tab-btn:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.warehouse-section-content>section>h1,.warehouse-section-content>main>h1,.warehouse-section-content>div>h1,.warehouse-section-content>.wh-page>.wh-page-head>h2,.warehouse-section-content>section:first-child>.icon-btn[aria-label=Quay\ lại]+h2{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.working-route.warehouse-accounting-page.warehouse-section-content.warehouse-section-content--hub{background:0 0;border:0;border-radius:0;padding:0}.working-route.warehouse-accounting-page.warehouse-section-content:not(.warehouse-section-content--hub) .panel{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.layout{box-sizing:border-box;background:var(--bg);height:100dvh;min-height:100svh;display:flex;overflow:hidden}.route-loading{justify-content:center;align-items:center;min-height:100svh;display:flex}.icon{flex-shrink:0}.sidebar{background:var(--panel-bg);border-right:1px solid var(--border);z-index:20;flex-direction:column;flex-shrink:0;align-self:flex-start;width:252px;height:calc(100dvh - 40px);padding:20px 14px;display:flex;position:sticky;top:0;overflow-y:auto;box-shadow:2px 0 12px #0f172a05}.brand{justify-content:space-between;align-items:center;gap:10px;margin-bottom:24px;padding:4px 8px;display:flex}.sidebar-close-btn{background:var(--panel-bg-soft);border:1px solid var(--border);border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-h);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:all .15s;display:none}.sidebar-close-btn:hover{background:var(--panel-bg-subtle);color:var(--danger)}.sidebar-overlay{display:none}.brand-logo{width:100%;max-width:165px;height:auto;transition:transform .2s;display:block}.brand-logo:hover{transform:scale(1.02)}.nav{flex-direction:column;gap:3px;display:flex;overflow-y:auto}.nav-item{color:var(--text);border:1px solid #0000;border-radius:9px;align-items:center;gap:10px;padding:9px 12px;font-size:13.5px;font-weight:500;text-decoration:none;transition:all .15s;display:flex}.nav-item:hover{background:var(--panel-bg-soft);color:var(--text-h)}.nav-item.active{background:var(--primary-soft);color:var(--primary);border:1px solid var(--primary-border);font-weight:600;box-shadow:0 2px 8px #145bff14}.nav-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.nav-group-toggle{text-align:left;cursor:pointer;width:100%;font:inherit;letter-spacing:inherit;background:0 0;font-size:13.5px;font-weight:500}.document-invalid-cell .document-grid-cell-control :is(input,select,[role=combobox]){background-color:#fff4f2!important;border-color:#d92d20!important;box-shadow:inset 0 0 0 1px #d92d20!important}.document-field-error{color:#b42318;white-space:normal;overflow-wrap:anywhere;padding:3px 2px;font-size:11px;line-height:1.35;display:block}.entry-field{vertical-align:top;flex-direction:column;width:100%;min-width:0;display:inline-flex}.entry-field.entry-field-invalid :is(input,select,textarea,[role=combobox]){background-color:#fff4f2!important;border-color:#d92d20!important;box-shadow:inset 0 0 0 1px #d92d20!important}.nav-group-toggle.has-active-child{color:var(--primary);background:#145bff08;font-weight:600}.nav-group-chevron{opacity:.6;flex-shrink:0;margin-left:auto;transition:transform .2s}.nav-group-chevron.open{opacity:1;transform:rotate(90deg)}.nav-subitems{flex-direction:column;gap:2px;margin:2px 0 4px;padding-left:24px;display:flex;position:relative}.nav-subitems:before{content:"";background:var(--border);border-radius:2px;width:1.5px;position:absolute;top:4px;bottom:4px;left:14px}.nav-subitem{color:var(--text-muted);border:1px solid #0000;border-radius:7px;align-items:center;gap:8px;padding:7px 10px;font-size:12.5px;font-weight:500;text-decoration:none;transition:all .15s;display:flex}.nav-subitem.active{background:var(--primary-soft);color:var(--primary);border-color:var(--primary-border);font-weight:600}.nav-subitem:hover{color:var(--text-h);background:var(--panel-bg-soft)}.nav-subitem-wrap{position:relative}.nav-flyout{z-index:40;background:var(--panel-bg);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);gap:24px;min-width:380px;max-height:calc(100vh - 24px);margin-left:6px;padding:16px 20px;display:flex;position:absolute;top:-8px;left:100%;overflow-y:auto}.nav-flyout-portal{margin-left:0;position:fixed}.nav-flyout-col{flex-direction:column;flex:1;gap:3px;min-width:150px;display:flex}.nav-flyout-heading{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border-subtle);margin-bottom:8px;padding-bottom:4px;font-size:11px;font-weight:700}.nav-flyout-col button{color:var(--text-h);text-align:left;border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:none;padding:7px 8px;font-size:13px;font-weight:500;transition:all .15s}.nav-flyout-col button:hover{background:var(--primary-soft);color:var(--primary)}.nav-flyout-disabled{color:var(--text-light);opacity:.6;padding:7px 8px;font-size:13px}.quick-actions{border-top:1px solid var(--border);flex-direction:column;gap:6px;margin-top:auto;padding-top:16px;display:flex}.quick-actions-label{letter-spacing:.8px;color:var(--text-muted);text-transform:uppercase;padding:0 4px 4px;font-size:10.5px;font-weight:700}.quick-action-btn{background:var(--panel-bg-soft);width:100%;color:var(--text-h);border:1px solid var(--border);border-radius:var(--radius-sm);text-align:left;cursor:pointer;align-items:center;gap:8px;padding:9px 12px;font-size:12.5px;font-weight:600;transition:all .15s;display:flex}.quick-action-btn:hover{border-color:var(--primary-border);background:var(--primary-soft);color:var(--primary);transform:translateY(-1px)}.sidebar-footer{color:var(--text-muted);margin-top:14px;padding:0 4px;font-size:11px;line-height:150%}.main{box-sizing:border-box;background:var(--bg);overscroll-behavior:contain;flex:1;min-width:0;height:100dvh;min-height:0;padding:18px 32px 64px;overflow:hidden auto}.topbar{--topbar-bleed:18px;z-index:25;isolation:isolate;background:var(--bg);-webkit-backdrop-filter:none;border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin:-18px -32px 20px;padding:16px 32px;display:flex;position:sticky;top:0}.topbar:before{content:"";z-index:-1;height:var(--topbar-bleed);background:var(--bg);pointer-events:none;position:absolute;bottom:100%;left:0;right:0}.topbar-left{align-items:center;gap:12px;display:flex}.mobile-menu-btn{background:var(--panel-bg);border:1px solid var(--border);border-radius:var(--radius-sm);width:36px;height:36px;color:var(--text-h);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:none}.topbar h1{letter-spacing:-.02em;color:var(--text-h);margin:0;font-size:18px;font-weight:800}.subtitle{letter-spacing:.6px;color:var(--text-muted);text-transform:uppercase;margin:1px 0 0;font-size:11px;font-weight:600}.topbar-right{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.ai-brain-btn{white-space:nowrap;background:var(--primary-gradient);color:#fff;cursor:pointer;border:none;border-radius:999px;align-items:center;gap:7px;padding:7px 15px;font-size:12.5px;font-weight:600;transition:all .2s;display:flex;box-shadow:0 2px 10px #145bff40}.ai-brain-btn:hover{background:var(--primary-gradient-hover);transform:translateY(-1px);box-shadow:0 4px 14px #145bff59}.topbar-icon-wrap{position:relative}.topbar-icon-btn{background:var(--panel-bg);border:1px solid var(--border);width:36px;height:36px;color:var(--text-h);cursor:pointer;box-shadow:var(--shadow-sm);border-radius:50%;justify-content:center;align-items:center;padding:0;transition:all .15s;display:flex;position:relative}.topbar-icon-btn:hover{border-color:var(--primary-border);color:var(--primary);transform:translateY(-1px)}.badge{background:var(--danger);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:17px;height:17px;padding:0 4px;font-size:10px;font-weight:700;display:flex;position:absolute;top:-2px;right:-2px;box-shadow:0 2px 6px #ef444459}.avatar-btn{background:var(--primary-soft);border:1.5px solid var(--primary-border);width:36px;height:36px;color:var(--primary);cursor:pointer;box-shadow:var(--shadow-sm);border-radius:50%;padding:0;font-size:13px;font-weight:700;transition:all .15s;overflow:hidden}.avatar-btn:hover{box-shadow:var(--shadow);transform:scale(1.05)}.avatar-btn img{object-fit:cover;border-radius:50%;width:100%;height:100%}.dropdown{background:var(--panel-bg);border:1px solid var(--border);border-radius:var(--radius-md);width:280px;max-height:calc(100vh - 280px);box-shadow:var(--shadow-lg);z-index:35;flex-direction:column;gap:8px;padding:14px;animation:.15s ease-out dropdownFadeIn;display:flex;position:absolute;top:46px;right:0;overflow-y:auto}.dropdown-sticky-header{background:var(--panel-bg);z-index:1;margin:-14px -14px 0;padding:14px 14px 8px;position:sticky;top:-14px}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.dropdown strong{color:var(--text-h);font-size:13px}.dropdown-item{border-top:1px solid var(--border-subtle);padding-top:8px;font-size:12.5px}.dropdown-item p{margin-bottom:4px}@media (width<=720px){.dropdown{width:auto;max-height:calc(100vh - 132px);position:fixed;top:108px;left:12px;right:12px}}.greeting-bar{background:var(--panel-bg-soft);border:1px solid var(--border);border-radius:10px;margin-top:18px;padding:16px 18px}.greeting-bar strong{color:var(--text-h);margin-bottom:2px;display:block}.kpi-row{grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0;display:grid}.kpi-row-6{grid-template-columns:repeat(6,1fr)}.kpi-row-3,.cash-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))}.warehouse-dashboard-alert-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin:18px 0;display:grid}.warehouse-stat-panel-header{border-bottom:1px solid var(--border);color:var(--text);justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:12px;font-size:12px;display:flex}.warehouse-stat-panel-header>span:first-child{align-items:center;gap:5px;display:inline-flex}.warehouse-stat-panel-header .link-btn,.data-as-of-line .link-btn{color:var(--primary);cursor:pointer;background:0 0;border:none;margin-left:6px;padding:0;font-size:12px}.warehouse-stat-panel-header .link-btn:hover,.data-as-of-line .link-btn:hover{text-decoration:underline}.data-as-of-line{border-top:1px solid var(--border);color:var(--text);align-items:center;gap:5px;margin-top:12px;padding-top:12px;font-size:12px;display:flex}.warehouse-stat-blocks{gap:20px;display:flex}.warehouse-stat-block{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.warehouse-stat-icon{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.warehouse-stat-icon.tone-warning{background:var(--warning-soft);color:var(--warning)}.warehouse-stat-icon.tone-danger{background:var(--danger-soft);color:var(--danger)}.warehouse-stat-icon.tone-up{background:var(--green-soft);color:var(--green)}.warehouse-stat-icon.tone-primary{background:var(--primary-soft);color:var(--primary)}.warehouse-stat-text{min-width:0}.warehouse-stat-value{color:var(--text-h);font-size:22px;font-weight:700;line-height:1.2;display:block}.warehouse-stat-label{color:var(--text);margin-top:1px;font-size:12px;display:block}.warehouse-item-swatch{border-radius:2px;flex-shrink:0;width:8px;height:8px;margin-right:7px;display:inline-block}.warehouse-item-name-cell{align-items:center;display:flex}.warehouse-dashboard-panels{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;display:grid}.warehouse-inventory-total{justify-content:space-between;align-items:baseline;gap:16px;padding:2px 0 16px;display:flex}.warehouse-inventory-total span{color:var(--text);font-size:12px}.warehouse-inventory-total strong{color:var(--text-h);font-size:24px;line-height:1.15}.kpi-card{background:var(--panel-bg);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:6px;min-width:0;min-height:116px;padding:15px 16px;display:flex;box-shadow:0 2px 8px #0f172a0a}.kpi-card-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.kpi-icon{border-radius:var(--radius-md);background:var(--primary-soft);width:32px;height:32px;color:var(--primary);box-shadow:var(--shadow-sm);flex-shrink:0;justify-content:center;align-items:center;transition:transform .2s;display:flex}.kpi-card:hover .kpi-icon{transform:scale(1.08)}.kpi-label{letter-spacing:.2px;color:var(--text-muted);text-transform:uppercase;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;min-height:2.7em;font-size:11.5px;font-weight:700;line-height:1.35;display:-webkit-box;overflow:hidden}.kpi-value{letter-spacing:-.02em;color:var(--text-h);font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:23px;font-weight:800;line-height:1.15;overflow:hidden}.kpi-value.gold{color:var(--primary)}.kpi-value.tone-warning{color:var(--warning)}.kpi-value.tone-up{color:var(--green)}.kpi-value.tone-down{color:var(--danger)}.kpi-hint{color:var(--text);align-items:center;gap:4px;margin-top:auto;font-size:11.5px;font-weight:500;line-height:1.35;display:flex}.kpi-hint.tone-up{color:#059669;background:#10b9811a;border-radius:999px;width:fit-content;padding:2px 6px;font-weight:600;display:inline-flex}.kpi-hint.tone-down{color:#dc2626;background:#ef44441a;border-radius:999px;width:fit-content;padding:2px 6px;font-weight:600;display:inline-flex}.kpi-hint.muted{color:var(--text-muted)}.smart-hero-banner{border-radius:var(--radius-xl);background:linear-gradient(135deg,#fff 0%,#f0f6ff 50%,#e8f1ff 100%);border:1px solid #145bff2e;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px;padding:24px 28px;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 30px -5px #145bff14,0 2px 6px #0f172a05}.smart-hero-banner:after{content:"";pointer-events:none;background:radial-gradient(circle,#145bff14 0%,#0000 70%);border-radius:50%;width:260px;height:260px;position:absolute;top:-40px;right:-20px}.smart-hero-left{z-index:1;flex:300px;min-width:260px;position:relative}.smart-hero-banner{flex-wrap:wrap}.smart-hero-tag{color:#059669;letter-spacing:.3px;background:#10b9811f;border:1px solid #10b98140;border-radius:999px;align-items:center;gap:6px;margin-bottom:10px;padding:4px 10px;font-size:11.5px;font-weight:700;display:inline-flex}.smart-hero-tag-dot{background:#10b981;border-radius:50%;width:6px;height:6px;animation:2s infinite pulseDot;box-shadow:0 0 6px #10b981}@keyframes pulseDot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}.smart-hero-title{color:var(--text-h);letter-spacing:-.02em;margin:0 0 4px;font-size:22px;font-weight:800}.smart-hero-subtitle{color:var(--text-muted);font-size:13px;line-height:1.5}.smart-hero-stats{z-index:1;flex-wrap:wrap;flex:0 auto;align-items:center;gap:12px;display:flex;position:relative}.smart-hero-stat-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:var(--radius-md);text-align:center;background:#ffffffd9;border:1px solid #e2e8f0e6;min-width:130px;padding:12px 18px;transition:transform .15s,border-color .15s;box-shadow:0 2px 8px #0f172a0a}.smart-hero-stat-card:hover{border-color:var(--primary-border);transform:translateY(-2px)}.smart-hero-stat-num{color:var(--primary);font-variant-numeric:tabular-nums;font-size:22px;font-weight:800;line-height:1.2}.smart-hero-stat-lbl{color:var(--text-muted);margin-top:2px;font-size:11px;font-weight:600}.quick-apps-section{margin-bottom:22px}.quick-apps-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.quick-apps-title{color:var(--text-h);align-items:center;gap:8px;font-size:14px;font-weight:700;display:flex}.quick-apps-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;display:grid}.quick-app-item{background:var(--panel-bg);border:1px solid var(--border);border-radius:var(--radius-lg);cursor:pointer;box-shadow:var(--shadow-sm);flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:14px 10px;text-decoration:none;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex}.quick-app-item:hover{box-shadow:var(--shadow-hover);border-color:var(--primary-border);transform:translateY(-3px)}.quick-app-icon-wrap{color:#fff;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;font-size:18px;transition:transform .2s;display:flex;box-shadow:0 4px 12px #0000001f}.quick-app-item:hover .quick-app-icon-wrap{transform:scale(1.1)}.quick-app-icon-wrap.bg-blue{background:linear-gradient(135deg,#145bff 0%,#3b82f6 100%);box-shadow:0 4px 14px #145bff59}.quick-app-icon-wrap.bg-cyan{background:linear-gradient(135deg,#06b6d4 0%,#0ea5e9 100%);box-shadow:0 4px 14px #06b6d459}.quick-app-icon-wrap.bg-green{background:linear-gradient(135deg,#10b981 0%,#059669 100%);box-shadow:0 4px 14px #10b98159}.quick-app-icon-wrap.bg-purple{background:linear-gradient(135deg,#8b5cf6 0%,#6d28d9 100%);box-shadow:0 4px 14px #8b5cf659}.quick-app-icon-wrap.bg-orange{background:linear-gradient(135deg,#f97316 0%,#ea580c 100%);box-shadow:0 4px 14px #f9731659}.quick-app-icon-wrap.bg-rose{background:linear-gradient(135deg,#f43f5e 0%,#e11d48 100%);box-shadow:0 4px 14px #f43f5e59}.quick-app-icon-wrap.bg-indigo{background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);box-shadow:0 4px 14px #6366f159}.quick-app-label{color:var(--text-h);text-align:center;font-size:12px;font-weight:600;line-height:1.25}.error-banner{color:#b91c1c;background:#ef444414;border:1px solid #ef444459;border-radius:6px;margin-bottom:16px;padding:10px 14px}.table-error-message{color:#b91c1c;font-weight:500}.success-banner{color:#15803d;background:#22c55e14;border:1px solid #22c55e59;border-radius:6px;margin-bottom:16px;padding:10px 14px}input:disabled,textarea:disabled,select:disabled{opacity:.6;cursor:not-allowed}.hidden-file-input{display:none}.profile-avatar-row{align-items:center;gap:20px;display:flex}.profile-avatar{background:var(--primary-soft);border:1px solid var(--primary-border);width:72px;height:72px;color:var(--primary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:24px;font-weight:700;display:flex;overflow:hidden}.profile-avatar img{object-fit:cover;width:100%;height:100%}.profile-avatar-row .muted{margin-top:6px;font-size:12px}.logo-preview{background:var(--panel-bg-soft);border:1px solid var(--border);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:96px;height:56px;padding:6px;display:flex}.logo-preview img{object-fit:contain;max-width:100%;max-height:100%}.branding-favicon-row{border-top:1px solid var(--border);margin-top:18px;padding-top:18px}.favicon-preview{border:1px solid var(--border);background:#fff;border-radius:12px;flex:0 0 64px;place-items:center;width:64px;height:64px;display:grid}.favicon-preview img{object-fit:contain;width:32px;height:32px}.branding-drawer-handle{background:var(--panel-bg);width:22px;color:var(--text);border:1px solid #c3cad4;justify-content:center;align-items:center;padding:0;transition:background .15s;display:flex}.branding-drawer-handle:not(.is-open){z-index:40;height:44px;box-shadow:var(--shadow);border-right:none;border-radius:8px 0 0 8px;position:fixed;top:30%;right:0;transform:translateY(-50%)}.branding-drawer-handle.is-open{border:none;border-right:1px solid #c3cad4;border-radius:0 8px 8px 0;flex:none;align-self:center;height:44px}.branding-drawer-handle:active{background:var(--panel-bg-soft)}.branding-drawer-handle svg{transition:transform .2s}.branding-drawer-handle.is-open svg{transform:rotate(180deg)}.branding-drawer-overlay{z-index:39;background:0 0;position:fixed;inset:0}.branding-drawer{z-index:40;background:var(--panel-bg);width:302px;max-width:calc(100vw - 32px);box-shadow:var(--shadow);border:1px solid #c3cad4;border-radius:12px;align-items:stretch;display:flex;position:fixed;top:30%;right:16px;overflow:hidden;transform:translateY(-50%)}.branding-drawer-content{flex:1;min-width:0;padding:16px}.branding-drawer-header{margin-bottom:12px}.branding-drawer-header h3{margin:0;font-size:14px}.branding-grid{grid-template-columns:auto 1fr;align-items:center;gap:16px 12px;display:grid}.branding-grid button{justify-self:end}.logo-preview.is-compact{width:64px;height:40px}.favicon-preview.is-compact{border-radius:9px;flex:0 0 40px;width:40px;height:40px}.favicon-preview.is-compact img{width:22px;height:22px}.panel{border:1px solid var(--border);background:var(--panel-bg);border-radius:10px;min-width:0;margin-bottom:18px;padding:20px}.icon-nav-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;display:grid}.icon-nav-card{border:1px solid var(--border);background:var(--panel-bg);color:var(--text);border-radius:10px;align-items:center;gap:14px;padding:14px 16px;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .1s;display:flex}.icon-nav-card:hover{border-color:var(--primary);box-shadow:var(--shadow);transform:translateY(-1px)}.icon-nav-card-icon{background:var(--primary-soft);width:38px;height:38px;color:var(--primary);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.icon-nav-card-body{flex-direction:column;gap:1px;min-width:0;display:flex}.icon-nav-card-label{font-size:13.5px;font-weight:600}.icon-nav-card-hint{color:var(--text);opacity:.65;font-size:11.5px}.quick-link-row{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.quick-link-row .quick-link-pill{margin-bottom:0}.quick-link-pill{border:1px solid var(--border);background:var(--panel-bg);color:var(--primary);border-radius:999px;align-items:center;gap:7px;margin-bottom:18px;padding:8px 14px;font-size:13px;font-weight:600;text-decoration:none;transition:background .15s,border-color .15s;display:inline-flex}.quick-link-pill:hover{background:color-mix(in srgb, var(--primary) 8%, white);border-color:var(--primary)}.quick-link-pill svg:last-child{opacity:.6}.panel h2{margin-top:0;font-size:16px}.panel-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.panel-header h2{margin:0}.panel-link{color:var(--primary);white-space:nowrap;align-items:center;gap:4px;font-size:12.5px;font-weight:600;text-decoration:none;display:inline-flex}.contact-form{flex-direction:column;gap:10px;display:flex}.form-row{gap:10px;display:flex}.form-row>label:not([style]){flex-direction:column;flex:1;gap:4px;display:flex}.npp-create-form{margin-bottom:18px}.npp-create-form-actions{justify-content:flex-end;margin-top:12px;display:flex}.npp-group-checkboxes{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 18px;display:grid}.npp-group-checkbox{align-items:center;gap:6px;font-size:13px;display:flex}.npp-group-checkbox input{flex:none;width:15px;height:15px}.npp-edit-modal{max-width:920px}@media (width<=1000px){.npp-group-checkboxes{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=700px){.npp-group-checkboxes{grid-template-columns:repeat(2,minmax(0,1fr))}}.invoice-tabs{white-space:nowrap;flex-wrap:nowrap;gap:0;margin-bottom:0;overflow-x:auto}.invoice-topbar{margin-bottom:12px}.invoice-topbar.has-decree{grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:12px;min-width:0;display:grid}.invoice-topbar.has-decree .invoice-tabs{width:auto;min-width:0;margin-bottom:0}.invoice-tabs .finance-tab-btn{flex:none}.invoice-report-links .link-btn{color:var(--text-h);text-align:left;box-shadow:none;background:0 0;border:0;padding:0;font-weight:400}.invoice-report-links .link-btn:hover{color:var(--primary);background:0 0}.invoice-decree-bar{box-sizing:border-box;width:auto;min-width:0;min-height:34px;color:var(--text);white-space:nowrap;box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:0;justify-self:end;align-items:center;gap:7px;margin:0;padding:0;font-size:12.5px;display:flex}.warehouse-costing-modal{background:#fff;width:min(680px,100vw - 32px);max-height:calc(100vh - 40px);overflow:auto}.warehouse-costing-modal fieldset{border:1px solid var(--border);border-radius:6px;flex-wrap:wrap;align-items:center;gap:12px 24px;margin:12px 0;padding:10px 12px;display:flex}.warehouse-costing-modal legend{padding:0 5px;font-weight:600}.warehouse-costing-modal fieldset label{align-items:center;gap:6px;display:inline-flex}.warehouse-costing-items{border:1px solid var(--border);border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:150px;padding:10px;display:grid;overflow:auto}.warehouse-costing-items label{align-items:center;gap:7px;display:flex}.warehouse-assembly-modal{width:100vw;max-width:100vw;height:100vh;max-height:100vh}.warehouse-assembly-modal>header h2{margin:0;font-size:16px}.warehouse-assembly-modal .warehouse-assembly-header-actions{align-items:center;gap:8px;display:flex}.warehouse-assembly-modal .warehouse-assembly-header-actions .compact{align-items:center;gap:5px;min-height:24px;padding:3px 9px;font-size:11px;display:inline-flex}.warehouse-assembly-modal .accounting-document-modal-body{background:#eef1f4;padding:0 10px 10px;overflow:auto}.warehouse-assembly-header{box-sizing:border-box;background:#e6e9e9;grid-template-columns:minmax(0,1fr) 250px minmax(100px,1fr);gap:14px;min-height:114px;margin:0 -10px;padding:10px;display:grid}.warehouse-assembly-header label{gap:3px;min-width:0;font-size:11.5px;font-weight:600;display:grid}.warehouse-assembly-header input{box-sizing:border-box;width:100%;height:28px;font-weight:400}.warehouse-assembly-description-block{min-width:0}.warehouse-assembly-note textarea{box-sizing:border-box;resize:none;background:#fff;width:100%;height:46px;min-height:46px;padding:6px 8px}.warehouse-assembly-reference-toggle{min-height:20px;box-shadow:none;color:var(--text-h);background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-top:4px;padding:0;font-size:11px;font-weight:400;display:inline-flex}.warehouse-assembly-reference-toggle:hover,.warehouse-assembly-reference-toggle:focus-visible{box-shadow:none;color:var(--text-h);background:0 0;border:0}.warehouse-assembly-reference-more{color:var(--primary);letter-spacing:1px;font-weight:600}.warehouse-assembly-reference-input{max-width:420px;margin-top:4px}.warehouse-assembly-document-meta{align-content:start;gap:5px;display:grid}.warehouse-assembly-grand-total{align-content:start;justify-items:end;gap:2px;padding-top:7px;font-size:11px;display:grid}.warehouse-assembly-grand-total strong{color:var(--text-h);font-size:20px}.warehouse-disassembly-auto-price{align-items:center;gap:7px;margin:10px 0 0;font-size:12px;display:inline-flex}.warehouse-disassembly-auto-price input{width:14px;height:14px;accent-color:var(--primary);margin:0}.warehouse-assembly-split{grid-template-columns:minmax(0,2.05fr) minmax(420px,.95fr);gap:8px;min-height:calc(100vh - 218px);margin-top:8px;display:grid}.warehouse-assembly-pane{border:1px solid var(--border);background:#fff;border-radius:7px;min-width:0;overflow:hidden;box-shadow:0 1px 2px #0f172a0d}.warehouse-assembly-section{background:#fff;border:0;border-radius:0;margin:0;overflow:visible}.warehouse-assembly-section-title{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:34px;padding:0 8px 0 10px;display:flex}.warehouse-assembly-section h3{margin:0;font-size:13px}.warehouse-assembly-section .data-table select,.warehouse-assembly-section .data-table input{width:100%;min-width:64px;height:26px}.warehouse-assembly-table{width:100%;min-width:620px}.warehouse-assembly-pane.is-side .warehouse-assembly-table{min-width:580px}.warehouse-assembly-table th{background:color-mix(in srgb, var(--primary) 12%, #fff);height:27px;padding:3px 6px;font-size:11px}.warehouse-assembly-table td{height:29px;padding:1px 5px;font-size:11px}.warehouse-assembly-table th:first-child,.warehouse-assembly-table td:first-child{text-align:center;width:25px}.warehouse-assembly-table th:last-child,.warehouse-assembly-table td:last-child{text-align:center;width:32px}.warehouse-assembly-table tfoot td{background:#eef0f0;height:25px}.warehouse-assembly-line-actions{gap:6px;padding:7px 26px;display:flex}.warehouse-assembly-line-actions .compact{align-items:center;gap:4px;min-height:24px;padding:3px 9px;font-size:11px;display:inline-flex}.warehouse-assembly-pane .document-attachments{width:min(620px,100% - 52px);margin:4px 26px}.warehouse-assembly-pane .voucher-attach{min-height:64px}.warehouse-assembly-posting-bar{border:1px solid var(--primary-border);background:var(--primary-soft);border-radius:6px;grid-template-columns:minmax(0,1fr) max-content max-content;align-items:center;gap:8px;margin-top:10px;padding:9px 10px;display:grid}.warehouse-assembly-posting-bar>div{gap:2px;display:grid}.warehouse-assembly-posting-bar span{color:var(--muted);font-size:11.5px}.warehouse-assembly-posting-bar button{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.warehouse-assembly-posting-bar button.completed{color:var(--success)}.warehouse-assembly-modal>.voucher-modal-footer{justify-content:flex-end;min-height:42px;padding:5px 14px}.warehouse-assembly-save-actions{align-items:center;gap:8px;display:inline-flex}.warehouse-assembly-save-actions>button{min-width:58px;min-height:28px;padding:3px 12px}.warehouse-assembly-print-split{align-items:stretch;display:inline-flex}.warehouse-assembly-print-split>button:first-child{border-radius:4px 0 0 4px;min-width:70px;min-height:28px;padding:3px 10px}.warehouse-assembly-save-actions .warehouse-assembly-save-menu{border-left:1px solid #ffffff73;border-radius:0 4px 4px 0;width:30px;min-width:30px;min-height:28px;padding:0}.warehouse-receipt-price-method{justify-content:flex-end;padding:5px 0 4px;display:flex}.warehouse-receipt-price-method label{color:var(--text);align-items:center;gap:7px;font-size:11px;font-weight:600;display:inline-flex}.warehouse-receipt-price-method select{width:190px;height:26px;padding:2px 24px 2px 7px;font-size:11px;font-weight:400}.misa-warehouse-flow .misa-tools-flow-grid{grid-template-columns:repeat(6,minmax(88px,1fr))}@media (width<=720px){.warehouse-costing-items,.warehouse-assembly-header{grid-template-columns:1fr}.warehouse-assembly-split{grid-template-columns:1fr;min-height:auto}.warehouse-assembly-posting-bar{grid-template-columns:1fr}}.invoice-decree-bar:hover:not(:disabled){color:var(--text-h);background:0 0}.invoice-decree-label{flex:none;line-height:30px}.invoice-decree-info{background:var(--primary);color:#fff;border-radius:50%;flex:0 0 20px;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.invoice-decree-value{box-sizing:border-box;border:1px solid var(--border);background:#fff;border-radius:5px;flex:0 0 224px;align-items:center;gap:8px;width:224px;height:32px;padding:0 9px 0 11px;transition:border-color .15s,box-shadow .15s;display:inline-flex}.invoice-decree-bar:hover:not(:disabled) .invoice-decree-value{border-color:var(--primary);box-shadow:0 0 0 1px color-mix(in srgb, var(--primary) 12%, transparent)}.invoice-decree-value strong{text-align:left;min-width:0;color:var(--text-h);text-overflow:ellipsis;flex:auto;overflow:hidden}.invoice-decree-value>svg{color:var(--primary)}.invoice-decree-overlay{z-index:1800;isolation:isolate;background:#0f172a8c}.invoice-decree-dialog,.invoice-connection-dialog{z-index:1;box-sizing:border-box;background:#fff;border:1px solid #d9e0e8;border-radius:10px;width:min(520px,100vw - 32px);padding:24px;position:relative;overflow:hidden;box-shadow:0 18px 55px #0f172a40}.invoice-decree-dialog h3,.invoice-connection-dialog h3{color:var(--text-h);margin:0;font-size:17px}.invoice-decree-options{border-bottom:1px solid var(--border);gap:28px;margin:24px 0;padding-bottom:22px;display:flex}.invoice-decree-options label{cursor:pointer;align-items:center;gap:8px;font-weight:600;display:inline-flex}.invoice-decree-options input{accent-color:var(--primary)}.invoice-decree-actions,.invoice-connection-dialog-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.invoice-decree-actions{justify-content:flex-end}.invoice-connection-dialog-brand{color:var(--primary);align-items:center;gap:9px;margin-bottom:24px;display:flex}.invoice-connection-dialog-close{position:absolute;top:14px;right:14px}.invoice-connection-dialog p{color:var(--muted);margin:12px 0 24px;line-height:1.55}.invoice-config-grid,.invoice-guide-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.invoice-config-field{min-width:0;color:var(--text);flex-direction:column;gap:6px;font-size:13px;display:flex}.invoice-config-field input,.invoice-config-field select{box-sizing:border-box;width:100%;min-width:0;height:36px}.invoice-config-field input[readonly],.invoice-config-field select:disabled{background:var(--bg);color:var(--muted)}.invoice-config-note,.invoice-report-scope{color:var(--muted);align-items:center;gap:7px;margin:14px 0 0;font-size:13px;display:flex}.invoice-report-scope{border:1px solid color-mix(in srgb, var(--primary) 25%, var(--border));background:color-mix(in srgb, var(--primary) 5%, var(--surface));border-radius:6px;margin:0 0 12px;padding:9px 12px}.invoice-modal-decree{background:color-mix(in srgb, var(--primary) 12%, transparent);color:var(--primary);border-radius:999px;padding:3px 8px;font-size:12px;font-weight:600}.invoice-process-layout{align-items:stretch}.invoice-process-layout>.panel{box-sizing:border-box;height:420px;min-height:0}.invoice-process-layout>.panel:last-child{flex-direction:column;display:flex}.invoice-process-layout>.panel:last-child .all-reports-link{align-self:center;margin-top:auto}.misa-invoice-flow{min-width:680px;overflow:hidden}.misa-invoice-flow.is-five-column{min-width:610px}.misa-invoice-flow .process-flow-title{margin-bottom:8px}.misa-invoice-flow-grid{--invoice-flow-row-height:112px;grid-template-columns:1.05fr repeat(5,minmax(92px,1fr));grid-template-rows:repeat(3, var(--invoice-flow-row-height));align-items:center;padding:0 8px 8px;display:grid;position:relative}.misa-invoice-flow-line{z-index:1;top:50%;left:var(--invoice-flow-line-start,12.5%);background:#aeb7c2;height:1px;position:absolute;right:3%}.misa-invoice-flow-line:before{content:"";left:0;top:calc(-1 * var(--invoice-flow-row-height));width:30px;height:calc(2 * var(--invoice-flow-row-height));border:1px solid #aeb7c2;border-left:0;border-radius:0 18px 18px 0;position:absolute}.misa-invoice-flow-line svg{color:#8e99a7;position:absolute;top:-6px;right:-7px}.misa-invoice-flow-branch{z-index:1;background:#aeb7c2;grid-row:2;justify-self:center;width:1px;height:50%;position:relative}.misa-invoice-flow-branch.is-up{align-self:start}.misa-invoice-flow-branch.is-down{align-self:end}.misa-invoice-flow-branch:after{content:"";border-left:3px solid #0000;border-right:3px solid #0000;width:0;height:0;position:absolute;left:-3px}.misa-invoice-flow-branch.is-up:after{border-bottom:5px solid #8e99a7;top:0}.misa-invoice-flow-branch.is-down:after{border-top:5px solid #8e99a7;bottom:0}.misa-invoice-flow-cell{z-index:2;justify-self:center;position:relative}.misa-invoice-flow-cell button.process-flow-step,.misa-invoice-flow-cell.is-on-line button.process-flow-step{background:var(--panel-bg)}.misa-invoice-flow .process-flow-step{justify-content:flex-start;width:116px;min-height:104px;padding:4px;font-size:12px;line-height:1.45}.misa-invoice-flow .process-flow-icon{border:1px solid var(--primary-border);background:var(--primary-soft);width:50px;height:50px;color:var(--primary);border-radius:16px}.misa-invoice-flow button.process-flow-step:hover{background:var(--primary-soft);border-color:#0000}.invoice-process-quicklinks{padding:10px 14px}.invoice-process-quicklinks .quick-links{flex-wrap:nowrap;gap:0}.invoice-process-quicklinks .quick-links-item-col{min-width:0}.invoice-process-quicklinks .quick-links-item{border:0;border-right:1px solid var(--border);border-radius:0;min-width:0;padding:9px 16px}.invoice-process-quicklinks .quick-links-item-col:last-child .quick-links-item{border-right:0}.invoice-process-quicklinks button.quick-links-item.clickable:hover{background:var(--primary-soft)}.tools-process-layout{align-items:stretch}.tools-process-layout>.panel{box-sizing:border-box;height:420px;min-height:0}.tools-process-layout>.panel:last-child{flex-direction:column;display:flex}.tools-process-layout>.panel:last-child .all-reports-link{align-self:center;margin-top:auto}.misa-tools-flow{min-width:650px;overflow:visible}.misa-tools-flow .process-flow-title{margin-bottom:8px}.misa-tools-flow-grid{--tools-flow-row-height:108px;grid-template-columns:repeat(6,minmax(92px,1fr));grid-template-rows:repeat(3, var(--tools-flow-row-height));align-items:center;padding:0 8px 8px;display:grid;position:relative}.misa-assets-flow{min-width:760px}.misa-assets-flow-grid{grid-template-columns:repeat(7,minmax(96px,1fr))}.misa-assets-flow-cell button.process-flow-step{width:120px}.misa-payroll-flow{min-width:650px}.misa-payroll-flow-cell button.process-flow-step{width:120px}.misa-general-flow{min-width:680px}.misa-general-flow .misa-tools-flow-line{left:27%}.misa-general-flow-grid:before{content:"";z-index:1;top:calc(var(--tools-flow-row-height) / 2);background:#aeb7c2;width:15%;height:1px;position:absolute;left:9%}.misa-general-flow-grid:after{content:"";z-index:1;top:calc(var(--tools-flow-row-height) / 2 - 3px);border-top:3px solid #0000;border-bottom:3px solid #0000;border-left:5px solid #8e99a7;width:0;height:0;position:absolute;left:24%}.misa-general-flow-cell button.process-flow-step{width:122px}.misa-tools-flow-line{z-index:1;background:#aeb7c2;height:1px;position:absolute;top:50%;left:8.5%;right:3%}.misa-tools-flow-line svg{color:#8e99a7;position:absolute;top:-6px;right:-7px}.misa-tools-flow-branch{z-index:1;background:#aeb7c2;grid-row:2;justify-self:center;width:1px;height:50%;position:relative}.misa-tools-flow-branch.is-up{align-self:start}.misa-tools-flow-branch.is-down{align-self:end}.misa-tools-flow-branch:after{content:"";border-left:3px solid #0000;border-right:3px solid #0000;width:0;height:0;position:absolute;left:-3px}.misa-tools-flow-branch.is-up:after{border-bottom:5px solid #8e99a7;top:0}.misa-tools-flow-branch.is-down:after{border-top:5px solid #8e99a7;bottom:0}.misa-tools-flow-cell{z-index:2;justify-self:center;position:relative}.misa-tools-flow-cell:has(.process-flow-menu){z-index:40}.misa-tools-flow-cell .process-flow-menu{width:190px;top:48%;left:calc(100% - 10px);transform:none}.misa-tools-flow-cell button.process-flow-step{background:var(--panel-bg);justify-content:flex-start;width:112px;min-height:100px;padding:4px;font-size:12px;line-height:1.45}.misa-tools-flow .process-flow-icon{border:1px solid var(--primary-border);background:var(--primary-soft);width:50px;height:50px;color:var(--primary);border-radius:16px}.misa-tools-flow button.process-flow-step:hover{background:var(--primary-soft);border-color:#0000}.tools-process-quicklinks{padding:10px 14px}.payroll-source-state{border:1px dashed var(--border);background:var(--bg);border-radius:10px;max-width:720px;padding:18px}.payroll-source-state p,.payroll-posting-callout p{margin:6px 0 14px}.payroll-posting-callout{justify-content:space-between;align-items:center;gap:24px;display:flex}.report-subset-note{margin:0 0 14px}@media (width<=900px){.tools-process-layout>.panel{height:auto;min-height:0}.tools-process-layout>.panel:first-child{overflow-x:auto}.invoice-process-layout>.panel{height:auto;min-height:0}.invoice-process-layout>.panel:first-child{overflow-x:auto}.invoice-process-quicklinks .quick-links{flex-wrap:wrap}.invoice-process-quicklinks .quick-links-item-col{min-width:180px}}@media (width<=1100px){.invoice-topbar.has-decree{display:block}.invoice-topbar.has-decree .invoice-tabs{width:100%}.invoice-decree-bar{width:max-content;min-width:0;margin-top:8px;margin-left:auto}}@media (width<=620px){.invoice-decree-bar{width:100%}.invoice-decree-label{text-overflow:ellipsis;flex:auto;min-width:0;overflow:hidden}.invoice-decree-value{flex-basis:210px;width:210px}}@media (height<=820px){.cash-action-menu-panel{max-height:260px;top:auto;bottom:calc(100% + 4px);overflow-y:auto}}.invoice-manager-panel{padding:0;overflow:hidden}.invoice-manager-toolbar{border-bottom:1px solid var(--border);grid-template-columns:minmax(280px,1fr) 150px 150px 180px auto;align-items:center;gap:8px;padding:12px;display:grid}.invoice-manager-toolbar>.date-picker-input,.invoice-manager-toolbar>select,.invoice-manager-toolbar>button{height:36px}.invoice-manager-search{border:1px solid var(--border);background:#fff;border-radius:6px;align-items:center;gap:7px;height:36px;padding:0 10px;display:flex}.invoice-manager-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px #255fdf1a}.invoice-manager-search input{min-width:0;height:auto;box-shadow:none;background:0 0;border:0;padding:0}.invoice-manager-search input:focus{outline:none}.invoice-action-notice,.invoice-procedure-hint{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;align-items:flex-start;gap:8px;margin:10px 12px;padding:9px 11px;font-size:13px;display:flex}.invoice-manager-table-wrap{width:100%;overflow:auto}.invoice-manager-table{border-collapse:collapse;min-width:1120px}.invoice-manager-table th,.invoice-manager-table td,.invoice-report-table th,.invoice-report-table td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle}.invoice-manager-table th:last-child,.invoice-manager-table td:last-child,.invoice-report-table th:last-child,.invoice-report-table td:last-child{border-right:0}.invoice-manager-table tfoot th{background:#f3f4f6}.invoice-manager-table .number-cell{text-align:right;font-variant-numeric:tabular-nums}.invoice-manager-table .empty-cell{text-align:center;padding:30px}.invoice-manager-pagination{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:7px 12px;display:flex}.invoice-manager-pagination>div,.invoice-manager-pagination label{align-items:center;gap:8px;display:flex}.invoice-manager-pagination select{width:72px;height:34px}.invoice-detail-modal{width:min(1040px,100vw - 40px);max-width:1040px}.invoice-detail-modal .voucher-modal-header>div{align-items:baseline;gap:10px;display:flex}.invoice-detail-summary{border:1px solid var(--border);background:var(--border);grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:16px;display:grid}.invoice-detail-summary>div{background:#fff;flex-direction:column;gap:5px;min-height:62px;padding:10px 12px;display:flex}.invoice-detail-summary span:first-child{color:var(--text);font-size:12px}.invoice-detail-modal .invoice-manager-table-wrap{padding:0 16px 16px}.invoice-procedure-modal{width:min(700px,100vw - 40px);max-width:700px}.invoice-procedure-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.invoice-procedure-grid label{flex-direction:column;gap:6px;font-size:12px;display:flex}.invoice-procedure-grid .span-2{grid-column:1/-1}.invoice-procedure-modal textarea{resize:vertical;background:#fff}.invoice-replacement-check{justify-content:flex-start}.invoice-replacement-check input[type=checkbox]{flex:none;width:15px!important}.invoice-connect-banner{align-items:center;gap:16px;min-height:96px;display:flex}.invoice-connect-banner>div{flex:1}.invoice-connect-banner h3{margin:0 0 6px}.invoice-connect-banner p{margin:0}.invoice-connect-icon{color:#245fdf;background:#eaf1ff;border-radius:14px;place-items:center;width:58px;height:58px;display:grid}.invoice-connect-banner button:disabled{opacity:.65}.invoice-setting-grid,.invoice-report-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0;display:grid}.invoice-setting-card{align-items:flex-start;gap:12px;display:flex}.invoice-setting-card.active{border-color:#245fdf;box-shadow:0 0 0 2px #245fdf1a}.invoice-setting-card p{margin:5px 0 8px}.invoice-requires-connection{color:#9a6700;font-size:12px}.invoice-capability-list{margin:0;padding-left:20px;line-height:1.9}.invoice-guide-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.invoice-guide-item{border:1px solid var(--border);background:#fff;border-radius:8px;gap:12px;padding:14px;display:flex}.invoice-guide-item>span{color:#fff;background:#245fdf;border-radius:50%;flex:0 0 28px;place-items:center;height:28px;font-weight:700;display:grid}.invoice-guide-item p{color:var(--text);margin:5px 0 0;line-height:1.55}.invoice-report-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.invoice-report-cards .panel{flex-direction:column;gap:8px;display:flex}.invoice-report-cards strong{font-variant-numeric:tabular-nums;font-size:22px}.invoice-report-table{border-collapse:collapse;width:100%}@media (width<=1200px){.invoice-manager-toolbar{grid-template-columns:minmax(240px,1fr) 145px 145px}.invoice-manager-toolbar>select{min-width:0}.invoice-setting-grid,.invoice-report-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.invoice-manager-toolbar,.invoice-detail-summary,.invoice-guide-list,.invoice-setting-grid,.invoice-report-cards,.invoice-procedure-grid{grid-template-columns:1fr}.invoice-procedure-grid .span-2{grid-column:auto}.invoice-connect-banner{flex-wrap:wrap;align-items:flex-start}}input,textarea,select{font:inherit;border:1px solid var(--border);background:var(--panel-bg-soft);color:var(--text-h);border-radius:6px;flex:1;padding:9px 12px}input::placeholder,textarea::placeholder{color:var(--text);opacity:.6}input:focus,textarea:focus,select:focus{border-color:var(--primary-border);outline:none}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}input[type=date]::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer;width:17px;height:17px}input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer;width:17px;height:17px}input[type=month]::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer;width:17px;height:17px}input[type=time]::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer;width:17px;height:17px}textarea{resize:vertical}.form-actions{gap:10px;display:flex}button{font:inherit;background:var(--primary-gradient);color:#fff;cursor:pointer;border:1px solid #0000;border-radius:6px;padding:9px 18px;font-weight:600}button:hover:not(:disabled){filter:brightness(.93)}button.secondary{color:var(--text-h);border-color:var(--border);background:0 0;font-weight:500}button.danger{color:var(--danger);border-color:var(--danger);background:0 0;font-weight:500}button[disabled]{opacity:.5;cursor:not-allowed}.list-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.list-header-actions{align-items:center;gap:6px;display:flex}.cash-voucher-toolbar .search-input{width:min(360px,100%);max-width:360px}.cash-action-menu{position:relative}.cash-action-menu>button{align-items:center;gap:5px;display:inline-flex}.cash-split-action{align-items:stretch;display:inline-flex}.cash-split-action .cash-split-main,.cash-split-action .cash-split-toggle{background:var(--primary-gradient);color:#fff;border-radius:0;min-height:34px;padding:6px 12px}.cash-split-action .cash-split-main{border-radius:6px 0 0 6px}.cash-split-action .cash-split-toggle{border-left-color:#ffffff57;border-radius:0 6px 6px 0;justify-content:center;width:32px;padding:6px}.cash-action-menu-panel{z-index:35;border:1px solid var(--border);background:var(--panel-bg);min-width:210px;box-shadow:var(--shadow);border-radius:8px;padding:5px;position:absolute;top:calc(100% + 4px);right:0}.cash-action-menu-panel button{width:100%;color:var(--text-h);text-align:left;background:0 0;border:0;padding:8px 10px;font-weight:500;display:block}.cash-action-menu-panel button:hover{background:var(--primary-soft);color:var(--primary)}.cash-action-menu-panel button svg{flex:none}.cash-utility-menu{position:relative}.cash-utility-menu-panel{min-width:285px}.cash-utility-menu-panel button{align-items:center;gap:8px;display:flex}.cash-voucher-table{table-layout:fixed;min-width:1320px;font-size:12px}.data-table.cash-voucher-table th,.data-table.cash-voucher-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:middle;border-right:1px solid var(--border);width:130px;height:34px;padding:6px 8px;line-height:1.28}.data-table.cash-voucher-table th:first-child{width:42px}.data-table.cash-voucher-table th:nth-child(2){width:100px}.data-table.cash-voucher-table th:nth-child(3){width:110px}.data-table.cash-voucher-table th:nth-child(4){width:220px}.data-table.cash-voucher-table th:nth-child(5){width:120px}.data-table.cash-voucher-table th:nth-child(6){width:220px}.data-table.cash-voucher-table th:last-child{width:96px}.cash-voucher-table thead th{background:var(--primary-soft);border-bottom-color:var(--primary-border)}.cash-voucher-table tbody tr{cursor:pointer}.cash-voucher-table tbody tr:hover,.cash-voucher-table tbody tr.cash-selected-row{background:var(--primary-soft)}.data-table .number-cell{text-align:right}.cash-view-link{color:var(--primary);background:0 0;border:0;padding:0;font-weight:600}.cash-empty-cell{text-align:center}.cash-voucher-table tfoot td,.cash-detail-table tfoot td{border-top:1px solid var(--border);background:var(--panel-bg-soft)}.cash-detail-panel{margin-top:14px}.cash-detail-panel .collapse-toggle{margin-bottom:12px}.cash-detail-table{min-width:920px}.selection-toolbar{border:1px solid var(--primary-border);background:var(--primary-soft);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;padding:9px 12px;display:flex}.selection-toolbar strong{color:var(--primary);margin-right:4px}.selection-toolbar button{padding:7px 11px}.money-import-modal{width:min(900px,100vw - 40px);max-width:900px}.money-import-picker{border:1px dashed var(--primary-border);background:var(--panel-bg-soft);border-radius:8px;padding:18px}.money-import-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.money-import-actions button{align-items:center;gap:6px;display:inline-flex}.money-import-actions input[type=file]{display:none}.money-import-errors{max-height:112px;color:var(--danger);background:#fff7f7;border:1px solid #fecaca;border-radius:6px;margin:8px 0 12px;padding:8px 10px;font-size:12px;overflow:auto}.money-import-table-wrap{max-height:360px}.money-import-table{min-width:780px;font-size:12px}.money-import-table th,.money-import-table td{border-right:1px solid var(--border);padding:7px 8px}.voucher-request-modal{width:min(1240px,100vw - 30px);max-width:1240px;height:min(78vh,760px)}.voucher-request-filterbar{border-bottom:1px solid var(--border);background:var(--panel-bg-soft);grid-template-columns:1fr 1fr 1fr 1fr 1fr auto;align-items:end;gap:10px;padding:12px 16px;display:grid}.voucher-request-filterbar label{min-width:0;color:var(--text-muted);gap:5px;font-size:12px;display:grid}.voucher-request-filterbar select,.voucher-request-filterbar input,.voucher-request-filterbar button,.voucher-request-filterbar .shared-date-picker{width:100%;min-height:34px}.voucher-request-filterbar>button{white-space:nowrap;width:auto;padding:7px 16px}.voucher-request-toolbar{border-bottom:1px solid var(--border);align-items:center;gap:14px;padding:10px 16px;display:flex}.voucher-request-toolbar>label:last-child{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.voucher-request-search{border:1px solid var(--border);background:#fff;border-radius:6px;align-items:center;gap:6px;width:min(300px,100%);min-height:34px;padding:0 9px;display:flex}.voucher-request-search input{background:0 0;border:0;outline:0;width:100%;min-width:0}.voucher-request-body{background:#fff;padding:0}.voucher-request-table{table-layout:fixed;min-width:1080px;font-size:12px}.voucher-request-table th,.voucher-request-table td{white-space:normal;overflow-wrap:anywhere;border-right:1px solid var(--border);height:36px;padding:6px 8px}.voucher-request-table thead th{background:var(--primary-soft);border-bottom-color:var(--primary-border)}@media (width<=1100px){.voucher-request-filterbar{grid-template-columns:repeat(3,minmax(0,1fr))}.cash-voucher-toolbar{align-items:flex-start}.cash-voucher-toolbar .list-header-actions{flex-wrap:wrap;justify-content:flex-end}}.data-table .selection-column{text-align:center;width:36px;min-width:36px}.data-table .selection-column input[type=checkbox]{width:14px;min-width:14px;height:14px;min-height:14px;accent-color:var(--primary);margin:0}.merge-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.merge-contact-card{border:1px solid var(--border);background:var(--panel-bg-soft);border-radius:8px;padding:14px}.merge-contact-card.is-kept{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary-border)}.merge-contact-card.is-removed{border-color:var(--danger)}.merge-contact-choice{justify-content:space-between;align-items:center;gap:8px;min-height:24px;margin-bottom:10px;display:flex}.merge-contact-choice label{align-items:center;gap:6px;font-weight:600;display:flex}.merge-contact-card dl,.merge-contact-card dd{margin:0}.merge-contact-card dl>div{border-bottom:1px solid var(--border);grid-template-columns:115px minmax(0,1fr);gap:8px;padding:6px 0;display:grid}.merge-contact-card dl>div:last-child{border-bottom:0}.merge-contact-card dt{color:var(--text);font-size:12px}.merge-contact-card dd{overflow-wrap:anywhere}.list-header h2{white-space:nowrap;margin:0}.collapse-toggle{color:var(--text-h);cursor:pointer;font:inherit;background:0 0;border:none;align-items:center;gap:8px;padding:0;display:flex}.collapse-toggle:hover h2{color:var(--primary)}.collapse-chevron{color:var(--text);transition:transform .18s;transform:rotate(-90deg)}.collapse-chevron.open{transform:rotate(0)}.row-menu{position:relative}.row-menu-btn{width:28px;height:28px;color:var(--text);background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.row-menu-btn:hover{background:var(--panel-bg-soft);border-color:var(--border);color:var(--text-h)}.row-menu-list{background:var(--panel-bg);border:1px solid var(--border);min-width:110px;box-shadow:var(--shadow);z-index:30;border-radius:10px;flex-direction:column;gap:2px;padding:6px;display:flex;position:absolute;top:calc(100% + 4px);left:0}.row-menu-list button{color:var(--text-h);text-align:left;background:0 0;border:none;border-radius:6px;padding:8px 10px;font-size:12.5px;font-weight:500}.row-menu-list button:hover{background:var(--panel-bg-soft)}.row-menu-list .danger-text{color:var(--danger)}.row-actions{white-space:nowrap;align-items:center;gap:2px;display:inline-flex;position:relative}.row-actions-label{color:#1570ef;background:0 0;border:none;padding:4px 2px;font-size:13px;font-weight:600}.row-actions-label:hover{text-decoration:underline}.row-actions-label:disabled{color:var(--text);cursor:not-allowed}.row-actions-label:disabled:hover{text-decoration:none}.row-actions-caret{color:#1570ef;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;width:22px;height:22px;padding:0;display:inline-flex}.row-actions-caret:hover{background:var(--panel-bg-soft);border-color:var(--border)}.row-actions-list{min-width:160px}.row-actions-list button{align-items:center;gap:8px;display:flex}.row-actions-portal{position:fixed;top:0;left:auto;right:0}.toolbar-popover{display:inline-flex;position:relative}.toolbar-popover-badge{background:var(--primary);color:#fff;text-align:center;border-radius:999px;min-width:14px;height:14px;padding:0 3px;font-size:9px;font-weight:700;line-height:14px;position:absolute;top:-2px;right:-2px}.toolbar-popover-panel{background:var(--panel-bg);border:1px solid var(--border);min-width:240px;box-shadow:var(--shadow);z-index:30;border-radius:10px;padding:12px;position:absolute;top:calc(100% + 4px);right:0}.toolbar-popover-panel h4{margin:0 0 8px;font-size:12.5px}.toolbar-popover-list{flex-direction:column;gap:6px;max-height:260px;display:flex;overflow-y:auto}.toolbar-popover-list label{text-align:left;grid-template-columns:16px 1fr;align-items:center;gap:8px;font-size:12.5px;font-weight:500;display:grid}.toolbar-popover-list label input{justify-self:start;margin:0}.toolbar-popover-row{flex-direction:column;gap:4px;margin-bottom:10px;display:flex}.toolbar-popover-row label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.02em;font-size:11.5px;font-weight:600}.toolbar-popover-actions{justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.pagination{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;margin-top:16px;padding-top:14px;display:flex}.pagination-arrow,.pagination-page{min-width:32px;height:32px;color:var(--text-h);background:var(--panel-bg);border:1px solid var(--border);border-radius:8px;justify-content:center;align-items:center;padding:0 8px;font-size:13px;font-weight:500;transition:background .14s,border-color .14s,color .14s;display:inline-flex}.pagination-arrow{font-size:16px;line-height:1}.pagination-arrow:not(:disabled):hover,.pagination-page:not(.active):hover{border-color:var(--primary-border);color:var(--primary);background:var(--primary-soft)}.pagination-arrow:disabled{opacity:.4;cursor:not-allowed}.pagination-page.active{color:#fff;background:var(--primary);border-color:var(--primary);cursor:default}.pagination-gap{text-align:center;min-width:26px;color:var(--text);letter-spacing:1px;-webkit-user-select:none;user-select:none}.pagination-size{height:32px;color:var(--text-h);background:var(--panel-bg);border:1px solid var(--border);cursor:pointer;border-radius:8px;margin-left:10px;padding:0 8px;font-size:12.5px}.pagination-size:hover{border-color:var(--primary-border)}@media (width<=600px){.pagination-size{flex-basis:100%;order:-1;margin-bottom:6px;margin-left:0}}.report-page-heading{align-items:center;gap:13px;margin-bottom:16px;display:flex}.report-page-heading>.icon-btn{width:38px;height:38px;color:var(--text-h);background:#fff;border-radius:10px;box-shadow:0 4px 12px #0f172a0d}.report-page-heading>div{flex-direction:column;display:flex}.report-page-heading span{color:var(--primary);letter-spacing:.11em;font-size:9px;font-weight:750}.report-page-heading h2{margin:1px 0 0;font-size:22px;line-height:1.2}.report-page-heading p{color:var(--text);margin-top:2px;font-size:11px}.report-shell-panel{border-radius:14px;padding:0;overflow:hidden}.report-shell-panel>.report-filter-bar,.report-shell-panel>.report-summary-strip,.report-shell-panel>.report-info-note,.report-shell-panel>.error-banner,.report-shell-panel>.data-table-wrap,.report-shell-panel>div:last-child{margin-left:20px;margin-right:20px}.report-filter-bar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-end;gap:20px;padding:18px 0 15px;display:flex}.report-date-group{align-items:flex-end;gap:10px;display:flex}.report-date-group label{flex-direction:column;gap:5px;min-width:170px;display:flex}.report-date-group label>span{color:var(--text);align-items:center;gap:5px;font-size:10px;font-weight:650;display:inline-flex}.report-date-group label>span .icon{color:var(--primary)}.report-date-group input{color:var(--text-h);border:1px solid var(--border);background:#f8fafc;border-radius:9px;padding:9px 10px;font-weight:600}.report-date-arrow{color:#94a3b8;place-items:center;width:30px;height:36px;display:grid}.report-summary-strip{background:linear-gradient(100deg,#f8fbff,#f4f7fc);border:1px solid #e7edf6;border-radius:11px;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px;display:grid;overflow:hidden}.report-summary-strip>div{flex-direction:column;padding:12px 15px;display:flex}.report-summary-strip>div+div{border-left:1px solid #e4eaf3}.report-summary-strip span{color:var(--text);text-transform:uppercase;font-size:9px}.report-summary-strip strong{color:var(--text-h);margin-top:2px;font-size:17px}.report-info-note{color:#5f6e84;background:#f7f9fc;border-radius:8px;align-items:flex-start;gap:8px;margin-top:12px;margin-bottom:14px;padding:9px 11px;display:flex}.report-info-note .icon{color:var(--primary)}.report-info-note p{font-size:10px;line-height:1.5}.report-shell-panel .data-table-wrap{border:1px solid var(--border);border-radius:10px}.report-shell-panel .data-table thead th{background:#f4f7fb}.report-shell-panel .data-table tbody tr:nth-child(2n){background:#fbfcfe}.report-shell-panel .pagination{margin-bottom:18px;margin-left:20px;margin-right:20px}.report-empty-state{color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:220px;display:flex}.report-empty-state strong{color:var(--text-h)}.report-empty-state span{font-size:11px}@media (width<=720px){.report-filter-bar{flex-direction:column;align-items:stretch}.report-date-group{align-items:stretch}.report-date-group label{flex:1;min-width:0}.report-date-arrow{align-self:flex-end}.report-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.report-summary-strip>div:nth-child(3){border-top:1px solid #e4eaf3;border-left:0}.report-summary-strip>div:nth-child(4){border-top:1px solid #e4eaf3}}.search-input{max-width:260px}.muted{color:var(--text)}.contact-list{flex-direction:column;gap:10px;display:flex}.contact-card{border:1px solid var(--border);border-left:3px solid var(--primary-border);background:var(--panel-bg-soft);border-radius:6px;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.contact-details{color:var(--text);gap:12px;margin-top:4px;font-size:13px;display:flex}.notes{color:var(--text);margin:6px 0 0;font-size:13px}.contact-actions{flex-shrink:0;gap:8px;display:flex}.doc-list{flex-direction:column;gap:10px;display:flex}.doc-item{border:1px solid var(--border);border-left:3px solid var(--primary-border);background:var(--panel-bg-soft);border-radius:6px;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.doc-icon{background:var(--primary-soft);width:30px;height:30px;color:var(--primary);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.doc-main{flex:1;min-width:0}.doc-main strong{color:var(--text-h);display:block}.doc-main p{margin-top:2px;font-size:13px}.doc-meta{color:var(--text);gap:12px;margin-top:4px;font-size:12px;display:flex}.doc-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.doc-download{width:auto;padding:8px 14px;font-size:13px}.content-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;margin-top:14px;display:grid}.content-card{border:1px solid var(--border);border-left:3px solid var(--primary-border);background:var(--panel-bg-soft);border-radius:8px;flex-direction:column;gap:8px;padding:14px;display:flex}.content-card-header{justify-content:space-between;align-items:center;display:flex}.content-card strong{color:var(--text-h);font-size:14px}.content-body{color:var(--text);white-space:pre-wrap;margin:0;font-size:13px}.content-author{margin-top:auto;font-size:11px}.video-embed{background:var(--bg);border-radius:8px;width:100%;max-width:325px;height:745px;overflow:hidden}.video-embed iframe{border:none;width:100%;height:100%;display:block}.dashboard-row-3{grid-template-columns:1.6fr 1fr 1fr;align-items:stretch;gap:14px;margin-bottom:18px;display:grid}.dashboard-row-3-equal{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px;display:grid}.dashboard-row-2{grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:18px;display:grid}.flow-row{grid-template-columns:2fr 1fr;align-items:start;gap:14px;margin-bottom:18px;display:grid}.flow-row>.panel{box-sizing:border-box;flex-direction:column;height:420px;display:flex;overflow:hidden}.flow-row>.panel:first-child{overflow:auto}.flow-row>.panel:last-child .report-list{flex:auto;min-height:0;overflow-y:auto}.flow-row>.panel:last-child .all-reports-link{flex-shrink:0;align-self:center;margin-top:auto}@media (width<=900px){.flow-row>.panel{height:auto;overflow:visible}.flow-row>.panel:first-child{overflow-x:auto}}.report-hub{min-height:calc(100vh - 130px);color:var(--text-h);margin:-4px -2px 0}.pagination-size-field{color:var(--text);white-space:nowrap;align-items:center;gap:8px;margin-left:10px;font-size:12.5px;display:inline-flex}.pagination-size-field .pagination-size{margin-left:0}.sticky-horizontal-scrollbar{z-index:2;box-sizing:border-box;border:1px solid var(--border);background:var(--panel-bg-soft);scrollbar-color:#8b949e #e7e9ed;scrollbar-width:auto;border-top:0;flex:0 0 15px;width:100%;height:15px;display:none;position:relative;overflow:auto hidden}.sticky-horizontal-scrollbar.is-visible{display:block}.sticky-horizontal-scrollbar>div{height:1px}.has-external-horizontal-scrollbar{overflow-x:hidden!important}.customer-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 8px}.customer-kpi-row .kpi-card{min-height:48px;box-shadow:none;border-radius:6px;gap:1px;padding:7px 12px}.customer-kpi-row .kpi-label{letter-spacing:0;font-size:11px}.customer-kpi-row .kpi-value{font-size:16px;line-height:1.2}.customer-kpi-row .kpi-icon{width:24px;height:24px}.customer-kpi-row .kpi-card--live{border-left:3px solid var(--primary);grid-template-rows:auto auto;grid-template-columns:34px minmax(0,1fr) auto;gap:1px 8px;min-height:58px;padding:6px 12px 6px 7px;display:grid;position:relative}.customer-kpi-row .kpi-card--live .kpi-card-top{display:contents}.customer-kpi-row .kpi-card--live .kpi-icon{border-radius:6px;grid-area:1/1/3;align-self:center;width:32px;height:32px}.customer-kpi-row .kpi-card--live .kpi-label{white-space:nowrap;text-overflow:ellipsis;grid-area:1/2/auto/4;align-self:end;min-height:0}.customer-kpi-row .kpi-card--live .kpi-value{grid-area:2/2;align-self:start}.customer-kpi-row .kpi-live-time{color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.72;grid-area:2/3;align-self:center;align-items:center;gap:3px;font-size:11px;display:inline-flex}.customer-kpi-row .kpi-card--live-down{border-left-color:var(--danger)}.customer-kpi-row .kpi-card--live-down .kpi-icon{color:var(--danger);background:color-mix(in srgb, var(--danger) 10%, white)}.customer-kpi-row .kpi-card--live-up{border-left-color:var(--green)}.customer-kpi-row .kpi-card--live-up .kpi-icon{color:var(--green);background:color-mix(in srgb, var(--green) 10%, white)}.customer-directory-panel{padding:8px 10px 0}.customer-list-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:7px}.customer-list-search{box-sizing:border-box;border:1px solid var(--border);min-width:190px;height:30px;color:var(--muted);background:#fff;border-radius:5px;flex:0 300px;align-items:center;gap:7px;padding:0 9px;display:flex}.customer-list-search input{min-width:0;height:28px;box-shadow:none;background:0 0;border:0;padding:3px 0;font-size:12px}.customer-list-toolbar .list-header-actions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;gap:4px;margin-left:auto}.customer-list-toolbar .list-header-actions>.icon-btn,.customer-more-actions>.icon-btn{place-items:center;width:28px;min-width:28px;height:28px;padding:4px;display:inline-grid}.customer-address-button{white-space:nowrap;align-items:center;gap:5px;height:30px;padding:4px 10px;font-size:12px;display:inline-flex}.customer-add-split>button{height:30px}.customer-more-actions{position:relative}.customer-more-actions .purchase-action-add-menu{top:calc(100% + 4px)}.customer-directory-table-wrap{border:1px solid var(--border);background:#fff;min-height:260px;max-height:calc(100vh - 315px)}.customer-directory-table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:1385px}.customer-directory-table th,.customer-directory-table td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;padding:6px 8px;font-size:12px;line-height:1.35}.customer-directory-table th:last-child,.customer-directory-table td:last-child{border-right:0}.customer-directory-table thead th{z-index:5;min-height:44px;color:var(--text-h);border-bottom-color:var(--primary-border);white-space:normal;background:#eaf1ff;position:sticky;top:0;box-shadow:inset 0 -1px #b8ccf4}.customer-directory-table .sortable-th-inner{white-space:normal;min-height:32px;padding:5px 8px}.customer-directory-table .sortable-th-label{white-space:normal;overflow-wrap:anywhere;flex:auto;min-width:0}.customer-directory-table tbody td{background:#fff}.customer-directory-table tbody tr:hover td{background:#f3f7ff}.customer-directory-table .is-pinned{z-index:7;background:#fff}.customer-directory-table thead .is-pinned{z-index:9;background:#eaf1ff}.customer-directory-table td:not(.customer-wrap-cell):not(.customer-internal-cell){white-space:nowrap}.customer-wrap-cell{overflow-wrap:anywhere;white-space:normal!important}.customer-internal-cell{text-align:center;color:var(--green)}.customer-directory-table .customer-action-column{text-align:center;white-space:nowrap;width:180px;min-width:180px;max-width:180px}.customer-list-footer{justify-content:space-between;align-items:center;gap:12px;min-height:42px;font-size:12px;display:flex}.customer-list-footer .pagination{justify-content:flex-end;margin:0}.employee-page-title{align-items:center;gap:10px;margin-bottom:10px;display:flex}.employee-page-title h2{margin:0;font-size:20px}.employee-info-banner{border:1px solid var(--primary-border);background:var(--primary-soft);color:var(--primary);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:10px;margin-bottom:10px;padding:9px 12px;display:grid}.employee-info-banner>div{flex-direction:column;gap:2px;min-width:0;display:flex}.employee-info-banner strong{font-size:12.5px}.employee-info-banner span{color:var(--text);font-size:11.5px;line-height:1.35}.employee-info-banner button{white-space:nowrap;min-height:30px;padding:5px 10px}.employee-info-banner .icon-btn{width:28px;min-width:28px;padding:0}.employee-directory-panel{padding:8px 10px 0}.employee-list-toolbar{flex-wrap:wrap;gap:10px;margin:0 0 7px}.employee-list-toolbar .list-header-actions{margin-left:auto}.employee-list-toolbar .list-header-actions>button:not(.icon-btn){height:30px;padding:4px 13px;font-size:12px}.employee-directory-panel .data-table-wrap{border:1px solid var(--border);background:#fff;min-height:280px;max-height:calc(100vh - 305px)}.employee-directory-panel .data-table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:1420px}.employee-directory-panel .data-table th,.employee-directory-panel .data-table td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;padding:6px 8px;font-size:12px;line-height:1.35}.employee-directory-panel .data-table th:last-child,.employee-directory-panel .data-table td:last-child{border-right:0}.employee-directory-panel .data-table thead th{z-index:5;height:42px;color:var(--text-h);border-bottom-color:var(--primary-border);white-space:normal;background:#eaf1ff;position:sticky;top:0;box-shadow:inset 0 -1px #b8ccf4}.employee-directory-panel .data-table tbody td{background:#fff}.employee-directory-panel .data-table tbody tr:hover td{background:#f3f7ff}.employee-directory-panel .data-table th:first-child,.employee-directory-panel .data-table td:first-child{text-align:center;width:42px}.employee-directory-panel .data-table th:last-child,.employee-directory-panel .data-table td:last-child{text-align:center;white-space:nowrap;width:170px}.employee-directory-panel .pagination{justify-content:flex-end;min-height:42px;margin:0}.employee-user-pending{color:var(--danger)}.employee-user-linked{color:var(--primary)}.employee-empty{place-items:center;min-height:220px;display:grid}.contact-group-page-title{align-items:center;gap:10px;margin-bottom:10px;display:flex}.contact-group-page-title h2{margin:0;font-size:20px}.contact-group-panel{padding:8px 10px 0}.contact-group-toolbar{align-items:center;gap:10px;min-height:38px;margin-bottom:7px;display:flex}.contact-group-search{border:1px solid var(--border);background:#fff;border-radius:5px;align-items:center;gap:7px;width:min(360px,45vw);height:30px;padding:0 9px;display:flex}.contact-group-search input{background:0 0;border:0;outline:0;flex:1;min-width:0;height:27px;padding:0;font-size:12px}.contact-group-toolbar-actions{align-items:center;gap:5px;margin-left:auto;display:flex}.contact-group-expand{min-width:68px;color:var(--primary);padding:4px 6px;font-size:12px}.contact-group-add-split>button{height:30px}.contact-group-table-wrap{border:1px solid var(--border);background:#fff;min-height:250px;max-height:calc(100vh - 245px);overflow:auto}.contact-group-table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:980px}.contact-group-table th,.contact-group-table td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;padding:7px 10px;font-size:12px;line-height:1.35}.contact-group-table th:last-child,.contact-group-table td:last-child{border-right:0}.contact-group-table thead th{z-index:3;height:38px;color:var(--text-h);border-bottom-color:var(--primary-border);white-space:normal;background:#eaf1ff;position:sticky;top:0}.contact-group-table th:first-child{width:220px}.contact-group-table th:nth-child(2){width:320px}.contact-group-table th:nth-child(4){width:155px}.contact-group-table th:nth-child(5){text-align:center;width:150px}.contact-group-table td:nth-child(5){text-align:center;white-space:nowrap}.contact-group-table tbody tr:hover td{background:#f3f7ff}.contact-group-tree-cell{align-items:center;gap:5px;min-width:0;display:flex}.contact-group-tree-spacer{flex:0 0 20px;width:20px;display:inline-block}.contact-group-footer{justify-content:space-between;align-items:center;min-height:44px;padding:2px 4px;font-size:12px;display:flex}.contact-group-footer .pagination{margin:0}.contact-group-empty{place-items:center;min-height:250px;display:grid}.voucher-modal.contact-group-modal{width:min(620px,100vw - 32px);max-width:620px}.contact-group-modal .voucher-modal-body{background:var(--panel-bg-soft);padding:14px 20px}.contact-group-form-grid{grid-template-columns:175px minmax(0,1fr);gap:10px 12px;display:grid}.contact-group-form-grid label{min-width:0;color:var(--text);flex-direction:column;gap:4px;font-size:11.5px;display:flex}.contact-group-form-grid .wide{grid-column:1/-1}.contact-group-form-grid input,.contact-group-form-grid select,.contact-group-form-grid textarea{box-sizing:border-box;border:1px solid var(--border);background:#fff;border-radius:5px;width:100%;min-width:0;height:32px;padding:5px 9px}.contact-group-form-grid textarea{resize:vertical;min-height:58px}.contact-group-active{align-items:center;width:max-content;flex-direction:row!important;gap:7px!important}.contact-group-active input{flex:none;width:15px;height:15px}.item-group-panel{padding:0;overflow:visible}.item-group-panel .contact-group-toolbar{min-height:44px;margin:0;padding:5px 10px}.item-group-panel .contact-group-search{width:min(390px,42vw)}.item-group-table-wrap{border-left:0;border-right:0;min-height:280px;max-height:calc(100vh - 235px)}.item-group-table{table-layout:fixed;min-width:760px}.item-group-table col:first-child{width:29%}.item-group-table col:nth-child(2){width:auto}.item-group-table col:nth-child(3){width:145px}.item-group-table col:nth-child(4){width:120px}table.data-table.item-group-table th,table.data-table.item-group-table td{box-sizing:border-box;height:32px;padding:4px 9px;font-size:12px;line-height:1.3}table.data-table.item-group-table thead th{height:34px;color:var(--text-h);white-space:normal;background:#eaf1ff;font-size:10.5px}.item-group-table th:nth-child(3),.item-group-table td:nth-child(3),.item-group-table th:nth-child(4),.item-group-table td:nth-child(4){text-align:center;white-space:nowrap}.item-group-table th:last-child,.item-group-table td:last-child{z-index:2;box-shadow:-1px 0 var(--border);background:#fff;position:sticky;right:0}.item-group-table thead th:last-child{z-index:4;background:#eaf1ff}.item-group-parent-row td{background:#f2f6ff;font-weight:600}.item-group-parent-row td:last-child{background:#f2f6ff}.item-group-table tbody tr:hover td,.item-group-table tbody tr:hover td:last-child{background:#edf3ff}.item-group-notice{border-color:var(--primary-border);color:var(--primary);background:#edf3ff;justify-content:space-between;align-items:center;margin:0 10px 6px;display:flex}.item-group-notice button{color:inherit;background:0 0;border:0;font-size:18px}.item-group-panel .contact-group-footer{min-height:38px;padding:0 10px}.voucher-modal.item-group-modal{width:min(560px,100vw - 32px);max-width:560px}.item-group-modal .voucher-modal-body{background:var(--panel-bg-soft);padding:15px 20px 18px}.item-group-form-grid{grid-template-columns:155px minmax(0,1fr);gap:11px 12px;display:grid}.item-group-form-grid label{min-width:0;color:var(--text);flex-direction:column;gap:5px;font-size:12px;display:flex}.item-group-form-grid label>span{color:var(--danger)}.item-group-form-grid .wide{grid-column:1/-1}.item-group-form-grid input,.item-group-form-grid select{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:32px;color:var(--text-h);background:#fff;border-radius:5px;padding:4px 9px}.item-group-form-grid input:focus,.item-group-form-grid select:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb1f}.item-group-form-grid input:disabled{color:var(--muted);background:#eef1f5}.item-group-active{grid-column:1/-1;align-items:center;width:max-content;flex-direction:row!important;gap:7px!important}.item-group-active input{flex:none;width:15px;height:15px;margin:0}@media (width<=680px){.item-group-panel .contact-group-toolbar{flex-direction:column;align-items:stretch}.item-group-panel .contact-group-search{width:100%}.item-group-panel .contact-group-toolbar-actions{justify-content:flex-end;margin-left:0}.item-group-form-grid{grid-template-columns:1fr}.item-group-form-grid .wide{grid-column:auto}}.unit-directory-panel,.org-unit-panel{padding:0;overflow:visible}.org-unit-toolbar{min-height:44px;margin:0;padding:5px 10px}.org-unit-toolbar .contact-group-search{width:min(340px,38vw)}.org-unit-notice{border-color:var(--primary-border);color:var(--primary);background:#edf3ff;justify-content:space-between;align-items:center;margin:0 10px 6px;display:flex}.org-unit-notice button{color:inherit;background:0 0;border:0;padding:0 4px;font-size:18px}.org-unit-selection{border-top:1px solid var(--primary-border);color:#344054;background:#edf3ff;align-items:center;gap:5px;min-height:32px;padding:4px 12px;font-size:12px;display:flex}.org-unit-selection .link-button{color:var(--primary);margin-left:8px}.org-unit-table-wrap{border-left:0;border-right:0;min-height:300px;max-height:calc(100vh - 235px)}.org-unit-table{table-layout:fixed;min-width:1180px}.org-unit-table col:first-child{width:42px}.org-unit-table col:nth-child(2){width:185px}.org-unit-table col:nth-child(3){width:245px}.org-unit-table col:nth-child(4){width:220px}.org-unit-table col:nth-child(5){width:auto}.org-unit-table col:nth-child(6){width:170px}.org-unit-table col:nth-child(7){width:135px}.org-unit-table col:nth-child(8){width:145px}table.data-table.org-unit-table th,table.data-table.org-unit-table td{box-sizing:border-box;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;height:32px;padding:4px 8px;font-size:12px;line-height:1.3}table.data-table.org-unit-table thead th{z-index:4;height:34px;color:var(--text-h);white-space:normal;background:#eaf1ff;font-size:10.5px;position:sticky;top:0}.org-unit-table th:first-child,.org-unit-table td:first-child{z-index:5;text-align:center;background:#fff;position:sticky;left:0}.org-unit-table thead th:first-child{z-index:7;background:#eaf1ff}.org-unit-table th:last-child,.org-unit-table td:last-child{z-index:5;box-shadow:-1px 0 var(--border);text-align:center;white-space:nowrap;background:#fff;border-right:0;position:sticky;right:0}.org-unit-table thead th:last-child{z-index:7;background:#eaf1ff}.org-unit-table tbody tr:hover td,.org-unit-table tbody tr:hover td:first-child,.org-unit-table tbody tr:hover td:last-child{background:#f3f7ff}.org-unit-table tbody tr.selected td,.org-unit-table tbody tr.selected td:first-child,.org-unit-table tbody tr.selected td:last-child{background:#edf3ff}.org-unit-table input[type=checkbox]{width:14px;height:14px;accent-color:var(--primary);margin:0}.org-unit-parent-name{font-weight:600}.org-unit-wrap-cell{white-space:normal;overflow-wrap:anywhere}.org-unit-panel .contact-group-footer{min-height:39px;padding:0 10px}.org-unit-drawer{background:#fff;grid-template-rows:auto minmax(0,1fr) auto;width:min(800px,100vw - 28px);height:100%;display:grid;box-shadow:-10px 0 28px #0f172a2e}.org-unit-drawer>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:54px;padding:0 18px;display:flex}.org-unit-drawer>header h2{margin:0;font-size:18px}.org-unit-drawer>header>div{gap:4px;display:flex}.org-unit-drawer-body{background:#f3f5f8;padding:18px 20px;overflow:auto}.org-unit-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px 14px;display:grid}.org-unit-form-grid label{color:#566276;flex-direction:column;gap:5px;min-width:0;font-size:12px;display:flex}.org-unit-field-label{color:#566276;align-items:center;gap:3px;display:inline-flex}.org-unit-field-label b{color:var(--danger);font-weight:500}.org-unit-form-grid .wide{grid-column:1/-1}.org-unit-form-grid input,.org-unit-form-grid select{box-sizing:border-box;color:#202938;width:100%;min-width:0;height:40px;min-height:40px;font:inherit;background:#fff;border:1px solid #cfd7e5;border-radius:4px;flex:0 0 40px;margin:0;padding:0 11px;display:block}.org-unit-form-grid input:focus,.org-unit-form-grid select:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb1f}.org-unit-form-grid input:disabled{color:#667085;background:#eef1f5}.org-unit-accounting-types{align-items:center;gap:28px;margin:18px 0 12px;display:flex}.org-unit-accounting-types label,.org-unit-tax-check{color:#344054;align-items:center;gap:7px;font-size:12px;display:inline-flex}.org-unit-accounting-types input,.org-unit-tax-check input{width:15px;height:15px;accent-color:var(--primary);flex:none;margin:0}.org-unit-tax-check{width:max-content;margin-top:10px;display:flex}.org-unit-drawer>footer{border-top:1px solid var(--border);background:#fff;justify-content:flex-end;align-items:center;gap:8px;min-height:54px;padding:0 18px;display:flex}.org-unit-drawer>footer button{min-width:72px}.org-unit-usage-modal{width:min(600px,100vw - 32px)}.org-unit-usage-grid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.org-unit-usage-grid>div{border:1px solid var(--primary-border);background:#edf3ff;border-radius:6px;gap:5px;padding:14px;display:grid}.org-unit-usage-grid strong{color:var(--primary);font-size:22px}.org-unit-usage-grid span{color:#566276;font-size:12px}@media (width<=760px){.org-unit-toolbar{flex-direction:column;align-items:stretch}.org-unit-toolbar .contact-group-search{width:100%}.org-unit-toolbar .contact-group-toolbar-actions{justify-content:flex-end;margin-left:0}.org-unit-form-grid{grid-template-columns:1fr}.org-unit-form-grid .wide{grid-column:auto}.org-unit-usage-grid{grid-template-columns:1fr 1fr}}.account-directory-panel{padding:0;overflow:visible}.account-directory-toolbar{min-height:44px;margin:0;padding:5px 10px}.account-directory-toolbar .contact-group-search{width:min(330px,34vw)}.account-add-split>button{height:30px;min-height:30px;padding:0 11px;font-size:12px}.account-add-split>button:first-child{min-width:54px}.account-add-split>.purchase-action-add-toggle{width:31px;min-width:31px;padding:0}.account-add-menu{min-width:126px;left:auto;right:0}.account-add-menu button{white-space:nowrap;justify-content:flex-start}.account-directory-table-wrap{border-block:1px solid var(--border);background:#fff;min-height:320px;max-height:calc(100vh - 235px);overflow:auto}.account-directory-table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:1120px}.account-directory-table col:first-child{width:155px}.account-directory-table col:nth-child(2){width:285px}.account-directory-table col:nth-child(3){width:135px}.account-directory-table col:nth-child(4){width:210px}.account-directory-table col:nth-child(5){width:auto}.account-directory-table col:nth-child(6){width:135px}.account-directory-table col:nth-child(7){width:125px}table.data-table.account-directory-table th,table.data-table.account-directory-table td{box-sizing:border-box;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;height:33px;padding:4px 10px;font-size:12px;line-height:1.25}table.data-table.account-directory-table td:nth-child(2),table.data-table.account-directory-table td:nth-child(4),table.data-table.account-directory-table td:nth-child(5){white-space:normal;overflow-wrap:anywhere;word-break:break-word;height:auto}table.data-table.account-directory-table td:first-child,table.data-table.account-directory-table td:nth-child(3),table.data-table.account-directory-table td:nth-child(6),table.data-table.account-directory-table td:nth-child(7){white-space:nowrap}table.data-table.account-directory-table td{white-space:normal;overflow-wrap:anywhere;word-break:break-word}table.data-table.account-directory-table td.account-column-code,table.data-table.account-directory-table td.account-column-nature,table.data-table.account-directory-table td.account-column-foreign_currency,table.data-table.account-directory-table td.account-column-status,table.data-table.account-directory-table td:last-child{white-space:nowrap}table.data-table.account-directory-table thead th{z-index:3;height:34px;color:var(--text-h);border-bottom-color:var(--primary-border);white-space:normal;background:#eaf1ff;font-size:10.5px;position:sticky;top:0}.account-directory-table th:last-child,.account-directory-table td:last-child{z-index:2;text-align:center;box-shadow:-1px 0 var(--border);background:#fff;border-right:0;position:sticky;right:0}.account-directory-table thead th:last-child{z-index:4;background:#eaf1ff}.account-directory-table tbody tr:hover td,.account-directory-table tbody tr:hover td:last-child{background:#edf3ff}.account-directory-table .account-inactive-row td{color:var(--muted)}.account-tree-cell{align-items:center;gap:5px;min-width:0;display:flex}.account-parent{color:var(--text-h);font-weight:700}.account-directory-footer{min-height:38px;color:var(--muted);justify-content:space-between;align-items:center;padding:0 12px;font-size:12px;display:flex}.account-column-settings-overlay{justify-content:flex-end;padding:0}.account-column-settings-drawer{box-sizing:border-box;background:#fff;flex-direction:column;width:min(710px,96vw);max-width:100%;height:100dvh;min-height:0;display:flex;overflow:hidden;box-shadow:-8px 0 28px #0f172a2e}.account-column-settings-drawer>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:52px;padding:0 18px;display:flex}.account-column-settings-drawer>header h2{color:var(--text-h);margin:0;font-size:20px}.account-column-settings-drawer>header>div{align-items:center;gap:7px;display:flex}.account-column-settings-tools{justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 18px;display:flex}.account-column-settings-tools>label{border:1px solid var(--border);width:180px;height:30px;color:var(--muted);background:#fff;border-radius:5px;align-items:center;gap:6px;padding:0 8px;display:flex}.account-column-settings-tools input{background:0 0;border:0;outline:0;flex:1;width:0;min-width:0;height:28px;padding:0;font-size:12px}.account-column-settings-tools .link-button{flex:none;padding:0;font-size:12px}.account-column-settings-table{border:1px solid var(--border);border-bottom:0;margin:0 18px;overflow:hidden}.account-column-settings-head,.account-column-settings-row{grid-template-columns:28px 26px minmax(0,1fr);align-items:center;min-height:30px;display:grid}.account-column-settings-table.is-advanced .account-column-settings-head,.account-column-settings-table.is-advanced .account-column-settings-row{grid-template-columns:28px 26px 145px minmax(130px,1fr) 90px}.account-column-settings-head{border-bottom:1px solid var(--primary-border);color:var(--text-h);background:#eaf1ff;font-size:12px}.account-column-settings-head>*,.account-column-settings-row>*{min-width:0;margin:0}.account-column-settings-list{max-height:calc(100dvh - 235px);overflow:auto}.account-column-settings-row{border-bottom:1px solid var(--border);cursor:grab;background:#fff;font-size:12px}.account-column-settings-row:nth-child(2n){background:#f8faff}.account-column-settings-row:hover{background:var(--primary-soft)}.account-column-settings-row:active{cursor:grabbing}.account-column-drag{color:var(--muted);text-align:center;font-size:17px}.account-column-settings-head input[type=checkbox],.account-column-settings-row input[type=checkbox],.account-column-settings-more input[type=checkbox]{width:14px;height:14px;accent-color:var(--primary);margin:0}.account-column-settings-row>input:not([type=checkbox]){box-sizing:border-box;border:1px solid var(--border);background:#fff;border-radius:4px;width:calc(100% - 8px);height:25px;margin:2px 4px;padding:0 6px;font-size:11px}.account-column-settings-list>p{color:var(--muted);text-align:center;margin:0;padding:16px;font-size:12px}.account-column-settings-more{align-items:center;gap:20px;padding:8px 18px;font-size:12px;display:flex}.account-column-settings-more .link-button{padding:0;font-size:12px}.account-column-settings-more label{align-items:center;gap:7px;display:inline-flex}.account-column-settings-drawer>footer{z-index:3;box-sizing:border-box;border-top:1px solid var(--border);background:#fff;flex-wrap:nowrap;flex:0 0 52px;justify-content:flex-end;align-items:center;gap:8px;width:100%;min-width:0;min-height:52px;margin-top:auto;padding:8px 24px 8px 18px;display:flex;position:relative}.account-column-settings-drawer>footer button{white-space:nowrap;flex:none;min-width:72px;height:32px}@media (width<=520px){.account-column-settings-drawer>footer{gap:6px;padding-left:12px;padding-right:12px}.account-column-settings-drawer>footer button{min-width:62px;padding-inline:10px}}.account-directory-notice{border-color:var(--primary-border);color:var(--primary);background:#edf3ff;justify-content:space-between;align-items:center;margin:0 10px 6px;display:flex}.account-directory-notice button{color:inherit;background:0 0;border:0;font-size:18px}.account-modal-overlay{justify-content:flex-end;align-items:stretch;padding:0!important}.voucher-modal.account-modal{border-radius:0;align-self:stretch;width:min(720px,100vw);max-width:720px;height:100dvh;max-height:100dvh;margin:0;box-shadow:-8px 0 28px #0f172a2e}.account-modal .voucher-modal-header{min-height:52px;padding:0 20px}.account-modal .voucher-modal-header h2{margin:0;font-size:20px}.account-modal-header-tools{align-items:center;gap:5px;display:flex}.account-help-btn{border:1px solid var(--muted);width:25px;height:25px;color:var(--muted);background:#fff;border-radius:50%;place-items:center;padding:0;font-weight:700;display:grid}.account-help-btn:hover{border-color:var(--primary);color:var(--primary);background:#edf3ff}.account-form-body{background:var(--panel-bg-soft);flex:1;max-height:none;padding:12px 16px 10px;overflow:auto}.account-form-grid{grid-template-columns:220px minmax(0,1fr);gap:9px 14px;display:grid}.account-form-grid label,.account-english-name,.account-transfer-grid label{flex-direction:column;gap:5px;min-width:0;font-size:12px;display:flex}.account-form-grid .account-field-label{color:var(--text);display:inline}.account-form-grid .account-field-label b{color:var(--danger)}.account-form-grid input,.account-form-grid select,.account-form-grid textarea,.account-english-name input,.account-transfer-grid select{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:32px;color:var(--text-h);background:#fff;border-radius:5px}.account-form-grid textarea{resize:vertical;height:58px;padding:7px 9px}.account-form-grid .wide{grid-column:1/-1}.account-form-grid .account-check{flex-direction:row;justify-content:flex-start;align-items:center;gap:7px}.account-form-grid .account-check input[type=checkbox]{width:15px;min-width:15px;height:15px;accent-color:var(--primary);flex:0 0 15px;margin:0;padding:0}.account-section-toggle{border:0;border-top:1px solid var(--border);width:100%;color:var(--primary);text-align:left;background:0 0;border-radius:0;margin-top:10px;padding:8px 0 5px;font-size:14px;font-weight:700}.account-section-toggle:hover{color:var(--primary-hover);background:0 0}.account-tracking-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 34px;padding:3px 8px;display:grid}.account-tracking-row{grid-template-columns:minmax(118px,1fr) 145px;align-items:center;gap:6px;min-height:32px;display:grid}.account-tracking-row.no-requirement{grid-template-columns:1fr}.account-tracking-row label{justify-content:flex-start;align-items:center;gap:7px;font-size:12px;display:flex}.account-tracking-row input{width:14px;height:14px;accent-color:var(--primary);flex:none;margin:0}.account-tracking-row select{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:30px;color:var(--text-h);background:#fff;border-radius:5px;padding:0 28px 0 8px;font-size:12px;line-height:normal}.account-tracking-row select:disabled{color:#0000;opacity:1;background:#f7f8fa}.account-tracking-row select:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb24}.account-language-fields{gap:7px;padding:3px 8px 0;display:grid}.account-language-fields label{gap:4px;font-size:12px;display:grid}.account-language-fields input{box-sizing:border-box;border:1px solid var(--border);width:100%;height:32px;color:var(--text-h);background:#fff;border-radius:5px}.account-language-tools{justify-content:flex-end;display:flex}.account-language-tools button{height:30px;padding:0 12px}.account-modal .voucher-modal-footer{min-height:48px;padding:7px 14px}.account-transfer-modal{width:min(620px,100vw - 32px)}.account-transfer-grid{background:var(--panel-bg-soft);grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.account-transfer-grid p{grid-column:1/-1;margin:0}.account-transfer-overlay{justify-content:flex-end;padding:0}.account-transfer-drawer{background:#fff;flex-direction:column;width:min(710px,96vw);height:100dvh;display:flex;overflow:hidden;box-shadow:-8px 0 28px #0f172a2e}.account-transfer-drawer>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;min-height:70px;padding:14px 16px 8px;display:flex}.account-transfer-drawer h2{color:var(--text-h);margin:0 0 12px;font-size:20px}.account-transfer-drawer header p{margin:0;font-size:13px}.account-transfer-header-tools{align-items:center;gap:7px;display:flex}.account-transfer-search{border:1px solid var(--border);width:calc(100% - 32px);height:31px;color:var(--muted);background:#fff;border-radius:5px;align-items:center;gap:6px;margin:8px 16px;padding:0 9px;display:flex}.account-transfer-search input{background:0 0;border:0;outline:0;flex:1;min-width:0;height:28px;padding:0;font-size:12px}.account-transfer-source{border:1px solid var(--border);background:#fff;height:270px;min-height:200px;margin:0 16px;overflow:auto}.account-transfer-source .data-table{table-layout:fixed;width:100%;min-width:520px}.account-transfer-source th,.account-transfer-source td{box-sizing:border-box;border-right:1px solid var(--border);border-bottom:1px solid var(--border);height:30px;padding:4px 8px;font-size:12px}.account-transfer-source th{z-index:2;background:#eaf1ff;position:sticky;top:0}.account-transfer-source th:first-child,.account-transfer-source td:first-child{text-align:center;width:38px}.account-transfer-source th:nth-child(2),.account-transfer-source td:nth-child(2){width:115px}.account-transfer-source td:nth-child(3){white-space:normal;overflow-wrap:anywhere}.account-transfer-source tr.selected td{background:#edf3ff}.account-transfer-source input[type=checkbox],.account-transfer-delete input,.account-transfer-option-grid input{width:14px;height:14px;accent-color:var(--primary);margin:0}.account-transfer-list-footer{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:40px;padding:0 16px;font-size:12px;display:flex}.account-transfer-list-footer .pagination{margin-left:auto}.account-transfer-delete{justify-content:flex-start;align-items:center;gap:7px;width:fit-content;min-height:42px;margin-left:16px;padding:0;font-size:12px;display:inline-flex}.account-transfer-target{background:var(--panel-bg-soft);grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 10px;padding:12px 16px 16px;display:grid;overflow:auto}.account-transfer-target h3,.account-transfer-target-account,.account-transfer-option-grid,.account-transfer-info,.account-transfer-target .voucher-error{grid-column:1/-1}.account-transfer-target h3{margin:0;font-size:16px}.account-transfer-target label{flex-direction:column;gap:5px;min-width:0;font-size:12px;display:flex}.account-transfer-target label b{color:var(--danger)}.account-transfer-target input:not([type=checkbox]),.account-transfer-target select{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:32px;color:var(--text-h);background:#fff;border-radius:5px}.account-transfer-target-account{align-items:flex-start}.account-transfer-combobox{width:min(360px,100%);position:relative}.account-transfer-combobox-control{border:1px solid var(--border);background:#fff;border-radius:5px;width:180px;max-width:100%;height:32px;transition:border-color .15s,box-shadow .15s;display:flex;overflow:hidden}.account-transfer-combobox.is-open .account-transfer-combobox-control{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.account-transfer-combobox-control input{background:#fff;border-radius:0;outline:0;flex:1;width:0;min-width:0;height:30px;padding:0 9px;font-size:12px;box-shadow:none!important;border:0!important}.account-transfer-combobox-control button{border:0;border-left:1px solid var(--border);width:30px;min-width:30px;height:30px;color:var(--muted);background:#fff;border-radius:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.account-transfer-combobox-control button:hover{background:var(--primary-soft);color:var(--primary)}.account-transfer-combobox.is-open .account-transfer-combobox-control button svg{transform:rotate(180deg)}.account-transfer-combobox-menu{z-index:30;border:1px solid var(--border);background:#fff;border-radius:7px;width:min(360px,96vw - 32px);position:absolute;top:calc(100% + 3px);left:0;overflow:hidden;box-shadow:0 8px 22px #0f172a2e}.account-transfer-combobox-menu.is-portaled{z-index:1700;position:fixed;top:auto;left:auto}.account-transfer-combobox-head,.account-transfer-combobox-rows button{text-align:left;grid-template-columns:108px minmax(0,1fr);align-items:center;display:grid}.account-transfer-combobox-head{border-bottom:1px solid var(--border);min-height:29px;color:var(--text-h);background:#eaf1ff;font-size:11px;font-weight:700}.account-transfer-combobox-head span,.account-transfer-combobox-rows button>*{min-width:0;padding:0 9px}.account-transfer-combobox-head span+span,.account-transfer-combobox-rows button>*+*{border-left:1px solid var(--border)}.account-transfer-combobox-rows{max-height:220px;overflow-y:auto}.account-transfer-combobox-rows button{border:0;border-bottom:1px solid var(--border);width:100%;min-height:30px;color:var(--text);background:#fff;border-radius:0;padding:0;font-size:12px}.account-transfer-combobox-rows button strong,.account-transfer-combobox-rows button span{overflow-wrap:anywhere;align-items:center;min-height:30px;display:flex}.account-transfer-combobox-rows button.is-active{background:var(--primary-soft)}.account-transfer-combobox-rows button.is-selected{background:var(--primary);color:#fff}.account-transfer-combobox-rows p{color:var(--muted);margin:0;padding:12px;font-size:12px}.account-transfer-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 26px;display:grid}.account-transfer-option-grid label{flex-direction:row;justify-content:flex-start;align-items:center;gap:7px;width:fit-content}.account-transfer-option-grid input[type=checkbox],.account-transfer-delete input[type=checkbox]{flex:0 0 14px}.account-transfer-period{display:contents}.account-transfer-info{border:1px solid var(--primary-border);color:var(--text);background:#f5f8ff;align-items:flex-start;gap:7px;padding:9px 10px;font-size:11px;font-style:italic;line-height:1.4;display:flex}.account-transfer-info svg{color:var(--primary);flex:none}.account-transfer-drawer>footer{border-top:1px solid var(--border);background:#fff;justify-content:flex-end;align-items:center;gap:8px;min-height:52px;margin-top:auto;padding:8px 16px;display:flex}.account-transfer-drawer>footer button{min-width:72px;height:32px}@media (width<=680px){.account-transfer-target{grid-template-columns:1fr}.account-transfer-period{grid-column:1/-1;gap:9px;display:grid}.account-transfer-option-grid{grid-template-columns:1fr}}@media (width<=760px){.account-directory-toolbar{flex-direction:column;align-items:stretch}.account-directory-toolbar .contact-group-search{width:100%}.account-form-grid,.account-tracking-grid,.account-transfer-grid{grid-template-columns:1fr}.account-transfer-grid p,.account-form-grid .wide{grid-column:auto}}.unit-directory-toolbar{min-height:44px;margin:0;padding:5px 10px}.unit-directory-toolbar .contact-group-search{width:min(300px,38vw)}.unit-add-button{align-items:center;gap:5px;height:30px;padding:0 18px;display:inline-flex}.unit-directory-table-wrap{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#fff;min-height:280px;max-height:calc(100vh - 235px);overflow:auto}.unit-directory-table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:700px}.unit-directory-table col:first-child{width:180px}.unit-directory-table col:nth-child(2){width:auto}.unit-directory-table col:nth-child(3){width:150px}.unit-directory-table col:nth-child(4){width:120px}table.data-table.unit-directory-table th,table.data-table.unit-directory-table td{box-sizing:border-box;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;height:32px;padding:4px 10px;font-size:12px;line-height:1.3}table.data-table.unit-directory-table thead th{z-index:3;height:34px;color:var(--text-h);border-bottom-color:var(--primary-border);white-space:normal;background:#eaf1ff;font-size:10.5px;position:sticky;top:0}.unit-directory-table th:nth-child(3),.unit-directory-table td:nth-child(3),.unit-directory-table th:nth-child(4),.unit-directory-table td:nth-child(4){text-align:center;white-space:nowrap}.unit-directory-table th:last-child,.unit-directory-table td:last-child{z-index:2;box-shadow:-1px 0 var(--border);background:#fff;border-right:0;position:sticky;right:0}.unit-directory-table thead th:last-child{z-index:4;background:#eaf1ff}.unit-directory-table tbody tr:hover td,.unit-directory-table tbody tr:hover td:last-child{background:#edf3ff}p.unit-directory-empty{place-items:center;min-height:250px;display:grid}table.data-table.unit-directory-table td.unit-directory-empty{text-align:center;height:250px}.unit-directory-footer{min-height:38px;padding:0 10px}.unit-directory-notice{border-color:var(--primary-border);color:var(--primary);background:#edf3ff;justify-content:space-between;align-items:center;margin:0 10px 6px;display:flex}.unit-directory-notice button{color:inherit;background:0 0;border:0;font-size:18px}.voucher-modal.unit-directory-modal{width:min(500px,100vw - 32px);max-width:500px}.unit-directory-modal .voucher-modal-body{background:var(--panel-bg-soft);padding:16px 20px 18px}.unit-directory-form{gap:12px;display:grid}.unit-directory-form label{min-width:0;color:var(--text);flex-direction:column;gap:5px;font-size:12px;display:flex}.unit-directory-form label>span{color:var(--danger)}.unit-directory-form input,.unit-directory-form textarea{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;color:var(--text-h);background:#fff;border-radius:5px;padding:5px 9px}.unit-directory-form input{width:155px;height:32px}.unit-directory-form textarea{resize:vertical;min-height:58px}.unit-directory-form input:focus,.unit-directory-form textarea:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb1f}@media (width<=600px){.unit-directory-toolbar{flex-direction:column;align-items:stretch}.unit-directory-toolbar .contact-group-search{width:100%}.unit-directory-toolbar .contact-group-toolbar-actions{justify-content:flex-end;margin-left:0}.unit-directory-form input{width:100%}}.account-transfer-directory-panel{padding:0;overflow:visible}.account-transfer-directory-toolbar{justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:5px 10px;display:flex}.account-transfer-directory-toolbar .contact-group-search{width:min(310px,38vw)}.account-transfer-directory-table-wrap{border-block:1px solid var(--border);background:#fff;min-height:280px;max-height:calc(100vh - 235px);overflow:auto}.account-transfer-directory-table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:1120px}.account-transfer-directory-table col:first-child{width:120px}.account-transfer-directory-table col:nth-child(2){width:145px}.account-transfer-directory-table col:nth-child(3),.account-transfer-directory-table col:nth-child(4){width:130px}.account-transfer-directory-table col:nth-child(5){width:125px}.account-transfer-directory-table col:nth-child(6){width:auto}.account-transfer-directory-table col:nth-child(7){width:135px}.account-transfer-directory-table col:nth-child(8){width:112px}table.data-table.account-transfer-directory-table th,table.data-table.account-transfer-directory-table td{box-sizing:border-box;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;height:33px;padding:4px 9px;font-size:12px;line-height:1.3}table.data-table.account-transfer-directory-table thead th{z-index:3;height:34px;color:var(--text-h);border-bottom-color:var(--primary-border);white-space:normal;background:#eaf1ff;font-size:10.5px;position:sticky;top:0}.account-transfer-directory-table th:first-child,.account-transfer-directory-table td:first-child,.account-transfer-directory-table th:nth-child(3),.account-transfer-directory-table td:nth-child(3),.account-transfer-directory-table th:nth-child(4),.account-transfer-directory-table td:nth-child(4),.account-transfer-directory-table th:nth-child(5),.account-transfer-directory-table td:nth-child(5),.account-transfer-directory-table th:nth-child(7),.account-transfer-directory-table td:nth-child(7),.account-transfer-directory-table th:nth-child(8),.account-transfer-directory-table td:nth-child(8){text-align:center;white-space:nowrap}.account-transfer-directory-table td.account-transfer-directory-description{white-space:normal;overflow-wrap:anywhere;word-break:break-word;height:auto}.account-transfer-directory-table th:last-child,.account-transfer-directory-table td:last-child{z-index:2;box-shadow:-1px 0 var(--border);background:#fff;border-right:0;position:sticky;right:0}.account-transfer-directory-table thead th:last-child{z-index:4;background:#eaf1ff}.account-transfer-directory-table tbody tr:hover td,.account-transfer-directory-table tbody tr:hover td:last-child{background:#edf3ff}.account-transfer-directory-empty{text-align:center;min-height:250px}p.account-transfer-directory-empty{place-items:center;display:grid}.account-transfer-directory-footer{min-height:38px;color:var(--muted);justify-content:space-between;align-items:center;padding:0 10px;font-size:12px;display:flex}.account-transfer-directory-notice{border-color:var(--primary-border);color:var(--primary);background:#edf3ff;justify-content:space-between;align-items:center;margin:0 10px 6px;display:flex}.account-transfer-directory-notice button{color:inherit;background:0 0;border:0;font-size:18px}.voucher-modal.account-transfer-directory-modal{width:min(480px,100vw - 32px);max-width:480px}.account-transfer-directory-modal .voucher-modal-header{min-height:50px;padding:10px 16px}.account-transfer-directory-modal .voucher-modal-header h2{margin:0;font-size:16px}.account-transfer-directory-form{background:var(--panel-bg-soft);gap:11px;padding:14px 16px 16px;display:grid;overflow:visible}.account-transfer-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;display:grid}.account-transfer-directory-field{min-width:0;color:var(--text);flex-direction:column;gap:5px;font-size:12px;display:flex}.account-transfer-directory-field>span:first-child{min-height:16px}.account-transfer-directory-field em{color:var(--danger);font-style:normal}.account-transfer-directory-field input,.account-transfer-directory-field select,.account-transfer-directory-field textarea{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:32px;color:var(--text-h);font:inherit;background:#fff;border-radius:5px;outline:0;padding:4px 9px}.account-transfer-directory-field textarea{resize:vertical;min-height:58px}.account-transfer-directory-field input:focus,.account-transfer-directory-field select:focus,.account-transfer-directory-field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 1px #2563eb21}.account-transfer-directory-code input{width:100%}.account-transfer-directory-lookup{border:1px solid var(--border);background:#fff;border-radius:5px;width:100%;height:32px;display:flex;overflow:hidden}.account-transfer-directory-lookup:focus-within{border-color:var(--primary);box-shadow:0 0 0 1px #2563eb21}.account-transfer-directory-lookup input{width:0;height:30px;box-shadow:none;border:0;border-radius:0;flex:1}.account-transfer-directory-lookup input:focus{box-shadow:none;border:0}.account-transfer-directory-lookup button{border:0;border-left:1px solid var(--border);width:30px;min-width:30px;height:30px;color:var(--muted);background:#fff;border-radius:0;place-items:center;padding:0;display:grid}.account-transfer-directory-lookup button:hover{background:var(--primary-soft);color:var(--primary)}.account-transfer-directory-account-menu{z-index:1700;border:1px solid var(--border);background:#fff;border-radius:7px;position:fixed;overflow:hidden;box-shadow:0 9px 24px #0f172a33}.account-transfer-directory-account-head,.account-transfer-directory-account-list button{text-align:left;grid-template-columns:110px minmax(0,1fr);align-items:center;display:grid}.account-transfer-directory-account-head{border-bottom:1px solid var(--primary-border);min-height:29px;color:var(--text-h);background:#eaf1ff;font-size:11px}.account-transfer-directory-account-head>*,.account-transfer-directory-account-list button>*{min-width:0;padding:0 9px}.account-transfer-directory-account-head>*+*,.account-transfer-directory-account-list button>*+*{border-left:1px solid var(--border)}.account-transfer-directory-account-list{max-height:220px;overflow-y:auto}.account-transfer-directory-account-list button{border:0;border-bottom:1px solid var(--border);width:100%;min-height:31px;color:var(--text);background:#fff;border-radius:0;padding:0;font-size:12px}.account-transfer-directory-account-list button:hover{background:var(--primary);color:#fff}.account-transfer-directory-account-list button strong,.account-transfer-directory-account-list button span{overflow-wrap:anywhere;align-items:center;min-height:31px;display:flex}.account-transfer-directory-account-list p{color:var(--muted);margin:0;padding:12px;font-size:12px}@media (width<=560px){.account-transfer-directory-toolbar{flex-direction:column;align-items:stretch}.account-transfer-directory-toolbar .contact-group-search{width:100%}.account-transfer-directory-grid{grid-template-columns:1fr}}.account-default-panel{padding:0;overflow:visible}.account-default-toolbar{box-sizing:border-box;align-items:center;gap:10px;min-height:42px;padding:5px 10px;display:flex}.account-default-type-filter{width:min(395px,34vw);height:32px;color:var(--text);flex:none;align-items:center;gap:8px;font-size:11px;display:flex}.account-default-type-filter>span{white-space:nowrap;flex:none;line-height:32px}.account-default-type-filter select{box-sizing:border-box;border:1px solid var(--border);min-width:0;height:32px;color:var(--text-h);background:#fff;border-radius:5px;flex:220px;padding:0 30px 0 10px;font-size:12px;line-height:30px}.account-default-toolbar .contact-group-search{box-sizing:border-box;width:min(250px,24vw);height:32px;margin-bottom:0}.account-default-toolbar .contact-group-search input{box-sizing:border-box;height:30px;line-height:30px}.account-default-toolbar .contact-group-toolbar-actions{margin-left:auto}.account-default-table-wrap{border-block:1px solid var(--border);background:#fff;min-height:330px;max-height:calc(100vh - 250px);overflow:auto}.account-default-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:780px}.account-default-table col:first-child{width:auto}.account-default-table col:nth-child(2),.account-default-table col:nth-child(3){width:18%}.account-default-table col:nth-child(4){width:110px}table.data-table.account-default-table th,table.data-table.account-default-table td{box-sizing:border-box;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;height:31px;padding:4px 10px;font-size:12px;line-height:1.3}table.data-table.account-default-table thead th{z-index:3;height:33px;color:var(--text-h);border-bottom-color:var(--primary-border);background:#eaf1ff;font-size:10.5px;position:sticky;top:0}.account-default-table td:first-child{white-space:normal;overflow-wrap:anywhere}.account-default-table th:nth-child(n+2),.account-default-table td:nth-child(n+2){white-space:nowrap}.account-default-table th:last-child,.account-default-table td:last-child{z-index:2;text-align:center;box-shadow:-1px 0 var(--border);background:#fff;border-right:0;position:sticky;right:0}.account-default-table thead th:last-child{z-index:4;background:#eaf1ff}.account-default-table tbody tr:hover td,.account-default-table tbody tr:hover td:last-child{background:#edf3ff}p.account-default-empty{place-items:center;min-height:300px;display:grid}table.data-table.account-default-table td.account-default-empty{text-align:center;height:300px}.account-default-footer{min-height:39px;color:var(--muted);justify-content:space-between;align-items:center;padding:0 10px;font-size:12px;display:flex}.account-default-notice{border-color:var(--primary-border);color:var(--primary);background:#edf3ff;justify-content:space-between;align-items:center;margin:0 10px 6px;display:flex}.account-default-notice button{color:inherit;background:0 0;border:0;font-size:18px}.account-default-drawer-overlay{justify-content:flex-end;padding:0}.account-default-drawer{background:#fff;flex-direction:column;width:min(800px,96vw);height:100dvh;display:flex;overflow:hidden;box-shadow:-8px 0 28px #0f172a33}.account-default-drawer>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:52px;padding:0 20px;display:flex}.account-default-drawer>header h2{color:var(--text-h);margin:0;font-size:20px}.account-default-drawer>header>div{align-items:center;gap:7px;display:flex}.account-default-form-body{background:var(--panel-bg-soft);flex:1;padding:12px 20px;overflow:auto}.account-default-form-body>label{width:min(350px,100%);color:var(--text);gap:5px;margin-bottom:12px;font-size:12px;display:grid}.account-default-form-body>label em{color:var(--danger);font-style:normal}.account-default-form-body>label input,.account-default-form-body>label select{box-sizing:border-box;border:1px solid var(--border);width:100%;height:32px;color:var(--text-h);background:#fff;border-radius:5px;padding:0 10px;font-size:12px;line-height:30px}.account-default-form-body>label select{padding-right:30px}.account-default-form-body>label input:focus,.account-default-form-body>label select:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb21}.account-default-form-body h3{color:var(--text-h);margin:25px 0 8px;font-size:16px}.account-default-form-table{border:1px solid var(--border);background:#fff;overflow:visible}.account-default-form-head,.account-default-form-row{grid-template-columns:170px minmax(180px,1fr) 220px;align-items:stretch;min-height:33px;display:grid}.account-default-form-head{border-bottom:1px solid var(--primary-border);background:#eaf1ff;font-size:11px}.account-default-form-head>*,.account-default-form-row>strong,.account-default-form-cell{box-sizing:border-box;border-right:1px solid var(--border);align-items:center;min-width:0;padding:4px 10px;display:flex}.account-default-form-head>:last-child,.account-default-form-row>:last-child{border-right:0}.account-default-form-row{border-bottom:1px solid var(--border);font-size:12px}.account-default-form-row:last-child{border-bottom:0}.account-default-form-cell{padding:3px 6px}.account-default-form-cell>input{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:30px;color:var(--text-h);background:#fff;border-radius:4px;margin:0;padding:0 8px;font-size:12px;line-height:28px}.account-default-lookup{box-sizing:border-box;border:1px solid var(--border);background:#fff;border-radius:4px;align-self:center;width:100%;min-width:0;height:30px;margin:0;padding:0;display:flex;overflow:hidden}.account-default-lookup:focus-within{border-color:var(--primary);box-shadow:0 0 0 1px #2563eb21}.account-default-lookup input{box-sizing:border-box;background:#fff;border:0;outline:0;flex:1;width:0;min-width:0;height:28px;padding:0 8px;font-size:12px;line-height:28px}.account-default-lookup button{box-sizing:border-box;border:0;border-left:1px solid var(--border);width:30px;min-width:30px;height:28px;color:var(--muted);background:#fff;border-radius:0;place-items:center;padding:0;display:grid}.account-default-lookup button:hover{background:var(--primary-soft);color:var(--primary)}.account-default-account-menu{z-index:1700;border:1px solid var(--border);background:#fff;border-radius:7px;position:fixed;overflow:hidden;box-shadow:0 9px 24px #0f172a33}.account-default-account-head,.account-default-account-list button{text-align:left;grid-template-columns:110px minmax(0,1fr);align-items:center;display:grid}.account-default-account-head{border-bottom:1px solid var(--primary-border);min-height:29px;color:var(--text-h);background:#eaf1ff;font-size:11px}.account-default-account-head>*,.account-default-account-list button>*{min-width:0;padding:0 9px}.account-default-account-head>*+*,.account-default-account-list button>*+*{border-left:1px solid var(--border)}.account-default-account-list{max-height:220px;overflow-y:auto}.account-default-account-list button{border:0;border-bottom:1px solid var(--border);width:100%;min-height:31px;color:var(--text);background:#fff;border-radius:0;padding:0;font-size:12px}.account-default-account-list button:hover{background:var(--primary);color:#fff}.account-default-account-list button strong,.account-default-account-list button span{overflow-wrap:anywhere;align-items:center;min-height:31px;display:flex}.account-default-account-list p{color:var(--muted);margin:0;padding:12px;font-size:12px}.account-default-drawer>footer{border-top:1px solid var(--border);background:#fff;justify-content:flex-end;align-items:center;gap:8px;min-height:52px;margin-top:auto;padding:8px 20px;display:flex}.account-default-drawer>footer button{min-width:72px;height:32px}@media (width<=700px){.account-default-toolbar{flex-direction:column;align-items:stretch}.account-default-type-filter,.account-default-toolbar .contact-group-search{width:100%}.account-default-type-filter select{flex-basis:auto}.account-default-toolbar .contact-group-toolbar-actions{justify-content:flex-end;margin-left:0}.account-default-form-table{overflow-x:auto}.account-default-form-head,.account-default-form-row{min-width:650px}}.bank-directory-panel{padding:0;overflow:visible}.bank-directory-toolbar{min-height:44px;margin:0;padding:5px 10px}.bank-directory-toolbar .contact-group-search{width:min(320px,40vw)}.bank-directory-table-wrap{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#fff;min-height:280px;max-height:calc(100vh - 235px);overflow:auto}.bank-directory-table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:850px}.bank-directory-table col:first-child{width:120px}.bank-directory-table col:nth-child(2){width:170px}.bank-directory-table col:nth-child(3){width:auto}.bank-directory-table col:nth-child(4){width:150px}.bank-directory-table col:nth-child(5){width:120px}table.data-table.bank-directory-table th,table.data-table.bank-directory-table td{box-sizing:border-box;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;height:36px;padding:3px 10px;font-size:12px;line-height:1.3}table.data-table.bank-directory-table thead th{z-index:3;height:34px;color:var(--text-h);border-bottom-color:var(--primary-border);white-space:normal;background:#eaf1ff;font-size:10.5px;position:sticky;top:0}.bank-directory-table th:first-child,.bank-directory-table td:first-child,.bank-directory-table th:nth-child(4),.bank-directory-table td:nth-child(4),.bank-directory-table th:nth-child(5),.bank-directory-table td:nth-child(5){text-align:center;white-space:nowrap}.bank-directory-table td:first-child img{object-fit:contain;width:76px;height:26px;margin:0 auto;display:block}.bank-directory-table th:last-child,.bank-directory-table td:last-child{z-index:2;box-shadow:-1px 0 var(--border);background:#fff;border-right:0;position:sticky;right:0}.bank-directory-table thead th:last-child{z-index:4;background:#eaf1ff}.bank-directory-table tbody tr:hover td,.bank-directory-table tbody tr:hover td:last-child{background:#edf3ff}p.bank-directory-empty{place-items:center;min-height:250px;display:grid}table.data-table.bank-directory-table td.bank-directory-empty{text-align:center;height:250px}.bank-directory-footer{min-height:38px;padding:0 10px}.bank-directory-notice{border-color:var(--primary-border);color:var(--primary);background:#edf3ff;justify-content:space-between;align-items:center;margin:0 10px 6px;display:flex}.bank-directory-notice button{color:inherit;background:0 0;border:0;font-size:18px}.bank-account-directory-panel{padding:0;overflow:visible}.bank-account-directory-toolbar{min-height:44px;margin:0;padding:5px 10px}.bank-account-directory-toolbar .contact-group-search{width:min(330px,36vw)}.bank-account-directory-toolbar .bank-account-default-button{height:28px;min-height:28px;box-shadow:none;color:var(--primary);white-space:nowrap;background:0 0;border:0;border-radius:3px;align-items:center;gap:5px;padding:0 4px;font-size:12px;font-weight:400;display:inline-flex}.bank-account-directory-toolbar .bank-account-default-button .icon{color:var(--muted)}.bank-account-directory-toolbar .bank-account-default-button:hover{background:var(--primary-soft)}.bank-account-directory-toolbar .purchase-action-add>button{height:28px;min-height:28px;padding-top:0;padding-bottom:0;font-size:12px}.bank-account-directory-table-wrap{border-block:1px solid var(--border);background:#fff;min-height:280px;max-height:calc(100vh - 235px);overflow:auto}.bank-account-directory-table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:1240px}.bank-account-directory-table col:first-child{width:165px}.bank-account-directory-table col:nth-child(2){width:260px}.bank-account-directory-table col:nth-child(3){width:220px}.bank-account-directory-table col:nth-child(4){width:190px}.bank-account-directory-table col:nth-child(5){width:180px}.bank-account-directory-table col:nth-child(6){width:135px}.bank-account-directory-table col:nth-child(7){width:120px}table.data-table.bank-account-directory-table th,table.data-table.bank-account-directory-table td{box-sizing:border-box;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;white-space:normal;overflow-wrap:anywhere;height:34px;padding:4px 10px;font-size:12px;line-height:1.3}table.data-table.bank-account-directory-table thead th{z-index:3;height:34px;color:var(--text-h);border-bottom-color:var(--primary-border);background:#eaf1ff;font-size:10.5px;position:sticky;top:0}.bank-account-directory-table th:nth-child(6),.bank-account-directory-table td:nth-child(6),.bank-account-directory-table th:nth-child(7),.bank-account-directory-table td:nth-child(7){text-align:center;white-space:nowrap}.bank-account-directory-table th:last-child,.bank-account-directory-table td:last-child{z-index:2;box-shadow:-1px 0 var(--border);background:#fff;border-right:0;position:sticky;right:0}.bank-account-directory-table thead th:last-child{z-index:4;background:#eaf1ff}.bank-account-directory-table tbody tr:hover td,.bank-account-directory-table tbody tr:hover td:last-child{background:#edf3ff}p.bank-account-directory-empty{place-items:center;min-height:250px;display:grid}table.data-table.bank-account-directory-table td.bank-account-directory-empty{text-align:center;height:250px}.bank-account-directory-footer{min-height:38px;padding:0 10px}.bank-account-directory-notice{border-color:var(--primary-border);color:var(--primary);background:#edf3ff;justify-content:space-between;align-items:center;margin:0 10px 6px;display:flex}.bank-account-directory-notice button{color:inherit;background:0 0;border:0;font-size:18px}.voucher-modal.bank-account-directory-modal{width:min(790px,100vw - 32px);max-width:790px}.bank-account-directory-modal .voucher-modal-body{background:var(--panel-bg-soft);padding:15px 20px 18px}.bank-account-directory-form{grid-template-columns:minmax(0,1fr) 145px;gap:18px;display:grid}.bank-account-form-error{grid-column:1/-1}.bank-account-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;display:grid}.bank-account-fields label,.bank-account-default-form>label:not(.bank-default-radio){min-width:0;color:var(--text);flex-direction:column;gap:4px;font-size:12px;display:flex}.bank-account-fields label>span{color:var(--danger)}.bank-account-fields .bank-account-form-wide{grid-column:1/-1}.bank-account-fields input,.bank-account-fields select,.bank-account-fields textarea,.bank-account-default-form select{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:32px;color:var(--text-h);background:#fff;border-radius:5px;padding:5px 9px}.bank-account-fields textarea{resize:vertical;min-height:54px}.bank-account-fields input:focus,.bank-account-fields select:focus,.bank-account-fields textarea:focus,.bank-account-default-form select:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb1f}.bank-account-logo{border:1px dashed var(--primary-border);min-height:120px;color:var(--primary);text-align:center;background:#fff;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:12px;display:flex}.bank-account-logo img{object-fit:contain;width:112px;height:48px}.bank-account-logo small{color:var(--muted);font-size:10px}.voucher-modal.bank-account-default-modal{border-radius:4px;width:min(780px,100vw - 32px);max-width:780px;height:360px;max-height:calc(100dvh - 32px)}.bank-account-default-modal>.voucher-modal-header{box-sizing:border-box;border-bottom:0;gap:8px;min-height:40px;padding:6px 12px}.bank-account-default-modal .voucher-modal-header h2{margin:0;font-size:16px;line-height:1.35}.bank-default-header-actions{align-items:center;gap:6px;display:flex}.bank-default-header-actions .icon-btn{box-sizing:border-box;width:22px;min-width:22px;height:22px;min-height:22px;box-shadow:none;color:var(--muted);background:0 0;border:0;padding:0}.bank-default-header-actions .bank-default-help{border:1px solid;border-radius:50%;width:16px;min-width:16px;height:16px;min-height:16px;font-size:11px}.bank-account-default-modal>.bank-account-default-form{background:#fff;flex-direction:column;flex:1;gap:14px;min-height:0;padding:8px 12px 16px;display:flex;overflow-y:auto}.bank-default-scope{flex-wrap:wrap;gap:8px 22px;display:flex}.bank-default-radio{align-items:center;gap:6px;font-size:12px;line-height:1.4;display:inline-flex}.bank-default-radio input{width:13px;height:13px;accent-color:var(--primary);margin:0}.bank-default-account-row{flex-direction:column;gap:4px;min-width:0;display:flex}.bank-default-account-row>label{font-size:12px;line-height:1.4}.bank-default-account-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;display:grid}.bank-account-default-form .bank-default-branch{width:calc(50% - 5px)}.bank-account-default-form select,.bank-default-account-pair input{box-sizing:border-box;width:100%;min-width:0;height:26px;font:inherit;color:var(--text-h);border:1px solid #c9ced8;border-radius:4px;padding:2px 8px;font-size:12px}.bank-default-account-pair input[readonly]{text-overflow:ellipsis;background:#f3f4f6}.bank-default-picker{box-sizing:border-box;background:#fff;border:1px solid #c9ced8;border-radius:4px;align-items:center;min-width:0;height:26px;display:flex}.bank-default-picker:focus-within{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary-soft)}.bank-default-picker input{width:0;height:24px;box-shadow:none;background:0 0;border:0;outline:none;flex:1;padding:2px 7px}.bank-default-picker button{width:25px;min-width:25px;height:24px;min-height:24px;box-shadow:none;color:var(--muted);background:0 0;border:0;border-radius:0;flex:0 0 25px;justify-content:center;align-items:center;padding:0;display:flex}.bank-default-picker .bank-default-picker-toggle{border-left:1px solid #c9ced8}.bank-default-picker-toggle[aria-expanded=true] .icon{transform:rotate(180deg)}.bank-default-picker button:hover{background:var(--primary-soft);color:var(--primary)}.bank-default-picker-popup{z-index:1500;box-sizing:border-box;border:1px solid var(--border);color:var(--text-h);background:#fff;border-radius:5px;font-size:11px;position:fixed;overflow:auto;box-shadow:0 4px 14px #00000024}.bank-default-picker-columns,.bank-default-picker-option{grid-template-columns:minmax(95px,1.15fr) minmax(180px,2.5fr) minmax(90px,1.5fr) minmax(120px,1.8fr);align-items:center;min-width:520px;display:grid}.bank-default-picker-columns{z-index:1;background:#e7e8eb;font-weight:600;position:sticky;top:0}.bank-default-picker-columns span,.bank-default-picker-option span{text-overflow:ellipsis;white-space:nowrap;padding:5px 8px;line-height:1.35;overflow:hidden}.bank-default-picker-options{min-width:520px}.bank-default-picker-option{cursor:pointer}.bank-default-picker-option:hover,.bank-default-picker-option[data-highlighted=true]{background:var(--primary-soft)}.bank-default-picker-option[aria-selected=true]{color:var(--primary)}.bank-default-picker-empty{color:var(--muted);margin:0;padding:10px}.bank-default-help-text{background:var(--primary-soft);margin:0;padding:8px;font-size:12px;line-height:1.5}.bank-account-default-modal>.voucher-modal-footer{box-sizing:border-box;background:#f6f7f9;justify-content:flex-end;min-height:44px;padding:8px 16px}.bank-account-default-modal .voucher-modal-footer-actions{gap:6px}.bank-account-default-modal .voucher-modal-footer-actions button{border-radius:4px;min-width:64px;height:26px;min-height:26px;padding:0 12px;font-size:12px}@media (width<=520px){.bank-default-picker-popup{overflow-x:auto}.bank-default-picker-options{min-width:520px}.bank-default-account-pair{grid-template-columns:minmax(0,1fr);gap:5px}.bank-account-default-form .bank-default-branch{width:100%}.voucher-modal.bank-account-default-modal{height:auto;min-height:min(360px,100dvh - 32px)}}@media (width<=760px){.bank-account-directory-toolbar{flex-direction:column;align-items:stretch}.bank-account-directory-toolbar .contact-group-search{width:100%}.bank-account-directory-toolbar .contact-group-toolbar-actions{flex-wrap:wrap;justify-content:flex-end;margin-left:0}.bank-account-directory-form{grid-template-columns:1fr}.bank-account-logo{min-height:90px}}.voucher-modal.bank-directory-modal{width:min(720px,100vw - 32px);max-width:720px}.bank-directory-modal .voucher-modal-body{background:var(--panel-bg-soft);padding:16px 20px 18px}.bank-directory-form{grid-template-columns:minmax(0,1fr) 130px;gap:16px;display:grid}.bank-form-error{grid-column:1/-1}.bank-directory-fields{grid-template-columns:155px minmax(0,1fr);gap:10px 12px;display:grid}.bank-directory-fields label,.bank-logo-field{min-width:0;color:var(--text);flex-direction:column;gap:5px;font-size:12px;display:flex}.bank-directory-fields label{position:relative}.bank-directory-fields label>span{color:var(--danger);position:absolute;top:0;left:66px}.bank-directory-fields .bank-form-wide{grid-column:1/-1}.bank-directory-fields input,.bank-directory-fields textarea{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:32px;color:var(--text-h);background:#fff;border-radius:5px;padding:5px 9px}.bank-directory-fields textarea{resize:vertical;min-height:58px}.bank-directory-fields input:focus,.bank-directory-fields textarea:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb1f}.bank-form-active{grid-column:1/-1;align-items:center;width:max-content;flex-direction:row!important;gap:7px!important}.bank-form-active input{flex:none;width:15px;height:15px;margin:0}.bank-logo-preview{border:1px solid var(--border);width:130px;height:100px;color:var(--muted);background:#fff;border-radius:6px;place-items:center;padding:8px;display:grid}.bank-logo-preview img{object-fit:contain;max-width:110px;max-height:76px}.bank-logo-preview small{font-size:10px}.bank-logo-actions{justify-content:center;gap:8px;display:flex}.bank-logo-actions .icon-btn{width:28px;height:26px}.bank-logo-field>small{color:var(--muted);text-align:center;font-size:9.5px;line-height:1.35}@media (width<=680px){.bank-directory-toolbar{flex-direction:column;align-items:stretch}.bank-directory-toolbar .contact-group-search{width:100%}.bank-directory-toolbar .contact-group-toolbar-actions{justify-content:flex-end;margin-left:0}.bank-directory-form,.bank-directory-fields{grid-template-columns:1fr}.bank-directory-fields .bank-form-wide{grid-column:auto}.bank-logo-field{align-items:center}}.expense-category-panel .contact-group-search{width:min(340px,36vw)}.expense-transfer-open{white-space:nowrap;height:30px;padding:0 12px;font-size:12px}.expense-category-table tbody tr.selected td{background:#edf3ff}.expense-category-table tbody tr.selected:hover td{background:#e5eeff}.expense-category-notice{border-color:var(--primary-border);color:var(--primary);background:#edf3ff;justify-content:space-between;align-items:center;margin:6px 0;display:flex}.expense-category-notice button{color:inherit;background:0 0;border:0;font-size:18px}.cash-flow-category-panel{padding:0;overflow:visible}.cash-flow-category-toolbar{min-height:44px;margin:0;padding:5px 10px}.cash-flow-category-toolbar .contact-group-search{width:min(360px,38vw)}.cash-flow-category-table-wrap{border-left:0;border-right:0;min-height:300px;max-height:calc(100vh - 235px)}.cash-flow-category-table{table-layout:fixed;min-width:980px}.cash-flow-category-table col:first-child{width:180px}.cash-flow-category-table col:nth-child(2){width:auto}.cash-flow-category-table col:nth-child(3){width:150px}.cash-flow-category-table col:nth-child(4){width:180px}.cash-flow-category-table col:nth-child(5){width:145px}.cash-flow-category-table col:nth-child(6){width:122px}table.data-table.cash-flow-category-table th,table.data-table.cash-flow-category-table td{box-sizing:border-box;height:32px;padding:4px 9px;font-size:12px;line-height:1.3}table.data-table.cash-flow-category-table thead th{height:34px;color:var(--text-h);white-space:normal;background:#eaf1ff;font-size:10.5px}.cash-flow-category-table th:nth-child(4),.cash-flow-category-table td:nth-child(4),.cash-flow-category-table th:nth-child(5),.cash-flow-category-table td:nth-child(5),.cash-flow-category-table th:nth-child(6),.cash-flow-category-table td:nth-child(6){text-align:center}.cash-flow-category-table th:last-child,.cash-flow-category-table td:last-child{z-index:2;box-shadow:-1px 0 var(--border);white-space:nowrap;background:#fff;position:sticky;right:0}.cash-flow-category-table thead th:last-child{z-index:4;background:#eaf1ff}.cash-flow-category-table tbody tr:hover td,.cash-flow-category-table tbody tr:hover td:last-child{background:#edf3ff}.cash-flow-category-parent-row td{background:#f2f6ff;font-weight:600}.cash-flow-category-parent-row td:last-child{background:#f2f6ff}.cash-flow-category-name{overflow-wrap:anywhere}.cash-flow-category-recurring input{width:15px;height:15px;accent-color:var(--primary);pointer-events:none;margin:0}.cash-flow-category-notice{border-color:var(--primary-border);color:var(--primary);background:#edf3ff;justify-content:space-between;align-items:center;margin:0 10px 6px;display:flex}.cash-flow-category-notice button{color:inherit;background:0 0;border:0;padding:0 4px;font-size:18px}.cash-flow-category-panel .contact-group-footer{min-height:38px;padding:0 10px}.voucher-modal.cash-flow-category-modal{width:min(610px,100vw - 32px);max-width:610px}.cash-flow-category-modal .voucher-modal-body{background:var(--panel-bg-soft);padding:14px 20px 18px}.cash-flow-category-types{border:0;align-items:center;gap:22px;margin:0 0 12px;padding:0;display:flex}.cash-flow-category-types legend{float:left;color:var(--text);margin-right:18px;font-size:12px}.cash-flow-category-types label,.cash-flow-category-check{color:var(--text-h);align-items:center;gap:7px;font-size:12px;display:inline-flex}.cash-flow-category-types input,.cash-flow-category-check input{width:15px;height:15px;accent-color:var(--primary);flex:none;margin:0}.cash-flow-category-form-grid{grid-template-columns:175px minmax(0,1fr);gap:10px 12px;display:grid}.cash-flow-category-form-grid>label:not(.cash-flow-category-check){min-width:0;color:var(--text);flex-direction:column;gap:5px;font-size:12px;display:flex}.cash-flow-category-form-grid label>span b{color:var(--danger)}.cash-flow-category-form-grid .wide,.cash-flow-category-form-grid .cash-flow-category-check{grid-column:1/-1}.cash-flow-category-form-grid input:not([type=checkbox]),.cash-flow-category-form-grid select,.cash-flow-category-form-grid textarea{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:34px;color:var(--text-h);background:#fff;border-radius:5px;padding:5px 9px}.cash-flow-category-form-grid textarea{resize:vertical;min-height:58px}.cash-flow-category-form-grid input:focus,.cash-flow-category-form-grid select:focus,.cash-flow-category-form-grid textarea:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb1f}@media (width<=680px){.cash-flow-category-toolbar{flex-direction:column;align-items:stretch}.cash-flow-category-toolbar .contact-group-search{width:100%}.cash-flow-category-toolbar .contact-group-toolbar-actions{flex-wrap:wrap;justify-content:flex-end;margin-left:0}.cash-flow-category-form-grid{grid-template-columns:1fr}.cash-flow-category-form-grid .wide,.cash-flow-category-form-grid .cash-flow-category-check{grid-column:auto}}.fixed-asset-category-panel{padding-bottom:0}.fixed-asset-category-toolbar .contact-group-search{width:min(360px,40vw)}.fixed-asset-category-table-wrap{max-height:calc(100vh - 225px)}.fixed-asset-category-table{min-width:900px}table.data-table.fixed-asset-category-table th,table.data-table.fixed-asset-category-table td{box-sizing:border-box;height:31px;padding:4px 8px;font-size:12px;line-height:1.25}table.data-table.fixed-asset-category-table thead th{height:32px;font-size:10.5px}.fixed-asset-category-table th:first-child{width:120px}.fixed-asset-category-table th:nth-child(2){width:auto}.fixed-asset-category-table th:nth-child(3),.fixed-asset-category-table th:nth-child(4){width:140px}.fixed-asset-category-table th:nth-child(5){text-align:left;width:140px}.fixed-asset-category-table th:nth-child(6){text-align:center;width:118px}.fixed-asset-category-table td:nth-child(5){white-space:nowrap}.fixed-asset-category-table td:nth-child(6){text-align:center;white-space:nowrap}.fixed-asset-category-table tbody tr.selected td{background:#edf3ff}.fixed-asset-category-table tbody tr.selected:hover td{background:#e5eeff}.fixed-asset-parent-name{font-weight:600}.catalog-status-active{color:var(--text)}.catalog-status-inactive{color:var(--muted)}.fixed-asset-category-footer{min-height:36px}.voucher-modal.fixed-asset-category-modal{width:min(520px,100vw - 32px);max-width:520px}.fixed-asset-modal-tools{align-items:center;gap:5px;display:flex}.fixed-asset-category-modal .voucher-modal-body{background:var(--panel-bg-soft);padding:16px 20px 18px}.fixed-asset-category-form-grid{grid-template-columns:140px minmax(0,1fr);gap:12px 38px;display:grid}.fixed-asset-category-form-grid label{min-width:0;color:var(--text);flex-direction:column;gap:5px;font-size:12px;display:flex}.fixed-asset-category-form-grid .wide{grid-column:1/-1}.fixed-asset-category-form-grid input,.fixed-asset-category-form-grid select{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:31px;color:var(--text-h);background:#fff;border-radius:5px;padding:4px 9px}.fixed-asset-category-form-grid input:focus,.fixed-asset-category-form-grid select:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb1f}.timesheet-sign-toolbar .contact-group-search{width:min(330px,38vw)}.timesheet-sign-table-wrap{max-height:calc(100vh - 245px)}.timesheet-sign-table{table-layout:fixed;min-width:1120px}table.data-table.timesheet-sign-table th,table.data-table.timesheet-sign-table td{box-sizing:border-box;height:32px;padding:4px 9px;font-size:12px;line-height:1.25}table.data-table.timesheet-sign-table thead th{white-space:normal;background:#eaf1ff;height:32px;font-size:10.5px}.timesheet-sign-table th:first-child{width:160px}.timesheet-sign-table th:nth-child(2){width:auto}.timesheet-sign-table th:nth-child(3){text-align:right;width:160px}.timesheet-sign-table th:nth-child(4),.timesheet-sign-table th:nth-child(5){text-align:center;width:165px}.timesheet-sign-table th:nth-child(6){width:140px}.timesheet-sign-table th:nth-child(7){text-align:center;width:118px}.timesheet-sign-table td:nth-child(7){text-align:center}.timesheet-sign-table tbody tr.selected td{background:#edf3ff}.timesheet-sign-table tbody tr.selected:hover td{background:#e5eeff}.timesheet-flag{text-align:center}.timesheet-flag input{width:15px;height:15px;accent-color:var(--primary);pointer-events:none;margin:0}.voucher-modal.timesheet-sign-modal{width:min(600px,100vw - 32px);max-width:600px}.timesheet-sign-modal .voucher-modal-body{background:var(--panel-bg-soft);padding:16px 20px 18px}.timesheet-sign-form-grid{grid-template-columns:175px minmax(0,1fr);gap:10px 12px;display:grid}.timesheet-sign-form-grid label{min-width:0;color:var(--text);flex-direction:column;gap:5px;font-size:12px;display:flex}.timesheet-sign-form-grid .wide{grid-column:1/-1}.timesheet-sign-form-grid input,.timesheet-sign-form-grid textarea{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:31px;color:var(--text-h);background:#fff;border-radius:5px;padding:4px 9px}.timesheet-sign-form-grid textarea{resize:vertical;min-height:56px}.timesheet-sign-form-grid input:focus,.timesheet-sign-form-grid textarea:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb1f}.timesheet-rate-input{align-items:center;gap:8px;display:flex}.timesheet-rate-input input{text-align:right}.timesheet-sign-form-grid .timesheet-sign-check{flex-direction:row;align-items:center;gap:8px;width:max-content;display:flex}.timesheet-sign-check input{width:15px;height:15px;accent-color:var(--primary);flex:none;margin:0}.pit-rate-panel{padding:0;overflow:hidden}.pit-rate-toolbar{border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;gap:16px;min-height:50px;padding:7px 12px;display:flex}.pit-rate-schedules{flex-wrap:wrap;align-items:center;gap:24px;display:flex}.pit-rate-schedules label{color:var(--text-h);cursor:pointer;align-items:center;gap:7px;font-size:13px;display:inline-flex}.pit-rate-schedules input{width:16px;height:16px;accent-color:var(--primary);margin:0}.pit-rate-actions{flex:none;align-items:center;gap:6px;display:flex}.pit-rate-table-wrap{background:#fff;min-height:230px;overflow:auto}.pit-rate-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:900px}table.data-table.pit-rate-table th,table.data-table.pit-rate-table td{box-sizing:border-box;border-right:1px solid var(--border);border-bottom:1px solid var(--border);height:33px;padding:5px 10px;font-size:12px;line-height:1.2}table.data-table.pit-rate-table thead th{height:31px;color:var(--text-h);text-align:center;white-space:normal;background:#eaf1ff;font-size:11px}.pit-rate-table .pit-grade-col{width:54px}.pit-rate-table .pit-money-col{width:170px}.pit-rate-table .pit-rate-col{width:auto}.pit-rate-table .pit-action-col{width:100px}.pit-rate-table td:first-child{text-align:center}.pit-rate-table td.number{text-align:right;font-variant-numeric:tabular-nums}.pit-rate-table td:last-child{text-align:center}.pit-rate-table tbody tr.selected td{background:#edf3ff}.pit-rate-table tbody tr.selected:hover td{background:#e5eeff}.pit-rate-edit{min-width:0;height:auto;color:var(--primary);box-shadow:none;background:0 0;border:0;padding:2px 7px;font-weight:500}.pit-rate-edit:hover{color:var(--primary-strong);background:#eaf1ff}.voucher-modal.pit-rate-modal{width:min(500px,100vw - 32px);max-width:500px}.pit-rate-modal .voucher-modal-body{background:var(--panel-bg-soft)}.special-tax-panel{padding:0;overflow:hidden}.special-tax-toolbar{min-height:48px}.special-tax-toolbar .contact-group-search{width:min(300px,38vw)}.special-tax-table-wrap{background:#fff;min-height:260px;max-height:calc(100vh - 245px);overflow:auto}.special-tax-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:960px}table.data-table.special-tax-table th,table.data-table.special-tax-table td{box-sizing:border-box;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;height:32px;padding:4px 9px;font-size:12px;line-height:1.25}table.data-table.special-tax-table th:last-child,table.data-table.special-tax-table td:last-child{border-right:0}table.data-table.special-tax-table thead th{z-index:3;height:32px;color:var(--text-h);white-space:normal;background:#eaf1ff;font-size:10.5px;position:sticky;top:0}.special-tax-code-col{width:150px}.special-tax-unit-col{width:145px}.special-tax-rate-col{width:125px}.special-tax-status-col{width:145px}.special-tax-action-col{width:112px}.special-tax-table td.number{text-align:right;font-variant-numeric:tabular-nums}.special-tax-table th:nth-child(4){text-align:right}.special-tax-table th:nth-child(6),.special-tax-table td:nth-child(6){z-index:2;text-align:center;box-shadow:-1px 0 var(--border);background:#fff;position:sticky;right:0}.special-tax-table thead th:nth-child(6){z-index:4;background:#eaf1ff}.special-tax-table tbody tr:hover td{background:#f3f7ff}.special-tax-table tbody tr.selected td{background:#edf3ff}.special-tax-table tbody tr.selected:hover td{background:#e5eeff}.special-tax-table tbody tr.special-tax-parent td:first-child,.special-tax-table tbody tr.special-tax-parent td:nth-child(2){font-weight:700}.special-tax-tree-cell{align-items:center;gap:5px;min-width:0;display:flex}.voucher-modal.special-tax-modal{width:min(720px,100vw - 32px);max-width:720px}.special-tax-modal .voucher-modal-body{background:var(--panel-bg-soft)}.special-tax-form{grid-template-columns:180px minmax(0,1fr);gap:11px 12px;padding:16px 20px 18px;display:grid}.special-tax-form label{min-width:0;color:var(--text);flex-direction:column;gap:5px;font-size:12px;display:flex}.special-tax-form .wide{grid-column:1/-1}.special-tax-form input,.special-tax-form select,.special-tax-form textarea{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:32px;color:var(--text-h);background:#fff;border-radius:5px;padding:5px 9px}.special-tax-form textarea{resize:vertical;min-height:58px}.special-tax-form input:focus,.special-tax-form select:focus,.special-tax-form textarea:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb1f}.resource-tax-panel{padding:0;overflow:hidden}.resource-tax-toolbar{min-height:48px}.resource-tax-toolbar .contact-group-search{width:min(305px,38vw)}.resource-tax-table-wrap{background:#fff;min-height:280px;max-height:calc(100vh - 245px);overflow:auto}.resource-tax-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:1280px}table.data-table.resource-tax-table th,table.data-table.resource-tax-table td{box-sizing:border-box;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;height:32px;padding:4px 9px;font-size:12px;line-height:1.25}table.data-table.resource-tax-table th:last-child,table.data-table.resource-tax-table td:last-child{border-right:0}table.data-table.resource-tax-table thead th{z-index:3;height:32px;color:var(--text-h);white-space:normal;background:#eaf1ff;font-size:10.5px;position:sticky;top:0}.resource-tax-table .rt-code{width:145px}.resource-tax-table .rt-name{width:310px}.resource-tax-table .rt-unit{width:140px}.resource-tax-table .rt-rate{width:115px}.resource-tax-table .rt-date{width:145px}.resource-tax-table .rt-price{width:185px}.resource-tax-table .rt-action{width:110px}.resource-tax-table th:nth-child(4),.resource-tax-table th:nth-child(7),.resource-tax-table td.number{text-align:right;font-variant-numeric:tabular-nums}.resource-tax-table th:nth-child(8),.resource-tax-table td:nth-child(8){z-index:2;text-align:center;box-shadow:-1px 0 var(--border);background:#fff;position:sticky;right:0}.resource-tax-table thead th:nth-child(8){z-index:4;background:#eaf1ff}.resource-tax-table tbody tr:hover td{background:#f3f7ff}.resource-tax-table tbody tr.selected td{background:#edf3ff}.resource-tax-table tbody tr.selected:hover td{background:#e5eeff}.resource-tax-table tbody tr.resource-tax-parent td:first-child,.resource-tax-table tbody tr.resource-tax-parent td:nth-child(2){font-weight:700}.resource-tax-tree-cell{align-items:center;gap:5px;min-width:0;display:flex}.voucher-modal.resource-tax-modal{width:min(700px,100vw - 32px);max-width:700px}.resource-tax-modal .voucher-modal-body{background:var(--panel-bg-soft)}.resource-tax-form{grid-template-columns:196px minmax(0,1fr) 214px;gap:12px 16px;padding:16px 28px 28px;display:grid}.resource-tax-form label{min-width:0;color:var(--text-h);flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.resource-tax-form .name{grid-column:span 2}.resource-tax-form .form-wide{grid-column:1/-1}.resource-tax-form input,.resource-tax-form select{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:40px;color:var(--text-h);background:#fff;border-radius:6px;padding:7px 10px;font-weight:400}.resource-tax-form input[inputmode=decimal]{text-align:right;font-variant-numeric:tabular-nums}.resource-tax-form input:disabled{color:var(--text);opacity:1;background:#eef1f5}.resource-tax-form input:focus,.resource-tax-form select:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb1f}.pit-rate-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 20px 18px;display:grid}.pit-rate-form label{min-width:0;color:var(--text);flex-direction:column;gap:5px;font-size:12px;display:flex}.pit-rate-form .wide{grid-column:1/-1;width:calc(50% - 6px)}.pit-rate-form input{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:31px;color:var(--text-h);text-align:right;font-variant-numeric:tabular-nums;background:#fff;border-radius:5px;padding:4px 9px}.pit-rate-form input:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 1px #2563eb1f}@media (width<=720px){.pit-rate-toolbar{align-items:flex-start}.pit-rate-schedules{gap:8px 16px}.pit-rate-form{grid-template-columns:1fr}.pit-rate-form .wide{grid-column:auto;width:100%}}.drawer-overlay{z-index:1600;background:#0f172a6b;justify-content:flex-end;display:flex;position:fixed;inset:0}.expense-transfer-drawer{background:#fff;flex-direction:column;width:min(800px,92vw);min-width:0;height:100%;display:flex;box-shadow:-8px 0 24px #0f172a2e}.expense-transfer-drawer>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;min-height:74px;padding:16px 20px 10px;display:flex}.expense-transfer-drawer h2{margin:0 0 14px;font-size:19px}.expense-transfer-drawer header p{color:var(--text);margin:0;font-size:12px}.expense-transfer-source{border:1px solid var(--border);background:#fff;max-height:310px;margin:0 20px;overflow:auto}.expense-transfer-source .data-table{min-width:600px}.expense-transfer-source th,.expense-transfer-source td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);padding:6px 10px;font-size:12px}.expense-transfer-source th:first-child,.expense-transfer-source td:first-child{text-align:center;width:42px}.expense-transfer-source tr.selected td{background:#edf3ff}.expense-transfer-count{border-bottom:1px solid var(--border);padding:8px 20px;font-size:12px}.expense-transfer-target{background:var(--panel-bg-soft);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 20px;display:grid}.expense-transfer-target h3,.expense-transfer-target>label,.expense-transfer-radios,.expense-transfer-info,.expense-transfer-target .voucher-error{grid-column:1/-1}.expense-transfer-target h3{margin:0;font-size:16px}.expense-transfer-target label{flex-direction:column;gap:5px;min-width:0;font-size:12px;display:flex}.expense-transfer-target input,.expense-transfer-target select{box-sizing:border-box;border:1px solid var(--border);background:#fff;border-radius:5px;width:100%;min-width:0;height:32px;padding:4px 8px}.expense-transfer-radios{gap:24px;display:flex}.expense-transfer-radios label{flex-direction:row;align-items:center;gap:6px}.expense-transfer-radios input{width:15px;height:15px}.expense-transfer-period{display:contents}.expense-transfer-target input:disabled,.expense-transfer-target select:disabled{color:var(--muted);background:#eef1f5}.expense-transfer-info{border:1px solid var(--primary-border);color:var(--text);background:#f5f8ff;align-items:center;gap:8px;padding:10px;font-size:12px;display:flex}.expense-transfer-drawer>footer{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;margin-top:auto;padding:12px 20px;display:flex}.expense-transactions-modal{width:min(980px,100vw - 32px);max-width:980px}.expense-transactions-modal .voucher-modal-header p{color:var(--muted);margin:2px 0 0;font-size:12px}.expense-transaction-empty{text-align:center;padding:22px}@media (width<=900px){.expense-category-panel .contact-group-search{width:100%}.expense-category-panel .contact-group-toolbar-actions{flex-wrap:wrap}.expense-transfer-target{grid-template-columns:1fr}.expense-transfer-period{grid-column:1/-1;grid-template-columns:1fr;gap:10px;display:grid}}@media (width<=700px){.contact-group-toolbar{flex-direction:column;align-items:stretch}.contact-group-search{width:100%}.fixed-asset-category-form-grid{grid-template-columns:1fr;gap:10px}.fixed-asset-category-form-grid .wide{grid-column:auto}.timesheet-sign-form-grid{grid-template-columns:1fr}.timesheet-sign-form-grid .wide{grid-column:auto}.contact-group-toolbar-actions{justify-content:flex-end;margin-left:0}.contact-group-form-grid{grid-template-columns:1fr}.contact-group-form-grid .wide{grid-column:auto}}.employee-form-modal{width:min(900px,100vw - 32px);max-width:900px}.employee-form-modal .voucher-modal-body{background:var(--panel-bg-soft);padding:12px 18px 16px;overflow-x:hidden}.employee-form-note{border:1px solid var(--primary-border);background:var(--primary-soft);color:var(--text);border-radius:6px;align-items:center;gap:8px;margin-bottom:10px;padding:8px 10px;font-size:11.5px;display:flex}.employee-form-note .icon{color:var(--primary);flex:none}.employee-general-grid,.employee-tab-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 12px;display:grid}.employee-general-grid label,.employee-tab-grid label,.employee-dependent-panel label{min-width:0;color:var(--text);flex-direction:column;gap:4px;font-size:11.5px;display:flex}.employee-general-grid input,.employee-tab-grid input,.employee-tab-grid textarea,.employee-dependent-panel input,.employee-bank-row input{box-sizing:border-box;border:1px solid var(--border);background:#fff;border-radius:5px;width:100%;min-width:0;height:32px;padding:5px 9px}.employee-active-field{justify-content:flex-start;align-self:end;align-items:center;width:max-content;min-height:32px;padding-bottom:6px;flex-direction:row!important;gap:8px!important}.employee-active-field input{flex:none;width:15px;height:15px}.employee-form-tabs{background:0 0;margin-top:12px;padding:0;overflow-x:auto}.employee-form-tabs .voucher-sub-tab-btn{white-space:nowrap}.employee-tab-badge{background:var(--primary-soft);min-width:18px;height:18px;color:var(--primary);border-radius:9px;place-items:center;margin-left:5px;padding:0 5px;font-size:10px;display:inline-grid}.employee-tab-content{min-height:170px;padding-top:12px}.employee-tab-grid .wide{grid-column:1/-1}.employee-tab-grid textarea{resize:vertical;min-height:58px}.employee-bank-table{border:1px solid var(--border);background:#fff;border-radius:6px;overflow:hidden}.employee-bank-head,.employee-bank-row{grid-template-columns:1fr 1.5fr;display:grid}.employee-bank-head{color:var(--text-h);background:#eaf1ff;font-size:11.5px;font-weight:700}.employee-bank-head span{border-right:1px solid var(--border);padding:8px 10px}.employee-bank-row{border-top:1px solid var(--primary-border);gap:6px;padding:6px}.employee-dependent-panel{border:1px dashed var(--primary-border);color:var(--primary);background:#fff;border-radius:7px;grid-template-columns:auto minmax(0,1fr) 180px;align-items:center;gap:12px;padding:18px;display:grid}.employee-dependent-panel>div{flex-direction:column;gap:4px;display:flex}.employee-dependent-panel span{color:var(--text);font-size:11.5px}@media (width<=900px){.employee-info-banner{grid-template-columns:auto 1fr auto}.employee-info-banner>button:not(.icon-btn){grid-column:2;width:max-content}.employee-general-grid,.employee-tab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-dependent-panel{grid-template-columns:auto 1fr}.employee-dependent-panel label{grid-column:2}}.report-hub-tabs{border-bottom:1px solid var(--border);background:var(--panel-bg);gap:28px;min-height:44px;padding:0 16px;display:flex;overflow-x:auto}.report-hub-tabs button{color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;padding:0 0 1px;font-size:13px;position:relative}.report-hub-tabs button.active{color:var(--primary);font-weight:600}.report-hub-tabs button.active:after{content:"";background:var(--primary);border-radius:2px 2px 0 0;height:2px;position:absolute;bottom:0;left:0;right:0}.report-hub-new{color:#fff;background:#ff8a34;border-radius:4px;margin-left:4px;padding:1px 5px;font-size:10px;line-height:16px;display:inline-flex}.report-hub-toolbar{border-bottom:1px solid var(--border);background:var(--panel-bg);justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;display:flex}.report-hub-search{border:1px solid var(--border);width:min(480px,48vw);height:34px;color:var(--text-muted);background:#fff;border-radius:5px;align-items:center;gap:8px;padding:0 11px;display:flex}.report-hub-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.report-hub-search input{width:100%;min-width:0;color:var(--text-h);font:inherit;background:0 0;border:0;outline:0;font-size:13px}.report-hub-toolbar-actions,.report-hub-language{align-items:center;gap:8px;display:flex}.report-hub-language{color:var(--text-muted);font-size:12px}.report-hub-language select,.report-hub-toolbar .secondary-btn{border:1px solid var(--border);height:34px;color:var(--text-h);font:inherit;background:#fff;border-radius:5px;font-size:12.5px}.report-hub-language select{padding:0 30px 0 10px}.report-hub-toolbar .secondary-btn{cursor:pointer;align-items:center;gap:6px;padding:0 12px;display:inline-flex}.report-hub-toolbar .secondary-btn:hover{border-color:var(--primary-border);color:var(--primary)}.bank-report-hub{border:1px solid var(--border);background:var(--panel-bg);border-radius:8px;min-height:calc(100vh - 190px);overflow:hidden}.bank-report-toolbar{padding:10px 12px}.bank-report-toolbar .report-hub-search{width:min(360px,42vw)}.bank-report-groups{padding:10px 12px 18px}.bank-report-group{border:1px solid var(--border);border-radius:6px;margin-bottom:10px;padding-top:0;overflow:hidden}.bank-report-group-heading{background:var(--panel-bg-soft);width:100%;min-height:38px;color:var(--text-h);font:inherit;text-align:left;border:0;border-radius:0;justify-content:space-between;align-items:center;padding:8px 12px;font-size:13px;display:flex}.bank-report-group-heading[aria-expanded=false] .icon{transform:rotate(-90deg)}.bank-report-group-heading .icon{color:var(--text-muted);transition:transform .15s}.bank-report-group .report-hub-list{border-top:1px solid var(--border)}.bank-report-group .report-hub-row{grid-template-columns:minmax(0,1fr) 28px 28px;min-height:42px}.bank-report-detail-shell .bank-report-detail-tabs{background:var(--page-bg);flex-wrap:nowrap;margin:-4px 0 8px;overflow-x:auto}.bank-report-detail-tabs .finance-tab-btn{color:var(--text);white-space:nowrap;flex:none;text-decoration:none}.bank-report-detail-tabs .finance-tab-btn.active{color:var(--primary)}.bank-report-detail-backbar{align-items:center;min-height:38px;margin-bottom:10px;display:flex}.bank-report-back-link{border:1px solid var(--border);min-height:32px;color:var(--text-h);background:#fff;border-radius:5px;align-items:center;gap:6px;padding:6px 11px;font-size:12.5px;font-weight:600;text-decoration:none;display:inline-flex}.bank-report-back-link:hover{border-color:var(--primary-border);color:var(--primary)}.compact-subtabs{border:1px solid var(--border);background:var(--panel-bg);border-bottom:0;border-radius:7px 7px 0 0;margin-bottom:0;padding-inline:12px}.tools-list-toolbar{flex-wrap:wrap;align-items:center;gap:8px}.tools-list-toolbar>.report-hub-search,.tools-list-toolbar>.search-input{width:min(330px,100%);min-width:220px}.tools-list-toolbar .list-header-actions{flex-wrap:wrap;margin-left:auto}.tools-list-toolbar select{background:#fff;width:auto;min-width:135px;height:32px;font-size:12px}.tools-list-toolbar .primary-btn{align-items:center;min-height:32px;padding:6px 12px;text-decoration:none;display:inline-flex}.prepaid-source-note{margin:0 0 10px}.tools-filter-anchor{position:relative}.tools-filter-anchor>.icon-btn.active{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.tools-filter-popover{z-index:40;border:1px solid var(--border);width:270px;box-shadow:var(--shadow-lg);background:#fff;border-radius:7px;padding:12px;position:absolute;top:calc(100% + 6px);right:0}.tools-filter-popover label{color:var(--text-muted);gap:5px;margin-bottom:10px;font-size:11.5px;display:grid}.tools-filter-popover select{width:100%;height:34px}.tools-filter-popover .secondary-btn{margin-left:auto}.module-report-detail-tabs{background:var(--page-bg);flex-wrap:nowrap;margin:-4px 0 8px;overflow-x:auto}.module-report-detail-tabs .finance-tab-btn{color:var(--text);white-space:nowrap;flex:none;text-decoration:none}.module-report-detail-tabs .finance-tab-btn.active{color:var(--primary)}.module-report-detail-backbar{align-items:center;min-height:38px;margin-bottom:10px;display:flex}.module-report-back-link{border:1px solid var(--border);min-height:32px;color:var(--text-h);background:#fff;border-radius:5px;align-items:center;gap:6px;padding:6px 11px;font-size:12.5px;font-weight:600;text-decoration:none;display:inline-flex}.module-report-back-link:hover{border-color:var(--primary-border);color:var(--primary)}.cash-report-hub{border:1px solid var(--border);background:var(--panel-bg);border-radius:8px;min-height:calc(100vh - 190px);overflow:hidden}.cash-report-toolbar{padding:10px 12px}.cash-report-toolbar .report-hub-search{width:min(360px,42vw)}.cash-report-list{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:8px 12px 18px;list-style:none;display:grid}.cash-report-list li{border-bottom:1px solid var(--border);align-items:center;gap:8px;min-width:0;min-height:42px;padding:7px 6px;display:flex}.cash-report-list li:nth-child(odd){border-right:1px solid var(--border)}.cash-report-list li:nth-child(2n){padding-left:14px}.cash-report-list a{min-width:0;color:var(--text-h);font-size:12.5px;text-decoration:none}.cash-report-list a:hover{color:var(--primary);text-decoration:underline}.cash-report-sample-button{border:1px solid var(--border);width:28px;height:28px;color:var(--text-muted);background:#fff;border-radius:5px;flex:0 0 28px;place-items:center;margin-left:auto;padding:0;display:inline-grid}.cash-report-sample-button:hover{border-color:var(--primary-border);background:var(--primary-soft);color:var(--primary)}.report-sample-overlay{z-index:1300;background:#1118277a;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.report-sample-dialog{background:#fff;border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto;width:min(1120px,100vw - 36px);max-height:calc(100vh - 36px);display:grid;overflow:hidden;box-shadow:0 20px 60px #0f172a47}.report-sample-header,.report-sample-footer{border-bottom:1px solid var(--border);align-items:center;padding:10px 14px;display:flex}.report-sample-header{justify-content:space-between}.report-sample-navigation{gap:8px;display:flex}.report-sample-header>span{color:var(--text-muted);font-size:12px}.report-sample-page{color:#111;min-height:420px;padding:30px 38px;font-family:Times New Roman,serif;position:relative;overflow:auto}.report-sample-page h2{text-align:center;margin:0;font-size:25px}.report-sample-subtitle{text-align:center;margin:7px 0 16px;font-size:16px;font-style:italic;font-weight:700}.report-sample-table-wrap{overflow-x:auto}.report-sample-table{border-collapse:collapse;width:100%;min-width:720px;font-size:15px}.report-sample-table th,.report-sample-table td{border:1px solid #333;padding:8px 10px}.report-sample-table th{text-align:center;background:#fff}.report-sample-table td{text-align:left}.report-sample-table td.is-number{text-align:right}.report-sample-watermark{color:#2563eb54;white-space:nowrap;pointer-events:none;font:800 48px/1 Arial,sans-serif;position:absolute;top:52%;left:50%;transform:translate(-50%,-50%)rotate(-28deg)}.report-sample-footer{box-sizing:border-box;border-top:1px solid var(--border);background:var(--panel-bg-soft);border-bottom:0;justify-content:center;min-height:44px;padding:8px 20px}.report-sample-footer .primary-btn{box-sizing:border-box;background:var(--primary);height:28px;min-height:28px;box-shadow:none;color:#fff;border-radius:6px;justify-content:center;align-items:center;padding:0 12px;font-size:12px;font-weight:500;line-height:16px;text-decoration:none;display:inline-flex}.report-sample-footer .muted{font-size:12px}.report-sample-footer .primary-btn:hover{background:var(--primary-dark);color:#fff}@media (width<=760px){.cash-report-list{grid-template-columns:1fr}.cash-report-list li:nth-child(odd){border-right:0}.cash-report-list li:nth-child(2n){padding-left:6px}.report-sample-page{padding:24px 16px}}.report-visibility-panel{border:1px solid var(--primary-border);background:var(--panel-bg);box-shadow:var(--shadow);border-radius:8px;margin:12px 16px 0;padding:14px 16px}.report-visibility-panel>div:first-child{flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:12px;display:flex}.report-visibility-panel>div:first-child span{color:var(--text-muted);font-size:12px}.report-visibility-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;max-height:min(360px,50vh);padding:2px;display:grid;overflow:auto}.report-visibility-panel .report-visibility-grid>label{box-sizing:border-box;border:1px solid var(--border);background:var(--panel-bg);min-width:0;min-height:42px;color:var(--text);text-align:left;cursor:pointer;border-radius:6px;grid-template-columns:16px minmax(0,1fr);justify-content:start;align-items:start;gap:9px;margin:0;padding:10px;font-size:12px;line-height:18px;display:grid}.report-visibility-panel .report-visibility-grid>label:hover{border-color:var(--primary-border);background:var(--panel-bg-soft)}.report-visibility-panel .report-visibility-grid>label:focus-within{outline:2px solid var(--primary);outline-offset:-2px}.report-visibility-panel .report-visibility-grid input[type=checkbox]{width:16px;min-width:16px;max-width:16px;height:16px;min-height:16px;accent-color:var(--primary);cursor:pointer;justify-self:start;margin:1px 0 0;padding:0}.report-visibility-panel .report-visibility-grid>label>span{text-align:left;white-space:normal;overflow-wrap:anywhere;min-width:0}.reports-layout{border:1px solid var(--border);background:var(--panel-bg);border-radius:8px;grid-template-columns:230px minmax(0,1fr);min-height:560px;margin:12px 16px 0;display:grid;overflow:hidden}.report-category-panel{border-right:1px solid var(--border);background:var(--panel-bg-soft);padding:10px 8px}.report-category-list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.report-category-list li{color:var(--text);border-radius:6px;font-size:12.5px}.report-category-list li button{width:100%;min-height:36px;color:inherit;font:inherit;font-weight:inherit;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;display:flex}.report-category-list li.active{background:var(--primary-soft);color:var(--primary);font-weight:600}.item-ledger-filters{grid-template-columns:minmax(280px,2fr) minmax(160px,1fr) 150px 150px;align-items:end;gap:12px;margin-bottom:12px;display:grid}.item-ledger-filters label,.item-ledger-picker{color:var(--text);gap:5px;font-size:12px;display:grid}.item-ledger-picker{position:relative}.item-ledger-options{z-index:30;background:var(--panel-bg);border:1px solid var(--border);max-height:260px;box-shadow:var(--shadow);border-radius:7px;padding:4px;position:absolute;top:calc(100% + 3px);left:0;right:0;overflow-y:auto}.item-ledger-options button{width:100%;color:var(--text-h);text-align:left;background:0 0;border:0;padding:7px 9px;font-size:12.5px;display:block}.item-ledger-options button:hover,.item-ledger-options button:focus-visible{background:var(--primary-soft)}@media (width<=900px){.flow-row,.reports-layout,.report-list.report-grid{grid-template-columns:1fr}.item-ledger-filters{grid-template-columns:1fr 1fr}}@media (width<=600px){.item-ledger-filters{grid-template-columns:1fr}}.chart-tabs{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.chart-tab{color:var(--text);border:1px solid var(--border);background:0 0;padding:6px 12px;font-size:12px;font-weight:500}.chart-tab.active{background:var(--primary-soft);color:var(--primary);border-color:var(--primary-border)}.product-catalog-view .catalog-view-head{align-items:center;gap:12px;margin-bottom:16px;display:flex}.product-catalog-view .catalog-view-head>.icon-btn{width:38px;height:38px;color:var(--text-h);background:var(--panel-bg);border:1px solid var(--border);border-radius:10px;flex-shrink:0;box-shadow:0 4px 12px #0f172a0d}.product-catalog-view .catalog-view-title{flex-direction:column;gap:2px;display:flex}.product-catalog-view .catalog-view-title h2{margin:0;font-size:20px;line-height:1.2}.product-catalog-view .catalog-view-title span{color:var(--text);font-size:12px}.product-catalog-view .catalog-tabs{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.product-catalog-view .catalog-tab{color:var(--text-h);background:var(--panel-bg);border:1px solid var(--border);border-radius:999px;align-items:center;gap:7px;padding:7px 13px;font-size:12.5px;font-weight:500;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.product-catalog-view .catalog-tab:hover{border-color:var(--primary-border);color:var(--primary)}.product-catalog-view .catalog-tab b{text-align:center;background:var(--panel-bg-soft);min-width:20px;color:var(--text);border-radius:999px;padding:1px 6px;font-size:11px;font-weight:600}.product-catalog-view .catalog-tab.active{color:#fff;background:var(--primary-gradient);border-color:#0000}.product-catalog-view .catalog-tab.active b{color:#fff;background:#ffffff40}.product-catalog-view .catalog-summary{background:var(--panel-bg-soft);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin:2px 0 12px;padding:9px 14px;font-size:12.5px;display:flex}.product-catalog-view .catalog-summary-label{color:var(--text)}.product-catalog-view .catalog-summary strong{color:var(--text-h);font-weight:600}.product-catalog-view .catalog-summary-count{color:var(--primary);margin-left:auto;font-weight:600}.product-catalog-view .data-table td,.product-catalog-view .data-table th{padding-top:11px;padding-bottom:11px}.product-catalog-view .data-table tbody tr:nth-child(2n){background:#0f172a06}.product-catalog-view .data-table tbody tr:hover{background:var(--primary-soft)}.chart-caption{margin-bottom:8px;font-size:12px}.chart-legend{border-top:1px solid var(--border);flex-wrap:wrap;gap:16px;margin-top:10px;padding-top:10px;display:flex}.chart-legend-item{color:var(--text-h);align-items:center;gap:6px;font-size:12px;display:flex}.chart-legend-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.kv-columns{grid-template-columns:repeat(2,1fr);gap:24px;display:grid}.kv-list{flex-direction:column;gap:10px;display:flex}.kv-row{color:var(--text-h);justify-content:space-between;align-items:center;font-size:13px;display:flex}.kv-row.indent{color:var(--text);padding-left:16px;font-size:12.5px}.kv-row .kv-value{color:var(--primary);font-weight:600}@media (width<=720px){.kv-columns{grid-template-columns:1fr}}.donut-wrap{flex-direction:column;align-items:center;gap:14px;display:flex}.donut-chart{width:170px;height:170px;position:relative}.donut-center{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.donut-total{color:var(--text-h);font-size:22px;font-weight:700}.donut-total-label{letter-spacing:.5px;color:var(--text);opacity:.7;font-size:9.5px}.donut-legend{flex-direction:column;gap:8px;width:100%;display:flex}.donut-legend-item{align-items:center;gap:8px;font-size:12.5px;display:flex}.donut-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.donut-legend-label{color:var(--text-h);flex:1}.donut-legend-value{color:var(--text);font-size:12px}.alert-list{flex-direction:column;gap:10px;display:flex}.alert-item{background:var(--panel-bg-soft);border:1px solid var(--border);border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.alert-icon{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.alert-icon.tone-danger{color:var(--danger);background:#ef444424}.alert-icon.tone-warning{background:var(--warning-soft);color:var(--warning)}.alert-icon.tone-info{color:#2563eb;background:#3b82f624}.alert-body{flex:1;min-width:0}.alert-body strong{color:var(--text-h);font-size:13px;display:block}.alert-body p{margin-top:2px;font-size:12px}.alert-action{white-space:nowrap;flex-shrink:0;align-self:center;font-size:11.5px;font-weight:600}.alert-action.tone-danger{color:var(--danger)}.alert-action.tone-warning{color:var(--warning)}.alert-action.tone-info{color:#2563eb}.agent-config-note{margin:-8px 0 18px}.brain-list{flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.brain-list li{align-items:flex-start;gap:10px;display:flex}.brain-list strong{color:var(--text-h);font-size:13px;display:block}.brain-list p{margin-top:2px;font-size:12px}.brain-icon{background:var(--primary-soft);width:30px;height:30px;color:var(--primary);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.decision-list{flex-direction:column;gap:10px;margin:0 0 14px;padding:0;list-style:none;display:flex}.decision-list li{color:var(--text-h);align-items:flex-start;gap:10px;font-size:13px;display:flex}.decision-index{background:var(--primary-soft);width:20px;height:20px;color:var(--primary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;font-weight:700;display:flex}.cta-btn{background:var(--primary);color:#fff;border-radius:6px;justify-content:center;align-items:center;gap:6px;width:100%;padding:10px;font-size:13px;font-weight:700;text-decoration:none;display:flex}.timeline{flex-direction:column;gap:12px;display:flex}.timeline-item{color:var(--text-h);align-items:center;gap:10px;font-size:13px;display:flex}.timeline-time{width:42px;font-family:var(--mono);color:var(--text);flex-shrink:0;font-size:12px}.timeline-dot{background:var(--primary);border-radius:50%;flex-shrink:0;width:6px;height:6px}.add-schedule-btn{justify-content:center;align-items:center;gap:6px;width:100%;margin-top:14px;display:flex}.gold-banner{background:var(--primary-soft);border:1px solid var(--primary-border);color:var(--primary);letter-spacing:.4px;text-align:center;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:14px;font-size:13px;font-weight:700;display:flex}.data-table-shell{min-width:0;color:var(--text-h)}.data-table-wrap{background:var(--panel-bg);border:1px solid var(--border);border-radius:6px;max-height:560px;overflow:auto}.data-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.data-table th{text-align:left;height:var(--datatable-header-height);box-sizing:border-box;padding:5px var(--datatable-cell-inline);border-bottom:1px solid var(--border);border-right:1px solid var(--border-subtle);z-index:2;background:var(--panel-bg-soft);color:var(--text-h);letter-spacing:0;text-transform:none;white-space:nowrap;font-size:11px;font-weight:650;position:sticky;top:0}.data-table td{height:var(--datatable-row-height);box-sizing:border-box;padding:5px var(--datatable-cell-inline);border-bottom:1px solid var(--border);border-right:1px solid var(--border-subtle);background:var(--panel-bg);color:var(--text-h);white-space:nowrap}.data-table :is(th,td):last-child{border-right:0}.data-table tbody tr:hover td{background:var(--primary-soft)}.data-table tbody tr.is-selected td,.data-table tbody tr[aria-selected=true] td{background:color-mix(in srgb, var(--primary-soft) 78%, var(--panel-bg));box-shadow:inset 0 1px 0 var(--primary-border), inset 0 -1px 0 var(--primary-border)}.data-table td>input,.data-table td>select{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:28px;min-height:28px;color:var(--text-h);background:#fff;border-radius:4px;padding:2px 7px;font-size:11.5px;line-height:22px}.data-table td>input[type=checkbox]{width:14px;min-width:14px;height:14px;min-height:14px;accent-color:var(--primary);border:none;padding:0}.data-table td>select{padding:2px 20px 2px 6px}.data-table td>input:focus,.data-table td>select:focus{border-color:var(--primary);outline:1px solid var(--primary);outline-offset:-1px}.data-table-footer{min-height:38px;color:var(--text);justify-content:space-between;align-items:center;gap:12px;padding:3px 8px;font-size:11.5px;display:flex}.data-table-total-count{white-space:nowrap}.data-table-total-count strong{color:var(--text-h)}.data-table-footer .pagination{border:0;justify-content:flex-end;margin:0;padding:0}.data-table-footer .pagination-arrow,.data-table-footer .pagination-page{border-radius:4px;min-width:26px;height:26px;padding:0 6px;font-size:11.5px}.data-table-footer .pagination-size{border-radius:4px;height:28px;margin-left:0;font-size:11.5px}.catalog-tree-toggle{border:1px solid var(--border);background:var(--panel-bg-soft);width:16px;height:16px;color:var(--text-h);cursor:pointer;border-radius:3px;justify-content:center;align-items:center;margin-right:6px;padding:0;font-size:11px;line-height:1;display:inline-flex}.data-table tr:last-child td{border-bottom:none}.sortable-th{position:relative;padding:0!important}.sortable-th-inner{box-sizing:border-box;cursor:pointer;border-radius:0;align-items:center;gap:6px;min-height:29px;padding:4px 8px;display:flex;position:relative}.sortable-th-inner:hover{background:var(--panel-bg-soft)}.sortable-th-inner:hover .sortable-th-trigger,.sortable-th-inner:focus-visible .sortable-th-trigger{color:var(--text-h)}.sortable-th-label{flex:none;align-items:center;gap:4px;display:inline-flex}.sortable-th-trigger{width:20px;height:20px;color:var(--text);flex:none;justify-content:center;align-items:center;display:inline-flex}.sortable-th-menu{z-index:30;border:1px solid var(--border);background:var(--panel-bg);min-width:168px;box-shadow:var(--shadow);text-transform:none;letter-spacing:normal;border-radius:10px;flex-direction:column;padding:6px;font-size:13px;display:flex;position:absolute;top:calc(100% + 4px);left:0}.sortable-th-menu-portal{z-index:1000;position:fixed}.sortable-th-menu button{color:var(--text-h);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;padding:7px 8px;font-size:13px;font-weight:400;display:flex}.sortable-th-menu button:hover{background:var(--panel-bg-soft)}.sortable-th-menu-sep{background:var(--border);height:1px;margin:4px 2px}.data-table th.is-pinned,.data-table td.is-pinned{z-index:2;background:var(--panel-bg);position:sticky}.data-table th.is-pinned{z-index:3}.tag{white-space:nowrap;border-radius:999px;align-items:center;padding:3px 9px;font-size:11px;font-weight:600;display:inline-flex}.tag.tone-default{background:var(--panel-bg-soft);border:1px solid var(--border);color:var(--text)}.tag.tone-up{color:var(--green);background:#22c55e24}.tag.tone-down{color:var(--danger);background:#ef444424}.tag.tone-warning{background:var(--warning-soft);color:var(--warning)}.tag.tone-info{color:#2563eb;background:#3b82f624}.progress-list{flex-direction:column;gap:12px;display:flex}.progress-row{color:var(--text-h);grid-template-columns:1fr 2fr minmax(44px,auto);align-items:center;gap:10px;font-size:13px;display:grid}.progress-bar{background:var(--panel-bg-soft);border-radius:999px;height:8px;overflow:hidden}.progress-fill{background:var(--primary);border-radius:999px;height:100%}.progress-fill.tone-up{background:var(--green)}.progress-fill.tone-down{background:var(--danger)}.progress-total,.ranked-list-total{flex-direction:column;gap:2px;margin-bottom:14px;display:flex}.checklist{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.checklist li{color:var(--text-h);align-items:center;gap:8px;font-size:13px;display:flex}.checklist li .tag{margin-left:auto}.report-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.report-list li{border-bottom:1px solid var(--border);color:var(--text-h);align-items:center;gap:8px;padding:10px 0;font-size:12.5px;display:flex}.report-list li:last-child{border-bottom:none;padding-bottom:0}.report-list li:before{content:"";background:var(--primary);border-radius:50%;flex-shrink:0;width:5px;height:5px}.report-list li a{color:var(--primary);font-weight:600;text-decoration:none}.report-list li a:hover{text-decoration:underline}.process-flow-title{text-align:center;letter-spacing:.5px;color:var(--text-h);margin:0 0 22px;font-size:12.5px;font-weight:700}.process-flow-steps{flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:20px 2px;display:flex}.process-flow-step-wrap{align-items:center;gap:2px;display:flex}.process-flow-step-col{position:relative}.process-flow-step{text-align:center;width:96px;color:var(--text-h);flex-direction:column;align-items:center;gap:8px;font-size:11.5px;display:flex}button.process-flow-step{background:0 0;border:1px solid #0000;border-radius:8px;padding:6px 4px}.process-flow-step.clickable{cursor:pointer}.process-flow-step.clickable:hover{border-color:var(--primary-border);background:var(--primary-soft)}.process-flow-menu{background:var(--panel-bg);border:1px solid var(--border);width:200px;box-shadow:var(--shadow);z-index:30;border-radius:10px;flex-direction:column;gap:2px;padding:6px;display:flex;position:absolute;top:calc(100% + 4px);left:50%;transform:translate(-50%)}.process-flow-menu button{color:var(--text-h);text-align:left;background:0 0;border:none;border-radius:6px;padding:8px 10px;font-size:12.5px;font-weight:500}.process-flow-menu button:hover{background:var(--primary-soft);color:var(--primary)}.tool-bulk-modal{width:min(1500px,100vw - 28px);max-width:1500px}.tool-bulk-header{grid-template-columns:minmax(220px,.7fr) minmax(200px,.6fr) minmax(360px,1.7fr)}.tool-bulk-reason{grid-column:auto}.tool-bulk-actions{margin:12px 0 8px}.tool-bulk-paste{border:1px solid var(--primary-border);background:var(--primary-soft);border-radius:8px;margin-bottom:10px;padding:12px}.tool-bulk-paste p{color:var(--text-muted);margin:0 0 8px;font-size:12px}.tool-bulk-paste textarea{resize:vertical;background:#fff;width:100%;min-height:92px}.tool-bulk-paste>div{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.tool-bulk-table-wrap{border:1px solid var(--border);border-radius:8px}.tool-bulk-table{table-layout:fixed;width:1380px;min-width:1380px}.tool-bulk-table th{white-space:normal;vertical-align:middle;height:38px;padding:6px 8px;line-height:1.25}.tool-bulk-table td{vertical-align:middle;height:42px;padding:4px 6px;overflow:hidden}.tool-bulk-table input,.tool-bulk-table select{box-sizing:border-box;border:1px solid var(--border);background:#fff;border-radius:5px;width:100%;min-width:0;max-width:100%;height:32px;margin:0;padding:4px 8px;display:block}.tool-bulk-table .icon-btn{width:28px;min-width:28px;height:28px;padding:0}.tool-bulk-table th:first-child{width:40px}.tool-bulk-table th:nth-child(2){width:135px}.tool-bulk-table th:nth-child(3){width:190px}.tool-bulk-table th:nth-child(4){width:175px}.tool-bulk-table th:nth-child(5){width:190px}.tool-bulk-table th:nth-child(6){width:80px}.tool-bulk-table th:nth-child(7){width:95px}.tool-bulk-table th:nth-child(8){width:125px}.tool-bulk-table th:nth-child(9){width:130px}.tool-bulk-table th:nth-child(10){width:90px}.tool-bulk-table th:nth-child(11),.tool-bulk-table th:nth-child(12){width:105px}.tool-bulk-table th:nth-child(13){width:42px}@media (width<=900px){.tool-bulk-header{grid-template-columns:1fr 1fr}.tool-bulk-reason{grid-column:1/-1}}.process-flow-icon{background:var(--primary-soft);border:1px solid var(--primary-border);width:42px;height:42px;color:var(--primary);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.process-flow-arrow{color:var(--border);flex-shrink:0;margin-top:-20px}.process-flow-branch-grid{justify-items:center;gap:0 8px;display:grid}.process-flow-branch-top,.process-flow-branch-bottom{justify-content:center;width:100%;display:flex}.process-flow-branch-timeline{border-top:1px solid var(--border);justify-content:center;align-items:center;width:100%;height:24px;display:flex;position:relative}.process-flow-branch-dot{background:var(--panel-bg);border:1px solid var(--border);border-radius:50%;width:7px;height:7px;position:absolute;top:-3.5px;left:50%;transform:translate(-50%)}.process-flow-branch-arrow{color:var(--border);position:absolute;top:-6px;right:-14px}.process-flow-branch-bottom{min-height:78px}.quick-links{flex-wrap:wrap;gap:10px;display:flex}.quick-links-item{border:1px solid var(--border);color:var(--text-h);border-radius:8px;flex:1;justify-content:center;align-items:center;gap:8px;min-width:150px;padding:12px 16px;font-size:12.5px;display:flex}.report-category-list li button>span{align-items:center;gap:7px;min-width:0;display:flex}.report-category-list li button small{min-width:20px;color:var(--text-muted);text-align:right;font-size:11px}.report-category-list li.active button small{color:var(--primary)}.report-hub-content{min-width:0;padding:0 20px 24px}.report-hub-content-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:58px;display:flex}.report-hub-content-heading h2{color:var(--text-h);margin:0 0 3px;font-size:16px}.report-hub-content-heading span{color:var(--text-muted);font-size:11.5px}.report-hub-group{padding-top:16px}.report-hub-group h3{color:var(--text-h);margin:0 0 8px;font-size:13px;font-weight:700}.report-hub-list{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0;list-style:none;display:grid}.report-hub-row{border-bottom:1px dashed var(--border);grid-template-columns:20px minmax(0,1fr) 28px 28px;align-items:center;gap:7px;min-height:48px;padding:5px 7px;display:grid}.report-hub-row:nth-child(odd){border-right:1px solid var(--border)}.report-hub-file-icon{color:var(--primary)}.report-hub-row.is-unavailable .report-hub-file-icon{color:var(--text-muted)}.report-hub-row-copy{min-width:0}.report-hub-row-copy a,.report-hub-row-copy>span{color:var(--text-h);font-size:12.5px;line-height:17px;text-decoration:none;display:block}.report-hub-row-copy a:hover{color:var(--primary);text-decoration:underline}.report-hub-row.is-unavailable .report-hub-row-copy>span{color:var(--text-muted)}.report-hub-row-copy small{color:var(--text-muted);margin-top:1px;font-size:10.5px;display:block}.report-hub-open,.report-hub-favorite{width:28px;height:28px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;display:grid}.report-hub-open:hover,.report-hub-favorite:hover{background:var(--primary-soft);color:var(--primary)}.report-hub-favorite.is-active{color:var(--primary)}.report-hub-favorite.is-active .icon{fill:currentColor}.report-hub-empty{min-height:420px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:36px;display:flex}.report-hub-empty-icon{background:var(--primary-soft);width:54px;height:54px;color:var(--primary);border-radius:50%;place-items:center;margin-bottom:12px;display:grid}.report-hub-empty strong{color:var(--text-h);font-size:15px}.report-hub-empty p{max-width:560px;margin:7px 0 16px;font-size:12.5px;line-height:1.55}.report-hub-empty .primary-btn{background:var(--primary);color:#fff;border-radius:5px;align-items:center;min-height:34px;padding:0 14px;font-size:12.5px;font-weight:600;text-decoration:none;display:inline-flex}.financial-analysis-page{min-height:calc(100vh - 130px);margin:-4px -2px 0}.financial-analysis-tabs{border-bottom:1px solid var(--border);background:var(--panel-bg);gap:30px;min-height:44px;padding:0 16px;display:flex;overflow-x:auto}.financial-analysis-tabs button{color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;font-size:13px;position:relative}.list-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.list-header>p,.list-header>p.muted,.list-header>span.muted{color:var(--text);align-items:center;gap:6px;margin:0 auto 0 0;font-size:13px;font-weight:500;display:inline-flex}.list-header-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.list-header>button:not(.primary),.list-header-actions>button:not(.primary),.report-filter-bar button:not(.icon-btn):not(.primary),.report-toolbar-actions button:not(.icon-btn):not(.primary),.btn-select-params{border-radius:var(--radius-sm);background:var(--panel-bg);border:1px solid var(--border);height:32px;min-height:32px;color:var(--text-h);box-shadow:var(--shadow-sm);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:6px;padding:4px 12px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.list-header>button:not(.primary):hover,.list-header-actions>button:not(.primary):hover,.report-filter-bar button:not(.icon-btn):not(.primary):hover,.report-toolbar-actions button:not(.icon-btn):not(.primary):hover,.btn-select-params:hover{border-color:var(--primary-border);background:var(--primary-soft);color:var(--primary);transform:translateY(-1px)}.list-header>button.primary,.list-header-actions>button.primary{border-radius:var(--radius-sm);background:var(--primary-gradient);color:#fff;cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;height:32px;min-height:32px;padding:4px 14px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 8px #145bff33}.list-header>button.primary:hover,.list-header-actions>button.primary:hover{background:var(--primary-gradient-hover);transform:translateY(-1px);box-shadow:0 4px 12px #145bff4d}.icon-btn{border-radius:var(--radius-sm);background:var(--panel-bg);border:1px solid var(--border);width:32px;min-width:32px;height:32px;color:var(--text-muted);box-shadow:var(--shadow-sm);cursor:pointer;justify-content:center;align-items:center;padding:0;transition:all .15s;display:inline-flex}.icon-btn:hover:not(:disabled){border-color:var(--primary-border);background:var(--primary-soft);color:var(--primary);transform:translateY(-1px)}.financial-analysis-tabs button.active{color:var(--primary);font-weight:600}.financial-analysis-tabs button.active:after{content:"";background:var(--primary);height:2px;position:absolute;bottom:0;left:0;right:0}.financial-analysis-body{padding:12px 16px 24px}.financial-analysis-toolbar{justify-content:space-between;align-items:center;gap:16px;min-height:42px;margin-bottom:10px;display:flex}.financial-analysis-toolbar h2{color:var(--text-h);margin:0;font-size:18px}.financial-analysis-toolbar>div:first-child>span{color:var(--text-muted);font-size:11.5px}.financial-analysis-toolbar>div:last-child{align-items:center;gap:10px;display:flex}.financial-analysis-toolbar label{color:var(--text);align-items:center;gap:7px;font-size:12px;display:flex}.financial-analysis-toolbar select,.financial-analysis-toolbar button{border:1px solid var(--border);height:34px;color:var(--text-h);font:inherit;background:#fff;border-radius:5px;font-size:12px}.financial-analysis-toolbar select{min-width:92px;padding:0 26px 0 9px}.financial-analysis-toolbar button{cursor:pointer;align-items:center;gap:6px;padding:0 11px;display:inline-flex}.financial-analysis-toolbar button:hover{border-color:var(--primary-border);color:var(--primary)}.financial-analysis-chart-panel{margin-bottom:14px;padding:16px 20px 10px}.financial-analysis-chart-panel .panel-header{margin-bottom:2px}.financial-analysis-chart-panel .panel-header h2{font-size:14px}.financial-analysis-chart-panel>.muted{margin:3px 0 10px;font-size:11.5px}.analysis-updated{color:var(--text-muted);align-items:center;gap:5px;margin:8px 0 0;font-size:11px;display:flex}.analysis-disclosure{border-left:3px solid var(--primary-border);background:var(--primary-soft);color:var(--text);margin:10px 0 0;padding:8px 10px;font-size:11px;line-height:1.5}.financial-ratios-panel{padding:16px 20px}.financial-ratio-summary{border:1px solid var(--border);border-radius:7px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px;display:grid;overflow:hidden}.financial-ratio-summary>div{background:var(--panel-bg-soft);gap:4px;padding:11px 14px;display:grid}.financial-ratio-summary>div+div{border-left:1px solid var(--border)}.financial-ratio-summary span{color:var(--text-muted);font-size:11px}.financial-ratio-summary strong{color:var(--text-h);font-size:15px}.financial-ratio-table th:not(:first-child),.financial-ratio-table td:not(:first-child){text-align:right}.financial-ratio-table th:nth-child(2),.financial-ratio-table td:nth-child(2){text-align:center}.financial-ratio-table th:last-child,.financial-ratio-table td:last-child{text-align:left;white-space:nowrap}.financial-ratio-section td{background:var(--panel-bg-soft);color:var(--text-h);font-weight:700;text-align:left!important}.financial-ratio-table .ratio-up{color:#087a4b;font-weight:600}.financial-ratio-table .ratio-down{color:#c93f3f;font-weight:600}.analysis-report-browser{border:1px solid var(--border);background:var(--panel-bg);border-radius:8px;min-height:560px;padding:14px 18px 24px}.analysis-report-search{border:1px solid var(--border);width:min(520px,100%);height:34px;color:var(--text-muted);border-radius:5px;align-items:center;gap:8px;padding:0 10px;display:flex}.analysis-report-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.analysis-report-search input{width:100%;color:var(--text-h);font:inherit;border:0;outline:0;font-size:12.5px}.analysis-report-browser section{margin-top:20px}.analysis-report-browser section h2{margin:0 0 9px;font-size:14px}.analysis-report-grid{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.analysis-report-grid a{border-bottom:1px dashed var(--border);min-height:46px;color:var(--text-h);grid-template-columns:22px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:5px 10px;font-size:12.5px;text-decoration:none;display:grid}.analysis-report-grid a:nth-child(odd){border-right:1px solid var(--border)}.analysis-report-grid a>.icon:first-child{color:var(--primary)}.analysis-report-grid a>.icon:last-child{color:var(--text-muted)}.analysis-report-grid a:hover{background:var(--primary-soft);color:var(--primary)}.analysis-ava{min-height:560px}.analysis-ava-hero{border:1px solid var(--primary-border);background:linear-gradient(110deg, var(--primary-soft), #fff 72%);border-radius:10px;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:16px;padding:22px;display:grid}.analysis-ava-hero>span:first-child{background:var(--primary);color:#fff;border-radius:50%;place-items:center;width:54px;height:54px;display:grid}.analysis-ava-hero h2{margin:0 0 6px;font-size:17px}.analysis-ava-hero p{max-width:760px;color:var(--text);margin:0;font-size:12.5px;line-height:1.55}.analysis-ava-status{border:1px solid var(--primary-border);color:var(--primary);border-radius:99px;padding:6px 9px;font-size:11px;font-weight:600}.analysis-ava>h3{margin:22px 0 10px;font-size:14px}.analysis-ava-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.analysis-ava-grid a,.analysis-ava-grid button{border:1px solid var(--border);background:var(--panel-bg);min-height:76px;color:var(--text-h);font:inherit;text-align:left;cursor:pointer;border-radius:8px;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:11px 13px;font-size:12.5px;text-decoration:none;display:grid}.analysis-ava-grid a:hover,.analysis-ava-grid button:hover{border-color:var(--primary-border);box-shadow:var(--shadow)}.analysis-ava-grid>*>.icon:first-child{color:var(--primary)}.analysis-ava-grid small{color:var(--text-muted);margin-top:4px;font-size:10.5px;display:block}@media (width<=1000px){.analysis-ava-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.financial-analysis-toolbar{flex-direction:column;align-items:flex-start}}@media (width<=720px){.financial-analysis-tabs{gap:20px;padding-inline:12px}.financial-analysis-body{padding-inline:12px}.financial-analysis-toolbar>div:last-child{flex-wrap:wrap;align-items:stretch;width:100%}.financial-ratio-summary{grid-template-columns:1fr}.financial-ratio-summary>div+div{border-top:1px solid var(--border);border-left:0}.analysis-report-grid{grid-template-columns:1fr}.analysis-report-grid a:nth-child(odd){border-right:0}.analysis-ava-hero{grid-template-columns:48px 1fr}.analysis-ava-status{grid-column:1/-1;width:fit-content}.analysis-ava-grid{grid-template-columns:1fr}}@media (width<=1050px){.report-visibility-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-hub-list{grid-template-columns:1fr}.report-hub-row:nth-child(odd){border-right:0}}@media (width<=720px){.report-hub-tabs{gap:20px;padding-inline:12px}.report-hub-toolbar{flex-direction:column;align-items:stretch;padding-inline:12px}.report-hub-search{width:auto}.report-hub-toolbar-actions{justify-content:space-between}.report-hub-language>span{display:none}.report-visibility-panel{margin-inline:12px}.report-visibility-panel>div:first-child{flex-direction:column;align-items:flex-start}.report-visibility-grid{grid-template-columns:1fr}.reports-layout{grid-template-columns:1fr;margin-inline:12px}.report-category-panel{border-right:0;border-bottom:1px solid var(--border)}.report-category-list{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.report-hub-content{padding-inline:12px}}@media (width<=480px){.report-category-list{grid-template-columns:1fr}.report-hub-toolbar-actions{flex-direction:column;align-items:stretch}.report-hub-language select,.report-hub-toolbar .secondary-btn{width:100%}}.quick-links-item>svg{color:var(--primary)}button.quick-links-item.clickable{cursor:pointer;background:0 0;font-family:inherit}button.quick-links-item.clickable:hover{border-color:var(--primary);color:var(--primary)}.quick-links-item-col{flex:1;min-width:150px;display:flex;position:relative}.quick-links-item-col .quick-links-item{width:100%}.quick-links-menu{background:var(--panel-bg);border:1px solid var(--border);box-shadow:var(--shadow);z-index:30;border-radius:10px;flex-direction:column;gap:2px;padding:6px;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0}.quick-links-menu button{color:var(--text-h);text-align:left;background:0 0;border:none;border-radius:6px;padding:8px 10px;font-size:12.5px;font-weight:500}.quick-links-menu button:hover{background:var(--primary-soft);color:var(--primary)}.search-input-full{width:100%;max-width:none;margin-bottom:14px}.library-list{flex-direction:column;gap:8px;display:flex}.library-item{background:var(--panel-bg-soft);border:1px solid var(--border);color:var(--text-h);border-radius:6px;align-items:center;gap:10px;padding:9px 12px;font-size:13px;display:flex}.library-item span:nth-child(2){flex:1}.decision-queue{flex-direction:column;gap:12px;display:flex}.decision-card{border:1px solid var(--border);border-left:3px solid var(--primary-border);background:var(--panel-bg-soft);border-radius:8px;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px;display:flex}.decision-card .tag{margin-bottom:6px}.decision-card strong{color:var(--text-h);margin-bottom:4px;font-size:14px;display:block}.decision-card p{margin-bottom:4px;font-size:12.5px}.decision-actions{flex-shrink:0;gap:8px;display:flex}.ai-panel-overlay{z-index:50;background:#00000047;justify-content:flex-end;align-items:flex-end;padding:24px;display:flex;position:fixed;inset:0}.ai-panel{background:var(--panel-bg);border:1px solid var(--border);width:440px;max-width:100%;height:min(600px,82vh);max-height:82vh;box-shadow:var(--shadow);border-radius:16px;flex-direction:column;gap:12px;padding:16px;display:flex;overflow:hidden}.ai-panel-header{flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.ai-panel-title{color:var(--text-h);align-items:center;gap:8px;font-weight:700;display:flex}.icon-btn{color:var(--text);background:0 0;border:none;padding:4px}.ai-panel-header-actions{align-items:center;gap:10px;display:flex}.ai-panel-clear-btn{color:var(--text);background:0 0;border:none;padding:0;font-size:12px;font-weight:500}.ai-panel-clear-btn:hover{color:var(--primary)}.ai-panel-body{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex;overflow-y:auto}.ai-panel-body .chat-bubble-row{max-width:88%}.markdown-body{color:var(--text-h);font-size:13px;line-height:155%}.markdown-body>:first-child{margin-top:0}.markdown-body>:last-child{margin-bottom:0}.markdown-body p{margin:0 0 8px}.markdown-body ul,.markdown-body ol{margin:0 0 8px;padding-left:18px}.markdown-body li{margin-bottom:3px}.markdown-body strong{color:var(--primary)}.markdown-body code{font-size:12px}.markdown-body a{color:var(--primary)}.ai-panel-input{border-top:1px solid var(--border);flex-shrink:0;gap:8px;padding-top:12px;display:flex}.ai-panel-input input{flex:1;min-width:0}.ai-panel-input button{flex-shrink:0}.modal-overlay{z-index:60;background:#00000080;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.invoice-modal{max-width:1320px}.document-modal-overlay{padding:0}.cash-flow-params-modal{max-width:640px}.cash-flow-params-section{margin-bottom:18px}.cash-flow-params-label{margin-bottom:6px;font-weight:600;display:block}.cash-flow-org-unit-tree{border:1px solid var(--border);border-radius:8px;max-height:240px;padding:8px 10px;overflow-y:auto}.cash-flow-org-unit-row{cursor:pointer;align-items:center;gap:8px;padding:4px 0;display:flex}.cash-flow-org-unit-row input{accent-color:var(--primary);flex:none;width:15px;height:15px}.cash-flow-org-unit-row span{flex:1}.voucher-table-scroll{overflow-x:auto}.voucher-settlement-bar{border-bottom:1px solid var(--border);align-items:center;gap:24px;padding:12px 20px;font-size:13px;display:flex}.loan-agreement-toolbar{align-items:center;gap:8px;margin-bottom:10px;display:flex}.loan-agreement-toolbar .search-input{max-width:360px}.loan-agreement-toolbar select{min-width:170px}.loan-row-actions{white-space:nowrap;align-items:center;gap:5px;display:flex}.loan-row-actions button{padding:5px 8px}.loan-agreement-detail,.loan-repayment-form{border:1px solid var(--border);background:var(--surface-soft,#f6f7f9);border-radius:8px;margin-top:12px;padding:14px}.loan-detail-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.loan-detail-heading>div{gap:3px;display:grid}.loan-detail-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.loan-detail-summary>div{border:1px solid var(--border);background:var(--surface,#fff);border-radius:6px;gap:4px;padding:10px 12px;display:grid}.loan-detail-summary span{color:var(--muted);font-size:12px}.loan-repayment-form>strong{margin-bottom:10px;display:block}.loan-repayment-actions{justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.reconciliation-mode-tabs{border-bottom:1px solid var(--border);gap:0;margin:12px 0;display:flex}.reconciliation-mode-tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0}.reconciliation-mode-tabs button.active{color:var(--primary);border-bottom-color:var(--primary)}.reconciliation-integration-note{margin:12px 0}.reconciliation-list-toolbar{align-items:center;gap:6px;margin-top:12px;display:flex}.reconciliation-list-toolbar>span{flex:1}.supplier-reconcile{min-height:430px;color:var(--text)}.supplier-reconcile-intro{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:72px 20px;display:flex}.supplier-reconcile-intro h3{margin:2px 0 0}.supplier-reconcile-intro p{max-width:620px;color:var(--muted);margin:0 0 8px}.supplier-reconcile-intro>button{min-width:168px}.supplier-reconcile-illustration{width:92px;height:78px;color:var(--primary);background:color-mix(in srgb, var(--primary) 9%, white);border:1px solid color-mix(in srgb, var(--primary) 22%, white);border-radius:18px;place-items:center;display:grid}.supplier-reconcile-toolbar{background:var(--surface);border:1px solid var(--border);border-bottom:0;border-radius:10px 10px 0 0;align-items:center;gap:8px;padding:10px 12px;display:flex}.supplier-reconcile-toolbar .search-box{width:230px}.supplier-reconcile-toolbar .search-box input{min-height:32px}.supplier-reconcile-period{color:var(--muted);font-size:13px}.supplier-reconcile-spacer{flex:1}.supplier-reconcile-table-wrap{border:1px solid var(--border);background:var(--surface);border-radius:0 0 10px 10px;min-height:420px}.supplier-reconcile-table{min-width:1050px}.supplier-reconcile-table th{background:color-mix(in srgb, var(--primary) 7%, var(--surface))}.supplier-reconcile-table th:first-child{width:170px}.supplier-reconcile-table th:nth-child(2),.supplier-reconcile-table th:nth-child(4){width:90px}.supplier-reconcile-table th:nth-child(6){width:125px}.supplier-reconcile-table th:nth-child(7){width:150px}.supplier-reconcile-table th:nth-child(8){width:105px}.supplier-reconcile-empty{min-height:310px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.supplier-reconcile-status{white-space:nowrap;border-radius:999px;align-items:center;min-height:24px;padding:2px 8px;font-size:12px;display:inline-flex}.supplier-reconcile-status.matched{color:var(--success,#16845b);background:#eaf8f2}.supplier-reconcile-status.difference{color:#b45309;background:#fff6df}.supplier-reconcile-actions{align-items:center;gap:4px;display:flex}.link-button{color:var(--primary);font:inherit;background:0 0;border:0;padding:0}.supplier-reconcile-modal{width:min(920px,100vw - 32px)}.supplier-reconcile-modal-body{grid-template-columns:1.05fr .95fr;gap:18px;padding:14px 16px;display:grid}.supplier-reconcile-upload-column,.supplier-reconcile-template-column{flex-direction:column;gap:9px;min-width:0;display:flex}.supplier-reconcile-modal label{flex-direction:column;gap:4px;font-size:12px;font-weight:600;display:flex}.supplier-reconcile-modal label>span,.supplier-reconcile-upload-label span{color:var(--danger)}.supplier-reconcile-upload-label{justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.supplier-reconcile-upload-label small{color:var(--muted);font-weight:400}.supplier-reconcile-dropzone{border:1px dashed color-mix(in srgb, var(--primary) 45%, var(--border));background:color-mix(in srgb, var(--primary) 2%, white);min-height:150px;color:var(--muted);border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-weight:400;display:flex}.supplier-reconcile-dropzone b{color:var(--primary)}.supplier-reconcile-dropzone.has-file{color:var(--text);border-style:solid}.supplier-reconcile-checkbox{align-items:center;flex-direction:row!important;font-weight:400!important}.supplier-reconcile-checkbox input{width:15px;height:15px}.supplier-reconcile-template-preview{border:1px solid var(--border);min-height:185px;color:var(--muted);text-align:center;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;display:flex}.supplier-reconcile-template-preview p{max-width:300px;margin:0}.supplier-reconcile-hint{border:1px solid color-mix(in srgb, var(--primary) 24%, var(--border));background:color-mix(in srgb, var(--primary) 5%, white);color:var(--muted);border-radius:6px;align-items:flex-start;gap:7px;padding:9px;font-size:12px;display:flex}.supplier-reconcile-error{margin:0 16px 10px}.supplier-reconcile-filter-backdrop{z-index:1200;background:#0f172a2e;position:fixed;inset:0}.supplier-reconcile-filter{background:var(--surface);flex-direction:column;gap:12px;width:min(380px,92vw);height:100%;padding:16px;display:flex;position:absolute;top:0;right:0;box-shadow:-8px 0 24px #0f172a29}.supplier-reconcile-filter-head{justify-content:space-between;align-items:center;display:flex}.supplier-reconcile-filter-head h3{margin:0}.supplier-reconcile-filter>label,.supplier-reconcile-filter-dates label{flex-direction:column;gap:5px;font-size:12px;font-weight:600;display:flex}.supplier-reconcile-filter-dates{grid-template-columns:1fr 1fr;gap:10px;display:grid}.supplier-reconcile-filter-footer{justify-content:space-between;margin-top:auto;display:flex}.supplier-reconcile-detail{width:min(620px,100vw - 32px)}.supplier-reconcile-detail-grid{grid-template-columns:190px 1fr;gap:11px 18px;padding:18px;display:grid}.supplier-reconcile-detail-grid>span{color:var(--muted)}.matched-text{color:var(--success,#16845b)}.difference-text{color:#b45309}@media (width<=760px){.supplier-reconcile-modal-body{grid-template-columns:1fr;max-height:70vh;overflow:auto}.supplier-reconcile-toolbar{flex-wrap:wrap}.supplier-reconcile-toolbar .search-box{width:100%}.supplier-reconcile-period{order:2}}.report-page-heading{align-items:center;gap:10px;margin:0 0 12px;display:flex}.report-page-heading h2{margin:0;font-size:18px}.purchase-analysis-report,.payroll-analysis-report{min-height:420px}.payroll-report-table{min-width:1320px}.payroll-report-table thead th{text-align:center;vertical-align:middle;white-space:normal}.payroll-report-params{grid-template-columns:minmax(260px,1.4fr) minmax(220px,1fr) minmax(150px,.7fr);gap:10px 14px;width:100%;display:grid}.payroll-report-params>label{flex-direction:column;gap:5px;min-width:0;font-size:12px;font-weight:600;display:flex}.payroll-report-params input,.payroll-report-params select{width:100%;min-width:0}.payroll-report-params .payroll-param-check{white-space:normal;flex-direction:row;align-self:end;align-items:center;min-height:34px}.payroll-report-params .payroll-param-check input{width:auto}.payroll-salary-mode{border:0;grid-column:1/-1;align-items:center;gap:18px;margin:0;padding:0;display:flex}.payroll-salary-mode legend{float:left;margin-right:14px;font-size:12px;font-weight:600}.payroll-salary-mode label{align-items:center;gap:6px;font-size:12px;display:inline-flex}.payroll-salary-mode input{width:auto}.payroll-unit-picker{grid-column:1/-1;min-width:0;margin-top:4px}.payroll-unit-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;display:flex}.payroll-unit-toolbar label{align-items:center;gap:6px;font-size:12px;display:inline-flex}.payroll-unit-toolbar label input{width:auto}.payroll-unit-toolbar>input{width:min(320px,48%)}.payroll-unit-picker .data-table-wrap{max-height:285px;overflow:auto}.payroll-unit-picker .data-table{min-width:680px}.payroll-unit-picker th:first-child,.payroll-unit-picker td:first-child{text-align:center;width:42px}.cash-flow-params-modal:has(.payroll-report-params){max-width:1120px}.cash-flow-params-modal:has(.purchase-report-params){max-width:980px}.cash-flow-params-modal:has(.purchase-report-params) .voucher-modal-body{overflow-x:hidden}.purchase-report-caption{grid-template-columns:1fr auto 1fr;align-items:end;gap:14px;padding:8px 4px 16px;display:grid;position:relative}.purchase-report-caption h3{text-align:center;color:var(--text-h);margin:0;font-size:16px}.purchase-report-caption>span{text-align:right;color:var(--text-muted);font-size:12px}.purchase-report-table th{white-space:normal;min-width:92px}.purchase-report-table td{white-space:nowrap}.purchase-report-table .numeric-cell{text-align:right;font-variant-numeric:tabular-nums}.empty-table-cell{color:var(--text-muted);text-align:center!important;padding:34px!important}.purchase-report-params{grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px 16px;display:grid}.purchase-report-params label{min-width:0;color:var(--text);gap:6px;font-size:12px;font-weight:600;display:grid}.purchase-report-params input,.purchase-report-params select{width:100%;min-width:0}.purchase-report-params .purchase-param-wide{grid-column:span 2}.purchase-report-params .purchase-param-check{white-space:normal;align-self:end;align-items:center;gap:8px;min-width:0;min-height:34px;display:flex}.purchase-report-params .purchase-param-check input{width:auto}.warehouse-analysis-report .purchase-report-table{min-width:980px}.warehouse-report-params .warehouse-param-span{grid-column:1/-1;min-width:0}.warehouse-param-picker{gap:7px;min-width:0;display:grid}.warehouse-param-picker>label,.warehouse-display-options label{align-items:center;gap:8px;font-weight:500;display:flex}.warehouse-param-picker>label input,.warehouse-display-options input{width:auto}.warehouse-param-picker-table{border:1px solid var(--border);background:var(--panel-bg);border-radius:6px;max-height:176px;overflow:auto}.warehouse-param-picker-head,.warehouse-param-picker-table>label{border-bottom:1px solid var(--border);grid-template-columns:28px minmax(130px,.7fr) minmax(240px,1.5fr);align-items:center;gap:8px;min-height:31px;padding:0 9px;display:grid}.warehouse-param-picker-head{z-index:1;background:var(--table-header-bg,#eef5ff);color:var(--text-h);grid-template-columns:minmax(130px,.7fr) minmax(240px,1.5fr);padding-left:45px;font-size:12px;font-weight:700;position:sticky;top:0}.warehouse-param-picker-table>label:last-child{border-bottom:0}.warehouse-param-picker-table>label:hover{background:var(--primary-soft)}.warehouse-param-picker-table>label input{width:auto}.warehouse-display-options{border:1px solid var(--border);border-radius:6px;align-items:center;gap:22px;padding:10px 12px;display:flex}.warehouse-display-options legend{color:var(--text-muted);padding:0 6px;font-size:12px;font-weight:600}@media (width<=900px){.purchase-report-params{grid-template-columns:1fr 1fr}.purchase-report-caption{grid-template-columns:1fr;align-items:start}.purchase-report-caption h3,.purchase-report-caption>span{text-align:left}.loan-agreement-toolbar{flex-wrap:wrap}.loan-detail-summary{grid-template-columns:1fr}}.document-sales-options{border-bottom:1px solid var(--border);background:var(--panel-bg);flex-shrink:0}.document-sales-options-main{align-items:center;gap:8px;padding:7px 20px;display:flex}.document-sales-options-main>select{box-sizing:border-box;background:var(--panel-bg);flex:none;width:270px;height:32px;padding:5px 10px}.document-sales-options-toggle{border-color:var(--border);background:var(--panel-bg);width:34px;height:32px;color:var(--text);flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.document-sales-options-toggle:hover,.document-sales-options-toggle.active{border-color:var(--primary-border);background:var(--primary-soft);color:var(--primary)}.document-issue-lookup{box-sizing:border-box;border:1px solid var(--border);background:var(--panel-bg-soft);border-radius:6px;flex:none;align-items:center;width:238px;height:32px;display:flex;overflow:hidden}.document-issue-lookup input{background:0 0;border:0;border-radius:0;min-width:0;height:30px;padding:5px 8px}.document-issue-lookup svg{color:var(--text);flex:none;margin-right:8px}.voucher-settlement-bar.document-sales-settlement{box-sizing:border-box;background:var(--panel-bg-soft);flex-wrap:nowrap;gap:18px;min-height:38px;padding:4px 20px}.document-sales-payment-method{background:var(--panel-bg);flex:none;width:180px;height:30px;padding:4px 10px}@media (width<=720px){.document-sales-options-main{flex-wrap:wrap}.document-sales-options-main>select,.document-issue-lookup{width:100%}.voucher-settlement-bar.document-sales-settlement{flex-wrap:wrap;gap:8px 18px;padding:8px 20px}.document-sales-payment-method{width:180px}}.voucher-radio,.voucher-checkbox{cursor:pointer;color:var(--text-h);align-items:center;gap:6px;display:flex}.voucher-radio input,.voucher-checkbox input{accent-color:var(--primary);flex:none;width:15px;height:15px}.voucher-form-grid .asset-register-checkbox{white-space:nowrap;flex-direction:row;place-self:end start;align-items:center;gap:7px;width:auto;min-height:36px;margin:0;display:inline-flex}.asset-register-modal .voucher-modal-header-left{min-width:0}.asset-register-modal .voucher-modal-header-left h2{white-space:nowrap;flex:none}.asset-register-source-picker{align-items:center;gap:8px;min-width:0;margin-left:4px;display:flex}.asset-register-source-picker select{background:#fff;flex:0 270px;width:270px;min-width:190px;height:30px;padding:4px 30px 4px 9px;font-size:12px}.asset-register-source-picker button{flex:none;min-height:30px;padding:4px 12px;font-size:12px}.asset-register-source-picker>span{max-width:125px;color:var(--primary);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:600;overflow:hidden}.asset-register-modal>.voucher-modal-body{padding:10px 14px 14px}.asset-register-compact-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:7px 14px;width:100%;margin-bottom:8px;display:grid}.asset-register-compact-grid label,.asset-register-tab-fields label,.asset-register-wide-field{min-width:0;color:var(--text);gap:4px;font-size:11.5px;display:grid}.asset-register-field-label{color:var(--text);display:inline}.asset-register-field-label em{color:#e53935;font-style:normal}.asset-register-compact-grid input:not([type=checkbox]),.asset-register-compact-grid select,.asset-register-tab-fields input{box-sizing:border-box;background:#fff;width:100%;min-width:0;height:30px;padding:4px 9px}.asset-register-compact-grid input[readonly],.asset-register-tab-fields input[readonly]{background:#f4f5f7}.asset-register-compact-grid .field-doc-no{grid-area:1/1/auto/span 3}.asset-register-compact-grid .field-date{grid-area:1/4/auto/span 3}.asset-register-compact-grid .field-code{grid-area:2/1/auto/span 3}.asset-register-compact-grid .field-name{grid-area:2/4/auto/span 5}.asset-register-compact-grid .field-type{grid-area:3/1/auto/span 3}.asset-register-compact-grid .field-group{grid-area:3/4/auto/span 5}.asset-register-compact-grid .field-reason{grid-area:4/1/auto/span 8}.asset-register-compact-grid .field-unit{grid-area:5/1/auto/span 2}.asset-register-compact-grid .field-qty{grid-area:5/3/auto/span 2}.asset-register-compact-grid .field-price{grid-area:5/5/auto/span 2}.asset-register-compact-grid .field-amount{grid-area:5/7/auto/span 2}.asset-register-compact-grid .field-periods{grid-area:6/1/auto/span 2}.asset-register-compact-grid .field-period-amount{grid-area:6/3/auto/span 2}.asset-register-compact-grid .field-account{grid-area:6/5/auto/span 2}.asset-register-compact-grid .field-stop{white-space:nowrap;flex-direction:row;grid-area:6/7/auto/span 2;place-self:end start;align-items:center;gap:7px;width:auto;min-height:30px;display:inline-flex}.asset-register-compact-grid .field-stop input{flex:none;width:15px;height:15px;padding:0}.asset-register-detail-card{background:#fff;border:1px solid #dce2ea;border-radius:7px;overflow:hidden}.asset-register-tabs{border-bottom:1px solid #dce2ea;align-items:end;gap:4px;min-height:36px;padding:0 12px;display:flex}.asset-register-tabs button{min-height:36px;color:var(--text-h);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:7px 10px 6px;font-size:12px;font-weight:500}.asset-register-tabs button.active{border-bottom-color:var(--primary);color:var(--primary)}.asset-register-tab-panel{min-height:112px}.asset-register-detail-table{table-layout:fixed;width:100%}.asset-register-detail-table th,.asset-register-detail-table td{box-sizing:border-box;border-bottom:1px solid #dce2ea;border-right:1px solid #dce2ea;height:30px;padding:3px 8px}.asset-register-detail-table th{background:var(--primary-soft);text-align:left;font-size:11.5px}.asset-register-usage-table th:first-child{width:32px}.asset-register-usage-table th:nth-child(2),.asset-register-usage-table th:nth-child(4){width:180px}.asset-register-usage-table th:last-child{border-right:0;width:38px}.asset-register-usage-table td:last-child{text-align:center;border-right:0}.asset-register-detail-table input,.asset-register-detail-table select,.asset-register-detail-table textarea{box-sizing:border-box;resize:vertical;background:#fff;width:100%;min-width:0;height:27px;min-height:27px;padding:2px 7px}.asset-register-detail-table .document-account-control{min-height:27px}.asset-register-detail-table .document-account-control>input{height:27px;min-height:27px}.asset-register-detail-table .document-account-control>button{height:25px;min-height:25px}.asset-register-detail-table .icon-btn{width:26px;min-width:26px;height:26px;padding:0}.asset-register-allocation-table th:first-child,.asset-register-description-table th:first-child,.asset-register-source-table th:first-child{width:34px}.asset-register-allocation-table th:nth-child(2){width:150px}.asset-register-allocation-table th:nth-child(3){width:210px}.asset-register-allocation-table th:nth-child(4){width:110px}.asset-register-allocation-table th:nth-child(5){width:120px}.asset-register-allocation-table th:last-child,.asset-register-description-table th:last-child,.asset-register-source-table th:last-child{width:38px}.asset-register-description-table th:nth-child(3){width:260px}.asset-register-source-table th:nth-child(2){width:120px}.asset-register-source-table th:nth-child(3){width:145px}.asset-register-source-table th:nth-child(5),.asset-register-source-table th:nth-child(6){width:90px}.asset-register-source-table th:nth-child(7){text-align:right;width:150px}.asset-register-row-actions{align-items:center;gap:8px;min-height:46px;padding:6px 14px;display:flex}.asset-register-row-actions button{min-height:30px;padding:4px 10px;font-size:12px}.asset-register-tab-fields{grid-template-columns:repeat(4,minmax(0,190px));align-content:start;gap:12px;padding:12px 14px;display:grid}.asset-register-wide-field{padding:12px 14px}.asset-register-wide-field textarea{background:#fff;width:min(680px,100%);min-height:62px}.asset-register-source-summary{grid-template-columns:170px minmax(220px,420px);align-content:start;gap:10px 16px;padding:14px;font-size:12px;display:grid}.asset-register-source-summary span{color:var(--text-muted)}.tool-transfer-document{border-radius:0;width:100vw;max-width:none;height:100vh;max-height:none}.tool-transfer-body{background:var(--page-bg,#f4f7fb);padding:8px 10px 68px}.tool-transfer-header-grid{grid-template-columns:220px 170px minmax(260px,1fr) minmax(260px,1fr);gap:7px 14px;max-width:1260px;display:grid}.tool-transfer-header-grid label{flex-direction:column;gap:4px;min-width:0;font-size:12px;display:flex}.tool-transfer-header-grid input{box-sizing:border-box;width:100%;min-width:0;height:30px}.tool-transfer-reason{grid-column:1/span 3}.tool-transfer-reference{grid-column:4}.tool-transfer-details{border:1px solid var(--border);background:var(--surface);margin-top:12px}.tool-transfer-tab{border-bottom:2px solid var(--primary);min-width:104px;height:32px;color:var(--primary);justify-content:center;align-items:center;font-weight:600;display:inline-flex}.tool-transfer-table{table-layout:fixed;width:max(100%,2300px)}.tool-transfer-table th{white-space:normal;text-align:center;line-height:1.15}.tool-transfer-table th:first-child{width:38px}.tool-transfer-table th:nth-child(2){width:150px}.tool-transfer-table th:nth-child(3){width:230px}.tool-transfer-table th:nth-child(4),.tool-transfer-table th:nth-child(5){width:210px}.tool-transfer-table th:nth-child(6),.tool-transfer-table th:nth-child(7){width:130px}.tool-transfer-table th:nth-child(n+8):nth-child(-n+13){width:150px}.tool-transfer-table th:nth-child(14){width:165px}.tool-transfer-table th:nth-child(15){width:42px}.tool-transfer-table td{height:38px;padding:3px 5px}.tool-transfer-table input,.tool-transfer-table select,.tool-transfer-table .document-account-picker,.tool-transfer-table .document-account-picker input{box-sizing:border-box;width:100%;min-width:0}.tool-transfer-table input,.tool-transfer-table select{height:30px}.tool-transfer-details .asset-register-row-actions{padding:10px 12px 12px}.tool-transfer-attachments{width:min(520px,100%);margin-top:10px}@media (width<=900px){.asset-register-modal .voucher-modal-header{align-items:flex-start}.asset-register-modal .voucher-modal-header-left{flex-wrap:wrap;align-items:flex-start}.asset-register-source-picker{width:100%;margin-left:26px}.asset-register-source-picker select{flex:1;width:auto}.asset-register-compact-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.asset-register-compact-grid>label{grid-column:span 2!important}.asset-register-compact-grid .field-reason,.asset-register-compact-grid .field-name{grid-column:1/-1!important}.asset-register-tab-fields,.tool-transfer-header-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-transfer-reason,.tool-transfer-reference{grid-column:1/-1}}.voucher-sub-tabs{border-bottom:1px solid var(--border);gap:4px;padding:0 20px;display:flex}.voucher-sub-tab-btn{color:var(--text);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;margin-right:18px;padding:9px 4px;font-size:12.5px;font-weight:600}.voucher-sub-tab-btn:hover{color:var(--primary)}.voucher-sub-tab-btn.active{color:var(--primary);border-bottom-color:var(--primary)}.voucher-modal{background:var(--panel-bg);width:100%;max-width:980px;max-height:92vh;box-shadow:var(--shadow);border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.document-modal-fullscreen{border-radius:0;width:100vw;max-width:100vw;height:100vh;max-height:100vh}.document-modal-fullscreen .voucher-modal-body{flex:1}.voucher-modal-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;display:flex}.voucher-modal-header-left{color:var(--primary);align-items:center;gap:12px;min-width:0;display:flex}.voucher-modal-header-left h2{color:var(--text-h);white-space:nowrap;font-size:16px}.sales-invoice-modal .voucher-modal-header{box-sizing:border-box;min-height:38px;padding:4px 12px}.sales-invoice-modal .voucher-modal-header-left{flex:1;gap:10px}.voucher-settlement-select{white-space:nowrap;color:var(--text-h);align-items:center;gap:8px;margin-left:auto;display:flex}.voucher-settlement-select select{background:var(--panel-bg);width:260px;height:30px;padding:4px 28px 4px 9px}.sales-invoice-modal .voucher-modal-header-left h2{margin:0;font-size:16px;line-height:1.25}.sales-invoice-toolbar{align-items:center;gap:6px;min-width:0;display:flex}.sales-invoice-toolbar>select{border-radius:4px;flex:none;width:300px;height:28px;padding:2px 8px;font-size:11.5px}.sales-invoice-toolbar .document-sales-options-toggle{border-radius:4px;width:30px;height:28px;padding:0}.sales-return-toolbar{align-items:center;min-width:0;display:flex}.sales-return-source-picker{border-bottom:1px solid var(--border,#dce3e8);padding:10px 16px}.sales-return-source-picker>button{margin-left:8px}.sales-return-source-picker [role=region]{max-height:300px;padding:12px 0;overflow:auto}.sales-return-source-picker [role=region] input{margin:0 12px 0 8px}.sales-return-source-picker table{border-collapse:collapse;width:100%}.sales-return-source-picker th,.sales-return-source-picker td{text-align:left;border-bottom:1px solid var(--border,#dce3e8);padding:6px 10px}.sales-return-toolbar>select{border:1px solid var(--primary-border);width:min(270px,28vw);min-width:210px;height:28px;color:var(--text-h);background:#fff;border-radius:4px;padding:2px 28px 2px 8px;font-size:11.5px}.sales-invoice-source-lookup{width:300px;height:28px}.sales-invoice-modal .voucher-modal-body{padding:0 10px 12px}.sales-invoice-header{border-bottom:1px solid var(--border);background:#f4f7fb;grid-template-columns:minmax(700px,1.25fr) minmax(430px,1fr);gap:24px;margin:0 -10px 8px;padding:8px 10px;display:grid}.sales-invoice-customer-grid{grid-template-columns:1.15fr .8fr 1fr 1fr;gap:5px 12px;min-width:0;display:grid}.sales-invoice-customer-grid>label,.sales-invoice-meta label{min-width:0;color:var(--text-h);flex-direction:column;gap:2px;font-size:10.5px;font-weight:600;line-height:1.2;display:flex}.sales-invoice-header input:not([type=checkbox]):not([type=radio]):not(.document-native-date-picker),.sales-invoice-header select{box-sizing:border-box;width:100%;min-width:0;height:28px;min-height:28px;color:var(--text);background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:2px 7px;font-size:11.5px;font-weight:400;line-height:22px}.sales-invoice-header .document-date-input{width:100%;min-width:0;height:28px;min-height:28px}.sales-invoice-header .document-date-input>input:not(.document-native-date-picker){height:28px;min-height:28px;padding:2px 28px 2px 7px}.sales-invoice-header .document-date-input>button{width:20px;min-width:20px;height:20px;color:var(--primary);padding:0;right:4px}.sales-invoice-customer-grid>label:nth-child(2){grid-column:span 3}.sales-invoice-field--address{grid-column:span 2}.sales-invoice-field--accounted{align-self:end;align-items:center;min-height:28px;flex-direction:row!important;gap:6px!important;font-weight:400!important}.sales-invoice-field--accounted input{width:14px;min-width:14px;height:14px;min-height:14px;accent-color:var(--primary);flex:0 0 14px;margin:0;padding:0}.sales-invoice-meta{min-width:0;min-height:198px;padding-right:150px;position:relative}.sales-invoice-meta-fields{gap:5px;width:min(194px,100%);display:grid}.sales-invoice-status{box-sizing:border-box;border:1px solid var(--border);background:var(--panel-bg);min-width:118px;min-height:28px;color:var(--text);text-align:center;border-radius:4px;padding:6px 9px;font-size:10.5px;font-weight:600;position:absolute;top:0;right:0}.sales-invoice-grand-total{color:var(--text-h);flex-direction:column;align-items:flex-end;gap:5px;font-size:11.5px;display:flex;position:absolute;top:48px;right:0}.sales-invoice-grand-total strong{font-size:22px}.voucher-category-select{max-width:220px}.sales-invoice-grand-total{font-size:10.5px}.sales-invoice-grand-total strong{color:var(--primary);font-size:20px;line-height:1.15}.voucher-modal-header-right{flex-shrink:0;align-items:center;gap:10px;display:flex}.voucher-total-value{color:var(--text-h);font-size:18px}.voucher-close-btn{padding:4px 8px;font-size:20px;line-height:1}.voucher-modal-body{padding:20px;overflow-y:auto}.voucher-form-grid{grid-template-columns:repeat(3,1fr);gap:14px 20px;margin-bottom:20px;display:grid}.voucher-form-grid label{color:var(--text);flex-direction:column;gap:5px;font-size:12px;display:flex}.document-partner-code-row{align-items:center;gap:6px;min-width:0;display:flex}.document-partner-code-control{flex:1;min-width:0;display:flex}.document-partner-code-control>input{border-radius:5px 0 0 5px;flex:1;min-width:0}.document-partner-inline-btn{width:28px;min-width:28px;height:28px;color:var(--primary);background:var(--panel-bg);border:1px solid var(--border);border-left:0;border-radius:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.document-partner-inline-btn:hover{background:var(--primary-soft)}.document-partner-dropdown-btn{color:var(--text);border-radius:0 5px 5px 0}.document-partner-debt-btn{border:1px solid var(--text-muted);width:26px;min-width:26px;height:26px;color:var(--text-muted);background:var(--panel-bg);border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:13px;font-weight:700;display:inline-flex}.document-partner-debt-btn:hover{color:var(--primary);border-color:var(--primary);background:var(--primary-soft)}.document-partner-debt-popover{z-index:30;background:var(--panel-bg);border:1px solid var(--border);width:min(320px,90vw);box-shadow:var(--shadow);color:var(--text-h);border-radius:8px;padding:12px;position:absolute;top:calc(100% + 5px);left:0}.document-partner-debt-heading,.document-partner-debt-line{justify-content:space-between;align-items:center;gap:12px;display:flex}.document-partner-debt-heading{border-bottom:1px solid var(--border);padding-bottom:8px}.document-partner-debt-heading button{color:var(--text-muted);background:0 0;border:0;padding:0 3px;font-size:18px}.document-partner-debt-name{margin:9px 0 6px;font-weight:600}.document-partner-debt-line{padding:4px 0}.document-partner-debt-line strong{color:var(--primary)}.document-partner-debt-overdue{color:var(--danger);margin-top:7px;font-weight:600}.quick-contact-overlay{z-index:80}.quick-contact-modal{width:min(920px,100vw - 32px);max-width:920px;max-height:min(650px,100vh - 32px)}.quick-contact-header{min-height:54px;padding:10px 16px}.quick-contact-title-row,.quick-contact-entity-types,.quick-contact-header-actions,.quick-contact-primary-type{align-items:center;display:flex}.quick-contact-title-row{gap:22px;min-width:0}.quick-contact-title-row h2{white-space:nowrap;margin:0}.quick-contact-entity-types{gap:14px;font-size:12px;font-weight:400}.quick-contact-modal .quick-contact-entity-types label,.quick-contact-modal .quick-contact-primary-type label,.quick-contact-modal .quick-contact-internal-check{white-space:nowrap;justify-content:flex-start;align-items:center;width:auto;flex-direction:row!important;gap:6px!important;display:inline-flex!important}.quick-contact-modal .quick-contact-entity-types input,.quick-contact-modal .quick-contact-primary-type input,.quick-contact-modal .quick-contact-internal-check input{width:15px;min-width:15px;height:15px;accent-color:var(--primary);flex:none;padding:0}.quick-contact-header-actions{gap:5px}.quick-contact-help{border:1px solid var(--text-muted);width:22px;height:22px;color:var(--text-muted);background:0 0;border-radius:50%;place-items:center;padding:0;display:inline-grid}.quick-contact-modal>.voucher-modal-body{background:#f3f4f6;padding:12px 16px 0}.quick-contact-modal input,.quick-contact-modal select,.quick-contact-modal textarea{box-sizing:border-box;background:#fff;width:100%;min-width:0;padding:6px 10px}.quick-contact-modal input:not([type=radio]):not([type=checkbox]),.quick-contact-modal select{flex:none;height:32px}.quick-contact-modal textarea{resize:vertical;flex:none;min-height:58px}.quick-contact-modal label{min-width:0;color:var(--text-h);flex-direction:column;gap:5px;font-size:12px;display:flex}.quick-contact-modal label em{color:var(--danger);font-style:normal}.quick-contact-primary-type{gap:16px;margin-bottom:10px;font-size:12px}.quick-contact-general-grid,.quick-contact-tab-grid{grid-template-columns:1fr 1fr;gap:28px;min-width:0;display:grid}.quick-contact-general-grid{align-items:start;padding-bottom:10px}.quick-contact-general-left,.quick-contact-general-right,.quick-contact-tab-grid>section{flex-direction:column;gap:9px;min-width:0;display:flex}.quick-contact-code-grid{grid-template-columns:1.25fr .75fr .85fr;align-items:start;gap:10px;display:grid}.quick-contact-two-cols{grid-template-columns:.8fr 1.2fr;gap:10px;display:grid}.quick-contact-modal .voucher-sub-tabs{border-bottom-color:var(--primary-border);background:#fff;gap:0;margin:0;padding:0;overflow-x:auto}.quick-contact-modal .voucher-sub-tab-btn{white-space:nowrap;padding:9px 12px}.quick-contact-tab-grid,.quick-contact-modal>.voucher-modal-body>.voucher-form-grid,.quick-contact-modal>.voucher-modal-body>p.muted{background:#fff;min-height:168px;margin:0;padding:10px 7px 12px}.quick-contact-tab-grid>section input{flex:none}.quick-contact-person-row{grid-template-columns:130px 1fr;gap:7px;display:grid}.quick-contact-tab-grid>section>input{width:100%}.quick-contact-tab-grid>section>input[aria-label*=điện\ thoại]{width:52%}.quick-contact-internal-check{align-self:flex-start;min-height:20px}.quick-contact-modal>.voucher-modal-footer{background:#f3f4f6;min-height:50px;padding:8px 16px}@media (width<=760px){.quick-contact-title-row,.quick-contact-entity-types{flex-wrap:wrap;align-items:flex-start;gap:8px 14px}.quick-contact-general-grid,.quick-contact-tab-grid{grid-template-columns:1fr;gap:10px}.quick-contact-code-grid{grid-template-columns:1fr}}.voucher-partner-suggestions{z-index:20;background:var(--panel-bg);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:8px;max-height:220px;position:absolute;top:100%;left:0;right:0;overflow-y:auto}.voucher-partner-suggestions div{cursor:pointer;padding:7px 10px;font-size:12.5px;font-weight:400}.voucher-partner-suggestions div:hover{background:var(--panel-bg-soft)}.contact-picker-dropdown{z-index:25;background:var(--panel-bg);border:1px solid var(--border);min-width:480px;max-width:640px;box-shadow:var(--shadow);border-radius:8px;max-height:260px;position:absolute;top:100%;left:0;overflow:auto}:is(.purchase-order-modal .purchase-order-supplier-code-field,.purchase-document-modal .document-partner-code-field)>.contact-picker-dropdown{box-sizing:border-box;width:min(960px,100vw - 48px);min-width:0;max-width:calc(100vw - 48px);max-height:320px}:is(.purchase-order-modal .purchase-order-supplier-code-field,.purchase-document-modal .document-partner-code-field) .contact-picker-table{table-layout:fixed;width:100%;min-width:720px}:is(.purchase-order-modal .purchase-order-supplier-code-field,.purchase-document-modal .document-partner-code-field) .contact-picker-table :is(th,td){white-space:normal;overflow-wrap:anywhere;vertical-align:top;padding:7px 10px}:is(.purchase-order-modal .purchase-order-supplier-code-field,.purchase-document-modal .document-partner-code-field) .contact-picker-table th:first-child{width:16%}:is(.purchase-order-modal .purchase-order-supplier-code-field,.purchase-document-modal .document-partner-code-field) .contact-picker-table th:nth-child(2){width:25%}:is(.purchase-order-modal .purchase-order-supplier-code-field,.purchase-document-modal .document-partner-code-field) .contact-picker-table th:nth-child(3){width:15%}:is(.purchase-order-modal .purchase-order-supplier-code-field,.purchase-document-modal .document-partner-code-field) .contact-picker-table th:nth-child(4){width:29%}:is(.purchase-order-modal .purchase-order-supplier-code-field,.purchase-document-modal .document-partner-code-field) .contact-picker-table th:nth-child(5){width:15%}.contact-picker-dropdown-portal{z-index:70}.contact-picker-table{border-collapse:collapse;width:100%;font-size:12px}.contact-picker-table thead th{background:var(--panel-bg-soft);text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;padding:6px 8px;font-weight:600;position:sticky;top:0}.contact-picker-table tbody td{white-space:nowrap;cursor:pointer;padding:6px 8px}.contact-picker-table tbody tr:hover{background:var(--panel-bg-soft)}.contact-picker-table tbody tr.is-active{background:var(--primary-soft);font-weight:600}.contact-picker-table tbody tr.is-keyboard-active{background:var(--primary-soft);color:var(--primary);box-shadow:inset 3px 0 0 var(--primary)}.reference-picker-overlay{padding:8px}.reference-picker-modal{box-sizing:border-box;border-radius:5px;width:min(1320px,100vw - 16px);max-width:calc(100vw - 16px);height:min(900px,100vh - 16px);max-height:calc(100vh - 16px)}.reference-picker-header{border-bottom:0;min-height:40px;padding:5px 12px}.reference-picker-header h2{font-size:16px}.reference-picker-header-actions{align-items:center;gap:4px;display:flex}.reference-picker-header-actions .icon-btn{color:#64748b;background:0 0;border:0;border-radius:50%;place-items:center;width:26px;min-width:26px;height:26px;min-height:26px;padding:0;font-size:15px;display:inline-grid}.reference-picker-body{box-sizing:border-box;flex-direction:column;flex:1;min-width:0;min-height:0;padding:0 12px;display:flex;overflow:hidden}.reference-picker-filters{flex:none;padding-bottom:8px}.reference-picker-filter-row{align-items:flex-end;gap:10px;display:flex}.reference-picker-filter-row+.reference-picker-filter-row{margin-top:6px}.reference-picker-filter-row>label{width:132px;min-width:0;color:var(--text-h);flex-direction:column;gap:3px;font-size:10.5px;font-weight:500;display:flex}.reference-picker-filter-row .reference-picker-value-filter{width:302px}.reference-picker-filter-row input,.reference-picker-filter-row select,.reference-picker-load-button{box-sizing:border-box;min-width:0;height:26px;min-height:26px;color:var(--text-h);background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:2px 7px;font-size:10.5px}.reference-picker-filter-row input:focus,.reference-picker-filter-row select:focus{border-color:#1e63db;outline:1px solid #1e63db2e}.reference-picker-filter-period>label:first-child{width:134px}.reference-picker-filter-period>label:nth-child(2),.reference-picker-filter-period>label:nth-child(3){width:145px}.reference-picker-load-button{border-color:#b9c3cf;width:auto;padding:2px 12px;font-weight:500}.reference-picker-search{width:208px;margin-top:7px;position:relative}.reference-picker-search>svg{z-index:1;color:#94a3b8;pointer-events:none;position:absolute;top:50%;left:7px;transform:translateY(-50%)}.reference-picker-search input{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:4px;width:100%;height:26px;min-height:26px;padding:2px 7px 2px 25px;font-size:10.5px}.reference-picker-error{flex:none;margin:0 0 6px}.reference-picker-table-wrap{background:#fff;border:1px solid #cbd5e1;flex:1;min-height:160px;position:relative;overflow:auto}.reference-picker-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1100px;color:var(--text-h);font-size:10.5px}.reference-picker-table .reference-col-check{width:28px}.reference-picker-table .reference-col-date{width:120px}.reference-picker-table .reference-col-doc-no{width:112px}.reference-picker-table .reference-col-description{width:20%}.reference-picker-table .reference-col-partner-code{width:96px}.reference-picker-table .reference-col-partner-name{width:18%}.reference-picker-table .reference-col-account{width:82px}.reference-picker-table .reference-col-amount{width:145px}.reference-picker-table th,.reference-picker-table td{box-sizing:border-box;text-align:left;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #dbe2ea;border-right:1px solid #dbe2ea;height:34px;padding:3px 10px;overflow:hidden}.reference-picker-table th{z-index:2;color:#172033;background:#e8eef5;height:28px;font-weight:650;position:sticky;top:0}.reference-picker-table th:last-child,.reference-picker-table td:last-child{border-right:0}.reference-picker-table tbody tr{cursor:pointer}.reference-picker-table tbody tr:hover{background:#f1f6ff}.reference-picker-table tbody tr.is-active{background:#e5efff;box-shadow:inset 3px 0 #1e63db}.reference-picker-table :is(th,td):first-child,.reference-picker-table .is-date{text-align:center}.reference-picker-table .is-number{text-align:right}.reference-picker-table input[type=checkbox]{accent-color:#1e63db;width:13px;height:13px;min-height:13px;margin:0}.reference-picker-doc-link{color:#1e63db}.reference-picker-empty,.reference-picker-loading{color:#64748b;text-align:center;padding:18px}.reference-picker-loading{background:#ffffffe6;position:absolute;inset:28px 0 auto}.reference-picker-table-footer{flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:38px;font-size:10.5px;display:flex}.reference-picker-table-footer .pagination{margin-left:auto}.reference-picker-footer{border-top:1px solid #dbe2ea;min-height:42px;padding:5px 12px}.reference-picker-footer>span{color:#1e63db;font-size:10.5px}.reference-picker-footer .voucher-modal-footer-actions button{min-width:64px;height:28px;min-height:28px;padding:2px 12px;font-size:10.5px}.voucher-form-span2{grid-column:span 2}.document-header-row{border-bottom:1px solid var(--border);background:#f4f7fb;border-radius:4px;align-items:flex-start;gap:24px;margin:0 -10px 12px;padding:10px 10px 12px;display:flex}.document-header-row .voucher-form-grid{flex:1;min-width:0}.document-date-rail{flex-direction:column;flex-shrink:0;gap:10px;width:270px;display:flex}.document-date-rail label{color:var(--text-h);flex-direction:column;gap:4px;font-size:11.5px;font-weight:500;display:flex}@media (width<=720px){.document-header-row{flex-direction:column}.document-date-rail{width:100%}}.voucher-note-field{color:var(--text);flex-direction:column;gap:5px;margin-bottom:20px;font-size:12px;display:flex}.voucher-table-wrap{border:1px solid var(--border);border-radius:8px;overflow:hidden}.document-bulk-paste-notice{border:1px solid var(--primary-border);color:var(--primary);background:var(--primary-soft);border-radius:6px;justify-content:space-between;align-items:center;gap:12px;margin:6px 0 0;padding:7px 10px;font-size:12px;display:flex}.document-bulk-paste-notice.warning{color:#8a5700;background:#fff8e8;border-color:#f0bd62}.document-bulk-paste-notice button{color:inherit;background:0 0;border:0;flex:none;padding:0 3px;font-size:17px}.voucher-table-toolbar{min-height:var(--accounting-toolbar-height);box-sizing:border-box;background:var(--panel-bg);border-bottom:1px solid var(--border);color:var(--text-h);justify-content:space-between;align-items:center;padding:3px 10px 0;font-size:11px;font-weight:600;display:flex}.voucher-table-toolbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.voucher-currency-select{align-items:center;gap:7px;font-size:12px;font-weight:400;display:flex}.voucher-currency-select select{width:178px;padding:3px 7px}.voucher-exchange-rate,.voucher-discount-select,.voucher-invoice-discount-input{color:var(--text);white-space:nowrap;align-items:center;gap:6px;font-size:11.5px;font-weight:400;display:inline-flex}.voucher-exchange-rate input,.voucher-invoice-discount-input input{box-sizing:border-box;border:1px solid var(--border);text-align:right;background:#fff;border-radius:4px;width:92px;height:28px;padding:2px 7px}.voucher-discount-select .voucher-discount-mode{width:226px;height:28px;padding:2px 7px}.voucher-discount-allocate{height:28px;min-height:28px;padding:2px 10px;font-size:11.5px}.voucher-discount-mode{border:1px solid var(--border);background:var(--panel-bg);color:var(--text-h);border-radius:6px;padding:3px 6px;font-size:12.5px;font-weight:400}.voucher-table td input{background:0 0;border:none;min-width:90px;padding:4px 6px}.voucher-table td input:focus{background:var(--panel-bg-soft);border-radius:4px}.accounting-document-modal .voucher-table-toolbar>span:first-child{border-bottom:2px solid var(--primary);min-width:84px;color:var(--text-h);align-self:stretch;align-items:center;padding:0 10px;display:inline-flex}.accounting-document-modal .voucher-table-toolbar>label{margin-left:auto}.accounting-document-modal .voucher-table-toolbar select{width:74px;height:var(--accounting-control-height);min-height:var(--accounting-control-height);border-radius:4px;padding:1px 6px;font-size:11px}.accounting-document-modal .voucher-table{table-layout:fixed;width:100%;min-width:1240px}.accounting-document-modal .voucher-table th{background:color-mix(in srgb, var(--primary-soft) 45%, #fff);height:26px;color:var(--text-h);padding:3px 6px;font-size:10.5px;font-weight:650}.accounting-document-modal .voucher-table td{vertical-align:middle;height:34px;padding:3px 5px;font-size:11.5px}.accounting-document-modal .voucher-table tbody tr:focus-within td{background:color-mix(in srgb, var(--primary-soft) 62%, #fff);box-shadow:inset 0 1px 0 var(--primary-border), inset 0 -1px 0 var(--primary-border)}.accounting-voucher-table .voucher-col-index{width:36px}.accounting-voucher-table .voucher-col-description{width:calc(100% - 902px)}.accounting-voucher-table .voucher-col-partner-code{width:120px}.accounting-voucher-table .voucher-col-partner-name{width:170px}.accounting-voucher-table .voucher-col-account{width:92px}.accounting-voucher-table .voucher-col-amount{width:140px}.accounting-voucher-table .voucher-col-operation{width:210px}.accounting-voucher-table .voucher-col-action{width:42px}.accounting-voucher-table :is(th,td):first-child{width:36px}.accounting-voucher-table :is(th,td):nth-child(2){width:calc(100% - 902px)}.accounting-voucher-table :is(th,td):nth-child(3),.accounting-voucher-table :is(th,td):nth-child(4){width:92px}.accounting-voucher-table :is(th,td):nth-child(5){width:140px}.accounting-voucher-table :is(th,td):nth-child(6){width:210px}.accounting-voucher-table :is(th,td):nth-child(7){width:120px}.accounting-voucher-table :is(th,td):nth-child(8){width:170px}.accounting-voucher-table :is(th,td):nth-child(9){width:42px}.document-goods-table .document-col-index,.document-goods-table :is(th,td):first-child{text-align:center!important;width:36px!important;min-width:36px!important;max-width:42px!important;padding-left:2px!important;padding-right:2px!important}.document-goods-table .document-col-name{width:500px!important;min-width:360px!important}.document-goods-table .document-col-item-code{width:190px!important;min-width:150px!important}.document-goods-table .document-col-warehouse{width:180px!important;min-width:165px!important}.accounting-document-modal .document-goods-table .document-col-warehouse select,.accounting-document-modal .document-goods-table .document-col-to-warehouse select{appearance:none!important;padding-right:28px!important}.document-goods-table .document-col-unit{width:88px!important;min-width:74px!important}.document-goods-table .document-col-quantity{width:106px!important;min-width:92px!important}.document-goods-table .document-col-price{width:135px!important;min-width:112px!important}.document-goods-table .document-col-total{text-align:right;width:145px!important;min-width:120px!important}.document-goods-table :is(.document-col-discount-rate,.document-col-item-discount-rate,.document-col-invoice-discount-rate){width:110px!important;min-width:110px!important}.document-goods-table :is(.document-col-discount-amount,.document-col-item-discount-amount,.document-col-invoice-discount-amount){width:128px!important;min-width:128px!important}.document-goods-table .document-col-tax-rate{width:96px!important;min-width:96px!important}.accounting-document-modal .document-goods-table tbody :is(.document-col-discount-rate,.document-col-discount-amount,.document-col-tax-rate) .document-grid-cell-control>input{border-color:var(--border);background:#fff}.document-goods-table .document-col-tax-amount{text-align:right;width:122px!important;min-width:122px!important}.document-goods-table thead :is(.document-col-discount-rate,.document-col-discount-amount,.document-col-item-discount-rate,.document-col-item-discount-amount,.document-col-invoice-discount-rate,.document-col-invoice-discount-amount,.document-col-tax-rate,.document-col-tax-amount){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-goods-table :is(.document-col-debit-account,.document-col-credit-account){width:104px!important;min-width:88px!important}.document-layout-misa-warehouse .document-goods-table .document-col-name{width:500px!important;min-width:420px!important}.document-layout-misa-warehouse .document-goods-table .document-col-item-code{width:190px!important;min-width:165px!important}.document-layout-misa-warehouse .document-goods-table .document-col-warehouse{width:200px!important;min-width:170px!important}.document-layout-misa-warehouse .document-goods-table :is(.document-col-debit-account,.document-col-credit-account){width:104px!important;min-width:92px!important}.document-layout-misa-warehouse .document-goods-table .document-col-unit{width:88px!important;min-width:78px!important}.document-layout-misa-warehouse .document-goods-table .document-col-quantity{width:106px!important;min-width:96px!important}.document-layout-misa-warehouse .document-goods-table .document-col-price{width:135px!important;min-width:120px!important}.document-layout-misa-warehouse .document-goods-table .document-col-total{text-align:right;width:145px!important;min-width:125px!important}.accounting-document-modal .document-goods-table tbody .document-grid-cell-control>:is(input,select),.accounting-document-modal .document-goods-table tbody .document-account-control{box-shadow:none;background:0 0;border-color:#0000}.accounting-document-modal .document-goods-table tbody .document-grid-cell-control>select{appearance:none;padding-right:7px}.accounting-document-modal .document-goods-table tbody .document-account-control>button{opacity:0;pointer-events:none}.accounting-document-modal .document-goods-table tbody tr:is(:hover,:focus-within) .document-grid-cell-control>:is(input,select),.accounting-document-modal .document-goods-table tbody tr:is(:hover,:focus-within) .document-account-control{border-color:var(--border);background:#fff}.accounting-document-modal .document-goods-table tbody tr:is(:hover,:focus-within) .document-grid-cell-control>select{appearance:auto}.accounting-document-modal .document-goods-table tbody tr:is(:hover,:focus-within) .document-account-control>button{opacity:1;pointer-events:auto}.accounting-document-modal .document-goods-table tbody .document-grid-cell-control>:is(input,select):focus,.accounting-document-modal .document-goods-table tbody .document-account-control:focus-within{border-color:var(--primary);outline:1px solid var(--primary);outline-offset:-1px;background:#fff}.document-goods-table .document-col-lead{width:140px;min-width:120px}.document-goods-table .document-col-action,.document-goods-table :is(th,td):last-child{text-align:center!important;width:38px!important;min-width:38px!important}.accounting-document-modal .document-goods-table td:has(>input[type=checkbox]){text-align:center}.accounting-document-modal .document-goods-table td>input[type=checkbox]{width:14px;min-width:14px;height:14px;min-height:14px;accent-color:var(--primary);vertical-align:middle;margin:0;padding:0}.accounting-document-modal .voucher-table td>input,.accounting-document-modal .voucher-table td>select{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:28px;min-height:28px;color:var(--text-h);background:#fff;border-radius:4px;padding:2px 7px;font-size:11.5px;line-height:22px}.accounting-document-modal .voucher-table td>input:focus,.accounting-document-modal .voucher-table td>select:focus{border-color:var(--primary);outline:1px solid var(--primary);outline-offset:-1px}.accounting-document-modal .voucher-table .voucher-account-cell{white-space:nowrap;padding-left:5px;padding-right:5px}.accounting-document-modal .voucher-table .voucher-account-cell select{box-sizing:border-box;width:100%;min-width:0;height:28px;min-height:28px;color:var(--text-h);padding:2px 18px 2px 6px;font-size:11.5px;line-height:22px}.accounting-document-modal .voucher-table .voucher-account-cell span{text-overflow:ellipsis;display:block;overflow:hidden}.voucher-account-control{width:100%;min-width:0}.accounting-document-modal .voucher-table .voucher-account-picker{box-sizing:border-box;width:100%;min-width:0;height:28px;min-height:28px;color:var(--text-h);border:1px solid var(--border);text-align:left;background:#fff;border-radius:4px;justify-content:space-between;align-items:center;gap:4px;padding:2px 4px 2px 6px;font-size:11.5px;font-weight:400;line-height:22px;display:flex}.accounting-document-modal .voucher-table .voucher-account-picker:hover,.accounting-document-modal .voucher-table .voucher-account-picker[aria-expanded=true]{border-color:var(--primary);outline:1px solid var(--primary);outline-offset:-1px;background:#fff}.voucher-account-picker>span{flex:1;min-width:0}.voucher-account-picker>.icon{color:var(--text);flex:none}.voucher-account-dropdown{z-index:70;box-sizing:border-box;color:var(--text-h);border:1px solid var(--border);background:#fff;border-radius:5px;flex-direction:column;font-size:11.5px;display:flex;overflow:hidden;box-shadow:0 8px 22px #0f172a2e}.voucher-account-dropdown-head,.voucher-account-dropdown-list>button{grid-template-columns:105px minmax(0,1fr);align-items:center;column-gap:8px;display:grid}.voucher-account-dropdown-head{min-height:28px;color:var(--text-h);border-bottom:1px solid var(--border);background:#f2f5f9;flex:none;padding:0 9px;font-size:11px}.voucher-account-dropdown-list{min-height:0;overflow-y:auto}.voucher-account-dropdown-list>button{width:100%;min-height:28px;color:var(--text-h);text-align:left;background:#fff;border:0;border-radius:0;padding:4px 9px;font-size:11.5px;font-weight:400}.voucher-account-dropdown-list>button:hover,.voucher-account-dropdown-list>button.is-selected{color:var(--primary);background:var(--primary-soft)}.voucher-account-dropdown-list>button.is-selected{font-weight:600}.voucher-account-dropdown-list>button strong,.voucher-account-dropdown-list>button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.voucher-account-dropdown-list>p{color:var(--text-muted);text-align:center;margin:0;padding:14px 10px}.accounting-document-modal .voucher-table .voucher-object-cell{padding-left:5px;padding-right:5px}.voucher-object-control{width:100%;min-width:0;display:flex}.accounting-document-modal .voucher-table .voucher-object-control input{box-sizing:border-box;width:calc(100% - 26px);min-width:0;height:28px;min-height:28px;color:var(--text-h);border:1px solid var(--border);background:#fff;border-radius:4px 0 0 4px;padding:2px 6px;font-size:11.5px;line-height:22px}.voucher-object-dropdown-btn{width:26px;min-width:26px;height:28px;min-height:28px;color:var(--text);border:1px solid var(--border);background:#fff;border-left:0;border-radius:0 4px 4px 0;place-items:center;padding:0;display:inline-grid}.voucher-object-dropdown-btn:hover,.voucher-object-dropdown-btn[aria-expanded=true]{color:var(--primary);background:var(--primary-soft)}.contact-picker-dropdown.voucher-object-dropdown{max-width:calc(100vw - 16px);max-height:280px}.voucher-object-dropdown .contact-picker-table{min-width:760px}.voucher-object-empty{color:var(--text-muted);text-align:center;padding:14px}.voucher-table-total{box-sizing:border-box;text-align:right;min-height:25px;color:var(--text-h);border-top:1px solid var(--border);padding:4px 14px;font-size:11px;font-weight:700}.voucher-table-actions{align-items:center;gap:10px;min-height:34px;margin-top:3px;display:flex}.voucher-table-actions .voucher-line-count{color:var(--text);margin-right:4px;font-size:11px}.voucher-table-actions .voucher-line-count strong{color:var(--text-h)}.voucher-table-actions button{border-radius:4px;min-height:26px;padding:3px 10px;font-size:11px}.voucher-lower-panel{box-sizing:border-box;border:1px solid var(--border);width:100%;box-shadow:var(--shadow-sm);background:#fff;border-radius:6px;margin-top:6px;padding:0 10px 12px;overflow:visible}.voucher-lower-summary{justify-content:space-between;align-items:center;gap:18px;min-height:34px;display:flex}.voucher-lower-summary>.voucher-line-count{color:var(--text);font-size:11px}.voucher-lower-panel>.voucher-table-actions{min-height:30px;margin:0 0 3px}.voucher-lower-panel .pagination{border:0;flex-wrap:nowrap;justify-content:flex-end;gap:2px;margin:0;padding:0}.voucher-lower-panel .pagination-size-field{gap:6px;margin:0 8px 0 0;font-size:11px}.voucher-lower-panel .pagination-size{border-radius:4px;width:66px;height:26px;padding:0 7px;font-size:11px}.voucher-lower-panel .pagination-arrow,.voucher-lower-panel .pagination-page{background:0 0;border-color:#0000;border-radius:4px;min-width:24px;height:24px;padding:0 5px;font-size:11px}.voucher-lower-panel .pagination-arrow{font-size:15px}.voucher-lower-panel .pagination-page.active{color:var(--primary);background:var(--primary-soft);border-color:var(--primary-border)}.voucher-attachment-heading{min-height:28px;color:var(--text);align-items:center;gap:12px;font-size:11px;display:flex}.voucher-attachment-heading strong{color:var(--text-h);font-weight:600}@media (width<=760px){.voucher-lower-summary{flex-direction:column;align-items:flex-start;gap:4px;padding:6px 0}.voucher-lower-panel .pagination{justify-content:flex-start;width:100%}}.document-line-count{color:var(--text-h);margin-top:8px;font-size:12px}.document-lower-section{grid-template-columns:minmax(360px,470px) minmax(260px,1fr);align-items:start;gap:36px;display:grid}.document-content-card{background:0 0;margin-top:6px;overflow:visible}.document-content-card>.voucher-table-wrap{background:#fff;border-radius:6px;margin-bottom:8px;overflow:visible;box-shadow:0 1px 2px #10182814}.document-content-card>.document-table-pagination{border:1px solid var(--border);border-bottom:0;border-radius:6px 6px 0 0;box-shadow:0 1px 2px #10182814}.document-content-card .document-lower-section{border:1px solid var(--border);background:#fff;border-top:0;border-radius:0 0 6px 6px;min-height:132px;padding:0 12px 12px;box-shadow:0 1px 2px #10182814}.document-content-card .document-bulk-paste-notice{margin-left:12px;margin-right:12px}.document-lower-left{min-width:0}.document-lower-left .voucher-table-actions{flex-wrap:wrap;margin:10px 0 12px}.document-lower-left .voucher-table-actions button{padding:6px 10px;font-size:12px}.document-extra-note{margin-bottom:10px}.document-footer-fields{grid-template-columns:1.35fr 1fr .7fr;gap:9px 8px;margin-bottom:10px;display:grid}.document-footer-field{gap:4px;min-width:0;margin-bottom:0}.document-footer-field input,.document-footer-field select,.document-footer-field textarea{width:100%;min-width:0}.document-footer-field input,.document-footer-field select{box-sizing:border-box;height:28px;padding:5px 8px}.document-footer-field--replacement_invoice,.document-footer-field--successful_delivery_date,.document-footer-field--delivery_location,.document-footer-field--other_terms,.document-footer-field--receiving_location,.document-footer-field--carrier{grid-column:1/-1}.document-footer-field--store_name,.document-footer-field--invoice_lookup_url{grid-column:span 2}.document-footer-field--other_terms textarea{box-sizing:border-box;resize:vertical;min-height:48px}.document-footer-combobox{display:block;position:relative}.document-footer-combobox>input{padding-right:30px}.document-footer-combobox>input::-webkit-calendar-picker-indicator{opacity:0}.document-footer-combobox>span{border-left:1px solid var(--border);width:28px;height:26px;color:var(--muted);pointer-events:none;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:50%;right:0;transform:translateY(-50%)}.document-footer-field--replacement_invoice{flex-direction:row;align-items:center;gap:7px}.document-footer-fields .document-footer-field--replacement_invoice input{flex:none;width:auto;height:auto;padding:0}.document-totals{width:min(100%,460px);color:var(--text);margin-left:auto;padding-top:10px;font-size:12.5px}.document-date-input{display:block;position:relative}.document-date-input>input:not(.document-native-date-picker){box-sizing:border-box;width:100%;padding-right:36px}.document-date-input>button{z-index:1;width:26px;height:26px;color:var(--primary);background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:50%;right:7px;transform:translateY(-50%)}.document-date-input>button:hover{background:var(--primary-soft)}.shared-date-picker>button:disabled{opacity:.45;cursor:default}.document-date-input>.document-native-date-picker{opacity:0;pointer-events:none;width:1px;height:1px;padding:0;position:absolute;bottom:0;right:10px}.document-totals>div{justify-content:space-between;gap:24px;padding:5px 0;display:flex}.document-totals strong{color:var(--text-h);font-weight:500}.document-totals .document-total-payment,.document-totals .document-total-payment strong{font-weight:700}.document-attachments{margin-top:4px}.document-attachments-heading{align-items:center;gap:14px;margin-bottom:6px;font-size:11.5px;display:flex}.document-attachments-heading strong{color:var(--text-h)}.document-attachments-heading span{color:var(--text)}.voucher-attach{box-sizing:border-box;border:1px dashed var(--border);width:min(700px,100%);height:64px;color:var(--text);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;gap:10px;margin-top:0;padding:8px 12px;font-size:11px;display:flex}.voucher-attach strong{color:var(--primary);font-weight:500}.finance-tabs{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:4px;margin-bottom:18px;display:flex}.finance-tab-btn{color:var(--text);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;border-radius:0;margin-right:20px;padding:10px 4px;font-size:13px;font-weight:600}.finance-tab-btn:hover{color:var(--primary)}.finance-tab-btn.active{color:var(--primary);border-bottom-color:var(--primary)}.ebank-connect-banner{border:1px solid var(--border);background:var(--panel-bg-soft);border-radius:10px;align-items:center;gap:14px;padding:16px;display:flex}.ebank-connect-banner .muted{margin-top:4px}.options-panel{margin-bottom:14px}.options-table{border-collapse:collapse;width:100%}.options-table td{vertical-align:top;border-bottom:1px solid var(--border);padding:8px 0;font-size:13px}.options-table tr:last-child td{border-bottom:none}.options-label{width:40%;color:var(--text)}.options-value{color:var(--text-h);font-weight:500}.finance-options-page{min-height:calc(100vh - 118px)}.finance-options-header{align-items:center;gap:10px;margin-bottom:12px;display:flex}.finance-options-header h2{margin:0;font-size:20px}.finance-options-page>.success-banner,.finance-options-page>.error-banner{margin-bottom:12px}.finance-options-scroll{flex-direction:column;gap:14px;display:flex}.finance-options-section{background:var(--panel-bg);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:10px;scroll-margin-top:16px}.finance-options-section-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.finance-options-section-header h3{margin:0;font-size:15px;font-weight:650}.finance-options-section-body{padding:4px 18px}.finance-option-group-label{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);padding:10px 0 4px;font-size:11.5px;font-weight:700}.finance-option-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(260px,42%) minmax(240px,1fr);align-items:center;gap:28px;min-height:46px;padding:9px 0;display:grid}.finance-options-section-body>.finance-option-row:last-child,.finance-options-section-body>.finance-option-group-label:last-child{border-bottom:0}.finance-option-row>div:first-child{min-width:0}.finance-option-row label{color:var(--text);font-size:13px;line-height:1.45;display:block}.finance-option-row small{color:var(--text-muted);margin-top:3px;font-size:11.5px;line-height:1.4;display:block}.finance-option-row select,.finance-option-row input[type=text],.finance-option-row input[type=date]{width:min(480px,100%);min-height:34px}.finance-option-value{color:var(--text-h);word-break:break-word;font-weight:500}.finance-option-pair-values{flex-wrap:wrap;gap:18px;display:flex}.finance-option-pair-item{align-items:center;gap:8px;display:flex}.finance-option-pair-item span{color:var(--text-muted);white-space:nowrap;font-size:12.5px}.finance-option-pair-item select{width:auto;min-width:90px}.finance-options-radio{align-items:center;gap:24px;min-height:34px;display:flex}.finance-options-radio label{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.finance-options-section-actions{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;padding:12px 18px;display:flex}@media (width<=900px){.finance-option-row{grid-template-columns:1fr;gap:7px}}.info-box{background:var(--panel-bg-soft);border:1px solid var(--border);color:var(--text);border-radius:8px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:12.5px;line-height:155%;display:flex}.info-box svg{color:var(--primary);flex-shrink:0;margin-top:1px}.voucher-modal-footer{border-top:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:14px 20px;display:flex}.voucher-modal-footer-actions{gap:10px;display:flex}.accounting-document-overlay{padding:0}.accounting-document-modal{border-radius:0;width:100vw;max-width:100vw;height:100vh;max-height:100vh}.accounting-document-modal>.voucher-modal-header,.accounting-document-modal>.voucher-modal-footer{background:#fff}.accounting-document-modal:not(.sales-invoice-modal)>.voucher-modal-header{box-sizing:border-box;gap:8px;min-height:40px;padding:4px 10px}.accounting-document-modal:not(.sales-invoice-modal)>.voucher-modal-header .voucher-modal-header-left{flex:auto;gap:9px}.accounting-document-modal:not(.sales-invoice-modal)>.voucher-modal-header .voucher-modal-header-left h2{font-size:16px;line-height:1.25}.accounting-document-modal:not(.sales-invoice-modal)>.voucher-modal-header .voucher-category-select{border-radius:4px;width:min(240px,26vw);height:28px;padding:2px 8px;font-size:11.5px}.accounting-document-modal:not(.sales-invoice-modal)>.voucher-modal-header .voucher-modal-header-right{gap:8px}.accounting-document-modal:not(.sales-invoice-modal)>.voucher-modal-header .voucher-modal-header-right .muted{font-size:11px}.accounting-document-modal:not(.sales-invoice-modal)>.voucher-modal-header .voucher-total-value{text-align:right;min-width:72px;font-size:17px}.accounting-document-modal:not(.sales-invoice-modal)>.voucher-modal-header .voucher-close-btn,.purchase-order-modal-header .voucher-close-btn{border-radius:6px;place-items:center;width:30px;height:30px;padding:0;display:inline-grid}.accounting-document-modal>.voucher-modal-body{scrollbar-gutter:stable;background:#f4f7fb;flex:1;min-height:0;padding:0 10px 8px}.accounting-document-modal .voucher-profile-note{box-sizing:border-box;color:#30446f;background:#eaf1fb;border:0;border-bottom:1px solid #dbe2ea;border-radius:0;align-items:center;gap:10px;min-height:26px;margin:0 -10px;padding:3px 10px;font-size:10.5px;display:flex}.accounting-document-modal .voucher-profile-note strong{color:#173b8f;white-space:nowrap}.accounting-document-modal .voucher-profile-note span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.accounting-document-modal .voucher-profile-note span:last-child{white-space:nowrap;margin-left:auto}.voucher-entry-header{background:#f4f7fb;border-bottom:1px solid #d2d7dd;grid-template-columns:minmax(620px,1fr) 270px 150px;align-items:start;gap:24px;margin:0 -10px 6px;padding:8px 10px 10px;display:grid}.accounting-document-modal .voucher-entry-main-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:5px 12px;min-width:0;margin:0;display:grid}.voucher-entry-main-grid .voucher-field-full{grid-column:span 12}.voucher-entry-main-grid .voucher-field-two-thirds{grid-column:span 8}.voucher-entry-main-grid .voucher-field-seven{grid-column:span 7}.voucher-entry-main-grid .voucher-field-half{grid-column:span 6}.voucher-entry-main-grid .voucher-field-five{grid-column:span 5}.voucher-entry-main-grid .voucher-field-third{grid-column:span 4}.voucher-entry-main-grid .voucher-field-quarter,.voucher-entry-main-grid .voucher-field-code{grid-column:span 3}.voucher-entry-main-grid .voucher-field-name{grid-column:span 9}.voucher-entry-main-grid .voucher-field-reason{grid-column:span 6}.voucher-entry-main-grid .voucher-field-reference{grid-column:span 12}.voucher-entry-main-grid .voucher-field-reference-wide{grid-column:span 9}.accounting-document-modal .voucher-entry-main-grid .voucher-attachment-count-control>input{flex:auto;min-width:80px}.voucher-reference-field-row{align-items:center;gap:10px;min-width:0;min-height:22px;font-size:10.5px;display:flex}.voucher-reference-label{color:var(--text-h);flex:none}.compact-reference-field,.compact-reference-summary{align-items:center;min-width:0;display:flex}.compact-reference-summary{gap:10px}.compact-reference-link,.compact-reference-more{color:#1e63db;text-underline-offset:2px;background:0 0;border:0;border-radius:0;width:auto;min-width:0;height:auto;min-height:0;padding:0;font-size:10.5px;font-weight:400;line-height:18px;text-decoration:underline}.compact-reference-more{color:#188765;font-weight:700;text-decoration:none}.compact-reference-popover{z-index:1800;color:var(--text-h);background:#fff;border:1px solid #aeb8c5;border-radius:4px;font-size:10.5px;overflow:hidden;box-shadow:0 5px 15px #0f172a24}.compact-reference-head,.compact-reference-row{grid-template-columns:88px minmax(0,1fr) 20px;align-items:center;column-gap:8px;display:grid}.compact-reference-head{background:#f7f9fb;border-bottom:1px solid #e0e5eb;min-height:28px;padding:0 12px}.compact-reference-row{min-height:28px;padding:0 12px}.compact-reference-row:hover{background:#edf4ff}.compact-reference-row>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compact-reference-remove{color:#64748b;background:0 0;border:0;place-items:center;width:20px;min-width:20px;height:20px;min-height:20px;padding:0;font-size:16px;line-height:1;display:inline-grid}.compact-reference-remove:hover{color:#dc2626;background:#fee2e2}.compact-reference-empty{color:#64748b;text-align:center;padding:13px 12px}.compact-reference-footer{box-sizing:border-box;border-top:1px solid #e0e5eb;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:6px 12px;display:flex}.compact-reference-footer button{width:auto;min-width:120px;height:26px;min-height:26px;padding:2px 10px;font-size:10.5px}.voucher-attachment-count-control{align-items:center;gap:7px;min-width:0;display:flex}.accounting-document-modal .voucher-entry-main-grid .voucher-attachment-count-control>input{width:auto;min-width:0;max-width:250px;height:var(--accounting-control-height);min-height:var(--accounting-control-height);border-radius:4px;flex:auto;padding:2px 7px;font-size:11px;font-weight:400}.voucher-attachment-count-control>span{color:var(--text-h);white-space:nowrap;flex:none;font-size:10.5px;font-weight:400}.pay-invoices-header,.journal-entry-header,.internal-transfer-header,.offset-header,.obligation-payment-header,.receive-invoice-header,.purchase-multi-invoice-header{background:#f4f7fb;border-bottom:1px solid #d2d7dd;margin:0 -10px 8px;padding:8px 10px 10px;display:block}.pay-invoices-load-btn{height:28px;min-height:28px;color:var(--primary,#1e63db);white-space:nowrap;cursor:pointer;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:4px;justify-content:center;align-items:center;padding:0 10px;font-size:11.5px;font-weight:600;display:inline-flex}.pay-invoices-load-btn:hover:not(:disabled){background:#f1f5f9;border-color:#1e63db}.pay-invoices-load-btn:disabled{opacity:.6;cursor:not-allowed}.pay-invoices-main-grid{align-items:end}.pay-invoices-period{grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) auto;align-items:end;gap:8px;display:grid}.pay-invoices-period>label{min-width:0;color:var(--text-h);flex-direction:column;gap:2px;font-size:10.5px;font-weight:600;display:flex}.pay-invoices-receipt-total{align-items:center;gap:8px;min-width:0;font-size:11px;font-weight:650;display:flex}.pay-invoices-receipt-total input{color:#173b8f;text-align:right;border:1px solid #cbd5e1;border-radius:4px;width:150px;height:26px;min-height:26px;padding:2px 7px;font-weight:700}.pay-invoices-search{border:1px solid #cbd5e1;border-radius:4px;width:min(330px,30vw);height:26px;min-height:26px;padding:2px 8px;font-size:11px}.accounting-document-modal .pay-invoices-table{table-layout:auto;min-width:1540px}.accounting-document-modal .pay-invoices-table-multi{min-width:1740px}.accounting-document-modal .pay-invoices-table :is(th,td){white-space:nowrap;width:auto;min-width:96px}.accounting-document-modal .pay-invoices-table :is(th,td).pay-invoices-check-cell{text-align:center;width:34px;min-width:34px}.accounting-document-modal .pay-invoices-table .pay-invoices-check-cell input{width:14px;height:14px;min-height:14px;margin:0}.accounting-document-modal .pay-invoices-table .pay-invoices-partner-name{min-width:150px}.accounting-document-modal .pay-invoices-table :is(th,td):has(+.pay-invoices-partner-name){min-width:150px}.accounting-document-modal .pay-invoices-table tbody tr.pay-invoices-selected-row td{background:#edf4ff;box-shadow:inset 0 1px #b8cdf6,inset 0 -1px #b8cdf6}.accounting-document-modal.pay-invoices-modal{color:var(--text);background:#f4f7fb}.accounting-document-modal.pay-invoices-modal>.pay-invoices-modal-header{border-bottom:1px solid var(--primary-border);background:#fff;min-height:40px;padding:4px 10px}.pay-invoices-modal-header .voucher-modal-header-left h2{color:var(--text-h);font-size:16px;font-weight:700}.pay-invoices-header-actions{margin-left:auto}.pay-invoices-help-btn{border:1px solid var(--primary-border);background:var(--primary-soft);width:auto;min-width:156px;height:26px;min-height:26px;color:var(--primary);border-radius:6px;padding:2px 12px;font-size:11px;font-weight:600}.pay-invoices-help-btn:hover{border-color:var(--primary);color:var(--primary-hover);background:#eaf1ff}.accounting-document-modal.pay-invoices-modal>.voucher-modal-body{background:#f4f7fb;flex-direction:column;flex:1;min-height:0;padding:0;display:flex;overflow:hidden}.pay-invoices-modal .pay-invoices-header{border-bottom:1px solid var(--border);background:#f4f7fb;flex:none;min-height:126px;margin:0;padding:8px 8px 7px}.pay-invoices-modal .pay-invoices-misa-grid{grid-template-rows:25px 43px 43px;grid-template-columns:210px 120px 110px 92px minmax(0,1fr) 120px;align-items:end;gap:2px 12px;display:grid;position:relative}.pay-invoices-modal .pay-invoices-method{min-width:0;color:var(--text);grid-area:1/1/auto/span 2;align-items:center;gap:12px;font-size:10.5px;display:flex}.pay-invoices-modal .pay-invoices-method>span{color:var(--text-h);white-space:nowrap;font-weight:600}.pay-invoices-modal .pay-invoices-method>label{white-space:nowrap;flex-direction:row;align-items:center;gap:5px;font-weight:500;display:inline-flex}.accounting-document-modal.pay-invoices-modal .pay-invoices-method input[type=radio]{width:14px;min-width:14px;height:14px;min-height:14px;accent-color:var(--primary);margin:0;padding:0}.pay-invoices-modal .pay-invoices-currency{white-space:nowrap;flex-direction:row;grid-area:1/3;grid-template-columns:auto 80px;align-items:center;gap:7px;font-weight:500;display:grid}.accounting-document-modal.pay-invoices-modal .pay-invoices-currency select:disabled{height:24px;min-height:24px;color:var(--text-h);opacity:1;background:#fff}.pay-invoices-modal .pay-invoices-top-total{color:var(--muted);flex-direction:column;grid-area:1/6/span 2;align-self:start;align-items:flex-end;padding-top:25px;font-size:10.5px;display:flex}.pay-invoices-modal .pay-invoices-top-total strong{color:var(--primary);margin-top:2px;font-size:20px;line-height:1}.pay-invoices-modal .pay-invoices-partner-field{grid-area:2/1/auto/span 2}.pay-invoices-modal .pay-invoices-staff-field{grid-area:3/1}.pay-invoices-modal .pay-invoices-date-field{grid-area:3/2}.pay-invoices-modal .pay-invoices-posting-date-field{grid-column:3}.pay-invoices-modal .pay-invoices-criteria-load{border-color:var(--primary-border);height:28px;color:var(--primary);background:#fff;grid-area:3/4;place-self:end start;font-weight:600}.pay-invoices-modal .pay-invoices-criteria-load:hover:not(:disabled){border-color:var(--primary);background:var(--primary-soft)}.pay-invoices-modal .pay-invoices-period{grid-area:2/1/auto/span 3;grid-template-columns:210px 120px}.pay-invoices-combobox{min-width:0;display:flex}.accounting-document-modal.pay-invoices-modal .pay-invoices-combobox>input{border-radius:4px 0 0 4px;flex:1;min-width:0}.pay-invoices-modal .pay-invoices-combobox>.icon-btn{border:1px solid var(--border);width:28px;min-width:28px;height:28px;min-height:28px;color:var(--primary);background:#fff;border-left:0;border-radius:0 4px 4px 0;padding:0}.pay-invoices-modal .pay-invoices-combobox>.icon-btn:hover{border-color:var(--primary-border);background:var(--primary-soft);color:var(--primary-hover)}.pay-invoices-modal .pay-invoices-table-wrap{border:1px solid var(--border);background:#fff;border-bottom:0;border-radius:6px 6px 0 0;flex-direction:column;flex:1;min-height:0;margin:0 8px;display:flex;overflow:hidden;box-shadow:0 1px 3px #0f172a0d}.pay-invoices-modal .voucher-table-toolbar{border-bottom:1px solid var(--primary-border);background:var(--panel-bg-soft);min-height:32px;padding:3px 8px}.pay-invoices-table-title{align-items:center;gap:14px;min-width:0;display:flex}.pay-invoices-table-title strong{color:var(--text-h);white-space:nowrap;font-size:14px;font-weight:650}.pay-invoices-modal .pay-invoices-search{border-color:var(--border);width:216px;height:24px;min-height:24px;color:var(--text);background:#fff;font-size:10.5px}.pay-invoices-modal .pay-invoices-search:focus,.pay-invoices-modal .pay-invoices-receipt-total input:focus,.accounting-document-modal.pay-invoices-modal .voucher-entry-main-grid input:focus,.accounting-document-modal.pay-invoices-modal .voucher-entry-main-grid select:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft);outline:0}.pay-invoices-modal .pay-invoices-receipt-total{color:var(--text-h);margin-left:auto;font-weight:600}.pay-invoices-modal .pay-invoices-receipt-total input{border-color:var(--border);width:128px;height:24px;min-height:24px;color:var(--primary);background:#fff;font-size:11px;font-weight:700}.pay-invoices-modal .voucher-table-scroll{background:#fff;flex:1;min-height:0;max-height:none;overflow:auto}.accounting-document-modal.pay-invoices-modal .pay-invoices-table{background:#fff;width:100%;min-width:1500px;font-size:10.5px}.accounting-document-modal.pay-invoices-modal .pay-invoices-table th{border-bottom-color:var(--primary-border);height:25px;color:var(--text-h);text-align:center;background:#eaf1ff;padding:2px 6px;font-size:10.5px;font-weight:650}.accounting-document-modal.pay-invoices-modal .pay-invoices-table td{height:28px;color:var(--text);background:#fff;padding:2px 6px;font-size:10.5px}.accounting-document-modal.pay-invoices-modal .pay-invoices-table tbody tr:hover td{background:var(--primary-soft)}.accounting-document-modal.pay-invoices-modal .pay-invoices-table tbody tr.pay-invoices-selected-row td{box-shadow:inset 0 1px 0 var(--primary-border), inset 0 -1px 0 var(--primary-border);background:#edf4ff}.accounting-document-modal.pay-invoices-modal .pay-invoices-table tfoot td{border-top:1px solid var(--primary-border);background:var(--panel-bg-soft);height:27px;color:var(--text-h)}.accounting-document-modal.pay-invoices-modal>.voucher-modal-footer{border-top:1px solid var(--primary-border);background:#fff;min-height:42px;padding:5px 10px}.accounting-document-modal.pay-invoices-modal>.voucher-modal-footer .voucher-modal-footer-actions>button:last-child{border-color:var(--primary);background:var(--primary);color:#fff}.accounting-document-modal.pay-invoices-modal>.voucher-modal-footer .voucher-modal-footer-actions>button:last-child:hover:not(:disabled){border-color:var(--primary-hover);background:var(--primary-hover)}.salary-payment-modal>.voucher-modal-body{background:#f4f7fb;flex-direction:column;flex:1;min-height:0;padding:0;display:flex;overflow:hidden}.salary-payment-header{border-bottom:1px solid var(--border);background:#f4f7fb;grid-template-columns:minmax(0,1fr) 150px;gap:16px;min-height:96px;margin:0;padding:9px 12px;display:grid}.salary-payment-criteria{grid-template-columns:170px minmax(310px,1fr) 190px 150px 115px;align-items:end;gap:8px;display:grid}.salary-payment-criteria>label{min-width:0;color:var(--text-h);flex-direction:column;gap:2px;font-size:10.5px;font-weight:600;display:flex}.salary-payment-criteria :is(input,select){box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:28px;min-height:28px;color:var(--text);background:#fff;border-radius:4px;padding:2px 7px;font-size:11.5px}.salary-payment-criteria :is(input,select):focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft);outline:0}.salary-payment-load{width:100%}.salary-payment-table-wrap{border:1px solid var(--border);background:#fff;border-radius:6px 6px 0 0;flex:1;min-height:0;margin:0 8px;overflow:hidden;box-shadow:0 1px 3px #0f172a0d}.salary-payment-table-wrap .voucher-table-toolbar{border-bottom:1px solid var(--primary-border);background:var(--panel-bg-soft);min-height:32px;color:var(--text-h);font-size:12px}.accounting-document-modal .salary-payment-table{background:#fff;width:100%;min-width:1040px}.accounting-document-modal .salary-payment-table th{border-bottom-color:var(--primary-border);height:26px;color:var(--text-h);background:#eaf1ff;padding:3px 6px;font-size:10.5px;font-weight:650}.accounting-document-modal .salary-payment-table td{height:34px;color:var(--text);background:#fff;padding:3px 6px;font-size:11px}.accounting-document-modal .salary-payment-table tbody tr.is-selected td{background:#edf4ff}.accounting-document-modal .salary-payment-table tbody tr:hover td{background:var(--primary-soft)}.accounting-document-modal .salary-payment-table td>input[type=number]{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:110px;height:28px;min-height:28px;color:var(--text-h);text-align:right;background:#fff;border-radius:4px;padding:2px 7px;font-size:11.5px;font-weight:600}.accounting-document-modal .salary-payment-table td>input[type=number]:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft);outline:0}.accounting-document-modal .salary-payment-table .salary-payment-check{text-align:center;width:34px;min-width:34px}.accounting-document-modal .salary-payment-table .salary-payment-check input{width:14px;min-width:14px;height:14px;min-height:14px;accent-color:var(--primary);margin:0}.salary-payment-table .number-cell{text-align:right}.salary-payment-table tfoot td{border-top:1px solid var(--primary-border);background:var(--panel-bg-soft);color:var(--text-h)}.salary-payment-empty{text-align:center;height:70px!important;color:var(--muted)!important}.voucher-invoice-declaration{border:1px solid var(--border);background:#fff;border-radius:6px;margin:0 10px 8px;overflow:hidden}.voucher-invoice-declaration-head{border-bottom:1px solid var(--primary-border);background:var(--panel-bg-soft);min-height:30px;color:var(--text-h);justify-content:space-between;align-items:center;gap:12px;padding:3px 9px;font-size:11px;display:flex}.voucher-invoice-declaration-head label{align-items:center;gap:5px;font-weight:500;display:inline-flex}.voucher-invoice-declaration-head input[type=checkbox]{width:14px;height:14px;accent-color:var(--primary);margin:0}.voucher-invoice-declaration-grid{grid-template-columns:150px 160px 120px 170px 130px;gap:8px;padding:7px 9px 8px;display:grid}.voucher-invoice-declaration-grid>label{min-width:0;color:var(--text-h);flex-direction:column;gap:2px;font-size:10.5px;font-weight:600;display:flex}.voucher-invoice-declaration-grid :is(input,select){box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:28px;min-height:28px;color:var(--text);background:#fff;border-radius:4px;padding:2px 7px;font-size:11.5px}@media (width<=1100px){.salary-payment-criteria{grid-template-columns:160px minmax(250px,1fr) 150px 110px}.salary-payment-load{grid-column:4}.voucher-invoice-declaration-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}}@media (width<=760px){.pay-invoices-period{grid-template-columns:1fr 1fr}.pay-invoices-period .pay-invoices-load-btn{grid-column:1/-1}.pay-invoices-receipt-total .muted{display:none}}.voucher-entry-date-rail{gap:5px;min-width:0;display:grid}.voucher-entry-main-grid label,.voucher-entry-date-rail label{min-width:0;color:var(--text-h);flex-direction:column;gap:2px;font-size:10.5px;font-weight:600;line-height:1.2;display:flex}.accounting-document-modal .voucher-entry-main-grid input,.accounting-document-modal .voucher-entry-main-grid select,.accounting-document-modal .voucher-entry-date-rail input:not(.document-native-date-picker),.accounting-document-modal .voucher-entry-date-rail select{width:100%;min-width:0;height:28px;min-height:28px;color:var(--text);box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:2px 7px;font-size:11.5px;font-weight:400;line-height:22px}.accounting-document-modal .voucher-entry-date-rail .document-date-input,.accounting-document-modal .voucher-entry-main-grid .document-date-input,.accounting-document-modal .voucher-entry-date-rail .shared-date-picker,.accounting-document-modal .voucher-entry-main-grid .shared-date-picker{width:100%;height:auto;min-height:0;box-shadow:none;background:0 0;border:none;padding:0;display:block;position:relative}.accounting-document-modal .voucher-entry-date-rail .document-date-input>input:not(.document-native-date-picker),.accounting-document-modal .voucher-entry-main-grid .document-date-input>input:not(.document-native-date-picker){width:100%;height:var(--accounting-control-height,28px);min-height:var(--accounting-control-height,28px);color:var(--text);box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:2px 28px 2px 7px;font-size:11px;font-weight:400}.accounting-document-modal .voucher-entry-date-rail .document-date-input>button,.accounting-document-modal .voucher-entry-main-grid .document-date-input>button{width:20px;height:20px;color:var(--primary);cursor:pointer;background:0 0;border:none;border-radius:3px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.accounting-document-modal .voucher-entry-date-rail .document-date-input>button:hover,.accounting-document-modal .voucher-entry-main-grid .document-date-input>button:hover{background:var(--primary-soft)}.voucher-entry-total{color:var(--text-h);flex-direction:column;align-items:flex-end;gap:3px;padding-top:1px;font-size:10.5px;font-weight:600;display:flex}.voucher-entry-total strong{max-width:150px;color:var(--primary);text-overflow:ellipsis;white-space:nowrap;font-size:20px;line-height:1.15;overflow:hidden}.voucher-header-object-control{min-width:0;display:flex}.voucher-header-object-control input{flex:1;border-radius:4px 0 0 4px!important}.voucher-header-object-control button{width:26px;min-width:26px;height:var(--accounting-control-height);border:1px solid var(--border);color:var(--primary);background:#fff;border-left:0;border-radius:0;place-items:center;padding:0;display:inline-grid}.voucher-header-object-control button:last-child{color:var(--text);border-radius:0 4px 4px 0}.voucher-header-object-control button:hover{background:var(--primary-soft)}.accounting-document-modal .voucher-modal-body input,.accounting-document-modal .voucher-modal-body select,.accounting-document-modal .voucher-modal-body textarea{box-sizing:border-box;background:#fff;max-width:100%}.accounting-document-modal .voucher-modal-body input:disabled,.accounting-document-modal .voucher-modal-body select:disabled,.accounting-document-modal .voucher-modal-body textarea:disabled{background:#e7e9ed}.accounting-document-modal .voucher-form-grid>label{min-width:0}.accounting-document-modal .voucher-form-grid>label>input:not([type=checkbox]):not([type=radio]),.accounting-document-modal .voucher-form-grid>label>select,.accounting-document-modal .voucher-form-grid>label>textarea{flex:none;width:100%}.accounting-document-modal .voucher-form-grid>label>div{min-width:0;max-width:100%}.accounting-document-modal .voucher-table-wrap,.accounting-document-modal .voucher-summary,.accounting-document-modal .info-box{background:#fff}.accounting-document-modal .voucher-table-wrap{border-radius:6px}.accounting-document-modal table.data-table,.purchase-order-modal table.data-table{border-collapse:separate;border-spacing:0}.accounting-document-modal table.data-table th,.accounting-document-modal table.data-table td,.purchase-order-modal table.data-table th,.purchase-order-modal table.data-table td{border-bottom:1px solid #dfe3e8;border-right:1px solid #dfe3e8}.accounting-document-modal table.data-table th:last-child,.accounting-document-modal table.data-table td:last-child,.purchase-order-modal table.data-table th:last-child,.purchase-order-modal table.data-table td:last-child{border-right:0}.accounting-document-modal table.data-table tbody tr:last-child td,.purchase-order-modal table.data-table tbody tr:last-child td{border-bottom-color:#d5dae1}.accounting-document-modal table.data-table tfoot td,.purchase-order-modal table.data-table tfoot td{background:#f3f5f7;border-top:1px solid #cfd5dd;border-bottom:0}.accounting-document-modal>.voucher-modal-footer{box-sizing:border-box;min-height:44px;padding:5px 12px}.accounting-document-modal>.voucher-modal-footer button{border-radius:4px;min-width:64px;min-height:28px;padding:4px 12px;font-size:10.5px}:is(.accounting-document-modal,.accounting-form-standard){--accounting-control-height:28px;--accounting-canvas:#f4f7fb;--accounting-cell:#fff;--accounting-grid:#d9e0e8}.accounting-form-standard>.voucher-modal-header{box-sizing:border-box;background:#fff;gap:8px;min-height:40px;padding:5px 12px}.accounting-form-standard>.voucher-modal-header .voucher-modal-header-left{gap:8px;min-width:0}.accounting-form-standard>.voucher-modal-header .voucher-modal-header-left h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:15px;line-height:1.25;overflow:hidden}.accounting-form-standard>.voucher-modal-header .voucher-close-btn{border-radius:4px;place-items:center;width:28px;min-width:28px;height:28px;padding:0;display:inline-grid}.accounting-form-standard>.voucher-modal-body{background:var(--accounting-canvas);padding:10px 12px 12px}:is(.accounting-document-modal,.accounting-form-standard) .voucher-form-grid{align-items:start;gap:7px 12px;margin-bottom:10px}:is(.accounting-document-modal,.accounting-form-standard) .voucher-form-grid label{gap:3px;min-width:0;font-size:11px;line-height:1.25}:is(.accounting-document-modal,.accounting-form-standard) .voucher-form-grid label>input:not([type=checkbox]):not([type=radio]),:is(.accounting-document-modal,.accounting-form-standard) .voucher-form-grid label>select{box-sizing:border-box;width:100%;min-width:0;height:var(--accounting-control-height);min-height:var(--accounting-control-height);background:var(--accounting-cell);color:var(--text-h);border:1px solid #cbd5e1;border-radius:4px;padding:2px 7px;font-size:11.5px;line-height:22px}:is(.accounting-document-modal,.accounting-form-standard) .voucher-form-grid label>select{padding-right:24px}:is(.accounting-document-modal,.accounting-form-standard) .voucher-form-grid label>textarea{box-sizing:border-box;background:var(--accounting-cell);width:100%;min-width:0;min-height:54px;color:var(--text-h);resize:vertical;border:1px solid #cbd5e1;border-radius:4px;padding:6px 7px;font-size:11.5px;line-height:1.35}:is(.accounting-document-modal,.accounting-form-standard) .voucher-modal-body :is(input,select,textarea):focus{border-color:var(--primary);outline:1px solid var(--primary);outline-offset:-1px}:is(.accounting-document-modal,.accounting-form-standard) .voucher-modal-body :is(input,select,textarea):disabled,:is(.accounting-document-modal,.accounting-form-standard) .voucher-modal-body input[readonly]{color:#667085;background:#e9edf2}:is(.accounting-document-modal,.accounting-form-standard) .voucher-modal-body input[type=checkbox],:is(.accounting-document-modal,.accounting-form-standard) .voucher-modal-body input[type=radio]{width:14px;min-width:14px;height:14px;min-height:14px;accent-color:var(--primary);flex:0 0 14px;margin:0;padding:0}:is(:is(.accounting-document-modal,.accounting-form-standard) .voucher-modal-body label:has(>input[type=checkbox]),:is(.accounting-document-modal,.accounting-form-standard) .voucher-modal-body label:has(>input[type=radio])){min-height:var(--accounting-control-height);flex-direction:row;justify-content:flex-start;align-items:center;gap:6px;display:inline-flex}:is(.accounting-document-modal,.accounting-form-standard) .document-date-input{width:100%;min-width:0;height:var(--accounting-control-height);display:block;position:relative}:is(.accounting-document-modal,.accounting-form-standard) .document-date-input>input:not(.document-native-date-picker){box-sizing:border-box;width:100%;min-width:0;height:var(--accounting-control-height);min-height:var(--accounting-control-height);background:var(--accounting-cell);color:var(--text-h);border:1px solid #cbd5e1;border-radius:4px;padding:2px 28px 2px 7px;font-size:11.5px}:is(.accounting-document-modal,.accounting-form-standard) .document-date-input>button{z-index:1;width:20px;min-width:20px;height:20px;color:var(--primary);background:0 0;border:0;border-radius:3px;place-items:center;padding:0;display:inline-grid;position:absolute;top:50%;right:4px;transform:translateY(-50%)}:is(.accounting-document-modal,.accounting-form-standard) :is(.voucher-table-wrap,.data-table-wrap){border:1px solid var(--accounting-grid);background:#fff;border-radius:5px}:is(.accounting-document-modal,.accounting-form-standard) :is(table.data-table,table.voucher-table){border-collapse:separate;border-spacing:0}:is(.accounting-document-modal,.accounting-form-standard) :is(table.data-table,table.voucher-table) th{box-sizing:border-box;border-right:1px solid var(--accounting-grid);border-bottom:1px solid var(--primary-border);height:28px;color:var(--text-h);white-space:normal;background:#eaf1ff;padding:3px 6px;font-size:10.5px;line-height:1.2}:is(.accounting-document-modal,.accounting-form-standard) :is(table.data-table,table.voucher-table) td{box-sizing:border-box;border-right:1px solid var(--accounting-grid);border-bottom:1px solid var(--accounting-grid);vertical-align:middle;background:#fff;height:34px;padding:3px 6px;font-size:11.5px;line-height:1.3}:is(.accounting-document-modal,.accounting-form-standard) :is(table.data-table,table.voucher-table) :is(th,td):last-child{border-right:0}:is(.accounting-document-modal,.accounting-form-standard) :is(table.data-table,table.voucher-table) td>input:not([type=checkbox]):not([type=radio]),:is(.accounting-document-modal,.accounting-form-standard) :is(table.data-table,table.voucher-table) td>select{box-sizing:border-box;width:100%;min-width:0;height:var(--accounting-control-height);min-height:var(--accounting-control-height);background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:2px 6px;font-size:11.5px}:is(.accounting-document-modal,.accounting-form-standard) :is(table.data-table,table.voucher-table) td>.icon-btn{border-radius:4px;place-items:center;width:24px;min-width:24px;height:24px;min-height:24px;padding:0;display:inline-grid}.accounting-form-standard>.voucher-modal-footer{box-sizing:border-box;background:#fff;min-height:42px;padding:5px 12px}:is(.accounting-document-modal,.accounting-form-standard)>.voucher-modal-footer .voucher-modal-footer-actions{align-items:center;gap:7px}:is(.accounting-document-modal,.accounting-form-standard)>.voucher-modal-footer button{border-radius:4px;min-width:64px;min-height:28px;padding:4px 12px;font-size:11.5px}@media (width<=760px){.accounting-form-standard{width:calc(100vw - 20px);max-width:calc(100vw - 20px)!important}.accounting-form-standard .voucher-form-grid{grid-template-columns:1fr}}.cross-branch-voucher-picker{width:min(250px,27vw);min-width:180px;color:var(--text-h);position:relative}.cross-branch-voucher-control{box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:4px;grid-template-columns:minmax(0,1fr) 22px 28px;align-items:center;width:100%;height:28px;display:grid;overflow:hidden}.cross-branch-voucher-control:focus-within{border-color:#1e63db;box-shadow:0 0 0 1px #1e63db24}.cross-branch-voucher-control>input{box-sizing:border-box;width:100%;min-width:0;height:26px;min-height:26px;color:var(--text-h);background:0 0;border:0;outline:0;padding:2px 4px 2px 8px;font-size:10.5px}.cross-branch-voucher-control>input::placeholder{color:#94a3b8}.cross-branch-voucher-control>svg{color:#64748b}.cross-branch-voucher-control>button{color:#475569;background:#fff;border:0;border-left:1px solid #cbd5e1;border-radius:0;place-items:center;width:28px;min-width:28px;height:27px;min-height:27px;padding:0;display:inline-grid}.cross-branch-voucher-control>button:hover,.cross-branch-voucher-control>button[aria-expanded=true]{color:#1e63db;background:#eaf1fb}.cross-branch-voucher-dropdown{z-index:1900;color:var(--text-h);background:#fff;border:1px solid #cbd5e1;border-radius:5px;font-size:10.5px;overflow:hidden;box-shadow:0 7px 18px #0f172a29}.cross-branch-voucher-head,.cross-branch-voucher-list>button{grid-template-columns:112px 110px minmax(0,1fr);align-items:center;display:grid}.cross-branch-voucher-head{color:#172033;background:#e8eef5;border-bottom:1px solid #dbe2ea;min-height:29px;padding:0 9px}.cross-branch-voucher-list{max-height:240px;overflow-y:auto}.cross-branch-voucher-list>button{width:100%;min-height:30px;color:var(--text-h);text-align:left;background:#fff;border:0;border-bottom:1px solid #eef2f6;border-radius:0;padding:3px 9px;font-size:10.5px;font-weight:400}.cross-branch-voucher-list>button:hover{background:#f1f6ff}.cross-branch-voucher-list>button.is-selected{background:#e5efff;box-shadow:inset 3px 0 #1e63db}.cross-branch-voucher-list>button>strong{color:#1e63db;font-weight:500}.cross-branch-voucher-list>button>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cross-branch-voucher-list>p{color:#64748b;text-align:center;margin:0;padding:12px}@media (width<=1200px){.voucher-entry-header{grid-template-columns:minmax(0,1fr) 220px 120px;gap:12px}}@media (width<=900px){.voucher-entry-header{grid-template-columns:minmax(0,1fr) 210px}.voucher-entry-total{grid-column:2}}@media (width<=680px){.voucher-entry-header{grid-template-columns:1fr}.voucher-entry-date-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.voucher-entry-total{grid-column:1;align-items:flex-start}.accounting-document-modal .voucher-profile-note span:nth-child(2){display:none}}.purchase-order-modal{border-radius:0;width:100vw;max-width:100vw;height:100vh;max-height:100vh}.purchase-order-modal-overlay{padding:0}.purchase-order-modal-header{box-sizing:border-box;justify-content:space-between;align-items:center;gap:8px;min-height:40px;padding:4px 12px;display:flex}.purchase-order-history-toggle{cursor:pointer;color:var(--primary);background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:3px;display:inline-flex}.purchase-order-history-toggle:hover{background:var(--primary-soft)}.purchase-order-title{flex:auto;align-items:center;gap:10px;display:flex}.purchase-order-title h2{color:var(--text-h);white-space:nowrap;margin:0;font-size:16px;font-weight:600}.purchase-order-history-search{width:220px;position:relative}.purchase-order-history-control{border:1px solid var(--border);box-sizing:border-box;background:#fff;border-radius:4px;align-items:center;gap:6px;height:28px;padding:0 4px 0 8px;display:flex}.purchase-order-history-control:focus-within{border-color:var(--primary);outline:1px solid var(--primary);outline-offset:-1px}.purchase-order-history-control .purchase-order-search-icon{color:var(--muted);flex-shrink:0}.purchase-order-history-control>input{min-width:0;height:100%;color:var(--text-h);background:0 0;border:none;outline:none;flex:1;padding:0;font-size:11.5px}.purchase-order-history-control .purchase-order-chevron-btn{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:3px;justify-content:center;align-items:center;padding:3px;display:inline-flex}.purchase-order-history-control .purchase-order-chevron-btn:hover{color:var(--text-h);background:var(--bg-hover)}.purchase-order-header-total strong{color:var(--text-h);font-size:17px;line-height:1.2}.purchase-order-view-notice{padding:8px 20px 0;font-size:12px}.purchase-order-modal-body{scrollbar-gutter:stable;background:#fff;flex:1;min-height:0;padding:0 10px 10px}.purchase-order-modal-body input,.purchase-order-modal-body select,.purchase-order-modal-body textarea{box-sizing:border-box;background:#fff;max-width:100%}.purchase-order-modal-body input:disabled,.purchase-order-modal-body select:disabled,.purchase-order-modal-body textarea:disabled{background:#e7e9ed}.purchase-order-header-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:5px 12px;margin-bottom:0}.purchase-order-header-grid label{min-width:0;color:var(--text-h);gap:2px;font-size:10.5px;font-weight:600}.purchase-order-header-grid>label>div,.purchase-order-lower-grid>label>div{min-width:0;max-width:100%}.purchase-order-header-grid input,.purchase-order-header-grid select,.purchase-order-header-grid textarea{box-sizing:border-box;width:100%;min-width:0;height:28px;min-height:28px;color:var(--text);border:1px solid var(--border);background:#fff;border-radius:4px;flex:none;padding:2px 7px;font-size:11.5px;line-height:22px}.purchase-order-items-table{border:1px solid var(--border);background:#fff;border-radius:4px;margin-top:10px}.purchase-order-items-table .voucher-table-toolbar{border-bottom:1px solid var(--border);background:#f8fafc;min-height:34px;padding:4px 8px}.purchase-order-items-table .voucher-table-scroll{min-height:112px;max-height:250px}.purchase-order-items-table .voucher-table th,.sales-order-modal .data-table th{background:color-mix(in srgb, var(--primary-soft) 45%, #fff);height:26px;color:var(--text-h);border:1px solid var(--border);white-space:nowrap;padding:3px 6px;font-size:10.5px;font-weight:650}.purchase-order-items-table .voucher-table td,.sales-order-modal .data-table td{vertical-align:middle;border:1px solid var(--border);background:#fff;height:34px;padding:3px 5px}.purchase-order-items-table .voucher-table td input,.purchase-order-items-table .voucher-table td select,.sales-order-modal .data-table td input,.sales-order-modal .data-table td select{box-sizing:border-box;width:100%;min-width:0;height:28px;min-height:28px;color:var(--text-h);border:1px solid var(--border);background:#fff;border-radius:4px;padding:2px 7px;font-size:11.5px;line-height:22px}.purchase-order-items-table .voucher-table tfoot td,.sales-order-modal .data-table tfoot td{border:1px solid var(--border);background:#f8fafc;font-weight:700}.purchase-order-items-table .voucher-table :is(th,td):first-child{width:140px;min-width:120px}.purchase-order-items-table .voucher-table :is(th,td):nth-child(2){min-width:180px}.purchase-order-items-table .voucher-table :is(th,td):nth-child(3){width:65px;min-width:55px}.purchase-order-items-table .voucher-table :is(th,td):nth-child(4){width:220px;min-width:210px}.purchase-order-items-table .voucher-table :is(th,td):nth-child(5),.purchase-order-items-table .voucher-table :is(th,td):nth-child(6){width:75px;min-width:65px}.purchase-order-items-table .voucher-table :is(th,td):nth-child(7){width:110px;min-width:95px}.purchase-order-items-table .voucher-table :is(th,td):nth-child(8){width:120px;min-width:100px}.purchase-order-items-table .voucher-table :is(th,td):last-child{text-align:center;width:36px}.sales-order-modal .data-table :is(th,td):first-child{width:130px;min-width:110px}.sales-order-modal .data-table :is(th,td):nth-child(2){min-width:180px}.sales-order-modal .data-table :is(th,td):nth-child(3){width:95px;min-width:80px}.sales-order-modal .data-table :is(th,td):nth-child(4){text-align:center;width:70px}.sales-order-modal .data-table :is(th,td):nth-child(5){width:65px;min-width:55px}.sales-order-modal .data-table :is(th,td):nth-child(6),.sales-order-modal .data-table :is(th,td):nth-child(7),.sales-order-modal .data-table :is(th,td):nth-child(8){width:75px;min-width:65px}.sales-order-modal .data-table :is(th,td):nth-child(9){width:110px;min-width:95px}.sales-order-modal .data-table :is(th,td):nth-child(10){width:120px;min-width:100px}.sales-order-modal .data-table :is(th,td):nth-child(11){width:100px;min-width:85px}.sales-order-modal .data-table :is(th,td):nth-child(12){width:80px;min-width:70px}.sales-order-modal .data-table :is(th,td):nth-child(13){width:110px;min-width:95px}.sales-order-modal .data-table :is(th,td):last-child{text-align:center;width:36px}.purchase-order-items-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;display:flex}.purchase-order-items-actions,.purchase-order-pagination{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.purchase-order-pagination{gap:6px}.purchase-order-items-actions .secondary{padding:7px 14px}.purchase-order-pagination select{width:72px}.purchase-order-lower-grid{grid-template-columns:minmax(250px,1fr) minmax(420px,2fr);gap:12px 20px;margin-top:16px;margin-bottom:0}.purchase-order-attachments{border:1px solid var(--border);background:#fff;border-radius:8px;max-width:520px;margin-top:12px;padding:10px 12px}.purchase-order-totals{gap:7px;width:min(360px,100%);margin:12px 0 0 auto;display:grid}.purchase-order-totals p{justify-content:space-between;align-items:center;gap:20px;margin:0;display:flex}.purchase-order-totals .muted strong{color:var(--text-h);font-weight:500}.purchase-order-grand-total{color:var(--text-h);font-weight:700}.accounting-document-modal.purchase-order-modal{--accounting-control-height:24px}.accounting-document-modal.purchase-order-modal .voucher-entry-header{grid-template-columns:minmax(0,3fr) minmax(184px,.75fr) minmax(180px,1.15fr);gap:16px;padding:8px 12px}.accounting-document-modal.purchase-order-modal .voucher-entry-main-grid{grid-template-columns:repeat(20,minmax(0,1fr));gap:7px 14px}.accounting-document-modal.purchase-order-modal .voucher-entry-main-grid>.voucher-field-third{grid-column:span 7}.accounting-document-modal.purchase-order-modal .voucher-entry-main-grid>.voucher-field-two-thirds{grid-column:span 13}.accounting-document-modal.purchase-order-modal .voucher-entry-main-grid>label:first-child{grid-column:span 7}.accounting-document-modal.purchase-order-modal .voucher-entry-main-grid>.voucher-field-reference{grid-column:1/-1}.accounting-document-modal.purchase-order-modal .voucher-entry-header :is(input:not(.document-native-date-picker),select){box-sizing:border-box;height:26px;min-height:26px}.accounting-document-modal.purchase-order-modal .voucher-entry-date-rail{gap:7px}.accounting-document-modal.purchase-order-modal .voucher-entry-total strong{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}.accounting-document-modal.purchase-order-modal .purchase-order-supplier-code-control{background:#fff;border:1px solid #cbd5e1;border-radius:4px;gap:0;overflow:hidden}.accounting-document-modal.purchase-order-modal .purchase-order-supplier-code-control:focus-within{border-color:var(--primary)}.accounting-document-modal.purchase-order-modal .purchase-order-supplier-code-control>:is(input,button.icon-btn){height:24px;min-height:24px;box-shadow:none;border:0;border-radius:0}.accounting-document-modal.purchase-order-modal .purchase-order-supplier-code-control>button.icon-btn{border-left:1px solid #dbe2ea;flex-basis:27px;width:27px;min-width:27px}.accounting-document-modal.purchase-order-modal .purchase-order-items-table .voucher-table-toolbar{background:#fff;min-height:34px;padding:0 10px}.accounting-document-modal.purchase-order-modal .voucher-table-toolbar-actions{flex-wrap:wrap;gap:10px}.accounting-document-modal.purchase-order-modal .voucher-discount-mode{min-width:160px}.accounting-document-modal.purchase-order-modal .purchase-order-items-table .voucher-table td{height:30px;padding:2px 5px}.accounting-document-modal.purchase-order-modal .purchase-order-items-table .voucher-table td :is(input,select){background:0 0;border-color:#0000;border-radius:2px;height:24px;min-height:24px}.accounting-document-modal.purchase-order-modal .purchase-order-items-table .voucher-table tr:is(:hover,:focus-within) :is(input,select):not(:disabled){border-color:var(--border);background:#fff}.accounting-document-modal.purchase-order-modal .purchase-order-items-table .voucher-table td :is(input,select):focus{border-color:var(--primary);outline:1px solid var(--primary)}.purchase-order-modal .purchase-order-bottom{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:24px;margin-top:12px;display:grid}.purchase-order-modal .purchase-order-bottom-fields{min-width:0}.purchase-order-modal .purchase-order-bottom .purchase-order-lower-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 14px;margin-top:0}.purchase-order-modal .purchase-order-bottom .purchase-order-totals{width:100%;margin:0;padding-top:4px}.purchase-order-modal .purchase-order-grand-total{border-top:1px solid var(--border);padding-top:8px}@media (width<=1100px){.accounting-document-modal.purchase-order-modal .voucher-entry-header{grid-template-columns:minmax(0,1fr) 210px}.accounting-document-modal.purchase-order-modal .voucher-entry-total{grid-column:1/-1}}@media (width<=700px){.accounting-document-modal.purchase-order-modal .voucher-entry-header,.purchase-order-modal .purchase-order-bottom{grid-template-columns:minmax(0,1fr)}.accounting-document-modal.purchase-order-modal .voucher-entry-main-grid>:is(label,div){grid-column:1/-1}}.purchase-order-modal-footer{background:#fff;min-height:44px;padding:6px 12px}.purchase-order-modal-footer .voucher-modal-footer-actions{gap:6px}.purchase-order-modal-footer .voucher-modal-footer-actions>button,.purchase-order-modal-footer .purchase-order-save-group>button,.purchase-order-modal-footer .purchase-order-save-group>summary{min-width:64px;height:30px;min-height:30px;padding:4px 12px;font-size:12px}.purchase-order-footer-left{align-items:center;min-width:90px;display:flex}.purchase-order-modal .purchase-order-supplier-code-control{align-items:center;gap:4px;min-width:0;display:flex}.purchase-order-modal .purchase-order-supplier-code-control>input{flex:1;min-width:0}.purchase-order-modal .purchase-order-supplier-code-control>button.icon-btn{flex:0 0 28px;width:28px;min-width:28px;height:28px;min-height:28px;padding:0}.purchase-order-record-navigation{gap:3px;display:inline-flex}.purchase-order-modal-footer .purchase-order-record-navigation>button{color:#506078;background:#fff;border-color:#d8dee8;width:28px;min-width:28px;height:28px;min-height:28px;padding:0}.purchase-order-modal-footer .purchase-order-record-navigation>button:hover:not(:disabled){border-color:var(--primary);color:var(--primary)}.purchase-order-modal-footer .purchase-order-record-navigation>button:disabled{color:#b7bfcb;opacity:1}.purchase-order-save-group{display:flex;position:relative}.purchase-order-save-primary{border-top-right-radius:0;border-bottom-right-radius:0}.purchase-order-save-toggle{background:var(--primary-gradient);color:#fff;border-left:1px solid #ffffff59;border-top-left-radius:0;border-bottom-left-radius:0;width:30px;min-height:30px}.purchase-order-save-menu{z-index:20;border:1px solid var(--border);background:var(--panel-bg);min-width:150px;box-shadow:var(--shadow);border-radius:6px;position:absolute;bottom:calc(100% + 8px);right:0;overflow:hidden}.purchase-order-save-menu-item{width:100%;color:var(--text-h);text-align:left;background:0 0;border:0;border-radius:0}.purchase-order-save-menu-item:hover{background:var(--panel-bg-soft)}.purchase-order-modal .purchase-order-save-options{background:#fff;min-width:140px;padding:4px 0}.purchase-order-modal .purchase-order-save-options>button.purchase-order-save-menu-item{min-height:30px;color:var(--text-h);text-align:left;box-shadow:none;background:#fff;border:0;border-radius:0;padding:6px 12px;font-size:12px;font-weight:400;display:block}.purchase-order-modal .purchase-order-save-options>button.purchase-order-save-menu-item:is(:hover,:focus-visible){background:var(--primary-soft);color:var(--primary)}.purchase-order-utility-group>summary{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;gap:5px;min-width:82px;list-style:none;display:inline-flex}.purchase-order-utility-group>summary::-webkit-details-marker{display:none}.purchase-order-print-group>summary.secondary{border:1px solid var(--border);min-width:64px;color:var(--primary);background:#fff;border-radius:4px}.purchase-order-print-group>summary:before{display:none}.purchase-order-print-group>summary:hover{background:var(--panel-bg-soft)}.purchase-order-utility-group>summary:before{content:"⋯";font-size:16px;line-height:1}.purchase-order-utility-menu{background:#fff;border-color:#d8dee8;border-radius:5px;min-width:178px;padding:4px 0;box-shadow:0 4px 14px #0f172a29}.purchase-order-conversion-primary{border-top-right-radius:0;border-bottom-right-radius:0}.purchase-order-conversion-toggle{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;width:30px;min-width:30px;padding:0}.purchase-order-conversion-menu{background:#fff;border-color:#d8dee8;border-radius:5px;min-width:245px;padding:4px 0;box-shadow:0 4px 14px #0f172a29}.purchase-order-modal :is(.purchase-order-utility-menu,.purchase-order-conversion-menu)>.purchase-order-save-menu-item{min-width:0;height:auto;min-height:28px;color:var(--text-h);text-align:left;background:#fff;border:0;border-radius:0;padding:6px 10px;font-size:12px;font-weight:400;line-height:16px}.purchase-order-modal :is(.purchase-order-utility-menu,.purchase-order-conversion-menu)>.purchase-order-save-menu-item:hover:not(:disabled),.purchase-order-modal :is(.purchase-order-utility-menu,.purchase-order-conversion-menu)>.purchase-order-save-menu-item:focus-visible{background:var(--panel-bg-soft);color:var(--text-h)}.purchase-order-modal :is(.purchase-order-utility-menu,.purchase-order-conversion-menu)>.purchase-order-save-menu-item:disabled{color:#a7b0be;opacity:1;background:#fff}.purchase-order-modal .purchase-order-modal-footer{box-sizing:border-box;min-height:40px;padding:6px 12px}.purchase-order-modal .purchase-order-modal-footer .voucher-modal-footer-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px}.purchase-order-modal .purchase-order-modal-footer .voucher-modal-footer-actions>button,.purchase-order-modal .purchase-order-modal-footer .purchase-order-save-group>:is(button,summary){box-sizing:border-box;white-space:nowrap;min-width:60px;height:28px;min-height:28px;box-shadow:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;gap:5px;margin:0;padding:0 10px;font-size:12px;line-height:16px;display:inline-flex}.purchase-order-modal .purchase-order-modal-footer .purchase-order-utility-group>summary{border:1px solid var(--border);color:var(--text-h);background:#fff}.purchase-order-modal .purchase-order-modal-footer :is(button.secondary,summary):hover:not(:disabled),.purchase-order-modal .purchase-order-modal-footer details[open]>summary{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.purchase-order-modal .purchase-order-modal-footer :is(button,summary):focus-visible{outline:2px solid var(--primary);outline-offset:2px}.purchase-order-modal .purchase-order-modal-footer .purchase-order-save-group>:is(.purchase-order-conversion-toggle,.purchase-order-save-toggle){border-radius:0 4px 4px 0;width:24px;min-width:24px;padding:0}.purchase-order-modal .purchase-order-modal-footer .purchase-order-save-group>:is(.purchase-order-conversion-primary,.purchase-order-save-primary){border-radius:4px 0 0 4px}.purchase-order-modal .purchase-order-modal-footer .purchase-order-record-navigation{gap:0}.purchase-order-modal .purchase-order-modal-footer .purchase-order-record-navigation>button{box-sizing:border-box;width:24px;min-width:24px;height:28px;min-height:28px;box-shadow:none;border-radius:4px 0 0 4px;justify-content:center;align-items:center;padding:0;display:inline-flex}.purchase-order-modal .purchase-order-modal-footer .purchase-order-record-navigation>button+button{border-left:0;border-radius:0 4px 4px 0}.document-modal-fullscreen .voucher-modal-footer{padding:6px 14px}.document-modal-fullscreen .voucher-modal-footer-actions button{padding:7px 16px;font-size:12px}.sales-invoice-modal .document-lower-section{grid-template-columns:minmax(380px,470px) minmax(260px,1fr);gap:28px}.sales-invoice-modal .document-line-count{margin-top:4px;font-size:10.5px}.sales-invoice-modal .document-lower-left .voucher-table-actions{gap:7px;min-height:28px;margin:6px 0 8px}.sales-invoice-modal .document-lower-left .voucher-table-actions button{box-sizing:border-box;min-height:28px;padding:3px 9px;font-size:11px}.accounting-document-modal .voucher-table-toolbar .voucher-currency-select select{width:178px}.accounting-document-modal .voucher-table-toolbar .voucher-discount-select select{width:226px}.sales-invoice-modal .document-footer-fields{grid-template-columns:1fr 1fr;gap:5px 8px;margin-bottom:6px}.sales-invoice-modal .document-footer-field{gap:2px;font-size:10.5px;line-height:1.2}.sales-invoice-modal .document-footer-field input:not([type=checkbox]):not(.document-native-date-picker),.sales-invoice-modal .document-footer-field select{height:28px;min-height:28px;padding:2px 7px;font-size:11px}.sales-invoice-modal .document-footer-field--successful_delivery_date,.sales-invoice-modal .document-footer-field--store_name{grid-column:auto}.sales-invoice-modal .document-footer-field--replacement_invoice{grid-column:1/-1}@media (width<=1100px){.sales-invoice-header{grid-template-columns:1fr}.sales-invoice-meta{min-height:165px}}@media (width<=760px){.sales-invoice-toolbar{display:none}.sales-invoice-customer-grid{grid-template-columns:1fr 1fr}.sales-invoice-customer-grid>label:nth-child(2),.sales-invoice-field--address{grid-column:span 1}}@media (width<=900px){.reference-picker-filter-row{flex-wrap:wrap}.document-lower-section{grid-template-columns:1fr;gap:10px}.document-totals{width:100%;margin-left:0}}@media (width<=520px){.document-footer-fields{grid-template-columns:1fr}.document-footer-field--replacement_invoice,.document-footer-field--successful_delivery_date,.document-footer-field--delivery_location,.document-footer-field--other_terms,.document-footer-field--receiving_location,.document-footer-field--carrier,.document-footer-field--store_name,.document-footer-field--invoice_lookup_url{grid-column:auto}}.voucher-error{color:var(--danger)}@media (width<=720px){.voucher-form-grid{grid-template-columns:1fr}.reference-picker-modal{width:calc(100vw - 16px);max-width:calc(100vw - 16px)}.reference-picker-filter-row>label,.reference-picker-filter-row .reference-picker-value-filter,.reference-picker-filter-period>label:first-child,.reference-picker-filter-period>label:nth-child(2),.reference-picker-filter-period>label:nth-child(3){width:calc(50% - 5px)}.reference-picker-search{width:100%}.purchase-order-modal{border-radius:0;width:100vw;height:100vh;max-height:100vh}.purchase-order-modal-header{min-height:60px;padding:10px 12px}.purchase-order-history-search{display:none}.purchase-order-title{max-width:calc(100vw - 230px)}.purchase-order-header-total{min-width:115px}.purchase-order-header-grid,.purchase-order-lower-grid{grid-template-columns:1fr}.purchase-order-lower-grid label{grid-column:auto!important}.purchase-order-modal-body{padding:12px}.purchase-order-items-toolbar{align-items:flex-start}}.auth-page{justify-content:center;align-items:center;min-height:100svh;padding:24px;display:flex}.auth-card{background:var(--panel-bg);border:1px solid var(--border);text-align:center;width:100%;max-width:380px;box-shadow:var(--shadow);border-radius:14px;padding:32px}.auth-brand{justify-content:center;margin-bottom:24px;display:flex}.auth-card h1{color:var(--text-h);margin:0 0 4px;font-size:20px}.auth-card>.muted{margin-bottom:20px;font-size:13px;display:block}.auth-form{flex-direction:column;gap:10px;display:flex}.auth-form button{margin-top:6px}.auth-switch{text-align:center;margin-top:18px;font-size:13px}.auth-switch a{color:var(--primary);font-weight:600;text-decoration:none}.chat-panel{height:calc(100svh - 220px);min-height:480px;padding:0;overflow:hidden}.chat-layout{height:100%;display:flex}.chat-sidebar{border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;gap:20px;width:240px;padding:16px;display:flex;position:relative;overflow-y:auto}.chat-sidebar-section{flex-direction:column;gap:6px;display:flex}.chat-sidebar-header{letter-spacing:.6px;text-transform:uppercase;color:var(--text);opacity:.7;justify-content:space-between;align-items:center;padding:0 4px;font-size:10.5px;display:flex}.chat-add-btn{border:1px solid var(--border);width:20px;height:20px;color:var(--text-h);background:0 0;border-radius:5px;justify-content:center;align-items:center;padding:0;display:flex}.chat-room-list{flex-direction:column;gap:2px;display:flex}.chat-room-item{color:var(--text);text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;font-weight:500;display:flex}.chat-room-item.active{background:var(--primary-soft);color:var(--primary);border-color:var(--primary-border)}.chat-empty-hint{padding:4px 10px;font-size:12px}.chat-dm-avatar{background:var(--primary-soft);width:22px;height:22px;color:var(--primary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:10px;font-weight:700;display:flex;overflow:hidden}.chat-dm-avatar img{object-fit:cover;width:100%;height:100%}.chat-dm-picker{background:var(--panel-bg);z-index:20;flex-direction:column;gap:6px;padding:16px;display:flex;position:absolute;inset:0;overflow-y:auto}.chat-dm-picker-header{color:var(--text-h);justify-content:space-between;align-items:center;margin-bottom:6px;font-size:12px;font-weight:700;display:flex}.chat-dm-picker-item{background:var(--panel-bg-soft);border:1px solid var(--border);color:var(--text-h);text-align:left;border-radius:6px;align-items:center;gap:10px;padding:8px 10px;font-size:13px;display:flex}.chat-main{flex-direction:column;flex:1;min-width:0;display:flex}.chat-main-header{border-bottom:1px solid var(--border);color:var(--text-h);flex-shrink:0;align-items:center;gap:12px;padding:12px 16px 12px 20px;font-size:14px;font-weight:700;display:flex;position:relative}.chat-main-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.chat-header-actions{align-items:center;gap:6px;margin-left:auto;display:flex}.chat-header-btn{border:1px solid var(--border);background:var(--panel-bg-soft);color:var(--text-b);cursor:pointer;border-radius:999px;align-items:center;gap:5px;padding:5px 9px;font-size:12px;font-weight:600;line-height:1;display:inline-flex}.chat-header-btn:hover{color:var(--text-h);border-color:var(--accent)}.chat-header-btn.active{color:#fff;background:var(--accent);border-color:var(--accent)}.chat-popover{z-index:30;border:1px solid var(--border);background:var(--panel-bg);border-radius:10px;flex-direction:column;gap:8px;width:280px;max-height:340px;padding:12px;font-weight:400;display:flex;position:absolute;top:calc(100% + 6px);right:12px;box-shadow:0 12px 28px #0000002e}.chat-popover-header{color:var(--text-h);justify-content:space-between;align-items:center;font-size:12px;font-weight:700;display:flex}.chat-popover-search{width:100%}.chat-popover-list{flex-direction:column;gap:6px;min-height:0;display:flex;overflow-y:auto}.chat-popover-footer{border-top:1px solid var(--border);gap:6px;padding-top:8px;display:flex}.chat-popover-footer input{flex:1;min-width:0}.chat-member-tag{white-space:nowrap;margin-left:auto;font-size:11px}.chat-member-remove{margin-left:auto}.chat-messages{flex-direction:column;flex:1;gap:12px;padding:16px 20px;display:flex;overflow-y:auto}.chat-bubble-row{align-items:flex-end;gap:8px;max-width:70%;display:flex}.chat-bubble-row.mine{flex-direction:row-reverse;align-self:flex-end}.chat-bubble{background:var(--panel-bg-soft);border:1px solid var(--border);border-radius:12px;min-width:0;padding:8px 12px}.chat-bubble-row.mine .chat-bubble{background:var(--primary-soft);border-color:var(--primary-border)}.chat-bubble-name{color:var(--primary);margin-bottom:2px;font-size:11px;font-weight:700;display:block}.chat-bubble p{color:var(--text-h);white-space:pre-wrap;word-break:break-word;margin:0;font-size:13px}.chat-input-row{border-top:1px solid var(--border);flex-shrink:0;gap:10px;padding:14px 20px;display:flex}@media (width<=1180px){.warehouse-dashboard-panels,.dashboard-row-3,.dashboard-row-3-equal{grid-template-columns:1fr}.kpi-row-6{grid-template-columns:repeat(3,1fr)}}@media (width<=720px){.mobile-menu-btn,.sidebar-close-btn{display:inline-flex}.sidebar{z-index:80;width:min(84vw,300px);height:calc(100dvh - 40px);max-height:none;box-shadow:var(--shadow);transition:transform .22s;position:fixed;top:0;left:0;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-overlay{z-index:75;background:#00000059;display:block;position:fixed;inset:0}.kpi-row,.kpi-row-6{grid-template-columns:repeat(2,1fr)}.dashboard-row-2{grid-template-columns:1fr}.main{padding:16px 16px 48px}.topbar{--topbar-bleed:16px;gap:6px;margin:-16px -16px 14px;padding:10px 16px}.topbar h1{font-size:16px}.topbar .subtitle{display:none}.topbar-right{gap:10px}.chat-layout{flex-direction:column}.chat-sidebar{border-right:none;border-bottom:1px solid var(--border);width:100%;max-height:160px}.chat-panel{height:calc(100svh - 160px)}.ai-panel-overlay{justify-content:stretch;align-items:flex-end;padding:0}.ai-panel{border-left:none;border-right:none;border-top:1px solid var(--border);width:100%;max-width:100%;height:auto;max-height:min(600px,82svh);padding:14px 14px calc(14px + env(safe-area-inset-bottom,0px));margin-bottom:max(10px, env(safe-area-inset-bottom,0px));border-radius:16px 16px 0 0}.ai-panel-input input{font-size:16px}}.directory-page{padding-bottom:24px}.directory-header{justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px;display:flex}.directory-header h2{margin:0;font-size:22px}.directory-header p{color:var(--muted);margin:4px 0 0;font-size:13px}.directory-search,.catalog-search{color:#748094;background:#fff;border:1px solid #d8dee9;border-radius:6px;align-items:center;gap:8px;min-width:280px;height:36px;padding:0 11px;display:flex}.directory-search:focus-within,.catalog-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px #2563eb1a}.directory-search input,.catalog-search input{background:0 0;border:0;outline:0;width:100%;padding:0}.directory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.directory-card{background:#fff;border:1px solid #dfe4ec;border-radius:8px;min-height:150px;padding:16px 18px;box-shadow:0 1px 2px #0f172a06}.directory-card h3{color:#172033;align-items:center;gap:9px;margin:0 0 10px;font-size:14px;display:flex}.directory-card h3 span{width:30px;height:30px;color:var(--primary);background:#edf4ff;border-radius:7px;place-items:center;display:grid}.directory-card>div{flex-direction:column;display:flex}.directory-card a{color:#344054;border-radius:5px;justify-content:space-between;align-items:center;min-height:32px;padding:5px 7px;font-size:13px;text-decoration:none;display:flex}.directory-card a:hover{color:var(--primary);background:#f3f7ff}.directory-card a svg{opacity:0;transition:opacity .15s}.directory-card a:hover svg{opacity:1}.directory-empty{text-align:center;color:var(--muted);background:#fff;border:1px solid #dfe4ec;border-radius:8px;padding:56px}.catalog-toolbar{justify-content:flex-end;align-items:center;gap:8px;margin-bottom:12px;display:flex}.catalog-toolbar .catalog-search{margin-right:auto}.catalog-toolbar select{width:auto;min-width:145px}.catalog-note{border-left:3px solid var(--primary);color:#596579;background:#f6f9ff;margin:-2px 0 12px;padding:9px 12px;font-size:12px}.catalog-pagination{color:var(--muted);justify-content:flex-end;align-items:center;gap:9px;margin-top:10px;font-size:12px;display:flex}.catalog-pagination>span:first-child{margin-right:auto}.catalog-pagination label{align-items:center;gap:7px;display:flex}.catalog-pagination select{width:auto;min-width:64px}.currency-page-title{align-items:center;gap:8px;margin:0 0 10px;display:flex}.currency-page-title h2{color:var(--text-h);margin:0;font-size:20px}.currency-panel{padding:0;overflow:visible}.currency-toolbar{justify-content:space-between;align-items:center;gap:12px;min-height:46px;padding:7px 10px;display:flex}.currency-search{border:1px solid var(--border);width:min(310px,42vw);height:32px;color:var(--muted);background:#fff;border-radius:5px;align-items:center;gap:7px;padding:0 10px;display:flex}.currency-search input{width:100%;min-width:0;height:30px;box-shadow:none;background:0 0;border:0;padding:0}.currency-toolbar-actions{align-items:center;gap:7px;display:flex}.currency-toolbar-actions>.icon-btn{width:32px;height:32px}.currency-add-split{height:32px;display:inline-flex;position:relative}.currency-add-split>button{border-radius:4px 0 0 4px;height:32px}.currency-add-split>.purchase-action-add-toggle{border-left:1px solid #ffffff59;border-radius:0 4px 4px 0;width:32px;padding:0}.currency-add-menu{min-width:150px;left:auto;right:0}.currency-table-wrap{border-top:1px solid var(--border);border-bottom:1px solid var(--border);max-width:100%;overflow:auto}.currency-table{table-layout:fixed;min-width:960px;font-size:12px}.currency-table col:first-child{width:12%}.currency-table col:nth-child(2){width:25%}.currency-table col:nth-child(3),.currency-table col:nth-child(4),.currency-table col:nth-child(5){width:14%}.currency-table col:nth-child(6){width:12%}.currency-table col:nth-child(7){width:9%}.currency-table th{color:#1f2937;white-space:normal;background:#e6f0f4;border-right:1px solid #cbdde3;height:30px;padding:5px 10px}.currency-table td{border-right:1px solid var(--border);white-space:normal;overflow-wrap:anywhere;height:32px;padding:5px 10px}.currency-table .number-cell{text-align:right;font-variant-numeric:tabular-nums}.currency-table th:last-child,.currency-table td:last-child{z-index:2;text-align:center;background:#fff;border-right:0;position:sticky;right:0}.currency-table th:last-child{background:#e6f0f4}.currency-filter-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.currency-filter-heading>button{color:#64748b;background:0 0;border:0;flex:0 0 24px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:inline-flex}.currency-filter-heading>button:hover,.currency-filter-heading>button.is-active{color:var(--primary);background:#e9f0ff}.currency-status-filter{z-index:3200;box-sizing:border-box;color:var(--text);text-align:left;background:#fff;border:1px solid #d7dce5;border-radius:9px;position:fixed;overflow:hidden;box-shadow:0 8px 24px #0f172a2e}.currency-status-filter>header{justify-content:space-between;align-items:center;height:46px;padding:0 20px;display:flex}.currency-status-filter>header strong{color:var(--text-h);font-size:14px}.currency-status-filter>header button{color:#64748b;background:0 0;border:0;width:26px;height:26px;padding:0;font-size:20px;font-weight:400}.currency-status-filter-search{border:1px solid var(--primary);background:#fff;border-radius:5px;align-items:center;height:34px;margin:0 20px 2px;display:flex}.currency-status-filter-search input{width:100%;min-width:0;height:32px;box-shadow:none;background:0 0;border:0;padding:0 10px;font-size:12px}.currency-status-filter-search .icon{box-sizing:content-box;border-left:1px solid var(--primary);color:var(--primary);padding:9px 10px;transform:rotate(180deg)}.currency-status-filter-options{padding:2px 20px 10px}.currency-status-filter-options>button{width:100%;height:32px;color:var(--text);text-align:left;background:#fff;border:0;border-radius:0;padding:0 9px;font-size:12px;font-weight:400;display:block}.currency-status-filter-options>button:hover,.currency-status-filter-options>button.selected{color:var(--primary);background:#e9f0ff}.currency-status-filter-options p{color:var(--muted);margin:8px;font-size:12px}.currency-status-filter>footer{border-top:1px solid var(--border);justify-content:flex-end;padding:8px 20px 12px;display:flex}.currency-status-filter>footer button{height:30px}.currency-number-filter{z-index:3200;box-sizing:border-box;color:var(--text);text-align:left;background:#fff;border:1px solid #d7dce5;border-radius:9px;position:fixed;overflow:hidden;box-shadow:0 8px 24px #0f172a2e}.currency-number-filter>header{justify-content:space-between;align-items:center;height:48px;padding:0 20px;display:flex}.currency-number-filter>header strong{color:var(--text-h);font-size:14px}.currency-number-filter>header button{color:#64748b;background:0 0;border:0;width:26px;height:26px;padding:0;font-size:20px;font-weight:400}.currency-number-filter-body{gap:10px;padding:0 20px 18px;display:grid}.currency-number-filter-body select,.currency-number-filter-body input{box-sizing:border-box;width:100%;height:34px;color:var(--text);background:#fff;border:1px solid #cfd6e1;border-radius:5px;padding:0 10px;font-size:12px}.currency-number-filter-body input{text-align:right}.currency-number-filter-body input::placeholder{color:#9aa3b2;font-style:italic}.currency-number-filter-body select:focus,.currency-number-filter-body input:focus{border-color:var(--primary);box-shadow:0 0 0 1px color-mix(in srgb, var(--primary) 18%, transparent);outline:0}.currency-number-filter>footer{border-top:1px solid var(--border);background:#fff;grid-template-columns:auto 1fr auto auto;align-items:center;gap:8px;padding:12px 20px 14px;display:grid}.currency-number-filter>footer button{box-sizing:border-box;white-space:nowrap;border-radius:5px;justify-content:center;align-items:center;min-width:72px;height:32px;padding:0 13px;font-size:12px;line-height:1;display:inline-flex}.currency-number-filter>footer .currency-filter-apply{border-color:var(--primary);background:var(--primary);color:#fff;opacity:1}.document-type-panel{padding:0;overflow:visible}.document-type-toolbar{justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:5px 10px;display:flex}.document-type-toolbar .contact-group-search{width:min(320px,42vw)}.document-type-table-wrap{border-block:1px solid var(--border);background:#fff;min-height:280px;max-height:calc(100vh - 235px);overflow:auto}.document-type-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:760px}.document-type-table col:first-child{width:22%}.document-type-table col:nth-child(2){width:auto}.document-type-table col:nth-child(3){width:150px}.document-type-table col:nth-child(4){width:112px}table.data-table.document-type-table th,table.data-table.document-type-table td{box-sizing:border-box;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;height:33px;padding:4px 10px;font-size:12px;line-height:1.3}table.data-table.document-type-table thead th{z-index:3;height:34px;color:var(--text-h);border-bottom-color:var(--primary-border);white-space:normal;background:#eaf1ff;font-size:11px;position:sticky;top:0}.document-type-table td:nth-child(2){white-space:normal;overflow-wrap:anywhere}.document-type-table th:nth-child(3),.document-type-table td:nth-child(3),.document-type-table th:nth-child(4),.document-type-table td:nth-child(4){text-align:center;white-space:nowrap}.document-type-table th:last-child,.document-type-table td:last-child{z-index:2;box-shadow:-1px 0 var(--border);background:#fff;border-right:0;position:sticky;right:0}.document-type-table thead th:last-child{z-index:4;background:#eaf1ff}.document-type-table tbody tr:hover td,.document-type-table tbody tr:hover td:last-child{background:#edf3ff}.document-type-empty{text-align:center!important;height:250px!important}.document-type-footer{min-height:40px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:0 10px;font-size:12px;display:flex}.document-type-notice{border-color:var(--primary-border);color:var(--primary);background:#edf3ff;justify-content:space-between;align-items:center;margin:0 10px 6px;display:flex}.document-type-notice button{color:inherit;background:0 0;border:0;font-size:18px}.voucher-modal.document-type-modal{width:min(620px,100vw - 32px);max-width:620px}.document-type-modal .voucher-modal-header{min-height:50px;padding:10px 16px}.document-type-modal .voucher-modal-header h2{margin:0;font-size:17px}.document-type-form{background:var(--panel-bg-soft);gap:12px;padding:14px 16px 16px;display:grid}.document-type-form-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:11px 12px;display:grid}.document-type-form label{min-width:0;color:var(--text);flex-direction:column;gap:5px;font-size:12px;display:flex}.document-type-form label>span:first-child{min-height:16px}.document-type-form em{color:var(--danger);font-style:normal}.document-type-form input,.document-type-form textarea{box-sizing:border-box;border:1px solid var(--border);width:100%;min-width:0;height:36px;color:var(--text-h);font:inherit;background:#fff;border-radius:5px;outline:0;padding:5px 10px}.document-type-form input:focus,.document-type-form textarea:focus{border-color:var(--primary);box-shadow:0 0 0 1px #2563eb21}.document-type-form input:disabled{color:var(--muted);background:#eef1f5}.document-type-form textarea{resize:vertical;min-height:68px}.document-type-active{align-items:center;width:fit-content;flex-direction:row!important;gap:7px!important;display:inline-flex!important}.document-type-active input{width:16px;min-width:16px;height:16px}@media (width<=700px){.document-type-toolbar{flex-direction:column;align-items:stretch}.document-type-toolbar .contact-group-search{width:100%}.document-type-form-grid{grid-template-columns:1fr}}.currency-footer{justify-content:space-between;align-items:center;gap:12px;min-height:46px;padding:6px 12px;font-size:12px;display:flex}.currency-notice{margin:0 10px 8px}.currency-notice button{color:inherit;background:0 0;border:0;margin-left:auto}.currency-drawer-overlay{justify-content:flex-end;padding:0}.currency-drawer{background:#fff;flex-direction:column;width:min(760px,96vw);height:100dvh;display:flex;overflow:hidden;box-shadow:-8px 0 28px #0f172a33}.currency-drawer>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:54px;padding:0 18px;display:flex}.currency-drawer>header h2{margin:0;font-size:19px}.currency-drawer>header>div{align-items:center;gap:6px;display:flex}.currency-form-body{background:#f3f5f8;flex:auto;padding:16px 18px 24px;overflow:auto}.currency-core-grid{grid-template-columns:1fr 1.7fr;gap:12px;display:grid}.currency-core-grid label,.currency-reading-grid label,.currency-reading-example label{color:#5d6878;flex-direction:column;gap:5px;min-width:0;font-size:12px;display:flex}.currency-core-grid input,.currency-reading-grid input,.currency-reading-example input{box-sizing:border-box;background:#fff;width:100%;height:36px}.currency-core-grid input:disabled{color:#697386;background:#e9edf2}.currency-core-grid em{color:#dc2626;font-style:normal}.currency-inline-check{align-items:center;gap:7px;margin:14px 0 8px;font-size:13px;display:inline-flex}.currency-inline-check input{width:16px;height:16px;margin:0}.currency-info{color:var(--primary);background:#eff5ff;border:1px solid #b9d1ff;border-radius:4px;align-items:center;gap:7px;margin:0 0 10px;padding:8px 10px;font-size:12px;display:flex}.currency-section-toggle{border:0;border-top:1px solid var(--border);width:100%;height:38px;color:var(--primary);background:0 0;border-radius:0;align-items:center;gap:6px;margin-top:8px;padding:0;font-weight:700;display:flex}.currency-section{padding:8px 0 4px}.currency-reading{border:1px solid var(--border);background:#fff;border-radius:5px;margin:0 0 12px;padding:12px}.currency-reading legend{color:var(--text-h);padding:0 5px;font-size:13px;font-weight:700}.currency-reading-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.currency-reading-example{border:1px solid var(--border);background:#fff;border-radius:5px;grid-template-columns:1fr 1.3fr;gap:8px 16px;padding:12px;display:grid}.currency-reading-example p{margin:0;font-size:12px}.currency-denomination-table{table-layout:fixed;background:#fff}.currency-denomination-table th:first-child{width:42px}.currency-denomination-table th:nth-child(2){width:35%}.currency-denomination-table th:last-child{width:42px}.currency-denomination-table input{box-sizing:border-box;background:#fff;width:100%;height:32px}.currency-denomination-actions{gap:8px;margin-top:8px;display:flex}.currency-drawer>footer{border-top:1px solid var(--border);background:#fff;justify-content:flex-end;align-items:center;gap:8px;min-height:54px;padding:8px 18px;display:flex}.currency-drawer>footer button{min-width:72px;height:34px}@media (width<=720px){.currency-toolbar{flex-direction:column;align-items:stretch}.currency-search{width:100%}.currency-toolbar-actions{justify-content:flex-end}.currency-core-grid,.currency-reading-grid,.currency-reading-example{grid-template-columns:1fr}}.page-heading{align-items:center;gap:10px;margin-bottom:14px;display:flex}.page-heading h2{margin:0}.button-link{color:#fff;background:var(--primary);border-radius:5px;align-items:center;min-height:34px;padding:0 14px;text-decoration:none;display:inline-flex}@media (width<=900px){.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.directory-grid{grid-template-columns:1fr}.directory-header,.catalog-toolbar{flex-direction:column;align-items:stretch}.directory-search,.catalog-search{width:100%;min-width:0}.merge-contact-grid{grid-template-columns:1fr}}.portal-shell{background:radial-gradient(circle at 8% -10%,#145bff14,#0000 28rem),#f5f7fb;min-height:100vh}.portal-header{z-index:30;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;align-items:center;gap:28px;min-height:64px;padding:8px 28px;display:flex;position:sticky;top:0;box-shadow:0 1px 12px #0f172a0a}.portal-brand-lockup{flex-shrink:0;align-items:center;gap:12px;display:flex}.portal-brand-badge{color:#fff;background:var(--primary-gradient);letter-spacing:.03em;white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:6px 13px;font-size:15px;font-weight:700;display:inline-flex;box-shadow:0 2px 8px #145bff40}.portal-brand-badge .icon{flex-shrink:0}.portal-logo{object-fit:contain;width:124px;max-height:38px}.portal-nav{flex:1;justify-content:center;align-items:center;gap:4px;display:flex}.portal-nav a{color:var(--text);border:1px solid #0000;border-radius:9px;align-items:center;gap:7px;padding:9px 14px;font-size:13px;font-weight:600;text-decoration:none;transition:all .18s;display:inline-flex}.portal-nav a:hover{color:var(--text-h);background:var(--panel-bg-soft)}.portal-nav a:focus-visible{outline:2px solid var(--primary-border);outline-offset:1px}.portal-nav a.active{color:var(--primary);background:var(--primary-soft);border-color:var(--primary-border)}.portal-account{border-left:1px solid var(--border);align-items:center;gap:9px;padding-left:18px;display:flex}.portal-account-avatar{color:#fff;background:var(--primary-gradient);border-radius:50%;place-items:center;width:34px;height:34px;font-size:13px;font-weight:700;display:grid}.portal-account-copy{flex-direction:column;line-height:1.25;display:flex}.portal-account-copy strong{max-width:150px;color:var(--text-h);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.portal-account-copy small{color:var(--text);font-size:11px}.portal-logout{width:32px;height:32px;color:var(--text);border:1px solid var(--border);background:0 0;border-radius:9px;place-items:center;padding:0;display:grid}.portal-logout:hover{color:var(--primary);border-color:var(--primary-border)}.portal-main{max-width:1440px;margin:0 auto;padding:30px 32px 48px}.portal-profile-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;display:grid}.portal-profile-grid>div{flex-direction:column;gap:5px;display:flex}.portal-debt-total{justify-content:space-between;align-items:baseline;margin-bottom:16px;display:flex}.portal-debt-total strong{font-size:1.5rem}.portal-order-link{color:#145bff;font-weight:600;text-decoration:none}.portal-order-link:hover{color:#0f45cc}.portal-orders-page{flex-direction:column;gap:14px;display:flex}.portal-orders-head h2{margin:0 0 3px;font-size:18px}.portal-orders-head p{margin:0;font-size:12.5px}.portal-orders-empty{text-align:center;border:1px dashed var(--border,#e3e7ec);background:#fff;border-radius:16px;flex-direction:column;align-items:center;gap:8px;padding:48px 20px;display:flex}.portal-orders-empty>span{color:#8a97aa;background:var(--panel-bg-soft,#f4f6fa);border-radius:50%;place-items:center;width:56px;height:56px;display:grid}.portal-orders-empty strong{color:var(--text-h,#1f2430)}.portal-order-cards{flex-direction:column;gap:12px;display:flex}.portal-order-card{border:1px solid var(--border,#e3e7ec);color:inherit;background:#fff;border-radius:14px;padding:14px 16px;text-decoration:none;transition:box-shadow .15s,transform .15s,border-color .15s;display:block;box-shadow:0 3px 12px #0f172a0a}.portal-order-card.is-link{cursor:pointer}.portal-order-card.is-link:hover{border-color:var(--primary-border,#145bff59);transform:translateY(-1px);box-shadow:0 10px 26px #0f172a1a}.portal-order-card-top{align-items:center;gap:11px;display:flex}.portal-order-card-icon{color:#145bff;background:var(--primary-soft,#145bff1a);border-radius:10px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.portal-order-card-id{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.portal-order-card-id strong{color:var(--text-h,#1f2430);text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;overflow:hidden}.portal-order-card-id .muted{font-size:11.5px}.portal-order-card-bottom{border-top:1px solid var(--border,#e3e7ec);justify-content:space-between;align-items:flex-end;margin-top:12px;padding-top:11px;display:flex}.portal-order-card-total{flex-direction:column;gap:2px;display:flex}.portal-order-card-total .muted{font-size:11px}.portal-order-card-total strong{color:var(--text-h,#1f2430);font-size:15px}.portal-order-card-cta{color:#145bff;align-items:center;gap:4px;font-size:12.5px;font-weight:600;display:inline-flex}.portal-detail-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;display:grid}.portal-detail-grid>div{flex-direction:column;align-items:flex-start;gap:5px;display:flex}.portal-track-head{border-bottom:1px solid var(--border,#e3e7ec);align-items:center;gap:12px;margin-bottom:4px;padding-bottom:16px;display:flex}.portal-track-head-icon{color:#fff;background:#145bff;border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.portal-track-head-icon.done{background:var(--green,#22c55e)}.portal-track-head>div{flex-direction:column;gap:2px;display:flex}.portal-track-head strong{color:var(--text-h,#1f2430);font-size:15px}.portal-track-head .muted{font-size:12px}.portal-track-list{margin:12px 0 0;padding:0;list-style:none}.portal-track-item{grid-template-columns:66px 24px 1fr;align-items:start;column-gap:10px;padding-bottom:22px;display:grid;position:relative}.portal-track-item:last-child{padding-bottom:0}.portal-track-rail{justify-content:center;align-self:stretch;padding-top:3px;display:flex;position:relative}.portal-track-item:not(:last-child) .portal-track-rail:before{content:"";background:var(--border,#e3e7ec);width:2px;position:absolute;top:14px;bottom:-22px;left:50%;transform:translate(-50%)}.portal-track-dot{z-index:1;background:#c7ced9;border-radius:50%;flex-shrink:0;width:9px;height:9px;position:relative}.portal-track-item.current .portal-track-dot{background:#145bff;width:13px;height:13px;box-shadow:0 0 0 4px #145bff29}.portal-track-time{color:#9aa5b4;text-align:right;white-space:pre-line;padding-top:1px;font-size:11px;line-height:1.4}.portal-track-item.current .portal-track-time{color:#145bff;font-weight:600}.portal-track-desc{flex-direction:column;gap:2px;padding-top:0;display:flex}.portal-track-desc p{color:#8a97aa;margin:0;font-size:13px}.portal-track-item.current .portal-track-desc p{color:var(--text-h,#1f2430);font-weight:600}.portal-track-desc .muted{font-size:11px}.portal-confirm-received{margin-top:16px}.portal-fulfill-control{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.portal-fulfill-trigger{color:#145bff;background:var(--primary-soft,#145bff1a);border:1px solid var(--primary-border,#145bff47);white-space:nowrap;border-radius:8px;align-items:center;gap:5px;padding:7px 10px 7px 13px;font-size:12px;font-weight:600;transition:background .14s,color .14s,border-color .14s;display:inline-flex}.portal-fulfill-trigger:hover:not(:disabled),.portal-fulfill-trigger.is-open{color:#fff;background:#145bff;border-color:#145bff}.portal-fulfill-trigger:disabled{opacity:.6;cursor:progress}.portal-fulfill-menu{z-index:60;border:1px solid var(--border,#e3e7ec);background:#fff;border-radius:10px;flex-direction:column;padding:5px;display:flex;position:fixed;box-shadow:0 12px 32px #0f172a29}.portal-fulfill-menu button{width:100%;color:var(--text,#1f2430);text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;padding:8px 10px;font-size:12.5px;font-weight:500;display:flex}.portal-fulfill-menu button:hover{background:var(--primary-soft,#145bff1a);color:#145bff}.portal-fulfill-menu button>svg{color:#9aa5b4;flex-shrink:0}.portal-fulfill-menu button:hover>svg{color:#145bff}.portal-fulfill-final{align-items:center;gap:5px;font-size:12px;font-weight:600;display:inline-flex}.portal-fulfill-final.done{color:var(--green,#16a34a)}.portal-fulfill-final.wait{color:#8a97aa}.portal-fulfill-error{color:var(--danger,#ef4444);font-size:11px}.portal-order-page{--portal-ink:#13213a;--portal-blue-soft:#eef4ff}.portal-order-hero{color:#fff;background:radial-gradient(circle at 86% 15%,#ffffff2e,#0000 14rem),linear-gradient(115deg,#101f42 0%,#145bff 70%,#2f80ed 100%);border-radius:18px;justify-content:space-between;align-items:center;gap:32px;min-height:132px;padding:26px 32px;display:flex;overflow:hidden;box-shadow:0 16px 38px #145bff2e}.portal-eyebrow{color:#ffffffb8;letter-spacing:.14em;margin-bottom:6px;font-size:15px;font-weight:700;display:block}.portal-order-hero h1{color:#fff;margin:0;font-size:clamp(25px,3vw,36px);line-height:1.2}.portal-order-hero p{color:#ffffffc2;margin-top:9px}.portal-order-hero-stats{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff1f;border:1px solid #ffffff2e;border-radius:14px;grid-template-columns:repeat(3,minmax(86px,1fr));min-width:330px;display:grid;overflow:hidden}.portal-order-hero-stats>div{flex-direction:column;align-items:center;padding:17px 12px;display:flex}.portal-order-hero-stats>div+div{border-left:1px solid #ffffff29}.portal-order-hero-stats strong{color:#fff;font-size:22px}.portal-order-hero-stats span{color:#ffffffad;font-size:11px}.portal-order-success{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;align-items:center;gap:13px;margin-top:18px;padding:14px 16px;display:flex}.portal-success-icon{color:#15803d;background:#dcfce7;border-radius:50%;place-items:center;width:38px;height:38px;display:grid}.portal-order-success div{flex:1}.portal-order-success strong{color:#166534}.portal-order-success p{color:#4b7a5d;margin-top:2px;font-size:12px}.portal-order-success a{color:#15803d;font-size:13px;font-weight:700;text-decoration:none}.portal-order-error{margin-top:18px}.portal-cart-notice{background:var(--warning-soft,#fff7ed);border:1px solid var(--warning-border,#fed7aa);color:var(--text,#1f2430);border-radius:12px;align-items:center;gap:10px;margin-top:16px;padding:12px 16px;font-size:13.5px;display:flex}.portal-cart-notice>span{flex:1}.portal-cart-notice button{border-radius:8px;flex-shrink:0;padding:5px 12px;font-size:12.5px}.portal-cart-btn{width:34px;height:34px;color:var(--text);border:1px solid var(--border);background:0 0;border-radius:10px;place-items:center;padding:0;display:grid;position:relative}.portal-cart-btn:hover{color:var(--primary);border-color:var(--primary-border);background:var(--primary-soft)}.portal-cart-badge{color:#fff;background:var(--danger,#ef4444);border:2px solid var(--panel-bg-soft,#fff);border-radius:999px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:10px;font-weight:700;line-height:1;display:grid;position:absolute;top:-6px;right:-6px}.portal-order-browse{padding-bottom:68px}.portal-product-grid-full{margin-top:16px}.portal-browse-cartbar-wrap{z-index:20;pointer-events:none;flex-direction:column;align-items:flex-end;gap:8px;width:fit-content;max-width:100%;margin:14px 0 0 auto;display:flex;position:sticky;bottom:16px}.portal-browse-cartbar-wrap>*{pointer-events:auto}.portal-cart-flash{background:var(--green,#16a34a);color:#fff;border-radius:999px;align-items:center;gap:6px;max-width:320px;padding:7px 12px;font-size:12px;font-weight:600;animation:.16s ease-out portal-cart-flash-in;display:inline-flex;box-shadow:0 8px 22px #0f172a2e}.portal-cart-flash span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@keyframes portal-cart-flash-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.portal-browse-cartbar{background:var(--primary-navy,#12306b);color:#fff;border-radius:999px;align-items:center;gap:12px;padding:6px 6px 6px 16px;display:inline-flex;box-shadow:0 10px 28px #0f172a38}.portal-browse-cartbar-info{white-space:nowrap;align-items:center;gap:8px;font-size:12.5px;display:flex}.portal-browse-cartbar-info strong{font-weight:700}.portal-browse-cartbar button{color:var(--primary-navy,#12306b);white-space:nowrap;background:#fff;border-radius:999px;flex-shrink:0;align-items:center;gap:5px;padding:7px 14px;font-size:12px;font-weight:700;display:inline-flex}.portal-cart-page{padding-bottom:40px}.portal-cart-empty-page{border-radius:16px;gap:10px;min-height:320px;margin-top:18px}.portal-cart-browse-link,.portal-cart-continue{color:var(--primary);align-items:center;gap:6px;font-size:12.5px;font-weight:600;text-decoration:none;display:inline-flex}.portal-cart-browse-link{border:1px solid var(--primary-border);border-radius:10px;margin-top:6px;padding:9px 16px}.portal-cart-review{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:22px;margin-top:18px;display:grid}.portal-cart-review-lines{flex-direction:column;gap:10px;display:flex}.portal-cart-review-line{border:1px solid var(--border);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.portal-cart-review-info{flex-direction:column;gap:3px;min-width:0;display:flex}.portal-cart-review-info strong{color:var(--text-h);font-size:13.5px}.portal-cart-review-info .muted{font-size:11.5px}.portal-cart-review-actions{flex-shrink:0;align-items:center;gap:14px;display:flex}.portal-cart-review-linetotal{text-align:right;min-width:96px;color:var(--text-h);font-size:13.5px}.portal-cart-review-remove{width:30px;height:30px;color:var(--text);border:1px solid var(--border);background:0 0;border-radius:8px;place-items:center;padding:0;display:grid}.portal-cart-review-remove:hover{color:var(--danger,#ef4444);border-color:var(--danger,#ef4444)}.portal-cart-checkout{border:1px solid var(--border);background:#fff;border-radius:14px;flex-direction:column;padding:16px 0 0;display:flex;position:sticky;top:84px;box-shadow:0 6px 20px #0f172a0d}.portal-cart-checkout .portal-submit-order{width:calc(100% - 32px);margin:4px 16px 8px}.portal-cart-continue{align-self:center;margin-bottom:16px}@media (width<=860px){.portal-cart-review{grid-template-columns:1fr}.portal-cart-checkout{position:static}.portal-cart-review-line{flex-direction:column;align-items:stretch}.portal-cart-review-actions{justify-content:space-between}}.portal-catalog-toolbar{justify-content:space-between;align-items:center;gap:24px;margin-top:24px;display:flex}.portal-catalog-heading{align-items:center;gap:11px;display:flex}.portal-catalog-icon{width:40px;height:40px;color:var(--primary);background:var(--primary-soft);border-radius:11px;place-items:center;display:grid}.portal-catalog-heading>div{flex-direction:column;display:flex}.portal-catalog-heading strong{color:var(--portal-ink);font-size:16px}.portal-catalog-heading span{font-size:12px}.portal-catalog-search{color:#94a3b8;border:1px solid var(--border);background:#fff;border-radius:11px;align-items:center;gap:9px;width:min(303px,42vw);padding:0 13px;display:flex;box-shadow:0 4px 14px #0f172a0a}.portal-catalog-search:focus-within{color:var(--primary);border-color:var(--primary-border);box-shadow:0 0 0 3px var(--primary-soft)}.portal-catalog-search input{background:0 0;border:0;outline:0;width:100%;padding:11px 0}.portal-brand-tabs{scrollbar-width:thin;gap:7px;margin:16px 0 20px;padding-bottom:4px;display:flex;overflow-x:auto}.portal-brand-tabs button{color:#516078;border:1px solid var(--border);background:#fff;border-radius:999px;flex-shrink:0;align-items:center;gap:7px;padding:8px 12px;font-size:12px;font-weight:650;display:inline-flex}.portal-brand-tabs button span{color:#7c8aa1;background:#f1f4f8;border-radius:999px;padding:1px 6px;font-size:10px}.portal-brand-tabs button.active{color:#fff;background:var(--primary);border-color:var(--primary);box-shadow:0 6px 16px #145bff33}.portal-brand-tabs button.active span{color:#fff;background:#ffffff2e}.portal-order-workspace{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:22px;display:grid}.portal-product-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.portal-product-card{border:1px solid var(--border);background:#fff;border-radius:11px;flex-direction:column;min-width:0;min-height:170px;padding:10px;transition:transform .18s,border-color .18s,box-shadow .18s;display:flex;box-shadow:0 4px 16px #0f172a0a}.portal-product-card:hover{border-color:#cbd8ec;transform:translateY(-2px);box-shadow:0 12px 28px #0f172a14}.portal-product-card.selected{border-color:var(--primary-border);box-shadow:0 0 0 2px var(--primary-soft), 0 12px 28px #145bff14}.portal-product-card.unavailable{background:#fafbfc}.portal-product-card-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.portal-product-brand{color:var(--primary);background:var(--portal-blue-soft);letter-spacing:.035em;text-transform:uppercase;border-radius:6px;padding:3px 6px;font-size:8px;font-weight:750}.portal-selected-mark{color:#15803d;align-items:center;gap:3px;font-size:8px;font-weight:700;display:inline-flex}.portal-product-visual{width:42px;height:42px;color:var(--primary);background:linear-gradient(145deg,#f5f8ff,#e8f0ff);border:1px solid #dce8ff;border-radius:12px;place-items:center;margin:8px auto 6px;display:grid;position:relative}.portal-product-visual>.icon{width:20px;height:20px}.portal-product-visual span{color:#fff;background:var(--primary);border:3px solid #fff;border-radius:50%;place-items:center;width:18px;height:18px;font-size:7px;font-weight:800;display:grid;position:absolute;bottom:-5px;right:-5px}.portal-product-info{flex-direction:column;flex:1;min-width:0;display:flex}.portal-product-code{color:#8a97aa;font:8px/1.2 var(--mono);text-align:center}.portal-product-info h3{color:var(--portal-ink);text-align:center;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;margin:3px 0 2px;font-size:10px;font-weight:650;line-height:1.3;display:-webkit-box;overflow:hidden}.portal-product-unit{color:#8a97aa;text-align:center;font-size:8px}.portal-product-footer{border-top:1px solid #eef1f5;justify-content:space-between;align-items:flex-end;gap:5px;margin-top:7px;padding-top:7px;display:flex}.portal-product-footer>div:first-child{flex-direction:column;min-width:0;display:flex}.portal-product-footer>div:first-child span{color:#8a97aa;font-size:7px}.portal-product-footer>div:first-child strong{color:var(--primary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.portal-add-product,.portal-product-disabled{white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:3px;padding:5px 7px;font-size:9px;display:inline-flex}.portal-product-disabled{color:#94a3b8;background:#eef1f5;border-color:#e4e8ee}.portal-qty-control{border:1px solid var(--primary-border);border-radius:8px;grid-template-columns:22px 28px 22px;display:grid;overflow:hidden}.portal-qty-control button,.portal-qty-control input{min-width:0;height:var(--accounting-control-height);color:var(--primary);text-align:center;background:#fff;border:0;border-radius:0;padding:0;font-size:9px}.portal-qty-control input{color:var(--portal-ink);border-right:1px solid var(--primary-border);border-left:1px solid var(--primary-border);appearance:textfield}.portal-qty-control input::-webkit-inner-spin-button{appearance:none}.portal-cart-card{border:1px solid var(--border);background:#fff;border-radius:16px;position:sticky;top:94px;overflow:hidden;box-shadow:0 12px 30px #0f172a14}.portal-cart-title{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:16px 17px;display:flex}.portal-cart-title>div{align-items:center;gap:9px;display:flex}.portal-cart-title>div>span{width:32px;height:32px;color:var(--primary);background:var(--primary-soft);border-radius:9px;place-items:center;display:grid}.portal-cart-title strong{color:var(--portal-ink);font-size:14px}.portal-cart-title>b{color:#fff;background:var(--primary);border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 4px;font-size:10px;display:grid}.portal-cart-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:175px;padding:20px 34px;display:flex}.portal-cart-empty>span{color:#9aabc3;background:#f2f5f9;border-radius:50%;place-items:center;width:64px;height:64px;margin-bottom:10px;display:grid}.portal-cart-empty strong{color:var(--portal-ink);font-size:13px}.portal-cart-empty p{color:#8a97aa;margin-top:4px;font-size:11px}.portal-cart-lines{max-height:330px;overflow-y:auto}.portal-cart-line{border-bottom:1px solid #eef1f5;padding:13px 16px}.portal-cart-line-head{align-items:flex-start;gap:8px;display:flex}.portal-cart-line-head>div{flex-direction:column;flex:1;min-width:0;display:flex}.portal-cart-line-head span{color:var(--primary);text-transform:uppercase;font-size:9px;font-weight:700}.portal-cart-line-head strong{color:var(--portal-ink);-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.35;display:-webkit-box;overflow:hidden}.portal-cart-line-head button{color:#94a3b8;background:0 0;border:0;padding:3px}.portal-cart-line-head button:hover{color:var(--danger)}.portal-cart-line-bottom{justify-content:space-between;align-items:center;margin-top:9px;display:flex}.portal-cart-line-bottom label{color:#8a97aa;align-items:center;gap:6px;font-size:9px;display:flex}.portal-cart-line-bottom input{text-align:right;width:56px;padding:5px 6px;font-size:11px}.portal-cart-line-bottom>span{color:var(--portal-ink);font-size:11px;font-weight:700}.portal-cart-summary{flex-direction:column;gap:8px;padding:14px 17px 5px;display:flex}.portal-cart-summary>div{justify-content:space-between;align-items:center;font-size:11px;display:flex}.portal-cart-summary strong{color:var(--portal-ink)}.portal-cart-summary .portal-cart-total{border-top:1px dashed #dce2ea;padding-top:10px;font-size:13px}.portal-cart-total strong{color:var(--primary);font-size:18px}.portal-cart-note{color:#627089;background:#f5f8fc;border-radius:8px;align-items:flex-start;gap:7px;margin:10px 17px 13px;padding:9px;font-size:9px;line-height:1.45;display:flex}.portal-cart-note .icon{color:var(--primary)}.portal-submit-order{border-radius:10px;justify-content:center;align-items:center;gap:7px;width:calc(100% - 34px);margin:0 17px 17px;padding:11px;font-size:12px;font-weight:700;display:flex}.portal-catalog-empty{color:#8a97aa;background:#fff;border:1px dashed #cbd5e1;border-radius:15px;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:6px;min-height:240px;display:flex}.portal-catalog-empty strong{color:var(--portal-ink)}.portal-catalog-empty span{font-size:12px}.portal-load-more{min-height:46px;color:var(--primary);border:1px dashed var(--primary-border);background:#fff;border-radius:11px;grid-column:1/-1;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:700;display:flex}.portal-load-more span{color:#6b7b93;background:#f1f4f8;border-radius:999px;padding:2px 7px;font-size:10px}@media (width<=1400px){.portal-product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=1180px){.portal-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=960px){.portal-order-workspace{grid-template-columns:1fr}.portal-cart-card{grid-row:1;position:static}.portal-cart-lines{max-height:260px}.portal-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=720px){.portal-order-hero{flex-direction:column;align-items:stretch;padding:22px}.portal-order-hero-stats{min-width:0}.portal-catalog-toolbar{flex-direction:column;align-items:stretch;gap:12px}.portal-catalog-search{box-sizing:border-box;width:100%}.portal-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-product-card{min-height:170px}.portal-order-success{flex-wrap:wrap;align-items:flex-start}.portal-order-success a{width:100%;margin-left:51px}}.auth-shell{--auth-primary:#145bff;--auth-secondary:#2f80ed;--auth-accent:#66b3ff;--auth-navy:#5674bf;--auth-text:#0b1633;--auth-muted:#5b6882;--auth-surface:#fff;--auth-surface-muted:#f7f9fc;--auth-border:#bfcbe0;--auth-error:#dc2626;--auth-success:#15803d;--auth-warning:#d97706;--auth-overlay-opacity:.32;--auth-overlay-soft:.288;--auth-gradient-width:46%;--auth-form-width:430px;isolation:isolate;min-height:100svh;color:var(--auth-text);background:var(--auth-navy);font-family:Inter, var(--sans);position:relative;overflow:hidden}.auth-background,.auth-background-image,.auth-readability-gradient{position:absolute;inset:0}.auth-background{z-index:-1;background:radial-gradient(circle at 78% 26%,#66b3ff9e,#0000 24%),radial-gradient(circle at 70% 82%,#145bff94,#0000 30%),linear-gradient(135deg,#eaf3ff 0%,#bcdcff 42%,#2f80ed 76%,#5674bf 100%);overflow:hidden}.auth-background-image{z-index:0;object-fit:cover;width:100%;height:100%}.auth-readability-gradient{z-index:2;pointer-events:none}.auth-shell.align-left .auth-readability-gradient{background:linear-gradient(90deg, rgba(255, 255, 255, var(--auth-overlay-opacity)) 0%, rgba(255, 255, 255, var(--auth-overlay-soft)) 35%, #fff0 var(--auth-gradient-width))}.auth-shell.align-right .auth-readability-gradient{background:linear-gradient(270deg, rgba(255, 255, 255, var(--auth-overlay-opacity)) 0%, rgba(255, 255, 255, var(--auth-overlay-soft)) 35%, #fff0 var(--auth-gradient-width))}.auth-shell.align-center .auth-readability-gradient{background:radial-gradient(ellipse at center, rgba(255, 255, 255, var(--auth-overlay-opacity)) 0%, rgba(255, 255, 255, var(--auth-overlay-soft)) 28%, #fff0 var(--auth-gradient-width))}.auth-logo{z-index:3;object-fit:contain;object-position:left center;filter:drop-shadow(0 4px 18px #071a3d24);width:min(190px,34vw);max-height:64px;position:absolute;top:clamp(24px,4vw,48px);left:clamp(24px,6vw,88px)}.auth-logo.default{filter:brightness(0)saturate()invert(35%)sepia(97%)saturate(4454%)hue-rotate(217deg)brightness(99%)contrast(105%)drop-shadow(0 4px 18px #071a3d1f)}.auth-form-region{box-sizing:border-box;align-items:center;min-height:100svh;padding:112px clamp(24px,6vw,88px) 44px;display:flex}.auth-shell.align-left .auth-form-region{justify-content:flex-start}.auth-shell.align-center .auth-form-region{justify-content:center}.auth-shell.align-right .auth-form-region{justify-content:flex-end}.auth-form-container{width:min(100%, var(--auth-form-width))}.auth-form-header{margin-bottom:28px}.auth-form-header h1{background:linear-gradient(100deg, var(--auth-navy) 0%, var(--auth-primary) 55%, var(--auth-secondary) 100%);-webkit-text-fill-color:transparent;color:var(--auth-primary);font:750 clamp(29px, 3vw, 38px)/1.18 Inter, var(--sans);letter-spacing:-.75px;-webkit-background-clip:text;background-clip:text;margin:0 0 10px;padding-left:17px;position:relative}.auth-form-header h1:before{content:"";background:linear-gradient(180deg, var(--auth-primary), var(--auth-accent));border-radius:999px;width:5px;position:absolute;top:.12em;bottom:.12em;left:0;box-shadow:0 4px 12px #145bff38}.auth-heading-icon{width:44px;height:44px;color:var(--auth-primary);background:#ffffff9e;border:1px solid #145bff33;border-radius:50%;justify-content:center;align-items:center;margin-bottom:16px;display:inline-flex}.auth-form-header p,.auth-form-note,.auth-result>p{color:var(--auth-muted);line-height:1.6}.auth-highlight-list{flex-wrap:wrap;gap:8px;margin:18px 0 0;padding:0;list-style:none;display:flex}.auth-highlight-list li{min-height:32px;color:var(--auth-navy);background:#ffffff75;border:1px solid #145bff2e;border-radius:999px;align-items:center;gap:6px;padding:0 11px;font-size:12px;font-weight:650;display:inline-flex}.auth-form-modern,.auth-result{flex-direction:column;gap:18px;display:flex}.auth-field{flex-direction:column;gap:8px;display:flex}.auth-field label{color:var(--auth-text);font-size:13px;font-weight:600}.auth-field input,.auth-field select,.auth-field textarea{box-sizing:border-box;appearance:none;border:1px solid var(--auth-border);width:100%;min-height:50px;color:var(--auth-text);font:15px/1.3 Inter, var(--sans);background:#ffffffeb;border-radius:9px;padding:13px 14px;transition:border-color .16s,box-shadow .16s;display:block}.auth-field textarea{resize:vertical;min-height:82px}.auth-field input:focus,.auth-field select:focus,.auth-field textarea:focus,.auth-check-label input:focus-visible,.auth-password-toggle:focus-visible,.auth-primary-button:focus-visible,.auth-shell a:focus-visible{outline-offset:2px;outline:3px solid #145bff42}.auth-field input:focus,.auth-field select:focus,.auth-field textarea:focus{border-color:var(--auth-primary);box-shadow:0 0 0 3px #145bff1a}.auth-password-wrap{position:relative}.auth-password-wrap input{padding-right:52px}.auth-password-toggle{width:44px;height:44px;color:var(--auth-muted);background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:3px;right:4px}.auth-password-toggle:hover{color:var(--auth-primary);background:var(--auth-surface-muted)}.auth-field-error{color:var(--auth-error);font-size:12.5px}.auth-form-options{justify-content:space-between;align-items:center;gap:16px;font-size:13px;display:flex}.auth-check-label{color:var(--auth-muted);cursor:pointer;align-items:flex-start;gap:9px;font-size:13px;line-height:1.5;display:inline-flex}.auth-check-label input{width:17px;height:17px;accent-color:var(--auth-primary);flex:none;margin:1px 0 0}.auth-shell a{color:var(--auth-primary);font-weight:600;text-decoration:none}.auth-shell a:hover{text-decoration:underline}.auth-primary-button{box-sizing:border-box;color:#fff;background:linear-gradient(100deg, var(--auth-navy) 0%, var(--auth-primary) 55%, var(--auth-secondary) 100%);min-height:50px;font:600 15px Inter, var(--sans);cursor:pointer;border:0;border-radius:9px;justify-content:center;align-items:center;padding:0 20px;display:inline-flex;box-shadow:0 10px 24px #145bff3d}.auth-primary-button:hover:not(:disabled){text-decoration:none;transform:translateY(-1px);box-shadow:0 12px 28px #145bff4d}.auth-primary-button:disabled{opacity:.58;cursor:not-allowed}.auth-button-link{color:#fff!important}.auth-switch{color:var(--auth-muted);text-align:center;margin:22px 0 0;font-size:13px}.auth-password-rules{color:var(--auth-muted);flex-direction:column;gap:5px;margin:-8px 0 0;padding:0;font-size:12px;list-style:none;display:flex}.auth-password-rules li{align-items:flex-start;gap:7px;display:flex}.auth-password-rules .passed{color:var(--auth-success)}.auth-password-rules .pending{color:var(--auth-warning)}.auth-alert{border:1px solid;border-radius:10px;margin-bottom:18px;padding:12px 14px;font-size:13px;line-height:1.5}.auth-alert.error{color:var(--auth-error);background:#dc26260f;border-color:#dc26263d}.auth-alert.success{color:var(--auth-success);background:#15803d12;border-color:#15803d3d}.auth-registration-success{color:var(--auth-text);background:#fff;border:1px solid #15803d3d;border-radius:12px;padding:18px}.auth-registration-success h2{color:var(--auth-primary);margin:0 0 10px;font-size:18px}.auth-registration-success p{color:var(--auth-text);margin:6px 0 0;font-size:13px;line-height:1.55}.registration-request-person{flex-direction:column;gap:2px;display:flex}.registration-request-person .muted{font-size:12px}.registration-request-actions{gap:6px;display:flex}.registration-review-modal{width:min(560px,100vw - 32px);max-width:560px}.registration-review-email{margin:0 0 12px}.registration-review-modal .contact-form label,.registration-reject-field{flex-direction:column;flex:1;gap:4px;display:flex}.registration-reject-field textarea{resize:vertical}.registration-review-actions{padding:0 16px 16px}.auth-result .auth-alert,.auth-form-modern .auth-alert{margin-bottom:0}.auth-form-note{text-align:center;font-size:12.5px}.auth-inline-recovery{text-align:center;font-size:13px}.auth-footer{border-top:1px solid var(--auth-border);color:var(--auth-muted);text-align:left;flex-direction:column;align-items:flex-start;gap:9px;margin-top:36px;padding-top:22px;font-size:11.5px;display:flex}.auth-footer nav{flex-wrap:wrap;justify-content:flex-start;gap:16px;display:flex}.auth-footer a{font-weight:500}@media (width<=980px){.auth-form-region{padding-inline:44px}.auth-shell.align-left .auth-readability-gradient{background:linear-gradient(90deg, rgba(255, 255, 255, var(--auth-overlay-opacity)) 0%, rgba(255, 255, 255, var(--auth-overlay-soft)) 48%, transparent 72%)}.auth-shell.align-right .auth-readability-gradient{background:linear-gradient(270deg, rgba(255, 255, 255, var(--auth-overlay-opacity)) 0%, rgba(255, 255, 255, var(--auth-overlay-soft)) 48%, transparent 72%)}}@media (width<=720px){.auth-shell{min-height:100svh;overflow:hidden visible}.auth-background{filter:saturate(.55)contrast(.78)}.auth-background:after{content:"";z-index:2;background:#f7f9fcc2;position:absolute;inset:0}.auth-readability-gradient{opacity:.5}.auth-logo{width:154px;max-height:52px;top:24px;left:22px}.auth-form-region{align-items:flex-start;min-height:100svh;padding:106px 22px 28px;justify-content:flex-start!important}.auth-form-container{width:100%;max-width:none}.auth-form-header{margin-bottom:24px}.auth-form-header h1{font-size:28px}.auth-field input,.auth-primary-button{min-height:50px}.auth-footer{padding-bottom:max(4px, env(safe-area-inset-bottom));margin-top:32px}}.appearance-manager{--appearance-accent:#145bff;--appearance-accent-hover:#0d47d9;--appearance-accent-soft:#145bff14;--appearance-accent-border:#145bff52;--appearance-accent-gradient:linear-gradient(100deg, #5674bf 0%, #145bff 55%, #2f80ed 100%);flex-direction:column;gap:18px;display:flex}.appearance-manager input:focus,.appearance-manager textarea:focus,.appearance-manager select:focus{border-color:var(--appearance-accent-border)}.appearance-manager h2,.appearance-manager h3{margin:0}.appearance-manager .page-header-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.appearance-manager .page-header-titles{flex-direction:column;gap:6px;display:flex}.appearance-draft-badge{border:1px solid var(--warning-border);color:#9a6507;background:var(--warning-soft);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:5px 10px;font-size:12px;font-weight:700}.appearance-page-tabs{border-bottom:1px solid var(--border);gap:6px;display:flex}.appearance-page-tabs button,.appearance-preview-toolbar button{color:var(--text);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:9px 12px}.appearance-page-tabs button.active,.appearance-preview-toolbar button.active{border-bottom-color:var(--appearance-accent);color:var(--appearance-accent)}.appearance-workspace{grid-template-columns:minmax(480px,1fr) minmax(380px,.9fr);align-items:start;gap:20px;display:grid}.appearance-editor{flex-direction:column;gap:14px;display:flex}.appearance-editor>h3:not(:first-child),.appearance-section-heading{border-top:1px solid var(--border);margin-top:12px;padding-top:16px}.appearance-asset-row{align-items:center;gap:16px;display:flex}.appearance-asset-row>img,.appearance-empty-thumb{box-sizing:border-box;border:1px solid var(--border);object-fit:contain;background:var(--panel-bg-soft);border-radius:9px;flex:none;width:132px;height:84px}.appearance-empty-thumb{color:var(--text);text-align:center;justify-content:center;align-items:center;padding:8px;font-size:12px;display:flex}.appearance-asset-actions{flex-wrap:wrap;gap:8px;display:flex}.appearance-file-button{box-sizing:border-box;border:1px solid var(--border);min-height:34px;color:var(--text-h);background:var(--panel-bg);cursor:pointer;border-radius:6px;align-items:center;padding:5px 10px;font-size:13px;font-weight:600;display:inline-flex}.appearance-file-button input{display:none}.appearance-field,.appearance-range-grid label,.appearance-range-full{color:var(--text-h);flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;display:flex}.appearance-field>span{color:var(--text);align-self:flex-end;margin-top:-24px;font-weight:400}.appearance-field input,.appearance-field textarea,.appearance-highlight-row input,.appearance-highlight-row select{box-sizing:border-box;border:1px solid var(--border);width:100%;color:var(--text-h);background:var(--panel-bg);font:inherit;border-radius:7px;padding:8px 10px;font-weight:400}.appearance-field textarea{resize:vertical;min-height:92px}.appearance-range-grid,.appearance-color-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.appearance-range-grid input,.appearance-range-full input{width:100%;accent-color:var(--appearance-accent)}.appearance-section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.appearance-highlights-editor{flex-direction:column;gap:8px;display:flex}.appearance-highlight-row{grid-template-columns:minmax(140px,1fr) 120px 34px 34px 34px;gap:6px;display:grid}.appearance-highlight-row button{padding:4px}.appearance-color-input{grid-template-columns:48px 1fr;gap:8px;display:grid}.appearance-color-input input[type=color]{min-height:38px;padding:3px}.appearance-actions{border-top:1px solid var(--border);flex-wrap:wrap;gap:10px;margin-top:12px;padding-top:18px;display:flex}.appearance-actions>button:not(.secondary):not(.danger){background:var(--appearance-accent-gradient);border:0;box-shadow:0 8px 18px #145bff38}.appearance-actions>button:not(.secondary):not(.danger):hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px #145bff47}.appearance-actions>button:not(.secondary):not(.danger):disabled{box-shadow:none;transform:none}.appearance-preview-column{min-width:0;position:sticky;top:84px}.appearance-preview-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.appearance-preview{border:1px solid var(--border);width:100%;box-shadow:var(--shadow);border-radius:12px;margin:0 auto;transition:width .2s;overflow:hidden}.appearance-preview.mobile{width:min(100%,360px)}.auth-preview-shell{min-height:560px}.auth-preview-shell .auth-logo{width:142px;max-height:48px;top:24px;left:28px}.auth-preview-shell .auth-form-region{min-height:560px;padding:88px 28px 24px}.auth-preview-shell .auth-form-header{margin-bottom:18px}.auth-preview-shell .auth-form-header h1{font-size:26px}.auth-preview-shell .auth-form-header p{margin-bottom:0;font-size:13px}.auth-preview-shell .auth-form-modern{gap:12px}.auth-preview-shell .auth-field{gap:4px}.auth-preview-shell .auth-field input{height:42px}.auth-preview-shell .auth-primary-button{min-height:44px}.auth-preview-shell .auth-footer{gap:5px;margin-top:20px;padding-top:14px}.auth-preview-shell .auth-heading-icon{width:38px;height:38px;margin-bottom:10px}.auth-preview-mobile{min-height:620px;overflow:hidden visible}.auth-preview-mobile .auth-background{filter:saturate(.55)contrast(.78)}.auth-preview-mobile .auth-background:after{content:"";z-index:2;background:#f7f9fcc2;position:absolute;inset:0}.auth-preview-mobile .auth-logo{width:138px;top:22px;left:22px}.auth-preview-mobile .auth-form-region{align-items:flex-start;min-height:620px;padding:92px 22px 24px;justify-content:flex-start!important}.auth-preview-mobile .auth-form-container{width:100%}.auth-preview-mobile .auth-readability-gradient{opacity:.5}.appearance-alignment-control{color:var(--text-h);flex-direction:column;gap:7px;font-size:12.5px;font-weight:600;display:flex}.appearance-alignment-toggle{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.appearance-alignment-toggle button{border:1px solid var(--border);min-height:38px;color:var(--text-h);background:var(--panel-bg)}.appearance-alignment-toggle button.active{border-color:var(--appearance-accent);color:var(--appearance-accent);background:var(--appearance-accent-soft);box-shadow:0 0 0 1px #145bff1f}.appearance-contrast-note{color:#334155;background:var(--appearance-accent-soft);border:1px solid #145bff2e;border-radius:8px;padding:10px 12px;font-size:12px;line-height:1.5}.appearance-contrast-note.warning{color:#92400e;background:#d9770614;border-color:#d9770652}.appearance-history{flex-direction:column;gap:6px;display:flex}.appearance-history-list{flex-direction:column;display:flex}.appearance-version-row{border-top:1px solid var(--border);grid-template-columns:40px 88px 1fr auto;align-items:center;gap:10px;padding:6px 4px;font-size:12.5px;display:grid}.appearance-version-badge{height:22px;color:var(--muted);background:var(--surface-2,#0000000a);border-radius:6px;justify-content:center;align-items:center;padding:0 6px;font-size:11.5px;font-weight:600;display:inline-flex}.appearance-version-badge.is-published{color:var(--appearance-accent);background:var(--appearance-accent-soft)}.appearance-version-status{color:var(--text);font-weight:500}.appearance-version-date{color:var(--muted)}.appearance-version-actions{justify-self:end;align-items:center;gap:6px;display:flex}.appearance-version-actions .secondary{padding:4px 10px;font-size:12px}.appearance-version-actions .danger-link{color:var(--danger);cursor:pointer;background:0 0;border:none;padding:4px 6px;font-size:12px}.appearance-version-actions .danger-link:hover:not(:disabled){text-decoration:underline}.appearance-version-actions .danger-link:disabled{opacity:.5;cursor:default}.success-banner{color:#15803d;background:#15803d12;border:1px solid #15803d40;border-radius:8px;padding:10px 12px;font-size:13px}.field-error{color:var(--danger);font-size:12px;font-weight:400}@media (width<=1120px){.appearance-workspace{grid-template-columns:1fr}.appearance-preview-column{position:static}}@media (width<=640px){.appearance-page-tabs{overflow-x:auto}.appearance-page-tabs button{white-space:nowrap}.appearance-range-grid,.appearance-color-grid{grid-template-columns:1fr}.appearance-highlight-row{grid-template-columns:1fr 110px repeat(3,34px)}.appearance-highlight-row input{grid-column:1/-1}.appearance-actions>button{width:100%}}@media (width<=1300px){.portal-header{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px 16px;display:grid}.portal-nav{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;grid-area:2/1/auto/-1;justify-content:flex-start;min-width:0;overflow-x:auto}.portal-nav a{white-space:nowrap;flex-shrink:0}.portal-account{border-left:0;grid-area:1/2;padding-left:0}.portal-account-copy{display:none}.portal-main{padding:16px}}@media (width<=600px){.portal-brand-badge{display:none}}@media print{.sidebar,.topbar,.sidebar-overlay,.report-print-hide,.ai-panel,.ai-panel-overlay{display:none!important}.layout{display:block!important}.main{padding:0!important}.data-table-wrap{overflow:visible!important}}.error-boundary-screen{background:var(--bg);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.error-boundary-card{background:var(--panel-bg);border:1px solid var(--border);width:100%;max-width:440px;box-shadow:var(--shadow);text-align:center;border-radius:12px;padding:28px 32px}.error-boundary-card h2{color:var(--text-h);margin:0 0 10px}.error-boundary-actions{justify-content:center;gap:10px;margin-top:18px;display:flex}.toast-container{z-index:2000;flex-direction:column;gap:10px;max-width:360px;display:flex;position:fixed;bottom:20px;right:20px}.toast{box-shadow:var(--shadow);background:var(--panel-bg);border:1px solid var(--border);color:var(--text-h);border-radius:8px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:13.5px;line-height:1.4;animation:.15s ease-out toast-in;display:flex}@keyframes toast-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.toast span{flex:1}.toast-close{color:inherit;opacity:.6;cursor:pointer;background:0 0;border:none;padding:0;font-size:16px;line-height:1}.toast-close:hover{opacity:1}.toast-error{color:#b91c1c;background:#ef444414;border-color:#ef444459}.toast-success{color:#15803d;background:#22c55e14;border-color:#22c55e59}.toast-info{background:var(--primary-soft);border-color:var(--primary-border);color:var(--text-h)}.perm-ladder{gap:14px;margin:4px 0 16px;padding-left:26px;display:grid;position:relative}.perm-ladder:before{content:"";background:var(--border);width:2px;position:absolute;top:6px;bottom:6px;left:4px}.perm-ladder-step{align-items:baseline;gap:10px;display:flex;position:relative}.perm-ladder-step:before{content:"";background:var(--primary);width:10px;height:10px;box-shadow:0 0 0 3px var(--panel-bg);border-radius:50%;position:absolute;top:3px;left:-26px}.perm-ladder-step .tag,.perm-partner-card .tag{text-align:center;flex:none;min-width:96px}.perm-ladder-step span,.perm-partner-card span{color:var(--text);font-size:12.5px}.perm-partner-card{border:1px dashed var(--border);background:var(--panel-bg-soft);border-radius:10px;align-items:baseline;gap:10px;padding:10px 12px 10px 26px;display:flex}@media (width<=720px){.perm-ladder-step,.perm-partner-card{flex-direction:column;gap:4px}}.all-reports-link{color:#1677ff;background:0 0;border:0;margin:18px auto 0;padding:4px 8px;font-weight:500;display:block}.all-reports-link:hover{background:0 0;text-decoration:underline}.misa-sales-flow-grid{grid-template-rows:116px 72px 116px;grid-template-columns:repeat(4,minmax(120px,1fr));align-items:center;gap:0 22px;padding:10px 12px 18px;display:grid;position:relative}.misa-sales-flow-cell{z-index:2;align-self:center;position:relative}.misa-sales-flow-cell button.process-flow-step{background:var(--panel-bg)}.misa-sales-flow-cell button.process-flow-step:hover{background:var(--primary-soft)}.misa-sales-flow-line{z-index:1;background:#aeb7c2;height:1px;position:absolute;top:50%;left:13%;right:6%}.misa-sales-flow-line:before{content:"";border:1px solid #aeb7c2;border-left:0;border-radius:0 18px 18px 0;width:30px;height:188px;position:absolute;top:-94px;left:0}.misa-sales-flow-line svg{position:absolute;top:-6px;right:-7px}@media (width<=900px){.misa-sales-flow-grid{grid-template-columns:repeat(4,150px);overflow-x:auto}}.sales-doc-toolbar{align-items:center;gap:10px;margin-bottom:14px;display:flex}.sales-doc-search{border:1px solid var(--border);background:var(--panel-bg);border-radius:6px;align-items:center;gap:8px;min-width:260px;padding:0 10px;display:flex}.sales-doc-search input{min-width:0;box-shadow:none;border:0;padding-left:0}.sales-doc-toolbar-spacer{flex:1}.sales-doc-empty{text-align:center;min-height:360px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.sales-doc-empty strong{max-width:620px;color:var(--text);font-size:18px}.sales-doc-empty span{max-width:620px}.sales-master-detail .data-table-wrap{max-height:330px;overflow:auto}.sales-master-detail .data-table tbody tr{cursor:pointer}.sales-master-detail .data-table tbody tr.is-selected td{background:var(--primary-soft)}.sales-invoice-toolbar .sales-doc-search{width:min(320px,28vw)}.sales-invoice-toolbar>select{flex:0 0 210px;width:210px}.sales-invoice-summary{white-space:nowrap;flex-direction:column;align-items:flex-end;min-width:82px;line-height:1.15;display:flex}.sales-invoice-summary strong{color:var(--primary);font-size:14px}.sales-invoice-summary small{color:var(--muted);font-size:10px}.sales-invoice-notice{border:1px solid color-mix(in srgb, var(--primary) 28%, var(--border));background:var(--primary-soft);color:var(--text);border-radius:5px;align-items:center;gap:8px;margin:8px 0;padding:8px 10px;font-size:12px;display:flex}.sales-invoice-notice svg{color:var(--primary);flex:none}.sales-invoice-notice span{flex:1;min-width:0}.sales-invoice-notice button{width:24px;height:24px;color:var(--muted);background:0 0;border:0;padding:0}.sales-invoice-master-table{table-layout:fixed;min-width:1810px}.sales-invoice-master-table th:first-child{width:38px}.sales-invoice-master-table th:nth-child(2){width:112px}.sales-invoice-master-table th:nth-child(3){width:132px}.sales-invoice-master-table th:nth-child(4){width:130px}.sales-invoice-master-table th:nth-child(5){width:142px}.sales-invoice-master-table th:nth-child(6){width:230px}.sales-invoice-master-table th:nth-child(7){width:142px}.sales-invoice-master-table th:nth-child(8){width:132px}.sales-invoice-master-table th:nth-child(9){width:160px}.sales-invoice-master-table th:nth-child(10){width:135px}.sales-invoice-master-table th:nth-child(11){text-align:center;width:155px}.sales-invoice-master-table th:nth-child(12){width:125px}.sales-invoice-master-table th:nth-child(13){width:172px}.sales-invoice-master-table th,.sales-invoice-master-table td,.sales-invoice-detail-table th,.sales-invoice-detail-table td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);white-space:normal;overflow-wrap:anywhere;vertical-align:middle;height:32px;padding:4px 8px;font-size:11px;line-height:1.25}.sales-invoice-master-table thead th,.sales-invoice-detail-table thead th{background:var(--table-header-bg,#eaf1ff);color:var(--text);font-weight:700}.sales-invoice-master-table tfoot td,.sales-invoice-detail-table tfoot td{background:#f1f3f5;font-weight:700}.sales-invoice-received-cell{text-align:center}.sales-invoice-received-cell input[type=checkbox]{vertical-align:middle;width:14px;min-width:14px;height:14px;margin:0}.sales-invoice-detail-table{table-layout:fixed;min-width:1660px}.sales-invoice-detail-table th:first-child{width:42px}.sales-invoice-detail-table th:nth-child(2){width:112px}.sales-invoice-detail-table th:nth-child(3){width:250px}.sales-invoice-detail-table th:nth-child(4){text-align:center;width:155px}.sales-invoice-detail-table th:nth-child(5){width:72px}.sales-invoice-detail-table th:nth-child(6){width:92px}.sales-invoice-detail-table th:nth-child(7),.sales-invoice-detail-table th:nth-child(8),.sales-invoice-detail-table th:nth-child(9),.sales-invoice-detail-table th:nth-child(10),.sales-invoice-detail-table th:nth-child(11),.sales-invoice-detail-table th:nth-child(12){width:116px}.sales-invoice-detail-table th:nth-child(13){width:105px}.sales-invoice-detail-table th:nth-child(14){width:110px}.sales-invoice-row-menu{width:190px}@media (width<=1100px){.sales-invoice-toolbar{flex-wrap:wrap}.sales-invoice-toolbar .sales-doc-search{width:min(100%,360px)}.sales-invoice-toolbar .sales-doc-toolbar-spacer{display:none}.sales-invoice-summary{margin-left:auto}}.sales-order-detail{margin-top:12px}.sales-order-detail .data-table-wrap{max-height:300px}.sales-order-master-table{min-width:2050px}.sales-order-detail-table{min-width:1780px}.sales-order-master-detail .pagination,.sales-order-detail .pagination{justify-content:flex-end;margin:7px 0 0}.sales-order-form-body{border:0;min-width:0;margin:0}.sales-order-form-body:disabled{color:inherit}.data-table tbody tr.is-selected td{background:var(--primary-soft)}.sales-chart-dashboard{background:#f2f4f7;min-height:calc(100vh - 150px);padding:0 12px 18px}.sales-chart-toolbar{border-bottom:1px solid var(--border);background:#f2f4f7;justify-content:flex-start;align-items:center;min-height:48px;margin:0 -12px 12px;padding:6px 16px;display:flex}.sales-chart-toolbar label{color:var(--muted);align-items:center;gap:12px;font-size:12px;display:flex}.sales-chart-toolbar select,.sales-chart-card-header select{height:30px;color:var(--text);background-color:#0000;border:1px solid #0000;padding:0 26px 0 8px;font-size:12px}.sales-chart-toolbar select:hover,.sales-chart-card-header select:hover,.sales-chart-toolbar select:focus,.sales-chart-card-header select:focus{border-color:var(--primary);background-color:#fff}.sales-chart-summary-grid,.sales-chart-content-grid{gap:12px;display:grid}.sales-chart-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}.sales-chart-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-chart-card{border:1px solid var(--border);background:#fff;border-radius:9px;flex-direction:column;min-width:0;min-height:276px;padding:16px 18px 10px;display:flex;position:relative;box-shadow:0 1px 2px #0f172a08}.sales-chart-summary-card{min-height:270px;padding:0 16px 10px;overflow:hidden}.sales-chart-summary-header{color:#fff;align-items:center;gap:8px;min-height:40px;margin:0 -16px 6px;padding:0 12px 0 16px;display:flex}.sales-chart-summary-card.order .sales-chart-summary-header{background:#35aec5}.sales-chart-summary-card.contract .sales-chart-summary-header{background:#ff8034}.sales-chart-summary-card.sales .sales-chart-summary-header{background:#2f9b2b}.sales-chart-summary-header h3{color:inherit;margin:0;font-size:14px}.sales-chart-summary-header .sales-chart-header-reload{color:#ffffffe6;background:0 0;border:0;place-items:center;width:26px;height:26px;margin-left:auto;padding:0;display:inline-grid}.sales-chart-summary-header select{color:#fff;background-color:#0000;border:0;width:auto;height:30px;padding:0 24px 0 7px;font-size:12px;font-weight:600}.sales-chart-summary-header select option{color:var(--text)}.sales-chart-card-header{justify-content:space-between;align-items:center;gap:12px;min-height:30px;display:flex}.sales-chart-card-header h3{min-width:0;color:var(--text);margin:0;font-size:14px;line-height:1.25}.sales-chart-summary-list{flex:1}.sales-chart-summary-list button{width:100%;min-height:36px;color:var(--text);text-align:left;background:0 0;border:0;border-bottom:1px dashed #dfe3e8;border-radius:0;grid-template-columns:minmax(0,1fr) auto 15px;align-items:center;gap:8px;padding:4px 2px;display:grid}.sales-chart-summary-list button:hover{background:#f7f9fc}.sales-chart-summary-list button>.icon{color:var(--muted)}.sales-chart-summary-list span,.sales-chart-total-label{color:var(--muted);font-size:11px}.sales-chart-summary-list strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:15px}.sales-chart-summary-list strong.blue{color:#2196e6}.sales-chart-summary-list strong.red{color:#e84c5b}.sales-chart-summary-list strong.green{color:#2f9b2b}.sales-chart-summary-list strong.orange{color:#ff6f26}.sales-chart-summary-list strong.muted{color:#7d8da5}.sales-chart-total{font-variant-numeric:tabular-nums;margin-top:4px;font-size:22px}.sales-chart-total-label{margin:1px 0 9px}.sales-chart-list-head,.sales-chart-list-row{grid-template-columns:minmax(0,1fr) 110px 130px;align-items:center;gap:10px;min-height:31px;font-size:12px;display:grid}.sales-chart-list-head{color:var(--muted);font-size:10.5px;font-weight:600}.sales-chart-list-row{border-top:1px solid #edf0f4}.sales-chart-list-row span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sales-chart-list-row span:not(:first-child),.sales-chart-list-head span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.sales-chart-ranking-card:nth-child(2) .sales-chart-list-head,.sales-chart-ranking-card:nth-child(2) .sales-chart-list-row,.sales-chart-ranking-card:nth-child(3) .sales-chart-list-head,.sales-chart-ranking-card:nth-child(3) .sales-chart-list-row{grid-template-columns:minmax(0,1fr) 150px}.sales-chart-list-body{flex:1;min-height:80px}.sales-chart-empty{text-align:center;margin:24px 0}.sales-chart-more{height:26px;color:var(--primary);background:0 0;border:0;align-self:flex-end;padding:0;font-size:12px}.sales-chart-card-footer{min-height:28px;color:var(--muted);border-top:1px solid #edf0f4;align-items:center;gap:8px;margin-top:auto;padding-top:6px;font-size:10.5px;display:flex}.sales-chart-card-footer span{align-items:center;gap:4px;display:inline-flex}.sales-chart-card-footer .link-button{height:auto;padding:0;font-size:10.5px}.sales-chart-plot{flex:1;width:100%;min-height:165px}@media (width<=1120px){.sales-chart-summary-grid{grid-template-columns:1fr}.sales-chart-summary-card{min-height:230px}}@media (width<=760px){.sales-chart-dashboard{padding-inline:8px}.sales-chart-toolbar{margin-inline:-8px}.sales-chart-content-grid{grid-template-columns:1fr}}.sales-detail-heading{border-top:1px solid var(--border);background:var(--panel-bg-soft);align-items:center;gap:12px;margin-top:12px;padding:10px 12px;display:flex}.sales-detail-heading span{color:var(--muted)}.sales-detail-empty{padding:18px 12px}.table-link{color:var(--primary);background:0 0;border:0;padding:0}.purchase-action-panel{padding:10px 10px 8px;overflow:visible}.purchase-action-toolbar{align-items:center;gap:6px;margin-bottom:6px;font-size:12px;display:flex}.purchase-action-toolbar>select{flex:0 250px;width:250px;min-width:190px;height:30px;padding-block:4px;font-size:12px}.purchase-action-search{box-sizing:border-box;flex:0 250px;width:250px;min-width:180px;height:30px}.purchase-action-search input{background:0 0;height:28px;padding-block:3px;font-size:12px}.purchase-action-toolbar>.icon-btn{flex:0 0 28px;place-items:center;width:28px;height:28px;padding:4px;display:inline-grid}.purchase-action-selection{color:var(--primary);white-space:nowrap;font-size:12px;font-weight:600}.purchase-action-add{flex:none;display:flex;position:relative}.purchase-action-add>button{height:32px;padding:5px 12px;font-size:12px}.purchase-action-add>button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.purchase-action-add-toggle{border-left:1px solid #ffffff61;border-top-left-radius:0;border-bottom-left-radius:0;min-width:32px;padding-inline:7px}.purchase-action-add-menu{z-index:45;border:1px solid var(--border);background:var(--panel-bg);width:230px;box-shadow:var(--shadow);border-radius:7px;padding:5px;position:absolute;top:calc(100% + 4px);right:0}.purchase-action-add-menu button{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:5px;padding:8px 10px;display:block}.purchase-action-add-menu button:hover{color:var(--primary);background:var(--primary-soft)}.purchase-master-table-wrap,.purchase-detail-table-wrap{border:1px solid var(--border);background:var(--panel-bg);overflow:auto}.purchase-master-table-wrap{max-height:335px}.purchase-detail-table-wrap{max-height:300px}.purchase-master-table,.purchase-detail-table{border-collapse:separate;border-spacing:0;min-width:1550px;font-size:12px}.purchase-detail-table{min-width:1680px}.purchase-master-table th,.purchase-master-table td,.purchase-detail-table th,.purchase-detail-table td{white-space:nowrap;border-bottom:1px solid #d5dae1;border-right:1px solid #d5dae1;padding:7px 9px}.purchase-master-table th:last-child,.purchase-master-table td:last-child,.purchase-detail-table th:last-child,.purchase-detail-table td:last-child{border-right:0}.purchase-master-table thead th,.purchase-detail-table thead th{z-index:6;height:38px;color:var(--text-h);vertical-align:middle;background:#e6efff;font-size:11.5px;line-height:1.25;position:sticky;top:0;box-shadow:inset 0 -1px #bccbe3}.accounting-sticky-tabs{z-index:24;top:var(--app-topbar-height,72px);isolation:isolate;background:var(--bg);position:sticky;box-shadow:0 5px 8px -8px #0f172a6b}.invoice-topbar.accounting-sticky-tabs .invoice-tabs{position:static}.purchase-master-table tbody tr{cursor:pointer}.purchase-master-table tbody td,.purchase-detail-table tbody td{background:#fff}.purchase-master-table tbody tr:hover td{background:#f5f8fc}.purchase-master-table tbody tr.is-selected td{background:#eef4ff}.purchase-master-table tfoot td,.purchase-detail-table tfoot td{z-index:2;color:var(--text-h);background:#f0f2f4;font-weight:700;position:sticky;bottom:0}.purchase-check-cell{width:34px;min-width:34px;text-align:center!important}:is(.purchase-master-table th:has(>input[type=checkbox]),.purchase-master-table td:has(>input[type=checkbox]),.purchase-detail-table th:has(>input[type=checkbox]),.purchase-detail-table td:has(>input[type=checkbox])){text-align:center!important}.purchase-master-table input[type=checkbox],.purchase-detail-table input[type=checkbox]{box-sizing:border-box;width:14px;min-width:14px;height:14px;min-height:14px;accent-color:var(--primary);vertical-align:middle;margin:0;padding:0}.purchase-function-cell{min-width:82px}.purchase-master-table>:is(thead,tbody)>tr>:is(th,td):last-child:not([colspan]),:is(table.finance-actions-table,.finance-actions-table>.data-table-wrap>table)>:is(thead,tbody)>tr>:is(th,td):last-child:not([colspan]),.data-table>:is(thead,tbody)>tr>.finance-action-cell{text-align:right}:is(table.finance-actions-table,.finance-actions-table>.data-table-wrap>table)>tbody>tr>td:last-child:not([colspan])>:is(.form-actions,.loan-row-actions,.supplier-reconcile-actions){justify-content:flex-end}.purchase-row-actions{align-items:center;gap:5px;display:inline-flex;position:relative}.purchase-row-menu-toggle{width:22px;height:22px;color:var(--primary);background:0 0;border:0;padding:2px}.purchase-row-menu{z-index:50;border:1px solid var(--border);background:var(--panel-bg);width:142px;box-shadow:var(--shadow);border-radius:6px;padding:4px;position:fixed;top:calc(100% + 3px);right:0}.purchase-row-menu button{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:4px;padding:7px 9px;display:block}.purchase-row-menu button:hover{color:var(--primary);background:var(--primary-soft)}.cash-count-table .danger-link{color:var(--danger);background:0 0;margin-left:12px;padding:0}.purchase-master-table .number-cell,.purchase-detail-table .number-cell{text-align:right;font-variant-numeric:tabular-nums}.purchase-detail-heading{border:1px solid var(--border);background:#f3f5f6;border-bottom:0;align-items:center;gap:12px;margin-top:7px;padding:8px 10px;display:flex}.purchase-detail-heading span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.purchase-detail-empty{color:var(--muted);text-align:center!important;padding:22px!important}.purchase-master-detail .pagination{justify-content:flex-end;margin:7px 0 0}.purchase-entry-view-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}.purchase-entry-view-grid>div,.purchase-entry-view-note{border:1px solid var(--border);background:var(--panel-bg);border-radius:6px;flex-direction:column;gap:5px;padding:10px 12px;display:flex}.purchase-entry-view-grid span,.purchase-entry-view-note span{color:var(--muted);font-size:11.5px}.purchase-entry-view-note{margin-bottom:12px}.sales-debt-subtabs{border-bottom:1px solid var(--border);gap:22px;margin:-4px 0 16px;display:flex}.sales-debt-subtabs button{color:var(--text);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:9px 2px}.sales-debt-subtabs button.active{color:var(--primary);border-bottom-color:var(--primary)}@media (width<=720px){.sales-doc-toolbar{flex-wrap:wrap}.sales-doc-search{min-width:100%}.sales-doc-toolbar-spacer{display:none}.purchase-action-toolbar{flex-wrap:wrap}.purchase-action-toolbar>select{flex:150px}.purchase-action-search{min-width:100%}.purchase-entry-view-grid{grid-template-columns:1fr 1fr}}.opening-balance-title{margin:0 0 12px}.opening-balance-tabs{border-bottom:1px solid var(--border);scrollbar-width:thin;gap:0;margin-bottom:14px;display:flex;overflow-x:auto}.sales-debt-page{min-width:0;color:var(--text);background:#f3f5f8;padding:10px 12px 16px;position:relative}.sales-debt-toolbar,.sales-debt-condition-row,.sales-debt-pagination-row{align-items:center;display:flex}.sales-debt-toolbar{border:1px solid var(--border);background:#fff;border-bottom:0;border-radius:10px 10px 0 0;gap:6px;padding:8px 10px 6px}.sales-debt-search{border:1px solid var(--border);width:min(260px,38vw);height:30px;color:var(--muted);background:#fff;border-radius:5px;align-items:center;gap:7px;padding:0 9px;display:flex}.sales-debt-search input{background:0 0;border:0;outline:0;min-width:0;height:28px;padding:0}.sales-debt-toolbar-spacer{flex:1}.sales-debt-toolbar .icon-btn{width:30px;height:30px}.sales-debt-toolbar .icon-btn.active{border-color:var(--primary);color:var(--primary);background:#eaf1ff}.sales-debt-condition-row{border-inline:1px solid var(--border);background:#fff;gap:10px;min-height:42px;padding:5px 10px}.sales-debt-condition-row .shared-date-picker{width:150px}.sales-debt-master-wrap,.sales-debt-detail-wrap{border:1px solid var(--border);background:#fff;overflow:auto}.sales-debt-master-wrap{max-height:390px}.sales-debt-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1420px;font-size:12px}.sales-debt-table th,.sales-debt-table td{vertical-align:middle;background:#fff;border-bottom:1px solid #d9e0e8;border-right:1px solid #d9e0e8;height:40px;padding:7px 10px}.sales-debt-table th{z-index:2;color:#263348;text-align:left;white-space:normal;background:#eaf1ff;height:44px;font-size:11px;font-weight:700;position:sticky;top:0}.sales-debt-table th:first-child{width:145px}.sales-debt-table th:nth-child(2){width:230px}.sales-debt-table th:nth-child(3),.sales-debt-table th:nth-child(4),.sales-debt-table th:nth-child(5){text-align:right;width:175px}.sales-debt-table th:nth-child(6){width:280px}.sales-debt-table th:nth-child(7){width:150px}.sales-debt-table th:nth-child(8){width:180px}.sales-debt-table th:nth-child(9){text-align:center;width:110px}.sales-debt-table tbody tr{cursor:pointer}.sales-debt-table tbody tr:hover td,.sales-debt-table tbody tr.selected td{background:#f1f5ff}.sales-debt-table tbody tr.selected td{box-shadow:inset 0 1px #c9d9ff,inset 0 -1px #c9d9ff}.sales-debt-table .number-cell{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.sales-debt-table .negative{color:var(--danger)}.sales-debt-table .wrap-cell{white-space:normal;overflow-wrap:anywhere;line-height:1.35}.sales-debt-table tfoot td{z-index:1;background:#eef1f5;height:34px;font-weight:700;position:sticky;bottom:0}.sales-debt-empty{color:var(--muted);text-align:center!important;padding:24px!important}.sales-debt-pagination-row{border:1px solid var(--border);background:#fff;border-top:0;border-radius:0 0 8px 8px;justify-content:space-between;min-height:42px;padding:4px 10px;font-size:12px}.sales-debt-pagination-row .pagination{margin:0}.sales-debt-lower{border:1px solid var(--border);background:#fff;border-radius:8px;min-height:245px;margin-top:8px;overflow:hidden}.sales-debt-lower-tabs{border-bottom:1px solid var(--border);align-items:center;gap:4px;min-height:44px;padding:0 12px;display:flex}.sales-debt-lower-tabs button{color:var(--text);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;align-self:stretch;padding:0 10px}.sales-debt-lower-tabs button.active{border-bottom-color:var(--primary);color:var(--primary)}.sales-debt-selected-name{color:var(--muted);padding:8px 14px 0;font-size:12px}.sales-debt-analysis-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:14px;display:grid}.sales-debt-analysis-grid>div{border:1px solid var(--border);background:#f7f9fc;border-radius:7px;min-height:104px;padding:12px 14px}.sales-debt-analysis-grid p{justify-content:space-between;gap:12px;margin:12px 0 0;font-size:12px;display:flex}.sales-debt-analysis-grid b{font-variant-numeric:tabular-nums}.sales-debt-detail-wrap{border-inline:0;max-height:250px;margin-top:8px}.sales-debt-detail-table{min-width:1900px}.sales-debt-detail-table th{text-align:left!important;width:135px!important}.sales-debt-detail-table th:first-child{width:45px!important}.sales-debt-detail-table th:nth-child(4){width:150px!important}.sales-debt-detail-table th:nth-child(14){width:100px!important}.sales-debt-filter-backdrop{z-index:1200;background:#0f172a38;position:fixed;inset:0}.sales-debt-filter{top:var(--app-topbar-height,64px);width:min(420px,92vw);height:calc(100vh - var(--app-topbar-height,64px));background:#fff;flex-direction:column;gap:14px;padding:16px;display:flex;position:absolute;right:0;box-shadow:-6px 0 24px #0f172a29}.sales-debt-filter header,.sales-debt-filter footer{justify-content:space-between;align-items:center;display:flex}.sales-debt-filter header{border-bottom:1px solid var(--border);padding-bottom:10px}.sales-debt-filter label{color:var(--muted);gap:6px;font-size:12px;display:grid}.sales-debt-filter select,.sales-debt-filter input{background:#fff;width:100%;height:38px}.sales-debt-filter footer{border-top:1px solid var(--border);margin-top:auto;padding-top:12px}@media (width<=900px){.sales-debt-analysis-grid{grid-template-columns:1fr;gap:10px}.sales-debt-toolbar{flex-wrap:wrap}.sales-debt-search{width:100%}.sales-debt-toolbar-spacer{display:none}}.opening-balance-tabs a{color:var(--text-h);white-space:nowrap;border-bottom:2px solid #0000;flex:none;padding:10px 14px;font-size:13px;text-decoration:none}.opening-balance-tabs a:hover,.opening-balance-tabs a.active{color:var(--primary);border-bottom-color:var(--primary)}.opening-balance-note{margin:-4px 0 14px}.opening-balance-panel{background:#f3f5f7;margin-bottom:12px;padding:14px}.opening-balance-panel .panel-header{margin-bottom:10px}.opening-balance-panel .panel-header h2{font-size:14px}.opening-balance-panel input,.opening-balance-panel select,.opening-balance-panel textarea,.opening-balance-panel .shared-date-picker{background:#fff}.opening-balance-panel input,.opening-balance-panel select{min-height:32px;padding:6px 9px}.opening-balance-panel .greeting-bar{background:#e9edf1;padding:10px 12px;margin-bottom:10px!important}.opening-balance-toolbar{gap:12px;margin-bottom:10px;display:flex}.opening-balance-toolbar label{min-width:220px;color:var(--text-h);gap:5px;font-size:12px;display:grid}.opening-balance-grid th,.opening-balance-grid td{border-bottom:1px solid #cfd6de;border-right:1px solid #cfd6de}.opening-balance-grid{table-layout:fixed;background:#fff;border:1px solid #cfd6de}.opening-balance-grid th{color:#4c5868;background:#e7ebef;padding:7px 9px}.opening-balance-grid td{background:#fff;height:34px;padding:5px 9px}.opening-balance-grid th:last-child,.opening-balance-grid td:last-child{border-right:0}.opening-balance-grid tbody tr:nth-child(2n) td{background:#fafbfc}.opening-balance-grid tbody tr:hover td{background:#f2f7ff}.opening-balance-grid tfoot td{background:#e7ebef}.opening-balance-grid select,.opening-balance-grid input{box-sizing:border-box;width:100%;min-width:88px}.opening-balance-grid td:nth-child(3){min-width:220px}.opening-balance-grid td:nth-child(4){min-width:180px}.opening-balance-actions{justify-content:space-between;margin-top:12px}.opening-balance-account-grid th:first-child{width:95px}.opening-balance-account-grid th:nth-child(2){width:44%}.opening-balance-account-grid th:nth-child(3),.opening-balance-account-grid th:nth-child(4){width:23%}.opening-balance-account-grid td input{width:100%!important}.opening-balance-partner-grid th:first-child{width:52%}.opening-balance-partner-grid th:nth-child(2),.opening-balance-partner-grid th:nth-child(3){width:24%}.opening-balance-partner-grid td input{width:100%!important}@media (width<=720px){.opening-balance-toolbar{flex-direction:column}.opening-balance-toolbar label{min-width:0}}.item-inventory-summary{grid-template-columns:repeat(2,minmax(240px,1fr));gap:10px;margin-bottom:10px;display:grid}.item-inventory-card{color:#4b5563;text-align:left;background:#fff;border:1px solid #dfe5ec;border-radius:8px;align-items:center;gap:12px;min-height:64px;padding:10px 18px;display:flex}.item-inventory-card-copy{flex-direction:column;gap:2px;display:flex}.item-inventory-card-copy strong{color:#1f2937;font-size:18px}.item-inventory-card.warning{border-bottom:3px solid #e6a700}.item-inventory-card.danger{border-bottom:3px solid #ef5350}.item-inventory-card.active{background:#f7f9fc;box-shadow:inset 0 0 0 1px #ccd5e2}.item-inventory-card-actions{align-items:center;gap:2px;margin-left:auto;display:flex}.item-inventory-card-actions .icon-btn{width:26px;min-width:26px;height:26px;color:var(--primary);padding:4px}.item-inventory-card-actions small{color:#737d8c;white-space:nowrap;align-items:center;gap:4px;margin-left:4px;display:flex}.item-filter-condition{color:#687385;border-bottom:1px solid #e4e8ee;flex-wrap:wrap;align-items:center;gap:7px;min-height:34px;margin:-2px 0 8px;padding:5px 10px;font-size:12px;display:flex}.item-filter-chip{align-items:center;gap:5px;display:inline-flex}.item-filter-chip strong{color:#364152;font-weight:500}.item-filter-chip button{color:#8893a3;background:0 0;border:0;padding:2px 4px;font-size:16px}.item-filter-condition .link-button{margin-left:4px;font-size:12px}.item-filter-trigger{position:relative}.item-filter-drawer{z-index:300;background:#fff;border-left:1px solid #dbe1e8;grid-template-rows:auto 1fr auto;width:min(390px,100vw);height:100vh;display:grid;position:fixed;top:0;right:0;box-shadow:-8px 0 24px #19243324}.item-filter-drawer>header,.item-filter-drawer>footer{justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.item-filter-drawer>header{border-bottom:1px solid #e4e8ee}.item-filter-drawer>header h2{margin:0;font-size:17px}.item-filter-drawer>footer{border-top:1px solid #e4e8ee}.item-filter-drawer-body{flex-direction:column;gap:14px;padding:16px;display:flex;overflow-y:auto}.item-filter-drawer-body label{color:#566173;flex-direction:column;gap:6px;font-size:12px;font-weight:600;display:flex}.item-filter-drawer-body select{background:#fff;width:100%;min-height:40px;font-weight:400}.item-bulk-actions{background:#eef4ff;border:1px solid #c8d8ff;border-radius:6px;align-items:center;gap:8px;min-height:42px;margin-bottom:8px;padding:7px 10px;display:flex}.selection-cell{text-align:center;width:38px;min-width:38px}.selection-cell input{width:auto}.link-button{color:var(--brand,#246bfe);background:0 0;border:0;padding:5px 7px}.danger-button{color:#dc2626;background:#fff;border-color:#efb2b2}.item-type-picker{background:#fff;border-radius:10px;width:min(860px,100vw - 40px);max-height:calc(100vh - 50px);overflow:auto;box-shadow:0 20px 60px #0f172a40}.item-type-picker>header{border-bottom:1px solid #e5e9ef;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.item-type-picker h2{margin:0;font-size:18px}.item-type-picker>div{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.item-type-picker>div>button{color:#202735;text-align:left;background:#fff;border:0;border-bottom:1px solid #edf0f4;border-radius:0;align-items:center;gap:12px;padding:14px 20px;display:flex}.item-type-picker>div>button:nth-child(odd){border-right:1px solid #edf0f4}.item-type-picker>div>button:hover{color:var(--primary);background:var(--primary-soft)}.item-type-picker>div>button>span:last-child{flex-direction:column;gap:3px;display:flex}.item-type-picker small{color:#737d8c;font-weight:400}.item-type-icon{width:44px;height:44px;color:var(--brand,#246bfe);background:#e9f2ff;border-radius:50%;flex:none;place-items:center;display:grid}.item-inline-fields{grid-template-columns:minmax(0,1fr) 110px;gap:6px;display:grid}.item-inline-fields input,.item-inline-fields select{width:100%}.item-form-modal{border-radius:8px;width:min(920px,100vw - 32px);max-width:920px;min-height:520px}.item-form-modal>.voucher-modal-header{border-bottom:1px solid var(--border);background:#fff;min-height:58px;padding:8px 16px}.item-form-modal .voucher-modal-header-left,.item-form-modal .voucher-modal-header-right{align-items:center;gap:10px;display:flex}.item-form-modal .voucher-modal-header-left h2{color:var(--text-h);margin:0;font-size:18px;line-height:1.25}.item-form-modal .voucher-modal-header-left small{color:var(--muted);margin-top:2px;font-size:11px;display:block}.item-form-title-icon{width:36px;height:36px;color:var(--primary);background:var(--primary-soft);border:1px solid var(--primary-border);border-radius:7px;flex:none;place-items:center;display:grid}.item-form-modal .voucher-modal-header-right .icon-btn{width:30px;height:30px;color:var(--text);background:0 0;border-color:#0000;padding:5px}.item-form-modal .voucher-modal-header-right .icon-btn:hover{color:var(--primary);background:var(--primary-soft);border-color:var(--primary-border)}.item-form-modal>.voucher-modal-body{background:#f4f7fb;flex:1;padding:14px 18px 16px}.item-form-lead-grid{border:1px solid var(--border);background:#fff;border-radius:6px 6px 0 0;grid-template-columns:170px minmax(0,1fr) minmax(180px,.72fr);gap:10px 14px;padding:14px;display:grid}.item-form-lead-grid>label,.item-form-grid>label{color:#465267;flex-direction:column;gap:5px;min-width:0;font-size:12px;font-weight:600;display:flex}.item-form-lead-grid>label>span,.item-form-name>span{color:var(--danger)}.item-form-lead-grid input,.item-form-lead-grid select,.item-form-grid input,.item-form-grid select,.item-form-grid textarea{box-sizing:border-box;width:100%;min-width:0;min-height:32px;color:var(--text-h);background:#fff;border:1px solid #cfd7e3;border-radius:3px;padding:5px 9px;font-size:12.5px;font-weight:400}.item-form-lead-grid input:focus,.item-form-lead-grid select:focus,.item-form-grid input:focus,.item-form-grid select:focus,.item-form-grid textarea:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft);outline:0}.item-form-name{grid-column:2/-1}.item-form-lead-grid>label:nth-of-type(3){grid-column:1}.item-form-lead-grid>label:nth-of-type(4){grid-column:2}.item-form-lead-grid>label:nth-of-type(5){grid-column:3}.item-form-tabs{border-right:1px solid var(--border);border-bottom:1px solid var(--border);border-left:1px solid var(--border);background:#fff;align-items:end;gap:20px;min-height:38px;padding:0 14px;display:flex}.item-form-tabs button{color:var(--text);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;align-self:stretch;padding:7px 2px 5px;font-size:12.5px;font-weight:600}.item-form-tabs button:hover,.item-form-tabs button.active{color:var(--primary);border-bottom-color:var(--primary);background:0 0}.item-form-panel{border:1px solid var(--border);background:#fff;border-top:0;border-radius:0 0 6px 6px;min-height:195px;padding:14px}.item-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 16px;display:grid}.item-form-grid .wide{grid-column:1/-1}.item-form-grid textarea{resize:vertical;min-height:52px}.item-form-panel-note{color:#405778;background:var(--primary-soft);border-left:3px solid var(--primary);border-radius:3px;margin:0 0 12px;padding:8px 10px;font-size:12px}.item-form-account-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.item-form-modal>.voucher-modal-footer{border-top:1px solid var(--border);background:#fff;min-height:48px;padding:7px 14px}.item-form-modal .voucher-modal-footer-actions{gap:8px;display:flex}.item-form-modal .voucher-modal-footer-actions button{min-width:78px;min-height:32px}.item-form-active{color:var(--text);align-items:center;gap:7px;font-size:12.5px;display:inline-flex}.item-form-active input{width:14px;height:14px;accent-color:var(--primary);margin:0}.item-type-picker-overlay{z-index:75}.item-drawer-overlay{z-index:70;background:#0f172a75;justify-content:flex-end;display:flex;position:fixed;inset:0}.item-form-drawer{width:min(790px,100vw - 72px);height:100vh;color:var(--text-h);background:#fff;grid-template-rows:auto minmax(0,1fr) auto;animation:.18s ease-out item-drawer-in;display:grid;box-shadow:-12px 0 36px #0f172a38}@keyframes item-drawer-in{0%{opacity:.75;transform:translate(30px)}to{opacity:1;transform:translate(0)}}.item-drawer-header{border-bottom:1px solid var(--border);justify-content:space-between;gap:16px;min-height:84px;padding:14px 18px 10px;display:flex}.item-drawer-header h2{margin:0 0 11px;font-size:17px}.item-drawer-header>div:last-child{align-items:flex-start;gap:4px;display:flex}.item-drawer-header .icon-btn{width:28px;height:28px;color:var(--text);background:0 0;border:0;padding:4px}.item-drawer-nature{align-items:center;gap:8px;font-size:12px;display:flex}.item-drawer-nature>span{color:#fff;background:var(--primary);border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.item-drawer-nature .link-button{color:var(--primary);padding:2px;font-size:11.5px;text-decoration:underline}.item-drawer-body{scrollbar-gutter:stable;min-height:0;padding:14px 18px 20px;overflow-y:auto}.item-main-fields{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) 112px;gap:20px;padding-bottom:16px;display:grid}.item-main-grid{grid-template-columns:135px minmax(0,1fr);gap:8px;display:grid}.item-main-grid .wide{grid-column:1/-1}.item-main-grid .item-group-field{grid-column:2}.item-main-grid .item-tax-field>span{align-items:center;gap:10px;display:flex}.item-main-grid .item-tax-field select{width:215px}.item-main-grid .item-tax-field small{color:var(--primary);align-items:center;gap:5px;font-weight:500;display:inline-flex}.item-main-grid label,.item-detail-fields label,.item-form-accordion-body label,.item-formula-grid label{color:#313b4b;flex-direction:column;gap:3px;min-width:0;font-size:11.5px;font-weight:500;display:flex}.item-label-text{color:#313b4b;align-items:baseline;gap:3px;font-style:normal;display:inline-flex}.item-label-text>em{color:var(--danger);font-style:normal}.item-form-drawer :is(input:not([type=checkbox]):not([type=file]),select,textarea){box-sizing:border-box;width:100%;min-width:0;height:30px;min-height:30px;color:var(--text-h);background:#fff;border:1px solid #cbd4df;border-radius:3px;padding:4px 8px;font-size:12px;font-weight:400}.item-form-drawer textarea{resize:vertical;height:auto;min-height:44px}.item-form-drawer :is(input,select,textarea):focus{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary);outline:0}.item-form-drawer input[readonly]{color:var(--muted);background:#f4f6f8}.item-image-editor{flex-direction:column;align-items:center;gap:5px;padding-top:18px;display:flex}.item-image-preview{color:#b5beca;background:#fff;border:1px solid #cbd4df;border-radius:6px;place-items:center;width:92px;height:82px;padding:0;display:grid;overflow:hidden}.item-image-preview:hover{color:var(--primary);border-color:var(--primary);background:var(--primary-soft)}.item-image-preview img{object-fit:contain;width:100%;height:100%}.item-image-editor>div{gap:8px;display:flex}.item-image-editor .icon-btn{width:28px;height:26px;color:var(--text);background:0 0;border:0;padding:5px}.item-image-editor .icon-btn.danger{color:var(--danger)}.item-image-error{color:var(--danger);text-align:center;font-size:10.5px}.item-detail-fields{padding:14px 0 10px}.item-detail-fields .item-form-grid{grid-template-columns:145px 145px minmax(0,1fr);gap:8px}.item-detail-fields .wide{grid-column:1/-1}.item-detail-fields .item-inline-fields{grid-template-columns:minmax(0,1fr) 95px}.item-form-accordions{border-bottom:1px solid var(--border)}.item-form-accordion{border-top:1px solid var(--border)}.item-form-accordion-toggle{width:100%;min-height:31px;color:var(--text-h);text-align:left;background:#fff;border:0;border-radius:0;align-items:center;gap:5px;padding:5px 0;display:flex}.item-form-accordion-toggle:hover{color:var(--primary);background:var(--primary-soft)}.item-form-accordion-toggle .icon{transition:transform .15s}.item-form-accordion.open>.item-form-accordion-toggle .icon{transform:rotate(90deg)}.item-form-accordion-toggle small{color:var(--primary);margin-left:8px;font-weight:500}.item-form-accordion-body{padding:8px 6px 14px 18px}.item-form-accordion-body>p{color:var(--muted);margin:0 0 9px;font-size:11.5px}.item-form-accordion-body .item-form-account-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 10px}.item-inline-table{border:1px solid var(--border);overflow-x:auto}.item-inline-table table{border-collapse:collapse;table-layout:fixed;width:100%}.item-inline-table th{color:#40506a;background:var(--primary-soft);border-right:1px solid var(--border);text-align:left;height:28px;padding:4px 7px;font-size:11px}.item-inline-table td{border-top:1px solid var(--border);border-right:1px solid var(--border);height:31px;padding:2px}.item-inline-table :is(input,select){height:26px!important;min-height:26px!important;box-shadow:none!important;border:0!important}.item-inline-table th:last-child,.item-inline-table td:last-child{text-align:center;border-right:0;width:32px}.item-inline-table .icon-btn{width:25px;height:25px;color:var(--danger);background:0 0;border:0;padding:5px}.item-inline-table.conversion table{min-width:1080px}.item-field-with-action{min-width:0;display:flex}.item-field-with-action>:is(input,select){border-radius:4px 0 0 4px;flex:1;min-width:0}.item-field-with-action>button{border:1px solid var(--border);width:28px;min-width:28px;min-height:28px;color:var(--primary);background:#fff;border-left:0;border-radius:0 4px 4px 0;padding:0;font-size:18px;line-height:1}.item-field-with-action>button:hover{border-color:var(--primary);background:var(--primary-soft)}.item-quick-reference-overlay{z-index:82;background:#0f172a52;place-items:center;display:grid;position:fixed;inset:0}.item-quick-reference{border:1px solid var(--primary-border);background:#fff;border-radius:8px;width:min(420px,100vw - 32px);overflow:hidden;box-shadow:0 18px 44px #0f172a40}.item-quick-reference header,.item-quick-reference footer{justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.item-quick-reference header{border-bottom:1px solid var(--border)}.item-quick-reference header h3{margin:0;font-size:15px}.item-quick-reference header .icon-btn{background:0 0;border:0;width:26px;height:26px;padding:2px}.item-quick-reference>div{gap:10px;padding:14px;display:grid}.item-quick-reference label{gap:4px;font-size:12px;font-weight:600;display:grid}.item-quick-reference .item-label-text{color:#313b4b}.item-quick-reference footer{border-top:1px solid var(--border);justify-content:flex-end;gap:8px}.item-quick-reference footer button{min-width:68px}.item-row-buttons{gap:7px;padding-top:8px;display:flex}.item-row-buttons button{min-height:28px;padding:4px 8px;font-size:11.5px}.item-formula-grid{grid-template-columns:210px minmax(0,1fr);gap:10px;display:grid}.item-formula-buttons{flex-wrap:wrap;align-items:center;gap:5px;margin-top:9px;display:flex}.item-formula-buttons button{min-height:27px;padding:3px 8px;font-size:11px}.item-formula-buttons strong{margin-left:5px;font-size:11.5px}.item-formula-buttons .valid{color:#07845b}.item-formula-buttons .invalid{color:var(--danger)}.item-form-hints{color:var(--muted);gap:7px;padding:9px 0 2px;font-size:10.5px;font-style:italic;line-height:1.6;display:flex}.item-form-hints>span{color:var(--primary);font-style:normal}.item-drawer-footer{border-top:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;gap:14px;min-height:48px;padding:7px 18px;display:flex}.item-drawer-footer .voucher-modal-footer-actions{gap:8px;display:flex}.item-drawer-footer button{min-width:64px;min-height:31px;padding:5px 12px;font-size:12px}@media (width<=720px){.item-inventory-summary,.item-type-picker>div{grid-template-columns:1fr}.item-type-picker>div>button:nth-child(odd){border-right:0}.item-form-modal{width:calc(100vw - 16px);min-height:0;max-height:calc(100vh - 16px)}.item-form-lead-grid,.item-form-grid,.item-form-account-grid{grid-template-columns:1fr}.item-form-name,.item-form-lead-grid>label:nth-of-type(n),.item-form-grid .wide{grid-column:1}.item-form-drawer{width:100vw}.item-main-fields{grid-template-columns:1fr}.item-image-editor{grid-row:1;padding-top:0}.item-main-grid,.item-detail-fields .item-form-grid,.item-form-accordion-body .item-form-account-grid,.item-formula-grid{grid-template-columns:1fr}.item-main-grid .wide,.item-main-grid .item-group-field,.item-detail-fields .wide{grid-column:1}.item-drawer-footer{align-items:flex-end}}.stocktake-page{gap:10px;min-width:0;display:grid}.stocktake-toolbar,.stocktake-bulk-bar,.stocktake-detail-heading,.stocktake-detail-footer,.stocktake-pager{justify-content:space-between;align-items:center;gap:10px;display:flex}.stocktake-toolbar{background:#fff;border:1px solid #dce2ea;border-radius:8px 8px 0 0;padding:8px 10px}.stocktake-search{color:#758093;background:#fff;border:1px solid #cfd6df;border-radius:5px;align-items:center;gap:7px;width:min(310px,35vw);height:32px;padding:0 10px;display:flex}.stocktake-search input{background:0 0;border:0;outline:0;width:100%;height:28px;padding:0}.stocktake-toolbar-actions,.stocktake-detail-footer>div{align-items:center;gap:8px;display:flex}.stocktake-more-wrap{position:relative}.stocktake-more-menu{z-index:20;background:#fff;border:1px solid #d6dce5;border-radius:6px;width:220px;padding:6px;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 10px 28px #0f172a29}.stocktake-more-menu button{color:#dc2626;background:#fff;justify-content:flex-start;width:100%}.stocktake-more-menu span{color:#788396;padding:7px 9px;font-size:11px;line-height:1.35;display:block}.stocktake-bulk-bar,.stocktake-notice,.stocktake-error{border-radius:5px;margin:0;padding:8px 12px}.stocktake-bulk-bar,.stocktake-notice{color:var(--primary);background:var(--primary-soft);border:1px solid var(--primary-border)}.stocktake-master,.stocktake-detail{background:#fff;border:1px solid #dce2ea;min-width:0}.stocktake-table-scroll{scrollbar-gutter:stable;min-width:0;overflow:auto}.stocktake-master .stocktake-table-scroll{max-height:330px}.stocktake-detail .detail-scroll{max-height:390px}.stocktake-table{border-spacing:0;border-collapse:separate;table-layout:fixed;width:100%;min-width:1280px;font-size:12px}.stocktake-table th,.stocktake-table td{vertical-align:middle;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid #d8dee7;border-right:1px solid #d8dee7;height:37px;padding:6px 10px}.stocktake-table th:last-child,.stocktake-table td:last-child{border-right:0}.stocktake-table thead th{color:#183b86;background:var(--primary-soft);border-bottom-color:var(--primary-border);text-align:center;font-weight:700}.stocktake-table tbody tr{cursor:pointer}.stocktake-table tbody tr:hover td{background:#f5f8fc}.stocktake-table tbody tr.is-selected td{background:var(--primary-soft)}.stocktake-table input[type=checkbox]{accent-color:var(--primary)}.stocktake-table .check-col{width:38px}.stocktake-list-table th:nth-child(2){width:92px}.stocktake-list-table th:nth-child(3){width:78px}.stocktake-list-table th:nth-child(4){width:110px}.stocktake-list-table th:nth-child(5){width:170px}.stocktake-list-table th:nth-child(6){width:100px}.stocktake-list-table th:nth-child(7){width:250px}.stocktake-list-table th:nth-child(8){width:180px}.stocktake-list-table th:nth-child(9){width:100px}.stocktake-list-table th:nth-child(10),.stocktake-list-table th:nth-child(11){width:120px}.stocktake-list-table .function-col{z-index:2;background:#fff;width:118px;position:sticky;right:0}.stocktake-list-table thead .function-col{z-index:3;background:#e7efff}.stocktake-list-table tr.is-selected .function-col{background:#e7efff}.stocktake-table .link-cell,.stocktake-table .table-link{color:var(--primary)}.stocktake-table .table-link{background:0 0;border:0;padding:2px 6px}.stocktake-table .row-delete{color:#dc2626;margin-left:4px}.stocktake-pager{min-height:42px;padding:4px 12px}.stocktake-pager .pagination{margin:0}.stocktake-detail-heading{min-height:42px;color:var(--primary);border-bottom:1px solid var(--primary-border);background:#f4f7ff;padding:6px 12px}.stocktake-detail-table{min-width:1390px}.stocktake-detail-table th:first-child{width:42px}.stocktake-detail-table th:nth-child(2){width:120px}.stocktake-detail-table th:nth-child(3){width:240px}.stocktake-detail-table th:nth-child(4){width:90px}.stocktake-detail-table th:nth-child(5){width:72px}.stocktake-detail-table .number-cell{text-align:right}.stocktake-count-input{box-sizing:border-box;text-align:right;background:#fff;width:100%;min-width:0;max-width:100%;height:28px;padding:3px 8px}.stocktake-count-input:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft);outline:0}.stocktake-handling-select{background:#fff;width:100%;min-width:150px;height:30px;font-size:12px}.stocktake-detail-table tfoot th{text-align:right;background:#f1f3f6}.stocktake-detail-table tfoot th:first-child{text-align:left}.stocktake-detail-footer{border-top:1px solid #dce2ea;flex-wrap:wrap;min-height:48px;padding:7px 12px}.stocktake-detail-footer span{color:#677286}.stocktake-detail-footer .positive,.stocktake-detail-table .positive{color:#16803c}.stocktake-detail-footer .negative,.stocktake-detail-table .negative{color:#dc2626}.stocktake-detail-footer .unsaved-hint{color:#b45309;font-weight:600}.stocktake-core-footer{align-items:flex-end}.stocktake-core-footer>div:last-child{flex-wrap:wrap;justify-content:flex-end}.stocktake-conclusion{flex:430px;min-width:min(430px,100%)}.stocktake-conclusion label{color:#677286;flex:1;gap:4px;font-size:11px;display:grid}.stocktake-conclusion input{background:#fff;width:100%;height:32px}.stocktake-page .empty-cell{color:#788396;text-align:center;cursor:default;height:72px}.stocktake-page .compact-btn{min-height:26px;padding:3px 8px}.stocktake-page .danger{color:#dc2626;border-color:#efb2b2}.stocktake-setup-modal{width:min(480px,100vw - 30px)}.stocktake-setup-body{background:#f4f6f8;gap:12px;display:grid}.stocktake-setup-body label{color:#576174;gap:5px;font-size:12px;display:grid}.stocktake-setup-body input,.stocktake-setup-body select{background:#fff;width:100%;height:36px}@media (width<=800px){.stocktake-toolbar{flex-direction:column;align-items:stretch}.stocktake-search{width:100%}.stocktake-toolbar-actions{flex-wrap:wrap;justify-content:flex-end}.stocktake-detail-footer{flex-direction:column;align-items:flex-start}.stocktake-detail-footer>div{flex-wrap:wrap}}.stocktake-editor-overlay{z-index:260;color:#172033;background:#eef1f4;grid-template-rows:40px minmax(0,1fr) 44px;display:grid;position:fixed;inset:0}.stocktake-editor-header,.stocktake-editor-footer{background:#fff;border-bottom:1px solid #d8dee7;justify-content:space-between;align-items:center;gap:10px;padding:0 14px;display:flex}.stocktake-editor-header h2{align-items:center;gap:9px;margin:0;font-size:18px;display:flex}.stocktake-editor-header>div,.stocktake-editor-footer>div{align-items:center;gap:8px;display:flex}.stocktake-editor-body{min-width:0;padding:8px 12px 12px;overflow:auto}.stocktake-editor-meta{border-right:1px solid #d6dce4;grid-template-rows:auto auto auto;grid-template-columns:160px minmax(260px,350px) 180px;gap:5px 10px;width:min(100%,710px);padding-bottom:5px;display:grid}.stocktake-editor-meta label{color:#374151;gap:2px;min-width:0;font-size:12px;display:grid}.stocktake-editor-meta input,.stocktake-editor-meta select{box-sizing:border-box;background:#fff;width:100%;height:29px}.stocktake-editor-meta .purpose-field{grid-area:1/1/auto/3}.stocktake-editor-meta .number-field{grid-area:1/3}.stocktake-editor-meta .warehouse-field{grid-area:2/1}.stocktake-editor-meta .until-field{grid-area:2/2}.stocktake-editor-meta .created-field{grid-area:2/3}.stocktake-reference{color:#374151;grid-area:3/1/auto/3;min-height:20px;font-size:12px}.stocktake-members{background:#fff;border:1px solid #dce2ea;border-radius:7px 7px 0 0;margin-top:4px}.stocktake-members>button{color:#172033;background:#fff;border:0;justify-content:flex-start;width:100%;min-height:38px;padding:7px 14px;font-weight:700}.stocktake-members>button span{width:12px;color:var(--primary);font-size:16px}.stocktake-members.open>button{color:var(--primary)}.stocktake-members-content{border-top:1px solid #dce2ea}.stocktake-members-content table{border-spacing:0;border-collapse:collapse;table-layout:fixed;width:100%;font-size:12px}.stocktake-members-content th,.stocktake-members-content td{box-sizing:border-box;border-bottom:1px solid #cbd5e1;border-right:1px solid #cbd5e1;height:32px;padding:3px 10px}.stocktake-members-content th{color:#183b86;text-align:left;background:#eaf1ff}.stocktake-members-content .member-index-col{width:28px}.stocktake-members-content .member-name-col,.stocktake-members-content .member-position-col{width:225px}.stocktake-members-content .member-representative-col{width:auto}.stocktake-members-content .member-action-col{width:38px}.stocktake-members-content th:first-child,.stocktake-members-content td:first-child{text-align:center;padding-inline:4px}.stocktake-members-content th:last-child,.stocktake-members-content td:last-child{text-align:center;border-right:0;padding-inline:3px}.stocktake-members-content input:not([type=checkbox]){box-sizing:border-box;background:#fff;width:100%;height:27px;padding:3px 7px}.stocktake-members-content input[type=checkbox]{accent-color:var(--primary)}.stocktake-members-content .row-delete{color:#dc2626}.stocktake-member-actions{align-items:center;gap:8px;min-height:39px;padding:4px 14px;display:flex}.stocktake-member-pager{border-top:1px solid #cbd5e1;justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:3px 12px;font-size:12px;display:flex}.stocktake-member-pager .pagination{margin:0}.stocktake-editor-grid{background:#fff;min-width:0;padding:12px 14px 0}.stocktake-editor-grid-title,.stocktake-editor-pager,.stocktake-editor-row-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.stocktake-editor-grid-title h3{margin:0;font-size:15px}.stocktake-editor-grid-title>div,.stocktake-editor-row-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.inline-check{white-space:nowrap;align-items:center;gap:6px;display:inline-flex!important}.inline-check input{width:auto!important;height:auto!important}.stocktake-editor-search{background:#fff;border:1px solid #cfd6df;border-radius:4px;align-items:center;gap:6px;width:min(360px,100%);height:31px;margin:10px 0 6px;padding:0 9px;display:flex}.stocktake-editor-search input{border:0;outline:0;width:100%;height:27px;padding:0}.stocktake-editor-table{min-width:1540px}.stocktake-editor-table th,.stocktake-editor-table td{box-sizing:border-box}.stocktake-editor-table tbody td{height:42px;padding:5px 7px;overflow:hidden}.stocktake-editor-table th:nth-child(2){width:120px}.stocktake-editor-table th:nth-child(3){width:220px}.stocktake-editor-table th:nth-child(4){width:90px}.stocktake-editor-table th:nth-child(5){width:70px}.stocktake-editor-table select{box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap;background:#fff;width:100%;min-width:0;max-width:100%;height:29px;padding:3px 28px 3px 8px;font-size:12px;display:block;overflow:hidden}.stocktake-editor-table td:last-child{text-align:center;width:42px;padding-inline:4px}.stocktake-editor-table .row-delete{margin-left:0}.stocktake-editor-pager{border-top:1px solid #dce2ea;min-height:42px}.stocktake-editor-pager .pagination{margin:0}.stocktake-editor-row-actions{justify-content:flex-start;min-height:48px}.stocktake-editor-bottom{background:#fff;grid-template-columns:minmax(360px,620px);gap:10px;padding:12px 14px 70px;display:grid}.stocktake-editor-bottom>label:not(.inline-check){gap:5px;font-size:12px;display:grid}.stocktake-editor-bottom textarea{resize:vertical;background:#fff;min-height:54px}.stocktake-editor-bottom .document-attachments{max-width:680px}.stocktake-saved-attachments{flex-wrap:wrap;gap:6px;margin:4px 0 8px;display:flex}.stocktake-saved-attachments>span{border:1px solid var(--border);background:#fff;border-radius:4px;align-items:center;gap:4px;padding:4px 8px;font-size:12px;display:inline-flex}.stocktake-saved-attachments a{color:var(--primary)}.stocktake-editor-footer{border-top:1px solid #d8dee7;border-bottom:0}.stocktake-add-line-modal{width:min(620px,100vw - 30px)}.stocktake-add-line-modal .voucher-modal-body{background:#f2f4f7;grid-template-columns:1fr 1fr;gap:12px;display:grid}.stocktake-add-line-modal label{gap:5px;font-size:12px;display:grid}.stocktake-add-line-modal select{background:#fff;width:100%;height:36px}.stocktake-add-line-modal .voucher-modal-footer>div{gap:8px;display:flex}@media (width<=760px){.stocktake-editor-meta{border-right:0;grid-template-columns:1fr 1fr}.stocktake-editor-meta .purpose-field,.stocktake-editor-meta .number-field,.stocktake-editor-meta .warehouse-field,.stocktake-editor-meta .until-field,.stocktake-editor-meta .created-field,.stocktake-reference{grid-area:auto}.stocktake-editor-meta .purpose-field{grid-column:1/-1}.stocktake-editor-grid-title{flex-direction:column;align-items:flex-start}.stocktake-editor-bottom{grid-template-columns:1fr}}@media print{.stocktake-editor-header>div,.stocktake-editor-footer,.stocktake-editor-row-actions,.stocktake-editor-grid-title button,.stocktake-editor-grid-title .inline-check,.stocktake-editor-search,.stocktake-editor-bottom .document-attachments{display:none!important}.stocktake-editor-overlay{display:block;position:static}.stocktake-editor-body{padding:0;overflow:visible}}.warehouse-directory-panel{padding:0;overflow:visible}.warehouse-directory-panel .contact-group-toolbar{padding:10px 12px}.warehouse-directory-table-wrap{max-height:calc(100vh - 250px);overflow:auto}.warehouse-directory-table{table-layout:fixed;width:100%;min-width:900px}.warehouse-directory-table th{color:#243a67;white-space:normal;background:#eaf1ff;border-right:1px solid #d7e0ef;height:34px;padding:7px 10px;font-size:12px}.warehouse-directory-table td{vertical-align:middle;border-right:1px solid #e0e5ed;height:34px;padding:5px 10px}.warehouse-directory-table th:last-child,.warehouse-directory-table td:last-child{border-right:0}.warehouse-directory-table tr.selected td{background:#f1f5ff}.warehouse-directory-table .warehouse-check-col{width:4%}.warehouse-directory-table .warehouse-code-col{width:10%}.warehouse-directory-table .warehouse-name-col{width:18%}.warehouse-directory-table .warehouse-address-col{width:28%}.warehouse-directory-table .warehouse-status-col{width:12%}.warehouse-directory-table .warehouse-branch-col{width:18%}.warehouse-directory-table .warehouse-action-col{width:10%}.warehouse-directory-table th:first-child,.warehouse-directory-table td:first-child{text-align:center;padding-inline:6px}.warehouse-directory-table th:last-child,.warehouse-directory-table td:last-child{text-align:center;background:#fff;position:sticky;right:0;box-shadow:-1px 0 #e0e5ed}.warehouse-directory-table thead th:last-child{background:#eaf1ff}.warehouse-filter-head{justify-content:space-between;align-items:center;gap:5px;min-width:0;display:flex;position:relative}.warehouse-filter-head>button{color:#778399;background:0 0;border:0;flex:0 0 22px;justify-content:center;align-items:center;width:22px;height:22px;padding:0;display:inline-flex}.warehouse-filter-head>.warehouse-column-name{width:auto;min-width:0;color:inherit;font:inherit;text-transform:inherit;flex:auto;justify-content:flex-start;font-weight:600}.warehouse-column-name>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.warehouse-filter-head>button:hover,.warehouse-directory-table th.warehouse-filter-active .warehouse-filter-head>button{color:var(--primary);background:#dce8ff}.warehouse-filter-head>.warehouse-column-name:hover{color:var(--primary);background:0 0}.warehouse-directory-table th.warehouse-filter-active{color:var(--primary);box-shadow:inset 0 -2px var(--primary)}.warehouse-column-menu{z-index:32;color:#2f394b;text-align:left;background:#fff;border:1px solid #d8dfeb;border-radius:6px;width:174px;padding:6px;display:grid;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 8px 24px #1c2a4429}.warehouse-column-menu.align-left{left:0;right:auto}.warehouse-column-menu button{color:#344054;text-align:left;background:0 0;border:0;border-radius:4px;align-items:center;gap:8px;min-height:32px;padding:6px 8px;font-size:12px;font-weight:400;display:flex}.warehouse-column-menu button:hover{color:var(--primary);background:#edf3ff}.warehouse-column-menu>span{background:#e1e6ef;height:1px;margin:4px 2px}.warehouse-filter-menu{z-index:30;color:#2f394b;text-align:left;text-transform:none;letter-spacing:normal;background:#fff;border:1px solid #d8dfeb;border-radius:6px;gap:8px;width:230px;padding:12px;font-weight:400;display:grid;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 8px 24px #1c2a4429}.warehouse-filter-menu.align-left{left:0;right:auto}.warehouse-filter-menu strong{font-size:12px}.warehouse-filter-title{justify-content:space-between;align-items:center;display:flex}.warehouse-filter-title>button{color:#687386;background:0 0;border:0;width:24px;height:24px;padding:0;font-size:18px}.warehouse-filter-menu input,.warehouse-filter-menu select{box-sizing:border-box;color:#202938;background:#fff;border:1px solid #cfd7e5;border-radius:4px;width:100%;height:34px;padding:0 9px;font-size:12px;font-weight:400}.warehouse-filter-actions{border-top:1px solid #e1e6ef;justify-content:space-between;gap:7px;margin:2px -12px -12px;padding:10px 12px;display:flex}.warehouse-filter-actions button{border:1px solid var(--primary);background:var(--primary);color:#fff;border-radius:4px;height:30px;padding:0 11px;font-size:12px}.warehouse-filter-actions button.secondary{color:#344054;background:#fff;border-color:#cfd7e5}.warehouse-filter-actions button:first-child{margin-right:auto}.warehouse-directory-table .warehouse-select-sticky{z-index:8;background:#fff;position:sticky;left:0}.warehouse-directory-table thead .warehouse-select-sticky{z-index:10;background:#eaf1ff}.warehouse-directory-table th.is-pinned,.warehouse-directory-table td.is-pinned{background:#fff;box-shadow:1px 0 #dce3ee}.warehouse-directory-table thead th.is-pinned{z-index:9;background:#eaf1ff}.warehouse-directory-table tr.selected td:last-child{background:#f1f5ff}.warehouse-address-cell{white-space:normal;overflow-wrap:anywhere;line-height:1.3}.success-banner.warehouse-directory-notice{color:var(--primary-navy);background:var(--primary-soft);border:1px solid var(--primary-border);border-radius:6px;justify-content:space-between;align-items:center;gap:12px;margin:0 12px 8px;padding:10px 12px;display:flex}.warehouse-directory-notice button{color:inherit;background:0 0;border:0;padding:0 4px}.warehouse-directory-modal{width:min(640px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--primary-navy);border:1px solid var(--primary-border);border-radius:12px;overflow:hidden}.warehouse-directory-modal>.voucher-modal-header{background:var(--panel-bg);border-bottom:1px solid var(--border);flex-shrink:0;min-height:56px;padding:12px 20px}.warehouse-directory-modal .voucher-modal-header h2{color:var(--primary-navy);margin:0;font-size:18px;line-height:1.4}.warehouse-directory-modal .voucher-modal-header .icon-btn{width:32px;height:32px;color:var(--primary-navy);border:1px solid var(--border);box-shadow:none;background:0 0;padding:0}.warehouse-directory-modal .voucher-modal-header .icon-btn:hover{background:var(--primary-soft);border-color:var(--primary-border)}.warehouse-directory-form{background:var(--panel-bg);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;align-items:start;gap:18px 16px;padding:20px;display:grid;overflow-y:auto}.warehouse-directory-form label{color:var(--primary-navy);flex-direction:column;align-items:stretch;gap:7px;min-width:0;font-size:13px;font-weight:500;line-height:1.4;display:flex}.warehouse-directory-form .warehouse-field-label{color:var(--primary-navy)}.warehouse-directory-form .warehouse-field-label em{color:var(--danger);font-style:normal}.warehouse-directory-form>.error-banner{grid-column:1/-1;margin:0}.warehouse-directory-form input,.warehouse-directory-form select,.warehouse-directory-form textarea{box-sizing:border-box;background:var(--panel-bg);border:1px solid var(--primary-border);width:100%;min-width:0;color:var(--primary-navy);font:inherit;border-radius:6px;margin:0;font-weight:400}.warehouse-directory-form input:not([type=checkbox]),.warehouse-directory-form select{flex:0 0 36px;height:36px;min-height:36px;padding:0 10px}.warehouse-directory-form textarea{resize:vertical;min-height:88px;padding:9px 10px}.warehouse-directory-form :is(input,select,textarea):focus-visible{outline:2px solid var(--primary-border);outline-offset:1px;border-color:var(--primary)}.warehouse-directory-form .warehouse-org-link{height:auto;color:var(--primary,#2563eb);background:0 0;border:0;align-self:flex-start;padding:0;font-size:12px;font-weight:500}.warehouse-directory-form .warehouse-address-field{grid-column:1/-1}.warehouse-directory-form .warehouse-active-field{white-space:nowrap;grid-column:1/-1;justify-self:start;align-items:center;gap:7px;width:fit-content;flex-direction:row!important;justify-content:flex-start!important;display:inline-flex!important}.warehouse-directory-form .warehouse-active-field input{min-width:15px;height:15px;min-height:15px;accent-color:var(--primary);flex:0 0 15px;margin:0;padding:0;width:15px!important}.warehouse-directory-modal>.voucher-modal-footer{border-top:1px solid var(--border);background:var(--panel-bg-soft);flex-shrink:0;gap:12px;min-height:60px;padding:12px 20px}.warehouse-directory-modal .voucher-modal-footer button{border-radius:6px;min-height:36px;padding:7px 16px}.warehouse-directory-modal .voucher-modal-footer .secondary{color:var(--primary-navy);background:var(--panel-bg);border-color:var(--primary-border)}.warehouse-directory-modal .voucher-modal-footer button[type=submit]:not(.secondary){color:#fff;background:var(--primary);border-color:var(--primary)}.warehouse-directory-modal .voucher-modal-footer button[type=submit]:not(.secondary):hover{background:var(--primary-hover)}@media (width<=680px){.warehouse-directory-form{grid-template-columns:1fr}.warehouse-directory-form .warehouse-address-field,.warehouse-directory-form .warehouse-active-field{grid-column:1}}.accounting-document-modal.sales-document-modal :is(.voucher-entry-main-grid,.voucher-entry-date-rail){row-gap:7px}.accounting-document-modal.sales-document-modal .voucher-entry-date-rail{width:100%}.accounting-document-modal.sales-document-modal :is(.voucher-entry-main-grid,.voucher-entry-date-rail)>label{gap:3px;font-size:11px;line-height:1.25}.accounting-document-modal.sales-document-modal :is(.voucher-entry-main-grid,.voucher-entry-date-rail) input:not([type=checkbox]):not([type=radio]):not(.document-native-date-picker),.accounting-document-modal.sales-document-modal :is(.voucher-entry-main-grid,.voucher-entry-date-rail) select{height:var(--accounting-control-height,28px);min-height:var(--accounting-control-height,28px)}.accounting-document-modal.document-layout-misa-warehouse .voucher-entry-header{grid-template-columns:minmax(620px,1fr) 270px 116px;gap:18px;padding-top:7px;padding-bottom:8px}.accounting-document-modal.document-layout-misa-warehouse .voucher-entry-main-grid{row-gap:5px;margin-bottom:0}.accounting-document-modal.document-layout-misa-warehouse :is(.voucher-entry-main-grid label,.voucher-entry-date-rail label){gap:2px;font-size:10.5px;line-height:1.2}.accounting-document-modal.document-layout-misa-warehouse .voucher-entry-date-rail{gap:5px}.accounting-document-modal.document-layout-misa-warehouse .voucher-entry-total{padding-top:0}.pagination.pagination-misa-compact{z-index:2;background:#fff;border-top:0;flex-wrap:nowrap;flex:none;justify-content:flex-end;gap:2px;width:max-content;min-width:max-content;margin:0;padding:0 8px 0 4px;position:relative;overflow:visible}.pagination-misa-compact .pagination-size-field{flex:none;gap:8px;height:28px;margin:0 10px 0 0;font-size:12px;line-height:1}.pagination-misa-compact .pagination-size-field>span{z-index:1;white-space:nowrap;background:#fff;flex:none;align-items:center;height:28px;padding:0 2px;display:inline-flex;position:relative}.pagination-misa-compact .pagination-size{border-radius:4px;flex:0 0 72px;width:72px;min-width:72px;height:28px;margin:0;padding:0 24px 0 9px;font-size:12px}.pagination-misa-compact .pagination-arrow{color:#718096;background:0 0;border:0;border-radius:4px;width:24px;min-width:24px;height:28px;padding:0;font-size:16px;font-weight:400}.pagination-misa-compact .pagination-arrow:not(:disabled):hover{background:var(--primary-soft);color:var(--primary);border:0}.pagination-misa-compact .pagination-arrow:disabled{color:#aeb8c6;opacity:.72}.pagination-misa-compact .pagination-current{width:24px;min-width:24px;height:28px;color:var(--primary);justify-content:center;align-items:center;font-size:12.5px;font-weight:600;display:inline-flex}.warehouse-issue-toolbar{flex:auto;align-items:center;gap:7px;min-width:0;display:flex}.warehouse-issue-toolbar>select,.warehouse-issue-source-settings,.warehouse-issue-source-document{box-sizing:border-box;height:28px}.warehouse-issue-toolbar>select{border:1px solid var(--border);width:240px;min-width:190px;color:var(--text-h);background:#fff;border-radius:4px;flex:0 0 240px;padding:2px 28px 2px 8px;font-size:11.5px}.purchase-document-modal .warehouse-issue-toolbar>select{width:270px}.purchase-document-modal .warehouse-issue-source-popover{min-width:250px}.purchase-return-source-toolbar{flex:0 360px;max-width:360px}.purchase-return-source-toolbar .warehouse-issue-source-document{flex:auto;width:auto;min-width:260px}.purchase-return-modal .voucher-settlement-bar.document-sales-settlement{justify-content:flex-start;gap:12px;min-height:34px;padding:3px 8px;font-size:11.5px}.purchase-return-modal .document-sales-settlement :is(.voucher-radio,.voucher-checkbox){white-space:nowrap;gap:5px;margin:0}.purchase-return-modal .document-sales-settlement :is(.voucher-radio,.voucher-checkbox) input{width:13px;height:13px;margin:0}.purchase-return-modal .document-sales-settlement .voucher-settlement-select{flex:none;gap:7px;min-width:0;margin:0 0 0 6px}.purchase-return-modal .document-sales-settlement .voucher-settlement-select select{background:#fff;width:230px;min-width:230px;height:26px;padding:2px 26px 2px 8px;font-size:11.5px;font-weight:400}.document-purchase-invoice-method{min-width:190px}.document-purchase-required-invoice{color:var(--primary);font-weight:600}.purchase-document-modal .voucher-settlement-bar.document-purchase-settlement{justify-content:flex-start;gap:12px;min-height:34px;padding:3px 8px;font-size:11.5px}.purchase-document-modal .document-purchase-settlement .voucher-radio{white-space:nowrap;gap:5px}.purchase-document-modal .document-purchase-settlement .voucher-radio input{width:13px;height:13px;margin:0}.purchase-document-modal .document-purchase-settlement .document-sales-payment-method{width:160px;height:26px;padding:2px 28px 2px 8px;font-size:11.5px}.purchase-document-modal .document-purchase-settlement .document-payment-method-control{flex:0 0 160px;width:160px}.purchase-document-modal .document-purchase-settlement .document-payment-method-value{border:1px solid var(--border);color:var(--text-h);text-align:left;border-radius:4px;justify-content:space-between;align-items:center;gap:8px;padding:2px 7px 2px 9px;display:flex}.purchase-document-modal .document-purchase-settlement .document-payment-method-value>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.purchase-document-modal .document-purchase-settlement .document-payment-method-value[aria-expanded=true]{border-color:var(--primary)}.purchase-document-modal .document-purchase-settlement .document-payment-method-value[aria-expanded=true] svg{transform:rotate(180deg)}.purchase-document-modal .document-purchase-settlement .document-payment-method-value:disabled{color:#7f8793;cursor:default;background:#f3f4f6}.document-payment-method-dropdown{z-index:2100;border:1px solid var(--border);background:#fff;border-radius:0 0 6px 6px;padding:3px 0;overflow:hidden;box-shadow:0 6px 16px #0f172a2e}.document-payment-method-dropdown>button{width:100%;min-height:28px;color:var(--text-h);text-align:left;background:#fff;border:0;border-radius:0;padding:5px 9px;font-size:11.5px;display:block}.document-payment-method-dropdown>button:hover{background:var(--primary-soft);color:var(--primary)}.document-payment-method-dropdown>button[aria-selected=true]{background:var(--primary);color:#fff}.purchase-document-modal .document-purchase-settlement .document-purchase-invoice-method{flex:0 0 240px;width:240px;min-width:240px;height:26px;padding:2px 28px 2px 8px;font-size:11.5px}.purchase-document-modal .document-purchase-settlement select:disabled{color:#7f8793;background:#f3f4f6}.purchase-document-modal{--accounting-control-height:24px}.purchase-document-modal .voucher-entry-header{grid-template-columns:minmax(600px,3fr) minmax(184px,.75fr) minmax(180px,1.15fr);gap:16px;padding-top:6px;padding-bottom:6px}.purchase-document-modal .voucher-entry-main-grid{grid-template-columns:repeat(20,minmax(0,1fr));gap:7px 14px}.purchase-document-modal .voucher-entry-main-grid .voucher-field-full{grid-column:span 20}.purchase-document-modal .voucher-entry-main-grid .voucher-field-code{grid-column:span 4}.purchase-document-modal .voucher-entry-main-grid .voucher-field-name{grid-column:span 16}.purchase-document-modal .voucher-entry-main-grid .voucher-field-third{grid-column:span 7}.purchase-document-modal .voucher-entry-main-grid .voucher-field-payment-reason{grid-column:span 11}.purchase-document-modal .voucher-entry-main-grid .voucher-field-payment-original{grid-column:span 5}.purchase-document-modal .voucher-entry-main-grid input,.purchase-document-modal .voucher-entry-main-grid select,.purchase-document-modal .voucher-entry-date-rail input:not(.document-native-date-picker),.purchase-document-modal .voucher-entry-date-rail select{height:26px;min-height:26px}.purchase-document-modal .voucher-entry-date-rail{gap:7px}.purchase-document-modal .voucher-field-payment-term{grid-column:span 7}.purchase-document-modal .voucher-field-credit-days{grid-column:span 2}.purchase-document-modal .voucher-field-payment-deadline{grid-column:span 3}.purchase-document-modal .voucher-field-payment-deadline .document-date-input>input:not(.document-native-date-picker){font-variant-numeric:tabular-nums;padding-right:27px}.purchase-document-modal .voucher-reference-field-row{min-height:18px}.purchase-document-modal .document-partner-code-control{background:#fff;border:1px solid #cbd5e1;border-radius:4px;overflow:hidden}.purchase-document-modal .document-partner-code-control:focus-within{border-color:var(--primary);box-shadow:0 0 0 1px color-mix(in srgb, var(--primary) 16%, transparent)}.purchase-document-modal .document-partner-code-control>input,.purchase-document-modal .document-partner-code-control>.document-partner-inline-btn{border:0!important;border-radius:0!important}.purchase-document-modal .document-partner-code-control>input{height:24px;min-height:24px}.purchase-document-modal .document-partner-code-control>.document-partner-inline-btn{background:#fff;width:27px;min-width:27px;height:24px;border-left:1px solid #dbe2ea!important}.purchase-document-detail-toolbar{border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;gap:16px;min-height:34px;padding:0 10px;display:flex}.purchase-document-detail-toolbar .purchase-cost-tabs{border:0;min-width:0;padding:0}.purchase-document-detail-actions{white-space:nowrap;flex:none;justify-content:flex-end;align-items:center;gap:10px;min-width:0;padding-right:2px;font-size:11px;display:flex}.purchase-ai-assistant{border:1px solid var(--primary);color:var(--primary);background:var(--primary-soft);border-radius:14px;padding:3px 10px}.purchase-document-detail-actions label{flex:none;align-items:center;gap:8px;display:inline-flex}.purchase-document-detail-actions .voucher-discount-select{min-width:238px}.purchase-document-detail-actions .voucher-discount-mode{box-sizing:border-box;flex:0 0 176px;width:176px;min-width:176px;height:28px;padding:2px 30px 2px 9px}.purchase-document-detail-actions .voucher-exchange-rate input{width:86px}@media (width<=760px){.purchase-document-detail-toolbar{flex-wrap:wrap;gap:8px}.purchase-document-detail-toolbar .purchase-cost-tabs{flex:1 0 100%}.purchase-document-detail-actions{flex-wrap:wrap;flex:100%;justify-content:flex-start;padding-bottom:8px}}.purchase-document-modal .document-goods-table .document-col-item-code{width:140px!important;min-width:135px!important}.purchase-document-modal .document-goods-table .document-col-name{width:300px!important;min-width:260px!important}.purchase-document-modal .document-goods-table .document-col-warehouse{width:125px!important;min-width:115px!important}.purchase-document-modal .document-goods-table :is(.document-col-warehouse-account,.document-col-expense-account,.document-col-payable-account,.document-col-tax-account,.document-col-import-tax-account,.document-col-special-tax-account){width:92px!important;min-width:82px!important}.purchase-document-modal .document-goods-table .document-col-unit{width:65px!important;min-width:60px!important}.purchase-document-modal .document-goods-table .document-col-quantity{width:84px!important;min-width:78px!important}.purchase-document-modal .document-goods-table .document-col-price,.purchase-document-modal .document-goods-table .document-col-total{width:105px!important;min-width:96px!important}.purchase-document-modal .document-goods-table .document-col-tax-rate{white-space:nowrap;width:92px!important;min-width:92px!important}.purchase-document-modal .document-goods-table .document-col-tax-amount{white-space:nowrap;text-align:right;width:118px!important;min-width:118px!important}.purchase-document-modal .document-goods-table thead :is(.document-col-total,.document-col-tax-rate,.document-col-tax-amount){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.purchase-document-modal .document-goods-table :is(.document-col-hhdv-group,.document-col-purchase-cost,.document-col-inventory-value){width:112px!important;min-width:102px!important}.purchase-cost-panel{background:#fff;min-height:210px}.purchase-cost-panel-head{justify-content:space-between;align-items:flex-start;gap:16px;padding:12px 14px;display:flex}.purchase-cost-panel-head p{color:var(--muted);margin:4px 0 0;font-size:12px}.purchase-cost-table{min-width:860px}.purchase-cost-table th:first-child,.purchase-cost-table td:first-child{text-align:center;width:38px;min-width:38px}.purchase-cost-table th:nth-child(2){width:170px}.purchase-cost-table th:nth-child(3){width:150px}.purchase-cost-table th:nth-child(4){width:190px}.purchase-cost-table th:last-child,.purchase-cost-table td:last-child{text-align:center;width:40px;min-width:40px}.purchase-cost-empty{text-align:center;padding:22px!important}.warehouse-issue-source-menu{flex:0 0 30px;display:inline-flex;position:relative}.warehouse-issue-source-settings{border:1px solid var(--border);background:var(--primary-soft);width:30px;min-width:30px;color:var(--primary);border-radius:4px;flex:0 0 30px;justify-content:center;align-items:center;padding:0;display:inline-flex}.warehouse-issue-source-settings:hover,.warehouse-issue-source-settings[aria-expanded=true]{border-color:var(--primary);background:#fff}.warehouse-issue-source-popover{z-index:1900;border:1px solid var(--border);background:#fff;border-radius:7px;flex-direction:column;width:228px;min-width:228px;padding:5px 0;display:flex;position:absolute;top:calc(100% + 3px);left:0;overflow:hidden;box-shadow:0 8px 24px #0f172a2e}.warehouse-issue-source-popover label{box-sizing:border-box;width:100%;min-height:28px;color:var(--text-h);white-space:nowrap;text-align:left;cursor:pointer;grid-template-columns:14px minmax(0,1fr);justify-content:stretch;align-items:center;column-gap:8px;padding:3px 10px;font-size:11.5px;font-weight:400;display:grid}.warehouse-issue-source-popover label>span{text-align:left;min-width:0}.warehouse-issue-source-popover label:hover{background:var(--primary-soft)}.warehouse-issue-source-popover input[type=radio]{width:13px;min-width:13px;height:13px;min-height:13px;accent-color:var(--primary);justify-self:start;margin:0}.warehouse-issue-source-document{width:min(270px,22vw);min-width:180px}.warehouse-issue-source-document input{height:26px;font-size:11px}.warehouse-source-document-picker{position:relative;overflow:visible}.warehouse-source-document-picker>input{flex:auto;width:0}.warehouse-source-search-icon{color:var(--text);flex:0 0 27px;justify-content:center;align-items:center;display:inline-flex}.warehouse-source-search-icon>svg{margin:0}.warehouse-source-dropdown-button{border:0;border-left:1px solid var(--border);width:27px;min-width:27px;height:26px;color:var(--text);background:0 0;border-radius:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.warehouse-source-dropdown-button:hover,.warehouse-source-dropdown-button[aria-expanded=true]{background:var(--primary-soft);color:var(--primary)}.warehouse-source-dropdown-button>svg{margin:0}.warehouse-source-document-options{z-index:1900;border:1px solid var(--border);background:#fff;border-radius:7px;width:min(420px,100vw - 20px);position:absolute;top:calc(100% + 3px);left:0;overflow:hidden;box-shadow:0 8px 24px #0f172a2e}.warehouse-source-document-head,.warehouse-source-document-list>button{text-align:left;grid-template-columns:95px 105px minmax(0,1fr);align-items:center;width:100%;display:grid}.warehouse-source-document-head{border-bottom:1px solid var(--border);min-height:24px;color:var(--text-h);background:#e9edf2;font-size:10.5px}.warehouse-source-document-list{max-height:156px;overflow-y:auto}.warehouse-source-document-list>button{border:0;border-bottom:1px solid var(--border);min-height:26px;color:var(--text-h);background:#fff;border-radius:0;padding:0;font-size:10.5px}.warehouse-source-document-list>button:hover,.warehouse-source-document-list>button[aria-selected=true]{background:var(--primary-soft);color:var(--primary)}.warehouse-source-document-head>*,.warehouse-source-document-list>button>*{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:0 8px;overflow:hidden}.warehouse-source-document-head>*+*,.warehouse-source-document-list>button>*+*{border-left:1px solid var(--border)}.warehouse-source-document-list>p{color:var(--text-muted);margin:0;padding:10px;font-size:10.5px}.document-account-control{box-sizing:border-box;border:1px solid var(--border);background:#fff;border-radius:4px;width:100%;min-width:0;height:28px;display:flex;overflow:hidden}.document-warehouse-control{box-sizing:border-box;width:100%;min-width:0;height:28px}.accounting-document-modal .voucher-table .document-warehouse-control>input{box-sizing:border-box;border:1px solid var(--border);background:#fff;border-radius:4px;width:100%;min-width:0;height:28px;min-height:28px;padding:3px 28px 3px 8px}.accounting-document-modal .document-goods-table tbody .document-warehouse-control>input{box-shadow:none;background:0 0;border-color:#0000}.accounting-document-modal .document-goods-table tbody tr:is(:hover,:focus-within) .document-warehouse-control>input{border-color:var(--border);background:#fff}.accounting-document-modal .document-goods-table tbody .document-warehouse-control>input:focus{border-color:var(--primary);outline:1px solid var(--primary);outline-offset:-1px;background:#fff}.accounting-document-modal .voucher-table .document-account-control>input{border:0;border-radius:0;outline:0;flex:1;width:0;min-width:0;height:26px;min-height:26px}.document-account-control>button{border:0;border-left:1px solid var(--border);width:25px;min-width:25px;height:26px;color:var(--text);background:#fff;border-radius:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.document-account-control:focus-within{border-color:var(--primary);outline:1px solid var(--primary);outline-offset:-1px}.document-account-control:focus-within>button,.document-account-control>button:hover{color:var(--primary);background:var(--primary-soft)}.document-grid-cell-control{width:100%;min-width:0;position:relative}.document-grid-cell-control>:is(input,select,.document-account-control){box-sizing:border-box;width:100%;min-width:0;max-width:100%}.document-grid-cell-control>.document-warehouse-control{width:100%;min-width:0}.document-grid-cell-control>input:not([type=checkbox]),.document-grid-cell-control>textarea,.document-grid-cell-control>.entry-field>input{padding-right:25px}.document-warehouse-dropdown .document-account-dropdown-head,.document-warehouse-dropdown .document-account-dropdown-list>button{grid-template-columns:105px minmax(0,1fr)}.document-cell-action-trigger{z-index:3;border:1px solid var(--border);width:19px;min-width:19px;height:19px;min-height:19px;color:var(--muted);opacity:0;background:#fff;border-radius:50%;place-items:center;padding:0;transition:opacity .12s,border-color .12s,color .12s;display:inline-grid;position:absolute;top:50%;right:3px;transform:translateY(-50%);box-shadow:0 1px 2px #0f172a1a}.document-grid-cell-control.has-dropdown{align-items:center;gap:3px;display:flex}.document-grid-cell-control.has-dropdown>:first-child{flex:1;min-width:0}.document-grid-cell-control.has-dropdown>.document-cell-action-trigger{flex:0 0 19px;margin-right:3px;position:static;transform:none}.document-grid-cell-control:hover>.document-cell-action-trigger,.document-grid-cell-control:focus-within>.document-cell-action-trigger,.document-cell-action-trigger:focus,.document-cell-action-trigger[aria-expanded=true]{opacity:1}.document-cell-action-trigger:hover,.document-cell-action-trigger[aria-expanded=true]{border-color:var(--primary);background:var(--primary-soft);color:var(--primary)}@media (hover:none){.document-cell-action-trigger{opacity:1}}.document-cell-action-menu{z-index:1900;border:1px solid var(--border);background:#fff;border-radius:6px;padding:5px 0;overflow:hidden;box-shadow:0 8px 22px #0f172a2e}.document-cell-action-menu>button{width:100%;min-height:32px;color:var(--text-h);text-align:left;background:#fff;border:0;border-radius:0;padding:6px 14px;font-size:11.5px;display:block}.document-cell-action-menu>button:hover{background:var(--primary-soft);color:var(--primary)}.document-note-row>td{background:color-mix(in srgb, var(--primary-soft) 34%, #fff)}.document-note-row-control{align-items:center;gap:6px;display:flex}.accounting-document-modal .voucher-table .document-note-row-control>input{box-sizing:border-box;border:1px solid var(--primary-border);width:100%;height:27px;min-height:27px;color:var(--text-h);background:#fff;border-radius:4px;padding:3px 8px}.document-account-dropdown{z-index:1800;border:1px solid var(--border);background:#fff;border-radius:7px;overflow:hidden;box-shadow:0 8px 24px #0f172a2e}.document-account-dropdown-head,.document-account-dropdown-list>button{text-align:left;grid-template-columns:105px minmax(0,1fr);align-items:center;display:grid}.document-account-dropdown-head{border-bottom:1px solid var(--primary-border);background:var(--primary-soft);min-height:29px;color:var(--text-h);font-size:11px}.document-account-dropdown-head>*,.document-account-dropdown-list>button>*{min-width:0;padding:0 9px}.document-account-dropdown-head>*+*,.document-account-dropdown-list>button>*+*{border-left:1px solid var(--border)}.document-account-dropdown-list{overflow-y:auto}.document-account-dropdown-list>button{border:0;border-bottom:1px solid var(--border);width:100%;min-height:30px;color:var(--text);background:#fff;border-radius:0;padding:0;font-size:11.5px}.document-account-dropdown-list>button:hover,.document-account-dropdown-list>button[aria-selected=true]{background:var(--primary-soft);color:var(--primary)}.document-account-dropdown-list>button.is-active{background:var(--primary-soft);color:var(--primary);box-shadow:inset 3px 0 0 var(--primary)}.document-account-dropdown-list>button>*{text-overflow:ellipsis;white-space:nowrap;align-items:center;min-height:30px;display:flex;overflow:hidden}.document-account-dropdown-list>p{color:var(--text-muted);margin:0;padding:12px;font-size:11.5px}.document-table-pagination{z-index:2;border-top:1px solid var(--border);min-height:42px;color:var(--text);background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:3px 10px;font-size:11px;display:flex;position:relative;overflow:visible}.document-table-pagination>span{flex:none}.warehouse-show-accounts{color:var(--text-h);align-items:center;gap:6px;font-size:11px;display:inline-flex}.warehouse-show-accounts input{width:14px;height:14px;accent-color:var(--primary);margin:0}.warehouse-transfer-types{box-sizing:border-box;border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--primary) 4%, #fff);min-height:38px;color:var(--text-h);align-items:center;gap:26px;padding:4px 14px;font-size:11.5px;display:flex}.warehouse-transfer-types label{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.warehouse-transfer-types input{width:14px;height:14px;accent-color:var(--primary);margin:0}.warehouse-transfer-source{align-items:center;min-width:0;display:inline-flex}.warehouse-transfer-source-document{background:#fff;border-radius:0 4px 4px 0;width:250px;height:28px}.warehouse-transfer-source-document input{height:26px;font-size:11.5px}.warehouse-transfer-source .warehouse-issue-source-settings{border-radius:4px 0 0 4px}.warehouse-transfer-modal .voucher-field-transport_means select{background-color:#fff;height:28px}.warehouse-transfer-modal .voucher-entry-main-grid>*{min-width:0}.warehouse-transfer-modal .voucher-field-dispatch_no{order:1;grid-column:span 3}.warehouse-transfer-modal .voucher-field-dispatch_date{order:2;grid-column:span 3}.warehouse-transfer-modal .voucher-field-dispatch_from{order:3;grid-column:span 6}.warehouse-transfer-modal .voucher-note-main-field{order:4;grid-column:span 12}.warehouse-transfer-modal .document-partner-code-field{order:5;grid-column:span 3}.warehouse-transfer-modal .document-partner-code-field+label{order:6;grid-column:span 6}.warehouse-transfer-modal .voucher-field-recipient_tax_code{order:7;grid-column:span 3}.warehouse-transfer-modal .voucher-field-staff{order:8;grid-column:span 3}.warehouse-transfer-modal .voucher-field-transporter_name{order:9;grid-column:span 6}.warehouse-transfer-modal .voucher-field-transport_contract{order:10;grid-column:span 3}.warehouse-transfer-modal .voucher-field-transport_means{order:11;grid-column:span 5}.warehouse-transfer-modal .voucher-field-reference{order:12;grid-column:span 12}.warehouse-transfer-modal .document-date-rail{grid-auto-rows:minmax(0,auto)}.warehouse-transfer-modal .document-date-rail select{width:100%;height:28px}.warehouse-transfer-modal .voucher-table-scroll{min-height:116px}.document-item-dropdown .document-account-dropdown-head,.document-item-dropdown .document-account-dropdown-list>button{grid-template-columns:120px minmax(0,1fr)}.document-item-dropdown.is-sales .document-account-dropdown-head,.document-item-dropdown.is-sales .document-account-dropdown-list>button{grid-template-columns:110px minmax(160px,1fr) repeat(5,92px)}.document-item-dropdown.is-sales .is-number{text-align:right;font-variant-numeric:tabular-nums;justify-content:flex-end}.document-item-dropdown-footer{border-top:1px solid var(--border);background:#fff;justify-content:flex-end;padding:6px 10px;display:flex}.document-item-stock-switch{color:var(--text);cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:2px 4px;font-size:11.5px;display:inline-flex}.document-item-stock-switch:hover:not(:disabled){filter:none}.document-item-stock-switch-track{background:#cbd5e1;border-radius:999px;width:28px;height:16px;transition:background .15s;position:relative}.document-item-stock-switch-track>span{background:#fff;border-radius:50%;width:12px;height:12px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #0f172a40}.document-item-stock-switch.is-on .document-item-stock-switch-track{background:var(--primary)}.document-item-stock-switch.is-on .document-item-stock-switch-track>span{transform:translate(12px)}.document-item-stock-switch:focus-visible{outline:2px solid var(--primary-border);outline-offset:2px}.document-currency-control{width:92px}.document-currency-value{border:1px solid var(--border);width:100%;height:28px;color:var(--text);background:#fff;border-radius:4px;justify-content:space-between;align-items:center;padding:0 7px;font-weight:500;display:flex}.document-currency-value:hover,.document-currency-value[aria-expanded=true]{border-color:var(--primary);color:var(--text);background:#fff}.document-currency-dropdown .document-account-dropdown-head,.document-currency-dropdown .document-account-dropdown-list>button{grid-template-columns:105px minmax(0,1fr)}.document-currency-dropdown .document-account-dropdown-list>button[aria-selected=true]{background:var(--primary);color:#fff}.document-exchange-rate-inline{color:var(--muted);align-items:center;gap:5px;font-size:11px;display:flex}.document-exchange-rate-inline input{width:92px;height:28px;min-height:28px}.document-computed-cell{text-align:right;color:var(--text-h);padding:0 6px;display:block}@media (width<=1050px){.warehouse-issue-source-document{width:min(250px,28vw)}}@media (width<=1200px){.accounting-document-modal.document-layout-misa-warehouse .voucher-entry-header{grid-template-columns:minmax(0,1fr) 235px 105px;gap:12px}}@media (width<=900px){.accounting-document-modal.document-layout-misa-warehouse .voucher-entry-header{grid-template-columns:minmax(0,1fr) 220px}}@media (width<=680px){.accounting-document-modal.document-layout-misa-warehouse .voucher-entry-header{grid-template-columns:1fr}}@media (width>=1201px){.accounting-document-modal.purchase-document-modal.document-layout-misa-warehouse .voucher-entry-header{grid-template-columns:minmax(680px,60%) minmax(220px,15%) minmax(180px,1fr);gap:16px}}.report-page-title{align-items:center;gap:10px;margin-bottom:12px;display:flex}.report-page-title h2{margin:0;font-size:18px}.report-print-heading{grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin:18px 4px;display:grid}.report-print-heading h3{text-align:center;margin:0}.report-print-heading span{text-align:right;color:var(--muted)}.gl-analysis-table{min-width:1080px}.gl-analysis-table th{white-space:normal;text-align:center;min-width:105px}.gl-analysis-table th:first-child{min-width:120px}.gl-report-params{gap:14px;display:grid}.gl-common-params{grid-template-columns:minmax(260px,1.5fr) minmax(230px,1fr) repeat(3,minmax(145px,.7fr))}.gl-common-params .checkbox-field{flex-direction:row;align-items:center;gap:8px;padding-top:20px;display:flex}.gl-param-options{flex-wrap:wrap;gap:10px 28px;display:flex}.gl-param-options label{align-items:center;gap:7px;display:flex}.gl-report-selector{gap:8px;display:grid}.gl-report-selector>label{align-items:center;gap:7px;font-weight:600;display:flex}.gl-report-selector table{border-collapse:collapse;width:100%}.gl-report-selector th,.gl-report-selector td{border:1px solid var(--border);text-align:left;padding:7px 9px}.gl-report-selector th{background:#eef4ff}.cash-flow-params-modal:has(.gl-report-params){width:min(1180px,100vw - 48px)}@media (width<=1000px){.gl-common-params{grid-template-columns:repeat(2,minmax(180px,1fr))}.report-print-heading{grid-template-columns:1fr}.report-print-heading h3,.report-print-heading span{text-align:left}}.document-view-fieldset{border:0;min-width:0;margin:0;padding:0;display:contents}.accounting-document-modal.is-view-mode .document-view-fieldset input:disabled,.accounting-document-modal.is-view-mode .document-view-fieldset select:disabled,.accounting-document-modal.is-view-mode .document-view-fieldset textarea:disabled{opacity:1;color:var(--text-strong,#1f2937);-webkit-text-fill-color:var(--text-strong,#1f2937);cursor:default;background:#f8fafc}.accounting-document-modal.is-view-mode .document-view-fieldset button:disabled{opacity:.55}.accounting-document-modal.is-view-mode .voucher-modal-footer-actions button.icon-btn[aria-label^=Xóa],.accounting-document-modal.is-view-mode .document-view-fieldset .icon-btn[aria-label=Xóa\ dòng]{visibility:hidden}.document-view-status{color:#92400e;white-space:nowrap;background:#fef3c7;border-radius:999px;align-items:center;height:24px;margin-right:8px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.document-view-status.is-posted{color:#065f46;background:#d1fae5}.document-view-nav{gap:4px;margin-right:10px;display:inline-flex}.document-view-nav .icon-btn{border:1px solid var(--border);background:#fff;border-radius:6px;width:28px;height:28px;font-size:16px;line-height:1}.document-view-actions{align-items:center;gap:8px;display:flex}.document-view-actions>button,.document-view-utility>button{align-items:center;gap:6px;height:30px;padding:0 12px;display:inline-flex}.document-view-utility{position:relative}.document-view-utility-menu{border:1px solid var(--border);z-index:40;background:#fff;border-radius:8px;flex-direction:column;min-width:190px;padding:4px;display:flex;position:absolute;bottom:calc(100% + 4px);right:0;box-shadow:0 8px 24px #0f172a24}.document-view-utility-menu button{text-align:left;color:var(--text-strong,#1f2937);background:0 0;border:0;justify-content:flex-start;padding:7px 10px;font-weight:500}.document-view-utility-menu button:hover{background:var(--primary-soft)}.document-view-utility-menu button.is-danger{color:var(--danger)}.voucher-modal>.voucher-modal-header:has(.order-template-control){align-items:center;gap:8px}.voucher-modal>.voucher-modal-header:has(.order-template-control) .voucher-modal-header-right{align-items:center;gap:8px}.voucher-modal>.voucher-modal-header:has(.order-template-control) :is(.voucher-close-btn,.order-template-control>.icon-btn){box-sizing:border-box;border:1px solid var(--border);background:var(--panel-bg,#fff);width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;max-height:32px;color:var(--text-strong,#1f2937);box-shadow:none;border-radius:6px;flex:0 0 32px;justify-content:center;align-items:center;margin:0;padding:0;line-height:1;display:inline-flex}.voucher-modal>.voucher-modal-header:has(.order-template-control) :is(.voucher-close-btn,.order-template-control>.icon-btn)>svg{flex-shrink:0;width:18px;height:18px;display:block}.voucher-modal>.voucher-modal-header:has(.order-template-control) :is(.voucher-close-btn,.order-template-control>.icon-btn):hover:not(:disabled){background:var(--primary-soft,#edf2ff);border-color:var(--primary);color:var(--primary)}.voucher-modal>.voucher-modal-header:has(.order-template-control) :is(.voucher-close-btn,.order-template-control>.icon-btn):focus-visible{outline:2px solid var(--primary);outline-offset:2px}:is(.voucher-close-btn,.settings-close,.icon-btn[aria-label^=Đóng],header>button[aria-label^=Đóng],[class*=header]>button[aria-label^=Đóng],[class*=header]>[class*=actions]>button[aria-label^=Đóng]){box-sizing:border-box;width:30px;min-width:30px;height:30px;min-height:30px;box-shadow:none;color:var(--text-muted,#64748b);background:0 0;border:1px solid #0000;border-radius:6px;flex:0 0 30px;place-items:center;padding:0;font-size:20px;font-weight:400;line-height:1;display:inline-grid;transform:none}:is(.voucher-close-btn,.settings-close,.icon-btn[aria-label^=Đóng],header>button[aria-label^=Đóng],[class*=header]>button[aria-label^=Đóng],[class*=header]>[class*=actions]>button[aria-label^=Đóng]):hover:not(:disabled){background:var(--primary-soft,#eef2ff);border-color:var(--primary-border,#c7d2fe);color:var(--primary,#2563eb);filter:none;transform:none}._entry_1rwez_1{align-items:stretch;gap:2px;display:flex}._entry_1rwez_1>a{flex:1;min-width:0}._entry_1rwez_1 ._toggle_1rwez_3{width:30px;color:var(--text-muted);box-shadow:none;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:0;display:flex}._entry_1rwez_1 ._toggle_1rwez_3:hover{color:var(--primary);background:var(--primary-soft)}._entry_1rwez_1 ._toggle_1rwez_3:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}._toggle_1rwez_3 .nav-group-chevron{margin:0}._page_1ejv0_1{max-width:800px;color:var(--text);margin:24px auto}._page_1ejv0_1>header{margin-bottom:22px}._eyebrow_1ejv0_3{color:var(--primary);letter-spacing:.08em;font-size:11px;font-weight:700}._page_1ejv0_1 h2{margin:8px 0;font-size:24px}._page_1ejv0_1 p{color:var(--text-muted);font-size:13px;line-height:1.7}._card_1ejv0_6{background:var(--panel-bg);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:10px;padding:24px}._steps_1ejv0_7{border-bottom:1px solid var(--border);color:var(--text-muted);flex-wrap:wrap;gap:10px 22px;margin-bottom:22px;padding-bottom:18px;font-size:12px;display:flex}._steps_1ejv0_7 strong{color:var(--primary)}._notice_1ejv0_9{background:var(--primary-soft);border-radius:5px;margin-bottom:18px;padding:9px 12px}._page_1ejv0_1 ._note_1ejv0_10{margin-top:16px;font-size:12px}._card_1ejv0_6 .working-unit-wrap{display:block}._card_1ejv0_6 .working-unit-dialog{width:100%;max-width:none;box-shadow:none;background:0 0;border:0;padding:0;position:static}._card_1ejv0_6 .working-unit-dialog h2{margin-bottom:18px;font-size:16px}._card_1ejv0_6 .working-unit-combobox>input{height:36px}._card_1ejv0_6 .working-unit-options{z-index:5}._card_1ejv0_6 .working-unit-dialog footer{margin-top:24px;padding-top:16px}._card_1ejv0_6 .working-unit-dialog footer button{min-width:90px;min-height:36px}._card_1ejv0_6 .working-mode-options{flex-wrap:wrap}._ledger_1ejv0_19{border:1px solid var(--primary-border);background:var(--primary-soft);border-radius:6px;gap:5px;margin:0 0 18px;padding:12px;display:grid}._ledger_1ejv0_19 span{color:var(--text-muted);font-size:12px}._ledger_1ejv0_19 strong{color:var(--text-h);font-size:14px}._singleMode_1ejv0_22{padding:10px 0;font-size:13px}@media (width<=650px){._page_1ejv0_1{margin:12px auto}._card_1ejv0_6{padding:16px}._page_1ejv0_1 h2{font-size:20px}}.settings-menu-backdrop{z-index:1100;background:#14243a55;justify-content:flex-end;align-items:flex-start;padding:10px;display:flex;position:fixed;inset:54px 0 0}.settings-menu{box-sizing:border-box;background:var(--panel-bg,#fff);width:min(1240px,100%);max-height:calc(100dvh - 74px);color:var(--text-h);border:1px solid var(--border);border-radius:12px;padding:22px 24px;overflow:auto;box-shadow:0 12px 36px #13294a26}.settings-menu>header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.settings-menu h2{margin:0;font-size:19px;font-weight:600}.settings-menu .settings-close{color:var(--text);width:30px;height:30px;box-shadow:none;background:0 0;border:0;flex:none;padding:0;font-size:26px}.settings-search{border:1px solid var(--border);box-sizing:border-box;border-radius:5px;align-items:center;gap:8px;width:300px;max-width:100%;margin-bottom:20px;padding:0 10px;display:flex}.settings-search input{background:0 0;border:0;outline:none;width:100%;min-width:0;height:32px;padding:0;font-size:13px}.settings-search:focus-within{outline:2px solid var(--primary);outline-offset:1px}.settings-columns{grid-template-columns:.8fr 1.25fr 1.3fr 1.2fr;gap:0 24px;display:grid}.settings-group{grid-row:1/span 2;min-width:0}.settings-group-side{background:var(--panel-bg-soft,#f4f6fa);grid-area:auto/4;padding:14px 16px}.settings-group h3{margin:0 0 12px;font-size:13px;font-weight:700}.settings-group a,.settings-group>button,.settings-pending{box-sizing:border-box;text-align:left;width:100%;color:var(--text);box-shadow:none;background:0 0;border:0;border-radius:4px;margin:0;padding:7px 5px;font-size:13px;font-weight:400;line-height:1.5;text-decoration:none;display:block}.settings-group a:hover,.settings-group>button:hover{background:var(--primary-soft);color:var(--primary)}.settings-pending{color:var(--text-muted)}.settings-pending>span{color:var(--text-muted);margin-left:5px;font-size:10px;display:inline-block}.settings-pending small{margin-top:3px;font-size:11px;display:none}.settings-pending:hover small,.settings-pending:focus small{display:block}.settings-menu :is(a,button,.settings-pending):focus-visible{outline:2px solid var(--primary);outline-offset:1px}.settings-empty{color:var(--text-muted);padding:20px 0}.settings-menu .settings-back{color:var(--primary);box-shadow:none;background:0 0;border:0;padding:6px 0}.settings-reports{grid-template-columns:1fr 1fr;gap:12px;margin:20px 0;display:grid}.settings-reports a{border:1px solid var(--border);color:var(--text-h);border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:14px;text-decoration:none;display:flex}.settings-reports a:hover{background:var(--primary-soft)}.settings-diagnostics{font-size:13px}.settings-diagnostics form{flex-wrap:wrap;align-items:flex-end;gap:12px;margin:18px 0;display:flex}.settings-diagnostics label{flex-direction:column;gap:5px;display:flex}.settings-diagnostics input{min-height:32px;padding:5px 8px}.settings-diagnostics table{border-collapse:collapse;width:100%}.settings-diagnostics th,.settings-diagnostics td{text-align:left;border:1px solid var(--border);padding:8px}.settings-diagnostics th{background:var(--primary-soft)}@media (width<=1000px){.settings-columns{grid-template-columns:1fr 1fr;gap:20px}.settings-group,.settings-group-side{grid-area:auto}}@media (width<=580px){.settings-menu{padding:16px}.settings-columns,.settings-reports{grid-template-columns:1fr}.settings-menu h2{font-size:17px}}.ai-panel-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a52}.ai-panel-overlay .ai-panel{width:480px;height:min(700px,90vh);max-height:90vh;box-shadow:var(--shadow-lg);background:var(--panel-bg);border-radius:18px;gap:0;padding:0}.ai-panel-overlay .ai-panel-header{border-bottom:1px solid var(--border);gap:12px;padding:14px 16px}.ai-panel-logo{color:#fff;background:var(--primary-gradient);border-radius:10px;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.ai-panel-heading{flex:1;min-width:0}.ai-panel-overlay .ai-panel-title{font-size:15px;line-height:1.2}.ai-panel-subtitle{color:var(--text-muted);align-items:center;gap:6px;margin-top:2px;font-size:12px;display:flex}.ai-panel-dot{background:var(--text-light);border-radius:50%;width:7px;height:7px}.ai-panel-dot.on{background:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.ai-panel-overlay .ai-panel-header-actions{gap:4px}.ai-panel-overlay .ai-panel-tool{width:32px;height:32px;color:var(--text-muted);box-shadow:none;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex:none;place-items:center;padding:0;font-size:14px;display:grid}.ai-panel-overlay .ai-panel-tool:hover:not(:disabled){color:var(--primary);background:var(--primary-soft);filter:none}.ai-panel-overlay .ai-panel-tool:disabled{opacity:.4;cursor:not-allowed}.ai-panel-overlay .ai-panel-tool:focus-visible,.ai-panel-overlay .ai-panel-msg-action:focus-visible,.ai-panel-overlay .ai-panel-send:focus-visible,.ai-panel-overlay .ai-panel-jump:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.ai-panel-overlay .ai-panel-agent{background:var(--panel-bg-soft);border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:10px;padding:10px 16px;display:flex}.ai-select{flex:1;min-width:0;position:relative}.ai-panel-overlay .ai-select-trigger{width:100%;height:44px;color:var(--text-h);background:var(--panel-bg);border:1px solid var(--border);box-shadow:none;font:inherit;text-align:left;cursor:pointer;border-radius:999px;align-items:center;padding:0 52px 0 18px;font-size:14px;font-weight:600;display:flex;position:relative}.ai-panel-overlay .ai-select-trigger:hover:not(:disabled){border-color:var(--text-light);filter:none}.ai-panel-overlay .ai-select-trigger:focus-visible,.ai-panel-overlay .ai-select-trigger.open{border-color:var(--primary);outline:2px solid var(--primary-border);outline-offset:0}.ai-panel-overlay .ai-select-trigger:disabled{cursor:not-allowed;opacity:.7}.ai-select-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ai-select-chevron{width:34px;height:34px;color:var(--text-h);background:var(--panel-bg);pointer-events:none;border-radius:50%;place-items:center;transition:transform .15s;display:grid;position:absolute;top:50%;right:5px;transform:translateY(-50%);box-shadow:0 1px 4px #0f172a2e}.ai-select-trigger.open .ai-select-chevron{transform:translateY(-50%)rotate(180deg)}.ai-select-list{z-index:5;background:var(--panel-bg);border:1px solid var(--border);max-height:min(340px,52vh);box-shadow:var(--shadow-lg);border-radius:16px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto}.ai-select-group{color:var(--text-light);letter-spacing:.04em;text-transform:uppercase;padding:8px 12px 4px;font-size:11px;font-weight:700}.ai-select-option{color:var(--text-h);cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;font-size:13.5px;display:flex}.ai-select-option.active{background:var(--panel-bg-subtle)}.ai-select-option.selected{color:var(--primary);background:var(--primary-soft);font-weight:600}@media (prefers-reduced-motion:reduce){.ai-select-chevron{transition:none}}.ai-panel-scroll{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.ai-panel-overlay .ai-panel-body{scroll-behavior:auto;flex:1;gap:14px;padding:16px}.ai-panel-note{color:var(--text-muted);text-align:center;margin:auto;font-size:13px}.ai-panel-day{color:var(--text-light);align-items:center;gap:10px;font-size:11px;font-weight:600;display:flex}.ai-panel-day:before,.ai-panel-day:after{content:"";background:var(--border-subtle);flex:1;height:1px}.ai-msg{align-items:flex-start;gap:8px;max-width:100%;display:flex}.ai-msg.mine{justify-content:flex-end}.ai-msg-avatar{width:26px;height:26px;color:var(--primary);background:var(--primary-soft);border-radius:8px;flex-shrink:0;place-items:center;margin-top:2px;display:grid}.ai-msg-main{flex-direction:column;gap:4px;min-width:0;max-width:calc(100% - 34px);display:flex}.ai-msg.mine .ai-msg-main{align-items:flex-end;max-width:86%}.ai-msg-bubble{color:var(--text-h);background:var(--panel-bg-soft);border:1px solid var(--border);overflow-wrap:anywhere;border-radius:4px 14px 14px;padding:9px 13px}.ai-msg.mine .ai-msg-bubble{color:#fff;background:var(--primary-gradient);border-color:#0000;border-radius:14px 4px 14px 14px}.ai-msg-bubble p{white-space:pre-wrap;margin:0;font-size:13.5px;line-height:1.5}.ai-msg-bubble .markdown-body{font-size:13.5px}.ai-msg-bubble .markdown-body pre{background:var(--panel-bg-subtle);border-radius:8px;max-width:100%;margin:6px 0;padding:10px 12px;overflow-x:auto}.ai-msg-bubble .markdown-body strong{color:inherit;font-weight:700}.ai-msg-meta{min-height:18px;color:var(--text-light);align-items:center;gap:10px;padding:0 2px;font-size:11px;display:flex}.ai-panel-overlay .ai-panel-msg-action{width:auto;height:auto;color:var(--text-muted);box-shadow:none;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:0;font-size:11px;font-weight:500;display:inline-flex}.ai-panel-overlay .ai-panel-msg-action:hover{color:var(--primary);filter:none}.ai-typing{align-items:center;gap:4px;height:36px;display:inline-flex}.ai-typing i{background:var(--text-light);border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite ai-typing}.ai-typing i:nth-child(2){animation-delay:.15s}.ai-typing i:nth-child(3){animation-delay:.3s}@keyframes ai-typing{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.ai-typing i{opacity:.6;animation:none}}.ai-panel-empty{text-align:center;justify-items:center;gap:6px;margin:auto 0;padding:8px 0;display:grid}.ai-panel-empty-logo{color:#fff;background:var(--primary-gradient);width:52px;height:52px;box-shadow:var(--shadow-hover);border-radius:16px;place-items:center;margin-bottom:4px;display:grid}.ai-panel-empty h3{color:var(--text-h);margin:0;font-size:16px}.ai-panel-empty p{color:var(--text-muted);margin:0 0 8px;font-size:13px}.ai-panel-overlay .ai-panel-suggestions{gap:8px;width:100%;display:grid}.ai-panel-overlay .ai-panel-suggestions button{width:100%;color:var(--text-h);text-align:left;background:var(--panel-bg);border:1px solid var(--border);box-shadow:none;cursor:pointer;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:500}.ai-panel-overlay .ai-panel-suggestions button:hover{color:var(--primary);background:var(--primary-soft);border-color:var(--primary-border);filter:none}.ai-panel-stopped,.ai-panel-error{justify-content:space-between;align-items:center;gap:10px;margin:0;display:flex}.ai-panel-stopped{color:var(--text-muted);background:var(--panel-bg-subtle);border:1px solid var(--border);border-radius:10px;padding:8px 12px;font-size:12px}.ai-panel-overlay .ai-panel-stopped button,.ai-panel-overlay .ai-panel-error button{flex-shrink:0;padding:4px 12px;font-size:12px}.ai-panel-overlay .ai-panel-jump{width:32px;height:32px;color:var(--primary);background:var(--panel-bg);border:1px solid var(--border);box-shadow:var(--shadow-sm);cursor:pointer;border-radius:50%;flex:none;place-items:center;padding:0;display:grid;position:absolute;bottom:10px;right:16px}.ai-panel-overlay .ai-panel-jump:hover{background:var(--primary-soft);filter:none}.ai-panel-overlay .ai-panel-composer{border-top:1px solid var(--border);padding:10px 16px 12px;display:block}.ai-panel-composer-box{background:var(--panel-bg);border:1px solid var(--border);border-radius:14px;align-items:flex-end;gap:8px;padding:6px 6px 6px 12px;display:flex}.ai-panel-composer-box:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.ai-panel-overlay .ai-panel-composer textarea{resize:none;min-width:0;min-height:22px;max-height:140px;color:var(--text-h);font:inherit;field-sizing:content;background:0 0;border:none;border-radius:0;outline:none;flex:1;padding:6px 0;font-size:14px;line-height:1.5}.ai-panel-overlay .ai-panel-composer textarea::placeholder{color:var(--text-light);opacity:1}.ai-panel-overlay .ai-panel-composer textarea:disabled{cursor:not-allowed}.ai-panel-overlay .ai-panel-send{color:#fff;background:var(--primary-gradient);cursor:pointer;border:none;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;padding:0;display:grid}.ai-panel-overlay .ai-panel-send:disabled{color:var(--text-light);background:var(--panel-bg-subtle);cursor:not-allowed}.ai-panel-overlay .ai-panel-send.stop{color:#fff;background:var(--danger)}.ai-panel-hint{color:var(--text-light);text-align:center;margin-top:6px;font-size:11px}@media (width<=720px){.ai-panel-overlay .ai-panel{border-radius:18px 18px 0 0;width:100%;height:min(92svh,720px);max-height:92svh;margin-bottom:0;padding:0}.ai-panel-overlay .ai-panel-composer textarea{font-size:16px}.ai-panel-hint{display:none}.ai-panel-agent{flex-wrap:wrap}}.ai-panel-overlay .ai-panel-tool.active{color:var(--primary);background:var(--primary-soft)}.ai-conv-panel{z-index:3;background:var(--panel-bg);flex-direction:column;gap:10px;padding:14px 16px;display:flex;position:absolute;inset:0;overflow-y:auto}.ai-panel-overlay .ai-conv-new{width:100%;height:40px;color:var(--primary);background:var(--primary-soft);border:1px dashed var(--primary-border);box-shadow:none;cursor:pointer;border-radius:12px;flex:none;justify-content:center;align-items:center;gap:6px;font-size:13.5px;font-weight:600;display:inline-flex}.ai-panel-overlay .ai-conv-new:hover:not(:disabled){background:var(--primary-border);filter:none}.ai-conv-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.ai-conv-list li{border:1px solid var(--border);border-radius:12px;align-items:center;gap:4px;display:flex}.ai-conv-list li:hover{background:var(--panel-bg-soft)}.ai-conv-list li.current{background:var(--primary-soft);border-color:var(--primary-border)}.ai-panel-overlay .ai-conv-open{min-width:0;color:var(--text-h);text-align:left;box-shadow:none;cursor:pointer;background:0 0;border:none;flex:1;gap:2px;padding:10px 12px;display:grid}.ai-panel-overlay .ai-conv-open:hover:not(:disabled){filter:none}.ai-conv-title{text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:600;overflow:hidden}.ai-conv-meta{color:var(--text-light);font-size:11px}.ai-panel-overlay .ai-conv-delete{width:30px;height:30px;color:var(--text-light);box-shadow:none;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:none;place-items:center;margin-right:6px;padding:0;display:grid}.ai-panel-overlay .ai-conv-delete:hover{color:var(--danger);background:var(--danger-soft);filter:none}.ai-panel-overlay .ai-conv-open:focus-visible,.ai-panel-overlay .ai-conv-delete:focus-visible,.ai-panel-overlay .ai-conv-new:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.working-shell.layout{--working-header-height:54px;--working-sidebar-width:220px;grid-template-columns:var(--working-sidebar-width) minmax(0,1fr);grid-template-rows:var(--working-header-height) minmax(0,1fr);display:grid}.working-shell>.topbar{min-width:0;min-height:0;height:var(--working-header-height);box-sizing:border-box;background:var(--panel-bg,#fff);border-bottom:1px solid var(--border);z-index:50;border-radius:0;flex-wrap:nowrap;grid-area:1/1/auto/-1;gap:12px;margin:0;padding:0 12px 0 0}.working-shell>.sidebar{box-sizing:border-box;grid-area:2/1;width:auto;height:100%;padding:12px 10px;position:relative;top:auto}.working-shell .sidebar>.brand{display:none}.working-shell>.main{--app-topbar-height:0px;grid-area:2/2;min-width:0;height:100%;min-height:0}.working-shell.operational-shell>.main{padding:0 0 24px}.working-shell.storekeeper-shell{grid-template-columns:minmax(0,1fr)}.working-shell.storekeeper-shell>.main{grid-column:1}.working-shell.storekeeper-shell .mobile-menu-btn{display:none}.working-shell .topbar-left,.working-shell .topbar-right{flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;display:flex}.working-shell .topbar-left{flex:1}.working-shell .topbar-right{flex:none}.working-shell .topbar-icon-btn,.working-shell .avatar-btn,.working-shell .mobile-menu-btn{width:30px;height:30px;min-height:30px;box-shadow:none}.working-shell .ai-brain-btn{box-shadow:none;padding:5px 9px;font-size:12px}.topbar-brand-slot{width:var(--working-sidebar-width);flex:none;justify-content:center;align-items:center;display:flex}@media (width>=901px){.topbar-brand-slot{box-sizing:border-box;justify-content:flex-start;padding-left:4px}}.topbar-brand{border-radius:6px;flex:none;justify-content:center;align-items:center;padding:3px 6px;transition:background-color .18s,box-shadow .18s;display:flex}.topbar-brand img{object-fit:contain;width:108px;height:34px;transition:transform .18s,filter .18s;display:block}.topbar-brand:hover{background:var(--primary-soft);box-shadow:0 2px 8px var(--primary-border)}.topbar-brand:hover img{filter:drop-shadow(0 2px 3px var(--primary-border));transform:translateY(-1px)scale(1.04)}.topbar-brand:focus-visible{outline:2px solid var(--primary);outline-offset:1px;background:var(--primary-soft)}@media (prefers-reduced-motion:reduce){.topbar-brand,.topbar-brand img{transition:none}.topbar-brand:hover img{transform:none}}.working-page-heading{align-items:baseline;gap:12px;padding:0 0 10px;display:flex}.working-page-heading h1{margin:0;font-size:16px}.working-page-heading>span{color:var(--text-muted);font-size:11px}.working-route{min-width:0}.working-shell>.main:has(>.working-route .accounting-sticky-tabs){--accounting-header-padding:18px;--accounting-heading-height:calc(var(--accounting-header-padding) + 33px);padding-top:0}.main:has(>.working-route .accounting-sticky-tabs)>.working-page-heading{z-index:25;box-sizing:border-box;height:var(--accounting-heading-height);padding-top:var(--accounting-header-padding);background:var(--bg);position:sticky;top:0}.main:has(>.working-route .accounting-sticky-tabs)>.working-page-heading h1{flex:none;line-height:23px}.main:has(>.working-route .accounting-sticky-tabs)>.working-page-heading>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.working-shell>.main .accounting-sticky-tabs{top:var(--accounting-heading-height);background:var(--bg);margin-top:0}.working-shell :is(.finance-tabs.accounting-sticky-tabs,.accounting-sticky-tabs .finance-tabs){scrollbar-width:thin;flex-wrap:nowrap;overflow-x:auto}.working-shell .accounting-sticky-tabs .finance-tab-btn{white-space:nowrap;flex:none}.working-route>:is(.report-hub,.financial-analysis-page){margin:0}@media (width<=720px){.working-shell>.main:has(>.working-route .accounting-sticky-tabs){--accounting-header-padding:16px}}.working-unit-wrap{align-items:center;min-width:0;display:flex;position:relative}.working-unit-trigger{min-width:0;max-width:220px;color:var(--text-h);background:0 0;border:0;align-items:center;gap:4px;padding:4px;font-size:13px;font-weight:600;display:flex}.working-unit-trigger svg{flex:none}.working-unit-trigger span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.working-mode-label{color:var(--text-h);white-space:nowrap;flex:none;font-size:13px}.working-ledger-badge{border:1px solid var(--border);white-space:nowrap;text-overflow:ellipsis;border-radius:5px;align-items:center;gap:8px;max-width:220px;padding:5px 10px;font-size:12px;display:flex;overflow:hidden}.working-ledger-badge i{background:#0b9d6b;border-radius:50%;flex:none;width:6px;height:6px;display:block}@media (width<=1200px){.working-ledger-badge{display:none}}.working-unit-dialog{box-sizing:border-box;background:var(--panel-bg,#fff);border:1px solid var(--border);width:400px;max-width:calc(100vw - 24px);color:var(--text-h);border-radius:10px;padding:18px 20px 10px;position:absolute;top:calc(100% + 9px);left:0;box-shadow:0 10px 30px #13294a1c}.working-unit-dialog h2{margin:0 0 16px;font-size:20px;line-height:1.3}.working-unit-dialog>label,.working-unit-dialog legend{margin-bottom:6px;font-size:13px;font-weight:600}.working-unit-combobox{border:1px solid var(--border);border-radius:5px;margin:6px 0 14px;display:flex;position:relative}.working-unit-combobox:focus-within{border-color:var(--primary,#1e63db);box-shadow:0 0 0 1px var(--primary,#1e63db)}.working-unit-combobox>input{background:0 0;border:0;outline:0;width:100%;height:28px;padding:3px 10px}.working-unit-combobox>button{border:0;border-left:1px solid var(--border);color:var(--text-h);background:0 0;border-radius:0;padding:0 10px}.working-unit-options{z-index:2;background:var(--panel-bg,#fff);border-radius:6px;position:absolute;top:calc(100% + 3px);left:-1px;right:-1px;overflow:hidden;box-shadow:0 4px 15px #0002}.working-unit-columns,.working-unit-options [role=option]{grid-template-columns:100px minmax(0,1fr);gap:6px;padding:7px 12px;font-size:13px;display:grid}.working-unit-columns{background:var(--panel-bg-soft,#f0f2f5)}.working-unit-options [role=listbox]{max-height:220px;overflow:auto}.working-unit-options [role=option]{cursor:pointer}.working-unit-options [role=option]>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.working-unit-options [role=option] small{white-space:normal;opacity:.8;margin-top:3px;font-size:11px;display:block}.working-unit-options [role=option]:hover,.working-unit-options .keyboard-active{background:#eaf1fd}.working-unit-options [aria-selected=true]{background:var(--primary,#1e63db);color:#fff}.working-unit-options p{padding:8px 12px}.working-unit-dialog fieldset{border:0;margin:0;padding:0}.working-mode-options{gap:20px;margin:8px 0 16px;display:flex}.working-mode-options label,.working-unit-check{align-items:center;gap:6px;font-size:13px;font-weight:400;display:flex}.working-unit-scope-row{align-items:center;gap:6px;margin:0 0 14px;display:flex;position:relative}.working-unit-scope-row .working-unit-check{cursor:pointer;justify-content:flex-start;gap:8px;margin:0;font-weight:400}.working-unit-help{flex:none;display:inline-flex}.working-unit-dialog .working-unit-help-button{border:1px solid var(--muted);width:17px;min-width:17px;height:17px;min-height:17px;color:var(--muted);box-shadow:none;cursor:help;background:0 0;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:11px;font-weight:400;line-height:1;display:inline-flex}.working-unit-help-button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.working-unit-help-tooltip{z-index:4;background:var(--panel-bg,#fff);color:var(--text);border:1px solid var(--border);white-space:normal;border-radius:6px;padding:10px 12px;font-size:12px;font-weight:400;line-height:1.6;position:absolute;top:100%;left:0;right:0;box-shadow:0 4px 16px #13294a24}.working-mode-options input,.working-unit-check input{box-sizing:border-box;width:16px;height:16px;accent-color:var(--primary,#1e63db);flex:0 0 16px;margin:0;padding:0}.working-unit-dialog footer{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;padding-top:12px;display:flex}.working-unit-dialog footer button{min-width:80px;padding:5px 12px}.working-context-error{color:var(--danger,#c53030);font-size:12px}.header-nav{position:relative}.header-nav-popup{background:var(--panel-bg,#fff);border:1px solid var(--border);border-radius:7px;width:250px;max-height:70vh;padding:8px;position:absolute;top:calc(100% + 12px);right:0;overflow:auto;box-shadow:0 8px 24px #13294a22}.header-nav-apps .header-nav-popup{left:0;right:auto}.header-nav-popup>strong{padding:7px 9px;font-size:13px;display:block}.header-nav-popup>a{color:var(--text-h);border-radius:4px;padding:7px 9px;font-size:13px;text-decoration:none;display:block}.header-nav-popup>a:hover{background:var(--panel-bg-soft,#edf2fa);color:var(--primary,#1e63db)}.header-search{border:1px solid var(--border);border-radius:5px;align-items:center;padding:0 8px;display:flex}.header-search input{background:0 0;border:0;width:160px;height:28px;padding:3px 6px;font-size:12px}@media (width<=1200px){.header-search input{width:110px}.working-shell .topbar-left,.working-shell .topbar-right{gap:6px}.working-unit-trigger{max-width:200px}}@media (width<=1100px){.working-mode-prefix{display:none}}@media (width<=900px){.working-shell.layout{grid-template-columns:1fr}.working-shell>.topbar{padding-left:8px}.working-shell>.main{grid-column:1}.working-shell>.sidebar{top:var(--working-header-height);height:calc(100dvh - var(--working-header-height));width:var(--working-sidebar-width);position:fixed;bottom:0}.working-shell .sidebar>.brand{display:flex}.working-shell .sidebar .brand-logo,.header-nav-search{display:none}.working-unit-dialog{left:12px;top:calc(var(--working-header-height) + 4px);position:fixed}.topbar-brand-slot{width:auto}.topbar-brand img{width:96px}}@media (width<=580px){.working-shell .ai-brain-btn,.working-shell .topbar-right>.header-nav{display:none}.working-shell .topbar-left,.working-shell .topbar-right{gap:4px}.topbar-brand{margin-right:0;padding:3px 4px}.topbar-brand img{width:80px}.working-unit-trigger{max-width:140px;font-size:12px}.working-mode-label{font-size:12px}.working-page-heading>span{display:none}.working-shell>.topbar{gap:4px;padding:0 6px}.working-shell .working-unit-wrap{flex-direction:column;flex:1;align-items:flex-start}.working-shell .working-unit-trigger{justify-content:space-between;width:100%;max-width:100%}.working-shell .working-mode-label{padding-left:4px;font-size:10px}.working-shell .mobile-menu-btn{flex:0 0 30px}.working-shell .topbar-left:has(.working-unit-wrap) .topbar-brand-slot{display:none}}.branch-documents{border:1px solid var(--border);background:var(--panel-bg);border-radius:8px;min-width:0;overflow:hidden}.branch-documents-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.branch-documents-title{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.branch-documents h2{margin:0;font-size:16px}.branch-documents-heading p{color:var(--muted);margin:6px 0 0;font-size:12px;line-height:1.5}.branch-documents-readonly{background:var(--primary-soft);color:var(--primary);border-radius:4px;padding:3px 8px;font-size:11px}.branch-documents-tabs{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:6px;padding:0 16px 14px;display:flex}.branch-documents .branch-documents-tabs button{border:1px solid var(--border);min-height:30px;color:var(--text);box-shadow:none;background:0 0;border-radius:5px;padding:5px 12px;font-weight:400}.branch-documents .branch-documents-tabs button[aria-pressed=true]{color:var(--primary);background:var(--primary-soft);border-color:var(--primary)}.branch-documents button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.branch-documents-filters{grid-template-columns:minmax(180px,1.3fr) repeat(2,minmax(155px,1fr)) repeat(2,minmax(145px,.65fr)) auto;align-items:end;gap:12px;padding:14px 16px;display:grid}.branch-documents-filters label{gap:6px;min-width:0;font-size:12px;display:grid}.branch-documents-filters input,.branch-documents-filters select{box-sizing:border-box;border:1px solid var(--border);background:var(--panel-bg);width:100%;min-width:0;height:32px;color:var(--text-h);border-radius:4px;margin:0;padding:4px 8px;font-size:12px;font-weight:400}.branch-documents button{font-size:12px}.branch-documents-refresh{white-space:nowrap;justify-content:center;align-items:center;gap:6px;height:32px;display:inline-flex}.branch-documents-help{color:var(--muted);margin:0 16px 12px;font-size:12px}.branch-documents-help summary{cursor:pointer;width:fit-content}.branch-documents-help p{max-width:1000px;margin:8px 0;line-height:1.6}.branch-documents-warning,.branch-documents>.error-banner{margin:12px 16px}.branch-documents-warning{color:#705514;background:#fff8df;border:1px solid #ead38a;border-radius:4px;padding:8px 10px;font-size:12px;line-height:1.5}.branch-documents-table{border-top:1px solid var(--border);min-height:240px;max-height:56dvh;overflow:auto}.branch-documents-table table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:1300px}.branch-documents-table .col-selection{width:42px}.branch-documents-table .col-doc_no{width:160px}.branch-documents-table .col-document_type{width:175px}.branch-documents-table .col-date_on{width:145px}.branch-documents-table .col-unit_name,.branch-documents-table .col-company_name{width:155px}.branch-documents-table .col-amount{width:170px}.branch-documents-table .col-actions{width:115px}.branch-documents-table .data-table th,.branch-documents-table .data-table td{border-bottom:1px solid var(--border);vertical-align:middle;overflow-wrap:anywhere;padding:8px 10px;font-size:12px}.branch-documents-table .data-table tbody td{white-space:normal;word-break:normal;overflow-wrap:anywhere;height:auto;line-height:1.5}.branch-documents-table .data-table tbody td.branch-date-cell,.branch-documents-table .data-table tbody td.numeric{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.branch-documents-table .data-table tbody td .link-button{max-width:100%}.branch-documents-table thead{z-index:5;background:#eaf1ff;position:sticky;top:0}.branch-documents-table .data-table th{color:var(--text-h);white-space:nowrap;background:#eaf1ff;font-size:11px;position:static}.branch-documents-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.branch-documents-table .branch-selection-cell{text-align:center}.branch-documents-table tr.is-selected{background:var(--primary-soft)}.branch-documents-table .branch-column-filters th{padding:5px 6px 8px}.branch-column-filters input{box-sizing:border-box;border:1px solid var(--border);background:var(--panel-bg);width:100%;min-width:0;height:28px;color:var(--text-h);font:inherit;border-radius:4px;margin:0;padding:3px 5px;font-weight:400}.branch-amount-filter{gap:4px;display:flex}.branch-documents-table tbody tr:hover{background:var(--primary-soft)}.branch-documents-table .link-button{text-align:left;white-space:normal;overflow-wrap:anywhere;padding:0;font-weight:400}.branch-documents .branch-documents-empty{text-align:center;height:240px;color:var(--muted);padding:24px}.branch-documents-footer{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 16px;font-size:12px;display:flex}.branch-documents-footer .pagination{margin:0}.branch-document-detail{box-sizing:border-box;background:var(--panel-bg);border-radius:8px;width:600px;max-width:calc(100vw - 32px);max-height:85vh;padding:20px;overflow:auto}.branch-document-detail dl>div{grid-template-columns:130px minmax(0,1fr);gap:8px;margin:8px 0;display:grid}.branch-document-detail dd{overflow-wrap:anywhere;margin:0}.branch-assignment-toolbar{border-top:1px solid var(--border);background:var(--primary-soft);flex-wrap:wrap;align-items:center;gap:10px;padding:10px 16px;font-size:12px;display:flex}.branch-assignment-toolbar span{margin-right:auto}.branch-assignment-actions{gap:6px;display:grid}.branch-documents .branch-assignment-checkbox{vertical-align:middle;cursor:pointer;width:14px;height:14px;margin:0}.branch-assignment-notice{color:#226940;background:#eff8f2;border:1px solid #b7ddc5;border-radius:4px;margin:12px 16px;padding:10px}.unit-assignment-dialog{background:var(--panel-bg);border-radius:8px;outline:none;flex-direction:column;width:860px;max-width:calc(100vw - 32px);max-height:90dvh;font-size:13px;display:flex;box-shadow:0 12px 48px #10204733}.unit-assignment-dialog header,.unit-assignment-dialog footer{flex-shrink:0;align-items:center;gap:8px;padding:14px 20px;display:flex}.unit-assignment-dialog header{border-bottom:1px solid var(--border);justify-content:space-between}.unit-assignment-dialog h2{margin:0;font-size:18px}.unit-assignment-dialog footer{border-top:1px solid var(--border);justify-content:flex-end}.unit-assignment-body{overflow-wrap:anywhere;min-height:0;padding:6px 20px 20px;line-height:1.6;overflow:auto}.unit-assignment-body>label{gap:5px;margin-top:12px;display:grid}.unit-assignment-body input:not([type=checkbox]),.unit-assignment-body select,.unit-assignment-body textarea{box-sizing:border-box;border:1px solid var(--border);background:var(--panel-bg);width:100%;min-width:0;color:var(--text-h);font:inherit;border-radius:4px;padding:7px 10px}.unit-assignment-body input[readonly]{background:var(--primary-soft)}.unit-assignment-body .unit-assignment-accept{align-items:flex-start;gap:8px;display:flex}.unit-assignment-accept input{flex-shrink:0;width:16px;height:16px;margin-top:3px}.unit-assignment-steps{color:var(--primary);font-size:12px}.unit-assignment-steps span{color:var(--muted);margin:0 10px}.unit-assignment-summary{background:var(--primary-soft);border:1px solid var(--border);border-radius:4px;gap:4px;margin:14px 0;padding:12px;display:grid}.unit-assignment-table{max-height:32dvh;overflow:auto}.unit-assignment-table table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:560px}.unit-assignment-table th,.unit-assignment-table td{border:1px solid var(--border);vertical-align:top;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:9px 10px}.unit-assignment-table th{background:#eaf1ff;position:sticky;top:0}.unit-assignment-table th:last-child{width:40%}.unit-assignment-table small{color:var(--muted);display:block}.unit-assignment-table p{color:#a23725;margin:0 0 5px}.unit-assignment-valid{color:#226940}@media (width<=1250px){.branch-documents-filters{grid-template-columns:repeat(3,minmax(145px,1fr))}}@media (width<=650px){.branch-documents-heading{padding:12px}.branch-documents-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.branch-documents-search{grid-column:1/-1}.branch-documents-tabs{padding:0 12px 12px}.branch-documents-footer{padding:10px 12px}}.working-route.warehouse-accounting-page{min-width:0;font-size:12px;line-height:1.5}.working-route.warehouse-accounting-page :is(.warehouse-opening,.wh-page,.warehouse-reservations){gap:12px}.working-route.warehouse-accounting-page .purchase-requisitions{max-width:none;padding:0}.working-route.warehouse-accounting-page .wh-policy{max-width:none}.working-route.warehouse-accounting-page :is(.warehouse-opening__card,.panel,.wh-policy-readiness,.wh-policy-inventory){border:1px solid var(--border);min-width:0;box-shadow:none;border-radius:6px;gap:10px;padding:12px}.working-route.warehouse-accounting-page :is(h1,.wh-page-head h2){margin-block:0 6px;font-size:16px;line-height:1.4}.working-route.warehouse-accounting-page :is(h2,h3,.panel-header h2){margin-block:0 8px;font-size:13px;line-height:1.5}.working-route.warehouse-accounting-page :is(h4,legend){font-size:12px;font-weight:650}.working-route.warehouse-accounting-page :is(.wh-note,.warehouse-opening__heading p,.warehouse-opening__scope,.muted){font-size:12px}.working-route.warehouse-accounting-page :is(.warehouse-opening__scope,.warehouse-opening__warning,.warehouse-opening__notice,.warehouse-opening__error,.wh-success){padding:7px 10px}.working-route.warehouse-accounting-page :is(.wh-filter,.warehouse-opening__search){gap:8px 12px}.working-route.warehouse-accounting-page .wh-filter{box-shadow:none;border-radius:6px;padding:10px 12px}.working-route.warehouse-accounting-page :is(.warehouse-opening__fields,.warehouse-obligations__filters,.wh-entry-meta,.pr-fields,.wh-policy-grid,.warehouse-reservations form fieldset){gap:8px 12px}.working-route.warehouse-accounting-page :is(.wh-entry-meta,.wh-policy fieldset){border:1px solid var(--border);background:#f4f7fb;border-radius:6px;padding:10px 12px}.working-route.warehouse-accounting-page label,.warehouse-accounting-dialog label{min-width:0;color:var(--text-h);gap:2px;font-size:10.5px;line-height:1.5}.working-route.warehouse-accounting-page .purchase-requisitions label,.warehouse-accounting-page .wh-policy label{margin-bottom:8px}.working-route.warehouse-accounting-page label:has(>input:is([type=checkbox],[type=radio])){flex-direction:row;align-items:center;gap:6px;display:flex}.warehouse-accounting-dialog label:has(>input:is([type=checkbox],[type=radio])){flex-direction:row;align-items:center;gap:6px;display:flex}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not(.document-native-date-picker),select){box-sizing:border-box;border:1px solid var(--border);background:var(--panel-bg);min-width:0;max-width:100%;height:28px;min-height:28px;color:var(--text-h);font:inherit;border-radius:4px;padding:2px 7px;font-size:11.5px;line-height:normal}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) textarea{box-sizing:border-box;max-width:100%;min-height:56px;font:inherit;border:1px solid var(--border);background:var(--panel-bg);color:var(--text-h);resize:vertical;border-radius:4px;padding:5px 7px;font-size:11.5px}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) :is(input[type=checkbox],input[type=radio]){width:16px;min-width:16px;max-width:16px;height:16px;min-height:16px;accent-color:var(--primary);flex:0 0 16px;margin:0;padding:0}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) :is(input,select,textarea):disabled{background:var(--panel-bg-soft);color:var(--text-muted);cursor:not-allowed}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) :is(input,select,textarea)[readonly]{background:var(--panel-bg-soft)}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) :is(input,select,textarea,button,a):focus-visible{outline:2px solid var(--primary);outline-offset:2px}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) button:not(.shared-date-picker>button){box-sizing:border-box;border-radius:6px;min-height:32px;padding:4px 12px;font-size:12px;font-weight:600;line-height:1.4}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) :is(table button,.wh-entry-delete){min-height:28px;padding:3px 8px;font-size:11.5px}.working-route.warehouse-accounting-page :is(.wh-entry-actions,.pr-actions){justify-content:flex-end;gap:8px}.working-route.warehouse-accounting-page :is(.wh-entry-modes,.pr-search,.warehouse-opening__summary){justify-content:flex-start}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) .shared-date-picker{width:100%;min-width:0;display:inline-flex;position:relative}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) .shared-date-picker>input:not(.document-native-date-picker){width:100%;padding-right:30px}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) .shared-date-picker>button{border-radius:3px;width:26px;height:26px;min-height:26px;padding:0;top:1px;right:1px;transform:none}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) .shared-date-picker>.document-native-date-picker{opacity:0;pointer-events:none;width:1px;min-width:0;height:1px;min-height:0;padding:0;position:absolute}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) table{font-size:11.5px}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) table th{box-sizing:border-box;background:var(--primary-soft);height:26px;color:var(--text-h);vertical-align:middle;padding:3px 6px;font-size:10.5px;font-weight:650}:is(.working-route.warehouse-accounting-page,.warehouse-accounting-dialog) table td{box-sizing:border-box;vertical-align:middle;height:34px;padding:3px 5px}.working-route.warehouse-accounting-page :is(.warehouse-opening__scroll,.pr-table,.warehouse-reservations__table,.wh-entry-scroll){border:1px solid var(--border);border-radius:4px;max-width:100%}.working-route.warehouse-accounting-page .wh-entry-grid{column-gap:6px}.working-route.warehouse-accounting-page .wh-entry-head{box-sizing:border-box;min-height:26px;padding:3px 5px;font-size:10.5px}.working-route.warehouse-accounting-page .wh-entry-row{box-sizing:border-box;min-height:34px;padding:3px 5px}.working-route.warehouse-accounting-page .wh-entry-cell-text{min-height:28px}.working-route.warehouse-accounting-page .wh-entry-delete{width:28px;height:28px}.working-route.warehouse-accounting-page .warehouse-approval-review{background:#f4f7fb;border-radius:6px;margin:10px 0;padding:10px 12px}.working-route.warehouse-accounting-page .warehouse-approval-review__actions{justify-content:flex-end}.warehouse-accounting-dialog .warehouse-costing-header{min-height:40px;padding:6px 12px}.warehouse-accounting-dialog .warehouse-costing-header h2{font-size:14px}.warehouse-accounting-dialog .warehouse-costing-body{padding:10px 12px}.warehouse-accounting-dialog.warehouse-costing-modal fieldset .voucher-form-grid{background:#f4f7fb;gap:8px 12px;padding:10px}.warehouse-accounting-dialog.warehouse-costing-modal fieldset .voucher-form-grid label{gap:2px;font-size:10.5px}.warehouse-accounting-dialog .warehouse-assembly-header{background:#f4f7fb;grid-template-columns:minmax(0,1fr) 270px 150px;gap:10px}.warehouse-accounting-dialog>footer{padding:8px 12px}@media (width<=760px){.warehouse-accounting-dialog .warehouse-assembly-header,.working-route.warehouse-accounting-page :is(.warehouse-opening__fields,.warehouse-obligations__filters,.wh-entry-meta,.pr-fields,.wh-policy-grid,.warehouse-reservations form fieldset){grid-template-columns:minmax(0,1fr)}.working-route.warehouse-accounting-page .wh-filter>label{flex:100%}.working-route.warehouse-accounting-page .warehouse-opening__card{padding:10px}}.working-route.warehouse-accounting-page .warehouse-entry-form{background:var(--panel-bg-document,#f4f7fb);border:1px solid var(--border);border-radius:6px;gap:10px;min-width:0;margin-block:10px;padding:12px;display:grid}.working-route.warehouse-accounting-page .warehouse-entry-form>fieldset{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;min-width:0;margin:0;padding:0;display:grid}.working-route.warehouse-accounting-page .warehouse-entry-form label{gap:2px;min-width:0;margin:0;font-weight:600;display:grid}.working-route.warehouse-accounting-page .warehouse-entry-form label:has(>input:is([type=checkbox],[type=radio])){flex-direction:row;align-items:center;gap:6px;display:flex}.working-route.warehouse-accounting-page .warehouse-entry-form :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not(.document-native-date-picker),select,textarea){width:100%}.working-route.warehouse-accounting-page .warehouse-entry-form>fieldset>:is(p,section,div,h3,h4,ul,.warehouse-entry-actions){grid-column:1/-1}.working-route.warehouse-accounting-page .warehouse-entry-form>fieldset>label:has(textarea){grid-column:1/-1}.working-route.warehouse-accounting-page .warehouse-entry-form>fieldset>button{place-self:end}.working-route.warehouse-accounting-page .warehouse-entry-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.working-route.warehouse-accounting-page .warehouse-entry-form button{white-space:normal;max-width:100%}.working-route.warehouse-accounting-page .warehouse-entry-form input[type=file]{box-sizing:border-box;border:1px dashed var(--border);background:var(--panel-bg);border-radius:4px;width:100%;min-width:0;max-width:100%;padding:8px;font-size:11.5px}.working-route.warehouse-accounting-page .warehouse-filter-form{border:1px solid var(--border);background:var(--panel-bg-soft);border-radius:6px;flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:8px 12px;padding:10px 12px;display:flex}.working-route.warehouse-accounting-page .warehouse-filter-form>label{flex:220px;gap:2px;margin:0;display:grid}.working-route.warehouse-accounting-page .warehouse-filter-form input{width:100%}.working-route.warehouse-accounting-page :is(.warehouse-tasks__form,.warehouse-tasks__picker){gap:8px 12px}.working-route.warehouse-accounting-page .warehouse-tasks__lane{gap:8px;padding:10px 12px 0}.working-route.warehouse-accounting-page :is(.warehouse-delivery-files__actions,.warehouse-execution__confirmation){gap:8px;padding:10px 12px}.working-route.warehouse-accounting-page .warehouse-delivery-files__actions{justify-content:flex-end;padding:0;display:flex}.working-route.warehouse-accounting-page :is(.warehouse-delivery-files__list,.warehouse-transport-costs__sources){gap:8px}.working-route.warehouse-accounting-page :is(.warehouse-delivery-files__list,.warehouse-transport-costs__sources)>li{border-color:var(--border);background:var(--panel-bg);border-radius:6px;padding:10px 12px}.working-route.warehouse-accounting-page :is(.warehouse-quality,.warehouse-delivery-overview,.warehouse-work-card){border-radius:6px;margin-block:10px;padding:12px}.working-route.warehouse-accounting-page :is(.warehouse-transport-report__totals section,.warehouse-outbound-progress__groups>*){padding:10px 12px}.working-route.warehouse-accounting-page .warehouse-manager-permissions-options{gap:8px;margin-block:10px}.working-route.warehouse-accounting-page .warehouse-section-nav{border-bottom:1px solid var(--border);flex-wrap:nowrap;gap:0;min-width:0;max-width:100%;margin:0 0 12px;padding:0;display:flex;overflow-x:auto}.working-route.warehouse-accounting-page .warehouse-section-nav>button{color:var(--text-muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:7px 14px}.working-route.warehouse-accounting-page .warehouse-section-nav>button[aria-pressed=true]{border-bottom-color:var(--primary);color:var(--primary);opacity:1}.working-route.warehouse-accounting-page .warehouse-section-nav>button:disabled:not([aria-pressed=true]){opacity:.5;cursor:not-allowed}.warehouse-accounting-dialog.warehouse-import-dialog{border-radius:6px;flex-direction:column;width:min(720px,100vw - 24px);max-height:calc(100dvh - 24px);display:flex;overflow:hidden}.warehouse-accounting-dialog.warehouse-import-dialog>.voucher-modal-header{background:var(--panel-bg);flex:none;min-height:40px;padding:6px 12px}.warehouse-accounting-dialog.warehouse-import-dialog .voucher-modal-header h2{font-size:14px}.warehouse-accounting-dialog.warehouse-import-dialog>.voucher-modal-body{background:var(--panel-bg-document,#f4f7fb);gap:10px;min-height:0;padding:12px;font-size:12px;display:grid;overflow:auto}.warehouse-accounting-dialog.warehouse-import-dialog label{gap:2px;display:grid}.warehouse-accounting-dialog.warehouse-import-dialog input[type=file]{box-sizing:border-box;border:1px dashed var(--border);background:var(--panel-bg);border-radius:4px;min-width:0;max-width:100%;padding:8px;font-size:11.5px}.portal-fulfill-menu.warehouse-fulfillment-menu{box-sizing:border-box;border-color:var(--border);border-radius:6px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:4px;overflow-y:auto}.portal-fulfill-menu.warehouse-fulfillment-menu button{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;border-radius:4px;min-height:32px;padding:4px 10px;font-size:12px;font-weight:600}@media (width<=760px){.working-route.warehouse-accounting-page .warehouse-entry-form>fieldset{grid-template-columns:minmax(0,1fr)}.working-route.warehouse-accounting-page .warehouse-entry-form{padding:10px}.working-route.warehouse-accounting-page .warehouse-entry-form>fieldset>*{grid-column:1}.working-route.warehouse-accounting-page .warehouse-filter-form>label{flex-basis:100%}}
