/* Zappit Studio front-end v2 — built from zappit.pen "Design Foundation". No template underneath.
   Calm, monochrome, one accent: colour carries meaning only (ok = published, warn = waiting, bad = problem). */

/* ── Tokens ─────────────────────────────────────────────── */
:root, [data-theme="dark"] {
  --bg: #171717; --surface: #000; --surface-2: #1C1C1C; --hover: #262626;
  --border: #262626; --border-strong: #3A3A3A; --line: #1F1F1F;
  --text: #FFF; --muted: #A3A3A3; --subtle: #8A8A8A;
  --primary: #FFF; --on-primary: #000; --secondary: #3A3A3A;
  --ok: #C6F432; --warn: #F5B23C; --bad: #F87171; --info: #60A5FA; --brand: #C6F432;
  --ok-soft: #C6F4321F; --warn-soft: #F5B23C1F; --bad-soft: #F871711F; --info-soft: #60A5FA1F; --neutral-soft: #FFFFFF14;
  --shadow-pop: 0 16px 48px rgba(0, 0, 0, .6);
  --r-sm: 4px; --r: 8px; --r-lg: 12px; --r-full: 999px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #F5F5F4; --surface: #FFF; --surface-2: #F0F0EE; --hover: #EAEAE7;
  --border: #E5E5E3; --border-strong: #D4D4D2; --line: #ECECEA;
  --text: #0E0F12; --muted: #6B6B6B; --subtle: #7A7A7A;
  --primary: #0E0F12; --on-primary: #FFF; --secondary: #E7E7E5;
  --ok: #5C8A00; --warn: #B7791F; --bad: #DC2626; --info: #2563EB;
  --ok-soft: #5C8A001A; --warn-soft: #B7791F1A; --bad-soft: #DC26261A; --info-soft: #2563EB1A; --neutral-soft: #0E0F120F;
  --shadow-pop: 0 16px 48px rgba(14, 15, 18, .16);
  color-scheme: light;
}

/* ── Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 400 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
.zs-icon, [data-lucide] { width: 18px; height: 18px; flex: none; stroke-width: 2; }
.zs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Type scale */
.zs-h1 { font-size: 24px; font-weight: 700; }
.zs-h2 { font-size: 20px; font-weight: 600; }
.zs-h3 { font-size: 16px; font-weight: 600; }
.zs-small { font-size: 13px; }
.zs-caption { font-size: 12px; color: var(--muted); }
.zs-overline { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.zs-muted { color: var(--muted); } .zs-subtle { color: var(--subtle); }
.zs-ok { color: var(--ok); } .zs-warn { color: var(--warn); } .zs-bad { color: var(--bad); }

/* ── App shell ──────────────────────────────────────────── */
.zs-app { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; }
.zs-main { min-width: 0; display: flex; flex-direction: column; }
.zs-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 32px; background: var(--surface); border-bottom: 1px solid var(--line); }
.zs-titlebar .zs-caption { margin-top: 4px; }
.zs-body { padding: 28px 32px 48px; display: flex; flex-direction: column; gap: 20px; }
.zs-menu-btn { display: none; }

/* Sidebar */
.zs-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 2px; padding: 20px 16px 16px; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; }
.zs-brand { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 16px; }
.zs-logo { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.zs-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--brand); color: #000; font-weight: 800; font-size: 17px; }
.zs-bell { position: relative; display: inline-grid; color: var(--muted); background: none; border: 0; padding: 0; }
.zs-bell .zs-dot { position: absolute; top: -1px; right: -1px; width: 7px; height: 7px; border-radius: 50%; background: var(--bad); }
.zs-acc { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); text-align: left; }
.zs-acc:hover { border-color: var(--border-strong); }
.zs-acc-av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: linear-gradient(225deg, #F58529, #DD2A7B 50%, #8134AF); }
.zs-acc-av [data-lucide] { width: 14px; height: 14px; }
.zs-acc-text { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.zs-acc-text b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zs-acc-text small { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zs-nav-group { padding: 18px 12px 6px; font-size: 12px; color: var(--subtle); }
.zs-nav { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); color: var(--muted); }
.zs-nav:hover { background: var(--surface-2); color: var(--text); }
.zs-nav.is-on { background: var(--hover); color: var(--text); font-weight: 600; }
.zs-nav .zs-badge { margin-left: auto; }
.zs-nav-sub { padding-left: 42px; font-size: 13.5px; }
.zs-spacer { flex: 1; min-height: 16px; }
.zs-nav-settings { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.zs-plan { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding: 16px; border: 1px solid var(--border-strong); border-radius: var(--r); }
.zs-plan-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.zs-plan-row b { font-size: 15px; color: var(--text); }
.zs-bar { height: 4px; border-radius: 2px; background: var(--border-strong); overflow: hidden; }
.zs-bar > i { display: block; height: 100%; border-radius: 2px; background: var(--text); }
.zs-user { display: flex; align-items: center; gap: 12px; padding: 14px 8px 0; }
.zs-avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--secondary); font-size: 13px; font-weight: 600; }
.zs-user-text { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.zs-user-text small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }

/* ── Components ─────────────────────────────────────────── */
.zs-card { background: var(--surface); border-radius: var(--r); padding: 24px; }
.zs-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.zs-row { display: flex; gap: 16px; }
.zs-row > * { flex: 1; min-width: 0; }
.zs-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.zs-link { font-size: 13px; color: var(--muted); }
.zs-link:hover { color: var(--text); }

.zs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: var(--r); border: 1px solid transparent; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; background: var(--surface); }
.zs-btn [data-lucide] { width: 16px; height: 16px; }
.zs-btn-primary { background: var(--primary); color: var(--on-primary); }
.zs-btn-primary:hover { opacity: .88; }
.zs-btn-secondary { background: var(--secondary); color: var(--text); }
.zs-btn-outline { border-color: var(--border-strong); color: var(--text); }
.zs-btn-outline:hover, .zs-btn-secondary:hover { background: var(--hover); }
.zs-btn-danger { border-color: var(--border-strong); color: var(--bad); }
.zs-btn-danger:hover { background: var(--bad-soft); }
.zs-btn-icon { padding: 10px; }
.zs-btn-sm { padding: 7px 12px; font-size: 13px; }
.zs-btn-block { width: 100%; }
.zs-kbd { display: inline-block; padding: 0 6px; border-radius: var(--r-sm); border: 1px solid currentColor; font-size: 11px; font-weight: 600; line-height: 16px; opacity: .55; }

