/* ============================================================
   TUKANG BANGUNAN — UI (putih + biru logistik, mobile first)
   Default: LIGHT MODE (dikunci). Toggle gelap tersedia di kanan atas.
   ============================================================ */

:root {
  --blue: #1668e3;
  --blue-2: #0b4fcb;
  --blue-soft: #e8f0fe;
  --blue-soft-2: #f2f7ff;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --card: #ffffff;
  --ink: #0a1a33;
  --ink-2: #1f3a61;
  --muted: #64748b;
  --line: #e2e8f2;
  --line-2: #eef2f8;
  --green: #067a3e;
  --green-soft: #e5f8ed;
  --red: #c81e1e;
  --red-soft: #fdecec;
  --amber: #b45309;
  --amber-soft: #fef3e2;
  --shadow: 0 6px 18px rgba(16, 42, 90, .07);
  --shadow-lg: 0 14px 40px rgba(16, 42, 90, .14);
  --r: 16px;
  --r-sm: 12px;
  --on-accent: #ffffff;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ff: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html[data-theme="dark"] {
  --blue: #4d8dff;
  --blue-2: #7aa9ff;
  --blue-soft: #17284a;
  --blue-soft-2: #121e36;
  --bg: #0b1220;
  --bg-soft: #0a101c;
  --card: #131d31;
  --ink: #eef4ff;
  --ink-2: #cfdcf2;
  --muted: #93a4bd;
  --line: #24314b;
  --line-2: #1b2539;
  --green: #37d28a;
  --green-soft: #10331f;
  --red: #ff6b6b;
  --red-soft: #3a1616;
  --amber: #f0b464;
  --amber-soft: #33260f;
  --on-accent: #05101f;
  --shadow: 0 6px 18px rgba(0, 0, 0, .45);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html [hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg-soft);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
}

h1, h2, h3, h4 { margin: 0 0 6px; color: var(--ink); font-weight: 800; letter-spacing: -.2px; }
h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 15.5px; }
p { margin: 0 0 8px; color: var(--ink-2); }
a { color: var(--blue); text-decoration: none; }
small, .small { font-size: 12.5px; color: var(--muted); }
strong { color: var(--ink); }
.ic { flex: 0 0 auto; vertical-align: -4px; }
.flip { transform: rotate(180deg); }
.only-dark { display: none; }
html[data-theme="dark"] .only-light { display: none; }
html[data-theme="dark"] .only-dark { display: inline-flex; }

.shell {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}
@media (min-width: 700px) {
  body { background: var(--bg-soft); }
  .shell { box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
}

/* ---------------- APPBAR ---------------- */
.appbar {
  flex: 0 0 auto;
  background: var(--card);
  border-bottom: 1px solid var(--line-2);
  z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
}
.topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  min-height: 52px;
}
.topbar-title {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 16.5px;
  color: var(--ink);
  letter-spacing: -.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-dot {
  width: 9px; height: 9px; border-radius: 3px;
  background: linear-gradient(135deg, var(--blue), #59a6ff);
  display: inline-block;
  flex: 0 0 auto;
}
.topbar-actions { display: flex; align-items: center; gap: 2px; }
.iconbtn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 0; background: transparent; color: var(--ink-2);
  border-radius: 12px; cursor: pointer;
  transition: background .15s;
}
.iconbtn:active { background: var(--blue-soft); }
.iconbtn-danger { color: var(--red); }
.bell-badge {
  position: absolute; top: 3px; right: 3px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 800; line-height: 16px;
  border-radius: 8px; text-align: center;
}

/* Tabs */
.tabbar {
  display: flex;
  gap: 6px;
  padding: 0 10px 9px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabbar::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-2);
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: .16s;
}
.tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--on-accent);
  box-shadow: 0 4px 12px rgba(22, 104, 227, .28);
}

/* ---------------- SWIPE AREA ---------------- */
.swipe {
  flex: 1 1 auto;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}
.swipe::-webkit-scrollbar { display: none; }
.pane {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 14px 14px calc(28px + var(--safe-b));
}
.pane-inner { display: flex; flex-direction: column; gap: 14px; max-width: 620px; margin: 0 auto; }

/* ---------------- KOMPONEN UMUM ---------------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 15px;
  box-shadow: var(--shadow);
}
.card-tight { padding: 12px; }
.card-flat { box-shadow: none; }
.section-title {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin: 4px 2px 0;
  font-size: 13px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .6px; color: var(--muted);
}
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.col { display: flex; flex-direction: column; gap: 8px; }
.grow { flex: 1; min-width: 0; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }
.divider { height: 1px; background: var(--line-2); margin: 12px 0; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.av { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.av-ini {
  background: linear-gradient(135deg, var(--blue), #4f9bff);
  color: #fff; font-weight: 800;
}

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 800;
  padding: 4px 9px; border-radius: 999px;
  white-space: nowrap;
}
.badge-blue { background: var(--blue-soft); color: var(--blue-2); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-gray { background: var(--bg-soft); color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot.green { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.dot.red { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }

.stars { display: inline-flex; gap: 1px; color: #d7deea; vertical-align: -2px; }
html[data-theme="dark"] .stars { color: #37415a; }
.stars .star.on { color: #f5a623; }
html[data-theme="dark"] .stars .star.on { color: #ffc247; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-family: var(--ff); font-size: 14.5px; font-weight: 800;
  padding: 12px 16px; cursor: pointer; text-align: center;
  transition: transform .12s, box-shadow .15s;
  min-height: 46px;
}
.btn:active { transform: scale(.985); }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--on-accent);
  box-shadow: 0 8px 18px rgba(22, 104, 227, .28);
}
.btn-outline { background: var(--card); border-color: var(--blue); color: var(--blue); }
.btn-soft { background: var(--blue-soft); color: var(--blue-2); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-2); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger-soft { background: var(--red-soft); color: var(--red); }
.btn-green { background: var(--green); color: #fff; }
.btn-green-soft { background: var(--green-soft); color: var(--green); }
.btn-amber-soft { background: var(--amber-soft); color: var(--amber); }
.btn-sm { min-height: 38px; padding: 8px 12px; font-size: 13.2px; border-radius: 10px; }
.btn-xs { min-height: 32px; padding: 6px 10px; font-size: 12px; border-radius: 8px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-wa { background: #25d366; color: #06381a; }
.btn-icon-only { padding: 10px; min-width: 42px; }

/* Forms */
label.field, .field { display: block; margin-bottom: 11px; }
.field-label {
  display: block; font-size: 12.8px; font-weight: 800; color: var(--ink-2); margin-bottom: 6px;
}
.input, select.input, textarea.input {
  width: 100%;
  font-family: var(--ff); font-size: 16px; color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 13px;
  min-height: 46px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #9aa8bd; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
textarea.input { resize: vertical; min-height: 84px; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}
.input-hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.filebox {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-sm);
  padding: 11px 12px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 13px; font-weight: 600;
  position: relative; overflow: hidden;
}
.filebox input[type=file] {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%;
  cursor: pointer;
}
.filebox .fb-ic { color: var(--blue); }
.filebox small { display: block; font-weight: 500; }
.checkline {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 11px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: var(--card);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; margin-bottom: 8px;
}
.checkline input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--blue); }
.checkline.on { border-color: var(--blue); background: var(--blue-soft-2); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }

