:root {
  --bg: #f4f5fa;
  --surface: #ffffff;
  --ink: #171a2c;
  --ink-2: #4a5068;
  --muted: #8a8fa6;
  --line: #e6e8f0;
  --line-2: #eef0f6;
  --side: #14162a;
  --side-2: #1e2140;
  --side-ink: #b7bbd6;
  --accent: #4a40d4;
  --accent-2: #3c33b8;
  --accent-soft: #eeecff;
  --green: #0f9f6e; --green-soft: #e3f7ef;
  --blue: #2463eb; --blue-soft: #e6eefe;
  --amber: #c27803; --amber-soft: #fdf3dc;
  --red: #dc2c3f; --red-soft: #fde8ea;
  --gray-soft: #eef0f5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 22, 42, .04), 0 6px 24px rgba(20, 22, 42, .05);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: 12px; background: var(--accent-soft); color: var(--accent-2); padding: 1px 6px; border-radius: 6px; }
small { color: var(--muted); font-size: 12px; }
h1, h2, h3 { margin: 0; letter-spacing: -.01em; }
.hidden, [hidden] { display: none !important; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar { background: var(--side); color: var(--side-ink); display: flex; flex-direction: column; padding: 22px 14px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 10px 22px; }
.brand b { display: block; color: #fff; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.brand small { color: #7d82a6; }
.logo { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #ffffff; overflow: hidden; flex: none; }
.logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand.big .logo { width: 64px; height: 64px; border-radius: 16px; }
nav { display: flex; flex-direction: column; gap: 3px; }
nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--side-ink); font-weight: 600; font-size: 14px; transition: .15s; }
nav a:hover { background: var(--side-2); color: #fff; text-decoration: none; }
nav a.active { background: var(--accent); color: #fff; }
nav svg, .logout svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.side-foot { margin-top: auto; border-top: 1px solid var(--side-2); padding: 14px 6px 0; }
.who { font-size: 12px; color: #7d82a6; padding: 0 6px 8px; overflow: hidden; text-overflow: ellipsis; }
.logout { display: flex; align-items: center; gap: 10px; width: 100%; background: transparent; border: 0; color: var(--side-ink); padding: 9px 6px; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; }
.logout:hover { background: var(--side-2); color: #fff; }

main { padding: 30px 36px 60px; min-width: 0; max-width: 1400px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: 26px; font-weight: 800; }
.page-head p { margin: 4px 0 0; color: var(--ink-2); }
.back { font-size: 13px; font-weight: 600; display: inline-block; margin-bottom: 6px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.loading, .empty { padding: 40px 20px; text-align: center; color: var(--muted); }

/* ---------- Komponen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 9px 15px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn:hover { border-color: #cfd3e3; background: #fafbff; text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(91, 77, 255, .28); }
.btn.primary:hover { background: var(--accent-2); }
.btn.danger { color: var(--red); }
.btn.danger:hover { background: var(--red-soft); border-color: #f5c2c8; }
.btn.danger.solid { background: var(--red); color: #fff; border-color: var(--red); }
.btn.small { padding: 6px 11px; font-size: 12.5px; border-radius: 8px; }
.btn.block { width: 100%; padding: 12px; }
.btn.ghost { border-color: transparent; background: transparent; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); margin-bottom: 18px; min-width: 0; }
.panel h2 { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat .label { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.stat .value { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0; font-variant-numeric: tabular-nums; }
.stat.accent { background: linear-gradient(135deg, #5b4dff, #3d2fd6); border-color: transparent; color: #fff; }
.stat.accent .label, .stat.accent small { color: #d9d5ff; }

.grid2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }

.chart { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 10px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar span { width: 100%; max-width: 30px; background: linear-gradient(180deg, #8a7fff, #5b4dff); border-radius: 6px 6px 3px 3px; min-height: 3px; }
.bar small { font-size: 10.5px; }

.table-wrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; }
tr.click:hover td { background: #fafaff; }
td .err-text { color: var(--red); font-size: 12px; max-width: 360px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.gray { background: var(--gray-soft); color: #5d6380; }
.badge.blue { background: var(--blue-soft); color: var(--blue); }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.amber { background: var(--amber-soft); color: var(--amber); }
.badge.red { background: var(--red-soft); color: var(--red); }
.badge.blue::before { animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.progress { height: 7px; background: var(--line-2); border-radius: 99px; overflow: hidden; margin-bottom: 3px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #7b6dff, #5b4dff); border-radius: 99px; transition: width .4s; }
.progress.big { height: 12px; }

.alert { padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; border: 1px solid; }
.alert.warn { background: var(--amber-soft); border-color: #f6dfa6; color: #7a4e02; }
.alert.info { background: var(--blue-soft); border-color: #c9dafc; color: #1d4bb3; }
.alert.err { background: var(--red-soft); border-color: #f5c2c8; color: #a0192a; }
.alert a { font-weight: 700; color: inherit; text-decoration: underline; }

/* ---------- Form ---------- */
label { display: block; font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 14px; }
label > small { font-weight: 500; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; transition: .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91, 77, 255, .14); }
input[type=checkbox], input[type=radio] { width: auto; display: inline-block; margin: 0; accent-color: var(--accent); }
textarea.code { font-family: var(--mono); font-size: 12.5px; line-height: 1.55; min-height: 460px; resize: vertical; background: #fbfbfe; tab-size: 2; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.hint { font-size: 12.5px; color: var(--ink-2); margin: -4px 0 12px; line-height: 1.6; }
.checks { display: flex; flex-direction: column; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin: 0; font-weight: 600; cursor: pointer; }
.check:hover { border-color: #cfd3e3; }
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.check small { margin-left: auto; text-align: right; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar input, .toolbar select { margin: 0; width: auto; min-width: 180px; }
.toolbar .grow { flex: 1; min-width: 220px; }
.err { color: var(--red); font-weight: 600; font-size: 13px; min-height: 18px; margin-bottom: 8px; }

.editor { display: grid; grid-template-columns: minmax(320px, 420px) 1fr; gap: 18px; align-items: start; }
.tabs { display: inline-flex; background: var(--line-2); padding: 3px; border-radius: 10px; }
.tab { border: 0; background: transparent; padding: 6px 13px; border-radius: 8px; font: inherit; font-weight: 700; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.tab.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
iframe.preview { width: 100%; height: 560px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.row-btns { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; flex-wrap: wrap; }
.bulkbar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--accent-soft); border-radius: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.bulkbar select { width: auto; margin: 0; padding: 6px 10px; }

.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.acc-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.acc h3 { font-size: 15px; font-weight: 800; }
.acc .meta { font-size: 12.5px; color: var(--ink-2); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }

.info-list { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; font-size: 13.5px; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 600; word-break: break-word; }

.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.filter-tabs button.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Modal & toast ---------- */
.modal { position: fixed; inset: 0; background: rgba(15, 17, 35, .5); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 50; padding: 20px; }
.modal-box { background: #fff; width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.modal-head h3 { font-size: 17px; font-weight: 800; }
.x { border: 0; background: var(--line-2); width: 32px; height: 32px; border-radius: 8px; font-size: 20px; cursor: pointer; color: var(--ink-2); }
#modal-body { padding: 20px 22px 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.result-box { background: var(--bg); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.result-box div { display: flex; justify-content: space-between; padding: 3px 0; }

#toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 60; max-width: 420px; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); animation: slide .2s ease-out; }
.toast.ok { border-left: 4px solid #34d399; }
.toast.err { border-left: 4px solid #f87171; }
@keyframes slide { from { transform: translateY(10px); opacity: 0; } }

/* ---------- Login ---------- */
.login-page { background: var(--side); min-height: 100vh; }
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; max-width: 1100px; margin: 0 auto; align-items: center; gap: 60px; padding: 40px 32px; }
.login-art { color: var(--side-ink); }
.login-art .brand { padding: 0 0 40px; }
.login-art h1 { color: #fff; font-size: 38px; line-height: 1.15; font-weight: 800; margin-bottom: 24px; }
.login-art ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 12px; }
.login-art li { padding-left: 28px; position: relative; }
.login-art li::before { content: "✓"; position: absolute; left: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(91, 77, 255, .3); color: #b3abff; font-size: 11px; display: grid; place-items: center; top: 2px; }
.login-card { background: #fff; border-radius: 20px; padding: 36px 34px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.login-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.login-card .muted { margin: 0 0 22px; }

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
  .grid2, .editor { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: sticky; top: 0; height: auto; flex-direction: row; align-items: center; padding: 10px 12px; z-index: 20; gap: 8px; overflow-x: auto; }
  .brand { padding: 0 6px 0 0; }
  .brand div { display: none; }
  nav { flex-direction: row; }
  nav a span { display: none; }
  nav a { padding: 10px; }
  .side-foot { margin: 0 0 0 auto; border: 0; padding: 0; }
  .who { display: none; }
  .logout { width: auto; }
  main { padding: 20px 16px 50px; }
  .row2, .row3 { grid-template-columns: 1fr; gap: 0; }
  .login-wrap { grid-template-columns: 1fr; gap: 30px; }
  .login-art h1 { font-size: 28px; }
  .table-wrap { margin: 0 -16px; padding: 0 16px; }
  .panel { padding: 16px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat .value { font-size: 21px; }
}

/* ---------- v1.1: kategori, template, Claude, website ---------- */
.nav-sep { height: 1px; background: var(--side-2); margin: 8px 10px; }
.cat { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; background: color-mix(in srgb, var(--c) 13%, #fff); color: color-mix(in srgb, var(--c) 82%, #000); border: 1px solid color-mix(in srgb, var(--c) 28%, #fff); }
.cat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.cats { display: flex; flex-wrap: wrap; gap: 4px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.swatches button { width: 28px; height: 28px; border-radius: 8px; border: 2px solid transparent; background: var(--c); cursor: pointer; }
.swatches button.on { border-color: var(--ink); box-shadow: 0 0 0 2px #fff inset; }
.seg { display: inline-flex; background: var(--line-2); padding: 3px; border-radius: 10px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; font: inherit; font-weight: 700; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.sub { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 16px 0 8px; }
.sub:first-child { margin-top: 0; }

.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tpl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tpl-thumb { height: 230px; overflow: hidden; background: #f2f3f8; border-bottom: 1px solid var(--line); position: relative; container-type: inline-size; }
.tpl-thumb iframe { width: 238cqw; height: 560px; border: 0; transform: scale(.42); transform-origin: 0 0; pointer-events: none; background: #fff; }
.tpl-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tpl-body h3 { font-size: 14.5px; font-weight: 800; }
.src { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--gray-soft); color: #5d6380; }
.src.claude { background: #fdeee4; color: #a5461c; }

.modal-box.wide { max-width: 980px; }
.claude-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 18px; }
.claude-grid iframe { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.claude-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #d97757; color: #fff; font-size: 13px; font-weight: 800; }
.chips-s { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-s button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 12px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.chips-s button:hover { border-color: var(--accent); color: var(--accent); }
.working { display: flex; align-items: center; gap: 12px; padding: 40px 20px; justify-content: center; color: var(--ink-2); font-weight: 600; }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--accent-soft); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
textarea.prompt { font-family: var(--mono); font-size: 12px; line-height: 1.5; background: #fbfbfe; }

.drop { border: 2px dashed #cfd3e3; border-radius: 12px; padding: 26px 16px; text-align: center; background: #fbfbfe; cursor: pointer; transition: .15s; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop b { display: block; font-size: 15px; margin-bottom: 4px; }
.drop input { display: none; }
pre.log { background: #14162a; color: #c9cde8; font-family: var(--mono); font-size: 12px; line-height: 1.6; padding: 14px 16px; border-radius: 10px; white-space: pre-wrap; word-break: break-word; max-height: 260px; overflow: auto; margin: 0; }
.site-card { display: flex; flex-direction: column; gap: 12px; }
.site-card .url { font-size: 12.5px; color: var(--ink-2); word-break: break-all; }
.panel.highlight { border-color: #cdc8ff; background: linear-gradient(180deg, #f7f6ff, #fff 60%); }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; align-items: start; }
.keyrow { display: flex; gap: 8px; align-items: flex-end; }
.keyrow label { flex: 1; margin: 0; }
@media (max-width: 820px) { .nav-sep { width: 1px; height: 24px; margin: 0 4px; align-self: center; } .claude-grid { grid-template-columns: 1fr; } .claude-grid iframe { height: 420px; } }

.logo-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.logo-prev { width: 76px; height: 76px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: #ffffff; flex: none; }

/* ---------- Layar PIN ---------- */
.pin-card { text-align: center; max-width: 380px; width: 100%; justify-self: center; }
.pin-card .muted { margin-bottom: 18px; }
.pin-input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.pin-dots { display: flex; justify-content: center; gap: 14px; margin: 6px 0 10px; }
.pin-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c9cce0; transition: .12s; }
.pin-dots i.on { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.pin-card .err { min-height: 20px; margin-bottom: 10px; }
.pin-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pin-pad button { height: 58px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 22px; font-weight: 700; color: var(--ink); cursor: pointer; transition: .1s; }
.pin-pad button:hover { border-color: var(--accent); background: var(--accent-soft); }
.pin-pad button:active { transform: scale(.96); }
.pin-pad button.soft { font-size: 18px; color: var(--ink-2); background: var(--bg); }
.pin-card.wait .pin-dots i.on { animation: pinwait .6s infinite alternate; }
.pin-card.ok .pin-dots i { background: var(--green); border-color: var(--green); }
.pin-card.shake { animation: shake .35s; }
@keyframes pinwait { to { opacity: .35; } }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .pin-card.shake, .pin-card.wait .pin-dots i.on { animation: none; } }
@media (max-width: 820px) {
  .login-wrap { gap: 22px; padding-block: 28px; }
  .login-art .brand { padding-bottom: 14px; }
  .login-art h1 { font-size: 22px; margin: 0; }
  .login-art ul { display: none; }
  .pin-card { padding: 26px 20px; }
}
