/* ---------- Work Understanding additions (on top of the shared app.css) ---------- */
.mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 12.5px; letter-spacing: -0.01em; }
.fine { font-size: 12px; }
.top .period { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 9px; padding: 3px 4px 3px 10px; }
.top .period span { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.top .period select { border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--ink); padding: 4px 6px; cursor: pointer; }
.ccy { font: inherit; font-size: 12px; font-weight: 700; border: 1px solid var(--line-2); background: var(--panel); border-radius: 8px; padding: 5px 9px; cursor: pointer; color: var(--ink-2); }
.ccy:hover { border-color: var(--tc); color: var(--tc); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 14px; }
.chip { font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 2px 10px; }
.th-sort { border: 0; background: none; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; padding: 0; font-weight: 600; }
.pager { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; }
.tb-tools { display: flex; justify-content: flex-end; margin: -4px 0 6px; font-size: 12.5px; }
.app-dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.note { border-radius: 8px; padding: 9px 12px; font-size: 13px; margin: 12px 0; background: var(--info-bg); color: var(--ink); }
.note.warn { background: var(--warn-bg); }
.note.bad { background: var(--bad-bg); }
.note.ok { background: var(--ok-bg); }
.dot-flag { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); margin-right: 3px; }
.dr-panel.wide { width: min(860px, 100%); }
.dr-head { align-items: flex-start; }
.dr-tt { flex: 1; min-width: 0; }
.dr-back { font-size: 20px; margin-right: 4px; }
.kv-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px; }
.kvs { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; min-width: 0; }
.kvs span { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kvs b { font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; }
.sess-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.bk-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--h-n0); margin: 4px 0 8px; }
.bk-bar i { display: block; height: 100%; min-width: 1px; }
.bk-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--ink-2); }
.bk-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.bk-leg em { font-style: normal; color: var(--ink-3); }
.tl { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.tl-row { display: grid; grid-template-columns: 48px 150px minmax(0, 1fr) 120px 64px; gap: 10px; align-items: center; padding: 6px 10px; border-top: 1px solid var(--line); font-size: 12.5px; }
.tl-row:first-child { border-top: 0; }
.tl-t { color: var(--ink-3); }
.tl-app { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.tl-n small.tl-w { display: block; color: var(--bad); font-size: 11px; }
.tl-bar { height: 8px; background: var(--h-n0); border-radius: 4px; overflow: hidden; }
.tl-bar i { display: block; height: 100%; border-radius: 4px; }
.tl-row.tl-interruption, .tl-row.tl-idle { background: #FFF7ED; }
.tl-row.tl-unapproved { background: var(--bad-bg); }
.tl-row.tl-handoff { background: var(--panel-2); color: var(--ink-2); }
.tl-row.tl-rep { background: #FFFBEB; }
.cks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ck { display: flex; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; }
.ck b { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; flex: none; }
.ck.ok b { background: var(--ok-bg); color: var(--ok); }
.ck.bad { border-color: #F3B4AE; background: #FFF8F7; }
.ck.bad b { background: var(--bad-bg); color: var(--bad); }
.ck small { display: block; color: var(--ink-3); font-size: 11.5px; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.shot small { display: block; font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.shot-img { aspect-ratio: 16 / 10; border-radius: 6px; border: 1px solid var(--line); background: linear-gradient(180deg, #E8EDFD 0 14%, #fff 14%); position: relative; overflow: hidden; }
.shot-img span { position: absolute; top: 3px; left: 6px; font-size: 9.5px; font-weight: 600; color: var(--tc-ink); }
.shot-img i { position: absolute; left: 8%; right: 30%; height: 6%; background: #E6EAF2; border-radius: 2px; top: 30%; }
.shot-img i + i { top: 46%; right: 45%; }
.shot-img i.redact { top: 62%; left: 8%; right: 40%; height: 14%; background: #0E1630; color: #fff; font-size: 8px; font-style: normal; display: grid; place-items: center; }
.comp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; font-size: 12.5px; margin-top: 8px; }
.comp div { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.comp i { width: 10px; height: 10px; border-radius: 3px; }
.strip { position: relative; height: 28px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.strip i { position: absolute; top: 4px; bottom: 4px; border-radius: 2px; opacity: .9; }
.strip-lunch { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, #E6EAF2 0 4px, #F4F6FA 4px 8px); }
.strip-ax { position: relative; height: 16px; font-size: 10.5px; color: var(--ink-3); }
.strip-ax span { position: absolute; transform: translateX(-50%); }
.strip-leg { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: var(--ink-2); margin-top: 4px; }
.strip-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.why-card { border-left: 3px solid var(--tc); }
.factor { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 10px; align-items: center; padding: 7px 6px; border-top: 1px solid var(--line); font-size: 13px; cursor: pointer; border-radius: 6px; }
.factor:first-child { border-top: 0; }
.factor:hover { background: var(--panel-2); }
.factor b { text-align: right; font-variant-numeric: tabular-nums; }
.factor small { display: block; color: var(--ink-3); font-size: 11.5px; }
.bridge { display: flex; align-items: stretch; margin: 4px 0 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.bridge > div { flex: 1; padding: 10px 14px; border-left: 1px solid var(--line); min-width: 0; }
.bridge > div:first-child { border-left: 0; }
.bridge span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.bridge b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.bridge small { display: block; color: var(--ink-3); font-size: 12px; }
.bridge > div.hl { background: var(--tc-bg); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
#loading { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 100; font-weight: 600; color: var(--ink-2); }
#loading div { text-align: center; }
#loading small { display: block; font-weight: 400; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 1180px) { .g-4, .g-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kv-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .top .period span, .ccy { display: none; }
  .tl-row { grid-template-columns: 44px minmax(0, 1fr) 56px; } .tl-app, .tl-bar { display: none; }
  .cks, .comp { grid-template-columns: minmax(0, 1fr); } .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-4, .g-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bridge { flex-wrap: wrap; } .bridge > div { flex: 1 1 45%; }
}
@media (max-width: 520px) { .g-4, .g-6, .kv-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .top .period { min-width: 0; } }

.tbl .link { text-align: left; }

.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; }

.tabs { overflow-x: auto; scrollbar-width: thin; }
.tabs button { white-space: nowrap; flex: none; }
