:root {
  --bg: #f5f6f4; --panel: #fff; --sub: #fafbf9; --ln: #e4e7e2; --ln2: #d5d9d2;
  --ink: #121a14; --ink2: #3c463f; --mut: #6b746c; --dim: #9aa29b;
  --acc: #2f5d3a; --acc2: #3f7a4d; --accbg: #ecf3ed;
  --av: #2f8a55; --watch: #c58b1e; --mod: #3d6fb0; --out: #c0392b;
  --hi: #c0392b; --med: #c58b1e; --lo: #8a938b;
  --r: 8px; --font: Inter, -apple-system, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 13px/1.45 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
svg { flex: none; }
.num, td.n { font-variant-numeric: tabular-nums; }
.mut { color: var(--mut); } .dim { color: var(--dim); }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; background: var(--panel); border-right: 1px solid var(--ln); display: flex; flex-direction: column; padding: 12px 10px; }
.org { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; border-bottom: 1px solid var(--ln); margin-bottom: 8px; }
.logo { width: 30px; height: 30px; border-radius: 8px; background: var(--acc); display: grid; place-items: center; }
.logo i { width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid #fff; }
.orgname b { display: block; font-weight: 600; font-size: 13.5px; } .orgname span { color: var(--mut); font-size: 12px; }
.snav { display: flex; flex-direction: column; gap: 1px; }
.snav .grp { font-size: 11px; font-weight: 600; color: var(--dim); padding: 12px 10px 4px; }
.snav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; color: var(--ink2); font-weight: 500; }
.snav a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; color: var(--mut); }
.snav a:hover { background: var(--sub); }
.snav a.on { background: var(--accbg); color: var(--acc); } .snav a.on svg { color: var(--acc); }
.snav a em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; background: var(--hi); color: #fff; border-radius: 10px; padding: 1px 7px; }
.grow { flex: 1; }
.sync { display: flex; gap: 10px; align-items: flex-start; padding: 10px; margin: 0 0 6px; border: 1px solid var(--ln); border-radius: var(--r); background: var(--sub); }
.sync i { width: 7px; height: 7px; border-radius: 50%; background: var(--av); margin-top: 5px; box-shadow: 0 0 0 3px rgba(47,138,85,.15); }
.sync b { display: block; font-size: 12px; font-weight: 600; } .sync span { color: var(--mut); font-size: 11.5px; }
.me { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 6px; } .me:hover { background: var(--sub); }
.me b { display: block; font-size: 12.5px; font-weight: 600; } .me span { color: var(--mut); font-size: 11.5px; }
.av { width: 28px; height: 28px; border-radius: 50%; background: #e7ebe6; color: var(--ink2); display: grid; place-items: center; font-size: 11px; font-weight: 600; flex: none; }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; background: rgba(245,246,244,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ln); }
.crumbs { display: flex; align-items: center; gap: 8px; color: var(--mut); font-weight: 500; min-width: 0; white-space: nowrap; }
.crumbs b { color: var(--ink); font-weight: 600; } .crumbs a:hover { color: var(--ink); } .crumbs .sep { color: var(--dim); }
.tools { display: flex; align-items: center; gap: 8px; }
.search { position: relative; display: flex; align-items: center; gap: 8px; height: 32px; width: 280px; padding: 0 10px; background: var(--panel); border: 1px solid var(--ln); border-radius: 7px; }
.search svg { width: 14px; height: 14px; fill: none; stroke: var(--mut); stroke-width: 1.5; }
.search input { flex: 1; border: 0; outline: 0; background: none; min-width: 0; }
.search kbd { font: 11px var(--mono); color: var(--mut); border: 1px solid var(--ln); border-radius: 4px; padding: 0 5px; }
.sres { position: absolute; top: 36px; left: 0; right: 0; background: var(--panel); border: 1px solid var(--ln); border-radius: var(--r); box-shadow: 0 12px 32px -12px rgba(0,0,0,.2); display: none; overflow: hidden; }
.sres.on { display: block; }
.sres a { display: flex; justify-content: space-between; padding: 8px 12px; } .sres a:hover, .sres a.hl { background: var(--sub); } .sres a span { color: var(--mut); }
.ib { height: 32px; min-width: 32px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--ln); border-radius: 7px; background: var(--panel); position: relative; font-weight: 500; }
.ib svg { width: 15px; height: 15px; fill: none; stroke: var(--ink2); stroke-width: 1.4; }
.ib b { position: absolute; top: -5px; right: -5px; font-size: 10px; background: var(--hi); color: #fff; border-radius: 9px; padding: 0 5px; line-height: 16px; }
.ib.demo { color: #8a6a1c; background: #fdf7e8; border-color: #ecd9a6; font-size: 12px; }
.content { padding: 20px 24px 60px; display: grid; gap: 16px; align-content: start; }

/* ---------- page head ---------- */
.ph { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ph h1 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.ph p { color: var(--mut); margin-top: 2px; }
.ph .acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ln2); border-radius: 7px; background: var(--panel); font-weight: 500; white-space: nowrap; }
.btn:hover { background: var(--sub); }
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.btn.pri { background: var(--acc); border-color: var(--acc); color: #fff; } .btn.pri:hover { background: var(--acc2); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; }
.btn.danger { color: var(--out); }
.btn[disabled] { opacity: .5; cursor: default; }
.seg { display: inline-flex; border: 1px solid var(--ln2); border-radius: 7px; background: var(--panel); overflow: hidden; height: 32px; }
.seg button { padding: 0 12px; font-weight: 500; color: var(--ink2); border-right: 1px solid var(--ln); } .seg button:last-child { border-right: 0; }
.seg button.on { background: var(--ink); color: #fff; }
.sel { height: 32px; padding: 0 28px 0 10px; border: 1px solid var(--ln2); border-radius: 7px; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b746c' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 10px center / 9px; appearance: none; font-weight: 500; }
.inp { height: 32px; padding: 0 10px; border: 1px solid var(--ln2); border-radius: 7px; background: var(--panel); outline: 0; } .inp:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(47,93,58,.12); }

/* ---------- grid ---------- */
.g { display: grid; gap: 16px; }
.k6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.c21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.c11 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.c12 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 1280px) { .k6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .c21, .c11, .c12 { grid-template-columns: 1fr; } }

/* ---------- panel ---------- */
.pn { background: var(--panel); border: 1px solid var(--ln); border-radius: var(--r); min-width: 0; display: flex; flex-direction: column; }
.pn > .hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ln); min-height: 48px; }
.pn > .hd h2 { font-size: 13.5px; font-weight: 600; }
.pn > .hd h2 span { color: var(--mut); font-weight: 400; margin-left: 6px; }
.pn > .hd .r { display: flex; gap: 8px; align-items: center; }
.pn > .hd a.lk { color: var(--acc); font-weight: 500; }
.pn > .bd { padding: 14px 16px; } .pn > .bd.np { padding: 0; }
.pn > .ft { border-top: 1px solid var(--ln); padding: 10px 16px; color: var(--mut); font-size: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ch { width: 100%; height: 280px; } .ch.sm { height: 220px; } .ch.lg { height: 320px; } .ch.xs { height: 160px; }

/* ---------- kpi ---------- */
.kpi { padding: 14px 16px 10px; }
.kpi .l { color: var(--mut); font-weight: 500; display: flex; justify-content: space-between; gap: 6px; }
.kpi .v { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.kpi .v b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi .v small { color: var(--mut); font-size: 12px; }
.dl { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; } .dl.up { color: var(--av); } .dl.dn { color: var(--out); } .dl.fl { color: var(--mut); }
.kpi .s { color: var(--mut); font-size: 12px; margin-top: 2px; }
.kpi .sp { height: 34px; margin-top: 8px; }

/* ---------- table ---------- */
.tw { overflow: auto; }
table.t { width: 100%; border-collapse: separate; border-spacing: 0; }
.t th { position: sticky; top: 0; z-index: 1; background: var(--sub); text-align: left; font-weight: 500; font-size: 12px; color: var(--mut); padding: 0 12px; height: 36px; border-bottom: 1px solid var(--ln); white-space: nowrap; user-select: none; }
.t th.s { cursor: pointer; } .t th.s:hover { color: var(--ink); }
.t th .ar { margin-left: 4px; color: var(--ink); }
.t th.r, .t td.r { text-align: right; }
.t td { padding: 0 12px; height: 42px; border-bottom: 1px solid var(--ln); white-space: nowrap; vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr.cl { cursor: pointer; } .t tbody tr.cl:hover td { background: #f8faf7; }
.t tbody tr.sel td { background: #f1f6f1; }
.t td.w { white-space: normal; min-width: 220px; line-height: 1.35; padding-top: 8px; padding-bottom: 8px; }
.t .nm { display: flex; align-items: center; gap: 10px; } .t .nm b { font-weight: 600; } .t .nm span { color: var(--mut); font-size: 12px; }
.t .chk { width: 36px; padding-right: 0; }
input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--acc); cursor: pointer; vertical-align: middle; }
.sp-c { display: inline-block; width: 96px; height: 24px; vertical-align: middle; }
.sp-c svg, .kpi .sp svg { width: 100%; height: 100%; display: block; overflow: visible; }
.bar { display: inline-flex; align-items: center; gap: 8px; } .bar i { display: block; width: 64px; height: 6px; border-radius: 3px; background: #edf0ec; overflow: hidden; } .bar i b { display: block; height: 100%; background: var(--acc2); border-radius: 3px; }
.bar i b.lo { background: var(--watch); } .bar i b.vlo { background: var(--out); }
.pg { display: flex; align-items: center; gap: 6px; }

/* status + severity, dot and word, no pills */
.st { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.st.Available::before { background: var(--av); } .st.Watch::before { background: var(--watch); } .st.Modified::before { background: var(--mod); } .st.Out::before { background: var(--out); }
.st.High::before { background: var(--hi); } .st.Medium::before { background: var(--med); } .st.Low::before { background: var(--lo); }
.st.Open::before { background: var(--hi); } .st.Acknowledged::before { background: var(--med); } .st.Resolved::before { background: var(--av); }
.st.Connected::before { background: var(--av); } .st.Syncing::before { background: var(--watch); } .st.Off::before { background: var(--dim); }
.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 4px; background: #eef0ec; color: var(--ink2); }
.sla { font-variant-numeric: tabular-nums; } .sla.late { color: var(--out); font-weight: 600; }

/* toolbar */
.tb { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--ln); flex-wrap: wrap; }
.tb .sp { flex: 1; }
.tb .cnt { color: var(--mut); }
.bulk { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--accbg); border-bottom: 1px solid #d6e5d8; }
.bulk b { font-weight: 600; color: var(--acc); }

/* lists */
.li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--ln); }
.li:last-child { border-bottom: 0; }
.li .m { flex: 1; min-width: 0; } .li .m b { font-weight: 600; display: block; } .li .m span { color: var(--mut); font-size: 12px; }
.li .x { text-align: right; } .li .x b { display: block; font-weight: 600; font-variant-numeric: tabular-nums; } .li .x span { color: var(--mut); font-size: 12px; }
.tm { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex: none; }

/* tabs */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--ln); }
.tabs a { padding: 10px 12px; color: var(--mut); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); } .tabs a.on { color: var(--ink); border-bottom-color: var(--acc); }

