/* VIGIL Business – compact, one-screen, dark/light. Red only for danger. */
:root, :root[data-theme="dark"] {
  --bg: #0b1020; --bg2: #10172b; --panel: #141c33; --panel2: #1a2440; --line: #26324f; --line2: #33416a;
  --tx: #eef2ff; --tx2: #b7c1dd; --tx3: #8290b5;
  --acc: #2f8bff; --acc2: #18c29c; --grad: linear-gradient(135deg, #18c29c, #2f8bff);
  --ok: #2fbf71; --warn: #f5a524; --danger: #ff4d4f; --info: #38bdf8; --cyan: #22d3ee;
  --shadow: 0 6px 24px rgba(0,0,0,.35);
  --s1: #5b8cff; --s2: #8b5cf6; --s3: #22d3ee; --s4: #2fbf71; --s5: #f5a524; --s6: #ec4899; --s7: #a3e635; --s8: #94a3b8;
}
:root[data-theme="light"] {
  --bg: #eef2f9; --bg2: #e4e9f4; --panel: #ffffff; --panel2: #f4f6fb; --line: #dbe1ee; --line2: #c6cfe2;
  --tx: #0f172a; --tx2: #334155; --tx3: #64748b;
  --acc: #1d6fe0; --acc2: #0e9f80; --grad: linear-gradient(135deg, #0e9f80, #1d6fe0);
  --ok: #15924f; --warn: #c27a00; --danger: #dc2626; --info: #0284c7; --cyan: #0891b2;
  --shadow: 0 6px 20px rgba(15,23,42,.12);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--tx); font: 12.5px/1.35 Inter, "Segoe UI", system-ui, -apple-system, sans-serif; overflow: hidden; }
