/* CORE — one stylesheet for every page. Navy #3D3D8F · Magenta #E5007E · Montserrat */

:root {
  --navy: #3D3D8F; --navy-2: #2E2E70; --magenta: #E5007E; --magenta-soft: #FCE6F2;
  --bg: #F5F5FA; --panel: #FFFFFF; --panel-2: #F0F0F7; --line: #E2E2EE; --line-2: #CFCFE0;
  --ink: #1C1C33; --ink-2: #4A4A68; --muted: #75759A;
  --ok: #138A5A; --ok-soft: #E3F5EC; --warn: #B7791F; --warn-soft: #FDF3DD; --bad: #C8283C; --bad-soft: #FBE7EA;
  --info-soft: #E9E9F7; --focus: #E5007E;
  --shadow: 0 1px 2px rgba(28,28,51,.06), 0 4px 16px rgba(28,28,51,.05);
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #9C9CF0; --navy-2: #B8B8F7; --magenta: #FF4FA8; --magenta-soft: #3A1B2E;
    --bg: #12121E; --panel: #1B1B2B; --panel-2: #23233A; --line: #2D2D46; --line-2: #3B3B5A;
    --ink: #ECECF8; --ink-2: #C4C4DC; --muted: #9393B4;
    --ok: #4FD39A; --ok-soft: #173327; --warn: #F2B84B; --warn-soft: #3A2E15; --bad: #FF7A8A; --bad-soft: #3D1A22;
    --info-soft: #25253E; --shadow: 0 1px 2px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --navy: #9C9CF0; --navy-2: #B8B8F7; --magenta: #FF4FA8; --magenta-soft: #3A1B2E;
  --bg: #12121E; --panel: #1B1B2B; --panel-2: #23233A; --line: #2D2D46; --line-2: #3B3B5A;
  --ink: #ECECF8; --ink-2: #C4C4DC; --muted: #9393B4;
  --ok: #4FD39A; --ok-soft: #173327; --warn: #F2B84B; --warn-soft: #3A2E15; --bad: #FF7A8A; --bad-soft: #3D1A22;
  --info-soft: #25253E; --shadow: 0 1px 2px rgba(0,0,0,.3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 Montserrat, "Segoe UI", Arial, sans-serif; }
a { color: var(--navy); }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h1 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 16px; font-weight: 700; }
h3 { font-size: 14px; font-weight: 700; }
p { margin: 0 0 10px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- top bar ---------- */
.top { background: var(--navy-2); color: #fff; position: sticky; top: 0; z-index: 20; }
:root[data-theme="dark"] .top { background: #191932; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .top { background: #191932; } }
.top-in { max-width: 1280px; margin: 0 auto; padding: 0 20px; min-height: 58px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.core-mark { display: block; color: #fff; flex: none; }
.core-mark.on-light { color: var(--navy); }
.login-logo { flex-wrap: wrap; row-gap: 10px; }
.login-logo .login-sub { font-size: 12px; line-height: 1.45; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-top: 0; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: 0; }
.brand .logo { display: block; flex: none; }
.brand-sub { font-size: 13px; font-weight: 600; opacity: .8; letter-spacing: .02em; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.3); }
.nav { display: flex; gap: 2px; flex-wrap: wrap; flex: 1; }
.nav a { color: rgba(255,255,255,.78); text-decoration: none; font-weight: 600; font-size: 12.5px; padding: 18px 7px 16px; border-bottom: 3px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: #E5007E; }
.who { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 13px; }
.who a { color: #fff; font-weight: 600; text-decoration: none; }
.who form { margin: 0; }
.who button { background: transparent; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.3); border-radius: 6px; padding: 5px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.who button:hover { background: rgba(255,255,255,.1); }
.acct { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 7px; overflow: hidden; }
.who .acct a { padding: 4px 10px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.75); letter-spacing: .03em; }
.who .acct a[aria-current] { background: #fff; color: #3D3D8F; }
.who .acct a:not([aria-current]):hover { background: rgba(255,255,255,.12); }
.acct-tag { font-size: 11px; font-weight: 800; letter-spacing: .05em; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: 3px 7px; }

/* ---------- page ---------- */
main { max-width: 1280px; margin: 0 auto; padding: 24px 20px 60px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head p { margin: 4px 0 0; color: var(--ink-2); }
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 18px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-head p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.narrow { max-width: 460px; margin: 40px auto; }
.mid { max-width: 820px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }

/* ---------- buttons and fields ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); border-radius: 8px; padding: 8px 14px; font: 600 13px Montserrat, "Segoe UI", Arial, sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--navy); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
:root[data-theme="dark"] .btn.primary { color: #12121E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.primary { color: #12121E; } }
.btn.primary:hover { filter: brightness(1.08); }
.btn.accent { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.btn.danger { color: var(--bad); }
.btn.danger:hover { border-color: var(--bad); }
.btn.small { padding: 5px 10px; font-size: 12px; }
.btn.link { border: 0; background: none; padding: 0; color: var(--navy); text-decoration: underline; font-weight: 600; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
form.inline { display: inline; margin: 0; }
label { font-weight: 600; font-size: 12.5px; color: var(--ink-2); }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=date], input[type=time], input[type=search], select, textarea {
  font: 14px Montserrat, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; width: 100%; }
textarea { min-height: 84px; resize: vertical; line-height: 1.45; }
input[type=number] { max-width: 110px; }
select.compact, input.compact { width: auto; padding: 6px 8px; font-size: 13px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.row > .field { flex: 1 1 160px; }
.choice { display: flex; gap: 8px; flex-wrap: wrap; }
.choice label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--ink); background: var(--panel); }
.choice input { accent-color: var(--magenta); margin: 0; }
.choice label:has(input:checked) { border-color: var(--magenta); background: var(--magenta-soft); }
.req::after { content: " *"; color: var(--magenta); }

/* ---------- messages ---------- */
.message { border-radius: 8px; padding: 10px 14px; margin: 0 0 16px; border: 1px solid var(--line); background: var(--info-soft); }
.message[data-kind="ok"] { background: var(--ok-soft); border-color: transparent; }
.message[data-kind="warn"] { background: var(--warn-soft); border-color: transparent; }
.message[data-kind="error"] { background: var(--bad-soft); border-color: transparent; }
.copyline { display: flex; gap: 8px; margin-top: 8px; }
.copyline input { font-size: 12.5px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
.t th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 8px 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.t td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr:hover td { background: var(--panel-2); }
.t tfoot td { font-weight: 700; border-top: 1px solid var(--line-2); border-bottom: 0; }
.t .sub { display: block; font-size: 11.5px; color: var(--muted); }
.t tr.is-off td { opacity: .55; }
.t tr.is-done td { background: color-mix(in srgb, var(--ok-soft) 55%, transparent); }
.empty { text-align: center; color: var(--muted); padding: 26px 10px !important; }

/* ---------- pills, bars, stats ---------- */
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.navy { background: var(--info-soft); color: var(--navy); }
.pill.mag { background: var(--magenta-soft); color: var(--magenta); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.stat .k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.stat .v { font-size: 26px; font-weight: 800; margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: 14px; font-weight: 600; color: var(--muted); }
.stat .d { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.meter { height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; margin-top: 8px; display: flex; }
.meter > i { display: block; height: 100%; background: var(--navy); width: 0; }
.meter > i.m2 { background: var(--magenta); }
.meter.big { height: 12px; }
.cbar { display: flex; align-items: center; gap: 8px; min-width: 140px; }
.cbar .meter { flex: 1; margin: 0; }
.cbar b { font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; font-size: 12.5px; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink-2); flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; background: var(--navy); }
.legend i.m2 { background: var(--magenta); }
.legend i.m3 { background: var(--line-2); }
.trend { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; align-items: end; height: 170px; padding-top: 8px; }
.trend .col { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.trend .bars { width: 100%; max-width: 46px; display: flex; flex-direction: column-reverse; height: 120px; background: var(--panel-2); border-radius: 6px 6px 2px 2px; overflow: hidden; position: relative; }
.trend .bars i { display: block; width: 100%; background: var(--navy); }
.trend .bars i.m2 { background: var(--magenta); }
.trend .bars .goal { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--ink-2); }
.trend .lbl { font-size: 11px; color: var(--muted); white-space: nowrap; }
.trend .val { font-size: 12px; font-weight: 700; }

/* ---------- week page ---------- */
.weekbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.weekbar .wk { font-weight: 700; padding: 0 6px; }
.plan-num { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; background: var(--info-soft); color: var(--navy); }
.plan-num.mo { background: var(--magenta-soft); color: var(--magenta); }
.plan-num.fr { background: var(--panel-2); color: var(--ink-2); }
.actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.csat-val { font-weight: 800; font-variant-numeric: tabular-nums; }
.csat-val.low { color: var(--bad); }
.csat-val.mid { color: var(--warn); }
.csat-val.hi { color: var(--ok); }
details.more { margin-top: 6px; }
details.more summary { cursor: pointer; color: var(--navy); font-weight: 600; font-size: 12.5px; }

/* ---------- coaching form / detail ---------- */
.who-card { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--panel-2); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; }
.who-card .name { font-size: 16px; font-weight: 800; }
.who-card .facts { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.prev { border-left: 4px solid var(--magenta); background: var(--magenta-soft); border-radius: 0 8px 8px 0; padding: 10px 14px; margin-bottom: 16px; }
.prev .q { margin-top: 8px; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 18px; margin-bottom: 14px; }
.kv .k { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.kv .v { font-weight: 600; }
.block { margin: 0 0 14px; }
.block .k { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; margin-bottom: 3px; }
.block .v { white-space: pre-wrap; }

/* ---------- import diff ---------- */
.diff-sum { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.dropzone { border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 22px; text-align: center; background: var(--panel-2); }
.dropzone.over { border-color: var(--magenta); }

/* ---------- interpreter page (ack) ---------- */
.ack-head { background: var(--navy-2); color: #fff; }
.ack-head .top-in { min-height: 54px; }
.answer { display: block; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; background: var(--panel); }
.answer:has(input:checked) { border-color: var(--magenta); background: var(--magenta-soft); }
.answer input { accent-color: var(--magenta); margin-right: 8px; }
.answer b { font-size: 14px; color: var(--ink); }
.answer span { display: block; font-weight: 400; color: var(--ink-2); margin: 2px 0 0 24px; font-size: 12.5px; }

@media (max-width: 720px) {
  .top-in { gap: 8px; padding: 8px 14px; }
  .nav a { padding: 8px 8px; }
  .brand-sub { display: none; }
  main { padding: 16px 14px 50px; }
  .card { padding: 14px; }
}
@media print {
  .top, .toolbar, .actions, .btn { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; }
}
.t th.num { text-align: right; }
.theme-btn::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); vertical-align: -2px; }
.cbar b { line-height: 1; }
.login-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.login-word { font-size: 28px; font-weight: 700; letter-spacing: -.01em; line-height: .9; color: var(--navy); }
.login-sub { font-size: 13px; font-weight: 700; letter-spacing: .03em; color: var(--magenta); margin-top: 5px; }
.form-sec { margin: 6px 0 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.form-sec .hint { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.nowpair { display: flex; gap: 6px; }
.nowpair input { min-width: 0; }
.row > .field.grow2 { flex: 2 1 320px; }
input[readonly] { background: var(--panel-2); }
.v-calc { font-size: 22px; font-weight: 800; color: var(--navy); padding: 4px 2px; }
.row.tight > .field { flex: 1 1 100px; }
.row.tight { align-items: flex-end; }
.backbar { max-width: 1280px; margin: 0 auto; padding: 14px 20px 0; }
.backbar + main { padding-top: 10px; }
.back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none; padding: 5px 10px 5px 6px; border-radius: 6px; }
.back:hover { background: var(--info-soft); }
.backbar:has(+ main.mid) { max-width: 820px; }

/* Interpreters tab */
.toolbar.spaced { margin: 0 0 12px; gap: 14px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: var(--panel); }
.seg a { padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.seg a + a { border-left: 1px solid var(--line-2); }
.seg a[aria-current] { background: var(--navy); color: var(--panel); }
.t.counts td.num, .t.counts th.num { min-width: 52px; }
.t.counts th.now { color: var(--magenta); }
.t .cnt { display: inline-block; min-width: 26px; text-align: center; padding: 2px 7px; border-radius: 999px; background: var(--info-soft); color: var(--navy); font-weight: 700; text-decoration: none; }
.t .cnt:hover { background: var(--navy); color: var(--panel); }
.t .zero { color: var(--muted); }
.t tfoot th { border-top: 1px solid var(--line-2); border-bottom: 0; color: var(--ink); }
.toolbar input[type=search][name=q] { min-width: 250px; }
.weekpick { margin-top: 10px; }
/* time card on a coaching, KPI templates */
.timecard .times { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 18px; }
.timecard .times .k { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.timecard .times .v { font-size: 22px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.timecard details.more { margin-top: 12px; }
details.tpl { border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
details.tpl summary { cursor: pointer; display: flex; gap: 10px; align-items: center; }
details.tpl[open] summary { margin-bottom: 10px; }
.prevcard .prev { margin-bottom: 0; } .prevcard h2 { margin-bottom: 10px; }
/* Interpreters tab: every column centered except the interpreter's name */
.t.counts th, .t.counts td, .t.counts th.num, .t.counts td.num { text-align: center; }
.t.counts th:first-child, .t.counts td:first-child { text-align: left; }
.trend .val small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 1px; font-variant-numeric: tabular-nums; }
.trend { height: 188px; } .trend .val { text-align: center; line-height: 1.2; }
/* tables with every column centered except the first */
.t.center th, .t.center td, .t.center th.num, .t.center td.num { text-align: center; }
.t.center th:first-child, .t.center td:first-child { text-align: left; }
.t.center .cbar { justify-content: center; }
.weekpick form.inline, .toolbar form.inline { display: inline-flex; gap: 8px; align-items: center; }
.pickpair { display: flex; gap: 8px; flex-wrap: wrap; }
[hidden] { display: none !important; }
.live-note { margin: 6px 0 0; }
.livebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--magenta-soft); border: 1px solid var(--magenta); border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; }
.livebar .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); margin-right: 8px; animation: pulse-dot 1.4s infinite; }
@keyframes pulse-dot { 50% { opacity: .25; } }
.pill.live { background: var(--magenta-soft); color: var(--magenta); }
/* News */
.editor { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--panel); }
.ed-bar { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 8px; background: var(--panel-2); border-bottom: 1px solid var(--line-2); }
.ed-bar button { border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); border-radius: 6px; padding: 5px 9px; font: inherit; font-size: 12.5px; cursor: pointer; min-width: 32px; }
.ed-bar button:hover { border-color: var(--navy); color: var(--navy); }
.ed-bar select { width: auto; }
.ed-sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 4px; }
.ed-color { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--navy); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 6px; background: var(--panel); cursor: pointer; }
.ed-color input { width: 26px; height: 22px; padding: 0; border: 0; background: none; }
.ed-area { min-height: 220px; padding: 14px 16px; outline: none; line-height: 1.55; }
.ed-area:focus { box-shadow: inset 0 0 0 2px var(--focus); }
.news-body { line-height: 1.6; margin: 6px 0 14px; overflow-wrap: anywhere; }
.news-body ul, .news-body ol { padding-left: 22px; }
.news-files { display: flex; flex-direction: column; gap: 8px; }
.news-file { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; text-decoration: none; color: var(--ink); width: fit-content; max-width: 100%; margin: 4px 0; }
.news-file:hover { border-color: var(--navy); }
.news-media { margin: 12px 0; }
.news-media img, .news-media video { max-width: 100%; border-radius: 10px; display: block; }
.news-media audio { width: 100%; }
/* "Admin" menu in the top bar */
.navmore { position: relative; }
.navmore summary { list-style: none; cursor: pointer; color: rgba(255,255,255,.78); font-weight: 600; font-size: 12.5px; padding: 18px 7px 16px; border-bottom: 3px solid transparent; }
.navmore summary::-webkit-details-marker { display: none; }
.navmore summary:hover, .navmore[open] summary { color: #fff; }
.navmore summary[aria-current="page"] { color: #fff; border-bottom-color: #E5007E; }
.navmore .menu { position: absolute; top: 100%; left: 0; z-index: 50; min-width: 180px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 10px 30px rgba(20,20,60,.18); padding: 6px; display: flex; flex-direction: column; }
.navmore .menu a { color: var(--ink); padding: 9px 12px; border-radius: 6px; border: 0; font-size: 13px; }
.navmore .menu a:hover, .navmore .menu a[aria-current="page"] { background: var(--info-soft); color: var(--navy); }

.inline-check { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; margin-top: 22px; }
.inline-check input { width: 18px; height: 18px; margin: 0; }
.livebar.draftbar { background: var(--info-soft); border-color: var(--navy); }
.kv .v { overflow-wrap: anywhere; min-width: 0; }
.open-c { border-top: 1px dashed var(--line, #ddd); margin-top: 10px; padding-top: 10px; }
details.more summary.btn { display: inline-flex; list-style: none; font-size: 12.5px; } details.more summary.btn::-webkit-details-marker { display: none; } details.more[open] summary.btn { margin-bottom: 10px; }

.agent-link { color: inherit; text-decoration: none; } .agent-link:hover strong { text-decoration: underline; color: var(--navy); }
.viewas { display: inline-flex; white-space: nowrap; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .04em; }
.viewas select { font: inherit; font-size: 12px; text-transform: none; letter-spacing: 0; font-weight: 600; color: #3D3D8F; background: #fff; border: 0; border-radius: 6px; padding: 4px 6px; }

/* =====================================================================
   UX refresh (Oct 27 2026) — tighter layout, clearer hierarchy, one status
   system, sticky table headers, sortable columns, detail drawer, sticky
   save bar. Brand: Navy #3D3D8F · Magenta #E5007E · Montserrat.
   ===================================================================== */
:root { --radius: 12px; --shadow: 0 1px 2px rgba(28,28,51,.05), 0 2px 8px rgba(28,28,51,.04); --info: #2F6FD6; --info-bg: #E8F0FC; --top-h: 56px; }
:root[data-theme="dark"] { --info: #8DB4F5; --info-bg: #1B2740; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --info: #8DB4F5; --info-bg: #1B2740; } }
body { font-size: 13.5px; }
h1 { font-size: 21px; }
main { padding-top: 20px; }
.page-head { margin-bottom: 14px; align-items: center; }
.page-head p { font-size: 13px; color: var(--muted); }
.card { border-color: transparent; box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 14px; }
:root[data-theme="dark"] .card, :root[data-theme="dark"] .stat { border-color: var(--line); }
.card-head { margin-bottom: 10px; }
.card-head h2 { display: flex; align-items: center; gap: 8px; }
.card-head h2 .count { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--panel-2); border-radius: 999px; padding: 1px 8px; }

/* top bar: active section clearer, scrolls sideways on small screens, counters */
.top-in { min-height: var(--top-h); flex-wrap: nowrap; }
.nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0; }
.nav::-webkit-scrollbar { display: none; }
.nav a, .navmore summary { padding: 0 11px; height: var(--top-h); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border-bottom-width: 3px; font-size: 13px; }
.nav a[aria-current="page"], .navmore summary[aria-current="page"] { background: rgba(255,255,255,.08); }
.navmore .menu { top: calc(100% - 2px); }
.nav .nb { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font-size: 10.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.18); color: #fff; }
.nav .nb.bad { background: #E5007E; }
.navmore { position: static; }
@media (min-width: 721px) { .navmore { position: relative; } }
.who { flex: none; }
@media (max-width: 1100px) { .brand-sub { display: none; } }
@media (max-width: 720px) {
  .top-in { flex-wrap: wrap; padding: 6px 12px 0; }
  .nav { order: 3; flex: 1 0 100%; }
  .nav a, .navmore summary { height: 42px; padding: 0 10px; }
  .who .viewas span { display: none; }
}

/* buttons, fields, focus */
.btn { border-radius: 8px; padding: 7px 13px; transition: background .12s, border-color .12s; }
.btn.small { padding: 4px 10px; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--info-soft); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.req::after { content: " *"; color: var(--magenta); font-weight: 800; }

/* compact KPI strip: the first metric leads, the rest are secondary */
.stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat { border-color: transparent; padding: 11px 14px; }
.stat .k { font-size: 10.5px; }
.stat .v { font-size: 20px; }
.stat .v small { font-size: 12.5px; }
.stat .d { font-size: 11.5px; color: var(--muted); }
.stats > .stat:first-child { border-left: 4px solid var(--magenta); }
.stats > .stat:first-child .v { font-size: 24px; }
.meter.big { height: 8px; }

/* filters in one toolbar */
.filterbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 10px; margin-bottom: 14px; }
.filterbar .lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-right: 2px; }
.filterbar .sep { width: 1px; height: 24px; background: var(--line); margin: 0 4px; }
.filterbar form.inline { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filterbar .grow { flex: 1; }


/* one status system: soft colors + a symbol, never color alone */
.pill { font-size: 11px; padding: 2px 9px 2px 8px; border: 1px solid transparent; }
.pill.ok::before { content: "✓ "; }
.pill.bad::before { content: "! "; }
.pill.warn::before { content: "◷ "; }
.pill.live::before { content: "● "; }
.pill.info { background: var(--info-bg); color: var(--info); }
.pill.info::before { content: "◐ "; }
.pill.todo { background: var(--panel-2); color: var(--ink-2); border-color: var(--line-2); }
.pill.todo::before { content: "○ "; }
.pill.live { background: var(--info-bg); color: var(--info); }

/* tables */
.t th { font-size: 10.5px; padding: 9px 10px; background: var(--panel); }
.t td { padding: 9px 10px; }
.t td a:not(.btn):not(.pill):not(.cnt) { font-weight: 600; }
.t tbody tr:hover td { background: color-mix(in srgb, var(--info-soft) 55%, transparent); }
.t tr.is-done td { background: transparent; }
.t tr.is-done td:not(:last-child) { color: var(--ink-2); }
.t td .sub { overflow-wrap: anywhere; }
.t td.clip { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-wrap.tall { max-height: 68vh; overflow: auto; border-radius: 8px; }
.table-wrap.tall thead th { position: sticky; top: 0; z-index: 2; box-shadow: 0 1px 0 var(--line-2); }
.t th.sortable { cursor: pointer; user-select: none; }
.t th.sortable:hover { color: var(--navy); }
.t th.sortable::after { content: " ↕"; opacity: .35; font-size: 10px; }
.t th.sortable[aria-sort="ascending"]::after { content: " ↑"; opacity: 1; color: var(--magenta); }
.t th.sortable[aria-sort="descending"]::after { content: " ↓"; opacity: 1; color: var(--magenta); }
.empty { padding: 22px 10px !important; }
.empty::before { content: "—  "; opacity: .5; }

/* sections that stay at hand but secondary */
details.fold { padding: 0; }
details.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary h2 { font-size: 15px; }
details.fold > summary .hint { color: var(--muted); font-size: 12px; font-weight: 500; }
details.fold > summary::after { content: "Show ▾"; font-size: 12px; font-weight: 700; color: var(--navy); white-space: nowrap; }
details.fold[open] > summary::after { content: "Hide ▴"; }
details.fold > .fold-body { padding: 0 18px 16px; }
details.sub-fold { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
details.sub-fold > summary { cursor: pointer; font-weight: 700; font-size: 12.5px; color: var(--navy); padding: 4px 0; }

/* chips used as quick filters */
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.chip { border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2); border-radius: 999px; padding: 4px 11px; font: 600 12px Montserrat, "Segoe UI", Arial, sans-serif; cursor: pointer; }
.chip b { font-variant-numeric: tabular-nums; margin-left: 4px; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"] b { color: #fff; }
:root[data-theme="dark"] .chip[aria-pressed="true"], :root[data-theme="dark"] .chip[aria-pressed="true"] b { color: #12121E; }

/* coaching form: numbered sections and a save bar that stays in view */
.fsec { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 4px; margin: 0 0 14px; }
.fsec > legend, .fsec > .fsec-h { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); padding: 0 6px; margin-left: -6px; display: flex; align-items: center; gap: 8px; }
.fsec-h .n { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
:root[data-theme="dark"] .fsec-h .n { color: #12121E; }
.fsec-h .hint { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); font-size: 12px; }
.savebar { position: sticky; bottom: 0; z-index: 10; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: color-mix(in srgb, var(--panel) 92%, transparent); backdrop-filter: blur(6px); border-top: 1px solid var(--line); margin: 6px -18px -16px; padding: 12px 18px; border-radius: 0 0 var(--radius) var(--radius); }
.savebar .sb-sum { font-size: 12px; color: var(--muted); margin-right: auto; }
.savebar .sb-sum b { color: var(--ink); }
.savebar .sb-miss { color: var(--bad); font-weight: 700; }

/* detail drawer: open a coaching / interpreter without leaving the table */
.drawer-bg { position: fixed; inset: 0; background: rgba(20,20,45,.35); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .15s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(760px, 100vw); background: var(--bg); z-index: 61; box-shadow: -10px 0 30px rgba(20,20,60,.18); transform: translateX(100%); transition: transform .18s ease-out; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.drawer-head .dt { font-weight: 800; margin-right: auto; font-size: 14px; }
.drawer-body { overflow: auto; padding: 14px 16px 30px; flex: 1; }
.drawer-body main { padding: 0; max-width: none; }
.drawer-body .backbar { display: none; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-bg { transition: none; } }
.card, details.fold, fieldset.fsec { min-width: 0; } .fsec .row:last-child { margin-bottom: 0; }
#t-c td:nth-child(11), #t-c td:nth-child(12) { min-width: 240px; }
 .sb-sum .fsec-h { display: inline-flex; }
@media (max-width: 1440px) { .who .viewas span { display: none; } .viewas select { max-width: 160px; } }
@media (max-width: 720px) { .who { flex-wrap: wrap; justify-content: flex-end; gap: 6px; row-gap: 6px; } .who button { padding: 4px 8px; } .viewas select { max-width: 130px; } }
/* test kit (only in the tester build) */
.tk-fab { position: fixed; right: 18px; bottom: 18px; z-index: 900; background: #E5007E; color: #fff; border: 0; border-radius: 999px; padding: 12px 20px; font: 700 14px Montserrat, Segoe UI, Arial, sans-serif; box-shadow: 0 8px 24px rgba(229,0,126,.35); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.tk-fab:hover { background: #c4006b; }
.tk-badge { background: #fff; color: #E5007E; border-radius: 999px; font-size: 12px; min-width: 20px; padding: 1px 6px; }
.tk-badge:empty { display: none; }
.tk-back { position: fixed; inset: 0; z-index: 950; background: rgba(20,20,50,.45); display: flex; justify-content: flex-end; }
.tk-back[hidden] { display: none; }
.tk-panel { width: min(560px, 100%); height: 100%; background: var(--panel); color: var(--ink); display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,0,0,.25); font-family: Montserrat, Segoe UI, Arial, sans-serif; }
.tk-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: #2E2E70; color: #fff; font-size: 16px; }
.tk-x { background: none; border: 0; color: #fff; font-size: 18px; cursor: pointer; }
.tk-tabs { display: flex; border-bottom: 1px solid var(--line-2); }
.tk-tabs button { flex: 1; background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 8px; font: 600 13px Montserrat, sans-serif; color: var(--ink-2); cursor: pointer; }
.tk-tabs button.on { color: var(--navy); border-bottom-color: #E5007E; }
.tk-body { padding: 16px 18px; overflow: auto; flex: 1; font-size: 13.5px; }
.tk-name label, .tk-form label { display: block; font-weight: 600; font-size: 12.5px; margin-bottom: 10px; color: var(--ink-2); }
.tk-name input, .tk-form select, .tk-form textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; font-weight: 400; background: var(--panel); color: var(--ink); box-sizing: border-box; }
.tk-row { display: flex; gap: 10px; } .tk-row label { flex: 1; }
.tk-note { color: var(--ink-2); line-height: 1.5; margin: 6px 0 12px; }
.tk-muted { color: var(--muted); font-weight: 400; }
.tk-auto { font-size: 12px; color: var(--muted); line-height: 1.5; background: var(--panel-2); padding: 8px 10px; border-radius: 8px; }
.tk-tasks { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.tk-tasks li { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; }
.tk-tasks li.ok { border-color: #1f9d55; background: rgba(31,157,85,.06); }
.tk-tasks li.problem { border-color: #E5007E; background: rgba(229,0,126,.05); }
.tk-tasks p { margin: 4px 0 0; color: var(--ink-2); line-height: 1.45; font-size: 12.5px; }
.tk-btns { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.tk-btns button, .tk-primary { border: 0; border-radius: 8px; padding: 7px 10px; font: 700 12px Montserrat, sans-serif; cursor: pointer; white-space: nowrap; }
.tk-ok { background: #e3f5ea; color: #1f7a45; } .tk-bad { background: #fde6f1; color: #b8005f; }
.tk-primary { background: #3D3D8F; color: #fff; padding: 10px 16px; font-size: 13px; }
.tk-link { background: none; border: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font: inherit; font-size: 12px; }
.tk-actions { display: flex; gap: 12px; align-items: center; margin: 8px 0; }
.tk-st { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.tk-st.ok { background: #e3f5ea; color: #1f7a45; } .tk-st.problem { background: #fde6f1; color: #b8005f; }
.tk-tablewrap { overflow: auto; }
.tk-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.tk-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; color: var(--muted); padding: 6px; border-bottom: 1px solid var(--line-2); }
.tk-table td { padding: 6px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tk-toast { position: fixed; right: 18px; bottom: 80px; z-index: 1000; background: #1f7a45; color: #fff; padding: 10px 16px; border-radius: 8px; font: 600 13px Montserrat, sans-serif; }
@media print { #tk-root { display: none; } }

.tk-fabs { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; gap: 10px; align-items: center; }
.tk-fabs .tk-fab { position: static; }
.tk-fab2 { background: #3D3D8F; box-shadow: 0 8px 24px rgba(61,61,143,.35); }
.tk-fab2:hover { background: #2E2E70; }
.tk-fab2.empty { opacity: .55; }

/* ===================== Enterprise refresh (calm, structured) ===================== */
:root { --bg: #F7F7FA; --line: #E6E6EF; --line-2: #D6D6E4; --radius: 10px; --shadow: 0 1px 2px rgba(28,28,51,.04); --muted: #6E6E8E; }
:root[data-theme="dark"] { --bg: #12121E; --line: #2A2A42; --line-2: #3A3A58; --shadow: none; --muted: #9A9AB8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #12121E; --line: #2A2A42; --line-2: #3A3A58; --shadow: none; --muted: #9A9AB8; } }
body { font-size: 13.5px; letter-spacing: 0; }
main { padding-top: 28px; }
h1 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
h2 { font-size: 15px; font-weight: 700; }
.page-head { margin-bottom: 20px; }
.page-head p { font-size: 13px; color: var(--muted); }

/* header: navy, calm nav, magenta indicator only for the active item */
.top { background: #3D3D8F; box-shadow: none; }
:root[data-theme="dark"] .top { background: #1C1C38; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .top { background: #1C1C38; } }
.nav a, .navmore summary { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.74); padding: 0 14px; border-bottom: 2px solid transparent; transition: color .12s; }
.nav a:hover, .navmore summary:hover { color: #fff; background: transparent; }
.nav a[aria-current="page"], .navmore summary[aria-current="page"] { color: #fff; background: transparent; border-bottom-color: #E5007E; }
.nav .nb { background: rgba(255,255,255,.16); font-weight: 700; }
.who { gap: 12px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.14); }

/* surfaces: white, thin border, restrained shadow */
.card, .stat, .filterbar, .wk-panel, .kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { padding: 18px 20px; margin-bottom: 16px; }
.card-head h2 { font-size: 15px; font-weight: 700; }
.card-head p { font-size: 12.5px; color: var(--muted); }
.filterbar { padding: 8px 12px; margin-bottom: 20px; }
.stats { gap: 12px; margin-bottom: 20px; }
.stats > .stat:first-child { border-left: 1px solid var(--line); }
.stat { padding: 14px 16px; }
.stat .k { font-size: 12px; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink-2); }
.stat .v, .stats > .stat:first-child .v { font-size: 22px; font-weight: 700; }
details.fold > summary { padding: 14px 18px; }

/* status badges: compact, no symbols */
.pill { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; border: 0; }
.pill::before { content: none !important; }
.pill.todo { background: var(--panel-2); color: var(--ink-2); border: 0; }
.pill.navy { background: color-mix(in srgb, var(--navy) 10%, transparent); color: var(--navy); }
.pill.mag { background: color-mix(in srgb, var(--magenta) 10%, transparent); color: var(--magenta); }

/* buttons */
.btn { border-radius: 6px; font-weight: 600; transition: background .12s, border-color .12s, color .12s; }
.btn.small { padding: 5px 12px; font-size: 12.5px; }
.btn.primary { background: var(--navy); border-color: var(--navy); }
.btn.primary:hover { filter: none; background: var(--navy-2); border-color: var(--navy-2); }
:root[data-theme="dark"] .btn.primary:hover { background: var(--navy); filter: brightness(1.1); }

/* tables */
.t th { font-size: 11.5px; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); background: transparent; padding: 10px 12px; }
.t td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.t tbody tr:hover td { background: var(--panel-2); }
.t td a:not(.btn):not(.pill):not(.cnt) { font-weight: 600; color: var(--ink); text-decoration: none; }
.t td a:not(.btn):not(.pill):not(.cnt):hover { color: var(--navy); text-decoration: underline; }
.ta-r { text-align: right; white-space: nowrap; }

/* My week: KPIs */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi { padding: 16px 20px; min-width: 0; }
.kpi-k { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.kpi-v { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; font-size: 26px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi-v small { font-size: 13px; font-weight: 500; color: var(--muted); }
.kpi-pct { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.kpi .meter { height: 6px; margin-top: 10px; }
.kpi .meter > i { background: var(--magenta); }
.kpi .meter > i.m2 { background: color-mix(in srgb, var(--magenta) 45%, transparent); }
.kpi-d { margin-top: 8px; font-size: 12px; color: var(--muted); }

/* My week: two areas */
.wk-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; margin-bottom: 28px; }
.wk-panel { padding: 4px 0 8px; min-width: 0; scroll-margin-top: 72px; }
.wk-panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 20px 10px; }
.wk-panel-h h2 { font-size: 16px; font-weight: 700; color: var(--ink); }
.np-form { display: inline-flex; gap: 6px; align-items: center; }
.np-form select { max-width: 230px; }
.ns-list { list-style: none; margin: 0; padding: 0; }
.ns-row { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-top: 1px solid var(--line); }
.ns-list > .ns-row:first-child { border-top: 0; }
.ns-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ns-t { font-size: 14px; font-weight: 600; color: var(--ink); }
.ns-d { font-size: 12.5px; color: var(--muted); }
.ns-n { flex: 0 0 auto; min-width: 28px; text-align: center; font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.ns-row .btn { flex: 0 0 auto; min-width: 88px; justify-content: center; }
.ns-h { margin: 8px 20px 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--muted); }
.ns-list.is-wait .ns-row:first-child { border-top: 0; }
.ns-list.is-wait .ns-t { font-weight: 500; color: var(--ink-2); }
.ns-row.is-urgent .ns-n, .ns-row.is-urgent .ns-t { color: var(--magenta); }
.ns-empty { margin: 0; padding: 8px 20px 12px; color: var(--muted); }
.tabs { display: flex; gap: 2px; padding: 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 10px 9px; cursor: pointer; white-space: nowrap; transition: color .12s; }
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--magenta); }
.tab-n { color: var(--muted); font-weight: 500; }
.wk-panel .table-wrap { padding: 0 8px; }
.wk-panel .t td.clip { max-width: 220px; }
.sec-h { font-size: 13px; font-weight: 600; color: var(--muted); margin: 4px 0 12px; }
.legend { display: none; }
@media (max-width: 960px) { .wk-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .kpis { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ns-row { flex-wrap: wrap; padding: 12px 16px; }
  .ns-txt { flex-basis: calc(100% - 44px); }
  .ns-row .btn { margin-left: auto; }
  .wk-panel-h, .tabs { padding-left: 16px; padding-right: 16px; }
  .np-form select { max-width: 100%; }
}

.wk-panel .t td:first-child { min-width: 170px; }
.attn-panel { margin-bottom: 16px; }
.wk-grid > .wk-panel { margin-bottom: 0; }
.attn-panel svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ===================== My Week (Team Lead): fidelity to the reference ===================== */
.mw { --mw-ink: #1E1E4B; --mw-muted: #5F5F7E; --mw-line: #ECECF4; --mw-card-sh: 0 1px 2px rgba(30,30,75,.04), 0 6px 24px rgba(30,30,75,.06); --mw-r: 16px;
  --tint-purple: #F1EEFB; --tint-blue: #EAF1FD; --tint-green: #E8F6EE; --ic-purple: #7B4FD6; --ic-blue: #2F6FD6; --ic-green: #1E9E5A;
  --b-csat: #ECEBFA; --b-kpi: #E6F0FD; --b-tl: #FCE8F2; --b-st: #EEF1FA; --b-kpi-t: #2F6FD6; --b-tl-t: #3D3D8F; --mw-green-bg: #F5FBF7;
  padding-top: 34px; }
:root[data-theme="dark"] .mw { --mw-ink: #ECECF8; --mw-muted: #A5A5C4; --mw-line: #2A2A42; --mw-card-sh: none; --tint-purple: #2A2342; --tint-blue: #1C2840; --tint-green: #183025; --ic-purple: #B79BF5; --ic-blue: #8DB4F5; --ic-green: #5FD39A;
  --b-csat: #2A2A4A; --b-kpi: #1C2840; --b-tl: #3A1B2E; --b-st: #25253D; --b-kpi-t: #8DB4F5; --b-tl-t: #F3A6CF; --mw-green-bg: #182A22; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mw { --mw-ink: #ECECF8; --mw-muted: #A5A5C4; --mw-line: #2A2A42; --mw-card-sh: none; --tint-purple: #2A2342; --tint-blue: #1C2840; --tint-green: #183025; --ic-purple: #B79BF5; --ic-blue: #8DB4F5; --ic-green: #5FD39A;
  --b-csat: #2A2A4A; --b-kpi: #1C2840; --b-tl: #3A1B2E; --b-st: #25253D; --b-kpi-t: #8DB4F5; --b-tl-t: #F3A6CF; --mw-green-bg: #182A22; } }
.mw svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* header */
.mw-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 26px; }
.mw-head h1 { font-size: 32px; font-weight: 800; letter-spacing: -.015em; color: var(--mw-ink); }
.mw-head p { margin: 6px 0 0; font-size: 15px; color: var(--mw-ink); opacity: .85; }
.mw-week { position: relative; display: inline-flex; align-items: center; background: var(--panel); border-radius: 12px; box-shadow: var(--mw-card-sh); border: 1px solid var(--mw-line); }
.mw-week-ic { position: absolute; left: 16px; color: var(--navy); display: inline-flex; pointer-events: none; }
.mw-week-chev { position: absolute; right: 14px; color: var(--mw-ink); display: inline-flex; pointer-events: none; }
.mw-week-chev svg { width: 16px; height: 16px; stroke-width: 2.2; }
.mw-week select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: 700 14.5px Montserrat, "Segoe UI", Arial, sans-serif; color: var(--mw-ink); padding: 14px 42px 14px 50px; cursor: pointer; border-radius: 12px; }
.mw-week select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* KPI cards */
.mw .kpis { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 24px; margin-bottom: 26px; }
.mw .kpi { display: flex; align-items: flex-start; gap: 18px; padding: 26px 30px 24px; border: 1px solid var(--mw-line); border-radius: var(--mw-r); box-shadow: var(--mw-card-sh); background: var(--panel); }
.mw .kpi.kpi-green { background: linear-gradient(135deg, var(--panel) 0%, var(--mw-green-bg) 100%); }
.kpi-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.kpi-ic svg { width: 26px; height: 26px; }
.ic-purple { background: var(--tint-purple); color: var(--ic-purple); }
.ic-blue { background: var(--tint-blue); color: var(--ic-blue); }
.ic-green { background: var(--tint-green); color: var(--ic-green); }
.kpi-b { flex: 1 1 auto; min-width: 0; padding-top: 6px; }
.mw .kpi-k { font-size: 18px; font-weight: 700; color: var(--mw-ink); }
.mw .kpi-v { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; font-size: 34px; line-height: 1; font-weight: 800; color: var(--mw-ink); }
.mw .kpi-of { font-size: 24px; font-weight: 800; }
.mw .kpi-v small { font-size: 16px; font-weight: 500; color: var(--mw-muted); margin-left: 4px; }
.mw .kpi-d { margin-top: 12px; font-size: 15px; color: var(--mw-muted); }
.kpi-bar { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.kpi-bar .meter { flex: 1 1 auto; height: 16px; margin: 0; border-radius: 99px; background: #EDEDF3; }
:root[data-theme="dark"] .kpi-bar .meter { background: #2A2A42; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kpi-bar .meter { background: #2A2A42; } }
.kpi-bar .meter > i, .kpi-bar .meter > i.m2 { background: var(--magenta); }
.kpi-bar .meter > i:first-child { border-radius: 99px 0 0 99px; }
.kpi-bar .meter > i:last-child { border-radius: 0 99px 99px 0; }
.kpi-bar b { font-size: 16px; font-weight: 800; color: var(--mw-ink); }
/* two areas 45 / 55 */
.mw .wk-grid { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: 24px; margin-bottom: 26px; align-items: stretch; }
.mw .wk-panel { border: 1px solid var(--mw-line); border-radius: var(--mw-r); box-shadow: var(--mw-card-sh); background: var(--panel); padding: 0 0 18px; display: flex; flex-direction: column; }
.mw .wk-panel-h { padding: 26px 28px 14px; }
.mw .wk-panel-h h2 { font-size: 24px; font-weight: 800; color: var(--mw-ink); letter-spacing: -.01em; }
/* next steps */
.mw .ns-list { padding: 0 28px; }
.mw .ns-row { gap: 22px; padding: 18px 0; border-top: 1px solid var(--mw-line); }
.mw .ns-list > .ns-row:first-child { border-top: 0; }
.ns-ic { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 12px; background: var(--b-st); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.ns-ic svg { width: 26px; height: 26px; }
.mw .ns-t { font-size: 19px; font-weight: 700; color: var(--mw-ink); }
.mw .ns-d { font-size: 14.5px; color: var(--mw-muted); }
.mw .ns-n { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--b-st); font-size: 22px; font-weight: 800; color: var(--mw-ink); }
.mw .ns-row .btn { min-width: 116px; height: 46px; border-radius: 10px; font-size: 15px; font-weight: 700; padding: 0 18px; }
.mw .ns-row .btn.primary { background: #4A4A90; border-color: #4A4A90; color: #fff; }
.mw .ns-row .btn.primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
:root[data-theme="dark"] .mw .ns-row .btn.primary { background: #7C7CDD; border-color: #7C7CDD; color: #12121E; }
.mw .ns-row .btn.ns-ghost { background: var(--panel); border: 1.5px solid #DCDCE8; color: var(--mw-ink); }
.mw .ns-row .btn.ns-ghost:hover { border-color: var(--navy); }
.mw .ns-h { display: none; }
.mw .ns-list.is-wait { margin-top: 4px; border-top: 1px solid var(--mw-line); padding-top: 4px; margin-left: 28px; margin-right: 28px; padding-left: 0; padding-right: 0; }
.mw .ns-list.is-wait .ns-ic { color: var(--ic-blue); background: var(--tint-blue); }
.mw .ns-list.is-wait .ns-t { font-weight: 700; color: var(--mw-ink); }
.mw .ns-row.is-urgent .ns-ic { color: var(--magenta); background: var(--b-tl); }
.mw .ns-row.is-urgent .ns-t { color: var(--magenta); }
/* coaching plan */
.mw .tabs { padding: 0 28px; gap: 6px; border-bottom: 2px solid var(--mw-line); margin: 0 28px; padding: 0; }
.mw .tab { font-size: 15px; font-weight: 600; color: var(--mw-muted); padding: 10px 18px 13px; border-bottom: 0; position: relative; }
.mw .tab[aria-pressed="true"] { color: var(--mw-ink); font-weight: 700; }
.mw .tab[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; border-radius: 4px; background: var(--magenta); }
.mw .mp-wrap { padding: 0 28px; max-height: 360px; overflow: auto; flex: 1 1 auto; }
.mw #t-myplan th { position: sticky; top: 0; z-index: 1; background: var(--panel); font-size: 14px; font-weight: 600; color: var(--mw-muted); padding: 16px 12px 12px 0; border-bottom: 1px solid var(--mw-line); }
.mw #t-myplan th.sortable::after { content: none; }
.mw #t-myplan td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--mw-line); font-size: 14.5px; color: var(--mw-ink); }
.mw #t-myplan td:first-child { min-width: 150px; }
.mw #t-myplan td a:not(.btn) { font-weight: 700; color: var(--mw-ink); }
.mw #t-myplan tbody tr:hover td { background: transparent; }
.mw #t-myplan td.clip { max-width: 200px; }
.mw #t-myplan .pill { font-size: 14px; font-weight: 700; padding: 6px 16px; border-radius: 999px; }
.mw .pill.c-csat { background: var(--b-csat); color: var(--navy); }
.mw .pill.c-kpi { background: var(--b-kpi); color: var(--b-kpi-t); }
.mw .pill.c-tl { background: var(--b-tl); color: var(--b-tl-t); }
.mw .pill.st-prepare, .mw .pill.st-draft { background: var(--b-st); color: var(--navy); }
.mw .pill.st-progress { background: var(--b-tl); color: var(--magenta); }
.mw .mp-act { height: 40px; min-width: 128px; justify-content: center; border-radius: 10px; border: 1.5px solid #DCDCE8; background: var(--panel); color: var(--mw-ink); font-size: 14.5px; font-weight: 700; }
.mw .mp-act:hover { border-color: var(--navy); }
.mw #t-myplan td:last-child { text-align: left; white-space: nowrap; }
.mp-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 28px 0; }
.mp-foot select { max-width: 280px; }
.mw .sec-h { margin-top: 8px; }
/* responsive */
@media (max-width: 1180px) { .mw .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .mw .kpi { padding: 20px; } .mw .ns-row .btn, .mw .mp-act { min-width: 0; } }
@media (max-width: 980px) { .mw .wk-grid { grid-template-columns: minmax(0, 1fr); } .mw .kpis { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .mw-head h1 { font-size: 26px; } .mw-week, .mw-week select { width: 100%; }
  .mw .wk-panel-h { padding: 20px 18px 10px; } .mw .ns-list { padding: 0 18px; } .mw .ns-list.is-wait { margin-left: 18px; margin-right: 18px; }
  .mw .ns-row { flex-wrap: wrap; gap: 14px; } .ns-ic { width: 46px; height: 46px; } .mw .ns-txt { flex-basis: calc(100% - 64px); }
  .mw .ns-n { margin-left: 60px; } .mw .ns-row .btn { margin-left: auto; height: 40px; }
  .mw .tabs { margin: 0 18px; } .mw .mp-wrap { padding: 0 18px; } .mp-foot { padding: 14px 18px 0; }
}

.mw #t-myplan { table-layout: fixed; width: 100%; }
.mw #t-myplan th:nth-child(1) { width: 25%; } .mw #t-myplan th:nth-child(2) { width: 15%; } .mw #t-myplan th:nth-child(3) { width: 23%; } .mw #t-myplan th:nth-child(4) { width: 17%; } .mw #t-myplan th:nth-child(5) { width: 20%; }
.mw #t-myplan td.clip { max-width: none; }
.mw #t-myplan td:first-child { min-width: 0; }
.mw #t-myplan td a:not(.btn) { overflow-wrap: anywhere; }
.mw .mp-act { min-width: 0; width: 100%; max-width: 128px; padding: 0 10px; }
.mw .ns-row .btn { width: 132px; min-width: 0; justify-content: center; }
.mw #t-myplan .pill { padding: 5px 12px; font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .mw #t-myplan { table-layout: auto; min-width: 620px; } .mw .ns-row .btn { width: auto; } }

main.mw { max-width: 1500px; padding-left: 36px; padding-right: 36px; }
body:has(main.mw) .top-in { max-width: 1500px; padding-left: 36px; padding-right: 36px; }
.mw .tab { padding: 10px 14px 13px; }
.mw .tabs { gap: 2px; }
.mw .ns-t { font-size: 18px; }
.mw .ns-d { font-size: 14px; }
@media (max-width: 640px) { main.mw, body:has(main.mw) .top-in { padding-left: 16px; padding-right: 16px; } }

:root[data-theme="dark"] .mw .mp-act, :root[data-theme="dark"] .mw .ns-row .btn.ns-ghost { border-color: var(--line-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mw .mp-act, :root:not([data-theme="light"]) .mw .ns-row .btn.ns-ghost { border-color: var(--line-2); } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mw .ns-row .btn.primary { background: #7C7CDD; border-color: #7C7CDD; color: #12121E; } }

@media (max-width: 640px) { .mw #t-myplan td:first-child { min-width: 150px; } }


.mw-head-t { flex: 1 1 auto; min-width: 0; }
.mw-head { gap: 10px 12px; }

/* ---- compact type scale (about 12% smaller) ---- */
.mw { padding-top: 28px; }
.mw-head { margin-bottom: 22px; }
.mw-head h1 { font-size: 27px; }
.mw-head p { font-size: 13.5px; margin-top: 4px; }
.mw-week select { font-size: 13px; padding: 11px 38px 11px 44px; }
.mw-week-ic { left: 14px; } .mw-week-ic svg { width: 19px; height: 19px; }
.mw .kpis { gap: 20px; margin-bottom: 22px; }
.mw .kpi { gap: 15px; padding: 22px 26px 20px; }
.kpi-ic { width: 40px; height: 40px; } .kpi-ic svg { width: 22px; height: 22px; }
.kpi-b { padding-top: 4px; }
.mw .kpi-k { font-size: 15.5px; }
.mw .kpi-v { margin-top: 11px; font-size: 29px; }
.mw .kpi-of { font-size: 20px; }
.mw .kpi-v small { font-size: 14px; }
.mw .kpi-d { margin-top: 10px; font-size: 13.5px; }
.kpi-bar { margin-top: 15px; gap: 14px; }
.kpi-bar .meter { height: 13px; }
.kpi-bar b { font-size: 14px; }
.mw .wk-grid { gap: 20px; margin-bottom: 24px; }
.mw .wk-panel-h { padding: 22px 24px 12px; }
.mw .wk-panel-h h2 { font-size: 20px; }
.mw .ns-list { padding: 0 24px; }
.mw .ns-list.is-wait { margin-left: 24px; margin-right: 24px; }
.mw .ns-row { gap: 18px; padding: 15px 0; }
.ns-ic { width: 50px; height: 50px; } .ns-ic svg { width: 22px; height: 22px; }
.mw .ns-t { font-size: 15.5px; }
.mw .ns-d { font-size: 12.5px; }
.mw .ns-n { min-width: 40px; height: 40px; font-size: 19px; }
.mw .ns-row .btn { width: 116px; height: 40px; font-size: 13.5px; }
.mw .tabs { margin: 0 24px; }
.mw .tab { font-size: 13.5px; padding: 9px 12px 11px; }
.mw .mp-wrap { padding: 0 24px; max-height: 340px; }
.mw #t-myplan th { font-size: 12.5px; padding: 14px 10px 10px 0; }
.mw #t-myplan td { font-size: 13px; padding: 10px 10px 10px 0; }
.mw #t-myplan .pill { font-size: 12px; padding: 4px 11px; }
.mw .mp-act { height: 36px; font-size: 13px; max-width: 116px; }
.mp-foot { padding: 12px 24px 0; }
@media (max-width: 640px) {
  .mw-head h1 { font-size: 23px; }
  .mw-week { flex: 1 1 auto; }
  .mw .wk-panel-h { padding: 18px 16px 10px; } .mw .ns-list { padding: 0 16px; } .mw .ns-list.is-wait { margin-left: 16px; margin-right: 16px; }
  .ns-ic { width: 42px; height: 42px; } .mw .ns-txt { flex-basis: calc(100% - 60px); } .mw .ns-n { margin-left: 56px; }
  .mw .tabs { margin: 0 16px; } .mw .mp-wrap { padding: 0 16px; }
}

@media (max-width: 640px) { .mw-week { width: auto; flex: 1 1 0; min-width: 0; } .mw-week select { width: 100%; } }
.mw .wk-panel-h { padding-top: 20px; padding-bottom: 10px; }

.pill.late { background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--warn); font-weight: 600; }
.mw #t-myplan .pill.late { font-size: 11.5px; padding: 3px 9px; }
.mw #t-myplan td:nth-child(4) { white-space: normal; }
.mw #t-myplan td:nth-child(4) .pill { margin: 2px 4px 2px 0; }

.mw #t-myplan th:nth-child(1) { width: 22%; } .mw #t-myplan th:nth-child(2) { width: 12%; } .mw #t-myplan th:nth-child(3) { width: 21%; } .mw #t-myplan th:nth-child(4) { width: 27%; } .mw #t-myplan th:nth-child(5) { width: 18%; }
.mw #t-myplan td:nth-child(4) .pill { max-width: none; overflow: visible; text-overflow: clip; white-space: nowrap; }

/* ---- weekly check-in window ---- */
.modal-bg { position: fixed; inset: 0; z-index: 60; background: rgba(20,20,45,.42); }
.modal { position: fixed; z-index: 61; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(720px, calc(100% - 32px)); max-height: calc(100% - 48px); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 48px rgba(20,20,45,.24); }
.modal form { display: flex; flex-direction: column; min-height: 0; }
.modal-head { padding: 20px 24px 12px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 16px; font-weight: 700; color: var(--ink); }
.modal-head p { margin: 4px 0 0; }
.modal-body { padding: 16px 24px; overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.modal-body .fsec { margin: 0; }
.modal-foot { display: flex; justify-content: flex-end; padding: 14px 24px; border-top: 1px solid var(--line); }
.ci-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ci-row { display: grid; grid-template-columns: 18px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px; align-items: center; }
.ci-row select, .ci-row input { width: 100%; min-width: 0; }
body:has(.modal) { overflow: hidden; }
@media (max-width: 640px) { .ci-row { grid-template-columns: 18px minmax(0, 1fr); } .ci-row > :nth-child(n+3) { grid-column: 2; } .modal-head, .modal-body, .modal-foot { padding-left: 16px; padding-right: 16px; } }

/* ---- check-in builder (Rules) and window ---- */
.ci-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ci-slot { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; background: var(--panel); }
.ci-slot.is-off { background: var(--panel-2); }
.ci-slot.is-off .field, .ci-slot.is-off .ci-checks { opacity: .6; }
.ci-slot-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ci-n { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
:root[data-theme="dark"] .ci-n { color: #12121E; }
.ci-slot .field { margin: 0; }
.ci-checks { display: flex; flex-direction: column; gap: 4px; }
.ci-text { margin: 0 0 8px; font-size: 13.5px; color: var(--ink); }
.ci-rem { background: color-mix(in srgb, var(--navy) 5%, transparent); }
@media (max-width: 760px) { .ci-slots { grid-template-columns: minmax(0, 1fr); } }

.ci-lines { margin: 0 0 10px; padding-left: 18px; font-size: 13px; color: var(--ink); display: flex; flex-direction: column; gap: 3px; }
.ci-pay { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 8px; background: color-mix(in srgb, var(--navy) 4%, var(--panel)); }
.ci-pay .field { margin: 0; } .ci-pay p { margin: 0; }

.pay-t td { padding: 6px 8px; } .pay-t td:first-child { width: 48px; text-align: center; } .pay-t td:nth-child(2) { width: 200px; }
.pay-t input[type=text] { width: 100%; } .pay-t select { width: 100%; }
@media (max-width: 640px) { .pay-t { min-width: 560px; } }

.pay-t th.sortable::after { content: none; } .pay-t th { pointer-events: none; }

/* ---- QA coachings ---- */
.qa-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.qa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qa-bars h2 { font-size: 15px; margin-bottom: 8px; }
.qa-bars .t td { padding: 6px 8px; } .qa-bar-c { width: 45%; } .qa-bar-c .meter { margin: 0; height: 8px; } .qa-bars .meter > i { background: var(--navy); }
@media (max-width: 1100px) { .qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .qa-grid { grid-template-columns: minmax(0, 1fr); } }

form[data-do=qasave] .field:has(> .choice) { flex: 0 0 auto; min-width: 230px; } form[data-do=qasave] .choice { flex-wrap: nowrap; }
@media (max-width: 640px) { form[data-do=qasave] .field:has(> .choice) { min-width: 0; } }
#nologin-rules>.row{gap:8px 20px;margin-bottom:12px}.na-days{margin-top:6px;display:flex;flex-wrap:wrap;gap:6px 16px}.na-mail{border:1px solid var(--line);border-radius:10px;padding:8px 12px;margin:6px 0}.na-mail summary{cursor:pointer}.na-prev pre{white-space:pre-wrap;font:inherit;font-size:13px;background:var(--panel-2);padding:10px;border-radius:8px;margin:6px 0 0}
.backbar .back{gap:8px;font-size:14px;padding:8px 16px 8px 12px;background:var(--panel);border:1.5px solid var(--navy);border-radius:999px;box-shadow:0 1px 2px rgba(28,28,51,.08)}
.backbar .back:hover{background:var(--navy);color:#fff}
.backbar .back:focus-visible{outline:3px solid var(--magenta);outline-offset:2px}
[data-theme=dark] .backbar .back,.dark .backbar .back{border-color:currentColor}
.kv.tiles{display:grid;grid-template-columns:1.25fr .8fr 1.3fr .95fr;gap:12px}
.kv.tiles>div{background:var(--panel-2);border:1px solid var(--line);border-radius:10px;padding:12px 14px;min-width:0;overflow-wrap:break-word}
@media (max-width:760px){.kv.tiles{grid-template-columns:1fr 1fr}}
.cdetail .block,.cdetail .prev{background:var(--panel-2);border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin:12px 0 0}
.cdetail .block .k{margin-bottom:4px}
.cdetail .bpair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.cdetail .bpair>.block{margin:0}.cdetail .bpair>.block:only-child{grid-column:1/-1}
/* My Week · compact: the plan shows ~10 rows without scrolling the page */
main.mw { padding-top: 22px; }
main.mw .mw-head { margin-bottom: 16px; }
main.mw .kpis { gap: 16px; margin-bottom: 16px; }
main.mw .kpi { padding: 14px 20px; gap: 14px; align-items: center; }
main.mw .kpi-ic { width: 38px; height: 38px; } main.mw .kpi-ic svg { width: 20px; height: 20px; }
main.mw .kpi-b { padding-top: 0; }
main.mw .kpi-k { font-size: 14px; }
main.mw .kpi-v { margin-top: 4px; font-size: 26px; } main.mw .kpi-of { font-size: 19px; } main.mw .kpi-v small { font-size: 14px; }
main.mw .kpi-d { margin-top: 2px; font-size: 13px; }
main.mw .kpi-bar { margin-top: 8px; gap: 12px; } main.mw .kpi-bar .meter { height: 10px; } main.mw .kpi-bar b { font-size: 14px; }
main.mw .wk-grid { grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); gap: 16px; }
main.mw .wk-panel { padding-bottom: 12px; }
main.mw .wk-panel-h { padding: 18px 22px 8px; }
main.mw .ns-list { padding: 0 22px; } main.mw .ns-list.is-wait { margin-left: 22px; margin-right: 22px; }
main.mw .ns-row { gap: 14px; padding: 10px 0; }
main.mw .ns-ic { width: 40px; height: 40px; border-radius: 10px; } main.mw .ns-ic svg { width: 20px; height: 20px; }
main.mw .ns-t { font-size: 15px; } main.mw .ns-d { font-size: 12.5px; }
main.mw .ns-n { min-width: 34px; height: 34px; font-size: 17px; border-radius: 8px; }
main.mw .ns-row .btn { min-width: 98px; height: 36px; font-size: 13.5px; padding: 0 12px; border-radius: 8px; }
main.mw .tabs { margin: 0 22px; } main.mw .tab { font-size: 14px; padding: 8px 12px 10px; }
main.mw .mp-wrap { padding: 0 22px; max-height: 470px; }
main.mw #t-myplan th { padding: 10px 10px 8px 0; font-size: 13px; }
main.mw #t-myplan td { padding: 7px 10px 7px 0; font-size: 13.5px; }
main.mw #t-myplan td:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
main.mw #t-myplan .btn { height: 32px; padding: 0 12px; font-size: 13px; }
@media (max-width: 1100px) { main.mw .wk-grid { grid-template-columns: 1fr; } }
main.mw #t-myplan th:nth-child(1) { width: 30%; } main.mw #t-myplan th:nth-child(2) { width: 11%; } main.mw #t-myplan th:nth-child(3) { width: 24%; } main.mw #t-myplan th:nth-child(4) { width: 19%; } main.mw #t-myplan th:nth-child(5) { width: 16%; }
main.mw #t-myplan td { padding: 5px 10px 5px 0; }
main.mw #t-myplan .pill { padding: 3px 10px; font-size: 12px; }
main.mw #t-myplan .btn { height: 30px; min-width: 0; }
main.mw .mp-wrap { max-height: 450px; }
main.mw .kpis { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 1180px) { main.mw .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { main.mw .kpis { grid-template-columns: minmax(0, 1fr); } }

/* ===== Coaching creation form (new coaching session only) — everything scoped to main.cnew ===== */
main.cnew { max-width: 880px; padding-bottom: 120px; }
main.cnew .page-head h1 { font-size: 26px; }
main.cnew > section.card:has(#cform) { background: transparent; border: 0; box-shadow: none; padding: 0; }
main.cnew .who-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(30,30,75,.04), 0 6px 24px rgba(30,30,75,.06); padding: 22px 30px; margin: 0 0 30px; }
main.cnew .who-card .name { font-size: 18px; color: var(--navy); }
main.cnew .who-card .facts { font-size: 13.5px; }
main.cnew #cform { display: flex; flex-direction: column; gap: 30px; }
main.cnew .fsec { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(30,30,75,.04), 0 6px 24px rgba(30,30,75,.06); padding: 30px; margin: 0; }
main.cnew .fsec > legend { float: left; width: 100%; padding: 0; margin: 0 0 22px; font-size: 21px; font-weight: 600; text-transform: none; letter-spacing: -.005em; color: var(--navy); gap: 12px; flex-wrap: wrap; }
main.cnew .fsec > legend + * { clear: both; }
main.cnew .fsec-h .n { width: 30px; height: 30px; font-size: 14px; font-weight: 700; background: var(--navy); color: #fff; }
main.cnew .fsec-h .hint { font-size: 13px; font-weight: 500; }
main.cnew .fsec-sub { order: 2; flex-basis: 100%; margin: -6px 0 0 42px; font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
main.cnew #tpl-hint { order: 3; margin-left: 42px; }
main.cnew #tpl-hint:not(:empty) { display: inline-block; background: #F1EEFB; color: var(--navy); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; }
main.cnew .fsec .row { gap: 18px; margin-bottom: 20px; }
main.cnew .fsec .row:last-child { margin-bottom: 0; }
main.cnew .field { margin-bottom: 0; }
main.cnew .field > label { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
main.cnew .field > label .hint { font-size: 13px; font-weight: 500; }
main.cnew .fdesc { margin: -4px 0 10px; font-size: 13.5px; color: var(--muted); }
main.cnew input[type=text], main.cnew input[type=date], main.cnew input[type=time], main.cnew input[type=number], main.cnew select, main.cnew textarea { font-size: 15px; min-height: 46px; border-radius: 10px; padding: 10px 14px; }
main.cnew textarea { line-height: 1.55; }
/* section 1: the two metrics */
main.cnew .c-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
main.cnew .c-metrics .field { border-radius: 14px; padding: 16px 18px 18px; }
main.cnew .m-cur { background: #F1EEFB; }
main.cnew .m-tgt { background: #FCE8F2; }
main.cnew .c-metrics input { background: var(--panel); border-color: transparent; font-size: 18px; font-weight: 700; color: var(--navy); }
/* section 2: three blocks */
main.cnew .dblock { background: #F7F7FB; border-radius: 14px; padding: 20px 22px 22px; margin-bottom: 24px; }
main.cnew .dblock textarea { background: var(--panel); }
main.cnew .c-root { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 0; }
/* section 3: action plan */
main.cnew .fsec-plan { background: linear-gradient(180deg, #FDF3F8 0%, #F6F3FC 100%); border-color: #F1E1EC; }
main.cnew .fsec-plan .field { margin-bottom: 20px; }
main.cnew .fsec-plan .row .field { margin-bottom: 0; }
main.cnew .c-plan textarea { min-height: 150px; border: 1.5px solid #E7C9DA; background: var(--panel); font-size: 16px; }
main.cnew .fsec-plan textarea, main.cnew .fsec-plan input { background: var(--panel); }
/* section 4: fixed bar at the bottom */
main.cnew .savebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0; padding: 14px max(24px, calc((100vw - 880px) / 2)); background: var(--panel); border-top: 1px solid var(--line); box-shadow: 0 -8px 28px rgba(30,30,75,.10); backdrop-filter: none; gap: 12px; }
main.cnew .savebar .sb-sum { font-size: 14px; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
main.cnew .savebar .sb-sum b { font-size: 15px; color: var(--navy); }
main.cnew .savebar .fsec-h .n { width: 28px; height: 28px; font-size: 13px; }
main.cnew .savebar .sb-miss { font-weight: 600; font-size: 13.5px; }
main.cnew .savebar .btn { height: 42px; padding: 0 20px; font-size: 14.5px; border-radius: 10px; }
main.cnew .savebar > .small.muted { flex-basis: 100%; order: 5; margin-top: -4px; }
:root[data-theme="dark"] main.cnew .m-cur { background: #2A2342; } :root[data-theme="dark"] main.cnew .m-tgt { background: #3A1B2E; }
:root[data-theme="dark"] main.cnew .dblock { background: var(--panel-2); } :root[data-theme="dark"] main.cnew .fsec-plan { background: #241B30; border-color: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) main.cnew .m-cur { background: #2A2342; } :root:not([data-theme="light"]) main.cnew .m-tgt { background: #3A1B2E; }
  :root:not([data-theme="light"]) main.cnew .dblock { background: var(--panel-2); } :root:not([data-theme="light"]) main.cnew .fsec-plan { background: #241B30; border-color: var(--line); } }
@media (max-width: 640px) { main.cnew .fsec { padding: 22px 18px; } main.cnew .who-card { padding: 18px; } main.cnew .c-metrics { grid-template-columns: 1fr 1fr; gap: 10px; } main.cnew .fsec-sub, main.cnew #tpl-hint { margin-left: 0; }
  main.cnew .dblock { padding: 16px; } main.cnew .savebar { padding: 10px 16px; } main.cnew .savebar .btn { flex: 1 1 auto; } main.cnew { padding-bottom: 170px; } }
main.mw #t-myplan th:nth-child(1) { width: 25%; } main.mw #t-myplan th:nth-child(2) { width: 13%; } main.mw #t-myplan th:nth-child(3) { width: 20%; } main.mw #t-myplan th:nth-child(4) { width: 27%; } main.mw #t-myplan th:nth-child(5) { width: 15%; }
main.mw #t-myplan td:nth-child(2) .pill { max-width: none; overflow: visible; text-overflow: clip; white-space: nowrap; font-size: 11.5px; padding: 3px 8px; }
main.mw #t-myplan td:nth-child(4) { overflow: hidden; }
main.mw #t-myplan td:nth-child(4) .pill { display: inline-block; max-width: 100%; white-space: normal; line-height: 1.3; margin: 2px 4px 2px 0; text-align: left; }
main.mw #t-myplan td:nth-child(5) .btn { min-width: 0; width: 100%; max-width: 110px; padding: 0 10px; justify-content: center; }
.met-note { margin-top: 10px; max-width: 640px; } .met-note label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.met-note textarea { width: 100%; min-height: 60px; background: var(--panel); }
main .kv.tiles.ack-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; }
#dstart .cur-start { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-right: 8px; }
#dstart .cur-start input { width: 120px; height: 36px; padding: 6px 10px; } #dstart .req-star { color: var(--magenta); }
main.cnew .c-metrics:has(.m-cur[hidden]) { grid-template-columns: 1fr 1fr; }
main.mw .kpis .kpi-ic { display: none; }
main.mw .kpis .kpi { padding-left: 24px; align-items: flex-start; }
main.wide { max-width: none; padding-left: 28px; padding-right: 28px; }
main.wide #t-c { font-size: 13px; }
main.wide #t-c th, main.wide #t-c td { padding-left: 6px; padding-right: 6px; }
main.wide #t-c th { white-space: nowrap; vertical-align: bottom; } main.wide #t-c th:nth-child(12), main.wide #t-c th:nth-child(13) { white-space: normal; }
main.wide #t-c th:nth-child(4), main.wide #t-c td:nth-child(4) { display: none; }   /* the ID shows under the name; the Excel keeps its own column */
main.wide #t-c td:nth-child(3) { min-width: 130px; } main.wide #t-c td:nth-child(3) .sub { display: block; }
main.wide #t-c td:nth-child(11), main.wide #t-c td:nth-child(12) { min-width: 160px; max-width: 240px; }
main.wide #t-c td:nth-child(14) { max-width: 150px; } main.wide #t-c td:nth-child(14) .pill { white-space: normal; line-height: 1.3; margin: 2px 0; }
@media (max-width: 640px) { main.wide { padding-left: 14px; padding-right: 14px; } }
tr[data-href] { cursor: pointer; } tr[data-href]:hover td { background: var(--panel-2); }

/* QA parameters panel (coaching form, EQT, KPI QA or trigger QA evaluation) */
.qa-panel { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--panel); }
.qa-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.qa-t { font-size: 16px; font-weight: 700; color: var(--navy); }
.qa-card { display: inline-flex; gap: 6px; } .qa-card label { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.qa-card label:has(input:checked) { border-color: var(--navy); background: #F1EEFB; color: var(--navy); }
.qa-sec { margin-top: 14px; } .qa-sec-h { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.qa-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 6px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.qa-row.is-marked { background: #FDF3F8; border-radius: 8px; }
.qa-n { flex: 1 1 260px; min-width: 0; font-size: 14px; } .qa-meets { margin-top: 4px; }
.qa-r { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.qa-o { border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 5px; align-items: center; background: var(--panel); white-space: nowrap; }
.qa-o input { margin: 0; }
.qa-o:has(input:checked) { border-color: var(--ok); color: var(--ok); }
.qa-o.qa-p:has(input:checked) { border-color: var(--warn); color: var(--warn); background: var(--warn-soft); }
.qa-o.qa-d:has(input:checked) { border-color: var(--bad); color: var(--bad); background: var(--bad-soft); }
.qa-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.qa-list { list-style: none; margin: 6px 0; padding: 0; } .qa-list li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 4px 0; } .qa-list .pill { font-size: 11.5px; }
:root[data-theme="dark"] .qa-row.is-marked { background: #2A1B26; } :root[data-theme="dark"] .qa-card label:has(input:checked) { background: #2A2342; }

/* Recognition */
.cdetail .block.rec { background: #E9F6EF; border-color: #CDEBD9; } .rec-note { color: var(--ok); font-weight: 600; margin-top: 6px; }
main.cnew.is-rec .fsec-plan { background: linear-gradient(180deg, #EEF8F2 0%, #F3F1FC 100%); border-color: #D6EDE0; }
main.cnew.is-rec .dblock:first-of-type { background: #EEF8F2; }
:root[data-theme="dark"] .cdetail .block.rec { background: #183025; border-color: #24503A; }
.cdetail .bpair:empty { display: none; }
.rf-banner { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: #FCE8F2; border: 1px solid #F5C9DF; color: var(--ink); border-radius: 10px; padding: 8px 12px; margin: 0 0 12px; font-size: 13.5px; }
.rf-banner[hidden] { display: none; } tr.rf-hit td:first-child { box-shadow: inset 3px 0 0 var(--magenta); }
:root[data-theme="dark"] .rf-banner { background: #3A1B2E; border-color: #5A2A46; }
.box-bg { position: fixed; inset: 0; z-index: 60; background: rgba(20,20,45,.45); display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px 16px; overflow: auto; }
.box-bg[hidden] { display: none; }
.box { background: var(--panel); border-radius: 16px; box-shadow: 0 20px 60px rgba(20,20,45,.3); width: min(720px, 100%); padding: 22px 24px; }
.box-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; } .box-h h2 { font-size: 18px; margin: 0 0 4px; }
.box .table-wrap { max-height: 55vh; overflow: auto; } .box .sub { display: block; } .box-f { margin: 12px 0 0; }
.box .cbar { display: flex; align-items: center; gap: 8px; min-width: 120px; } .box .cbar .meter { flex: 1; } .box td .btn.small { white-space: nowrap; }
.box-bg .box { width: min(820px, 100%); }
.backbar.ack-back { display: block; padding: 0 0 14px; max-width: none; }
.kt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }

/* ===== Bilingual Global palette: navy #3D3D8F + magenta #E5007E (light theme). Status colors (green ok, amber, red) keep their meaning. ===== */
:root:not([data-theme="dark"]) main.mw { --ic-purple: #3D3D8F; --ic-blue: #3D3D8F; --ic-green: #E5007E; --tint-purple: #ECECF5; --tint-blue: #ECECF5; --tint-green: #FCE6F2;
  --b-csat: #ECECF5; --b-kpi: #FCE6F2; --b-kpi-t: #C4006B; --b-tl: #FCE6F2; --b-tl-t: #3D3D8F; --b-st: #ECECF5; --mw-green-bg: #F7F7FB; --mw-ink: #1C1C33; }
:root:not([data-theme="dark"]) main.mw .ns-row .btn.primary { background: #3D3D8F; border-color: #3D3D8F; }
:root:not([data-theme="dark"]) main.mw .ns-row .btn.primary:hover { background: #2E2E70; border-color: #2E2E70; }
:root:not([data-theme="dark"]) main.mw .kpi.kpi-green { background: var(--panel); }
:root:not([data-theme="dark"]) main.mw .tab[aria-pressed="true"] { color: #3D3D8F; }
:root:not([data-theme="dark"]) main.cnew .m-cur, :root:not([data-theme="dark"]) .qa-card label:has(input:checked), :root:not([data-theme="dark"]) main.cnew #tpl-hint:not(:empty) { background: #ECECF5; }
:root:not([data-theme="dark"]) main.cnew .m-tgt { background: #FCE6F2; }
:root:not([data-theme="dark"]) main.cnew .fsec-plan { background: linear-gradient(180deg, #FCE6F2 0%, #F4F4FA 100%); border-color: #F5CDE2; }
:root:not([data-theme="dark"]) main.cnew.is-rec .fsec-plan { background: linear-gradient(180deg, #FCE6F2 0%, #F4F4FA 100%); border-color: #F5CDE2; }
:root:not([data-theme="dark"]) main.cnew.is-rec .dblock:first-of-type, :root:not([data-theme="dark"]) .cdetail .block.rec { background: #FCE6F2; border-color: #F5CDE2; }
:root:not([data-theme="dark"]) .rec-note { color: #E5007E; }
:root:not([data-theme="dark"]) .qa-row.is-marked { background: #FCE6F2; }
:root:not([data-theme="dark"]) .rf-banner { background: #FCE6F2; border-color: #F5CDE2; }
.qa-other { color: var(--navy); font-weight: 600; }
.qa-add { margin-top: 10px; max-width: 560px; } .qa-add label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.qa-add-row { display: flex; gap: 8px; align-items: center; } .qa-add-row input { flex: 1; min-width: 0; height: 38px; }
.qa-add-msg { margin: 6px 0 0; color: var(--muted); } .qa-add-msg.bad-t { color: var(--bad); }
.qa-checks .is-new { background: #FCE6F2; border-radius: 6px; padding: 0 6px; }

/* ---------- PHP version: signed-in person in the top bar ---------- */
.who .who-name { display: flex; flex-direction: column; line-height: 1.15; color: #fff; font-weight: 600; }
.who .who-name .sub { display: block; color: rgba(255,255,255,.7); font-weight: 500; font-size: 11px; margin: 0; }
.who a.who-pass { color: rgba(255,255,255,.85); font-weight: 600; font-size: 12px; padding: 5px 8px; border-radius: 6px; }
.who a.who-pass:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 720px) { .who .who-name { display: none; } }
