:root {
  --primary: #5e72e4;
  --primary-strong: #4a5bd0;
  --primary-rgb: 94, 114, 228;
  --secondary: #8392ab;
  --success: #2dce89;
  --info: #11cdef;
  --warning: #fb6340;
  --danger: #f5365c;
  --dark: #344767;
  --light: #e9ecef;
  --ink: #344767;
  --body: #67748e;
  --muted: #8392ab;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-soft: #f8f9fe;
  --line: #e9ecef;
  --shadow: 0 0.25rem 1.75rem rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xl: 16px;
  --sidebar: 250px;
  font-family: "Open Sans", "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --ink: #e9ecef;
  --body: #ced4da;
  --muted: #adb5bd;
  --surface: #1a1d29;
  --surface-solid: #1a1d29;
  --surface-soft: #121420;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 0.25rem 1.75rem rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.22);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--surface-soft); overflow-x: hidden; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--body);
  background: var(--surface-soft);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; border: 0; background: none; cursor: pointer; }
img { max-width: 100%; }
::selection { background: rgba(var(--primary-rgb), .2); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.boot-screen {
  min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px;
  color: var(--muted);
}
.boot-screen p { margin: 0; font-size: 14px; }
.boot-line { width: 150px; height: 4px; overflow: hidden; border-radius: 999px; background: var(--line); }
.boot-line i { display: block; width: 45%; height: 100%; border-radius: inherit; background: var(--primary); animation: boot 1.25s ease-in-out infinite; }
@keyframes boot { from { transform: translateX(-120%); } to { transform: translateX(340%); } }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand strong { font-size: 18px; color: var(--ink); letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; box-shadow: 0 4px 10px rgba(var(--primary-rgb), .2); }
.brand-mark {
  position: relative; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #11cdef);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), .26);
}
.brand-mark span { position: absolute; border: 2px solid rgba(255,255,255,.92); border-radius: 999px; }
.brand-mark span:first-child { inset: 8px 13px; }
.brand-mark span:last-child { inset: 13px 8px; }
.brand-mark--large { width: 54px; height: 54px; border-radius: 17px; }

.icon {
  width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, 42%) 1fr; }
.auth-panel { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 5vw, 72px); background: var(--surface-solid); }
.auth-main { width: min(430px, 100%); margin: auto; padding: 58px 0; }
.auth-main h1 { margin: 0 0 9px; font-size: clamp(31px, 4vw, 44px); line-height: 1.08; letter-spacing: -.045em; color: var(--ink); }
.auth-main > p { margin: 0 0 32px; color: var(--body); line-height: 1.7; }
.auth-footer { color: var(--muted); font-size: 12px; }
.auth-visual {
  position: relative; display: grid; place-items: center; overflow: hidden; padding: 7vw;
  background: linear-gradient(150deg, #7795f8 0%, #5e72e4 50%, #324cdd 100%); color: white;
}
.auth-visual::before, .auth-visual::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); }
.auth-visual::before { width: 34vw; height: 34vw; top: -12vw; right: -8vw; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 66%); }
.auth-visual::after { width: 40vw; height: 40vw; left: -17vw; bottom: -20vw; background: radial-gradient(circle, rgba(17, 205, 239, .18), transparent 68%); }
.orbit { position: absolute; width: min(44vw, 640px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; animation: orbit 26s linear infinite; }
.orbit::before, .orbit::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #11cdef; box-shadow: 0 0 24px #11cdef; }
.orbit::before { left: 12%; top: 19%; }
.orbit::after { right: 7%; bottom: 26%; background: #fff; box-shadow: 0 0 24px #fff; }
@keyframes orbit { to { transform: rotate(360deg); } }
.visual-copy { position: relative; z-index: 2; width: min(620px, 100%); }
.visual-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.10); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.visual-copy h2 { max-width: 650px; margin: 25px 0 18px; font-size: clamp(38px, 5vw, 76px); line-height: 1.02; letter-spacing: -.055em; }
.visual-copy p { max-width: 540px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.8; }
.visual-stats { display: flex; gap: 36px; margin-top: 46px; }
.visual-stats b { display: block; font-size: 23px; }
.visual-stats span { color: rgba(255,255,255,.56); font-size: 12px; }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--ink); font-size: 12px; font-weight: 600; }
.input-wrap { position: relative; }
.input-wrap .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); outline: 0;
  color: var(--ink); background: var(--surface); transition: border-color .2s, box-shadow .2s, background .2s;
}
.input, .select { height: 44px; padding: 0 14px; }
.input-wrap .input { padding-left: 42px; }
.textarea { min-height: 100px; resize: vertical; padding: 12px 14px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); background: var(--surface); }
.field-hint { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; }
.verify-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.form-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--body); font-size: 13px; }
.check { display: inline-flex; align-items: center; gap: 8px; }
.check input { accent-color: var(--primary); }
.text-link { color: var(--primary); font-weight: 600; }
.text-link:hover { text-decoration: underline; }
.mock-turnstile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); cursor: pointer; user-select: none; }
.mock-turnstile-main { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; }
.mock-turnstile-main input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.mock-turnstile-logo { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 2px; line-height: 1.1; }
.mock-turnstile-logo b { color: #f48120; font-size: 11px; letter-spacing: .06em; }
.mock-turnstile-logo small { color: var(--muted); font-size: 10px; }

.btn {
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--radius-sm); padding: 0 20px; font-weight: 600; font-size: 13px;
  transition: transform .15s, box-shadow .15s, background .15s, opacity .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), #825ee4); box-shadow: 0 4px 12px rgba(var(--primary-rgb), .28); }
