/* =============================================================
   TEMUIN — tampilan
   Warna utama diatur di :root, ubah di sini untuk ganti tema.
   ============================================================= */
:root {
  --bg: #f7f8fc; --ink: #18223a; --muted: #6b7690; --line: #e7eaf2; --card: #fff;
  --orange: #ff6638; --orange-soft: #fff0eb; --orange-line: #ffd0c2;
  --blue: #5966f2; --green: #1f9d67; --green-soft: #e8f7f0; --red: #d64545;
  --radius: 20px; --shadow: 0 8px 28px rgba(24, 34, 58, .06);
  --nav-h: 68px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.45; }
button, input, textarea, select { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; background: none; }
a { color: inherit; text-decoration: none; }
h1 { font-size: 26px; line-height: 1.1; letter-spacing: -.6px; margin: 6px 0 12px; }
h2 { font-size: 19px; margin: 8px 0; }
h3 { margin: 0; }
p { margin: 8px 0; }
:focus-visible { outline: 3px solid #ffb59c; outline-offset: 2px; border-radius: 10px; }

.shell { width: min(100%, 1100px); margin: auto; padding-bottom: calc(var(--nav-h) + 40px + env(safe-area-inset-bottom)); }
.top { position: sticky; top: 0; z-index: 10; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(247, 248, 252, .92); backdrop-filter: blur(12px); }
.brand { font-weight: 900; font-size: 26px; letter-spacing: -1.2px; }
.brand b { color: var(--orange); }
.lang { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; font-weight: 800; font-size: 14px; }
.back { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 850; font-size: 15px; }
.screen { padding: 4px 18px; }
.greet { font-weight: 800; color: var(--muted); margin: 0 0 4px; }

/* Hero & search */
.hero { background: linear-gradient(135deg, #222d4c, #344169); color: #fff; border-radius: 28px; padding: 24px; margin: 6px 0 18px; }
.hero h1 { font-size: 28px; margin: 8px 0 10px; color: #fff; }
.hero p { margin: 0 0 16px; color: #dce2f2; }
.hero .hint { font-size: 12px; color: #b9c2dc; margin-top: 10px; }
.search { background: #fff; border-radius: 18px; padding: 6px; display: flex; gap: 6px; align-items: center; }
.search.boxed { border: 1px solid var(--line); margin: 4px 0 14px; box-shadow: var(--shadow); }
.search-icon { padding: 0 4px 0 8px; }
.search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 11px 4px; color: var(--ink); background: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 14px; padding: 12px 16px; font-weight: 850; text-align: center; min-height: 46px; transition: transform .08s, filter .15s; }
.btn:active { transform: scale(.97); }
.primary { background: var(--orange); color: #fff; }
.primary:hover { filter: brightness(1.05); }
.secondary { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.ghost { background: #eef1f6; color: var(--ink); }
.danger { color: var(--red); }
.icon-btn { flex: 0 0 auto !important; width: 46px; padding: 0; }
.link-btn { color: #dfe3ff; font-weight: 800; margin-top: 6px; }
.wide { width: 100%; }
.mt { margin-top: 16px; } .mt-s { margin-top: 10px; }
.center { text-align: center; justify-content: center; }
.no-margin { margin: 0; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Sections */
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 24px 0 10px; }
.section-head.tight { margin-top: 6px; }
.section-head h2 { margin: 0; }
.h-title { margin: 2px 0 6px; font-size: 24px; }
.link { color: var(--orange); font-weight: 850; font-size: 14px; }
.tag { font-size: 12px; font-weight: 900; color: var(--orange); text-transform: uppercase; letter-spacing: .5px; }
.tag.light { color: #ffd7ca; }
.notice { background: #eef0ff; color: #3b44a8; border-radius: 14px; padding: 10px 12px; margin: 0 0 12px; font-size: 14px; }
.notice a { font-weight: 850; text-decoration: underline; }
.result-count { margin: 10px 0; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 6px; text-align: center; font-size: 13px; font-weight: 800; display: grid; gap: 4px; }
.cat span { font-size: 24px; }
.cat:hover { border-color: var(--orange-line); }
.cat-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.cta-card { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 18px; border-radius: 22px; background: linear-gradient(135deg, var(--orange), #ff9a6a); color: #fff; box-shadow: 0 14px 30px #ff66383a; }
.cta-card .tag { color: #fff3ee; }
.cta-card b { font-size: 19px; display: block; margin-top: 4px; }
.cta-card p { margin: 4px 0 0; font-size: 14px; opacity: .92; }
.cta-arrow { font-size: 26px; font-weight: 900; margin-left: auto; }

/* Chips & tabs */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.cats-chips { margin-top: 2px; }
.chip { white-space: nowrap; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 800; font-size: 14px; }
.chip.active { background: var(--orange-soft); color: var(--orange); border-color: var(--orange-line); }
.small-chip { font-size: 12px; padding: 6px 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs { display: flex; gap: 6px; background: #eceff5; padding: 4px; border-radius: 16px; margin-bottom: 14px; overflow-x: auto; }
.tab { flex: 1 0 auto; text-align: center; padding: 10px 8px; border-radius: 12px; font-weight: 850; font-size: 14px; white-space: nowrap; color: var(--muted); }
.tab.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.tab small { background: #dfe3ec; border-radius: 999px; padding: 1px 7px; margin-left: 2px; }
.seg { display: flex; background: #eef1f6; border-radius: 12px; padding: 3px; }
.seg button { padding: 6px 14px; border-radius: 9px; font-weight: 850; }
.seg button.on { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.card-title { font-size: 18px; }
.card-title a:hover { text-decoration: underline; }
.provider-img { position: relative; height: 150px; border-radius: 16px; background: linear-gradient(145deg, #eef0ff, #d8ddfb); display: grid; place-items: center; font-size: 64px; margin-bottom: 12px; }
.provider-img .pill { position: absolute; left: 10px; top: 10px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between, .between { justify-content: space-between; }
.top-align { align-items: flex-start; }
.grow { flex: 1; min-width: 0; }
.verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 11px; vertical-align: 2px; }
.stars { color: #e68a00; font-weight: 850; }
.price-from { text-align: right; flex: none; }
.price-from small { display: block; color: var(--muted); font-size: 11px; }
.price-from b { font-size: 16px; }
.big-price { font-size: 20px; }
.statgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.statgrid.two-col { grid-template-columns: 1fr 1fr; }
.stat { background: #f3f5fa; border-radius: 14px; padding: 10px 6px; text-align: center; }
.stat strong { display: block; font-size: 17px; }
.stat small { color: var(--muted); font-size: 12px; }
.actions { display: flex; gap: 8px; }
.actions > * { flex: 1; }
.actions.center { justify-content: center; flex-wrap: wrap; }
.actions.center > * { flex: 0 1 auto; }
.pill { display: inline-block; font-size: 11px; font-weight: 900; padding: 4px 8px; border-radius: 8px; white-space: nowrap; }
.pill.green { background: var(--green-soft); color: #16865a; }
.pill.orange { background: var(--orange-soft); color: #d84f24; }
.pill.blue { background: #eef0ff; color: #3b44a8; }
.pill.gray { background: #eef1f6; color: var(--muted); }
.ok { color: var(--green); font-weight: 800; font-size: 14px; }

/* Lists */
.list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 17px; width: 100%; text-align: left; }
.link-row:hover { border-color: #d5dae6; }
.mini { width: 46px; height: 46px; border-radius: 14px; background: #eef0ff; display: grid; place-items: center; font-size: 24px; flex: none; }
.arrow { color: #a2aaba; font-size: 22px; }
.badge { min-width: 22px; height: 22px; border-radius: 11px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; padding: 0 6px; }
.danger-row { color: var(--red); font-weight: 800; justify-content: flex-start; }

/* Profile */
.profile-head { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.bigavatar { width: 76px; height: 76px; border-radius: 22px; background: #dce1fa; display: grid; place-items: center; font-size: 40px; flex: none; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #e8ebff; font-size: 24px; flex: none; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.social { background: #f3f5f9; border-radius: 999px; padding: 8px 12px; font-weight: 800; font-size: 14px; }
.social:hover { background: var(--orange-soft); color: var(--orange); }
.review p { margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.facts > div { background: #f5f6fa; border-radius: 14px; padding: 10px; font-size: 13px; display: grid; gap: 2px; }
.facts b { font-size: 14px; }
.facts.compact { grid-template-columns: 1fr 1fr; }
.need { margin: 12px 0 0; }
.relevance { text-align: center; color: var(--green); font-weight: 900; font-size: 18px; line-height: 1; }
.relevance small { display: block; font-size: 10px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.sticky-actions { position: sticky; bottom: calc(var(--nav-h) + 10px + env(safe-area-inset-bottom)); margin-top: 18px; padding: 10px; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(10px); box-shadow: var(--shadow); }

/* Forms */
.form { display: grid; gap: 14px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 850; font-size: 14px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 13px; outline: 0; min-height: 46px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #ffb59c; box-shadow: 0 0 0 3px #ffe6dc; }
.field textarea { min-height: 110px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-error { background: #fdecec; color: var(--red); border-radius: 12px; padding: 10px 12px; font-weight: 700; margin: 0; }

/* Match */
.match-box { background: linear-gradient(150deg, #1b2235, #343d59); color: #fff; border-radius: 26px; padding: 30px 22px; text-align: center; display: grid; gap: 10px; justify-items: center; max-width: 520px; margin: 10px auto; }
.match-box.matched { background: linear-gradient(135deg, #5d68f2, #7a84fa); }
.match-box h2 { font-size: 26px; margin: 4px 0 0; }
.match-box p { color: #e3e6ff; margin: 0 0 8px; }
.match-box .btn.secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.pair { display: flex; align-items: center; gap: 12px; font-size: 44px; margin: 6px 0; }
.pair > span:first-child, .pair > span:last-child { width: 78px; height: 78px; border-radius: 24px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.heart, .pulse { color: #ff8f6b; font-size: 34px; }
.pulse { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.25); } }
.loader { width: 36px; height: 36px; border: 4px solid rgba(255,255,255,.2); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; margin: 4px 0 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Chat */
.chat-head { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; }
.online { color: var(--green); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-log { display: flex; flex-direction: column; gap: 8px; padding: 16px 2px; min-height: 45vh; max-height: calc(100vh - 330px); overflow-y: auto; }
.sys { align-self: center; font-size: 12px; color: var(--muted); background: #eceff5; border-radius: 999px; padding: 4px 12px; margin-bottom: 6px; }
.bubble { max-width: 78%; padding: 10px 13px 18px; border-radius: 16px; font-size: 15px; line-height: 1.4; position: relative; white-space: pre-wrap; overflow-wrap: anywhere; min-width: 70px; }
.bubble time { position: absolute; right: 10px; bottom: 3px; font-size: 10px; opacity: .7; }
.bubble.in { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble.out { background: var(--orange); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.typing { display: flex; gap: 4px; padding: 14px; min-width: 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b3bacb; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .3; } }
.chat-input { display: flex; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 6px; }
.chat-input input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px; background: transparent; }

/* Empty & misc */
.empty { padding: 30px 16px; text-align: center; color: var(--muted); }
.empty h3 { color: var(--ink); margin: 6px 0; }
.empty-icon { font-size: 40px; }
.intro h2 { margin-top: 8px; }

/* Bottom nav */
.bottom { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(15px); border-top: 1px solid var(--line); padding: 8px max(12px, calc((100vw - 1100px) / 2)) calc(8px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.nav { position: relative; display: grid; justify-items: center; gap: 1px; color: #7a8499; padding: 6px 2px; border-radius: 14px; font-size: 12px; font-weight: 800; }
.nav span { font-size: 19px; line-height: 1.1; }
.nav.active { color: var(--orange); background: #fff2ed; }
.plus { background: var(--orange); color: #fff; border-radius: 16px; font-size: 24px; align-content: center; }
.nav-badge { position: absolute; top: 2px; right: calc(50% - 22px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10px; font-style: normal; display: grid; place-items: center; }
.nav-badge[hidden] { display: none; }

/* Overlay sheet & toast */
.overlay { position: fixed; inset: 0; background: rgba(15, 22, 42, .5); z-index: 30; display: none; align-items: flex-end; justify-content: center; }
.overlay.show { display: flex; }
.sheet { width: min(100%, 560px); background: #fff; border-radius: 28px 28px 0 0; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); animation: up .2s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.choice { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; margin: 10px 0; background: #fff; width: 100%; font-size: 22px; }
.choice:hover { border-color: var(--orange-line); background: #fffaf8; }
.choice b { display: block; font-size: 16px; }
.choice span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.choice b { line-height: 1.3; }
.toast { position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top)); transform: translateX(-50%) translateY(-20px); opacity: 0; pointer-events: none; background: #18223a; color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 800; z-index: 50; transition: .2s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cat { font-size: 12px; padding: 10px 2px; }
  .hero { padding: 20px; }
  .hero h1 { font-size: 25px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* =============================================================
   V3 — komponen tambahan (desain dasar V2 tetap dipertahankan)
   ============================================================= */
.demo-banner { background: #fff7d6; color: #6b5200; font-size: 13px; font-weight: 700; text-align: center; padding: 7px 12px; }
.demo-banner a { text-decoration: underline; margin-left: 6px; }
.top-title { font-weight: 850; flex: 1; text-align: center; }
.link { background: none; cursor: pointer; }
.small-btn { min-height: 36px; padding: 7px 12px; font-size: 13px; border-radius: 12px; }
.hint-text { color: var(--muted); font-size: 12px; }
.label { font-weight: 850; font-size: 14px; }
.wrap { flex-wrap: wrap; }
.notice.warn { background: #fff4e5; color: #8a4b00; }
.avatar img, .bigavatar img, .mini img, .pair-av img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.avatar, .bigavatar, .mini { overflow: hidden; }

/* Hero examples */
.examples { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.ex { background: rgba(255,255,255,.12); color: #e7ebf7; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 11px; font-size: 13px; font-weight: 700; }
.ex:hover { background: rgba(255,255,255,.2); }
.todo-banner { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--orange-line); border-radius: 18px; padding: 12px 14px; margin-top: 4px; box-shadow: var(--shadow); }
.todo-banner > span:first-child { font-size: 24px; }

/* Discover */
.query-box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); margin-bottom: 8px; }
.understood { margin-top: 4px; color: #3b44a8; }
.filter-label { font-size: 12px; font-weight: 850; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin: 12px 0 4px; }

/* Kartu jasa */
.service-card { display: flex; flex-direction: column; }
.service-card .actions { margin-top: auto; }
.cover { position: relative; height: 140px; border-radius: 16px; background: linear-gradient(145deg, #eef0ff, #d8ddfb); display: grid; place-items: center; font-size: 58px; margin-bottom: 12px; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-pills { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; right: 70px; }
.pill.white { background: rgba(255,255,255,.92); color: var(--ink); }
.cover .match { position: absolute; right: 10px; top: 10px; background: #fff; border-radius: 12px; padding: 5px 8px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.match { display: inline-grid; justify-items: center; line-height: 1.05; color: var(--green); flex: none; }
.match b { font-size: 17px; }
.match small { font-size: 10px; color: var(--muted); font-weight: 700; }
.svc-title { font-weight: 800; margin: 6px 0 4px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); margin: 4px 0; }
.price-line { margin: 6px 0 8px; font-size: 15px; }
.why { color: var(--green); margin: 0 0 10px; }
.incoming-note { background: #fff0f3; color: #b0264d; border-radius: 12px; padding: 8px 10px; margin: 0 0 8px; font-weight: 700; }

/* Profil penyedia */
.statgrid.four { grid-template-columns: repeat(4, 1fr); }
.svc-block.highlight, .req-mini.highlight { border-color: var(--orange-line); box-shadow: 0 0 0 3px #fff0eb; }
.svc-name { margin: 8px 0 6px; font-size: 18px; display: block; }
.photo-row { display: flex; gap: 8px; overflow-x: auto; margin: 10px 0; }
.photo-row img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; flex: none; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; margin: 12px 0; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.req-mini { display: block; }
.req-mini b { display: block; margin: 6px 0; }

/* Posting */
.success-banner { background: var(--green-soft); color: #11603f; border-radius: 18px; padding: 14px 16px; margin-bottom: 12px; }
fieldset { border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px 14px; margin: 0; display: grid; gap: 12px; background: #fff; }
legend { font-weight: 900; padding: 0 6px; }
.three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.photo-edit { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb { position: relative; width: 88px; height: 88px; border-radius: 14px; overflow: hidden; background: #f3f5fa; border: 1px dashed #cdd3e0; display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; }
.thumb.add { cursor: pointer; font-size: 26px; color: var(--muted); }
.avatar-edit { display: flex; align-items: center; gap: 14px; }
.avatar-edit label.btn { cursor: pointer; }

/* Aktivitas */
.card.incoming .row { color: inherit; }
.notif { align-items: flex-start; }
.notif.unread { background: #fffaf7; border-color: var(--orange-line); }
.notif-icon { font-size: 20px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex: none; margin-top: 6px; }
.list-item.current { border-color: #bfe6d3; background: #f6fcf9; }
.list-item .row.grow { color: inherit; }

/* Terhubung & chat */
.pair-av { width: 78px; height: 78px; border-radius: 24px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 40px; overflow: hidden; }
.ctx { background: rgba(255,255,255,.12); border-radius: 12px; padding: 8px 12px; color: #fff; }
.match-box { background: linear-gradient(135deg, #5d68f2, #7a84fa); }
.job-banner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding: 10px 12px; border-radius: 16px; background: #f3f5fa; border: 1px solid var(--line); }
.job-banner.active { background: #eef0ff; border-color: #d6dafc; }
.chat-log .empty { padding: 16px; }
.steps { display: flex; list-style: none; padding: 0; margin: 12px 0 4px; gap: 4px; counter-reset: s; }
.steps li { flex: 1; text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); padding-top: 26px; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: #e3e7ef; display: grid; place-items: center; font-size: 11px; }
.steps li.done { color: var(--green); }
.steps li.done::before { background: var(--green); color: #fff; content: '✓'; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { font-size: 36px; color: #d5dae6; cursor: pointer; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f5a623; }
.rating-input input:focus-visible + label { outline: 3px solid #ffb59c; border-radius: 8px; }

/* Pengaturan */
.switch-row { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.flow { padding-left: 20px; display: grid; gap: 6px; }

@media (max-width: 680px) {
  .statgrid.four { grid-template-columns: repeat(2, 1fr); }
  .three { grid-template-columns: 1fr 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 6px; }
  .tab { padding: 9px 10px; font-size: 13px; }
}

/* =============================================================
   V4 — login, profil pertama, layar memuat
   ============================================================= */
.bottom[hidden] { display: none; }
.splash { min-height: 80vh; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; }
.splash .brand { font-size: 34px; }
.loader.dark { border-color: #e3e7ef; border-top-color: var(--orange); }
.auth-screen { max-width: 480px; margin: 0 auto; }
.auth-card { display: grid; gap: 12px; }
.auth-card h2 { margin: 0; }
.btn.google { background: #fff; border: 1px solid #d5dae6; color: var(--ink); gap: 10px; }
.btn.google .g { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); font-size: 13px; }
.btn.google:hover { background: #f8f9fc; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.auth-links .link { padding: 4px 0; }

/* V4.2 — WhatsApp */
.btn.wa { background: #25d366; color: #fff; }
.btn.wa:hover { filter: brightness(1.05); }
.wa-bar { margin-top: 10px; }
.wa-none { margin: 10px 2px 0; }
.share-wa { min-height: 36px; padding: 7px 12px; font-size: 13px; border-radius: 12px; }
.match-box .btn.wa { margin-top: 2px; }
