:root {
  --red: #ff2442;
  --red-deep: #c81e36;
  --ink: #101218;
  --muted: #6b7285;
  --line: rgba(16, 18, 24, 0.08);
  --line-2: rgba(16, 18, 24, 0.14);
  --bg: #eef0f4;
  --card: #ffffff;
  --side: #0c0e14;
  --side-2: #151821;
  --ok: #0b9f73;
  --warn: #c98400;
  --info: #3b6cff;
  --bad: #e11d3a;
  --shadow: 0 1px 0 rgba(16,18,24,.04), 0 18px 40px rgba(16,18,24,.06);
  --r: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #app { min-height: 100%; }
body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", ui-sans-serif, sans-serif;
  background:
    radial-gradient(1200px 480px at 80% -10%, rgba(255,36,66,.08), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: .01em;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
}
.login__art {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 48px 56px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(800px 420px at 110% 0%, rgba(255,80,100,.35), transparent 55%),
    radial-gradient(700px 500px at -20% 110%, rgba(255,36,66,.5), transparent 50%),
    linear-gradient(165deg, #0c0e14 0%, #17141a 48%, #1c1014 100%);
}
.login__art::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .18;
  pointer-events: none;
}
.login__orb {
  position: absolute; width: 280px; height: 280px; right: -40px; top: 18%;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #ff2442, #ff8aa0, #7b5cff, #ff2442);
  filter: blur(8px); opacity: .55;
}
.login__kicker {
  margin-top: 36px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.login__title {
  margin-top: 14px; font-size: 48px; line-height: 1.12; font-weight: 620;
  max-width: 460px; letter-spacing: -.03em;
}
.login__sub { margin-top: 16px; max-width: 380px; line-height: 1.75; color: rgba(255,255,255,.62); }
.login__pills { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.login__pills span {
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  padding: 6px 12px; font-size: 12px; color: rgba(255,255,255,.72);
}
.login__meta { position: relative; color: rgba(255,255,255,.38); font-size: 12px; }
.login__form { display: grid; place-items: center; padding: 40px 28px; }
.card-form {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 32px 28px;
  box-shadow: var(--shadow);
}
.card-form h2 { font-size: 24px; letter-spacing: -.03em; }
.card-form p.lead { color: var(--muted); margin: 8px 0 26px; }

.mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(145deg, #ff4d66, #ff2442);
  display: grid; place-items: center;
  color: #fff; font-weight: 760; font-size: 20px;
  box-shadow: 0 8px 20px rgba(255,36,66,.28);
}

label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line-2); background: #fbfbfc;
  border-radius: 11px; padding: 11px 13px; outline: none;
  transition: border .15s, box-shadow .15s, background .15s;
}
textarea { min-height: 92px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  background: #fff; border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(255,36,66,.12);
}
.field { margin-bottom: 14px; }
.grid-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-fields .span-2 { grid-column: 1 / -1; }
.field-unit { display: flex; align-items: center; gap: 8px; }
.field-unit input { flex: 1; }
.field-unit span { flex: 0 0 auto; color: var(--muted); font-size: 13px; min-width: 1.2em; }
.switch {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  color: var(--ink); font-size: 14px; font-weight: 560;
}
.switch input { width: 18px; height: 18px; accent-color: var(--red); flex: 0 0 auto; }
.set-page { max-width: 920px; }
.set-meta { margin: 0 0 12px !important; }
.set-sec { margin-bottom: 12px; }
.set-sec h3 { margin-bottom: 16px; }
.set-actions {
  position: sticky; bottom: 12px;
  padding: 12px 0 4px;
  background: linear-gradient(180deg, transparent, var(--bg) 28%);
}

.btn {
  appearance: none; border: 0; font-weight: 620;
  border-radius: 11px; padding: 11px 16px;
  transition: transform .12s, background .15s, opacity .15s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-block { width: 100%; margin-top: 6px; }
.btn-ghost {
  background: #fff; border: 1px solid var(--line-2); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font-size: 13px;
}
.btn-ghost:hover { background: #f6f7f9; }
.btn-mini {
  border: 0; background: rgba(255,36,66,.08); color: var(--red);
  border-radius: 8px; padding: 5px 10px; font-size: 12px; font-weight: 620; margin-right: 6px;
}
.btn-mini.ok { background: rgba(11,159,115,.1); color: var(--ok); }
.btn-mini.warn { background: rgba(201,132,0,.12); color: var(--warn); }
.btn-mini.bad { background: rgba(225,29,58,.1); color: var(--bad); }
.btn-mini.info { background: rgba(59,108,255,.1); color: var(--info); }
.hint { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.err { color: var(--bad); font-size: 13px; margin-top: 8px; min-height: 18px; }

.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh;
  background: linear-gradient(180deg, var(--side) 0%, var(--side-2) 100%);
  color: #eef0f5;
  padding: 18px 12px 16px;
  display: flex; flex-direction: column;
}
.side__brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 18px; }
.side__brand b { font-size: 15px; letter-spacing: -.02em; }
.side__brand span { display: block; font-size: 11px; color: rgba(238,240,245,.42); font-weight: 400; }
.nav { overflow: auto; flex: 1; padding-bottom: 12px; }
.nav a, .nav-fold {
  display: flex; align-items: center; gap: 10px;
  color: rgba(238,240,245,.62); text-decoration: none;
  padding: 9px 12px; border-radius: 10px; font-size: 13px; margin-bottom: 2px;
}
.nav a svg, .nav-fold svg { opacity: .7; flex: 0 0 auto; }
.nav a.on { background: rgba(255,36,66,.16); color: #fff; }
.nav a.on svg { opacity: 1; }
.nav a:hover, .nav-fold:hover { background: rgba(255,255,255,.05); color: #fff; }
.nav-fold {
  width: 100%; border: 0; background: transparent; cursor: pointer;
  font: inherit; text-align: left; color: rgba(238,240,245,.78);
}
.nav-fold span { flex: 1; }
.nav-fold .chev { margin-left: auto; opacity: .38; transition: transform .18s ease; }
.nav-group.open .nav-fold .chev { transform: rotate(180deg); opacity: .7; }
.nav-group.active > .nav-fold { color: #fff; }
.nav-group.active > .nav-fold svg { opacity: .95; }
.nav-sub {
  display: none;
  margin: 0 0 6px 18px;
  padding: 2px 0 4px;
  border-left: 1px solid rgba(255,255,255,.08);
}
.nav-group.open > .nav-sub { display: block; }
.nav-sub a { padding: 7px 10px; font-size: 12.5px; margin: 0 0 1px 6px; }
.nav .sec {
  margin: 14px 12px 6px; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(238,240,245,.28);
}
.side__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04);
  font-size: 12px; color: rgba(238,240,245,.55);
}
.side__foot .btn-ghost {
  background: transparent; color: rgba(238,240,245,.7);
  border-color: rgba(255,255,255,.12); padding: 5px 10px; font-size: 12px;
}
.card-form .btn { width: 100%; }

.main { min-width: 0; padding: 22px 28px 48px; }
.top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; gap: 16px; }
.top h1 { font-size: 28px; letter-spacing: -.04em; line-height: 1.15; font-weight: 680; }
.top p { color: var(--muted); margin-top: 6px; font-size: 13px; }
.top-actions { display: flex; gap: 8px; align-items: center; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 16px 14px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.kpi::after {
  content: ""; position: absolute; right: -20px; top: -20px; width: 80px; height: 80px;
  border-radius: 50%; background: rgba(255,36,66,.06);
}
.kpi em { font-style: normal; font-size: 12px; color: var(--muted); }
.kpi b { display: block; font-size: 28px; margin-top: 8px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.kpi span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.kpi.click { cursor: pointer; }
.kpi.click:hover { border-color: rgba(255,36,66,.35); }

.grid-2 { display: grid; grid-template-columns: 1.35fr .65fr; gap: 12px; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; box-shadow: var(--shadow);
}
.panel h3 { font-size: 14px; margin-bottom: 14px; letter-spacing: -.02em; }
.mt { margin-top: 12px; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 148px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.bar i {
  display: block; width: 100%; max-width: 28px; border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, #ff7a8c, #ff2442);
}
.bar small { color: var(--muted); font-size: 11px; }
.todo {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; cursor: pointer;
}
.todo:last-child { border-bottom: 0; }
.todo:hover span { color: var(--red); }
.todo b { color: var(--red); font-variant-numeric: tabular-nums; }

.toolbar { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; align-items: center; }
.toolbar input { max-width: 280px; background: #fff; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line-2); background: #fff; border-radius: 999px;
  padding: 6px 12px; font-size: 12px; color: var(--muted);
}
.chip.on { border-color: var(--red); color: var(--red); background: rgba(255,36,66,.06); font-weight: 620; }

.table-wrap { overflow: auto; max-height: min(68vh, 720px); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left; color: var(--muted); font-weight: 500;
  padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
tr:hover td { background: rgba(255,36,66,.025); }
.num { font-variant-numeric: tabular-nums; font-weight: 620; }

.pill {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 560;
}
.pill.ok { background: #e7f8f1; color: #0b9f73; }
.pill.warn { background: #fff4de; color: #c98400; }
.pill.bad { background: #ffe8ec; color: #e11d3a; }
.pill.info { background: #eaf0ff; color: #3b6cff; }
.pill.mute { background: #f2f3f5; color: #6b7285; }

.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty b { display: block; color: var(--ink); margin-bottom: 6px; font-size: 15px; }

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.pager__info { font-size: 12px; color: var(--muted); }
.pager__btns { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pager__num, .pager__nav {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 13px;
  color: var(--ink);
}
.pager__num.on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 650;
}
.pager__num:hover, .pager__nav:hover { border-color: var(--red); color: var(--red); }
.pager__num.on:hover { color: #fff; }
.pager__nav:disabled { opacity: .38; cursor: not-allowed; }
.pager__nav:disabled:hover { border-color: var(--line-2); color: var(--ink); }

.modal-bg {
  position: fixed; inset: 0; background: rgba(10,12,18,.46);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; z-index: 80;
  padding: 20px;
}
.modal {
  width: min(560px, 100%); background: var(--card);
  border-radius: 18px; padding: 22px 22px 18px; max-height: 86vh; overflow: auto;
  box-shadow: 0 30px 80px rgba(10,12,18,.28);
}
.modal h3 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 16px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.modal .btn-red { width: auto; }
.modal.wide { width: min(920px, 100%); }
.course-cell b { display: block; font-weight: 650; }
.course-cell span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.ep-head { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 10px; }
.ep-head b { font-size: 14px; }
.ep-row {
  display: grid; grid-template-columns: 1.4fr 90px 1.8fr 72px 44px;
  gap: 8px; align-items: center; margin-bottom: 8px;
}
.ep-row input { margin: 0; }
.ep-preview { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 720px) {
  .ep-row { grid-template-columns: 1fr; }
}

.chat-layout { display: grid; grid-template-columns: 300px 1fr; gap: 12px; min-height: 64vh; }
.chat-list { overflow: auto; max-height: 72vh; padding-top: 12px; }
.chat-list__bar { display: flex; gap: 8px; margin-bottom: 10px; align-items: center; }
.chat-list__bar input { flex: 1; background: #fff; }
.chat-item { padding: 12px; border-radius: 12px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; }
.chat-item__body { min-width: 0; flex: 1; }
.user-ava {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  background: #ffe8ec; flex-shrink: 0; display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #ff2442; vertical-align: middle;
}
.user-ava-wrap { position: relative; width: 36px; height: 36px; flex-shrink: 0; display: inline-block; }
.user-ava-wrap .user-ava--letter { position: absolute; inset: 0; }
.user-ava-wrap img.user-ava { position: absolute; inset: 0; z-index: 1; }
.user-ava--cs { background: #ff2442; color: #fff; }
.user-ava--letter { width: 36px; height: 36px; }
.chat-item__hd { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chat-item__hd em {
  min-width: 18px; height: 18px; padding: 0 6px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 11px; font-style: normal;
  display: inline-flex; align-items: center; justify-content: center;
}
.chat-item__meta { color: var(--muted); font-size: 11px; margin: 2px 0 4px; }
.chat-item b { display: block; margin-bottom: 0; }
.chat-item div { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-item small { color: var(--muted); font-size: 11px; }
.chat-item.on { background: rgba(255,36,66,.08); }
.chat-box { display: flex; flex-direction: column; min-height: 72vh; max-height: 72vh; position: relative; }
.desk-bar { font-size: 12px; color: var(--muted); padding: 0 0 8px; }
.desk-bar b { color: var(--ink); }
.desk-bar em {
  font-style: normal; background: var(--red); color: #fff; border-radius: 999px;
  padding: 1px 7px; font-size: 11px;
}
.chat-plus {
  position: absolute; left: 12px; right: 12px; bottom: 64px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(16,18,24,.16); max-height: 52vh; overflow: auto;
  padding: 12px; z-index: 8;
}
.chat-plus__hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.chat-plus__hd span { color: var(--muted); font-size: 12px; }
.desk-sec { margin-bottom: 12px; }
.desk-sec h4 { margin: 0 0 8px; font-size: 12px; color: var(--muted); font-weight: 700; }
.desk-item { border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 8px; background: #fafafa; }
.desk-item.is-pending { background: #fff7f8; border-color: #ffd4dc; }
.desk-item__hd { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.desk-item__meta { color: var(--muted); font-size: 12px; margin-top: 4px; }
.desk-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.btn-plus {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-size: 22px; font-weight: 700; cursor: pointer; line-height: 1; color: var(--ink);
  flex-shrink: 0;
}
.btn-plus.on { background: #ff2442; color: #fff; border-color: #ff2442; }
.chat-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
}
.chat-head__user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-head b { display: block; }
.chat-head span { color: var(--muted); font-size: 12px; }
.msgs { flex: 1; overflow: auto; padding-bottom: 8px; min-height: 240px; }
.chat-row { display: flex; align-items: flex-end; gap: 8px; margin: 10px 0; }
.chat-row.user { justify-content: flex-start; }
.chat-row.cs { justify-content: flex-end; }
.bubble { max-width: 72%; padding: 10px 12px; border-radius: 14px; margin: 0; line-height: 1.55; }
.bubble.user { background: #f3f4f7; border-top-left-radius: 4px; }
.bubble.cs { background: #ffe8ec; border-top-right-radius: 4px; }
.bubble img { max-width: 220px; max-height: 180px; border-radius: 10px; display: block; cursor: pointer; }
.chat-img-miss {
  width: 120px; height: 88px; border-radius: 10px;
  background: #f3f4f7; color: #999; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.chat-sys { text-align: center; color: var(--muted); font-size: 12px; margin: 10px 0; }
.chat-order {
  background: #fff7f8; border: 1px solid #ffd4dc; border-radius: 12px;
  padding: 10px 12px; margin: 8px 0; font-size: 13px;
}
.chat-order b { display: block; margin-bottom: 4px; }
.chat-order span { color: var(--muted); font-size: 12px; }
.chat-order.mini { margin: 0; max-width: 240px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0; }
.chat-composer { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.chat-composer input[name=content] { flex: 1; background: #fff; }

#toast {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 120; pointer-events: none;
}
.toast-item {
  background: var(--ink); color: #fff; border-radius: 999px;
  padding: 10px 16px; font-size: 13px; margin-bottom: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.loading { color: var(--muted); padding: 28px; text-align: center; }

.diy { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.phone {
  width: 280px; height: 580px; border-radius: 32px; padding: 10px;
  background: #111318; box-shadow: 0 24px 50px rgba(16,18,24,.18);
  position: sticky; top: 18px;
}
.phone__screen {
  height: 100%; border-radius: 24px; overflow: hidden; background: #f4f5f7;
  display: flex; flex-direction: column; font-size: 11px;
}
.phone__nav {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px 8px; background: #fff; border-bottom: 1px solid rgba(0,0,0,.06);
}
.phone__logo {
  width: 22px; height: 22px; border-radius: 6px; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 12px;
}
.phone__brand { font-weight: 760; font-size: 13px; }
.phone__body { flex: 1; overflow: auto; padding: 8px 10px 10px; }
.pv-hero {
  color: #fff; border-radius: 12px; padding: 10px 10px 9px; margin-bottom: 8px;
  display: flex; justify-content: space-between; align-items: center;
}
.pv-hero b { display: block; font-size: 12px; margin-top: 2px; }
.pv-hero span { font-size: 10px; opacity: .85; }
.pv-hero i {
  font-style: normal; background: #fff; border-radius: 999px;
  padding: 3px 8px; font-size: 10px; font-weight: 700;
}
.pv-entries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; background: #fff; border-radius: 12px; padding: 8px 4px; margin-bottom: 8px; text-align: center; }
.pv-entries div { font-size: 9px; color: #666; }
.pv-entries b { display: block; width: 22px; height: 22px; border-radius: 7px; margin: 0 auto 4px; }
.pv-mod { background: #fff; border-radius: 12px; padding: 8px 10px; margin-bottom: 8px; }
.pv-mod em { font-style: normal; font-weight: 740; font-size: 12px; }
.pv-mod p { color: #999; margin-top: 4px; font-size: 10px; }
.phone__tabs {
  display: flex; background: #fff; border-top: 1px solid rgba(0,0,0,.06);
  padding: 8px 0 10px;
}
.phone__tabs span { flex: 1; text-align: center; font-size: 10px; color: #b0b0b0; }
.phone__tabs span.on { font-weight: 720; }

.zip-drop {
  margin-top: 16px;
  border: 1.5px dashed var(--line-2);
  border-radius: 14px;
  padding: 28px 16px;
  text-align: center;
  background: #fafbfc;
  cursor: pointer;
}
.zip-drop:hover, .zip-drop.on {
  border-color: var(--red);
  background: rgba(255,36,66,.04);
}
.zip-drop b { display: block; font-size: 14px; }
.zip-drop p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.zip-name { margin-top: 10px; font-weight: 620; font-size: 13px; }
.ver-bar {
  display: none;
  height: 6px;
  background: #eee;
  border-radius: 99px;
  overflow: hidden;
  margin: 12px auto 0;
  max-width: 280px;
}
.ver-bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .15s linear; }
.ver-hist td { white-space: nowrap; }
.ver-hist td .hint { white-space: normal; }

.diy-panel { min-width: 0; }
.diy-tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.swatch {
  width: 36px; height: 36px; border-radius: 12px; border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(16,18,24,.12); cursor: pointer;
}
.swatch.on { box-shadow: 0 0 0 2px var(--red); }
.color-row { display: flex; align-items: center; gap: 8px; }
.color-row input[type=color] { width: 42px; height: 36px; padding: 0; border: 0; background: transparent; }
.mod-item {
  display: grid; grid-template-columns: 18px 1fr auto auto; gap: 8px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.mod-item input[type=text] { min-width: 140px; }
.icon-group { margin-bottom: 16px; }
.icon-group__hd { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 12px 0 8px; }
.icon-row { display: grid; grid-template-columns: 140px 140px 1fr; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.icon-row__name { font-size: 13px; }
.icon-row__name small { display: block; color: var(--muted); font-size: 11px; }
.copy-group { margin-bottom: 16px; }
.mod-item { grid-template-columns: 18px 1fr 120px 120px; }

@media (max-width: 1080px) {
  .kpis, .grid-2, .login, .chat-layout, .grid-fields, .diy { grid-template-columns: 1fr; }
  .shell { grid-template-columns: 1fr; }
  .side { position: relative; height: auto; }
  .login__art { display: none; }
  .phone { position: relative; }
}
