/* ========== 抖智对接后台 · 设计令牌 ========== */
:root {
  /* 科技感主色：电蓝 #2563eb + 青色 #06b6d4 */
  --brand: #2563eb;
  --brand-deep: #1d4ed8;
  --brand-bright: #3b82f6;
  --cyan: #06b6d4;
  --navy: #2563eb;          /* 主色（原深色位 → 科技蓝） */
  --navy-soft: #1d4ed8;     /* 主色加深（hover） */
  --grad: linear-gradient(135deg, #3b82f6, #2563eb 55%, #06b6d4 130%);
  --bg: #ffffff;
  --bg-soft: #f3f6fb;       /* 冷调浅蓝白 */
  --line: rgba(37, 99, 235, .12);
  --line-strong: rgba(37, 99, 235, .22);
  --ink: #232b3a;           /* 深青灰，非纯黑 */
  --ink-2: rgba(35, 43, 58, .62);
  --ink-3: rgba(35, 43, 58, .42);
  /* 状态语义色 */
  --ok: #0ca678;
  --ok-bg: #e2f6ef;
  --warn: #d97b0f;
  --warn-bg: #fdf0dc;
  --bad: #e03424;
  --bad-bg: #fde9e6;
  --live: #0891b2;
  --live-bg: #e0f5fb;
  --mute: #7d8697;
  --mute-bg: #eef1f6;
  --radius: 8px;
  --mono: ui-monospace, "JetBrains Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(37,99,235,.18); }
* { scrollbar-width: thin; scrollbar-color: rgba(18,20,31,.25) transparent; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ========== 登录页 ========== */
.login-wrap {
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(6,182,212,.45), transparent 60%),
    radial-gradient(700px 520px at -10% 110%, rgba(59,130,246,.5), transparent 60%),
    linear-gradient(140deg, #16307a, #1d4ed8 55%, #0b5f8a);
  display: flex; align-items: center; justify-content: center;
}
.login-card {
  width: 360px; background: #fff; border-radius: 10px;
  padding: 40px 36px 32px;
}
.login-card .brand { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.login-card .brand b { font-size: 20px; letter-spacing: .02em; }
.login-card .brand span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .14em; }
.login-card p.sub { color: var(--ink-2); font-size: 13px; margin-bottom: 26px; }
.login-card label { display: block; font-size: 12px; letter-spacing: .08em; color: var(--ink-2); margin: 14px 0 6px; }
.login-card input {
  width: 100%; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 0 12px; font-size: 14px; font-family: var(--sans); outline: none; transition: border-color .15s ease;
}
.login-card input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18,20,31,.08); }
.login-card .enter {
  margin-top: 24px; width: 100%; height: 42px; border: 0; border-radius: 100px;
  background: var(--grad); color: #fff; font-size: 14px; letter-spacing: .1em; cursor: pointer;
  box-shadow: 0 6px 16px rgba(37,99,235,.35);
  transition: background .15s ease;
}
.login-card .enter:hover { filter: brightness(1.06); box-shadow: 0 8px 20px rgba(37,99,235,.45); }
.login-card .tip { margin-top: 16px; font-size: 12px; color: var(--ink-3); text-align: center; }

/* ========== 框架：侧边栏 + 主区 ========== */
.shell { display: none; min-height: 100vh; }
.shell.on { display: flex; }
.sidebar {
  width: 208px; flex: none; color: #fff;
  background: linear-gradient(172deg, #16307a 0%, #1d4ed8 58%, #0b5f8a 100%);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.sidebar .brand { padding: 22px 20px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar .brand b { font-size: 16px; display: block; letter-spacing: .02em; }
.sidebar .brand span { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: rgba(255,255,255,.45); }
.nav { padding: 14px 12px; flex: 1; }
.nav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 2px;
  border-radius: 100px; color: rgba(255,255,255,.68); text-decoration: none; font-size: 13.5px;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav a.active { background: #fff; color: var(--navy); font-weight: 600; }
.nav a .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; flex: none; }
.nav a.active .dot { opacity: 1; }
.nav a .cnt {
  margin-left: auto; font-family: var(--mono); font-size: 11px;
  background: rgba(255,255,255,.12); border-radius: 100px; padding: 1px 8px;
}
.nav a.active .cnt { background: rgba(18,20,31,.1); }
.sidebar .env { padding: 14px 20px 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.sidebar .env .row { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); margin-top: 7px; }
.sidebar .env .row b { color: rgba(255,255,255,.9); font-weight: 500; margin-left: auto; font-family: var(--mono); font-size: 11px; }

/* 状态小圆点（含呼吸） */
.led { width: 8px; height: 8px; border-radius: 50%; flex: none; position: relative; }
.led.ok { background: var(--ok); }
.led.bad { background: var(--bad); }
.led.warn { background: var(--warn); }
.led.live { background: var(--live); }
.led.pulse::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 1.5px solid currentColor; opacity: .6;
  animation: pulse 1.5s ease-in-out infinite;
}
.led.ok.pulse { color: var(--ok); } .led.live.pulse { color: var(--live); } .led.warn.pulse { color: var(--warn); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 60px; background: var(--bg); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px; padding: 0 28px; position: sticky; top: 0; z-index: 20;
}
.topbar h1 { font-size: 17px; font-weight: 650; letter-spacing: .01em; }
.topbar .crumb { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .12em; }
.topbar .spacer { flex: 1; }
.topbar .date { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.bell {
  position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: #fff; cursor: pointer; display: grid; place-items: center; transition: border-color .15s ease;
}
.bell:hover { border-color: var(--navy); }
.bell svg { width: 15px; height: 15px; stroke: var(--ink); }
.bell .n {
  position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; border-radius: 100px;
  background: var(--bad); color: #fff; font-family: var(--mono); font-size: 10px;
  display: grid; place-items: center; padding: 0 4px;
}
.page { padding: 24px 28px 48px; display: none; }
.page.on { display: block; }

/* ========== 通用元件 ========== */
.label { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.btn {
  height: 32px; padding: 0 16px; border-radius: 100px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); font-size: 13px; cursor: pointer; font-family: var(--sans);
  transition: all .15s ease; white-space: nowrap;
}
.btn:hover { border-color: var(--navy); }
.btn.solid { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 3px 10px rgba(37,99,235,.28); }
.btn.solid:hover { filter: brightness(1.07); }
.btn.danger { color: var(--bad); border-color: rgba(214,54,38,.4); }
.btn.danger:hover { border-color: var(--bad); background: var(--bad-bg); }
.btn.sm { height: 26px; padding: 0 12px; font-size: 12px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* 状态药丸 */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px;
  border-radius: 100px; font-size: 12px; font-weight: 550; white-space: nowrap;
}
.badge .led { width: 6px; height: 6px; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.live { background: var(--live-bg); color: var(--live); }
.badge.mute { background: var(--mute-bg); color: var(--mute); }

/* 状态页签 */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs .tab {
  height: 30px; padding: 0 14px; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; font-size: 13px; color: var(--ink-2); cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; transition: all .15s ease;
}
.tabs .tab:hover { border-color: var(--navy); color: var(--ink); }
.tabs .tab.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 3px 8px rgba(37,99,235,.25); }
.tabs .tab .n { font-family: var(--mono); font-size: 11px; opacity: .75; }

/* 筛选行 */
.filters { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.filters input, .filters select {
  height: 34px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 0 12px; font-size: 13px; font-family: var(--sans); background: #fff; outline: none;
  transition: border-color .15s ease;
}
.filters input:focus, .filters select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18,20,31,.07); }
.filters input.search { width: 240px; }

/* 数据表 */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th {
  text-align: left; padding: 10px 14px; font-size: 11.5px; letter-spacing: .08em;
  color: var(--ink-3); font-weight: 600; border-bottom: 1px solid var(--line-strong);
  background: var(--bg-soft); white-space: nowrap;
}
table.data td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { cursor: pointer; transition: background .12s ease; }
table.data tbody tr:hover { background: var(--bg-soft); }
table.data tr.row-bad { background: rgba(214,54,38,.035); }
table.data tr.row-bad:hover { background: rgba(214,54,38,.06); }
table.data td .sub { display: block; font-size: 11.5px; color: var(--ink-3); }
table.data td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data td.id { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }

/* ========== 订单详情抽屉 ========== */
.mask {
  position: fixed; inset: 0; background: rgba(18,20,31,.4); opacity: 0; pointer-events: none;
  transition: opacity .2s ease; z-index: 40;
}
.mask.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 500px; max-width: 94vw; background: #fff;
  transform: translateX(102%); transition: transform .24s cubic-bezier(.32,.72,.35,1);
  z-index: 50; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(18,20,31,.14);
}
.drawer.on { transform: translateX(0); }
.drawer .d-head {
  padding: 18px 24px 14px; border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 12px;
}
.drawer .d-head .t { flex: 1; min-width: 0; }
.drawer .d-head .oid { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.drawer .d-head h2 { font-size: 16px; margin-top: 2px; }
.drawer .x {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff;
  cursor: pointer; font-size: 15px; color: var(--ink-2); transition: all .15s ease; flex: none;
}
.drawer .x:hover { border-color: var(--navy); color: var(--ink); }
.drawer .d-body { flex: 1; overflow-y: auto; padding: 20px 24px 28px; }
.d-sec { margin-bottom: 24px; }
.d-sec > .label { display: block; margin-bottom: 10px; }
.kv { display: grid; grid-template-columns: 88px 1fr; row-gap: 7px; font-size: 13px; }
.kv dt { color: var(--ink-3); }
.kv dd { color: var(--ink); }
.kv dd.mono { font-family: var(--mono); font-size: 12.5px; }

.mini-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mini-table th {
  text-align: left; font-size: 11px; letter-spacing: .08em; color: var(--ink-3);
  padding: 6px 10px; border-bottom: 1px solid var(--line-strong); font-weight: 600;
}
.mini-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.mini-table tr:last-child td { border-bottom: 0; }
.mini-table td.mono { font-family: var(--mono); font-size: 12px; }

/* 金额明细 */
.money { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.money .r { display: flex; justify-content: space-between; padding: 9px 14px; font-size: 13px; border-bottom: 1px solid var(--line); }
.money .r:last-child { border-bottom: 0; }
.money .r b { font-family: var(--mono); font-weight: 600; }
.money .r.total { background: var(--bg-soft); }
.money .r.total b { color: var(--ok); }

/* 时间线 */
.timeline { position: relative; padding-left: 18px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.timeline .ev { position: relative; padding: 0 0 14px 6px; font-size: 13px; }
.timeline .ev:last-child { padding-bottom: 0; }
.timeline .ev::before {
  content: ""; position: absolute; left: -17px; top: 6px; width: 7px; height: 7px;
  border-radius: 50%; background: #fff; border: 2px solid var(--mute);
}
.timeline .ev.ok::before { border-color: var(--ok); }
.timeline .ev.bad::before { border-color: var(--bad); }
.timeline .ev.live::before { border-color: var(--live); }
.timeline .ev .t { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.timeline .ev .what { margin-top: 1px; }
.timeline .ev .why { font-size: 12px; color: var(--ink-2); }

.drawer .d-foot { padding: 14px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; }

/* ========== 核销工具 ========== */
.grid-2 { display: grid; grid-template-columns: 5fr 7fr; gap: 18px; align-items: start; }
.verify-box { padding: 22px; }
.verify-box .big-input {
  width: 100%; height: 52px; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  font-family: var(--mono); font-size: 18px; letter-spacing: .06em; padding: 0 16px; outline: none;
  transition: border-color .15s ease; margin: 12px 0 14px;
}
.verify-box .big-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18,20,31,.08); }
.verify-result { margin-top: 16px; border-radius: var(--radius); padding: 14px 16px; font-size: 13px; display: none; }
.verify-result.ok { display: block; background: var(--ok-bg); color: var(--ok); border-left: 3px solid var(--ok); }
.verify-result.bad { display: block; background: var(--bad-bg); color: var(--bad); border-left: 3px solid var(--bad); }
.verify-result .mono { font-size: 12px; }
.panel { padding: 0; }
.panel .p-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.panel .p-head h3 { font-size: 14px; font-weight: 650; }
.panel .p-body { padding: 6px 0; }
.vlog { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.vlog:last-child { border-bottom: 0; }
.vlog .time { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); flex: none; width: 62px; }
.vlog .who { flex: 1; min-width: 0; }
.vlog .who .sub { font-size: 11.5px; color: var(--ink-3); }

/* ========== 告警卡片（左侧色条） ========== */
.alert {
  display: flex; gap: 12px; padding: 12px 16px; background: #fff;
  border: 1px solid var(--line); border-left: 3px solid var(--mute); border-radius: 6px; margin-bottom: 10px;
  font-size: 13px;
}
.alert.crit { border-left-color: var(--bad); }
.alert.warn { border-left-color: var(--warn); }
.alert.info { border-left-color: var(--live); }
.alert .a-body { flex: 1; min-width: 0; }
.alert .a-body .a-title { font-weight: 600; }
.alert .a-body .a-desc { color: var(--ink-2); font-size: 12.5px; margin-top: 2px; }
.alert .a-time { font-family: var(--mono); font-size: 11px; color: var(--ink-3); flex: none; }

/* ========== 报表 ========== */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px 14px; }
.kpi .k-label { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; }
.kpi .k-num { font-family: var(--mono); font-size: 30px; font-weight: 650; margin-top: 6px; letter-spacing: -.01em; }
.kpi .k-num small { font-size: 13px; color: var(--ink-3); font-weight: 400; margin-left: 3px; }
.kpi .k-delta { font-size: 12px; margin-top: 4px; font-family: var(--mono); }
.kpi .k-delta.up { color: var(--ok); } .kpi .k-delta.down { color: var(--bad); }
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; margin-bottom: 18px; }
.chart-card h3 { font-size: 14px; font-weight: 650; margin-bottom: 4px; }
.chart-card .sub { font-size: 12px; color: var(--ink-3); margin-bottom: 14px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.bars .b .col { width: 100%; max-width: 34px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #06b6d4, #2563eb); position: relative; transition: opacity .15s ease; }
.bars .b .col:hover { opacity: .82; }
.bars .b .v { font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); }
.bars .b .d { font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.hbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; }
.hbar .name { width: 190px; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar .track { flex: 1; height: 10px; background: var(--mute-bg); border-radius: 100px; overflow: hidden; }
.hbar .fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, #2563eb, #06b6d4); }
.hbar .val { font-family: var(--mono); font-size: 12px; width: 90px; text-align: right; flex: none; }

/* ========== 对账 ========== */
.steps { display: flex; gap: 0; margin-bottom: 20px; }
.step { flex: 1; text-align: center; position: relative; padding-top: 26px; font-size: 13px; color: var(--ink-2); }
.step::before {
  content: attr(data-n); position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--mono); font-size: 11px; display: grid; place-items: center;
}
.step::after { content: ""; position: absolute; top: 11px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 1px; background: var(--line-strong); }
.step:last-child::after { display: none; }
.upload {
  border: 1.5px dashed var(--line-strong); border-radius: 8px; padding: 34px 20px; text-align: center;
  color: var(--ink-2); font-size: 13px; background: #fff; cursor: pointer; transition: all .15s ease;
}
.upload:hover { border-color: var(--navy); background: var(--bg-soft); }
.upload b { color: var(--ink); }

/* ========== 系统状态 ========== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
.svc .s-top { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 13.5px; }
.svc .s-desc { font-size: 12px; color: var(--ink-2); margin-top: 8px; line-height: 1.6; }
.svc .s-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 10px; }

/* ========== 弹窗 / Toast ========== */
.modal-mask { position: fixed; inset: 0; background: rgba(18,20,31,.42); display: none; place-items: center; z-index: 60; }
.modal-mask.on { display: grid; }
.modal { width: 480px; max-width: 92vw; background: #fff; border-radius: 10px; padding: 24px; }
.modal h3 { font-size: 15px; margin-bottom: 16px; }
.modal .f-row { margin-bottom: 14px; }
.modal .f-row label { display: block; font-size: 12px; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 6px; }
.modal .f-row input, .modal .f-row select {
  width: 100%; height: 36px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 0 12px; font-size: 13px; font-family: var(--sans); outline: none;
}
.modal .f-row input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18,20,31,.07); }
.modal .m-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px); background: #232b3a;
  color: #fff; padding: 10px 20px; border-radius: 100px; font-size: 13px; opacity: 0;
  transition: all .25s ease; z-index: 80; pointer-events: none;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.empty { padding: 40px; text-align: center; color: var(--ink-3); font-size: 13px; border: 1.5px dashed var(--line-strong); border-radius: 8px; background: #fff; }

@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}


/* ========== 品牌 logo ========== */
.login-card .logo-img { display: block; width: 218px; margin: 0 auto 14px; }
.sidebar .brand { padding: 16px 16px 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.sidebar .brand .logo-pill {
  background: rgba(255,255,255,.96); border-radius: 10px; padding: 8px 10px;
  display: block; box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.sidebar .brand .logo-pill img { display: block; width: 100%; }
.sidebar .brand .sys-name {
  margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: #fff;
  display: flex; align-items: baseline; gap: 8px;
}
.sidebar .brand .sys-name span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: rgba(255,255,255,.55); }
