/* =========================================================
   Sandingan — dashboard pasangan, mitra, admin, halaman akun
   ========================================================= */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url("../fonts/great-vibes-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #F6F1E7; --bg-2: #EFE7D7; --card: #FFFFFF; --ink: #13213F; --ink-2: #2B3B60; --muted: #5E6B86;
  --accent: #B8913E; --accent-2: #D9B964; --soft: rgba(201, 162, 74, .14);
  --line: rgba(19, 33, 63, .1); --line-2: rgba(19, 33, 63, .16); --navy: #13213F; --navy-2: #0D1830;
  --ok: #1E7A45; --ok-bg: #E3F2E8; --warn: #8A5A00; --warn-bg: #FFF3D6; --bad: #A32B1E; --bad-bg: #FBE7E4; --info: #1E5A8A; --info-bg: #E2EEF8;
  --radius: 16px; --shadow: 0 1px 2px rgba(19, 33, 63, .05), 0 12px 32px -24px rgba(19, 33, 63, .35);
  --side-w: 248px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 "Plus Jakarta Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
h1, .serif { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0; }
a { color: var(--ink); }
img { max-width: 100%; display: block; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 20px; } .mt-4 { margin-top: 32px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack > * + * { margin-top: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font: 600 23px/1 "Cormorant Garamond", serif; }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid transparent; font: 600 14px/1 "Plus Jakarta Sans", sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, transform .15s; color: var(--ink); background: transparent; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #A9832F; }
.btn-dark { background: var(--navy); color: #F6F1E7; }
.btn-dark:hover { background: #1C2D52; }
.btn-ghost { border-color: var(--line-2); background: var(--card); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-danger { color: var(--bad); border-color: rgba(163, 43, 30, .25); background: var(--card); }
.btn-danger:hover { background: var(--bad-bg); }
.btn-wa { background: #1F8F55; color: #fff; }
.btn-sm { min-height: 34px; padding: 0 13px; font-size: 13px; }
.btn-xs { min-height: 28px; padding: 0 10px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link { color: var(--accent); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); }

/* ---------- kartu & panel ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card-tight { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.card-head h2, .card h2 { font-size: 17px; font-weight: 700; }
.card-head p { margin-top: 2px; }
.card-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.section-title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 28px 0 12px; }
.empty { text-align: center; padding: 34px 18px; color: var(--muted); }
.empty .ic { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--accent); }
.empty h3 { color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.note { padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 13.5px; color: var(--ink-2); }
.note-info { background: var(--info-bg); color: var(--info); }
.note-warn { background: var(--warn-bg); color: var(--warn); }
.divider { height: 1px; background: var(--line); margin: 18px 0; }

/* ---------- statistik ---------- */
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.stat-label { font-size: 12.5px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.stat-value { font: 700 25px/1.2 "Plus Jakarta Sans", sans-serif; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.progress { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ---------- badge ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--bg-2); color: var(--ink-2); }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-gold { background: var(--soft); color: #7A5C17; }

/* ---------- form ---------- */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field > span, .label { font-weight: 600; font-size: 13.5px; }
.field small, .hint { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea, .input-sm {
  width: 100%; font: 400 15px/1.45 "Plus Jakarta Sans", sans-serif; color: var(--ink); padding: 10px 13px;
  border: 1.5px solid var(--line-2); border-radius: 11px; background: #FFFDF9; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 92px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus, .input-sm:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--soft); }
.input-sm { padding: 7px 10px; font-size: 14px; border-radius: 9px; }
.field-error { color: var(--bad); font-size: 12.5px; font-weight: 500; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.input-group { display: flex; align-items: stretch; }
.input-group .prefix { display: flex; align-items: center; padding: 0 12px; border: 1.5px solid var(--line-2); border-right: 0; border-radius: 11px 0 0 11px; background: var(--bg-2); color: var(--muted); font-size: 14px; white-space: nowrap; }
.input-group input { border-radius: 0 11px 11px 0 !important; }
.repeater-item { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #FFFDF9; position: relative; }
.repeater-item + .repeater-item { margin-top: 12px; }
.repeater-item .remove { position: absolute; right: 10px; top: 10px; }
.choice-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.choice-card { position: relative; display: block; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px; cursor: pointer; background: var(--card); transition: border-color .15s, box-shadow .15s; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 4px var(--soft); }
.choice-card .cc-title { font-weight: 700; font-size: 14px; }
.choice-card .cc-sub { font-size: 12.5px; color: var(--muted); }
.swatches { display: inline-flex; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; margin-left: -5px; box-shadow: 0 0 0 1px var(--line-2); }
.swatches i:first-child { margin-left: 0; }

/* ---------- tabel ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: #FBF8F1; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #FDFBF6; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .actions { text-align: right; white-space: nowrap; }
.table .dim td { opacity: .5; }
.table a { text-decoration: none; font-weight: 600; }
.table a:hover { color: var(--accent); }
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 16px; font-size: 14px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters .input-sm { width: auto; min-width: 150px; }
.filters input[type=search] { flex: 1 1 220px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.tabs a .badge { margin-left: 4px; }

/* ---------- notifikasi ---------- */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; }
.flash-success { background: var(--ok-bg); color: var(--ok); }
.flash-error { background: var(--bad-bg); color: var(--bad); }
.flash-info { background: var(--info-bg); color: var(--info); }
.flash-warn { background: var(--warn-bg); color: var(--warn); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 10px 18px; border-radius: 999px; background: var(--navy); color: #F6F1E7; font-weight: 600; font-size: 14px; transition: all .25s; z-index: 90; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Kerangka dashboard
   ========================================================= */
.shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--side-w); background: var(--navy); color: #DCE1EC; display: flex; flex-direction: column; z-index: 40; }
.sidebar .brand { color: #F6F1E7; padding: 22px 22px 14px; }
.side-scroll { flex: 1; overflow-y: auto; padding: 6px 12px 16px; }
.side-group { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #8C98B4; font-weight: 600; padding: 16px 12px 6px; }
.side-link { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: #DCE1EC; font-size: 14px; font-weight: 500; }
.side-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side-link.is-active { background: rgba(217, 185, 100, .16); color: #F2D998; }
.side-link .ic { width: 17px; height: 17px; }
.side-link .badge { margin-left: auto; background: var(--accent); color: #fff; padding: 1px 8px; }
.side-foot { padding: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.side-user { display: flex; gap: 10px; align-items: center; padding: 8px 10px; font-size: 13px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.side-user b { display: block; color: #fff; font-weight: 600; font-size: 13.5px; }
.side-user span { color: #8C98B4; font-size: 12px; }
.main { margin-left: var(--side-w); min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px 28px; background: rgba(246, 241, 231, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .menu-btn { display: none; }
.topbar-title { font-weight: 700; font-size: 15px; }
.topbar-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.wedding-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; text-decoration: none; }
.page { padding: 26px 28px 60px; width: 100%; max-width: 1180px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(28px, 3vw, 36px); }
.page-head p { color: var(--muted); margin-top: 4px; }
.admin-banner { background: #2B1D06; color: #F2D998; padding: 8px 28px; font-size: 13px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.admin-banner a { color: #fff; }
.scrim { display: none; }

@media (max-width: 960px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s; box-shadow: 20px 0 50px -20px rgba(0, 0, 0, .5); }
  .shell.nav-open .sidebar { transform: none; }
  .shell.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(13, 24, 48, .45); z-index: 35; }
  .main { margin-left: 0; }
  .topbar { padding: 10px 16px; }
  .topbar .menu-btn { display: inline-grid; }
  .page { padding: 20px 16px 60px; }
  .admin-banner { padding: 8px 16px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .form-grid { grid-template-columns: 1fr; }
  .card { padding: 18px 16px; }
  .wedding-pill span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .table.responsive thead { display: none; }
  .table.responsive, .table.responsive tbody, .table.responsive tr, .table.responsive td { display: block; width: 100%; }
  .table.responsive tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table.responsive tr:last-child { border-bottom: 0; }
  .table.responsive td { border: 0; padding: 3px 0; }
  .table.responsive td[data-label] { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
  .table.responsive td[data-label]::before { content: attr(data-label); font-size: 12px; color: var(--muted); }
  .table.responsive td.primary { font-weight: 600; font-size: 15px; }
  .table.responsive .actions, .table.responsive .num { text-align: left; }
  .stat-value { font-size: 21px; }
}

/* ---------- halaman akun (masuk/daftar) ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; background: radial-gradient(90% 70% at 20% 10%, #1D2C57, transparent 60%), var(--navy); color: #F6F1E7; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.auth-art .brand { color: #F6F1E7; }
.auth-art h2 { font: 600 clamp(34px, 3.4vw, 46px)/1.1 "Cormorant Garamond", serif; max-width: 14ch; }
.auth-art h2 em { font-family: "Great Vibes", cursive; font-style: normal; font-weight: 400; color: var(--accent-2); font-size: 1.15em; }
.auth-art ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; color: #C9D1E2; font-size: 14.5px; }
.auth-art li { display: flex; gap: 10px; align-items: center; }
.auth-art li .ic { color: var(--accent-2); }
.auth-art::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -160px; border-radius: 50%; border: 1px solid rgba(217, 185, 100, .3); }
.auth-main { display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 36px; }
.auth-card .sub { color: var(--muted); margin: 6px 0 24px; }
.auth-alt { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-art { padding: 22px 20px; min-height: auto; }
  .auth-art h2, .auth-art ul { display: none; }
}

/* ---------- komponen editor ---------- */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.editor-preview { position: sticky; top: 80px; }
.phone { border-radius: 34px; padding: 9px; background: #0F1830; box-shadow: 0 30px 60px -34px rgba(19, 33, 63, .55); }
.phone iframe { width: 100%; height: 680px; border: 0; border-radius: 26px; background: #fff; display: block; }
.section-list { display: grid; gap: 8px; }
.section-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-decoration: none; transition: border-color .15s, transform .15s; }
.section-item:hover { border-color: var(--accent); transform: translateY(-1px); }
.section-item .si-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--soft); color: var(--accent); flex: none; }
.section-item b { display: block; font-size: 14.5px; }
.section-item small { color: var(--muted); font-size: 12.5px; }
.section-item .ic-arrow { margin-left: auto; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photo { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--bg-2); border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .photo-actions { position: absolute; inset: auto 6px 6px 6px; display: flex; gap: 4px; justify-content: flex-end; }
.photo .photo-actions .icon-btn { width: 30px; height: 30px; background: rgba(255, 255, 255, .92); }
.photo .tag { position: absolute; left: 6px; top: 6px; }
.dropzone { border: 2px dashed var(--line-2); border-radius: 14px; padding: 22px; text-align: center; background: #FFFDF9; }
.dropzone.is-over { border-color: var(--accent); background: var(--soft); }
.status-steps { display: flex; gap: 0; margin: 4px 0 0; }
.status-steps li { list-style: none; flex: 1; position: relative; padding-top: 22px; font-size: 12.5px; color: var(--muted); text-align: center; }
.status-steps li::before { content: ""; position: absolute; top: 6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--line-2); z-index: 1; }
.status-steps li::after { content: ""; position: absolute; top: 11px; left: -50%; right: 50%; height: 2px; background: var(--line-2); }
.status-steps li:first-child::after { display: none; }
.status-steps li.done { color: var(--ink); font-weight: 600; }
.status-steps li.done::before, .status-steps li.done::after { background: var(--accent); }
@media (max-width: 1100px) {
  .editor { grid-template-columns: 1fr; }
  .editor-preview { display: none; }
}

/* ---------- daftar tugas planner ---------- */
.task { display: flex; gap: 12px; align-items: flex-start; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.task:last-child { border-bottom: 0; }
.task .toggle button { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; margin-top: 1px; }
.task.done .toggle button { background: var(--accent); border-color: var(--accent); color: #fff; }
.task.done .task-title { text-decoration: line-through; color: var(--muted); }
.task-title { font-weight: 500; }
.task-meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.task-meta .late { color: var(--bad); font-weight: 600; }
.task-actions { margin-left: auto; display: flex; gap: 4px; }
details.inline-edit > summary { list-style: none; cursor: pointer; }
details.inline-edit > summary::-webkit-details-marker { display: none; }
details.inline-edit[open] { width: 100%; }

/* ---------- kartu paket ---------- */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border: 1.5px solid var(--line-2); border-radius: 20px; background: var(--card); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.plan:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 4px var(--soft); }
.plan input[type=radio] { position: absolute; opacity: 0; }
.plan-name { font: 600 26px/1 "Cormorant Garamond", serif; }
.plan-price { font: 700 24px/1 "Plus Jakarta Sans", sans-serif; }
.plan-price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.plan li { display: flex; gap: 8px; }
.plan li .ic { color: var(--accent); width: 16px; height: 16px; margin-top: 2px; }
.plan .badge { position: absolute; top: 16px; right: 16px; }
.pay-box { display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: #FFFDF9; border: 1px dashed var(--line-2); }
.pay-amount { font: 700 30px/1.1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.01em; }
.bank-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bank-row:last-child { border-bottom: 0; }

/* ---------- grafik batang sederhana ---------- */
.bars { display: flex; align-items: flex-end; gap: 4px; height: 150px; padding-top: 10px; }
.bars .bar { flex: 1; min-width: 4px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); border-radius: 5px 5px 2px 2px; position: relative; }
.bars .bar.zero { background: var(--bg-2); }
.bars .bar:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--navy); color: #fff; font-size: 11.5px; padding: 4px 8px; border-radius: 6px; z-index: 2; }
.bars-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 6px; }

/* ---------- kartu story ---------- */
.story-canvas { width: 100%; max-width: 320px; aspect-ratio: 9 / 16; border-radius: 18px; box-shadow: var(--shadow); background: var(--bg-2); }

@media print {
  .sidebar, .topbar, .no-print { display: none !important; }
  .main { margin: 0; }
  body { background: #fff; }
}

/* ---------- tambahan: transaksi, admin, demo ---------- */
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; letter-spacing: .02em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }
.text-bad { color: var(--bad); }
.proof-img { width: 100%; max-height: 520px; object-fit: contain; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.todo-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 16px; }
.todo { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--warn-bg); color: var(--warn); text-decoration: none; font-size: 14px; border: 1px solid transparent; transition: border-color .15s; }
.todo:hover { border-color: currentColor; }
.todo b { font: 700 20px/1 "Plus Jakarta Sans", sans-serif; }
.todo span { flex: 1; }
.todo .ic { width: 16px; height: 16px; }
.mix-row + .mix-row { margin-top: 14px; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.mini-stats b { color: var(--ink); }
.queue-form .input-sm[name=message] { flex: 1 1 240px; }
.task .toggle button:disabled { cursor: default; }

/* ---------- paket Bronze / Silver / Gold ---------- */
.tier-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font: 700 11px/1.5 "Plus Jakarta Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.tier-badge .ic { width: 12px; height: 12px; }
.tier-bronze { background: #F3E3D3; color: #8A4B1F; }
.tier-silver { background: #E6E9EF; color: #4A5468; }
.tier-gold { background: #F6E7BF; color: #7A5A0E; }
.tier-lock { background: var(--bg-2); color: var(--muted); }
.side-lock { margin-left: auto; opacity: .55; display: inline-flex; }
.side-lock .ic { width: 14px; height: 14px; }
.plan.is-disabled { opacity: .55; cursor: not-allowed; }
.tier-dot { width: 26px; height: 6px; border-radius: 99px; background: var(--line-2); }
.tier-dot.tier-bronze { background: linear-gradient(90deg, #C98B5A, #8A4B1F); }
.tier-dot.tier-silver { background: linear-gradient(90deg, #C9CFDA, #7C8597); }
.tier-dot.tier-gold { background: linear-gradient(90deg, #E9CC7A, #B8913E); }
.planner-offer.is-selected { border-color: var(--accent); box-shadow: 0 0 0 4px var(--soft); }
.lock-note { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px dashed var(--line-2); margin-bottom: 12px; font-size: 13.5px; }
.lock-note > .ic { width: 22px; height: 22px; color: var(--muted); flex: none; }
.lock-note > div { flex: 1; }
.choice-card.is-locked { opacity: .7; }
.color-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.color-field { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); font-size: 13.5px; cursor: pointer; }
.color-field input[type=color] { width: 40px; height: 32px; border: 0; padding: 0; background: none; cursor: pointer; }
.check-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: 14px; }
.check-list li { display: flex; gap: 8px; align-items: flex-start; }
.check-list .ic { width: 16px; height: 16px; color: var(--accent); margin-top: 3px; flex: none; }
.table.matrix td.center, .table.matrix th.center { text-align: center; }
.table.matrix .matrix-check { width: 18px; height: 18px; accent-color: var(--accent); }
.table.matrix .matrix-group td { background: #FBF8F1; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
