/* Inaportnet Tools — gaya aplikasi.
   Arah desain: peta laut. Latar kabut laut yang lembut, panel gelap dengan garis kontur kedalaman,
   satu warna sinyal (oranye pelampung) hanya untuk aksi utama dan penanda aktif. */
:root, html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef2f1; --surface: #ffffff; --surface-2: #f3f6f6;
  --ink: #1b2a30; --muted: #64757c; --line: #e0e7e7;
  --sea: #1f7f8c; --sea-ink: #ffffff; --sea-soft: rgba(31,127,140,.09);
  --brand: #17727f; --brand-2: #2a9aa0;
  --signal: #e4673e; --signal-ink: #fff4ef; --on-accent: #ffffff;
  --ok: #23845a; --warn: #b8741c; --err: #c8473c; --info: #17727f;
  --log-bg: #0f181c; --log-ink: #cfdade;
  --r-lg: 24px; --r-md: 15px; --r-sm: 11px;
  --shadow: 0 1px 2px rgba(16,40,48,.04), 0 12px 32px -20px rgba(16,40,48,.28);
  --shadow-lg: 0 26px 60px -30px rgba(16,40,48,.38);
  --app-glow-1: rgba(42,154,160,.16); --app-glow-2: rgba(228,103,62,.08);
  --font: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --contours: url("contours.svg");
  --card: var(--surface);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111719; --surface: #182024; --surface-2: #1e272c;
  --ink: #dde4e7; --muted: #92a1a8; --line: #29343a;
  --sea: #237f8c; --sea-ink: #e9f0f1; --sea-soft: rgba(111,195,200,.11);
  --brand: #72c6cb; --brand-2: #4fb0b0;
  --signal: #ee7a52; --signal-ink: #fff4ef; --on-accent: #eef4f5;
  --ok: #65c193; --warn: #e3a65e; --err: #ef8a7f; --info: #72c6cb;
  --log-bg: #0a0f11; --log-ink: #c3ced4;
  --shadow: 0 1px 0 rgba(255,255,255,.02) inset, 0 14px 32px -18px rgba(0,0,0,.65);
  --shadow-lg: 0 26px 60px -26px rgba(0,0,0,.75);
  --app-glow-1: rgba(35,127,140,.16); --app-glow-2: rgba(238,122,82,.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); transition: background-color .25s, color .25s; color: var(--ink); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.2; }
code { font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; font-size: .9em; background: var(--sea-soft); padding: 1px 7px; border-radius: 7px; }
small { font-size: 12.5px; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.ic { flex: none; vertical-align: -3px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }

/* ---------- form ---------- */
.form { display: grid; gap: 16px; }
.form label, .filters label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.form label.check, label.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=date], input:not([type]), select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px;
  background: var(--surface-2); color: var(--ink); font: inherit; font-weight: 400; transition: border-color .15s, box-shadow .15s, background .15s;
}
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
input[type=checkbox], input[type=radio] { accent-color: var(--sea); width: 17px; height: 17px; }
select option { color: var(--ink); background: var(--surface); }
input.otp { font: 600 26px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .35em; text-align: center; padding: 14px; }
.hint { color: var(--muted); font-size: 13px; margin: 0; }
.form + .hint.center, .form ~ p.hint { margin-top: 16px; }
.form.inline { grid-template-columns: minmax(180px, 280px) auto; align-items: end; }
.form.row3 { grid-template-columns: repeat(3, 1fr); align-items: end; }
fieldset.roles { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; background: var(--surface-2); }
fieldset.roles legend { font-size: 13.5px; font-weight: 600; padding: 0 6px; }

