.ue-view{display:grid;gap:1rem;container-type:inline-size}
.ue-view>.panel+.panel{margin:0}
.ue-period{display:flex;justify-content:space-between;align-items:start;gap:.6rem 1rem;flex-wrap:wrap}
.ue-period>div{display:grid;gap:.22rem}
.ue-period>div:last-child{text-align:right}
.ue-period strong{font-size:1.05rem}.ue-period span,.ue-head p{font-size:.83rem;color:var(--muted);line-height:1.45}
.ue-issue,.ue-missing{background:#fff5dc;border:1px solid #ead6a2;color:#6e4e17;font-size:.88rem;line-height:1.5;padding:.65rem .9rem;border-radius:.6rem}
.ue-counts{display:grid;gap:.7rem;grid-template-columns:repeat(auto-fit,minmax(min(10.5rem,100%),1fr))}
.ue-count{min-width:0;border:1px solid var(--border);border-radius:.75rem;padding:1rem 1.05rem;text-align:left;background:white;color:var(--ink);display:grid;align-content:space-between;gap:.5rem}
.ue-count span{font-size:.84rem;font-weight:550}.ue-count strong{font-size:1.9rem;line-height:1;font-weight:650;font-variant-numeric:tabular-nums}
.ue-count.ue-profit strong,.ue-table .ue-positive{color:#246349}.ue-count.ue-loss strong,.ue-negative{color:#a03932}
.ue-count.ue-partial strong{color:#80571c}.ue-count[aria-pressed=true]{border-color:var(--pine);box-shadow:inset 0 0 0 1px var(--pine)}
.ue-count.ue-all[aria-pressed=true]{background:var(--pine);color:#fff}.ue-count:hover{border-color:#6b8878}
.ue-head,.ue-tools,.ue-pager{display:flex;align-items:center;gap:.5rem 1rem;flex-wrap:wrap}
.ue-head{justify-content:space-between;padding:1.05rem 1.2rem .65rem}.ue-head p{margin-top:.2rem}
.ue-tools{padding:.25rem 1.2rem .9rem}.ue-tools label{margin:0}.ue-tools input,.ue-tools select{font-size:.85rem}
.ue-tools select{width:auto;max-width:100%;padding:.5rem .6rem;border-color:var(--border)}
.ue-scroll{max-height:68vh;overflow:auto;position:relative;isolation:isolate;overscroll-behavior:contain}
.ue-table{min-width:100%;width:max-content;border-collapse:separate;border-spacing:0}
.ue-table th,.ue-table td{padding:.58rem .77rem;font-size:.83rem}
.ue-table thead th{position:sticky;top:0;z-index:1;white-space:normal;max-width:10rem;vertical-align:bottom}
.ue-table th:first-child{position:sticky;left:0;width:15rem;max-width:17rem;z-index:1;box-shadow:1px 0 #e1e8e2}
.ue-table thead th:first-child{z-index:2}
.ue-table tbody th{background:white;text-align:left;white-space:normal}
.ue-table td.numeric{font-variant-numeric:tabular-nums}.ue-table td.ue-positive,.ue-table td.ue-negative{font-weight:680}
.ue-product{width:100%;border:0;background:none;padding:0;display:flex;align-items:center;gap:.5rem;text-align:left;color:var(--pine);font:inherit}
.ue-product img{width:2rem;height:2.55rem;border-radius:.3rem;object-fit:cover;flex:none}
.ue-product span{min-width:0}.ue-product b{font-weight:650}.ue-product b,.ue-product small{display:block;overflow-wrap:anywhere}
.ue-product small{color:var(--muted);font-size:.74rem;font-weight:400;margin-top:.15rem}.ue-product:hover b,.ue-product:focus-visible b{text-decoration:underline}
.ue-state{display:inline-block;padding:.21rem .5rem;font-size:.75rem;font-weight:650;border-radius:1rem;background:#eef2ef;color:#53645a}
.ue-state.ue-loss{color:#8e332b;background:#fae8e5}.ue-state.ue-profit{color:#235d43;background:#e6f2e9}
.ue-state.ue-partial{color:#78541e;background:#fbf0d9}
.ue-table .ue-loss-row>*{background:#fff0ed;border-bottom-color:#ebc5bd}
.ue-table .ue-loss-row:hover>*,.ue-table .ue-loss-row:focus-within>*{background:#ffe0da}
.ue-table .ue-loss-row th:first-child{box-shadow:inset 3px 0 #ad3b30,1px 0 #e5bbb3}
.ue-loss-row .ue-product{color:#702c26}.ue-loss-row .ue-product small{color:#67504b}
.ue-table .ue-loss-row .ue-negative{color:#982e25;font-weight:750}
.ue-pager{justify-content:space-between;padding:.7rem 1.1rem;border-top:1px solid var(--border);color:var(--muted);font-size:.84rem}
.ue-pager div{display:flex;gap:.4rem}
.ue-empty{padding:2rem 1.15rem;color:var(--muted);text-align:center}
.ue-method{font-size:.87rem;padding:.9rem 1.15rem;line-height:1.5}.ue-method summary{cursor:pointer;font-weight:600}
.ue-method ul,.ue-missing ul{margin:.5rem 0 0;padding-left:1.2rem}
.ue-detail-total{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.35rem .8rem;background:#f1f6ed;border-radius:.65rem;padding:.85rem;margin:.8rem 0}
.ue-detail-total span{color:var(--text);font-size:.85rem}.ue-detail-total strong{font-size:1.5rem;font-variant-numeric:tabular-nums}
.ue-detail-total.ue-detail-loss{background:#ffe8e3;border:1px solid #dfa79c;border-inline-start:4px solid #ad3b30}
.ue-detail-loss span,.ue-detail-loss strong{color:#922b23}.ue-detail-loss strong{font-weight:750}
.ue-facts{margin:.65rem 0 1rem;font-size:.87rem}
.ue-facts div{display:flex;justify-content:space-between;gap:.65rem;padding:.44rem 0;border-bottom:1px solid #e6ede7}
.ue-facts dt{color:var(--text)}.ue-facts dd{margin:0;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.ue-facts dt small{display:block;color:var(--muted);font-size:.75rem;line-height:1.45}
.ue-estimate-tag{display:block;color:var(--muted);font-size:.72rem;line-height:1.4}
.ue-projection{margin:.8rem 0;background:#f3f6f2;border-radius:.65rem;padding:.8rem}
.ue-projection .ue-facts{margin:.45rem 0}
@container(max-width:42rem){
 .ue-period{display:grid}.ue-period>div:last-child{text-align:left}
 .ue-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.ue-count{padding:.7rem .85rem}.ue-count strong{font-size:1.55rem}
 .ue-table th:first-child{width:10rem;max-width:10rem}.ue-product img{width:1.6rem;height:2.15rem}
}
@container(max-width:25rem){
 .ue-head,.ue-tools{padding-left:.75rem;padding-right:.75rem}
 .ue-table th:first-child{width:8.5rem;max-width:8.5rem}.ue-table th,.ue-table td{padding:.48rem}
}
