/* One pager (UW deal) pane, scripts/uw_pane.js: same frame as #ss-detail; JS places it left of the comps pane / card. */
#ss-uw { position: absolute; top: 14px; right: 14px; width: 440px; max-width: calc(100% - 28px); max-height: calc(100% - 28px); background: var(--surface); border: 1px solid var(--border2); border-radius: 10px; z-index: 1012; box-shadow: 0 12px 40px rgba(0,0,0,0.55); display: flex; flex-direction: column; overflow: hidden; color: var(--text); font-size: 13px; }
#ss-uw[hidden], #ss-uw-tab[hidden] { display: none; }
#ss-uw .ss-dp-top { gap: 6px; }
#ss-uw .uw-title { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-right: auto; }
#ss-uw .uw-save, #ss-uw .uw-btn { height: 26px; padding: 0 9px; border-radius: 6px; border: 1px solid var(--border2); background: transparent; color: var(--muted2); font-size: 11px; white-space: nowrap; }
#ss-uw .uw-save:hover, #ss-uw .uw-btn:hover { color: var(--text); border-color: var(--teal); }
#ss-uw .uw-save.on { background: rgba(226,185,59,0.16); border-color: #E2B93B; color: #c99a10; }
#ss-uw .uw-save:disabled { opacity: 0.45; }
#ss-uw .uw-ib { width: 26px; height: 26px; border: 1px solid var(--border2); border-radius: 50%; background: transparent; color: var(--muted2); font-size: 14px; line-height: 1; padding: 0; }
#ss-uw .uw-ib:hover { color: var(--text); border-color: var(--green); }
.uw-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.uw-kpi { background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 6px 9px; min-width: 0; }
.uw-kpi .l { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.uw-kpi .n { font-family: 'DM Mono', monospace; font-size: 16px; margin-top: 2px; }
.uw-kpi .s { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uw-tbl { width: 100%; border-collapse: collapse; }
.uw-tbl th { font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); text-align: right; padding: 3px 4px; border-bottom: 1px solid var(--border); }
.uw-tbl th:first-child, .uw-tbl td:first-child { text-align: left; }
.uw-tbl td { font-family: 'DM Mono', monospace; font-size: 11px; text-align: right; padding: 3px 4px; border-bottom: 0.5px solid var(--border); white-space: nowrap; vertical-align: middle; }
.uw-tbl td:first-child { font-family: 'DM Sans', sans-serif; color: var(--muted2); white-space: normal; }
.uw-tbl tr.tot td { border-top: 1px solid var(--border2); color: var(--text); font-weight: 500; }
.uw-tbl tr.me td { background: rgba(226,185,59,0.12); }
.uw-tbl td.uw-mode { text-align: left; padding: 7px 4px 4px; }
.uw-src { display: block; font-family: 'DM Sans', sans-serif; font-size: 9.5px; color: var(--muted); }
/* input boxes: unit inside, teal focus ring, yellow when changed with a ↺ reset */
.uw-fld { display: inline-flex; align-items: center; gap: 2px; height: 24px; width: 92px; padding: 0 7px; border: 1px solid var(--border2); border-radius: 6px; background: var(--surface); transition: border-color .12s, box-shadow .12s; vertical-align: middle; }
.uw-tbl td .uw-fld { float: right; }
.uw-fld:hover { border-color: var(--muted); }
.uw-fld:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,158,142,0.15); }
.uw-fld .u { font-family: 'DM Mono', monospace; font-size: 10.5px; color: var(--muted); }
.uw-fld input { all: unset; width: 100%; min-width: 0; font-family: 'DM Mono', monospace; font-size: 11.5px; text-align: right; color: var(--text); }
.uw-fld.chg { background: rgba(226,185,59,0.14); border-color: #E2B93B; }
.uw-fld .rs { display: none; margin-left: 3px; border: 0; background: none; padding: 0; font-size: 11px; color: #c99a10; cursor: pointer; }
.uw-fld.chg .rs { display: inline; }
.uw-fld.big { height: 28px; width: 116px; }
.uw-fld.big input { font-size: 14px; }
.uw-rent { background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; margin-top: 8px; }
.uw-rentrow { display: flex; align-items: center; gap: 6px; }
.uw-rentrow .lbl { font-size: 11px; color: var(--muted2); margin-right: auto; line-height: 1.3; }
.uw-rentrow .lbl small { display: block; font-size: 9.5px; color: var(--muted); }
.uw-step { width: 26px; height: 28px; border: 1px solid var(--border2); border-radius: 6px; background: var(--surface); font-size: 14px; color: var(--muted2); padding: 0; }
.uw-step:hover { border-color: var(--teal); color: var(--teal); }
.uw-rng { width: 100%; margin: 8px 0 2px; accent-color: var(--teal); }
.uw-rngl { display: flex; justify-content: space-between; font-family: 'DM Mono', monospace; font-size: 9.5px; color: var(--muted); }
.uw-mkts summary { font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); cursor: pointer; }
.uw-mt { margin-top: 6px; }
.uw-mt td { font-size: 10.5px; padding: 2px 4px; }
#ss-uw-tab { position: absolute; left: 50%; transform: translateX(-50%); bottom: 52px; z-index: 1012; display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--border2); border-radius: 8px; padding: 6px 8px 6px 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.35); font-size: 11.5px; color: var(--text); white-space: nowrap; }
#ss-uw-tab b { font-weight: 500; }
#ss-uw-tab .uw-tabmeta { font-family: 'DM Mono', monospace; font-size: 10.5px; color: var(--muted2); }
#ss-uw-tab .uw-star.on { color: #c99a10; }
#ss-uw-tab .uw-x { margin-left: 4px; width: 20px; height: 20px; border: 1px solid var(--border2); border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; color: var(--muted2); }
.uw-savedline { color: #c99a10 !important; }
@media (max-width: 1000px) {
  #ss-uw { top: auto; bottom: 14px; left: 14px; right: 14px; width: auto; max-width: none; max-height: 70%; z-index: 1021; }
}

/* SharePoint copy of an export (COO deals) */
.uw-sp a { color: inherit; text-decoration: underline; }