/* athlete header */
.ah { display: flex; align-items: center; gap: 16px; }
.ah .av { width: 52px; height: 52px; font-size: 16px; background: var(--accbg); color: var(--acc); }
.ah h1 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; display: flex; align-items: center; gap: 12px; }
.ah .meta { color: var(--mut); margin-top: 3px; display: flex; gap: 14px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; } .kv dt { color: var(--mut); } .kv dd { margin: 0; font-weight: 500; }

/* messages */
.thread { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.bb { max-width: 80%; padding: 8px 12px; border-radius: 16px; line-height: 1.4; font-family: -apple-system, "SF Pro Text", var(--font); font-size: 13.5px; }
.bb.o { background: #e9e9eb; color: #000; align-self: flex-start; border-bottom-left-radius: 4px; }
.bb.a { background: #1b8dff; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bb.p { background: transparent; border: 1px dashed var(--ln2); color: var(--mut); align-self: flex-end; }
.tst { font-size: 11px; color: var(--dim); text-align: center; margin: 6px 0 2px; }

/* drawer */
.scrim { position: fixed; inset: 0; background: rgba(18,26,20,.24); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .18s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 96vw); background: var(--panel); border-left: 1px solid var(--ln); z-index: 50; transform: translateX(100%); visibility: hidden; transition: transform .22s cubic-bezier(.2,.7,.2,1), visibility 0s .22s; display: flex; flex-direction: column; box-shadow: -24px 0 48px -24px rgba(0,0,0,.25); }
body.dopen .scrim { opacity: 1; pointer-events: auto; } body.dopen .drawer { transform: none; visibility: visible; transition: transform .22s cubic-bezier(.2,.7,.2,1); }
.drawer .dh { padding: 14px 18px; border-bottom: 1px solid var(--ln); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.drawer .dh h2 { font-size: 15px; font-weight: 600; } .drawer .dh p { color: var(--mut); margin-top: 2px; }
.drawer .db { padding: 16px 18px; overflow: auto; flex: 1; display: grid; gap: 16px; align-content: start; }
.drawer .df { padding: 12px 18px; border-top: 1px solid var(--ln); display: flex; gap: 8px; justify-content: flex-end; }
.sec h3 { font-size: 12px; font-weight: 600; color: var(--mut); margin-bottom: 8px; }
.ev { border: 1px solid var(--ln); border-radius: var(--r); padding: 10px 12px; background: var(--sub); }
.ev li { margin: 2px 0; }
.draft { border: 1px solid var(--ln); border-radius: var(--r); padding: 12px; }
.draft textarea { width: 100%; min-height: 70px; border: 1px solid var(--ln2); border-radius: 6px; padding: 8px 10px; font: inherit; resize: vertical; outline: 0; }
.draft .src { color: var(--mut); font-size: 12px; margin-top: 8px; }
.x { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; color: var(--mut); } .x:hover { background: var(--sub); color: var(--ink); }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--ink); color: #fff; padding: 9px 14px; border-radius: 8px; font-size: 13px; opacity: 0; transition: .18s; pointer-events: none; z-index: 70; display: flex; gap: 10px; align-items: center; }
.toast.on { opacity: 1; transform: translateX(-50%); }
.toast i { width: 7px; height: 7px; border-radius: 50%; background: #7fd18f; }
.empty { padding: 32px 16px; text-align: center; color: var(--mut); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; color: var(--mut); font-size: 12px; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.note { color: var(--mut); font-size: 12px; }
.intg { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; padding: 16px; }
.ic { border: 1px solid var(--ln); border-radius: var(--r); padding: 14px; display: grid; gap: 8px; }
.ic .h { display: flex; align-items: center; gap: 10px; } .ic .h b { font-weight: 600; } .ic .lg { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 11px; color: #fff; }
.ic .m { color: var(--mut); font-size: 12px; }
.ic .f { display: flex; justify-content: space-between; align-items: center; }
i.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
i.sw.lg { width: 12px; height: 12px; margin: 0 4px; }
.li .x { white-space: nowrap; }
.kpi .v { flex-wrap: wrap; } .kpi .v b { white-space: nowrap; }

/* ---------- variant building blocks ---------- */
.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 1100px) { .k4 { grid-template-columns: 1fr 1fr; } }
.strip { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); background: var(--panel); border: 1px solid var(--ln); border-radius: var(--r); }
.strip > div { padding: 12px 14px; border-right: 1px solid var(--ln); } .strip > div:last-child { border-right: 0; }
.strip span { display: block; color: var(--mut); font-size: 11.5px; } .strip b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
@media (max-width: 1280px) { .strip { grid-template-columns: repeat(5, 1fr); } .strip > div:nth-child(5) { border-right: 0; } }
.wall-row { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: start; padding: 6px 0; }
.wall-l { display: flex; align-items: center; gap: 6px; padding-top: 4px; } .wall-l b { font-weight: 600; } .wall-l span { color: var(--mut); font-size: 11px; }
.wall { display: flex; flex-wrap: wrap; gap: 3px; }
.tile { width: 26px; height: 26px; border-radius: 4px; display: grid; place-items: center; font-size: 9px; font-weight: 600; color: rgba(255,255,255,.85); transition: transform .1s; }
.tile:hover { transform: scale(1.18); outline: 1.5px solid var(--ink); }
.tile.ok { background: #3d8f5c; } .tile.low { background: #7d8a52; } .tile.watch { background: #c58b1e; } .tile.mod { background: #3d6fb0; } .tile.out { background: #e0634f; }
.brief { background: var(--panel); border: 1px solid var(--ln); border-radius: var(--r); padding: 28px 32px; }
.brief .bmeta { color: var(--mut); font-size: 12.5px; }
.brief h1 { font-size: 30px; font-weight: 600; letter-spacing: -.025em; margin: 8px 0 16px; max-width: 26ch; line-height: 1.15; }
.bcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; } .bcols p { color: var(--ink2); font-size: 14px; line-height: 1.6; } .bcols b { color: var(--ink); }
@media (max-width: 1100px) { .bcols { grid-template-columns: 1fr; } }
.dec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 1280px) { .dec { grid-template-columns: 1fr 1fr; } }
.dc { padding: 16px; border-right: 1px solid var(--ln); display: flex; flex-direction: column; gap: 6px; cursor: pointer; } .dc:last-child { border-right: 0; }
.dc:hover { background: var(--sub); } .dct { display: flex; justify-content: space-between; font-size: 12px; } .dc b { font-size: 14.5px; font-weight: 600; margin-top: 4px; } .dc p { color: var(--ink2); }
.dc .bb { max-width: 100%; font-size: 13px; margin-top: 4px; } .dca { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } @media (max-width: 1200px) { .pgrid { grid-template-columns: 1fr 1fr; } }
.pcard { background: var(--panel); border: 1px solid var(--ln); border-radius: var(--r); padding: 16px 18px; cursor: pointer; display: flex; flex-direction: column; transition: border-color .15s; }
.pcard:hover { border-color: var(--ink); } .pcard.sum { cursor: default; background: var(--sub); } .pcard.sum:hover { border-color: var(--ln); }
.pc-h { display: flex; justify-content: space-between; align-items: baseline; } .pc-h > div { display: flex; align-items: center; gap: 8px; } .pc-h b { font-size: 15px; font-weight: 600; }
.pc-n { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; } .pc-n span { display: block; color: var(--mut); font-size: 11.5px; } .pc-n b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .pc-n b small { font-size: 13px; color: var(--mut); font-weight: 500; }
.pc-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 2px; margin-top: 14px; } .pc-bar i { display: block; min-width: 0; }
.pc-sp { height: 48px; margin-top: 12px; } .pc-sp svg { width: 100%; height: 100%; display: block; overflow: visible; }
.pc-f { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ln); color: var(--mut); font-size: 12px; } .pc-f b { color: var(--ink2); font-weight: 600; }
/* top-nav shell */
.tshell { min-height: 100vh; display: flex; flex-direction: column; }
.tnav { position: sticky; top: 0; z-index: 30; height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 24px; background: var(--panel); border-bottom: 1px solid var(--ln); }
.tnav .org { border: 0; padding: 0; margin: 0; }
.tnav .snav { flex-direction: row; justify-self: center; gap: 2px; } .tnav .snav .grp { display: none; } .tnav .snav a svg { display: none; }
.tnav .snav a { padding: 7px 12px; } .tnav .tools { justify-self: end; } .tnav .search { width: 220px; }
.tshell .crumbs { display: none; } .tshell .content { width: 100%; max-width: 1480px; margin: 0 auto; }
.ph5 { display: inline-flex; gap: 3px; } .ph5 i { width: 20px; height: 20px; border-radius: 4px; display: grid; place-items: center; font: 600 10px/1 var(--font); font-style: normal; }
.ph5 i.Full { background: #e3f1e8; color: #2f8a55; } .ph5 i.Ltd { background: #e6edf7; color: #3d6fb0; } .ph5 i.DNP { background: #f8e3e0; color: #c0392b; }
.ph5.lg i { width: 26px; height: 26px; font-size: 11px; }
img.face { object-fit: cover; background: #e7ebe6; display: block; }
img.face.sm { width: 24px; height: 24px; }
.ah img.face { width: 56px; height: 56px; }
.t .nm img.face { width: 30px; height: 30px; }
.li .x { min-width: 76px; }
.unit-h { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; } .unit-h h2 { font-size: 16px; font-weight: 600; }
.faces { display: flex; align-items: center; gap: 4px; margin-top: 10px; } .faces .mut { margin-left: 6px; font-size: 11.5px; }
.fr { display: inline-block; border-radius: 50%; padding: 2px; box-shadow: inset 0 0 0 2px var(--av); }
.fr img.face { width: 30px; height: 30px; } .fr.Watch { box-shadow: inset 0 0 0 2px var(--watch); } .fr.Modified { box-shadow: inset 0 0 0 2px var(--mod); } .fr.Out { box-shadow: inset 0 0 0 2px var(--out); }
.fr:hover { transform: scale(1.12); }
.fw-row { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--ln); align-items: start; } .fw-row:last-child { border-bottom: 0; }
.fw-l { display: flex; align-items: center; gap: 6px; padding-top: 8px; } .fw-l b { font-weight: 600; } .fw-l span { color: var(--mut); font-size: 11.5px; }
.fw { display: flex; flex-wrap: wrap; gap: 4px; } .fw .fr img.face { width: 34px; height: 34px; }
.cd { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; } .cd b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.03em; } .cd span { color: var(--mut); font-size: 12px; }
.txk { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--ln); }
.txk > div { padding: 12px 16px; border-right: 1px solid var(--ln); } .txk > div:last-child { border-right: 0; }
.txk span { display: block; color: var(--mut); font-size: 12px; } .txk b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .txk b small { font-size: 13px; color: var(--mut); font-weight: 500; }
.sub-h { padding: 12px 16px 0; font-size: 12px; font-weight: 600; color: var(--mut); }
.dot-s { width: 8px; height: 8px; border-radius: 50%; flex: none; align-self: flex-start; margin-top: 6px; } .dot-s.watch { background: var(--watch); } .dot-s.ok { background: var(--av); }
@media (max-width: 1100px) { .txk { grid-template-columns: repeat(2, 1fr); } }
.legend.tg span[data-s] { cursor: pointer; user-select: none; padding: 2px 6px; margin: -2px -4px; border-radius: 4px; transition: opacity .12s, background .12s; }
.legend.tg span[data-s]:hover { background: var(--sub); color: var(--ink); }
.legend.tg span[data-s].off { opacity: .4; text-decoration: line-through; }
.legend.tg span[data-s].off i { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--dim); }
.legend.tg .lg-all { cursor: pointer; color: var(--acc); font-weight: 500; visibility: hidden; }
/* alerts views */
.astrip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: var(--panel); border: 1px solid var(--ln); border-radius: var(--r); }
.astrip > div { padding: 12px 16px; border-right: 1px solid var(--ln); } .astrip > div:last-child { border-right: 0; }
.astrip span { display: block; color: var(--mut); font-size: 12px; } .astrip b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .astrip b.hi { color: var(--out); } .astrip b.ok { color: var(--av); }
.atb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.segl { display: inline-flex; align-items: center; padding: 0 10px; color: var(--mut); font-size: 12px; border-right: 1px solid var(--ln); }
.sevbar { width: 3px; align-self: stretch; border-radius: 2px; flex: none; background: var(--lo); } .sevbar.High { background: var(--hi); } .sevbar.Medium { background: var(--med); }
.inbox { display: grid; grid-template-columns: minmax(320px, 400px) 1fr; background: var(--panel); border: 1px solid var(--ln); border-radius: var(--r); min-height: 620px; overflow: hidden; }
.ib-list { border-right: 1px solid var(--ln); overflow: auto; max-height: calc(100vh - 300px); }
.ib-row { display: flex; gap: 10px; padding: 12px 14px 12px 10px; border-bottom: 1px solid var(--ln); cursor: pointer; align-items: flex-start; }
.ib-row:hover { background: var(--sub); } .ib-row.on { background: var(--accbg); }
.ib-row img.face { width: 32px; height: 32px; } .ib-row .m { flex: 1; min-width: 0; }
.ib-row .r1 { display: flex; justify-content: space-between; gap: 8px; } .ib-row .r1 b { font-weight: 600; } .ib-row .r1 span { color: var(--mut); font-size: 11.5px; white-space: nowrap; }
.ib-row .r2 { font-size: 12.5px; margin-top: 1px; } .ib-row .r3 span { display: block; color: var(--mut); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-detail { overflow: auto; max-height: calc(100vh - 300px); }
.ad { padding: 20px 24px; display: grid; gap: 16px; }
.ad-h { display: flex; justify-content: space-between; align-items: center; } .ad-h img.face { width: 44px; height: 44px; }
.ad-t { font-size: 19px; font-weight: 600; letter-spacing: -.015em; } .ad-m { display: flex; gap: 14px; color: var(--mut); font-size: 12px; margin-top: -10px; flex-wrap: wrap; }
.ad-g { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } @media (max-width: 1200px) { .ad-g { grid-template-columns: 1fr; } }
.ad-a { display: flex; gap: 8px; align-items: center; padding-top: 14px; border-top: 1px solid var(--ln); }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.bcol { background: var(--sub); border: 1px solid var(--ln); border-radius: var(--r); padding: 10px; min-height: 300px; transition: background .12s; } .bcol.over { background: var(--accbg); border-color: var(--acc); }
.bcol-h { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 10px; } .bcol-h > span { color: var(--mut); font-variant-numeric: tabular-nums; }
.bcol-b { display: grid; gap: 8px; }
.bcard { position: relative; background: var(--panel); border: 1px solid var(--ln); border-radius: 8px; padding: 10px 12px 10px 16px; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.bcard:hover { border-color: var(--ln2); } .bcard.drag { opacity: .5; } .bcard.done { opacity: .6; }
.bcard .sevbar { position: absolute; left: 6px; top: 10px; bottom: 10px; }
.bcard p { margin: 6px 0 0; font-size: 12.5px; } .bmeta { display: flex; justify-content: space-between; color: var(--mut); font-size: 11.5px; margin-top: 6px; }
.bempty { color: var(--dim); text-align: center; padding: 24px 0; font-size: 12px; }
@media (max-width: 1100px) { .astrip { grid-template-columns: repeat(3, 1fr); } .inbox { grid-template-columns: 1fr; } .board { grid-template-columns: 1fr; } }
/* alert detail, cleaner */
.ad-top { display: flex; align-items: center; gap: 12px; } .ad-top img.face { width: 40px; height: 40px; }
.ad-top .who b { display: block; font-weight: 600; font-size: 14.5px; } .ad-top .who span { color: var(--mut); font-size: 12.5px; }
.ad-top .tags { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.ad-t { margin: 0; } .ad-m { margin-top: 4px !important; }
ul.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } ul.why li { position: relative; padding-left: 14px; } ul.why li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--dim); }
p.act { margin: 0; font-weight: 500; } p.pers { margin: 8px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--accbg); color: var(--ink2); font-size: 12.5px; line-height: 1.5; } p.pers b { color: var(--acc); font-weight: 600; }
ol.tl { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 1.5px solid var(--ln); display: grid; gap: 14px; }
ol.tl li { position: relative; } ol.tl li::before { content: ""; position: absolute; left: -24px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--panel); border: 1.5px solid var(--dim); }
ol.tl li.ok::before { background: var(--av); border-color: var(--av); } ol.tl li b { font-weight: 600; } ol.tl li > span { color: var(--mut); font-size: 12px; margin-left: 8px; }
ol.tl .bb { margin-top: 6px; display: inline-block; max-width: 90%; font-size: 13px; }
/* protocols */
.vtag { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 10px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); margin-left: 6px; vertical-align: 1px; }
.vtag.std { --c: #6b746c; } .vt .vtag { margin-left: 0; }
.vmini { display: flex; height: 4px; gap: 2px; margin-top: 8px; border-radius: 2px; overflow: hidden; } .vmini i { display: block; }
.inbox.pr .ib-row { padding-left: 16px; }
.pbase { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .pbase > div { border: 1px solid var(--ln); border-radius: 8px; padding: 12px 14px; } .pbase span { color: var(--mut); font-size: 12px; } .pbase p { margin: 4px 0 0; }
.pk { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--ln); border-radius: 8px; } .pk > div { padding: 10px 14px; border-right: 1px solid var(--ln); } .pk > div:last-child { border-right: 0; } .pk span { display: block; color: var(--mut); font-size: 12px; } .pk b { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stack { display: flex; align-items: center; } .stack img.face { margin-left: -6px; border: 2px solid var(--panel); width: 26px; height: 26px; } .stack img.face:first-child { margin-left: 0; } .stack .more { margin-left: 6px; color: var(--mut); font-size: 12px; }
ul.learned { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink2); } ul.learned b { color: var(--ink); }
.me { cursor: pointer; position: relative; border: 1px solid transparent; } .me:hover { border-color: var(--ln); background: var(--sub); }
.me .chev { width: 10px; height: 6px; margin-left: auto; color: var(--mut); }
.rolemenu { position: fixed; z-index: 80; width: 300px; max-height: 70vh; overflow: auto; background: var(--panel); border: 1px solid var(--ln); border-radius: 10px; box-shadow: 0 18px 48px -16px rgba(0,0,0,.28); padding: 6px; display: none; }
.rolemenu.on { display: block; }
.rm-h { padding: 8px 10px 4px; font-weight: 600; } .rm-g { padding: 10px 10px 4px; font-size: 11px; font-weight: 600; color: var(--dim); }
.rm-i { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; } .rm-i:hover { background: var(--sub); } .rm-i.on { background: var(--accbg); }
.rm-i b { display: block; font-weight: 600; font-size: 12.5px; } .rm-i span:not(.av) { color: var(--mut); font-size: 11.5px; } .rm-i i { margin-left: auto; font-style: normal; color: var(--acc); font-weight: 700; }
.rm-f { border-top: 1px solid var(--ln); margin-top: 6px; padding: 8px 10px 4px; color: var(--mut); font-size: 11.5px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .content.enter > * { animation: rise .55s cubic-bezier(.2,.75,.2,1) both; }
  .content.enter > *:nth-child(2) { animation-delay: .04s; } .content.enter > *:nth-child(3) { animation-delay: .08s; } .content.enter > *:nth-child(4) { animation-delay: .12s; } .content.enter > *:nth-child(5) { animation-delay: .16s; } .content.enter > *:nth-child(6) { animation-delay: .2s; } .content.enter > *:nth-child(n+7) { animation-delay: .24s; }
  .content.enter .k6 > *, .content.enter .k4c > *, .content.enter .kauto > * { animation: rise .5s cubic-bezier(.2,.75,.2,1) both; }
  .content.enter .k6 > *:nth-child(2), .content.enter .k4c > *:nth-child(2) { animation-delay: .05s; } .content.enter .k6 > *:nth-child(3), .content.enter .k4c > *:nth-child(3) { animation-delay: .1s; } .content.enter .k6 > *:nth-child(4), .content.enter .k4c > *:nth-child(4) { animation-delay: .15s; } .content.enter .k6 > *:nth-child(5) { animation-delay: .2s; } .content.enter .k6 > *:nth-child(6) { animation-delay: .25s; }
  .content.enter .t tbody tr { animation: fadein .4s ease both; } .content.enter .t tbody tr:nth-child(n+2) { animation-delay: .03s; } .content.enter .t tbody tr:nth-child(n+4) { animation-delay: .06s; } .content.enter .t tbody tr:nth-child(n+8) { animation-delay: .1s; }
  .pn.kpi, .pcard, .bcard, .ag-task, .nrow, .ib-row { transition: transform .18s cubic-bezier(.2,.75,.2,1), box-shadow .18s, border-color .18s, background .15s; }
  .pn.kpi:hover, .pcard:hover, .ag-task:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(18,26,20,.25); }
  .bcard:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -12px rgba(18,26,20,.25); }
  .btn { transition: background .15s, transform .08s, box-shadow .15s; } .btn:active { transform: scale(.97); }
  .snav a { transition: background .15s, color .15s; }
  .toast.on { animation: pop .28s cubic-bezier(.2,1.4,.4,1); }
  .sync i, .live i { animation: pulse 2.2s ease-in-out infinite; }
  .ib-detail .ad { animation: fadein .3s ease both; }
  .rolemenu.on { animation: pop .18s cubic-bezier(.2,1.2,.4,1); transform-origin: bottom left; }
  .tile, img.face { transition: transform .15s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateX(-50%) scale(.94); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
.rolemenu.on { --x: 0; } @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,138,85,.35); } 50% { box-shadow: 0 0 0 6px rgba(47,138,85,0); } }

