/* Portal Internal Ahsana Travel — navy & emas, nyaman di desktop maupun ponsel. */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/poppins-regular.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-medium.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('/assets/fonts/poppins-bold.woff') format('woff'); }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/lora-variable.woff') format('woff'); }

:root {
  --navy-950: #020F2B; --navy-900: #04193F; --navy-800: #0A2656; --navy-700: #133A73; --navy-600: #1D4A8C; --navy-100: #E4EAF4; --navy-50: #F1F4FA;
  --gold-700: #86641A; --gold-600: #B38A2E; --gold-500: #D6AE4B; --gold-400: #E8C565; --gold-100: #F8EFD6; --gold-50: #FCF8EC;
  --bg: #F4F5F7; --paper: #fff; --ink: #172030; --ink-2: #3A4556; --muted: #5F6B7D; --line: #DFE3EA; --line-soft: #ECEFF3;
  --ok: #17703F; --ok-bg: #E6F4EC; --warn: #8A5100; --warn-bg: #FFF3DA; --bad: #B42318; --bad-bg: #FDECEA; --info: #1D4F91; --info-bg: #E7EFFA;
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Lora', Georgia, serif;
  --side-w: 262px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 14.5px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-700); }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0 0 .75em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }
code { background: var(--navy-50); padding: 1px 6px; border-radius: 6px; word-break: break-all; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 10px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 10px; }
.icon { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.plain { list-style: none; }
.ok-text { color: var(--ok); } .bad-text { color: var(--bad); } .warn-text { color: var(--warn); }

/* ---------- Kerangka ---------- */
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 60; width: var(--side-w); background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #C8D2E1; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .2s ease; }
body.nav-open .sidebar { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, .35); }
body.nav-open::after { content: ''; position: fixed; inset: 0; z-index: 55; background: rgba(2, 15, 43, .45); }
.main { min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }
@media (min-width: 1100px) {
  .sidebar { transform: none; }
  .main { margin-left: var(--side-w); }
  .menu-btn { display: none !important; }
  body.nav-open::after { display: none; }
}
.brand { display: flex; align-items: center; gap: 12px; padding: 18px 18px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.brand img { width: 54px; height: auto; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.12rem; letter-spacing: .01em; }
.brand small { display: block; font-size: .66rem; color: var(--gold-400); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.nav { flex: 1; overflow-y: auto; padding: 6px 10px 20px; scrollbar-width: thin; }
.nav__group { margin-top: 8px; }
.nav__title { margin: 12px 10px 4px; font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: #8193AE; font-weight: 600; }
.nav ul { list-style: none; display: grid; gap: 1px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; color: #C8D2E1; text-decoration: none; font-size: .9rem; }
.nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav a[aria-current="page"] { background: linear-gradient(90deg, rgba(214, 174, 75, .22), rgba(214, 174, 75, .06)); color: #fff; box-shadow: inset 3px 0 0 var(--gold-500); }
.nav a[aria-current="page"] .icon { color: var(--gold-400); }
.nav .icon { width: 17px; height: 17px; opacity: .9; }
.nav__count { margin-left: auto; background: var(--gold-500); color: var(--navy-950); font-size: .7rem; border-radius: 999px; padding: 1px 8px; font-weight: 700; }

.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 22px; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); min-height: 60px; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.topbar__title { flex: 1; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy-700); text-decoration: underline; }
.crumbs > * + *::before { content: '›'; margin-right: 6px; color: #A5AEBB; }
.userbox { display: flex; align-items: center; gap: 8px; }
.userbox__me { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); padding: 4px 8px; border-radius: 10px; }
.userbox__me:hover { background: var(--navy-50); }
.userbox__me strong { display: block; font-size: .86rem; line-height: 1.2; }
.userbox__me small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.2; }
@media (max-width: 640px) { .userbox__me span, .userbox form span { display: none; } .topbar { padding: 8px 14px; } }
.env-banner { background: repeating-linear-gradient(45deg, var(--gold-100), var(--gold-100) 12px, var(--gold-50) 12px, var(--gold-50) 24px); color: var(--gold-700); text-align: center; font-size: .8rem; padding: 5px 12px; border-bottom: 1px solid #EBD9A6; }
.content { width: 100%; max-width: 1240px; margin: 0 auto; padding: 22px 22px 60px; }
.content--wide { max-width: 1480px; }
@media (max-width: 640px) { .content { padding: 16px 14px 48px; } }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.page-head h1 { font-family: var(--serif); font-size: 1.6rem; color: var(--navy-900); }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 16px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: .88rem; text-decoration: none; cursor: pointer; line-height: 1.2; white-space: nowrap; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--navy-700); }
.btn--gold { background: var(--gold-500); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-400); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--navy-600); color: var(--navy-800); }
.btn--danger { background: #fff; color: var(--bad); border-color: #F1C4BE; }
.btn--danger:hover { background: var(--bad-bg); }
.btn--success { background: var(--ok); color: #fff; }
.btn--sm { min-height: 32px; padding: 5px 11px; font-size: .8rem; border-radius: 8px; }
.btn--lg { min-height: 50px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn .icon { width: 16px; height: 16px; }

/* ---------- Kartu & statistik ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; min-width: 0; }
.card__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.card__title { font-size: 1rem; color: var(--navy-900); }
.card__sub { margin: 2px 0 0; color: var(--muted); font-size: .82rem; }
.card__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.card__body { padding: 16px 18px; }
.card__body > :last-child { margin-bottom: 0; }
.cols { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.cols-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); margin-bottom: 18px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: inherit; box-shadow: var(--shadow); min-width: 0; }
a.stat:hover { border-color: var(--navy-600); }
.stat__label { font-size: .78rem; color: var(--muted); }
.stat__value { font-size: 1.35rem; color: var(--navy-900); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat__hint { font-size: .76rem; color: var(--muted); }
.stat--gold { background: linear-gradient(135deg, var(--gold-50), #fff); border-color: #EBD9A6; }
.stat--danger { background: var(--bad-bg); border-color: #F1C4BE; }
.stat--danger .stat__value { color: var(--bad); }
.stat--warning { background: var(--warn-bg); border-color: #F2D49B; }
.stat--success { background: var(--ok-bg); border-color: #BFE3CD; }

/* ---------- Tabel ---------- */
.tbl-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.card .tbl-wrap { border-radius: var(--radius-sm); }
.tbl { width: 100%; border-collapse: collapse; font-size: .86rem; }
.tbl th { text-align: left; font-weight: 600; font-size: .74rem; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); background: #FAFBFC; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #FBFCFE; }
.tbl td.actions { white-space: nowrap; text-align: right; }
.tbl td.actions > * { display: inline-flex; margin-left: 4px; vertical-align: middle; }
/* Sel aksi berisi lebih dari satu formulir: susun ke bawah agar tidak melebar keluar tabel. */
.tbl td.actions--stack { white-space: normal; min-width: 16rem; }
.tbl td.actions--stack > * { display: flex; justify-content: flex-end; margin: 0 0 6px; }
.tbl td.actions--stack > *:last-child { margin-bottom: 0; }
.tbl .num, .tbl th.num { text-align: right; }
.tbl tfoot td { font-weight: 700; background: #FAFBFC; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .tbl--stack thead { display: none; }
  .tbl--stack tr { display: block; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
  .tbl--stack td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border: 0; }
  .tbl--stack td::before { content: attr(data-label); font-size: .74rem; color: var(--muted); font-weight: 600; }
  .tbl--stack td.actions { justify-content: flex-end; }
  .tbl--stack td.actions::before { content: none; }
  .tbl--stack td.actions--stack { flex-direction: column; align-items: flex-end; min-width: 0; }
}
.empty { padding: 26px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-sm); background: #FCFCFD; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; font-size: .84rem; color: var(--muted); }

/* ---------- Lencana ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; line-height: 1.5; white-space: nowrap; border: 1px solid transparent; }
.badge--neutral { background: #EEF0F3; color: var(--ink-2); }
.badge--info { background: var(--info-bg); color: var(--info); }
.badge--success { background: var(--ok-bg); color: var(--ok); }
.badge--warning { background: var(--warn-bg); color: var(--warn); }
.badge--danger { background: var(--bad-bg); color: var(--bad); }
.badge--gold { background: var(--gold-100); color: var(--gold-700); }
.badge--navy { background: var(--navy-100); color: var(--navy-800); }

/* ---------- Pemberitahuan ---------- */
.notice { padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid; margin-bottom: 16px; font-size: .88rem; }
.notice ul { margin: 6px 0 0 18px; }
.notice--info { background: var(--info-bg); border-color: #C7D8F0; color: #173F75; }
.notice--success { background: var(--ok-bg); border-color: #BFE3CD; color: #115A32; }
.notice--warning { background: var(--warn-bg); border-color: #F2D49B; color: #6E4100; }
.notice--danger { background: var(--bad-bg); border-color: #F1C4BE; color: #8F1C13; }
.sim-label { padding: 12px 14px; margin-bottom: 14px; border-radius: var(--radius-sm); border: 2px dashed var(--gold-600); background: var(--gold-50); color: #5B420F; font-size: .88rem; }
.sim-label strong { letter-spacing: .08em; color: var(--gold-700); }
.locked { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); background: #F3F4F6; border: 1px solid var(--line); color: var(--ink-2); font-size: .86rem; margin-bottom: 14px; }

/* ---------- Formulir ---------- */
.form { display: grid; gap: 14px; }
.form-inline { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label { font-weight: 600; font-size: .83rem; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 40px; padding: 8px 11px; border: 1px solid #CDD3DC; border-radius: 9px; background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(29, 74, 140, .14); outline: 0; }
.field select[multiple] { min-height: 120px; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--bad); }
.hint { margin: 0; font-size: .78rem; color: var(--muted); }
.error { margin: 0; font-size: .8rem; color: var(--bad); font-weight: 500; }
.req { color: var(--bad); }
.grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; cursor: pointer; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--navy-800); flex: none; }
.check--confirm { padding: 10px 12px; background: var(--warn-bg); border: 1px solid #F2D49B; border-radius: 9px; }
.check--tiny { font-size: .76rem; gap: 4px; }
.check--tiny input { width: 14px; height: 14px; margin-top: 2px; }
.checks { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 12px 14px; margin-bottom: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.filters .field { min-width: 150px; flex: 1 1 150px; gap: 3px; }
.filters .field label { font-size: .74rem; }
.filters .field input, .filters .field select { min-height: 36px; padding: 6px 9px; }
.filters__actions { display: flex; gap: 6px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin: 0; min-width: 0; }
legend { font-weight: 600; font-size: .85rem; padding: 0 6px; color: var(--navy-800); }
.lines-table input, .lines-table select { width: 100%; min-height: 36px; padding: 6px 8px; border: 1px solid #CDD3DC; border-radius: 8px; background: #fff; }
.journal-total { font-weight: 600; color: var(--bad); font-size: .86rem; }
.journal-total.ok { color: var(--ok); }

/* ---------- Daftar definisi & tab ---------- */
.dl { display: grid; gap: 0; margin: 0; }
.dl > div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.dl > div:last-child { border-bottom: 0; }
.dl dt { color: var(--muted); font-size: .82rem; }
.dl dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs a { padding: 9px 14px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .86rem; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--navy-800); border-bottom-color: var(--gold-500); }

/* ---------- Pipeline ---------- */
.pipeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.stage { background: #EEF1F5; border-radius: var(--radius-sm); padding: 10px; min-height: 120px; }
.stage__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 600; font-size: .82rem; color: var(--navy-800); }
.stage__head span { background: #fff; border-radius: 999px; padding: 0 8px; font-size: .74rem; }
.deal { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; margin-bottom: 8px; text-decoration: none; color: inherit; font-size: .84rem; box-shadow: var(--shadow); }
.deal:hover { border-color: var(--navy-600); }
.deal strong { display: block; color: var(--navy-900); }
.deal small { display: block; color: var(--muted); }

/* ---------- Linimasa & lain-lain ---------- */
.timeline { list-style: none; display: grid; gap: 10px; }
.timeline li { position: relative; padding-left: 18px; }
.timeline li::before { content: ''; position: absolute; left: 3px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.timeline .meta { font-size: .76rem; color: var(--muted); }
.progress { height: 10px; background: #E9ECF1; border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-700), var(--navy-600)); border-radius: 999px; }
.progress--gold > span { background: linear-gradient(90deg, var(--gold-600), var(--gold-400)); }
.secret-box { display: flex; gap: 8px; align-items: stretch; }
.secret-box input { flex: 1; min-width: 0; font-family: ui-monospace, Menlo, monospace; font-size: .8rem; padding: 8px 10px; border: 1px solid #CDD3DC; border-radius: 9px; background: var(--gold-50); }
details.help { margin-top: 14px; font-size: .86rem; color: var(--muted); }
details.help summary { cursor: pointer; font-weight: 600; color: var(--navy-700); }
.steps { margin: 0 0 16px 20px; display: grid; gap: 4px; font-size: .9rem; }
.chart { width: 100%; height: auto; }
.chart text { font-family: var(--sans); font-size: 11px; fill: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--ink-2); margin-top: 6px; }
.legend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.kv-inline { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--muted); }
.kv-inline strong { color: var(--ink); }
hr.sep { border: 0; border-top: 1px solid var(--line-soft); margin: 14px 0; }
.error-page { text-align: center; padding: 24px 10px; }
.error-page__code { font-family: var(--serif); font-size: 3rem; color: var(--gold-600); margin: 0; }
.error-page__actions { margin-top: 18px; }
.webauthn-status { min-height: 1.2em; margin: 10px 0 0; font-size: .86rem; color: var(--ink-2); text-align: center; }
.webauthn-status.error { color: var(--bad); }

/* ---------- Halaman masuk ---------- */
body.bare { min-height: 100vh; background: radial-gradient(1200px 600px at 20% -10%, var(--navy-700), transparent), linear-gradient(160deg, var(--navy-900), var(--navy-950)); }
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 16px; gap: 18px; }
.auth__brand img { width: 150px; height: auto; }
.auth__card { width: 100%; max-width: 440px; background: #fff; border-radius: 18px; padding: 26px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); border-top: 4px solid var(--gold-500); }
.auth__card h1 { font-family: var(--serif); font-size: 1.45rem; color: var(--navy-900); margin-bottom: 8px; }
.auth__foot { color: #9FB0C8; font-size: .78rem; text-align: center; max-width: 440px; }
.auth__foot strong { color: var(--gold-400); }

@media print {
  .sidebar, .topbar, .page-head__actions, .env-banner, .btn, form.filters { display: none !important; }
  .main { margin: 0 !important; }
  body { background: #fff; }
  .card { box-shadow: none; break-inside: avoid; }
}

/* ---------- Grafik simulasi & input kecil ---------- */
.simchart { position: relative; margin: 0 0 14px; }
.simchart .legend span { display: inline-flex; align-items: center; gap: 6px; }
.simchart .legend svg { display: inline-block; }
.simchart .chart { max-width: 100%; height: auto; touch-action: none; }
.simchart .chart .endlabel { fill: var(--ink-2); font-size: 11px; }
.simchart__tip { position: absolute; z-index: 5; min-width: 200px; max-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(16, 24, 40, .14); padding: 8px 10px; font-size: .8rem; pointer-events: none; }
.simchart__tip strong { display: block; margin-bottom: 4px; color: var(--navy-900); }
.simchart__tip div { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.simchart__tip svg { display: inline-block; flex: none; }
.input-inline { min-height: 32px; padding: 5px 9px; border: 1px solid #CDD3DC; border-radius: 8px; font-size: .8rem; background: #fff; max-width: 100%; }
.card--gold { border-color: #EBD9A6; background: linear-gradient(135deg, var(--gold-50), #fff); }
