:root {
  --bg: #F5F9FF;
  --surface: #FFFFFF;
  --surface-2: #EDF4FD;
  --ink: #0B1F3A;
  --muted: #586A84;
  --faint: #8A9AB0;
  --line: #DCE7F5;
  --primary: #1677F2;
  --primary-strong: #0D5FD0;
  --primary-soft: #E2EEFE;
  --sun: #E8A33A;
  --sun-soft: #FBEFD9;
  --ok: #2E7D4F;
  --ok-soft: #DDF0E3;
  --danger: #B9402C;
  --danger-soft: #F8E1DC;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 4px 16px rgba(11, 31, 58, .05);
  --shadow-lg: 0 12px 40px rgba(11, 31, 58, .18);
  --nav-h: 64px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-xs: .75rem; --t-sm: .8125rem; --t-base: .9375rem; --t-md: 1.0625rem; --t-lg: 1.375rem; --t-xl: 1.875rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: var(--t-base); line-height: 1.5; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; min-height: 100dvh;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
.xs { font-size: var(--t-xs); }
.num { font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.hidden { display: none !important; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.stack { display: grid; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Boot */
.boot { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--primary-soft); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: var(--t-sm);
  cursor: pointer; text-decoration: none; color: var(--ink); transition: background .15s, border-color .15s, transform .05s; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-strong); }
.btn.sun { background: var(--sun); border-color: var(--sun); color: #2b1c05; }
.btn.danger { color: var(--danger); border-color: #EBC4BC; }
.btn.danger:hover { background: var(--danger-soft); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.block { width: 100%; }
.btn.sm { min-height: 36px; padding: 0 12px; border-radius: 10px; }
.btn.icon { width: 40px; min-height: 40px; padding: 0; }
.btn.wa { background: #1FAF5A; border-color: #1FAF5A; color: #fff; }
.btn:focus-visible, .chip:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .nav a:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 2px;
}

/* Inputs */
label.field { display: grid; gap: 6px; font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); font-size: var(--t-xs); }
.input, select.input, textarea.input {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  font-size: 16px; /* cegah zoom iOS */ transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 84px; resize: vertical; }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--t-sm); min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .span2 { grid-column: 1 / -1; } }

/* File field */
.file-field { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px dashed #BCD2EE; border-radius: 12px; background: var(--surface-2); }
.file-field .thumb { width: 56px; height: 56px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--faint); }
.file-field .thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-field .thumb svg { width: 22px; height: 22px; }
.file-field .meta { flex: 1; min-width: 0; font-weight: 500; }

/* Chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: var(--t-sm); font-weight: 600; cursor: pointer; color: var(--ink); text-decoration: none;
}
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip .count { font-size: 11px; background: var(--surface-2); color: var(--muted); padding: 1px 7px; border-radius: 999px; }
.chip.on .count { background: rgba(255,255,255,.18); color: #fff; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--sun-soft); color: #8A5A0E; }
.badge.bad { background: var(--danger-soft); color: var(--danger); }
.badge.pri { background: var(--primary-soft); color: var(--primary-strong); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card h3 { font-size: var(--t-md); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.section-title h2 { font-size: var(--t-lg); }
.list { display: grid; gap: 10px; }
@media (min-width: 720px) { .list.grid2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .list.grid3 { grid-template-columns: repeat(3, 1fr); } }
.item {
  display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; text-align: left; width: 100%; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.item:hover { border-color: #B5CFF5; box-shadow: var(--shadow); }
.item .pic { width: 52px; height: 52px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; overflow: hidden; flex: none; }
.item .pic img { width: 100%; height: 100%; object-fit: cover; }
.item .pic svg { width: 22px; height: 22px; }
.item .grow { min-width: 0; flex: 1; }
.list > *, .item { min-width: 0; }
.item .sub { overflow-wrap: anywhere; }
.item .title { font-weight: 700; }
.item .sub { color: var(--muted); font-size: var(--t-sm); }
.item .end { text-align: right; display: grid; gap: 4px; justify-items: end; }
.item.inactive { opacity: .6; }

/* KPI */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.kpi .lbl { font-size: var(--t-xs); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kpi .val { font-size: 1.2rem; font-weight: 800; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
@media (min-width: 640px) { .kpi .val { font-size: 1.45rem; } }
.kpi .delta { font-size: var(--t-xs); margin-top: 2px; color: var(--muted); }
.kpi.kpi-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.kpi.kpi-dark .lbl, .kpi.kpi-dark .delta { color: rgba(255,255,255,.7); }
.pos { color: var(--ok); } .neg { color: var(--danger); }
.kpi.kpi-dark .pos { color: #8FE0AE; } .kpi.kpi-dark .neg { color: #FFB4A6; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pl td { padding: 9px 14px; }
.pl .grp td { font-weight: 800; background: var(--surface-2); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pl .sub td:first-child { padding-left: 26px; color: var(--muted); }
.pl .tot td { font-weight: 800; border-top: 2px solid var(--ink); }
.pl .net td { font-weight: 800; font-size: var(--t-md); background: var(--primary-soft); }

/* Bars chart */
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: end; height: 190px; padding-top: 10px; }
.bar-col { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 6px; }
.bar-pair { display: flex; align-items: end; justify-content: center; gap: 3px; height: 100%; }
.bar { width: 42%; max-width: 22px; border-radius: 6px 6px 2px 2px; min-height: 2px; transition: height .4s ease; }
.bar.in { background: var(--primary); }
.bar.out { background: var(--sun); }
.bar-col .m { font-size: 11px; text-align: center; color: var(--muted); font-weight: 600; }
.legend { display: flex; gap: 14px; font-size: var(--t-xs); color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* ===== Public layout ===== */
.pub-head { position: sticky; top: 0; z-index: 20; background: rgba(245,249,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.pub-head .in { max-width: 1040px; margin: 0 auto; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; color: var(--ink); min-width: 0; }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #1677F2, #2EC5F0); color: #fff; display: grid; place-items: center; flex: none; overflow: hidden; }
.brand .mark img { width: 100%; height: 100%; object-fit: cover; }
.brand .mark svg { width: 22px; height: 22px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 18px 60px; }
.row.wrap:not(.card) { max-width: none; margin: 0; padding: 0; }
.card.row.wrap { max-width: none; margin: 0; }
.hero { padding: 26px 0 8px; display: grid; gap: 22px; }
@media (min-width: 880px) { .hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 56px 0 24px; } }
.hero h1 { font-size: clamp(1.9rem, 6vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { color: var(--muted); font-size: var(--t-md); margin-top: 12px; max-width: 46ch; }
.track-card { background: linear-gradient(135deg, #1677F2 0%, #1C9BF0 60%, #2EC5F0 100%); color: #fff; border-radius: 22px; padding: 22px; position: relative; overflow: hidden; }
.track-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid rgba(255,255,255,.06); }
.track-card h2 { font-size: var(--t-lg); }
.track-card p { color: rgba(255,255,255,.72); font-size: var(--t-sm); margin-top: 4px; }
.track-card form { display: flex; gap: 8px; margin-top: 16px; position: relative; z-index: 1; }
.track-card .input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.track-card .input::placeholder { color: rgba(255,255,255,.5); text-transform: none; letter-spacing: 0; font-weight: 500; }
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.flow::-webkit-scrollbar { display: none; }
.flow .st { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 10px; text-align: center; }
.flow .st .n { width: 30px; height: 30px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-strong); font-weight: 800; font-size: var(--t-sm); }
.flow .st span { font-size: var(--t-xs); font-weight: 700; }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price-row:last-child { border-bottom: 0; }
.promo { border-radius: var(--radius); padding: 16px; background: linear-gradient(135deg, #E6F1FF, #E3F8FD); border: 1px solid #C7DEFA; display: grid; gap: 6px; }
.promo .code { font-weight: 800; letter-spacing: .08em; font-size: var(--t-md); }
.promo img { border-radius: 10px; aspect-ratio: 16/7; object-fit: cover; width: 100%; }
.pub-foot { border-top: 1px solid var(--line); padding: 24px 18px 40px; text-align: center; color: var(--muted); font-size: var(--t-sm); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 16px; top: 32px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li.done::before { background: var(--primary); }
.timeline .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--line); color: var(--faint); z-index: 1; }
.timeline .dot svg { width: 16px; height: 16px; }
.timeline li.done .dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.timeline li.current .dot { background: #fff; border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.timeline .t-name { font-weight: 700; padding-top: 5px; }
.timeline li.pending .t-name { color: var(--faint); font-weight: 600; }
.timeline .t-meta { font-size: var(--t-xs); color: var(--muted); }
.progress { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #2EC5F0); border-radius: 99px; transition: width .5s ease; }

/* ===== App shell ===== */
.shell { min-height: 100dvh; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
.topbar { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar .in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; max-width: 1180px; margin: 0 auto; }
.topbar .who { text-decoration: none; display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-strong); display: grid; place-items: center; font-weight: 800; font-size: var(--t-sm); flex: none; }
.subnav { max-width: 1180px; margin: 0 auto; padding: 0 12px 10px; }
.main { max-width: 1180px; margin: 0 auto; padding: 16px 16px 30px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.page-head h1 { font-size: var(--t-lg); font-weight: 800; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.toolbar .input { min-height: 42px; }
.toolbar .search { flex: 1; min-width: 180px; }
.demo-bar { background: var(--sun-soft); color: #6B460C; font-size: var(--t-xs); font-weight: 600; text-align: center; padding: 6px 12px; border-bottom: 1px solid #F1D9AE; }

.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; align-items: stretch;
}
.nav a { flex: 1; display: grid; place-items: center; align-content: center; gap: 3px; text-decoration: none; color: var(--faint); font-size: 11px; font-weight: 700; max-width: 120px; }
.nav a svg { width: 22px; height: 22px; }
.nav a.on { color: var(--primary); }
.nav a.on svg { stroke-width: 2.3; }

@media (min-width: 960px) {
  .shell { padding-bottom: 0; padding-left: 92px; }
  .nav { top: 0; right: auto; width: 92px; height: 100dvh; flex-direction: column; justify-content: flex-start; padding-top: 18px; gap: 6px; border-top: 0; border-right: 1px solid var(--line); }
  .nav a { flex: none; height: 68px; max-width: none; margin: 0 10px; border-radius: 14px; }
  .nav a.on { background: var(--primary-soft); }
}

/* Order builder */
.builder { display: grid; gap: 16px; }
@media (min-width: 960px) { .builder { grid-template-columns: 1fr 360px; align-items: start; } .builder .summary { position: sticky; top: 130px; } }
.svc { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.svc.sel { border-color: var(--primary); background: #F3F8FF; box-shadow: inset 0 0 0 1px var(--primary); }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); flex: none; }
.stepper button { width: 38px; height: 40px; border: 0; background: transparent; font-size: 20px; font-weight: 600; cursor: pointer; color: var(--primary); }
.stepper button:hover { background: var(--surface-2); }
.stepper input { width: 52px; height: 40px; border: 0; text-align: center; font-weight: 700; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sum-line { display: flex; justify-content: space-between; gap: 10px; font-size: var(--t-sm); padding: 4px 0; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.sum-total b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 12px; }
.seg button { min-height: 38px; border: 0; border-radius: 9px; background: transparent; font-weight: 700; font-size: var(--t-sm); cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* Modal */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(11, 31, 58, .45); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease; }
.sheet {
  background: var(--surface); width: 100%; max-height: 92dvh; border-radius: 22px 22px 0 0; display: flex; flex-direction: column;
  animation: up .22s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px 20px; border-bottom: 1px solid var(--line); }
.sheet-head h3 { font-size: var(--t-md); font-weight: 800; }
.sheet-body { padding: 16px 20px; overflow-y: auto; overscroll-behavior: contain; }
.sheet-foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.sheet-foot .btn { flex: 1; }
@media (min-width: 720px) {
  .overlay { align-items: center; padding: 24px; }
  .sheet { max-width: 620px; border-radius: 20px; max-height: 88dvh; }
  .sheet.wide { max-width: 820px; }
  .sheet-foot .btn { flex: none; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(30px); opacity: .5; } }

/* Toast */
.toasts { position: fixed; z-index: 200; left: 50%; transform: translateX(-50%); top: calc(12px + env(safe-area-inset-top)); display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: var(--t-sm); font-weight: 600; box-shadow: var(--shadow-lg); animation: up .2s ease; }
.toast.err { background: var(--danger); }
.toast.ok { background: var(--ok); }

/* Empty / skeleton */
.empty { text-align: center; padding: 40px 16px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.empty svg { width: 34px; height: 34px; color: var(--faint); margin-bottom: 6px; }
.empty h4 { color: var(--ink); font-size: var(--t-base); margin-bottom: 4px; }
.skel { border-radius: var(--radius); background: linear-gradient(90deg, var(--surface-2) 25%, #F7FAFF 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: sh 1.2s infinite; height: 72px; }
@keyframes sh { to { background-position: -200% 0; } }

/* Login */
.login { min-height: 100dvh; display: grid; place-items: center; padding: 20px; }
.login .card { width: 100%; max-width: 400px; padding: 26px; }
.demo-creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.demo-creds button { border: 1px solid var(--line); background: var(--surface-2); border-radius: 10px; padding: 8px 4px; cursor: pointer; font-size: var(--t-xs); font-weight: 700; }

.receipt { font-size: var(--t-sm); }
.receipt .code { font-size: 1.6rem; font-weight: 800; letter-spacing: .06em; color: var(--primary-strong); }
.divider { height: 1px; background: var(--line); margin: 12px 0; }
.steps-edit .item { cursor: default; }
.mini-actions { display: flex; gap: 4px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print {
  .nav, .topbar, .subnav, .toolbar, .btn, .demo-bar { display: none !important; }
  .shell { padding: 0 !important; }
  body { background: #fff; }
}

/* Ara Laundry: tombol lacak putih di atas kartu biru */
.track-card .btn.sun { background: #fff; border-color: #fff; color: var(--primary-strong); }
.track-card .btn.sun:hover { background: #EAF3FF; }
.track-card .input { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); }
.track-card .input::placeholder { color: rgba(255,255,255,.75); }
.track-card p { color: rgba(255,255,255,.85); }
.nav a.on { color: var(--primary); }

/* Cek koneksi */
.demo-bar a { color: inherit; font-weight: 800; margin-left: 4px; }
.status-hero { display: flex; gap: 14px; align-items: center; border-radius: 18px; padding: 18px; color: #fff; }
.status-hero.ok { background: linear-gradient(135deg, #1677F2, #2EC5F0); }
.status-hero.bad { background: linear-gradient(135deg, #C0492F, #E07A3F); }
.status-hero h2 { font-size: var(--t-lg); }
.status-hero p { opacity: .92; font-size: var(--t-sm); margin-top: 2px; }
.status-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks .ci { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: var(--t-sm); }
.checks .ok .ci { background: var(--ok-soft); color: var(--ok); }
.checks .bad .ci { background: var(--danger-soft); color: var(--danger); }
.checks b { display: block; font-size: var(--t-base); }
.checks small { display: block; color: var(--muted); font-size: var(--t-sm); overflow-wrap: anywhere; }
.checks em { display: block; font-style: normal; color: var(--danger); font-size: var(--t-sm); margin-top: 4px; }

/* Banner promosi beranda */
.banner { margin-top: 16px; position: relative; }
.bn-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; box-shadow: var(--shadow); }
.bn-track::-webkit-scrollbar { display: none; }
.bn-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; aspect-ratio: 2 / 1; overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; }
.bn-slide.no-img { background: linear-gradient(120deg, #0D5FD0 0%, #1677F2 45%, #2EC5F0 100%); aspect-ratio: auto; min-height: 150px; align-items: center; }
.bn-slide.no-img::after { content: ''; position: absolute; right: -40px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255,255,255,.09); }
.bn-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn-slide.scrim::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,28,60,.72) 0%, rgba(8,28,60,.15) 55%, transparent 100%); z-index: 1; }
.bn-text { position: relative; z-index: 2; padding: 18px 20px; max-width: 34ch; }
.bn-text h2 { font-size: clamp(1.15rem, 4.6vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.bn-text p { margin-top: 6px; font-size: var(--t-sm); color: rgba(255,255,255,.88); }
.bn-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; background: #fff; color: var(--primary-strong); font-weight: 700; font-size: var(--t-sm); padding: 8px 14px; border-radius: 999px; }
.bn-cta svg { width: 16px; height: 16px; }
.bn-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.bn-dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: #C7DEFA; cursor: pointer; transition: width .2s, background .2s; }
.bn-dots button.on { width: 22px; background: var(--primary); }
@media (min-width: 760px) { .bn-slide { aspect-ratio: 3 / 1; } }

/* Kartu install aplikasi */
.install-card { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; background: linear-gradient(135deg, #fff, var(--primary-soft)); }
.install-card img { border-radius: 14px; flex: none; box-shadow: 0 4px 12px rgba(22,119,242,.25); }
.install-card .grow { flex: 1; min-width: 160px; }
.install-card .btn { flex: none; }
@media (max-width: 480px) { .install-card .btn { width: 100%; justify-content: center; } }
.i-app { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.i-app img { border-radius: 12px; }
.i-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.i-step { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); }
.i-num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .8rem; }
.i-ico svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--primary); }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.contact-card p { margin-top: 2px; }
@media (max-width: 480px) { .contact-card .btn { width: 100%; justify-content: center; } }