.btn-primary:hover { box-shadow: 0 7px 18px rgba(var(--primary-rgb), .32); }
.btn-secondary { color: var(--ink); background: var(--surface); border-color: var(--line); }
.btn-secondary:hover { color: var(--primary); background: var(--surface-soft); border-color: var(--primary); }
.btn-info { color: #fff; background: linear-gradient(135deg, #11cdef, #1171ef); box-shadow: 0 4px 12px rgba(17, 205, 239, .25); }
.btn-success { color: #fff; background: linear-gradient(135deg, #2dce89, #2dcecc); }
.btn-warning { color: #fff; background: linear-gradient(135deg, #fb6340, #fbb140); }
.btn-warning:hover { background: linear-gradient(135deg, #ea5330, #ea9f30); }
.btn-danger { color: #fff; background: linear-gradient(135deg, #f5365c, #f56036); }
.btn-ghost { min-height: 36px; color: var(--body); background: transparent; padding: 0 12px; }
.btn-block { width: 100%; min-height: 46px; }
.btn-sm { min-height: 34px; border-radius: 6px; padding: 0 14px; font-size: 12px; }
.btn-light { color: var(--primary); background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.btn-light:hover { background: #f4f5f7; }
.btn-ticket-cta {
  min-height: 46px;
  padding: 0 18px;
  color: var(--primary);
  background: #fff;
  border-color: rgba(255,255,255,.92);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(23,43,77,.22), 0 0 0 2px rgba(255,255,255,.22) inset;
}
.btn-ticket-cta .icon { width: 18px; height: 18px; }
.btn-ticket-cta:hover {
  color: #4f46e5;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 12px 30px rgba(23,43,77,.28), 0 0 0 2px rgba(255,255,255,.34) inset;
}

.subscribe-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.subscribe-actions .hint-text { color: var(--muted); font-size: 12px; }
.subscribe-reset-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}
.subscribe-reset-copy { min-width: 0; display: grid; gap: 4px; }
.subscribe-reset-copy b { color: var(--ink); font-size: 13px; }
.subscribe-reset-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.quick-subscribe-card {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  display: grid;
  gap: 12px;
}
.quick-subscribe-head h3 { margin: 0; color: var(--ink); font-size: 15px; }
.quick-subscribe-head small { color: var(--muted); font-size: 12px; }
.quick-subscribe-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick-action-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--body);
  font-size: 12px;
  font-weight: 600;
  padding: 0 12px;
  transition: .15s;
}
.quick-action-btn .icon { width: 16px; height: 16px; }
.quick-action-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(var(--primary-rgb), .06); }
.quick-subscribe-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.quick-tab {
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.quick-tab.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), #825ee4);
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), .24);
}
.quick-client-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick-client-item {
  min-height: 56px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  display: grid;
  gap: 4px;
  text-align: left;
}
.quick-client-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 16px rgba(var(--primary-rgb), .14);
  transform: translateY(-1px);
}
.quick-client-item span { color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.3; }
.quick-client-item small { color: var(--muted); font-size: 11px; }
.quick-qr-body { display: grid; gap: 12px; justify-items: center; text-align: center; }
.quick-qr-image { width: 220px; max-width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 10px; }
.quick-qr-link { margin: 0; color: var(--body); font-size: 12px; line-height: 1.5; word-break: break-all; }

