:root{
  --ink:#1b2140; --muted:#7b82a3; --line:#eceef7; --bg:#f4f5fb;
  --purple:#6d5bf5; --purple2:#8b5cf6; --purple-deep:#5b3ee0;
  --green:#0f9d58; --blue:#2f6fed; --amber:#c2831b; --red:#d02f4b;
  --sidebar:#161c3f; --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none !important}
html,body{height:100%}
body{
  font-family:'Plus Jakarta Sans',system-ui,-apple-system,Segoe UI,sans-serif;
  background:var(--bg);color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
img{display:block}
svg{display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.icon-btn svg{width:19px;height:19px}
.user svg{width:14px;height:14px}
.credits .bolt svg{width:12px;height:12px}
.umenu button svg{width:14px;height:14px}
.btn-white svg{width:15px;height:15px}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:#d6dae9;border-radius:8px}

/* ================= LAYOUT ================= */
.sidebar{
  width:232px;position:fixed;inset:0 auto 0 0;z-index:50;display:flex;flex-direction:column;
  padding:18px 14px 14px;color:#fff;
  background:radial-gradient(120% 90% at 10% 0%,#232a5c 0%,#171d44 45%,#12173a 100%);
  border-right:1px solid rgba(255,255,255,.05);
}
.brand{display:flex;align-items:center;gap:10px;padding:2px 4px 15px}
.brand img{width:38px;height:38px;filter:drop-shadow(0 6px 12px rgba(34,193,245,.25))}
.brand h1{font-size:20px;font-weight:800;letter-spacing:-.03em;line-height:1.1}
.brand p{font-size:9.5px;letter-spacing:.02em;color:#8f96c9;margin-top:3px;font-weight:600}

.nav{display:flex;flex-direction:column;gap:2px;flex:1;overflow-y:auto;padding-right:2px}
.nav::-webkit-scrollbar{width:0}
.nav a{
  display:flex;align-items:center;gap:11px;padding:9.5px 11px;border-radius:9px;
  color:#c3c8e8;font-size:12.8px;font-weight:600;transition:.15s;position:relative;line-height:1.2;
}
.nav a svg{width:16px;height:16px;flex:0 0 16px;stroke:currentColor;opacity:.85}
.nav a:hover{background:rgba(255,255,255,.06);color:#fff}
.nav a.active{
  background:linear-gradient(100deg,#6d5bf5,#8b5cf6);color:#fff;
  box-shadow:0 10px 20px -8px rgba(109,91,245,.75);font-weight:700;
}
.nav a.active svg{opacity:1}
.nav .sep{height:7px}

.side-card{
  margin-top:10px;border-radius:13px;padding:12px;
  background:linear-gradient(160deg,rgba(124,58,237,.28),rgba(35,26,82,.55));
  border:1px solid rgba(167,139,250,.42);
}
.side-card .cr{width:22px;height:22px;color:#fcd34d}
.side-card h4{font-size:12.5px;font-weight:800;margin:6px 0 3px}
.side-card p{font-size:9.5px;line-height:1.45;color:#bdb9ee}
.side-card button{
  width:100%;margin-top:9px;padding:8px;border:0;border-radius:9px;cursor:pointer;
  background:linear-gradient(95deg,#8b5cf6,#a855f7);color:#fff;font-weight:700;font-size:11.5px;
  display:flex;align-items:center;justify-content:center;gap:6px;
  box-shadow:0 8px 16px -8px rgba(168,85,247,.9);
}
.side-card button:hover{filter:brightness(1.07)}

.main{margin-left:232px;min-height:100vh;display:flex;flex-direction:column}
.topbar{
  height:62px;background:#fff;display:flex;align-items:center;gap:12px;padding:0 20px;
  position:sticky;top:0;z-index:40;border-bottom:1px solid #eef0f7;
}
.icon-btn{border:0;background:transparent;width:32px;height:32px;border-radius:9px;display:grid;place-items:center;cursor:pointer;color:#4a5075}
.icon-btn:hover{background:#f3f4fa;color:#1b2140}
.icon-btn svg{width:19px;height:19px;stroke:currentColor}
.page-title{font-size:18px;font-weight:800;letter-spacing:-.02em}
.spacer{flex:1}

.credits{display:flex;align-items:center;gap:8px;background:#f5f3ff;border:1px solid #e8e2ff;border-radius:10px;padding:4px 5px 4px 7px}
.credits .bolt{width:22px;height:22px;border-radius:7px;background:linear-gradient(140deg,#6d5bf5,#a78bfa);display:grid;place-items:center;color:#fff}
.credits .bolt svg{width:12px;height:12px}
.credits .txt{font-size:11.5px;font-weight:700;color:#3b3663;white-space:nowrap}
.credits button{border:0;border-radius:7px;cursor:pointer;background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff;font-weight:800;font-size:10.5px;padding:5px 9px;white-space:nowrap}
.credits button:hover{filter:brightness(1.08)}

.bell{position:relative}
.bell .dot{position:absolute;top:5px;right:6px;width:7px;height:7px;border-radius:50%;background:#ef4444;border:2px solid #fff}
.user{display:flex;align-items:center;gap:7px;padding:4px 6px;border-radius:10px;cursor:pointer;border:0;background:transparent}
.user:hover{background:#f6f7fc}
.user img{width:30px;height:30px;border-radius:50%;object-fit:cover;border:2px solid #e8e2ff}
.user span{font-size:12px;font-weight:700;color:#2a3053;white-space:nowrap}
.user svg{width:14px;height:14px;color:#8a90ad}

.content{padding:18px 20px 26px;width:100%;max-width:1460px;margin:0 auto}

/* ================= HERO ================= */
.hero{
  position:relative;overflow:hidden;border-radius:18px;color:#fff;padding:24px 28px 22px;min-height:214px;
  background:linear-gradient(112deg,#5b43d2 0%,#7048e0 38%,#8b3ff0 72%,#9d4bf5 100%);
  box-shadow:0 24px 46px -26px rgba(96,54,206,.9);display:flex;align-items:center;
}
.hero::before{
  content:'';position:absolute;width:420px;height:420px;right:-90px;top:-160px;border-radius:50%;
  background:radial-gradient(circle,rgba(147,197,253,.45),transparent 62%);
}
.hero::after{
  content:'';position:absolute;width:380px;height:380px;left:38%;bottom:-260px;border-radius:50%;
  background:radial-gradient(circle,rgba(216,180,254,.5),transparent 65%);
}
.hero-copy{position:relative;z-index:3;max-width:520px}
.badge{
  display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:99px;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);
  font-size:10.5px;font-weight:700;backdrop-filter:blur(4px);
}
.badge svg{width:12px;height:12px}
.hero h2{font-size:clamp(25px,2.5vw,35px);line-height:1.12;letter-spacing:-.025em;font-weight:800;margin:11px 0 8px;max-width:395px}
.hero h2 em{font-style:normal;color:#fef08a}
.hero .sub{font-size:12.5px;color:#e9e2ff;line-height:1.55;max-width:430px}
.chips{display:flex;gap:8px;margin:14px 0 15px;flex-wrap:wrap}
.chip{display:flex;align-items:center;gap:7px;padding:6px 10px;border-radius:9px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18)}
.chip .ic{width:22px;height:22px;border-radius:7px;background:rgba(255,255,255,.2);display:grid;place-items:center}
.chip .ic svg{width:13px;height:13px;stroke:#fff}
.chip b{display:block;font-size:10.5px;font-weight:800;line-height:1.2}
.chip small{display:block;font-size:8.5px;color:#ded4ff;line-height:1.2}
.btn-white{
  display:inline-flex;align-items:center;gap:8px;border:0;cursor:pointer;
  background:#fff;color:#5b3ee0;border-radius:99px;padding:11px 20px;
  font-size:12.5px;font-weight:800;box-shadow:0 12px 22px -12px rgba(20,10,60,.8);
  transition:.15s;
}
.btn-white:hover{transform:translateY(-1px);box-shadow:0 16px 26px -14px rgba(20,10,60,.9)}
.hero-art{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:46%;max-width:520px;z-index:2;pointer-events:none}
.hero-art img{width:100%;height:auto}

/* ================= STEPS ================= */
.steps{
  margin-top:14px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:12px 16px;display:flex;align-items:center;gap:10px;
  box-shadow:0 10px 24px -22px rgba(27,33,64,.6);
}
.steps-lead{display:flex;align-items:center;gap:9px;padding-right:6px;min-width:168px}
.steps-lead .zap{width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#eef0ff;display:grid;place-items:center;color:#6d5bf5}
.steps-lead .zap svg{width:19px;height:19px}
.steps-lead h3{font-size:13px;font-weight:800;letter-spacing:-.01em}
.steps-lead p{font-size:10.5px;color:#8a90ad;margin-top:2px}
.step{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.step .num{width:17px;height:17px;flex:0 0 17px;border-radius:50%;background:#efeaff;color:#6d5bf5;font-size:9.5px;font-weight:800;display:grid;place-items:center}
.step .ic{width:32px;height:32px;flex:0 0 32px;border-radius:50%;border:1px solid #e7e9f5;display:grid;place-items:center;color:#6d5bf5;background:#fbfbff}
.step .ic svg{width:15px;height:15px}
.step b{font-size:10.5px;font-weight:800;display:block;line-height:1.25;white-space:nowrap}
.step small{font-size:8.5px;color:#8a90ad;line-height:1.35;display:block;margin-top:1px;max-width:112px}
.arrow{color:#cfd3e4;flex:0 0 12px}
.arrow svg{width:12px;height:12px}

/* ================= STATS ================= */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.stat{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:13px 15px;
  display:flex;align-items:center;gap:11px;box-shadow:0 8px 20px -20px rgba(27,33,64,.6);
}
.stat .ic{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:grid;place-items:center}
.stat .ic svg{width:20px;height:20px}
.stat .lbl{font-size:11px;color:#6f7695;font-weight:600}
.stat .val{font-size:22px;font-weight:800;letter-spacing:-.03em;margin-top:1px;display:flex;align-items:baseline;gap:6px}
.stat .up{font-size:9.5px;font-weight:800;color:#0f9d58;background:#e9f9f0;border-radius:99px;padding:2px 6px}
.stat .val .unit{font-size:10px;color:#9aa0bd;font-weight:600}
.i-purple{background:#efeaff;color:#6d5bf5}.i-green{background:#e9f9f0;color:#12a15a}
.i-orange{background:#fff3e2;color:#ec8a1c}.i-teal{background:#e3f9f6;color:#0d9f8f}

/* ================= BOTTOM GRID ================= */
.cols{display:grid;grid-template-columns:1.62fr 1fr;gap:14px;margin-top:14px;align-items:start}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 26px -24px rgba(27,33,64,.65)}
.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px 9px}
.card-head h3{font-size:13.5px;font-weight:800;display:flex;align-items:center;gap:7px;letter-spacing:-.01em}
.card-head h3 svg{width:16px;height:16px;color:#6d5bf5}
.link{font-size:11px;font-weight:800;color:#6d5bf5;cursor:pointer;display:inline-flex;align-items:center;gap:4px;background:none;border:0}
.link:hover{color:#4b3ee0}

table{width:100%;border-collapse:collapse}
thead th{
  font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;color:#9aa0bd;font-weight:800;
  text-align:left;padding:8px 14px;background:#f8f9fd;border-top:1px solid #f1f2f9;border-bottom:1px solid #f1f2f9;
}
tbody td{padding:8px 14px;border-bottom:1px solid #f4f5fb;font-size:11.5px;vertical-align:middle;color:#4a5075}
tbody tr:last-child td{border-bottom:0}
tbody tr:hover{background:#fbfbff}
.proj{display:flex;align-items:center;gap:8px}
.proj .thumb{width:27px;height:27px;flex:0 0 27px;border-radius:8px;display:grid;place-items:center}
.proj .thumb svg{width:14px;height:14px}
.proj b{font-size:11.5px;font-weight:700;color:#1b2140;display:block;line-height:1.25}
.proj small{font-size:9.5px;color:#9aa0bd;display:block}
.type{font-size:11px;color:#6f7695;white-space:nowrap}
.status{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:800;border-radius:99px;padding:3.5px 8px;white-space:nowrap}
.status svg{width:9px;height:9px}
.status.selesai{background:#e9f9f0;color:#0f9d58}
.status.proses{background:#e8efff;color:#2f6fed}
.status.draft{background:#fff5e0;color:#b97c14}
.status.gagal{background:#feecec;color:#d02f4b}
.upd{font-size:10.5px;color:#8a90ad;white-space:nowrap}
.actions{display:flex;gap:4px;justify-content:flex-end}
.act{width:25px;height:25px;border:1px solid #eceef7;background:#fff;border-radius:7px;display:grid;place-items:center;cursor:pointer;color:#6f7695}
.act svg{width:12px;height:12px}
.act:hover{background:#f4f3ff;border-color:#e0dbff;color:#5b3ee0}
.act.danger:hover{background:#fff0f2;border-color:#ffd7de;color:#d02f4b}

.quick{padding:0 15px 14px}
.quick h3{font-size:13.5px;font-weight:800;padding:13px 0 10px;display:flex;align-items:center;gap:7px}
.quick h3 svg{width:16px;height:16px;color:#6d5bf5}
.qgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.qcard{border-radius:11px;padding:12px 6px;text-align:center;cursor:pointer;border:1px solid rgba(255,255,255,.7);transition:.16s}
.qcard:hover{transform:translateY(-2px);box-shadow:0 12px 20px -14px rgba(27,33,64,.55)}
.qcard .ic{width:30px;height:30px;margin:0 auto 7px;border-radius:9px;background:rgba(255,255,255,.82);display:grid;place-items:center}
.qcard .ic svg{width:15px;height:15px}
.qcard b{font-size:10px;font-weight:800;display:block;line-height:1.3}
.q1{background:#efeaff;color:#5b3ee0}.q2{background:#e7f1ff;color:#1f6feb}.q3{background:#ffe9ec;color:#e0344b}
.q4{background:#e6f8f4;color:#0f9d7a}.q5{background:#fff6df;color:#b7791f}.q6{background:#ffe9f3;color:#d6336c}

/* ================= VIEWS ================= */
.view-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.view-head h2{font-size:23px;font-weight:800;letter-spacing:-.03em}
.view-head p{font-size:12px;color:var(--muted);margin-top:4px;max-width:620px;line-height:1.5}
.pill{display:inline-flex;align-items:center;gap:6px;background:#efeaff;color:#5b3ee0;border-radius:99px;padding:5px 11px;font-size:10.5px;font-weight:800}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;cursor:pointer;
  padding:10px 16px;font-size:12.5px;font-weight:800;background:linear-gradient(100deg,#6d5bf5,#8b5cf6);color:#fff;
  box-shadow:0 10px 20px -14px rgba(109,91,245,.9);transition:.15s;
}
.btn:hover{transform:translateY(-1px);filter:brightness(1.04)}
.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
.btn.ghost{background:#fff;color:#4b3ee0;border:1px solid #e2ddff;box-shadow:none}
.btn.ghost:hover{background:#f7f6ff}
.btn.soft{background:#f2f1ff;color:#4b3ee0;box-shadow:none}
.btn.sm{padding:7px 12px;font-size:11.5px;border-radius:8px}
.btn.danger{background:#fff0f2;color:#d02f4b;box-shadow:none}
.btn svg{width:15px;height:15px}

.form-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:14px;align-items:start}
.field{margin-bottom:13px}
.field label{display:block;font-size:11px;font-weight:800;color:#4a5075;margin-bottom:6px}
.field .hint{font-size:10px;color:#9aa0bd;font-weight:600;margin-top:5px}
.input,select.input,textarea.input{
  width:100%;border:1px solid #e4e6f1;background:#fbfbff;border-radius:10px;padding:10px 12px;
  font-family:inherit;font-size:12.5px;color:#1b2140;outline:none;transition:.15s;
}
.input:focus{border-color:#a99cff;background:#fff;box-shadow:0 0 0 3px rgba(109,91,245,.12)}
textarea.input{min-height:110px;resize:vertical;line-height:1.55}
.seg{display:flex;gap:6px;background:#f3f4fb;border-radius:10px;padding:4px}
.seg button{flex:1;border:0;background:transparent;border-radius:8px;padding:8px;font-size:11.5px;font-weight:700;color:#6f7695;cursor:pointer}
.seg button.on{background:#fff;color:#4b3ee0;box-shadow:0 4px 10px -6px rgba(27,33,64,.4)}
.drop{
  border:1.5px dashed #d9dcf0;border-radius:12px;padding:16px;text-align:center;background:#fbfbff;cursor:pointer;transition:.15s;
}
.drop:hover{border-color:#a99cff;background:#f8f7ff}
.drop svg{width:22px;height:22px;color:#8b8fb5;margin:0 auto 6px}
.drop b{font-size:11.5px;display:block}
.drop small{font-size:10px;color:#9aa0bd}
.drop.filled{border-style:solid;border-color:#b7f0d8;background:#f2fdf8}
.upload-list{margin-top:8px;display:flex;flex-direction:column;gap:5px}
.upload-list div{font-size:10.5px;color:#4a5075;background:#f6f7fc;border-radius:7px;padding:6px 9px;display:flex;justify-content:space-between}

.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tile{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px;cursor:pointer;transition:.16s}
.tile:hover{transform:translateY(-2px);box-shadow:0 14px 26px -20px rgba(27,33,64,.6);border-color:#e0dbff}
.tile .top{display:flex;justify-content:space-between;align-items:flex-start}
.tile .sq{width:36px;height:36px;border-radius:10px;display:grid;place-items:center}
.tile .sq svg{width:18px;height:18px}
.tile h4{font-size:13px;font-weight:800;margin:10px 0 4px}
.tile p{font-size:10.5px;color:var(--muted);line-height:1.5}
.tile .meta{font-size:9.5px;color:#9aa0bd;margin-top:9px;display:flex;justify-content:space-between;font-weight:700}
.tag{font-size:9.5px;font-weight:800;padding:3px 8px;border-radius:99px;background:#f3f4fb;color:#6f7695}

.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px;align-items:center}
.filters .input{max-width:280px}
.filters .seg{width:auto}
.filters .seg button{padding:7px 12px;white-space:nowrap}

.empty{text-align:center;padding:34px 16px;color:#9aa0bd}
.empty svg{width:36px;height:36px;margin:0 auto 10px;color:#c3c8e0}
.empty b{display:block;font-size:13px;color:#4a5075;margin-bottom:4px}
.empty p{font-size:11.5px}

.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.plan{border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff;position:relative}
.plan.pro{border-color:#c4b5fd;box-shadow:0 16px 32px -24px rgba(109,91,245,.8)}
.plan h4{font-size:13px;font-weight:800}
.plan .price{font-size:24px;font-weight:800;letter-spacing:-.03em;margin:8px 0 2px}
.plan .price small{font-size:10px;color:#9aa0bd;font-weight:600}
.plan ul{list-style:none;margin:11px 0 14px;display:flex;flex-direction:column;gap:6px}
.plan li{font-size:11px;color:#4a5075;display:flex;gap:7px;align-items:flex-start}
.plan li svg{width:13px;height:13px;color:#0f9d58;flex:0 0 13px;margin-top:1px}
.plan .best{position:absolute;top:-9px;right:12px;background:linear-gradient(100deg,#6d5bf5,#a855f7);color:#fff;font-size:9px;font-weight:800;padding:3px 9px;border-radius:99px}

.acc{border:1px solid var(--line);border-radius:11px;background:#fff;margin-bottom:8px;overflow:hidden}
.acc button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 14px;background:none;border:0;text-align:left;font-size:12px;font-weight:700;color:#2a3053;cursor:pointer}
.acc .body{padding:0 14px 13px;font-size:11.5px;color:#6f7695;line-height:1.65;display:none}
.acc.open .body{display:block}
.acc.open button svg{transform:rotate(180deg)}
.acc button svg{width:14px;height:14px;color:#8a90ad;transition:.2s}

.prose{font-size:12.5px;color:#4a5075;line-height:1.75}
.prose h4{font-size:13px;color:#1b2140;margin:16px 0 6px}
.prose ul{margin:6px 0 6px 18px}
.prose li{margin-bottom:4px}

/* ================= MODAL / TOAST / DROPDOWN ================= */
.overlay{position:fixed;inset:0;background:rgba(15,18,40,.55);backdrop-filter:blur(3px);z-index:90;display:none;align-items:center;justify-content:center;padding:18px}
.overlay.on{display:flex}
.modal{background:#fff;border-radius:16px;width:100%;max-width:470px;padding:20px;box-shadow:0 30px 60px -20px rgba(9,12,30,.5);max-height:92vh;overflow:auto}
.modal.wide{max-width:820px}
.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
.modal-head h3{font-size:16px;font-weight:800;letter-spacing:-.02em}
.modal-head p{font-size:11px;color:var(--muted);margin-top:3px}
.x{width:28px;height:28px;border:0;background:#f4f5fb;border-radius:8px;display:grid;place-items:center;cursor:pointer;color:#6f7695;flex:0 0 28px}
.x:hover{background:#ecedf7}
.pack{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);border-radius:11px;padding:11px 13px;margin-bottom:8px;cursor:pointer;transition:.15s}
.pack:hover{border-color:#c4b5fd;background:#faf9ff}
.pack b{font-size:12.5px;display:block}
.pack small{font-size:10px;color:#9aa0bd}
.pack .pr{font-size:12.5px;font-weight:800;color:#4b3ee0;white-space:nowrap}

.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,14px);background:#1b2140;color:#fff;padding:11px 18px;border-radius:11px;font-size:12px;font-weight:600;z-index:120;opacity:0;pointer-events:none;transition:.22s;box-shadow:0 16px 30px -14px rgba(0,0,0,.5);max-width:90vw}
.toast.on{opacity:1;transform:translate(-50%,0)}
.toast.err{background:#c0243d}

.dropdown{position:absolute;top:52px;right:18px;width:320px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 24px 44px -24px rgba(15,20,50,.4);z-index:60;display:none;overflow:hidden}
.dropdown.on{display:block}
.dropdown header{display:flex;justify-content:space-between;align-items:center;padding:12px 13px;border-bottom:1px solid #f1f2f9}
.dropdown header b{font-size:12px}
.dropdown header button{border:0;background:none;color:#6d5bf5;font-size:10.5px;font-weight:800;cursor:pointer}
.note{padding:10px 13px;border-bottom:1px solid #f6f7fc;display:flex;gap:8px}
.note:last-child{border:0}
.note .dot{width:7px;height:7px;border-radius:50%;background:#6d5bf5;margin-top:5px;flex:0 0 7px}
.note.unread{background:#fbfaff}
.note b{font-size:11.5px;display:block;margin-bottom:2px}
.note p{font-size:10.5px;color:#8a90ad;line-height:1.45}
.umenu{position:absolute;top:52px;right:18px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 22px 40px -22px rgba(15,20,50,.4);z-index:60;display:none;min-width:210px;overflow:hidden}
.umenu.on{display:block}
.umenu button{width:100%;border:0;background:none;text-align:left;padding:10px 13px;font-size:11.5px;font-weight:600;color:#3f4569;cursor:pointer;display:flex;gap:8px;align-items:center}
.umenu button:hover{background:#f7f8fd}
.umenu button svg{width:14px;height:14px;color:#8a90ad}
.umenu .who{padding:12px 13px;border-bottom:1px solid #f1f2f9}
.umenu .who b{font-size:12px;display:block}
.umenu .who small{font-size:10.5px;color:#9aa0bd}

/* ================= LOGIN ================= */
.auth{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}
.auth-left{position:relative;overflow:hidden;background:linear-gradient(150deg,#4c1d95,#6d28d9 45%,#8b5cf6);color:#fff;padding:42px;display:flex;flex-direction:column;justify-content:space-between}
.auth-left::after{content:'';position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(34,211,238,.35),transparent 62%);right:-160px;top:-120px}
.auth-brand{display:flex;align-items:center;gap:11px;position:relative;z-index:2}
.auth-brand img{width:44px;height:44px}
.auth-brand b{font-size:22px;font-weight:800;letter-spacing:-.03em;display:block}
.auth-brand small{font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;color:#ddd6fe;font-weight:700}
.auth-copy{position:relative;z-index:2;max-width:420px}
.auth-copy h1{font-size:32px;line-height:1.18;font-weight:800;letter-spacing:-.03em;margin-bottom:10px}
.auth-copy p{font-size:12.5px;color:#e9e2ff;line-height:1.65}
.auth-art{position:relative;z-index:2;margin:6px -10px -10px}
.auth-art img{width:100%;max-width:460px}
.auth-right{display:flex;align-items:center;justify-content:center;padding:30px}
.auth-box{width:100%;max-width:360px}
.auth-box h2{font-size:22px;font-weight:800;letter-spacing:-.03em}
.auth-box p.s{font-size:12px;color:var(--muted);margin:5px 0 18px}
.demo{background:#f6f4ff;border:1px dashed #d7ceff;border-radius:10px;padding:10px 12px;font-size:11px;color:#5b4bc4;line-height:1.6;margin-top:14px}
.demo b{font-weight:800}
.auth-switch{font-size:11.5px;color:#6f7695;margin-top:14px;text-align:center}
.auth-switch button{border:0;background:none;color:#5b3ee0;font-weight:800;cursor:pointer;font-size:11.5px}

/* ================= RESPONSIVE ================= */
.menu-btn{display:grid}
@media(max-width:1180px){
  .hero-art{width:44%;opacity:.95}
  .steps{flex-wrap:wrap;gap:12px}
  .steps-lead{min-width:100%}
  .arrow{display:none}
  .step{min-width:calc(50% - 12px)}
}
@media(max-width:980px){
  .sidebar{transform:translateX(-100%);transition:.22s;box-shadow:20px 0 50px -20px rgba(0,0,0,.5)}
  .sidebar.open{transform:none}
  .main{margin-left:0}
  .menu-btn{display:grid}
  .cols{grid-template-columns:1fr}
  .stats{grid-template-columns:repeat(2,1fr)}
  .hero-art{display:none}
  .hero-copy{max-width:100%}
  .form-grid{grid-template-columns:1fr}
  .plan-grid{grid-template-columns:1fr}
  .tiles{grid-template-columns:repeat(2,1fr)}
  .auth{grid-template-columns:1fr}
  .auth-left{display:none}
}
@media(max-width:640px){
  .content{padding:12px 12px 22px}
  .topbar{padding:0 12px;gap:8px}
  .credits .txt{display:none}
  .user span{display:none}
  .hero{padding:18px}
  .hero h2{font-size:25px}
  .chips .chip:nth-child(3){display:none}
  .stats{grid-template-columns:1fr 1fr;gap:9px}
  .stat{padding:10px;gap:8px}
  .stat .ic{width:34px;height:34px;flex:0 0 34px}
  .stat .val{font-size:18px}
  thead th:nth-child(3),tbody td:nth-child(3),thead th:nth-child(4),tbody td:nth-child(4){display:none}
  .qgrid{grid-template-columns:repeat(3,1fr)}
  .tiles{grid-template-columns:1fr}
  .page-title{font-size:16px}
  .view-head h2{font-size:19px}
}

/* ================= HALAMAN BUAT APLIKASI ================= */
.bhero{
  position:relative;overflow:hidden;border-radius:16px;padding:20px 24px 22px;margin-bottom:16px;
  background:linear-gradient(96deg,#5d47ef 0%,#7b4ff1 38%,#a94fe0 66%,#d95fae 88%,#ef7f9d 100%);
  display:flex;align-items:center;min-height:170px;box-shadow:0 12px 26px -18px #5b46e8;
}
.bhero:before{content:"";position:absolute;inset:0;background:radial-gradient(70% 120% at 88% 10%,rgba(255,255,255,.28),transparent 60%)}
.bhero-txt{position:relative;z-index:2;max-width:56%}
.bhero-badge{display:inline-flex;align-items:center;gap:5px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.32);
  color:#fff;font-size:10.5px;font-weight:700;padding:4px 9px;border-radius:7px;letter-spacing:.2px}
.bhero-badge svg{width:12px;height:12px}
.bhero h2{color:#fff;font-size:27px;line-height:1.16;font-weight:800;margin:10px 0 8px;letter-spacing:-.4px}
.bhero p{color:rgba(255,255,255,.92);font-size:12.5px;line-height:1.5;max-width:430px}
.bhero-art{position:absolute;right:-6px;bottom:-10px;height:196px;width:auto;z-index:1;opacity:.98;filter:drop-shadow(0 10px 18px rgba(40,10,90,.28))}

.bgrid{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:14px;align-items:start}
.bsec{display:flex;align-items:center;gap:7px;margin:0 0 9px}
.bsec-ic{color:var(--purple);display:flex}
.bsec-ic svg{width:17px;height:17px;stroke-width:2}
.bsec h3{font-size:14px;font-weight:800;letter-spacing:-.2px}

.srcs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}
.src{position:relative;text-align:left;background:#fff;border:1.5px solid var(--line);border-radius:12px;padding:12px 12px 13px;
  cursor:pointer;transition:.16s;display:block}
.src:hover{border-color:#cfc9f7;box-shadow:0 8px 18px -14px #5b46e8}
.src.on{border-color:#7a63f6;background:#faf8ff;box-shadow:0 0 0 3px rgba(122,99,246,.09)}
.src{display:grid;grid-template-columns:37px 1fr;column-gap:8px;row-gap:0;align-items:center;padding:11px 10px 12px}
.src-ic{width:37px;height:37px;border-radius:10px;display:grid;place-items:center;margin:0;grid-row:1}
.src-ic svg{width:19px;height:19px}
.src-ic.blue{background:#e8f0ff;color:#2f6fed}
.src-ic.purple{background:#f0ecff;color:#6d5bf5}
.src-ic.red{background:#ffeaea;color:#e0524e}
.src-t{display:block;font-size:11px;font-weight:800;color:var(--ink);line-height:1.35;padding-right:13px}
.src-t em{font-style:normal;font-weight:600;color:var(--muted);font-size:9.8px}
.src-d{display:block;grid-column:1/-1;font-size:10.5px;color:#7b82a3;line-height:1.5;margin-top:7px}
.src-chk{position:absolute;top:9px;right:9px;width:17px;height:17px;border-radius:50%;background:#7a63f6;color:#fff;
  display:none;place-items:center}
.src-chk svg{width:10px;height:10px;stroke-width:3}
.src.on .src-chk{display:grid}

.bdetail{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 15px 15px}
.brow{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.bcell{min-width:0}
.blab{display:block;font-size:11.5px;font-weight:800;margin-bottom:6px;color:#2a3050}
.blab b{color:#e0524e;font-weight:800}
.blab.mt{margin-top:13px}
.blab.mini{margin-top:9px;font-weight:700;color:#5a6180;font-size:11px}
.bhint{font-size:10.5px;color:var(--muted);margin-top:6px;line-height:1.5}
.bta{min-height:146px;resize:vertical}

.drop2{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px;
  border:1.5px dashed #d3d7ea;border-radius:11px;background:#fbfbfe;padding:16px 12px;cursor:pointer;transition:.15s;min-height:146px}
.drop2:hover{border-color:#a99cf5;background:#faf8ff}
.drop2.filled{border-style:solid;border-color:#c9d2ef;background:#f7f9ff}
.drop2-ic{color:#7a63f6;margin-bottom:2px}
.drop2-ic svg{width:24px;height:24px;stroke-width:1.8}
.drop2 b{font-size:11.5px;font-weight:800;color:#2a3050}
.drop2-sub{font-size:11px;color:#5a6180}
.drop2-sub u{color:#6d5bf5;text-decoration:underline;font-weight:700}
.drop2 small{font-size:10px;color:var(--muted);margin-top:5px}

.fprev{display:flex;align-items:center;gap:9px;margin-top:8px;background:#f7f8fd;border:1px solid #e8eaf5;border-radius:9px;padding:7px 9px}
.fprev img{width:34px;height:34px;border-radius:6px;object-fit:cover;flex:none}
.fprev-ic{width:34px;height:34px;border-radius:6px;background:#eef0fb;color:#5a6180;display:grid;place-items:center;flex:none}
.fprev-ic svg{width:16px;height:16px}
.fprev-t{min-width:0;flex:1}
.fprev-t b{display:block;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fprev-t small{font-size:10px;color:var(--muted)}
.fprev-x{background:none;border:0;color:#98a0bd;cursor:pointer;padding:2px;display:flex}
.fprev-x:hover{color:#d02f4b}
.fprev-x svg{width:14px;height:14px}

.inp-ic{position:relative}
.inp-ic>svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:14px;height:14px;color:#98a0bd}
.inp-ic .input{padding-left:31px}
.plats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.plat{position:relative;display:flex;align-items:center;gap:7px;background:#fafbff;border:1.5px solid #e4e7f4;border-radius:9px;
  padding:9px 8px;cursor:pointer;font-size:11px;font-weight:700;color:#3a4160;transition:.15s}
.plat>svg{width:16px;height:16px;color:#4a5270}
.plat em{font-style:normal;font-weight:600;color:var(--muted);font-size:10px}
.plat-chk{width:16px;height:16px;border-radius:50%;border:1.5px solid #cfd5e8;background:#fff;color:#fff;display:grid;place-items:center;flex:none}
.plat-chk svg{width:9px;height:9px;stroke-width:3.6;opacity:0}
.plat.on{border-color:#7a63f6;background:#f7f5ff}
.plat.on .plat-chk{background:#7a63f6;border-color:#7a63f6}
.plat.on .plat-chk svg{opacity:1}

.opts{display:flex;align-items:center;gap:12px;background:#f8f9fd;border:1px solid #eceef7;border-radius:10px;padding:8px 11px;margin-top:14px}
.opts-h{display:flex;align-items:center;gap:4px;font-size:9.8px;font-weight:800;color:#2a3050;flex:none;white-space:nowrap}
.opts{border-radius:10px;padding:8px 10px;gap:10px}
.opts-h svg{width:14px;height:14px;color:#5a6180}
.opts-h em{font-style:normal;font-weight:600;color:var(--muted);font-size:10.5px}
.opts-l{display:flex;align-items:center;gap:7px;flex-wrap:nowrap;flex:1;min-width:0}
.opt{display:flex;align-items:center;gap:4px;background:none;border:0;cursor:pointer;font-size:9.8px;color:#4a5270;font-weight:600;padding:0;white-space:nowrap}
.opt i{width:13px;height:13px;border-radius:3.5px;border:1.5px solid #c9cfe6;display:grid;place-items:center;background:#fff;flex:none}
.opt i svg{width:9px;height:9px;stroke-width:3.6;color:#fff;opacity:0}
.opt.on{color:#2a3050;font-weight:700}
.opt.on i{background:#7a63f6;border-color:#7a63f6}
.opt.on i svg{opacity:1}
.opts-x{color:#98a0bd;display:flex;flex:none}
.opts-x svg{width:15px;height:15px}

.btn-gen{width:100%;margin-top:13px;height:42px;border:0;border-radius:10px;cursor:pointer;color:#fff;font-size:13px;font-weight:800;
  background:linear-gradient(96deg,#5d47ef,#8b5cf6 55%,#c04ee0);display:flex;align-items:center;justify-content:center;gap:7px;
  box-shadow:0 10px 22px -12px #6d5bf5;transition:.16s}
.btn-gen:hover{filter:brightness(1.06)}
.btn-gen:disabled{opacity:.72;cursor:default}
.btn-gen svg{width:15px;height:15px}
.gen-note{text-align:center;font-size:10px;color:var(--muted);margin-top:7px}

.bside{display:flex;flex-direction:column;gap:12px}
.side-card2{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px 14px}
.sc-h{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:800;color:#2a3050;margin-bottom:10px}
.sc-h svg{width:15px;height:15px;color:#7a63f6}
.sc-h.ok{color:#12603c}
.sc-h.ok svg{color:#0f9d58}
.steps{position:relative;display:flex;flex-direction:column;gap:11px}
.steps:before{content:"";position:absolute;left:9px;top:14px;bottom:16px;border-left:1.5px dashed #dcd9f6}
.stepx{display:flex;align-items:flex-start;gap:8px;position:relative;z-index:1}
.stepx-n{width:19px;height:19px;border-radius:50%;background:#7a63f6;color:#fff;font-size:10px;font-weight:800;
  display:grid;place-items:center;flex:none;margin-top:4px}
.stepx-ic{width:26px;height:26px;border-radius:7px;background:#f2efff;color:#6d5bf5;display:grid;place-items:center;flex:none;margin-top:1px}
.stepx-ic svg{width:13px;height:13px}
.stepx b{display:block;font-size:11px;font-weight:800;line-height:1.35}
.stepx small{display:block;font-size:10px;color:#7b82a3;line-height:1.45;margin-top:1px}
.hasil{background:#f3fbf6;border:1px solid #d9f0e2;border-radius:14px;padding:13px 14px}
.hasil ul{list-style:none;display:flex;flex-direction:column;gap:7px}
.hasil li{display:flex;align-items:flex-start;gap:6px;font-size:10.5px;color:#2c5c45;line-height:1.45;font-weight:600}
.hasil li svg{width:12px;height:12px;color:#12a05a;stroke-width:3;margin-top:1px;flex:none}

@media(max-width:1100px){
  .bgrid{grid-template-columns:1fr}
  .bside{display:grid;grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .bgrid>*{min-width:0}
  .opts{flex-wrap:wrap;gap:8px}
  .opts-l{flex-wrap:wrap;gap:8px 12px}
  .opts-x{display:none}
  .opt{white-space:normal}
}
@media(max-width:760px){
  .bhero{min-height:auto;padding:16px}
  .bhero h2{font-size:20px}
  .bhero p{font-size:11.5px;max-width:100%}
  .bhero-txt{max-width:100%}
  .bhero-art{display:none}
  .srcs{grid-template-columns:1fr}
  .brow{grid-template-columns:1fr}
  .bside{grid-template-columns:1fr}
  .opts{flex-wrap:wrap;gap:8px}
  .opts-l{gap:9px 12px}
}
