:root {
  --ink: #14161a; --ink2: #4a5160; --ink3: #7a8292; --line: #e3e6eb; --bg: #f5f6f8; --card: #fff;
  --accent: #2457c5; --accent-ink: #fff; --accent-soft: #e8eefb; --ok: #1f7a4d; --ok-soft: #e6f4ec; --warn: #9a5b00; --warn-soft: #fff4e0;
  --bad: #b42318; --bad-soft: #fdecea; --r: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 15px/1.5 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
button, input, textarea, select { font: inherit; color: inherit; }
.boot { display: grid; place-items: center; height: 100vh; color: var(--ink3); letter-spacing: .04em; }
.hidden { display: none !important; }

/* buttons, fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 8px 14px; cursor: pointer; font-weight: 500; white-space: nowrap; }
.btn:hover { border-color: #c9ced8; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.danger { color: var(--bad); }
.btn.small { padding: 4px 10px; font-size: 13px; border-radius: 8px; }
.btn.ghost { border-color: transparent; background: transparent; }
.field { display: block; margin: 0 0 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink2); margin-bottom: 5px; }
.input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; outline: none; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.err { color: var(--bad); font-size: 14px; margin: 8px 0 0; min-height: 1em; }
.okmsg { color: var(--ok); font-size: 14px; margin: 8px 0 0; }
.muted { color: var(--ink3); }
.small { font-size: 13px; }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login .card { width: 100%; max-width: 380px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; }
.login h1 { font-size: 22px; margin: 18px 0 4px; letter-spacing: -.02em; }
.login p { margin: 0 0 20px; color: var(--ink3); }

/* shell */
.shell { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.top { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 2px; margin-left: 8px; overflow-x: auto; }
.tab { padding: 6px 12px; border-radius: 8px; color: var(--ink2); text-decoration: none; font-weight: 500; white-space: nowrap; }
.tab.on { background: var(--bg); color: var(--ink); }
.prodsel { margin-left: 10px; font: inherit; font-size: 14px; padding: 4px 8px; border: 1px solid var(--line, #d8dde6); border-radius: 8px; background: transparent; color: inherit; max-width: 200px; }
.who { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 14px; white-space: nowrap; }
.view { flex: 1; min-height: 0; overflow: auto; }
.page { max-width: 820px; margin: 0 auto; padding: 22px 18px 60px; }
.page h2 { font-size: 20px; letter-spacing: -.02em; margin: 0 0 4px; }
.page h3 { font-size: 16px; margin: 0 0 6px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 0 0 14px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--bg); color: var(--ink2); margin-right: 4px; }
.pill.product { background: #f3e8ff; color: #6b21a8; } .pill.developer { background: #e0f2fe; color: #075985; } .pill.admin { background: var(--ink); color: #fff; }
.pill.manager { background: #e7f6ec; color: #17633a; } .pill.director { background: #fff1e0; color: #8a4a00; } .pill.executive { background: #fde8ef; color: #9d1c4c; }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.bad { background: var(--bad-soft); color: var(--bad); } .pill.warn { background: var(--warn-soft); color: var(--warn); }
.banner { border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; font-size: 14px; }
.banner.warn { background: var(--warn-soft); color: #6b4000; } .banner.info { background: var(--accent-soft); color: #173a85; } .banner.bad { background: var(--bad-soft); color: var(--bad); }

/* chat */
.chat { display: flex; flex-direction: column; height: 100%; }
.msgs { flex: 1; overflow-y: auto; padding: 18px 16px 8px; }
.msgs-inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.m { display: flex; }
.m.me { justify-content: flex-end; }
.bub { max-width: min(640px, 88%); padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }
.m.desk .bub { background: var(--card); border: 1px solid var(--line); border-top-left-radius: 4px; }
.m.me .bub { background: var(--ink); color: #fff; border-top-right-radius: 4px; }
.m.me .bub a { color: #b9cdf7; }
.m.note .bub { background: transparent; border: 1px dashed var(--line); color: var(--ink2); font-size: 14px; }
.m .time { font-size: 11px; color: var(--ink3); margin-top: 4px; }
.m.me .time { color: #9aa3b2; text-align: right; }
.bub .btns { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.bub .used { margin-top: 8px; font-size: 13px; color: var(--ink3); }
.att { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.att img { max-width: 220px; max-height: 180px; border-radius: 8px; display: block; cursor: zoom-in; }
.att audio { max-width: 260px; height: 36px; }
.doc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); text-decoration: none; color: var(--ink); }
.doc .ic { width: 34px; height: 40px; border-radius: 6px; background: var(--bad); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; flex: none; }
.doc b { display: block; font-size: 14px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.photos figure { margin: 0; } .photos img { width: 100%; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; display: block; }
.photos figcaption { font-size: 12px; color: var(--ink3); margin-top: 3px; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; border-top-left-radius: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink3); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.empty { text-align: center; color: var(--ink3); padding: 30px 10px; }
.empty h3 { color: var(--ink); font-size: 18px; margin-bottom: 6px; }

.composer { border-top: 1px solid var(--line); background: var(--card); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
.composer-inner { max-width: 820px; margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
@media (max-width: 700px) { .chips { max-height: 72px; overflow-y: auto; scrollbar-width: none; } }
.chip { flex: none; border: 1px solid var(--line); background: var(--bg); border-radius: 99px; padding: 4px 11px; font-size: 13px; cursor: pointer; color: var(--ink2); }
.chip:hover { color: var(--ink); border-color: #c9ced8; }
.row { display: flex; align-items: flex-end; gap: 8px; }
.row textarea { flex: 1; resize: none; max-height: 200px; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; outline: none; background: #fff; }
.row textarea:focus { border-color: var(--accent); }
.ib { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; flex: none; color: var(--ink2); }
.ib:hover { color: var(--ink); }
.ib.send { background: var(--ink); border-color: var(--ink); color: #fff; }
.ib.rec { background: var(--bad); border-color: var(--bad); color: #fff; }
.ib svg { width: 20px; height: 20px; }
.pending { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pending .pf { position: relative; border: 1px solid var(--line); border-radius: 8px; padding: 4px 26px 4px 8px; font-size: 13px; background: var(--bg); display: flex; align-items: center; gap: 6px; max-width: 220px; }
.pending .pf img { width: 34px; height: 34px; object-fit: cover; border-radius: 4px; }
.pending .pf span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pending .pf button { position: absolute; right: 3px; top: 3px; border: 0; background: transparent; cursor: pointer; color: var(--ink3); font-size: 16px; line-height: 1; }
.recbar { display: flex; align-items: center; gap: 10px; height: 44px; }
.recbar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); animation: blink 1s infinite; }
.recbar .t { font-variant-numeric: tabular-nums; font-weight: 600; }
.gatebar { background: var(--warn-soft); color: #6b4000; border-radius: 10px; padding: 8px 12px; font-size: 13px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.gatebar b { color: #4a2c00; }
.drop { position: fixed; inset: 0; background: rgba(36, 87, 197, .08); border: 3px dashed var(--accent); display: grid; place-items: center; font-weight: 600; color: var(--accent); z-index: 20; pointer-events: none; }
.lightbox { position: fixed; inset: 0; background: rgba(10, 12, 16, .88); display: grid; place-items: center; z-index: 30; cursor: zoom-out; padding: 20px; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; }

/* settings, admin */
.keyrow { display: flex; gap: 8px; }
.keyrow .input { flex: 1; }
.steps { margin: 6px 0 12px; padding-left: 20px; color: var(--ink2); font-size: 14px; }
.steps li { margin: 3px 0; }
.mock { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 13px; margin: 8px 0 14px; max-width: 520px; }
.mock .bar { background: #3c4b5c; color: #fff; padding: 6px 10px; display: flex; justify-content: space-between; }
.mock .bar b { background: #fff3; padding: 0 6px; border-radius: 4px; outline: 2px solid #ffd54a; }
.mock .body { display: flex; }
.mock .main { flex: 1; padding: 10px; color: var(--ink3); }
.mock .side { width: 190px; border-left: 1px solid var(--line); padding: 10px; background: #fafbfc; }
.mock .side .hl { outline: 2px solid #ffd54a; border-radius: 4px; padding: 4px 6px; background: #fff; }
.mock .side a { text-decoration: underline; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th, table.t td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink3); font-weight: 600; }
.acts { display: flex; gap: 6px; flex-wrap: wrap; }
.secret { background: var(--ok-soft); border: 1px solid #b7e0c8; border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.secret code { font-size: 16px; font-weight: 700; user-select: all; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks { display: flex; gap: 14px; flex-wrap: wrap; margin: 4px 0 14px; }
.checks label { display: flex; align-items: center; gap: 6px; }
.audit { font-size: 13px; }
.audit div { padding: 5px 0; border-bottom: 1px solid var(--line); }

/* help */
.help h2 { margin-top: 26px; }
.help h2:first-child { margin-top: 0; }
.help table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.help th, .help td { text-align: left; padding: 9px 11px; border-bottom: 1px solid var(--line); vertical-align: top; }
.help th { background: #fafbfc; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink3); }
.help td:first-child { width: 42%; }
.help .say { font-style: italic; color: var(--ink); }
.help code { font: 13px ui-monospace, Menlo, Consolas, monospace; background: #eef0f3; padding: 1px 5px; border-radius: 4px; }
.help .roletag { float: right; }
.help .toc { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 20px; }
.help .toc a { text-decoration: none; }
.helptabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; position: sticky; top: 0; background: var(--bg); z-index: 2; }
.helptab { border: 1px solid var(--line); background: var(--card); color: var(--ink2); border-radius: 99px; padding: 6px 13px; font: 600 13px var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.helptab.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.helptab .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.checks label.tweak { color: var(--accent); font-weight: 600; }

@media (max-width: 640px) {
  .top { padding: 8px 10px; gap: 6px; flex-wrap: wrap; }
  .brand span { display: none; }
  .tabs { margin-left: 0; order: 3; width: 100%; }
  .who .nm { display: none; }
  .prodsel { margin-left: 4px; max-width: 120px; font-size: 13px; padding: 3px 4px; }
  .who { gap: 6px; }
  .who .pill { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  table.t .hide-m { display: none; }
  .help td:first-child { width: auto; }
  .att img { max-width: 160px; }
}

/* my tickets */
.tab .badge, .badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 99px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.page.wide { max-width: 1040px; }
.thead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.thead h2 { margin: 0; }
.thead .btn { margin-left: auto; }
.tsecs.dim { opacity: .5; }
.tsec { margin: 0 0 18px; }
.tsec h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink3); margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.tsec.hot h3 { color: var(--bad); }
.tsec .count { background: var(--line); color: var(--ink2); border-radius: 99px; padding: 0 7px; font-size: 11px; }
.tsec.hot .count { background: var(--bad); color: #fff; }
.tempty { padding: 4px 2px 8px; }
.trow { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 6px; cursor: pointer; }
.tsec.hot .trow { border-left: 3px solid var(--bad); }
.trow:hover { border-color: #c9ced8; }
.tmain { flex: 1; min-width: 0; }
.tid { font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.tsub { color: var(--ink2); }
.tmeta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; font-size: 13px; }
.tmeta .why { color: var(--warn); font-weight: 500; }
.tacts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 46%; }
.pill.run { background: var(--accent-soft); color: var(--accent); }
.spin { display: inline-block; width: 9px; height: 9px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; margin-right: 5px; vertical-align: -1px; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.timeline { display: flex; list-style: none; padding: 0; margin: 10px 0 14px; counter-reset: s; flex-wrap: wrap; gap: 4px 0; }
.timeline li { flex: 1; min-width: 90px; font-size: 12px; color: var(--ink3); position: relative; padding-top: 18px; text-align: center; }
.timeline li::before { content: ''; position: absolute; top: 4px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--line); }
.timeline li::after { content: ''; position: absolute; top: 8px; left: calc(50% + 7px); right: calc(-50% + 7px); height: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ok); } .timeline li.done::before, .timeline li.done::after { background: var(--ok); }
.timeline li.now { color: var(--ink); font-weight: 600; } .timeline li.now::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
ul.links { margin: 0; padding-left: 18px; } ul.links li { margin: 5px 0; overflow-wrap: anywhere; }
code.pull { background: #eef0f3; padding: 2px 6px; border-radius: 4px; margin-right: 6px; }
.ib.small { width: 28px; height: 28px; border-radius: 7px; display: inline-grid; vertical-align: middle; } .ib.small svg { width: 14px; height: 14px; }
pre.log { background: #0f1115; color: #d6dae3; border-radius: 8px; padding: 10px 12px; font: 12px/1.45 ui-monospace, Menlo, Consolas, monospace; max-height: 360px; overflow: auto; white-space: pre-wrap; margin: 10px 0 0; }
ul.tree { list-style: none; margin: 0; padding-left: 16px; font-size: 14px; } .card > ul.tree { padding-left: 0; }
ul.tree li { margin: 2px 0; } ul.tree summary { cursor: pointer; } ul.tree .dir { font-weight: 600; }
ul.tree .file a:first-child { text-decoration: none; } ul.tree .dl { margin-left: 8px; text-decoration: none; }
/* the chat's left column on wide screens */
.chatwrap { display: flex; height: 100%; }
.chatwrap > .chat { flex: 1; min-width: 0; }
.side { display: none; width: 300px; flex: none; border-right: 1px solid var(--line); background: var(--card); overflow-y: auto; padding: 10px 0 20px; }
@media (min-width: 1200px) { .side { display: block; } }
.sidehead { display: flex; align-items: center; padding: 4px 14px 8px; font-weight: 700; } .sidehead a { color: var(--ink); text-decoration: none; }
.sidesec { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink3); padding: 10px 14px 4px; font-weight: 600; }
.sideitem { display: block; padding: 7px 14px; text-decoration: none; color: var(--ink); font-size: 13px; border-left: 3px solid transparent; }
.sideitem:hover { background: var(--bg); } .sideitem.hot { border-left-color: var(--bad); }
.sideitem .tsub { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .trow { flex-direction: column; align-items: stretch; } .tacts { max-width: none; justify-content: flex-start; }
  .timeline li { min-width: 60px; font-size: 11px; }
}
/* wide screens: use the space. Ticket page in two columns (work | files), My tickets sections side by side, a wider chat. */
.tgrid { display: block; }
@media (min-width: 1280px) {
  .page.wide.xl { max-width: 1360px; }
  .tgrid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 0 18px; align-items: start; }
  .tcol.files { position: sticky; top: 12px; max-height: calc(100vh - 90px); overflow-y: auto; }
  .page.wide { max-width: 1280px; }
  .tsecs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; align-items: start; }
}
@media (min-width: 1500px) { .msgs-inner, .composer-inner { max-width: 940px; } }

/* dashboard widgets */
.page.dash { max-width: 1480px; }
.wgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; align-items: start; }
.wcard { grid-column: span 12; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; min-width: 0; }
@media (min-width: 900px) { .w-s { grid-column: span 6; } .w-m { grid-column: span 6; } .w-l, .w-xl { grid-column: span 12; } }
@media (min-width: 1280px) { .w-s { grid-column: span 4; } .w-m { grid-column: span 6; } .w-l { grid-column: span 8; } .w-xl { grid-column: span 12; } }
.whead { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.whead h3 { font-size: 14px; margin: 0; letter-spacing: .01em; }
.whead .wat { margin-left: auto; }
.ib { border: 0; background: transparent; cursor: pointer; color: var(--ink3); border-radius: 6px; padding: 2px 6px; }
.ib:hover { background: var(--bg); color: var(--ink); }
.wcard.wload .wbody { opacity: .55; }
.wempty { padding: 6px 0; } .wnote { margin-top: 8px; }
.tone-ok { color: var(--ok); } .tone-warn { color: var(--warn); } .tone-bad { color: var(--bad); } .tone-info { color: var(--accent); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.kpi { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.kpi .kv { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.kpi.tone-bad .kv { color: var(--bad); } .kpi.tone-warn .kv { color: var(--warn); } .kpi.tone-ok .kv { color: var(--ok); }
.kpi .kl { font-size: 12px; color: var(--ink2); font-weight: 600; } .kpi .ks { font-size: 12px; } .kpi .kd { font-size: 12px; font-weight: 600; margin-top: 2px; }
.wtable { overflow-x: auto; }
.wtable table { width: 100%; border-collapse: collapse; font-size: 13px; }
.wtable th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink3); font-weight: 600; padding: 4px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.wtable td { padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wtable .r { text-align: right; font-variant-numeric: tabular-nums; }
.wtable tr.row-bad td:first-child { box-shadow: inset 3px 0 0 var(--bad); } .wtable tr.row-warn td:first-child { box-shadow: inset 3px 0 0 #e0a030; } .wtable tr.row-ok td:first-child { box-shadow: inset 3px 0 0 var(--ok); }
.wlist .wli { display: block; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; margin: 0 0 6px; color: inherit; text-decoration: none; }
a.wli:hover { border-color: #c9ced8; }
.tone-l-bad { border-left: 3px solid var(--bad) !important; } .tone-l-warn { border-left: 3px solid #e0a030 !important; } .tone-l-ok { border-left: 3px solid var(--ok) !important; } .tone-l-info { border-left: 3px solid var(--accent) !important; }
.wlt { font-size: 14px; font-weight: 500; }
.wbars .wbar { display: grid; grid-template-columns: minmax(90px, 32%) 1fr auto; gap: 8px; align-items: center; font-size: 13px; margin: 0 0 5px; }
.wbar .bl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wbar .bt { background: var(--bg); border-radius: 99px; height: 8px; overflow: hidden; }
.wbar .bf { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.tone-b-ok { background: var(--ok) !important; } .tone-b-warn { background: #e0a030 !important; } .tone-b-bad { background: var(--bad) !important; }
.wbar .bv { font-variant-numeric: tabular-nums; color: var(--ink2); }
.wfeed .wfi { padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
.wroad .ms { padding: 10px 0; border-bottom: 1px solid var(--line); }
.wroad .ms:last-child { border-bottom: 0; }
.msh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.msn { font-weight: 600; color: inherit; }
.msbar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--bg); }
.seg { display: block; height: 100%; }
.seg-merged, .dot.seg-merged, .seg-done, .dot.seg-done { background: #1f7a4d; } .seg-review, .dot.seg-review { background: #4c8be0; } .seg-dev, .dot.seg-dev { background: #8fb4f0; }
.seg-ready, .dot.seg-ready { background: #c9b6f2; } .seg-spec, .dot.seg-spec { background: #e8dcfb; } .seg-new, .dot.seg-new { background: #dfe3ea; } .seg-blocked, .dot.seg-blocked { background: var(--bad); }
.mslegend { display: flex; flex-wrap: wrap; gap: 10px; margin: 5px 0 3px; color: var(--ink2); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 99px; margin-right: 4px; }
.msflags { margin: 4px 0 0; padding-left: 18px; color: var(--ink2); }
.wpick label { display: block; padding: 5px 0; }

.pill.cpo { background: #ede9fe; color: #5b21b6; } .pill.cto { background: #e0f2f1; color: #0f5e57; } .pill.group_cto { background: #1e293b; color: #fff; }
.wfeed, .wlist { max-height: 560px; overflow-y: auto; }
.page.dash .thead { margin-bottom: 12px; }
