/* ============================================================
   湖北华首新能源科技有限公司 · 充电桩运营平台  ——  深蓝主题
   ============================================================ */
:root {
    --navy-950: #04101f;
    --navy-900: #061530;
    --navy-850: #081c3d;
    --navy-800: #0a2145;
    --navy-750: #0d274f;
    --navy-700: #102d5c;
    --navy-600: #17396f;
    --navy-500: #1e4a8c;

    --blue-600: #1d4ed8;
    --blue-500: #2563eb;
    --blue-400: #3b82f6;
    --blue-300: #60a5fa;
    --blue-100: #dbeafe;
    --cyan-400: #22d3ee;

    --ink: #0f2544;
    --ink-2: #33507a;
    --ink-3: #6b86a8;

    --bg: #eef2f9;
    --card: #ffffff;
    --line: #dbe4f0;

    --ok: #16a34a;
    --warn: #f59e0b;
    --danger: #dc2626;
    --idle: #16a34a;
    --charging: #2563eb;
    --fault: #dc2626;
    --offline: #94a3b8;

    --radius: 10px;
    --shadow: 0 2px 10px rgba(10, 33, 69, .07);
    --shadow-lg: 0 12px 32px rgba(6, 21, 48, .18);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.6;
}

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------------- 布局 ---------------- */
.hs-layout { display: flex; min-height: 100vh; }

.hs-sidebar {
    width: 218px;
    flex: 0 0 218px;
    background: linear-gradient(175deg, var(--navy-900) 0%, var(--navy-750) 55%, var(--navy-800) 100%);
    color: #cfe0f7;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 16px rgba(6, 21, 48, .25);
    z-index: 20;
}

