/* ClassyID AI Gateway — design system (terinspirasi gaya aiport.id: krem hangat + aksen coral) */
:root {
    --bg-canvas: #faf7f2;
    --bg-paper: #ffffff;
    --bg-quiet: #f4efe6;
    --border: #e2dcd0;
    --border-soft: #efeae2;
    --fg: #0f1419;
    --fg-2: #4a5360;
    --fg-3: #6b7480;
    --accent: #ff6b47;
    --accent-hover: #e8542f;
    --accent-press: #c13f1f;
    --accent-soft: #fff1ec;
    --accent-fg: #e8542f;
    --success-bg: #e3f1e8; --success-fg: #1f6435;
    --warn-bg: #fbeedc;    --warn-fg: #8c5208;
    --error-bg: #fbe3de;   --error-fg: #8c2814;
    --info-bg: #dde8f4;    --info-fg: #1f4a8c;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(15, 20, 25, .04);
    --shadow-md: 0 4px 16px rgba(15, 20, 25, .06);
    --shadow-lg: 0 20px 50px rgba(15, 20, 25, .14);
    --ease-out: cubic-bezier(.32, .72, 0, 1);
    --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    background: var(--bg-canvas);
    color: var(--fg);
    font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--accent-soft); color: var(--accent-press); }
code, pre, kbd, .mono { font-family: var(--font-mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[x-cloak], .hidden-important { display: none !important; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-fg);
    font-weight: 500;
}
.muted { color: var(--fg-2); }
.subtle { color: var(--fg-3); }
.page-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.section-title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 40px; padding: 0 1rem;
    border-radius: 10px; border: 1px solid transparent;
    font-size: .875rem; font-weight: 600; line-height: 1;
    white-space: nowrap; cursor: pointer; user-select: none;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(255, 107, 71, .7); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-press); }
.btn-secondary { background: var(--bg-paper); color: var(--fg); border-color: var(--border); }
.btn-secondary:hover { border-color: #cfc7b8; background: #fffdfa; }
.btn-ghost { background: transparent; color: var(--fg-2); }
.btn-ghost:hover { background: var(--bg-quiet); color: var(--fg); }
.btn-danger { background: var(--bg-paper); color: var(--error-fg); border-color: #f0c9c0; }
.btn-danger:hover { background: var(--error-bg); }
.btn-lg { min-height: 48px; padding: 0 1.375rem; font-size: .9375rem; border-radius: 12px; }
.btn-sm { min-height: 32px; padding: 0 .75rem; font-size: .8125rem; border-radius: 8px; }
.btn-block { width: 100%; }
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 9px;
    color: var(--fg-3); background: transparent; border: 1px solid transparent;
    transition: background-color .15s, color .15s, border-color .15s;
}
.icon-btn:hover { background: var(--bg-quiet); color: var(--fg); }
.icon-btn.danger:hover { background: var(--error-bg); color: var(--error-fg); }

/* ---------- Cards ---------- */
.card {
    background: var(--bg-paper);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.card-pad { padding: 1.25rem; }
@media (min-width: 768px) { .card-pad { padding: 1.5rem; } }
.card-header {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-soft);
}
@media (min-width: 768px) { .card-header { padding: 1.125rem 1.5rem; } }
.card-hover { transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out); }
.card-hover:hover { border-color: var(--border); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.stat-card { padding: 1.125rem 1.25rem; }
.stat-label { font-size: .75rem; color: var(--fg-3); font-weight: 500; display: flex; align-items: center; gap: .5rem; }
.stat-value { font-size: clamp(1.25rem, .9rem + 1.6vw, 1.625rem); overflow-wrap: anywhere; font-weight: 700; letter-spacing: -.02em; margin-top: .375rem; line-height: 1.1; }
.stat-icon {
    width: 28px; height: 28px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center; font-size: .8125rem;
    background: var(--accent-soft); color: var(--accent-fg);
}

/* ---------- Forms ---------- */
.label { display: block; font-size: .8125rem; font-weight: 600; color: var(--fg); margin-bottom: .375rem; }
.hint { font-size: .75rem; color: var(--fg-3); margin-top: .375rem; line-height: 1.45; }
.input, .select, .textarea {
    width: 100%; min-height: 44px;
    background: var(--bg-paper); color: var(--fg);
    border: 1px solid var(--border); border-radius: 10px;
    padding: .625rem .875rem; font-size: 1rem; /* 16px: cegah auto-zoom iOS */
    transition: border-color .15s, box-shadow .15s;
}
@media (min-width: 768px) { .input, .select, .textarea { font-size: .9375rem; } }
.input::placeholder, .textarea::placeholder { color: #9aa2ab; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 107, 71, .16); }
.input:disabled, .select:disabled { background: var(--bg-quiet); color: var(--fg-3); }
.select {
    appearance: none; -webkit-appearance: none; padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7480' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .875rem center;
}
.textarea { resize: vertical; line-height: 1.5; }
.input-group { position: relative; }
.input-group .input { padding-left: 2.5rem; }
.input-group > .input-icon { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); color: var(--fg-3); font-size: .875rem; pointer-events: none; }
.input-group > .input-action { position: absolute; right: .375rem; top: 50%; transform: translateY(-50%); }
.check { display: flex; align-items: flex-start; gap: .625rem; cursor: pointer; font-size: .875rem; color: var(--fg); }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; }
.check-list { border: 1px solid var(--border); border-radius: 10px; max-height: 180px; overflow-y: auto; background: var(--bg-paper); }
.check-list .check { padding: .625rem .875rem; border-bottom: 1px solid var(--border-soft); }
.check-list .check:last-child { border-bottom: 0; }

