:root{
  color-scheme: light;
  --bg:#F1F5F4; --surface:#FFFFFF; --surface-2:#F7FAF9; --surface-3:#EAF0EE;
  --border:#DBE5E2; --border-strong:#BFCFCB;
  --ink:#0F1F1C; --ink-2:#41544F; --ink-3:#6C817C;
  --accent:#0B6E5F; --accent-ink:#FFFFFF; --accent-soft:#E1EFEB; --accent-line:#9CC9BF;
  --good:#1B7A4B; --good-soft:#E2F1E8;
  --warn:#B4600F; --warn-soft:#FAEDDF;
  --bad:#A8352C; --bad-soft:#F8E5E3;
  --info:#2a78d6; --info-soft:#E4EDFA;
  --s1:#2a78d6; --s2:#eb6834; --s3:#1baf7a;
  --stage0:#8C9A97; --stage1:#CDE5E0; --stage2:#8FC7BB; --stage3:#3F9C88; --stage4:#0A6153;
  --grid:#E7EEEC;
  --shadow-sm:0 1px 2px rgba(15,31,28,.07);
  --shadow:0 1px 2px rgba(15,31,28,.06), 0 10px 28px -16px rgba(15,31,28,.30);
  --shadow-lg:0 24px 60px -24px rgba(15,31,28,.42);
  --r:12px; --r-sm:8px; --r-lg:18px;
  --ff-display:"Archivo","Helvetica Neue",Arial,sans-serif;
  --ff-body:"Source Sans 3","Segoe UI",Helvetica,Arial,sans-serif;
  --ff-mono:"IBM Plex Mono",ui-monospace,"SFMono-Regular",Menlo,monospace;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    color-scheme: dark;
    --bg:#0C1513; --surface:#141F1D; --surface-2:#182422; --surface-3:#1E2C29;
    --border:#243330; --border-strong:#364844;
    --ink:#E8EFED; --ink-2:#AABBB7; --ink-3:#7F928E;
    --accent:#43AD98; --accent-ink:#04211C; --accent-soft:#12312B; --accent-line:#2E6E60;
    --good:#41AB6F; --good-soft:#122E1F;
    --warn:#D9903A; --warn-soft:#33240F;
    --bad:#E27C72; --bad-soft:#361D1A;
    --info:#6E9BD6; --info-soft:#152436;
    --s1:#3987e5; --s2:#d95926; --s3:#199e70;
    --stage0:#5C6D69; --stage1:#25453F; --stage2:#376E5E; --stage3:#4E9C86; --stage4:#7ECCB5;
    --grid:#21302C;
    --shadow-sm:0 1px 2px rgba(0,0,0,.4);
    --shadow:0 1px 2px rgba(0,0,0,.35), 0 10px 28px -16px rgba(0,0,0,.8);
    --shadow-lg:0 24px 60px -24px rgba(0,0,0,.85);
  }
}
:root[data-theme="dark"]{
  color-scheme: dark;
  --bg:#0C1513; --surface:#141F1D; --surface-2:#182422; --surface-3:#1E2C29;
  --border:#243330; --border-strong:#364844;
  --ink:#E8EFED; --ink-2:#AABBB7; --ink-3:#7F928E;
  --accent:#43AD98; --accent-ink:#04211C; --accent-soft:#12312B; --accent-line:#2E6E60;
  --good:#41AB6F; --good-soft:#122E1F;
  --warn:#D9903A; --warn-soft:#33240F;
  --bad:#E27C72; --bad-soft:#361D1A;
  --info:#6E9BD6; --info-soft:#152436;
  --s1:#3987e5; --s2:#d95926; --s3:#199e70;
  --stage0:#5C6D69; --stage1:#25453F; --stage2:#376E5E; --stage3:#4E9C86; --stage4:#7ECCB5;
  --grid:#21302C;
  --shadow-sm:0 1px 2px rgba(0,0,0,.4);
  --shadow:0 1px 2px rgba(0,0,0,.35), 0 10px 28px -16px rgba(0,0,0,.8);
  --shadow-lg:0 24px 60px -24px rgba(0,0,0,.85);
}