.hs-brand {
    padding: 20px 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hs-brand .logo-row { display: flex; align-items: center; gap: 10px; }
.hs-brand .logo {
    width: 34px; height: 34px; flex: 0 0 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #04101f; font-size: 15px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, .45);
}
.hs-brand .name { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .3px; }
.hs-brand .sub { font-size: 11px; color: #7ea3d1; margin-top: 3px; letter-spacing: .5px; }

.hs-nav { padding: 12px 0 24px; }
.hs-nav .group-title {
    padding: 14px 18px 6px;
    font-size: 11px;
    color: #6f95c4;
    letter-spacing: 1.4px;
}
.hs-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 18px;
    color: #cfe0f7;
    font-size: 13.5px;
    border-left: 3px solid transparent;
    transition: all .16s;
    text-decoration: none;
}
.hs-nav a:hover { background: rgba(59, 130, 246, .12); color: #fff; text-decoration: none; }
.hs-nav a.active {
    background: linear-gradient(90deg, rgba(37, 99, 235, .32), rgba(37, 99, 235, .05));
    border-left-color: var(--blue-400);
    color: #fff;
    font-weight: 600;
}
.hs-nav .ico { width: 18px; text-align: center; font-size: 14px; opacity: .95; }
.hs-nav .badge {
    margin-left: auto;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 9px;
    font-weight: 700;
}

.hs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.hs-topbar {
    height: 58px;
    flex: 0 0 58px;
    background: linear-gradient(90deg, var(--navy-800), var(--navy-600));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    box-shadow: 0 2px 12px rgba(6, 21, 48, .22);
    position: sticky; top: 0; z-index: 15;
}
.hs-topbar .page-title { font-size: 16px; font-weight: 600; letter-spacing: .3px; }
.hs-topbar .page-title small { font-weight: 400; color: #9dc0e8; margin-left: 10px; font-size: 12px; }
.hs-topbar .right { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.hs-topbar .clock { color: #a8c8ea; font-variant-numeric: tabular-nums; }
.hs-topbar .user-chip {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 12px 5px 5px;
    background: rgba(255, 255, 255, .1);
    border-radius: 20px;
}
.hs-topbar .avatar {
    width: 26px; height: 26px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-300), var(--cyan-400));
    color: #04101f; font-weight: 700; font-size: 12px;
    display: flex; align-items: center; justify-content: center;
}
.hs-topbar .role-tag {
    font-size: 10px; background: rgba(34, 211, 238, .22);
    color: #a5f3fc; padding: 1px 7px; border-radius: 8px;
}

.hs-content { padding: 20px 22px 40px; flex: 1; }

/* ---------------- 卡片 ---------------- */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    margin-bottom: 18px;
    overflow: hidden;
}
.card-head {
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(180deg, #fbfdff, #f5f9ff);
}
.card-head h3 { margin: 0; font-size: 14.5px; color: var(--navy-800); font-weight: 700; }
.card-head h3 .bar {
    display: inline-block; width: 3px; height: 15px;
    background: linear-gradient(180deg, var(--blue-400), var(--cyan-400));
    border-radius: 2px; margin-right: 9px; vertical-align: -2px;
}
.card-body { padding: 16px 18px; }
.card-body.tight { padding: 10px 12px; }

/* ---------------- 指标卡 ---------------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.stat {
    background: linear-gradient(150deg, var(--navy-800), var(--navy-600) 60%, var(--navy-500));
    color: #fff;
    border-radius: var(--radius);
    padding: 16px 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(10, 33, 69, .22);
}
.stat::after {
    content: "";
    position: absolute; right: -26px; top: -26px;
    width: 92px; height: 92px; border-radius: 50%;
    background: rgba(96, 165, 250, .16);
}
.stat.light {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.stat.light::after { background: rgba(37, 99, 235, .07); }
.stat .label { font-size: 12.5px; opacity: .82; }
.stat.light .label { color: var(--ink-3); opacity: 1; }
.stat .value {
    font-size: 27px; font-weight: 800; margin-top: 5px;
    font-variant-numeric: tabular-nums; letter-spacing: -.5px;
}
.stat .unit { font-size: 12px; font-weight: 500; opacity: .75; margin-left: 4px; }
.stat .foot { font-size: 11.5px; margin-top: 5px; opacity: .7; }
.stat.light .foot { color: var(--ink-3); opacity: 1; }

/* ---------------- 按钮 ---------------- */
.btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 7px 14px;
    border-radius: 7px;
    border: 1px solid transparent;
    background: var(--blue-500);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
    line-height: 1.4;
}
.btn:hover { background: var(--blue-600); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--navy-700); border-color: var(--line); }
.btn.ghost:hover { background: #f2f7ff; border-color: var(--blue-300); }
.btn.navy { background: var(--navy-700); }
.btn.navy:hover { background: var(--navy-600); }
.btn.ok { background: var(--ok); }
.btn.ok:hover { background: #128a3e; }
.btn.danger { background: var(--danger); }
.btn.danger:hover { background: #b91c1c; }
.btn.sm { padding: 4px 10px; font-size: 12px; border-radius: 6px; }
.btn.block { width: 100%; justify-content: center; }
.btn-link {
    background: none; border: none; color: var(--blue-600);
    cursor: pointer; font-size: 12.5px; padding: 2px 6px; font-family: inherit;
}
.btn-link:hover { text-decoration: underline; }
.btn-link.danger { color: var(--danger); }

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; }
table.hs {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
table.hs th {
    text-align: left;
    padding: 10px 12px;
    background: #f4f8fe;
    color: var(--navy-700);
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
}
table.hs td {
    padding: 10px 12px;
    border-bottom: 1px solid #eef3fa;
    vertical-align: middle;
}
table.hs tbody tr:hover { background: #f8fbff; }
table.hs td.num, table.hs th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.hs .mono { font-family: Consolas, "Courier New", monospace; font-size: 12.5px; }
.empty {
    padding: 46px 16px; text-align: center; color: var(--ink-3); font-size: 13px;
}
.empty .big { font-size: 34px; display: block; margin-bottom: 8px; opacity: .5; }

/* ---------------- 状态徽标 ---------------- */
.tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 9px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.tag::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.tag.t-idle     { background: #e8f8ee; color: var(--idle); }
.tag.t-charging { background: #e6efff; color: var(--charging); }
.tag.t-charging::before { animation: pulse 1.2s infinite; }
.tag.t-fault    { background: #fdeaea; color: var(--fault); }
.tag.t-offline  { background: #eef1f5; color: var(--offline); }
.tag.t-online   { background: #e8f8ee; color: var(--ok); }
.tag.t-pending  { background: #fff5e5; color: #c2740a; }
.tag.t-approved { background: #e8f8ee; color: var(--ok); }
.tag.t-rejected { background: #fdeaea; color: var(--danger); }
.tag.t-disabled { background: #eef1f5; color: var(--ink-3); }
.tag.t-period   { background: var(--blue-100); color: var(--blue-600); }

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .35; transform: scale(.75); }
}

/* ---------------- 表单 ---------------- */
.form-row { margin-bottom: 15px; }
.form-row label {
    display: block; font-size: 13px; color: var(--ink-2);
    margin-bottom: 6px; font-weight: 600;
}
.form-row label .req { color: var(--danger); margin-left: 3px; }
input[type=text], input[type=password], input[type=number], input[type=email],
input[type=date], select, textarea {
    width: 100%;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--ink);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .14);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.hint { font-size: 12px; color: var(--ink-3); margin-top: 5px; }

/* ---------------- 筛选条 ---------------- */
.filter-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin-bottom: 14px;
}
.filter-bar input, .filter-bar select { width: auto; min-width: 132px; }
.filter-bar .spacer { flex: 1; }

/* ---------------- 弹窗 ---------------- */
.modal-mask {
    position: fixed; inset: 0;
    background: rgba(4, 16, 31, .55);
    display: none;
    align-items: center; justify-content: center;
    z-index: 100;
    backdrop-filter: blur(2px);
}
.modal-mask.show { display: flex; }
.modal {
    background: #fff;
    border-radius: 12px;
    width: 520px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: popin .18s ease-out;
}
.modal.wide { width: 760px; }
@keyframes popin {
    from { transform: translateY(-14px) scale(.97); opacity: 0; }
    to { transform: none; opacity: 1; }
}
.modal-head {
    padding: 15px 20px;
    background: linear-gradient(90deg, var(--navy-800), var(--navy-600));
    color: #fff;
    font-size: 15px; font-weight: 600;
    display: flex; align-items: center; justify-content: space-between;
}
.modal-head .x {
    cursor: pointer; font-size: 20px; line-height: 1; opacity: .75;
    background: none; border: none; color: #fff;
}
.modal-head .x:hover { opacity: 1; }
.modal-body { padding: 20px; }
.modal-foot {
    padding: 14px 20px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: flex-end; gap: 10px;
    background: #fbfdff;
}

/* ---------------- 提示 ---------------- */
#hs-toast {
    position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
    z-index: 999; display: flex; flex-direction: column; gap: 8px;
    align-items: center; pointer-events: none;
}
.hs-toast-item {
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--navy-800);
    color: #fff;
    font-size: 13.5px;
    box-shadow: var(--shadow-lg);
    animation: toastin .2s;
    max-width: 460px;
}
.hs-toast-item.ok   { background: linear-gradient(90deg, #157f3c, #16a34a); }
.hs-toast-item.err  { background: linear-gradient(90deg, #b91c1c, #dc2626); }
.hs-toast-item.warn { background: linear-gradient(90deg, #b45309, #f59e0b); }
@keyframes toastin {
    from { transform: translateY(-14px); opacity: 0; }
    to { transform: none; opacity: 1; }
}

/* ---------------- 登录 / 注册 ---------------- */
.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(1100px 620px at 12% -8%, rgba(37, 99, 235, .30), transparent 62%),
        radial-gradient(900px 560px at 96% 108%, rgba(34, 211, 238, .20), transparent 58%),
        linear-gradient(160deg, var(--navy-950) 0%, var(--navy-850) 46%, var(--navy-700) 100%);
    display: flex; align-items: center; justify-content: center;
    padding: 30px 16px;
}
.auth-card {
    width: 100%;
    max-width: 940px;
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(2, 10, 24, .55);
    backdrop-filter: blur(9px);
}
.auth-intro { padding: 44px 42px; color: #dce9fa; position: relative; }
.auth-intro h1 {
    font-size: 27px; margin: 0 0 6px; color: #fff; letter-spacing: .5px;
}
.auth-intro .sub { color: #8fb4dd; font-size: 13.5px; margin-bottom: 26px; }
.auth-intro ul { list-style: none; padding: 0; margin: 0; }
.auth-intro li {
    display: flex; gap: 11px; align-items: flex-start;
    padding: 9px 0; font-size: 13.5px; color: #b9d2ee;
}
.auth-intro li .dot {
    width: 22px; height: 22px; flex: 0 0 22px; border-radius: 6px;
    background: rgba(59, 130, 246, .2);
    color: var(--blue-300);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; margin-top: 1px;
}
.auth-intro .ver {
    position: absolute; bottom: 20px; left: 42px;
    font-size: 11.5px; color: #6d8fb8;
}
.auth-form { background: #fff; padding: 42px 40px; }
.auth-form h2 { margin: 0 0 4px; font-size: 20px; color: var(--navy-800); }
.auth-form .tip { color: var(--ink-3); font-size: 13px; margin-bottom: 24px; }
.auth-foot { margin-top: 18px; font-size: 13px; color: var(--ink-3); text-align: center; }
.auth-demo {
    margin-top: 18px; padding: 11px 14px;
    background: #f4f8fe; border: 1px dashed var(--line);
    border-radius: 8px; font-size: 12.5px; color: var(--ink-2); line-height: 1.9;
}
.auth-demo b { color: var(--navy-700); }
.auth-demo code {
    background: #e5eefb; padding: 1px 6px; border-radius: 4px;
    font-family: Consolas, monospace; color: var(--navy-700);
}

/* ---------------- 枪口卡（充电页） ---------------- */
.gun-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
    gap: 14px;
}
.gun {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 15px 16px;
    position: relative;
    transition: box-shadow .16s, transform .16s;
}
.gun:hover { box-shadow: 0 6px 20px rgba(10, 33, 69, .12); transform: translateY(-1px); }
.gun.is-charging { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.gun .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.gun .no { font-weight: 800; font-size: 15px; color: var(--navy-800); }
.gun .station { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.gun .metrics {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin: 13px 0 12px;
}
.gun .metric { background: #f5f8fd; border-radius: 7px; padding: 7px 10px; }
.gun .metric .k { font-size: 11px; color: var(--ink-3); }
.gun .metric .v {
    font-size: 16px; font-weight: 700; color: var(--navy-700);
    font-variant-numeric: tabular-nums;
}
.gun .metric .v small { font-size: 11px; font-weight: 500; color: var(--ink-3); margin-left: 2px; }
.soc-bar {
    height: 7px; background: #e5ecf6; border-radius: 4px; overflow: hidden; margin-top: 6px;
}
.soc-bar > i {
    display: block; height: 100%; border-radius: 4px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    transition: width .5s ease;
}

/* ---------------- 实时条 ---------------- */
.live-bar {
    background: linear-gradient(90deg, var(--navy-800), var(--navy-600));
    color: #fff;
    border-radius: var(--radius);
    padding: 14px 20px;
    display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(10, 33, 69, .2);
}
.live-bar .cell { display: flex; flex-direction: column; }
.live-bar .cell .k { font-size: 11.5px; color: #93b7e0; }
.live-bar .cell .v {
    font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.live-bar .cell .v small { font-size: 11.5px; font-weight: 500; opacity: .8; }
.live-bar .dot-live {
    width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .22);
    animation: pulse 1.6s infinite;
    display: inline-block; margin-right: 7px;
}
.live-bar .btn { margin-left: auto; }

/* ---------------- 分页 ---------------- */
.pager {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 8px; padding: 13px 4px 2px; font-size: 13px; color: var(--ink-2);
}
.pager .btn.sm { min-width: 34px; justify-content: center; }

/* ---------------- 设备墙（监控） ---------------- */
.wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 11px;
}
.wall .node {
    border-radius: 9px;
    padding: 12px;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 108px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.wall .node .top { display: flex; align-items: center; justify-content: space-between; }
.wall .node .nm { font-weight: 700; font-size: 13.5px; }
.wall .node .sn { font-size: 10.5px; opacity: .82; font-family: Consolas, monospace; }
.wall .node .pv { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.wall .node .pv small { font-size: 10.5px; font-weight: 500; opacity: .85; }
.wall .node .st { font-size: 11px; opacity: .9; }
.wall .node.s-idle     { background: linear-gradient(145deg, #157f3c, #22a85a); }
.wall .node.s-charging { background: linear-gradient(145deg, #1d4ed8, #3b82f6); }
.wall .node.s-fault    { background: linear-gradient(145deg, #b91c1c, #dc2626); }
.wall .node.s-offline  { background: linear-gradient(145deg, #4b5a6e, #7d8da0); }
.wall .node.s-charging::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
    animation: sweep 2.4s infinite;
}
@keyframes sweep {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

/* ---------------- 协议卡 ---------------- */
.proto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.proto {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 18px; background: #fff;
}
.proto.on { border-color: var(--blue-400); background: linear-gradient(160deg, #f7fbff, #fff); }
.proto .hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.proto .hd .nm { font-weight: 700; font-size: 14.5px; color: var(--navy-800); }
.proto .hd .code {
    font-family: Consolas, monospace; font-size: 11.5px;
    background: var(--blue-100); color: var(--blue-600);
    padding: 2px 8px; border-radius: 6px;
}
.proto .desc { font-size: 12.5px; color: var(--ink-2); line-height: 1.75; }
.proto .mt { margin-top: 10px; font-size: 12px; color: var(--ink-3); }

/* ---------------- 其他 ---------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
@media (max-width: 1080px) {
    .grid-2, .grid-2-1 { grid-template-columns: 1fr; }
    .auth-card { grid-template-columns: 1fr; max-width: 460px; }
    .auth-intro { display: none; }
}
@media (max-width: 760px) {
    .hs-sidebar { display: none; }
    .form-grid, .form-grid.three { grid-template-columns: 1fr; }
    .hs-content { padding: 14px; }
}
.chart-box { width: 100%; height: 240px; }
.legend { display: flex; gap: 18px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 6px; }
.legend i {
    display: inline-block; width: 10px; height: 10px; border-radius: 3px;
    margin-right: 5px; vertical-align: -1px;
}
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 6px 12px; font-size: 13.5px; }
.kv .k { color: var(--ink-3); }
.kv .v { color: var(--ink); word-break: break-all; }
.text-muted { color: var(--ink-3); }
.text-ok { color: var(--ok); }
.text-danger { color: var(--danger); }
.text-blue { color: var(--blue-600); }
.fw7 { font-weight: 700; }
.mono { font-family: Consolas, "Courier New", monospace; }
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }
