:root {
  color-scheme: dark;
  --bg: #0b1020;
  --surface: #121a2d;
  --surface-2: #172238;
  --line: #27334c;
  --text: #f3f5fb;
  --muted: #9aa8c2;
  --mint: #55d6bd;
  --blue: #9385ff;
  --red: #ff8585;
  --font: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font: 15px/1.6 var(--font); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.loading { min-height: 100vh; display: grid; place-content: center; gap: 16px; justify-items: center; color: var(--muted); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #0b1020; background: linear-gradient(135deg, var(--mint), #9a92ff); font: 800 20px Manrope, sans-serif; }
.container { width: min(1120px, calc(100% - 48px)); margin: auto; }
.topbar { height: 78px; display: flex; align-items: center; border-bottom: 1px solid rgba(146, 161, 190, .12); }
.nav-row, .brand, .nav-links, .nav-actions, .hero-actions, .section-heading, .row, .user-chip { display: flex; align-items: center; }
.nav-row { justify-content: space-between; gap: 24px; }
.brand { gap: 11px; font: 800 15px Manrope, sans-serif; letter-spacing: .03em; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy small { color: var(--muted); font: 500 9px var(--font); letter-spacing: .13em; margin-top: 5px; }
.nav-links, .nav-actions { gap: 28px; color: #b6c0d2; font-size: 13px; font-weight: 600; }
.nav-links a:hover, .footer a:hover { color: var(--mint); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; color: #101629; background: linear-gradient(110deg, #9b84ff, #55d6bd); font-weight: 700; font-size: 13px; transition: transform .18s, filter .18s; }
.button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.button.ghost { border-color: var(--line); background: transparent; color: var(--text); }
.button.small { min-height: 37px; padding: 0 14px; }
.hero { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; gap: 70px; align-items: center; min-height: 620px; padding: 70px 0 86px; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 540px; height: 540px; right: 2%; top: -12px; background: radial-gradient(circle, rgba(96, 93, 204, .20), transparent 68%); }
.eyebrow { color: var(--mint); font-weight: 700; font-size: 11px; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, var(--font); }
h1 { max-width: 590px; margin: 20px 0; font-size: clamp(42px, 5vw, 65px); line-height: 1.08; letter-spacing: -.055em; }
.gradient-text { background: linear-gradient(100deg, #aa91ff, #60d9c4); background-clip: text; color: transparent; }
.hero-copy { max-width: 490px; color: var(--muted); font-size: 16px; }
.hero-actions { gap: 18px; margin-top: 29px; }
.hero-note { display: flex; align-items: center; gap: 12px; color: #a7b3c9; font-size: 12px; margin-top: 48px; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 28px; height: 28px; display: grid; place-items: center; margin-left: -5px; border: 2px solid var(--bg); border-radius: 50%; color: #11182a; background: var(--mint); font-size: 10px; font-weight: 800; }
.avatar-stack span:first-child { margin-left: 0; background: #9c8bff; }
.avatar-stack span:last-child { background: #f2bf75; }
.preview-card { position: relative; padding: 22px; border: 1px solid #354263; border-radius: 24px; background: linear-gradient(145deg, rgba(26, 38, 63, .96), rgba(15, 23, 41, .96)); box-shadow: 0 30px 90px rgba(0,0,0,.32); transform: rotate(1deg); }
.preview-top, .preview-stat, .preview-contact, .preview-total { display: flex; align-items: center; justify-content: space-between; }
.preview-top { padding-bottom: 18px; border-bottom: 1px solid var(--line); font-weight: 700; }
.live { color: var(--mint); font-size: 10px; letter-spacing: .12em; }
.preview-stat { padding: 19px 0; color: var(--muted); font-size: 12px; }
.preview-stat strong { color: var(--text); font-size: 16px; }
.preview-message { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(8, 14, 28, .5); }
.message-label { color: var(--mint); font-size: 11px; }
.preview-message p { margin: 8px 0 0; font-size: 13px; }
.preview-contact { margin-top: 10px; padding: 12px; border: 1px solid rgba(67, 87, 118, .55); border-radius: 12px; color: var(--muted); font-size: 12px; }
.preview-contact strong { color: var(--mint); font-size: 11px; }
.preview-total { color: var(--muted); padding: 19px 1px 2px; font-size: 12px; }
.preview-total strong { color: var(--text); }
.floating-chip { position: absolute; right: -24px; bottom: 60px; padding: 12px 16px; border: 1px solid #445371; border-radius: 12px; background: #1b2942; box-shadow: 0 16px 35px rgba(0,0,0,.24); font-size: 11px; }
.floating-chip strong { display: block; color: var(--mint); margin-top: 3px; }
.section { padding: 92px 0; }
.section.alt { background: #0e1526; }
.section-heading { max-width: 670px; flex-direction: column; align-items: flex-start; margin-bottom: 35px; }
.section-heading h2 { margin: 11px 0; font-size: clamp(30px, 3.7vw, 42px); line-height: 1.2; letter-spacing: -.04em; }
.section-heading p { color: var(--muted); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature, .step, .reason { border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, #141e32, #10182a); }
.feature { min-height: 190px; padding: 23px; }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--mint); background: rgba(85, 214, 189, .1); font-size: 18px; }
.feature h3, .step h3, .reason h3 { margin: 17px 0 7px; font-size: 16px; }
.feature p, .step p, .reason p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { padding: 21px; }
.step-number { color: var(--mint); font-weight: 700; letter-spacing: .12em; font-size: 11px; }
.step h3 { margin-top: 25px; }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.reason { padding: 22px; }
.reason h3 { margin-top: 0; }
.callout { padding: 54px 25px; border: 1px solid #344260; border-radius: 22px; text-align: center; background: radial-gradient(ellipse at 50% 120%, rgba(80, 196, 180, .14), transparent 60%), #131c30; }
.callout h2 { font-size: clamp(28px, 4vw, 38px); margin: 10px auto 23px; }
.footer { padding: 35px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-links { display: flex; gap: 22px; }
.auth-wrap { min-height: calc(100vh - 78px); display: grid; place-items: center; padding: 50px 20px; }
.auth-card { width: min(440px, 100%); padding: 33px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 25px 70px rgba(0,0,0,.22); }
.auth-card h1 { font-size: 30px; margin: 0 0 7px; }
.auth-card > p { color: var(--muted); margin-bottom: 25px; font-size: 13px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { color: #c4cde0; font-size: 12px; font-weight: 600; }
.field input, .field select, .field textarea, .inline-input { width: 100%; min-height: 43px; border: 1px solid #35415a; border-radius: 10px; outline: 0; padding: 10px 12px; color: var(--text); background: #0d1424; }
.field input:focus, .field select:focus, .field textarea:focus, .inline-input:focus { border-color: var(--mint); }
.field input[type="checkbox"] { width: 17px; min-height: 17px; accent-color: var(--mint); }
.check-row { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 12px; }
.auth-card .button { width: 100%; margin-top: 4px; }
.auth-switch { color: var(--muted); text-align: center; font-size: 12px; margin: 18px 0 0; }
.text-button { color: var(--mint); cursor: pointer; background: none; border: 0; padding: 0; font-weight: 700; }
.notice { margin: 14px 0; padding: 11px 13px; border: 1px solid rgba(255, 190, 100, .25); border-radius: 10px; color: #f2ce91; background: rgba(188, 130, 37, .1); font-size: 12px; }
.notice.error { border-color: rgba(255, 133, 133, .3); color: #ffaaaa; background: rgba(180, 59, 59, .1); }
.notice.success { border-color: rgba(85, 214, 189, .3); color: var(--mint); background: rgba(55, 158, 139, .1); }
.app-layout { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 23px 16px; border-right: 1px solid var(--line); background: #0e1526; }
.sidebar .brand { padding: 0 9px 28px; }
.side-label { margin: 8px 10px; color: #75839e; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.side-nav { display: grid; gap: 5px; }
.side-link { display: flex; gap: 11px; align-items: center; padding: 11px 12px; border-radius: 10px; color: #a8b4ca; font-size: 13px; font-weight: 600; }
.side-link.active, .side-link:hover { color: var(--text); background: #1a2840; }
.side-link.active::before { content: ""; position: absolute; width: 3px; height: 22px; margin-left: -12px; border-radius: 2px; background: var(--mint); }
.sidebar-bottom { margin-top: auto; padding: 13px 10px 0; border-top: 1px solid var(--line); }
.user-chip { gap: 10px; margin-bottom: 12px; }
.user-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, #8b7bff, #5ed6bd); color: #11182a; font-weight: 800; font-size: 12px; }
.user-meta { min-width: 0; display: grid; font-size: 12px; }
.user-meta strong { overflow: hidden; text-overflow: ellipsis; }
.user-meta small { color: var(--muted); font-size: 10px; }
.main-panel { min-width: 0; padding: 34px clamp(20px, 4vw, 56px) 50px; }
.main-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.main-head h1 { margin: 0 0 4px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.04em; }
.main-head p { margin: 0; color: var(--muted); font-size: 13px; }
.eyebrow.mini { font-size: 9px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid rgba(85, 214, 189, .2); border-radius: 999px; color: var(--mint); background: rgba(85, 214, 189, .07); font-size: 10px; font-weight: 700; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.warning { color: #f2c578; border-color: rgba(242, 197, 120, .25); background: rgba(242, 197, 120, .07); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 21px; }
.stat-card { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.stat-card span { color: var(--muted); font-size: 11px; }
.stat-card strong { display: block; margin-top: 6px; font: 700 25px Manrope, sans-serif; }
.panel { margin-bottom: 17px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.panel h2 { font-size: 16px; margin: 0; }
.panel-subtitle { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 10px 9px; color: #8290a9; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
td { padding: 12px 9px; border-bottom: 1px solid rgba(39, 51, 76, .7); color: #d3d9e6; font-size: 12px; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.muted { color: var(--muted); }
.empty { padding: 26px 8px; color: var(--muted); text-align: center; font-size: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.contact-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-height: 240px; overflow: auto; padding: 3px; }
.contact-choice { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; color: #d2d9e6; background: #0e1627; font-size: 12px; }
.contact-choice input { accent-color: var(--mint); }
.inline-form { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.inline-form .field { flex: 1; min-width: 150px; margin: 0; }
.inline-form .button { margin-bottom: 0; }
.danger-text { color: var(--red); }
.subtle-link { color: var(--mint); font-size: 12px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 62px; }
  .preview-card { max-width: 600px; margin: auto; width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .app-layout { grid-template-columns: 78px minmax(0, 1fr); }
  .sidebar { padding: 19px 10px; align-items: center; }
  .sidebar .brand { padding: 0 0 25px; }
  .brand-copy, .side-label, .side-link span, .user-meta, .sidebar .button { display: none; }
  .side-nav { width: 100%; }
  .side-link { justify-content: center; padding: 12px; }
  .side-link.active::before { margin-left: -42px; }
  .user-chip { justify-content: center; }
  .main-panel { padding: 26px 20px 40px; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 32px, 1120px); }
  .topbar { height: 68px; }
  .nav-links { display: none; }
  .nav-actions { gap: 10px; font-size: 12px; }
  .nav-actions .button { min-height: 37px; padding: 0 11px; }
  .hero { min-height: auto; padding: 53px 0 65px; }
  h1 { font-size: 43px; }
  .hero-copy { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-note { margin-top: 28px; }
  .preview-card { padding: 16px; }
  .floating-chip { right: -6px; bottom: 30px; }
  .section { padding: 62px 0; }
  .feature-grid, .steps, .reasons { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .auth-card { padding: 25px 20px; }
  .app-layout { display: block; }
  .sidebar { position: fixed; z-index: 4; inset: auto 0 0; width: 100%; height: auto; padding: 8px 8px max(8px, env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line); background: rgba(14, 21, 38, .97); }
  .sidebar .brand, .sidebar .side-label, .sidebar-bottom { display: none; }
  .side-nav { display: flex; justify-content: space-around; gap: 3px; }
  .side-link { flex: 1; min-height: 48px; flex-direction: column; gap: 1px; padding: 5px 2px; font-size: 9px; }
  .side-link span { display: inline; }
  .side-link.active::before { display: none; }
  .main-panel { padding: 25px 16px 95px; }
  .main-head { flex-direction: column; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 14px; }
  .stat-card strong { font-size: 22px; }
  .form-grid, .contact-checks { grid-template-columns: 1fr; }
  .panel { padding: 16px 13px; }
  .panel-head { align-items: flex-start; }
}

.admin-shell {
  --admin-bg: #f3f6fa;
  --admin-surface: #fff;
  --admin-line: #e2e8f0;
  --admin-ink: #17243b;
  --admin-muted: #718096;
  grid-template-columns: 258px minmax(0, 1fr);
  min-height: 100vh;
  color: var(--admin-ink);
  background: var(--admin-bg);
}
.admin-sidebar {
  z-index: 1;
  padding: 24px 17px;
  border-right: 1px solid #1f3150;
  background: #13213a;
  box-shadow: 8px 0 24px rgba(27, 47, 76, .05);
}
.admin-sidebar .brand-mark { color: #13213a; background: linear-gradient(135deg, #72dfc4, #83b7ff); }
.admin-sidebar .brand-copy { color: #f3f7ff; }
.admin-sidebar .brand-copy small { color: #91a2bc; }
.admin-sidebar .side-label { margin: 11px 12px; color: #7890ae; font-size: 9px; letter-spacing: .17em; }
.admin-sidebar .side-nav { gap: 7px; }
.admin-sidebar .side-link { min-height: 45px; border: 1px solid transparent; border-radius: 9px; color: #adbad0; }
.admin-sidebar .side-link b { width: 20px; color: #90a3be; font-size: 16px; text-align: center; }
.admin-sidebar .side-link.active, .admin-sidebar .side-link:hover { border-color: #30425f; color: #fff; background: #203451; }
.admin-sidebar .side-link.active b { color: #76e0c3; }
.admin-sidebar .side-link.active::before { width: 3px; height: 23px; margin-left: -13px; background: #70dcc1; }
.admin-sidebar .sidebar-bottom { border-color: #2a3b57; }
.admin-sidebar .user-avatar { color: #14213a; background: #76dfc2; }
.admin-sidebar .user-meta { color: #f3f7ff; }
.admin-sidebar .user-meta small { color: #91a2bc; }
.admin-sidebar .button.ghost { border-color: #354965; color: #e2eaf5; }
.admin-sidebar .button.ghost:hover { border-color: #6bdfc4; background: #203451; }
.admin-main { min-width: 0; padding: 0; background: var(--admin-bg); }
.admin-topbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px clamp(23px, 4vw, 52px); border-bottom: 1px solid var(--admin-line); background: #fff; }
.admin-topbar > div { display: grid; line-height: 1.4; }
.admin-topbar strong { font: 700 14px Manrope, var(--font); color: #263650; }
.admin-kicker { color: #8b97a9; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.admin-role-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #dfe8ef; border-radius: 7px; color: #52657e; background: #f8fafc; font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.admin-role-badge span { width: 7px; height: 7px; border-radius: 50%; background: #e1a94d; }
.admin-content { width: min(1420px, 100%); margin: 0 auto; padding: 32px clamp(23px, 4vw, 52px) 50px; }
.admin-content .eyebrow { color: #178a73; }
.admin-content .main-head { align-items: center; margin-bottom: 25px; }
.admin-content .main-head h1 { margin-top: 6px; color: #1b2b44; font-size: clamp(25px, 3vw, 32px); }
.admin-content .main-head p { color: var(--admin-muted); }
.admin-content .status-pill { border-color: #d3eee7; color: #147c66; background: #eaf8f3; }
.admin-content .status-pill.warning { border-color: #f1e4c9; color: #9c6a19; background: #fff7e8; }
.admin-content .stat-grid { gap: 15px; }
.admin-content .stat-card, .admin-content .panel { border-color: var(--admin-line); border-radius: 11px; background: var(--admin-surface); box-shadow: 0 3px 12px rgba(30, 48, 75, .035); }
.admin-content .stat-card { position: relative; overflow: hidden; padding: 18px 19px; }
.admin-content .stat-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: #43b99e; }
.admin-content .stat-card span { color: var(--admin-muted); font-size: 11px; }
.admin-content .stat-card strong { color: #20324e; font-size: 26px; }
.admin-content .panel { padding: 20px 21px; }
.admin-content .panel h2 { color: #263650; }
.admin-content .panel-subtitle { color: var(--admin-muted); }
.admin-content th { border-color: var(--admin-line); color: #8793a5; }
.admin-content td { border-color: #edf0f4; color: #43536b; }
.admin-content .muted { color: var(--admin-muted); }
.admin-content .empty { color: var(--admin-muted); }
.admin-content .field label { color: #526178; }
.admin-content .field input, .admin-content .field select, .admin-content .field textarea, .admin-content .inline-input { border-color: #d7dfe9; color: #293a52; background: #fbfcfe; }
.admin-content .field input:focus, .admin-content .field select:focus, .admin-content .field textarea:focus, .admin-content .inline-input:focus { border-color: #38a98e; }
.admin-content .contact-choice { border-color: var(--admin-line); color: #43536b; background: #fafbfd; }
.admin-content .notice { border-color: #f1e4c9; color: #89621e; background: #fff8eb; }
.admin-content .notice.error { border-color: #f0d7d7; color: #a53d3d; background: #fff3f3; }
.admin-content .notice.success { border-color: #cde9df; color: #14745f; background: #edf9f4; }
.admin-content .subtle-link { color: #138b72; }
.admin-content .button:not(.ghost) { color: #fff; background: #158b73; }
.admin-content .button:not(.ghost):hover { background: #10745f; }

@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 78px minmax(0, 1fr); }
  .admin-topbar { min-height: 70px; padding: 10px 20px; }
  .admin-content { padding: 25px 20px 40px; }
}
@media (max-width: 600px) {
  .admin-shell { display: block; }
  .admin-sidebar { background: #13213a; }
  .admin-main { padding: 0; }
  .admin-topbar { min-height: 62px; padding: 8px 16px; }
  .admin-topbar strong { font-size: 12px; }
  .admin-role-badge { padding: 6px 8px; font-size: 8px; }
  .admin-content { padding: 22px 16px 95px; }
  .admin-content .main-head { align-items: flex-start; }
  .admin-content .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-content .panel { padding: 16px 13px; }
}

.user-content { max-width: 1450px; margin: 0 auto; }
.user-welcome { position: relative; display: flex; min-height: 235px; align-items: center; justify-content: space-between; gap: 20px; overflow: hidden; margin: 0 0 22px; padding: 30px clamp(23px, 4vw, 42px); border: 1px solid #354766; border-radius: 20px; background: linear-gradient(112deg, #172743 0%, #1b2944 60%, #203951 100%); }
.user-welcome::after { content: ""; position: absolute; width: 420px; height: 420px; right: 3%; top: -105px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 214, 188, .18), rgba(122, 132, 235, .08) 45%, transparent 70%); }
.user-welcome-copy { position: relative; z-index: 1; max-width: 620px; }
.user-welcome-eyebrow { color: #70dfc2; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.user-welcome h1 { margin: 10px 0 8px; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.045em; }
.user-welcome p { margin: 0; color: #b7c4d7; font-size: 14px; }
.user-welcome-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.user-welcome-visual { position: relative; z-index: 1; flex: 0 0 180px; height: 170px; }
.welcome-orbit { position: absolute; display: block; border: 1px solid rgba(148, 179, 207, .25); border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { width: 168px; height: 112px; top: 28px; left: 3px; }
.orbit-two { width: 132px; height: 154px; top: 5px; left: 19px; transform: rotate(38deg); }
.welcome-chat { position: absolute; display: grid; width: 68px; height: 68px; top: 49px; left: 52px; place-items: center; border: 1px solid rgba(136, 235, 213, .5); border-radius: 22px; color: #102139; background: linear-gradient(145deg, #8ae5cf, #64cdb9); box-shadow: 0 18px 40px rgba(2, 10, 25, .3); font-size: 30px; font-weight: 800; transform: rotate(-8deg); }
.welcome-chat-small { position: absolute; top: 31px; right: 1px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #435a77; border-radius: 12px; color: #d7d0ff; background: #293857; font-size: 11px; font-weight: 800; transform: rotate(9deg); }
.user-status-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 2px 11px; }
.user-status-label, .user-limit { color: #8392ad; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.user-shell .stat-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 27px; }
.user-shell .stat-card { padding: 18px 20px; }
.user-shell .stat-card::before { content: ""; display: block; width: 27px; height: 3px; margin-bottom: 13px; border-radius: 4px; background: linear-gradient(90deg, #9989ff, #55d6bd); }
.user-next-steps { margin: 0 0 24px; }
.user-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin: 0 2px 13px; }
.user-section-heading h2 { margin: 5px 0 0; font-size: 20px; letter-spacing: -.025em; }
.user-limit { letter-spacing: 0; font-weight: 500; }
.user-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.user-step-card { position: relative; display: grid; justify-items: start; min-height: 185px; padding: 19px; border: 1px solid var(--line); border-radius: 15px; color: var(--text); background: linear-gradient(145deg, #141e32, #10182a); text-align: left; transition: transform .18s, border-color .18s, background .18s; }
.user-step-card:hover { transform: translateY(-3px); border-color: #4a637e; background: #17243a; }
.user-step-number { position: absolute; top: 16px; right: 17px; color: #7889a5; font-size: 10px; font-weight: 700; }
.user-step-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(85, 214, 189, .17); border-radius: 11px; color: var(--mint); background: rgba(85, 214, 189, .08); font-size: 17px; }
.user-step-card strong { margin-top: 13px; font-size: 13px; }
.user-step-card small { color: var(--muted); font-size: 11px; }
.user-step-card b { margin-top: 12px; color: var(--mint); font-size: 10px; }
.admin-content .admin-tools { margin: 0 0 19px; padding: 18px; border: 1px solid var(--admin-line); border-radius: 11px; background: #fff; }
.admin-section-heading { margin: 0 0 13px; }
.admin-section-heading h2 { margin: 2px 0 0; color: #263650; font: 700 16px Manrope, var(--font); }
.admin-action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.admin-action { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 12px; border: 1px solid #e6ebf1; border-radius: 9px; color: #2a3a53; background: #fbfcfe; text-align: left; transition: border-color .15s, background .15s; }
.admin-action:hover { border-color: #b7ded4; background: #f3fbf8; }
.admin-action-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 8px; color: #168a72; background: #e8f6f1; font-size: 16px; }
.admin-action > span:nth-child(2) { display: grid; min-width: 0; }
.admin-action strong { font-size: 11px; }
.admin-action small { overflow: hidden; color: #8190a3; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-action > b { margin-left: auto; color: #8090a4; font-size: 14px; }
.admin-content .admin-system-card { display: flex; align-items: center; gap: 13px; margin: 0 0 19px; padding: 15px 17px; border: 1px solid #e3e9f0; border-radius: 10px; background: #fff; }
.admin-system-icon { display: grid; flex: 0 0 35px; width: 35px; height: 35px; place-items: center; border-radius: 9px; color: #966c24; background: #fff4dc; font-size: 16px; font-weight: 800; }
.admin-system-card:has(.status-pill:not(.warning)) .admin-system-icon { color: #18775f; background: #e8f7f1; }
.admin-system-card > div:nth-child(2) { flex: 1; min-width: 0; }
.admin-system-card h2 { margin: 2px 0 1px; font: 700 12px Manrope, var(--font); }
.admin-system-card p { margin: 0; color: #748197; font-size: 10px; }

@media (max-width: 860px) {
  .user-welcome-visual { flex-basis: 145px; transform: scale(.85); transform-origin: center right; }
  .admin-action-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .user-welcome { min-height: 0; padding: 23px 20px; }
  .user-welcome-visual { position: absolute; right: 1px; bottom: -7px; opacity: .48; transform: scale(.65); transform-origin: bottom right; }
  .user-welcome-copy { max-width: 100%; }
  .user-welcome h1 { max-width: 260px; font-size: 31px; }
  .user-welcome p { max-width: 255px; font-size: 12px; }
  .user-welcome-actions { position: relative; z-index: 2; }
  .user-welcome-actions .button { min-height: 38px; padding: 0 12px; font-size: 11px; }
  .user-shell .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .user-shell .stat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .user-section-heading { align-items: flex-start; flex-direction: column; }
  .user-step-grid { grid-template-columns: 1fr; }
  .user-step-card { min-height: 150px; }
  .admin-system-card { align-items: flex-start; flex-wrap: wrap; }
  .admin-system-card > .status-pill { margin-left: 47px; }
}

.admin-login-topbar { position: relative; z-index: 1; display: flex; height: 78px; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 7vw, 110px); border-bottom: 1px solid rgba(146, 161, 190, .12); background: #0c1424; }
.admin-login-topbar .brand-mark { color: #152039; background: linear-gradient(135deg, #76dfc3, #91b6ff); }
.admin-login-topbar .brand-copy { color: #f2f5fc; }
.admin-login-topbar .brand-copy small { color: #91a1bb; }
.admin-login-secure { padding: 7px 10px; border: 1px solid #2d3e58; border-radius: 7px; color: #a4b2c7; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.admin-login-secure::first-letter { color: #e6b95d; }
.admin-login-layout { position: relative; display: grid; min-height: calc(100vh - 78px); grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); align-items: center; gap: clamp(45px, 8vw, 120px); overflow: hidden; padding: 60px clamp(22px, 10vw, 155px); background: radial-gradient(ellipse at 22% 55%, rgba(45, 93, 112, .24), transparent 49%), linear-gradient(135deg, #101a2d, #0b1020 70%); }
.admin-login-layout::before, .admin-login-layout::after { position: absolute; z-index: 0; display: block; content: ""; border: 1px solid rgba(103, 140, 171, .12); border-radius: 50%; pointer-events: none; }
.admin-login-layout::before { width: 590px; height: 590px; left: 3%; top: 10%; }
.admin-login-layout::after { width: 430px; height: 430px; left: 8%; top: 22%; }
.admin-login-intro, .admin-login-card { position: relative; z-index: 1; }
.admin-login-kicker { color: #70dcc1; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.admin-login-intro h1 { margin: 20px 0 16px; font-size: clamp(38px, 5vw, 62px); }
.admin-login-intro h1 span { color: #8ca0bd; }
.admin-login-intro > p { max-width: 440px; color: #a3b0c5; font-size: 14px; }
.admin-login-points { display: grid; gap: 12px; margin-top: 37px; color: #c3ccda; font-size: 12px; }
.admin-login-points span { display: flex; align-items: center; gap: 12px; }
.admin-login-points b { color: #67d8bc; font-size: 10px; }
.admin-login-card { padding: 31px; border: 1px solid #2e405b; border-radius: 17px; background: rgba(17, 27, 45, .92); box-shadow: 0 25px 80px rgba(0, 0, 0, .28); }
.admin-login-card-icon { display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 19px; border: 1px solid rgba(112, 220, 193, .25); border-radius: 12px; color: #72dfc4; background: rgba(92, 192, 169, .1); font: 800 17px Manrope, var(--font); }
.admin-login-card h2 { margin: 8px 0 6px; font: 700 23px Manrope, var(--font); letter-spacing: -.03em; }
.admin-login-card > p { margin-bottom: 23px; color: #95a4ba; font-size: 12px; }
.admin-login-card .field label { color: #bdc8d8; }
.admin-login-card .field input { border-color: #34425a; background: #0d1626; }
.admin-login-card .field input:focus { border-color: #62cdb1; }
.admin-login-card .button { width: 100%; margin-top: 5px; color: #102036; background: linear-gradient(100deg, #81dfc7, #78bfc8); }
.admin-login-back { display: inline-block; margin-top: 19px; color: #9cacc1; font-size: 11px; }
.admin-login-back:hover { color: #71ddc1; }

@media (max-width: 760px) {
  .admin-login-layout { min-height: calc(100vh - 70px); grid-template-columns: 1fr; gap: 30px; padding: 42px 22px; }
  .admin-login-intro h1 { margin: 13px 0 9px; font-size: 40px; }
  .admin-login-intro > p { margin-bottom: 0; }
  .admin-login-points { display: none; }
  .admin-login-card { width: min(440px, 100%); justify-self: center; }
}
@media (max-width: 480px) {
  .admin-login-topbar { height: 68px; padding: 0 16px; }
  .admin-login-secure { font-size: 8px; }
  .admin-login-layout { padding: 34px 16px; }
  .admin-login-intro h1 { font-size: 34px; }
  .admin-login-card { padding: 23px 20px; }
}

.public-home {
  --public-ink: #143b33;
  --public-muted: #60766e;
  --public-green: #137a5e;
  --public-mint: #29a982;
  min-height: 100vh;
  overflow: hidden;
  color: var(--public-ink);
  background: #fbfcf8;
}
.public-home .container { width: min(1120px, calc(100% - 48px)); }
.public-home .topbar { position: relative; z-index: 2; height: 76px; border-bottom: 1px solid #e8eee8; background: rgba(255, 255, 252, .9); }
.public-home .brand { color: #163d34; }
.public-home .brand-mark { color: #fff; background: #177d61; }
.public-home .brand-copy small { color: #71847b; }
.public-home .nav-links, .public-home .nav-actions { color: #50665d; }
.public-home .nav-links a:hover, .public-home .footer a:hover { color: #13936e; }
.public-home .button { border-radius: 9px; color: #fff; background: #137a5e; box-shadow: 0 6px 16px rgba(19, 122, 94, .14); }
.public-home .button:hover { background: #0e674f; filter: none; }
.public-home .button.small { min-height: 38px; }
.public-home .eyebrow { color: #138460; }
.public-home .hero { z-index: 0; min-height: 600px; gap: 65px; padding-top: 65px; padding-bottom: 75px; }
.public-home .hero::before { z-index: -1; width: 720px; height: 650px; right: -17%; top: -30px; background: radial-gradient(ellipse, rgba(174, 231, 205, .42), rgba(232, 244, 224, .3) 44%, transparent 70%); }
.public-home .hero h1 { color: #153c33; font-size: clamp(44px, 5vw, 63px); }
.public-home .gradient-text { background-image: linear-gradient(100deg, #218665, #64b99c); }
.public-home .hero-copy { color: var(--public-muted); }
.public-home .hero-actions .subtle-link, .public-home .subtle-link { color: #148264; }
.public-home .hero-note { color: #70837b; }
.public-home .avatar-stack span { border-color: #fbfcf8; }
.public-home .avatar-stack span:first-child { color: white; background: #7180d7; }
.public-home .avatar-stack span:nth-child(2) { color: white; background: #37a984; }
.public-home .avatar-stack span:last-child { color: #5a492b; background: #f0c878; }
.public-home .preview-card { padding: 23px; border-color: #dce9df; border-radius: 20px; color: #183e34; background: rgba(255, 255, 252, .94); box-shadow: 0 30px 70px rgba(46, 99, 73, .13); transform: rotate(.5deg); }
.public-home .preview-top { border-color: #e6eee8; }
.public-home .live, .public-home .message-label { color: #168464; }
.public-home .preview-stat { color: #70857b; }
.public-home .preview-stat strong { color: #254c40; }
.public-home .preview-message { border-color: #e1ece5; background: #f7faf6; }
.public-home .preview-contact { border-color: #e4eee6; color: #65796f; background: #fbfdfb; }
.public-home .preview-contact strong { color: #148163; }
.public-home .preview-total { color: #6b8075; }
.public-home .preview-total strong { color: #254c40; }
.public-home .floating-chip { border-color: #dce9e0; color: #51685d; background: #fff; box-shadow: 0 14px 30px rgba(38, 77, 54, .12); }
.public-home .floating-chip strong { color: #148264; }
.public-home .section { padding: 82px 0; }
.public-home .section.alt { background: #f1f6f0; }
.public-home .section-heading h2 { color: #183e34; }
.public-home .section-heading p { color: #677b71; }
.public-home .feature, .public-home .step, .public-home .reason { border-color: #e2ebe2; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(33, 75, 50, .035); }
.public-home .feature-icon { color: #168365; background: #eaf5ee; }
.public-home .feature p, .public-home .step p, .public-home .reason p { color: #687d72; }
.public-home .step-number { color: #148163; }
.public-home .callout { border-color: #d8e9dc; background: radial-gradient(ellipse at 50% 120%, rgba(86, 185, 143, .16), transparent 60%), #f1f7f0; }
.public-home .callout h2 { color: #183e34; }
.public-home .footer { border-color: #e3ebe3; color: #708178; background: #f7f9f5; }
.public-home .footer .brand { color: #163d34; }
.public-home .footer-links { flex-wrap: wrap; }
.public-home .footer-links a { color: #52675d; }
@media (max-width: 860px) {
  .public-home .hero { gap: 38px; }
}
@media (max-width: 600px) {
  .public-home .container { width: min(100% - 32px, 1120px); }
  .public-home .topbar { height: 68px; }
  .public-home .hero { padding-top: 49px; padding-bottom: 60px; }
  .public-home .hero h1 { font-size: 42px; }
  .public-home .section { padding: 61px 0; }
}

.public-home {
  --public-ink: #f3f5fb;
  --public-muted: #9aa8c2;
  --public-green: #55d6bd;
  --public-mint: #55d6bd;
  color-scheme: dark;
  color: var(--public-ink);
  background: #0b1020;
}
.public-home .topbar { border-color: rgba(146, 161, 190, .12); background: rgba(11, 16, 32, .94); }
.public-home .brand, .public-home .footer .brand { color: #f3f5fb; }
.public-home .brand-mark { color: #101629; background: linear-gradient(135deg, #55d6bd, #9a92ff); }
.public-home .brand-copy small { color: #9aa8c2; }
.public-home .nav-links, .public-home .nav-actions { color: #b6c0d2; }
.public-home .nav-links a:hover, .public-home .footer a:hover { color: #55d6bd; }
.public-home .button { color: #101629; background: linear-gradient(110deg, #9b84ff, #55d6bd); box-shadow: none; }
.public-home .button:hover { background: linear-gradient(110deg, #9b84ff, #55d6bd); filter: brightness(1.06); }
.public-home .eyebrow { color: #55d6bd; }
.public-home .section.alt { background: #0e1526; }
.public-home .section-heading h2, .public-home .callout h2 { color: #f3f5fb; }
.public-home .section-heading p, .public-home .feature p, .public-home .step p, .public-home .reason p { color: #9aa8c2; }
.public-home .feature, .public-home .step, .public-home .reason { border-color: #27334c; border-radius: 17px; background: linear-gradient(145deg, #141e32, #10182a); box-shadow: none; }
.public-home .feature-icon { color: #55d6bd; background: rgba(85, 214, 189, .1); }
.public-home .step-number { color: #55d6bd; }
.public-home .callout { border-color: #344260; background: radial-gradient(ellipse at 50% 120%, rgba(80, 196, 180, .14), transparent 60%), #131c30; }
.public-home .footer { padding: 38px 0 0; border-color: #27334c; color: #9aa8c2; background: #0a0f1d; }
.public-home .footer .brand { display: inline-flex; }
.public-home .footer-links a, .public-home .hero-note { color: #9aa8c2; }
.public-home .subtle-link, .public-home .hero-actions .subtle-link { color: #55d6bd; }
.home-hero {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 0;
  padding: 76px 0 42px;
  isolation: isolate;
}
.home-hero::before { position: absolute; z-index: -1; top: -90px; left: 50%; width: min(1100px, 100vw); height: 480px; border-radius: 50%; background: radial-gradient(ellipse, rgba(91, 83, 171, .18), rgba(54, 117, 129, .08) 42%, transparent 70%); content: ""; transform: translateX(-50%); pointer-events: none; }
.home-hero-copy { max-width: 790px; margin: 0 auto 34px; text-align: center; }
.home-hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.home-hero-copy .eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: #55d6bd; box-shadow: 0 0 14px rgba(85, 214, 189, .65); content: ""; }
.home-hero-copy h1 { max-width: 780px; margin: 18px auto 14px; font-size: clamp(42px, 5.3vw, 67px); line-height: 1.08; letter-spacing: -.06em; }
.home-hero-copy > p { max-width: 610px; margin: 0 auto; color: #a4b0c5; font-size: 15px; }
.home-hero-copy .hero-actions { justify-content: center; margin-top: 23px; }
.home-hero .hero-note { justify-content: center; margin-top: 22px; font-size: 11px; }
.home-hero .avatar-stack span { border-color: #0b1020; }
.home-workspace { display: grid; width: min(950px, 100%); min-height: 325px; grid-template-columns: 58px minmax(0, 1fr); overflow: hidden; border: 1px solid #344362; border-radius: 16px; background: #10192a; box-shadow: 0 35px 100px rgba(0, 0, 0, .35), 0 0 55px rgba(98, 102, 194, .09); }
.workspace-rail { display: flex; flex-direction: column; align-items: center; gap: 17px; padding: 17px 0; border-right: 1px solid #283550; background: #0c1423; }
.workspace-logo { display: grid; width: 29px; height: 29px; place-items: center; margin-bottom: 6px; border-radius: 9px; color: #0b1020; background: linear-gradient(135deg, #55d6bd, #9a92ff); font: 800 13px Manrope, sans-serif; }
.workspace-rail-line { width: 23px; height: 22px; border: 1px solid #34415a; border-radius: 7px; }
.workspace-rail-line.active { border-color: rgba(85, 214, 189, .35); background: rgba(85, 214, 189, .12); box-shadow: inset 2px 0 #55d6bd; }
.workspace-avatar { display: grid; width: 24px; height: 24px; place-items: center; margin-top: auto; border: 1px solid #3c526a; border-radius: 50%; color: #c4b8ff; background: #292b49; font-size: 9px; font-weight: 700; }
.workspace-main { display: flex; min-width: 0; flex-direction: column; padding: 19px 22px 13px; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 15px; border-bottom: 1px solid #28344c; text-align: left; }
.workspace-heading > div { display: grid; gap: 3px; }
.workspace-overline { color: #8290a9; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.workspace-heading strong { color: #edf1fa; font: 700 14px Manrope, sans-serif; }
.workspace-heading .live { display: inline-flex; align-items: center; gap: 6px; font-size: 8px; }
.workspace-heading .live i, .workspace-footer > span:first-child i { width: 6px; height: 6px; border-radius: 50%; background: #55d6bd; box-shadow: 0 0 9px rgba(85, 214, 189, .6); }
.workspace-body { display: grid; flex: 1; grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr); gap: 14px; padding: 15px 0; text-align: left; }
.workspace-message, .workspace-side { display: grid; align-content: start; gap: 10px; }
.workspace-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #9aa8c2; font-size: 9px; font-weight: 600; }
.template-badge { padding: 4px 7px; border: 1px solid rgba(85, 214, 189, .2); border-radius: 5px; color: #65d9bf; background: rgba(85, 214, 189, .07); font-size: 7px; letter-spacing: .06em; }
.message-bubble { display: grid; gap: 7px; padding: 13px 15px; border: 1px solid #2b3a56; border-radius: 9px 14px 14px 14px; background: #151f33; }
.message-bubble .message-label { font-size: 8px; }
.message-bubble p { margin: 0; color: #e4e9f3; font-size: 12px; }
.message-bubble small { color: #7f8da5; font-size: 8px; text-align: right; }
.workspace-audience { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid #283750; border-radius: 9px; background: #121b2c; }
.audience-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; color: #75ddc3; background: rgba(85, 214, 189, .1); font-size: 14px; }
.workspace-audience > span:nth-child(2) { display: grid; gap: 2px; }
.workspace-audience strong { color: #dce4ef; font-size: 9px; }
.workspace-audience small { color: #8391a9; font-size: 8px; }
.workspace-audience > b { margin-left: auto; color: #55d6bd; font-size: 12px; }
.workspace-side-card { display: grid; gap: 9px; padding: 13px; border: 1px solid #2b3954; border-radius: 10px; background: #141e31; }
.workspace-side-card > .workspace-panel-title { color: #8897af; font-size: 8px; letter-spacing: .07em; }
.status-ready { display: inline-flex; align-items: center; gap: 7px; color: #68ddc1; font-size: 11px; }
.status-ready i { width: 7px; height: 7px; border-radius: 50%; background: #55d6bd; }
.workspace-side-card > small { color: #8593aa; font-size: 9px; line-height: 1.5; }
.privacy-card > strong { color: #e2e8f3; font-size: 10px; }
.privacy-check { padding: 6px 8px; border: 1px solid rgba(85, 214, 189, .15); border-radius: 6px; color: #68d9bd; background: rgba(85, 214, 189, .06); font-size: 8px; }
.workspace-footer { display: flex; justify-content: space-between; gap: 10px; padding-top: 11px; border-top: 1px solid #28344c; color: #8492a8; font-size: 8px; }
.workspace-footer > span { display: inline-flex; align-items: center; gap: 7px; }
.workspace-footer > span:last-child { letter-spacing: .07em; }
.workspace-footer b { margin-left: 4px; color: #c0c9d8; }

.public-home .footer-inner { width: min(1120px, calc(100% - 48px)); }
.public-home .footer-main { display: grid; grid-template-columns: minmax(0, 1fr) 140px 150px; gap: 48px; padding: 5px 0 33px; }
.public-home .footer-about { max-width: 370px; }
.public-home .footer-about > p { max-width: 330px; margin: 15px 0 0; color: #9aa8c2; font-size: 12px; line-height: 1.8; }
.public-home .footer-nav-group { display: grid; align-content: start; gap: 9px; font-size: 11px; }
.public-home .footer-nav-group strong { margin-bottom: 4px; color: #f3f5fb; font-size: 11px; }
.public-home .footer-nav-group a { width: fit-content; color: #9aa8c2; }
.public-home .footer-nav-group a:hover { color: #55d6bd; }
.public-home .footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0 15px; border-top: 1px solid #27334c; color: #8492a8; font-size: 10px; }

@media (max-width: 860px) {
  .home-hero { padding-top: 55px; }
  .home-workspace { width: min(690px, 100%); }
  .public-home .footer-main { grid-template-columns: minmax(0, 1fr) 125px 135px; gap: 25px; }
}
@media (max-width: 600px) {
  .home-hero { padding: 44px 0 33px; }
  .home-hero-copy { margin-bottom: 25px; }
  .home-hero-copy h1 { font-size: clamp(37px, 10vw, 49px); }
  .home-hero-copy > p { font-size: 13px; }
  .home-hero-copy .hero-actions { align-items: center; flex-direction: row; }
  .home-workspace { min-height: 0; grid-template-columns: 39px minmax(0, 1fr); border-radius: 12px; }
  .workspace-rail { gap: 13px; padding: 13px 0; }
  .workspace-rail-line { width: 20px; height: 20px; }
  .workspace-logo { width: 25px; height: 25px; }
  .workspace-main { padding: 14px 11px 10px; }
  .workspace-heading { padding-bottom: 11px; }
  .workspace-heading strong { font-size: 11px; }
  .workspace-overline { font-size: 7px; }
  .workspace-heading .live { font-size: 7px; }
  .workspace-body { grid-template-columns: 1fr; gap: 9px; padding: 11px 0; }
  .workspace-side { grid-template-columns: 1fr 1fr; }
  .workspace-side-card { gap: 7px; padding: 9px; }
  .workspace-side-card > .workspace-panel-title { font-size: 7px; }
  .workspace-side-card > small { font-size: 8px; }
  .workspace-footer { font-size: 7px; }
  .workspace-footer > span:last-child { display: none; }
  .public-home .footer { padding-top: 28px; }
  .public-home .footer-main { grid-template-columns: 1fr 1fr; gap: 27px 18px; padding-bottom: 24px; }
  .public-home .footer-about { grid-column: 1 / -1; }
  .public-home .footer-about > p { max-width: 300px; margin-top: 10px; font-size: 11px; }
  .public-home .footer-nav-group { gap: 8px; }
  .public-home .footer-nav-group strong { margin-bottom: 2px; }
  .public-home .footer-bottom { flex-direction: column; gap: 5px; font-size: 9px; }
}

.public-home.page-home main > .section { display: none; }
.public-home.page-features main > .home-hero,
.public-home.page-features main > section:not(#fitur),
.public-home.page-how-it-works main > .home-hero,
.public-home.page-how-it-works main > section:not(#alur),
.public-home.page-safe-messaging main > .home-hero,
.public-home.page-safe-messaging main > section:not(#aman) { display: none; }
.public-home.page-features main > #fitur,
.public-home.page-how-it-works main > #alur,
.public-home.page-safe-messaging main > #aman { min-height: calc(100vh - 150px); padding-top: 70px; }
.public-home.page-features .nav-links a[aria-current="page"],
.public-home.page-how-it-works .nav-links a[aria-current="page"],
.public-home.page-safe-messaging .nav-links a[aria-current="page"] { color: #55d6bd; }
.public-home.page-features main > #fitur .section-heading,
.public-home.page-how-it-works main > #alur .section-heading,
.public-home.page-safe-messaging main > #aman .section-heading { max-width: 760px; margin-bottom: 42px; }
.public-home.page-features main > #fitur .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.public-home.page-how-it-works main > #alur .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.public-home.page-safe-messaging main > #aman .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) {
  .public-home.page-features main > #fitur .feature-grid,
  .public-home.page-how-it-works main > #alur .steps,
  .public-home.page-safe-messaging main > #aman .reasons { grid-template-columns: 1fr; }
}

/* ============================================================
   RESTYLE PORTAL PENGGUNA & ADMIN — 2026-11
   Nuansa: kertas hangat + serif, garis tipis, sudut siku.
   ============================================================ */

/* ---------- PORTAL PENGGUNA ---------- */
.user-shell {
  --ux-bg: #f6f3ec;
  --ux-surface: #fffef9;
  --ux-line: #dcd6c6;
  --ux-ink: #22201a;
  --ux-muted: #7a7466;
  --ux-green: #14603c;
  --ux-green-soft: #e6efe7;
  color: var(--ux-ink);
  background: var(--ux-bg);
}
.user-shell .sidebar {
  border-right: 1px solid var(--ux-line);
  background: #f0ece1;
}
.user-shell .brand-mark {
  color: #fffef9;
  border-radius: 4px;
  background: var(--ux-green);
  font-family: Georgia, serif;
}
.user-shell .brand-copy small { color: var(--ux-muted); }
.user-shell .side-label { color: var(--ux-muted); letter-spacing: .18em; }
.user-shell .side-nav { gap: 2px; }
.user-shell .side-link {
  border-radius: 3px;
  border-left: 2px solid transparent;
  color: #57534a;
  font-weight: 500;
}
.user-shell .side-link b { width: 18px; font-weight: 400; }
.user-shell .side-link:hover { background: #e6e1d3; color: var(--ux-ink); }
.user-shell .side-link.active {
  border-left-color: var(--ux-green);
  background: transparent;
  color: var(--ux-ink);
}
.user-shell .side-link.active::before { display: none; }
.user-shell .sidebar-bottom { border-top: 1px solid var(--ux-line); }
.user-shell .user-avatar {
  border-radius: 3px;
  color: #fffef9;
  background: var(--ux-green);
  font-family: Georgia, serif;
}
.user-shell .user-meta small { color: var(--ux-muted); }
.user-shell .button.ghost {
  border: 1px solid var(--ux-line);
  border-radius: 3px;
  color: var(--ux-ink);
  background: transparent;
}
.user-shell .button.ghost:hover { border-color: var(--ux-ink); }

.user-shell .user-welcome {
  border: 1px solid var(--ux-line);
  border-bottom: 3px double var(--ux-ink);
  border-radius: 0;
  background: var(--ux-surface);
}
.user-shell .user-welcome::after { display: none; }
.user-shell .user-welcome-eyebrow {
  color: var(--ux-green);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: none;
}
.user-shell .user-welcome h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.015em;
}
.user-shell .user-welcome p { color: var(--ux-muted); }
.user-shell .user-welcome-actions .button {
  border-radius: 3px;
  color: #fffef9;
  background: var(--ux-green);
  box-shadow: none;
}
.user-shell .user-welcome-actions .button:hover { background: #0e4c2f; transform: none; filter: none; }
.user-shell .user-welcome-actions .button.ghost {
  color: var(--ux-ink);
  background: transparent;
  border: 1px solid var(--ux-line);
}
.user-shell .user-welcome-visual { display: none; }

.user-shell .user-status-label, .user-shell .user-limit { color: var(--ux-muted); }
.user-shell .status-pill {
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: var(--ux-green);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.user-shell .status-pill.warning { color: #8a6413; }

.user-shell .stat-grid { gap: 0; }
.user-shell .stat-card {
  border: 1px solid var(--ux-line);
  border-radius: 0;
  background: var(--ux-surface);
  box-shadow: none;
}
.user-shell .stat-card + .stat-card { border-left: 0; }
.user-shell .stat-card::before { display: none; }
.user-shell .stat-card span {
  color: var(--ux-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 10px;
}
.user-shell .stat-card strong {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--ux-ink);
}

.user-shell .user-section-heading h2 {
  font-family: Georgia, serif;
  font-weight: 400;
}
.user-shell .user-step-grid { gap: 0; }
.user-shell .user-step-card {
  border: 1px solid var(--ux-line);
  border-radius: 0;
  background: var(--ux-surface);
  transition: background .15s, color .15s;
}
.user-shell .user-step-card + .user-step-card { border-left: 0; }
.user-shell .user-step-card:hover {
  transform: none;
  border-color: var(--ux-line);
  background: #f0ece1;
}
.user-shell .user-step-number { color: var(--ux-muted); font-family: Georgia, serif; }
.user-shell .user-step-icon {
  border: 1px solid var(--ux-line);
  border-radius: 3px;
  color: var(--ux-green);
  background: transparent;
}
.user-shell .user-step-card strong { margin-top: 13px; color: var(--ux-ink); font-size: 14px; }
.user-shell .user-step-card small { color: var(--ux-muted); }
.user-shell .user-step-card b { color: var(--ux-green); }

.user-shell .user-content .panel,
.user-content .panel {
  border: 1px solid var(--ux-line);
  border-radius: 0;
  background: var(--ux-surface);
}
.user-shell .user-content .panel h2, .user-content .panel h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 17px;
}
.user-shell .user-content .panel-subtitle, .user-content .panel-subtitle { color: var(--ux-muted); }
.user-shell .user-content .main-head h1, .user-content .main-head h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.01em;
}
.user-shell .user-content .main-head p, .user-content .main-head p { color: var(--ux-muted); }
.user-shell .user-content .eyebrow, .user-content .eyebrow { color: var(--ux-green); }
.user-shell .user-content th, .user-content th {
  border-bottom: 1px solid var(--ux-ink);
  color: var(--ux-muted);
}
.user-shell .user-content td, .user-content td { border-bottom: 1px solid #ece7da; color: #3b382f; }
.user-shell .user-content .notice, .user-content .notice {
  border: 1px solid #d9cf9d;
  border-radius: 0;
  color: #6d5417;
  background: #f7f1dd;
}
.user-shell .user-content .notice.error, .user-content .notice.error { border-color: #dcb9b9; color: #8c3a3a; background: #f8ecec; }
.user-shell .user-content .notice.success, .user-content .notice.success { border-color: #b6d4bd; color: #2f6647; background: #edf5ee; }
.user-shell .user-content .subtle-link, .user-content .subtle-link { color: var(--ux-green); }
.user-shell .user-content .button:not(.ghost), .user-content .button:not(.ghost) {
  border-radius: 3px;
  color: #fffef9;
  background: var(--ux-green);
}
.user-shell .user-content .button:not(.ghost):hover, .user-content .button:not(.ghost):hover {
  background: #0e4c2f;
  transform: none;
  filter: none;
}
.user-shell .user-content .field input, .user-shell .user-content .field select, .user-shell .user-content .field textarea, .user-shell .user-content .inline-input, .user-content .field input, .user-content .field select, .user-content .field textarea, .user-content .inline-input {
  border: 1px solid var(--ux-line);
  border-radius: 3px;
  color: var(--ux-ink);
  background: #fffef9;
}
.user-shell .user-content .field input:focus, .user-content .field input:focus { border-color: var(--ux-ink); }
.user-shell .user-content .contact-choice, .user-content .contact-choice {
  border: 1px solid var(--ux-line);
  border-radius: 3px;
  color: #3b382f;
  background: #fffef9;
}
.user-shell .user-content .contact-choice:has(input:checked) { border-color: var(--ux-ink); background: #f0ece1; }
.user-shell .user-content .contact-choice input { accent-color: var(--ux-green); }

/* ---------- PORTAL ADMIN ---------- */
.admin-shell {
  --admin-bg: #f2f1ee;
  --admin-surface: #fbfaf7;
  --admin-line: #d7d4cc;
  --admin-ink: #23211c;
  --admin-muted: #77725f;
  --adm-accent: #b07516;
  color: var(--admin-ink);
  background: var(--admin-bg);
}
.admin-sidebar {
  border-right: 1px solid #171512;
  background: #26231e;
}
.admin-sidebar .brand-mark {
  color: #26231e;
  border-radius: 3px;
  background: #e0a63f;
  font-family: Georgia, serif;
}
.admin-sidebar .brand-copy { color: #f4f1e9; }
.admin-sidebar .brand-copy small { color: #9a948a; }
.admin-sidebar .side-label { color: #8d877b; letter-spacing: .18em; }
.admin-sidebar .side-nav { gap: 2px; }
.admin-sidebar .side-link {
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0;
  color: #b3ada0;
  font-weight: 500;
}
.admin-sidebar .side-link b { font-weight: 400; }
.admin-sidebar .side-link:hover { border-color: transparent; background: #333029; color: #f4f1e9; }
.admin-sidebar .side-link.active { border-left-color: #e0a63f; background: #333029; color: #fff; }
.admin-sidebar .side-link.active b { color: #e0a63f; }
.admin-sidebar .side-link.active::before { display: none; }
.admin-sidebar .sidebar-bottom { border-color: #3a372f; }
.admin-sidebar .user-avatar {
  border-radius: 3px;
  color: #26231e;
  background: #e0a63f;
  font-family: Georgia, serif;
}
.admin-sidebar .user-meta { color: #f4f1e9; }
.admin-sidebar .user-meta small { color: #9a948a; }
.admin-sidebar .button.ghost { border-color: #4a463d; border-radius: 3px; color: #e8e4da; }
.admin-sidebar .button.ghost:hover { border-color: #e0a63f; background: #333029; }

.admin-topbar {
  border-bottom: 1px solid var(--admin-line);
  background: var(--admin-surface);
}
.admin-topbar strong { font-family: Georgia, serif; font-weight: 400; color: var(--admin-ink); }
.admin-kicker { color: var(--admin-muted); letter-spacing: .16em; }
.admin-role-badge {
  border: 1px solid var(--admin-line);
  border-radius: 2px;
  color: var(--admin-muted);
  background: transparent;
}
.admin-role-badge span { background: var(--adm-accent); }
.admin-content .eyebrow { color: var(--adm-accent); }
.admin-content .main-head h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--admin-ink);
  letter-spacing: -.01em;
}
.admin-content .main-head p { color: var(--admin-muted); }
.admin-content .status-pill {
  border: 1px solid currentColor;
  border-radius: 2px;
  color: #2f6647;
  background: transparent;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.admin-content .status-pill.warning { color: #8a6413; }
.admin-content .stat-grid { gap: 0; }
.admin-content .stat-card, .admin-content .panel {
  border: 1px solid var(--admin-line);
  border-radius: 0;
  background: var(--admin-surface);
  box-shadow: none;
}
.admin-content .stat-card + .stat-card { border-left: 0; }
.admin-content .stat-card::before { background: var(--adm-accent); }
.admin-content .stat-card span {
  color: var(--admin-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.admin-content .stat-card strong {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--admin-ink);
}
.admin-content .panel h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--admin-ink);
}
.admin-content .panel-subtitle { color: var(--admin-muted); }
.admin-content th { border-bottom: 1px solid var(--admin-ink); color: var(--admin-muted); }
.admin-content td { border-bottom: 1px solid #e7e4dc; color: #44403a; }
.admin-content .muted, .admin-content .empty { color: var(--admin-muted); }
.admin-content .field label { color: #55503f; }
.admin-content .field input, .admin-content .field select, .admin-content .field textarea, .admin-content .inline-input {
  border: 1px solid var(--admin-line);
  border-radius: 3px;
  color: var(--admin-ink);
  background: #fffef9;
}
.admin-content .field input:focus, .admin-content .field select:focus, .admin-content .field textarea:focus, .admin-content .inline-input:focus { border-color: var(--admin-ink); }
.admin-content .contact-choice { border-color: var(--admin-line); color: #44403a; background: #fffef9; }
.admin-content .contact-choice:has(input:checked) { border-color: var(--admin-ink); background: #f0ede4; }
.admin-content .notice { border: 1px solid #d9cf9d; border-radius: 0; color: #6d5417; background: #f7f1dd; }
.admin-content .notice.error { border-color: #dcb9b9; color: #8c3a3a; background: #f8ecec; }
.admin-content .notice.success { border-color: #b6d4bd; color: #2f6647; background: #edf5ee; }
.admin-content .subtle-link { color: var(--adm-accent); }
.admin-content .button:not(.ghost) {
  border-radius: 3px;
  color: #fffef9;
  background: #26231e;
}
.admin-content .button:not(.ghost):hover { background: #111009; }

.admin-content .admin-tools {
  border: 1px solid var(--admin-line);
  border-radius: 0;
  background: var(--admin-surface);
}
.admin-section-heading h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--admin-ink);
}
.admin-action-grid { gap: 0; }
.admin-action {
  border: 1px solid var(--admin-line);
  border-radius: 0;
  color: var(--admin-ink);
  background: var(--admin-surface);
}
.admin-action + .admin-action { border-left: 0; }
.admin-action:hover { border-color: var(--admin-line); background: #f0ede4; }
.admin-action-icon {
  border-radius: 3px;
  color: var(--adm-accent);
  background: #f5ecd9;
}
.admin-action small { color: var(--admin-muted); }
.admin-content .admin-system-card {
  border: 1px solid var(--admin-line);
  border-radius: 0;
  background: var(--admin-surface);
}
.admin-system-icon { border-radius: 3px; color: var(--adm-accent); background: #f5ecd9; }
.admin-system-card:has(.status-pill:not(.warning)) .admin-system-icon { color: #2f6647; background: #edf5ee; }
.admin-system-card h2 { font-family: Georgia, serif; font-weight: 400; color: var(--admin-ink); }
.admin-system-card p { color: var(--admin-muted); }

/* ---------- HALAMAN LOGIN ADMIN ---------- */
.admin-login-topbar { border-bottom: 1px solid var(--ux-line, #dcd6c6); background: #f6f3ec; }
.admin-login-topbar .brand-mark {
  border-radius: 4px;
  color: #fffef9;
  background: #14603c;
  font-family: Georgia, serif;
}
.admin-login-topbar .brand-copy { color: #22201a; }
.admin-login-topbar .brand-copy small { color: #7a7466; }
.admin-login-secure {
  border: 1px solid #dcd6c6;
  border-radius: 2px;
  color: #7a7466;
  background: transparent;
}
.admin-login-secure::first-letter { color: #14603c; }
.admin-login-layout {
  background: radial-gradient(ellipse at 18% 40%, rgba(20, 96, 60, .06), transparent 55%), #f6f3ec;
}
.admin-login-layout::before, .admin-login-layout::after { border-color: rgba(34, 32, 26, .08); }
.admin-login-kicker { color: #14603c; letter-spacing: .18em; }
.admin-login-intro h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #22201a;
}
.admin-login-intro h1 span { color: #7a7466; font-style: italic; }
.admin-login-intro > p { color: #7a7466; }
.admin-login-points { color: #44403a; }
.admin-login-points b { color: #14603c; }
.admin-login-card {
  border: 1px solid #dcd6c6;
  border-top: 3px double #22201a;
  border-radius: 0;
  background: #fffef9;
  box-shadow: 0 1px 0 rgba(34, 32, 26, .04);
}
.admin-login-card-icon {
  border: 1px solid #dcd6c6;
  border-radius: 3px;
  color: #14603c;
  background: #e6efe7;
  font-family: Georgia, serif;
}
.admin-login-card h2 { font-family: Georgia, serif; font-weight: 400; color: #22201a; }
.admin-login-card > p { color: #7a7466; }
.admin-login-card .field label { color: #55503f; }
.admin-login-card .field input { border-color: #dcd6c6; border-radius: 3px; color: #22201a; background: #fffef9; }
.admin-login-card .field input:focus { border-color: #22201a; }
.admin-login-card .button {
  border-radius: 3px;
  color: #fffef9;
  background: #14603c;
}
.admin-login-card .button:hover { background: #0e4c2f; transform: none; filter: none; }
.admin-login-back { color: #7a7466; }
.admin-login-back:hover { color: #14603c; }

/* Form halaman auth pengguna ikut nuansa kertas */
body:has(.admin-login-layout), body:has(.auth-wrap), body:has(.admin-login-topbar) { background: #f6f3ec; }
body:has(.admin-login-layout) .loading, body:has(.auth-wrap) .loading { color: #7a7466; }
.auth-wrap { background: #f6f3ec; }
.auth-card {
  border: 1px solid #dcd6c6;
  border-top: 3px double #22201a;
  border-radius: 0;
  background: #fffef9;
  box-shadow: 0 1px 0 rgba(34, 32, 26, .04);
}
.auth-card h1 { font-family: Georgia, serif; font-weight: 400; color: #22201a; }
.auth-card > p { color: #7a7466; }
.auth-card .eyebrow.mini { color: #14603c; }
.auth-card .field input { border-color: #dcd6c6; border-radius: 3px; color: #22201a; background: #fffef9; }
.auth-card .field input:focus { border-color: #22201a; }
.auth-card .button { border-radius: 3px; color: #fffef9; background: #14603c; }
.auth-card .button:hover { background: #0e4c2f; transform: none; filter: none; }
.auth-card .text-button { color: #14603c; }
.auth-card .notice { border-radius: 0; }

/* ============================================================
   RESTYLE GELAP FINAL — 2026-11
   Portal pengguna: malam kehijauan, aksen teal.
   Portal admin: arang pekat, aksen amber.
   ============================================================ */

/* ---------- PORTAL PENGGUNA (GELAP) ---------- */
.user-shell {
  --ux-bg: #101512;
  --ux-surface: #161c19;
  --ux-line: #2a332e;
  --ux-ink: #e8ede9;
  --ux-muted: #93a099;
  --ux-green: #4fd39a;
  --ux-green-soft: #1c2b24;
  background: var(--ux-bg);
}
.user-shell .sidebar { border-right: 1px solid var(--ux-line); background: #131814; }
.user-shell .side-link:hover { background: #1b221d; color: var(--ux-ink); }
.user-shell .sidebar-bottom { border-top: 1px solid var(--ux-line); }
.user-shell .button.ghost { border-color: var(--ux-line); color: var(--ux-ink); }
.user-shell .button.ghost:hover { border-color: var(--ux-ink); }
.user-shell .user-welcome { background: var(--ux-surface); }
.user-shell .user-welcome p { color: var(--ux-muted); }
.user-shell .user-welcome-actions .button { color: #0e1512; background: var(--ux-green); }
.user-shell .user-welcome-actions .button:hover { background: #6fe2b4; }
.user-shell .user-welcome-actions .button.ghost { color: var(--ux-ink); background: transparent; border-color: var(--ux-line); }
.user-shell .status-pill { color: var(--ux-green); }
.user-shell .stat-card { background: var(--ux-surface); }
.user-shell .stat-card span { color: var(--ux-muted); }
.user-shell .stat-card strong { color: var(--ux-ink); }
.user-shell .user-step-card { background: var(--ux-surface); }
.user-shell .user-step-card:hover { background: #1b221d; border-color: var(--ux-line); }
.user-shell .user-step-number { color: var(--ux-muted); }
.user-shell .user-step-card strong { color: var(--ux-ink); }
.user-shell .user-step-card small { color: var(--ux-muted); }
.user-shell .user-step-card b { color: var(--ux-green); }
.user-shell .user-step-icon { border-color: rgba(79, 211, 154, .3); color: var(--ux-green); }
.user-content .panel { background: var(--ux-surface); }
.user-content .panel h2 { color: var(--ux-ink); }
.user-content .panel-subtitle { color: var(--ux-muted); }
.user-content .main-head h1 { color: var(--ux-ink); }
.user-content .main-head p { color: var(--ux-muted); }
.user-content .eyebrow { color: var(--ux-green); }
.user-content th { border-bottom-color: #3d4a43; color: var(--ux-muted); }
.user-content td { border-bottom-color: #232b26; color: #c6cfc8; }
.user-content .notice { border-color: #4a4426; color: #d8c47c; background: #211f12; }
.user-content .notice.error { border-color: #53302e; color: #e39a97; background: #241414; }
.user-content .notice.success { border-color: #2a4a3a; color: #7fd6a8; background: #13211a; }
.user-content .subtle-link { color: var(--ux-green); }
.user-content .button:not(.ghost) { color: #0e1512; background: var(--ux-green); }
.user-content .button:not(.ghost):hover { background: #6fe2b4; }
.user-content .field label { color: #b0bab2; }
.user-content .field input, .user-content .field select, .user-content .field textarea, .user-content .inline-input {
  border-color: var(--ux-line); color: var(--ux-ink); background: #101512;
}
.user-content .field input:focus { border-color: var(--ux-green); }
.user-content .field input[type="checkbox"] { accent-color: var(--ux-green); }
.user-content .contact-choice { border-color: var(--ux-line); color: #c6cfc8; background: #101512; }
.user-content .contact-choice:has(input:checked) { border-color: var(--ux-green); background: var(--ux-green-soft); }
.user-shell .user-content .empty, .user-content .empty { color: var(--ux-muted); }
.user-shell .user-status-label, .user-shell .user-limit, .user-content .user-status-label { color: var(--ux-muted); }
.user-shell .user-content .notice, .user-content .panel .notice, .user-shell .notice {
  border-color: #4a4426; color: #d8c47c; background: #211f12;
}
.user-shell .user-content .notice.error, .user-shell .notice.error { border-color: #53302e; color: #e39a97; background: #241414; }
.user-shell .user-content .notice.success, .user-shell .notice.success { border-color: #2a4a3a; color: #7fd6a8; background: #13211a; }
.user-shell .status-pill, .user-shell .user-content .status-pill {
  border-color: rgba(79, 211, 154, .4); color: #4fd39a; background: rgba(79, 211, 154, .08);
}
.user-shell .status-pill.warning, .user-shell .user-content .status-pill.warning {
  border-color: rgba(224, 166, 63, .4); color: #e0a63f; background: rgba(224, 166, 63, .08);
}

/* ---------- PORTAL ADMIN (GELAP) — senada dengan portal pengguna ---------- */
.admin-shell {
  --admin-bg: #101512;
  --admin-surface: #161c19;
  --admin-line: #2a332e;
  --admin-ink: #e8ede9;
  --admin-muted: #93a099;
  --adm-accent: #4fd39a;
  background: var(--admin-bg);
}
.admin-sidebar {
  border-right: 1px solid var(--admin-line);
  background: #131814;
}
.admin-sidebar .brand-mark { color: #101512; background: var(--adm-accent); }
.admin-sidebar .brand-copy { color: var(--admin-ink); }
.admin-sidebar .brand-copy small { color: var(--admin-muted); }
.admin-sidebar .side-label { color: var(--admin-muted); }
.admin-sidebar .side-link { color: #a8b4ab; }
.admin-sidebar .side-link:hover { background: #1b221d; color: var(--admin-ink); }
.admin-sidebar .side-link.active { border-left-color: var(--adm-accent); background: #1b221d; color: var(--admin-ink); }
.admin-sidebar .side-link.active b { color: var(--adm-accent); }
.admin-sidebar .sidebar-bottom { border-color: var(--admin-line); }
.admin-sidebar .user-avatar { color: #101512; background: var(--adm-accent); }
.admin-sidebar .user-meta { color: var(--admin-ink); }
.admin-sidebar .user-meta small { color: var(--admin-muted); }
.admin-sidebar .button.ghost { border-color: var(--admin-line); color: var(--admin-ink); }
.admin-sidebar .button.ghost:hover { border-color: var(--adm-accent); background: #1b221d; }
.admin-content .main-head h1 { color: var(--admin-ink); }
.admin-content .main-head p { color: var(--admin-muted); }
.admin-content .panel h2 { color: var(--admin-ink); }
.admin-content .stat-card, .admin-content .panel { background: var(--admin-surface); }
.admin-content .stat-card span { color: var(--admin-muted); }
.admin-content .stat-card strong { color: var(--admin-ink); }
.admin-content th { border-bottom-color: #3d4a43; color: var(--admin-muted); }
.admin-content td { border-bottom-color: #232b26; color: #c6cfc8; }
.admin-content .muted, .admin-content .empty { color: var(--admin-muted); }
.admin-content .field label { color: #b0bab2; }
.admin-content .field input, .admin-content .field select, .admin-content .field textarea, .admin-content .inline-input {
  border-color: var(--admin-line); color: var(--admin-ink); background: #101512;
}
.admin-content .field input:focus { border-color: var(--adm-accent); }
.admin-content .field input[type="checkbox"] { accent-color: var(--adm-accent); }
.admin-content .contact-choice { border-color: var(--admin-line); color: #c6cfc8; background: #101512; }
.admin-content .contact-choice:has(input:checked) { border-color: var(--adm-accent); background: #1c2b24; }
.admin-content .notice { border-color: #4a4426; color: #d8c47c; background: #211f12; }
.admin-content .notice.error { border-color: #53302e; color: #e39a97; background: #241414; }
.admin-content .notice.success { border-color: #2a4a3a; color: #7fd6a8; background: #13211a; }
.admin-topbar { background: var(--admin-surface); }
.admin-topbar strong { color: var(--admin-ink); }
.admin-kicker { color: var(--admin-muted); }
.admin-role-badge { border-color: var(--admin-line); color: var(--admin-muted); background: transparent; }
.admin-content .admin-tools { background: var(--admin-surface); }
.admin-section-heading h2 { color: var(--admin-ink); }
.admin-action { border-color: var(--admin-line); color: var(--admin-ink); background: var(--admin-surface); }
.admin-action:hover { border-color: var(--admin-line); background: #1b221d; }
.admin-action small { color: var(--admin-muted); }
.admin-action-icon { color: var(--adm-accent); background: rgba(79, 211, 154, .08); }
.admin-content .admin-system-card { background: var(--admin-surface); }
.admin-system-icon { color: var(--adm-accent); background: rgba(79, 211, 154, .08); }
.admin-system-card:has(.status-pill:not(.warning)) .admin-system-icon { color: #7fd6a8; background: #13211a; }
.admin-system-card h2 { color: var(--admin-ink); }
.admin-system-card p { color: var(--admin-muted); }
.admin-content .subtle-link { color: var(--adm-accent); }
.admin-content .button:not(.ghost) { color: #0e1512; background: var(--adm-accent); }
.admin-content .button:not(.ghost):hover { background: #6fe2b4; }

/* ---------- HALAMAN LOGIN (GELAP) ---------- */
body, body:has(.admin-login-layout), body:has(.auth-wrap), body:has(.admin-login-topbar) { background: #0f1411; }
body .loading { color: #93a099; }
body .loading .brand-mark { color: #0f1411; background: #4fd39a; }
.auth-wrap { background: #0f1411; }
.auth-card {
  border-color: #2a332e; border-top-color: #e8ede9;
  background: #161c19; box-shadow: none;
}
.auth-card h1 { color: #e8ede9; }
.auth-card > p { color: #93a099; }
.auth-card .eyebrow.mini { color: #4fd39a; }
.auth-card .field label { color: #b0bab2; }
.auth-card .field input { border-color: #2a332e; color: #e8ede9; background: #0f1411; }
.auth-card .field input:focus { border-color: #4fd39a; }
.auth-card .button { color: #0e1512; background: #4fd39a; }
.auth-card .button:hover { background: #6fe2b4; }
.auth-card .text-button { color: #4fd39a; }
.auth-card .notice { background: #211f12; color: #d8c47c; border-color: #4a4426; }
.auth-card .notice.error { color: #e39a97; background: #241414; border-color: #53302e; }
.auth-card .notice.success { color: #7fd6a8; background: #13211a; border-color: #2a4a3a; }

.admin-login-topbar { border-bottom: 1px solid #2a332e; background: #0f1411; }
.admin-login-topbar .brand-mark { color: #0f1411; background: #4fd39a; }
.admin-login-topbar .brand-copy { color: #e8ede9; }
.admin-login-topbar .brand-copy small { color: #93a099; }
.admin-login-secure { border-color: #2a332e; color: #93a099; }
.admin-login-secure::first-letter { color: #4fd39a; }
.admin-login-layout { background: radial-gradient(ellipse at 18% 40%, rgba(79, 211, 154, .05), transparent 55%), #0f1411; }
.admin-login-layout::before, .admin-login-layout::after { border-color: rgba(232, 237, 233, .07); }
.admin-login-kicker { color: #4fd39a; }
.admin-login-intro h1 { color: #e8ede9; }
.admin-login-intro h1 span { color: #93a099; }
.admin-login-intro > p { color: #93a099; }
.admin-login-points { color: #c6cfc8; }
.admin-login-points b { color: #4fd39a; }
.admin-login-card {
  border-color: #2a332e; border-top-color: #e8ede9;
  background: #161c19; box-shadow: none;
}
.admin-login-card-icon { border-color: #2a332e; color: #4fd39a; background: rgba(79, 211, 154, .08); }
.admin-login-card h2 { color: #e8ede9; }
.admin-login-card > p { color: #93a099; }
.admin-login-card .field label { color: #b0bab2; }
.admin-login-card .field input { border-color: #2a332e; color: #e8ede9; background: #101512; }
.admin-login-card .field input:focus { border-color: #4fd39a; }
.admin-login-card .button { color: #0e1512; background: #4fd39a; }
.admin-login-card .button:hover { background: #6fe2b4; }
.admin-login-back { color: #93a099; }
.admin-login-back:hover { color: #4fd39a; }

/* ============================================================
   RESTYLE LANDING PUBLIK (GELAP) — 2026-11
   Konsisten dengan portal gelap: aksen teal, tanpa gradien.
   ============================================================ */
.public-home { color-scheme: dark; color: #e8ede9; background: #0f1411; }
.public-home .topbar { border-color: #2a332e; background: rgba(15, 20, 17, .94); }
.public-home .brand, .public-home .footer .brand { color: #e8ede9; }
.public-home .brand-mark { color: #0f1411; background: #4fd39a; }
.public-home .brand-copy small { color: #93a099; }
.public-home .nav-links, .public-home .nav-actions { color: #b0bab2; }
.public-home .nav-links a:hover, .public-home .footer a:hover { color: #4fd39a; }
.public-home .nav-links a[aria-current="page"] { color: #4fd39a; }
.public-home .button { border-radius: 3px; color: #0e1512; background: #4fd39a; box-shadow: none; }
.public-home .button:hover { background: #6fe2b4; transform: none; filter: none; }
.public-home .eyebrow { color: #4fd39a; }
.public-home .gradient-text { background: linear-gradient(100deg, #4fd39a, #7fd6a8); background-clip: text; color: transparent; }
.public-home .hero-copy, .public-home .section-heading p,
.public-home .feature p, .public-home .step p, .public-home .reason p { color: #93a099; }
.public-home .section.alt { background: #131814; }
.public-home .section-heading h2, .public-home .callout h2 { color: #e8ede9; }
.public-home .feature, .public-home .step, .public-home .reason {
  border-color: #2a332e; background: #161c19; box-shadow: none;
}
.public-home .feature-icon { color: #4fd39a; background: rgba(79, 211, 154, .08); }
.public-home .step-number { color: #4fd39a; }
.public-home .callout { border-color: #2a332e; background: radial-gradient(ellipse at 50% 120%, rgba(79, 211, 154, .08), transparent 60%), #161c19; }
.public-home .footer { border-color: #2a332e; color: #93a099; background: #0d120e; }
.public-home .footer-nav-group strong { color: #e8ede9; }
.public-home .footer-nav-group a, .public-home .footer-links a, .public-home .hero-note { color: #93a099; }
.public-home .footer-nav-group a:hover { color: #4fd39a; }
.public-home .subtle-link, .public-home .hero-actions .subtle-link { color: #4fd39a; }
.public-home .avatar-stack span { border-color: #0f1411; }
.public-home .avatar-stack span:first-child { color: #0e1512; background: #4fd39a; }
.public-home .avatar-stack span:nth-child(2) { color: #0e1512; background: #7fd6a8; }
.public-home .avatar-stack span:last-child { color: #0e1512; background: #e0a63f; }
.public-home .preview-card {
  border-color: #2a332e; color: #e8ede9;
  background: #161c19; box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}
.public-home .preview-top { border-color: #2a332e; }
.public-home .live, .public-home .message-label { color: #4fd39a; }
.public-home .preview-stat { color: #93a099; }
.public-home .preview-stat strong { color: #e8ede9; }
.public-home .preview-message { border-color: #2a332e; background: #101512; }
.public-home .preview-contact { border-color: #2a332e; color: #93a099; background: #101512; }
.public-home .preview-contact strong { color: #4fd39a; }
.public-home .preview-total { color: #93a099; }
.public-home .preview-total strong { color: #e8ede9; }
.public-home .floating-chip { border-color: #2a332e; color: #93a099; background: #1d231f; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.public-home .floating-chip strong { color: #4fd39a; }
/* Pratinjau workspace di hero */
.home-hero::before { background: radial-gradient(ellipse, rgba(79, 211, 154, .07), transparent 60%); }
.home-workspace { border-color: #2a332e; background: #131814; box-shadow: 0 35px 100px rgba(0, 0, 0, .45); }
.workspace-rail { border-right: 1px solid #232b26; background: #101512; }
.workspace-logo { color: #0f1411; background: #4fd39a; }
.workspace-rail-line { border-color: #2a332e; }
.workspace-rail-line.active { border-color: rgba(79, 211, 154, .35); background: rgba(79, 211, 154, .1); box-shadow: inset 2px 0 #4fd39a; }
.workspace-avatar { border-color: #2a332e; color: #4fd39a; background: #1b221d; }
.workspace-heading { border-color: #232b26; }
.workspace-heading strong { color: #e8ede9; }
.workspace-overline { color: #93a099; }
.workspace-heading .live { color: #4fd39a; }
.workspace-heading .live i, .workspace-footer > span:first-child i { background: #4fd39a; box-shadow: 0 0 9px rgba(79, 211, 154, .5); }
.workspace-panel-title { color: #93a099; }
.template-badge { border-color: rgba(79, 211, 154, .25); color: #4fd39a; background: rgba(79, 211, 154, .07); }
.message-bubble { border-color: #2a332e; background: #101512; }
.message-bubble p { color: #e8ede9; }
.message-bubble small { color: #6e7a72; }
.workspace-audience { border-color: #2a332e; background: #101512; }
.audience-icon { color: #4fd39a; background: rgba(79, 211, 154, .08); }
.workspace-audience strong { color: #e8ede9; }
.workspace-audience small { color: #93a099; }
.workspace-audience > b { color: #4fd39a; }
.workspace-side-card { border-color: #2a332e; background: #161c19; }
.workspace-side-card > .workspace-panel-title { color: #93a099; }
.status-ready { color: #4fd39a; }
.status-ready i { background: #4fd39a; }
.workspace-side-card > small { color: #93a099; }
.privacy-card > strong { color: #e8ede9; }
.privacy-check { border-color: rgba(79, 211, 154, .2); color: #4fd39a; background: rgba(79, 211, 154, .06); }
.workspace-footer { border-color: #232b26; color: #93a099; }
.workspace-footer b { color: #c6cfc8; }
/* Footer landing */
.public-home .footer-bottom { border-color: #232b26; color: #93a099; }
/* Halaman fitur/cara-kerja/aman */
.public-home.page-features .nav-links a[aria-current="page"],
.public-home.page-how-it-works .nav-links a[aria-current="page"],
.public-home.page-safe-messaging .nav-links a[aria-current="page"] { color: #4fd39a; }

/* ============================================================
   REDESIGN LAYOUT LANDING — 2026-11
   Bukan sekadar warna: hero dua kolom, trust strip, footer satu baris.
   ============================================================ */
.home-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 60px;
  align-items: center;
  text-align: left;
  padding: 88px 0 48px;
}
.home-hero::before { display: none; }
.home-hero-copy { max-width: 560px; margin: 0; text-align: left; justify-items: start; }
.home-hero-copy .eyebrow, .home-hero-copy h1, .home-hero-copy > p { text-align: left; }
.home-hero-copy .eyebrow::before { display: none; }
.home-hero-copy h1 { margin: 16px 0 14px; font-size: clamp(38px, 4.6vw, 58px); }
.home-hero-copy > p { margin: 0; }
.home-hero-copy .hero-actions { justify-content: flex-start; margin-top: 28px; }
.home-hero .hero-note { justify-content: flex-start; margin-top: 34px; }
.home-workspace { width: 100%; min-height: 0; grid-template-columns: none; }
.workspace-main { padding: 0; }
.workspace-heading { padding: 16px 20px; }
.workspace-body { grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 18px 20px; }
.workspace-side { grid-template-columns: repeat(3, auto); justify-content: end; gap: 26px; align-content: center; }
.workspace-stat { display: grid; gap: 2px; text-align: right; }
.workspace-stat b { font: 700 26px Manrope, sans-serif; color: #4fd39a; }
.workspace-stat small { color: #93a099; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.workspace-footer { padding: 12px 20px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.workspace-side-card, .workspace-audience, .workspace-panel-title { display: none; }

.trust-strip { border-top: 1px solid #232b26; border-bottom: 1px solid #232b26; background: #101512; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 38px; padding: 15px 0; color: #93a099; font-size: 11px; letter-spacing: .05em; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }

.public-home .footer-inner { padding: 26px 0 0; }
.footer-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; }
.footer-main, .footer-about, .footer-nav-group { display: none; }
.public-home .footer { padding: 0 0 8px; }
.public-home .footer-bottom { padding: 14px 0 10px; }

@media (max-width: 960px) {
  .home-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .home-hero-copy { max-width: 640px; }
}
@media (max-width: 600px) {
  .workspace-body { grid-template-columns: 1fr; }
  .workspace-side { justify-content: flex-start; text-align: left; }
  .trust-row { gap: 10px 24px; }
}

/* Landing page message-delivery preview */
.home-workspace {
  position: relative;
  isolation: isolate;
  border-color: rgba(130, 157, 139, .24);
  border-radius: 22px;
  background: linear-gradient(145deg, #171f1a, #101612 72%);
  box-shadow: 0 28px 75px rgba(0, 0, 0, .38), 0 0 48px rgba(79, 211, 154, .06);
  animation: dashboard-enter 700ms cubic-bezier(.2, .75, .25, 1) both;
}
@keyframes dashboard-enter {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.home-workspace::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 92% 0, rgba(79, 211, 154, .1), transparent 48%);
  content: "";
  pointer-events: none;
}
.workspace-heading { padding: 19px 22px; border-color: rgba(130, 157, 139, .16); }
.workspace-overline { color: #95a99b; letter-spacing: .16em; }
.workspace-heading strong { font-size: 15px; }
.workspace-heading .live {
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(79, 211, 154, .18);
  border-radius: 999px;
  background: rgba(79, 211, 154, .07);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}
.workspace-heading .live i {
  width: 7px;
  height: 7px;
  animation: status-pulse 1.8s ease-in-out infinite;
}
@keyframes status-pulse {
  50% { box-shadow: 0 0 0 5px rgba(79, 211, 154, .09), 0 0 12px rgba(79, 211, 154, .75); }
}
.workspace-body { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px; padding: 18px 22px; }
.workspace-message { align-content: center; }
.message-bubble {
  min-height: 104px;
  align-content: space-between;
  padding: 15px 16px;
  border-color: rgba(130, 157, 139, .2);
  border-radius: 15px;
  background: rgba(8, 14, 10, .45);
}
.message-bubble p { line-height: 1.65; }
.message-bubble small { font-size: 9px; }
.template-badge { border-radius: 999px; font-size: 8px; }
.workspace-side { gap: 9px; }
.workspace-stat {
  min-width: 0;
  align-content: center;
  justify-items: center;
  padding: 10px 6px;
  border: 1px solid rgba(130, 157, 139, .15);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  text-align: center;
}
.workspace-stat b { font-size: 25px; }
.workspace-stat small { font-size: 9px; letter-spacing: .07em; }
.workspace-chart {
  display: grid;
  gap: 12px;
  margin: 0 22px 15px;
  padding: 14px 15px 10px;
  border: 1px solid rgba(130, 157, 139, .15);
  border-radius: 15px;
  background: linear-gradient(120deg, rgba(255, 255, 255, .025), rgba(79, 211, 154, .025));
  text-align: left;
}
.chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chart-heading > div { display: grid; gap: 3px; }
.chart-heading strong { color: #e8ede9; font: 650 11px Manrope, sans-serif; }
.chart-key { display: inline-flex; align-items: center; gap: 6px; color: #93a099; font-size: 8px; }
.chart-key i { width: 7px; height: 7px; border-radius: 3px; background: #4fd39a; box-shadow: 0 0 10px rgba(79, 211, 154, .4); }
.chart-plot {
  position: relative;
  height: 82px;
  overflow: hidden;
  border-radius: 8px;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 26px, rgba(147, 160, 153, .1) 27px, transparent 28px);
}
.chart-bars { display: grid; height: calc(100% - 13px); grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; }
.chart-column { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: end; gap: 5px; }
.chart-column i {
  width: min(100%, 22px);
  min-height: 8px;
  border: 1px solid rgba(111, 240, 181, .28);
  border-bottom: 0;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(103, 232, 168, .98), rgba(55, 171, 120, .25));
  box-shadow: 0 0 15px rgba(79, 211, 154, .12);
  transform: scaleY(.72);
  transform-origin: center bottom;
  animation: chart-breathe 2.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--bar-order, 0) * -240ms);
}
.chart-column:nth-child(1) i { height: 42%; }
.chart-column:nth-child(2) i { height: 61%; --bar-order: 1; }
.chart-column:nth-child(3) i { height: 48%; --bar-order: 2; }
.chart-column:nth-child(4) i { height: 78%; --bar-order: 3; }
.chart-column:nth-child(5) i { height: 57%; --bar-order: 4; }
.chart-column:nth-child(6) i { height: 91%; --bar-order: 5; }
.chart-column:nth-child(7) i { height: 69%; --bar-order: 6; }
.chart-column small { color: #758279; font-size: 8px; line-height: 1; }
.chart-column.current i { background: linear-gradient(180deg, #c0ffdb, #4fd39a 72%); box-shadow: 0 0 18px rgba(79, 211, 154, .32); }
@keyframes chart-breathe {
  from { transform: scaleY(.72); filter: saturate(.8); }
  to { transform: scaleY(1); filter: saturate(1.2); }
}
.workspace-footer { padding: 13px 22px; border-color: rgba(130, 157, 139, .16); font-size: 9px; letter-spacing: .04em; }
.workspace-footer > span:first-child i { width: 6px; height: 6px; border-radius: 50%; background: #4fd39a; box-shadow: 0 0 9px rgba(79, 211, 154, .5); }

@media (max-width: 600px) {
  .workspace-heading { padding: 16px; }
  .workspace-body { gap: 13px; padding: 15px 16px; }
  .workspace-side { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .workspace-stat { padding: 10px 4px; }
  .workspace-chart { margin: 0 16px 13px; padding: 12px 12px 9px; }
  .chart-bars { gap: 6px; }
  .workspace-footer { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-workspace, .workspace-heading .live i, .chart-column i { animation: none; }
  .chart-column i { transform: none; }
}

/* ---------- LOGIN ADMIN: kartu sentral satu kolom ---------- */
.admin-login-layout {
  width: min(1240px, 100%);
  min-height: calc(100vh - 78px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  align-items: center;
  align-content: center;
  gap: clamp(42px, 7vw, 100px);
  margin: 0 auto;
  padding: 58px clamp(24px, 5vw, 72px);
  background:
    radial-gradient(ellipse at 18% 52%, rgba(79, 211, 154, .08), transparent 44%),
    #101512;
}
.admin-login-intro {
  display: grid;
  justify-items: start;
  max-width: 620px;
  margin: 0;
  text-align: left;
}
.admin-login-intro h1 { margin: 18px 0 13px; font-size: clamp(42px, 5vw, 64px); }
.admin-login-intro > p { max-width: 470px; margin-bottom: 0; }
.admin-login-points { grid-template-columns: 1fr; gap: 11px; justify-items: start; margin-top: 30px; }
.admin-login-points span { padding: 0; border: 0; background: transparent; font-size: 12px; }
.admin-login-points b { color: #4fd39a; margin-right: 4px; }
.admin-login-card { width: 100%; }
.admin-login-card-icon { display: none; }

.brand img.brand-mark, body .loading img.brand-mark {
  display: block;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: #0f1411;
}
.admin-login-back { justify-self: start; }
.admin-login-layout::before, .admin-login-layout::after { display: none; }
@media (max-width: 760px) {
  .admin-login-layout {
    width: 100%;
    min-height: calc(100vh - 70px);
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 30px;
    padding: 44px 22px 60px;
  }
  .admin-login-intro { width: min(520px, 100%); }
  .admin-login-points { display: none; }
  .admin-login-card { width: min(440px, 100%); }
}
@media (max-width: 480px) { .admin-login-layout { padding: 34px 16px 48px; } }

/* ---------- DASHBOARD PENGGUNA: hero banner pita + panel lebar ---------- */
.user-shell .user-welcome {
  display: block;
  min-height: 0;
  padding: 30px clamp(23px, 4vw, 42px) 26px;
  border: 0;
  border-bottom: 1px solid var(--ux-line);
  background: linear-gradient(180deg, #18211c 0%, var(--ux-surface) 100%);
}
.user-shell .user-welcome-copy { max-width: none; }
.user-shell .user-welcome h1 { font-size: clamp(26px, 3.4vw, 38px); }
.user-shell .user-welcome-actions { margin-top: 16px; }
.user-shell .user-status-row {
  margin: 0;
  padding: 10px 2px;
  border-bottom: 1px solid var(--ux-line);
}
.user-shell .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ux-line); border-top: 0; }
.user-shell .stat-card { padding: 20px 22px; border: 0; }
.user-shell .stat-card + .stat-card { border-left: 1px solid var(--ux-line); }
.user-shell .user-step-grid { grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ux-line); }
.user-shell .user-step-card { min-height: 0; padding: 22px; border: 0; }
.user-shell .user-step-card + .user-step-card { border-left: 1px solid var(--ux-line); }
.user-shell .user-step-card b { order: 3; margin-top: auto; padding-top: 14px; }
.user-shell .user-step-card { display: flex; flex-direction: column; align-items: flex-start; }
.user-shell .user-step-card strong { order: 1; margin-top: 13px; }
.user-shell .user-step-card small { order: 2; margin-top: 4px; }
.user-shell .user-step-number { top: auto; bottom: 16px; right: 18px; }
.user-shell .main-head { flex-direction: column-reverse; align-items: flex-start; gap: 6px; margin-bottom: 20px; }
.user-shell .main-head h1 { font-size: clamp(22px, 2.6vw, 30px); }
.user-content .panel { padding: 0; overflow: hidden; }
.user-content .panel-head {
  margin: 0;
  padding: 15px 20px;
  border-bottom: 1px solid var(--ux-line);
  background: #131814;
}
.user-content .panel-head + .table-wrap table { border: 0; }
.user-content .panel > .form-grid, .user-content .panel > form { padding: 20px; }
.user-content th { padding: 11px 20px; }
.user-content td { padding: 13px 20px; }
@media (max-width: 600px) {
  .user-shell .stat-grid, .user-shell .user-step-grid { grid-template-columns: 1fr; }
  .user-shell .stat-card + .stat-card, .user-shell .user-step-card + .user-step-card { border-left: 0; border-top: 1px solid var(--ux-line); }
}

/* Perbaikan: input portal pengguna harus gelap (menimpa blok terang lama) */
.user-shell .user-content .field input,
.user-shell .user-content .field select,
.user-shell .user-content .field textarea,
.user-shell .user-content .inline-input,
.user-shell .field input,
.user-shell .field select,
.user-shell .field textarea,
.user-shell .inline-input {
  border-color: var(--ux-line, #2a332e);
  color: #e8ede9;
  background: #101512;
}
.user-shell .user-content .field input:focus,
.user-shell .field input:focus { border-color: #4fd39a; }
.user-shell .user-content .contact-choice,
.user-shell .contact-choice {
  border-color: var(--ux-line, #2a332e);
  color: #c6cfc8;
  background: #101512;
}
.user-shell .user-content .contact-choice:has(input:checked),
.user-shell .contact-choice:has(input:checked) {
  border-color: #4fd39a;
  background: #1c2b24;
}

/* ---------- DASHBOARD ADMIN: toolbar + panel lebar tanpa kartu cepat ---------- */
.admin-shell .main-head { flex-direction: column-reverse; align-items: flex-start; gap: 6px; margin-bottom: 20px; }
.admin-content .stat-grid { grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--admin-line); }
.admin-content .stat-card { border: 0; padding: 20px 22px; }
.admin-content .stat-card + .stat-card { border-left: 1px solid var(--admin-line); }
.admin-content .stat-card::before { display: none; }
.admin-content .panel { padding: 0; overflow: hidden; }
.admin-content .panel-head {
  margin: 0;
  padding: 15px 20px;
  border-bottom: 1px solid var(--admin-line);
  background: #131814;
}
.admin-content .panel > form { padding: 20px; }
.admin-content th { padding: 11px 20px; }
.admin-content td { padding: 13px 20px; }
/* Akses cepat: jadi deretan tautan teks di bawah heading, bukan kartu */
.admin-content .admin-tools { border: 0; background: transparent; padding: 0 0 18px; }
.admin-content .admin-action-grid { grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--admin-line); background: var(--admin-surface); }
.admin-content .admin-action { border: 0; background: transparent; padding: 16px 18px; }
.admin-content .admin-action + .admin-action { border-left: 1px solid var(--admin-line); }
.admin-content .admin-action:hover { background: #1b221d; }
.admin-content .admin-system-card { border: 0; border-left: 3px solid var(--adm-accent); background: var(--admin-surface); padding: 14px 18px; }
@media (max-width: 600px) {
  .admin-content .stat-grid, .admin-content .admin-action-grid { grid-template-columns: 1fr; }
  .admin-content .stat-card + .stat-card, .admin-content .admin-action + .admin-action { border-left: 0; border-top: 1px solid var(--admin-line); }
}

/* ---------- HALAMAN PENGIRIMAN AMAN ---------- */
.public-home.page-safe-messaging main > #aman {
  position: relative;
  isolation: isolate;
  padding-top: 50px;
  background:
    radial-gradient(ellipse at 87% 2%, rgba(117, 99, 231, .14), transparent 36%),
    radial-gradient(ellipse at 12% 72%, rgba(60, 106, 170, .08), transparent 38%),
    rgba(8, 11, 24, .82);
}
.public-home.page-safe-messaging main > #aman .section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}
.public-home.page-safe-messaging main > #aman .section-heading h2 {
  font-size: clamp(32px, 4vw, 46px);
}
.public-home.page-safe-messaging main > #aman .reasons {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.public-home.page-safe-messaging main > #aman .reason {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 22px;
  border-color: rgba(157, 151, 221, .2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(24, 27, 55, .94), rgba(13, 17, 37, .96));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.public-home.page-safe-messaging main > #aman .reason::before {
  position: absolute;
  top: 0;
  left: 22px;
  width: 54px;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #9d91ff, rgba(157, 145, 255, 0));
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: left;
  transition: opacity 220ms ease, transform 220ms ease;
}
.reason-top { display: flex; width: 100%; align-items: center; justify-content: space-between; }
.reason-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(157, 145, 255, .18);
  border-radius: 13px;
  color: #b1a6ff;
  background: rgba(157, 145, 255, .12);
  font-size: 19px;
  font-weight: 700;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}
.reason-number { color: #637168; font: 600 11px Manrope, sans-serif; letter-spacing: .12em; }
.public-home.page-safe-messaging main > #aman .reason h3 {
  margin: 24px 0 9px;
  color: #e8ede9;
  font-size: 17px;
}
.public-home.page-safe-messaging main > #aman .reason p {
  max-width: 340px;
  color: #93a099;
  line-height: 1.75;
}
.reason-tag {
  margin-top: auto;
  padding-top: 24px;
  color: #a99cff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}
.public-home.page-safe-messaging main > #aman .reason:hover {
  border-color: rgba(157, 145, 255, .42);
  background: linear-gradient(145deg, #1a1b3b, #12152c);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .25), 0 0 24px rgba(157, 145, 255, .08);
  transform: translateY(-4px);
}
.public-home.page-safe-messaging main > #aman .reason:hover::before { opacity: 1; transform: scaleX(1); }
.public-home.page-safe-messaging main > #aman .reason:hover .reason-icon {
  border-color: rgba(157, 145, 255, .3);
  background: rgba(157, 145, 255, .16);
  transform: translateY(-2px) rotate(-5deg);
}
.public-home.page-safe-messaging main > #aman .reason-number { color: #a99cff; }
.public-home.page-safe-messaging .nav-links a[aria-current="page"] { color: #b6aaff; }
@media (max-width: 900px) {
  .public-home.page-safe-messaging main > #aman .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .public-home.page-safe-messaging main > #aman { padding-top: 42px; }
  .public-home.page-safe-messaging main > #aman .reasons { grid-template-columns: 1fr; }
  .public-home.page-safe-messaging main > #aman .reason { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .public-home.page-safe-messaging main > #aman .reason,
  .public-home.page-safe-messaging main > #aman .reason::before,
  .public-home.page-safe-messaging main > #aman .reason-icon { transition: none; }
  .public-home.page-safe-messaging main > #aman .reason:hover { transform: none; }
}

/* Pill status gelap untuk semua portal (menimpa versi terang lama) */
.admin-content .status-pill,
.user-shell .status-pill,
.user-shell .user-content .status-pill {
  border-color: rgba(224, 166, 63, .45);
  color: #e0a63f;
  background: rgba(224, 166, 63, .07);
}
.admin-content .status-pill:not(.warning),
.user-shell .status-pill:not(.warning) {
  border-color: rgba(79, 211, 154, .45);
  color: #4fd39a;
  background: rgba(79, 211, 154, .07);
}

/* Pill warning gelap (kekuatan selector sama dengan tema lama) */
.admin-content .status-pill.warning,
.user-shell .status-pill.warning,
.user-shell .user-content .status-pill.warning {
  border-color: rgba(224, 166, 63, .4); color: #e0a63f; background: rgba(224, 166, 63, .08);
}

/* ---------- HALAMAN FITUR: papan editorial ---------- */
.public-home.page-features main > #fitur {
  position: relative;
  isolation: isolate;
  padding-top: 50px;
  background:
    radial-gradient(ellipse at 86% 0, rgba(79, 211, 154, .06), transparent 34%),
    #101512;
}
.public-home.page-features main > #fitur .section-heading { max-width: 780px; margin-bottom: 38px; }
.public-home.page-features main > #fitur .section-heading h2 { font-size: clamp(32px, 4vw, 42px); }

.feature-board {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 16px;
  align-items: stretch;
}
.feature-board-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px clamp(24px, 3.4vw, 40px);
  border: 1px solid rgba(79, 211, 154, .28);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(79, 211, 154, .09), transparent 55%),
    linear-gradient(165deg, #16211a, #121815);
}
.feature-board-copy { display: grid; gap: 12px; }
.fb-kicker { color: #4fd39a; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.feature-board-copy h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.03em; }
.feature-board-copy p { margin: 0; max-width: 460px; color: #93a099; font-size: 14px; }
.fb-link { color: #4fd39a; font-size: 13px; font-weight: 700; }
.fb-link:hover { color: #6fe2b4; }

.feature-board-side {
  display: grid;
  gap: 0;
  border: 1px solid rgba(130, 157, 139, .2);
  border-radius: 18px;
  background: linear-gradient(145deg, #171e19, #141a16);
  overflow: hidden;
}
.feature-mini {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 19px 22px;
  border-top: 1px solid rgba(130, 157, 139, .14);
  transition: background 180ms ease;
}
.feature-mini:first-child { border-top: 0; }
.feature-mini:hover { background: rgba(79, 211, 154, .045); }
.feature-mini .feature-icon { flex: none; width: 36px; height: 36px; font-size: 16px; }
.feature-mini h3 { margin: 1px 0 4px; font-size: 15px; }
.feature-mini p { margin: 0; color: #93a099; font-size: 12.5px; line-height: 1.55; }

@media (max-width: 900px) {
  .feature-board { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .public-home.page-features main > #fitur { padding-top: 42px; }
  .feature-board-main { padding: 24px 20px 26px; }
  .feature-mini { padding: 15px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-mini { transition: none; }
}

/* ---------- CARA KERJA: garis alur vertikal ---------- */
.flow-list {
  position: relative;
  display: grid;
  max-width: 860px;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}
.flow-list::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(79, 211, 154, .5), rgba(79, 211, 154, .12));
}
.flow-item {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 20px 0;
}
.flow-index {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(79, 211, 154, .35);
  border-radius: 50%;
  color: #4fd39a;
  background: #101512;
  font: 700 14px Manrope, sans-serif;
  letter-spacing: .04em;
}
.flow-tag {
  display: inline-block;
  margin-bottom: 6px;
  color: #93a099;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.flow-body h3 { margin: 0 0 5px; font-size: 18px; letter-spacing: -.02em; }
.flow-body p { margin: 0; max-width: 560px; color: #93a099; font-size: 13.5px; }
.flow-item:hover .flow-index {
  border-color: #4fd39a;
  background: rgba(79, 211, 154, .1);
  box-shadow: 0 0 18px rgba(79, 211, 154, .18);
}
.flow-item + .flow-item { border-top: 0; }

@media (max-width: 600px) {
  .flow-item { gap: 16px; }
  .flow-index { width: 44px; height: 44px; font-size: 12px; }
  .flow-list::before { left: 22px; }
}

/* ---------- IDENTITAS LUAR ANGKASA: HALAMAN PUBLIK ---------- */
.public-home {
  --public-ink: #f0efff;
  --public-muted: #a4a8c6;
  --public-green: #8d7cff;
  --public-mint: #8d7cff;
  position: relative;
  isolation: isolate;
  color: var(--public-ink);
  background:
    radial-gradient(ellipse at 50% -18%, rgba(80, 68, 160, .24), transparent 58%),
    #080b18;
}
.public-home > .starfield {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.public-home > .starfield i {
  position: absolute;
  inset: 0;
  opacity: .3;
  animation: star-twinkle 2.4s ease-in-out infinite alternate;
  will-change: opacity;
}
.public-home > .starfield i:nth-child(1) {
  background-image:
    radial-gradient(2px 2px at 4% 12%, #f0edff 50%, transparent 100%),
    radial-gradient(1px 1px at 11% 57%, #b9c9ff 50%, transparent 100%),
    radial-gradient(2px 2px at 19% 31%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 27% 82%, #cbc2ff 50%, transparent 100%),
    radial-gradient(2px 2px at 35% 17%, #e8e4ff 50%, transparent 100%),
    radial-gradient(1px 1px at 43% 66%, #bdcaff 50%, transparent 100%),
    radial-gradient(2px 2px at 52% 39%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 61% 9%, #cbc2ff 50%, transparent 100%),
    radial-gradient(2px 2px at 69% 76%, #e8e4ff 50%, transparent 100%),
    radial-gradient(1px 1px at 77% 47%, #b9c9ff 50%, transparent 100%),
    radial-gradient(2px 2px at 86% 22%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 95% 61%, #cbc2ff 50%, transparent 100%);
  animation-delay: -.6s;
}
.public-home > .starfield i:nth-child(2) {
  background-image:
    radial-gradient(1px 1px at 7% 88%, #cbd4ff 50%, transparent 100%),
    radial-gradient(2px 2px at 15% 11%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 23% 64%, #cbc2ff 50%, transparent 100%),
    radial-gradient(2px 2px at 32% 45%, #e8e4ff 50%, transparent 100%),
    radial-gradient(1px 1px at 40% 24%, #b9c9ff 50%, transparent 100%),
    radial-gradient(2px 2px at 49% 91%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 58% 54%, #cbc2ff 50%, transparent 100%),
    radial-gradient(2px 2px at 66% 32%, #e8e4ff 50%, transparent 100%),
    radial-gradient(1px 1px at 74% 84%, #b9c9ff 50%, transparent 100%),
    radial-gradient(2px 2px at 83% 13%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 91% 72%, #cbc2ff 50%, transparent 100%),
    radial-gradient(2px 2px at 98% 38%, #e8e4ff 50%, transparent 100%);
  animation-delay: -1.7s;
  animation-duration: 3.1s;
}
.public-home > .starfield i:nth-child(3) {
  background-image:
    radial-gradient(2px 2px at 2% 42%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 10% 76%, #b9c9ff 50%, transparent 100%),
    radial-gradient(2px 2px at 21% 9%, #cbc2ff 50%, transparent 100%),
    radial-gradient(1px 1px at 29% 56%, #fff 50%, transparent 100%),
    radial-gradient(2px 2px at 38% 92%, #e8e4ff 50%, transparent 100%),
    radial-gradient(1px 1px at 47% 29%, #b9c9ff 50%, transparent 100%),
    radial-gradient(2px 2px at 55% 71%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 64% 18%, #cbc2ff 50%, transparent 100%),
    radial-gradient(2px 2px at 72% 51%, #e8e4ff 50%, transparent 100%),
    radial-gradient(1px 1px at 80% 95%, #b9c9ff 50%, transparent 100%),
    radial-gradient(2px 2px at 89% 35%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 97% 81%, #cbc2ff 50%, transparent 100%);
  animation-delay: -2.2s;
  animation-duration: 2s;
}
.public-home > .starfield i:nth-child(4) {
  background-image:
    radial-gradient(1px 1px at 5% 29%, #cbc2ff 50%, transparent 100%),
    radial-gradient(2px 2px at 13% 94%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 25% 39%, #b9c9ff 50%, transparent 100%),
    radial-gradient(2px 2px at 34% 73%, #e8e4ff 50%, transparent 100%),
    radial-gradient(1px 1px at 45% 5%, #cbc2ff 50%, transparent 100%),
    radial-gradient(2px 2px at 53% 58%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 62% 89%, #b9c9ff 50%, transparent 100%),
    radial-gradient(2px 2px at 71% 25%, #e8e4ff 50%, transparent 100%),
    radial-gradient(1px 1px at 79% 67%, #cbc2ff 50%, transparent 100%),
    radial-gradient(2px 2px at 88% 48%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 94% 7%, #b9c9ff 50%, transparent 100%);
  animation-delay: -1.1s;
  animation-duration: 3.6s;
}
.public-home > .starfield .shooting-star {
  position: absolute;
  top: 17%;
  left: 76%;
  width: 130px;
  height: 2px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(174, 193, 255, .35) 38%, #fff 100%);
  box-shadow: 0 0 8px rgba(177, 190, 255, .75);
  opacity: 0;
  transform: rotate(-32deg);
  animation: shooting-star 7s ease-in infinite;
}
.public-home > .starfield .shooting-star::after {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 3px rgba(188, 198, 255, .85);
  content: "";
}
.public-home > .starfield .shooting-star:nth-of-type(2) {
  top: 54%;
  left: 18%;
  width: 95px;
  animation-delay: 3.8s;
  animation-duration: 9s;
}
.public-home > .starfield .constellation {
  position: absolute;
  top: 16%;
  left: 8%;
  width: 145px;
  height: 112px;
  opacity: .48;
  background:
    radial-gradient(3px 3px at 5% 78%, #e5e0ff 45%, transparent 100%),
    radial-gradient(3px 3px at 32% 55%, #e5e0ff 45%, transparent 100%),
    radial-gradient(3px 3px at 55% 67%, #e5e0ff 45%, transparent 100%),
    radial-gradient(3px 3px at 73% 28%, #e5e0ff 45%, transparent 100%),
    radial-gradient(3px 3px at 95% 12%, #e5e0ff 45%, transparent 100%),
    linear-gradient(24deg, transparent 30%, rgba(166, 157, 255, .5) 30.5%, transparent 31.2%),
    linear-gradient(-8deg, transparent 43%, rgba(166, 157, 255, .45) 43.5%, transparent 44.2%),
    linear-gradient(-53deg, transparent 58%, rgba(166, 157, 255, .5) 58.5%, transparent 59.2%),
    linear-gradient(-30deg, transparent 70%, rgba(166, 157, 255, .45) 70.5%, transparent 71.2%);
  pointer-events: none;
}
@keyframes shooting-star {
  0%, 72%, 100% { opacity: 0; transform: translate3d(35px, -20px, 0) rotate(-32deg); }
  75% { opacity: 1; }
  82% { opacity: 0; transform: translate3d(-180px, 105px, 0) rotate(-32deg); }
}
@keyframes star-twinkle {
  0%, 100% { opacity: .2; }
  50% { opacity: 1; }
}
.public-home > header,
.public-home > main,
.public-home > .footer { position: relative; z-index: 1; }
.public-home::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 50% -18%, rgba(80, 68, 160, .24), transparent 58%);
  content: "";
  pointer-events: none;
}
.public-home .topbar {
  border-color: rgba(159, 157, 221, .15);
  background: rgba(8, 11, 24, .82);
  backdrop-filter: blur(14px);
}
.public-home .brand,
.public-home .footer .brand { color: #f3f1ff; }
.public-home .brand-copy small {
  color: #a9a2d4;
  letter-spacing: .1em;
}
.public-home .nav-links,
.public-home .nav-actions { color: #c1c3de; }
.public-home .nav-links a:hover,
.public-home .footer a:hover { color: #a99cff; }
.public-home .nav-links a[aria-current="page"] { color: #b6aaff; }
.public-home .button {
  border-color: rgba(191, 179, 255, .24);
  color: #fff;
  background: linear-gradient(110deg, #725fe4, #39b9b3);
  box-shadow: 0 8px 26px rgba(112, 93, 227, .2);
}
.public-home .button:hover { background: linear-gradient(110deg, #8472f0, #49cbc3); }
.public-home .eyebrow { color: #9d91ff; }
.public-home .home-hero { padding-top: 89px; }
.public-home .home-hero::before {
  top: -105px;
  width: min(1120px, 100vw);
  height: 560px;
  background: radial-gradient(ellipse, rgba(89, 72, 179, .25), rgba(33, 100, 145, .09) 40%, transparent 72%);
}
.public-home .home-hero-copy { position: relative; z-index: 1; }
.public-home .home-hero-copy .eyebrow {
  padding: 8px 13px;
  border: 1px solid rgba(157, 145, 255, .23);
  border-radius: 999px;
  background: rgba(27, 24, 58, .48);
  font-size: 10px;
  letter-spacing: .12em;
}
.public-home .home-hero-copy .eyebrow::before {
  background: #9b8cff;
  box-shadow: 0 0 14px rgba(155, 140, 255, .8);
}
.public-home .home-hero-copy h1 { color: #f1efff; }
.public-home .gradient-text { background-image: linear-gradient(100deg, #ac9dff, #63d7d1); }
.public-home .home-hero-copy > p { color: #b0b3ce; }
.public-home .hero-actions .subtle-link,
.public-home .subtle-link { color: #a99cff; }
.public-home .hero-note { color: #a7aac7; }
.public-home .avatar-stack span { border-color: #080b18; }
.public-home .avatar-stack span:first-child { background: #7262ce; }
.public-home .avatar-stack span:nth-child(2) { background: #318b99; }
.public-home .avatar-stack span:last-child { background: #ca9f73; }
.public-home .home-workspace {
  border-color: rgba(152, 144, 225, .3);
  background: linear-gradient(145deg, rgba(20, 23, 48, .98), rgba(10, 14, 30, .98));
  box-shadow: 0 35px 100px rgba(0, 0, 0, .48), 0 0 70px rgba(102, 83, 213, .13);
}
.public-home .workspace-rail {
  border-color: rgba(152, 144, 225, .18);
  background: #0b0f23;
}
.public-home .workspace-heading { border-color: rgba(152, 144, 225, .2); }
.public-home .workspace-stat b { color: #b4a5ff; }
.public-home .workspace-stat small,
.public-home .chart-column small { color: #9898b9; }
.public-home .chart-key i {
  background: #9e8cff;
  box-shadow: 0 0 10px rgba(158, 140, 255, .5);
}
.public-home .chart-plot {
  border-color: rgba(152, 144, 225, .2);
  background: linear-gradient(180deg, rgba(42, 38, 82, .25), rgba(13, 16, 36, .45));
}
.public-home .chart-column i {
  background: linear-gradient(180deg, #ab9aff, #6858ce 80%);
  box-shadow: 0 0 12px rgba(137, 116, 255, .2);
}
.public-home .chart-column.current i {
  background: linear-gradient(180deg, #d6cbff, #907cff 72%);
  box-shadow: 0 0 18px rgba(157, 137, 255, .45);
}
.public-home .workspace-footer { border-color: rgba(152, 144, 225, .2); }
.public-home .workspace-rail-line.active {
  border-color: rgba(157, 145, 255, .45);
  background: rgba(157, 145, 255, .12);
  box-shadow: inset 2px 0 #9d91ff;
}
.public-home .workspace-logo { background: linear-gradient(135deg, #8d7cff, #55d6bd); }
.public-home .workspace-avatar { color: #d3cbff; background: #29264b; }
.public-home .workspace-heading .live { color: #70dbc7; }
.public-home .workspace-heading .live i,
.public-home .workspace-footer > span:first-child i { background: #70dbc7; }
.public-home .template-badge {
  border-color: rgba(157, 145, 255, .25);
  color: #b5aaff;
  background: rgba(157, 145, 255, .08);
}
.public-home .workspace-audience > b,
.public-home .status-ready { color: #76dccc; }
.public-home .audience-icon { color: #b4aaff; background: rgba(157, 145, 255, .1); }
.public-home .status-ready i { background: #76dccc; }
.public-home .privacy-check {
  border-color: rgba(85, 214, 189, .18);
  color: #76dccc;
  background: rgba(85, 214, 189, .06);
}
.public-home .trust-strip {
  border-color: rgba(159, 157, 221, .12);
  background: rgba(13, 16, 36, .72);
}
.public-home .trust-row { color: #b0b1ce; }
.public-home .trust-row span::first-letter { color: #a99cff; }
.public-home .section.alt { background: rgba(14, 17, 38, .82); }
.public-home .section-heading h2,
.public-home .callout h2 { color: #f0efff; }
.public-home .section-heading p { color: #a4a8c6; }
.public-home .feature-board-main,
.public-home .feature-mini,
.public-home .feature-board-side,
.public-home .step,
.public-home .reason {
  border-color: rgba(157, 151, 221, .2);
  background: linear-gradient(145deg, rgba(24, 27, 55, .92), rgba(13, 17, 37, .96));
  box-shadow: 0 12px 35px rgba(0, 0, 0, .15);
}
.public-home .feature-board-copy h3,
.public-home .feature-mini h3,
.public-home .step h3,
.public-home .reason h3 { color: #eeedff; }
.public-home .feature-board-copy p,
.public-home .feature-mini p,
.public-home .step p,
.public-home .reason p { color: #a4a8c6; }
.public-home .feature-icon,
.public-home .feature-board-icon,
.public-home .reason-icon {
  color: #b1a6ff;
  background: rgba(157, 145, 255, .12);
}
.public-home .fb-kicker,
.public-home .fb-link,
.public-home .step-number,
.public-home .reason-number,
.public-home .reason-tag { color: #a99cff; }
.public-home .flow-list::before {
  background: linear-gradient(180deg, rgba(157, 145, 255, .58), rgba(157, 145, 255, .12));
}
.public-home .flow-index {
  border-color: rgba(157, 145, 255, .35);
  color: #b4aaff;
  background: #101329;
}
.public-home .flow-body p { color: #a4a8c6; }
.public-home.page-features main > #fitur,
.public-home.page-how-it-works main > #alur,
.public-home.page-safe-messaging main > #aman { background: transparent; }
.public-home.page-safe-messaging main > #aman .reason p { color: #a4a8c6; }
.public-home.page-safe-messaging main > #aman .reason:hover {
  border-color: rgba(157, 145, 255, .4);
  background: linear-gradient(145deg, #1a1b3b, #12152c);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .25), 0 0 24px rgba(157, 145, 255, .08);
}
.public-home.page-safe-messaging main > #aman .reason:hover .reason-icon {
  border-color: rgba(157, 145, 255, .3);
  background: rgba(157, 145, 255, .16);
}
.public-home .callout {
  border-color: rgba(160, 148, 255, .25);
  background:
    radial-gradient(ellipse at 50% 120%, rgba(87, 190, 201, .12), transparent 56%),
    radial-gradient(ellipse at 50% 0, rgba(114, 94, 226, .18), transparent 68%),
    #11142c;
}
.public-home .footer {
  border-color: rgba(159, 157, 221, .15);
  color: #a4a8c6;
  background: rgba(7, 9, 20, .92);
}
.public-home .footer .brand-copy small { color: #a9a2d4; }
.public-home .footer-links a,
.public-home .footer-nav-group a { color: #a4a8c6; }
.public-home .footer-nav-group strong { color: #f0efff; }
.public-home .footer-bottom { border-color: rgba(159, 157, 221, .15); }
.public-home .brand-copy { display: grid; }
@media (max-width: 600px) {
  .public-home .home-hero { padding-top: 58px; }
  .public-home > .starfield .constellation {
    top: 14%;
    left: 3%;
    width: 100px;
    height: 78px;
    opacity: .28;
  }
  .public-home .home-hero-copy .eyebrow { font-size: 8px; letter-spacing: .09em; }
  .public-home .brand { gap: 7px; }
  .public-home .brand-copy small { font-size: 8px; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  .public-home > .starfield i { animation: none; opacity: .75; }
  .public-home > .starfield .shooting-star,
  .public-home .workspace-heading .live i { animation: none; }
}

/* Sign-in and portal screens follow the public dashboard's purple space palette. */
body:has(.auth-wrap) .topbar,
.admin-login-topbar {
  border-color: rgba(159, 157, 221, .15);
  background: #0b1020;
}
body:has(.auth-wrap) .topbar .brand-mark,
.admin-login-topbar .brand-mark {
  border-radius: 0;
  background: #0f1411;
}
body:has(.auth-wrap) .topbar .brand-copy,
.admin-login-topbar .brand-copy { color: #f3f5fb; }
body:has(.auth-wrap) .topbar .brand-copy small,
.admin-login-topbar .brand-copy small { color: #a4a8c6; }

.auth-wrap.auth-split {
  width: min(1240px, 100%);
  min-height: calc(100vh - 78px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  margin: 0 auto;
  padding: 58px clamp(24px, 5vw, 72px);
  background:
    radial-gradient(1px 1px at 16% 18%, rgba(255, 255, 255, .65) .6px, transparent 1px),
    radial-gradient(1px 1px at 74% 32%, rgba(182, 170, 255, .6) .6px, transparent 1px),
    radial-gradient(ellipse at 18% 52%, rgba(114, 94, 226, .18), transparent 44%),
    radial-gradient(ellipse at 86% 9%, rgba(85, 214, 189, .08), transparent 38%),
    #0b1020;
  background-size: 170px 150px, 230px 190px, auto, auto, auto;
}
.auth-intro {
  display: grid;
  justify-items: start;
  max-width: 620px;
  text-align: left;
}
.auth-intro-kicker { color: #a99cff; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.auth-intro h1 {
  margin: 18px 0 13px;
  color: #f3f5fb;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.auth-intro h1 span {
  background: linear-gradient(100deg, #a99cff, #71cce0);
  background-clip: text;
  color: transparent;
}
.auth-intro > p { max-width: 470px; margin: 0; color: #a4a8c6; font-size: 14px; }
.auth-intro-points, .admin-login-points { display: grid; gap: 11px; margin-top: 30px; color: #c6c9df; font-size: 12px; }
.auth-intro-points span, .admin-login-points span { display: flex; align-items: center; gap: 12px; }
.auth-intro-points b, .admin-login-points b { color: #a99cff; font-size: 10px; }

.auth-card, .admin-login-card {
  width: 100%;
  padding: 34px;
  border: 1px solid rgba(159, 157, 221, .22);
  border-top: 3px solid #9b84ff;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(24, 27, 55, .96), rgba(13, 17, 37, .98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.auth-card h1, .admin-login-card h2 {
  color: #f3f5fb;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -.035em;
}
.auth-card > p, .admin-login-card > p { color: #a4a8c6; }
.auth-card .eyebrow.mini, .admin-login-kicker { color: #a99cff; }
.auth-card .field label, .admin-login-card .field label { color: #c4c6de; }
.auth-card .field input, .admin-login-card .field input {
  border-color: #36325a;
  border-radius: 10px;
  color: #f3f5fb;
  background: #0d1023;
}
.auth-card .field input:focus, .admin-login-card .field input:focus { border-color: #a99cff; }
.auth-card .button, .admin-login-card .button {
  border-radius: 10px;
  color: #101629;
  background: linear-gradient(110deg, #9b84ff, #55d6bd);
}
.auth-card .button:hover, .admin-login-card .button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.auth-card .text-button, .admin-login-back { color: #a99cff; }
.auth-card .notice { border-radius: 9px; }
.admin-login-layout {
  background:
    radial-gradient(1px 1px at 16% 18%, rgba(255, 255, 255, .65) .6px, transparent 1px),
    radial-gradient(1px 1px at 74% 32%, rgba(182, 170, 255, .6) .6px, transparent 1px),
    radial-gradient(ellipse at 18% 52%, rgba(114, 94, 226, .18), transparent 44%),
    radial-gradient(ellipse at 86% 9%, rgba(85, 214, 189, .08), transparent 38%),
    #0b1020;
  background-size: 170px 150px, 230px 190px, auto, auto, auto;
}
.admin-login-intro h1 { font-family: Manrope, "Segoe UI", sans-serif; font-weight: 700; letter-spacing: -.045em; }
.admin-login-intro h1 span {
  background: linear-gradient(100deg, #a99cff, #71cce0);
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.admin-login-secure { border-color: rgba(159, 157, 221, .2); border-radius: 999px; color: #a4a8c6; }
.admin-login-back:hover { color: #71cce0; }

.user-shell, .admin-shell {
  color: #f3f5fb;
  background:
    radial-gradient(1px 1px at 16% 18%, rgba(255, 255, 255, .45) .6px, transparent 1px),
    radial-gradient(1px 1px at 74% 32%, rgba(182, 170, 255, .4) .6px, transparent 1px),
    radial-gradient(ellipse at 84% 0, rgba(114, 94, 226, .12), transparent 42%),
    #0b1020;
  background-size: 170px 150px, 230px 190px, auto, auto;
}
.user-shell {
  --ux-bg: #0b1020;
  --ux-surface: #121a2d;
  --ux-line: #27334c;
  --ux-ink: #f3f5fb;
  --ux-muted: #a4a8c6;
  --ux-green: #55d6bd;
  --ux-green-soft: #1b2039;
}
.admin-shell {
  --admin-bg: #0b1020;
  --admin-surface: #121a2d;
  --admin-line: #27334c;
  --admin-ink: #f3f5fb;
  --admin-muted: #a4a8c6;
  --adm-accent: #a99cff;
}
.user-shell .sidebar, .admin-sidebar {
  border-color: #27334c;
  background: rgba(11, 16, 32, .96);
}
.user-shell .side-label, .admin-sidebar .side-label,
.user-shell .user-meta small, .admin-sidebar .user-meta small { color: #a4a8c6; }
.user-shell .side-link, .admin-sidebar .side-link { color: #c4c6de; }
.user-shell .side-link.active, .user-shell .side-link:hover,
.admin-sidebar .side-link.active, .admin-sidebar .side-link:hover {
  border-color: rgba(169, 156, 255, .4);
  color: #f3f5fb;
  background: rgba(147, 133, 255, .12);
}
.user-shell .side-link.active::before { background: #a99cff; }
.user-shell .brand-mark, .admin-sidebar .brand-mark {
  border-radius: 0;
  background: #0f1411;
}
.user-shell .brand-copy, .admin-sidebar .brand-copy,
.user-shell .user-meta, .admin-sidebar .user-meta { color: #f3f5fb; }
.user-shell .sidebar-bottom, .admin-sidebar .sidebar-bottom { border-color: #27334c; }
.user-shell .user-avatar { color: #101629; background: #9385ff; }
.admin-sidebar .user-avatar { color: #101629; background: #a99cff; }
.user-shell .button.ghost, .admin-sidebar .button.ghost {
  border-color: #36325a;
  color: #c4c6de;
}
.user-shell .user-welcome {
  border-color: #36325a;
  background:
    radial-gradient(ellipse at 90% 0, rgba(114, 94, 226, .18), transparent 48%),
    linear-gradient(145deg, #151a34, #121a2d);
}
.user-shell .user-welcome-eyebrow, .user-shell .user-step-card b,
.user-shell .user-content .eyebrow { color: #a99cff; }
.user-shell .user-welcome h1, .user-shell .stat-card strong,
.user-shell .user-section-heading h2, .user-shell .user-content .main-head h1 {
  color: #f3f5fb;
}
.user-shell .user-welcome p, .user-shell .stat-card span,
.user-shell .user-step-card small, .user-shell .user-content .main-head p { color: #a4a8c6; }
.user-shell .user-welcome-actions .button,
.user-shell .user-content .button:not(.ghost),
.admin-content .button:not(.ghost) {
  border-color: transparent;
  color: #101629;
  background: linear-gradient(110deg, #9b84ff, #55d6bd);
}
.user-shell .user-welcome-actions .button:hover,
.user-shell .user-content .button:not(.ghost):hover,
.admin-content .button:not(.ghost):hover { filter: brightness(1.08); }
.user-shell .user-welcome-actions .button.ghost { border-color: #36325a; color: #f3f5fb; }
.user-shell .stat-grid, .user-shell .user-step-grid { border-color: #27334c; }
.user-shell .stat-card, .user-shell .user-step-card,
.user-content .panel, .admin-content .panel,
.admin-content .stat-card, .admin-content .admin-tools,
.admin-content .admin-action, .admin-content .admin-system-card {
  border-color: #27334c;
  color: #f3f5fb;
  background: #121a2d;
}
.user-shell .user-step-card:hover, .admin-content .admin-action:hover { background: #1a2039; }
.user-shell .user-step-card strong, .admin-content .admin-section-heading h2,
.admin-content .panel h2, .admin-content .admin-system-card h2 { color: #f3f5fb; }
.user-shell .user-step-icon, .admin-action-icon, .admin-system-icon {
  border-color: rgba(169, 156, 255, .25);
  color: #a99cff;
  background: rgba(147, 133, 255, .1);
}
.user-content .panel-head, .admin-content .panel-head { background: #0e1526; }
.user-content .panel h2, .admin-content .panel h2 { color: #f3f5fb; }
.user-content .panel-subtitle, .admin-content .panel-subtitle,
.admin-content .muted, .admin-content .empty { color: #a4a8c6; }
.user-content th, .admin-content th { border-color: #36325a; color: #a4a8c6; }
.user-content td, .admin-content td {
  border-color: rgba(54, 50, 90, .72);
  color: #d3d9e6;
}
.user-content .field label, .admin-content .field label { color: #c4c6de; }
.user-content .field input, .user-content .field select, .user-content .field textarea,
.user-content .inline-input, .admin-content .field input, .admin-content .field select,
.admin-content .field textarea, .admin-content .inline-input,
.user-content .contact-choice, .admin-content .contact-choice {
  border-color: #36325a;
  color: #f3f5fb;
  background: #0d1023;
}
.user-content .field input:focus, .user-content .field select:focus,
.user-content .field textarea:focus, .user-content .inline-input:focus,
.admin-content .field input:focus, .admin-content .field select:focus,
.admin-content .field textarea:focus, .admin-content .inline-input:focus { border-color: #a99cff; }
.user-content .contact-choice:has(input:checked),
.admin-content .contact-choice:has(input:checked) {
  border-color: #a99cff;
  background: rgba(147, 133, 255, .12);
}
.admin-topbar { border-color: #27334c; background: #121a2d; }
.admin-topbar strong, .admin-content .main-head h1 { color: #f3f5fb; }
.admin-kicker, .admin-role-badge, .admin-content .main-head p { color: #a4a8c6; }
.admin-content .eyebrow, .admin-content .subtle-link { color: #a99cff; }
.admin-content .admin-system-card { border-left-color: #a99cff; }
.admin-content .admin-system-card p, .admin-action small { color: #a4a8c6; }
.user-shell .status-pill:not(.warning), .admin-content .status-pill:not(.warning) {
  border-color: rgba(85, 214, 189, .4);
  color: #55d6bd;
  background: rgba(85, 214, 189, .08);
}
.user-shell .status-pill.warning, .admin-content .status-pill.warning {
  border-color: rgba(242, 197, 120, .35);
  color: #f2c578;
  background: rgba(242, 197, 120, .08);
}
body:has(.auth-wrap), body:has(.admin-login-layout) { background: #0b1020; }
.auth-wrap { background: #0b1020; }

@media (max-width: 760px) {
  .auth-wrap.auth-split {
    min-height: calc(100vh - 68px);
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 30px;
    padding: 40px 22px 56px;
  }
  .auth-intro { width: min(520px, 100%); }
  .auth-intro h1 { font-size: clamp(36px, 8vw, 48px); }
  .auth-intro-points, .admin-login-points { display: none; }
  .auth-card, .admin-login-card { width: min(440px, 100%); padding: 28px 24px; }
}
@media (max-width: 480px) {
  .auth-wrap.auth-split { padding: 32px 16px 48px; }
  .auth-card, .admin-login-card { padding: 24px 20px; }
  .auth-intro h1 { font-size: 35px; }
}
