
#status-row{
  --s1:#0b1c14;--s2:#10261b;--s3:#163223;--line:rgba(247,240,226,.08);--ink:#f4ecdc;--grey:#93a39a;
  --lei:#3b6fc4;--mun:#c0453f;--con:#3a9a57;--uls:#d1aa3a;--acct:#e0b03a;--gold:#e0b03a;--t1:12px;--t2:14px;
  --tlei:#86aaf0;--tmun:#ea8a84;--tcon:#71c98e;--tuls:#e0c36a;--cardbg:#0b1c14;--sh1:none;
  margin:.4rem 0 .7rem; color:var(--ink);
}
html[data-theme=light] #status-row, body.t-light #status-row, :root:not([data-theme=dark]) #status-row{
  /* Prefer site theme tokens when light */
}
#status-row .sts{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr);gap:12px}
#status-row .stt{background:var(--s1, #0b1c14);border-radius:8px;padding:12px 14px;min-width:0;display:flex;flex-direction:column;border:1px solid color-mix(in srgb, var(--line, #455044) 70%, transparent)}
#status-row .stt .cap{font-size:var(--t1,12px);font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--grey,#93a39a);display:flex;gap:6px;align-items:center;margin:0}
#status-row .stt .cap .ic,#status-row .stt .cap .ri{width:14px;height:14px;flex:none}
#status-row .stt .cap .ri{color:var(--acct,#e0b03a);fill:var(--acct,#e0b03a)}
#status-row .stt .chk{margin-top:auto;padding-top:6px;display:flex;gap:6px;align-items:flex-start;flex-wrap:nowrap;font-size:11px;color:var(--grey,#93a39a);overflow:hidden}
#status-row .stt .chk .ic{width:12px;height:12px;margin-top:2px;flex:none}
#status-row .stt .chk a{color:var(--grey,#93a39a);text-decoration:underline;text-underline-offset:2px}
#status-row .stt .chk span{overflow:visible;text-overflow:clip;white-space:normal}
#status-row .stl{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:6px;font-size:var(--t1,12px)}
#status-row .stl .l,#status-row a.l{color:var(--acct,#e0b03a);font-weight:600;display:inline-flex;align-items:center;gap:4px}
#status-row .stl .ic{width:14px;height:14px}
#status-row .meta{font-size:var(--t1,12px);color:var(--grey,#93a39a)}
#status-row .urc{margin-top:6px;display:grid;gap:3px}
#status-row .urow{display:grid;grid-template-columns:4px minmax(0,1fr) 40px 52px auto;gap:8px;align-items:center;font-size:var(--t1,12px);padding:2px 0;border-radius:4px}
#status-row .urow .band{align-self:stretch;border-radius:2px;background:var(--c)}
#status-row .urow .nmx{font-weight:700;white-space:nowrap;overflow:visible;text-overflow:clip}
#status-row .urow .num{font-size:17px;font-variant-numeric:tabular-nums}
#status-row .urow small{color:var(--grey,#93a39a);font-size:10px}
#status-row .form{display:flex;gap:3px;margin:0;align-items:center}
#status-row .form b{width:18px;height:18px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;font-family:"Barlow Condensed",BC,system-ui,sans-serif;font-weight:800;font-size:11px}
#status-row .form .W{background:#2f8a5c;color:#fff}
#status-row .form .L{background:var(--s3,#163223);color:var(--ink,#f4ecdc)}
#status-row .form .D{background:var(--s2,#10261b);color:var(--ink,#f4ecdc);box-shadow:inset 0 0 0 1.5px var(--grey,#93a39a)}
#status-row .c-lei{--c:var(--lei,#3b6fc4)}#status-row .c-mun{--c:var(--mun,#c0453f)}#status-row .c-con{--c:var(--con,#3a9a57)}#status-row .c-uls{--c:var(--uls,#d1aa3a)}
#status-row .kot{margin:8px 0 0;font-size:var(--t2,14px)}
#status-row .big2{font-size:24px;color:var(--acct,#e0b03a);vertical-align:-2px;font-weight:700;margin-right:4px}
#status-row .sthint{display:none;gap:6px;align-items:center;font-size:11px;color:var(--grey,#93a39a);margin:4px 0 0}
#status-row #status-row{display:none!important} /* replaced by mock treatment */
@media(max-width:700px){
  #status-row .sts{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:8px;margin:0 -12px;padding:0 12px 2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  #status-row .sts::-webkit-scrollbar{display:none}
  #status-row .stt{flex:0 0 86%;scroll-snap-align:start;padding:10px 12px}
  #status-row .stt .chk{font-size:10px}
  #status-row .sthint{display:flex}
  #status-row .urow{grid-template-columns:4px 64px 34px 46px minmax(0,1fr);gap:6px}
  #status-row .urow .nmx{font-size:12px}
  #status-row #st-outs .meta,#status-row #st-abroad .meta{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}


@media (min-width:701px) and (max-width:1100px){
  #status-row .sts{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding:0 2px 4px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
  #status-row .stt{box-sizing:border-box;flex:0 0 380px;scroll-snap-align:start;min-width:380px}
  #status-row .urow{grid-template-columns:4px minmax(96px,1fr) 40px 52px 102px;gap:8px}
  #status-row .urow .nmx{overflow:visible;text-overflow:clip;white-space:nowrap}
  #status-row .form{flex-shrink:0;min-width:102px}
  #status-row .form b{flex:0 0 18px}
  #status-row .sthint{display:flex}
}

/* t2899/t2900/t2904: compact URC mini-table; Key outs live shape; content-sized swipe */
#status-row .sts{align-items:flex-start}
#status-row .stt{height:auto;align-self:flex-start}
#status-row .stt .chk{flex-wrap:wrap;overflow:visible}
#status-row .stt .chk span{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35;max-width:100%}
#status-row .urc-head{display:grid;grid-template-columns:4px minmax(0,1fr) 36px 28px auto;gap:6px 8px;align-items:end;padding:0 0 2px;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted,#8a94a0)}
#status-row .urc-head .h-pts,#status-row .urc-head .h-form{text-align:right}
#status-row .urow{display:grid;grid-template-columns:4px minmax(0,1fr) 36px 28px auto;gap:6px 8px;align-items:center;padding:5px 0;font-size:12px;min-height:0;border-top:1px solid color-mix(in srgb,currentColor 12%,transparent);font-variant-numeric:tabular-nums lining-nums}
#status-row .urow:first-child{border-top:0}
#status-row .urow .dot{width:4px;height:4px;border-radius:50%;background:var(--c,currentColor);justify-self:center}
#status-row .urow .nmx{font-size:12px;font-weight:700;line-height:1.15}
#status-row .urow .ps{font-size:11px;font-weight:600;color:var(--muted,#8a94a0);text-align:right}
#status-row .urow .pt{font-size:13px;font-weight:800;text-align:right;line-height:1.1}
#status-row .urow .band{display:none}
#status-row .form{display:inline-flex;gap:2px;justify-content:flex-end}
#status-row .form b{width:15px;height:15px;font-size:9px;border-radius:3px;display:inline-flex;align-items:center;justify-content:center}
#status-row .c-lei{--c:var(--k-lei-p,#023ea5)}
#status-row .c-mun{--c:var(--k-mun-p,#ad0111)}
#status-row .c-con{--c:var(--k-con-p,#324e4b)}
#status-row .c-uls{--c:var(--k-uls-p,#f4f6f4)}
#status-row .c-uls .dot{box-shadow:0 0 0 1px var(--k-uls-p-ed,#8a8e8a)}
html[data-theme=light] #status-row .c-uls .dot,
body.t-light #status-row .c-uls .dot{box-shadow:0 0 0 1px var(--k-uls-p-et,#5c636a)}
#status-row .sthint{font-size:11px;opacity:.75;margin:.35rem 0 0}
@media(max-width:700px){
  #status-row .sts{align-items:flex-start}
  #status-row .stt{flex:0 0 88%;height:auto;min-height:0}
  #status-row .urc-head,#status-row .urow{grid-template-columns:4px minmax(52px,1fr) 32px 26px auto;gap:4px 6px}
}
#status-row #st-outs .kot{min-height:3.9em;margin:6px 0 0;font-size:13px;line-height:1.3}
#status-row .kot-next{margin-top:8px}

/* t2904: kill #brief .pt pitch-tile styles leaking onto URC points */
#brief #status-row .urow .pt,
#status-row .urow .pt{
  display:block!important;grid-template:none!important;grid-template-rows:none!important;
  border:0!important;box-shadow:none!important;background:none!important;
  padding:0!important;margin:0!important;min-height:0!important;height:auto!important;
  width:auto!important;border-radius:0!important;justify-items:stretch!important;
  font-size:13px!important;font-weight:800!important;text-align:right!important;line-height:1.1!important;
  color:inherit!important;
}
#brief #status-row .urow .ps,
#status-row .urow .ps{display:block!important;border:0!important;background:none!important;padding:0!important;min-height:0!important}
#status-row .urow{min-height:0!important;align-items:center}
#status-row .urow .dot{width:4px;height:4px;min-height:4px;align-self:center}

