/* Generated from application product-breakdown and unit-economy styles. */
dialog.pb-dialog { --pb-parent:#edf2ff; --pb-nested:#f5f7fc; --pb-ink:#243b70; --pb-line:#cbd5e8; width:min(860px,calc(100vw - 32px)); max-width:none; padding:24px; font-family:system-ui,-apple-system,"Segoe UI",sans-serif; font-size:max(1rem,16px); line-height:1.5; color:#1d2b43; }
.pb-dialog .dw-popup-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 20px; }
.pb-dialog .dw-popup-heading h2 { font-size:1.25em; line-height:1.3; margin:0; }
.pb-dialog .dw-popup-close { flex:0 0 44px; width:44px; height:44px; min-width:44px; min-height:44px; padding:10px; display:grid; place-items:center; }
.pb-dialog .dw-popup-close svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; }
.pb-dialog .pb-product { display:flex; gap:16px; padding:0 0 20px; border-bottom:1px solid var(--pb-line); }
.pb-product .product-identity { display:flex; align-items:center; gap:20px; width:100%; min-width:0; }
.pb-product .product-label { display:flex; flex-direction:column; gap:8px; min-width:0; }
.pb-product .table-product-name { display:block; white-space:normal; -webkit-line-clamp:unset; max-height:none; overflow:visible; font-size:1.125em; line-height:1.4; font-weight:650; overflow-wrap:anywhere; }
.pb-product .ad-product-photo,.pb-product .photo-placeholder { display:flex; align-items:center; justify-content:center; flex:0 0 80px; width:80px; height:104px; border-radius:12px; overflow:hidden; background:#f4f6fa; }
.pb-product .ad-product-photo img { width:80px; height:104px; object-fit:contain; }
.pb-product small { font-size:.8125em; line-height:1.5; overflow-wrap:anywhere; }
.pb-dialog .pb-period { display:flex; flex-wrap:wrap; gap:4px 16px; justify-content:space-between; font-size:.875em; color:#52617b; margin:16px 0; }
.pb-dialog .pb-group { border:0; padding:0; margin:8px 0; }
.pb-dialog summary.product-breakdown-summary { display:grid; grid-template-columns:20px minmax(0,1fr) auto; align-items:center; gap:10px; min-height:52px; padding:12px 16px; border-radius:10px; background:var(--pb-parent); color:var(--pb-ink); font-size:1em; font-weight:650; list-style:none; cursor:pointer; }
.pb-dialog .product-breakdown-summary::before { content:none; }
.pb-dialog .product-breakdown-summary::-webkit-details-marker { display:none; }
.pb-dialog .pb-sign::before { content:'+'; display:block; font-size:1.25em; font-weight:500; text-align:center; }
.pb-dialog details[open] > summary .pb-sign::before { content:'−'; }
.pb-dialog .pb-category { overflow-wrap:anywhere; min-width:0; }
.pb-dialog .pb-amount { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.pb-dialog .pb-children { margin:8px 0 16px 20px; padding-left:20px; border-left:2px solid var(--pb-line); }
.pb-dialog .pb-children .product-breakdown-summary { background:var(--pb-nested); font-weight:600; }
.pb-dialog .pb-children > p:not(.pb-line) { font-size:.875em; line-height:1.55; margin:12px 0; color:#52617b; }
.pb-dialog p.pb-line { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:baseline; gap:12px; margin:0; padding:12px 4px; border-bottom:1px solid var(--pb-line); font-size:.9375em; }
.pb-dialog .pb-line > span { overflow-wrap:anywhere; }
.pb-dialog .pb-line > strong { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.pb-dialog .pb-subtotal { margin:8px 0 16px; padding:0 16px 0 46px; }
.pb-dialog .pb-subtotal .pb-line { font-size:.875em; }
.pb-dialog .pb-profit { border-radius:12px; background:#e8f4ef; color:#14503a; padding:8px 16px; margin-top:20px; }
.pb-dialog .pb-profit .pb-line { font-size:1.125em; font-weight:700; border:0; }
.pb-dialog .pb-notes { margin-top:16px; font-size:.875em; }
.pb-dialog .pb-notes > summary { min-height:44px; padding:12px 0; cursor:pointer; }
.pb-dialog summary:focus-visible { outline:3px solid #3979db; outline-offset:3px; }
html[data-theme=dark] dialog.pb-dialog { --pb-parent:#283a60; --pb-nested:#202e46; --pb-ink:#e4ecff; --pb-line:#455675; color:#edf2fc; }
html[data-theme=dark] body dialog.pb-dialog .pb-product { color:#edf2fc; }
html[data-theme=dark] body dialog.pb-dialog .pb-profit { background:#173e32; color:#c9f3df; }
html[data-theme=dark] body dialog.pb-dialog .pb-profit p { color:#c9f3df; }
html[data-theme=dark] body dialog.pb-dialog .pb-children > p:not(.pb-line) { color:#bac7dc; }
@media(max-width:540px) {
 dialog.pb-dialog { width:calc(100vw - 20px); padding:16px; }
 .pb-product .product-identity { gap:12px; }
 .pb-dialog .pb-children { margin-left:10px; padding-left:12px; }
 .pb-dialog summary.product-breakdown-summary { grid-template-columns:16px minmax(0,1fr); gap:4px 8px; padding:10px 12px; }
 .pb-dialog .pb-amount { grid-column:2; text-align:left; }
 .pb-dialog p.pb-line { grid-template-columns:minmax(0,1fr); gap:4px; }
 .pb-dialog .pb-line > strong { text-align:left; }
 .pb-dialog .pb-subtotal { padding-left:24px; }
}
@media(forced-colors:active) { .pb-dialog .product-breakdown-summary { border:1px solid ButtonText; } }
.ue-widget{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;color:var(--dw-ink,#142544)}
.ue-widget[hidden]{display:none}.ue-widget .dw-title{flex:none;margin:0 0 8px}.ue-body{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;gap:8px}.ue-card-scroll{flex:1;min-height:80px;overflow:auto;overscroll-behavior:contain}
.ue-widget table,.ue-dialog table{border-collapse:separate;border-spacing:0;width:100%;font-size:.9rem;color:inherit}.ue-widget th,.ue-widget td,.ue-dialog th,.ue-dialog td{padding:8px 10px;border-bottom:1px solid var(--dw-line,#dbe3ef);text-align:right;white-space:nowrap}.ue-widget th:first-child,.ue-dialog th:first-child{text-align:left}.ue-summary th:first-child{width:64px}.ue-summary thead th{position:sticky;top:0;background:var(--ue-bg,#fff);z-index:1}
.ue-product{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:44px;min-height:52px;white-space:normal;overflow-wrap:anywhere;line-height:1.3}.ue-product img{width:44px;height:52px;object-fit:cover;border-radius:8px;display:block}.ue-product .ue-name{font-size:.8rem;max-width:120px}.ue-product:has(.ue-name:not(.ue-fallback)),.ue-product.ue-no-photo{width:120px;justify-content:flex-start}.ue-fallback{display:none}.ue-no-photo .ue-fallback{display:block}.ue-no-photo img{display:none}
.ue-cabinet,.ue-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:baseline;flex:none;padding:8px 10px;font-size:.9rem;border-top:1px solid var(--dw-line,#dbe3ef)}.ue-cabinet strong,.ue-result strong{white-space:nowrap;text-align:right}.ue-result{background:var(--ue-result,#edf3ff);border-radius:10px;font-weight:600}.ue-result strong:first-of-type{font-size:1.2rem}.ue-loss{color:var(--ue-loss,#a3213c)}.ue-footer{display:flex;flex:none;gap:8px;justify-content:space-between;align-items:center;margin-top:8px}.ue-status,.ue-detail-status{font-size:.85rem;color:var(--ue-loss,#a3213c)}
.ue-info{display:inline-flex!important;flex:0 0 44px;width:44px!important;height:44px!important;min-width:44px;min-height:44px;align-items:center;justify-content:center;padding:0!important;position:static!important;border:0!important;background:transparent!important;border-radius:10px;color:inherit;transform:none!important}.ue-info::before,.ue-info::after{content:none!important;display:none!important}.ue-info svg{display:block;width:20px!important;height:20px!important;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transform:none!important}.ue-info .theme-info-dot{fill:currentColor;stroke:none}
.ue-dialog{--ue-bg:#fff;--ue-result:#edf3ff;--dw-line:#dbe3ef;--dw-ink:#142544;--ue-loss:#a3213c;box-sizing:border-box;width:min(1440px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px;border:1px solid var(--dw-line);border-radius:18px;background:var(--ue-bg)!important;color:var(--dw-ink)!important;overflow:auto}.ue-dialog[open]{display:flex;flex-direction:column;gap:12px}.ue-dialog::backdrop{background:#101b3890}.ue-dialog .dw-popup-heading{display:flex;flex:none;gap:12px;align-items:center;justify-content:space-between;margin:0;padding:0;background:none;min-height:44px}.ue-dialog h2{font-size:1.25rem;margin:0;line-height:1.4}.ue-dialog .dw-popup-close{width:44px;height:44px;min-width:44px;flex:none;display:grid;place-items:center;padding:0}.ue-dialog .dw-popup-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}.ue-dialog button,.ue-widget button{min-height:44px}.ue-dialog button,.ue-dialog input{color:inherit;background:var(--ue-bg);border:1px solid var(--dw-line);border-radius:8px}.ue-dialog button{padding:8px 12px}.ue-dialog button:disabled{opacity:.55}.ue-dialog :focus-visible,.ue-widget :focus-visible{outline:2px solid #4169de;outline-offset:2px}.ue-toolbar,.ue-search-row{display:flex;flex-wrap:wrap;flex:none;gap:10px;align-items:center}.ue-toolbar>span{margin-right:auto}.ue-modes{display:flex;gap:4px}.ue-modes [aria-pressed=true]{background:#2453d9;color:#fff;border-color:#2453d9}.ue-search-row input{flex:1;min-width:100px;min-height:44px;padding:8px 12px;font:inherit}.ue-search-row nav{display:flex;align-items:center;gap:8px}.ue-search-row nav button{min-width:44px}.ue-detail-body{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:auto}.ue-matrix-scroll{max-height:55dvh;min-height:160px;overflow:auto;overscroll-behavior:contain;flex:auto;border:1px solid var(--dw-line);border-radius:10px}.ue-matrix th:first-child{position:sticky;left:0;z-index:1;background:var(--ue-bg);min-width:170px;max-width:200px;white-space:normal}.ue-matrix thead th{position:sticky;top:0;background:var(--ue-bg);z-index:2}.ue-matrix thead th:first-child{z-index:3}.ue-matrix td{min-width:135px}.ue-matrix .ue-total-row>*{font-weight:700;background:var(--ue-result)}.ue-help{width:min(800px,calc(100vw - 24px))}.ue-help-content{overflow:auto;line-height:1.6}.ue-help h3{margin:18px 0 8px}.ue-formula{padding:12px;border-left:3px solid #4169de;border-radius:6px;background:var(--ue-result)}
html[data-theme=dark] .ue-dialog,html[data-theme=dark] .ue-widget{--ue-bg:#162137;--ue-result:#253653;--dw-line:#3e526f;--dw-ink:#e3eafa;--ue-loss:#ffb6c4}.ue-dialog.ue-help p{color:inherit}
.dw-widget[data-widget=unit-economy] .dw-content{height:100%;min-height:0;box-sizing:border-box;overflow:hidden}.dw-widget[data-widget=unit-economy]{container-type:inline-size}.ue-widget .ue-body{overflow:hidden}
@container(max-width:600px){.ue-widget td,.ue-widget th{padding:6px;font-size:.8rem}.ue-widget .ue-cabinet,.ue-widget .ue-result{font-size:.85rem}.ue-widget .ue-result strong:first-of-type{font-size:1.05rem}}
@media(max-width:600px){.ue-dialog{padding:12px}.ue-dialog .ue-matrix th:first-child{min-width:125px;max-width:140px}.ue-dialog .ue-cabinet,.ue-dialog .ue-result{font-size:.85rem}.ue-toolbar>span{width:100%}.ue-matrix-scroll{max-height:48dvh}}
@media(forced-colors:active){.ue-result,.ue-formula,.ue-matrix .ue-total-row>*{border:1px solid CanvasText}.ue-modes [aria-pressed=true]{outline:2px solid Highlight}}

.ue-matrix .ue-fee-row>*{font-size:.8rem}.ue-matrix .ue-fee-row th:first-child{padding-left:24px;font-weight:400}.ue-matrix .ue-fee-row td{color:inherit}

.dw-grid .dw-widget[data-widget=unit-economy] .ue-body{overflow:hidden!important}.dw-grid .dw-widget[data-widget=unit-economy] .ue-card-scroll{overflow:auto!important;min-height:0}.dw-grid .dw-widget[data-widget=unit-economy] .ue-widget{overflow:hidden!important}.dw-grid .dw-widget[data-widget=unit-economy] .dw-content{overflow:hidden!important}

.ue-common-lines>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:6px 10px;font-size:.85rem}.ue-common-unit{white-space:nowrap}.ue-common-lines strong{white-space:nowrap}@media(max-width:600px){.ue-common-lines>div{grid-template-columns:minmax(0,1fr) auto}.ue-common-unit{grid-column:2}}

/* The same columns in the card and expanded list; monetary values share right edges. */
.ue-widget .dw-title{display:flex;align-items:center;gap:4px}
.ue-summary{min-width:900px;table-layout:fixed;font-variant-numeric:tabular-nums}
.ue-summary th:first-child{width:120px}.ue-summary th:nth-child(2),.ue-summary th:nth-child(3){width:76px}.ue-summary th:last-child{width:66px}
.ue-summary thead th{line-height:1.3;font-weight:600;white-space:normal;vertical-align:middle}
.ue-summary tbody tr{cursor:pointer}.ue-summary tbody tr:hover>*,.ue-summary tbody tr:focus-within>*{background:var(--ue-hover,#edf3fa)}
.ue-summary tbody th:first-child{position:sticky;left:0;background:var(--ue-bg,#fff);z-index:1}.ue-summary thead th:first-child{left:0;z-index:3}
.ue-widget button.ue-product,.ue-dialog button.ue-product{padding:0;border:0;background:transparent;border-radius:8px;color:inherit;text-align:left;cursor:pointer}
.ue-subtotal{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:baseline;flex:none;padding:8px 10px;font-size:.9rem;border-top:1px solid var(--dw-line,#dbe3ef)}
.ue-subtotal strong{white-space:nowrap;text-align:right}.ue-subtotal,.ue-result,.ue-cabinet,.ue-common-lines{font-variant-numeric:tabular-nums}
.ue-common-lines>div{grid-template-columns:minmax(0,1fr) auto}
.ue-dialog.ue-sku-dialog{width:min(880px,calc(100vw - 24px));max-height:calc(100% - 24px)}
.ue-product-heading{display:flex;align-items:center;gap:12px;min-width:0;flex:none}.ue-product-heading>div{flex:1;min-width:0;overflow-wrap:anywhere}.ue-product-heading>div>span{display:block;font-size:.85rem;margin-top:4px}.ue-product-heading>.ue-product{flex:none;pointer-events:none}
.ue-unit-toggle{display:flex;align-items:center;gap:8px;min-height:44px;flex:none}.ue-unit-toggle input{width:20px;height:20px;flex:none;margin:0}
.ue-sku-counts{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:.9rem;padding:8px 0 16px}
.ue-sku-dialog [data-ue-breakdown]{min-height:0;overflow:auto}.ue-sku-dialog .pb-line{font-variant-numeric:tabular-nums}
html[data-theme=dark] .ue-widget,html[data-theme=dark] .ue-dialog{--ue-hover:#293c57}
@media(max-width:600px){.ue-subtotal{font-size:.85rem}.ue-summary{min-width:860px}.ue-product-heading{gap:8px}.ue-product-heading>div>span{line-height:1.5}.ue-dialog.ue-sku-dialog .pb-line{gap:10px}}
@media(forced-colors:active){.ue-summary tbody tr:hover>*,.ue-summary tbody tr:focus-within>*{outline:1px solid Highlight}}

.ue-profit-bridge{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;flex:none;font-variant-numeric:tabular-nums}
.ue-bridge-caption,.ue-bridge-unknown{grid-column:1/-1;font-size:.8rem;line-height:1.4;padding:0 10px}
.ue-widget .ue-profit-bridge button,.ue-dialog .ue-profit-bridge button{display:grid;gap:2px;min-width:0;min-height:52px;padding:6px 10px;border:1px solid var(--dw-line,#dbe3ef);border-radius:9px;background:var(--ue-result,#edf3ff);color:inherit;text-align:left;cursor:pointer}
.ue-profit-bridge button span{font-size:.8rem;font-weight:400}.ue-profit-bridge button strong{justify-self:end;white-space:nowrap;font-size:1rem}.ue-profit-bridge button:disabled{cursor:default}
.ue-footer{flex-wrap:wrap}.ue-status:empty{display:none}
.ue-search-row select{min-width:0;min-height:44px;max-width:100%;padding:8px;border:1px solid var(--dw-line);border-radius:8px;background:var(--ue-bg);color:inherit;font:inherit}.ue-search-row [data-ue-range]{font-size:.85rem;font-variant-numeric:tabular-nums}
.ue-summary tbody tr:hover>th:first-child,.ue-summary tbody tr:focus-within>th:first-child{background:var(--ue-hover,#edf3fa)}

/* User-configured columns keep exact widths, including the 44px asset + 3px gap. */
.ue-widget table.ue-summary,.ue-dialog table.ue-summary{min-width:0;max-width:none;table-layout:fixed}
.ue-summary th,.ue-summary td{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis}
.ue-summary th:first-child,.ue-summary th:nth-child(2),.ue-summary th:nth-child(3),.ue-summary th:last-child{width:auto}
.ue-widget .ue-summary .ue-asset-col,.ue-dialog .ue-summary .ue-asset-col{width:47px;min-width:47px;max-width:47px;padding-left:0;padding-right:3px}
.ue-summary .ue-product,.ue-summary .ue-product.ue-no-photo,.ue-summary .ue-product:has(.ue-name:not(.ue-fallback)){width:44px;max-width:44px}
.ue-summary .ue-name{max-width:44px;font-size:.7rem;overflow-wrap:anywhere}
.ue-summary thead th{padding-right:12px}
.ue-resize{position:absolute;right:0;top:0;bottom:0;width:10px;cursor:col-resize;touch-action:none;z-index:2;border-right:1px solid transparent}
.ue-resize:hover,.ue-resize:focus-visible{border-right-color:#4169de;background:#4169de20}
.ue-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ue-widget .ue-settings,.ue-dialog .ue-settings{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:0;margin-left:auto;border:0;background:transparent;color:inherit}
.ue-settings svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.ue-dialog .dw-popup-heading{padding-bottom:3px!important;min-height:47px;box-sizing:content-box}
.ue-dialog .dw-popup-heading h2{order:0}.ue-dialog .dw-popup-heading .ue-settings{order:1}.ue-dialog .dw-popup-heading .dw-popup-close{order:2}
.ue-widget button.ue-status,.ue-dialog button.ue-detail-status{border:0;background:transparent;padding:4px 0;min-height:44px;color:#80520d;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ue-widget button[hidden],.ue-dialog button[hidden]{display:none!important}
html[data-theme=dark] .ue-widget button.ue-status,html[data-theme=dark] .ue-dialog button.ue-detail-status{color:#f0c576}
.ue-dialog.ue-options{width:min(600px,calc(100vw - 24px));max-height:calc(100% - 24px)}
.ue-column-options{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;overflow:auto;min-height:0}
.ue-column-options label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:.9rem}
.ue-column-options input{flex:none;width:20px;height:20px;margin:0}
.ue-status-explanation{overflow:auto;min-height:0;overflow-wrap:anywhere}.ue-status-explanation li{margin:10px 0}.ue-status-explanation li p{margin:4px 0}
.ue-product-heading>.ue-product,.ue-product-heading>.ue-product img{width:72px;height:96px;max-width:72px;image-rendering:auto}
.ue-product-heading>.ue-product img{object-fit:cover}
@media(max-width:420px){.ue-column-options{grid-template-columns:1fr}}

.ue-widget .dw-title>span{order:0!important}.ue-widget .dw-title>.ue-info{order:1!important}.ue-widget .dw-title>.ue-settings{order:2!important;margin-left:auto!important}
.ue-column-options{align-content:start;grid-auto-rows:minmax(44px,auto)}
.ue-column-options label{margin:0;padding:0;line-height:1.4;font-weight:400}
/* Web adaptation: 44 CSS px targets; layout dimensions below are project choices. */
.ue-widget button.ue-cabinet,.ue-dialog button.ue-cabinet{width:100%;text-align:left;color:inherit;background:transparent;border:0;border-top:1px solid var(--dw-line,#dbe3ef);border-radius:8px;cursor:pointer}
.ue-cabinet:hover{background:var(--ue-hover,#edf3fa)!important}.ue-cabinet>span{min-width:0;overflow-wrap:anywhere}
.ue-dialog .ue-toolbar{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.ue-toolbar input[type=search]{flex:1 1 200px;min-width:120px;width:100%;min-height:44px;padding:10px 12px;font:inherit;box-sizing:border-box}
.ue-toolbar .ue-settings{margin-left:0}.ue-modes{flex-wrap:wrap;min-width:0}.ue-period-dates{display:block;font-size:.8rem;line-height:1.4}
.ue-dialog .ue-detail-body{overflow:visible;flex:none}.ue-dialog .ue-matrix-scroll{flex:none;min-height:160px;max-height:55dvh}
.ue-dialog .ue-expanded .ue-asset-col{width:240px;min-width:240px;max-width:240px;padding:8px}
.ue-dialog .ue-expanded .ue-product,.ue-dialog .ue-expanded .ue-product.ue-no-photo{display:flex;gap:10px;width:100%;max-width:none;justify-content:flex-start;align-items:center}
.ue-dialog .ue-expanded .ue-product img{flex:none;width:52px;height:68px;object-fit:cover;image-rendering:auto}
.ue-dialog .ue-expanded .ue-name{display:block;min-width:0;max-width:none;font-size:.875rem;line-height:1.4;overflow-wrap:anywhere}
.ue-dialog .ue-expanded .ue-product:has(.ue-name:not(.ue-fallback)){width:100%;max-width:none}
.ue-summary thead th{padding-right:46px;min-height:44px}.ue-summary .ue-resize{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;color:var(--dw-muted,#52627b)}
.ue-resize svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.ue-common-details{overflow:auto;min-height:0}.ue-common-details details{border-bottom:1px solid var(--dw-line);padding:4px 0}.ue-common-details summary,.ue-common-line{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;overflow-wrap:anywhere}.ue-common-details summary{cursor:pointer}.ue-common-details strong{flex:none;font-variant-numeric:tabular-nums}.ue-common-line{padding-left:16px}
.ue-period-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ue-period-form label{display:grid;gap:6px;min-width:0}.ue-period-form input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;font:inherit;padding:8px}.ue-period-form p,.ue-period-form button{grid-column:1/-1}.ue-period-form p:empty{display:none}
.ue-dialog .dw-popup-heading{gap:20px;min-width:0}.ue-dialog .dw-popup-heading h2{min-width:0;overflow-wrap:anywhere}
@container(max-width:420px){.ue-widget .ue-profit-bridge{grid-template-columns:minmax(0,1fr)}.ue-widget .ue-subtotal,.ue-widget .ue-cabinet,.ue-widget .ue-result{grid-template-columns:minmax(0,1fr)}.ue-widget .ue-result strong,.ue-widget .ue-subtotal strong,.ue-widget .ue-cabinet strong{justify-self:end;max-width:100%;white-space:normal;overflow-wrap:anywhere}}
@media(max-width:600px){.ue-dialog .ue-toolbar .ue-modes{flex:1 1 100%}.ue-dialog .ue-toolbar input[type=search]{flex:1 1 120px}.ue-dialog .ue-profit-bridge{grid-template-columns:minmax(0,1fr)}.ue-dialog .ue-subtotal,.ue-dialog .ue-cabinet,.ue-dialog .ue-result{grid-template-columns:minmax(0,1fr)}.ue-dialog .ue-subtotal strong,.ue-dialog .ue-cabinet strong,.ue-dialog .ue-result strong{justify-self:end;max-width:100%;white-space:normal;overflow-wrap:anywhere}.ue-dialog .ue-expanded tbody th:first-child{position:static}.ue-dialog .ue-expanded thead th:first-child{left:auto}.ue-common-details summary,.ue-common-line{flex-wrap:wrap}.ue-period-form{grid-template-columns:minmax(0,1fr)}}
html[data-theme=dark] .ue-resize{color:#b5c4dc}
.ue-column-options{grid-template-columns:minmax(0,1fr)}.ue-column-option{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:4px;align-items:center}.ue-column-option label{min-width:0;overflow-wrap:anywhere}.ue-column-option button{width:44px;height:44px;padding:0}.ue-column-option button:disabled{visibility:hidden}

.ue-widget .ue-summary thead th>span:not(.ue-resize),.ue-dialog .ue-summary thead th>span:not(.ue-resize){display:block;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}

.ue-card-period{display:block;font-size:.75rem;font-weight:400;line-height:1.4}

/* Independent table layout; photo-only expanded identity keeps numbers in view. */
.ue-summary{--ue-asset-width:47px}.ue-summary.ue-expanded{--ue-asset-width:88px}
.ue-dialog .ue-expanded .ue-asset-col{width:88px;min-width:88px;max-width:88px;padding:8px}
.ue-dialog .ue-expanded .ue-product,.ue-dialog .ue-expanded .ue-product.ue-no-photo{width:72px;max-width:72px;height:96px;gap:0;justify-content:center}
.ue-dialog .ue-expanded .ue-product img{width:72px;height:96px;max-width:none;max-height:none;object-fit:cover;image-rendering:auto}
.ue-dialog .ue-expanded .ue-name{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.ue-photo-placeholder{display:grid;place-items:center;width:72px;height:96px;border-radius:8px;background:var(--ue-hover,#edf3fa);font-size:.75rem;color:var(--dw-muted,#52627b)}
.ue-widget .ue-summary thead th,.ue-dialog .ue-summary thead th{padding:8px 0 8px 10px;vertical-align:middle}
.ue-widget .ue-summary thead th>span.ue-column-heading,.ue-dialog .ue-summary thead th>span.ue-column-heading{display:flex;align-items:center;justify-content:flex-end;gap:2px;min-height:44px}
.ue-column-heading>span:first-child{min-width:0;overflow-wrap:anywhere;white-space:normal}
.ue-summary .ue-resize{position:static;flex:0 0 44px;height:44px;min-height:44px;border:0;background:transparent;box-shadow:none;align-self:center}
.ue-summary .ue-resize:hover{background:transparent;border:0;box-shadow:none;color:var(--dw-ink,#142544)}
.ue-summary .ue-resize:focus-visible{background:transparent;outline:2px solid #4169de;outline-offset:-4px;border-radius:8px}
.ue-resize svg{width:18px;height:18px;stroke-width:1.35}
html[data-theme=dark] .ue-summary .ue-resize:hover{color:#eef4ff}

.ue-expanded .ue-photo-placeholder{display:none}.ue-expanded .ue-no-photo .ue-photo-placeholder,.ue-expanded .ue-product:not(:has(img)) .ue-photo-placeholder{display:grid}
.ue-column-option button{display:grid;place-items:center;border:0;background:transparent;box-shadow:none;color:inherit}.ue-column-option button:hover{background:transparent;box-shadow:none;color:#4169de}.ue-column-option button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}

/* The complete heading is the width grip; wrap only at word boundaries. */
.ue-widget .ue-summary thead th[data-ue-column],.ue-dialog .ue-summary thead th[data-ue-column]{padding:0}
.ue-widget .ue-summary thead th>span.ue-column-heading,.ue-dialog .ue-summary thead th>span.ue-column-heading{display:flex;align-items:stretch;min-height:44px;height:100%;gap:0;overflow-wrap:normal;word-break:normal}
.ue-summary .ue-column-heading>.ue-resize{display:flex;align-items:center;justify-content:flex-end;flex:1 1 auto;width:100%;height:auto;min-width:0;min-height:44px;box-sizing:border-box;padding:8px 10px;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;user-select:none;cursor:col-resize;touch-action:none;color:inherit}

/* Finger gestures scroll natively, including gestures starting on headings. */
.ue-summary .ue-column-heading>.ue-resize{touch-action:auto}

.ue-summary .ue-column-heading>.ue-resize{font:inherit;text-align:right;margin:0;border-radius:0}
.ue-summary th[aria-sort=ascending] .ue-resize,.ue-summary th[aria-sort=descending] .ue-resize{color:var(--ue-sort,#2450dc);text-decoration:none}
html[data-theme=dark] .ue-summary{--ue-sort:#a9c5ff}

.ue-summary .ue-column-label{min-width:0;flex:1 1 auto}
.ue-summary .ue-sort-slot{display:flex;align-items:center;justify-content:center;flex:0 0 12px;width:12px;margin-left:4px}
.ue-summary .ue-sort-direction{width:12px;height:12px;flex:0 0 12px;margin:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

/* Settings reorder by grabbing the row; the checkbox remains an independent action. */
.ue-column-option{grid-template-columns:minmax(0,1fr) 44px;border-radius:8px;cursor:grab}
.ue-column-option label{cursor:grab}
.ue-column-option input{cursor:pointer}
.ue-column-option [data-ue-reorder]{cursor:grab}
.ue-column-option [data-ue-reorder] svg{stroke-width:3;stroke-linecap:round}
.ue-column-option.ue-field-dragging{background:var(--dw-line,#dbe3ef);opacity:.65;cursor:grabbing}

.ue-widget .ue-lock,.ue-dialog .ue-lock{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:0;border:0;background:transparent;color:inherit}
.ue-lock svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ue-widget .dw-title>.ue-lock{order:2!important;margin-left:auto}
.ue-widget .dw-title>.ue-settings{order:3!important;margin-left:0!important}
.ue-summary[data-ue-locked=true] .ue-column-heading>.ue-resize{cursor:pointer}
.ue-column-option[draggable=false],.ue-column-option[draggable=false] label,.ue-column-option[draggable=false] [data-ue-reorder]{cursor:default}
.ue-column-option [data-ue-reorder]:focus-visible{outline-offset:-3px}