.app-shell { min-height: 100vh; display: flex; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 100; width: var(--sidebar); display: flex; flex-direction: column;
  overflow-y: auto; padding: 20px 16px; background: var(--surface); box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .15);
}
.sidebar .brand { padding: 8px 8px 20px; border-bottom: 1px solid var(--line); }
.nav { display: grid; gap: 4px; margin-top: 16px; }
.nav-label { margin: 18px 10px 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nav-link { min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: var(--radius-sm); color: var(--body); font-size: 13px; font-weight: 600; transition: .15s; }
.nav-link:hover { color: var(--primary); background: rgba(var(--primary-rgb), .08); }
.nav-link.active { color: #fff; background: linear-gradient(135deg, var(--primary), #825ee4); box-shadow: 0 4px 12px rgba(var(--primary-rgb), .25); }
.nav-link .icon { width: 18px; height: 18px; }
.sidebar-bottom { margin-top: auto; padding-top: 16px; display: grid; gap: 8px; }
.support-card { padding: 16px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(var(--primary-rgb), .08), rgba(17, 205, 239, .05)); border: 1px solid rgba(var(--primary-rgb), .12); }
.support-card b { display: block; color: var(--ink); font-size: 13px; }
.support-card p { margin: 6px 0 12px; color: var(--body); font-size: 12px; line-height: 1.5; }

.main { flex: 1; min-height: 100vh; margin-left: var(--sidebar); background: var(--surface-soft); }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar-title strong { display: block; font-size: 15px; color: var(--ink); }
.topbar-title span { color: var(--muted); font-size: 12px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--body); cursor: pointer; }
.icon-btn { position: relative; }
.icon-btn:hover { color: var(--primary); border-color: var(--primary); }
.icon-btn.has-notify::after { content: ""; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px var(--surface); }
.notify-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--surface);
}
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--primary), #825ee4); font-size: 12px; font-weight: 700; }
.dropdown { position: relative; }
.topbar-btn { height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--body); font-size: 13px; cursor: pointer; }
.topbar-btn:hover { color: var(--primary); border-color: var(--primary); }
.topbar-btn .icon { width: 18px; height: 18px; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 100; min-width: 150px; display: none; flex-direction: column; padding: 6px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-solid); box-shadow: var(--shadow-lg); }
.dropdown-menu.open { display: flex; }
.dropdown-menu-right { left: auto; right: 0; }
.dropdown-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border-radius: 6px; color: var(--body); font-size: 13px; text-align: left; background: transparent; cursor: pointer; }
.dropdown-item:hover { background: var(--surface-soft); color: var(--ink); }
.dropdown-item.active { color: var(--primary); background: rgba(var(--primary-rgb), .08); font-weight: 600; }
.dropdown-item .icon { width: 16px; height: 16px; }
.ticket-notice-menu { min-width: 340px; max-width: 360px; padding: 0; overflow: hidden; }
.ticket-notice-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.ticket-notice-head strong { color: var(--ink); font-size: 13px; }
.ticket-notice-head span { color: var(--primary); font-size: 12px; font-weight: 700; }
.ticket-notice-list { max-height: 320px; overflow: auto; padding: 8px; display: grid; gap: 6px; }
.ticket-notice-item { align-items: flex-start; gap: 2px; padding: 10px 10px; border-radius: 8px; }
.ticket-notice-item b { display: block; width: 100%; color: var(--ink); font-size: 13px; line-height: 1.4; font-weight: 600; }
.ticket-notice-item small { display: block; width: 100%; color: var(--muted); font-size: 11px; line-height: 1.35; }
.ticket-notice-empty { padding: 14px 10px; color: var(--muted); font-size: 12px; text-align: center; }
.ticket-notice-all { justify-content: center; border-top: 1px solid var(--line); border-radius: 0; padding: 11px 12px; font-weight: 600; }
.mobile-brand, .mobile-nav, .mobile-menu-backdrop, .mobile-menu-drawer { display: none; }
.content { width: 100%; max-width: 1440px; margin: 0 auto; padding: 24px; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding: 22px 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.eyebrow { margin: 0 0 8px; color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.page-head h1 { margin: 0; font-size: 24px; color: var(--ink); font-weight: 700; letter-spacing: -.03em; }
.page-head p:not(.eyebrow) { margin: 6px 0 0; color: var(--body); font-size: 13px; }

.dashboard-header { margin: 0 0 24px; padding: 36px 28px; color: #fff; background: linear-gradient(135deg, var(--primary), #825ee4); border-radius: var(--radius); box-shadow: var(--shadow); }
.dashboard-header-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.dashboard-header .eyebrow { color: rgba(255,255,255,.75); }
.dashboard-header h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -.03em; }
.dashboard-header p { margin: 8px 0 0; color: rgba(255,255,255,.85); font-size: 14px; }
.dashboard-header .docs-search { width: min(420px, 100%); margin: 0; }
.dashboard-header .docs-search .input { height: 44px; border: 0; border-radius: var(--radius-sm); padding: 0 16px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12); }

.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.span-2 { grid-column: span 2; }
.card { background: var(--surface); border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 24px; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.card-header h2, .card-header h3 { margin: 0; font-size: 16px; color: var(--ink); }
.card-header p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.card-body { padding: 24px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-title h2, .card-title h3 { margin: 0; font-size: 16px; color: var(--ink); }
.card-title p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

.bg-gradient-primary { background: linear-gradient(135deg, var(--primary), #825ee4) !important; }
.bg-gradient-info { background: linear-gradient(135deg, #11cdef, #1171ef) !important; }
.bg-gradient-success { background: linear-gradient(135deg, #2dce89, #2dcecc) !important; }
.bg-gradient-warning { background: linear-gradient(135deg, #fb6340, #fbb140) !important; }
.bg-gradient-danger { background: linear-gradient(135deg, #f5365c, #f56036) !important; }

.stat-card { display: flex; align-items: center; gap: 18px; padding: 24px; }
.stat-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--primary), #825ee4); box-shadow: 0 4px 12px rgba(var(--primary-rgb), .25); }
.stat-icon .icon { width: 22px; height: 22px; }
.stat-card .meta { flex: 1; min-width: 0; }
.stat-card strong { display: block; font-size: 22px; color: var(--ink); letter-spacing: -.03em; }
.stat-card span { color: var(--muted); font-size: 12px; }

.progress { height: 8px; overflow: hidden; border-radius: 999px; background: var(--light); }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), #825ee4); }

.usage-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.metric { text-align: center; padding: 16px; border-radius: var(--radius-sm); background: var(--surface-soft); }
.metric span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.metric b { display: block; font-size: 16px; color: var(--ink); }

.subscribe-card .card-body { display: grid; gap: 16px; }
.subscribe-box { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); }
.subscribe-url { min-width: 0; flex: 1; overflow: hidden; color: var(--body); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.subscription-card .card-body { display: grid; gap: 14px; padding: 28px; }
.subscription-title { margin: 0; font-size: 16px; color: var(--ink); font-weight: 700; }
.subscription-plan-name { margin: 0; font-size: 24px; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
.subscription-meta { margin: 0; color: var(--muted); font-size: 13px; }
.subscription-progress-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.subscription-tag { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; color: var(--primary); background: rgba(var(--primary-rgb), .12); font-size: 11px; font-weight: 700; }
.subscription-percent { font-size: 22px; color: var(--ink); font-weight: 600; }
.subscription-progress { height: 10px; margin-top: -4px; }
.subscription-progress span { background: linear-gradient(90deg, var(--primary), #825ee4); }
.subscription-usage { margin: 0; color: var(--muted); font-size: 13px; }

.announcement { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; margin-bottom: 24px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(var(--primary-rgb), .08), rgba(17, 205, 239, .05)); border: 1px solid rgba(var(--primary-rgb), .12); }
.announcement .icon { color: var(--primary); flex: 0 0 auto; }
.announcement p { margin: 0; color: var(--body); font-size: 13px; line-height: 1.6; }
.announcement-content a,
.announcement-link { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; word-break: break-all; }
.announcement-content a:hover,
.announcement-link:hover { color: var(--primary-strong); }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 0; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.plan-card-top { height: 8px; background: linear-gradient(90deg, var(--primary), #825ee4); }
.plan-card-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.plan-card.featured { box-shadow: 0 0.5rem 2rem rgba(var(--primary-rgb), .18); }
.plan-card.featured .plan-card-top { background: linear-gradient(90deg, #825ee4, var(--primary)); }
.plan-card.featured::before { content: "推荐"; position: absolute; top: 14px; right: -36px; width: 130px; padding: 5px 0; transform: rotate(45deg); color: #fff; background: linear-gradient(135deg, var(--primary), #825ee4); text-align: center; font-size: 10px; font-weight: 800; box-shadow: 0 4px 12px rgba(var(--primary-rgb), .2); }
.plan-name { margin: 0; font-size: 22px; color: var(--ink); }
.plan-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; min-height: 27px; }
.tag, .status { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tag { color: var(--primary); background: rgba(var(--primary-rgb), .1); }
.status { background: rgba(var(--primary-rgb), .1); color: var(--primary); }
.status.success { color: #2dce89; background: rgba(45, 206, 137, .1); }
.status.warning { color: #fb6340; background: rgba(251, 99, 64, .12); }
.status.danger { color: #f5365c; background: rgba(245, 54, 92, .1); }
.status.info { color: #11cdef; background: rgba(17, 205, 239, .1); }
.plan-price { margin: 24px 0; }
.plan-price b { font-size: 34px; color: var(--ink); letter-spacing: -.04em; }
.plan-price span { color: var(--muted); font-size: 12px; }
.plan-features { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.plan-features li { display: flex; align-items: center; gap: 10px; color: var(--body); font-size: 13px; }
.plan-features .icon { width: 16px; height: 16px; color: var(--success); }
.plan-card .btn { margin-top: auto; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { padding: 14px 16px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: left; border-bottom: 1px solid var(--line); }
.table td { padding: 16px; color: var(--body); font-size: 13px; border-bottom: 1px solid var(--line); }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: var(--surface-soft); }
.table tbody tr.ticket-row-unread { background: rgba(var(--primary-rgb), .08); }
.table tbody tr.ticket-row-unread:hover { background: rgba(var(--primary-rgb), .12); }
.table tbody tr.ticket-row-unread .table-link strong { color: var(--primary); }
.table tr:last-child td { border-bottom: 0; }
.table td strong { color: var(--ink); }
.table-link { padding: 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--body); }
.table-link:hover strong { color: var(--primary); }
.ticket-table { min-width: 960px; }
.ticket-actions { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.ticket-actions > span { width: 1px; height: 16px; background: var(--line); }
.ticket-action { padding: 2px 0; border: 0; color: var(--primary); background: transparent; font: inherit; cursor: pointer; }
.ticket-action:hover { text-decoration: underline; }
.ticket-action.danger { color: var(--danger); }
.ticket-action:disabled { color: var(--muted); cursor: not-allowed; opacity: .55; text-decoration: none; }
.empty { min-height: 240px; display: grid; place-content: center; justify-items: center; padding: 32px; color: var(--muted); text-align: center; }
.empty .icon { width: 36px; height: 36px; margin-bottom: 12px; color: var(--primary); }
.empty h3 { margin: 0 0 6px; color: var(--ink); font-size: 16px; }
.empty p { max-width: 360px; margin: 0; font-size: 13px; line-height: 1.6; }

.profile-card { display: flex; align-items: center; gap: 18px; }
.profile-avatar { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--primary), #825ee4); font-size: 20px; font-weight: 700; }
.profile-card h2 { margin: 0 0 4px; font-size: 18px; color: var(--ink); }
.profile-card p { margin: 0; color: var(--muted); font-size: 12px; }
.info-list { display: grid; }
.info-item { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item span { color: var(--muted); font-size: 13px; }
.info-item b { color: var(--ink); font-size: 13px; }
.notify-list { margin-top: 4px; border-top: 1px solid var(--line); }
.notify-item { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.notify-item:last-child { border-bottom: 0; }
.notify-copy { display: grid; gap: 4px; min-width: 0; }
.notify-copy b { color: var(--ink); font-size: 16px; line-height: 1.25; font-weight: 700; }
.notify-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.switch-toggle { width: 56px; height: 30px; padding: 3px; border: 0; border-radius: 999px; background: #c8ced8; cursor: pointer; flex: 0 0 auto; transition: background .18s ease; position: relative; }
.switch-toggle span { display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(31, 45, 61, .2); transform: translateX(0); transition: transform .18s ease; }
.switch-toggle.on { background: var(--primary); }
.switch-toggle.on span { transform: translateX(26px); }
.switch-toggle:focus-visible { outline: 3px solid rgba(var(--primary-rgb), .22); outline-offset: 2px; }

.docs-header { margin: -24px -24px 0; padding: 48px 24px 80px; color: #fff; background: linear-gradient(135deg, var(--primary), #825ee4); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.docs-header-body { max-width: 1440px; margin: 0 auto; text-align: center; }
.docs-header h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.03em; }
.docs-header p { margin: 10px 0 0; color: rgba(255,255,255,.85); font-size: 14px; }
.docs-search { max-width: 560px; margin: 28px auto 0; }
.docs-search .input { height: 50px; border: 0; border-radius: var(--radius-sm); padding: 0 20px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.docs-search .input::placeholder { color: #adb5bd; }
.docs-content { position: relative; z-index: 2; margin-top: -40px; }

.doc-category { margin-bottom: 24px; }
.doc-category .card-header span { color: var(--muted); font-size: 12px; }
.doc-list { display: grid; }
.doc-item { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.doc-item:last-child { border-bottom: 0; padding-bottom: 0; }
.doc-item:first-child { padding-top: 0; }
.doc-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: var(--primary); background: rgba(var(--primary-rgb), .1); }
.doc-icon .icon { width: 18px; height: 18px; }
.doc-info { flex: 1; min-width: 0; display: grid; gap: 4px; }
.doc-info b { font-size: 14px; color: var(--ink); }
.doc-info small { color: var(--muted); font-size: 12px; }

.node-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.node-card { padding: 0; overflow: hidden; }
.node-card-top { height: 6px; background: linear-gradient(90deg, var(--primary), #825ee4); }
.node-card.offline .node-card-top { background: linear-gradient(90deg, var(--danger), #f56036); }
.node-card-body { padding: 24px; }
.node-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.node-head > div { min-width: 0; flex: 1; }
.node-head h2 { overflow: hidden; margin: 0; font-size: 15px; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.node-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.node-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 4px rgba(245, 54, 92, .1); }
.node-dot.online { background: var(--success); box-shadow: 0 0 0 4px rgba(45, 206, 137, .1); }

.rich-text { color: var(--body); font-size: 14px; line-height: 1.7; }
.rich-text h1, .rich-text h2, .rich-text h3 { color: var(--ink); line-height: 1.3; }
.rich-text img { max-width: 100%; border-radius: var(--radius-sm); }
.rich-text a { color: var(--primary); text-decoration: underline; }
.notice-list { display: grid; gap: 12px; }
.notice-card { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); overflow: hidden; }
.notice-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.notice-card-head strong { color: var(--ink); font-size: 13px; line-height: 1.4; }
.notice-card-head small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.notice-card-body { padding: 14px; }
.ticket-thread { display: grid; gap: 12px; margin-bottom: 22px; }
.ticket-message { width: min(88%, 420px); padding: 12px 14px; border-radius: 12px 12px 12px 4px; background: var(--surface-soft); }
.ticket-message.me { justify-self: end; border-radius: 12px 12px 4px 12px; background: rgba(var(--primary-rgb), .1); }
.ticket-message b { font-size: 11px; color: var(--ink); }
.ticket-message p { margin: 6px 0; color: var(--body); font-size: 13px; line-height: 1.5; }
.ticket-message small { color: var(--muted); font-size: 10px; }
.traffic-history { display: grid; gap: 16px; }
.traffic-row { display: grid; grid-template-columns: 105px minmax(120px, 1fr) 90px; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.traffic-row:last-child { padding-bottom: 0; border-bottom: 0; }
.traffic-row > span, .traffic-row > b { font-size: 12px; color: var(--ink); }
.traffic-row > small { grid-column: 2 / 4; margin-top: -8px; color: var(--muted); font-size: 10px; }
.traffic-track { height: 8px; overflow: hidden; border-radius: 999px; background: var(--light); }
.traffic-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), #825ee4); }

.skeleton { position: relative; overflow: hidden; min-height: 120px; border-radius: var(--radius); background: var(--line); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: shine 1.4s infinite; }
@keyframes shine { to { transform: translateX(100%); } }

.dialog { width: min(560px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 0; overflow: auto; border: 0; border-radius: var(--radius-xl); color: var(--ink); background: var(--surface); box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgba(52, 71, 103, .45); backdrop-filter: blur(4px); }
.dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--surface); }
.dialog-head h3 { margin: 0; font-size: 16px; color: var(--ink); }
.dialog-body { padding: 22px; }
.ticket-close-confirm-copy { margin: 0; color: var(--body); font-size: 14px; line-height: 1.6; }
.period-list, .payment-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { min-height: 60px; display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); transition: .15s; }
.choice b { font-size: 13px; color: var(--ink); }
.choice small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.choice input:checked + span { border-color: var(--primary); background: rgba(var(--primary-rgb), .08); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .08); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

.toast-stack { position: fixed; z-index: 1000; top: 20px; right: 20px; width: min(360px, calc(100% - 40px)); display: grid; gap: 10px; }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: toast-in .25s ease-out; }
.toast .icon { color: var(--success); flex: 0 0 auto; }
.toast.error .icon { color: var(--danger); }
.toast b { display: block; font-size: 13px; color: var(--ink); }
.toast p { margin: 3px 0 0; color: var(--body); font-size: 12px; line-height: 1.5; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-9px); } }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .node-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-main-grid { grid-template-columns: 1fr; }
  .usage-metrics { grid-template-columns: repeat(3, 1fr); }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-panel { min-height: 100vh; padding: 24px; }
  .visual-stats { display: none; }
}

@media (max-width: 800px) {
  :root { --sidebar: 0px; }
  .sidebar, .topbar { display: none; }
  .main { margin-left: 0; }
  .mobile-brand { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .mobile-menu-trigger { flex: 0 0 auto; }
  .mobile-brand .brand { min-width: 0; max-width: 42%; }
  .mobile-brand .brand strong { font-size: 15px; }
  .mobile-topbar-actions { gap: 6px; }
  .mobile-topbar-actions .topbar-btn,
  .mobile-topbar-actions .icon-btn,
  .mobile-topbar-actions .avatar { width: 34px; height: 34px; }
  .mobile-topbar-actions .topbar-btn { justify-content: center; padding: 0; }
  .mobile-topbar-actions .topbar-btn span { display: none; }
  .mobile-topbar-actions .dropdown-menu { top: calc(100% + 6px); min-width: 140px; }
  .mobile-topbar-actions .ticket-notice-menu { min-width: 280px; max-width: calc(100vw - 20px); }
  .mobile-topbar-actions .notify-badge { min-width: 16px; height: 16px; font-size: 9px; top: -5px; right: -5px; }
  body.mobile-menu-open { overflow: hidden; }
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1250;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(17, 24, 39, .38);
    transition: opacity .2s ease;
  }
  .mobile-menu-drawer {
    position: fixed;
    z-index: 1260;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 320px);
    display: flex;
    flex-direction: column;
    padding: 14px 12px calc(14px + env(safe-area-inset-bottom));
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transform: translateX(-105%);
    transition: transform .22s ease;
    overflow-y: auto;
  }
  .mobile-menu-head {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 4px 8px;
    border-bottom: 1px solid var(--line);
  }
  body.mobile-menu-open .mobile-menu-backdrop { opacity: 1; pointer-events: auto; }
  body.mobile-menu-open .mobile-menu-drawer { transform: translateX(0); }
  .mobile-menu-drawer .nav { margin-top: 12px; }
  .mobile-menu-drawer .sidebar-bottom { margin-top: 14px; padding-top: 14px; }
  .mobile-menu-drawer .nav-link { min-height: 42px; }
  .mobile-nav {
    position: fixed;
    z-index: 1200;
    left: calc(12px + env(safe-area-inset-left));
    right: calc(12px + env(safe-area-inset-right));
    bottom: calc(10px + env(safe-area-inset-bottom));
    height: 60px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 6px;
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
  }
  .mobile-nav .nav-link { min-height: 46px; flex-direction: column; justify-content: center; gap: 3px; padding: 0; border-radius: 12px; font-size: 9px; }
  .mobile-nav .icon { width: 18px; height: 18px; }
  .content {
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: calc(18px + env(safe-area-inset-left));
    padding-right: calc(18px + env(safe-area-inset-right));
  }
  .page-head { flex-direction: column; align-items: flex-start; }
  .dashboard-header { margin: 0 0 18px; padding: 28px 18px; border-radius: var(--radius); }
  .dashboard-header-body { flex-direction: column; align-items: flex-start; gap: 14px; }
  .dashboard-header .docs-search { width: 100%; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .usage-metrics { grid-template-columns: 1fr; }
  .period-list, .payment-list { grid-template-columns: 1fr; }
  .dialog { width: calc(100% - 14px); max-height: calc(100vh - 14px); border-radius: 20px; }
  .dialog-head { padding: 14px 14px; gap: 10px; }
  .dialog-head h3 { font-size: 19px; line-height: 1.25; }
  .dialog-head small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }
  .dialog-head .icon-btn { width: 40px; height: 40px; flex: 0 0 auto; }
  .dialog-body { padding: 14px; }
  .dialog-body.rich-text,
  .notice-card-body { font-size: 14px; line-height: 1.72; word-break: break-word; overflow-wrap: anywhere; }
  .notice-list { gap: 10px; }
  .notice-card-head { align-items: flex-start; padding: 10px 12px; }
  .notice-card-head strong { font-size: 15px; line-height: 1.35; }
  .notice-card-head small { white-space: nowrap; font-size: 12px; }
  .notice-card-body { padding: 12px; }
  .subscribe-url { white-space: normal; word-break: break-all; }
  .notify-item { min-height: 60px; }
  .notify-copy b { font-size: 15px; }
  .notify-copy p { font-size: 12px; }
  .quick-subscribe-actions { grid-template-columns: 1fr; }
  .quick-subscribe-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-client-list { grid-template-columns: 1fr; }
  .switch-toggle { width: 52px; height: 28px; }
  .switch-toggle span { width: 22px; height: 22px; }
  .switch-toggle.on span { transform: translateX(24px); }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .node-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stat-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .traffic-row { grid-template-columns: 80px 1fr 60px; gap: 8px; }
  .subscribe-box { flex-direction: column; align-items: stretch; }
  .subscribe-box .btn { width: 100%; }
  .subscribe-reset-card { flex-direction: column; align-items: stretch; }
  .subscribe-reset-card .btn { width: 100%; }
  .table th, .table td { padding-left: 12px; padding-right: 12px; }
  .auth-main { padding: 40px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.node-flag { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.08); object-fit: cover; display: block; }