/* ---------- tombol ---------- */
.btn {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer;
  background: var(--surface); color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; justify-content: center;
  transition: transform .12s, box-shadow .15s, background .15s, border-color .15s;
}
.btn:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); box-shadow: 0 6px 16px -8px rgba(11,79,96,.4); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.primary { background: var(--sea); color: var(--on-accent); border-color: transparent; }
.btn.primary:hover { background: color-mix(in srgb, var(--sea) 88%, #fff); }
.btn.signal { background: var(--signal); color: var(--signal-ink); border-color: transparent; }
.btn.signal:hover { background: color-mix(in srgb, var(--signal) 90%, #fff); box-shadow: 0 10px 22px -10px rgba(255,106,61,.8); }
.btn.danger { color: var(--err); }
.btn.danger:hover { border-color: var(--err); box-shadow: none; }
.btn.sm { padding: 5px 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; padding: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
form.inl { display: inline; margin: 0; }
.acts { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- pesan & lencana ---------- */
.alert { padding: 12px 16px; border-radius: 14px; margin-bottom: 16px; font-size: 14px; background: var(--sea-soft); border: 1px solid transparent; }
.alert.ok { background: color-mix(in srgb, var(--ok) 11%, var(--surface)); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.alert.err { background: color-mix(in srgb, var(--err) 10%, var(--surface)); color: var(--err); border-color: color-mix(in srgb, var(--err) 25%, transparent); }
.alert.warn { background: color-mix(in srgb, var(--warn) 12%, var(--surface)); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 28%, transparent); }
.alert.info { color: var(--info); }
.alert code.tmp { font-size: 16px; user-select: all; background: var(--surface); color: var(--ink); padding: 4px 10px; border: 1px solid var(--line); border-radius: 9px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--muted) 14%, transparent); color: var(--muted); }
.badge.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.badge.err { background: color-mix(in srgb, var(--err) 13%, transparent); color: var(--err); }
.badge.warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.badge.info { background: var(--sea-soft); color: var(--brand); }

/* ---------- halaman masuk: gelap, sunyi, tanpa penjelasan ---------- */
body.auth {
  --ink: #e4f1f3; --muted: #7d98a3; --line: rgba(190,235,240,.2); --surface: rgba(255,255,255,.04); --surface-2: rgba(255,255,255,.05);
  --brand: #7fd6dc; --sea-soft: rgba(127,214,220,.1); --err: #ff8b7e; --ok: #6fd7a6; --warn: #f3b25f;
  min-height: 100vh; margin: 0; background: #04090c; color: var(--ink); overflow-x: hidden;
}
.auth-bg { position: fixed; inset: -10%; z-index: 0; background: var(--contours) center / cover no-repeat; opacity: .9; animation: drift 90s ease-in-out infinite alternate; }
.auth-veil { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 46%, rgba(4,9,12,.05) 0%, rgba(4,9,12,.78) 70%, #04090c 100%); }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2.5%, 1.5%); } }
.auth-main { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; padding: 32px 24px; }
.auth-card { width: 100%; max-width: 320px; }
.auth-card.wide { max-width: 410px; }
.beacon { position: relative; width: 12px; height: 12px; margin: 0 auto 46px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 22px 4px rgba(255,106,61,.55); }
.beacon::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(255,106,61,.5); animation: ping 3.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.55); opacity: .9; } 70%, 100% { transform: scale(2.4); opacity: 0; } }
.auth-card h1 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.03em; }
.auth-sub { color: var(--muted); margin: 0 0 24px; font-size: 14.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.auth-card .form { gap: 22px; }
.auth-card .form input:not([type=checkbox]) { border-radius: 0; background: transparent; box-shadow: none; }
.auth-card .form.bare input { border: 0; border-bottom: 1px solid var(--line); padding: 12px 2px; font-size: 17px; letter-spacing: .02em; color: var(--ink); text-align: center; transition: border-color .25s; }
.auth-card .form.bare input::placeholder { color: rgba(190,235,240,.32); letter-spacing: .14em; font-size: 13px; }
.auth-card .form.bare input:hover { border-color: rgba(190,235,240,.4); }
.auth-card .form.bare input:focus { border-color: var(--signal); box-shadow: 0 1px 0 0 var(--signal); background: transparent; }
.auth-card .form.bare input.otp { font-size: 26px; letter-spacing: .5em; padding-left: .5em; }
.auth-card .form.bare input:-webkit-autofill { -webkit-text-fill-color: var(--ink); transition: background-color 9999s; }
.go { justify-self: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(190,235,240,.3); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; margin-top: 8px; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.go:hover, .go:focus-visible { background: var(--signal); border-color: var(--signal); color: var(--on-accent); box-shadow: 0 0 28px -4px rgba(255,106,61,.8); transform: translateY(-2px); }
.auth-card .alert { background: transparent; border: 0; padding: 0; margin: 0 0 18px; text-align: center; font-size: 13.5px; color: var(--err); animation: shake .4s; }
.auth-card .alert.ok, .auth-card .alert.warn { color: var(--muted); }
@keyframes shake { 20% { transform: translateX(-5px); } 60% { transform: translateX(5px); } 100% { transform: none; } }
.quiet { display: flex; justify-content: center; gap: 18px; margin-top: 30px; font-size: 12.5px; }
.auth-card .quiet a { color: rgba(190,235,240,.38); text-decoration: none; transition: color .2s; }
.auth-card .quiet a:hover, .auth-card .quiet a:focus-visible { color: var(--ink); }
/* halaman aktivasi (butuh petunjuk): tetap gelap tetapi memakai teks */
.auth-card:not(.bare-card) .form input:not([type=checkbox]) { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.auth-card:not(.bare-card) .btn.primary { background: var(--signal); }
.auth-card .btn { background: transparent; color: var(--ink); border-color: var(--line); }
.auth-card .btn.primary { color: var(--on-accent); border-color: transparent; }
.auth-card a { color: var(--brand); }
.auth-card .hint { color: var(--muted); }
.auth-card .hint.center { margin-top: 18px; }
.sb-logo { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--on-accent); background: var(--sea); flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.sb-logo svg { width: 22px; height: 22px; }
.qrbox { display: grid; place-items: center; margin: 4px 0 16px; }
.qrbox canvas { background: #e8edef; filter: brightness(.94); border-radius: 18px; padding: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 100%; height: auto; }
details.manual { margin-bottom: 16px; font-size: 14px; }
details.manual summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.key { display: block; font-size: 15px; letter-spacing: .06em; padding: 10px 12px; word-break: break-all; user-select: all; margin: 8px 0; border-radius: 10px; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 16px; }
.codes code { text-align: center; padding: 10px; font-size: 15px; letter-spacing: .05em; border: 1px dashed var(--line); background: var(--surface-2); border-radius: 11px; }
.row { display: flex; gap: 8px; margin-bottom: 16px; }

/* ---------- kerangka ---------- */
.shell { display: flex; gap: 16px; padding: 16px; min-height: 100vh; }
.side {
  width: 256px; flex: none; position: sticky; top: 16px; height: calc(100vh - 32px);
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.sb-brand { display: flex; gap: 12px; align-items: center; padding: 20px 18px 14px; text-decoration: none; color: var(--ink); }
.sb-brand b { display: block; line-height: 1.2; font-size: 15.5px; letter-spacing: -.01em; }
.sb-brand small { color: var(--muted); }
.sb-nav { flex: 1; overflow-y: auto; padding: 6px 12px; display: grid; align-content: start; gap: 4px; }
.nav-link, .nav-group summary {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 13px; color: var(--muted);
  text-decoration: none; cursor: pointer; font-weight: 600; list-style: none; transition: background .15s, color .15s;
}
.nav-group summary::-webkit-details-marker { display: none; }
.nav-link:hover, .nav-group summary:hover { background: var(--sea-soft); color: var(--ink); }
.nav-link.on { background: var(--sea); color: var(--on-accent); }
.nav-link.on::after { content: ""; flex: none; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(255,106,61,.25); }
.nav-group summary span { flex: 1; }
.nav-group .chev { display: inline-flex; transition: transform .18s; opacity: .6; }
.nav-group[open] .chev { transform: rotate(90deg); }
.nav-group[open] > summary { color: var(--ink); }
.nav-sub { display: grid; gap: 3px; margin: 4px 0 6px 20px; padding-left: 12px; border-left: 2px solid var(--line); }
.nav-sub .nav-link { font-size: 14px; padding: 8px 12px; font-weight: 500; }
.nav-sub .nav-link.on { font-weight: 600; }
.sb-foot { padding: 14px 20px; font-size: 12.5px; color: var(--muted); }
.side { transition: width .24s ease, margin .24s ease, opacity .18s ease, border-width .24s; overflow: hidden; }
.side > * { min-width: 254px; }
html.side-collapsed .side { width: 0; margin-right: -16px; opacity: 0; border-width: 0; pointer-events: none; }
.main { flex: 1; min-width: 0; }
.topbar {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 20px; margin-bottom: 20px; position: sticky; top: 16px; z-index: 20;
  background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.tb-title { font-weight: 700; font-size: 17px; letter-spacing: -.01em; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.burger { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; border-radius: 12px; flex: none; transition: background .15s, border-color .15s; }
.burger:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); background: var(--sea-soft); }
.usermenu { position: relative; }
.usermenu summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 10px 4px 4px; border-radius: 999px; transition: background .15s; }
.usermenu summary:hover { background: var(--sea-soft); }
.usermenu summary::-webkit-details-marker { display: none; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--on-accent); font-weight: 700; background: var(--sea); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px color-mix(in srgb, var(--signal) 70%, transparent); }
.who { display: grid; line-height: 1.25; }
.who b { font-size: 14px; }
.who small { color: var(--muted); }
.um-pop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 6px; display: grid; }
.um-pop a, .um-out { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 11px; color: var(--ink); text-decoration: none; border: 0; background: transparent; font: inherit; font-weight: 500; cursor: pointer; width: 100%; text-align: left; }
.um-pop a:hover, .um-out:hover { background: var(--sea-soft); }
.um-pop form { margin: 0; }
.content { max-width: 1480px; padding: 0 2px 24px; }
.scrim { display: none; }

/* ---------- kartu & tata letak ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card h2 { margin: 0 0 6px; font-size: 18px; }
.card .sub { color: var(--muted); margin: 0 0 16px; font-size: 14.5px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; margin-bottom: 18px; }
.grid2 > .card { margin-bottom: 0; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 14px; margin: 14px 0 0; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; align-items: end; }
.filters .actions { grid-column: 1 / -1; }

/* ---------- dashboard ---------- */
.welcome {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap;
  padding: 32px 34px; margin-bottom: 18px; border-radius: 26px; color: #d3dfe2;
  background: radial-gradient(110% 120% at 90% 0%, #14697c 0%, transparent 62%), linear-gradient(160deg, #0b4f60 0%, #072c38 100%);
  box-shadow: var(--shadow-lg);
}
.welcome::before { content: ""; position: absolute; inset: 0; background: var(--contours) 70% 30% / 130% auto no-repeat; opacity: .85; }
.welcome > * { position: relative; }
.welcome h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.welcome p { margin: 6px 0 0; color: #9db4ba; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); }
.stat span { display: block; color: var(--muted); font-size: 14px; font-weight: 500; }
.stat b { display: block; font-size: 34px; line-height: 1.15; letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.dbars { display: flex; gap: 8px; align-items: flex-end; height: 170px; padding-top: 10px; }
.dbar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.dbar i { display: block; width: 100%; max-width: 38px; border-radius: 10px; background: var(--sea); min-height: 4px; opacity: .88; transition: opacity .15s; }
.dbar:hover i { opacity: 1; background: var(--signal); }
.dbar span { font-size: 12px; color: var(--muted); }

/* ---------- tabel ---------- */
.tablewrap { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 12px; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); vertical-align: top; }
.tbl tbody tr { transition: background .12s; }
.tbl tbody tr:hover { background: var(--sea-soft); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl.compact td, .tbl.compact th { padding: 8px 10px; }
.tbl tr.off { opacity: .5; }
.indent { color: var(--muted); margin-left: 10px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.pg { min-width: 38px; text-align: center; padding: 7px 12px; border: 1px solid var(--line); border-radius: 11px; text-decoration: none; color: var(--ink); background: var(--surface); font-weight: 600; }
.pg.on { background: var(--sea); border-color: var(--sea); color: var(--on-accent); }
.pg.dis { opacity: .45; }
.footnote { text-align: center; color: var(--muted); font-size: 13px; margin: 28px 0 4px; }

/* ---------- responsif ---------- */
@media (max-width: 960px) {
  .grid2, .form.row3, .form.inline { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .shell { padding: 10px; gap: 0; }
  .side { position: fixed; left: 10px; top: 10px; bottom: 10px; height: auto; z-index: 40; transform: translateX(calc(-100% - 20px)); transition: transform .22s ease; box-shadow: var(--shadow-lg); }
  html.side-collapsed .side { width: 256px; margin-right: 0; opacity: 1; border-width: 1px; pointer-events: auto; }
  body.side-open .side { transform: none; }
  body.side-open .scrim { display: block; position: fixed; inset: 0; background: rgba(6,24,32,.5); backdrop-filter: blur(2px); z-index: 30; }
  .topbar { top: 10px; padding: 8px 10px; }
  .who { display: none; }
  .welcome { padding: 24px 22px; border-radius: 22px; }
  .card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- cari data kapal ---------- */
.with-ic { display: flex; align-items: center; gap: 10px; }
.kfilter { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; margin-top: 14px; }
.kfilter label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.kfilter .btn { height: 46px; }
.khead { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.khead h2 { margin: 0; }
.kmeta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.kper { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.kper select { width: auto; padding: 6px 28px 6px 10px; border-radius: 10px; }
.ktable { max-height: 68vh; overflow: auto; border: 1px solid var(--line); border-radius: 16px; margin: 0; padding: 0; }
.kt { font-size: 14px; }
.kt th { position: sticky; top: 0; z-index: 1; background: var(--surface-2); color: var(--ink); text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.kt td { padding: 11px 14px; white-space: nowrap; }
.kt td.num { text-align: right; font-variant-numeric: tabular-nums; }
.kempty { padding: 44px 20px; text-align: center; color: var(--muted); }
#kResult.loading .ktable { opacity: .5; transition: opacity .15s; pointer-events: none; }
button.pg { font: inherit; font-weight: 600; cursor: pointer; }
button.pg:hover { border-color: var(--brand); }
@media (max-width: 820px) { .kfilter { grid-template-columns: 1fr; } }
.kt th { text-align: center; font-weight: 700; line-height: 1.25; background: #2f3d4c; color: #eef2f5; border-right: 1px solid rgba(255,255,255,.08); }
.kt th:nth-child(3), .kt th:nth-child(4), .kt th:last-child { white-space: normal; }
.kt th.kz, .kt td.kz { width: 64px; padding: 8px 6px; text-align: center; }
.kzoom { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.kzoom:hover, .kzoom:focus-visible { border-color: var(--sea); color: var(--signal); }
.kmodal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.62); display: grid; place-items: center; padding: 16px; }
.kbox { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; width: min(760px, 100%); max-height: 88vh; overflow: auto; padding: 22px; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.kboxh { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.kboxh h3 { margin: 0 0 2px; font-size: 18px; }
.kdl { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.kdl dt, .kdl dd { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.kdl dt { color: var(--muted); font-weight: 600; background: var(--surface-2); }
.kdl dt.ex { font-style: italic; }
@media (max-width: 560px) { .kdl { grid-template-columns: 1fr; } .kdl dt { border-bottom: 0; padding-bottom: 2px; } }

/* ---------- cari buku pelaut ---------- */
.pfilter { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 14px; align-items: end; margin-top: 14px; }
.pfilter label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.pfilter .btn { height: 46px; }
.kt.pt td.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.pst { font-weight: 600; }
.pst.ok { color: var(--ok); } .pst.warn { color: var(--warn); } .pst.off { color: var(--muted); }
.pnote { font-size: 12.5px; margin: 14px 2px 0; }
@media (max-width: 1100px) { .pfilter { grid-template-columns: 1fr 1fr; } .pfilter .btn { grid-column: 1 / -1; } }
@media (max-width: 560px) { .pfilter { grid-template-columns: 1fr; } }

/* ---------- dashboard: kartu alat & aktivitas ---------- */
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 18px; }
.tool { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.tool:hover, .tool:focus-visible { border-color: var(--sea); transform: translateY(-2px); }
.tool-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--sea); color: var(--on-accent); }
.tool-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tool-body b { font-size: 15px; line-height: 1.25; }
.tool-body small { color: var(--muted); font-size: 12.5px; }
.tool-n { text-align: right; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.tool-n small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 4px; }
h3.sub { font-size: 14px; color: var(--muted); font-weight: 600; margin: 22px 0 10px; }
.tbars { display: grid; gap: 10px; }
.tbar { display: grid; grid-template-columns: minmax(120px, 230px) 1fr minmax(110px, auto); gap: 14px; align-items: center; font-size: 14px; }
.tbar-track { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.tbar-track i { display: block; height: 100%; background: var(--sea); border-radius: 99px; }
.tbar em { font-style: normal; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.tbar em small { font-weight: 400; color: var(--muted); }
.srcline { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0; font-size: 14px; }
.warn-t { color: var(--warn); }
@media (max-width: 640px) { .tbar { grid-template-columns: 1fr; gap: 4px; } .tbar em { text-align: left; } }
.sum { display: flex; gap: 38px; flex-wrap: wrap; margin-bottom: 8px; }
.sum b { display: block; font-size: 30px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.sum span { color: var(--muted); font-size: 13.5px; }
.feed { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 0; }
.feed li { display: flex; gap: 14px; align-items: baseline; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.feed li:last-child { border-bottom: 0; }
.feed-t { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; min-width: 88px; }

/* ---------- halaman masuk v2: misterius tapi hidup ---------- */
.sb-logo svg { width: 26px; height: 26px; }
.auth-glow { position: fixed; inset: -30%; z-index: 0; pointer-events: none; filter: blur(60px); opacity: .55;
  background: radial-gradient(28% 24% at 38% 44%, rgba(31,110,124,.55), transparent 70%),
              radial-gradient(22% 20% at 64% 58%, rgba(238,122,82,.22), transparent 70%);
  animation: aurora 26s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(3%, -2%) rotate(8deg); } 100% { transform: translate(-3%, 2%) rotate(-6deg); } }
.auth-grain { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.auth-bare .auth-card { max-width: 340px; padding: 40px 34px 34px; border-radius: 28px; position: relative;
  background: linear-gradient(160deg, rgba(18,26,30,.62), rgba(8,13,16,.5));
  border: 1px solid rgba(190,235,240,.09); box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.auth-bare .auth-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(127,214,220,.35), transparent 35%, transparent 65%, rgba(238,122,82,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.sigil { position: relative; width: 104px; height: 104px; margin: 0 auto 18px; display: grid; place-items: center; }
.sigil .mark { width: 58px; height: 58px; color: #cfe9ec; filter: drop-shadow(0 0 18px rgba(127,214,220,.35)); animation: breathe 5s ease-in-out infinite; }
.sigil .mark svg { width: 100%; height: 100%; display: block; }
.sigil .orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(127,214,220,.28); animation: spin 38s linear infinite; }
.sigil .orbit.o2 { inset: 10px; border: 1px solid transparent; border-top-color: rgba(238,122,82,.75); border-right-color: rgba(238,122,82,.18); animation-duration: 7s; }
.sigil .orbit.o2::after { content: ""; position: absolute; top: 7px; right: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px 2px rgba(238,122,82,.8); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .82; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
.cipher { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 30px; font: 500 11px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .22em; color: rgba(190,235,240,.38); }
.cipher i { width: 22px; height: 1px; background: linear-gradient(90deg, transparent, rgba(238,122,82,.7), transparent); }
.auth-bare .form.bare input { text-align: left; padding-left: 4px; }
.auth-bare .form.bare input::placeholder { letter-spacing: .3em; text-transform: uppercase; font-size: 11px; }
.auth-bare .form.bare input.otp { text-align: center; }
.auth-bare .go { margin-top: 14px; width: 56px; height: 56px; position: relative; }
.auth-bare .go::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(238,122,82,.0); transition: border-color .3s, inset .3s; }
.auth-bare .go:hover::before, .auth-bare .go:focus-visible::before { border-color: rgba(238,122,82,.45); inset: -9px; }
.auth-foot { position: fixed; left: 0; right: 0; bottom: 18px; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 12px;
  font: 500 11px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .2em; color: rgba(190,235,240,.28); }
.auth-foot .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(111,215,166,.7); box-shadow: 0 0 8px rgba(111,215,166,.8); animation: breathe 2.4s ease-in-out infinite; }
.auth:not(.auth-bare) .sigil { width: 70px; height: 70px; margin-bottom: 26px; }
.auth:not(.auth-bare) .sigil .mark { width: 38px; height: 38px; }
@media (max-width: 420px) { .auth-bare .auth-card { padding: 34px 22px 28px; } }
@media (prefers-reduced-motion: reduce) {
  .auth-bg, .auth-glow, .sigil .orbit, .sigil .mark, .auth-bare .auth-card, .auth-foot .dot { animation: none !important; }
}


/* ---------- tema terang/gelap & tampilan lebih lembut ---------- */
body.app { background:
  radial-gradient(900px 520px at 100% -10%, var(--app-glow-1), transparent 70%),
  radial-gradient(700px 480px at -10% 110%, var(--app-glow-2), transparent 70%), var(--bg); background-attachment: fixed; }
.side { background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.card, .stat, .tool { transition: box-shadow .2s, transform .2s, border-color .2s, background-color .25s; }
.card:hover { box-shadow: var(--shadow-lg); }
.nav-link, .nav-group summary { border-radius: 14px; }
.nav-link.on { background: linear-gradient(135deg, var(--sea), color-mix(in srgb, var(--sea) 70%, var(--brand-2))); box-shadow: 0 10px 22px -14px var(--sea); }
.tool-ic { background: linear-gradient(135deg, var(--sea), color-mix(in srgb, var(--sea) 65%, var(--brand-2))); }
html[data-theme="light"] .welcome, :root:not([data-theme]) .welcome { box-shadow: 0 24px 50px -28px rgba(15,80,95,.55); }
.theme-tg { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; cursor: pointer; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); transition: background .15s, border-color .15s, transform .2s; }
.theme-tg:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); background: var(--sea-soft); }
.theme-tg:active { transform: rotate(-20deg) scale(.95); }
.theme-tg .moon, html[data-theme="dark"] .theme-tg .sun { display: none; }
html[data-theme="dark"] .theme-tg .moon { display: block; }
html[data-theme="light"] .kt th, :root:not([data-theme]) .kt th { background: #2f4652; }
html[data-theme="light"] .qrbox canvas { filter: none; background: #fff; }

/* ---------- halaman masuk v3: ruang arsip barbershop (tetap misterius) ---------- */
body.auth {
  --ink: #efe4d2; --muted: #a8977f; --line: rgba(239,228,210,.18); --brand: #d8b57a; --sea-soft: rgba(216,181,122,.1);
  --signal: #c9a46a; --on-accent: #1a120d; --err: #f08d78; --ok: #9fcf9a; --warn: #e8b86a;
  --brass: #c9a46a; --oxblood: #8e2f2a; --navy: #1f3b57; --cream: #efe4d2;
  background: #120d0a; color: var(--ink);
}
body.auth .auth-bg { background: url("barber-pattern.svg") 0 0 / 300px 300px repeat; opacity: .085; inset: -320px; animation: slide 120s linear infinite; }
@keyframes slide { to { transform: translate(300px, 300px); } }
body.auth .auth-glow { opacity: .9; filter: blur(70px);
  background: radial-gradient(26% 30% at 50% 38%, rgba(201,164,106,.24), transparent 70%),
              radial-gradient(18% 22% at 30% 70%, rgba(142,47,42,.22), transparent 70%),
              radial-gradient(18% 22% at 72% 68%, rgba(31,59,87,.28), transparent 70%); }
body.auth .auth-veil { background: radial-gradient(55% 60% at 50% 42%, rgba(18,13,10,0) 0%, rgba(18,13,10,.7) 65%, #0b0806 100%); }
body.auth .auth-grain { opacity: .1; }
.auth-bare .auth-card { background: linear-gradient(165deg, rgba(36,26,20,.72), rgba(16,11,8,.62)); border-color: rgba(201,164,106,.14); padding-top: 34px; overflow: hidden; }
.auth-bare .auth-card::before { background: linear-gradient(150deg, rgba(201,164,106,.55), transparent 30%, transparent 70%, rgba(142,47,42,.45)); }
.pole { height: 6px; margin: -34px -34px 30px; opacity: .9;
  background: repeating-linear-gradient(-45deg, var(--oxblood) 0 10px, var(--cream) 10px 20px, var(--navy) 20px 30px, var(--cream) 30px 40px);
  background-size: 56.57px 6px; animation: pole 2.6s linear infinite; box-shadow: 0 6px 18px -6px rgba(142,47,42,.6); }
@keyframes pole { to { background-position: 56.57px 0; } }
@media (max-width: 420px) { .pole { margin: -34px -22px 26px; } }
.auth-bare .sigil { width: 128px; height: 128px; margin-bottom: 14px; }
.sigil .ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 60s linear infinite; }
.sigil .ring text { fill: rgba(216,181,122,.62); font: 600 9.2px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 1.6px; }
body.auth .sigil .orbit { border-color: rgba(201,164,106,.25); }
body.auth .sigil .orbit.o2 { inset: 22px; border-top-color: rgba(201,164,106,.8); border-right-color: rgba(201,164,106,.15); }
body.auth .sigil .orbit.o2::after { background: var(--oxblood); box-shadow: 0 0 12px 2px rgba(220,80,70,.7); top: 6px; right: 8px; }
body.auth .sigil .mark { color: var(--cream); filter: drop-shadow(0 0 16px rgba(201,164,106,.35)); width: 52px; height: 52px; }
.auth-bare .cipher { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; color: rgba(216,181,122,.6); font-style: italic; }
.auth-bare .cipher i { background: linear-gradient(90deg, transparent, rgba(201,164,106,.8), transparent); width: 28px; }
body.auth .form.bare input { border-bottom-color: rgba(239,228,210,.16); }
body.auth .form.bare input::placeholder { color: rgba(239,228,210,.34); }
body.auth .form.bare input:focus { border-color: var(--brass); box-shadow: 0 1px 0 0 var(--brass); }
body.auth .go { border-color: rgba(201,164,106,.4); color: var(--cream); }
body.auth .go:hover, body.auth .go:focus-visible { background: var(--brass); border-color: var(--brass); color: #1a120d; box-shadow: 0 0 28px -4px rgba(201,164,106,.75); transform: translateY(-2px) rotate(-12deg); }
.auth-bare .go::before { border-color: transparent; }
.auth-bare .go:hover::before, .auth-bare .go:focus-visible::before { border-color: rgba(201,164,106,.45); }
body.auth .auth-foot { color: rgba(216,181,122,.34); }
body.auth .auth-foot .dot { background: #c9a46a; box-shadow: 0 0 8px rgba(201,164,106,.9); }
body.auth:not(.auth-bare) .auth-card { background: rgba(28,20,15,.7); border: 1px solid rgba(201,164,106,.14); border-radius: 24px; padding: 30px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body.auth:not(.auth-bare) .btn.primary { background: var(--brass); color: #1a120d; }
@media (prefers-reduced-motion: reduce) { .pole, .sigil .ring { animation: none !important; } }
/* tema terang: banner sambutan lebih cerah */
html[data-theme="light"] .welcome, html[data-theme="light"] .ipn .ipn-hero {
  color: #ffffff;
  background: radial-gradient(90% 140% at 95% -10%, rgba(255,255,255,.22) 0%, transparent 55%), linear-gradient(135deg, #2397a2 0%, #1d7a8c 55%, #22607e 100%);
}
html[data-theme="light"] .welcome p, html[data-theme="light"] .ipn .ipn-hero p { color: rgba(255,255,255,.82); }
html[data-theme="light"] .welcome::before, html[data-theme="light"] .ipn .ipn-hero::before { opacity: .5; }

/* ---------- halaman masuk v4: barbershop, latar terang lembut ---------- */
body.auth {
  color-scheme: light;
  --ink: #2b2018; --muted: #8a7663; --line: rgba(60,40,25,.16); --brand: #8e5f2a; --sea-soft: rgba(168,131,74,.12);
  --signal: #a8834a; --on-accent: #fffaf2; --err: #b33a2e; --ok: #3d7f4f; --warn: #a66a12;
  --brass: #a8834a; --oxblood: #9a3a33; --navy: #2a4a6b; --cream: #fbf6ee;
  background: #f4ece1; color: var(--ink);
}
body.auth .auth-bg { opacity: .2; }
body.auth .auth-glow { opacity: .8; filter: blur(80px);
  background: radial-gradient(30% 32% at 50% 36%, rgba(255,255,255,.95), transparent 70%),
              radial-gradient(22% 26% at 26% 72%, rgba(154,58,51,.10), transparent 70%),
              radial-gradient(22% 26% at 76% 70%, rgba(42,74,107,.12), transparent 70%); }
body.auth .auth-veil { background: radial-gradient(60% 65% at 50% 42%, rgba(244,236,225,0) 0%, rgba(244,236,225,.55) 70%, #ece1d1 100%); }
body.auth .auth-grain { opacity: .05; mix-blend-mode: multiply; }
.auth-bare .auth-card { background: linear-gradient(170deg, rgba(255,252,247,.86), rgba(250,244,235,.78)); border-color: rgba(120,90,60,.14);
  box-shadow: 0 40px 90px -45px rgba(90,60,30,.45), 0 2px 0 rgba(255,255,255,.7) inset; }
.auth-bare .auth-card::before { background: linear-gradient(150deg, rgba(168,131,74,.55), transparent 30%, transparent 70%, rgba(154,58,51,.35)); }
.pole { box-shadow: 0 6px 16px -8px rgba(154,58,51,.45); }
.sigil .ring text { fill: #8a6a3e; }
body.auth .sigil .orbit { border-color: rgba(168,131,74,.35); }
body.auth .sigil .orbit.o2 { border-top-color: rgba(168,131,74,.9); border-right-color: rgba(168,131,74,.2); }
body.auth .sigil .orbit.o2::after { background: var(--oxblood); box-shadow: 0 0 10px 1px rgba(154,58,51,.5); }
body.auth .sigil .mark { color: #2b2018; filter: drop-shadow(0 6px 10px rgba(90,60,30,.18)); }
.auth-bare .cipher { color: #9a7a4d; }
.auth-bare .cipher i { background: linear-gradient(90deg, transparent, rgba(168,131,74,.9), transparent); }
body.auth .form.bare input { color: var(--ink); border-bottom-color: rgba(60,40,25,.2); }
body.auth .form.bare input::placeholder { color: rgba(60,40,25,.42); }
body.auth .form.bare input:hover { border-color: rgba(60,40,25,.35); }
body.auth .form.bare input:focus { border-color: var(--brass); box-shadow: 0 1px 0 0 var(--brass); }
body.auth .form.bare input:-webkit-autofill { -webkit-text-fill-color: var(--ink); }
body.auth .go { border-color: rgba(168,131,74,.55); color: #6b4a22; background: rgba(255,255,255,.5); }
body.auth .go:hover, body.auth .go:focus-visible { background: var(--brass); border-color: var(--brass); color: #fffaf2; box-shadow: 0 12px 26px -10px rgba(168,131,74,.8); }
.auth-note { margin: 22px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
body.auth .auth-foot { color: rgba(90,65,40,.5); }
body.auth .auth-foot .dot { background: #3d9a5b; box-shadow: 0 0 8px rgba(61,154,91,.7); }
body.auth .auth-card .alert { color: var(--err); }
body.auth .auth-card .alert.ok, body.auth .auth-card .alert.warn { color: var(--muted); }
body.auth .auth-card .quiet a { color: rgba(60,40,25,.45); }
body.auth .auth-card .quiet a:hover { color: var(--ink); }
body.auth:not(.auth-bare) .auth-card { background: rgba(255,252,247,.88); border-color: rgba(120,90,60,.14); box-shadow: 0 30px 70px -40px rgba(90,60,30,.4); }
body.auth:not(.auth-bare) .form input:not([type=checkbox]) { background: #fff; color: var(--ink); }
body.auth:not(.auth-bare) .btn.primary { background: var(--brass); color: #fffaf2; }
body.auth .btn { color: var(--ink); }
body.auth .qrbox canvas { filter: none; background: #fff; }
@media (max-width: 420px) { .auth-foot { letter-spacing: .08em; font-size: 10.5px; gap: 8px; } }