/* Kartu pilihan (radio) — mis. strategi pengiriman routing */
.choice-grid { display: grid; grid-template-columns: 1fr; gap: .5rem; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; display: flex; align-items: flex-start; gap: .625rem; padding: .75rem .875rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-paper); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.choice:hover { border-color: #d3cbbd; }
.choice input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; }
.choice-title { display: block; font-size: .875rem; font-weight: 600; color: var(--fg); }
.choice-desc { display: block; font-size: .75rem; line-height: 1.45; color: var(--fg-3); margin-top: .2rem; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(255, 107, 71, .12); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.check-list .check:hover { background: #fffaf6; }

/* ---------- Badges & chips ---------- */
.badge {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .1875rem .5rem; border-radius: 999px;
    font-size: .6875rem; font-weight: 600; line-height: 1.3; white-space: nowrap;
    background: var(--bg-quiet); color: var(--fg-2);
}
.badge-accent { background: var(--accent-soft); color: var(--accent-fg); }
.badge-success { background: var(--success-bg); color: var(--success-fg); }
.badge-warn { background: var(--warn-bg); color: var(--warn-fg); }
.badge-error { background: var(--error-bg); color: var(--error-fg); }
.badge-info { background: var(--info-bg); color: var(--info-fg); }
.badge-mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: .02em; }
.chip {
    display: inline-flex; align-items: center; gap: .375rem;
    padding: .375rem .75rem; border-radius: 8px;
    background: var(--bg-paper); border: 1px solid var(--border);
    font-size: .8125rem; font-weight: 500; color: var(--fg);
}
.dot { width: 7px; height: 7px; border-radius: 999px; background: #2f9e5a; display: inline-block; flex-shrink: 0; }
.dot-accent { background: var(--accent); }
.dot-pulse { box-shadow: 0 0 0 0 rgba(47, 158, 90, .5); animation: dotpulse 2s infinite; }
@keyframes dotpulse { 0% { box-shadow: 0 0 0 0 rgba(47, 158, 90, .45); } 70% { box-shadow: 0 0 0 7px rgba(47, 158, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 158, 90, 0); } }

.code-inline {
    font-family: var(--font-mono); font-size: .8125em;
    background: var(--bg-quiet); border: 1px solid var(--border-soft);
    padding: .0625rem .375rem; border-radius: 6px; color: var(--fg);
}
.code-block {
    font-family: var(--font-mono); font-size: .8125rem; line-height: 1.65;
    background: #0f1419; color: #e6e1d8; border-radius: 12px;
    padding: 1rem 1.125rem; overflow-x: auto; white-space: pre;
}
.code-block .c { color: #7d8794; }
.code-block .s { color: #ffb59f; }
.code-block .k { color: #ff8a6b; }

/* ---------- Tables (berubah jadi kartu di mobile) ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.table thead th {
    text-align: left; font-weight: 500; font-size: .75rem; color: var(--fg-3);
    padding: .75rem 1.25rem; background: #fcfaf6; border-bottom: 1px solid var(--border-soft); white-space: nowrap;
}
.table thead th.text-right { text-align: right; }
.table tbody td { padding: .875rem 1.25rem; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fffcf8; }
.table .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
    .table-stack thead { display: none; }
    .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
    .table-stack tr { padding: .875rem 1rem; border-bottom: 1px solid var(--border-soft); }
    .table-stack tbody tr:last-child { border-bottom: 0; }
    .table.table-stack tbody tr:hover td { background: transparent; }
    .table.table-stack tbody td { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .3125rem 0; border: 0; text-align: right; }
    .table.table-stack tbody td::before { content: attr(data-label); font-family: "Geist", ui-sans-serif, system-ui, sans-serif; color: var(--fg-3); font-size: .75rem; font-weight: 500; text-align: left; flex-shrink: 0; }
    .table.table-stack tbody td.cell-title { display: block; text-align: left; padding-bottom: .5rem; }
    .table.table-stack tbody td.cell-title::before { display: none; }
    .table.table-stack tbody td.cell-actions { justify-content: flex-end; padding-top: .5rem; }
    .table.table-stack tbody td.cell-actions::before { display: none; }
    .table.table-stack tbody td.cell-empty { display: block; text-align: center; }
    .table.table-stack tbody td.hidden { display: none; }
    /* Sel berisi daftar panjang: label di atas, isi selebar kartu */
    .table.table-stack tbody td.cell-block { display: block; text-align: left; }
    .table.table-stack tbody td.cell-block::before { display: block; margin-bottom: .375rem; }
    .table.table-stack tbody td.cell-empty::before { display: none; }
}

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 2.5rem 1.25rem; color: var(--fg-3); font-size: .875rem; }
.empty i { font-size: 1.5rem; color: #c9c0b0; margin-bottom: .75rem; display: block; }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: .875rem 1rem; border-radius: 12px; font-size: .875rem; line-height: 1.5; }
.alert-error { background: var(--error-bg); color: var(--error-fg); }
.alert-success { background: var(--success-bg); color: var(--success-fg); }
.alert-info { background: var(--info-bg); color: var(--info-fg); }
.alert-warn { background: var(--warn-bg); color: var(--warn-fg); }

/* ---------- Tabs (segmented) ---------- */
.segmented { display: flex; padding: 4px; background: var(--bg-quiet); border-radius: 12px; gap: 4px; }
.segmented button {
    flex: 1; min-height: 38px; border-radius: 9px; font-size: .875rem; font-weight: 600; color: var(--fg-2);
    transition: background-color .15s, color .15s, box-shadow .15s;
}
.segmented button[aria-selected="true"] { background: var(--bg-paper); color: var(--fg); box-shadow: 0 1px 3px rgba(15, 20, 25, .08); }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border-soft); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { padding: .625rem .875rem; font-size: .8125rem; font-weight: 600; color: var(--fg-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--accent-fg); border-color: var(--accent); }

/* ---------- Modal (bottom sheet di mobile) ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: flex-end; justify-content: center; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 20, 25, .42); backdrop-filter: blur(2px); animation: fadein .2s ease-out; }
.modal-panel {
    position: relative; width: 100%; max-height: 92vh; display: flex; flex-direction: column;
    background: var(--bg-paper); border-radius: 20px 20px 0 0; box-shadow: var(--shadow-lg);
    animation: sheetup .32s var(--ease-out);
    padding-bottom: env(safe-area-inset-bottom);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.125rem 1.25rem; border-bottom: 1px solid var(--border-soft); }
.modal-head h3 { font-size: 1.0625rem; font-weight: 600; }
.modal-body { padding: 1.25rem; overflow-y: auto; }
.modal-foot { display: flex; gap: .625rem; justify-content: flex-end; padding: 1rem 1.25rem; border-top: 1px solid var(--border-soft); background: #fcfaf6; }
.modal-foot .btn { flex: 1; }
@media (min-width: 640px) {
    .modal { align-items: center; padding: 1.5rem; }
    .modal-panel { max-width: 480px; border-radius: 18px; max-height: 88vh; animation: popin .22s var(--ease-out); }
    .modal-panel.wide { max-width: 680px; }
    .modal-foot { border-radius: 0 0 18px 18px; }
    .modal-foot .btn { flex: 0 0 auto; }
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetup { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes popin { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Toast ---------- */
#toast {
    position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom)); z-index: 80;
    transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
    background: var(--fg); color: #faf7f2; padding: .625rem 1rem; border-radius: 10px;
    font-size: .8125rem; font-weight: 500; box-shadow: var(--shadow-lg);
    transition: opacity .2s, transform .25s var(--ease-out);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- App shell (sidebar) ---------- */
.app-sidebar {
    position: fixed; inset: 0 auto 0 0; width: 272px; z-index: 50;
    background: var(--bg-paper); border-right: 1px solid var(--border-soft);
    display: flex; flex-direction: column;
    transform: translateX(-100%); transition: transform .32s var(--ease-out);
}
.app-sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
.app-overlay { position: fixed; inset: 0; z-index: 45; background: rgba(15, 20, 25, .35); display: none; }
.app-overlay.open { display: block; animation: fadein .2s; }
@media (min-width: 1024px) {
    .app-sidebar { transform: none; box-shadow: none !important; }
    .app-overlay { display: none !important; }
    .app-main { padding-left: 272px; }
}
.nav-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); padding: 0 .75rem; margin: 1.25rem 0 .375rem; }
.nav-link {
    display: flex; align-items: center; gap: .75rem; min-height: 40px; padding: 0 .75rem;
    border-radius: 10px; font-size: .875rem; font-weight: 500; color: var(--fg-2);
    transition: background-color .15s, color .15s;
}
.nav-link i { width: 18px; text-align: center; font-size: .875rem; color: var(--fg-3); transition: color .15s; }
.nav-link:hover { background: var(--bg-quiet); color: var(--fg); }
.nav-link.active { background: var(--accent-soft); color: var(--accent-press); font-weight: 600; }
.nav-link.active i { color: var(--accent); }
.app-topbar {
    position: sticky; top: 0; z-index: 40;
    background: rgba(250, 247, 242, .86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--border-soft);
}
.avatar {
    width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent-press); font-weight: 700; font-size: .875rem; text-transform: uppercase;
}