/* t2905: Key outs wrap inside card */
#status-row .stt,
#status-row #st-outs{
  min-width:0;
  overflow:visible;
}
#status-row #st-outs .kot,
#status-row .stt .kot{
  white-space:normal!important;
  overflow-wrap:anywhere;
  word-wrap:break-word;
  word-break:normal;
  hyphens:manual;
  display:-webkit-box!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
  text-overflow:ellipsis;
  max-height:calc(1.3em * 3);
  min-height:0;
  line-height:1.3;
  font-size:13px;
  margin:6px 0 0;
}
#status-row .stt .chk{
  flex-wrap:wrap!important;
  overflow:visible!important;
  white-space:normal!important;
  align-items:flex-start;
  gap:6px;
  max-width:100%;
}
#status-row .stt .chk span{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere;
  word-wrap:break-word;
  line-height:1.35;
  max-width:100%;
  flex:1 1 auto;
  min-width:0;
}
#status-row .stt .chk .ic{flex:none}

/* t2906: Fan FAIL dark-card links + URC names + sthint */

/* 1) Links on dark cards must stay light-gold even when light-theme --gold-text is #7a5c0e.
   .brief a:link / a:link { color: var(--gold-text) } otherwise beats .proposal-body a. */
.proposal-match,
.proposal-match .proposal-body,
#status-row,
#status-row .stt,
#status-row .status-card{
  --gold-text:#e0b03a;
  --gold-soft:#c9a227;
}
#brief .proposal-match a:link,
#brief .proposal-match a:visited,
#brief .proposal-match a:hover,
#brief .proposal-body a:link,
#brief .proposal-body a:visited,
#brief .proposal-body a:hover,
.proposal-match a:link,
.proposal-match a:visited,
.proposal-match a:hover,
#status-row a:link,
#status-row a:visited,
#status-row a:hover,
#status-row .status-card a:link,
#status-row .status-card a:visited{
  color:#f3d47d;
}
#brief .proposal-match a:hover,
#brief .proposal-body a:hover,
.proposal-match a:hover,
#status-row a:hover{
  color:#ffe9a8;
}

/* 2) URC province names: never ellipsis to L.. — reserve name column, form is max-content */
#status-row .urc-head,
#status-row .urow{
  grid-template-columns:4px minmax(7.5ch,1fr) 2.75em 2.25em max-content !important;
}
#status-row .urow .nmx{
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  min-width:7.5ch;
}
@media(max-width:700px){
  #status-row .urc-head,
  #status-row .urow{
    grid-template-columns:4px minmax(7.5ch,1fr) 2.5em 2em max-content !important;
  }
}

/* 3) Light-theme swipe hint: AA contrast on page background (drop .75 opacity grey) */
html[data-theme=light] #status-row .sthint,
body.t-light #status-row .sthint{
  color:#2f3f37;
  opacity:1;
}
