:root {
  --bg: #f3f5fd; --panel: #fff; --text: #0f172a; --muted: #64748b; --line: #e2e8f0;
  --accent: #5b3df5; --accent-soft: #efeafe; --ok: #059669; --ok-soft: #ecfdf5;
  --warn: #b45309; --warn-soft: #fffbeb; --bad: #dc2626; --bad-soft: #fef2f2;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
.topbar { display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.topbar h1 { font-size: 16px; margin: 0; flex: 1; }
.topbar .sys { color: var(--muted); font-size: 12px; }
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 20px; padding: 20px; max-width: 1280px; margin: 0 auto; }
@media (max-width: 820px) { .layout { grid-template-columns: 1fr; padding: 16px; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.card + .card { margin-top: 16px; }
.card h2 { font-size: 15px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.card h2 .grow { flex: 1; }
.screens { list-style: none; margin: 0; padding: 0; }
.screens li { padding: 10px 12px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.screens li:hover { background: var(--bg); }
.screens li.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.screens li .count { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 400; }
.btn { border: 1px solid var(--line); background: var(--panel); border-radius: 9px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.danger { color: var(--bad); }
.btn.small { padding: 4px 9px; font-size: 12px; }
.btn:disabled { opacity: .5; cursor: default; }
.push-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); margin-bottom: 16px; }
.push-bar.dirty { background: var(--warn-soft); color: var(--warn); }
.push-bar .grow { flex: 1; min-width: 200px; }
.push-bar .btn.primary { font-weight: 600; }
.url-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.url-row code { background: var(--bg); padding: 6px 10px; border-radius: 8px; word-break: break-all; flex: 1; min-width: 200px; }
.muted { color: var(--muted); }
.slides { display: flex; flex-direction: column; gap: 10px; }
.slide { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.slide.off { opacity: .5; }
.thumb { width: 112px; height: 63px; border-radius: 8px; background: #0f172a; flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 22px; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.slide .info { flex: 1; min-width: 0; }
.slide .info .title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slide .info .meta { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slide .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .slide { flex-wrap: wrap; } .slide .actions { width: 100%; justify-content: flex-start; } }
.tag { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 999px; margin-right: 6px; font-weight: 600; }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.net { background: var(--warn-soft); color: var(--warn); }
.tag.kind { background: var(--accent-soft); color: var(--accent); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 4px; font-weight: 500; }
.form label span.hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.form input[type=text], .form input[type=url], .form input[type=number], .form input[type=password], .form input[type=time], .form select, .form textarea {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.seg button { border: 0; background: transparent; padding: 6px 12px; cursor: pointer; }
.seg button.on { background: var(--accent); color: #fff; }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress div { height: 100%; background: var(--accent); width: 0; transition: width .2s; }
.error { color: var(--bad); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 13px; }
th { color: var(--muted); font-weight: 500; }
.table-wrap { overflow-x: auto; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--muted); }
.dot.on { background: var(--ok); }
.modal-bg { position: fixed; inset: 0; background: rgba(2,6,23,.55); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; z-index: 20; }
.modal { background: var(--panel); border-radius: 16px; padding: 20px; width: 100%; max-width: 560px; }
.modal h3 { margin: 0 0 14px; }
.modal .foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.login { max-width: 360px; margin: 12vh auto; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 30; max-width: calc(100% - 32px); }

/* ---------- login (SIXTY) ---------- */
body.is-login { background: #eef4fd; }
.lg { position: relative; min-height: 100vh; overflow: hidden; color: #0b1a3d; font-family: "Poppins", system-ui, sans-serif;
  background: radial-gradient(70% 60% at 10% 10%, #dfeafc 0, transparent 60%), linear-gradient(160deg, #f4f8fe 0%, #e9f1fd 55%, #dce9fb 100%); }
.lg-blob { position: absolute; top: -12vh; left: -8vw; width: 34vw; height: 34vw; border-radius: 0 0 46% 0; transform: rotate(-12deg);
  background: linear-gradient(150deg, rgba(186,212,250,.75), rgba(214,229,252,.25)); pointer-events: none; }
.lg-blob::after { content: ""; position: absolute; left: 70%; top: 20%; width: 120%; height: 60%; background: linear-gradient(120deg, rgba(255,255,255,.6), rgba(255,255,255,0)); transform: rotate(32deg); }
.lg-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 41%; }
.lg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.lg-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 22vh; min-height: 120px; pointer-events: none; z-index: 1; }
.lg-sky { position: absolute; left: 13vw; bottom: 11vh; width: min(36vw, 620px); opacity: .55; pointer-events: none; z-index: 1; }
.lg-inner { position: relative; z-index: 2; min-height: 100vh; display: flex; align-items: center; gap: clamp(24px, 2.4vw, 44px); padding: 6vh 0 18vh 5.5vw; }
.lg-left { width: min(600px, 35vw); flex: none; }
.lg-logo { display: inline-flex; align-items: center; gap: 16px; color: #0b1a3d; text-decoration: none; margin-left: 1.2vw; }
.lg-mark { width: 96px; height: 84px; flex: none; }
.lg-logo b { display: block; font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: .5px; }
.lg-logo small { display: block; font-size: 17px; font-weight: 500; margin-top: 4px; }
.lg h1 { margin: 44px 0 20px; font-size: clamp(30px, 2.7vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -.3px; }
.lg h1 em { font-style: normal; color: #1565ff; }
.lg-left > p { margin: 0 0 26px; font-size: clamp(14px, 1.05vw, 18px); line-height: 1.65; color: #2b3a5c; }
.lg-feats { display: flex; gap: 22px; flex-wrap: wrap; }
.lg-feat { width: 96px; padding: 10px 6px 12px; border-radius: 12px; background: rgba(255,255,255,.45); text-align: center; font-size: 13.5px; font-weight: 500; line-height: 1.3; color: #0b1a3d; }
.lg-feat .lg-ic { width: 32px; height: 32px; display: block; margin: 0 auto 8px; color: #0b1a3d; stroke-width: 1.6; }
.lg-loc { display: inline-flex; align-items: center; gap: 10px; margin-top: 44px; padding: 9px 16px; border-radius: 999px; background: rgba(214,228,250,.85); font-size: 14px; font-weight: 600; }
.lg-loc .lg-ic { width: 20px; height: 20px; fill: #0b1a3d; stroke: #0b1a3d; }
.lg-card { width: min(440px, 100%); flex: none; background: #fff; border-radius: 18px; padding: 30px 30px 32px; box-shadow: 0 24px 60px rgba(30,64,140,.18); margin-bottom: 4vh; }
.lg-card h2 { margin: 0 0 26px; padding-left: 14px; border-left: 4px solid #1565ff; font-size: 21px; font-weight: 600; line-height: 1.15; color: #0b1a3d; }
.lg-field { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 16px; margin-bottom: 22px; border: 1.5px solid #d6e0ef; border-radius: 12px; background: #f6f9fe; transition: border-color .2s, box-shadow .2s; }
.lg-field:focus-within { border-color: #1565ff; box-shadow: 0 0 0 4px rgba(21,101,255,.12); background: #fff; }
.lg-field .lg-ic { width: 24px; height: 24px; color: #0b1a3d; flex: none; }
.lg-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 17px "Poppins", system-ui, sans-serif; color: #0b1a3d; }
.lg-field input::placeholder { color: #7b88a3; font-weight: 400; }
.lg-eye { border: 0; background: none; padding: 4px; cursor: pointer; color: #0b1a3d; display: flex; }
.lg-eye .lg-ic { width: 24px; height: 24px; }
.lg-card .error { margin: -8px 0 14px; font-size: 13.5px; }
.lg-submit { width: 100%; height: 60px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(180deg, #1f74ff, #0b4fe0); color: #fff; font: 600 19px "Poppins", system-ui, sans-serif; box-shadow: 0 10px 24px rgba(21,101,255,.35); transition: transform .15s, filter .2s; }
.lg-submit:hover { filter: brightness(1.06); transform: translateY(-1px); }
.lg-submit:disabled { opacity: .7; cursor: default; transform: none; }
.lg-submit .lg-ic { width: 24px; height: 24px; }
@media (max-width: 1100px) {
  .lg-photo { width: 100%; opacity: .25; }
  .lg-photo img { -webkit-mask-image: none; mask-image: none; }
  .lg-inner { flex-direction: column; align-items: stretch; justify-content: center; padding: 40px 16px 140px; }
  .lg-left { width: auto; max-width: 560px; margin: 0 auto; }
  .lg-card { margin: 0 auto; }
  .lg-logo { margin-left: 0; }
  .lg-mark { width: 64px; height: 56px; }
  .lg-logo b { font-size: 40px; }
  .lg-logo small { font-size: 13px; }
  .lg h1 { margin: 24px 0 12px; font-size: 32px; }
  .lg-feats { gap: 10px; }
  .lg-feat { width: calc(25% - 8px); min-width: 74px; font-size: 12px; }
  .lg-loc { margin-top: 20px; }
  .lg-sky { left: 50%; transform: translateX(-50%); width: 90vw; bottom: 8vh; opacity: .35; }
}

/* ---------- dashboard (SIXTY) ---------- */
body:not(.is-login) { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; color: #121a3a;
  background: radial-gradient(40% 30% at 0% 0%, rgba(167,184,255,.55), transparent 70%),
              radial-gradient(35% 30% at 100% 0%, rgba(160,196,255,.55), transparent 70%),
              radial-gradient(30% 30% at 100% 100%, rgba(150,185,255,.45), transparent 70%),
              linear-gradient(180deg, #eef1fc, #f6f7fd 40%, #f1f3fc); min-height: 100vh; }
.db { min-height: 100vh; }
.db-ic { width: 18px; height: 18px; flex: none; }
.db-ic.big { width: 28px; height: 28px; }
.db-ic.violet { color: #5b3df5; } .db-ic.navy { color: #1e2a6b; }
.db-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 18px; margin: 14px 24px 0; padding: 12px 18px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px); border: 1px solid rgba(225,230,250,.9); border-radius: 18px; box-shadow: 0 8px 30px rgba(60,72,160,.08); }
.db-brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.db-brand .lg-mark { width: 38px; height: 34px; }
.db-mono { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f4b740, #e08a1e); letter-spacing: .5px; }
.db-brand-name { font-weight: 700; font-size: 14px; line-height: 1.1; max-width: 140px; text-transform: uppercase; letter-spacing: .4px; }
.db-brand-name.sixty { font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.db-vsep { width: 1px; height: 30px; background: #dde2f2; flex: none; }
.db-crumb { display: flex; align-items: center; gap: 8px; font-size: 16px; color: #3a4466; }
.db-crumb b { color: #121a3a; font-weight: 600; }
.db-crumb .sep { color: #9aa3c0; }
.db-crumb .db-ic { width: 26px; height: 26px; color: #2b3a8f; }
.db-top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.db-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: #f3f5fc; font-size: 12.5px; color: #3a4466; }
.db-chip.plain { background: transparent; }
.db-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: middle; }
.db-chip .db-dot, .db-dot.on { background: #22c55e; margin-right: 0; }
td .db-dot { background: #8b7cf6; } td .db-dot.on { background: #22c55e; } td .db-dot.off { background: #a5adc6; }
.db-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 11px; border: 1px solid #e2e6f3;
  background: #fff; color: #121a3a; font: 600 13px "Poppins", system-ui, sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap; transition: border-color .15s, box-shadow .15s, transform .15s, background .15s; }
.db-btn:hover { border-color: #b9b0fb; box-shadow: 0 4px 14px rgba(91,61,245,.12); }
.db-btn:disabled { opacity: .5; cursor: default; }
.db-btn.primary { background: linear-gradient(180deg, #6a4ff7, #4f33e6); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(91,61,245,.3); }
.db-btn.primary:hover { filter: brightness(1.06); }
.db-btn.primary.big { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 14px; }
.db-btn.danger { background: #fff1f2; border-color: #fde2e4; color: #e11d48; }
.db-btn.outline { border-color: #c9bffc; color: #4f33e6; }
.db-btn.warn { background: #fff; border-color: #fde7c2; color: #c2410c; height: 34px; }
.db-iconbtn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #e2e6f3; background: #fff; color: #3a4466; cursor: pointer; }
.db-iconbtn:hover { border-color: #b9b0fb; color: #4f33e6; }
.db-iconbtn.danger:hover { border-color: #fecdd3; color: #e11d48; }
.db-iconbtn:disabled { opacity: .4; cursor: default; }
.db-main { padding: 18px 24px 40px; max-width: 1700px; margin: 0 auto; }
.db-stack { display: flex; flex-direction: column; gap: 18px; }
.db-card { position: relative; background: rgba(255,255,255,.92); border: 1px solid #e6e9f6; border-radius: 20px; padding: 20px 22px; box-shadow: 0 10px 34px rgba(60,72,160,.07); overflow: hidden; }
.db-head { display: flex; align-items: center; gap: 18px; }
.db-card > .db-head + * { margin-top: 18px; }
.db-head.plain { gap: 14px; }
.db-head-txt { flex: 1; min-width: 0; }
.db-head h2 { margin: 0; font-size: 20px; font-weight: 600; color: #121a3a; }
.db-head.plain h2 { font-size: 17px; }
.db-head p { margin: 3px 0 0; color: #4a5578; font-size: 14px; }
.db-head.plain p { font-size: 13px; }
.db-head-act { display: flex; gap: 10px; flex-wrap: wrap; }
.db-tile { width: 80px; height: 80px; border-radius: 22px; display: flex; align-items: center; justify-content: center; flex: none; }
.db-tile .db-ic { width: 40px; height: 40px; }
.db-tile.violet { background: #ece9fe; color: #5b3df5; }
.db-tile.green { background: #dcfce7; color: #16a34a; }
.db-card.row { padding: 16px 22px; }
.db-card.row .db-tile { width: 72px; height: 72px; border-radius: 50%; }
.db-card.row .db-tile .db-ic { width: 34px; height: 34px; }
.db-table-wrap { overflow-x: auto; margin: 0 -2px; }
.db-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.db-table th { background: #f0f2fb; color: #3a4466; font-size: 14px; font-weight: 600; text-align: left; padding: 14px 16px; border: 0; }
.db-table th:first-child { border-radius: 12px 0 0 12px; padding-left: 28px; }
.db-table th:last-child { border-radius: 0 12px 12px 0; }
.db-table td { padding: 16px; border-bottom: 1px solid #eef0f8; font-size: 14px; vertical-align: middle; }
.db-table td:first-child { padding-left: 28px; }
.db-table td.num { font-size: 17px; font-weight: 500; }
.db-table.compact th { font-size: 13px; padding: 10px 16px; }
.db-table.compact td { padding: 10px 16px; font-size: 13px; }
.db-co { display: flex; align-items: center; gap: 18px; }
.db-co strong { font-size: 17px; font-weight: 600; }
.db-co .muted { font-size: 13px; }
.db-co-ic { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #1d4ed8, #1e3a8a); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.db-co-ic .db-ic { width: 26px; height: 26px; fill: currentColor; }
.db-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 600; }
.db-pill .db-dot { margin: 0; background: currentColor; }
.db-pill.ok { background: #dcfce7; color: #15803d; }
.db-pill.bad { background: #fee2e2; color: #b91c1c; }
.db-pill.warn { background: #fef3c7; color: #b45309; }
.db-pill .db-ic { width: 16px; height: 16px; }
.db-acts { display: flex; gap: 8px; flex-wrap: nowrap; }
.db-empty-line { color: #6b7493; text-align: center; padding: 22px; }
.db-info { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 28px; border-radius: 18px; background: linear-gradient(90deg, #e6e9fb, #eceffc 70%, #e3e8fb); border: 1px solid #dfe3f7; overflow: hidden; }
.db-info > .db-ic { width: 34px; height: 34px; color: #fff; fill: #2563eb; stroke: #fff; }
.db-info p { margin: 0; flex: 1; font-size: 14px; color: #2b3a66; padding-right: 110px; }
.db-info-art { position: absolute; right: 26px; bottom: -6px; width: 92px; height: 92px; color: #9aa9e8; opacity: .7; stroke-width: 1.4; }
.db-banner { display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 18px; border-radius: 16px; background: linear-gradient(90deg, #fff4dc, #fff7e6); border: 1px solid #fde8bd; color: #b45309; font-size: 14px; }
.db-banner > .db-ic { width: 26px; height: 26px; color: #f59e0b; fill: #fbbf24; }
.db-banner strong { color: #9a3412; }
.db-banner .grow { flex: 1; }

/* top row: screen card + status card */
.db-row2 { display: grid; grid-template-columns: 1fr 1.45fr; gap: 18px; }
.db-screen { display: flex; align-items: center; gap: 28px; padding: 0 22px 0 0; min-height: 124px;
  background: linear-gradient(110deg, #fff 55%, #f3f0ff); }
.db-screen-art { align-self: stretch; width: 190px; flex: none; border-radius: 20px; background: linear-gradient(135deg, #8b7af9, #5b3df5); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 12px 28px rgba(91,61,245,.35); }
.db-screen-art .db-ic { width: 58px; height: 58px; stroke-width: 1.6; }
.db-screen-txt { flex: 1; min-width: 0; padding: 18px 0; }
.db-screen-txt .label { font-size: 15px; font-weight: 600; color: #2b3355; }
.db-screen-txt h1 { margin: 2px 0 6px; font-size: 28px; line-height: 1.2; font-weight: 700; color: #121a3a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-screen-txt .meta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #3a4466; }
.db-switch { display: block; margin-top: 8px; max-width: 100%; padding: 6px 10px; border-radius: 10px; border: 1px solid #ddd8fd; background: #faf9ff; font: 500 13px "Poppins", sans-serif; color: #3b2bb0; }
.db-screen-act { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; align-self: flex-start; padding-top: 18px; }
.db-iconrow { display: flex; gap: 6px; }
.db-status { display: flex; align-items: center; gap: 26px; min-height: 124px; background: linear-gradient(100deg, #f2fdf8 0%, #e8faf2 55%, #d9f6ea 100%); border-color: #bfeedd; }
.db-status.dirty { background: linear-gradient(100deg, #fffaf0 0%, #fff4df 55%, #ffecc8 100%); border-color: #fde3b0; }
.db-status-ic { width: 86px; height: 86px; border-radius: 50%; background: #d4f5e6; color: #10b981; display: flex; align-items: center; justify-content: center; flex: none; }
.db-status.dirty .db-status-ic { background: #ffe8bf; color: #d97706; }
.db-status-ic .db-ic { width: 42px; height: 42px; }
.db-status-body { flex: 1; min-width: 0; }
.db-status-body h2 { margin: 0 0 12px; font-size: 17px; font-weight: 600; }
.db-stats { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.db-stat { display: flex; align-items: center; gap: 12px; }
.db-stat .db-ic { width: 26px; height: 26px; color: #1e2a6b; }
.db-stat span { display: block; font-size: 13px; color: #4a5578; }
.db-stat b { display: block; font-size: 17px; font-weight: 700; color: #121a3a; }
.db-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; opacity: .8; }
.db-bars i { display: block; width: 14px; border-radius: 4px; background: linear-gradient(180deg, #5eead4, #a7f3d0); }
.db-bars i:nth-child(1) { height: 22px; } .db-bars i:nth-child(2) { height: 38px; } .db-bars i:nth-child(3) { height: 54px; } .db-bars i:nth-child(4) { height: 70px; }
.db-status.dirty .db-bars i { background: linear-gradient(180deg, #fcd34d, #fde68a); }
.db-status-act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; align-self: center; }
.db-push { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 26px; border: 0; border-radius: 14px; cursor: pointer;
  background: linear-gradient(180deg, #6a4ff7, #4f33e6); color: #fff; font: 600 16px "Poppins", sans-serif; box-shadow: 0 10px 24px rgba(91,61,245,.35); transition: transform .15s, filter .15s; }
.db-push:hover { filter: brightness(1.07); transform: translateY(-1px); }
.db-push:disabled { opacity: .6; cursor: default; transform: none; }
.db-push .db-ic { width: 20px; height: 20px; }
.db-push-note { font-size: 12px; color: #3a4466; }
.db-status.dirty .db-push-note { color: #b45309; font-weight: 600; }

/* link card */
.db-link { display: flex; padding: 0; border-left: 4px solid #6a4ff7; }
.db-link-art { width: 276px; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f1efff, #e7e4fe); padding: 14px; }
.db-link-art img { width: 100%; max-width: 230px; }
.db-link-body { flex: 1; min-width: 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.db-link-top { display: flex; gap: 18px; align-items: flex-start; }
.db-link-title { display: flex; gap: 14px; flex: 1; min-width: 0; }
.db-link-title .db-ic { color: #1e2a6b; margin-top: 2px; }
.db-link-title h2 { margin: 0; font-size: 17px; font-weight: 600; }
.db-link-title p { margin: 4px 0 0; font-size: 13.5px; color: #3a4466; }
.db-tip { display: flex; gap: 10px; align-items: flex-start; max-width: 720px; padding: 12px 16px; border-radius: 12px; background: #f4f6fd; font-size: 12px; color: #2b3355; line-height: 1.5; }
.db-tip .db-ic { color: #5b3df5; width: 18px; height: 18px; margin-top: 1px; }
.db-url { display: flex; gap: 10px; align-items: center; }
.db-url-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px; border-radius: 12px; background: #f3f5fc; }
.db-url-field .db-ic { color: #2b3a8f; }
.db-url-field code { font-size: 14.5px; color: #121a3a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-url .db-btn { height: 44px; padding: 0 18px; }

.db-code { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.db-code-box { display: flex; flex-direction: column; padding: 10px 22px; border-radius: 14px; background: linear-gradient(135deg, #efeafe, #e4ecff); border: 1px dashed #b9b0fb; }
.db-code-box .lbl { font-size: 12px; font-weight: 600; color: #5b3df5; text-transform: uppercase; letter-spacing: .6px; }
.db-code-box b { font: 700 34px/1.15 "Poppins", system-ui, sans-serif; letter-spacing: 4px; color: #121a3a; }
.db-code-act { display: flex; gap: 10px; flex-wrap: wrap; }
/* slides */
.db-slides-empty { display: flex; align-items: center; gap: 24px; background: linear-gradient(100deg, #fff 40%, #f6f5ff); }
.db-slides-empty .db-head { align-self: flex-start; flex: 1; }
.db-empty { flex: 1.3; display: flex; align-items: center; gap: 30px; }
.db-empty img { width: 138px; flex: none; }
.db-empty strong { display: block; font-size: 15px; }
.db-empty p { margin: 2px 0 12px; font-size: 13.5px; color: #3a4466; }
.db-card .slides { margin-top: 16px; }
.db-card .slide { border-color: #e9ecf7; border-radius: 14px; background: #fff; }
.db-card .thumb { background: #eef0fb; color: #6b5cf0; border-radius: 10px; }
.db-card .slide .actions { align-items: center; }
.db-card .slide .db-btn { height: 34px; padding: 0 11px; font-size: 12px; }
.db-card .slide .db-iconbtn { width: 34px; height: 34px; }
.db-foot-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0 2px; font-size: 12.5px; color: #3a4466; }
.db-foot-note .db-ic { width: 17px; height: 17px; color: #fff; fill: #3a4a8c; }
.db-hero-empty { display: flex; align-items: center; gap: 28px; }
.db-hero-empty img { width: 240px; }
.db-hero-empty h2 { margin: 0 0 4px; }
.db-hero-empty p { margin: 0 0 14px; }

@media (max-width: 1200px) {
  .db-row2 { grid-template-columns: 1fr; }
  .db-link-top { flex-direction: column; }
  .db-tip { max-width: none; }
}
@media (max-width: 860px) {
  .db-top { flex-wrap: wrap; margin: 10px 12px 0; padding: 10px 12px; gap: 10px; position: static; }
  .db-top-right { margin-left: 0; width: 100%; justify-content: flex-start; }
  .db-chip.plain { display: none; }
  .db-main { padding: 14px 12px 32px; }
  .db-head { flex-wrap: wrap; gap: 12px; }
  .db-tile { width: 56px; height: 56px; border-radius: 16px; }
  .db-tile .db-ic { width: 28px; height: 28px; }
  .db-card.row .db-tile { width: 52px; height: 52px; }
  .db-head-act { width: 100%; }
  .db-screen { flex-wrap: wrap; padding: 0 16px 16px 0; gap: 16px; }
  .db-screen-art { width: 110px; min-height: 110px; }
  .db-screen-act { flex-direction: row; align-items: center; padding: 0 0 0 16px; width: 100%; justify-content: space-between; }
  .db-status { flex-wrap: wrap; gap: 16px; }
  .db-status-ic { width: 60px; height: 60px; }
  .db-bars, .db-stats .db-vsep { display: none; }
  .db-status-act { align-items: stretch; width: 100%; }
  .db-push { justify-content: center; }
  .db-link { flex-direction: column; border-left: 0; border-top: 4px solid #6a4ff7; }
  .db-link-art { width: auto; }
  .db-url { flex-wrap: wrap; }
  .db-url-field { width: 100%; flex: none; }
  .db-slides-empty, .db-empty, .db-hero-empty { flex-direction: column; align-items: flex-start; }
  .db-info p { padding-right: 0; }
  .db-info-art { display: none; }
  .db-banner { flex-wrap: wrap; }
}