*{box-sizing:border-box}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--ff-body); font-size:15px; line-height:1.55;
  -webkit-text-size-adjust:100%; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:var(--ff-display); margin:0; text-wrap:balance; letter-spacing:-.011em; font-weight:600}
button,input,select,textarea{font:inherit; color:inherit}
a{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent); outline-offset:2px; border-radius:4px}
.num{font-family:var(--ff-mono); font-variant-numeric:tabular-nums; letter-spacing:-.02em}
.eyebrow{font-family:var(--ff-mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hide{display:none !important}

/* ---------- shell ---------- */
#app{min-height:100vh}
.shell{display:flex; min-height:100vh}
.side{
  width:238px; flex:none; background:var(--surface); border-right:1px solid var(--border);
  display:flex; flex-direction:column; position:sticky; top:0; height:100vh;
}
.brand{padding:18px 18px 14px; border-bottom:1px solid var(--border); display:flex; gap:11px; align-items:flex-start}
.brand-mark{
  width:34px;height:34px;flex:none;border-radius:9px;background:var(--accent);color:var(--accent-ink);
  display:grid;place-items:center;font-family:var(--ff-display);font-weight:700;font-size:15px;letter-spacing:-.03em;
}
.brand-name{font-family:var(--ff-display);font-weight:700;font-size:14.5px;line-height:1.25;letter-spacing:-.015em}
.brand-sub{font-size:11.5px;color:var(--ink-3);line-height:1.3;margin-top:2px}
.nav{padding:10px; display:flex; flex-direction:column; gap:2px; overflow-y:auto; flex:1}
.nav-btn{
  display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:var(--r-sm);
  background:none;border:0;cursor:pointer;color:var(--ink-2);font-size:14.5px;font-weight:500;text-align:left;width:100%;
}
.nav-btn svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
.nav-btn:hover{background:var(--surface-3);color:var(--ink)}
.nav-btn[aria-current="page"]{background:var(--accent-soft);color:var(--accent);font-weight:600}
.nav-btn[aria-current="page"] svg{opacity:1}
.side-foot{padding:12px; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:8px}
.whoami{display:flex;align-items:center;gap:9px;min-width:0}
.avatar{width:32px;height:32px;flex:none;border-radius:50%;background:var(--surface-3);color:var(--ink-2);display:grid;place-items:center;font-family:var(--ff-display);font-weight:700;font-size:12.5px;border:1px solid var(--border)}
.whoami-name{display:block;font-size:13.5px;font-weight:600;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.whoami-role{display:block;font-size:11px;color:var(--ink-3);line-height:1.2}
.main{flex:1; min-width:0; display:flex; flex-direction:column}
.topbar{display:none}
.view{padding:26px 30px 48px; max-width:1180px; width:100%; margin:0 auto; flex:1}
.view-head{display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; margin-bottom:20px}
.view-title{font-size:25px; line-height:1.15; font-weight:700; letter-spacing:-.022em}
.view-sub{color:var(--ink-3); font-size:14px; margin-top:3px}
.bottomnav{display:none}

@media (max-width: 860px){
  .side{display:none}
  .shell{display:block}
  .topbar{
    display:flex; align-items:center; gap:11px; padding:11px 14px;
    background:var(--surface); border-bottom:1px solid var(--border);
    position:sticky; top:0; z-index:40;
  }
  .topbar .brand-name{font-size:13.5px}
  .view{padding:16px 14px 96px}
  .view-title{font-size:21px}
  .bottomnav{
    display:grid; grid-auto-flow:column; grid-auto-columns:1fr;
    position:fixed; left:0; right:0; bottom:0; z-index:50;
    background:var(--surface); border-top:1px solid var(--border);
    padding:5px 4px calc(5px + env(safe-area-inset-bottom));
  }
  .bn-btn{
    background:none;border:0;cursor:pointer;padding:6px 2px 5px;display:flex;flex-direction:column;align-items:center;gap:3px;
    color:var(--ink-3);font-size:10.5px;font-weight:600;letter-spacing:.01em;border-radius:9px;
  }
  .bn-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .bn-btn[aria-current="page"]{color:var(--accent)}
}

/* ---------- primitives ---------- */
.card{background:var(--surface); border:1px solid var(--border); border-radius:var(--r); box-shadow:var(--shadow-sm)}
.card-pad{padding:16px 18px}
.card-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:14px 18px 0}
.card-title{font-size:15px;font-weight:600;font-family:var(--ff-display);letter-spacing:-.01em}
.card-note{font-size:12px;color:var(--ink-3)}
.grid{display:grid;gap:14px}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.spacer{flex:1}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:9px 15px;border-radius:var(--r-sm);border:1px solid var(--border-strong);
  background:var(--surface);color:var(--ink);font-size:14px;font-weight:600;cursor:pointer;
  transition:background .13s ease, border-color .13s ease, transform .08s ease;
  min-height:40px; line-height:1.1;
}
.btn:hover{background:var(--surface-3)}
.btn:active{transform:translateY(1px)}
.btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.btn-primary:hover{background:var(--accent);filter:brightness(1.08)}
.btn-ghost{background:none;border-color:transparent;color:var(--ink-2)}
.btn-ghost:hover{background:var(--surface-3);color:var(--ink)}
.btn-danger{color:var(--bad);border-color:var(--border-strong)}
.btn-danger:hover{background:var(--bad-soft)}
.btn-sm{padding:6px 11px;min-height:32px;font-size:13px;border-radius:7px}
.btn-wa{background:#1FA855;border-color:#1FA855;color:#fff}
.btn-wa:hover{background:#188f47;border-color:#188f47}
.btn:disabled{opacity:.5;cursor:not-allowed}

.field{display:flex;flex-direction:column;gap:5px}
.field > label{font-size:12.5px;font-weight:600;color:var(--ink-2)}
.field .hint{font-size:11.5px;color:var(--ink-3)}
input[type=text],input[type=number],input[type=date],input[type=tel],input[type=password],select,textarea{
  width:100%;padding:9px 11px;border:1px solid var(--border-strong);border-radius:var(--r-sm);
  background:var(--surface);font-size:15px;
}
textarea{resize:vertical;min-height:76px;line-height:1.5}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.form-grid .full{grid-column:1/-1}
@media (max-width:640px){.form-grid{grid-template-columns:1fr}}

.pill{
  display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;
  font-size:11.5px;font-weight:600;line-height:1.7;white-space:nowrap;border:1px solid transparent;
}
.pill .dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.pill-baru{background:var(--surface-3);color:var(--ink-2);border-color:var(--border)}
.pill-prospek{background:var(--info-soft);color:var(--info)}
.pill-negosiasi{background:var(--warn-soft);color:var(--warn)}
.pill-deal{background:var(--good-soft);color:var(--good)}
.pill-gagal{background:var(--bad-soft);color:var(--bad)}
.pill-role{background:var(--accent-soft);color:var(--accent)}

table{width:100%;border-collapse:collapse;font-size:14px}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
th{
  text-align:left;font-family:var(--ff-mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-3);font-weight:500;padding:10px 12px;border-bottom:1px solid var(--border);white-space:nowrap;
}
td{padding:11px 12px;border-bottom:1px solid var(--border);vertical-align:top}
tbody tr:last-child td{border-bottom:0}
tbody tr:hover{background:var(--surface-2)}
td.r,th.r{text-align:right}

.empty{padding:34px 20px;text-align:center;color:var(--ink-3);font-size:14px}
.empty strong{display:block;color:var(--ink-2);font-size:15px;margin-bottom:4px;font-family:var(--ff-display)}

/* ---------- stat tiles ---------- */
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.tile{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:14px 15px 15px;box-shadow:var(--shadow-sm);position:relative;overflow:hidden}
.tile-label{font-family:var(--ff-mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.tile-val{font-family:var(--ff-display);font-weight:700;font-size:26px;letter-spacing:-.03em;line-height:1.1;margin-top:7px;font-variant-numeric:tabular-nums}
.tile-val small{font-size:15px;font-weight:600;color:var(--ink-2);letter-spacing:0}
.tile-sub{font-size:12.5px;color:var(--ink-3);margin-top:4px}
.tile-bar{height:5px;border-radius:99px;background:var(--surface-3);margin-top:10px;overflow:hidden}
.tile-bar > i{display:block;height:100%;border-radius:99px;background:var(--accent)}

/* ---------- charts ---------- */
.legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px}
.legend span{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-2)}
.legend i{width:10px;height:10px;border-radius:3px;flex:none}
.bars{display:flex;flex-direction:column;gap:13px}
.bar-row{display:grid;grid-template-columns:minmax(96px,132px) 1fr auto;gap:11px;align-items:center}
@media (max-width:600px){.bar-row{grid-template-columns:1fr;gap:5px}}
.bar-name{font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bar-track{position:relative;height:22px;background:var(--surface-3);border-radius:5px;overflow:visible}
.bar-fill{position:absolute;left:0;top:0;bottom:0;background:var(--accent);border-radius:4px 5px 5px 4px;min-width:3px;transition:width .5s cubic-bezier(.2,.7,.3,1)}
.bar-target{position:absolute;top:-4px;bottom:-4px;width:2px;background:var(--ink-2);border-radius:2px}
.bar-target::after{content:attr(data-l);position:absolute;top:-15px;left:50%;transform:translateX(-50%);font-family:var(--ff-mono);font-size:9.5px;color:var(--ink-3);white-space:nowrap}
.bar-val{font-family:var(--ff-mono);font-size:12.5px;font-variant-numeric:tabular-nums;color:var(--ink-2);white-space:nowrap}
.stack{display:flex;height:26px;border-radius:6px;overflow:hidden;background:var(--surface-3);gap:2px}
.stack > i{display:block;height:100%}
.colchart{display:flex;align-items:flex-end;gap:6px;height:132px;padding-top:16px}
.colwrap{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;height:100%;justify-content:flex-end;position:relative}
.col{width:100%;max-width:38px;background:var(--accent);border-radius:4px 4px 0 0;min-height:2px;transition:height .5s cubic-bezier(.2,.7,.3,1)}
.col-lab{font-family:var(--ff-mono);font-size:10px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.col-num{font-family:var(--ff-mono);font-size:10.5px;color:var(--ink-2);position:absolute}

/* ---------- login ---------- */
.login-wrap{min-height:100vh;display:grid;place-items:center;padding:22px;background:
  radial-gradient(1100px 520px at 12% -8%, var(--accent-soft), transparent 62%),
  radial-gradient(760px 420px at 105% 106%, var(--surface-3), transparent 60%), var(--bg);}
.login{width:100%;max-width:392px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-lg);overflow:hidden}
.login-head{padding:26px 26px 18px;border-bottom:1px solid var(--border)}
.login-title{font-size:22px;font-weight:700;letter-spacing:-.025em;margin-top:14px}
.login-sub{color:var(--ink-3);font-size:13.5px;margin-top:4px}
.login-body{padding:20px 26px 24px;display:flex;flex-direction:column;gap:14px}
.userlist{display:flex;flex-direction:column;gap:6px;max-height:238px;overflow-y:auto;margin:-4px}
.userpick{
  display:flex;align-items:center;gap:11px;padding:9px 11px;border-radius:var(--r-sm);border:1px solid var(--border);
  background:var(--surface);cursor:pointer;text-align:left;width:100%;transition:border-color .12s,background .12s;
}
.userpick:hover{border-color:var(--accent-line);background:var(--surface-2)}
.userpick[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-soft)}
.pinbox{display:flex;gap:8px;justify-content:center}
.pinbox input{
  width:46px;height:54px;text-align:center;font-family:var(--ff-mono);font-size:22px;
  border-radius:10px;padding:0;letter-spacing:0;
}
.err{color:var(--bad);font-size:13px;background:var(--bad-soft);padding:8px 11px;border-radius:var(--r-sm);border:1px solid transparent}
.demo-note{font-size:11.5px;color:var(--ink-3);line-height:1.5;background:var(--surface-2);border:1px dashed var(--border-strong);border-radius:var(--r-sm);padding:9px 11px}
.demo-note b{color:var(--ink-2);font-family:var(--ff-mono);font-weight:500}

/* ---------- sheet / modal ---------- */
.scrim{position:fixed;inset:0;background:rgba(9,20,18,.52);backdrop-filter:blur(2px);z-index:100;display:flex;align-items:flex-end;justify-content:center}
@media (min-width:861px){.scrim{align-items:center;padding:26px}}
.sheet{
  background:var(--surface);width:100%;max-width:720px;max-height:94vh;overflow-y:auto;
  border-radius:var(--r-lg) var(--r-lg) 0 0;box-shadow:var(--shadow-lg);border:1px solid var(--border);
  -webkit-overflow-scrolling:touch;
}
@media (min-width:861px){.sheet{border-radius:var(--r-lg);max-height:88vh}}
.sheet-head{
  position:sticky;top:0;background:var(--surface);border-bottom:1px solid var(--border);z-index:2;
  padding:15px 18px;display:flex;align-items:center;gap:12px;
}
.sheet-title{font-size:17px;font-weight:700;letter-spacing:-.018em;flex:1;min-width:0}
.sheet-body{padding:18px}
.sheet-foot{
  position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--border);
  padding:12px 18px calc(12px + env(safe-area-inset-bottom));display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;
}
.iconbtn{width:34px;height:34px;border-radius:9px;border:1px solid var(--border);background:var(--surface);display:grid;place-items:center;cursor:pointer;flex:none}
.iconbtn svg{width:17px;height:17px;stroke:var(--ink-2);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.iconbtn:hover{background:var(--surface-3)}

/* ---------- photos & signature ---------- */
.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:9px}
.photo{position:relative;aspect-ratio:4/3;border-radius:var(--r-sm);overflow:hidden;border:1px solid var(--border);background:var(--surface-3)}
.photo img{width:100%;height:100%;object-fit:cover;display:block}
.photo button{position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:50%;border:0;background:rgba(9,20,18,.72);color:#fff;cursor:pointer;display:grid;place-items:center;font-size:14px;line-height:1}
.addphoto{
  aspect-ratio:4/3;border:1.5px dashed var(--border-strong);border-radius:var(--r-sm);background:var(--surface-2);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;color:var(--ink-3);font-size:11.5px;font-weight:600;
}
.addphoto svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round}
.addphoto:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}
.sigs{display:grid;grid-template-columns:1fr 1fr;gap:13px}
@media (max-width:640px){.sigs{grid-template-columns:1fr}}
.sigbox{border:1px solid var(--border);border-radius:var(--r-sm);overflow:hidden;background:var(--surface)}
.sigbox header{padding:7px 11px;border-bottom:1px solid var(--border);background:var(--surface-2);display:flex;align-items:center;gap:8px}
.sigbox header span{font-size:12px;font-weight:600;color:var(--ink-2);flex:1}
.sigcanvas{display:block;width:100%;height:132px;touch-action:none;background:#fff;cursor:crosshair}
.sigcanvas.signed{background:#fff}
.sig-empty{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;color:#9aa8a5;font-size:12.5px}
.sigstage{position:relative}

/* ---------- misc ---------- */
.toast{
  position:fixed;left:50%;transform:translateX(-50%);bottom:calc(78px + env(safe-area-inset-bottom));z-index:200;
  background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:99px;font-size:13.5px;font-weight:600;
  box-shadow:var(--shadow-lg);max-width:90vw;text-align:center;
}
@media (min-width:861px){.toast{bottom:26px}}
.savebar{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink-3)}
.savedot{width:7px;height:7px;border-radius:50%;background:var(--good);flex:none}
.savedot.busy{background:var(--warn)}
.savedot.off{background:var(--bad)}
.meter{height:4px;border-radius:99px;background:var(--surface-3);overflow:hidden;width:100%}
.meter > i{display:block;height:100%;background:var(--accent)}
.meter.warn > i{background:var(--warn)}
.meter.bad > i{background:var(--bad)}
.filters{display:flex;gap:9px;flex-wrap:wrap;align-items:flex-end;margin-bottom:16px}
.filters .field{min-width:132px}
.seg{display:inline-flex;background:var(--surface-3);border-radius:9px;padding:3px;gap:2px;border:1px solid var(--border)}
.seg button{border:0;background:none;padding:5px 12px;border-radius:7px;font-size:13px;font-weight:600;color:var(--ink-3);cursor:pointer}
.seg button[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}
.listcard{display:flex;flex-direction:column;gap:9px}
.item{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:13px 15px;
  display:grid;grid-template-columns:1fr auto;gap:4px 12px;cursor:pointer;box-shadow:var(--shadow-sm);
  transition:border-color .12s, transform .08s;
}
.item:hover{border-color:var(--accent-line)}
.item:active{transform:scale(.995)}
.item-title{font-weight:600;font-size:15px;letter-spacing:-.01em;line-height:1.3}
.item-meta{font-size:12.5px;color:var(--ink-3);grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:2px}
.item-meta b{font-weight:600;color:var(--ink-2)}
.kv{display:grid;grid-template-columns:132px 1fr;gap:7px 14px;font-size:14px}
@media (max-width:560px){.kv{grid-template-columns:1fr;gap:2px 0}.kv dt{margin-top:9px}}
.kv dt{color:var(--ink-3);font-size:12.5px;padding-top:2px}
.kv dd{margin:0;font-weight:500}
.divider{height:1px;background:var(--border);margin:18px 0}
.warnbox{background:var(--warn-soft);border:1px solid transparent;color:var(--warn);padding:10px 13px;border-radius:var(--r-sm);font-size:13px;line-height:1.5}
.infobox{background:var(--surface-2);border:1px solid var(--border);padding:11px 13px;border-radius:var(--r-sm);font-size:13px;line-height:1.55;color:var(--ink-2)}
@media (prefers-reduced-motion: reduce){*{animation-duration:.001ms !important;transition-duration:.001ms !important}}

/* ---------- tambahan versi server ---------- */
.login-body .field input{font-size:16px}
.loading{min-height:100vh;display:grid;place-items:center;color:var(--ink-3);font-size:14px;background:var(--bg)}
.spinner{width:26px;height:26px;border:2.5px solid var(--border-strong);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite;margin:0 auto 12px}
@keyframes spin{to{transform:rotate(360deg)}}
.linkbox{display:flex;gap:8px;align-items:center;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-sm);padding:9px 11px;font-family:var(--ff-mono);font-size:12.5px;word-break:break-all}
.linkbox span{flex:1;min-width:0}
.steps{counter-reset:s;list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:11px}
.steps li{counter-increment:s;display:grid;grid-template-columns:26px 1fr;gap:11px;align-items:start;font-size:14px;color:var(--ink-2);line-height:1.55}
.steps li::before{content:counter(s);width:24px;height:24px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;font-family:var(--ff-mono);font-size:12px;font-weight:500;margin-top:1px}
.steps li.done::before{content:"\2713";background:var(--good-soft);color:var(--good)}
.pwmeter{height:4px;border-radius:99px;background:var(--surface-3);overflow:hidden;margin-top:5px}
.pwmeter>i{display:block;height:100%;transition:width .25s ease}
