:root {
  --navy: #0f2240; --navy-2: #16305a; --navy-3: #1d3b6c; --side-ink: #c9d4e6; --side-mute: #7f8fab;
  --bg: #f2f5f9; --card: #fff; --ink: #13203a; --muted: #67748a; --line: #e3e8ef;
  --brand: #2563eb; --brand-ink: #fff;
  --ok: #0e8a5b; --ok-bg: #e8f7f0; --bad: #c8372d; --bad-bg: #fdeeed;
  --warn: #b25e09; --warn-bg: #fff5e6; --info: #2459c9; --info-bg: #ecf2ff; --mute-bg: #eef1f5;
  --radius: 14px; --shadow: 0 1px 2px rgba(16,32,64,.04), 0 6px 20px rgba(16,32,64,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--info); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 30px; line-height: 1.15; margin: 4px 0 8px; letter-spacing: -.02em; }
h2 { font-size: 18px; margin: 0 0 2px; letter-spacing: -.01em; }
h3 { font-size: 16px; margin: 6px 0; }
code, .mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.muted { color: var(--muted); }
.light { font-weight: 400; font-size: .55em; }
.small, small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 14px; }
.dim { opacity: .55; }
.ic { width: 18px; height: 18px; flex: none; }

/* ---------- shell ---------- */
.navtoggle { position: absolute; opacity: 0; pointer-events: none; }
.side { position: fixed; inset: 0 auto 0 0; width: 248px; background: linear-gradient(180deg, var(--navy) 0%, #0c1c36 100%); color: var(--side-ink);
        display: flex; flex-direction: column; padding: 18px 14px; overflow-y: auto; z-index: 30; }
.side a { color: var(--side-ink); }
.side-brand { display: flex; align-items: center; gap: 12px; padding: 4px 6px 18px; text-decoration: none !important; }
.side-brand strong { display: block; color: #fff; font-size: 17px; }
.side-brand small { display: block; color: var(--side-mute); font-size: 11px; letter-spacing: .18em; }
.logo { width: 40px; height: 40px; border-radius: 11px; background: #18325c; display: grid; place-items: center; font-weight: 800; font-style: italic;
        color: #7aa7ff; letter-spacing: -2px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.side-brand.light .logo { background: rgba(255,255,255,.12); color: #fff; }
.side-org { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); margin-bottom: 18px; }
.side-org strong { display: block; color: #fff; font-size: 14px; }
.side-org small { color: var(--side-mute); }
.org-ic { width: 36px; height: 36px; border-radius: 9px; background: #1d4f9c; display: grid; place-items: center; color: #fff; }
.side-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--side-mute); padding: 6px 10px; margin-top: 6px; }
.side-nav { display: grid; gap: 2px; margin-bottom: 12px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; text-decoration: none; }
.side-nav a:hover { background: rgba(255,255,255,.06); }
.side-nav a.on { background: var(--navy-3); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.side-nav a span:first-of-type { flex: 1; }
.side-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 4px; border-top: 1px solid rgba(255,255,255,.08); }
.side-user .who { flex: 1; min-width: 0; }
.side-user strong { display: block; color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user small { color: var(--side-mute); }
.icon-btn { background: none; border: 0; color: var(--side-mute); cursor: pointer; padding: 6px; border-radius: 8px; }
.icon-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.avatar-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: #2b4f8f; flex: none; }
.avatar-dot.gold { background: #c9a227; }

.shell { margin-left: 248px; min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 12px 28px; background: rgba(255,255,255,.88);
          backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; flex: 1; min-width: 0; }
.crumbs strong { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-right { display: flex; gap: 8px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--mute-bg); color: var(--muted); font-size: 13px; }
.chip.dark { background: #e6ecf6; color: var(--navy-2); font-weight: 600; }
.chip.ghost { background: #fff; border: 1px dashed #c3cad5; color: var(--muted); margin: 2px 0; }
.burger { display: none; cursor: pointer; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); padding: 8px 7px; background: #fff; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 3px 0; border-radius: 2px; }
.content { padding: 26px 28px 60px; max-width: 1320px; }

@media (max-width: 980px) {
  .side { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0,0,0,.3); }
  .navtoggle:checked ~ .side { transform: none; }
  .shell { margin-left: 0; }
  .burger { display: block; }
  .top-right .chip:first-child { display: none; }
  .content { padding: 18px 16px 50px; }
  .topbar { padding: 10px 16px; }
}

/* ---------- hero, kpi, panel ---------- */
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.hero p { max-width: 720px; margin: 0; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } h1 { font-size: 24px; } }
.kpi { background: var(--card); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); border: 1px solid var(--line); color: inherit; display: grid; gap: 2px; }
a.kpi:hover { text-decoration: none; border-color: #c6d3ea; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi strong { font-size: 28px; letter-spacing: -.02em; }
.kpi small { color: var(--muted); }
.kpi.hot { border-color: #f5c2bd; background: linear-gradient(180deg, #fff 0%, #fff6f5 100%); } .kpi.hot strong { color: var(--bad); }
.kpi.warm strong { color: var(--warn); }
.kpi.bad strong { color: var(--bad); }
.panel { background: var(--card); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 20px; margin-bottom: 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head p { margin: 2px 0 0; font-size: 14px; }
.seg { display: inline-flex; background: var(--mute-bg); border-radius: 10px; padding: 3px; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 8px; font: inherit; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.seg button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* ---------- pejabat maya ---------- */
.office { position: relative; background: radial-gradient(ellipse at 50% 30%, #f1f5fb 0%, #e4ebf5 100%); border-radius: 16px; padding: 14px 10px 54px; overflow: hidden; }
.office-title { position: absolute; left: 20px; top: 16px; display: grid; }
.office-title small { color: var(--muted); }
.office-svg { display: block; width: 100%; height: auto; max-height: 640px; margin-top: 26px; }
.office-svg .t1 { font: 700 10.5px "Inter", system-ui, sans-serif; fill: #13203a; }
.office-svg .t2 { font: 500 9px "Inter", system-ui, sans-serif; }
.office-svg .bn { font: 800 13px system-ui, sans-serif; fill: #fff; }
.office-svg .plus { font: 700 15px system-ui, sans-serif; fill: #98a2b3; }
.office-svg .tag rect { filter: drop-shadow(0 2px 4px rgba(16,32,64,.10)); }
.office-svg a.ag { cursor: pointer; }
.office-svg a.ag:hover { filter: brightness(1.05) drop-shadow(0 0 6px rgba(37,99,235,.35)); }
.office-svg .bob { animation: bob 1.4s ease-in-out infinite; transform-box: fill-box; }
.office-svg .pulse circle { animation: pulse 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.legend { position: absolute; left: 18px; bottom: 14px; display: flex; gap: 14px; flex-wrap: wrap; background: #fff; border-radius: 10px; padding: 8px 14px; box-shadow: var(--shadow); font-size: 13px; }
@media (max-width: 760px) {
  .office { overflow-x: auto; padding-bottom: 14px; }
  .office-title, .legend { position: static; }
  .office-svg { min-width: 760px; margin-top: 8px; }
  .legend { margin-top: 8px; width: fit-content; }
}
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }

/* ---------- aliran kerja ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1.3fr) 76px minmax(0, .8fr) 76px minmax(0, 1.1fr) 76px minmax(0, .8fr); align-items: stretch; gap: 0; margin-bottom: 14px; }
.node { background: #f8fafc; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 8px; align-content: start; color: inherit; }
a.node:hover { text-decoration: none; border-color: #c6d3ea; }
.node-h { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.step { width: 22px; height: 22px; border-radius: 50%; background: var(--navy-2); color: #fff; font-size: 12px; display: grid; place-items: center; }
.node .who { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: inherit; }
.node .who:hover { text-decoration: none; border-color: #c6d3ea; }
.node .who small { grid-column: 2; color: var(--muted); }
.node.boss { background: linear-gradient(180deg, #fffaf0 0%, #fff 100%); border-color: #f0dca8; text-align: center; justify-items: center; }
.node.end { text-align: center; justify-items: center; }
.big-n { font-size: 38px; line-height: 1; letter-spacing: -.03em; }
.big-n.red { color: var(--bad); } .big-n.green { color: var(--ok); }
.arrow { display: grid; place-items: center; align-content: center; color: var(--muted); font-size: 12px; position: relative; }
.arrow::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; border-top: 2px dashed #b8c4d6; }
.arrow::after { content: ""; position: absolute; right: 6px; top: calc(50% - 5px); border: 5px solid transparent; border-left-color: #b8c4d6; }
.arrow span { position: relative; z-index: 1; background: var(--navy-2); color: #fff; font-weight: 700; font-size: 13px; border-radius: 999px; min-width: 28px; padding: 2px 8px; text-align: center; margin-bottom: 2px; }
.arrow { padding-bottom: 0; }
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; }
  .arrow { height: 54px; }
  .arrow::before { left: 50%; right: auto; top: 6px; bottom: 6px; border-top: 0; border-left: 2px dashed #b8c4d6; }
  .arrow::after { right: auto; left: calc(50% - 4px); top: auto; bottom: 0; border-left-color: transparent; border-top-color: #b8c4d6; }
}
.soon { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kanban { grid-template-columns: 1fr; } }
.kcol { background: #f5f7fa; border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; min-height: 120px; }
.kcol-h { font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 6px; padding: 2px 4px 4px; }
.kcol-h b { margin-left: auto; background: #fff; border-radius: 999px; padding: 0 8px; font-size: 12px; }
.kcard { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: inherit; }
.kcard:hover { text-decoration: none; border-color: #c6d3ea; box-shadow: var(--shadow); }
.kcard strong { font-size: 14px; line-height: 1.35; }
.kcard .route { color: var(--navy-2); }
.kcard .route b { color: #98a2b3; font-weight: 400; }
.empty { color: #a3adbd; font-size: 13px; text-align: center; margin: 14px 0; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; flex: none; }

/* ---------- siapa buat apa ---------- */
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.role { display: grid; gap: 8px; align-content: start; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; color: inherit; }
a.role:hover { text-decoration: none; border-color: #c6d3ea; box-shadow: var(--shadow); }
.role.ghost { border-style: dashed; background: #fafbfc; }
.role.boss-role { background: linear-gradient(180deg, #fffaf0, #fff); border-color: #f0dca8; }
.role-h { display: flex; gap: 10px; align-items: center; }
.role-h strong { display: block; }
.role-h small { color: var(--muted); }
.role p { margin: 0; font-size: 14px; color: #3b4760; }
.role-f { display: flex; flex-wrap: wrap; gap: 6px; }
.role-f span { font-size: 12px; background: var(--mute-bg); border-radius: 6px; padding: 2px 8px; color: #4a566d; }

/* ---------- kad website ---------- */
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.site-card { display: grid; gap: 14px; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px; color: inherit; }
.site-card:hover { text-decoration: none; border-color: #c6d3ea; transform: translateY(-1px); }
.site-top { display: flex; gap: 12px; align-items: center; }
.site-top div { flex: 1; min-width: 0; }
.site-top strong { display: block; font-size: 17px; }
.site-top small { color: var(--muted); }
.site-logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; background: linear-gradient(135deg, #1d4f9c, #2563eb); }
.site-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.site-stats div { background: #f6f8fb; border-radius: 10px; padding: 8px; text-align: center; }
.site-stats b { display: block; font-size: 20px; }
.site-stats small { color: var(--muted); font-size: 11.5px; }
.site-stats .red b { color: var(--bad); }
.site-foot { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.site-foot .go { margin-left: auto; color: var(--brand); font-weight: 600; }

/* ---------- komponen lama ---------- */
.crumb { margin: 0; font-size: 13px; color: var(--muted); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.cards { display: grid; gap: 14px; }
.two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; color: inherit; box-shadow: var(--shadow); }
a.card:hover { border-color: #c6d3ea; text-decoration: none; }
.prop .reason { margin: 6px 0; color: #344054; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.actions form { margin: 0; }
.pill, .tag { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--mute-bg); color: #344054; }
.tag { border-radius: 6px; font-weight: 600; background: #eaf0fb; color: var(--navy-2); width: fit-content; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.info { background: var(--info-bg); color: var(--info); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #ef6b3a; color: #fff; font-size: 12px; font-weight: 700; }
.badge.big { min-width: 28px; height: 28px; font-size: 14px; }

.note { padding: 11px 14px; border-radius: 10px; margin: 0 0 14px; border: 1px solid var(--line); background: #fff; }
.note.ok { background: var(--ok-bg); border-color: #b5e6cf; }
.note.err { background: var(--bad-bg); border-color: #f6c6c1; }
.note.warn { background: var(--warn-bg); border-color: #f5d9a8; }
.note.token { background: var(--warn-bg); border-color: #f5d9a8; display: grid; gap: 6px; }
.note.token input { width: 100%; padding: 8px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 10px; border: 1px solid #d0d7e2; background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: #f8fafc; text-decoration: none; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.28); }
.btn.primary:hover { background: #1d4fd0; }
.btn.big { padding: 12px 20px; font-size: 15.5px; border-radius: 12px; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.danger-ghost { color: var(--bad); border-color: #f2aaa3; }
.btn.ghost { border-color: transparent; }
.btn.wide { width: 100%; justify-content: center; }
.link { background: none; border: 0; padding: 0; color: var(--info); font: inherit; cursor: pointer; }

label { display: grid; gap: 5px; font-size: 14px; font-weight: 500; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
input, select, textarea { font: inherit; padding: 9px 11px; border: 1px solid #d0d7e2; border-radius: 10px; background: #fff; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(37,99,235,.25); border-color: var(--brand); }
textarea { width: 100%; resize: vertical; }
.stack { display: grid; gap: 12px; }
.narrow { max-width: 560px; }
fieldset { border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 4px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 16px; align-items: center; }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: #fafbfc; }
tr:last-child td { border-bottom: 0; }
td form.row { flex-wrap: nowrap; }
td input { width: 190px; }

.kv { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 4px 14px; margin: 8px 0; font-size: 14px; }
.kv dt { color: var(--muted); font-family: ui-monospace, Consolas, monospace; font-size: 12px; padding-top: 2px; word-break: break-all; }
.kv dd { margin: 0; word-break: break-word; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: 6px; } }
.media { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.media img, .media video { max-width: 260px; max-height: 320px; border-radius: 10px; border: 1px solid var(--line); }
.report p { margin: 4px 0; }
.report ul { margin: 4px 0; padding-left: 20px; }
.report h3, .report h4, .report h5, .report h6 { margin: 12px 0 4px; }
pre.json { background: #0f172a; color: #e2e8f0; padding: 12px; border-radius: 10px; overflow: auto; font-size: 12px; }
.runs { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; max-height: 420px; overflow: auto; }
.runs li a { display: block; padding: 8px 12px; border-bottom: 1px solid var(--line); color: inherit; }
.runs li.on a { background: var(--info-bg); }
.runs small { display: block; }
details summary { cursor: pointer; font-weight: 600; }

/* ---------- kempen bersarang ---------- */
.pre { white-space: pre-wrap; word-break: break-word; }
.pill.slate { background: #e8edf5; color: #3d4f6e; }
.note.slate { background: #f1f4f9; border-color: #d5deeb; }
.camp-head { display: grid; gap: 8px; margin-bottom: 16px; }
.camp-head strong { font-size: 18px; display: block; }
.camp-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.camp-sum { margin: 6px 0; }
.adset { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 14px; background: #fafbfd; }
.adset-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.adset-h strong { font-size: 15.5px; margin-right: 4px; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ad-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.ad-media { background: #0f172a; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.ad-media.is-video { aspect-ratio: 9 / 12; }
.ad-media img, .ad-media video, .ad-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.ad-media .media-link, .ad-media .media-none { color: #cbd5e1; font-size: 13px; }
.ad-body { padding: 12px; display: grid; gap: 8px; align-content: start; }
.ad-name { font-weight: 600; font-size: 13.5px; }
.ad-text { font-size: 13.5px; max-height: 220px; overflow: auto; background: #f8fafc; border-radius: 8px; padding: 8px 10px; }
.ad-headline { font-weight: 700; }
.ad-foot { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.ad-card textarea { font-size: 13.5px; }
.exclude { color: var(--bad); font-weight: 600; }
.ad-card:has(.exclude input:checked) { opacity: .45; outline: 2px dashed #f2aaa3; }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 4px; }
.thumbs img, .thumb-v { width: 54px; height: 66px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: #0f172a; display: grid; place-items: center; font-size: 20px; }
/* set angle / hook */
.set-list { display: grid; gap: 14px; }
.set-item { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fafbfd; display: grid; gap: 10px; }
.set-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.set-h strong { font-size: 15.5px; }
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 14px; }
.fld { display: grid; gap: 3px; font-size: 13.5px; }
.fld > span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
label.fld { font-weight: 600; font-size: 12.5px; color: var(--muted); }
label.fld input, label.fld textarea { font-weight: 400; color: var(--ink); font-size: 13.5px; }
.sub-list { display: grid; gap: 8px; padding-left: 12px; border-left: 3px solid #dbe4f3; }
.sub-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; }
.tag.light { background: #f1f4f9; color: #4a566d; }
.score { font-size: 12px; font-weight: 700; color: var(--navy-2); background: #e6ecf6; border-radius: 6px; padding: 1px 8px; }
.hook-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.hook-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; align-content: start; }
.hook-card.picked, .hook-card:has(.pickr input:checked) { border-color: #9fd6bd; box-shadow: 0 0 0 2px #d6f1e4; }
.hook-card:has(.exclude input:checked), .set-item:has(> .set-h .exclude input:checked), .sub-item:has(.exclude input:checked) { opacity: .45; outline: 2px dashed #f2aaa3; }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.v3 { background: #f8fafc; border-radius: 8px; padding: 8px 10px; display: grid; gap: 6px; }
.pickr { font-weight: 700; color: var(--ok); }
.pick-list { margin: 4px 0; padding-left: 4px; list-style: none; font-size: 13.5px; color: #3b4760; display: grid; gap: 2px; }
.sticky-actions { position: sticky; bottom: 0; background: #fff; padding: 10px 0; border-top: 1px solid var(--line); z-index: 2; }

/* ---------- log masuk ---------- */
body.bare { background: radial-gradient(ellipse at top left, #1d3b6c 0%, var(--navy) 45%, #0a1830 100%); min-height: 100vh; }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth-wrap > .note { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5; }
.auth-split { display: grid; grid-template-columns: 1.1fr 1fr; width: min(920px, 100%); background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.auth-art { background: linear-gradient(160deg, #16305a 0%, #0f2240 60%, #1d4f9c 140%); color: #c9d4e6; padding: 36px; display: grid; align-content: start; gap: 10px; }
.auth-art h2 { color: #fff; font-size: 26px; margin-top: 26px; }
.auth-art ul { padding-left: 18px; margin: 6px 0 0; display: grid; gap: 6px; }
.auth { padding: 36px; display: grid; align-content: center; }
.auth form { display: grid; gap: 14px; }
body.bare .auth:only-child { background: #fff; border-radius: 20px; width: min(420px, 100%); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
@media (max-width: 760px) { .auth-split { grid-template-columns: 1fr; } .auth-art { padding: 24px; } .auth-art h2 { margin-top: 10px; } .auth-art ul { display: none; } .auth { padding: 24px; } }
