:root {
  --primary: #1677ff;
  --primary-2: #36cfc9;
  --primary-dark: #0958d9;
  --primary-soft: #eaf3ff;
  --navy: #0b1220;
  --navy-2: #111c31;
  --ink: #152036;
  --muted: #697586;
  --line: #e5eaf1;
  --bg: #f4f7fb;
  --card: #ffffff;
  --ok: #079455;
  --ok-soft: #ecfdf3;
  --warn: #dc6803;
  --warn-soft: #fffaeb;
  --bad: #d92d20;
  --bad-soft: #fff4f2;
  --blue: #175cd3;
  --blue-soft: #eff8ff;
  --shadow: 0 18px 50px rgba(25, 46, 84, .08), 0 2px 8px rgba(25, 46, 84, .04);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.public-body {
  background:
    radial-gradient(circle at 12% 4%, rgba(22,119,255,.13), transparent 30%),
    radial-gradient(circle at 92% 26%, rgba(54,207,201,.10), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f3f6fb 70%);
}
a { color: var(--primary); text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 10px 17px;
  background: linear-gradient(135deg, var(--primary), #408cff);
  color: #fff;
  box-shadow: 0 6px 16px rgba(22,119,255,.18);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
button:hover, .btn:hover { transform: translateY(-1px); box-shadow: 0 9px 22px rgba(22,119,255,.24); }
button:active, .btn:active { transform: translateY(0); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(22,119,255,.22); outline-offset: 2px; }
button.ghost, .btn.ghost { background: #fff; color: #344054; border-color: #d9e0ea; box-shadow: none; }
button.ghost:hover, .btn.ghost:hover { background: #f8fafc; border-color: #b9c5d5; box-shadow: none; }
button.warn { background: var(--warn); }
button.bad { background: var(--bad); box-shadow: none; }
button:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8e0eb;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  padding: 10px 13px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(22,119,255,.10); }
input::placeholder, textarea::placeholder { color: #9aa5b5; }
input[type="checkbox"] { width: 17px; min-height: 17px; accent-color: var(--primary); }
label { display: block; font-size: 12px; font-weight: 550; color: #526075; margin-bottom: 7px; }
textarea { resize: vertical; line-height: 1.6; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 9px; font-size: 29px; letter-spacing: -.7px; }
h2 { font-size: 18px; }
hr { border: 0; border-top: 1px solid var(--line); }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row > * { flex: 1; }
.card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(222,230,240,.9);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 27px;
}
.sub { color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.center { min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; padding: 28px 20px; }
.mark { width: 58px; height: 58px; border-radius: 17px; background: linear-gradient(145deg, var(--primary), #57a5ff); color: #fff; display: grid; place-items: center; font-size: 21px; font-weight: 800; margin-bottom: 18px; box-shadow: 0 12px 28px rgba(22,119,255,.25); }
.err { color: var(--bad); min-height: 22px; font-size: 13px; line-height: 1.55; }
.okc { color: var(--ok); font-size: 13px; line-height: 1.55; }
.top {
  height: 72px;
  padding: 0 max(24px, calc((100vw - 1180px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(219,228,239,.8);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 10;
}
.top b { font-size: 16px; }
.top span { color: var(--muted); font-size: 12px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: #fff; font-weight: 800; background: linear-gradient(145deg, var(--primary), #55a7ff); box-shadow: 0 7px 18px rgba(22,119,255,.22); }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-text small { color: #8a96a8; font-size: 9px; letter-spacing: 1.4px; font-weight: 650; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 28px 24px; }
.note { background: var(--primary-soft); color: #2456a6; border: 1px solid #d5e6ff; border-radius: 12px; padding: 12px 15px; margin: 14px 0; font-size: 13px; line-height: 1.7; }

/* 首页与状态页 */
.home-card { width: min(100%, 540px); text-align: center; padding: 38px; }
.home-card .mark, .status-card .mark { margin-left: auto; margin-right: auto; }
.home-card h1 { font-size: 32px; }
.home-card .sub { max-width: 410px; margin-left: auto; margin-right: auto; }
.home-form { display: flex; gap: 10px; margin-top: 24px; }
.home-form input { flex: 1; text-align: center; letter-spacing: 2px; font-weight: 650; }
.home-form button { flex: 0 0 auto; }
.home-foot { margin-top: 22px; color: #8a96a8; font-size: 11px; }
.status-card { width: min(100%, 500px); text-align: center; padding: 38px; }
.status-card .code-chip { margin: 18px auto 24px; }
.code-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: #f1f5fb; color: #44536a; font: 600 12px/1.2 ui-monospace, monospace; letter-spacing: .5px; }
.login-card .card-head { margin-bottom: 21px; }
.login-card .card-head h2 { margin-bottom: 7px; font-size: 21px; }
.login-card .card-head p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

/* 兑换页 */
.redeem-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(390px, .78fr); gap: 64px; align-items: center; min-height: calc(100vh - 144px); padding: 42px 0; }
.hero-panel { padding: 20px 0; }
.product-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #d5e5fb; border-radius: 999px; background: rgba(255,255,255,.75); color: var(--primary-dark); font-size: 11px; font-weight: 750; letter-spacing: 1.1px; }
.product-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-2); box-shadow: 0 0 0 4px rgba(54,207,201,.12); }
.hero-panel h1 { margin: 22px 0 17px; max-width: 550px; font-size: clamp(38px, 4.2vw, 57px); line-height: 1.13; letter-spacing: -2px; }
.hero-panel h1 span { color: var(--primary); }
.hero-desc { max-width: 500px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 31px; }
.feature-item { padding: 15px 14px; border: 1px solid rgba(220,229,240,.8); border-radius: 14px; background: rgba(255,255,255,.65); }
.feature-item b { display: block; font-size: 13px; margin-bottom: 5px; }
.feature-item span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.login-card { width: 100%; max-width: 460px; justify-self: end; padding: 29px; position: relative; overflow: hidden; }
.login-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.login-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; border-radius: 12px; background: #f0f4f9; margin-bottom: 22px; }
.login-tabs button { min-height: 39px; border: 0; border-radius: 9px; background: transparent; color: #6c7889; box-shadow: none; font-weight: 600; }
.login-tabs button:hover { transform: none; box-shadow: none; }
.login-tabs button.on { background: #fff; color: var(--primary); box-shadow: 0 3px 10px rgba(31,52,81,.08); }
.field { margin-bottom: 15px; }
.input-action { display: flex; gap: 9px; }
.input-action input { flex: 1; min-width: 0; }
.input-action button { flex: 0 0 116px; padding-left: 10px; padding-right: 10px; }
.check-line { display: flex; align-items: flex-start; gap: 8px; margin: 5px 0 17px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.check-line input { flex: 0 0 16px; margin-top: 1px; }
.primary-wide { width: 100%; min-height: 46px; }
.form-foot { margin: 15px 0 0; color: #8a96a8; font-size: 10px; line-height: 1.65; text-align: center; }
.qr-box { width: 218px; height: 218px; margin: 7px auto 17px; padding: 9px; border: 1px solid var(--line); border-radius: 17px; display: grid; place-items: center; background: #fff; box-shadow: 0 9px 24px rgba(29,54,89,.07); }
.qr-box img { width: 200px; height: 200px; display: block; }
.qr-help { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.7; }
.charge-mask { position: fixed; inset: 0; background: rgba(7,18,35,.58); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 60; }
.charge-mask.show { display: flex; }
.charge-box { width: min(92vw, 390px); background: #fff; border-radius: 23px; padding: 32px 28px; text-align: center; box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.spinner { width: 50px; height: 50px; margin: 0 auto 19px; border: 4px solid #e2efff; border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
.charge-box h2 { margin-bottom: 9px; }
.charge-box p { margin-bottom: 0; }
.progress-steps { display: flex; justify-content: center; gap: 7px; margin-top: 22px; }
.progress-steps i { width: 26px; height: 4px; border-radius: 4px; background: #e4ebf4; }
.progress-steps i.on { background: var(--primary); }

/* 管理后台 */
.admin-body { background: #f3f6fa; }
.admin-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.admin-side { position: sticky; top: 0; height: 100vh; background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; padding: 25px 16px 18px; display: flex; flex-direction: column; z-index: 20; }
.admin-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 28px; }
.admin-logo { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, var(--primary), #51a2ff); font-size: 17px; font-weight: 800; box-shadow: 0 8px 24px rgba(22,119,255,.26); }
.admin-brand strong { display: block; font-size: 14px; }
.admin-brand small { display: block; margin-top: 4px; color: #72809a; font-size: 9px; letter-spacing: 1.15px; }
.admin-nav { display: flex; flex-direction: column; gap: 5px; }
.admin-nav button { justify-content: flex-start; background: transparent; color: #8996ad; border: 0; padding: 12px 14px; box-shadow: none; font-weight: 550; }
.admin-nav button:hover { background: rgba(255,255,255,.055); color: #fff; transform: none; box-shadow: none; }
.admin-nav button.on { background: rgba(22,119,255,.18); color: #77b5ff; }
.admin-nav .nav-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.admin-side-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.07); padding: 17px 10px 2px; color: #72809a; font-size: 10px; line-height: 1.8; }
.online-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #32d583; margin-right: 7px; box-shadow: 0 0 0 4px rgba(50,213,131,.09); }
.admin-main { min-width: 0; padding: 27px 30px 42px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.admin-head h1 { margin-bottom: 6px; font-size: 28px; }
.admin-head p { margin: 0; color: var(--muted); font-size: 12px; }
.head-actions { display: flex; align-items: center; gap: 9px; }
.domain-chip, .health-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: #5b687b; font-size: 11px; }
.health-pill { color: var(--ok); background: var(--ok-soft); border-color: #d5f4e2; }
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 17px; box-shadow: 0 3px 12px rgba(28,48,77,.025); }
.stat::after { content: ""; position: absolute; width: 50px; height: 50px; right: -18px; top: -20px; border-radius: 50%; background: #edf4ff; }
.stat em { display: block; color: var(--muted); font-style: normal; font-size: 11px; white-space: nowrap; }
.stat strong { display: block; margin-top: 10px; color: #1c3252; font-size: 26px; line-height: 1; letter-spacing: -.7px; }
.stat:nth-child(3n+2) strong { color: var(--blue); }
.stat:nth-child(3n+3) strong { color: var(--ok); }
.admin-section { display: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 30px rgba(28,48,77,.045); overflow: hidden; }
.admin-section.active { display: block; animation: enter .2s ease-out; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 21px 15px; }
.section-head h2 { margin: 0; font-size: 16px; }
.section-head span { color: var(--muted); font-size: 11px; }
.section-body { padding: 0 21px 22px; }
.tools { display: flex; gap: 9px; align-items: center; margin: 0 0 16px; flex-wrap: wrap; }
.tools input, .tools select { width: auto; min-width: 135px; min-height: 40px; font-size: 12px; }
.tools .grow { flex: 1; min-width: 180px; }
.tools .spacer { flex: 1; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 12px; }
th, td { padding: 13px; border-bottom: 1px solid #edf1f5; text-align: left; vertical-align: middle; white-space: nowrap; }
th { background: #f8fafc; color: #526075; font-size: 11px; font-weight: 650; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fbfdff; }
td.muted, .muted { color: var(--muted); }
.table-min { min-width: 860px; }
.table-wrap .empty { padding: 40px 18px; text-align: center; color: var(--muted); }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 9px; background: var(--blue-soft); color: var(--blue); font-size: 10px; font-weight: 650; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pager { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 16px; color: var(--muted); font-size: 12px; }
.pager button { min-height: 35px; padding: 7px 12px; }
.make-grid, .settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.make-card, .setting-card { border: 1px solid var(--line); border-radius: 15px; padding: 21px; background: #fff; }
.make-card h2, .setting-card h2 { margin-bottom: 8px; font-size: 16px; }
.make-card p, .setting-card > p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.setting-card .field:last-child { margin-bottom: 0; }
.setting-card.wide { grid-column: 1 / -1; }
.setting-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.setting-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.switch-line { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 45px; padding: 9px 0; }
.switch-line span { color: #44536a; font-size: 13px; }
.switch-line small { display: block; color: var(--muted); margin-top: 3px; font-size: 10px; }
.switch { position: relative; width: 42px; height: 24px; flex: 0 0 42px; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #cbd5e1; cursor: pointer; transition: .2s; }
.switch i::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.16); transition: .2s; }
.switch input:checked + i { background: var(--primary); }
.switch input:checked + i::after { transform: translateX(18px); }
.settings-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.settings-actions p { margin: 0; color: var(--muted); font-size: 11px; }
.proxy-result { margin-top: 17px; }
.proxy-result .pill { font-family: ui-monospace, monospace; }
.danger-zone { border-color: #fecdca; background: #fffcfb; }
.danger-zone h2 { color: #b42318; }
.mask { position: fixed; inset: 0; background: rgba(7,18,35,.58); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 70; }
.mask.show { display: flex; }
.dialog { width: min(470px, 100%); max-height: 90vh; overflow-y: auto; }
.dialog h1 { font-size: 21px; }
.dialog label { margin-top: 13px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 90; max-width: min(390px, calc(100vw - 32px)); padding: 13px 17px; border-radius: 12px; background: #142238; color: #fff; box-shadow: 0 14px 40px rgba(17,24,39,.24); font-size: 12px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.bad { background: #b42318; }
.loading { display: inline-block; width: 14px; height: 14px; border: 2px solid #dbe8f8; border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes enter { from { opacity: .4; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1240px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-main { padding: 23px 22px 34px; }
  .redeem-layout { gap: 35px; }
}
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 78px minmax(0, 1fr); }
  .admin-side { padding: 22px 11px; }
  .admin-brand { justify-content: center; padding: 0 0 24px; }
  .admin-brand > div:last-child, .admin-side-foot { display: none; }
  .admin-nav button { justify-content: center; padding: 11px 7px; font-size: 11px; }
  .admin-nav .nav-dot { display: none; }
  .make-grid, .settings-grid { grid-template-columns: 1fr; }
  .setting-card.wide { grid-column: auto; }
  .redeem-layout { grid-template-columns: 1fr; gap: 18px; padding-top: 30px; }
  .hero-panel { text-align: center; padding: 0; }
  .hero-panel h1, .hero-desc { margin-left: auto; margin-right: auto; }
  .login-card { justify-self: center; }
}
@media (max-width: 650px) {
  .top { height: 64px; padding: 0 16px; }
  .top > span:not(.brand) { display: none; }
  .brand-text small { display: none; }
  .wrap { padding: 18px 15px; }
  .center { min-height: calc(100vh - 64px); padding: 18px 14px; }
  .home-card, .status-card { padding: 28px 21px; }
  .home-card h1 { font-size: 27px; }
  .home-form { flex-direction: column; }
  .hero-panel h1 { font-size: 35px; letter-spacing: -1.2px; margin-top: 17px; }
  .hero-desc { font-size: 13px; }
  .feature-list { gap: 7px; margin-top: 22px; }
  .feature-item { padding: 12px 8px; }
  .feature-item span { font-size: 10px; }
  .login-card { padding: 23px 19px; }
  .redeem-layout { min-height: auto; padding-bottom: 30px; }
  .admin-shell { display: block; }
  .admin-side { position: static; width: 100%; height: auto; padding: 12px 13px; display: block; }
  .admin-brand { justify-content: flex-start; padding: 0 0 12px; }
  .admin-brand > div:last-child { display: block; }
  .admin-logo { width: 36px; height: 36px; border-radius: 11px; }
  .admin-nav { flex-direction: row; overflow-x: auto; gap: 5px; }
  .admin-nav button { flex: 0 0 auto; padding: 9px 11px; }
  .admin-main { padding: 19px 14px 29px; }
  .admin-head { align-items: flex-start; }
  .admin-head h1 { font-size: 23px; }
  .domain-chip, .health-pill { display: none; }
  .head-actions { gap: 6px; }
  .head-actions button, .head-actions a { padding: 8px 10px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .stat { padding: 14px; }
  .stat strong { font-size: 23px; }
  .section-head, .section-body { padding-left: 14px; padding-right: 14px; }
  .tools input, .tools select { flex: 1; min-width: 120px; width: 100%; }
  .setting-row, .setting-row.three { grid-template-columns: 1fr; }
  .settings-actions { align-items: stretch; flex-direction: column; }
  .settings-actions .row { width: 100%; }
  .card { padding: 22px; }
  .toast { right: 16px; bottom: 16px; }
  .input-action button { flex-basis: 105px; font-size: 12px; }
}
.step-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 7px; background: #eef4ff; color: #295bb5; font-size: 10px; font-weight: 650; white-space: nowrap; }
.step-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.table-actions { display: flex; gap: 6px; align-items: center; }
.table-actions button { min-height: 32px; padding: 6px 10px; font-size: 11px; }
.log-dialog { width: min(780px, 100%); }
.log-list { max-height: 56vh; overflow-y: auto; padding-right: 4px; }
.log-item { padding: 13px 0; border-bottom: 1px solid var(--line); }
.log-item:last-child { border-bottom: 0; }
.log-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 10px; }
.log-level { margin-left: auto; padding: 2px 6px; border-radius: 5px; background: #f1f5f9; }
.log-level.error { color: var(--bad); background: var(--bad-soft); }
.log-level.warning { color: var(--warn); background: var(--warn-soft); }
.log-message { margin-top: 8px; color: #344054; font-size: 12px; line-height: 1.65; white-space: normal; word-break: break-word; }
.log-list .empty { text-align: center; color: var(--muted); padding: 35px 10px; font-size: 12px; }
/* Horizontal administration navigation */
.admin-shell { display: block; }
.admin-side { position: sticky; top: 0; width: 100%; height: auto; min-height: 70px; padding: 12px 24px; flex-direction: row; align-items: center; gap: 26px; }
.admin-brand { padding: 0; flex: 0 0 auto; }
.admin-logo { width: 38px; height: 38px; border-radius: 11px; }
.admin-nav { flex: 1; flex-direction: row; overflow-x: auto; gap: 6px; }
.admin-nav button { white-space: nowrap; }
.admin-side-foot { margin: 0 0 0 auto; border-top: 0; padding: 0; white-space: nowrap; }
.admin-main { padding: 24px 30px 40px; }
@media (max-width: 900px) {
  .admin-side { padding: 12px 18px; gap: 18px; }
  .admin-brand { justify-content: flex-start; padding: 0; }
  .admin-brand > div:last-child { display: block; }
  .admin-side-foot { display: none; }
  .admin-nav button { justify-content: flex-start; padding: 10px 11px; }
}
@media (max-width: 650px) {
  .admin-side { display: flex; flex-wrap: wrap; padding: 12px 14px; gap: 12px; }
  .admin-brand { padding: 0; }
  .admin-nav { order: 3; flex: 0 0 100%; width: 100%; }
  .admin-main { padding: 19px 14px 29px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