.zs-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; padding: 1px 8px; border-radius: var(--r-full); background: var(--warn); color: #000; font-size: 11px; font-weight: 700; line-height: 18px; }
.zs-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; white-space: nowrap; }
.zs-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.zs-pill-ok { color: var(--ok); background: var(--ok-soft); }
.zs-pill-warn { color: var(--warn); background: var(--warn-soft); }
.zs-pill-bad { color: var(--bad); background: var(--bad-soft); }
.zs-pill-mut { color: var(--muted); background: var(--neutral-soft); }

.zs-input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); }
.zs-input input, .zs-input textarea { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; }
.zs-input:focus-within { border-color: var(--muted); }
.zs-input input::placeholder { color: var(--subtle); }

.zs-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 10px; background: var(--bg); }
.zs-seg > * { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 7px; border: 0; background: none; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.zs-seg > .is-on { background: var(--surface); color: var(--text); font-weight: 600; }
.zs-seg small { color: var(--subtle); font-size: 12px; }

.zs-iconbox { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--surface-2); }
.zs-iconbox.ok { background: var(--ok-soft); color: var(--ok); } .zs-iconbox.warn { background: var(--warn-soft); color: var(--warn); } .zs-iconbox.bad { background: var(--bad-soft); color: var(--bad); }
.zs-list > * + * { border-top: 1px solid var(--line); }
.zs-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.zs-item-text { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.zs-item-text b { font-size: 14px; font-weight: 600; }

/* Stat card */
.zs-stat { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--surface); }
.zs-stat-label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.zs-stat-label i { width: 9px; height: 9px; border-radius: 2px; background: var(--dot, var(--text)); }
.zs-stat-value { display: flex; align-items: end; justify-content: space-between; font-size: 36px; font-weight: 700; line-height: 1; }
.zs-spark { width: 120px; height: 36px; fill: none; stroke: var(--dot, var(--text)); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Ruang Redaksi pipeline */
.zs-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-full); background: var(--ok-soft); color: var(--ok); font-size: 11px; font-weight: 600; }
.zs-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: zs-pulse 1.8s ease-in-out infinite; }
@keyframes zs-pulse { 50% { opacity: .35; } }
.zs-pipe { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 24px 8px; border-radius: var(--r); background: var(--surface); }
.zs-station { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 12px; text-align: center; }
.zs-station + .zs-station { border-left: 1px solid var(--line); }
.zs-station .zs-orb { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); }
.zs-station.is-on .zs-orb { background: var(--brand); color: #000; }
.zs-station b { font-size: 13px; }
.zs-station strong { font-size: 26px; line-height: 1.1; }
.zs-station .zs-next { font-size: 11px; font-weight: 600; color: var(--subtle); }
.zs-station.is-on .zs-next { color: var(--ok); }
@media (prefers-reduced-motion: reduce) { .zs-live::before { animation: none; } }

/* Timeline */
.zs-slot { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.zs-slot time { width: 48px; font-weight: 700; }
.zs-slot i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--subtle)); }
.zs-slot span { color: var(--c, var(--subtle)); font-size: 12px; font-weight: 600; display: block; }