/* ---------- Obeo agent ---------- */
.snav a .new { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 1px 6px; border-radius: 4px; background: var(--ink); color: #fff; }
body.on-agent .content { padding: 0; }
.agent { display: grid; grid-template-columns: 220px 1fr 300px; height: calc(100vh - 52px); }
.ag-l { border-right: 1px solid var(--ln); padding: 14px 12px; background: var(--panel); overflow: auto; }
.ag-gh { font-size: 11px; font-weight: 600; color: var(--dim); padding: 16px 8px 6px; }
.ag-th { display: block; padding: 7px 8px; border-radius: 6px; color: var(--ink2); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ag-th:hover { background: var(--sub); } .ag-th.on { background: var(--accbg); color: var(--acc); }
.ag-c { display: flex; flex-direction: column; min-width: 0; background: var(--bg); }
.ag-scroll { flex: 1; overflow: auto; padding: 28px max(24px, calc((100% - 760px) / 2)) 16px; scroll-behavior: smooth; }
.ag-hello { text-align: center; padding-top: 7vh; } .ag-hello h1 { font-size: 28px; font-weight: 600; letter-spacing: -.025em; margin: 22px 0 8px; } .ag-hello p { color: var(--mut); max-width: 52ch; margin: 0 auto; }
.orb { width: 64px; height: 64px; margin: 0 auto; position: relative; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4f8a58, #1e3d27 70%); box-shadow: 0 12px 40px -10px rgba(47,93,58,.6); }
.orb i { position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(47,93,58,.35); animation: ring 3s ease-out infinite; } .orb i:nth-child(2) { animation-delay: 1s; } .orb i:nth-child(3) { animation-delay: 2s; }
@keyframes ring { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.ag-tasks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 32px auto 0; max-width: 640px; text-align: left; }
.ag-task { background: var(--panel); border: 1px solid var(--ln); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; } .ag-task b { font-weight: 600; } .ag-task span { color: var(--mut); font-size: 12.5px; } .ag-task:hover { border-color: var(--acc); }
.ag-in { margin: 0 max(24px, calc((100% - 760px) / 2)) 6px; display: flex; gap: 8px; align-items: flex-end; background: var(--panel); border: 1px solid var(--ln2); border-radius: 14px; padding: 8px 8px 8px 14px; box-shadow: 0 8px 30px -18px rgba(0,0,0,.3); transition: border-color .15s, box-shadow .15s; }
.ag-in:focus-within { border-color: var(--acc); box-shadow: 0 0 0 4px rgba(47,93,58,.1); }
.ag-in textarea { flex: 1; border: 0; outline: 0; resize: none; font: inherit; font-size: 14px; padding: 6px 0; background: none; max-height: 160px; }
.ag-note { text-align: center; color: var(--dim); font-size: 11.5px; padding: 0 0 12px; }
.msg { display: flex; gap: 12px; margin: 0 0 18px; animation: rise .35s cubic-bezier(.2,.75,.2,1) both; }
.msg.u { justify-content: flex-end; } .msg.u .bub { background: var(--ink); color: #fff; padding: 9px 14px; border-radius: 16px 16px 4px 16px; max-width: 70%; }
.msg .av.o { background: var(--acc); color: #fff; font-weight: 700; flex: none; }
.msg .body { flex: 1; min-width: 0; }
.steps { display: grid; gap: 6px; margin-bottom: 10px; color: var(--mut); font-size: 12.5px; transition: opacity .3s; }
.steps.fold { opacity: .55; }
.step { display: flex; align-items: center; gap: 8px; opacity: .35; transition: opacity .2s; } .step.run, .step.done { opacity: 1; }
.step i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ln2); flex: none; position: relative; }
.step.run i { border-color: var(--acc); border-top-color: transparent; animation: spin .7s linear infinite; }
.step.done i { background: var(--acc); border-color: var(--acc); } .step.done i::after { content: ""; position: absolute; left: 3px; top: 1px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.step.run span { background: linear-gradient(90deg, var(--mut) 0%, var(--ink) 50%, var(--mut) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.ans { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; } .ans.in { opacity: 1; transform: none; }
.ans p { margin: 0 0 12px; line-height: 1.6; font-size: 14px; } .ans .typ { visibility: hidden; } .ans.in .typ { visibility: visible; }
.acard { background: var(--panel); border: 1px solid var(--ln); border-radius: 12px; margin: 0 0 12px; overflow: hidden; }
.acard.doc { padding: 16px 18px; } .acard.doc h3 { margin: 0 0 8px; font-size: 15px; }
.ach { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--ln); } .ach b { font-weight: 600; } .ach span { color: var(--mut); }
.arow { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--ln); } .arow b { font-weight: 600; min-width: 130px; } .arow span { color: var(--ink2); flex: 1; } .arow em { font-style: normal; color: var(--out); font-weight: 600; font-size: 12px; }
.aact { display: flex; gap: 8px; padding: 10px 14px; } .acard.doc .aact { padding: 8px 0 0; }
.ag-r { border-left: 1px solid var(--ln); background: var(--panel); padding: 16px; overflow: auto; }
.ag-rh { display: flex; justify-content: space-between; align-items: center; } .ag-rh b { font-size: 14px; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--av); font-weight: 600; font-size: 12px; } .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--av); }
.ag-sub { font-size: 11px; font-weight: 600; color: var(--dim); margin: 18px 0 8px; }
ol.auto { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1.5px solid var(--ln); display: grid; gap: 12px; }
ol.auto li { position: relative; display: grid; } ol.auto li::before { content: ""; position: absolute; left: -19px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
ol.auto span { color: var(--dim); font-size: 11px; } ol.auto b { font-weight: 500; font-size: 12.5px; } ol.auto em { font-style: normal; color: var(--mut); font-size: 11.5px; }
.apr { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--ln); } .apr b { display: block; font-size: 12.5px; font-weight: 500; } .apr span { color: var(--mut); font-size: 11.5px; }
.sel.sm { height: 28px; font-size: 12px; padding-right: 24px; }
@media (max-width: 1200px) { .agent { grid-template-columns: 1fr; } .ag-l, .ag-r { display: none; } }
/* collapsible sidebar (all versions) */
.shell { transition: grid-template-columns .25s cubic-bezier(.2,.75,.2,1); }
.sbt { margin-left: auto; width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; color: var(--mut); flex: none; }
.sbt:hover { background: var(--sub); color: var(--ink); } .sbt svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
body.sb-min .shell { grid-template-columns: 64px 1fr; }
body.sb-min .orgname, body.sb-min .snav .lbl, body.sb-min .snav .grp, body.sb-min .sync, body.sb-min .me > div, body.sb-min .me .chev, body.sb-min .snav a .new { display: none; }
body.sb-min .org { flex-direction: column; gap: 8px; padding: 4px 0 12px; } body.sb-min .sbt { margin: 0; }
body.sb-min .snav a { justify-content: center; padding: 9px 0; position: relative; }
body.sb-min .snav a em { position: absolute; top: 5px; right: 12px; font-size: 0; width: 8px; height: 8px; padding: 0; border-radius: 50%; }
body.sb-min .me { justify-content: center; padding: 8px 0; }
body.sb-min .side { padding-left: 8px; padding-right: 8px; }
/* agent answers: headline, breakdown, decision */
.ans .ahead { font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin: 2px 0 2px; color: var(--ink); }
.ans .asub { color: var(--mut); margin: 0 0 12px; font-size: 13.5px; }
.grow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--ln); } .grow:last-child { border-bottom: 0; }
.grow .gn { min-width: 30px; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.grow .gm { flex: 1; min-width: 0; } .grow .gm b { display: block; font-weight: 600; font-size: 13.5px; } .grow .gm span { color: var(--mut); font-size: 12.5px; }
.grow em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--mut); } .grow em.red { color: #c0392b; }
.grow .stack img.face { width: 24px; height: 24px; }
.aact.top { padding: 2px 0 6px; }
ul.rep { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink2); line-height: 1.5; } ul.rep b { color: var(--ink); }
.kvr { display: flex; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--ln); } .kvr:last-child { border-bottom: 0; } .kvr span { width: 90px; color: var(--mut); flex: none; } .kvr b { font-weight: 500; }
.acard .ach img.face { width: 24px; height: 24px; }
.aact { justify-content: flex-start !important; }
.eng { display: grid; } .er { display: grid; grid-template-columns: 1fr 70px 130px 90px; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ln); } .er:last-child { border-bottom: 0; }
.er .el { color: var(--ink2); } .er b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; } .er .es { height: 26px; display: block; } .er .es svg { width: 100%; height: 100%; display: block; overflow: visible; } .er .ed { color: var(--mut); font-size: 12px; text-align: right; }
.pt td { height: 46px; } .pw { font-size: 12px; font-weight: 600; } .pw.ok { color: #2f8a55; } .pw.mid { color: #b07a1a; } .pw.bad { color: #b4321f; }
/* role menu: smooth open/close, no sideways jump */
.rolemenu.on { animation: rmIn .16s cubic-bezier(.2,.8,.2,1) both !important; transform-origin: bottom left; }
.rolemenu.out { animation: rmOut .14s ease both !important; }
@keyframes rmIn { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rmOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(4px) scale(.985); } }
.rolemenu { width: 288px; padding: 6px; } .rm-i { transition: background .12s; } .rm-i.pick { background: var(--accbg); }
.rm-i i { transition: opacity .15s; } .me.open { background: var(--sub); } .me.open .chev { transform: rotate(180deg); } .me .chev { transition: transform .15s; }
body.switching .main, body.switching .side .snav { opacity: .35; transition: opacity .18s ease; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { body { animation: pagein .25s ease both; } }
@keyframes pagein { from { opacity: .4; } to { opacity: 1; } }
.me img.face, .rm-i img.face { width: 30px; height: 30px; flex: none; } .rm-i img.face { width: 28px; height: 28px; }
.an-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.an-t { text-align: left; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--ln); font-weight: 500; color: var(--ink2); transition: border-color .15s, box-shadow .15s; }
.an-t:hover { border-color: var(--ln2); } .an-t.on { border-color: var(--acc); color: var(--ink); box-shadow: 0 0 0 3px rgba(47,93,58,.1); }
.an-ans b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.015em; } .an-ans p { margin: 6px 0 0; font-size: 15px; color: var(--ink2); max-width: 80ch; }
@media (max-width: 1100px) { .an-tabs { grid-template-columns: 1fr 1fr; } }
.trip { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ln); } .trip:last-child { border-bottom: 0; } .trip:first-child { padding-top: 4px; }
.tr-d { width: 54px; flex: none; text-align: center; padding: 8px 0; border-radius: 12px; background: var(--sub); } .tr-d b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; } .tr-d span { font-size: 11px; color: var(--mut); }
.trip.live .tr-d { background: var(--accbg); } .trip.live .tr-d b { font-size: 15px; color: var(--acc); padding: 4px 0; }
.tr-m { flex: 1; min-width: 0; } .tr-h b { font-size: 15px; font-weight: 600; margin-right: 8px; } .tr-h span { color: var(--mut); font-size: 13px; }
.tr-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .tr-tags i { font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 6px; background: var(--sub); color: var(--ink2); }
.tr-rec { margin-top: 10px; display: grid; gap: 6px; font-size: 13px; color: var(--ink2); } .tr-rec b { color: var(--ink); }
.tr-bar { height: 5px; border-radius: 3px; background: #eef0ec; overflow: hidden; display: block; } .tr-bar i { display: block; height: 100%; background: var(--watch, #d08b16); border-radius: 3px; }
.tr-w { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--mut); } .tr-w .stack img.face { width: 22px; height: 22px; }
.trip:hover .tr-h b { text-decoration: underline; text-underline-offset: 3px; }
.lasttrip { margin-top: 6px; padding: 14px 16px; border-radius: 12px; background: var(--sub); display: grid; gap: 4px; } .lt-k { font-size: 11.5px; color: var(--mut); font-weight: 500; } .lt-r b { font-weight: 600; margin-right: 8px; } .lt-r span { color: var(--ink2); font-size: 13px; }
.trip.is-now .tr-d { background: var(--accbg); } .trip.is-now .tr-d b { font-size: 15px; color: var(--acc); padding: 4px 0; }
.av-big b { font-size: 44px; font-weight: 600; letter-spacing: -.03em; line-height: 1; } .av-big span { display: block; color: var(--mut); margin-top: 6px; }
.av-bar { display: flex; gap: 3px; height: 10px; border-radius: 5px; overflow: hidden; margin: 22px 0 18px; } .av-bar i { display: block; min-width: 3px; }
.av-rows { display: grid; } .av-rows > div { display: grid; grid-template-columns: 10px 44px 1fr; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--ln); } .av-rows > div:last-child { border-bottom: 0; }
.av-rows i { width: 10px; height: 10px; border-radius: 3px; } .av-rows b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; } .av-rows span { color: var(--mut); font-size: 13px; } .av-rows em { font-style: normal; color: var(--ink); font-weight: 500; margin-right: 8px; }
.tr-d { width: 60px; } .tr-d span { white-space: nowrap; }
.trip { gap: 0; padding: 16px 0; }
.tr-h { display: flex; align-items: baseline; gap: 8px; } .tr-h b { margin-right: 0; }
.tr-c { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--ink2); white-space: nowrap; padding: 2px 8px; border-radius: 6px; background: var(--sub); }
.trip.is-now .tr-c { background: var(--accbg); color: var(--acc); display: inline-flex; align-items: center; gap: 6px; } .tr-c i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); animation: pulse 2.2s ease-in-out infinite; }
.tr-tags { margin-top: 8px; } .tr-rec { margin-top: 8px; gap: 5px; } .tr-bar { height: 4px; }
.fun { display: grid; gap: 12px; margin-top: 4px; }
.fr2 { display: grid; grid-template-columns: 130px 1fr 70px; align-items: center; gap: 14px; }
.fl b { display: block; font-weight: 600; font-size: 13.5px; } .fl span { color: var(--mut); font-size: 12px; }
.fb { height: 28px; background: var(--sub); border-radius: 8px; overflow: hidden; } .fb i { display: block; height: 100%; background: var(--acc); border-radius: 8px; transition: width .8s cubic-bezier(.2,.75,.2,1); }
.fv { text-align: right; } .fv b { display: block; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; } .fv span { color: var(--mut); font-size: 11.5px; }
.fchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; } .fchips span { background: var(--sub); border-radius: 8px; padding: 6px 10px; font-size: 12.5px; color: var(--mut); } .fchips b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.trip2 { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--sub); margin-bottom: 10px; transition: background .15s, transform .15s; }
.trip2:last-child { margin-bottom: 0; } .trip2:hover { background: #eeeee9; }
.trip2.is-now { background: var(--accbg); }
.t2-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .t2-h b { font-size: 15px; font-weight: 600; }
.t2-h .tr-c { background: #fff; } .trip2.is-now .tr-c { background: #fff; }
.t2-s { color: var(--mut); font-size: 12.5px; }
.t2-t { color: var(--ink2); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px; } .t2-t span { color: var(--dim); }
.t2-r { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 8px; }
.t2-rl { display: flex; gap: 6px; align-items: baseline; font-size: 12.5px; } .t2-rl span { color: var(--mut); } .t2-rl b { font-weight: 600; }
.t2-r .tr-bar { height: 4px; background: #e3e3de; } .tr-bar.g i { background: var(--acc); }
.t2-r .stack img.face { width: 22px; height: 22px; border-color: var(--sub); } .t2-x { font-size: 12px; color: var(--mut); white-space: nowrap; }
.trip2.is-now .tr-c { color: var(--acc); display: inline-flex; align-items: center; gap: 6px; }
.nrow .urg { font-style: normal; font-size: 11.5px; font-weight: 600; color: #b4321f; background: #fbece9; padding: 3px 9px; border-radius: 999px; line-height: 1.3; }
.sea td { height: 46px; } .sea tr.home td { color: var(--mut); } .sea tr.home b { font-weight: 500; color: var(--ink2); }
.sea tr.nxt td { background: var(--accbg); } .tag-n { font-style: normal; font-size: 11px; font-weight: 600; color: var(--acc); background: #fff; padding: 2px 8px; border-radius: 999px; }
.cnd { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: #fbf2df; color: #8a5f0c; } .win { color: #2f8a55; font-weight: 600; } .loss { color: var(--mut); }
.tp-h { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; } .tp-h h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; } .tp-h span { color: var(--mut); }
.dep { display: grid; grid-template-columns: 150px 1fr 1.2fr; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 12px; margin-bottom: 8px; background: var(--sub); }
.dep.rec { background: var(--accbg); box-shadow: inset 0 0 0 1.5px var(--acc); }
.dp-t b { display: block; font-weight: 600; } .dp-t span { color: var(--mut); font-size: 12.5px; }
.dp-m { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .dp-m span { display: block; color: var(--mut); font-size: 11.5px; } .dp-m b { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dp-w em { font-style: normal; font-size: 11.5px; font-weight: 600; color: #fff; background: var(--acc); padding: 2px 8px; border-radius: 999px; } .dp-w em.q { background: #fff; color: var(--mut); } .dp-w span { display: block; color: var(--ink2); font-size: 12.5px; margin-top: 6px; line-height: 1.4; }
.dp-a { display: flex; align-items: center; gap: 12px; padding: 8px 2px 0; font-size: 12.5px; }
.wx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; } .wx > div { background: var(--sub); border-radius: 10px; padding: 10px 12px; } .wx b { display: block; font-size: 17px; font-weight: 600; } .wx span { color: var(--mut); font-size: 11.5px; }
ol.gclock { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--ln); display: grid; gap: 12px; }
ol.gclock li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 10px; } ol.gclock li::before { content: ""; position: absolute; left: -24px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--acc); }
ol.gclock li span { color: var(--mut); font-variant-numeric: tabular-nums; font-size: 13px; } ol.gclock li b { font-weight: 500; } ol.gclock li.ko::before { background: var(--acc); } ol.gclock li.ko b { font-weight: 700; }
.accl th, .accl td { text-align: center; padding: 0 3px !important; height: 38px; } .accl th:first-child, .accl td:first-child { text-align: left; padding-right: 10px !important; } .accl th.today { color: var(--acc); font-weight: 700; }
.acd { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; } .acd.done { background: var(--acc); } .acd.miss { border: 1.5px solid #c0392b; } .acd.up { width: 5px; height: 5px; background: #cfd2cb; }
.k4c.plain > .pn.kpi:first-child { background: #fff; } .k4c.plain > .pn.kpi:first-child .v b { color: var(--ink); }
.sstrip { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; }
.sg { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 10px 10px 9px; border-radius: 12px; background: var(--panel); border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.sg:hover { transform: translateY(-1px); } .sg.on { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(47,93,58,.1); } .sg.done { opacity: .72; } .sg.done.on { opacity: 1; }
.sg .sd { font-size: 11px; color: var(--mut); } .sg .si svg { width: 15px; height: 15px; fill: none; stroke: var(--ink2); stroke-width: 1.4; } .sg b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sg em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--mut); } .sg em.w { color: #2f8a55; } .sg em.l { color: #b4321f; } .sg.nx em { color: var(--acc); }
.gh { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 22px 24px; background: var(--panel); border-radius: 16px; }
.gh-t span { color: var(--mut); font-size: 13px; } .gh-t h2 { margin: 4px 0 0; font-size: 26px; font-weight: 600; letter-spacing: -.025em; } .gh-t p { margin: 6px 0 0; font-size: 16px; font-weight: 500; color: var(--acc); }
.gh-s { display: grid; grid-template-columns: repeat(4, auto); gap: 28px; } .gh-s b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.02em; } .gh-s span { color: var(--mut); font-size: 12px; }
.lv { display: grid; grid-template-columns: 100px 1fr 44px 96px; align-items: center; gap: 12px; padding: 9px 0; }
.lv .lvl { font-weight: 500; } .lvb { height: 10px; background: var(--sub); border-radius: 5px; overflow: hidden; } .lvb i { display: block; height: 100%; background: #b9c4ba; border-radius: 5px; } .lv.rec .lvb i { background: var(--acc); }
.lv b { font-variant-numeric: tabular-nums; text-align: right; } .lv em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--mut); } .lv.rec em { color: var(--acc); }
.why3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .why3 > div { background: var(--sub); border-radius: 12px; padding: 14px 16px; } .why3 b { display: block; font-weight: 600; margin-bottom: 4px; } .why3 span { color: var(--ink2); font-size: 13px; line-height: 1.45; }
.wk { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; } .wk::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: var(--ln); }
.wk > div { position: relative; display: grid; gap: 2px; padding-right: 10px; } .wk i { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--acc); margin-bottom: 8px; position: relative; } .wk .gd i { background: var(--acc); }
.wk b { font-size: 12.5px; font-weight: 600; } .wk span { color: var(--ink2); font-size: 12.5px; }
.hgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; } .hr { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--ln); } .hr > span { width: 52px; font-size: 12.5px; font-weight: 500; } .hr > div { display: flex; gap: 4px; align-items: center; } .hr .acd { width: 9px; height: 9px; } .hr .acd.up { width: 4px; height: 4px; }
@media (max-width: 1200px) { .sstrip { grid-template-columns: repeat(6, 1fr); } .gh { grid-template-columns: 1fr; } .hgrid { grid-template-columns: 1fr 1fr; } }
.now3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .n3 { background: var(--sub); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; } .n3 b { font-size: 26px; font-weight: 600; } .n3 > span:not(.stack) { color: var(--mut); font-size: 12.5px; } .n3.on b { color: #2f8a55; } .n3.drift b { color: #b07a1a; } .n3.none b { color: #b4321f; }
.lg { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--ln); } .lg:last-child { border-bottom: 0; } .lg i { width: 18px; height: 18px; border-radius: 50%; flex: none; margin-top: 1px; position: relative; }
.lg i.ok { background: var(--acc); } .lg i.ok::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); } .lg i.pend { border: 1.5px dashed #b9bfb7; } .lg i.warn { background: #fbf2df; box-shadow: inset 0 0 0 1.5px #d08b16; }
.lg b { display: block; font-weight: 600; font-size: 13.5px; } .lg span { color: var(--mut); font-size: 12.5px; }
.aft { flex-direction: row !important; display: flex; align-items: center; justify-content: space-between; gap: 16px; } .aft b { font-weight: 600; margin-right: 10px; } .aft span { color: var(--ink2); } .aft em { font-style: normal; font-size: 12px; font-weight: 600; color: #9a6a0e; background: #fbf2df; padding: 3px 10px; border-radius: 999px; }
.hva { display: grid; gap: 18px; } .hv .hl { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; } .hv .hu { color: var(--mut); font-size: 11.5px; }
.hb { display: grid; grid-template-columns: 44px 1fr 50px; align-items: center; gap: 10px; margin-bottom: 4px; } .hb span { color: var(--mut); font-size: 12px; } .hb i { height: 8px; background: var(--sub); border-radius: 4px; overflow: hidden; display: block; } .hb i b { display: block; height: 100%; background: var(--acc); border-radius: 4px; } .hb.a i b { background: #c58b1e; } .hb em { font-style: normal; font-weight: 600; font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.x b.up { color: #2f8a55; } .x b.dn2 { color: #b4321f; }
/* ---------- phone preview ---------- */
.iph { width: 300px; border-radius: 40px; background: #0d0d0d; padding: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); position: relative; margin: 0 auto; }
.iph.sm { width: 260px; } .iph-n { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; background: #000; border-radius: 14px; z-index: 2; }
.iph-top { background: #f6f6f6; border-radius: 30px 30px 0 0; padding: 44px 0 10px; display: grid; justify-items: center; gap: 2px; border-bottom: 1px solid #e5e5e5; }
.iph-top b { font-size: 12px; font-weight: 600; color: #111; } .iph-top span:not(.iph-orb) { font-size: 10px; color: #8e8e93; }
.iph-orb { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #6fae7a, #1e3d27 75%); }
.iph-body { background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 5px; min-height: 280px; max-height: 360px; overflow-y: auto; }
.iph.sm .iph-body { min-height: 150px; }
.iph-body .bb { max-width: 82%; font-size: 13px; padding: 7px 11px; } .iph-t { text-align: center; font-size: 10px; color: #8e8e93; margin: 6px 0 2px; }
.iph-in { background: #fff; border-radius: 0 0 30px 30px; padding: 8px 12px 16px; } .iph-in span { display: block; border: 1px solid #e0e0e0; border-radius: 16px; padding: 5px 12px; font-size: 11px; color: #b0b0b5; }
.bb.typing { display: inline-flex; gap: 3px; padding: 10px 12px; } .bb.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9a9e; animation: tp 1s infinite; } .bb.typing i:nth-child(2) { animation-delay: .15s; } .bb.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tp { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
/* drawers */
.drawer.wide { width: min(880px, 96vw); } .sdr { grid-template-columns: 1fr 320px !important; display: grid !important; gap: 24px; } .sdr-l { display: grid; gap: 16px; align-content: start; }
.ta { width: 100%; min-height: 110px; border: 1px solid var(--ln2); border-radius: 10px; padding: 10px 12px; font: inherit; resize: vertical; outline: 0; background: var(--panel); color: var(--ink); } .ta:focus { border-color: var(--acc); }
.frm { display: grid; gap: 12px; } .frm label { display: grid; gap: 6px; font-size: 12.5px; color: var(--mut); } .frm .inp, .frm .sel { width: 100%; }
.chks { display: flex; flex-wrap: wrap; gap: 8px; } .ck { display: inline-flex !important; grid-auto-flow: column; align-items: center; gap: 6px !important; color: var(--ink) !important; font-size: 13px !important; }
.chips2 { display: flex; flex-wrap: wrap; gap: 6px; } .chip2 { font-size: 12.5px; padding: 6px 10px; border-radius: 999px; background: var(--sub); color: var(--ink2); } .chip2:hover { background: var(--accbg); color: var(--acc); }
.pd-ai { display: flex; gap: 8px; align-items: center; padding: 8px 8px 8px 12px; border: 1px solid var(--ln2); border-radius: 12px; } .pd-ai .inp { flex: 1; border: 0; background: transparent; }
.pd-or { display: flex; align-items: center; gap: 10px; color: var(--mut); font-size: 12px; }
/* schedule */
.sch { display: grid; } .srow { display: grid; grid-template-columns: 96px 14px 1fr 90px 200px; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--ln); }
.srow:last-child { border-bottom: 0; } .stm { color: var(--mut); font-variant-numeric: tabular-nums; font-size: 13px; padding-top: 1px; }
.sdot { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; border: 2px solid var(--acc); } .srow.sent .sdot { background: var(--acc); } .srow.paused .sdot, .srow.paused.queued .sdot { border-color: #c9ccc6; }
.srow .sm b { font-weight: 600; } .srow .sm > span { display: block; color: var(--mut); font-size: 12.5px; } .srow .sm p { margin: 6px 0 0; color: var(--ink2); font-size: 13px; line-height: 1.45; } .srow.sent .sm p { color: var(--mut); }
.srow.paused { opacity: .55; } .em, .ed { font-style: normal; font-size: 11px; color: var(--acc); background: var(--accbg); padding: 1px 6px; border-radius: 999px; margin-left: 6px; font-weight: 600; }
.sst b { display: block; font-size: 12.5px; font-weight: 600; color: #2f8a55; } .sst b.q { color: var(--ink2); } .sst b.pz2 { color: #9a6a0e; } .sst span { color: var(--mut); font-size: 12px; }
.sact { display: flex; gap: 2px; justify-content: flex-end; }
.now-line { display: flex; align-items: center; gap: 10px; color: #b4321f; font-size: 11.5px; font-weight: 600; margin: 4px 0; } .now-line::after { content: ""; flex: 1; height: 1.5px; background: #e8a497; }
.pz { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; font-size: 13px; } .pz input { display: none; } .pz span { width: 34px; height: 20px; border-radius: 999px; background: var(--acc); position: relative; transition: background .15s; } .pz span::after { content: ""; position: absolute; top: 2px; left: 16px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; } .pz.on span { background: #c9ccc6; } .pz.on span::after { left: 2px; }
/* enrollment */
.code { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--sub); } .code b { font-family: var(--mono); font-size: 18px; letter-spacing: .04em; }
.code2 { display: flex; gap: 8px; align-items: baseline; margin-top: 8px; font-size: 12.5px; } .code2 span { color: var(--mut); } .code2 b { font-weight: 500; color: var(--acc); }
.todo { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--ln); } .todo:last-child { border-bottom: 0; } .todo b { font-weight: 600; }
.tk { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1.5px dashed #c9ccc6; vertical-align: middle; position: relative; } .tk.on { border: 0; background: var(--acc); } .tk.on::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
/* brief + activity */
.brief2 .bl { margin: 0 0 10px; font-size: 15px; } .brief2 .bl b { font-weight: 600; } ul.bul { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 6px; color: var(--ink2); line-height: 1.5; }
ol.act { list-style: none; margin: 0; padding: 0; } ol.act li { display: grid; grid-template-columns: 62px 12px 1fr; gap: 10px; align-items: start; padding: 9px 0; border-bottom: 1px solid var(--ln); } ol.act li:last-child { border-bottom: 0; }
ol.act span { color: var(--mut); font-size: 12px; font-variant-numeric: tabular-nums; } ol.act i { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; background: var(--acc); } ol.act li.alert i { background: #d08b16; } ol.act li.human i { background: #b4321f; } ol.act li.reply i { background: #1b8dff; } ol.act li.plan i { background: #7056a3; }
ol.act b { display: block; font-weight: 500; font-size: 13px; } ol.act em { font-style: normal; color: var(--mut); font-size: 12px; }

/* ---------- dark theme ---------- */
html[data-theme="dark"] { --bg: #0f1210; --panel: #171b18; --sub: #1e231f; --ln: #262c27; --ln2: #323a33; --ink: #e8ece7; --ink2: #b9c1b9; --mut: #8b938b; --dim: #626a63; --acc: #6fb27c; --acc2: #86c492; --accbg: #1c2a1f; }
html[data-theme="dark"] body, html[data-theme="dark"] .top { background: var(--bg) !important; }
html[data-theme="dark"] .side { background: #131714 !important; border-color: var(--ln) !important; }
html[data-theme="dark"] .pn, html[data-theme="dark"] .pn.kpi, html[data-theme="dark"] .inbox, html[data-theme="dark"] .gh, html[data-theme="dark"] .sg, html[data-theme="dark"] .an-t, html[data-theme="dark"] .askobeo, html[data-theme="dark"] .snav a.on, html[data-theme="dark"] .setl.on, html[data-theme="dark"] .btn, html[data-theme="dark"] .drawer, html[data-theme="dark"] .rolemenu, html[data-theme="dark"] .ag-task, html[data-theme="dark"] .acard, html[data-theme="dark"] .ag-in { background: var(--panel) !important; border-color: var(--ln) !important; color: var(--ink); box-shadow: none !important; }
html[data-theme="dark"] .ag-c, html[data-theme="dark"] .ag-r { background: var(--bg) !important; }
html[data-theme="dark"] .seg, html[data-theme="dark"] .sel, html[data-theme="dark"] .inp, html[data-theme="dark"] .search { background-color: var(--sub) !important; color: var(--ink); }
html[data-theme="dark"] .seg button.on { background: var(--ln2) !important; color: var(--ink) !important; }
html[data-theme="dark"] .btn.pri { background: var(--acc) !important; color: #0f1210 !important; border-color: var(--acc) !important; }
html[data-theme="dark"] .k4c > .pn.kpi:first-child:not(.plain *) { background: #2a1a17 !important; }
html[data-theme="dark"] .ib-row.on, html[data-theme="dark"] .sea tr.nxt td, html[data-theme="dark"] .trip2.is-now, html[data-theme="dark"] p.pers { background: var(--accbg) !important; }
html[data-theme="dark"] .t th { background: transparent !important; } html[data-theme="dark"] .t tbody tr.cl:hover td { background: var(--sub) !important; }
html[data-theme="dark"] .bb.o { background: #2a2f2b; color: var(--ink); } html[data-theme="dark"] .tr-c, html[data-theme="dark"] .t2-h .tr-c { background: var(--ln2) !important; color: var(--ink2); }
html[data-theme="dark"] .logo i { border-color: #171b18; } html[data-theme="dark"] .toast { background: var(--ink); color: var(--bg); }
html[data-theme="dark"] img.face { background: #2a2f2b; }
.fc-ctl { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; padding: 14px 18px; background: var(--panel); border-radius: 14px; }
.fc-ctl label { display: grid; gap: 6px; font-size: 12px; color: var(--mut); } .fc-ctl .sel { min-width: 220px; }
.fcfeel { display: grid; gap: 14px; } .fcfeel > div { display: grid; grid-template-columns: 80px auto 60px 1fr; align-items: center; gap: 12px; } .fcfeel span { color: var(--ink2); } .fcfeel b { font-weight: 600; } .fcfeel em { font-style: normal; color: var(--mut); font-size: 12px; }
.dots5 { display: flex; gap: 4px; } .dots5 i { width: 14px; height: 14px; border-radius: 4px; background: var(--sub); } .dots5 i.on { background: var(--acc); }
.drv { display: grid; grid-template-columns: 120px 1fr 44px; align-items: center; gap: 10px; padding: 7px 0; } .drv span { color: var(--ink2); font-size: 13px; } .drv b { text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; }
.dbar { height: 8px; background: var(--sub); border-radius: 4px; overflow: hidden; } .dbar i { display: block; height: 100%; border-radius: 4px; } .dbar i.neg { background: #d08b16; } .dbar i.pos { background: var(--acc); }
.fcn { cursor: pointer; } .fcn:hover b { color: var(--acc); }
html[data-theme="dark"] .fc-ctl { background: var(--panel); } html[data-theme="dark"] .snav a { color: #b3bab2 !important; }
.ah-t { display: flex; align-items: center; gap: 12px; } .ah-t h1 { margin: 0; }
.spill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--sub); color: var(--ink2); }
.spill.Out { background: #fbece9; color: #b4321f; } .spill.Watch { background: #fbf2df; color: #9a6a0e; } .spill.Modified { background: #e6edf7; color: #3d6fb0; } .spill.Available { background: #e9f3ec; color: #2f8a55; }
.ah-m { display: flex; gap: 6px; margin-top: 8px; } .ah-m span { font-size: 12.5px; color: var(--ink2); background: var(--sub); padding: 3px 9px; border-radius: 6px; }
.ah-x { display: inline-flex; align-items: center; gap: 8px; color: var(--mut); font-size: 12.5px; margin-right: 6px; } .ah-x i { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); }
.ng span { color: var(--mut); font-size: 12.5px; } .ng b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -.03em; margin-top: 4px; } .ng em { font-style: normal; color: var(--mut); font-size: 13px; }
.ng-r { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--ln); margin-top: 12px; } .ng-r > span:first-child { color: var(--mut); font-size: 13px; width: 110px; } .ng-r b { font-weight: 600; } .ng-r em { font-style: normal; color: var(--acc); font-weight: 600; margin-left: auto; } .ng-r .stack { margin-left: auto; }
a.pn.kpi { color: inherit; } a.pn.kpi:hover { box-shadow: inset 0 0 0 1px var(--acc); }
.bstrip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 11px 16px; border-radius: 12px; background: var(--accbg); color: var(--ink2); font-size: 13px; margin-top: -8px; }
.bstrip b { font-weight: 600; color: var(--acc); } .bstrip > span:not(.ao-orb) { position: relative; padding-left: 14px; } .bstrip > span:not(.ao-orb)::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--acc); opacity: .5; }
.bstrip em { margin-left: auto; font-style: normal; color: var(--acc); font-weight: 500; } .bstrip .ao-orb { width: 16px; height: 16px; }
.nu { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 14px; background: var(--sub); margin-bottom: 10px; transition: background .15s; } .nu:last-child { margin-bottom: 0; } .nu:hover { background: #eeeee9; } .nu.is-now { background: var(--accbg); }
.nu-l { display: grid; gap: 2px; min-width: 0; } .nu-h { display: flex; align-items: center; gap: 8px; } .nu-h b { font-size: 15px; font-weight: 600; } .nu-h .tr-c { background: #fff; margin-left: 0; } .nu.is-now .tr-c { color: var(--acc); display: inline-flex; align-items: center; gap: 6px; }
.nu-s { color: var(--mut); font-size: 12.5px; } .nu-t { color: var(--ink2); font-size: 12.5px; }
.nu-r { display: grid; justify-items: end; gap: 2px; text-align: right; flex: none; } .nu-r b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; } .nu-r b.lo { color: #9a6a0e; } .nu-r b small { font-size: 13px; color: var(--mut); font-weight: 500; } .nu-r > span:not(.stack) { color: var(--mut); font-size: 12px; } .nu-r .stack { margin-top: 4px; } .nu-r .stack img.face { width: 20px; height: 20px; border-color: var(--sub); }
html[data-theme="dark"] .nu { background: var(--sub) !important; } html[data-theme="dark"] .nu-h .tr-c { background: var(--ln2) !important; }