/* ---------- Pagination ---------- */
.pager { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.pager a, .pager span {
    min-width: 34px; height: 34px; padding: 0 .5rem; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .8125rem; font-weight: 500; color: var(--fg-2); border: 1px solid transparent;
}
.pager a:hover { background: var(--bg-quiet); color: var(--fg); }
.pager a.current { background: var(--fg); color: #fff; }
.pager a.disabled { opacity: .4; pointer-events: none; }

/* ---------- Progress ---------- */
.progress { height: 6px; border-radius: 999px; background: var(--bg-quiet); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.progress > span.warn { background: #e8a23b; }
.progress > span.danger { background: #d8442a; }

/* ---------- Landing ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .2s, border-color .2s, backdrop-filter .2s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(250, 247, 242, .86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-color: var(--border-soft); }
.hero-title { font-size: clamp(2.375rem, 1.5rem + 4vw, 4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.hero-glow { position: absolute; pointer-events: none; border-radius: 999px; filter: blur(80px); background: radial-gradient(circle, rgba(255, 107, 71, .22), rgba(255, 107, 71, 0) 70%); }
.pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .3125rem .75rem; border-radius: 999px;
    background: var(--accent-soft); border: 1px solid #ffd8cc; color: var(--accent-press);
    font-size: .8125rem; font-weight: 500;
}
.stats-grid { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.stats-cell { padding: 1.75rem 1rem; text-align: center; border-right: 1px solid var(--border-soft); }
.stats-cell:last-child { border-right: 0; }
@media (max-width: 767px) {
    .stats-cell:nth-child(2) { border-right: 0; }
    .stats-cell:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
}
.feature-icon {
    width: 40px; height: 40px; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent-fg); font-size: 1rem;
}
.step-num {
    width: 32px; height: 32px; border-radius: 999px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--fg); color: #fff; font-family: var(--font-mono); font-size: .8125rem; font-weight: 600;
}
.faq details { border-bottom: 1px solid var(--border-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.125rem 0; font-weight: 600; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { transition: transform .2s; color: var(--fg-3); flex-shrink: 0; }
.faq details[open] summary .plus { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 0 1.125rem; color: var(--fg-2); line-height: 1.65; font-size: .9375rem; }

/* Diagram hero */
.diagram-node {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    background: var(--bg-paper); border: 1px solid var(--border); border-radius: 9px;
    padding: .4375rem .75rem; font-size: .8125rem; font-weight: 500; box-shadow: var(--shadow-sm);
    width: 156px;
}
.diagram-node span.name { display: flex; align-items: center; gap: .5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.diagram-hub {
    width: 76px; height: 76px; border-radius: 999px; background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center; text-align: center;
    font-size: 10px; font-weight: 700; line-height: 1.15; letter-spacing: .02em;
    box-shadow: 0 0 0 12px rgba(255, 107, 71, .12), 0 0 0 26px rgba(255, 107, 71, .06);
}
.diagram-line { stroke: var(--accent); stroke-width: 1.25; fill: none; opacity: .75; stroke-dasharray: 4 4; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Atribut hidden harus menang atas display:block tabel versi mobile */
[hidden] { display: none !important; }