/* Empty / all-clear */
.zs-clear { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent); }
.zs-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 32px; text-align: center; border-radius: var(--r); background: var(--surface); }

/* Dropdown, modal, toast */
.zs-dd { position: relative; }
.zs-dd-menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 100%; padding: 8px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-pop); }
.zs-dd-menu .zs-overline { padding: 4px 10px 6px; }
.zs-dd-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r); border: 0; background: none; text-align: left; font-size: 13px; }
.zs-dd-item:hover, .zs-dd-item.is-on { background: var(--surface-2); }
.zs-dd-sep { height: 1px; margin: 6px 0; background: var(--border); }
.zs-scrim { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .7); }
.zs-modal { width: min(440px, 100%); display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-pop); }
.zs-modal-foot { display: flex; justify-content: flex-end; gap: 10px; }
.zs-toasts { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.zs-toast { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; background: #171717; color: #fff; border: 1px solid #2E2E2E; box-shadow: var(--shadow-pop); font-size: 13px; font-weight: 500; animation: zs-up .18s ease-out; }
.zs-toast button { border: 0; background: none; padding: 0; font-weight: 700; text-decoration: underline; color: #fff; }
@keyframes zs-up { from { transform: translateY(8px); opacity: 0; } }

/* ── Review (inbox) ─────────────────────────────────────── */
.zs-inbox { display: grid; grid-template-columns: 440px minmax(0, 1fr); flex: 1; min-height: 0; }
.zs-inbox-list { display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); }
.zs-inbox-head { display: flex; flex-direction: column; gap: 16px; padding: 24px 24px 16px; border-bottom: 1px solid var(--line); }
.zs-draft { display: flex; gap: 14px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.zs-draft:hover { background: var(--surface-2); }
.zs-draft.is-on { background: var(--bg); }
.zs-cover { flex: none; width: 56px; height: 70px; border-radius: 6px; background: var(--hover) center / cover; }
.zs-draft-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.zs-draft-top b { color: var(--warn); }
.zs-shortcuts { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 24px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 12px; }
.zs-detail { display: flex; flex-direction: column; gap: 24px; padding: 24px 32px 48px; min-width: 0; }
.zs-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.zs-slides { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.zs-slide { position: relative; aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 14px; border-radius: var(--r); overflow: hidden; background: #0E0F12 center / cover; color: #fff; font-weight: 600; font-size: 13px; line-height: 1.25; }
.zs-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0, 0, 0, .9)); }
.zs-slide > * { position: relative; }
.zs-slide .zs-n { position: absolute; top: 12px; left: 12px; padding: 2px 7px; border-radius: var(--r-sm); background: rgba(0, 0, 0, .65); font-size: 11px; }
.zs-slide.is-cover { font-size: 16px; font-weight: 800; }
.zs-slide.is-cover::after { content: ""; position: relative; width: 28px; height: 4px; border-radius: 2px; background: var(--brand); }
.zs-info { display: flex; gap: 12px; }
.zs-info + .zs-info { margin-top: 14px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1199px) { .zs-inbox { grid-template-columns: 360px minmax(0, 1fr); } .zs-slides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) {
  .zs-app { grid-template-columns: minmax(0, 1fr); }
  .zs-sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: 280px; transform: translateX(-100%); transition: transform .2s ease; }
  .zs-app.is-nav-open .zs-sidebar { transform: none; box-shadow: var(--shadow-pop); }
  .zs-menu-btn { display: inline-flex; }
  .zs-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zs-pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .zs-station:nth-child(4) { border-left: 0; }
  .zs-inbox { grid-template-columns: minmax(0, 1fr); }
  .zs-detail { display: none; }
}
@media (max-width: 575px) {
  .zs-titlebar, .zs-body { padding-left: 16px; padding-right: 16px; }
  .zs-row { flex-direction: column; }
  .zs-stat-value { font-size: 28px; } .zs-spark { width: 80px; }
}

/* Inline cluster: items keep their natural width (unlike .zs-row, which shares space) */
.zs-inline { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.zs-btn.zs-menu-btn { display: none; }
@media (max-width: 991px) { .zs-btn.zs-menu-btn { display: inline-flex; } }

/* ── Kalender ───────────────────────────────────────────── */
.zs-cal-top { display: flex; flex-direction: column; gap: 20px; padding: 24px 32px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.zs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.zs-strip { display: flex; justify-content: space-between; gap: 4px; overflow-x: auto; }
.zs-day { flex: none; width: 44px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; border-radius: var(--r); }
.zs-day small { font-size: 11px; font-weight: 500; color: var(--muted); }
.zs-day b { font-size: 18px; }
.zs-day i { width: 5px; height: 5px; border-radius: 50%; background: var(--c, var(--border-strong)); }
.zs-day.is-week { background: var(--surface-2); } .zs-day.is-today { background: var(--secondary); }
.zs-board { display: flex; gap: 20px; padding: 24px 32px 48px; overflow-x: auto; }
.zs-col { flex: none; width: 330px; display: flex; flex-direction: column; gap: 10px; }
.zs-col-head { display: flex; align-items: center; gap: 12px; padding-bottom: 6px; }
.zs-daynum { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--surface); font-size: 20px; font-weight: 700; }
.zs-daynum.is-today { background: var(--secondary); }
.zs-post { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r); background: var(--surface); }
.zs-post .zs-cover { width: 52px; height: 65px; }
.zs-post-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: 600; font-size: 13px; }
.zs-ghost { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); border: 1px dashed var(--border-strong); color: var(--subtle); font-size: 12px; }
.zs-ghost b { color: var(--muted); font-size: 13px; }

