/* Shared display tokens; browser preferences do not change ERP data. */
:root{--control:#252731;--soft:#3b3553;--scroll-thumb:#666078;--scroll-track:#252731;--error-bg:#452a34;--error-ink:#ffd2dc;--error-line:#ad657a;--warning-bg:#443a22;--warning-ink:#ffe0a0;--warning-line:#9f8045}
*{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--scroll-track)}::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border:2px solid var(--scroll-track);border-radius:8px}::-webkit-scrollbar-thumb:hover{background:#8c839f}
.sidebar-head{display:flex;align-items:center;gap:8px;margin-bottom:20px;min-width:0}.sidebar-head .wordmark{font-size:22px;gap:8px;margin:0;min-width:0;flex:1}.sidebar-head .wordmark img{width:32px;height:32px}.sidebar-head .icon-button{padding:7px;min-width:32px;min-height:36px;flex-shrink:0;color:var(--muted);background:transparent;border-radius:8px}.sidebar-head .icon-button:hover{background:var(--soft);color:var(--ink)}
#navigation{scrollbar-gutter:stable;min-height:0}.nav-sub svg{width:18px;height:18px;flex-shrink:0}#navigation .nav-sub{display:flex;align-items:center;gap:10px}
@media(min-width:901px){.nav-compact{--compact-nav-width:54px}.nav-compact .sidebar{width:var(--compact-nav-width);padding:24px 4px}.nav-compact .main{margin-left:var(--compact-nav-width)}.nav-compact .sidebar-head{flex-direction:column;gap:12px}.nav-compact .sidebar-head .wordmark{font-size:0;gap:0;justify-content:center}.nav-compact .sidebar-head .wordmark img{width:34px;height:34px}.nav-compact #navigation{scrollbar-gutter:auto;scrollbar-width:none}.nav-compact #navigation::-webkit-scrollbar{display:none}.nav-compact #nav-collapse,.nav-compact .sidebar-head .wordmark{min-width:44px;min-height:44px}.nav-compact #navigation button{min-height:44px;padding:8px 0;justify-content:center}.nav-compact #navigation button>span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.nav-compact #navigation .caret{display:none}.nav-compact #navigation .nav-children{padding:0;margin:0;border:0}.nav-compact #navigation .nav-sub{padding:8px 0;border-radius:10px}.nav-compact #navigation .nav-sub svg{width:18px;height:18px}}
@media(max-width:900px){#nav-collapse{display:none}}
/* Retain native select semantics, keyboard interaction, validation and mobile fallback. */
select option{background:var(--surface);color:var(--ink)}
@supports(appearance:base-select){
 body select:not([multiple]),#nv-dialog select:not([multiple]){appearance:base-select;-webkit-appearance:base-select;min-width:0;align-items:center}
 select::picker(select){appearance:base-select;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:0 12px 36px #0005;max-block-size:min(360px,60dvh);max-inline-size:calc(100vw - 24px);min-inline-size:anchor-size(width);margin-block:6px;overflow:auto;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}
 select::picker-icon{display:none}
 select option{padding:10px 12px;min-block-size:40px;border-radius:8px;white-space:normal;overflow-wrap:anywhere;gap:10px;line-height:1.45}
 select option:hover,select option:focus{background:var(--soft);color:var(--ink)}
 select option:checked{background:var(--soft);font-weight:700;color:var(--ink)}
 select option::checkmark{color:var(--ink)}
}
.uf-heading-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.uf-heading-actions .field{margin:0;min-width:160px}
.uf-heading-actions #uf-source-info{align-self:flex-end;white-space:nowrap}.uf-controls{display:grid;grid-template-columns:minmax(148px,1fr) minmax(148px,1fr) minmax(200px,2fr) minmax(150px,1fr);align-items:end}.uf-controls .field{min-width:0;margin:0}.uf-controls input,.uf-controls select{min-width:0;width:100%}
.uf-loading{display:flex;align-items:center;gap:14px;padding:22px;margin:0;background:var(--surface);color:var(--ink);border-radius:12px;min-height:84px}.uf-loading p{color:var(--muted);font-size:14px;margin-top:5px}.ui-spinner{display:inline-block;width:24px;height:24px;border:3px solid var(--line);border-top-color:var(--yellow);border-radius:50%;flex-shrink:0;animation:uf-spin .8s linear infinite}@keyframes uf-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.ui-spinner{animation:none;border-top-color:var(--purple)}}
.uf-feedback{margin:0 20px 16px;padding:16px 18px;border:1px solid;border-radius:12px;line-height:1.5}.uf-feedback strong{display:block;color:inherit}.uf-feedback p{margin:6px 0 12px;color:inherit;overflow-wrap:anywhere}.uf-feedback .secondary{background:transparent;color:inherit;border-color:currentColor}.uf-error{background:var(--error-bg);color:var(--error-ink);border-color:var(--error-line)}.uf-warning{background:var(--warning-bg);color:var(--warning-ink);border-color:var(--warning-line)}
.refresh-error,.pf-warn{background:var(--error-bg);color:var(--error-ink);border-color:var(--error-line)}
.uf-panel .table-wrap{max-height:min(65svh,720px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;position:relative}
.uf-data-table{min-width:1050px!important;width:100%;table-layout:auto}.uf-data-table th{position:sticky;top:0;z-index:1;background:var(--surface);font-size:13px;line-height:1.4;white-space:nowrap}.uf-data-table td{font-size:14px;line-height:1.45;vertical-align:top}.uf-data-table tbody td{padding:10px 12px!important}.uf-data-table th:nth-child(1),.uf-data-table th:nth-child(2){width:105px}.uf-data-table th:nth-child(3){width:110px}.uf-data-table th:nth-child(4){width:230px}.uf-data-table th:nth-child(11){width:112px}.uf-product{min-width:180px;max-width:270px}.uf-product strong{overflow-wrap:anywhere}.uf-product-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted);font-size:13px;line-height:1.4;margin-top:4px}.uf-data-table small{color:var(--muted)}
.uf-page-size{display:flex;align-items:center;gap:10px;flex-direction:row;margin:0;color:var(--muted);font-size:14px}.uf-page-size select{width:94px}.uf-panel .sku-pager{align-items:center;flex-wrap:wrap;gap:12px}.uf-range{margin-right:auto;color:var(--muted);font-size:14px}.uf-source-note{margin:0;line-height:1.65}.uf-source-note p+p{margin-top:16px}
@media(max-width:1100px){.uf-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.uf-heading-actions{gap:10px}}
@media(max-width:540px){.uf-heading-actions{width:100%}.uf-heading-actions .field{flex:1;min-width:0}.uf-heading-actions #uf-source-info{padding:12px}.uf-controls{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}.uf-controls .uf-search{grid-column:1/-1;grid-row:2}.uf-controls .field:last-child{grid-column:1/-1}.uf-panel .sku-pager{padding:14px}.uf-page-size{width:100%;justify-content:space-between}.uf-feedback{margin:0 14px 14px}.uf-range{width:100%;order:2}.uf-summary{gap:10px}.uf-panel .table-wrap{max-height:60svh}}
/* The public brand/login remains dark; the selected app theme follows the user. */
.login{--bg:#252731;--ink:#f3f3f7;--muted:#b2b5c7;--line:#48475e;--surface:#2e303e;--dark:#1c1e28;--control:#252731;--soft:#3b3553;color-scheme:dark}
html[data-theme=light]{color-scheme:light;--bg:#f4f6fa;--ink:#172033;--muted:#526079;--line:#d5dce8;--surface:#fff;--dark:#fff;--control:#fff;--soft:#ece8f8;--purple:#6752ac;--scroll-thumb:#a7afbf;--scroll-track:#f0f2f7;--error-bg:#fff0f2;--error-ink:#84243b;--error-line:#bd667c;--warning-bg:#fff5dc;--warning-ink:#69430c;--warning-line:#b38a36;background:var(--bg);color:var(--ink)}
html[data-theme=light] .layout .topbar{background:#fff}html[data-theme=light] .layout .sidebar{background:#fff}
html[data-theme=light] .layout :is(input,select,textarea),html[data-theme=light] #nv-dialog .dlg-card :is(input,select,textarea){background-color:var(--control);color:var(--ink);border-color:var(--line);color-scheme:light}
html[data-theme=light] :is(.layout,#nv-dialog) select:not([multiple]){background-image:url('/static/assets/chevron-select-dark.svg')}
html[data-theme=light] #nv-dialog .dlg-card{--ink:#172033;--muted:#526079;--line:#d5dce8;--surface:#fff;--bg:#f4f6fa;background:#fff;color:var(--ink);color-scheme:light}
html[data-theme=light] #nv-dialog .dlg-card .secondary{background:var(--soft);color:var(--ink);border-color:var(--line)}
html[data-theme=light] :is(.module-card,.purchase-card,.passport-card,.quick-card,.uf-panel,.uf-summary article,.goal-card,.business-goal-card,.overview-chart,.overview-metric,.overview-metrics article,.card){background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=light] .layout :is(.pf-h,.muted,.business-goal-period,.business-goal-state,.business-goal-values span,.legacy-goals>summary,.overview-header p,.overview-chart p){color:var(--muted)}
html[data-theme=light] .layout :is(.business-goal-heading h3,.business-goal-values strong,.overview-metric strong){color:var(--ink)}
html[data-theme=light] .layout :is(.inv-table th,.inv-table thead){background:#eef1f7;color:var(--muted);border-color:var(--line)}
html[data-theme=light] .layout :is(.inv-table td,.full-code,.uf-summary strong){color:var(--ink);border-color:var(--line)}
html[data-theme=light] #nv-dialog .inv-table th{background:#eef1f7;color:var(--muted)}html[data-theme=light] #nv-dialog .dlg-body a{color:#573d96}
html[data-theme=light] #nv-dialog .dlg-card :is(.pf-warn,.refresh-error,[role=alert]){color:var(--error-ink)}
html[data-theme=light] .layout nav :is(.active,button:hover){background:var(--soft);color:#584091}html[data-theme=light] .layout .uf-tabs button[aria-selected=true]{background:#6752ac;color:#fff}
html[data-theme=light] .layout .secondary,html[data-theme=light] .layout .mini-select{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=light] .layout .field :is(input,select,textarea){background-color:var(--control)}
html[data-theme=light] .layout #goal-asof,html[data-theme=light] #nv-dialog #business-goal-form .goal-date{background:#fff!important;color:var(--ink)!important;color-scheme:light!important;border-color:var(--line)}
html[data-theme=light] .layout :is(.business-goal-progress,.overview-track){background:#e4e8f0}
html[data-theme=light] .layout .business-goal-comment summary{color:#664aa4}html[data-theme=light] .layout .uf-status-badge{color:var(--ink)}

html[data-theme=light] .layout :is(.overview-metrics strong,.overview-bars span){color:var(--ink)}
html[data-theme=light] .layout :is(.overview-metrics span,.overview-metrics small,.overview-empty,.overview-ring small){color:var(--muted)}
html[data-theme=light] .layout :is(.overview-priorities a,.overview-chart a){color:#62469b}
html[data-theme=light] .layout .overview-ring>span{background:var(--surface);color:var(--ink)}
html[data-theme=light] .layout .home-shortcut{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=light] .layout .home-shortcut>svg{color:#6b53a5}
/* Operation values stay whole; a keyboard-focusable inner region owns horizontal scroll. */
.uf-panel .table-wrap{max-width:100%;overflow-x:auto}
.uf-panel .uf-data-table{width:max-content!important;min-width:100%!important;table-layout:auto}
.uf-panel .uf-data-table th,.uf-panel .uf-data-table td,.uf-panel .uf-status-badge{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
.uf-panel .uf-product{width:auto!important;min-width:0;max-width:none}
.uf-panel .uf-product strong,.uf-panel .uf-product-name,.uf-panel .uf-product small{display:inline;white-space:nowrap;overflow:visible;max-width:none;-webkit-line-clamp:unset;-webkit-box-orient:initial}
.uf-panel .uf-product-name,.uf-panel .uf-product small{margin:0 0 0 12px}
.uf-panel .uf-product br{display:none}.uf-panel .uf-derived{display:inline;margin-left:8px;white-space:nowrap}
.page-heading>.section-actions{margin-left:auto;display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap}.section-actions>.primary{margin-left:0}.purchase-line{align-items:start!important}.purchase-line>.field{min-width:0;display:grid;grid-template-rows:minmax(2.8em,auto) auto auto;align-content:start}.purchase-line>.field>input,.purchase-line>.field>select{grid-row:2}.purchase-line>[data-remove]{margin-top:2.8em!important}.purchase-line [data-china-unit]{min-height:1.4em}@media(max-width:600px){.page-heading>.section-actions{width:100%}.purchase-line>[data-remove]{margin-top:0!important}}
.pagination-footer{display:flex!important;justify-content:flex-end!important;align-items:center;gap:8px!important;width:100%;margin-top:16px;flex-wrap:wrap}.pagination-footer .pagination-arrow{display:inline-flex;align-items:center;justify-content:center;min-width:36px!important;width:36px;min-height:36px!important;height:36px;padding:0!important;border-radius:10px}.pagination-footer .pagination-arrow svg{flex:none}.pagination-footer .uf-page-size{margin-right:auto}.pagination-footer>span{margin:0!important;font-size:.875rem}@media(pointer:coarse){.pagination-footer .pagination-arrow{min-width:44px!important;width:44px;min-height:44px!important;height:44px}}
.analytics-board [data-action=refresh-orders].refresh-busy svg{animation:polygon-refresh 1.2s linear infinite}@keyframes polygon-refresh{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.analytics-board [data-action=refresh-orders].refresh-busy svg{animation:none}}
/* Navigation highlights share exact parent boundaries. */
#navigation .nav-sub{margin-left:0!important;width:100%;box-sizing:border-box}#navigation .nav-children{margin-left:0;margin-right:0;padding-left:0;padding-right:0}
/* Shared label row keeps all line inputs and remove action level. */
.purchase-line>.field{margin:0!important;grid-template-rows:42px 48px auto;gap:8px}.purchase-line>.field>input,.purchase-line>.field>select{height:48px;min-height:48px}.purchase-line>[data-remove]{margin-top:50px!important;height:48px;min-height:48px}@media(max-width:600px){.purchase-line>[data-remove]{margin-top:0!important}}
.purchase-line>[data-remove]{align-self:start!important;margin-bottom:0!important}
#purchase-list tr[data-batch-row]{cursor:pointer}#purchase-list tr[data-batch-row]:hover,#purchase-list tr[data-batch-row]:focus-visible{background:color-mix(in srgb,var(--ink) 6%,transparent)}#purchase-list .batch-number{background:transparent;color:inherit;font-weight:700;padding:8px 0;border:0}

.sales-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}.sales-chart{min-width:0;padding:24px;border:1px solid var(--border,#48445f);border-radius:20px;background:var(--surface,#2e303f)}.sales-chart svg{width:100%;height:auto;display:block}.sales-chart svg text{fill:currentColor;font-size:14px}.sales-axis{stroke:currentColor;opacity:.25}.sales-units{fill:#b7a5ee}.sales-revenue{fill:#fbbb0a}.sales-gap{fill:#f5b54c!important}.sales-method{margin:20px 0}.sales-method p{max-width:90ch}.sales-chart h3{margin-top:0}@media(max-width:800px){.sales-charts{grid-template-columns:1fr}.sales-chart{padding:16px}}

/* Section action rule: export, import, then primary create at the right. */
.page-heading>.section-actions{margin-left:auto;display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap}.section-actions>.primary{margin-left:0}@media(max-width:600px){.page-heading>.section-actions{width:100%}}
#sales-body>.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#sales-body>.overview-metrics strong{font-size:clamp(22px,2vw,32px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.sales-chart svg{min-height:180px}@media(max-width:600px){#sales-body>.overview-metrics{grid-template-columns:1fr}}

.sales-chart svg text{font-size:24px}.sales-chart{border-color:var(--line)}@media(max-width:540px){.sales-chart svg text{font-size:32px}}
.sales-heading p{margin:.4rem 0 0;color:var(--muted)}.sales-portfolio-filters{display:grid;grid-template-columns:minmax(360px,1.7fr) repeat(4,minmax(145px,.7fr));gap:14px;align-items:end}.sales-presets{display:flex;gap:6px;padding:5px;border:1px solid var(--line);border-radius:14px;min-height:48px}.sales-presets button{flex:1;border:0;border-radius:10px;background:transparent;color:inherit;padding:8px 10px}.sales-presets button.active{background:#f9bd12;color:#191b24;font-weight:800}.sales-search{grid-column:1/-1}.sales-period{color:var(--muted);font-variant-numeric:tabular-nums}.sales-portfolio-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.sales-portfolio-summary article{display:flex;flex-direction:column;gap:10px;padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.sales-portfolio-summary span,.sales-asset small,.sales-asset p,.sales-asset dt{color:var(--muted)}.sales-portfolio-summary strong{font-size:clamp(20px,2.2vw,32px);overflow-wrap:anywhere}.sales-assets{display:grid;gap:12px}.sales-asset{display:grid;grid-template-columns:120px minmax(220px,1fr) minmax(360px,1.5fr);align-items:center;gap:20px;padding:18px 22px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#303240,#292b37)}.sales-asset-rank{display:flex;flex-direction:column;align-items:center;gap:5px}.sales-asset-rank span{font-size:28px;font-weight:900;color:#f9bd12}.sales-asset h3{margin:0;font-size:19px}.sales-asset p{margin:4px 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-xp{display:block;width:100%;height:7px;border:0;border-radius:9px;overflow:hidden;background:#444657;appearance:none}.sales-xp::-webkit-progress-bar{background:#444657}.sales-xp::-webkit-progress-value{background:linear-gradient(90deg,#f9bd12,#b7a5ee)}.sales-xp::-moz-progress-bar{background:linear-gradient(90deg,#f9bd12,#b7a5ee)}.sales-asset dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}.sales-asset dl div{min-width:0}.sales-asset dt{font-size:12px}.sales-asset dd{margin:5px 0 0;font-weight:800;overflow-wrap:anywhere}@media(max-width:1100px){.sales-portfolio-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-presets{grid-column:1/-1}.sales-asset{grid-template-columns:90px 1fr}.sales-asset dl{grid-column:1/-1}}@media(max-width:600px){.sales-portfolio-filters,.sales-portfolio-summary{grid-template-columns:1fr}.sales-presets{overflow:auto}.sales-presets button{min-width:max-content}.sales-asset{grid-template-columns:1fr;padding:16px}.sales-asset-rank{align-items:flex-start}.sales-asset dl{grid-column:auto;grid-template-columns:1fr}.sales-asset p{white-space:normal}.sales-portfolio-summary article{padding:16px}}
.sales-portfolio-summary strong.unavailable{font-size:18px;line-height:1.35}
.sales-portfolio-filters{grid-template-columns:repeat(3,minmax(180px,1fr))}.sales-asset{grid-template-columns:90px minmax(220px,1fr) minmax(360px,1.5fr)}.sales-asset-rank{align-items:flex-start}.sales-asset-rank span{font-size:25.2px}.sales-asset-rank[data-rank="1"] span{color:#ffd84d;text-shadow:0 0 14px rgba(255,216,77,.55)}.sales-asset dd{font-size:1.15em}@media(max-width:1100px){.sales-portfolio-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-asset{grid-template-columns:90px 1fr}}@media(max-width:600px){.sales-portfolio-filters,.sales-asset{grid-template-columns:1fr}}
html[data-theme=light] :is(.inv-table,.uf-data-table) tbody tr:hover,html[data-theme=light] #purchase-list tr[data-batch-row]:focus-visible{background:#eef0f3!important;color:var(--ink)}
.settings-preferences{display:grid;grid-template-columns:repeat(2,minmax(0,182px));gap:10px;margin:0}
.settings-preference,.settings-preference .field{display:flex;align-items:center;gap:6px;min-width:0;margin:0}
.settings-preference .field{flex:1;flex-direction:row;white-space:nowrap}
.settings-preference .settings-icon{display:grid;place-items:center;flex:none;width:18px;height:18px;color:var(--muted)}
.settings-preference .settings-icon svg{display:block;width:16px;height:16px}
.settings-preference select{width:100%;min-width:0;min-height:36px;margin:0}
@media(max-width:420px){.settings-preferences{gap:8px}.settings-preference,.settings-preference .field{gap:4px}}
.input-error{display:block;color:var(--error-ink);font-size:.9rem;line-height:1.45;font-weight:600;max-width:65ch}.input-error[hidden]{display:none}#change-password input[aria-invalid=true]{border-color:var(--error-line);outline-color:var(--error-line)}
html[data-theme=light] :is(.layout,#nv-dialog) select:not([multiple]){background-repeat:no-repeat!important;background-size:12px 8px!important;background-position:right 16px center!important}

/* Single-line financial cells must contribute their full intrinsic width. */
.uf-panel .uf-data-table th,.uf-panel .uf-data-table td{width:auto!important;max-width:none!important;min-width:max-content}
.uf-panel .uf-product{contain:none;overflow:visible}
.uf-panel .uf-product strong,.uf-panel .uf-product-name,.uf-panel .uf-product small{display:inline-block;vertical-align:top}

.pagination-current{display:inline-flex;align-items:center;justify-content:center;min-width:32px;font-variant-numeric:tabular-nums;font-weight:650}

.batch-status{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:6px 12px;font-size:.85em;font-weight:650;border:1px solid;line-height:1.3}.batch-status[data-payment-status="waiting"]{color:#ffd56a;background:#70550040;border-color:#a88a38}.batch-status[data-payment-status="paid"]{color:#a4e3be;background:#125a3940;border-color:#34865a}[data-theme="light"] .batch-status[data-payment-status="waiting"]{color:#715000;background:#fff4d1}[data-theme="light"] .batch-status[data-payment-status="paid"]{color:#186339;background:#e4f5ea}.batch-detail-actions{justify-content:flex-end}.batch-row-action{text-align:right;white-space:nowrap}#purchase-detail h3{display:flex;gap:12px;align-items:center;flex-wrap:wrap}

/* Owner-requested consistent value alignment across data tables. */
.layout table :is(th,td),#nv-dialog table :is(th,td){text-align:left!important;vertical-align:middle!important}

/* SKU identity and card title are separate, bounded columns. */
.uf-panel .uf-title-text{display:inline-block;width:clamp(240px,24vw,420px);max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.uf-panel .uf-sku-text{display:inline-block;max-width:30ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.uf-title-text:focus-visible{outline:2px solid var(--purple);outline-offset:3px;border-radius:3px}

/* Compact nesting without shifting the selection background. */
#navigation .nav-sub{padding-left:24px}

/* All data columns share a left-aligned origin. */
.uf-panel .uf-orders-table :is(th:nth-child(4),th:nth-child(5),.uf-sku,.uf-product){text-align:left!important}

/* Status markers share a fixed column origin, irrespective of label length. */
.uf-panel .uf-data-table :is(th:last-child,td:last-child){text-align:left!important}
.uf-status-badge{justify-content:flex-start;vertical-align:middle}

/* Compact pagination: all controls stay together at the bottom right. */
.pagination-footer .uf-page-size{width:auto;justify-content:flex-start;margin:0}
.pagination-footer .uf-page-size select{width:78px;min-height:36px;padding-block:6px}
.pagination-footer .uf-range{margin-right:0}

/* Catalogue follows the entity-first column order without wrapping amounts. */
#sku-list .catalog-table{width:max-content;min-width:100%;table-layout:auto}
#sku-list .catalog-table :is(th,td){white-space:nowrap;word-break:normal;overflow-wrap:normal}
#sku-list .catalog-table .catalog-title{text-align:left!important}
#sku-list .catalog-title .full-code{display:inline-block;width:clamp(260px,32vw,560px);max-width:560px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
#sku-list .catalog-id,#sku-list .qty-cell{font-variant-numeric:tabular-nums}
#sku-list .catalog-shop{min-width:145px}

#delivery-list .inv-table :is(th,td){white-space:nowrap}
.return-product-title{text-align:left!important}.return-product-title span{display:inline-block;max-width:380px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.batch-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}.batch-row-actions button{flex:none;min-height:40px}.batch-row-actions .btn-danger{margin-left:8px}.batch-row-actions .btn-danger:hover{background:#6a2937;color:#fff}[data-theme="light"] .batch-row-actions .btn-danger{background:#fff;color:#a71930;border-color:#d99aa4}[data-theme="light"] .batch-row-actions .btn-danger:hover{background:#fff0f2}

.uzum-connection-control{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:20px}.connection-switch{width:52px;height:32px;min-height:32px;padding:3px;border-radius:999px;border:1px solid #85839a;background:#555363;display:inline-flex;align-items:center;flex-shrink:0}.connection-switch span{display:block;width:24px;height:24px;border-radius:50%;background:#fff;transform:translateX(0);transition:transform .15s}.connection-switch[aria-checked="true"]{background:#24734d;border-color:#45996f}.connection-switch[aria-checked="true"] span{transform:translateX(18px)}.connection-switch:focus-visible{outline:3px solid #b9a5ef;outline-offset:3px}.connection-switch:disabled{opacity:.6;cursor:wait}

#uzum-card .module-top{gap:16px;align-items:flex-start;margin-bottom:20px}#uzum-card .uzum-head{min-width:0;flex:1}#uzum-card .uzum-head small{display:block;line-height:1.5;overflow-wrap:anywhere}#uzum-card #uzum-change-key{margin-bottom:16px}#uzum-connected .btn-row:has([hidden]:only-child){display:none}.uzum-connection-control{flex-wrap:wrap}


/* One action hierarchy for batch headings and entity rows. */
.batch-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.batch-heading #batch-create{margin-left:auto;min-height:44px;padding:10px 20px;border-radius:10px;flex:none}
.batch-row-actions{gap:8px}.batch-row-actions button{height:40px;min-height:40px;padding:8px 14px;border-radius:8px;line-height:1.2;box-shadow:none;font-size:.875rem}.batch-row-actions .secondary{background:transparent}.batch-row-actions .btn-danger{margin-left:0;background:transparent;border-color:#a35b6a;color:#ffb6be}.batch-row-actions .btn-danger:hover{background:#6a2937}.batch-row-actions .primary:disabled{opacity:.55;cursor:not-allowed}
[data-theme="light"] .batch-row-actions .secondary{background:#fff}[data-theme="light"] .batch-row-actions .btn-danger{background:transparent;color:#a71930}
.uf-ads .uf-data-table :is(th:nth-child(3),td.uf-product){text-align:left!important}.uf-ads .uf-title-text{display:inline-block;width:clamp(240px,24vw,420px);max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}

/* Search text starts at one compact inset; native search decorations add none. */
input[type="search"]{appearance:none;-webkit-appearance:none;padding-inline-start:8px!important;text-indent:0;text-align:left}
input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-results-button,input[type="search"]::-webkit-search-results-decoration{display:none;-webkit-appearance:none}
.search input{padding-inline-start:0!important;text-indent:0;text-align:left}

.batch-row-actions .batch-action-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;min-width:40px;padding:9px}.batch-action-icon svg{width:20px;height:20px;stroke-width:1.9}.batch-row-actions .primary{display:inline-flex;align-items:center;justify-content:center}.batch-row-actions .batch-action-icon:focus-visible{outline:3px solid var(--purple);outline-offset:2px}

.batch-history-entry{padding:16px 0;border-bottom:1px solid var(--line)}.batch-history-entry ul{list-style:none;margin:12px 0 0;padding:0}.batch-history-entry li{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:12px;padding:8px 0;overflow-wrap:anywhere}.batch-history-entry li span{min-width:0}@media(max-width:580px){.batch-history-entry li{grid-template-columns:1fr;gap:4px}}

.btn-row[role="tablist"]{margin-bottom:20px}.btn-row[role="tablist"]+.toolbar .field{margin-top:0}

/* Shared localized date picker: never delegates labels to browser locale. */
.date-calendar{position:fixed;z-index:10000;box-sizing:border-box;padding:12px;border:1px solid var(--line,#625d78);border-radius:16px;background:var(--surface,#2e3040);color:var(--ink,#f5f5fa);box-shadow:0 12px 36px #0005;max-height:calc(100dvh - 16px);overflow:auto}
.date-calendar-header,.date-calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.date-calendar-header strong{text-transform:capitalize;font-size:16px}.date-calendar button{min-width:0;min-height:36px;padding:6px;border-radius:8px;font:inherit;color:inherit;background:transparent;border:1px solid transparent;cursor:pointer}.date-calendar button:hover:not(:disabled){background:#a999dc30}.date-calendar button:focus-visible{outline:2px solid #ffc400;outline-offset:1px}.date-calendar button:disabled{opacity:.3;cursor:default}.date-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:12px 0}.date-calendar-weekday{text-align:center;font-size:13px;padding:4px 0;opacity:.75}.date-calendar button[aria-pressed=true]{background:#ffbf00;color:#20222d;font-weight:700}.date-calendar-footer{border-top:1px solid var(--line,#625d78);padding-top:8px}.date-calendar-footer button{padding-inline:12px}

/* Shell utilities: one bell in header, identity pinned below scrollable navigation. */
.layout .sidebar{overflow:visible;display:flex;flex-direction:column}
.layout #navigation{flex:1;overflow-y:auto;min-height:0;padding-bottom:16px}
.sidebar-profile{flex-shrink:0;border-top:1px solid var(--line);padding-top:14px;margin-top:12px}
.profile-trigger{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:8px;border-radius:10px;background:transparent;color:var(--ink);text-align:left}
.profile-trigger:hover{background:var(--soft)}
.profile-trigger .avatar{width:36px;height:36px;flex:none;display:grid;place-items:center}
.profile-trigger .account-name{display:grid;gap:3px;min-width:0;flex:1}
.profile-trigger .account-name strong,.profile-trigger .account-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-chevron{flex:none;color:var(--muted)}
.header-notifications{display:flex;align-items:center;flex:none;margin-left:auto}
#notifications-trigger{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;color:var(--ink);background:transparent;padding:10px}
#notifications-trigger:hover{background:var(--soft)}
.shell-popover{margin:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:0 12px 36px #0003;padding:8px;max-width:calc(100vw - 24px)}
.profile-popover{position:fixed;inset:auto auto 92px 19px;width:214px}
#profile-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:12px;border-radius:8px;color:var(--ink);background:transparent;text-align:left}
#profile-menu button:hover{background:var(--soft)}
.notifications-popover{position:fixed;inset:82px 24px auto auto;width:320px;padding:20px}
.notifications-popover h3{font-size:18px;margin-bottom:12px}.notifications-popover p{font-size:14px;line-height:1.5;color:var(--muted)}
@media(min-width:901px){.nav-compact .profile-trigger{justify-content:center;padding:8px 0}.nav-compact .profile-trigger .account-name,.nav-compact .profile-chevron{display:none}.nav-compact .profile-popover{left:10px}}
@media(max-width:900px){.notifications-popover{right:12px;top:76px}.profile-popover{left:14px;width:210px}.topbar .breadcrumb{min-width:0}.topbar .breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

.topbar .header-tools{display:flex;align-items:center;gap:8px;margin-left:auto;flex:none}
.header-tools #notifications-trigger,.header-tools #settings-trigger{width:44px;height:44px;min-width:44px;padding:10px;display:grid;place-items:center;border-radius:10px;flex:none}
.header-tools #settings-trigger{background:transparent;color:var(--ink)}
.header-tools #settings-trigger:hover{background:var(--soft)}
.header-tools .header-notifications{margin:0}
@media(max-width:580px){.topbar .header-tools{gap:4px}.topbar{column-gap:8px}.topbar .breadcrumb{flex:1;min-width:0}.header-tools #notifications-trigger,.header-tools #settings-trigger{width:40px;height:40px;min-width:40px;padding:9px}}
@media(max-width:900px){.sidebar-head #nav-collapse{display:grid;place-items:center}}

/* Wallet ledger: three responsive accounts, shared theme and predictable actions. */
.wallet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0 28px}.wallet-card{display:flex;flex-direction:column;gap:16px;min-width:0;padding:24px;border:1px solid var(--line);border-top:3px solid #e7b23e;border-radius:18px;background:var(--surface)}.wallet-1{border-top-color:#b796e0}.wallet-2{border-top-color:#24b9ad}.wallet-card h2{font-size:1.2rem;margin:0}.wallet-card strong{font-size:clamp(1.15rem,2vw,1.8rem);overflow-wrap:anywhere}.wallet-card button{margin-top:auto}.wallet-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.wallet-form label{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;min-width:0}.wallet-form input,.wallet-form select{width:100%;box-sizing:border-box}.wallet-actions{display:flex;justify-content:flex-end;margin-top:20px}.wallet-form [role=alert]{color:var(--danger,#f7a2aa)}.wallet-table{min-width:900px}.wallet-table th,.wallet-table td{text-align:left;white-space:nowrap}.wallet-table .uf-title-text{display:block;max-width:400px;overflow:hidden;text-overflow:ellipsis}.wallet-form [hidden]{display:none!important}@media(max-width:800px){.wallet-grid{grid-template-columns:1fr}.wallet-fields{grid-template-columns:1fr}}

/* Bank: currency isolation, readable dense tables, shared theme tokens. */
.bank-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px;margin:24px 0}
.bank-card{padding:24px;border:1px solid var(--border,#59516e);border-radius:20px;background:var(--surface,#2d2e3f);min-width:0}
.bank-card[data-currency=USDT]{border-color:#18b8af}.bank-card[data-currency=UZS]{border-color:#9574d8}.bank-card[data-currency=RUB]{border-color:#d2a136}
.bank-principal{display:block;font-size:clamp(24px,3vw,42px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.bank-card dl>div{padding:14px 0;border-bottom:1px solid var(--border,#59516e)}.bank-card dd{margin:6px 0 0;font-weight:650}.bank-card button{margin-top:18px}
.bank-sort{background:none;border:0;color:inherit;padding:0;font:inherit;font-weight:650;text-align:left;cursor:pointer}
.bank-table{width:max-content;min-width:100%}.bank-table th,.bank-table td{white-space:nowrap;text-align:left;padding:14px 18px}.bank-table tr[data-bank-loan]{cursor:pointer}
.bank-priority{display:inline-block;min-width:94px}.loan-filters{gap:16px;flex-wrap:wrap}

/* BANKUI01: currency cards follow the approved teal/violet/gold Bank reference. */
.bank-card{--bank-accent:#20d8d1;--bank-deep:#00242c;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;min-height:590px;padding:28px 24px 22px;border:1px solid var(--bank-accent);background:radial-gradient(ellipse at 85% 15%,color-mix(in srgb,var(--bank-accent) 14%,transparent),transparent 52%),linear-gradient(135deg,#061019,var(--bank-deep));color:#f6f7fb;box-shadow:inset 0 0 0 3px #ffffff05,0 12px 28px #0002;cursor:pointer}
.bank-card[data-currency=UZS]{--bank-accent:#b477ef;--bank-deep:#1c1036;border-color:var(--bank-accent)}
.bank-card[data-currency=RUB]{--bank-accent:#efbd52;--bank-deep:#282112;border-color:var(--bank-accent)}
.bank-card:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.18;background:repeating-linear-gradient(147deg,transparent 0 73px,var(--bank-accent) 74px,transparent 75px 113px);pointer-events:none}
.bank-card:hover{box-shadow:0 0 0 2px color-mix(in srgb,var(--bank-accent) 32%,transparent),0 16px 32px #0004}
.bank-card:focus-within{outline:3px solid var(--bank-accent);outline-offset:3px}
.bank-card-heading{display:flex;align-items:center;gap:22px;min-height:100px;margin-bottom:56px;position:relative;z-index:1}
.bank-card h2{font-size:clamp(28px,2.8vw,42px);letter-spacing:.01em;margin:0;color:#fff}
.bank-currency-icon{width:86px;height:86px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--bank-accent) 65%,transparent);border-radius:23px;background:linear-gradient(135deg,color-mix(in srgb,var(--bank-accent) 20%,transparent),#0005);box-shadow:inset 0 1px 10px #ffffff12,0 8px 15px #0004;color:var(--bank-accent)}
.bank-currency-icon svg{width:52px;height:52px;filter:drop-shadow(0 3px 2px #0009)}
.bank-watermark{position:absolute;right:12px;top:115px;opacity:.15;color:var(--bank-accent);transform:rotate(-12deg);pointer-events:none;z-index:-1}.bank-watermark svg{width:170px;height:170px}
.bank-principal{font-size:clamp(26px,3vw,48px);line-height:1.2;letter-spacing:-.04em;color:var(--bank-accent);font-variant-numeric:tabular-nums;white-space:nowrap;margin-bottom:20px}
.bank-card dl{margin:0 0 22px;flex:1}.bank-card dl>div{display:flex;align-items:center;gap:18px;padding:17px 0;border-bottom:1px solid color-mix(in srgb,var(--bank-accent) 23%,transparent)}
.bank-card dl>div:first-child{border-top:1px solid color-mix(in srgb,var(--bank-accent) 23%,transparent)}
.bank-card dt{color:#d0d4df;font-size:15px;line-height:1.35}.bank-card dd{margin:6px 0 0;font-size:23px;line-height:1.25;color:#fff;font-variant-numeric:tabular-nums}.bank-card dd small{display:block;font-size:16px;font-weight:450;margin-top:6px}.bank-due{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.bank-due small{margin:0}
.bank-metric-icon{width:54px;height:54px;display:grid;place-items:center;flex-shrink:0;border:1px solid color-mix(in srgb,var(--bank-accent) 50%,transparent);border-radius:15px;color:var(--bank-accent);background:#0003}.bank-metric-icon svg{width:32px;height:32px}
.bank-card .bank-open{margin:0;display:flex;align-items:center;justify-content:center;gap:18px;width:100%;min-height:48px;color:#f5f7fc;border-color:var(--bank-accent);background:linear-gradient(120deg,color-mix(in srgb,var(--bank-accent) 12%,transparent),#0002)}
.bank-card .bank-open:hover{background:color-mix(in srgb,var(--bank-accent) 20%,#061019)}
.bank-priority.loan-priority{display:inline-flex;align-items:center;justify-content:center;width:112px;min-width:112px;height:36px;margin:0;border:0;border-radius:999px}
@media(max-width:680px){.bank-card{min-height:550px}.bank-card-heading{margin-bottom:32px}.bank-principal{font-size:40px}}

.bank-card[role="button"]:focus-visible{outline:3px solid var(--accent,#ffca29);outline-offset:4px;}
/* #188 Unified asset field; scoped additions preserve existing financial forms. */
#unified-bank section{margin:24px 0 40px}.asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.asset-tile{--asset:#c19bea;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:42px;min-height:230px;border:1px solid var(--line);border-top:6px solid var(--asset);border-radius:16px;padding:26px;color:var(--text);background:var(--surface);text-decoration:none;transition:transform .18s,box-shadow .18s}.asset-tile[data-asset=USDT]{--asset:#31c8be}.asset-tile[data-asset=RUB],.asset-tile[data-asset=RS_UZS]{--asset:#efbd52}.asset-heading{display:flex;align-items:center;gap:18px}.asset-heading h3{margin:0;font-size:1.25rem}.asset-symbol{font-size:2.5rem;color:var(--asset)}.asset-watermark{position:absolute;right:12px;bottom:-30px;font-size:170px;opacity:.07;z-index:-1;color:var(--asset)}.asset-tile strong{font-size:clamp(1.4rem,2.4vw,2.1rem);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.asset-tile:hover{transform:translateY(-4px);box-shadow:0 12px 24px #0002}.asset-tile:focus-visible{outline:3px solid var(--asset);outline-offset:4px}.bank-detail-card{display:grid!important;grid-template-columns:1fr 1fr;column-gap:40px;min-height:0!important;cursor:default!important}.bank-detail-card .bank-card-heading,.bank-detail-card .bank-principal,.bank-detail-card dl{grid-column:1}.bank-detail-card .bank-card-heading{margin-bottom:20px}.bank-history{grid-column:2;grid-row:1/4;align-self:center;min-width:0}.debt-chart{width:100%;height:auto;overflow:visible;color:var(--text)}.debt-chart-labels{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:.85rem}.bank-detail-card .bank-watermark{display:none}@media(max-width:800px){.asset-grid{grid-template-columns:1fr}.asset-tile{min-height:190px}.bank-detail-card{grid-template-columns:1fr}.bank-history{grid-column:1;grid-row:auto}.bank-detail-card .bank-card-heading{min-height:60px}}@media(prefers-reduced-motion:reduce){.asset-tile{transition:none}.asset-tile:hover{transform:none}}

.asset-symbol svg{width:42px;height:42px;display:block}.asset-watermark{width:165px;height:165px;bottom:-12px;right:8px}.asset-watermark svg{width:100%;height:100%}

/* Theme parity for the bank detail, shared with employee/task surfaces. */
.asset-tile,.debt-chart{color:var(--ink)}html[data-theme=light] .bank-card{background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--bank-accent) 8%,var(--surface)));color:var(--ink)}html[data-theme=light] .bank-card h2,html[data-theme=light] .bank-card dd{color:var(--ink)}html[data-theme=light] .bank-card dt{color:var(--muted)}

/* Shared delete action, distinct from closing a dialog. */
button.delete-button.delete-button,.batch-row-actions button.delete-button.delete-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;min-height:36px;padding:8px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}
button.delete-button.delete-button svg{width:18px;height:18px;pointer-events:none}
button.delete-button.delete-button:hover,.batch-row-actions button.delete-button.delete-button:hover{background:#910502;color:#fff;border-color:#910502}
button.delete-button.delete-button:focus-visible{outline:2px solid var(--accent,#bba5f5);outline-offset:3px}
button.delete-button.delete-button[hidden]{display:none}
button.delete-button.delete-button:disabled{opacity:.45;cursor:not-allowed}
button.delete-button.delete-button:disabled:hover{background:transparent;color:var(--muted);border-color:var(--line)}

.uf-summary .uf-processing-card{max-width:520px;padding:24px;border:1px solid var(--line);border-top:5px solid #31c8be;border-radius:16px;background:var(--surface);display:grid;gap:12px}.uf-processing-card strong{font-size:32px;overflow-wrap:anywhere}.uf-processing-card small{color:var(--muted)}

/* Keep purchase actions quiet while retaining keyboard and touch targets. */
.batch-row-actions .batch-action-icon,.batch-row-actions button.delete-button.delete-button,#purchase-draft button.delete-button.delete-button,#freight-dialog button.delete-button.delete-button{width:28px;min-width:28px;height:28px;min-height:28px;padding:6px;border-radius:6px}
.batch-row-actions .batch-action-icon svg,.batch-row-actions button.delete-button svg,#purchase-draft button.delete-button svg,#freight-dialog button.delete-button svg{width:14px;height:14px}
@media(pointer:coarse){.batch-row-actions .batch-action-icon,.batch-row-actions button.delete-button.delete-button,#purchase-draft button.delete-button.delete-button,#freight-dialog button.delete-button.delete-button{width:40px;min-width:40px;height:40px;min-height:40px}}

/* Preserve exact money labels and keep source evidence optional in accounting reports. */
.accounting-table .accounting-money,.accounting-table .accounting-period{white-space:nowrap;overflow-wrap:normal;word-break:normal}
.accounting-table details>p{max-width:65ch;margin-top:8px;line-height:1.5;overflow-wrap:anywhere}
.pnl-closed{color:#a4e3be;background:#125a3940;border-color:#34865a}
[data-theme="light"] .pnl-closed{color:#186339;background:#e4f5ea;border-color:#34865a}

.sales-period-trigger{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-width:0;min-height:36px;text-align:left}
.sales-period-trigger .pixel-calendar-icon{flex:none}
.strict-range-layer .an-range-picker .date-calendar-grid button:disabled{text-decoration:none}
.sales-portfolio-filters>.field{min-width:0;margin:0}
@media(max-width:600px){
 .sales-portfolio-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .sales-portfolio-filters>.field:first-child{grid-column:1/-1}
 .strict-range-layer .an-range-picker{gap:8px}
 .strict-range-layer .an-range-picker footer{position:sticky;bottom:0;padding-block:4px;background:var(--surface,#2e303e)}
}

.historical-bank>summary{cursor:pointer}
.historical-bank>summary h2{display:inline}
.historical-bank[open]>.table-wrap{margin-top:12px}
