
    :root {
      --bg: #101214;
      --bg-soft: #161a1d;
      --panel: #1b2024;
      --panel-2: #20272b;
      --line: rgba(215, 222, 225, 0.12);
      --line-strong: rgba(215, 222, 225, 0.18);
      --text: #eef3f1;
      --muted: #99a5a8;
      --primary: #16a085;
      --primary-2: #2374ab;
      --accent-soft: rgba(22,160,133,.12);
      --good: #22c55e;
      --warn: #eab308;
      --bad: #ef4444;
      --chip: rgba(215,222,225,.08);
      --shadow: 0 18px 42px rgba(4, 9, 12, 0.28);
      --shadow-soft: 0 10px 24px rgba(4, 9, 12, 0.18);
      --radius: 8px;
      --motion: cubic-bezier(.16,1,.3,1);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    html, body { min-height: 100%; max-width: 100%; overflow-x: hidden; }
    body {
      margin: 0;
      font-family: "Geist", "Plus Jakarta Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
      background:
        radial-gradient(circle at 16% -10%, rgba(22,160,133,.11), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(35,116,171,.10), transparent 24%),
        linear-gradient(180deg, #0f1214, #131719 48%, #101214);
      color: var(--text);
      font-variant-numeric: tabular-nums;
      text-rendering: optimizeLegibility;
    }
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 4;
      opacity: .025;
      background-image:
        linear-gradient(rgba(255,255,255,.55) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px);
      background-size: 32px 32px;
      mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 78%);
    }
    a { color: inherit; text-decoration: none; }
    .skip-link {
      position: fixed;
      left: 16px;
      top: 12px;
      z-index: 5;
      transform: translateY(-140%);
      padding: 10px 12px;
      border-radius: 8px;
      background: #eef3f1;
      color: #101214;
      font-weight: 700;
      transition: transform .2s var(--motion);
    }
    .skip-link:focus { transform: translateY(0); }
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible,
    .btn:focus-visible {
      outline: 2px solid rgba(126, 240, 188, .72);
      outline-offset: 2px;
    }
    ::selection { background: rgba(22,160,133,.35); color: #fff; }
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
    ::-webkit-scrollbar-thumb { background: rgba(153,165,168,.28); border-radius: 999px; border: 2px solid rgba(16,18,20,.82); }
    ::-webkit-scrollbar-thumb:hover { background: rgba(184,244,228,.34); }
    .app-shell { min-height: 100dvh; width: 100%; max-width: 100vw; overflow-x: hidden; display: grid; grid-template-columns: 280px minmax(0, 1fr); }
    .sidebar {
      background: rgba(15, 18, 20, 0.96);
      border-right: 1px solid var(--line);
      padding: 22px 18px;
      display: flex;
      flex-direction: column;
      gap: 18px;
      position: sticky;
      top: 0;
      height: 100dvh;
      overflow-y: auto;
      overflow-x: hidden;
      min-width: 0;
      box-shadow: inset -1px 0 0 rgba(255,255,255,.025);
    }
    .brand { display: flex; gap: 12px; align-items: center; min-width: 0; }
    .brand-mark, .avatar, .metric-icon, .pill-icon, .status svg, .btn svg, .icon-text svg, .search svg, .notice svg, .brand-mark.big {
      display: inline-flex; align-items: center; justify-content: center;
    }
    .brand-mark {
      width: 44px; height: 44px; border-radius: 8px;
      background: linear-gradient(135deg, rgba(22,160,133,.30), rgba(35,116,171,.16));
      color: #fff; border: 1px solid rgba(255,255,255,.08);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 24px rgba(4,9,12,.22);
    }
    .brand-mark.big { width: 56px; height: 56px; }
    .brand-title { font-weight: 700; font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; }
    .brand-sub { color: var(--muted); font-size: 12px; margin-top: 4px; overflow-wrap: anywhere; }
    .side-meta { display: flex; flex-wrap: wrap; gap: 8px; }
    .chip {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 6px 10px; border-radius: 999px;
      background: var(--chip); color: var(--text);
      font-size: 12px; border: 1px solid var(--line);
    }
    .chip-soft { background: rgba(22,160,133,.14); color: #b8f4e4; }
    .nav { display: flex; flex-direction: column; gap: 6px; }
    .nav-item {
      display: flex; align-items: center; gap: 10px;
      padding: 11px 12px; border-radius: 8px;
      color: var(--muted); transition: transform .22s var(--motion), background .22s var(--motion), color .22s var(--motion), border-color .22s var(--motion);
      min-width: 0;
      border: 1px solid transparent;
    }
    .nav-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .nav-item svg { width: 18px; height: 18px; flex: none; }
    .nav-item:hover, .nav-item.active {
      background: rgba(22,160,133,.12);
      color: var(--text);
      border: 1px solid rgba(22,160,133,.18);
      transform: translateX(2px);
    }
    .sidebar-footer { margin-top: auto; }
    .main { min-width: 0; max-width: 100%; overflow-x: hidden; display: flex; flex-direction: column; }
    .topbar {
      display: flex; justify-content: space-between; align-items: center;
      gap: 20px; padding: 22px 28px 16px; border-bottom: 1px solid var(--line);
      background: rgba(15, 18, 20, 0.76);
      backdrop-filter: blur(14px) saturate(140%);
      -webkit-backdrop-filter: blur(14px) saturate(140%);
      position: sticky; top: 0; z-index: 2;
    }
    .topbar h1 { margin: 6px 0 0; font-size: 25px; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; }
    .crumbs { color: var(--muted); font-size: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
    .topbar-actions { display: flex; align-items: center; gap: 10px; }
    .search {
      display: flex; align-items: center; gap: 8px; padding: 10px 12px;
      border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 8px; min-width: 280px;
      transition: border-color .22s var(--motion), background .22s var(--motion);
    }
    .search:focus-within { border-color: rgba(126,240,188,.42); background: rgba(255,255,255,.055); }
    .search input { background: transparent; border: 0; color: var(--text); outline: none; width: 100%; }
    .search svg { width: 16px; height: 16px; color: var(--muted); }
    .avatar {
      width: 40px; height: 40px; border-radius: 50%;
      background: linear-gradient(135deg, rgba(22,160,133,.28), rgba(35,116,171,.24));
      border: 1px solid rgba(255,255,255,.08); font-weight: 700;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
    }
    .content { padding: 24px 28px 36px; display: grid; gap: 20px; min-width: 0; max-width: 100%; overflow-x: hidden; }
    .hero, .detail-hero, .doc-hero {
      background:
        radial-gradient(circle at 8% 0%, rgba(22,160,133,.15), transparent 28%),
        linear-gradient(135deg, rgba(22,160,133,.08), rgba(27,32,36,.96));
      border: 1px solid var(--line-strong); border-radius: var(--radius);
      padding: 24px; box-shadow: var(--shadow-soft);
      display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    }
    .hero-copy { flex: 1 1 480px; min-width: 0; }
    .hero-copy h2, .detail-hero h2, .doc-hero h2 { margin: 10px 0 8px; font-size: 28px; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
    .hero-copy p, .detail-hero p, .doc-hero p { margin: 0; color: var(--muted); max-width: 700px; line-height: 1.55; text-wrap: pretty; }
    .hero-actions, .detail-actions, .panel-actions, .form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
    .hero-metrics { flex: 0 1 360px; display: grid; gap: 10px; min-width: 280px; }
    .metric {
      display: flex; gap: 12px; align-items: center;
      background: rgba(255,255,255,.03); border: 1px solid var(--line);
      border-radius: 8px; padding: 14px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
    }
    .metric-icon {
      width: 42px; height: 42px; border-radius: 8px; background: rgba(22,160,133,.12); color: #b8f4e4;
    }
    .metric strong { display: block; font-size: 24px; margin-top: 2px; }
    .metric span { color: var(--muted); font-size: 12px; }
    .wizard-hero h2 { max-width: 820px; }
    .wizard-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
    .wizard-step {
      min-height: 138px;
      padding: 16px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: linear-gradient(160deg, rgba(21,36,43,.88), rgba(9,17,23,.92));
      box-shadow: var(--shadow-soft);
    }
    .wizard-step span {
      display: grid;
      place-items: center;
      width: 30px;
      height: 30px;
      border-radius: 999px;
      background: rgba(126,240,188,.12);
      color: var(--accent);
      font-weight: 800;
      margin-bottom: 14px;
    }
    .wizard-step strong { display: block; color: var(--text); font-size: 15px; }
    .wizard-step p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
    .copy-board { display: grid; gap: 10px; }
    .copy-line {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(220px, 36%);
      gap: 14px;
      align-items: center;
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: rgba(255,255,255,.026);
    }
    .copy-line span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
    .copy-line strong, .copy-line code {
      overflow-wrap: anywhere;
      word-break: break-word;
    }
    .copy-line code {
      display: block;
      padding: 10px;
      border-radius: 6px;
      border: 1px solid rgba(126,240,188,.14);
      color: var(--accent);
      background: rgba(126,240,188,.06);
      font-size: 12px;
    }
    .inline-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; color: var(--muted); font-size: 12px; }
    .inline-meta span { display: inline-flex; align-items: center; gap: 6px; }
    .inline-meta svg { width: 14px; height: 14px; }
    .danger-text { color: #ffb0b0; }
    .usage-bar {
      width: 100%; height: 8px; border-radius: 999px; overflow: hidden;
      background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08);
    }
    .usage-bar span { display: block; height: 100%; border-radius: inherit; background: var(--good); }
    .usage-bar.warn span { background: var(--warn); }
    .usage-bar.bad span { background: var(--bad); }
    .grid { display: grid; gap: 20px; }
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .panel, .auth-panel, .form-shell, .doc-card, .empty, .notice {
      background: linear-gradient(180deg, rgba(30,36,40,.96), rgba(25,30,34,.96));
      border: 1px solid var(--line);
      border-radius: var(--radius); box-shadow: var(--shadow-soft);
      min-width: 0;
      position: relative;
    }
    .panel::before, .form-shell::before, .auth-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    }
    .panel-head {
      display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
      padding: 18px 18px 0;
    }
    .panel-head h2 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
    .panel-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
    .panel-body { padding: 18px; }
    .stack { display: grid; gap: 14px; }
    .stack-tight { display: grid; gap: 4px; }
    .muted { color: var(--muted); font-size: 12px; }
    .mono { font-family: "Geist Mono", "SFMono-Regular", Consolas, ui-monospace, monospace; font-size: 12px; word-break: break-all; font-variant-numeric: tabular-nums; }
    .badge, .status {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 6px 10px; border-radius: 999px; font-size: 12px;
      border: 1px solid transparent; white-space: nowrap;
      line-height: 1;
    }
    .badge.neutral, .status.muted { background: rgba(148,163,184,.08); color: #c8d4e7; border-color: var(--line); }
    .badge.good, .status.good { background: rgba(25,195,125,.12); color: #7ef0bc; border-color: rgba(25,195,125,.2); }
    .badge.warn, .status.warn { background: rgba(245,165,36,.12); color: #ffd28a; border-color: rgba(245,165,36,.2); }
    .badge.bad, .status.bad { background: rgba(228,88,88,.12); color: #ffb0b0; border-color: rgba(228,88,88,.2); }
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      padding: 10px 14px; border-radius: 8px; border: 1px solid transparent;
      cursor: pointer; font-weight: 600; font-size: 13px;
      transition: transform .22s var(--motion), background .22s var(--motion), border-color .22s var(--motion), color .22s var(--motion);
      background: rgba(255,255,255,.04); color: var(--text);
      min-height: 38px;
    }
    .btn svg { width: 16px; height: 16px; }
    .btn.primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
    .btn.ghost { background: rgba(255,255,255,.04); border-color: var(--line); }
    .btn.danger { background: rgba(228,88,88,.12); border-color: rgba(228,88,88,.22); color: #ffcdcd; }
    .btn.small { padding: 8px 11px; font-size: 12px; }
    .btn:hover { transform: translateY(-1px); border-color: rgba(126,240,188,.24); }
    .btn:active { transform: translateY(1px) scale(.99); }
    .btn.disabled { pointer-events: none; opacity: .45; }
    .inline-form { display: inline-flex; margin: 0; }
    .confirm-action { position: relative; display: inline-flex; }
    .confirm-action > summary { list-style: none; cursor: pointer; }
    .confirm-action > summary::-webkit-details-marker { display: none; }
    .confirm-pop {
      position: absolute;
      z-index: 6;
      top: calc(100% + 8px);
      right: 0;
      width: min(260px, 76vw);
      padding: 12px;
      border: 1px solid rgba(228,88,88,.28);
      border-radius: 8px;
      background: rgba(27,32,36,.98);
      box-shadow: var(--shadow);
      display: grid;
      gap: 10px;
    }
    .confirm-pop p { margin: 0; color: #ffcdcd; font-size: 12px; line-height: 1.5; }
    .actions, .row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
    .table-wrap { overflow: auto; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.015); }
    table { width: 100%; border-collapse: collapse; min-width: 1000px; background: transparent; }
    .table-compact table { min-width: 680px; }
    .table-compact th,
    .table-compact td { padding: 10px 12px; }
    thead th {
      position: sticky; top: 0; background: rgba(32,39,43,.98); z-index: 1;
      text-align: left; padding: 13px 14px; font-size: 12px; color: #c9d2d3; border-bottom: 1px solid var(--line);
      font-weight: 650;
    }
    tbody td { padding: 13px 14px; border-bottom: 1px solid rgba(148,163,184,.10); vertical-align: middle; }
    tbody tr:hover { background: rgba(22,160,133,.055); }
    .empty {
      padding: 22px; display: flex; align-items: center; gap: 12px; color: var(--muted);
      min-height: 120px; justify-content: center;
      text-align: center;
    }
    .empty.compact { min-height: 80px; padding: 16px; }
    .empty svg { width: 20px; height: 20px; }
    .filter-bar {
      display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
      margin-bottom: 14px;
    }
    .filter-bar.inline { grid-template-columns: repeat(3, minmax(0, auto)); align-items: end; margin-bottom: 0; }
    .field { display: grid; gap: 8px; }
    .field span { font-size: 13px; color: #cfdaf0; }
    .field small { color: var(--muted); line-height: 1.4; }
    .input {
      width: 100%; min-height: 42px; padding: 11px 12px;
      border-radius: 8px; border: 1px solid var(--line);
      background: rgba(255,255,255,.035); color: var(--text); outline: none;
      transition: border-color .22s var(--motion), background .22s var(--motion), box-shadow .22s var(--motion);
    }
    .input:hover { border-color: rgba(215,222,225,.20); }
    .input:focus { border-color: rgba(126,240,188,.46); box-shadow: 0 0 0 3px rgba(22,160,133,.12); background: rgba(255,255,255,.055); }
    .input::placeholder { color: rgba(153,165,168,.72); }
    .textarea { min-height: 110px; resize: vertical; }
    .form-page { display: flex; justify-content: center; }
    .form-shell { width: min(980px, 100%); padding: 22px; }
    .form-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
    .form-head h2 { margin: 0; font-size: 20px; }
    .form-head p { margin: 6px 0 0; color: var(--muted); }
    .form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid .field:nth-child(1), .form-grid .field:nth-child(2), .form-grid .field:last-of-type { grid-column: 1 / -1; }
    .form-actions { grid-column: 1 / -1; justify-content: flex-start; margin-top: 6px; }
    .notice {
      display: flex; gap: 12px; align-items: flex-start; padding: 16px;
      background: rgba(255,255,255,.03);
      max-width: 100%;
    }
    .notice svg { width: 18px; height: 18px; color: #ffd28a; flex: none; margin-top: 2px; }
    .notice h3, .notice h2 { margin: 0 0 4px; }
    .notice p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
    .notice.danger svg { color: #ffb0b0; }
    .auth { display: grid; place-items: center; min-height: 100dvh; padding: 24px; }
    .auth-shell { width: min(520px, 100%); }
    .auth-panel { padding: 24px; }
    .auth-brand { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
    .auth-brand h1 { margin: 0 0 6px; font-size: 24px; }
    .auth-brand p { margin: 0; color: var(--muted); }
    .auth-form { display: grid; gap: 14px; }
    .auth-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--muted); }
    .auth-note span { color: #7fb4ff; }
    .kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .kv div {
      padding: 12px; border: 1px solid var(--line); border-radius: 8px;
      background: rgba(255,255,255,.02); display: grid; gap: 4px;
    }
    .kv span { color: var(--muted); font-size: 12px; }
    .kv strong { font-size: 14px; word-break: break-word; }
    .code-block {
      background: #121618; border: 1px solid var(--line); border-radius: 8px;
      padding: 16px; overflow: auto;
    }
    pre { margin: 0; white-space: pre-wrap; word-break: break-word; }
    .pager {
      display: flex; justify-content: space-between; align-items: center; gap: 12px;
      margin-top: 12px; color: var(--muted); flex-wrap: wrap;
    }
    .doc-grid {
      display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .doc-card {
      padding: 18px; display: grid; gap: 10px;
    }
    .doc-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
    .doc-card h3 { margin: 0; font-size: 18px; }
    .doc-card p { margin: 0; color: var(--muted); line-height: 1.6; }
    .doc-card a { display: inline-flex; align-items: center; gap: 6px; color: #8fd7c7; }
    .doc-card a svg { width: 14px; height: 14px; }
    .eyebrow, .icon-text { display: inline-flex; align-items: center; gap: 8px; color: #c8d4e7; font-size: 12px; }
    .eyebrow svg, .icon-text svg { width: 14px; height: 14px; }
    .pill-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.04); color: #b8f4e4; }
    .pill-icon.good { background: rgba(25,195,125,.12); color: #7ef0bc; }
    .pill-icon.warn { background: rgba(245,165,36,.12); color: #ffd28a; }
    .pill-icon.bad { background: rgba(228,88,88,.12); color: #ffb0b0; }
    .detail-actions .btn, .panel-actions .btn { white-space: nowrap; }
    .chips { display: flex; gap: 8px; flex-wrap: wrap; }
    .chip-active {
      background: rgba(22,160,133,.18);
      border-color: rgba(22,160,133,.32);
      color: #b8f4e4;
    }
    .stack .btn { justify-self: start; }
    .quota-grid, .check-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 14px; }
    .maintenance-kv { margin: 14px 0; }
    .trouble-list {
      display: grid;
      gap: 10px;
    }
    .trouble-item {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 14px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(255,255,255,.025);
      min-width: 0;
    }
    .trouble-item > div:first-child {
      min-width: 0;
      display: grid;
      gap: 5px;
    }
    .trouble-item strong { font-size: 14px; }
    .trouble-item span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
      overflow-wrap: anywhere;
    }
    .trouble-item.good { border-color: rgba(25,195,125,.18); }
    .trouble-item.warn { border-color: rgba(245,165,36,.24); }
    .trouble-item.bad { border-color: rgba(228,88,88,.24); }
    .check-row {
      display: flex; align-items: flex-start; gap: 10px; padding: 12px;
      border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.025);
    }
    .check-row input { margin-top: 3px; accent-color: var(--primary); }
    .check-row span { display: grid; gap: 3px; min-width: 0; }
    .check-row strong { word-break: break-all; }
    .check-row small { color: var(--muted); }
    .usage-shell {
      display: grid;
      gap: 16px;
    }
    .usage-toolbar {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: flex-start;
      flex-wrap: wrap;
      min-width: 0;
    }
    .usage-toolbar h2 {
      margin: 10px 0 6px;
      font-size: 28px;
      line-height: 1.15;
    }
    .usage-toolbar p {
      margin: 0;
      color: var(--muted);
      max-width: 760px;
    }
    .usage-admin-tabs {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .usage-admin-tabs .chip {
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .usage-admin-tabs svg {
      width: 16px;
      height: 16px;
    }
    .usage-date-form {
      display: flex;
      align-items: end;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
      max-width: 100%;
      min-width: 0;
    }
    .usage-date-form .input {
      width: min(190px, 100%);
    }
    .usage-date-actions {
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
      min-width: 0;
    }
    .usage-range-presets {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center;
    }
    .usage-range-presets .chip {
      text-decoration: none;
    }
    .usage-kpi-grid {
      display: grid;
      gap: 12px;
      grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    }
    .usage-kpi {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 16px;
      border-radius: 8px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.03);
      min-width: 0;
      transition: transform .22s var(--motion), border-color .22s var(--motion), background .22s var(--motion);
    }
    .usage-kpi:hover { transform: translateY(-1px); border-color: rgba(126,240,188,.20); background: rgba(255,255,255,.042); }
    .usage-kpi-icon {
      width: 40px;
      height: 40px;
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: none;
      background: rgba(255,255,255,.04);
      color: #b8f4e4;
    }
    .usage-kpi.good .usage-kpi-icon { background: rgba(25,195,125,.12); color: #7ef0bc; }
    .usage-kpi.warn .usage-kpi-icon { background: rgba(245,165,36,.12); color: #ffd28a; }
    .usage-kpi.bad .usage-kpi-icon { background: rgba(228,88,88,.12); color: #ffb0b0; }
    .usage-kpi-copy { min-width: 0; display: grid; gap: 4px; }
    .usage-kpi-copy span { color: var(--muted); font-size: 12px; }
    .usage-kpi-copy strong {
      font-size: 24px;
      line-height: 1.05;
      word-break: break-word;
    }
    .usage-kpi-copy small {
      color: var(--muted);
      line-height: 1.35;
    }
    .usage-focus-grid {
      display: grid;
      gap: 12px;
      grid-template-columns: minmax(0, 1.35fr) minmax(0, .95fr);
    }
    .usage-focus-card {
      padding: 18px;
      border-radius: 8px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.025));
      display: grid;
      gap: 12px;
      min-width: 0;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
    }
    .usage-focus-card.bad {
      border-color: rgba(228,88,88,.22);
      background: linear-gradient(180deg, rgba(228,88,88,.08), rgba(255,255,255,.025));
    }
    .usage-focus-head {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }
    .usage-focus-head span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 6px;
    }
    .usage-focus-head strong {
      display: block;
      font-size: 24px;
      line-height: 1.1;
      word-break: break-word;
    }
    .usage-badge-stack {
      display: flex;
      gap: 8px;
      align-items: flex-start;
      justify-content: flex-end;
      flex-wrap: wrap;
    }
    .usage-progress-row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      color: var(--muted);
      font-size: 12px;
    }
    .usage-progress-row b {
      color: var(--text);
      font-size: 13px;
    }
    .billing-canary-overview {
      display: grid;
      grid-template-columns: minmax(280px, 1.4fr) minmax(360px, 1fr);
      gap: 24px;
      align-items: end;
      margin-bottom: 18px;
    }
    .billing-canary-progress {
      display: grid;
      gap: 11px;
      min-width: 0;
    }
    .billing-canary-progress-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 16px;
      color: var(--muted);
      font-size: 12px;
    }
    .billing-canary-progress-head > div {
      display: grid;
      gap: 5px;
    }
    .billing-canary-progress-head strong {
      color: var(--text);
      font-size: 27px;
      line-height: 1;
      font-variant-numeric: tabular-nums;
    }
    .billing-canary-progress-head small {
      color: var(--muted);
      font-size: 14px;
      font-weight: 600;
    }
    .billing-canary-track {
      height: 8px;
      overflow: hidden;
      border-radius: 4px;
      background: rgba(255,255,255,.065);
      box-shadow: inset 0 1px 2px rgba(0,0,0,.22);
    }
    .billing-canary-track > span {
      display: block;
      width: var(--billing-canary-progress, 0%);
      height: 100%;
      border-radius: inherit;
      background: #7ef0bc;
      transition: width .25s var(--motion);
    }
    .billing-canary-metrics {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      margin: 0;
      min-width: 0;
    }
    .billing-canary-metrics div {
      min-width: 0;
      padding-left: 12px;
      border-left: 1px solid var(--line);
    }
    .billing-canary-metrics dt {
      color: var(--muted);
      font-size: 11px;
      line-height: 1.3;
    }
    .billing-canary-metrics dd {
      margin: 6px 0 0;
      color: var(--text);
      font-size: 15px;
      font-weight: 700;
      line-height: 1.2;
      overflow-wrap: anywhere;
      font-variant-numeric: tabular-nums;
    }
    @media (max-width: 1100px) {
      .billing-canary-overview {
        grid-template-columns: 1fr;
        align-items: stretch;
      }
    }
    @media (max-width: 680px) {
      .billing-canary-progress-head {
        align-items: flex-start;
      }
      .billing-canary-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    .usage-focus-meta,
    .usage-sync-list {
      display: grid;
      gap: 8px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }
    .usage-sync-list span {
      display: inline-flex;
      align-items: flex-start;
      gap: 8px;
      min-width: 0;
    }
    .usage-sync-list svg {
      width: 14px;
      height: 14px;
      flex: none;
      margin-top: 1px;
    }
    .usage-sync-error {
      color: #ffb0b0;
    }
    .usage-lower-grid .panel-body {
      padding-top: 14px;
      min-width: 0;
    }
    .usage-lower-grid table {
      min-width: 760px;
    }
    .usage-shell + .usage-lower-grid table,
    .usage-lower-grid + .panel table {
      table-layout: fixed;
    }
    .usage-shell + .usage-lower-grid th,
    .usage-shell + .usage-lower-grid td,
    .usage-lower-grid + .panel th,
    .usage-lower-grid + .panel td {
      overflow-wrap: anywhere;
    }
    .usage-detail-shell {
      display: grid;
      gap: 16px;
      min-width: 0;
    }
    .usage-detail-toolbar {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: flex-start;
      flex-wrap: wrap;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(255,255,255,.025);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
    }
    .usage-detail-toolbar h3 {
      margin: 8px 0 6px;
      font-size: 22px;
      line-height: 1.2;
      word-break: break-word;
    }
    .usage-detail-toolbar p {
      margin: 0;
      color: var(--muted);
      max-width: 780px;
      line-height: 1.5;
    }
    .domain-usage-date {
      justify-content: flex-start;
    }
    .usage-detail-kpis {
      display: grid;
      gap: 12px;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    }
    .metric-mini {
      min-width: 0;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(255,255,255,.03);
      display: grid;
      gap: 6px;
      transition: border-color .22s var(--motion), background .22s var(--motion);
    }
    .metric-mini:hover { border-color: rgba(126,240,188,.18); background: rgba(255,255,255,.04); }
    .metric-mini span,
    .metric-mini small {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }
    .metric-mini strong {
      font-size: 23px;
      line-height: 1.1;
      word-break: break-word;
    }
    .metric-mini.good { border-color: rgba(25,195,125,.16); }
    .metric-mini.warn { border-color: rgba(245,165,36,.22); }
    .usage-detail-grid table {
      min-width: 680px;
    }
    .usage-detail-shell .table-wrap {
      max-width: 100%;
    }
    .usage-detail-shell table {
      min-width: 680px;
      table-layout: fixed;
    }
    .usage-detail-shell th,
    .usage-detail-shell td {
      overflow-wrap: anywhere;
    }
    .usage-mini-grid {
      gap: 12px;
    }
    .usage-bars {
      display: grid;
      gap: 10px;
      max-height: 760px;
      overflow: auto;
      padding-right: 4px;
    }
    .usage-bar-row {
      display: grid;
      grid-template-columns: 72px minmax(120px, 1fr) minmax(90px, auto) minmax(140px, auto);
      align-items: center;
      gap: 10px;
      min-width: 0;
      font-size: 12px;
    }
    .usage-bar-time,
    .usage-bar-row small {
      color: var(--muted);
    }
    .usage-bar-track {
      height: 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.08);
      overflow: hidden;
      min-width: 0;
    }
    .usage-bar-track span {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--primary), var(--primary-2));
    }
    .usage-bar-row strong {
      white-space: nowrap;
      text-align: right;
    }
    .usage-rank-list {
      display: grid;
      gap: 8px;
    }
    .usage-rank-list div {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(255,255,255,.02);
      min-width: 0;
    }
    .usage-rank-list span {
      min-width: 0;
      color: var(--muted);
      overflow-wrap: anywhere;
    }
    .usage-rank-list strong {
      white-space: nowrap;
      font-size: 12px;
    }
    .usage-dimension-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, .8fr);
      gap: 12px;
      align-items: start;
    }
    .usage-dimension-grid h4 {
      margin: 0 0 9px;
      color: var(--text);
      font-size: 13px;
      font-weight: 820;
    }
    .usage-list-note {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
      padding: 10px 12px;
      border: 1px dashed rgba(215,222,225,.18);
      border-radius: 8px;
      background: rgba(255,255,255,.018);
    }
    .usage-empty-explain {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      padding: 22px;
      min-height: 118px;
      border: 1px dashed rgba(215,222,225,.18);
      border-radius: 8px;
      background:
        linear-gradient(135deg, rgba(126,240,188,.045), transparent 42%),
        rgba(255,255,255,.018);
    }
    .usage-empty-explain svg {
      width: 22px;
      height: 22px;
      flex: none;
      color: var(--primary);
      margin-top: 1px;
    }
    .usage-empty-explain h3 {
      margin: 0 0 6px;
      font-size: 15px;
      line-height: 1.35;
    }
    .usage-empty-explain p {
      margin: 0;
      color: var(--muted);
      line-height: 1.55;
      max-width: 760px;
    }
    .inline-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }
    /* UI refresh: calmer operations-console skin. */
    :root {
      --bg: #080d12;
      --bg-soft: #0d141b;
      --panel: #111922;
      --panel-2: #151f2a;
      --line: rgba(148, 163, 184, .15);
      --line-strong: rgba(148, 163, 184, .24);
      --text: #f5f8fb;
      --muted: #8fa0b2;
      --primary: #20c7ad;
      --primary-2: #4992d6;
      --accent-soft: rgba(32, 199, 173, .11);
      --chip: rgba(148, 163, 184, .09);
      --shadow: 0 22px 56px rgba(1, 8, 18, .34);
      --shadow-soft: 0 12px 30px rgba(1, 8, 18, .25);
    }
    * { letter-spacing: 0 !important; }
    body {
      font-family: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
      background:
        linear-gradient(180deg, rgba(255,255,255,.018), transparent 240px),
        linear-gradient(180deg, #080d12 0%, #0d141b 48%, #091017 100%);
      color: var(--text);
    }
    body::before {
      z-index: 0;
      opacity: .34;
      background:
        linear-gradient(90deg, rgba(148,163,184,.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(148,163,184,.032) 1px, transparent 1px);
      background-size: 40px 40px;
      mask-image: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.16) 52%, transparent 100%);
    }
    .app-shell {
      grid-template-columns: 264px minmax(0, 1fr);
      background: transparent;
    }
    .sidebar {
      padding: 18px 14px;
      gap: 14px;
      background:
        linear-gradient(180deg, rgba(6, 11, 17, .99), rgba(8, 13, 19, .97));
      border-right: 1px solid rgba(148,163,184,.13);
      box-shadow: inset -1px 0 0 rgba(255,255,255,.025);
    }
    .brand {
      gap: 10px;
      padding: 6px 4px 10px;
    }
    .brand-mark {
      width: 40px;
      height: 40px;
      background: #112b2d;
      color: #c4fff3;
      border-color: rgba(32,199,173,.28);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 12px 28px rgba(0,0,0,.24);
    }
    .brand-mark.big { width: 52px; height: 52px; }
    .brand-title {
      font-size: 15px;
      font-weight: 760;
    }
    .brand-sub {
      margin-top: 3px;
      font-size: 12px;
      color: #7f8d9d;
    }
    .side-meta {
      gap: 6px;
      padding: 0 3px 8px;
    }
    .chip, .badge, .status {
      border-radius: 6px;
      font-weight: 650;
      color: #c7d3df;
    }
    .chip {
      padding: 5px 9px;
      background: rgba(148,163,184,.08);
      border-color: rgba(148,163,184,.12);
    }
    .chip-soft,
    .chip-active {
      background: rgba(32,199,173,.13);
      border-color: rgba(32,199,173,.24);
      color: #b9fff1;
    }
    .nav { gap: 3px; }
    .nav-item {
      position: relative;
      padding: 10px 11px;
      border-radius: 7px;
      color: #8f9aa8;
      font-size: 14px;
      border-color: transparent;
    }
    .nav-item::before {
      content: "";
      position: absolute;
      left: 0;
      top: 8px;
      bottom: 8px;
      width: 3px;
      border-radius: 0 4px 4px 0;
      background: transparent;
      transition: background .2s var(--motion);
    }
    .nav-item:hover,
    .nav-item.active {
      transform: none;
      background: rgba(32,199,173,.095);
      border-color: rgba(32,199,173,.15);
      color: #eef7f5;
    }
    .nav-item.active::before { background: var(--primary); }
    .sidebar-footer .btn {
      width: 100%;
      justify-content: flex-start;
    }
    .main { position: relative; }
    .topbar {
      min-height: 86px;
      padding: 18px 30px 16px;
      background: rgba(9, 15, 22, .82);
      border-bottom: 1px solid rgba(148,163,184,.13);
      backdrop-filter: blur(18px) saturate(126%);
      -webkit-backdrop-filter: blur(18px) saturate(126%);
    }
    .topbar h1 {
      margin-top: 5px;
      font-size: 26px;
      line-height: 1.16;
      font-weight: 780;
    }
    .crumbs {
      color: #7f8d9d;
      font-size: 12px;
    }
    .topbar-actions { gap: 12px; }
    .search {
      min-width: 320px;
      height: 42px;
      padding: 0 12px;
      background: #101821;
      border-color: rgba(148,163,184,.16);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
    }
    .search:focus-within {
      background: #121c27;
      border-color: rgba(32,199,173,.44);
      box-shadow: 0 0 0 3px rgba(32,199,173,.10);
    }
    .avatar {
      width: 38px;
      height: 38px;
      border-radius: 8px;
      background: #123038;
      color: #c4fff3;
      border-color: rgba(32,199,173,.22);
    }
    .content {
      width: 100%;
      max-width: 1720px;
      margin: 0 auto;
      padding: 24px 32px 46px;
      gap: 18px;
    }
    .hero, .detail-hero, .doc-hero {
      position: relative;
      overflow: hidden;
      padding: 22px 24px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.035), transparent 120px),
        linear-gradient(135deg, #101922, #0e171f 60%, #0b131b);
      border-color: rgba(148,163,184,.18);
      box-shadow: var(--shadow-soft);
      gap: 22px;
    }
    .hero::after, .detail-hero::after, .doc-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(90deg, rgba(32,199,173,.18), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.04), transparent 34%);
      opacity: .52;
    }
    .hero > *, .detail-hero > *, .doc-hero > * {
      position: relative;
      z-index: 1;
    }
    .hero-copy {
      flex: 1 1 560px;
      align-self: center;
    }
    .eyebrow,
    .icon-text {
      color: #9caab9;
      font-weight: 650;
    }
    .hero-copy h2, .detail-hero h2, .doc-hero h2 {
      margin: 10px 0 10px;
      font-size: 32px;
      line-height: 1.12;
      font-weight: 820;
    }
    .hero-copy p, .detail-hero p, .doc-hero p {
      max-width: 760px;
      color: #9aa7b5;
      font-size: 14px;
      line-height: 1.65;
    }
    .hero-actions,
    .detail-actions,
    .panel-actions,
    .form-actions {
      gap: 9px;
    }
    .hero-actions { margin-top: 16px; }
    .hero-metrics {
      flex: 0 1 440px;
      grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
      gap: 10px;
      min-width: 300px;
    }
    .hero-metrics .metric:last-child {
      grid-column: auto;
    }
    .metric {
      padding: 12px 13px;
      background: rgba(15, 24, 33, .82);
      border-color: rgba(148,163,184,.15);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
      min-width: 0;
    }
    .metric > div { min-width: 0; }
    .metric-icon,
    .pill-icon,
    .usage-kpi-icon {
      border-radius: 8px;
      background: rgba(32,199,173,.12);
      color: #adfff0;
    }
    .metric strong {
      font-size: 22px;
      line-height: 1.08;
      font-weight: 800;
      color: #f7fbff;
      overflow-wrap: anywhere;
    }
    .hero-metrics .metric:nth-child(4) strong {
      font-size: 20px;
      line-height: 1.15;
    }
    .metric span { color: #91a0af; }
    .panel, .auth-panel, .form-shell, .doc-card, .empty, .notice {
      background:
        linear-gradient(180deg, rgba(255,255,255,.028), transparent 92px),
        #101821;
      border-color: rgba(148,163,184,.16);
      box-shadow: 0 10px 28px rgba(1, 8, 18, .18);
    }
    .panel::before,
    .form-shell::before,
    .auth-panel::before {
      box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
    }
    .panel-head {
      padding: 17px 18px 0;
      align-items: center;
    }
    .panel-head h2 {
      font-size: 17px;
      line-height: 1.28;
      font-weight: 760;
    }
    .panel-head p {
      color: #8795a5;
      font-size: 12px;
      line-height: 1.5;
    }
    .panel-body { padding: 16px 18px 18px; }
    .grid { gap: 18px; }
    .grid-2 { gap: 18px; }
    .quota-grid,
    .check-grid {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 12px;
      margin-bottom: 0;
    }
    .btn {
      min-height: 38px;
      border-radius: 7px;
      padding: 9px 13px;
      background: #15212c;
      border-color: rgba(148,163,184,.16);
      color: #edf4f7;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
    }
    .btn.primary {
      background: #18b79f;
      color: #061313;
      border-color: rgba(61,255,223,.18);
      box-shadow: 0 10px 22px rgba(24,183,159,.16), inset 0 1px 0 rgba(255,255,255,.20);
    }
    .btn.ghost {
      background: #111b25;
      border-color: rgba(148,163,184,.18);
    }
    .btn.danger {
      background: rgba(228,88,88,.12);
      border-color: rgba(228,88,88,.24);
      color: #ffd0d0;
    }
    .btn:hover {
      transform: translateY(-1px);
      background: #172431;
      border-color: rgba(32,199,173,.34);
    }
    .btn.primary:hover { background: #20c7ad; }
    .btn.small {
      min-height: 34px;
      padding: 7px 10px;
    }
    .row-actions {
      align-items: center;
      flex-wrap: nowrap;
    }
    .row-actions .btn,
    .row-actions .inline-form,
    .row-actions .confirm-action {
      flex: 0 0 auto;
    }
    .row-actions .btn span {
      white-space: nowrap;
    }
    .table-wrap {
      background: #0d151e;
      border-color: rgba(148,163,184,.16);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
    }
    table { min-width: 960px; }
    thead th {
      background: #111b25;
      color: #aebbca;
      font-size: 11px;
      font-weight: 760;
      padding: 12px 14px;
      border-bottom-color: rgba(148,163,184,.18);
    }
    tbody td {
      padding: 13px 14px;
      border-bottom-color: rgba(148,163,184,.09);
    }
    tbody tr:hover {
      background: rgba(32,199,173,.045);
    }
    tbody td > .mono,
    tbody td > span.mono {
      display: inline-block;
      min-width: max-content;
      word-break: normal;
      overflow-wrap: normal;
      white-space: nowrap;
    }
    tbody td .stack-tight .mono {
      white-space: normal;
      min-width: 0;
    }
    .input {
      min-height: 42px;
      background: #0e1720;
      border-color: rgba(148,163,184,.18);
      color: #f3f7fb;
    }
    .input:hover {
      background: #111b25;
      border-color: rgba(148,163,184,.26);
    }
    .input:focus {
      background: #111b25;
      border-color: rgba(32,199,173,.48);
      box-shadow: 0 0 0 3px rgba(32,199,173,.11);
    }
    select.input {
      color-scheme: dark;
      appearance: auto;
    }
    input[type="date"].input,
    input[type="datetime-local"].input,
    input[type="time"].input {
      color-scheme: dark;
    }
    input[type="file"].input {
      padding: 7px 10px;
      color: #a7b4c2;
    }
    input[type="file"].input::file-selector-button {
      margin-right: 12px;
      border: 1px solid rgba(32,199,173,.24);
      border-radius: 6px;
      background: #13242d;
      color: #effaf7;
      padding: 7px 10px;
      font: inherit;
      font-weight: 700;
      cursor: pointer;
      transition: background .2s var(--motion), border-color .2s var(--motion), color .2s var(--motion);
    }
    input[type="file"].input::file-selector-button:hover {
      background: #18313a;
      border-color: rgba(32,199,173,.44);
      color: #c4fff3;
    }
    .textarea {
      line-height: 1.52;
    }
    textarea.input[rows="8"],
    textarea.input[name="cert_text"],
    textarea.input[name="key_text"] {
      min-height: 220px;
      font-family: "Geist Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
      font-size: 12px;
    }
    .form-shell {
      width: min(1120px, 100%);
      padding: 24px;
    }
    .form-grid { gap: 16px; }
    .compact-form {
      align-items: start;
    }
    .compact-form > .field:first-of-type {
      grid-column: 1 / -1;
    }
    .compact-form > .field:has(textarea[name="scopes"]),
    .compact-form > .field:has(textarea[name="allowed_ips"]) {
      grid-column: span 1;
    }
    .compact-form > .field:has(input[name="expires_at"]) {
      grid-column: 1 / -1;
    }
    .compact-form .field {
      align-self: start;
    }
    .compact-form textarea.input {
      min-height: 104px;
    }
    .compact-form .field small {
      min-height: 0;
    }
    .field span {
      color: #c9d4df;
      font-weight: 650;
    }
    .field small,
    .muted {
      color: #8897a6;
    }
    .kv { gap: 10px; }
    .kv div,
    .trouble-item,
    .check-row,
    .usage-kpi,
    .usage-focus-card,
    .usage-detail-toolbar,
    .metric-mini,
    .usage-rank-list div {
      background: #0f1822;
      border-color: rgba(148,163,184,.14);
    }
    .kv div {
      padding: 13px;
    }
    .kv span,
    .usage-kpi-copy span,
    .usage-kpi-copy small,
    .metric-mini span,
    .metric-mini small,
    .usage-focus-head span,
    .usage-focus-meta,
    .usage-sync-list,
    .usage-list-note,
    .usage-progress-row {
      color: #8b9aaa;
    }
    .usage-toolbar h2 {
      font-size: 28px;
      font-weight: 800;
    }
    .usage-kpi-copy strong,
    .usage-focus-head strong,
    .metric-mini strong {
      color: #f7fbff;
      font-weight: 800;
    }
    .usage-bar,
    .usage-bar-track {
      background: #0a1118;
      border-color: rgba(148,163,184,.12);
    }
    .usage-bar span,
    .usage-bar-track span {
      background: linear-gradient(90deg, #20c7ad, #4b9add);
    }
    .usage-empty-explain,
    .usage-list-note {
      background: #0d151e;
      border-color: rgba(148,163,184,.18);
    }
    .empty {
      background: #0d151e;
      color: #91a0af;
      border-style: dashed;
      border-color: rgba(148,163,184,.18);
    }
    .empty svg {
      color: #9fb0c1;
    }
    .notice {
      background: #101821;
      border-color: rgba(245,165,36,.20);
    }
    .code-block {
      background: #0a1118;
      border-color: rgba(148,163,184,.16);
    }
    .auth {
      background:
        linear-gradient(180deg, rgba(255,255,255,.025), transparent 280px),
        linear-gradient(180deg, #080d12, #0d141b);
    }
    .auth-panel {
      background: #101821;
    }
    /* Final visual pass: graphite operations console. */
    :root {
      --bg: #0c0e0d;
      --bg-soft: #101311;
      --panel: #151918;
      --panel-2: #1a201d;
      --line: rgba(213, 224, 218, .13);
      --line-strong: rgba(213, 224, 218, .22);
      --text: #f3f7f4;
      --muted: #91a098;
      --primary: #35c6a2;
      --primary-2: #8ad7c2;
      --accent-soft: rgba(53, 198, 162, .105);
      --chip: rgba(213, 224, 218, .075);
      --shadow: 0 22px 54px rgba(0, 0, 0, .30);
      --shadow-soft: 0 10px 26px rgba(0, 0, 0, .20);
      --radius: 6px;
    }
    body {
      background:
        linear-gradient(180deg, rgba(255,255,255,.018), transparent 220px),
        linear-gradient(180deg, #0c0e0d 0%, #111412 50%, #0b0d0c 100%);
      color: var(--text);
      font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    body::before {
      opacity: .20;
      background:
        linear-gradient(90deg, rgba(213,224,218,.050) 1px, transparent 1px),
        linear-gradient(180deg, rgba(213,224,218,.035) 1px, transparent 1px);
      background-size: 42px 42px;
      mask-image: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.18) 48%, transparent 100%);
    }
    .app-shell { grid-template-columns: 252px minmax(0, 1fr); }
    .sidebar {
      padding: 18px 13px;
      background: #090b0a;
      border-right-color: rgba(213,224,218,.105);
      box-shadow: inset -1px 0 0 rgba(255,255,255,.025);
    }
    .brand { padding: 6px 5px 8px; }
    .brand-mark {
      background: #10241f;
      border-color: rgba(53,198,162,.26);
      color: #c9fff1;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
    }
    .brand-title { font-weight: 820; }
    .brand-sub,
    .crumbs,
    .field small,
    .muted {
      color: var(--muted);
    }
    .side-meta { padding-bottom: 6px; }
    .chip, .badge, .status {
      border-radius: 6px;
      background: rgba(213,224,218,.070);
      border-color: rgba(213,224,218,.115);
      color: #cbd8d1;
    }
    .chip-soft,
    .chip-active {
      background: rgba(53,198,162,.13);
      border-color: rgba(53,198,162,.25);
      color: #cafff1;
    }
    .nav { gap: 4px; }
    .nav-item {
      padding: 10px 10px;
      border-radius: 6px;
      color: #8d9992;
    }
    .nav-item:hover,
    .nav-item.active {
      background: linear-gradient(90deg, rgba(53,198,162,.135), rgba(53,198,162,.055));
      border-color: rgba(53,198,162,.18);
      color: #f2faf6;
    }
    .nav-item.active::before { background: var(--primary); }
    .main { background: transparent; }
    .topbar {
      min-height: 76px;
      padding: 17px 30px 15px;
      background: rgba(12, 14, 13, .86);
      border-bottom-color: rgba(213,224,218,.11);
      backdrop-filter: blur(16px) saturate(118%);
      -webkit-backdrop-filter: blur(16px) saturate(118%);
    }
    .topbar h1 {
      font-size: 25px;
      font-weight: 820;
      line-height: 1.16;
    }
    .search {
      background: #111513;
      border-color: rgba(213,224,218,.14);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.026);
    }
    .search:focus-within {
      background: #151a18;
      border-color: rgba(53,198,162,.42);
      box-shadow: 0 0 0 3px rgba(53,198,162,.105);
    }
    .avatar {
      border-radius: 8px;
      background: #112822;
      border-color: rgba(53,198,162,.22);
      color: #cbfff2;
    }
    .content {
      max-width: 1660px;
      padding: 22px 30px 44px;
      gap: 16px;
    }
    .hero, .detail-hero, .doc-hero {
      padding: 20px 22px;
      border-color: rgba(213,224,218,.15);
      background:
        linear-gradient(180deg, rgba(255,255,255,.026), transparent 112px),
        linear-gradient(135deg, #151a18, #111614 62%, #0d100f);
      box-shadow: var(--shadow-soft);
    }
    .hero::after, .detail-hero::after, .doc-hero::after {
      background:
        linear-gradient(90deg, rgba(53,198,162,.145), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,.030), transparent 40%);
      opacity: .70;
    }
    .hero-copy h2, .detail-hero h2, .doc-hero h2 {
      font-size: 30px;
      font-weight: 850;
      line-height: 1.10;
    }
    .hero-copy p, .detail-hero p, .doc-hero p {
      color: #94a39b;
      line-height: 1.62;
    }
    .hero-metrics { gap: 9px; }
    .metric,
    .kv div,
    .trouble-item,
    .check-row,
    .usage-kpi,
    .usage-focus-card,
    .usage-detail-toolbar,
    .metric-mini,
    .usage-rank-list div {
      background: #111513;
      border-color: rgba(213,224,218,.12);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
    }
    .metric:hover,
    .usage-kpi:hover,
    .metric-mini:hover,
    .trouble-item:hover {
      background: #131916;
      border-color: rgba(53,198,162,.22);
    }
    .metric-icon,
    .pill-icon,
    .usage-kpi-icon {
      background: rgba(53,198,162,.12);
      color: #bffff0;
    }
    .metric strong,
    .usage-kpi-copy strong,
    .usage-focus-head strong,
    .metric-mini strong {
      color: #f5faf7;
      font-weight: 840;
    }
    .panel, .auth-panel, .form-shell, .doc-card, .empty, .notice {
      background:
        linear-gradient(180deg, rgba(255,255,255,.020), transparent 86px),
        var(--panel);
      border-color: rgba(213,224,218,.13);
      box-shadow: 0 12px 28px rgba(0,0,0,.18);
    }
    .panel-head { padding: 16px 17px 0; }
    .panel-head h2 {
      font-size: 17px;
      font-weight: 800;
      color: #f3f8f5;
    }
    .panel-head p {
      color: var(--muted);
      line-height: 1.55;
    }
    .panel-body { padding: 15px 17px 17px; }
    .btn {
      border-radius: 6px;
      background: #171d1a;
      border-color: rgba(213,224,218,.15);
      color: #edf6f1;
      font-weight: 760;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.030);
    }
    .btn.primary {
      background: #35c6a2;
      color: #07100d;
      border-color: rgba(180,255,235,.24);
      box-shadow: 0 10px 22px rgba(53,198,162,.15), inset 0 1px 0 rgba(255,255,255,.24);
    }
    .btn.ghost { background: #111614; }
    .btn:hover {
      background: #1a211e;
      border-color: rgba(53,198,162,.34);
    }
    .btn.primary:hover { background: #45d5b1; }
    .input {
      background: #0f1312;
      border-color: rgba(213,224,218,.15);
      color: var(--text);
    }
    .input:hover,
    .input:focus {
      background: #131817;
    }
    .input:focus {
      border-color: rgba(53,198,162,.46);
      box-shadow: 0 0 0 3px rgba(53,198,162,.105);
    }
    .field span {
      color: #cad8d1;
      font-weight: 720;
    }
    .table-wrap {
      background: #101412;
      border-color: rgba(213,224,218,.13);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.022);
    }
    thead th {
      background: #171c1a;
      color: #abb9b2;
      border-bottom-color: rgba(213,224,218,.16);
    }
    tbody td {
      border-bottom-color: rgba(213,224,218,.075);
    }
    tbody tr:nth-child(even) {
      background: rgba(255,255,255,.008);
    }
    tbody tr:hover {
      background: rgba(53,198,162,.050);
    }
    .empty {
      background: #101412;
      border-style: dashed;
      color: var(--muted);
    }
    .notice {
      background: #151813;
      border-color: rgba(215,173,80,.22);
    }
    .usage-bar,
    .usage-bar-track {
      background: #0b0e0d;
      border-color: rgba(213,224,218,.11);
    }
    .usage-bar span,
    .usage-bar-track span {
      background: linear-gradient(90deg, #35c6a2, #8ad7c2);
    }
    .usage-empty-explain,
    .usage-list-note,
    .code-block {
      background: #101412;
      border-color: rgba(213,224,218,.14);
    }
    .badge.good, .status.good {
      background: rgba(53,198,162,.13);
      color: #bffff0;
      border-color: rgba(53,198,162,.22);
    }
    .badge.warn, .status.warn {
      background: rgba(215,173,80,.13);
      color: #ffe0a4;
      border-color: rgba(215,173,80,.24);
    }
    .badge.bad, .status.bad {
      background: rgba(229,97,93,.13);
      color: #ffc9c7;
      border-color: rgba(229,97,93,.24);
    }
    .row-actions { gap: 7px; }
    .confirm-pop {
      background: #151918;
      border-color: rgba(229,97,93,.30);
      box-shadow: var(--shadow);
    }
    .table-wrap {
      position: relative;
    }
    .table-wrap::after {
      content: attr(data-scroll-hint);
      position: sticky;
      left: 0;
      bottom: 0;
      display: none;
      width: max-content;
      margin: 0 0 8px 10px;
      padding: 5px 8px;
      border: 1px solid rgba(213,224,218,.12);
      border-radius: 6px;
      background: rgba(12,14,13,.86);
      color: var(--muted);
      font-size: 11px;
      pointer-events: none;
    }
    .table-wrap:hover::after {
      display: inline-flex;
    }
    .state-empty {
      justify-content: flex-start;
      text-align: left;
      min-height: 116px;
      padding: 20px;
    }
    .state-empty.compact {
      min-height: 82px;
      padding: 16px;
    }
    .state-empty .empty-mark {
      width: 42px;
      height: 42px;
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: none;
      background: rgba(53,198,162,.10);
      color: #bffff0;
      border: 1px solid rgba(53,198,162,.18);
    }
    .state-empty strong {
      display: block;
      color: #eaf3ef;
      font-size: 14px;
      margin-bottom: 4px;
    }
    .state-empty p {
      margin: 0;
      color: var(--muted);
      line-height: 1.5;
      max-width: 520px;
    }
    .error .main {
      min-height: 100dvh;
    }
    .error-state {
      min-height: min(620px, calc(100dvh - 160px));
      display: grid;
      grid-template-columns: minmax(150px, .34fr) minmax(0, .66fr);
      align-items: center;
      gap: 28px;
      padding: 34px;
      border: 1px solid rgba(213,224,218,.13);
      border-radius: var(--radius);
      background:
        linear-gradient(135deg, rgba(53,198,162,.10), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,.024), transparent 120px),
        var(--panel);
      box-shadow: var(--shadow-soft);
    }
    .error-code {
      font-size: clamp(68px, 12vw, 160px);
      line-height: .9;
      font-weight: 900;
      color: rgba(243,247,244,.10);
      letter-spacing: 0;
      font-variant-numeric: tabular-nums;
    }
    .error-copy {
      display: grid;
      gap: 14px;
      max-width: 680px;
    }
    .error-copy h2 {
      margin: 0;
      font-size: clamp(28px, 4vw, 48px);
      line-height: 1.04;
      color: #f5faf7;
    }
    .error-copy p {
      margin: 0;
      color: var(--muted);
      line-height: 1.65;
      max-width: 620px;
    }
    .error-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 4px;
    }
    .confirm-action[open] > summary {
      border-color: rgba(229,97,93,.32);
      background: rgba(229,97,93,.12);
      color: #ffd3d0;
    }
    .confirm-pop {
      min-width: 240px;
    }
    .confirm-pop .btn {
      width: 100%;
    }
    .mono,
    .metric strong,
    .usage-kpi-copy strong,
    .metric-mini strong,
    .usage-focus-head strong,
    .kv strong {
      font-variant-numeric: tabular-nums;
    }
    .panel-actions:empty {
      display: none;
    }
    .search input::placeholder {
      color: rgba(145,160,152,.78);
    }
    .badge.neutral,
    .status.muted {
      background: rgba(213,224,218,.065);
      color: #c7d3cd;
      border-color: rgba(213,224,218,.12);
    }
    .sidebar-footer {
      padding-top: 6px;
      border-top: 1px solid rgba(213,224,218,.08);
    }
    .topbar-actions .avatar {
      box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    }
    .topbar-actions {
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .topbar-pulse {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      max-width: 480px;
    }
    .pulse-chip {
      min-height: 30px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 0 10px;
      border: 1px solid rgba(213,224,218,.12);
      border-radius: 6px;
      background: rgba(213,224,218,.055);
      color: #cfd9d3;
      font-size: 11px;
      font-weight: 760;
      text-decoration: none;
      white-space: nowrap;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
      transition: transform .18s var(--motion), border-color .18s var(--motion), background .18s var(--motion), color .18s var(--motion);
    }
    .pulse-chip:hover {
      transform: translateY(-1px);
      border-color: rgba(53,198,162,.34);
      background: rgba(53,198,162,.095);
      color: #f5fffb;
    }
    .pulse-chip:active {
      transform: translateY(0) scale(.985);
    }
    .pulse-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: currentColor;
      box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 16%, transparent);
      flex: 0 0 auto;
    }
    .pulse-chip.good {
      color: #a7f5df;
      border-color: rgba(53,198,162,.18);
      background: rgba(53,198,162,.07);
    }
    .pulse-chip.warn {
      color: #ffd892;
      border-color: rgba(245,165,36,.24);
      background: rgba(245,165,36,.085);
    }
    .pulse-chip.bad {
      color: #ffaaa8;
      border-color: rgba(255,105,99,.26);
      background: rgba(255,105,99,.085);
    }
    @media (min-width: 1280px) {
      .grid-2 {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      }
      .usage-focus-grid {
        grid-template-columns: minmax(0, 1.28fr) minmax(0, .92fr);
      }
    }
    @media (max-width: 1180px) {
      .app-shell { grid-template-columns: 1fr; }
      .sidebar {
        position: relative;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(213,224,218,.11);
      }
      .nav { grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); }
      .topbar { position: relative; }
      .topbar-actions {
        width: 100%;
        justify-content: flex-start;
      }
      .topbar-pulse {
        justify-content: flex-start;
        max-width: none;
      }
      .content { padding-left: 22px; padding-right: 22px; }
      .wizard-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .copy-line { grid-template-columns: 1fr; }
    }
    @media (max-width: 720px) {
      body::before { opacity: .12; background-size: 30px 30px; }
      .sidebar {
        background: rgba(9, 11, 10, .97);
        border-bottom-color: rgba(213,224,218,.12);
      }
      .topbar {
        padding: 13px 15px;
        background: rgba(12, 14, 13, .82);
      }
      .topbar-pulse {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
      }
      .topbar-pulse::-webkit-scrollbar {
        display: none;
      }
      .usage-dimension-grid {
        grid-template-columns: 1fr;
      }
      .pulse-chip {
        min-height: 32px;
        padding-inline: 9px;
      }
      .content {
        padding: 14px 14px 28px;
        gap: 13px;
      }
      .hero, .detail-hero, .doc-hero {
        padding: 15px;
      }
      .hero-copy h2, .detail-hero h2, .doc-hero h2 {
        font-size: 23px;
      }
      .hero-metrics {
        grid-template-columns: 1fr 1fr;
      }
      .panel-head {
        padding: 14px 14px 0;
      }
      .panel-body {
        padding: 13px 14px 14px;
      }
      .table-wrap {
        border-radius: 6px;
      }
      .table-wrap::after {
        display: inline-flex;
      }
      .state-empty {
        align-items: flex-start;
        padding: 16px;
      }
      .error-state {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 22px 16px;
      }
      .error-code {
        font-size: 64px;
      }
      .error-actions .btn {
        flex: 1 1 auto;
      }
      thead th,
      tbody td {
        padding: 9px 10px;
      }
      .usage-kpi,
      .metric-mini,
      .usage-focus-card,
      .usage-detail-toolbar,
      .kv div {
        padding: 13px;
      }
      .form-shell {
        padding: 15px;
      }
      .form-grid {
        grid-template-columns: 1fr;
      }
      .wizard-steps { grid-template-columns: 1fr; }
      .wizard-step { min-height: auto; }
      .compact-form > .field:has(textarea[name="scopes"]),
      .compact-form > .field:has(textarea[name="allowed_ips"]) {
        grid-column: 1 / -1;
      }
    }
    @keyframes surfaceIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .hero,
    .detail-hero,
    .doc-hero,
    .panel,
    .form-shell,
    .auth-panel {
      animation: surfaceIn .28s var(--motion) both;
    }
    @media (max-width: 1180px) {
      .app-shell { grid-template-columns: 1fr; }
      .sidebar { position: relative; height: auto; display: grid; grid-template-columns: 1fr; }
      .nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
      .sidebar-footer { margin-top: 0; }
      .grid-2, .doc-grid, .form-grid, .filter-bar, .quota-grid, .check-grid, .usage-focus-grid { grid-template-columns: 1fr; }
      table { min-width: 860px; }
      .topbar { position: relative; flex-direction: column; align-items: flex-start; }
      .search { min-width: 0; width: 100%; }
      .usage-date-form { width: 100%; justify-content: flex-start; }
      .usage-date-form .input { width: min(100%, 240px); }
      .usage-range-presets { width: 100%; }
      .trouble-item { flex-direction: column; }
      .trouble-item .row-actions { width: 100%; }
    }
    @media (max-width: 720px) {
      body::before { opacity: .18; background-size: 28px 28px; }
      .app-shell { display: block; }
      .sidebar {
        position: sticky;
        top: 0;
        z-index: 5;
        height: auto;
        max-height: none;
        padding: 10px 14px 12px;
        display: grid;
        gap: 10px;
        border-right: 0;
        border-bottom: 1px solid rgba(148,163,184,.15);
        background: rgba(6, 11, 17, .97);
        backdrop-filter: blur(16px) saturate(120%);
        -webkit-backdrop-filter: blur(16px) saturate(120%);
      }
      .brand {
        padding: 0;
        gap: 9px;
      }
      .brand-mark {
        width: 34px;
        height: 34px;
      }
      .brand-title { font-size: 14px; }
      .brand-sub { display: none; }
      .side-meta {
        padding: 0;
        gap: 6px;
      }
      .side-meta .chip {
        padding: 4px 8px;
        font-size: 11px;
      }
      .nav {
        display: flex;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding: 2px 0 4px;
        margin: 0 -2px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
      }
      .nav::-webkit-scrollbar { display: none; }
      .nav-item {
        flex: 0 0 auto;
        min-width: 86px;
        justify-content: center;
        scroll-snap-align: start;
        padding: 9px 10px;
        font-size: 13px;
      }
      .nav-item::before {
        left: 10px;
        right: 10px;
        top: auto;
        bottom: 0;
        width: auto;
        height: 2px;
        border-radius: 4px 4px 0 0;
      }
      .nav-item svg {
        width: 16px;
        height: 16px;
      }
      .sidebar-footer .btn {
        min-height: 36px;
        justify-content: center;
      }
      .topbar {
        position: relative;
        min-height: 0;
        padding: 14px 16px;
        gap: 12px;
      }
      .topbar h1 {
        margin-top: 4px;
        font-size: 22px;
      }
      .topbar-actions {
        width: 100%;
        align-items: stretch;
      }
      .search {
        flex: 1 1 auto;
        min-width: 0;
        height: 40px;
      }
      .avatar {
        width: 40px;
        height: 40px;
        flex: 0 0 auto;
      }
      .content {
        padding: 16px;
        gap: 14px;
      }
      .hero, .detail-hero, .doc-hero, .panel, .form-shell, .auth-panel {
        padding-left: 14px;
        padding-right: 14px;
      }
      .hero, .detail-hero, .doc-hero {
        padding-top: 16px;
        padding-bottom: 16px;
        gap: 14px;
      }
      .hero-copy h2, .detail-hero h2, .doc-hero h2 {
        font-size: 24px;
        line-height: 1.18;
      }
      .hero-copy p, .detail-hero p, .doc-hero p {
        font-size: 13px;
        line-height: 1.58;
      }
      .hero-actions, .detail-actions, .panel-actions, .form-actions {
        width: 100%;
      }
      .hero-actions .btn,
      .detail-actions .btn,
      .panel-actions .btn,
      .form-actions .btn,
      .hero-actions .inline-form,
      .detail-actions .inline-form,
      .panel-actions .inline-form,
      .form-actions form {
        flex: 1 1 auto;
      }
      .hero-actions .inline-form .btn,
      .detail-actions .inline-form .btn,
      .panel-actions .inline-form .btn {
        width: 100%;
      }
      .btn {
        width: auto;
        min-height: 40px;
      }
      .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
        width: 100%;
      }
      .metric {
        padding: 11px;
        gap: 9px;
      }
      .metric-icon,
      .pill-icon,
      .usage-kpi-icon {
        width: 34px;
        height: 34px;
      }
      .metric strong,
      .hero-metrics .metric:nth-child(4) strong {
        font-size: 18px;
      }
      .panel-head {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 15px;
      }
      .panel-actions {
        justify-content: flex-start;
      }
      .panel-body {
        padding: 14px;
      }
      .usage-date-actions {
        width: 100%;
        justify-content: flex-start;
      }
      .usage-date-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
      }
      .usage-date-form .input {
        width: 100%;
      }
      .usage-date-form .btn {
        grid-column: 1 / -1;
        width: 100%;
      }
      .usage-toolbar h2 {
        font-size: 24px;
        line-height: 1.22;
      }
      .usage-toolbar p {
        font-size: 13px;
        line-height: 1.55;
      }
      .usage-range-presets {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        scrollbar-width: none;
      }
      .usage-range-presets::-webkit-scrollbar { display: none; }
      .usage-range-presets .chip {
        flex: 0 0 auto;
      }
      .usage-kpi-copy strong { font-size: 20px; }
      .usage-focus-head strong { font-size: 20px; }
      .usage-kpi {
        padding: 14px;
      }
      .usage-focus-card,
      .usage-detail-toolbar,
      .metric-mini {
        padding: 14px;
      }
      .usage-bar-row {
        grid-template-columns: 64px minmax(100px, 1fr) minmax(78px, auto);
      }
      .usage-bar-row small {
        grid-column: 2 / -1;
      }
      .usage-detail-toolbar,
      .usage-detail-kpis {
        grid-template-columns: 1fr;
      }
      .usage-bars { max-height: 560px; }
      .table-wrap {
        margin-left: -2px;
        margin-right: -2px;
        border-radius: 7px;
      }
      .table-compact table,
      .usage-detail-shell table,
      .usage-lower-grid table {
        min-width: 620px;
      }
      .table-compact th,
      .table-compact td,
      .usage-detail-shell th,
      .usage-detail-shell td,
      .usage-lower-grid th,
      .usage-lower-grid td {
        padding: 9px 10px;
        font-size: 12px;
      }
      .usage-detail-shell .mono,
      .usage-lower-grid .mono {
        font-size: 11px;
      }
      .kv { grid-template-columns: 1fr; }
      .usage-kpi-grid { grid-template-columns: 1fr; }
      .filter-bar.inline,
      .filter-bar {
        grid-template-columns: 1fr;
      }
      .auth {
        padding: 16px;
        align-items: start;
      }
      .auth-panel {
        padding-top: 20px;
        padding-bottom: 20px;
      }
      .auth-brand {
        gap: 12px;
      }
      .auth-brand h1 {
        font-size: 21px;
      }
    }
    @media (max-width: 430px) {
      .hero-metrics,
      .quota-grid,
      .check-grid {
        grid-template-columns: 1fr;
      }
      .usage-date-form {
        grid-template-columns: 1fr;
      }
      .hero-actions .btn,
      .detail-actions .btn,
      .panel-actions .btn,
      .form-actions .btn {
        width: 100%;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
      }
      .btn:hover,
      .nav-item:hover,
      .usage-kpi:hover {
        transform: none;
      }
    }
    
    :root {
      --bg: #f6f8f7;
      --bg-soft: #eef3f1;
      --panel: #ffffff;
      --panel-2: #f8fbfa;
      --line: rgba(31, 47, 55, 0.10);
      --line-strong: rgba(31, 47, 55, 0.16);
      --text: #142126;
      --muted: #66757c;
      --primary: #0f8f7f;
      --primary-2: #286f9f;
      --accent: #0f8f7f;
      --accent-soft: rgba(15, 143, 127, 0.10);
      --good: #138a55;
      --warn: #b7791f;
      --bad: #c2413b;
      --chip: rgba(20, 33, 38, 0.055);
      --shadow: 0 24px 70px rgba(36, 52, 59, 0.13);
      --shadow-soft: 0 12px 34px rgba(36, 52, 59, 0.09);
      --radius: 12px;
      --motion: cubic-bezier(.2,.8,.2,1);
    }
    body {
      background:
        linear-gradient(180deg, rgba(255,255,255,.86), rgba(246,248,247,.94) 34%, rgba(241,246,244,.98)),
        radial-gradient(circle at 8% -8%, rgba(15,143,127,.12), transparent 31%),
        radial-gradient(circle at 100% 2%, rgba(40,111,159,.11), transparent 27%),
        #f6f8f7;
      color: var(--text);
    }
    body::before {
      opacity: .38;
      background-image:
        linear-gradient(rgba(20,33,38,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20,33,38,.045) 1px, transparent 1px);
      background-size: 36px 36px;
      mask-image: linear-gradient(180deg, rgba(0,0,0,.78), transparent 82%);
    }
    ::selection { background: rgba(15,143,127,.18); color: #0f1d22; }
    ::-webkit-scrollbar-track { background: rgba(20,33,38,.04); }
    ::-webkit-scrollbar-thumb { background: rgba(93,112,119,.30); border-color: #f6f8f7; }
    .skip-link {
      background: #142126;
      color: #fff;
      border-radius: 10px;
      box-shadow: var(--shadow-soft);
    }
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible,
    .btn:focus-visible {
      outline-color: rgba(15,143,127,.55);
    }
    .app-shell {
      grid-template-columns: 264px minmax(0, 1fr);
      background: transparent;
    }
    .sidebar {
      background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(250,253,252,.86)),
        rgba(255,255,255,.88);
      border-right: 1px solid rgba(31,47,55,.10);
      box-shadow: 12px 0 38px rgba(42,58,64,.055);
    }
    .brand {
      padding: 6px 4px 10px;
      border-bottom: 1px solid rgba(31,47,55,.08);
    }
    .brand-mark,
    .brand-mark.big {
      border-radius: 12px;
      color: #fff;
      border: 0;
      background:
        linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,0) 42%),
        linear-gradient(135deg, #0f8f7f, #286f9f);
      box-shadow: 0 12px 24px rgba(15,143,127,.20), inset 0 1px 0 rgba(255,255,255,.34);
    }
    .brand-title {
      color: #102027;
      font-weight: 760;
      letter-spacing: 0;
    }
    .brand-sub,
    .crumbs,
    .muted,
    .metric span,
    .panel-head p,
    .hero-copy p,
    .detail-hero p,
    .doc-hero p,
    .usage-toolbar p,
    .usage-detail-toolbar p,
    .field small,
    .notice p,
    .usage-focus-meta,
    .usage-sync-list {
      color: var(--muted);
    }
    .side-meta .chip {
      background: #f2f6f5;
      border-color: rgba(31,47,55,.08);
      color: #54666d;
    }
    .chip,
    .badge,
    .status {
      border-radius: 8px;
      background: rgba(20,33,38,.055);
      border-color: rgba(31,47,55,.08);
      color: #364950;
      font-weight: 650;
    }
    .chip-soft,
    .chip-active {
      background: rgba(15,143,127,.10);
      border-color: rgba(15,143,127,.16);
      color: #086d62;
    }
    .nav {
      gap: 4px;
      padding-top: 4px;
    }
    .nav-item {
      border-radius: 10px;
      color: #64757d;
      font-weight: 650;
      background: transparent;
      border-color: transparent;
      position: relative;
    }
    .nav-item:hover,
    .nav-item.active {
      background: #eef6f4;
      color: #0e4f49;
      border-color: rgba(15,143,127,.12);
      transform: translateX(2px);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
    }
    .nav-item.active::after {
      content: "";
      position: absolute;
      left: 7px;
      top: 50%;
      width: 3px;
      height: 18px;
      border-radius: 999px;
      transform: translateY(-50%);
      background: #0f8f7f;
    }
    .sidebar-footer {
      border-top: 1px solid rgba(31,47,55,.08);
    }
    .main {
      background: transparent;
    }
    .topbar {
      background: rgba(246,248,247,.78);
      border-bottom: 1px solid rgba(31,47,55,.09);
      box-shadow: 0 12px 30px rgba(42,58,64,.045);
      backdrop-filter: blur(16px) saturate(150%);
      -webkit-backdrop-filter: blur(16px) saturate(150%);
    }
    .topbar h1 {
      color: #102027;
      font-size: 26px;
      font-weight: 760;
      letter-spacing: 0;
    }
    .crumbs a {
      color: #586970;
    }
    .search,
    .input {
      background: rgba(255,255,255,.86);
      border-color: rgba(31,47,55,.11);
      color: var(--text);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.80);
    }
    .search:focus-within,
    .input:focus {
      background: #fff;
      border-color: rgba(15,143,127,.36);
      box-shadow: 0 0 0 4px rgba(15,143,127,.10), inset 0 1px 0 rgba(255,255,255,.90);
    }
    .search input {
      color: var(--text);
    }
    .search input::placeholder,
    .input::placeholder {
      color: #8a9aa1;
    }
    .avatar {
      color: #fff;
      background:
        linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,0) 42%),
        linear-gradient(135deg, #0f8f7f, #286f9f);
      border: 0;
      box-shadow: 0 12px 22px rgba(15,143,127,.18);
    }
    .content {
      padding: 28px 32px 42px;
      gap: 22px;
    }
    .hero,
    .detail-hero,
    .doc-hero {
      background:
        linear-gradient(135deg, rgba(15,143,127,.10), rgba(40,111,159,.07) 42%, rgba(255,255,255,.92)),
        #fff;
      border-color: rgba(31,47,55,.10);
      box-shadow: var(--shadow-soft);
      border-radius: 16px;
    }
    .hero-copy h2,
    .detail-hero h2,
    .doc-hero h2,
    .usage-toolbar h2,
    .error-copy h2 {
      color: #102027;
      letter-spacing: 0;
      font-weight: 780;
    }
    .eyebrow,
    .icon-text {
      color: #557078;
      font-weight: 720;
    }
    .panel,
    .auth-panel,
    .form-shell,
    .doc-card,
    .notice,
    .empty {
      background: rgba(255,255,255,.92);
      border: 1px solid rgba(31,47,55,.10);
      border-radius: 14px;
      box-shadow: var(--shadow-soft);
    }
    .panel::before,
    .form-shell::before,
    .auth-panel::before {
      box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
    }
    .panel-head h2,
    .form-head h2,
    .doc-card h3,
    .notice h3,
    .notice h2 {
      color: #132329;
      font-weight: 740;
      letter-spacing: 0;
    }
    .metric,
    .usage-kpi,
    .usage-focus-card,
    .usage-detail-toolbar,
    .metric-mini,
    .kv div,
    .trouble-item,
    .check-row,
    .copy-line,
    .wizard-step {
      background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,251,250,.92));
      border-color: rgba(31,47,55,.09);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
      border-radius: 12px;
    }
    .usage-kpi:hover,
    .metric-mini:hover,
    .btn:hover {
      transform: translateY(-1px);
    }
    .metric-icon,
    .pill-icon,
    .usage-kpi-icon,
    .state-empty .empty-mark {
      border-radius: 10px;
      background: rgba(15,143,127,.10);
      color: #0f776c;
      border-color: rgba(15,143,127,.12);
    }
    .metric strong,
    .usage-kpi-copy strong,
    .metric-mini strong,
    .usage-focus-head strong,
    .kv strong {
      color: #102027;
      font-weight: 780;
    }
    .btn {
      border-radius: 10px;
      background: rgba(255,255,255,.86);
      border-color: rgba(31,47,55,.11);
      color: #21343b;
      box-shadow: 0 1px 0 rgba(255,255,255,.88), 0 8px 20px rgba(36,52,59,.055);
      transition: transform .22s var(--motion), background .22s var(--motion), border-color .22s var(--motion), box-shadow .22s var(--motion), color .22s var(--motion);
    }
    .btn.primary {
      background:
        linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,0) 42%),
        linear-gradient(135deg, #0f8f7f, #286f9f);
      color: #fff;
      border: 0;
      box-shadow: 0 12px 26px rgba(15,143,127,.22), inset 0 1px 0 rgba(255,255,255,.24);
    }
    .btn.primary:hover {
      background:
        linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,0) 42%),
        linear-gradient(135deg, #0b7d70, #225f8b);
    }
    .btn.ghost {
      background: rgba(255,255,255,.70);
      border-color: rgba(31,47,55,.11);
    }
    .btn.danger {
      background: rgba(194,65,59,.08);
      border-color: rgba(194,65,59,.16);
      color: #9f302c;
    }
    .table-wrap {
      background: #fff;
      border-color: rgba(31,47,55,.10);
      border-radius: 12px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
    }
    thead th {
      background: #f5f8f7;
      color: #5c6f76;
      border-bottom-color: rgba(31,47,55,.10);
      font-weight: 720;
    }
    tbody td {
      color: #20343b;
      border-bottom-color: rgba(31,47,55,.075);
    }
    tbody tr:nth-child(even) {
      background: rgba(20,33,38,.015);
    }
    tbody tr:hover {
      background: rgba(15,143,127,.055);
    }
    .mono {
      color: #18313a;
    }
    .badge.neutral,
    .status.muted {
      background: rgba(20,33,38,.055);
      color: #4f6269;
      border-color: rgba(31,47,55,.09);
    }
    .badge.good,
    .status.good {
      background: rgba(19,138,85,.10);
      color: #0f7049;
      border-color: rgba(19,138,85,.16);
    }
    .badge.warn,
    .status.warn {
      background: rgba(183,121,31,.12);
      color: #8a5a15;
      border-color: rgba(183,121,31,.18);
    }
    .badge.bad,
    .status.bad {
      background: rgba(194,65,59,.10);
      color: #9c302c;
      border-color: rgba(194,65,59,.16);
    }
    .field span {
      color: #314950;
      font-weight: 680;
    }
    .notice {
      background: #fffaf0;
      border-color: rgba(183,121,31,.18);
    }
    .notice svg {
      color: #b7791f;
    }
    .notice.danger {
      background: #fff5f4;
      border-color: rgba(194,65,59,.18);
    }
    .notice.danger svg,
    .danger-text {
      color: #b53833;
    }
    .empty {
      background: rgba(255,255,255,.70);
      border-style: dashed;
      color: var(--muted);
    }
    .code-block,
    .usage-empty-explain,
    .usage-list-note {
      background: #f5f8f7;
      border: 1px solid rgba(31,47,55,.10);
      color: #25383f;
    }
    .usage-rank-list div {
      background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,250,.92));
      border-color: rgba(31,47,55,.10);
      color: #20343b;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
    }
    .usage-rank-list span {
      color: #53676e;
    }
    .usage-rank-list strong {
      color: #102027;
    }
    .usage-dimension-grid > div {
      min-width: 0;
    }
    .table-wrap td {
      vertical-align: top;
      overflow-wrap: anywhere;
      word-break: break-word;
    }
    .table-wrap td > * {
      min-width: 0;
    }
    .usage-bar,
    .usage-bar-track {
      background: #e5eeeb;
      border-color: rgba(31,47,55,.07);
    }
    .usage-bar span,
    .usage-bar-track span {
      background: linear-gradient(90deg, #0f8f7f, #286f9f);
    }
    .pulse-chip {
      background: rgba(255,255,255,.78);
      border-color: rgba(31,47,55,.10);
      color: #52656c;
      box-shadow: 0 4px 14px rgba(36,52,59,.05);
    }
    .pulse-chip.good {
      background: rgba(19,138,85,.08);
      color: #0f7049;
      border-color: rgba(19,138,85,.14);
    }
    .pulse-chip.warn {
      background: rgba(183,121,31,.10);
      color: #8a5a15;
      border-color: rgba(183,121,31,.16);
    }
    .pulse-chip.bad {
      background: rgba(194,65,59,.09);
      color: #9c302c;
      border-color: rgba(194,65,59,.16);
    }
    .auth {
      background:
        radial-gradient(circle at 18% 12%, rgba(15,143,127,.12), transparent 28%),
        linear-gradient(180deg, #fbfdfc, #eef4f2);
    }
    .auth-panel {
      background: rgba(255,255,255,.90);
      box-shadow: 0 30px 90px rgba(36,52,59,.16);
    }
    .confirm-pop {
      background: #fff;
      border-color: rgba(194,65,59,.18);
      box-shadow: var(--shadow);
    }
    .confirm-pop p {
      color: #9c302c;
    }
    .copy-line code {
      background: rgba(15,143,127,.07);
      border-color: rgba(15,143,127,.13);
      color: #0b7469;
    }
    .error-state {
      background:
        linear-gradient(135deg, rgba(15,143,127,.10), transparent 38%),
        #fff;
      border-color: rgba(31,47,55,.10);
    }
    .error-code {
      color: rgba(20,33,38,.09);
    }
    .error-copy h2 {
      color: #102027;
    }
    @media (max-width: 1180px) {
      .sidebar {
        background: rgba(255,255,255,.90);
        backdrop-filter: blur(16px) saturate(150%);
        -webkit-backdrop-filter: blur(16px) saturate(150%);
      }
    }
    @media (max-width: 720px) {
      .sidebar {
        background: rgba(255,255,255,.94);
        border-bottom-color: rgba(31,47,55,.10);
      }
      .topbar {
        background: rgba(246,248,247,.88);
      }
      .nav-item {
        min-width: 92px;
      }
      .nav-item.active::after {
        left: 12px;
        right: 12px;
        top: auto;
        bottom: 1px;
        width: auto;
        height: 2px;
        transform: none;
      }
    }
    @media (max-width: 720px) {
      :root {
        color-scheme: light;
      }
      .content {
        padding: 18px 14px 30px;
      }
      .panel,
      .form-shell,
      .auth-panel {
        border-radius: 16px;
      }
      .table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
        margin-left: 0;
        margin-right: 0;
      }
      .table-wrap::after {
        display: none !important;
      }
      .table-wrap table,
      .table-compact table,
      .usage-detail-shell table,
      .usage-lower-grid table {
        display: block;
        width: 100%;
        min-width: 0 !important;
        border-collapse: separate;
        border-spacing: 0;
      }
      .table-wrap thead {
        display: none;
      }
      .table-wrap tbody,
      .table-wrap tr,
      .table-wrap td {
        display: block;
        width: 100%;
      }
      .table-wrap tr {
        margin: 0 0 12px;
        padding: 12px;
        border: 1px solid rgba(31,47,55,.10);
        border-radius: 14px;
        background: rgba(255,255,255,.94);
        box-shadow: 0 10px 28px rgba(36,52,59,.07), inset 0 1px 0 rgba(255,255,255,.82);
      }
      .table-wrap td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 14px;
        min-height: 0;
        padding: 9px 0 !important;
        border-bottom: 1px solid rgba(31,47,55,.075) !important;
        color: #20343b;
        font-size: 13px !important;
        line-height: 1.45;
        text-align: right;
      }
      .table-wrap td::before {
        content: attr(data-label);
        flex: 0 0 7.5em;
        max-width: 48%;
        color: #71838a;
        font-size: 12px;
        font-weight: 720;
        text-align: left;
      }
      .table-wrap td:first-child {
        display: block;
        padding-top: 0 !important;
        text-align: left;
      }
      .table-wrap td:first-child::before {
        display: none;
      }
      .table-wrap td:last-child {
        border-bottom: 0 !important;
        padding-bottom: 0 !important;
      }
      .table-wrap td .stack-tight {
        align-items: flex-start;
        text-align: left;
      }
      .table-wrap .row-actions {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
      }
      .table-wrap .row-actions .btn,
      .table-wrap .row-actions .inline-form,
      .table-wrap .row-actions .confirm-action {
        flex: 0 1 auto;
      }
      .table-wrap .mono {
        white-space: normal;
      }
      .usage-rank-list div {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
      }
    }
    
    :root {
      color-scheme: light;
      --bg: #f4f7f6;
      --bg-soft: #edf3f1;
      --panel: #ffffff;
      --panel-2: #f8fbfa;
      --text: #102027;
      --muted: #687a82;
      --line: rgba(25, 41, 48, .095);
      --line-strong: rgba(25, 41, 48, .16);
      --primary: #0a8f80;
      --primary-2: #1f729e;
      --accent-soft: rgba(10, 143, 128, .095);
      --shadow: 0 26px 80px rgba(31, 48, 55, .14);
      --shadow-soft: 0 14px 42px rgba(31, 48, 55, .09);
      --shadow-line: inset 0 1px 0 rgba(255,255,255,.82);
      --radius: 14px;
      --motion: cubic-bezier(.22,1,.36,1);
    }
    html {
      background: #f4f7f6;
    }
    body {
      background:
        linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(247,250,249,.94) 34%, rgba(238,244,242,.98) 100%),
        radial-gradient(circle at 12% -8%, rgba(10,143,128,.10), transparent 30%),
        radial-gradient(circle at 96% 0%, rgba(31,114,158,.085), transparent 28%),
        #f4f7f6;
      letter-spacing: 0;
    }
    body::before {
      opacity: .22;
      background-image:
        linear-gradient(rgba(16,32,39,.038) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,32,39,.032) 1px, transparent 1px);
      background-size: 44px 44px;
      mask-image: linear-gradient(180deg, rgba(0,0,0,.70), rgba(0,0,0,.20) 48%, transparent 90%);
    }
    .app-shell {
      grid-template-columns: 252px minmax(0, 1fr);
    }
    .sidebar {
      padding: 20px 16px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,252,250,.92)),
        #fbfdfc;
      border-right-color: rgba(25,41,48,.09);
      box-shadow: 14px 0 46px rgba(31,48,55,.055);
    }
    .brand {
      gap: 10px;
      padding: 4px 0 16px;
      border-bottom-color: rgba(25,41,48,.075);
    }
    .brand-mark,
    .brand-mark.big {
      width: 40px;
      height: 40px;
      border-radius: 11px;
      background:
        linear-gradient(145deg, rgba(255,255,255,.30), rgba(255,255,255,0) 46%),
        linear-gradient(135deg, #0a8f80, #237ca9);
      box-shadow: 0 14px 30px rgba(10,143,128,.19), inset 0 1px 0 rgba(255,255,255,.38);
    }
    .brand-title {
      font-size: 15px;
      font-weight: 820;
      color: #0d2027;
    }
    .brand-sub {
      font-size: 11.5px;
      color: #73858c;
    }
    .side-meta {
      gap: 7px;
      padding-bottom: 4px;
    }
    .side-meta .chip,
    .chip,
    .badge,
    .status {
      border-radius: 7px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
    }
    .nav {
      gap: 3px;
    }
    .nav-item {
      min-height: 42px;
      padding: 10px 11px;
      border-radius: 9px;
      color: #62747b;
      font-weight: 720;
      transition: transform .24s var(--motion), background .24s var(--motion), border-color .24s var(--motion), box-shadow .24s var(--motion), color .24s var(--motion);
    }
    .nav-item:hover {
      background: rgba(10,143,128,.055);
      color: #123940;
      border-color: rgba(10,143,128,.11);
    }
    .nav-item.active {
      background:
        linear-gradient(90deg, rgba(10,143,128,.12), rgba(10,143,128,.055)),
        #f7fbfa;
      color: #074c45;
      border-color: rgba(10,143,128,.18);
      box-shadow: 0 8px 20px rgba(10,143,128,.08), inset 0 1px 0 rgba(255,255,255,.78);
    }
    .nav-item.active::after {
      left: 0;
      width: 3px;
      height: 22px;
      background: linear-gradient(180deg, #0a8f80, #237ca9);
      box-shadow: 0 0 0 3px rgba(10,143,128,.08);
    }
    .sidebar-footer {
      padding-top: 12px;
      border-top-color: rgba(25,41,48,.075);
    }
    .topbar {
      min-height: 76px;
      padding: 18px clamp(24px, 2.6vw, 38px) 16px;
      background: rgba(250,252,251,.86);
      border-bottom-color: rgba(25,41,48,.08);
      box-shadow: 0 16px 36px rgba(31,48,55,.052);
      backdrop-filter: blur(18px) saturate(155%);
      -webkit-backdrop-filter: blur(18px) saturate(155%);
    }
    .topbar h1 {
      margin-top: 5px;
      font-size: clamp(24px, 2vw, 30px);
      line-height: 1.08;
      font-weight: 840;
      color: #0b1e25;
      text-wrap: balance;
    }
    .crumbs {
      font-size: 12px;
      color: #71838a;
    }
    .topbar-actions {
      gap: 10px;
      justify-content: flex-end;
      flex-wrap: wrap;
    }
    .topbar-pulse {
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
    }
    .pulse-chip {
      min-height: 32px;
      padding: 7px 11px;
      border-radius: 999px;
      background: rgba(255,255,255,.84);
      border-color: rgba(25,41,48,.10);
      color: #4f6269;
      font-weight: 740;
      box-shadow: 0 8px 20px rgba(31,48,55,.055), inset 0 1px 0 rgba(255,255,255,.80);
    }
    .pulse-chip.good {
      background: rgba(19,138,85,.085);
      color: #0d6b48;
    }
    .search {
      min-width: min(360px, 32vw);
      min-height: 42px;
      border-radius: 11px;
      background: rgba(255,255,255,.88);
      border-color: rgba(25,41,48,.11);
      box-shadow: 0 10px 26px rgba(31,48,55,.052), inset 0 1px 0 rgba(255,255,255,.86);
    }
    .search:focus-within {
      border-color: rgba(10,143,128,.36);
      box-shadow: 0 0 0 4px rgba(10,143,128,.10), 0 12px 30px rgba(31,48,55,.07);
    }
    .avatar {
      width: 42px;
      height: 42px;
      border-radius: 11px;
      font-weight: 840;
      box-shadow: 0 14px 28px rgba(10,143,128,.18), inset 0 1px 0 rgba(255,255,255,.32);
    }
    .content {
      width: 100%;
      max-width: 1500px;
      margin: 0 auto;
      padding: 30px clamp(24px, 2.8vw, 42px) 58px;
      gap: 24px;
    }
    .hero,
    .detail-hero,
    .doc-hero {
      position: relative;
      overflow: hidden;
      padding: 28px;
      border-radius: 18px;
      background:
        linear-gradient(135deg, rgba(10,143,128,.105), rgba(31,114,158,.060) 42%, rgba(255,255,255,.95) 75%),
        #fff;
      border: 1px solid rgba(25,41,48,.09);
      box-shadow: 0 24px 70px rgba(31,48,55,.105), inset 0 1px 0 rgba(255,255,255,.82);
    }
    .hero::after,
    .detail-hero::after,
    .doc-hero::after {
      opacity: .65;
      background:
        linear-gradient(90deg, rgba(255,255,255,.55), transparent 46%),
        radial-gradient(circle at 86% 8%, rgba(10,143,128,.11), transparent 28%);
    }
    .hero-copy h2,
    .detail-hero h2,
    .doc-hero h2 {
      font-size: clamp(26px, 2.8vw, 38px);
      line-height: 1.06;
      font-weight: 860;
      color: #081b22;
    }
    .hero-copy p,
    .detail-hero p,
    .doc-hero p,
    .usage-toolbar p,
    .usage-detail-toolbar p {
      color: #60747c;
      line-height: 1.62;
    }
    .panel,
    .auth-panel,
    .form-shell,
    .doc-card,
    .notice,
    .empty {
      border-radius: 16px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,251,.94)),
        #fff;
      border-color: rgba(25,41,48,.09);
      box-shadow: 0 18px 50px rgba(31,48,55,.085), inset 0 1px 0 rgba(255,255,255,.82);
    }
    .panel-head {
      padding: 22px 22px 0;
    }
    .panel-body {
      padding: 18px 22px 22px;
    }
    .panel-head h2,
    .form-head h2,
    .doc-card h3,
    .notice h3,
    .notice h2 {
      font-size: 18px;
      line-height: 1.22;
      font-weight: 820;
      color: #102027;
    }
    .panel-head p {
      margin-top: 5px;
      color: #6b7e86;
      line-height: 1.55;
    }
    .metric,
    .usage-kpi,
    .usage-focus-card,
    .usage-detail-toolbar,
    .metric-mini,
    .kv div,
    .trouble-item,
    .check-row,
    .copy-line,
    .wizard-step,
    .usage-rank-list div {
      border-radius: 14px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,249,.93));
      border-color: rgba(25,41,48,.085);
      box-shadow: var(--shadow-line), 0 8px 22px rgba(31,48,55,.045);
    }
    .metric,
    .usage-kpi,
    .metric-mini,
    .trouble-item,
    .check-row {
      transition: transform .24s var(--motion), border-color .24s var(--motion), box-shadow .24s var(--motion), background .24s var(--motion);
    }
    .metric:hover,
    .usage-kpi:hover,
    .metric-mini:hover,
    .trouble-item:hover,
    .check-row:hover {
      transform: translateY(-2px);
      border-color: rgba(10,143,128,.16);
      box-shadow: 0 16px 38px rgba(31,48,55,.08), inset 0 1px 0 rgba(255,255,255,.86);
    }
    .metric-icon,
    .pill-icon,
    .usage-kpi-icon,
    .state-empty .empty-mark {
      border-radius: 12px;
      background:
        linear-gradient(180deg, rgba(10,143,128,.13), rgba(10,143,128,.075));
      color: #08796d;
      border-color: rgba(10,143,128,.14);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.68);
    }
    .metric strong,
    .usage-kpi-copy strong,
    .metric-mini strong,
    .usage-focus-head strong,
    .kv strong {
      color: #0b1e25;
      font-weight: 850;
      letter-spacing: 0;
    }
    .btn {
      min-height: 40px;
      border-radius: 11px;
      padding: 9px 14px;
      font-weight: 760;
      background: rgba(255,255,255,.88);
      border-color: rgba(25,41,48,.11);
      color: #1e333b;
      box-shadow: 0 10px 22px rgba(31,48,55,.055), inset 0 1px 0 rgba(255,255,255,.86);
    }
    .btn:hover {
      transform: translateY(-2px);
      border-color: rgba(10,143,128,.20);
      box-shadow: 0 16px 34px rgba(31,48,55,.09), inset 0 1px 0 rgba(255,255,255,.88);
    }
    .btn:active {
      transform: translateY(0) scale(.985);
    }
    .btn.primary {
      background:
        linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,0) 48%),
        linear-gradient(135deg, #0a8f80, #237ca9);
      box-shadow: 0 16px 34px rgba(10,143,128,.24), inset 0 1px 0 rgba(255,255,255,.30);
    }
    .btn.ghost {
      background: rgba(255,255,255,.76);
    }
    .input,
    select.input,
    textarea.input {
      min-height: 44px;
      border-radius: 11px;
      background: rgba(255,255,255,.90);
      border-color: rgba(25,41,48,.12);
      color: #102027;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.84);
    }
    select.input,
    input[type="date"].input,
    input[type="datetime-local"].input,
    input[type="time"].input {
      color-scheme: light;
    }
    .input:hover,
    select.input:hover,
    textarea.input:hover {
      border-color: rgba(25,41,48,.18);
      background: #fff;
    }
    .input:focus,
    textarea.input:focus {
      background: #fff;
      border-color: rgba(10,143,128,.38);
      box-shadow: 0 0 0 4px rgba(10,143,128,.10), inset 0 1px 0 rgba(255,255,255,.90);
    }
    .filter-bar {
      gap: 12px;
      align-items: end;
    }
    .table-wrap {
      border-radius: 15px;
      border-color: rgba(25,41,48,.09);
      background: rgba(255,255,255,.96);
      box-shadow: 0 14px 36px rgba(31,48,55,.055), inset 0 1px 0 rgba(255,255,255,.86);
    }
    table {
      border-collapse: separate;
      border-spacing: 0;
      table-layout: fixed;
      width: 100%;
      min-width: 1080px;
    }
    .table-wrap th,
    .table-wrap td {
      white-space: nowrap;
      word-break: normal;
      overflow-wrap: normal;
    }
    thead th {
      position: sticky;
      top: 0;
      z-index: 1;
      background: linear-gradient(180deg, #f7faf9, #eef5f3);
      color: #5b6f77;
      font-size: 12px;
      font-weight: 800;
    }
    tbody td {
      color: #20343b;
    }
    tbody td:first-child {
      white-space: normal;
      overflow-wrap: normal;
    }
    tbody td:first-child .stack-tight strong,
    tbody td:first-child .stack-tight span {
      overflow-wrap: anywhere;
      word-break: normal;
    }
    tbody tr:nth-child(even) {
      background: rgba(16,32,39,.012);
    }
    tbody tr:hover {
      background: rgba(10,143,128,.052);
    }
    .domain-ledger-summary,
    .billing-ledger-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 16px;
    }
    .billing-ledger-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      margin-bottom: 0;
    }
    .domain-table-tools {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      margin: 0 0 12px;
      color: #6b7e86;
      font-size: 12px;
      flex-wrap: wrap;
    }
    .domain-table-tools span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }
    .domain-table-tools svg {
      width: 14px;
      height: 14px;
      color: #0a8f80;
    }
    .asset-table .table-wrap table {
      min-width: 1080px;
    }
    .domain-asset-table .table-wrap th:first-child,
    .domain-asset-table .table-wrap td:first-child {
      width: 24%;
    }
    .domain-asset-table .table-wrap th:nth-child(2),
    .domain-asset-table .table-wrap td:nth-child(2) {
      width: 10%;
    }
    .domain-asset-table .table-wrap th:nth-child(3),
    .domain-asset-table .table-wrap td:nth-child(3) {
      width: 18%;
      white-space: normal;
    }
    .domain-asset-table .table-wrap th:nth-child(4),
    .domain-asset-table .table-wrap td:nth-child(4) {
      width: 19%;
      white-space: normal;
    }
    .domain-asset-table .table-wrap th:nth-child(5),
    .domain-asset-table .table-wrap td:nth-child(5) {
      width: 12%;
    }
    .domain-asset-table .table-wrap th:nth-child(6),
    .domain-asset-table .table-wrap td:nth-child(6) {
      width: 12%;
      white-space: normal;
    }
    .domain-asset-table .table-wrap th:last-child,
    .domain-asset-table .table-wrap td:last-child {
      width: 184px;
      white-space: nowrap;
      position: sticky;
      right: 0;
      z-index: 2;
      background: rgba(255,255,255,.97);
      box-shadow: -12px 0 18px rgba(31,48,55,.04);
    }
    .domain-asset-table .table-wrap th:last-child {
      z-index: 3;
      background: linear-gradient(180deg, #f7faf9, #eef5f3);
    }
    .domain-asset-table .table-wrap td:last-child .row-actions {
      min-width: 148px;
      justify-content: flex-start;
    }
    .domain-asset-title {
      display: grid;
      gap: 5px;
      min-width: 0;
    }
    .domain-asset-title strong {
      color: #102027;
      font-size: 15px;
      line-height: 1.25;
      overflow-wrap: anywhere;
    }
    .domain-asset-title span {
      color: #6d8189;
      font-size: 12px;
      overflow-wrap: anywhere;
    }
    .domain-config-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
    }
    .billing-ledger {
      padding: 18px;
      border: 1px solid rgba(25,41,48,.09);
      border-radius: 16px;
      background:
        linear-gradient(135deg, rgba(10,143,128,.075), rgba(255,255,255,.96) 42%),
        #fff;
      box-shadow: 0 16px 42px rgba(31,48,55,.07), inset 0 1px 0 rgba(255,255,255,.84);
    }
    .billing-ledger-head {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      align-items: flex-start;
      margin-bottom: 14px;
    }
    .billing-ledger h3 {
      margin: 8px 0 5px;
      color: #0b1e25;
      font-size: 20px;
      line-height: 1.15;
      font-weight: 840;
    }
    .billing-ledger p {
      margin: 0;
      color: #60747c;
      line-height: 1.55;
    }
    .traffic-billing-overview {
      margin: 20px 0;
    }
    .billing-ledger-stat {
      min-width: 0;
      padding: 4px 14px;
      border-left: 1px solid rgba(25,41,48,.10);
      display: grid;
      gap: 5px;
      align-content: start;
    }
    .billing-ledger-stat:first-child {
      border-left: 0;
      padding-left: 0;
    }
    .billing-ledger-stat span,
    .billing-ledger-stat small {
      color: #64777f;
      font-size: 12px;
      line-height: 1.4;
    }
    .billing-ledger-stat strong {
      color: #10252b;
      font-size: 22px;
      line-height: 1.15;
      overflow-wrap: anywhere;
    }
    .code-block,
    .usage-empty-explain,
    .usage-list-note {
      border-radius: 13px;
      background: linear-gradient(180deg, #f8fbfa, #f1f6f4);
      border-color: rgba(25,41,48,.09);
    }
    .usage-bars {
      max-height: 680px;
      overflow: auto;
      padding-right: 4px;
    }
    .usage-bar-row {
      border-radius: 9px;
      transition: background .20s var(--motion);
    }
    .usage-bar-row:hover {
      background: rgba(10,143,128,.045);
    }
    .usage-bar,
    .usage-bar-track {
      height: 8px;
      background: #e2ece9;
    }
    .usage-bar span,
    .usage-bar-track span {
      background: linear-gradient(90deg, #0a8f80, #237ca9);
      box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset;
    }
    .auth {
      background:
        radial-gradient(circle at 15% 12%, rgba(10,143,128,.12), transparent 30%),
        radial-gradient(circle at 88% 4%, rgba(31,114,158,.10), transparent 28%),
        linear-gradient(180deg, #fbfdfc, #eef4f2);
    }
    .auth-panel {
      border-radius: 20px;
      box-shadow: 0 34px 100px rgba(31,48,55,.16), inset 0 1px 0 rgba(255,255,255,.86);
    }
    @media (max-width: 1180px) {
      .app-shell {
        grid-template-columns: 1fr;
      }
      .sidebar {
        padding: 14px 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(25,41,48,.09);
      }
      .nav {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
      }
      .topbar {
        padding-inline: 18px;
      }
      .content {
        padding-inline: 18px;
      }
      .domain-ledger-summary,
      .billing-ledger-grid {
        grid-template-columns: 1fr;
      }
      .billing-ledger-stat {
        border-left: 0;
        border-top: 1px solid rgba(25,41,48,.10);
        padding: 12px 0 0;
      }
      .billing-ledger-stat:first-child {
        border-top: 0;
        padding-top: 0;
      }
      .billing-ledger-head {
        display: grid;
      }
    }
    @media (max-width: 720px) {
      body::before {
        opacity: .12;
      }
      .sidebar {
        padding: 10px 14px 12px;
        gap: 10px;
      }
      .brand {
        padding-bottom: 8px;
      }
      .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 10px;
      }
      .nav {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 7px;
        padding: 2px 0 4px;
        scrollbar-width: none;
      }
      .nav::-webkit-scrollbar {
        display: none;
      }
      .nav-item {
        flex: 0 0 auto;
        min-width: 84px;
        min-height: 38px;
        padding: 8px 9px;
        justify-content: center;
        font-size: 13px;
      }
      .nav-item.active::after {
        left: 10px;
        right: 10px;
        bottom: 0;
        top: auto;
        width: auto;
        height: 2px;
        transform: none;
      }
      .topbar {
        padding: 14px;
        gap: 12px;
      }
      .topbar h1 {
        font-size: 23px;
      }
      .topbar-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 42px;
        gap: 9px;
        width: 100%;
        align-items: center;
      }
      .topbar-pulse {
        grid-column: 1 / -1;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1px;
        scrollbar-width: none;
      }
      .topbar-pulse::-webkit-scrollbar {
        display: none;
      }
      .search {
        grid-column: 1;
        width: 100%;
        min-width: 0;
        min-height: 40px;
      }
      .avatar {
        grid-column: 2;
        width: 42px;
        height: 42px;
      }
      .content {
        padding: 18px 14px 34px;
        gap: 16px;
      }
      .hero,
      .detail-hero,
      .doc-hero {
        padding: 18px;
        border-radius: 16px;
      }
      .hero-copy h2,
      .detail-hero h2,
      .doc-hero h2 {
        font-size: 25px;
      }
      .panel-head {
        padding: 18px 16px 0;
      }
      .panel-body {
        padding: 15px 16px 16px;
      }
      .panel,
      .form-shell,
      .auth-panel {
        border-radius: 16px;
      }
      .metric,
      .usage-kpi,
      .usage-focus-card,
      .usage-detail-toolbar,
      .metric-mini,
      .kv div,
      .trouble-item,
      .check-row,
      .copy-line,
      .usage-rank-list div {
        border-radius: 13px;
      }
      .btn {
        min-height: 42px;
      }
      .table-wrap tr {
        padding: 13px;
        border-radius: 14px;
        box-shadow: 0 12px 28px rgba(31,48,55,.07), inset 0 1px 0 rgba(255,255,255,.86);
      }
      .table-wrap th:first-child,
      .table-wrap td:first-child {
        min-width: 0;
        width: 100%;
      }
      .table-wrap td {
        font-size: 12.5px !important;
        white-space: normal;
        overflow-wrap: anywhere;
      }
      .table-wrap td::before {
        flex-basis: 6.5em;
        color: #6a7d85;
      }
      .domain-asset-table .table-wrap table {
        min-width: 0 !important;
      }
      .domain-asset-table .table-wrap th:last-child,
      .domain-asset-table .table-wrap td:last-child {
        position: static;
        width: auto;
        background: transparent;
        box-shadow: none;
      }
      .domain-config-chips {
        justify-content: flex-end;
      }
      .billing-ledger {
        padding: 14px;
      }
      .usage-bars {
        max-height: 520px;
      }
      .usage-bar-row {
        grid-template-columns: 58px minmax(86px, 1fr) minmax(72px, auto);
      }
    }
    @media (max-width: 430px) {
      .content {
        padding-inline: 12px;
      }
      .side-meta .chip {
        max-width: 46vw;
      }
      .pulse-chip {
        flex: 0 0 auto;
      }
      .hero-metrics,
      .usage-kpi-grid,
      .quota-grid,
      .check-grid {
        grid-template-columns: 1fr;
      }
    }
  
    
    body.cloudreve-public {
      min-height: 100dvh;
      display: block;
      padding: clamp(16px, 3vw, 40px);
      color: #13262c;
      background:
        radial-gradient(circle at 10% -8%, rgba(13, 138, 128, .14), transparent 30%),
        radial-gradient(circle at 92% 4%, rgba(42, 114, 141, .10), transparent 28%),
        linear-gradient(180deg, #fbfcfa 0%, #f4f8f6 48%, #edf3f0 100%);
      overflow-x: hidden;
    }
    body.cloudreve-public::before {
      opacity: .13;
      background-image:
        linear-gradient(rgba(19,38,44,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19,38,44,.035) 1px, transparent 1px);
      background-size: 44px 44px;
      mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 78%);
    }
    body.cloudreve-public::after {
      content: "";
      position: fixed;
      inset: auto 8vw -34vh auto;
      width: min(42vw, 520px);
      height: min(42vw, 520px);
      pointer-events: none;
      background: radial-gradient(circle, rgba(13,138,128,.09), transparent 64%);
      filter: blur(16px);
      z-index: -1;
    }
    .cloudreve-public .cloudreve-usage-public,
    .cloudreve-public .cloudreve-usage-shell,
    .cloudreve-public .cloudreve-detail-panel {
      width: min(1240px, 100%);
      margin-inline: auto;
    }
    .cloudreve-public .cloudreve-usage-public {
      min-height: calc(100dvh - clamp(36px, 6vw, 84px));
      display: grid;
      place-items: center;
    }
    .cloudreve-public .cloudreve-login-panel {
      width: min(660px, 100%);
      padding: clamp(24px, 4vw, 40px);
      border: 1px solid rgba(19,38,44,.10);
      border-radius: 14px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,252,251,.94)),
        #fff;
      box-shadow: 0 30px 90px rgba(28,48,54,.14), inset 0 1px 0 rgba(255,255,255,.88);
    }
    .cloudreve-public .cloudreve-login-panel .auth-brand {
      margin-bottom: 24px;
      align-items: flex-start;
    }
    .cloudreve-public .auth-brand .brand-mark {
      width: 52px;
      height: 52px;
      border-radius: 12px;
    }
    .cloudreve-public .auth-brand h1 {
      margin: 0 0 7px;
      font-size: clamp(28px, 4vw, 42px);
      line-height: 1.08;
      font-weight: 860;
      color: #0a1d23;
      letter-spacing: 0;
      text-wrap: balance;
    }
    .cloudreve-public .auth-brand p {
      max-width: 34rem;
      color: #5f7379;
      line-height: 1.65;
    }
    .cloudreve-public .cloudreve-login-panel .usage-kpi-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      margin: 6px 0 22px;
    }
    .cloudreve-public .cloudreve-login-panel .usage-kpi {
      min-height: 116px;
      padding: 16px;
    }
    .cloudreve-public .cloudreve-login-panel .usage-kpi-icon {
      width: 44px;
      height: 44px;
    }
    .cloudreve-public .cloudreve-login-panel .usage-kpi-copy strong {
      font-size: clamp(24px, 3vw, 30px);
      line-height: 1.08;
    }
    .cloudreve-public .cloudreve-login-panel .form-actions .btn {
      min-height: 48px;
      padding-inline: 18px;
    }
    .cloudreve-public .traffic-login-button.is-loading {
      pointer-events: none;
      opacity: .86;
      transform: translateY(1px) scale(.99);
    }
    .cloudreve-public .traffic-login-transition {
      position: fixed;
      inset: 0;
      z-index: 20;
      display: grid;
      place-items: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      background: rgba(244,248,246,.72);
      backdrop-filter: blur(10px) saturate(135%);
      -webkit-backdrop-filter: blur(10px) saturate(135%);
      transition: opacity .18s var(--motion);
    }
    .cloudreve-public .traffic-login-transition.is-visible {
      opacity: 1;
      pointer-events: auto;
    }
    .cloudreve-public .traffic-login-transition-card {
      width: min(420px, 100%);
      display: grid;
      grid-template-columns: 52px minmax(0, 1fr);
      gap: 14px;
      align-items: center;
      padding: 20px;
      border: 1px solid rgba(19,38,44,.10);
      border-radius: 14px;
      background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(241,248,246,.94)),
        #fff;
      box-shadow: 0 28px 80px rgba(28,48,54,.18), inset 0 1px 0 rgba(255,255,255,.88);
      transform: translateY(8px) scale(.98);
      transition: transform .22s var(--motion);
    }
    .cloudreve-public .traffic-login-transition.is-visible .traffic-login-transition-card {
      transform: translateY(0) scale(1);
    }
    .cloudreve-public .traffic-login-spinner {
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      color: #0d8a80;
      background: rgba(13,138,128,.12);
    }
    .cloudreve-public .traffic-login-spinner svg {
      width: 26px;
      height: 26px;
      animation: trafficSpin .9s linear infinite;
    }
    .cloudreve-public .traffic-login-transition-card strong {
      display: block;
      color: #0a1d23;
      font-size: 18px;
      font-weight: 850;
      line-height: 1.2;
    }
    .cloudreve-public .traffic-login-transition-card p {
      margin: 5px 0 0;
      color: #63767c;
      line-height: 1.5;
    }
    .cloudreve-public .traffic-oauth-pending {
      min-height: calc(100dvh - clamp(36px, 6vw, 84px));
      display: grid;
      place-items: center;
    }
    .cloudreve-public .traffic-oauth-card {
      width: min(560px, 100%);
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr);
      gap: 16px;
      align-items: center;
      padding: clamp(22px, 4vw, 34px);
      border: 1px solid rgba(19,38,44,.10);
      border-radius: 16px;
      background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(241,248,246,.93)),
        #fff;
      box-shadow: 0 32px 90px rgba(28,48,54,.14), inset 0 1px 0 rgba(255,255,255,.90);
    }
    .cloudreve-public .traffic-oauth-spinner {
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      color: #0d8a80;
      background: rgba(13,138,128,.12);
    }
    .cloudreve-public .traffic-oauth-spinner svg {
      width: 28px;
      height: 28px;
      animation: trafficSpin .9s linear infinite;
    }
    .cloudreve-public .traffic-oauth-card .eyebrow {
      display: inline-flex;
      width: fit-content;
      margin-bottom: 10px;
      padding: 6px 10px;
      border: 1px solid rgba(13,138,128,.14);
      border-radius: 999px;
      background: rgba(13,138,128,.075);
      color: #0a6a60;
      font-size: 12px;
      font-weight: 780;
    }
    .cloudreve-public .traffic-oauth-card h1 {
      margin: 0;
      color: #0a1d23;
      font-size: clamp(28px, 4vw, 38px);
      line-height: 1.08;
      font-weight: 880;
      letter-spacing: 0;
    }
    .cloudreve-public .traffic-oauth-card p {
      margin: 10px 0 0;
      color: #63767c;
      line-height: 1.65;
      font-weight: 650;
    }
    .cloudreve-public .traffic-oauth-steps {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      padding-top: 8px;
    }
    .cloudreve-public .traffic-oauth-steps span {
      min-height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(19,38,44,.09);
      border-radius: 999px;
      background: rgba(255,255,255,.72);
      color: #6f8187;
      font-size: 12px;
      font-weight: 780;
    }
    .cloudreve-public .traffic-oauth-steps .active {
      border-color: rgba(13,138,128,.22);
      background: rgba(13,138,128,.10);
      color: #0a6a60;
    }
    @keyframes trafficSpin {
      to { transform: rotate(360deg); }
    }
    .cloudreve-public .cloudreve-usage-shell {
      gap: 18px;
      padding: clamp(18px, 2.7vw, 30px);
      border: 1px solid rgba(19,38,44,.09);
      border-radius: 18px;
      background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,251,250,.92) 58%, rgba(236,244,241,.94)),
        #fff;
      box-shadow: 0 30px 90px rgba(28,48,54,.12), inset 0 1px 0 rgba(255,255,255,.92);
      position: relative;
      overflow: visible;
    }
    .cloudreve-public .cloudreve-usage-shell::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(90deg, rgba(13,138,128,.08), transparent 42%),
        radial-gradient(circle at 94% 4%, rgba(42,114,141,.10), transparent 26%);
      opacity: .82;
    }
    .cloudreve-public .cloudreve-usage-shell > * {
      position: relative;
      z-index: 1;
    }
    .cloudreve-public .cloudreve-hero-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 18px;
      min-width: 0;
    }
    .cloudreve-public .cloudreve-hero {
      align-items: center;
      gap: clamp(18px, 4vw, 48px);
      flex-wrap: nowrap;
    }
    .cloudreve-public .cloudreve-hero-copy {
      min-width: 0;
      flex: 1 1 auto;
    }
    .cloudreve-public .cloudreve-hero-head .eyebrow,
    .cloudreve-public .cloudreve-hero .eyebrow {
      padding: 7px 10px;
      border: 1px solid rgba(13,138,128,.14);
      border-radius: 999px;
      background: rgba(13,138,128,.075);
      color: #0a6a60;
      font-weight: 780;
    }
    .cloudreve-public .cloudreve-hero-head h2,
    .cloudreve-public .cloudreve-hero h2 {
      margin: 16px 0 10px;
      max-width: 12em;
      font-size: clamp(32px, 4.6vw, 52px);
      line-height: 1.02;
      font-weight: 880;
      color: #0a1d23;
      letter-spacing: 0;
      text-wrap: balance;
    }
    .cloudreve-public .cloudreve-hero-head p,
    .cloudreve-public .cloudreve-hero p {
      max-width: 43rem;
      color: #5f7379;
      font-size: clamp(14px, 1.5vw, 16px);
      line-height: 1.72;
      text-wrap: pretty;
    }
    .cloudreve-public .traffic-status-pill {
      flex: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 38px;
      padding: 8px 12px;
      border: 1px solid rgba(13,138,128,.14);
      border-radius: 999px;
      background: rgba(255,255,255,.72);
      color: #0a6a60;
      font-size: 13px;
      font-weight: 820;
      box-shadow: 0 10px 26px rgba(28,48,54,.055), inset 0 1px 0 rgba(255,255,255,.82);
    }
    .cloudreve-public .traffic-status-pill svg {
      width: 16px;
      height: 16px;
    }
    .cloudreve-public .traffic-dashboard-grid {
      display: grid;
      grid-template-columns: minmax(300px, .92fr) minmax(420px, 1.08fr);
      gap: 14px;
      align-items: stretch;
      position: relative;
      z-index: 2;
    }
    .cloudreve-public .traffic-total-card {
      position: relative;
      min-height: 232px;
      display: grid;
      align-content: space-between;
      gap: 20px;
      padding: clamp(20px, 3vw, 28px);
      border-radius: 14px;
      overflow: visible;
      color: #f4fbf8;
      background:
        linear-gradient(135deg, rgba(255,255,255,.12), transparent 38%),
        linear-gradient(150deg, #10292a 0%, #0b4f48 54%, #116b5f 100%);
      box-shadow: 0 24px 62px rgba(8,66,59,.26), inset 0 1px 0 rgba(255,255,255,.18);
    }
    .cloudreve-public .traffic-total-card:has(.traffic-help:hover),
    .cloudreve-public .traffic-total-card:has(.traffic-help:focus-visible) {
      z-index: 8;
    }
    .cloudreve-public .traffic-total-card::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      opacity: .16;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
      background-size: 28px 28px;
      mask-image: linear-gradient(135deg, rgba(0,0,0,.85), transparent 78%);
    }
    .cloudreve-public .traffic-total-card > * {
      position: relative;
      z-index: 1;
    }
    .cloudreve-public .traffic-total-label {
      display: flex;
      align-items: center;
      gap: 8px;
      color: rgba(244,251,248,.78);
      font-size: 13px;
      font-weight: 830;
    }
    .cloudreve-public .traffic-total-card strong {
      display: block;
      font-size: clamp(38px, 5vw, 64px);
      line-height: .96;
      font-weight: 900;
      letter-spacing: 0;
      font-variant-numeric: tabular-nums;
      overflow-wrap: anywhere;
    }
    .cloudreve-public .traffic-total-card p {
      margin: 0;
      color: rgba(244,251,248,.74);
      font-size: 14px;
      font-weight: 690;
      line-height: 1.45;
    }
    .cloudreve-public .cloudreve-date-card {
      flex: 0 0 min(440px, 43%);
      display: grid;
      gap: 12px;
      justify-items: stretch;
      padding: 16px;
      border: 1px solid rgba(19,38,44,.10);
      border-radius: 12px;
      background: rgba(255,255,255,.82);
      box-shadow: 0 18px 46px rgba(28,48,54,.08), inset 0 1px 0 rgba(255,255,255,.86);
      backdrop-filter: blur(12px) saturate(145%);
      -webkit-backdrop-filter: blur(12px) saturate(145%);
    }
    .cloudreve-public .traffic-control-card {
      flex: none;
      align-items: stretch;
      align-content: start;
      justify-content: stretch;
      gap: 14px;
      padding: 18px;
      border-radius: 14px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.93), rgba(247,251,249,.86)),
        #fff;
    }
    .cloudreve-public .cloudreve-date-copy {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 12px;
      padding: 0 2px 2px;
    }
    .cloudreve-public .cloudreve-date-copy span {
      color: #6f8187;
      font-size: 12px;
      font-weight: 760;
    }
    .cloudreve-public .cloudreve-date-copy strong {
      color: #0a1d23;
      font-size: 14px;
      font-weight: 840;
    }
    .cloudreve-public .cloudreve-date-card .usage-date-form {
      display: grid;
      grid-template-columns: 1fr 1fr auto;
      gap: 10px;
      width: 100%;
      justify-content: stretch;
      align-items: stretch;
    }
    .cloudreve-public .cloudreve-date-card .input {
      width: 100%;
      min-height: 46px;
      border-radius: 8px;
      background: #fff;
      border-color: rgba(19,38,44,.12);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.90);
      font-weight: 660;
      color: #0a1d23;
    }
    .cloudreve-public .cloudreve-date-card .btn {
      min-height: 46px;
      border-radius: 8px;
      white-space: nowrap;
      box-shadow: 0 12px 26px rgba(13,138,128,.18);
    }
    .cloudreve-public .cloudreve-date-card > .btn.ghost {
      justify-self: end;
      min-height: 38px;
      padding-inline: 12px;
      background: rgba(255,255,255,.62);
      box-shadow: none;
    }
    .cloudreve-public .traffic-range-block {
      display: grid;
      gap: 9px;
      min-width: 0;
    }
    .cloudreve-public .traffic-range-block > span,
    .cloudreve-public .traffic-control-footer > span {
      color: #6f8187;
      font-size: 12px;
      font-weight: 780;
    }
    .cloudreve-public .traffic-control-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding-top: 2px;
      min-width: 0;
    }
    .cloudreve-public .traffic-control-footer > span {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .cloudreve-public .traffic-control-footer .btn.ghost {
      min-height: 36px;
      padding-inline: 12px;
      border-radius: 8px;
      background: rgba(255,255,255,.70);
      box-shadow: none;
      flex: none;
    }
    .cloudreve-public .traffic-exit-form {
      width: auto;
      display: flex;
      margin: 0;
      flex: 0 0 auto;
    }
    .cloudreve-public .traffic-exit-form .btn {
      min-height: 36px;
      padding-inline: 12px;
      border-radius: 8px;
      background: rgba(255,255,255,.70);
      box-shadow: none;
    }
    .cloudreve-public .cloudreve-range-row {
      margin-top: -2px;
    }
    .cloudreve-public .usage-range-presets {
      gap: 9px;
    }
    .cloudreve-public .usage-range-presets .chip {
      min-height: 36px;
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,.68);
      border-color: rgba(19,38,44,.10);
      color: #53686e;
      font-weight: 780;
      box-shadow: 0 8px 20px rgba(28,48,54,.045), inset 0 1px 0 rgba(255,255,255,.78);
    }
    .cloudreve-public .usage-range-presets .chip-active {
      background: linear-gradient(135deg, rgba(13,138,128,.18), rgba(42,114,141,.10));
      border-color: rgba(13,138,128,.24);
      color: #075e55;
      box-shadow: 0 10px 24px rgba(13,138,128,.10), inset 0 1px 0 rgba(255,255,255,.80);
    }
    .cloudreve-public .notice {
      align-items: flex-start;
      border-color: rgba(184,129,38,.16);
      border-radius: 10px;
      background: rgba(255,250,240,.72);
      box-shadow: 0 10px 26px rgba(28,48,54,.045), inset 0 1px 0 rgba(255,255,255,.76);
      color: #1d2c31;
    }
    .cloudreve-public .notice h3,
    .cloudreve-public .notice h2 {
      color: #172a30;
      font-size: 15px;
    }
    .cloudreve-public .notice p {
      color: #63767c;
      line-height: 1.55;
    }
    .cloudreve-public .traffic-progress-notice {
      border-color: rgba(13,138,128,.18);
      background:
        linear-gradient(135deg, rgba(13,138,128,.08), rgba(255,255,255,.84) 52%, rgba(236,155,39,.08)),
        rgba(255,255,255,.74);
    }
    .cloudreve-public .traffic-progress-notice > div {
      width: 100%;
      min-width: 0;
      display: grid;
      gap: 10px;
    }
    .cloudreve-public .traffic-progress-copy {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 14px;
    }
    .cloudreve-public .traffic-progress-copy p {
      max-width: 48rem;
    }
    .cloudreve-public .traffic-progress-track {
      width: 100%;
      height: 10px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(19,38,44,.08);
      box-shadow: inset 0 1px 2px rgba(19,38,44,.08);
    }
    .cloudreve-public .traffic-progress-fill {
      display: block;
      width: var(--progress, 0%);
      min-width: 10px;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, #0d8a80, #2a728d);
      box-shadow: 0 8px 18px rgba(13,138,128,.20);
    }
    .cloudreve-public .traffic-progress-meta {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      color: #63767c;
      font-size: 12px;
      font-weight: 760;
    }
    .cloudreve-public .usage-kpi-grid {
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 12px;
    }
    .cloudreve-public .usage-kpi {
      min-height: 124px;
      padding: 18px;
      border-radius: 12px;
      align-items: flex-start;
      background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,252,251,.88));
      border-color: rgba(19,38,44,.085);
      box-shadow: 0 14px 34px rgba(28,48,54,.065), inset 0 1px 0 rgba(255,255,255,.84);
    }
    .cloudreve-public .usage-kpi:first-child {
      background:
        linear-gradient(135deg, rgba(13,138,128,.15), rgba(255,255,255,.95) 48%),
        #fff;
    }
    .cloudreve-public .usage-kpi:hover {
      transform: translateY(-2px);
      box-shadow: 0 20px 50px rgba(28,48,54,.10), inset 0 1px 0 rgba(255,255,255,.88);
    }
    .cloudreve-public .usage-kpi-icon {
      width: 46px;
      height: 46px;
      border-radius: 10px;
    }
    .cloudreve-public .usage-kpi.good .usage-kpi-icon {
      background: rgba(13,138,128,.12);
      color: #0d8a80;
    }
    .cloudreve-public .usage-kpi.warn .usage-kpi-icon {
      background: rgba(236,155,39,.13);
      color: #bf7917;
    }
    .cloudreve-public .usage-kpi.neutral .usage-kpi-icon {
      background: rgba(42,114,141,.10);
      color: #2a728d;
    }
    .cloudreve-public .usage-kpi-copy {
      gap: 7px;
    }
    .cloudreve-public .usage-kpi-copy span {
      font-size: 13px;
      color: #697d85;
      font-weight: 760;
    }
    .cloudreve-public .usage-kpi-label {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
      min-width: 0;
    }
    .cloudreve-public .traffic-help-wrap {
      position: relative;
      display: inline-flex;
      align-items: center;
      line-height: 1;
      z-index: 3;
    }
    .cloudreve-public .traffic-help {
      appearance: none;
      -webkit-appearance: none;
      width: 18px;
      height: 18px;
      display: inline-grid;
      place-items: center;
      padding: 0;
      border: 1px solid rgba(13,138,128,.18);
      border-radius: 999px;
      background: rgba(13,138,128,.085);
      color: #0a6a60;
      font-size: 10px;
      line-height: 1;
      cursor: help;
      transition: transform .18s var(--motion), background .18s var(--motion), border-color .18s var(--motion);
    }
    .cloudreve-public .traffic-total-card .traffic-help {
      border-color: rgba(255,255,255,.28);
      background: rgba(255,255,255,.14);
      color: #f4fbf8;
    }
    .cloudreve-public .traffic-total-card .traffic-help:hover,
    .cloudreve-public .traffic-total-card .traffic-help:focus-visible {
      background: rgba(255,255,255,.22);
      border-color: rgba(255,255,255,.44);
    }
    .cloudreve-public .traffic-help:hover,
    .cloudreve-public .traffic-help:focus-visible {
      transform: translateY(-1px);
      background: rgba(13,138,128,.15);
      border-color: rgba(13,138,128,.32);
      outline: none;
    }
    .cloudreve-public .traffic-help-pop {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      width: min(360px, calc(100vw - 44px));
      padding: 10px 12px;
      border: 1px solid rgba(19,38,44,.10);
      border-radius: 10px;
      background: rgba(255,255,255,.98);
      box-shadow: 0 18px 48px rgba(28,48,54,.16), inset 0 1px 0 rgba(255,255,255,.88);
      color: #42575e;
      font-size: 12px;
      font-weight: 650;
      line-height: 1.55;
      white-space: normal;
      text-align: left;
      z-index: 40;
      opacity: 0;
      pointer-events: none;
      transform: translateY(-4px);
      transition: opacity .18s var(--motion), transform .18s var(--motion);
    }
    .cloudreve-public .traffic-help-wrap:hover .traffic-help-pop,
    .cloudreve-public .traffic-help-wrap:focus-within .traffic-help-pop {
      opacity: 1;
      transform: translateY(0);
    }
    .cloudreve-public .usage-kpi-copy strong {
      font-size: clamp(25px, 2.35vw, 38px);
      line-height: 1;
      letter-spacing: 0;
      color: #0a1d23;
      font-weight: 880;
      overflow-wrap: anywhere;
    }
    .cloudreve-public .usage-kpi-copy small {
      color: #71848a;
      font-size: 13px;
      line-height: 1.35;
    }
    .cloudreve-public .traffic-metric-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .cloudreve-public .traffic-metric-grid .usage-kpi {
      min-height: 116px;
      padding: 16px;
    }
    .cloudreve-public .traffic-metric-grid .usage-kpi-icon {
      width: 42px;
      height: 42px;
    }
    .cloudreve-public .traffic-metric-grid .usage-kpi-copy strong {
      font-size: clamp(24px, 2vw, 32px);
    }
    .cloudreve-public .traffic-pack-shell {
      display: grid;
      gap: 16px;
    }
    .cloudreve-public .traffic-pack-shell .cloudreve-hero-head {
      margin-bottom: 0;
    }
    .cloudreve-public .traffic-pack-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }
    .cloudreve-public .traffic-pack-card {
      display: grid;
      gap: 14px;
      min-width: 0;
      padding: 20px;
      border: 1px solid rgba(19,38,44,.09);
      border-radius: 14px;
      background: rgba(255,255,255,.94);
      box-shadow: 0 16px 42px rgba(28,48,54,.07), inset 0 1px 0 rgba(255,255,255,.88);
    }
    .cloudreve-public .traffic-pack-head,
    .cloudreve-public .traffic-pack-buy,
    .cloudreve-public .traffic-pack-section-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }
    .cloudreve-public .traffic-pack-head > div,
    .cloudreve-public .traffic-pack-buy > span {
      min-width: 0;
      display: grid;
      gap: 4px;
    }
    .cloudreve-public .traffic-pack-head span,
    .cloudreve-public .traffic-pack-buy small,
    .cloudreve-public .traffic-pack-section-head span {
      color: #71848a;
      font-size: 12px;
      font-weight: 780;
    }
    .cloudreve-public .traffic-pack-head h3,
    .cloudreve-public .traffic-pack-section-head h2 {
      margin: 0;
      color: #0a1d23;
      line-height: 1.2;
      font-weight: 880;
    }
    .cloudreve-public .traffic-pack-section-head {
      align-items: center;
      margin-bottom: 16px;
    }
    .cloudreve-public .traffic-pack-quota {
      color: #0a8f80;
      font-size: clamp(30px, 3vw, 46px);
      line-height: 1;
      letter-spacing: 0;
      overflow-wrap: anywhere;
    }
    .cloudreve-public .traffic-pack-card p {
      min-height: 42px;
      margin: 0;
      color: #63767c;
      font-size: 13px;
      line-height: 1.55;
    }
    .cloudreve-public .traffic-pack-buy {
      align-items: center;
      margin-top: auto;
    }
    .cloudreve-public .traffic-pack-buy > span strong {
      color: #0a1d23;
      font-size: 22px;
      line-height: 1;
    }
    .cloudreve-public .traffic-reference-note {
      margin: 0;
    }
    .cloudreve-public .traffic-pack-orders .panel {
      margin-top: 0;
    }
    .cloudreve-public .cloudreve-detail-panel {
      margin-top: 16px;
    }
    .cloudreve-public .cloudreve-detail-panel .panel {
      overflow: hidden;
      border-radius: 16px;
      background: rgba(255,255,255,.93);
      border-color: rgba(19,38,44,.09);
      box-shadow: 0 24px 70px rgba(28,48,54,.10), inset 0 1px 0 rgba(255,255,255,.88);
    }
    .cloudreve-public .cloudreve-detail-panel .panel-head {
      padding: 24px 26px 0;
      align-items: center;
    }
    .cloudreve-public .cloudreve-detail-panel .panel-actions {
      min-width: 0;
    }
    .cloudreve-public .traffic-sort-bar {
      display: grid;
      grid-template-columns: minmax(180px, 1fr) auto;
      gap: 14px;
      align-items: end;
      margin-bottom: 16px;
      padding: 14px;
      border: 1px solid rgba(19,38,44,.08);
      border-radius: 12px;
      background:
        linear-gradient(135deg, rgba(13,138,128,.06), rgba(255,255,255,.88)),
        #fff;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
    }
    .cloudreve-public .traffic-sort-summary {
      min-width: 0;
      display: grid;
      gap: 4px;
    }
    .cloudreve-public .traffic-sort-summary strong {
      color: #0a1d23;
      font-size: 15px;
      font-weight: 850;
    }
    .cloudreve-public .traffic-sort-summary span {
      color: #6a7e84;
      font-size: 13px;
      line-height: 1.35;
    }
    .cloudreve-public .traffic-sort-form {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      align-items: end;
      gap: 10px;
      min-width: 0;
    }
    .cloudreve-public .traffic-sort-form label {
      display: grid;
      gap: 5px;
      width: 156px;
      min-width: 0;
      color: #6a7e84;
      font-size: 11px;
      font-weight: 780;
    }
    .cloudreve-public .traffic-sort-form .input {
      min-height: 38px;
      width: 100%;
      min-width: 0;
      border-radius: 8px;
      border-color: rgba(19,38,44,.12);
      background: rgba(255,255,255,.84);
      color: #0a1d23;
      font-size: 13px;
      font-weight: 720;
    }
    .cloudreve-public .traffic-sort-form .btn {
      min-height: 38px;
      border-radius: 8px;
      padding-inline: 12px;
      background: rgba(255,255,255,.72);
      box-shadow: none;
      white-space: nowrap;
    }
    .cloudreve-public .cloudreve-detail-panel .panel-head h2 {
      font-size: clamp(22px, 2.2vw, 29px);
      font-weight: 880;
      color: #0a1d23;
    }
    .cloudreve-public .cloudreve-detail-panel .panel-head p {
      color: #6a7e84;
    }
    .cloudreve-public .cloudreve-detail-panel .panel-body {
      padding: 20px 26px 26px;
    }
    .cloudreve-public .cloudreve-detail-panel .table-wrap {
      border-radius: 12px;
      background: rgba(255,255,255,.98);
      border-color: rgba(19,38,44,.08);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
    }
    .cloudreve-public .cloudreve-detail-panel table {
      min-width: 720px;
      table-layout: fixed;
    }
    .cloudreve-public .cloudreve-detail-panel th,
    .cloudreve-public .cloudreve-detail-panel td {
      padding: 16px 18px;
      font-size: 14px;
    }
    .cloudreve-public .cloudreve-detail-panel th {
      background: linear-gradient(180deg, #f8fbfa, #eef5f2);
      color: #5c7077;
      font-weight: 840;
    }
    .cloudreve-public .cloudreve-detail-panel tbody tr {
      transition: background .20s var(--motion), transform .20s var(--motion);
    }
    .cloudreve-public .cloudreve-detail-panel tbody tr:hover {
      background: rgba(13,138,128,.045);
    }
    .cloudreve-public .cloudreve-detail-panel td:nth-child(2) strong {
      color: #0a1d23;
      font-size: 15px;
    }
    .cloudreve-public .empty.state-empty {
      border-radius: 12px;
      min-height: 180px;
      background:
        linear-gradient(135deg, rgba(13,138,128,.08), rgba(255,255,255,.94)),
        #fff;
      color: #13262c;
    }
    .cloudreve-public .empty.state-empty strong {
      color: #0a1d23;
    }
    .cloudreve-public .empty.state-empty p {
      color: #63767c;
    }
    .provider-page-head,
    .provider-detail-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 18px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--border);
    }
    .provider-page-head > div:first-child,
    .provider-detail-head > div:first-child {
      min-width: 0;
      display: grid;
      gap: 7px;
    }
    .provider-page-head h2,
    .provider-detail-head h2 {
      margin: 0;
      color: var(--ink);
      font-size: 28px;
      line-height: 1.18;
      letter-spacing: 0;
    }
    .provider-page-head p,
    .provider-detail-head p {
      max-width: 760px;
      margin: 0;
      color: var(--muted);
      line-height: 1.6;
    }
    .provider-page-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      flex: 0 0 auto;
    }
    .provider-kpi-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 16px;
    }
    .provider-kpi-grid .metric {
      min-height: 92px;
      border-radius: 8px;
      box-shadow: none;
    }
    .provider-table-note {
      display: flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 14px;
      padding: 10px 12px;
      border-left: 3px solid #2476a8;
      background: #f1f7fa;
      color: #355361;
      font-size: 13px;
      line-height: 1.5;
    }
    .provider-table-note .icon-svg {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
      color: #2476a8;
    }
    .provider-account-table table {
      min-width: 1040px;
      table-layout: fixed;
    }
    .provider-account-table th:nth-child(1) { width: 15%; }
    .provider-account-table th:nth-child(2) { width: 15%; }
    .provider-account-table th:nth-child(3) { width: 11%; }
    .provider-account-table th:nth-child(4),
    .provider-account-table th:nth-child(5) { width: 7%; }
    .provider-account-table th:nth-child(6) { width: 12%; }
    .provider-account-table th:nth-child(7) { width: 18%; }
    .provider-account-table th:nth-child(8) { width: 15%; }
    .provider-route-table table {
      min-width: 980px;
      table-layout: fixed;
    }
    .provider-route-table th:nth-child(1) { width: 16%; }
    .provider-route-table th:nth-child(2) { width: 11%; }
    .provider-route-table th:nth-child(3),
    .provider-route-table th:nth-child(4) { width: 7%; }
    .provider-route-table th:nth-child(5) { width: 25%; }
    .provider-route-table th:nth-child(6) { width: 11%; }
    .provider-route-table th:nth-child(7) { width: 10%; }
    .provider-route-table th:nth-child(8) { width: 13%; }
    .provider-capability-chips {
      gap: 6px;
    }
    .provider-capability-chips .chip {
      border-radius: 6px;
      font-size: 12px;
    }
    .provider-capability-groups {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0;
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      background: var(--panel);
    }
    .provider-capability-groups section {
      min-width: 0;
      padding: 16px;
      border-right: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .provider-capability-groups section:nth-child(2n) {
      border-right: 0;
    }
    .provider-capability-groups section:nth-last-child(-n + 2) {
      border-bottom: 0;
    }
    .provider-capability-groups h3 {
      margin: 0 0 10px;
      font-size: 14px;
      color: var(--ink);
    }
    .provider-form-shell {
      width: min(1120px, 100%);
      padding: 0;
      overflow: hidden;
    }
    .provider-form-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 22px;
      padding: 24px 26px 20px;
      border-bottom: 1px solid var(--border);
    }
    .provider-form-head > div:first-child {
      min-width: 0;
      display: grid;
      gap: 7px;
    }
    .provider-form-head h2,
    .provider-form-head p {
      margin: 0;
    }
    .provider-form-head p {
      max-width: 720px;
      color: var(--muted);
      line-height: 1.6;
    }
    .provider-account-form,
    .provider-route-form {
      gap: 0;
    }
    .provider-selector {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: end;
      gap: 12px;
      padding: 18px 26px;
      border-bottom: 1px solid var(--border);
      background: rgba(36,118,168,.045);
    }
    .provider-form-shell > .notice {
      margin: 18px 26px 0;
      border-radius: 8px;
      box-shadow: none;
    }
    .provider-form-section {
      padding: 24px 26px 26px;
      border-bottom: 1px solid var(--border);
    }
    .provider-section-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
    }
    .provider-section-head h3,
    .provider-section-head p {
      margin: 0;
    }
    .provider-section-head h3 {
      color: var(--ink);
      font-size: 16px;
    }
    .provider-section-head p {
      margin-top: 4px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }
    .provider-field-grid,
    .provider-credential-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }
    .provider-credential-field {
      align-content: start;
      min-width: 0;
      padding: 14px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: rgba(247,250,249,.74);
    }
    .provider-clear-field {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      color: var(--muted);
      font-size: 12px;
    }
    .provider-clear-field input,
    .provider-switch-row input,
    .provider-member-toggle input {
      accent-color: var(--primary);
    }
    .provider-account-form > .form-actions,
    .provider-route-form > .form-actions {
      margin: 0;
      padding: 20px 26px 24px;
    }
    .provider-readonly-kv {
      padding: 20px 26px 26px;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .provider-switch-row {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-top: 18px;
      padding: 14px 16px;
      border: 1px solid rgba(185,126,23,.20);
      border-radius: 8px;
      background: rgba(255,247,228,.66);
    }
    .provider-switch-row input {
      margin-top: 3px;
      flex: 0 0 auto;
    }
    .provider-switch-row span {
      display: grid;
      gap: 4px;
      min-width: 0;
    }
    .provider-switch-row strong {
      color: var(--ink);
      font-size: 13px;
    }
    .provider-switch-row small {
      color: var(--muted);
      line-height: 1.5;
    }
    .provider-member-list {
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      background: var(--panel);
    }
    .provider-member-row {
      display: grid;
      grid-template-columns: minmax(230px, 1fr) 116px 116px minmax(120px, auto);
      align-items: center;
      gap: 14px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--border);
    }
    .provider-member-row:last-child {
      border-bottom: 0;
    }
    .provider-member-toggle {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      min-width: 0;
    }
    .provider-member-toggle input {
      margin-top: 4px;
      flex: 0 0 auto;
    }
    .provider-member-toggle span,
    .provider-member-number {
      display: grid;
      gap: 4px;
      min-width: 0;
    }
    .provider-member-toggle strong {
      overflow-wrap: anywhere;
      color: var(--ink);
      font-size: 13px;
    }
    .provider-member-toggle small,
    .provider-member-number span {
      color: var(--muted);
      font-size: 11px;
    }
    .provider-member-number .input {
      min-width: 0;
      height: 38px;
      padding: 7px 9px;
    }
    .provider-member-health {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 6px;
    }
    .provider-binding-layout {
      display: grid;
      grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr);
      align-items: start;
      gap: 16px;
    }
    .provider-target-panel,
    .provider-plan-panel {
      min-width: 0;
    }
    .provider-plan-flow {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
    }
    .provider-plan-flow > div {
      display: grid;
      gap: 5px;
      min-width: 0;
      padding: 14px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: rgba(247,250,249,.72);
    }
    .provider-plan-flow span,
    .provider-plan-flow small {
      color: var(--muted);
      font-size: 12px;
    }
    .provider-plan-flow strong {
      overflow-wrap: anywhere;
      color: var(--ink);
    }
    .provider-plan-arrow {
      display: grid;
      place-items: center;
      color: var(--primary);
    }
    .provider-plan-arrow .icon-svg {
      width: 20px;
      height: 20px;
    }
    .provider-operation-list {
      display: grid;
      gap: 8px;
      margin: 16px 0;
      padding-left: 22px;
      color: var(--muted);
      line-height: 1.5;
    }
    .provider-apply-form {
      display: flex;
      justify-content: flex-end;
      padding-top: 4px;
    }
    .provider-live-job {
      display: grid;
      gap: 9px;
      padding: 14px 16px;
      border: 1px solid rgba(36,118,168,.18);
      border-radius: 8px;
      background: rgba(241,247,250,.78);
    }
    .provider-live-job-head,
    .provider-live-job-head > div,
    .provider-job-cell > div {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      min-width: 0;
    }
    .provider-live-job-head > div {
      justify-content: flex-start;
    }
    .provider-live-job-head strong,
    .provider-job-cell span {
      min-width: 0;
      overflow-wrap: anywhere;
    }
    .provider-live-job small {
      color: var(--muted);
    }
    .provider-live-job progress,
    .provider-job-cell progress {
      width: 100%;
      height: 7px;
      overflow: hidden;
      border: 0;
      border-radius: 999px;
      background: rgba(36,118,168,.12);
      accent-color: var(--primary);
    }
    .provider-job-cell {
      display: grid;
      gap: 7px;
      min-width: 180px;
    }
    .provider-job-cell span {
      color: var(--muted);
      font-size: 12px;
      text-align: right;
    }
    .provider-reconcile-table table {
      min-width: 1080px;
      table-layout: fixed;
    }
    .provider-reconcile-table th:nth-child(1) { width: 19%; }
    .provider-reconcile-table th:nth-child(2) { width: 16%; }
    .provider-reconcile-table th:nth-child(3) { width: 9%; }
    .provider-reconcile-table th:nth-child(4) { width: 10%; }
    .provider-reconcile-table th:nth-child(5) { width: 7%; }
    .provider-reconcile-table th:nth-child(6) { width: 23%; }
    .provider-reconcile-table th:nth-child(7) { width: 16%; }
    .provider-reconcile-table td,
    .provider-job-table td {
      overflow-wrap: anywhere;
    }
    .provider-job-table table {
      min-width: 900px;
      table-layout: fixed;
    }
    .provider-job-table th:nth-child(1) { width: 19%; }
    .provider-job-table th:nth-child(2) { width: 12%; }
    .provider-job-table th:nth-child(3) { width: 30%; }
    .provider-job-table th:nth-child(4) { width: 8%; }
    .provider-job-table th:nth-child(5) { width: 18%; }
    .provider-job-table th:nth-child(6) { width: 13%; }
    .btn:disabled,
    .input:disabled {
      cursor: not-allowed;
      opacity: .55;
      transform: none;
      box-shadow: none;
    }
    @media (max-width: 980px) {
      .provider-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .provider-page-head,
      .provider-detail-head {
        align-items: flex-start;
        flex-direction: column;
      }
      .provider-page-actions {
        justify-content: flex-start;
      }
      .provider-binding-layout {
        grid-template-columns: 1fr;
      }
      .provider-member-row {
        grid-template-columns: minmax(220px, 1fr) 106px 106px;
      }
      .provider-member-health {
        grid-column: 1 / -1;
        justify-content: flex-start;
      }
    }
    @media (max-width: 720px) {
      .provider-kpi-grid,
      .provider-capability-groups,
      .provider-field-grid,
      .provider-credential-grid,
      .provider-readonly-kv {
        grid-template-columns: 1fr;
      }
      .provider-capability-groups section,
      .provider-capability-groups section:nth-child(2n),
      .provider-capability-groups section:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
      }
      .provider-capability-groups section:last-child {
        border-bottom: 0;
      }
      .provider-page-actions,
      .provider-page-actions .btn {
        width: 100%;
      }
      .provider-page-actions .btn {
        justify-content: center;
      }
      .provider-form-head,
      .provider-section-head {
        align-items: stretch;
        flex-direction: column;
      }
      .provider-form-head .btn {
        width: 100%;
        justify-content: center;
      }
      .provider-selector {
        grid-template-columns: 1fr;
      }
      .provider-form-section,
      .provider-form-head,
      .provider-selector,
      .provider-account-form > .form-actions,
      .provider-route-form > .form-actions,
      .provider-readonly-kv {
        padding-left: 18px;
        padding-right: 18px;
      }
      .provider-form-shell > .notice {
        margin-left: 18px;
        margin-right: 18px;
      }
      .provider-member-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .provider-member-toggle,
      .provider-member-health {
        grid-column: 1 / -1;
      }
      .provider-plan-flow {
        grid-template-columns: 1fr;
      }
      .provider-plan-arrow {
        transform: rotate(90deg);
      }
      .provider-apply-form .btn {
        width: 100%;
        justify-content: center;
      }
    }
    @media (max-width: 1080px) {
      .cloudreve-public .traffic-dashboard-grid {
        grid-template-columns: minmax(260px, .95fr) minmax(360px, 1.05fr);
      }
      .cloudreve-public .cloudreve-hero {
        flex-wrap: wrap;
      }
      .cloudreve-public .cloudreve-date-card {
        flex-basis: 100%;
      }
      .cloudreve-public .usage-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .cloudreve-public .traffic-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .cloudreve-public .traffic-pack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    @media (max-width: 720px) {
      body.cloudreve-public {
        padding: 10px;
      }
      .cloudreve-public .cloudreve-usage-public {
        min-height: calc(100dvh - 20px);
      }
      .cloudreve-public .cloudreve-login-panel {
        padding: 22px;
        border-radius: 14px;
      }
      .cloudreve-public .traffic-login-transition-card {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 16px;
      }
      .cloudreve-public .traffic-login-spinner {
        width: 44px;
        height: 44px;
      }
      .cloudreve-public .traffic-oauth-card {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 13px;
        padding: 20px;
        border-radius: 15px;
      }
      .cloudreve-public .traffic-oauth-spinner {
        width: 48px;
        height: 48px;
        border-radius: 12px;
      }
      .cloudreve-public .traffic-oauth-card h1 {
        font-size: clamp(26px, 9vw, 34px);
      }
      .cloudreve-public .traffic-oauth-steps {
        grid-template-columns: 1fr;
      }
      .cloudreve-public .cloudreve-login-panel .usage-kpi-grid,
      .cloudreve-public .usage-kpi-grid {
        grid-template-columns: 1fr;
      }
      .cloudreve-public .auth-brand {
        display: grid;
        gap: 13px;
      }
      .cloudreve-public .cloudreve-usage-shell {
        padding: 14px;
        border-radius: 14px;
      }
      .cloudreve-public .cloudreve-hero-head {
        display: grid;
        gap: 14px;
      }
      .cloudreve-public .traffic-status-pill {
        justify-self: start;
        min-height: 34px;
        font-size: 12px;
      }
      .cloudreve-public .traffic-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 12px;
      }
      .cloudreve-public .traffic-pack-grid {
        grid-template-columns: 1fr;
      }
      .cloudreve-public .traffic-total-card {
        min-height: 184px;
        padding: 18px;
        border-radius: 13px;
      }
      .cloudreve-public .traffic-total-card strong {
        font-size: clamp(36px, 13vw, 48px);
      }
      .cloudreve-public .traffic-total-card p {
        font-size: 13px;
      }
      .cloudreve-public .cloudreve-hero {
        gap: 18px;
      }
      .cloudreve-public .cloudreve-hero-head h2,
      .cloudreve-public .cloudreve-hero h2 {
        font-size: clamp(32px, 12vw, 42px);
        margin-top: 14px;
      }
      .cloudreve-public .cloudreve-hero-head p,
      .cloudreve-public .cloudreve-hero p {
        font-size: 14px;
        line-height: 1.68;
      }
      .cloudreve-public .cloudreve-date-card {
        padding: 13px;
        border-radius: 12px;
      }
      .cloudreve-public .traffic-control-card {
        padding: 13px;
      }
      .cloudreve-public .cloudreve-date-copy {
        display: grid;
        gap: 3px;
      }
      .cloudreve-public .cloudreve-date-card .usage-date-form {
        grid-template-columns: 1fr;
      }
      .cloudreve-public .cloudreve-date-card .usage-date-form .btn {
        width: 100%;
      }
      .cloudreve-public .cloudreve-date-card > .btn.ghost {
        justify-self: stretch;
        width: 100%;
      }
      .cloudreve-public .traffic-control-footer {
        align-items: stretch;
        display: grid;
      }
      .cloudreve-public .traffic-control-footer .btn.ghost {
        width: 100%;
        justify-content: center;
      }
      .cloudreve-public .traffic-exit-form,
      .cloudreve-public .traffic-exit-form .btn {
        width: 100%;
        justify-content: center;
      }
      .cloudreve-public .traffic-progress-copy,
      .cloudreve-public .traffic-progress-meta {
        display: grid;
        gap: 5px;
      }
      .cloudreve-public .traffic-sort-bar {
        grid-template-columns: 1fr;
        padding: 12px;
      }
      .cloudreve-public .traffic-sort-form {
        width: 100%;
        justify-content: stretch;
        display: grid;
        grid-template-columns: 1fr;
      }
      .cloudreve-public .traffic-sort-form label,
      .cloudreve-public .traffic-sort-form .btn {
        width: 100%;
      }
      .cloudreve-public .traffic-sort-form .input {
        width: 100%;
        min-width: 0;
      }
      .cloudreve-public .usage-range-presets {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: none;
      }
      .cloudreve-public .usage-range-presets::-webkit-scrollbar {
        display: none;
      }
      .cloudreve-public .usage-range-presets .chip {
        flex: 0 0 auto;
      }
      .cloudreve-public .usage-kpi {
        min-height: auto;
        padding: 15px;
        border-radius: 12px;
      }
      .cloudreve-public .usage-kpi-copy strong {
        font-size: clamp(25px, 9vw, 34px);
      }
      .cloudreve-public .traffic-help-pop {
        position: fixed;
        left: 14px;
        right: 14px;
        top: auto;
        bottom: 16px;
        width: auto;
        transform: translateY(8px);
        z-index: 30;
      }
      .cloudreve-public .traffic-help-wrap:hover .traffic-help-pop,
      .cloudreve-public .traffic-help-wrap:focus-within .traffic-help-pop {
        transform: translateY(0);
      }
      .cloudreve-public .cloudreve-detail-panel {
        margin-top: 12px;
      }
      .cloudreve-public .cloudreve-detail-panel .panel {
        border-radius: 14px;
      }
      .cloudreve-public .cloudreve-detail-panel .panel-head {
        padding: 18px 16px 0;
        align-items: flex-start;
      }
      .cloudreve-public .cloudreve-detail-panel .panel-body {
        padding: 15px 14px 16px;
      }
      .cloudreve-public .cloudreve-detail-panel .table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
      }
      .cloudreve-public .cloudreve-detail-panel .table-wrap table {
        display: block;
        min-width: 0 !important;
      }
      .cloudreve-public .cloudreve-detail-panel .table-wrap thead {
        display: none;
      }
      .cloudreve-public .cloudreve-detail-panel .table-wrap tbody,
      .cloudreve-public .cloudreve-detail-panel .table-wrap tr,
      .cloudreve-public .cloudreve-detail-panel .table-wrap td {
        display: block;
        width: 100%;
      }
      .cloudreve-public .cloudreve-detail-panel .table-wrap tr {
        margin-bottom: 10px;
        padding: 14px;
        border: 1px solid rgba(19,38,44,.09);
        border-radius: 12px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 12px 28px rgba(28,48,54,.065), inset 0 1px 0 rgba(255,255,255,.86);
      }
      .cloudreve-public .cloudreve-detail-panel .table-wrap td {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        padding: 9px 0 !important;
        border-bottom: 1px solid rgba(19,38,44,.07) !important;
        text-align: right;
        font-size: 13px !important;
      }
      .cloudreve-public .cloudreve-detail-panel .table-wrap td::before {
        content: attr(data-label);
        color: #72858b;
        font-weight: 820;
        text-align: left;
      }
      .cloudreve-public .cloudreve-detail-panel .table-wrap td:first-child {
        display: block;
        text-align: left;
        padding-top: 0 !important;
        padding-bottom: 11px !important;
        font-size: 14px !important;
        font-weight: 840;
        color: #0a1d23;
      }
      .cloudreve-public .cloudreve-detail-panel .table-wrap td:first-child::before {
        display: none;
      }
      .cloudreve-public .cloudreve-detail-panel .table-wrap td:last-child {
        border-bottom: 0 !important;
        padding-bottom: 0 !important;
      }
    }

    /* Public traffic query */
    body.cloudreve-public {
      padding: 24px;
      color: #182523;
      background: #f3f5f4;
    }
    body.cloudreve-public::before,
    body.cloudreve-public::after {
      display: none;
    }
    .cloudreve-public .traffic-login-layout {
      min-height: calc(100dvh - 48px);
      padding: 24px 0;
    }
    .cloudreve-public .cloudreve-login-panel {
      width: min(600px, 100%);
      padding: 34px;
      border: 1px solid #dce3e0;
      border-radius: 8px;
      background: #ffffff;
      box-shadow: 0 18px 48px rgba(23, 42, 38, .08);
    }
    .cloudreve-public .traffic-login-brand {
      display: grid;
      grid-template-columns: 48px minmax(0, 1fr);
      gap: 16px;
      align-items: start;
      margin-bottom: 26px;
    }
    .cloudreve-public .traffic-login-brand .brand-mark {
      width: 48px;
      height: 48px;
      border: 0;
      border-radius: 8px;
      background: #123d37;
      color: #ffffff;
      box-shadow: none;
    }
    .cloudreve-public .traffic-login-brand .brand-mark svg {
      width: 22px;
      height: 22px;
    }
    .cloudreve-public .traffic-login-kicker {
      display: block;
      margin: 1px 0 8px;
      color: #15776b;
      font-size: 12px;
      font-weight: 800;
    }
    .cloudreve-public .traffic-login-brand h1 {
      margin: 0 0 9px;
      color: #14211f;
      font-size: 34px;
      line-height: 1.12;
      font-weight: 850;
      letter-spacing: 0;
    }
    .cloudreve-public .traffic-login-brand p {
      margin: 0;
      color: #61716d;
      font-size: 15px;
      line-height: 1.6;
    }
    .cloudreve-public .traffic-login-action {
      width: 100%;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      justify-content: stretch;
      gap: 10px;
      margin: 4px 0 26px;
    }
    .cloudreve-public .traffic-login-action .btn,
    .cloudreve-public .traffic-login-action > .disabled {
      width: 100%;
      min-height: 50px;
      justify-content: center;
      border-radius: 8px;
      background: #0e766a;
      color: #ffffff;
      box-shadow: none;
    }
    .cloudreve-public .traffic-login-action small {
      color: #74817e;
      font-size: 12px;
      line-height: 1.45;
      text-align: center;
    }
    .cloudreve-public .traffic-login-assurance {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      padding-top: 20px;
      border-top: 1px solid #e5e9e7;
    }
    .cloudreve-public .traffic-login-assurance span {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 7px;
      color: #52625e;
      font-size: 12px;
      font-weight: 720;
      line-height: 1.4;
    }
    .cloudreve-public .traffic-login-assurance svg {
      width: 16px;
      height: 16px;
      flex: none;
      color: #15776b;
    }
    .cloudreve-public .traffic-login-transition-card,
    .cloudreve-public .traffic-oauth-card {
      border-radius: 8px;
      background: #ffffff;
      box-shadow: 0 20px 56px rgba(23, 42, 38, .14);
    }

    .cloudreve-public .traffic-query-shell {
      width: min(1180px, 100%);
      display: grid;
      gap: 16px;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }
    .cloudreve-public .traffic-query-shell::before {
      display: none;
    }
    .cloudreve-public .traffic-appbar {
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 2px 0 16px;
      border-bottom: 1px solid #dce3e0;
    }
    .cloudreve-public .traffic-brand-lockup {
      min-width: 0;
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr);
      gap: 12px;
      align-items: center;
    }
    .cloudreve-public .traffic-brand-icon {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      background: #123d37;
      color: #ffffff;
    }
    .cloudreve-public .traffic-brand-icon svg {
      width: 20px;
      height: 20px;
    }
    .cloudreve-public .traffic-brand-lockup > div {
      min-width: 0;
    }
    .cloudreve-public .traffic-brand-lockup > div > span {
      display: block;
      color: #697874;
      font-size: 11px;
      font-weight: 780;
    }
    .cloudreve-public .traffic-brand-lockup h1 {
      margin: 2px 0 0;
      color: #14211f;
      font-size: 24px;
      line-height: 1.08;
      font-weight: 850;
      letter-spacing: 0;
    }
    .cloudreve-public .traffic-account-area {
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
    }
    .cloudreve-public .traffic-sync-state,
    .cloudreve-public .traffic-account-chip {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 9px;
    }
    .cloudreve-public .traffic-sync-state {
      padding-right: 12px;
      border-right: 1px solid #dce3e0;
      color: #18776b;
    }
    .cloudreve-public .traffic-sync-state.is-active > svg {
      animation: trafficSpin .9s linear infinite;
    }
    .cloudreve-public .traffic-sync-state > svg {
      width: 17px;
      height: 17px;
      flex: none;
    }
    .cloudreve-public .traffic-sync-state > span,
    .cloudreve-public .traffic-account-chip > span:last-child {
      min-width: 0;
      display: grid;
      gap: 2px;
    }
    .cloudreve-public .traffic-sync-state strong,
    .cloudreve-public .traffic-account-chip strong {
      min-width: 0;
      overflow: hidden;
      color: #263532;
      font-size: 12px;
      font-weight: 800;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .cloudreve-public .traffic-sync-state small,
    .cloudreve-public .traffic-account-chip small {
      min-width: 0;
      overflow: hidden;
      color: #7a8784;
      font-size: 10px;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .cloudreve-public .traffic-account-chip {
      max-width: 260px;
    }
    .cloudreve-public .traffic-account-avatar {
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      flex: none;
      border: 1px solid #cfe0db;
      border-radius: 50%;
      background: #e7f1ee;
      color: #155f56;
      font-size: 13px;
      font-weight: 850;
    }
    .cloudreve-public .traffic-exit-form {
      width: auto;
      display: flex;
      margin: 0;
      flex: 0 0 auto;
    }
    .cloudreve-public .traffic-icon-button {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      padding: 0;
      border: 1px solid #d7dfdc;
      border-radius: 8px;
      background: #ffffff;
      color: #4d5d59;
      cursor: pointer;
      transition: border-color .16s var(--motion), color .16s var(--motion), background .16s var(--motion);
    }
    .cloudreve-public .traffic-icon-button:hover,
    .cloudreve-public .traffic-icon-button:focus-visible {
      border-color: #93b8af;
      background: #edf5f2;
      color: #0e6b60;
      outline: none;
    }
    .cloudreve-public .traffic-icon-button svg {
      width: 17px;
      height: 17px;
    }

    .cloudreve-public .traffic-range-toolbar {
      position: relative;
      z-index: 5;
      display: grid;
      gap: 12px;
      padding: 14px 16px;
      border: 1px solid #dce3e0;
      border-radius: 8px;
      background: #ffffff;
      box-shadow: 0 8px 24px rgba(23, 42, 38, .04);
    }
    .cloudreve-public .traffic-range-heading,
    .cloudreve-public .traffic-range-controls {
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }
    .cloudreve-public .traffic-range-heading > div {
      min-width: 0;
      display: flex;
      align-items: baseline;
      gap: 9px;
    }
    .cloudreve-public .traffic-range-heading span,
    .cloudreve-public .traffic-range-activity {
      color: #6e7d79;
      font-size: 11px;
      font-weight: 720;
    }
    .cloudreve-public .traffic-range-heading strong {
      color: #1e2d2a;
      font-size: 14px;
      font-weight: 850;
    }
    .cloudreve-public .traffic-range-activity {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .cloudreve-public .traffic-range-controls .usage-range-presets {
      min-width: 0;
      display: inline-flex;
      flex-wrap: wrap;
      gap: 4px;
      padding: 4px;
      border-radius: 8px;
      background: #eff2f1;
    }
    .cloudreve-public .traffic-range-controls .usage-range-presets .chip {
      min-height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 7px 12px;
      border: 0;
      border-radius: 6px;
      background: transparent;
      color: #53635f;
      font-size: 12px;
      font-weight: 760;
      box-shadow: none;
    }
    .cloudreve-public .traffic-range-controls .usage-range-presets .chip-active {
      background: #ffffff;
      color: #0e6b60;
      box-shadow: 0 1px 4px rgba(23, 42, 38, .10);
    }
    .cloudreve-public .traffic-custom-range {
      position: relative;
      flex: none;
    }
    .cloudreve-public .traffic-custom-range summary {
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 8px 12px;
      border: 1px solid #d7dfdc;
      border-radius: 8px;
      background: #ffffff;
      color: #43534f;
      font-size: 12px;
      font-weight: 780;
      cursor: pointer;
      list-style: none;
    }
    .cloudreve-public .traffic-custom-range summary::-webkit-details-marker {
      display: none;
    }
    .cloudreve-public .traffic-custom-range summary svg {
      width: 16px;
      height: 16px;
      color: #16766a;
    }
    .cloudreve-public .traffic-custom-range[open] summary {
      border-color: #91bdb3;
      background: #eef6f3;
      color: #0d685d;
    }
    .cloudreve-public .traffic-custom-range summary:focus-visible {
      outline: 2px solid rgba(14, 118, 106, .24);
      outline-offset: 2px;
    }
    .cloudreve-public .traffic-custom-range .usage-date-form {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      width: min(520px, calc(100vw - 48px));
      display: grid;
      grid-template-columns: 1fr 1fr auto;
      gap: 9px;
      padding: 12px;
      border: 1px solid #d7dfdc;
      border-radius: 8px;
      background: #ffffff;
      box-shadow: 0 16px 40px rgba(23, 42, 38, .12);
    }
    .cloudreve-public .traffic-custom-range .input,
    .cloudreve-public .traffic-custom-range .btn {
      width: 100%;
      min-height: 40px;
      border-radius: 7px;
    }
    .cloudreve-public .traffic-custom-range .btn {
      border-color: #0e766a;
      background: #0e766a;
      color: #ffffff;
      box-shadow: none;
    }

    .cloudreve-public .traffic-overview-layout {
      min-width: 0;
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
      gap: 12px;
      align-items: stretch;
    }
    .cloudreve-public .traffic-period-card,
    .cloudreve-public .traffic-side-card {
      min-width: 0;
      border-radius: 8px;
    }
    .cloudreve-public .traffic-period-card {
      min-height: 238px;
      display: grid;
      align-content: space-between;
      gap: 24px;
      padding: 24px;
      background: #153c37;
      color: #ffffff;
      box-shadow: 0 14px 34px rgba(17, 61, 54, .13);
    }
    .cloudreve-public .traffic-card-heading {
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .cloudreve-public .traffic-card-heading > span:first-child {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #63726e;
      font-size: 12px;
      font-weight: 800;
    }
    .cloudreve-public .traffic-card-heading > span:first-child svg {
      width: 16px;
      height: 16px;
      flex: none;
    }
    .cloudreve-public .traffic-period-card .traffic-card-heading > span:first-child {
      color: rgba(255, 255, 255, .74);
    }
    .cloudreve-public .traffic-period-card .badge {
      border-color: rgba(255, 255, 255, .22);
      background: rgba(255, 255, 255, .10);
      color: #ffffff;
    }
    .cloudreve-public .traffic-period-card > strong {
      display: block;
      color: #ffffff;
      font-size: 50px;
      line-height: 1;
      font-weight: 880;
      letter-spacing: 0;
      font-variant-numeric: tabular-nums;
      overflow-wrap: anywhere;
    }
    .cloudreve-public .traffic-period-footer {
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: rgba(255, 255, 255, .68);
      font-size: 12px;
      font-weight: 680;
    }
    .cloudreve-public .traffic-period-footer span {
      min-width: 0;
      overflow-wrap: anywhere;
    }
    .cloudreve-public .traffic-side-stack {
      min-width: 0;
      display: grid;
      gap: 12px;
      grid-auto-rows: minmax(0, 1fr);
    }
    .cloudreve-public .traffic-side-card {
      display: grid;
      align-content: space-between;
      gap: 9px;
      padding: 17px 18px;
      border: 1px solid #dce3e0;
      background: #ffffff;
      box-shadow: 0 8px 24px rgba(23, 42, 38, .04);
    }
    .cloudreve-public .traffic-side-card > strong {
      display: block;
      color: #1b2b28;
      font-size: 30px;
      line-height: 1.05;
      font-weight: 860;
      letter-spacing: 0;
      font-variant-numeric: tabular-nums;
      overflow-wrap: anywhere;
    }
    .cloudreve-public .traffic-side-card > p {
      margin: 0;
      color: #74817e;
      font-size: 11px;
      line-height: 1.45;
    }
    .cloudreve-public .traffic-lifetime-card .traffic-help-pop {
      right: 0;
      left: auto;
    }
    .cloudreve-public .traffic-quota-progress {
      width: 100%;
      height: 6px;
      overflow: hidden;
      border-radius: 99px;
      background: #e9eeec;
    }
    .cloudreve-public .traffic-quota-progress > span {
      display: block;
      width: var(--quota-progress, 0%);
      max-width: 100%;
      height: 100%;
      border-radius: inherit;
      background: #168273;
    }
    .cloudreve-public .traffic-quota-card.warning .traffic-quota-progress > span,
    .cloudreve-public .traffic-quota-card.critical .traffic-quota-progress > span {
      background: #c47a1c;
    }
    .cloudreve-public .traffic-quota-card.exhausted .traffic-quota-progress > span {
      background: #c54c4c;
    }
    .cloudreve-public .traffic-card-action {
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .cloudreve-public .traffic-card-action > span {
      min-width: 0;
      overflow: hidden;
      color: #74817e;
      font-size: 10px;
      font-weight: 720;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .cloudreve-public .traffic-card-action .btn {
      min-height: 30px;
      flex: none;
      padding: 6px 9px;
      border-radius: 6px;
      background: #f2f6f4;
      border-color: #d8e2df;
      color: #176d62;
      box-shadow: none;
    }

    .cloudreve-public .traffic-stat-strip {
      min-width: 0;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      margin: 0;
      padding: 0;
      overflow: hidden;
      border: 1px solid #dce3e0;
      border-radius: 8px;
      background: #ffffff;
      box-shadow: 0 8px 24px rgba(23, 42, 38, .04);
    }
    .cloudreve-public .traffic-stat-strip > div {
      min-width: 0;
      display: grid;
      gap: 5px;
      padding: 16px;
      border-right: 1px solid #e2e7e5;
    }
    .cloudreve-public .traffic-stat-strip > div:last-child {
      border-right: 0;
    }
    .cloudreve-public .traffic-stat-strip dt {
      color: #6d7b78;
      font-size: 11px;
      font-weight: 760;
    }
    .cloudreve-public .traffic-stat-strip dd {
      min-width: 0;
      margin: 0;
      color: #1b2a27;
      font-size: 25px;
      line-height: 1.05;
      font-weight: 850;
      letter-spacing: 0;
      font-variant-numeric: tabular-nums;
      overflow-wrap: anywhere;
    }
    .cloudreve-public .traffic-stat-strip small {
      min-width: 0;
      color: #7a8784;
      font-size: 10px;
      line-height: 1.4;
      overflow-wrap: anywhere;
    }
    .cloudreve-public .traffic-query-shell > .notice {
      margin: 0;
      border-radius: 8px;
      box-shadow: none;
    }
    .cloudreve-public .traffic-query-shell .traffic-progress-notice {
      background: #f0f7f5;
    }
    .cloudreve-public .traffic-query-shell .traffic-progress-fill {
      background: #168273;
      box-shadow: none;
    }

    .cloudreve-public .traffic-query-details {
      width: min(1180px, 100%);
      margin-top: 16px;
    }
    .cloudreve-public .traffic-query-details .panel {
      border: 1px solid #dce3e0;
      border-radius: 8px;
      background: #ffffff;
      box-shadow: 0 10px 30px rgba(23, 42, 38, .05);
    }
    .cloudreve-public .traffic-query-details .panel-head {
      padding: 20px 22px 0;
    }
    .cloudreve-public .traffic-query-details .panel-head h2 {
      font-size: 22px;
    }
    .cloudreve-public .traffic-query-details .panel-body {
      padding: 16px 22px 22px;
    }
    .cloudreve-public .traffic-query-details .traffic-sort-bar {
      margin-bottom: 14px;
      padding: 12px;
      border-radius: 8px;
      background: #f5f7f6;
      box-shadow: none;
    }
    .cloudreve-public .traffic-query-details .table-wrap {
      border-radius: 8px;
      box-shadow: none;
    }
    .cloudreve-public .traffic-query-details th {
      background: #f3f6f5;
    }
    .cloudreve-public .traffic-query-details .empty.state-empty {
      border-radius: 8px;
      background: #f7f9f8;
    }

    .cloudreve-public .traffic-pack-shell {
      width: min(1180px, 100%);
      display: grid;
      gap: 16px;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }
    .cloudreve-public .traffic-pack-shell::before {
      display: none;
    }
    .cloudreve-public .traffic-pack-appbar {
      margin-bottom: 0;
    }
    .cloudreve-public .traffic-pack-back {
      min-height: 38px;
      flex: none;
      border-radius: 8px;
      background: #ffffff;
      border-color: #d7dfdc;
      color: #43534f;
      box-shadow: none;
    }
    .cloudreve-public .traffic-pack-overview {
      min-width: 0;
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
      gap: 12px;
      align-items: stretch;
    }
    .cloudreve-public .traffic-pack-balance {
      min-width: 0;
      min-height: 190px;
      display: grid;
      align-content: space-between;
      gap: 18px;
      padding: 22px;
      border-radius: 8px;
      background: #153c37;
      color: #ffffff;
      box-shadow: 0 14px 34px rgba(17, 61, 54, .13);
    }
    .cloudreve-public .traffic-pack-balance .traffic-card-heading > span:first-child {
      color: rgba(255, 255, 255, .74);
    }
    .cloudreve-public .traffic-pack-balance .badge {
      border-color: rgba(255, 255, 255, .22);
      background: rgba(255, 255, 255, .10);
      color: #ffffff;
    }
    .cloudreve-public .traffic-pack-balance > strong {
      min-width: 0;
      color: #ffffff;
      font-size: 42px;
      line-height: 1;
      font-weight: 880;
      letter-spacing: 0;
      font-variant-numeric: tabular-nums;
      overflow-wrap: anywhere;
    }
    .cloudreve-public .traffic-pack-balance > p {
      margin: 0;
      color: rgba(255, 255, 255, .70);
      font-size: 12px;
      line-height: 1.5;
    }
    .cloudreve-public .traffic-pack-balance .traffic-quota-progress {
      background: rgba(255, 255, 255, .16);
    }
    .cloudreve-public .traffic-pack-balance .traffic-quota-progress > span {
      background: #7ed2c1;
    }
    .cloudreve-public .traffic-pack-facts {
      min-width: 0;
      display: grid;
      grid-template-rows: repeat(3, minmax(0, 1fr));
      margin: 0;
      overflow: hidden;
      border: 1px solid #dce3e0;
      border-radius: 8px;
      background: #ffffff;
      box-shadow: 0 8px 24px rgba(23, 42, 38, .04);
    }
    .cloudreve-public .traffic-pack-facts > div {
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 15px 17px;
      border-bottom: 1px solid #e4e9e7;
    }
    .cloudreve-public .traffic-pack-facts > div:last-child {
      border-bottom: 0;
    }
    .cloudreve-public .traffic-pack-facts dt {
      color: #6d7b78;
      font-size: 11px;
      font-weight: 760;
    }
    .cloudreve-public .traffic-pack-facts dd {
      min-width: 0;
      margin: 0;
      color: #1b2a27;
      font-size: 14px;
      font-weight: 830;
      text-align: right;
      font-variant-numeric: tabular-nums;
      overflow-wrap: anywhere;
    }
    .cloudreve-public .traffic-pack-catalog,
    .cloudreve-public .traffic-pack-orders {
      width: min(1180px, 100%);
      margin-top: 18px;
    }
    .cloudreve-public .traffic-pack-section-head {
      align-items: end;
      margin-bottom: 14px;
    }
    .cloudreve-public .traffic-pack-section-head > div {
      min-width: 0;
      display: grid;
      gap: 4px;
    }
    .cloudreve-public .traffic-pack-section-head span {
      color: #6d7b78;
      font-size: 11px;
      font-weight: 760;
    }
    .cloudreve-public .traffic-pack-section-head h2 {
      color: #172421;
      font-size: 22px;
      line-height: 1.2;
      font-weight: 850;
      letter-spacing: 0;
    }
    .cloudreve-public .traffic-pack-grid {
      display: grid;
      grid-template-columns: minmax(0, .9fr) minmax(0, 1.08fr) minmax(0, .9fr);
      gap: 12px;
      align-items: stretch;
    }
    .cloudreve-public .traffic-pack-card {
      min-width: 0;
      display: grid;
      grid-template-rows: auto auto auto auto 1fr;
      gap: 13px;
      padding: 20px;
      border: 1px solid #dce3e0;
      border-radius: 8px;
      background: #ffffff;
      box-shadow: 0 8px 24px rgba(23, 42, 38, .04);
    }
    .cloudreve-public .traffic-pack-card.is-featured {
      border-color: #75aa9f;
      box-shadow: inset 0 3px 0 #168273, 0 12px 30px rgba(23, 82, 71, .08);
    }
    .cloudreve-public .traffic-pack-head {
      align-items: flex-start;
    }
    .cloudreve-public .traffic-pack-head > div {
      gap: 5px;
    }
    .cloudreve-public .traffic-pack-head span,
    .cloudreve-public .traffic-pack-buy small {
      color: #6d7b78;
      font-size: 11px;
      font-weight: 760;
    }
    .cloudreve-public .traffic-pack-head h3 {
      color: #172421;
      font-size: 16px;
      font-weight: 830;
      letter-spacing: 0;
    }
    .cloudreve-public .traffic-pack-quota {
      min-width: 0;
      color: #126f64;
      font-size: 36px;
      line-height: 1;
      font-weight: 880;
      letter-spacing: 0;
      font-variant-numeric: tabular-nums;
      overflow-wrap: anywhere;
    }
    .cloudreve-public .traffic-pack-card > p {
      min-height: 0;
      margin: 0;
      color: #687874;
      font-size: 12px;
      line-height: 1.5;
    }
    .cloudreve-public .traffic-pack-value {
      min-width: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 6px 12px;
      padding: 10px 0;
      border-top: 1px solid #e5eae8;
      border-bottom: 1px solid #e5eae8;
      color: #677773;
      font-size: 11px;
      font-weight: 720;
    }
    .cloudreve-public .traffic-pack-value span:last-child {
      color: #176d62;
    }
    .cloudreve-public .traffic-pack-buy {
      align-self: end;
      align-items: end;
      margin-top: 0;
    }
    .cloudreve-public .traffic-pack-buy > span strong {
      color: #172421;
      font-size: 26px;
      line-height: 1;
      font-weight: 880;
      letter-spacing: 0;
      font-variant-numeric: tabular-nums;
    }
    .cloudreve-public .traffic-pack-buy form {
      width: auto;
      margin: 0;
    }
    .cloudreve-public .traffic-pack-buy .btn {
      min-height: 40px;
      border-radius: 8px;
      background: #0e766a;
      border-color: #0e766a;
      color: #ffffff;
      box-shadow: none;
    }
    .cloudreve-public .traffic-pack-buy .btn.disabled,
    .cloudreve-public .traffic-pack-buy > .disabled {
      background: #f0f3f2;
      border-color: #dce3e0;
      color: #788581;
    }
    .cloudreve-public .traffic-pack-orders .table-wrap {
      overflow: hidden;
      border: 1px solid #dce3e0;
      border-radius: 8px;
      background: #ffffff;
      box-shadow: 0 8px 24px rgba(23, 42, 38, .04);
    }
    .cloudreve-public .traffic-pack-orders th {
      background: #f3f6f5;
    }
    .cloudreve-public .traffic-pack-orders .empty.state-empty,
    .cloudreve-public .traffic-pack-catalog .empty.state-empty {
      border-radius: 8px;
      background: #f7f9f8;
    }
    .cloudreve-public .traffic-payment-pending > svg {
      animation: trafficSpin .9s linear infinite;
    }

    @media (max-width: 920px) {
      .cloudreve-public .traffic-appbar {
        align-items: flex-start;
      }
      .cloudreve-public .traffic-sync-state small {
        display: none;
      }
      .cloudreve-public .traffic-overview-layout {
        grid-template-columns: 1fr;
      }
      .cloudreve-public .traffic-side-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .cloudreve-public .traffic-stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .cloudreve-public .traffic-pack-overview {
        grid-template-columns: 1fr;
      }
      .cloudreve-public .traffic-pack-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: none;
      }
      .cloudreve-public .traffic-pack-facts > div {
        display: grid;
        align-content: center;
        gap: 6px;
        border-right: 1px solid #e4e9e7;
        border-bottom: 0;
      }
      .cloudreve-public .traffic-pack-facts > div:last-child {
        border-right: 0;
      }
      .cloudreve-public .traffic-pack-facts dd {
        text-align: left;
      }
      .cloudreve-public .traffic-pack-grid {
        grid-template-columns: 1fr;
      }
      .cloudreve-public .traffic-stat-strip > div:nth-child(2) {
        border-right: 0;
      }
      .cloudreve-public .traffic-stat-strip > div:nth-child(-n+2) {
        border-bottom: 1px solid #e2e7e5;
      }
    }

    @media (max-width: 720px) {
      body.cloudreve-public {
        padding: 0;
      }
      .cloudreve-public .traffic-login-layout {
        min-height: 100dvh;
        padding: 14px;
      }
      .cloudreve-public .cloudreve-login-panel {
        padding: 24px 20px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(23, 42, 38, .07);
      }
      .cloudreve-public .traffic-login-brand {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 22px;
      }
      .cloudreve-public .traffic-login-brand .brand-mark {
        width: 42px;
        height: 42px;
      }
      .cloudreve-public .traffic-login-brand h1 {
        font-size: 29px;
      }
      .cloudreve-public .traffic-login-assurance {
        grid-template-columns: 1fr;
        gap: 10px;
      }
      .cloudreve-public .traffic-query-shell {
        width: 100%;
        gap: 12px;
        padding: 12px;
        border-radius: 0;
      }
      .cloudreve-public .traffic-pack-shell {
        width: 100%;
        gap: 12px;
        padding: 12px;
      }
      .cloudreve-public .traffic-appbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding-bottom: 12px;
      }
      .cloudreve-public .traffic-brand-lockup {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
      }
      .cloudreve-public .traffic-brand-icon {
        width: 38px;
        height: 38px;
      }
      .cloudreve-public .traffic-brand-lockup h1 {
        font-size: 21px;
      }
      .cloudreve-public .traffic-account-area {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: stretch;
      }
      .cloudreve-public .traffic-pack-appbar .traffic-pack-back {
        order: 2;
      }
      .cloudreve-public .traffic-account-chip {
        max-width: none;
        flex: 1 1 auto;
        order: 1;
      }
      .cloudreve-public .traffic-sync-state {
        flex: none;
        order: 2;
        padding-right: 8px;
      }
      .cloudreve-public .traffic-sync-state strong {
        max-width: 72px;
      }
      .cloudreve-public .traffic-sync-state small,
      .cloudreve-public .traffic-account-chip small {
        display: none;
      }
      .cloudreve-public .traffic-exit-form {
        order: 3;
      }
      .cloudreve-public .traffic-account-avatar {
        width: 32px;
        height: 32px;
      }
      .cloudreve-public .traffic-icon-button {
        width: 36px;
        height: 36px;
      }
      .cloudreve-public .traffic-range-toolbar {
        gap: 10px;
        padding: 12px;
      }
      .cloudreve-public .traffic-range-heading {
        align-items: baseline;
      }
      .cloudreve-public .traffic-range-controls {
        display: grid;
        gap: 9px;
      }
      .cloudreve-public .traffic-range-controls .usage-range-presets {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 4px;
        scrollbar-width: none;
      }
      .cloudreve-public .traffic-range-controls .usage-range-presets::-webkit-scrollbar {
        display: none;
      }
      .cloudreve-public .traffic-range-controls .usage-range-presets .chip {
        flex: 0 0 auto;
      }
      .cloudreve-public .traffic-custom-range {
        width: 100%;
      }
      .cloudreve-public .traffic-custom-range summary {
        width: 100%;
        justify-content: center;
      }
      .cloudreve-public .traffic-custom-range .usage-date-form {
        position: static;
        width: 100%;
        grid-template-columns: 1fr;
        margin-top: 8px;
        box-shadow: none;
      }
      .cloudreve-public .traffic-period-card {
        min-height: 190px;
        gap: 20px;
        padding: 19px;
      }
      .cloudreve-public .traffic-period-card > strong {
        font-size: 39px;
      }
      .cloudreve-public .traffic-period-footer {
        display: grid;
        gap: 4px;
      }
      .cloudreve-public .traffic-side-stack {
        grid-template-columns: 1fr;
      }
      .cloudreve-public .traffic-side-card {
        min-height: 138px;
        padding: 16px;
      }
      .cloudreve-public .traffic-side-card > strong {
        font-size: 28px;
      }
      .cloudreve-public .traffic-stat-strip > div {
        padding: 14px;
      }
      .cloudreve-public .traffic-stat-strip dd {
        font-size: 22px;
      }
      .cloudreve-public .traffic-lifetime-card .traffic-help-pop {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
      }
      .cloudreve-public .traffic-query-details {
        width: calc(100% - 24px);
        margin-top: 0;
        margin-bottom: 12px;
      }
      .cloudreve-public .traffic-pack-catalog,
      .cloudreve-public .traffic-pack-orders {
        width: calc(100% - 24px);
        margin-top: 0;
        margin-bottom: 12px;
      }
      .cloudreve-public .traffic-pack-balance {
        min-height: 178px;
        padding: 18px;
      }
      .cloudreve-public .traffic-pack-balance > strong {
        font-size: 36px;
      }
      .cloudreve-public .traffic-pack-facts {
        grid-template-columns: 1fr;
      }
      .cloudreve-public .traffic-pack-facts > div {
        display: flex;
        border-right: 0;
        border-bottom: 1px solid #e4e9e7;
      }
      .cloudreve-public .traffic-pack-facts > div:last-child {
        border-bottom: 0;
      }
      .cloudreve-public .traffic-pack-facts dd {
        text-align: right;
      }
      .cloudreve-public .traffic-pack-card {
        padding: 17px;
      }
      .cloudreve-public .traffic-pack-quota {
        font-size: 32px;
      }
      .cloudreve-public .traffic-pack-buy {
        align-items: center;
      }
      .cloudreve-public .traffic-query-details .panel {
        border-radius: 8px;
      }
      .cloudreve-public .traffic-query-details .panel-head {
        padding: 17px 15px 0;
      }
      .cloudreve-public .traffic-query-details .panel-head h2 {
        font-size: 20px;
      }
      .cloudreve-public .traffic-query-details .panel-body {
        padding: 14px;
      }
      .cloudreve-public .traffic-query-details .traffic-sort-bar {
        border-radius: 8px;
      }
      .cloudreve-public .traffic-query-details .table-wrap tr {
        border-radius: 8px;
        box-shadow: none;
      }
    }
  
  
  