/* ── Charts (bars & meters) ─────────────────────────────── */
.zs-bars { display: flex; align-items: flex-end; gap: 6px; height: 180px; }
.zs-bars > i { flex: 1; min-width: 4px; border-radius: 3px 3px 0 0; background: var(--border-strong); height: var(--h); }
.zs-bars > i.is-hi { background: var(--brand); }
.zs-meter { display: flex; align-items: center; gap: 12px; }
.zs-meter > span:first-child { width: 44px; font-size: 12px; color: var(--muted); }
.zs-track { flex: 1; height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.zs-track > i { display: block; height: 100%; border-radius: 5px; background: var(--subtle); width: var(--w); }
.zs-track > i.is-hi { background: var(--brand); }
.zs-up { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); }

/* ── Tables, chips, switches ────────────────────────────── */
.zs-table-card { background: var(--surface); border-radius: var(--r); overflow: hidden; }
.zs-table { width: 100%; border-collapse: collapse; }
.zs-table th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.zs-table td { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); vertical-align: middle; }
.zs-table td:first-child, .zs-table th:first-child { padding-left: 24px; } .zs-table td:last-child, .zs-table th:last-child { padding-right: 24px; }
.zs-table td b { color: var(--text); font-size: 14px; display: block; }
.zs-fav { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 12px; border-radius: var(--r); background: var(--hover); color: var(--text); font-weight: 700; vertical-align: middle; }
.zs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.zs-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-full); border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 600; }
.zs-chip small { color: var(--subtle); }
.zs-chip.is-on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.zs-chip.is-on small { color: inherit; opacity: .6; }
.zs-switch { position: relative; flex: none; width: 40px; height: 22px; border-radius: 11px; border: 0; padding: 0; background: var(--border-strong); }
.zs-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .15s; }
.zs-switch[aria-checked="true"] { background: var(--ok); }
.zs-switch[aria-checked="true"]::after { transform: translateX(18px); background: #000; }
.zs-pager { display: flex; justify-content: space-between; align-items: center; }
.zs-pager nav { display: flex; gap: 6px; }
.zs-pager a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--surface); color: var(--muted); font-weight: 600; }
.zs-pager a.is-on { background: var(--secondary); color: var(--text); }
.zs-alert { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); font-size: 13px; }
.zs-alert.warn { background: var(--warn-soft); color: var(--warn); } .zs-alert.bad { background: var(--bad-soft); color: var(--bad); } .zs-alert.ok { background: var(--ok-soft); color: var(--ok); }
.zs-alert .zs-btn { margin-left: auto; }