a { color: var(--acc); text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--tx); background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; outline: none; min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--acc); }
textarea { resize: vertical; }
.muted { color: var(--tx3); } .tx2 { color: var(--tx2); }
.b { font-weight: 600; } .r { text-align: right; } .c { text-align: center; } .nowrap { white-space: nowrap; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row { display: flex; align-items: center; gap: 6px; } .col { display: flex; flex-direction: column; gap: 6px; }
.grow { flex: 1; min-width: 0; } .wrap { flex-wrap: wrap; }
.mt { margin-top: 6px; }

/* ----- shell ----- */
#app { height: 100vh; display: grid; grid-template-rows: 42px 1fr; grid-template-columns: 54px 1fr; }
.top { grid-column: 1 / 3; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: var(--panel); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 7px; font-weight: 800; letter-spacing: .3px; font-size: 14px; white-space: nowrap; }
.logo i { width: 26px; height: 26px; border-radius: 7px; background: var(--grad); display: grid; place-items: center; color: #fff; font-style: normal; font-size: 14px; }
.logo small { font-weight: 500; color: var(--tx3); font-size: 11px; }
.gsearch { flex: 1; max-width: 560px; position: relative; }
.gsearch input { width: 100%; height: 28px; padding-left: 26px; border-radius: 8px; }
.gsearch .ic { position: absolute; left: 8px; top: 6px; color: var(--tx3); }
.sugg { position: absolute; top: 31px; left: 0; right: 0; background: var(--panel); border: 1px solid var(--line2); border-radius: 8px; box-shadow: var(--shadow); z-index: 60; max-height: 420px; overflow: auto; }
.sugg div { padding: 5px 9px; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.sugg div:hover, .sugg div.on { background: var(--panel2); }
.sugg .k { font-size: 10px; color: var(--tx3); width: 62px; flex: none; text-transform: uppercase; }
.tbtn { position: relative; height: 28px; min-width: 30px; padding: 0 7px; border-radius: 7px; border: 1px solid var(--line); background: var(--bg2); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.tbtn:hover { border-color: var(--acc); }
.badge { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--acc2); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; font-weight: 700; }
.badge.red { background: var(--danger); }
.rail { background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 6px 0; gap: 3px; }
.rail button { width: 44px; height: 40px; border: 0; background: none; border-radius: 9px; color: var(--tx2); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 16px; position: relative; }
.rail button span { font-size: 9px; margin-top: 1px; }
.rail button:hover { background: var(--panel2); color: var(--tx); }
.rail button.on { background: var(--grad); color: #fff; }
.rail .sp { flex: 1; }
main { overflow: hidden; padding: 6px; display: flex; flex-direction: column; gap: 6px; min-height: 0; }

/* ----- page toolbar with intelligent search ----- */
.bar { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.bar h2 { margin: 0; font-size: 14px; white-space: nowrap; }
.psearch { position: relative; flex: 1; max-width: 520px; }
.psearch input { width: 100%; height: 27px; padding-left: 24px; }
.psearch .ic { position: absolute; left: 7px; top: 5px; color: var(--tx3); }
.chips { display: flex; gap: 4px; flex-wrap: wrap; }
.chip { padding: 2px 7px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); font-size: 11px; white-space: nowrap; cursor: pointer; }
.chip.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.chip.und { border-style: dashed; color: var(--tx2); cursor: default; }
.btn { height: 27px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line2); background: var(--panel2); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.btn:hover { border-color: var(--acc); }
.btn.pri { background: var(--grad); border: 0; color: #fff; font-weight: 600; }
.btn.sm { height: 22px; padding: 0 7px; font-size: 11px; }
.btn.dng { border-color: var(--danger); color: var(--danger); }
.btn:disabled { opacity: .5; cursor: default; }

/* ----- panels and grids ----- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px; display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.panel > h3 { margin: 0 0 5px; font-size: 12px; font-weight: 700; color: var(--tx2); display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .4px; }
.panel > h3 .grow { text-transform: none; }
.panel > .body { flex: 1; min-height: 0; overflow: auto; }
.scroll { overflow: auto; min-height: 0; }
.dash { flex: 1; display: grid; gap: 6px; min-height: 0; grid-template-rows: 74px minmax(0, 1.25fr) minmax(0, 1fr); }
.kpis { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px 9px; cursor: pointer; position: relative; overflow: hidden; }
.kpi:hover { border-color: var(--acc); }
.kpi .l { font-size: 10.5px; color: var(--tx3); text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .v { font-size: 21px; font-weight: 800; margin-top: 1px; font-family: Sora, Inter, system-ui; }
.kpi .s { font-size: 10.5px; color: var(--tx2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--k, var(--acc)); }
.kpi.danger .v { color: var(--danger); }
.g4 { display: grid; gap: 6px; min-height: 0; }

/* alerts */
.alert { display: flex; gap: 7px; align-items: flex-start; padding: 5px 6px; border-radius: 7px; border: 1px solid var(--line); margin-bottom: 4px; cursor: pointer; background: var(--bg2); }
.alert:hover { border-color: var(--acc); }
.alert .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; flex: none; }
.alert.danger { border-color: color-mix(in srgb, var(--danger) 55%, transparent); }
.alert.danger .dot { background: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 25%, transparent); }
.alert.warn .dot { background: var(--warn); } .alert.info .dot { background: var(--info); } .alert.ok .dot { background: var(--ok); }
.alert .t { font-weight: 600; } .alert .d { color: var(--tx3); font-size: 11px; }
.alert .n { margin-left: auto; font-weight: 800; font-size: 15px; }

/* tables */
table.t { width: 100%; border-collapse: separate; border-spacing: 0; }
table.t th { position: sticky; top: 0; background: var(--panel2); color: var(--tx3); font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .3px; text-align: left; padding: 4px 5px; border-bottom: 1px solid var(--line); white-space: nowrap; z-index: 1; cursor: pointer; }
table.t td { padding: 3px 5px; border-bottom: 1px solid var(--line); white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
table.t tr.cl:hover td { background: var(--panel2); cursor: pointer; }
.pill { display: inline-block; padding: 0 6px; border-radius: 9px; font-size: 10.5px; font-weight: 600; border: 1px solid var(--line2); white-space: nowrap; }
.pot-High { color: var(--ok); border-color: var(--ok); } .pot-Medium { color: var(--warn); border-color: var(--warn); } .pot-Low, .pot-Unknown { color: var(--tx3); }
.due-over { color: var(--danger); font-weight: 700; } .due-today { color: var(--warn); font-weight: 700; } .due-soon { color: var(--info); }
.sbar { display: inline-block; width: 44px; height: 6px; border-radius: 3px; background: var(--line); vertical-align: middle; overflow: hidden; }
.sbar i { display: block; height: 100%; background: var(--grad); }
.cdots { display: inline-flex; gap: 2px; } .cdots i { width: 8px; height: 8px; border-radius: 2px; background: var(--line2); display: inline-block; }
.cdots i.n { background: var(--warn); } .cdots i.f { background: var(--ok); }
.av { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; flex: none; }

/* charts */
.hbar { display: grid; grid-template-columns: minmax(70px, 38%) 1fr auto; gap: 3px 6px; align-items: center; }
.hbar .lb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--tx2); cursor: pointer; }
.hbar .tr { height: 12px; background: var(--bg2); border-radius: 3px; overflow: hidden; cursor: pointer; }
.hbar .tr i { display: block; height: 100%; border-radius: 3px; }
.hbar .vl { font-weight: 700; font-size: 11.5px; cursor: pointer; }
.funnel .st { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; cursor: pointer; }
.funnel .st .bx { height: 19px; border-radius: 4px; display: flex; align-items: center; padding: 0 6px; color: #fff; font-weight: 700; font-size: 11px; min-width: 26px; margin: 0 auto; }
.funnel .st .lb { width: 112px; color: var(--tx2); font-size: 11px; white-space: nowrap; }
.funnel .st .vv { width: 64px; text-align: right; font-size: 11px; color: var(--tx2); }
.funnel .st:hover .lb { color: var(--tx); }
svg text { fill: var(--tx2); font-size: 10px; font-family: inherit; }
svg .ring { fill: none; stroke: var(--line2); stroke-dasharray: 3 3; }
svg .clk { cursor: pointer; }

/* kanban */
.kan { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px; min-height: 0; }
.kcol { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; display: flex; flex-direction: column; min-height: 0; }
.kcol.drop { border-color: var(--acc); background: var(--panel2); }
.kcol header { padding: 5px 6px; border-bottom: 1px solid var(--line); }
.kcol header .n { font-weight: 700; font-size: 11.5px; }
.kcol header .m { font-size: 10.5px; color: var(--tx3); }
.kcol header .vb { height: 3px; background: var(--line); border-radius: 2px; margin-top: 3px; } .kcol header .vb i { display: block; height: 100%; background: var(--grad); border-radius: 2px; }
.kcol .cards { flex: 1; overflow: auto; padding: 4px; display: flex; flex-direction: column; gap: 4px; }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: 7px; padding: 4px 6px; cursor: grab; }
.card:hover { border-color: var(--acc); }
.card .co { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .mt2 { font-size: 10.5px; color: var(--tx3); display: flex; gap: 5px; align-items: center; justify-content: space-between; }
.card.over { border-left: 3px solid var(--danger); }

/* modals */
#modals .ov { position: fixed; inset: 0; background: rgba(5,8,20,.55); display: grid; place-items: center; z-index: 100; }
.mod { background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; box-shadow: var(--shadow); width: min(560px, 96vw); max-height: 94vh; display: flex; flex-direction: column; }
.mod.w { width: min(1280px, 97vw); height: min(640px, 94vh); }
.mod.m { width: min(900px, 96vw); max-height: 92vh; }
.mod > header { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.mod > header h3 { margin: 0; font-size: 14px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod > .mb { padding: 8px 10px; overflow: auto; flex: 1; min-height: 0; }
.x { border: 0; background: none; font-size: 18px; color: var(--tx3); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.form label { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--tx3); }
.form label.full { grid-column: 1 / -1; }
.req::after { content: " *"; color: var(--warn); }
.lcols { display: grid; grid-template-columns: 1fr 1.25fr 1.05fr; gap: 8px; height: 100%; min-height: 0; }
.lcols > div { min-height: 0; overflow: auto; }
.kv { display: grid; grid-template-columns: 92px 1fr; gap: 2px 8px; }
.kv .k { color: var(--tx3); font-size: 11px; } .kv .v { overflow-wrap: anywhere; }
.sec { margin: 7px 0 4px; font-size: 10.5px; text-transform: uppercase; color: var(--tx3); letter-spacing: .4px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.sec::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.steps { display: flex; flex-wrap: wrap; gap: 3px; }
.steps button { border: 1px solid var(--line2); background: var(--bg2); border-radius: 12px; padding: 2px 8px; font-size: 11px; }
.steps button.done { background: color-mix(in srgb, var(--acc) 22%, transparent); border-color: var(--acc); }
.steps button.cur { background: var(--grad); color: #fff; border: 0; font-weight: 700; }
.tl { border-left: 2px solid var(--line2); margin-left: 6px; padding-left: 10px; }
.tl .it { position: relative; margin-bottom: 7px; }
.tl .it::before { content: ""; position: absolute; left: -15px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.tl .h { font-size: 10.5px; color: var(--tx3); }
.ct { border: 1px solid var(--line); border-radius: 7px; padding: 4px 6px; margin-bottom: 4px; background: var(--bg2); cursor: pointer; }
.ct.empty { border-style: dashed; }
.ct:hover { border-color: var(--acc); }
.hist { font-size: 11px; color: var(--tx2); border-bottom: 1px dashed var(--line); padding: 3px 0; }

/* chat */
.chat { display: grid; grid-template-columns: 170px 1fr; gap: 6px; min-height: 0; flex: 1; }
.who div { padding: 5px 6px; border-radius: 7px; cursor: pointer; display: flex; gap: 6px; align-items: center; }
.who div.on, .who div:hover { background: var(--panel2); }
.msgs { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 4px; padding: 4px; }
.msg { max-width: 78%; padding: 4px 8px; border-radius: 9px; background: var(--bg2); border: 1px solid var(--line); }
.msg.me { align-self: flex-end; background: color-mix(in srgb, var(--acc) 22%, var(--panel)); }
.msg .h { font-size: 10px; color: var(--tx3); }

/* toasts and tooltip */
#toasts { position: fixed; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 200; width: 330px; }
.toast { background: var(--panel); border: 1px solid var(--line2); border-left: 4px solid var(--acc); border-radius: 9px; padding: 7px 9px; box-shadow: var(--shadow); animation: tin .25s ease; }
.toast.danger { border-left-color: var(--danger); } .toast.warn { border-left-color: var(--warn); } .toast.ok { border-left-color: var(--ok); }
.toast .t { font-weight: 700; } .toast .d { color: var(--tx2); margin: 2px 0 5px; }
@keyframes tin { from { transform: translateX(30px); opacity: 0; } }
#tip { position: fixed; z-index: 300; pointer-events: none; background: #0f172a; color: #fff; border: 1px solid #334155; padding: 4px 7px; border-radius: 6px; font-size: 11.5px; max-width: 320px; display: none; box-shadow: var(--shadow); }
.login { position: fixed; inset: 0; display: grid; place-items: center; background: radial-gradient(1000px 600px at 20% 10%, color-mix(in srgb, var(--acc) 25%, transparent), transparent), var(--bg); }
.login .box { width: 340px; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 9px; }
.login input { height: 34px; }
.err { color: var(--danger); min-height: 16px; }
::-webkit-scrollbar { width: 7px; height: 7px; } ::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 4px; } ::-webkit-scrollbar-track { background: transparent; }
.login .logo { flex-wrap: wrap; } .login .logo small { flex-basis: 100%; padding-left: 33px; }

.xp { margin-left: 4px; border: 1px solid var(--line); background: var(--bg2); border-radius: 5px; width: 20px; height: 18px; line-height: 14px; font-size: 12px; color: var(--tx3); padding: 0; flex: none; }
.xp:hover { color: var(--tx); border-color: var(--acc); }
.mod.full { width: 98vw; height: 96vh; }
.mod.full .mb { display: flex; }
.panel.fullp { flex: 1; border: 0; padding: 0; font-size: 14px; }
.panel.fullp > .body, .panel.fullp > div { flex: 1; min-height: 0; }
.panel.fullp svg { min-height: 70vh; }
.panel.fullp .hbar .tr { height: 18px; }
.panel.fullp table.t td { padding: 5px 7px; }

.fs { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--line2); background: var(--bg2); vertical-align: middle; }
.fs.done { background: var(--acc); border-color: var(--acc); }
.fs.cur { background: var(--acc2); border-color: var(--acc2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc2) 30%, transparent); }
i.fl { display: inline-block; width: 12px; height: 2px; background: var(--line2); vertical-align: middle; }

.tag-ai { color: var(--cyan); border-color: var(--cyan); }
.tag-man { color: var(--acc2); border-color: var(--acc2); }

.sugg .sg { padding: 4px 9px 2px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--tx3); cursor: default; background: var(--bg2); }
.sugg .sg:hover { background: var(--bg2); }
.sugg mark { background: color-mix(in srgb, var(--warn) 35%, transparent); color: inherit; border-radius: 2px; padding: 0 1px; }
.sugg .sg-all { justify-content: center; color: var(--acc); font-weight: 600; border-top: 1px solid var(--line); }
.sugg.sall { position: static; flex: 1; max-height: none; box-shadow: none; margin-top: 6px; }
.gsearch .sugg { max-height: 520px; width: 640px; }
.form .full { grid-column: 1 / -1; }

.mapx { flex: 1; display: grid; grid-template-columns: 270px 1fr 330px; gap: 8px; min-height: 0; height: 100%; }
.mx-side { overflow: auto; display: flex; flex-direction: column; gap: 4px; }
#lmap { border-radius: 10px; border: 1px solid var(--line); min-height: 0; background: #dfe6ef; }
.mx-list { display: flex; flex-direction: column; min-height: 0; }
.mx-h { font-size: 13px; margin-bottom: 4px; }
.mx-row { display: flex; gap: 7px; align-items: center; padding: 4px 5px; border-bottom: 1px solid var(--line); cursor: pointer; }
.mx-row:hover { background: var(--panel2); }
.mx-row > i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.leaflet-container { font: inherit; }
.leaflet-popup-content { font-size: 12.5px; line-height: 1.45; }
.mx-ring { background: transparent; border: 0; box-shadow: none; color: #334155; font-weight: 700; font-size: 11px; }
.mx-ring::before, .mx-tip::before { display: none; }
.mx-tip { font-weight: 700; }
.mapx { grid-template-columns: 250px 1fr 390px; } .mx-row .btn.sm { padding: 0 5px; }

.rdx { flex: 1; display: grid; grid-template-columns: 1fr 440px; gap: 10px; min-height: 0; height: 100%; }
.rd-main { display: flex; flex-direction: column; min-height: 0; }
.rd-side { overflow: auto; min-height: 0; }
.rd-wedge { fill: transparent; stroke: var(--line); stroke-width: .6; cursor: pointer; }
.rd-wedge:hover { fill: color-mix(in srgb, var(--acc) 10%, transparent); }
.rd-wedge.on { fill: color-mix(in srgb, var(--acc) 20%, transparent); }
.rd-band { fill: transparent; cursor: pointer; }
.rd-band:hover { fill: color-mix(in srgb, var(--ok) 6%, transparent); }
.rd-band.on { fill: color-mix(in srgb, var(--ok) 13%, transparent); }
.rd-dot:hover circle { stroke: #fff; stroke-width: 2.5; }
.rd-card { border: 1px solid var(--acc); border-radius: 10px; padding: 8px 10px; background: var(--bg2); }
table.t tr.on td { background: color-mix(in srgb, var(--acc) 15%, transparent); }
.rd-band { fill: transparent; stroke: transparent; stroke-width: 12; pointer-events: stroke; }
.rd-band:hover { stroke: color-mix(in srgb, var(--ok) 30%, transparent); }
.rd-band.on { fill: color-mix(in srgb, var(--ok) 10%, transparent); stroke: color-mix(in srgb, var(--ok) 45%, transparent); }

.mod.full .mb > div > svg { width: 100%; height: 100%; }

/* services tagged to a client */
.svcs { display: inline-flex; gap: 2px; vertical-align: middle; flex-wrap: wrap; }
.svc { --c: #94a3b8; display: inline-block; padding: 0 4px; border-radius: 4px; font-size: 9.5px; font-weight: 700; line-height: 14px; color: var(--c); border: 1px solid var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); white-space: nowrap; }
.svc.big { font-size: 11px; line-height: 18px; padding: 0 6px; min-width: 52px; text-align: center; }
.svc.won { background: var(--c); color: #fff; }
.svc.no { opacity: .45; text-decoration: line-through; }
.svc.later, .svc.pros { border-style: dashed; }
.opps { display: flex; flex-direction: column; gap: 3px; }
.opp { --c: #94a3b8; display: flex; align-items: center; gap: 7px; padding: 3px 6px; border-radius: 6px; border: 1px solid var(--line); border-left: 3px solid var(--c); cursor: pointer; background: var(--panel2); }
.opp:hover { border-color: var(--c); }
.opp.no { opacity: .55; }