/* switch */
.switch { position: relative; display: inline-flex; align-items: center; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.switch .track {
  width: 52px; height: 30px; border-radius: 999px;
  background: #cfd8e6; position: relative; transition: .2s; flex: 0 0 auto;
}
html[data-theme="dark"] .switch .track { background: #2c3a54; }
.switch .track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  transition: transform .2s;
}
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(22px); }


/* ---------------- HEADER MEREK (BERANDA CUSTOMER) ---------------- */
.topbar-title.is-brand { gap: 9px; }
.brand-logo { display: flex; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.02; min-width: 0; }
.bt-top { display: flex; align-items: baseline; gap: 5px; font-size: 15px; font-weight: 900; letter-spacing: .3px; }
.bt-hk { color: #1668e3; }
.bt-pr { color: #0d7a35; }
html[data-theme="dark"] .bt-hk { color: #7fb0ff; }
html[data-theme="dark"] .bt-pr { color: #63e79b; }
.bt-sub { font-size: 8.6px; font-weight: 800; letter-spacing: 2.5px; color: #5c6b83; margin-top: 2px; }
html[data-theme="dark"] .bt-sub { color: #8fa1ba; }

/* ---------------- BERANDA PEMESANAN CUSTOMER ---------------- */
.cust-head { padding: 4px 2px 0; }
.cust-title {
  font-size: 25px; font-weight: 900; letter-spacing: -.7px;
  line-height: 1.16; color: var(--ink); margin: 0 0 7px;
}
.cust-sub { font-size: 13.8px; color: var(--muted); margin: 0 0 13px; }

.spec-search {
  display: flex; align-items: center; gap: 7px;
  background: transparent;
  border: 0;
  padding: 0 1px;
  margin: 0 0 14px;
  color: var(--blue);
  cursor: text;
}
.spec-search .ic { flex: 0 0 auto; color: var(--blue); }
.spec-search input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font-family: var(--ff); font-size: 16px; font-weight: 700;
  color: var(--blue-2); padding: 0; margin: 0;
}
.spec-search input::placeholder { color: var(--blue); opacity: .92; font-weight: 700; }

.big-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big-cat {
  border: 0; border-radius: 16px; cursor: pointer;
  padding: 16px 10px 15px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 11px; min-height: 140px;
  font-family: var(--ff); font-size: 14.5px; font-weight: 900;
  line-height: 1.25; text-align: center; text-decoration: none;
  color: #0a1a33;
  box-shadow: 0 8px 18px rgba(16, 42, 90, .16);
  transition: transform .12s;
}
.big-cat.amber { background: linear-gradient(160deg, #ffcd45 0%, #ffb40a 100%); }
.big-cat.cyan { background: linear-gradient(160deg, #35c6f6 0%, #04aee8 100%); }
.big-cat.amber .bc-ic { color: #1a1206; }
.big-cat.cyan .bc-ic { color: #04202b; }
.big-cat:active { transform: scale(.98); }
.big-cat .bc-ic { display: flex; }
.big-cat .bc-ic svg { width: 54px; height: 54px; stroke-width: 1.65; }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.spec-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 7px 11px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  text-align: center; text-decoration: none; color: var(--ink);
  box-shadow: 0 4px 12px rgba(16, 42, 90, .06);
  transition: transform .12s, border-color .15s;
  min-height: 138px;
}
.spec-card:active { transform: scale(.98); border-color: var(--blue); }
.spec-ic {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.spec-name {
  font-size: 12.4px; font-weight: 800; line-height: 1.25;
  color: var(--ink); flex: 1;
  display: flex; align-items: center; justify-content: center;
  overflow-wrap: anywhere;
}
.pesan-link {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px; font-weight: 900; color: var(--red);
}
.pesan-link .ic { transform: translateY(0); }

/* palet pastel ikon */
.p-pink { background: #ffe1e7; color: #cf1239; }
.p-cream { background: #fff1cf; color: #a86200; }
.p-lav { background: #eee1ff; color: #6d33e0; }
.p-peach { background: #ffe6d3; color: #bd5200; }
.p-magenta { background: #ffdcf0; color: #c01b63; }
.p-sky { background: #d9efff; color: #0a6ea0; }
.p-lemon { background: #fff7c2; color: #8f6600; }
.p-mint { background: #d5f6e5; color: #06774f; }

.cust-empty {
  grid-column: 1 / -1; text-align: center; padding: 22px 10px;
  color: var(--muted); font-size: 13px; font-weight: 600;
}
.cust-foot {
  margin: 16px 0 2px; text-align: center;
  font-size: 12.4px; color: var(--muted);
}
.cust-foot a { font-weight: 800; }

/* ---------------- BERANDA ---------------- */
.hero {
  background: linear-gradient(135deg, var(--blue), #4a9bff);
  color: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 26px rgba(22, 104, 227, .3);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -40px; top: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}
.hero h2, .hero p { color: #fff; }
.hero .small { color: rgba(255, 255, 255, .9); }
.hero-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, .2);
  padding: 5px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; margin-bottom: 8px;
}

.service-card {
  display: flex; align-items: center; gap: 13px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  text-align: left;
  width: 100%;
  font-family: var(--ff);
  cursor: pointer;
  color: var(--ink);
  transition: .16s;
}
.service-card:active { transform: scale(.99); border-color: var(--blue); }
.service-ic {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue); flex: 0 0 auto;
}
.service-ic.green { background: var(--green-soft); color: var(--green); }
.service-ic.amber { background: var(--amber-soft); color: var(--amber); }
.service-title { font-weight: 800; font-size: 15.5px; color: var(--ink); }
.service-sub { font-size: 12.3px; color: var(--muted); margin-top: 2px; }
.service-price { font-weight: 800; color: var(--blue); font-size: 13.5px; margin-top: 4px; }

/* job card */
.job-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 9px;
}
.job-card.is-active { border-color: var(--blue); }
.job-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.job-title { font-weight: 800; font-size: 15px; color: var(--ink); }
.job-cat {
  font-size: 11.5px; font-weight: 800; color: var(--blue-2);
  background: var(--blue-soft); padding: 3px 8px; border-radius: 7px;
  display: inline-block;
}
.meta { display: flex; align-items: flex-start; gap: 6px; font-size: 12.7px; color: var(--ink-2); }
.meta .ic { color: var(--muted); margin-top: 1px; }
.job-desc {
  font-size: 12.8px; color: var(--ink-2); background: var(--bg-soft);
  border-radius: 10px; padding: 9px 10px; white-space: pre-wrap;
}
.job-price { font-size: 18px; font-weight: 800; color: var(--blue); }
.job-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.job-actions .btn { flex: 1 1 45%; }
.hidden-note {
  font-size: 11.5px; color: var(--muted); background: var(--bg-soft);
  border: 1px dashed var(--line); border-radius: 9px; padding: 7px 9px;
}
.pay-box {
  background: var(--blue-soft-2);
  border: 1px solid var(--blue-soft);
  border-radius: var(--r-sm);
  padding: 12px;
  font-size: 13px;
  color: var(--ink-2);
}
.pay-box strong { color: var(--blue-2); }

/* stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px; box-shadow: var(--shadow);
}
.stat-ic {
  width: 30px; height: 30px; border-radius: 9px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 7px;
  background: var(--blue-soft); color: var(--blue);
}
.stat-green .stat-ic { background: var(--green-soft); color: var(--green); }
.stat-amber .stat-ic { background: var(--amber-soft); color: var(--amber); }
.stat-red .stat-ic { background: var(--red-soft); color: var(--red); }
.stat-val { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.stat-label { font-size: 11.3px; color: var(--muted); margin-top: 2px; }

/* wallet */
.wallet-card {
  background: linear-gradient(135deg, #0b3fa8, #1668e3 60%, #4a9bff);
  border-radius: 20px; padding: 18px; color: #fff;
  box-shadow: 0 12px 26px rgba(11, 63, 168, .32);
}
.wallet-card .wl { font-size: 12px; color: rgba(255, 255, 255, .85); font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.wallet-card .wv { font-size: 27px; font-weight: 900; letter-spacing: -.6px; color: #fff; margin: 3px 0 12px; }
.wallet-card .btn { flex: 1; }

/* list rows */
.rowitem {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 0; border-bottom: 1px solid var(--line-2);
}
.rowitem:last-child { border-bottom: 0; }
.rowitem-main { flex: 1; min-width: 0; }
.rowitem-title { font-weight: 700; font-size: 13.8px; color: var(--ink); }
.rowitem-sub { font-size: 11.8px; color: var(--muted); }

/* empty state + animasi tukang mencangkul */
.empty {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 16px 20px;
  box-shadow: var(--shadow);
}
.empty-title { font-weight: 800; color: var(--ink); margin-top: 6px; }
.empty-sub { font-size: 12.8px; color: var(--muted); }
.empty-sm { font-size: 13px; color: var(--muted); padding: 10px 0; }
.hoe-anim { width: 190px; height: 140px; margin: 0 auto; display: block; }
.hoe-arm { transform-origin: 96px 52px; animation: hoeSwing 1.9s ease-in-out infinite; }
.hoe-body { transform-origin: 90px 110px; animation: hoeBody 1.9s ease-in-out infinite; }
.hoe-ground { animation: groundPuff 1.9s ease-in-out infinite; }
@keyframes hoeSwing {
  0%   { transform: rotate(-46deg); }
  45%  { transform: rotate(18deg); }
  55%  { transform: rotate(20deg); }
  100% { transform: rotate(-46deg); }
}
@keyframes hoeBody {
  0%   { transform: rotate(-3deg) translateY(0); }
  45%  { transform: rotate(2deg) translateY(1px); }
  100% { transform: rotate(-3deg) translateY(0); }
}
@keyframes groundPuff {
  0%, 40%, 100% { opacity: .15; transform: translateY(0) scale(.9); }
  50%, 58% { opacity: .65; transform: translateY(-3px) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .hoe-arm, .hoe-body, .hoe-ground { animation-duration: 4s; }
}

/* rating modal */
.star-pick { display: flex; gap: 6px; justify-content: center; margin: 10px 0 4px; }
.star-pick button {
  border: 0; background: transparent; padding: 3px; cursor: pointer; color: #d7deea;
}
html[data-theme="dark"] .star-pick button { color: #37415a; }
.star-pick button.on { color: #f5a623; }

/* ---------------- DRAWER ---------------- */
.scrim {
  position: fixed; inset: 0; background: rgba(8, 18, 36, .5);
  z-index: 60; backdrop-filter: blur(1.5px);
  animation: fadeIn .18s ease;
}
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 82%; max-width: 320px;
  background: var(--card);
  z-index: 70;
  transform: translateX(-102%);
  transition: transform .26s cubic-bezier(.3, .8, .3, 1);
  display: flex; flex-direction: column;
  box-shadow: 8px 0 30px rgba(8, 18, 36, .18);
  overflow: hidden;
}
.drawer.open { transform: translateX(0); }
.drawer-top {
  position: relative;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 14px;
  background: linear-gradient(135deg, var(--blue), #3f8fff);
  color: #fff;
}
.drawer-brand { font-size: 17px; font-weight: 900; letter-spacing: -.3px; color: #fff; }
.drawer-close {
  position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: 8px;
  color: #fff;
}
.drawer-user { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.drawer-name { font-weight: 800; color: #fff; font-size: 14.5px; }
.drawer-status { font-size: 11.8px; color: rgba(255, 255, 255, .92); display: flex; align-items: center; gap: 6px; }
.drawer-status .dot.green { background: #7dffb5; box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.drawer-status .dot.red { background: #ffb3b3; box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.drawer-nav { flex: 1; overflow-y: auto; padding: 10px 10px 4px; display: flex; flex-direction: column; gap: 2px; }
.drawer-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px; border: 0; background: transparent;
  border-radius: 12px; color: var(--ink-2);
  font-family: var(--ff); font-size: 14px; font-weight: 700;
  cursor: pointer; text-align: left; width: 100%;
}
.drawer-item.active { background: var(--blue-soft); color: var(--blue-2); }
.drawer-item .ic { color: currentColor; }
.drawer-bottom {
  padding: 10px 14px calc(14px + var(--safe-b));
  border-top: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 8px;
}
.btn-ghost-logout {
  display: flex; align-items: center; gap: 9px;
  padding: 12px; border-radius: 12px;
  background: var(--red-soft); color: var(--red);
  font-weight: 800; font-size: 14px;
}
.drawer-ver { font-size: 11px; color: var(--muted); text-align: center; }

/* ---------------- NOTIF PANEL ---------------- */
.notif-panel {
  position: fixed; z-index: 65;
  top: calc(58px + env(safe-area-inset-top, 0px));
  right: max(10px, calc(50vw - 300px));
  left: auto;
  width: min(360px, calc(100vw - 20px));
  max-height: 68vh;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  animation: dropIn .18s ease;
}
.notif-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 12px; border-bottom: 1px solid var(--line-2);
  color: var(--ink);
}
.notif-list { overflow-y: auto; padding: 6px 10px 10px; }
.notif-item {
  display: flex; gap: 9px; padding: 9px 4px;
  border-bottom: 1px solid var(--line-2);
}
.notif-item:last-child { border-bottom: 0; }
.notif-item.unread { background: var(--blue-soft-2); border-radius: 10px; padding: 9px 8px; }
.notif-ic {
  width: 28px; height: 28px; border-radius: 9px; flex: 0 0 auto;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.notif-title { font-size: 13px; font-weight: 800; color: var(--ink); }
.notif-body { font-size: 12.3px; color: var(--ink-2); }
.notif-time { font-size: 10.8px; color: var(--muted); margin-top: 2px; }

/* ---------------- TOAST / SHEET / MODAL ---------------- */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  top: calc(68px + env(safe-area-inset-top, 0px));
  z-index: 90;
  pointer-events: none;
  background: #0f2747; color: #fff;
  padding: 11px 16px; border-radius: 12px;
  font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 28px);
  animation: dropIn .2s ease;
}
.toast-error { background: var(--red); }
.toast-ok { background: #0f2747; }
html[data-theme="dark"] .toast-ok { background: #1d3a63; }

.sheet { position: fixed; inset: 0; z-index: 88; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(8, 18, 36, .5); backdrop-filter: blur(2px); }
.sheet-inner {
  position: relative;
  width: 100%; max-width: 620px;
  background: var(--card);
  border-radius: 22px 22px 0 0;
  padding: 8px 16px calc(18px + var(--safe-b));
  max-height: 92dvh; overflow-y: auto;
  animation: sheetUp .24s cubic-bezier(.3, .8, .3, 1);
  box-shadow: 0 -10px 40px rgba(8, 18, 36, .25);
}
.sheet-grip { width: 44px; height: 4px; border-radius: 3px; background: var(--line); margin: 6px auto 12px; }
.sheet-title { font-size: 16.5px; font-weight: 800; margin-bottom: 4px; color: var(--ink); }
.sheet-sub { font-size: 12.8px; color: var(--muted); margin-bottom: 14px; }
.sheet-actions { display: flex; gap: 9px; margin-top: 14px; }
.sheet-actions .btn { flex: 1; }

@keyframes sheetUp { from { transform: translateY(28px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
@keyframes dropIn { from { transform: translateY(-8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------------- DETAIL / ACCORDION ---------------- */
details.acc {
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-soft); padding: 0; overflow: hidden;
}
details.acc > summary {
  list-style: none; cursor: pointer; padding: 10px 12px;
  font-size: 12.8px; font-weight: 800; color: var(--blue-2);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc[open] > summary { border-bottom: 1px solid var(--line); }
details.acc .acc-body { padding: 11px 12px; }

/* ---------------- AUTH / LANDING ---------------- */
.auth-wrap {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px calc(24px + var(--safe-b));
  background:
    radial-gradient(900px 380px at 100% -8%, #dbe9ff 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(700px 320px at -10% 110%, #e5eeff 0%, rgba(255, 255, 255, 0) 60%),
    var(--bg);
  max-width: 620px; margin: 0 auto;
}
.auth-top { display: flex; align-items: center; justify-content: space-between; }
.auth-logo { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 16px; color: var(--ink); }
.auth-logo .mark {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), #4a9bff);
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.auth-hero { margin: 22px 0 6px; }
.auth-hero h1 { font-size: 26px; line-height: 1.18; letter-spacing: -.7px; }
.auth-hero p { font-size: 13.5px; color: var(--muted); }
.role-card {
  display: flex; flex-direction: column; gap: 7px;
  text-align: left; width: 100%;
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: 18px; padding: 16px;
  box-shadow: var(--shadow); cursor: pointer;
  font-family: var(--ff); color: var(--ink);
  transition: .16s;
}
.role-card:active { border-color: var(--blue); transform: scale(.99); }
.role-card .rc-head { display: flex; align-items: center; gap: 12px; }
.role-card .rc-ic {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.role-card.special .rc-ic { background: var(--amber-soft); color: var(--amber); }
.role-card .rc-title { font-weight: 900; font-size: 16px; color: var(--ink); }
.role-card .rc-sub { font-size: 12.5px; color: var(--muted); }
.role-card .rc-cta {
  margin-top: 4px; font-size: 12.8px; font-weight: 800; color: var(--blue);
  display: flex; align-items: center; gap: 4px;
}
.auth-note {
  font-size: 11.8px; color: var(--muted); line-height: 1.5;
  background: var(--bg-soft); border: 1px dashed var(--line);
  border-radius: 12px; padding: 10px 12px;
}
.auth-foot { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: auto; padding-top: 16px; }

.page-head-nav {
  display: flex; align-items: center; gap: 8px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px;
  background: var(--card); border-bottom: 1px solid var(--line-2);
  position: sticky; top: 0; z-index: 20;
}
.backlink {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 800; color: var(--ink-2);
}
.form-wrap { max-width: 620px; margin: 0 auto; padding: 14px 14px calc(30px + var(--safe-b)); display: flex; flex-direction: column; gap: 13px; }

/* admin helpers */
.subbar { display: flex; gap: 6px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.subbar::-webkit-scrollbar { display: none; }
.subbar a, .subbar button {
  flex: 0 0 auto; font-size: 12px; font-weight: 800;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  font-family: var(--ff); cursor: pointer;
}
.subbar .on { background: var(--ink); color: #fff; border-color: var(--ink); }
html[data-theme="dark"] .subbar .on { background: var(--blue); border-color: var(--blue); color: #04101f; }
.mini-note { font-size: 11.5px; color: var(--muted); }
.ktp-thumb {
  width: 100%; max-height: 150px; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft);
}
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  font-size: 11.5px; font-weight: 700; padding: 4px 9px;
  border-radius: 999px; background: var(--blue-soft); color: var(--blue-2);
}
.charts { display: flex; flex-direction: column; gap: 9px; }
.bar-row { font-size: 12px; color: var(--ink-2); }
.bar-track { height: 9px; border-radius: 6px; background: var(--bg-soft); overflow: hidden; margin-top: 4px; border: 1px solid var(--line-2); }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue), #5aa3ff); }
.table-wrap { overflow-x: auto; }
table.mini { width: 100%; border-collapse: collapse; font-size: 12.3px; }
table.mini th, table.mini td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.mini th { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }

/* indikator kompresi foto (upload kamera HP) */
.filebox.is-uploading { border-style: solid; border-color: var(--blue); background: var(--blue-soft-2); }
.filebox.is-uploading::after {
  content: "Mengoptimalkan foto…";
  position: absolute; right: 10px; bottom: 4px;
  font-size: 10.5px; font-weight: 800; color: var(--blue);
}

/* ---------------- LOGIN ADMIN (tanpa menampilkan email) ---------------- */
.admin-link {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 14px auto 0; padding: 9px 14px;
  width: fit-content;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--muted);
  font-size: 12.5px; font-weight: 800; text-decoration: none;
  transition: color .15s, border-color .15s;
}
.admin-link:active { color: var(--blue); border-color: var(--blue); }
.admin-link .ic { color: currentColor; }
.admin-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin: 18px 0 16px;
}
.admin-head-ic {
  width: 56px; height: 56px; border-radius: 18px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}

/* ============================================================
   HALAMAN PUBLIK (portofolio & kepatuhan) + FOOTER LEGAL
   ============================================================ */
.appfoot {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px calc(7px + env(safe-area-inset-bottom, 0px));
  background: var(--card);
  border-top: 1px solid var(--line-2);
  overflow-x: auto; scrollbar-width: none;
}
.appfoot::-webkit-scrollbar { display: none; }
.appfoot a {
  font-size: 10.5px; font-weight: 700; color: var(--muted);
  text-decoration: none; white-space: nowrap;
}
.appfoot a:active { color: var(--blue); }
.appfoot-wa { color: #0f9d58 !important; display: inline-flex; align-items: center; margin-left: auto; }

.public-body {
  background: var(--bg-soft);
  min-height: 100dvh;
  display: flex; flex-direction: column;
}
.pubbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 10px;
  padding: calc(9px + env(safe-area-inset-top, 0px)) 14px 9px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}
.pubbrand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: 1; min-width: 0; }
.pubbrand-logo { display: flex; }
.pubbar-actions { display: flex; align-items: center; gap: 6px; }
.pubmain { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 16px 14px 30px; }

.pub-head { margin-bottom: 16px; }
.pub-kicker {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--blue-soft); color: var(--blue-2);
  font-size: 11.5px; font-weight: 800;
  padding: 5px 10px; border-radius: 999px; margin-bottom: 9px;
}
.pub-head h1 {
  font-size: 25px; line-height: 1.18; letter-spacing: -.7px; margin: 0 0 8px;
}
.pub-lead { font-size: 13.8px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ---------- PORTFOLIO ---------- */
.pf-hero {
  background: linear-gradient(150deg, #0b3fa8, #1668e3 55%, #4a9bff);
  border-radius: 20px; padding: 20px 18px; color: #fff;
  box-shadow: 0 14px 30px rgba(11, 63, 168, .28);
  margin-bottom: 16px;
}
.pf-hero h1 { color: #fff; font-size: 23px; letter-spacing: -.6px; margin: 0 0 8px; }
.pf-hero .pub-lead { color: rgba(255, 255, 255, .93); }
.pf-hero .pub-kicker { background: rgba(255, 255, 255, .2); color: #fff; }
.pf-stats { display: flex; gap: 22px; margin: 14px 0 16px; }
.pf-stats div { display: flex; flex-direction: column; }
.pf-stats b { font-size: 21px; line-height: 1.1; color: #fff; }
.pf-stats span { font-size: 11.5px; color: rgba(255, 255, 255, .85); }
.pf-cta { display: flex; gap: 9px; flex-wrap: wrap; }
.pf-hero .btn-ghost { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); color: #fff; }
.pf-hero .btn-primary { background: #fff; color: #0b3fa8; box-shadow: 0 6px 16px rgba(0, 0, 0, .16); }

.pf-filter { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.pf-filter::-webkit-scrollbar { display: none; }
.pf-filter button {
  flex: 0 0 auto; font-family: var(--ff); font-size: 12.3px; font-weight: 800;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
}
.pf-filter button.on { background: var(--blue); border-color: var(--blue); color: #fff; }

.pf-list { display: flex; flex-direction: column; gap: 16px; }
.pf-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 16px; box-shadow: var(--shadow);
}
.pf-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.pf-loc { font-size: 11.8px; color: var(--muted); display: inline-flex; align-items: center; gap: 3px; }
.pf-num { margin-left: auto; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.pf-card h2 { font-size: 17.5px; margin: 0 0 6px; letter-spacing: -.3px; }
.pf-summary { font-size: 13.4px; color: var(--muted); margin: 0 0 12px; }

.pf-media {
  display: flex; gap: 9px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 6px; margin-bottom: 12px;
  scrollbar-width: none;
}
.pf-media::-webkit-scrollbar { display: none; }
.pf-item {
  flex: 0 0 82%; margin: 0; scroll-snap-align: start;
  border-radius: 14px; overflow: hidden; background: var(--bg-soft);
  border: 1px solid var(--line-2); cursor: zoom-in; position: relative;
}
.pf-item img, .pf-item video {
  width: 100%; height: 190px; object-fit: cover; display: block;
}
.pf-item.is-video { cursor: default; flex-basis: 92%; }
.pf-item figcaption {
  font-size: 11.4px; color: var(--muted); padding: 6px 9px;
  background: var(--card); border-top: 1px solid var(--line-2);
}
@media (min-width: 620px) {
  .pf-item { flex-basis: 48%; }
}

.pf-desc { font-size: 13.6px; color: var(--ink-2); }
.pf-desc ul, .pf-desc ol { padding-left: 20px; margin: 6px 0; }
.pf-desc li { margin-bottom: 4px; }
.pf-desc h3 { font-size: 14.5px; margin: 10px 0 4px; }
.pf-custom { margin-top: 10px; }
.pf-custom .pf-note {
  border-left: 3px solid var(--blue); background: var(--blue-soft-2);
  padding: 9px 12px; border-radius: 0 10px 10px 0; font-size: 12.8px; color: var(--ink-2);
}
.pf-custom .pf-badge {
  display: inline-flex; gap: 5px; align-items: center;
  background: var(--green-soft); color: var(--green);
  font-size: 11.5px; font-weight: 800; padding: 5px 10px; border-radius: 999px;
}
.pf-card-foot { display: flex; gap: 8px; margin-top: 13px; flex-wrap: wrap; }
.pf-card-foot .btn { flex: 1 1 auto; }

.pf-bottom {
  margin-top: 22px; background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px; text-align: center; box-shadow: var(--shadow);
}
.pf-bottom h2 { font-size: 17px; margin: 0 0 6px; }
.pf-bottom p { font-size: 13.2px; color: var(--muted); margin: 0 0 13px; }
.pf-bottom .pf-cta { justify-content: center; }

.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(6, 12, 24, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.lightbox img { max-width: 100%; max-height: 86dvh; border-radius: 10px; }
.lb-close {
  position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .16); color: #fff; display: flex;
  align-items: center; justify-content: center; cursor: pointer;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

/* ---------- HALAMAN LEGAL ---------- */
.legal {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px; box-shadow: var(--shadow);
}
.legal h2 { font-size: 16px; margin: 20px 0 8px; }
.legal h2:first-of-type { margin-top: 14px; }
.legal p, .legal li { font-size: 13.6px; color: var(--ink-2); line-height: 1.62; }
.legal ul, .legal ol { padding-left: 20px; margin: 6px 0 12px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--blue); font-weight: 700; }
.legal-toc {
  background: var(--bg-soft); border: 1px solid var(--line-2);
  border-radius: 13px; padding: 12px 14px;
}
.legal-toc b { font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.legal-toc ol { margin: 7px 0 0; padding-left: 18px; }
.legal-toc li { font-size: 12.8px; margin-bottom: 3px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 12.8px; margin: 8px 0 14px; }
.legal-table th, .legal-table td {
  text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-2);
  vertical-align: top; color: var(--ink-2);
}
.legal-table th { color: var(--ink); font-weight: 800; background: var(--bg-soft); width: 34%; }
.legal-highlight {
  background: var(--green-soft); border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
  border-radius: 13px; padding: 12px 14px; margin: 10px 0 14px;
}
.legal-highlight p { margin: 0; color: var(--ink); }
.legal-nav { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 16px; }
.legal-nav a {
  flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 13px;
  padding: 12px 14px; font-size: 13px; font-weight: 800; color: var(--ink-2); text-decoration: none;
}
.contact-box { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.contact-box a {
  display: flex; align-items: center; gap: 9px;
  background: var(--blue-soft-2); border: 1px solid var(--blue-soft);
  border-radius: 12px; padding: 11px 13px; font-size: 13px; font-weight: 800;
  color: var(--blue-2); text-decoration: none;
}

.contact-cards { display: flex; flex-direction: column; gap: 11px; margin-bottom: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow);
}
.contact-card .cc-ic {
  width: 48px; height: 48px; border-radius: 14px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue);
}
.contact-card.wa .cc-ic { background: #dcf8e8; color: #0f9d58; }
html[data-theme="dark"] .contact-card.wa .cc-ic { background: #123322; color: #4ade80; }
.contact-card .cc-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.contact-card b { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.contact-card .cc-body span { font-size: 14.5px; font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
.contact-card small { font-size: 11.5px; color: var(--muted); }

/* langkah cara order */
.steps { display: flex; flex-direction: column; gap: 13px; margin-bottom: 20px; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 16px 16px 16px; box-shadow: var(--shadow);
}
.step-num {
  position: absolute; top: -11px; left: 14px;
  width: 28px; height: 28px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900;
}
.step h3 { margin: 8px 0 6px; font-size: 15.5px; }
.step p, .step li { font-size: 13.3px; color: var(--ink-2); }
.step ul { padding-left: 18px; margin: 4px 0 8px; }
.pay-note {
  display: flex; align-items: flex-start; gap: 6px;
  background: var(--green-soft); color: var(--green);
  border-radius: 10px; padding: 9px 11px; font-size: 12.2px; font-weight: 700; margin-top: 8px;
}
.faq { margin-bottom: 20px; }
.faq h2 { font-size: 17px; margin: 0 0 10px; }
.faq .acc { margin-bottom: 9px; background: var(--card); border-color: var(--line); }

.fab-wa {
  position: fixed; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #052e16;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22); z-index: 40;
}

/* footer situs */
.sitefooter {
  width: 100%; max-width: 760px; margin: 0 auto;
  padding: 18px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 10px; align-items: center;
  text-align: center;
}
.sitefooter.compact { margin-top: auto; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; }
.legal-links a {
  font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none;
}
.legal-links a:active { color: var(--blue); }
.sf-contact { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; }
.sf-contact a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: var(--blue-2); text-decoration: none;
}
.sf-copy { font-size: 11px; color: var(--muted); }

/* landing: tombol tambahan */
.landing-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.role-card.portfolio .rc-ic { background: var(--green-soft); color: var(--green); }
.role-card.portfolio .rc-cta { color: var(--green); }

/* ============================================================
   ADMIN: WEB BUILDER PORTOFOLIO
   ============================================================ */
.rte { border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--card); }
.rte-toolbar {
  display: flex; gap: 2px; flex-wrap: wrap; padding: 5px;
  border-bottom: 1px solid var(--line-2); background: var(--bg-soft);
}
.rte-toolbar button {
  min-width: 32px; height: 30px; border: 0; border-radius: 7px;
  background: transparent; color: var(--ink-2); cursor: pointer;
  font-family: var(--ff); font-size: 13px; font-weight: 800;
}
.rte-toolbar button:active { background: var(--blue-soft); color: var(--blue-2); }
.rte-area {
  min-height: 150px; max-height: 380px; overflow-y: auto;
  padding: 11px 12px; font-size: 14.5px; color: var(--ink);
  outline: none; line-height: 1.55;
}
.rte-area:empty::before {
  content: attr(data-placeholder); color: #9aa8bd; pointer-events: none;
}
.rte-area ul, .rte-area ol { padding-left: 20px; margin: 5px 0; }
.rte-area h3 { font-size: 15px; margin: 8px 0 4px; }
.rte-area a { color: var(--blue); }

textarea.code, input.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.8px; line-height: 1.5;
}

.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; text-align: center; cursor: pointer; position: relative;
  border: 2px dashed var(--line); border-radius: 14px;
  padding: 20px 14px; background: var(--bg-soft); margin-top: 10px;
  transition: border-color .15s, background .15s;
}
.dropzone .dz-ic { color: var(--blue); }
.dropzone .dz-title { font-size: 13.4px; font-weight: 800; color: var(--ink); }
.dropzone .dz-sub { font-size: 11.4px; color: var(--muted); }
.dropzone.dragover { border-color: var(--blue); background: var(--blue-soft-2); }
.dropzone.is-uploading { pointer-events: none; opacity: .8; }
.dz-progress {
  display: block; width: 100%; height: 7px; border-radius: 5px;
  background: var(--line); overflow: hidden; margin-top: 8px;
}
.dz-progress i { display: block; height: 100%; width: 0%; background: var(--blue); transition: width .2s; }
.dz-status { font-size: 12px; color: var(--muted); margin-top: 7px; }

.pf-gallery-admin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 10px; }
.pf-thumb { position: relative; border-radius: 11px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.pf-thumb img, .pf-thumb video { width: 100%; height: 88px; object-fit: cover; display: block; }
.pf-thumb-tag {
  position: absolute; left: 5px; bottom: 5px;
  background: rgba(0, 0, 0, .68); color: #fff;
  font-size: 9px; font-weight: 800; padding: 2px 5px; border-radius: 4px;
}
.pf-thumb-del {
  position: absolute; top: 4px; right: 4px;
  width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: rgba(220, 38, 38, .92); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.pf-cover {
  width: 46px; height: 46px; border-radius: 11px; object-fit: cover;
  border: 1px solid var(--line); flex: 0 0 auto;
}
.pf-cover-empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--muted);
}

/* ============================================================
   PEMBAYARAN QRIS
   ============================================================ */
.qris-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 13px;
  box-shadow: var(--shadow);
}
.qris-head { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.qris-badge {
  background: linear-gradient(135deg, #1668e3, #0b4fcb);
  color: #fff;
  font-size: 11px; font-weight: 900; letter-spacing: 1.2px;
  padding: 5px 10px; border-radius: 7px;
}
html[data-theme="dark"] .qris-badge { background: linear-gradient(135deg, #7fb0ff, #a9c9ff); color: #05121f; }
.qris-headtext { display: flex; flex-direction: column; min-width: 0; }
.qris-headtext b { font-size: 13.6px; color: var(--ink); line-height: 1.2; }
.qris-headtext small { font-size: 11.3px; color: var(--muted); font-weight: 700; letter-spacing: .2px; }

.qris-frame {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--line);
  padding: 6px;
  cursor: zoom-in;
}
.qris-frame img {
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  display: block;
  border-radius: 9px;
}
.qris-compact .qris-frame img { max-height: 300px; }

.qris-amount {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--blue-soft-2); border: 1px solid var(--blue-soft);
  border-radius: 11px; padding: 9px 12px; margin-top: 10px;
}
.qris-amount span { font-size: 12px; font-weight: 700; color: var(--muted); }
.qris-amount b { font-size: 17px; font-weight: 900; color: var(--blue-2); }

.qris-meta {
  display: flex; align-items: center; gap: 7px;
  margin-top: 9px; font-size: 11.6px; color: var(--muted);
}
.qris-meta code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11.8px; font-weight: 700; color: var(--ink-2);
  background: var(--bg-soft); padding: 2px 7px; border-radius: 5px;
}
.qris-note {
  display: flex; align-items: flex-start; gap: 5px;
  font-size: 11.8px; color: var(--ink-2); margin: 9px 0 0; line-height: 1.5;
}
.qris-note .ic { color: var(--muted); margin-top: 2px; flex: 0 0 auto; }
.qris-warn {
  display: flex; align-items: flex-start; gap: 5px;
  margin-top: 9px; padding: 8px 10px; border-radius: 9px;
  background: var(--amber-soft); color: var(--amber);
  font-size: 11.5px; font-weight: 700; line-height: 1.45;
}
.qris-warn .ic { flex: 0 0 auto; margin-top: 1px; }

.pay-steps {
  margin-top: 12px; background: var(--bg-soft);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 13px;
}
.pay-steps b { font-size: 12.5px; color: var(--ink); display: block; margin-bottom: 5px; }
.pay-steps ol { margin: 0; padding-left: 18px; }
.pay-steps li { font-size: 12.4px; color: var(--ink-2); margin-bottom: 4px; line-height: 1.5; }

.qris-admin-preview {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid var(--line-2);
  border-radius: 13px; padding: 11px;
}
.qris-admin-preview > img {
  width: 104px; height: 138px; object-fit: cover;
  border-radius: 9px; border: 1px solid var(--line); background: #fff; flex: 0 0 auto;
}
.qris-admin-preview .grow { min-width: 0; }
@media (max-width: 380px) {
  .qris-admin-preview { flex-direction: column; }
  .qris-admin-preview > img { width: 100%; height: 160px; }
}

/* ============================================================
   MARQUEE PENGUMUMAN (di atas navigasi)
   ============================================================ */
.marquee-bar {
  flex: 0 0 auto;
  overflow: hidden;
  position: relative;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  z-index: 25;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation-name: marqueeScroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}
.marquee-text {
  display: inline-block;
  padding-right: 64px;
  font-size: 12.4px;
  font-weight: 800;
  letter-spacing: .1px;
  white-space: nowrap;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 40s !important; }
}

/* ============================================================
   CHAT INTERNAL — FLOATING WIDGET
   ============================================================ */
.chat-fab {
  position: fixed;
  left: 14px;
  bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #1668e3, #0b4fcb);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(11, 63, 168, .38);
  z-index: 46;
  cursor: pointer;
}
.chat-fab:active { transform: scale(.95); }
html[data-theme="dark"] .chat-fab { background: linear-gradient(135deg, #4d8dff, #7aa9ff); color: #05101f; }
.chat-fab-badge {
  position: absolute; top: -3px; right: -3px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: #e11d48; color: #fff;
  font-size: 11px; font-weight: 900; line-height: 20px; text-align: center;
  border: 2px solid var(--card);
}
.chat-fab-label {
  position: fixed;
  left: 14px;
  bottom: calc(126px + env(safe-area-inset-bottom, 0px));
  z-index: 46;
  background: var(--ink);
  color: var(--bg);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  pointer-events: none;
  white-space: nowrap;
}

.chat-panel {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  max-width: 620px;
  margin: 0 auto;
  animation: chatIn .18s ease;
}
@keyframes chatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.chat-panel-head {
  display: flex; align-items: center; gap: 9px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px;
  background: linear-gradient(135deg, #1668e3, #0b4fcb);
  color: #fff;
}
.chat-panel-head b { font-size: 14.5px; color: #fff; display: block; line-height: 1.2; }
.chat-panel-head small { font-size: 11.3px; color: rgba(255, 255, 255, .88); }
.chat-panel-head .iconbtn { color: #fff; }
.chat-av {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(255, 255, 255, .22);
  display: flex; align-items: center; justify-content: center;
}
.chat-msgs {
  flex: 1; overflow-y: auto;
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-soft);
  -webkit-overflow-scrolling: touch;
}
.chat-empty { text-align: center; font-size: 12.5px; color: var(--muted); margin: auto; }
.chat-day { align-self: center; font-size: 10.8px; font-weight: 800; color: var(--muted);
  background: var(--card); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.chat-bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13.6px;
  line-height: 1.45;
  word-break: break-word;
  white-space: pre-wrap;
  position: relative;
}
.chat-bubble.them {
  align-self: flex-start;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}
.chat-bubble.me {
  align-self: flex-end;
  background: linear-gradient(135deg, #1668e3, #0b4fcb);
  color: #fff;
  border-bottom-right-radius: 5px;
}
html[data-theme="dark"] .chat-bubble.me { color: #05101f; }
.chat-bubble .chat-time { display: block; font-size: 9.8px; opacity: .72; margin-top: 3px; text-align: right; }
.chat-bubble img, .chat-bubble video { max-width: 100%; border-radius: 9px; display: block; margin-bottom: 4px; }
.chat-bubble .chat-file {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; font-size: 12.5px; text-decoration: underline;
}
.chat-form {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom, 0px));
  background: var(--card);
  border-top: 1px solid var(--line-2);
}
.chat-input {
  flex: 1; min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-family: var(--ff); font-size: 16px; color: var(--ink);
  background: var(--bg-soft);
  outline: none;
}
.chat-input:focus { border-color: var(--blue); background: var(--card); }
.chat-tool, .chat-send {
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--ink-2);
  font-size: 18px; cursor: pointer; flex: 0 0 auto;
}
.chat-send { background: linear-gradient(135deg, #1668e3, #0b4fcb); color: #fff; }
html[data-theme="dark"] .chat-send { color: #05101f; }
.chat-emoji {
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 2px; padding: 8px 10px;
  background: var(--card); border-top: 1px solid var(--line-2);
  max-height: 150px; overflow-y: auto;
}
.chat-emoji button {
  border: 0; background: transparent; font-size: 22px; line-height: 1;
  padding: 4px 0; cursor: pointer; border-radius: 8px;
}
.chat-emoji button:active { background: var(--blue-soft); }
.chat-attach {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 11px; background: var(--blue-soft-2);
  border-top: 1px solid var(--line-2);
  font-size: 12px; color: var(--blue-2); font-weight: 700;
}
.chat-attach button { margin-left: auto; border: 0; background: transparent; color: var(--red); font-weight: 900; cursor: pointer; }

/* ============================================================
   ADMIN CHATS (2 kolom)
   ============================================================ */
.chats-wrap {
  display: flex;
  height: calc(100dvh - 96px);
  overflow: hidden;
}
.chats-list {
  width: 40%; max-width: 300px;
  border-right: 1px solid var(--line-2);
  overflow-y: auto;
  background: var(--card);
  flex: 0 0 auto;
}
.chats-list-head {
  padding: 10px 12px; border-bottom: 1px solid var(--line-2);
  font-size: 12.5px; font-weight: 900; color: var(--ink);
  position: sticky; top: 0; background: var(--card); z-index: 2;
}
.chat-row {
  display: flex; gap: 9px; align-items: center;
  padding: 10px 11px;
  border-bottom: 1px solid var(--line-2);
  cursor: pointer; background: transparent; border-left: 0; border-right: 0; border-top: 0;
  width: 100%; text-align: left; font-family: var(--ff);
}
.chat-row.active { background: var(--blue-soft-2); }
.chat-row-main { flex: 1; min-width: 0; }
.chat-row-name { font-size: 13px; font-weight: 800; color: var(--ink); }
.chat-row-prev { font-size: 11.3px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-row-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.chat-row-time { font-size: 10px; color: var(--muted); }
.chat-row-unread {
  min-width: 18px; height: 18px; border-radius: 9px;
  background: #e11d48; color: #fff; font-size: 10.5px; font-weight: 900;
  line-height: 18px; text-align: center; padding: 0 4px;
}
.chats-room { flex: 1; display: flex; flex-direction: column; min-width: 0; background: var(--bg-soft); }
.chats-room-head {
  padding: 10px 12px; background: var(--card);
  border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 8px;
}
.chats-room-empty {
  margin: auto; text-align: center; padding: 20px; color: var(--muted); font-size: 13px;
}
.chats-room .chat-msgs { flex: 1; }
.chats-mobile-back { display: none; }
@media (max-width: 640px) {
  .chats-list { width: 100%; max-width: none; }
  .chats-wrap.room-open .chats-list { display: none; }
  .chats-wrap:not(.room-open) .chats-room { display: none; }
  .chats-mobile-back { display: inline-flex; }
}

.plainmain {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* info fee / net pada kartu orderan */
.netinfo {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  padding: 9px 11px;
  font-size: 12.3px;
  color: var(--ink-2);
  display: flex; flex-direction: column; gap: 4px;
}
.netinfo .row-between { font-size: 12.3px; }
.netinfo b { font-weight: 900; }

/* mutasi saldo */
.mut-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 0; border-bottom: 1px solid var(--line-2);
}
.mut-row:last-child { border-bottom: 0; }
.mut-main { flex: 1; min-width: 0; }
.mut-nom { font-weight: 900; font-size: 13px; white-space: nowrap; }
.mut-nom.in { color: var(--green); }
.mut-nom.out { color: var(--red); }

/* marquee preview di admin */
.marquee-preview {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 12px 0;
  border: 1px solid var(--line);
}
.marquee-preview-track {
  display: flex; width: max-content;
  animation-name: marqueeScroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.marquee-preview-track span {
  white-space: nowrap; padding-right: 60px;
  font-size: 13px; font-weight: 800;
}

/* color picker */
.color-row { display: flex; align-items: center; gap: 8px; }
.color-input { width: 56px; min-height: 44px; padding: 4px; height: 44px; cursor: pointer; }
.color-val {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11.5px; color: var(--muted);
  background: var(--bg-soft); padding: 3px 7px; border-radius: 6px;
}
.pay-opt { align-items: flex-start; cursor: pointer; }
.pay-opt b { font-size: 13.6px; }
.pay-opt input[type=radio] { margin-top: 2px; }

/* kartu rating & ulasan pada orderan mitra */
.rate-card {
  background: linear-gradient(180deg, var(--amber-soft), var(--card) 85%);
  border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent);
  border-radius: 13px;
  padding: 11px 12px;
  display: flex; flex-direction: column; gap: 5px;
}
.rate-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rate-head .rowitem-title { display: inline-flex; align-items: center; gap: 5px; font-size: 12.8px; }
.rate-head .ic { color: var(--amber); }
.rate-text {
  font-size: 12.4px; color: var(--ink-2); margin: 2px 0 0;
  font-style: italic; line-height: 1.45;
}

/* ============================================================
   LANDING KATALOG PUBLIK (header + menu kanan)
   ============================================================ */
.landbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px;
  background: var(--card);
  border-bottom: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(16, 42, 90, .03);
}
.landbrand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 1; min-width: 0; }
.landbrand .brand-text { line-height: 1.06; }
.landbrand .bt-top { font-size: 16.5px; }
.landbrand .bt-sub { font-size: 8.8px; letter-spacing: 2.6px; }
.landbar-actions { display: flex; align-items: center; gap: 4px; }
.landbtn {
  width: 42px; height: 42px; border-radius: 12px;
  border: 0; background: transparent; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.landbtn:active { background: var(--blue-soft); }
html[data-theme="dark"] .landbtn { color: var(--ink); }

.landmain {
  flex: 1; width: 100%; max-width: 620px; margin: 0 auto;
  padding: 16px 14px 20px;
}
.landmain .cust-title { font-size: 26px; margin-bottom: 8px; }
.landmain .cust-sub { margin-bottom: 14px; }
.landmain .spec-grid { margin-bottom: 4px; }

.land-note {
  display: flex; align-items: flex-start; gap: 7px;
  margin-top: 16px; padding: 11px 13px;
  background: var(--blue-soft-2);
  border: 1px solid var(--blue-soft);
  border-radius: 12px;
  font-size: 12.4px; color: var(--ink-2); font-weight: 600; line-height: 1.5;
}
.land-note .ic { color: var(--green); flex: 0 0 auto; margin-top: 1px; }

/* drawer kanan */
.drawer.drawer-right {
  left: auto; right: 0;
  transform: translateX(102%);
  box-shadow: -8px 0 30px rgba(8, 18, 36, .18);
}
.drawer.drawer-right.open { transform: translateX(0); }
.drawer-item { text-decoration: none; }
.drawer-item-muted { color: var(--muted); font-weight: 700; font-size: 13px; }
.drawer-sep { height: 1px; background: var(--line-2); margin: 6px 4px; }