/* ── Pustaka foto ───────────────────────────────────────── */
.zs-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.zs-photo { display: flex; flex-direction: column; gap: 8px; }
.zs-photo span:first-child { aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--hover) center / cover; }
.zs-photo p { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
@media (max-width: 991px) {
  .zs-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zs-board, .zs-cal-top { padding-left: 16px; padding-right: 16px; }
  .zs-table-card { overflow-x: auto; }
}

/* ── Settings & forms ───────────────────────────────────── */
.zs-narrow { padding-left: 96px; padding-right: 96px; }
.zs-scard { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--r); background: var(--surface); }
.zs-scard-head { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.zs-scard-head > div { flex: 1; min-width: 0; }
.zs-scard-head p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.zs-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.zs-opt { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--r); border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; }
.zs-opt input { position: absolute; opacity: 0; pointer-events: none; }
.zs-opt b { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.zs-opt b::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--subtle); }
.zs-opt span { font-size: 12px; line-height: 1.45; color: var(--muted); }
.zs-opt em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--text); opacity: .8; }
.zs-opt:has(input:checked) { background: var(--bg); border-color: var(--text); }
.zs-opt:has(input:checked) b::after { border: 4px solid var(--text); }
.zs-opt:has(input:focus-visible) { outline: 2px solid var(--info); outline-offset: 2px; }
.zs-toggle-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.zs-toggle-row > div { flex: 1; } .zs-toggle-row p { font-size: 12px; color: var(--muted); }
.zs-field { display: flex; flex-direction: column; gap: 8px; }
.zs-field > span { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.zs-field > span small { font-weight: 400; color: var(--subtle); }
.zs-savebar { position: sticky; bottom: 20px; z-index: 20; display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 12px 12px 18px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: var(--shadow-pop); }
.zs-savebar::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.zs-savebar span { flex: 1; font-weight: 500; }
.zs-settings { display: grid; grid-template-columns: 280px minmax(0, 1fr); flex: 1; }
.zs-subnav { display: flex; flex-direction: column; gap: 2px; padding: 20px 12px; background: var(--surface); border-right: 1px solid var(--line); }
.zs-subnav .zs-nav { color: var(--text); font-weight: 500; }
.zs-subnav .zs-nav [data-lucide] { color: var(--muted); }
.zs-subnav .zs-nav.is-on [data-lucide] { color: var(--text); }
.zs-two { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.zs-swatches { display: flex; gap: 10px; }
.zs-swatches button { width: 32px; height: 32px; border-radius: 50%; border: 3px solid transparent; background: var(--c); }
.zs-swatches button[aria-pressed="true"] { border-color: var(--text); }
.zs-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: start; }
.zs-plancard { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
.zs-plancard.is-hl { background: var(--bg); border-color: var(--text); }
.zs-price { font-size: 26px; font-weight: 700; white-space: nowrap; } .zs-price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.zs-check { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.zs-check [data-lucide] { width: 14px; height: 14px; color: var(--ok); }
.zs-kv { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.zs-kv span { color: var(--muted); } .zs-kv b { font-weight: 600; }
@media (max-width: 1199px) { .zs-narrow { padding-left: 32px; padding-right: 32px; } .zs-two { grid-template-columns: 1fr; } }
@media (max-width: 991px) { .zs-settings { grid-template-columns: 1fr; } .zs-subnav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); } .zs-subnav .zs-nav-group { display: none; } .zs-plans { grid-template-columns: 1fr; } }

/* ── Onboarding ─────────────────────────────────────────── */
.zs-ob { min-height: 100vh; display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 40px 24px; }
.zs-ob-top { width: min(1200px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.zs-steps { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.zs-step { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-full); font-size: 13px; font-weight: 500; color: var(--muted); }
.zs-step i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-2); font-style: normal; font-size: 11px; font-weight: 700; }
.zs-step.is-done { color: var(--text); } .zs-step.is-done i { background: var(--ok); color: #000; }
.zs-step.is-on { color: var(--text); font-weight: 600; background: var(--surface-2); } .zs-step.is-on i { background: var(--primary); color: var(--on-primary); }
.zs-ob-card { width: min(640px, 100%); display: flex; flex-direction: column; gap: 24px; padding: 40px; border-radius: var(--r-lg); background: var(--surface); }
.zs-ob-card h1 { font-size: 26px; line-height: 1.25; }
.zs-ob-card .zs-lead { font-size: 15px; line-height: 1.55; color: var(--muted); }
.zs-pick { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); border: 1px solid var(--border); background: var(--bg); cursor: pointer; }
.zs-pick input { position: absolute; opacity: 0; pointer-events: none; }
.zs-pick .zs-box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--border-strong); color: transparent; }
.zs-pick:has(input:checked) { background: var(--surface-2); border-color: var(--text); }
.zs-pick:has(input:checked) .zs-box { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.zs-pick:has(input[type="radio"]) .zs-box { border-radius: 50%; }
.zs-pick:has(input:focus-visible) { outline: 2px solid var(--info); outline-offset: 2px; }
.zs-mini-slides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

/* ── Sign-in (split) ────────────────────────────────────── */
.zs-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) 620px; background: var(--surface); }
.zs-auth-form { display: flex; flex-direction: column; padding: 40px 64px; }
.zs-auth-form form, .zs-auth-form .zs-auth-inner { width: min(400px, 100%); margin: auto; display: flex; flex-direction: column; gap: 20px; }
.zs-auth-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 56px; background: var(--bg); }
.zs-auth-visual .zs-slide { width: 360px; font-size: 26px; font-weight: 800; padding: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.zs-or { display: flex; align-items: center; gap: 12px; color: var(--subtle); font-size: 12px; }
.zs-or::before, .zs-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.zs-tag { display: inline-block; padding: 2px 6px; border-radius: var(--r-sm); background: var(--info-soft); color: var(--info); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 991px) { .zs-auth { grid-template-columns: 1fr; } .zs-auth-visual { display: none; } .zs-auth-form { padding: 32px 20px; } .zs-ob-card { padding: 24px; } .zs-mini-slides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.zs-spin { animation: zs-spin 1s linear infinite; } @keyframes zs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .zs-spin { animation: none; } }

/* ── Phone tab bar ──────────────────────────────────────── */
.zs-tabbar { display: none; }
@media (max-width: 991px) {
  .zs-tabbar { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: flex; padding: 8px 8px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .zs-tabbar > * { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; padding: 0; color: var(--subtle); font-size: 11px; font-weight: 500; }
  .zs-tabbar > .is-on { color: var(--text); font-weight: 600; }
  .zs-tabbar span { position: relative; display: inline-grid; }
  .zs-tabbar [data-lucide] { width: 22px; height: 22px; }
  .zs-tabbar b { position: absolute; top: -4px; left: 13px; padding: 0 5px; border-radius: 999px; background: var(--warn); color: #000; font-size: 10px; line-height: 16px; }
  .zs-main { padding-bottom: 72px; }
}

/* ── Landing (zappit.id) ────────────────────────────────── */
.zl { background: #000; color: #fff; }
.zs-feed { left: auto; right: -40px; width: 320px; max-height: 420px; overflow-y: auto; }
.zs-feed-dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--subtle); }
.zs-feed-dot.ok { background: var(--ok); } .zs-feed-dot.bad { background: var(--bad); } .zs-feed-dot.warn { background: var(--warn); }

/* ── Review (live) ──────────────────────────────────────── */
.zs-seg > a { text-decoration: none; }
.zs-slide.is-img { background-size: cover; background-position: center; }
.zs-slide.is-img::before { display: none; }
.zs-back { display: none; }
.zs-review-bar { display: none; }
.zs-edit summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.zs-edit summary::after { content: "+"; color: var(--muted); }
.zs-edit[open] summary::after { content: "–"; }
.zs-fieldset { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 16px; border: 1px solid var(--border); border-radius: var(--r); }
.zs-fieldset legend { padding: 0 6px; }
.zs-select { flex: 1; background: none; border: 0; outline: 0; color: var(--text); font: inherit; }
.zs-select option, .zs-select optgroup { background: var(--surface); color: var(--text); }
.zs-input input[type="datetime-local"] { color-scheme: inherit; }
@media (max-width: 991px) {
  .zs-inbox.has-sel .zs-inbox-list { display: none; }
  .zs-inbox.has-sel .zs-detail { display: flex; padding: 16px 16px 140px; }
  .zs-inbox.has-sel .zs-detail-head > .zs-inline { display: none; }
  .zs-back { display: inline-block; }
  .zs-review-bar { position: fixed; z-index: 34; left: 0; right: 0; bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--line); }
  .zs-review-bar .zs-bar-next { width: 100%; text-align: center; }
  .zs-shortcuts { display: none; }
}
.zs-slide > span:last-child { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.zs-slide.is-cover > span:last-child { -webkit-line-clamp: 5; }
.zs-post[draggable="true"] { cursor: grab; }
.zs-post.is-drag { opacity: .4; }
.zs-ghost.is-over { border-color: var(--ok); border-style: solid; background: var(--ok-soft); color: var(--ok); }
.zs-post-menu { left: auto; right: 0; width: 260px; }
.zs-btn.is-disabled { opacity: .45; pointer-events: none; }

/* Hour chips & checkbox switch (forms) */
.zs-hours { display: flex; flex-wrap: wrap; gap: 6px; }
.zs-hours label { cursor: pointer; }
.zs-hours input { position: absolute; opacity: 0; pointer-events: none; }
.zs-hours span { display: inline-block; padding: 8px 12px; border-radius: var(--r-full); border: 1px solid var(--border-strong); color: var(--muted); font-size: 13px; font-weight: 600; }
.zs-hours input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.zs-hours input:focus-visible + span { outline: 2px solid var(--info); outline-offset: 2px; }
.zs-opt.is-locked { opacity: .5; cursor: not-allowed; }
input.zs-cswitch { appearance: none; position: relative; flex: none; width: 40px; height: 22px; margin: 0; border-radius: 11px; background: var(--border-strong); cursor: pointer; }
input.zs-cswitch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .15s; }
input.zs-cswitch:checked { background: var(--ok); }
input.zs-cswitch:checked::after { transform: translateX(18px); background: #000; }
input.zs-cswitch:focus-visible { outline: 2px solid var(--info); outline-offset: 2px; }
.zs-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.zs-cat { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); text-align: left; }
.zs-cat .zs-box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--border-strong); color: transparent; }
.zs-cat.is-on { border-color: var(--text); background: var(--bg); }
.zs-cat.is-on .zs-box { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.zs-table a:hover b { text-decoration: underline; }
.zs-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.zs-preview figure { margin: 0; }
.zs-preview figcaption { text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
.zs-preview-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--surface-2); container-type: inline-size; }
.zs-preview-frame iframe { position: absolute; top: 0; left: 0; width: 1080px; height: 1350px; border: 0; transform-origin: 0 0; transform: scale(calc(100cqw / 1080px)); pointer-events: none; }
input[type="color"].zs-color { flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--r); background: none; cursor: pointer; }
@media (max-width: 575px) { .zs-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.zs-plan-pick { cursor: pointer; }
.zs-plan-pick:has(input:checked) { border-color: var(--text); background: var(--bg); }
.zs-plan-pick:has(input:checked) .zs-pick-label { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.zs-plan-pick:has(input:checked) .zs-pick-label::before { content: "✓ "; }
.zs-plan-pick:has(input:focus-visible) { outline: 2px solid var(--info); outline-offset: 2px; }
.zs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.zs-auth-inner > form { width: 100%; margin: 0; }
.zs-pick.is-locked { opacity: .5; cursor: not-allowed; }
.zs-sw input { position: absolute; opacity: 0; }
.zs-sw span { display: block; width: 32px; height: 32px; border-radius: 50%; border: 3px solid transparent; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); cursor: pointer; }
.zs-sw input:checked + span { border-color: var(--text); }
.zs-sw input:focus-visible + span { outline: 2px solid var(--info); outline-offset: 2px; }
.zs-tabs { display: flex; gap: 4px; overflow-x: auto; }
.zs-tabs a { padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.zs-tabs a.is-on { font-weight: 600; color: var(--text); border-color: var(--text); }
.zs-dd-menu.is-end { left: auto; right: 0; min-width: 240px; }
.zs-table td.num, .zs-table th.num { text-align: right; }
.zs-meter { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.zs-meter i { display: block; height: 100%; background: var(--ok); }
.zs-meter i.is-bad { background: var(--bad); }
.zs-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
button.zs-station { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; border-radius: var(--r); }
.zs-station.is-sel { background: var(--surface-2); }
.zs-drop { display: flex; align-items: center; gap: 14px; padding: 28px; border-radius: var(--r); border: 1.5px dashed var(--border-strong); background: var(--bg); cursor: pointer; color: var(--muted); font-size: 13px; }
.zs-drop.is-over, .zs-drop:hover { border-color: var(--text); color: var(--text); }
.zs-drop:has(input:focus-visible) { outline: 2px solid var(--info); outline-offset: 2px; }
.zs-upload-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.zs-media-grid, .zs-gallery:has(.zs-media) { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.zs-media { margin: 0; }
.zs-media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--surface-2); }
.zs-media figcaption { margin-top: 6px; font-size: 11px; color: var(--muted); line-height: 1.35; }

/* ── Otomasi (list, templates, editor) ──────────────────── */
.zs-chip.is-off { opacity: .45; cursor: default; }
.zs-btn-brand { background: var(--brand); color: #000; }
.zs-btn-brand:hover { filter: brightness(1.05); }
.zs-auto-list { display: flex; flex-direction: column; gap: 12px; }
.zs-auto-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto auto; align-items: center; gap: 20px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.zs-auto-row.is-bad { border-color: var(--warn); }
.zs-auto-thumb { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r); background: var(--surface-2); color: var(--muted); }
.zs-auto-net { position: absolute; right: 4px; bottom: 4px; width: 14px !important; height: 14px !important; }
.zs-auto-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.zs-auto-name { font-weight: 700; font-size: 16px; }
.zs-auto-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--surface-2); }
.zs-auto-ic svg { width: 14px; height: 14px; }
.zs-auto-stats { display: grid; grid-template-columns: repeat(3, 88px); margin: 0; }
.zs-auto-stats dt { font-size: 22px; font-weight: 800; }
.zs-auto-stats dd { margin: 0; font-size: 12px; color: var(--muted); }
.zs-auto-switch { position: relative; width: 44px; height: 24px; border-radius: 12px; border: 0; background: var(--border-strong); cursor: pointer; }
.zs-auto-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: transform .15s; }
.zs-auto-switch[aria-checked="true"] { background: var(--ok); }
.zs-auto-switch[aria-checked="true"]::after { transform: translateX(20px); background: #000; }
.zs-auto-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); }
.zs-auto-hero > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.zs-auto-mock { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r-lg); background: var(--surface-2); }
.zs-bubble { display: flex; flex-direction: column; gap: 4px; max-width: 85%; padding: 10px 14px; border-radius: 14px; background: var(--hover); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.zs-bubble small { color: var(--muted); font-size: 11px; }
.zs-bubble.is-bot { align-self: flex-end; }
.zs-bubble.is-me { align-self: flex-end; background: var(--info); color: #fff; }
.zs-bubble.is-hl { outline: 2px solid var(--brand); }
.zs-bubble-btn { display: block; margin-top: 6px; padding: 7px 12px; border-radius: 8px; background: var(--surface-2); text-align: center; font-weight: 600; font-size: 13px; }
.zs-auto-mock .zs-bubble-btn { background: var(--brand); color: #000; align-self: flex-start; }
.zs-auto-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.zs-auto-tpl { display: flex; flex-direction: column; gap: 10px; min-height: 190px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.zs-auto-tpl.is-soon { opacity: .6; }
.zs-auto-tpl .zs-link { display: inline-flex; align-items: center; gap: 4px; color: var(--text); font-weight: 600; background: none; border: 0; cursor: pointer; }
@media (max-width: 900px) {
  .zs-auto-row { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .zs-auto-stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .zs-auto-hero, .zs-auto-grid { grid-template-columns: 1fr; }
}
.zs-auto-editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding: 24px 32px 96px; }
.zs-auto-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.zs-auto-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; }
.zs-auto-title { width: 100%; padding: 2px 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 22px; font-weight: 800; }
.zs-auto-title:focus { outline: none; box-shadow: 0 1px 0 var(--border-strong); }
.zs-auto-summary { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.zs-auto-summary > svg { flex: none; color: var(--ok); }
.zs-num { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); font-size: 13px; font-weight: 700; }
.zs-auto-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.zs-auto-seg label { cursor: pointer; }
.zs-auto-seg input { position: absolute; opacity: 0; pointer-events: none; }
.zs-auto-seg span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r); border: 1px solid var(--border-strong); font-size: 13px; font-weight: 600; color: var(--muted); }
.zs-auto-seg span svg { width: 15px; height: 15px; }
.zs-auto-seg input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.zs-auto-seg input:focus-visible + span { outline: 2px solid var(--info); }
.zs-auto-seg.is-sub span { padding: 6px 12px; background: var(--bg); border-color: transparent; }
.zs-auto-seg.is-sub input:checked + span { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.zs-auto-seg .is-soon span, .zs-auto-card.is-soon { opacity: .5; cursor: default; }
.zs-auto-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.zs-auto-media label { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--surface-2); border: 2px solid transparent; cursor: pointer; }
.zs-auto-media label:has(input:checked) { border-color: var(--brand); }
.zs-auto-media label:has(input:focus-visible) { outline: 2px solid var(--info); }
.zs-auto-media input { position: absolute; top: 6px; right: 6px; accent-color: var(--brand); }
.zs-auto-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zs-auto-media span { display: block; padding: 8px; font-size: 11px; color: var(--muted); }
.zs-chipin { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--r); border: 1px solid var(--border-strong); background: var(--surface); }
.zs-chipin:focus-within { border-color: var(--text); }
.zs-chipin input[type="text"] { flex: 1; min-width: 140px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 13px; outline: none; padding: 4px; }
.zs-chipin-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border-radius: 6px; background: var(--ok-soft); color: var(--ok); font-size: 12px; font-weight: 700; }
.zs-chipin-chip button { border: 0; background: none; color: inherit; cursor: pointer; font-size: 14px; line-height: 1; padding: 0 2px; }
.zs-auto-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); }
.zs-auto-card-head { display: flex; align-items: center; gap: 12px; }
.zs-auto-card-head > div { flex: 1; min-width: 0; }
.zs-auto-card-body { display: flex; flex-direction: column; gap: 10px; }
.zs-auto-sub { display: flex; flex-direction: column; gap: 10px; padding-left: 12px; border-left: 2px solid var(--line); }
.zs-auto-in { width: 100%; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; resize: vertical; }
.zs-auto-in:focus { outline: none; border-color: var(--text); }
.zs-auto-in.is-hl { border-color: var(--brand); }
.zs-phone { display: flex; flex-direction: column; height: 560px; border-radius: 28px; border: 6px solid var(--surface-2); background: #000; overflow: hidden; color: #fff; }
.zs-phone-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #1f1f1f; }
.zs-phone-head small { display: block; color: #8a8a8a; font-size: 11px; }
.zs-phone-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px; overflow-y: auto; }
.zs-phone .zs-bubble { background: #262626; color: #fff; }
.zs-phone .zs-bubble.is-me { background: #3797F0; }
.zs-phone .zs-bubble-btn { background: #3a3a3a; color: #fff; }
.zs-phone .zs-bubble.is-hl { outline-color: var(--brand); }
.zs-phone-post { aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: 10px; background: #2b2f3a center / cover; font-weight: 700; text-align: center; padding: 12px; }
.zs-phone-cmt { display: flex; gap: 8px; font-size: 13px; }
.zs-phone-cmt.is-reply { margin-left: 28px; padding: 8px; border-radius: 10px; background: #1d2112; }
.zs-phone-cmt b { font-size: 12px; }
.zs-phone-av { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #333; font-size: 11px; font-weight: 700; }
.zs-phone-av.is-bot { background: var(--brand); color: #000; }
.zs-phone-note { color: #8a8a8a; font-size: 11px; text-align: center; }
.zs-auto-result .zs-auto-stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) {
  .zs-auto-editor { grid-template-columns: 1fr; padding: 16px 16px 96px; }
  .zs-auto-side { position: static; }
  .zs-phone { height: 480px; }
}
.zs-toggle-row .zs-select { flex: none; padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--surface); }
