/* Tahap pratinjau frontend. style.css asli dipertahankan untuk integrasi berikutnya. */
:root {
    --bg: #f5f5f5;
    --bg-elevated: #ffffff;
    --panel: #ffffff;
    --panel-2: #f9fafb;
    --border: #e5e7eb;
    --border-strong: #d1d5db;
    --accent: #c99254;
    --accent-light: #e1bc72;
    --accent-dark: #9d6735;
    --accent-gradient: linear-gradient(135deg, #c99254, #b67a40);
    --text: #121212;
    --text-muted: #6b7280;
    --text-faint: #9ca3af;
    --success: #2f8f65;
    --success-bg: #e6f5ee;
    --danger: #c75151;
    --danger-bg: #fff0f0;
    --warning: #b87932;
    --warning-bg: #fff6e9;
    --info: #9d6735;
    --info-bg: #f9f0e4;
    --shadow-sm: 0 1px 3px rgba(18, 18, 18, .04);
    --shadow-md: 0 9px 28px rgba(18, 18, 18, .07);
    --shadow-lg: 0 22px 60px rgba(18, 18, 18, .13);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 22px;
}
html { scroll-behavior: smooth; }
body { background: #f5f5f5; color: #121212; font-family: Inter, "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #e1bc72; outline-offset: 2px; }
.btn { font-weight: 700; border-radius: 10px; }
.btn-primary, .btn-secondary { background: #c99254; color: #121212; box-shadow: none; }
.btn-primary:hover:not(:disabled), .btn-secondary:hover:not(:disabled) { background: #e1bc72; color: #121212; }
.btn-outline { border: 1px solid #d8dce1; color: #374151; background: #fff; }
.btn-outline:hover { border-color: #c99254; color: #9d6735; }
.card { background: #fff; border: 1px solid #e5e7eb; box-shadow: var(--shadow-sm); border-radius: 17px; }
.card-header h2 { color: #121212; }
.card-header p { color: #6b7280; }
.form-group input, .form-group select, .form-group textarea, .filter-bar input, .filter-bar select {
    background: #fff; color: #121212; border: 1px solid #dfe3e8; min-height: 43px;
}
.form-group input::placeholder, .filter-bar input::placeholder { color: #9ca3af; }
.form-group label { color: #374151; font-weight: 700; }
.table-container { border: 1px solid #e5e7eb; border-radius: 12px; }
table { background: #fff; }
table thead { background: #f9fafb; }
table th { color: #525b67; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; font-weight: 800; }
table td { color: #374151; }
table tbody tr:hover { background: #fcfaf7; }
.filter-bar { align-items: center; }
.badge-success { background: #e8f6ed; color: #237a50; }
.badge-danger { background: #fff0f0; color: #bf4444; }
.badge-warning { background: #fff4e4; color: #9d6735; }
.badge-info { background: #f7ebd8; color: #845125; }
.empty-state h3 { color: #121212; }

/* Login */
.preview-admin .login-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 44%) 1fr; padding: 0; background: #f5f5f5; }
.login-visual { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(32px, 8vw, 100px); background: #121212; color: #fff; overflow: hidden; }
.login-visual:before { content: ""; position: absolute; width: 580px; height: 580px; border: 1px solid rgba(225,188,114,.16); border-radius: 50%; left: -270px; bottom: -300px; box-shadow: 0 0 0 75px rgba(225,188,114,.025), 0 0 0 160px rgba(225,188,114,.018); }
.login-logo { width: 92px; height: 92px; object-fit: contain; object-position: center; margin-bottom: 28px; }
.login-visual h1 { font-size: clamp(2.7rem, 5vw, 4.6rem); letter-spacing: .08em; margin-bottom: .3rem; line-height: 1.05; }
.login-visual p { font-size: clamp(1rem, 2vw, 1.3rem); color: #e8d3ae; line-height: 1.55; }
.login-visual-note { position: absolute; bottom: 42px; font-size: .78rem; color: #a9a29a; letter-spacing: .05em; }
.preview-admin .login-card { align-self: center; justify-self: center; width: min(440px, calc(100% - 48px)); max-width: none; padding: 42px; border: 1px solid #e5e7eb; box-shadow: var(--shadow-md); }
.login-heading { margin-bottom: 1.4rem; }
.eyebrow { color: #aa713b; font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.login-heading h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.2; margin: .55rem 0; }
.login-heading p { color: #6b7280; }
.login-footnote { text-align: center; color: #8a8f97; font-size: .78rem; margin-top: 1.1rem; }
.password-field { position: relative; }
.preview-admin .password-field input { padding-right: 54px; }
.password-toggle { position: absolute; top: 50%; right: 9px; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 8px; background: transparent; color: #6b7280; }
.password-toggle:hover { color: #9d6735; background: #fbf6ed; }
.password-toggle svg { width: 21px; height: 21px; }
.password-toggle svg.is-hidden { display: none; }

/* Layout admin */
.preview-admin .admin-shell { background: #f5f5f5; }
.preview-admin .sidebar { width: 268px; background: #121212; border: 0; padding: 14px 15px 10px; color: #fff; overflow-y: hidden; }
.preview-admin .sidebar-brand { padding: 2px 10px 12px; border-bottom: 1px solid #303030; margin-bottom: 5px; gap: 10px; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; flex: none; }
.preview-admin .brand-name { font-size: 1.08rem; color: #fff; letter-spacing: .03em; }
.preview-admin .brand-sub { color: #b3b3b3; font-size: .74rem; }
.preview-admin .sidebar-section-title { color: #828282; font-size: .67rem; letter-spacing: .14em; margin: 9px 0 3px 12px; }
.preview-admin .sidebar-nav { gap: 1px; }
.preview-admin .sidebar-link { color: #c8c8c8; border: 0; border-radius: 0; min-height: 34px; padding: 5px 11px; gap: 9px; font-size: .84rem; font-weight: 600; box-shadow: none; background: transparent; }
.preview-admin .sidebar-link:hover { background: rgba(201,146,84,.12); color: #fff; }
.preview-admin .sidebar-link.active { background: #c99254; color: #121212; }
.nav-icon { display: inline-grid; place-items: center; width: 22px; font-size: 1.05rem; line-height: 1; flex: none; }
.nav-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 999px; background: #e1bc72; color: #121212; font-size: .68rem; font-weight: 800; }
.nav-count[hidden] { display: none; }
.preview-admin .sidebar-secondary { margin: 6px 0 0; color: #e1bc72; border: 0; justify-content: flex-start; background: transparent; }
.preview-admin .sidebar-secondary.active { background: #c99254; color: #121212; }
.sidebar-profile { display: flex; align-items: center; gap: 10px; padding: 7px 11px; border-top: 1px solid #303030; }
.sidebar-profile span:last-child { display: grid; gap: 2px; font-size: .76rem; }
.sidebar-profile small { color: #929292; }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #e8d3ae; color: #553414; font-size: .73rem; font-weight: 800; }
.sidebar-footer { padding: 0; }
.preview-admin #logoutBtn { border: 0; color: #e1bc72; justify-content: flex-start; background: transparent; }
.preview-admin #logoutBtn:hover { background: rgba(201,146,84,.12); }
.sidebar-overlay { display: none; }
.sidebar-overlay[hidden] { display: none !important; }
.preview-admin .topbar { min-height: 70px; background: #fff; border-color: #e5e7eb; padding: 12px 30px; justify-content: space-between; }
.topbar-breadcrumb { display: flex; align-items: center; gap: 10px; color: #9ca3af; font-size: .8rem; }
.topbar-breadcrumb strong { color: #121212; }
.topbar-actions { display: flex; align-items: center; gap: 11px; }
.topbar-menu { background: #fff; border: 1px solid #e5e7eb; border-radius: 9px; width: 36px; height: 36px; font-size: 1.2rem; color: #4b5563; }
.topbar-menu { display: none; }
.topbar-user { color: #121212; font-size: .83rem; gap: 8px; padding-left: 10px; }
.preview-admin .admin-content { padding: 28px 30px 45px; width: min(100%, 1480px); margin: 0 auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.page-heading h1 { font-size: clamp(1.55rem, 2.2vw, 2.1rem); margin: 4px 0; line-height: 1.25; }
.page-heading p { color: #6b7280; font-size: .88rem; }
.heading-actions { display: flex; gap: 10px; align-items: center; }
.date-chip { padding: 10px 13px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; color: #555d66; font-size: .8rem; white-space: nowrap; }

/* Dashboard */
.preview-admin .stats-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.preview-admin .stat-card { border: 1px solid #e5e7eb; border-radius: 15px; padding: 17px; min-height: 147px; box-shadow: var(--shadow-sm); position: relative; }
.stat-icon { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 10px; background: #faf0e4; color: #b2753c; display: grid; place-items: center; font-size: 1.25rem; }
.preview-admin .stat-label { color: #6b7280; margin: 4px 0 8px; font-weight: 600; font-size: .78rem; }
.preview-admin .stat-value { font-size: clamp(1.6rem, 2.4vw, 2.25rem); letter-spacing: -.04em; line-height: 1; }
.stat-note { display: block; color: #8b929b; font-size: .72rem; margin-top: 17px; }
.stat-note.positive { color: #338b60; }
.dashboard-main-grid { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(270px,1fr); gap: 16px; margin-top: 17px; }
.dashboard-bottom-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(270px,1fr); gap: 16px; margin-top: 16px; }
.dashboard-main-grid .card, .dashboard-bottom-grid .card { min-width: 0; padding: 20px; }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.card-heading h2 { font-size: 1rem; margin: 0 0 2px; }
.card-heading p { color: #8a9099; font-size: .75rem; }
.mini-legend { display: flex; align-items: center; gap: 6px; font-size: .68rem; white-space: nowrap; color: #6b7280; }
.mini-legend i { width: 8px; height: 8px; background: #c99254; border-radius: 50%; }
.mini-legend i:nth-of-type(2) { background: #e8d3ae; margin-left: 6px; }
.chart-frame { width: 100%; min-height: 220px; }
.chart-frame svg { width: 100%; height: 220px; overflow: visible; }
.donut-wrap { display: grid; place-items: center; padding: 4px 0 14px; }
.donut { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; position: relative; background: conic-gradient(#c99254 0 78%, #e8d3ae 78% 100%); }
.donut:before { content: ""; position: absolute; inset: 24px; background: #fff; border-radius: 50%; }
.donut span { position: relative; font-size: 1.4rem; font-weight: 800; }
.donut-caption { font-size: .73rem; color: #8a9099; margin-top: 12px; }
.summary-list { display: grid; gap: 10px; border-top: 1px solid #edf0f2; padding-top: 12px; }
.summary-list>div { display: flex; justify-content: space-between; align-items: center; font-size: .76rem; color: #626a75; }
.summary-list strong { color: #121212; }
.summary-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.summary-dot.brown { background: #c99254; }.summary-dot.cream { background: #e8d3ae; }.summary-dot.dark { background: #121212; }
.text-button { color: #a46d38; background: none; border: 0; font-weight: 800; font-size: .73rem; }
.summary-card .text-button { margin-top: 14px; padding: 0; }
.activity-list { display: grid; gap: 0; }
.activity-item { display: flex; gap: 11px; padding: 10px 0; border-top: 1px solid #f1f2f4; align-items: center; }
.activity-item:first-child { border-top: 0; }
.activity-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #f9efe2; color: #b2783f; flex: none; }
.activity-item strong { display: block; font-size: .77rem; }.activity-item small { color: #9ca3af; font-size: .7rem; }
.activity-item time { color: #9ca3af; font-size: .7rem; margin-left: auto; white-space: nowrap; }
.quick-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.quick-grid button { border: 1px solid #e5e7eb; background: #fff; border-radius: 11px; padding: 14px 10px; display: grid; justify-items: start; gap: 6px; text-align: left; color: #3b4048; font-weight: 700; font-size: .75rem; }
.quick-grid button:hover { border-color: #c99254; background: #fff9f2; }
.quick-grid span { color: #b2773a; font-size: 1.25rem; }

/* Sections, controls, dialog */
.preview-admin .tab-pane>.card { padding: 24px; }
.preview-admin .tab-pane>.card:first-child>.card-header h2 { font-size: 1.33rem; }
.card-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.preview-admin .table-container table { min-width: 700px; }
.preview-admin .table-container td, .preview-admin .table-container th { padding: 12px 14px; }
.table-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.pagination-summary { color: #6b7280; font-size: .82rem; }
.pagination-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.pagination-button { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #374151; font-size: .82rem; font-weight: 700; }
.pagination-button:hover:not(:disabled):not(.active) { border-color: #c99254; color: #9d6735; background: #fff9f2; }
.pagination-button.active { border-color: #c99254; background: #c99254; color: #121212; }
.pagination-button:disabled { color: #c2c6cc; cursor: default; }
.pagination-ellipsis { min-width: 22px; text-align: center; color: #6b7280; }
.preview-admin #tab-tambah .card:first-child, .preview-admin #tab-settings .card:first-child, .preview-admin #tab-apel .card, .preview-admin #tab-berseka .card { max-width: 800px; }
.preview-admin #tab-users .card:last-child { max-width: 800px; }
.preview-admin .filter-bar input[type="search"] { min-width: 220px; }
.preview-dialog { position: fixed; inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; border: 0; padding: 0; border-radius: 18px; width: min(720px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow-y: auto; box-shadow: var(--shadow-lg); }
.preview-dialog::backdrop { background: rgba(18,18,18,.56); backdrop-filter: blur(3px); }
.preview-dialog-card { padding: 26px; background: #fff; color: #121212; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid #e5e7eb; margin-bottom: 20px; padding-bottom: 16px; }
.dialog-header h2 { margin-top: 6px; font-size: 1.35rem; }
.icon-close { width: 30px; height: 30px; font-size: 1.4rem; background: #f5f5f5; border: 0; border-radius: 8px; }
.dialog-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 16px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 15px; border-top: 1px solid #e5e7eb; }
.preview-toast { position: fixed; right: 20px; bottom: 20px; background: #121212; color: #fff; padding: 12px 16px; border-left: 4px solid #c99254; border-radius: 10px; box-shadow: var(--shadow-lg); z-index: 2000; max-width: min(360px, calc(100vw - 40px)); font-size: .83rem; }
.validation-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-top: 1px solid #e5e7eb; }
.validation-item:first-child { border-top: 0; padding-top: 3px; }
.validation-photo-wrap { display: grid; justify-items: center; gap: 5px; flex: none; }
.validation-photo-wrap small { color: #8b929b; font-size: .67rem; }
.validation-photo { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #e1bc72, #c99254); color: #392311; font-size: 1.05rem; font-weight: 800; }
.validation-details { min-width: 0; }
.validation-details strong { display: block; color: #121212; font-size: 1rem; }
.validation-details p { color: #545c66; font-size: .84rem; margin: 3px 0; }
.validation-details small { display: block; color: #7b838d; font-size: .76rem; margin-top: 3px; }
.validation-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.validation-empty { display: grid; justify-items: center; gap: 5px; padding: 35px 16px; text-align: center; color: #6b7280; }
.validation-empty span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e8f6ed; color: #2f8f65; font-weight: 800; }
.validation-empty strong { color: #121212; margin-top: 4px; }
.validation-empty p { font-size: .85rem; }
.loading-overlay { display: none; }

/* Halaman publik pratinjau */
.preview-public .app-header { background: #121212; color: #fff; border: 0; }
.preview-public .app-header .logo { font-weight: 800; letter-spacing: .02em; }
.preview-public .app-header .public-brand-logo { width: 34px; height: 34px; object-fit: contain; }
.preview-public .app-header .btn-outline { border-color: #5f5447; background: transparent; color: #fff; }
.preview-public .container { max-width: 1140px; }
.preview-public .public-hero { padding: 36px 0 12px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.preview-public .public-hero h1 { font-size: clamp(2rem,4vw,3.3rem); line-height: 1.08; margin: 7px 0 10px; }
.preview-public .public-hero p { color: #6b7280; max-width: 580px; }
.preview-public .hero-logo { width: 105px; height: 105px; object-fit: contain; padding: 15px; border-radius: 23px; background: #121212; }
.preview-public .menu-grid { margin-top: 24px; }
.preview-public .menu-card { border: 1px solid #e5e7eb; background: #fff; padding: 24px; min-height: 170px; border-radius: 16px; }
.preview-public .menu-card:hover { border-color: #c99254; transform: translateY(-3px); }
.preview-public .menu-icon { color: #b2773a; font-size: 1.7rem; }
.preview-public .menu-title { color: #121212; }
.preview-public .menu-desc { color: #6b7280; }
.preview-public .container>.card { margin-top: 30px; }
.preview-public .camera-container { background: #f1f2f3; border: 1px dashed #d1d5db; min-height: 180px; }
.preview-public [hidden] { display: none !important; }
.preview-camera-placeholder { min-height: 180px; width: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; text-align: center; color: #6b7280; padding: 20px; }
.preview-camera-placeholder span { color: #c99254; font-size: 2rem; line-height: 1; }
.preview-camera-placeholder strong { color: #30343a; font-size: .9rem; }
.preview-camera-placeholder small { font-size: .76rem; }
.preview-public .status-item { background: #f9fafb; }
.preview-public .status-item.pending { color: #6b7280; }
.preview-public .card { box-shadow: var(--shadow-sm); }
.preview-public .public-note { padding: 11px 13px; background: #fff8ed; color: #805424; border: 1px solid #f0ddbd; border-radius: 10px; margin: 14px 0; font-size: .86rem; }
.preview-admin .public-note { padding: 11px 13px; background: #fff8ed; color: #805424; border: 1px solid #f0ddbd; border-radius: 10px; margin: 14px 0; font-size: .8rem; }

@media (max-width: 1100px) {
    .preview-admin .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dashboard-main-grid, .dashboard-bottom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
    .preview-admin .admin-shell { flex-direction: row; }
    .preview-admin .sidebar { position: fixed; transform: translateX(-100%); transition: transform .2s ease; z-index: 1000; height: 100dvh; width: min(268px, calc(100vw - 48px)); top: 0; left: 0; overflow-y: auto; }
    .preview-admin .sidebar.open { transform: translateX(0); }
    .sidebar-overlay:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 999; width: 100%; height: 100dvh; padding: 0; border: 0; background: rgba(18,18,18,.42); }
    .topbar-menu { display: inline-block; }
    .preview-admin .topbar { gap: 12px; padding: 12px 16px; }
    .preview-admin .admin-content { padding: 18px; }
    .preview-admin .admin-main { width: 100%; }
    .login-visual { padding: 40px; }
}
@media (max-width: 640px) {
    .preview-admin .login-screen { grid-template-columns: 1fr; }
    .login-visual { min-height: 190px; padding: 30px; }
    .login-visual h1 { font-size: 2rem; }
    .login-visual p { font-size: .88rem; }
    .login-logo { width: 56px; height: 56px; margin-bottom: 12px; }
    .login-visual-note { display: none; }
    .preview-admin .login-card { margin: 24px auto; padding: 27px; }
    .topbar-breadcrumb { display: none; }
    .topbar-actions { margin-left: auto; }
    .page-heading { align-items: stretch; flex-direction: column; }
    .heading-actions { flex-wrap: wrap; }
    .preview-admin .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .preview-admin .stat-card { min-height: 133px; padding: 13px; }
    .preview-admin .stat-value { font-size: 1.65rem; }
    .stat-icon { width: 28px; height: 28px; font-size: 1rem; }
    .mini-legend { display: none; }
    .card-header-row { align-items: flex-start; flex-direction: column; }
    .dialog-grid { grid-template-columns: 1fr; }
    .preview-public .public-hero { grid-template-columns: 1fr; }
    .preview-public .hero-logo { display: none; }
}
.chart-empty { color: #8a9099; text-align: center; padding: 56px 12px; font-size: .9rem; margin: 0; }
.similar-warning { margin-top: .75rem; padding: .6rem .8rem; border: 1px solid #e0b25f; background: #fff6e5; color: #7a4b00; border-radius: 10px; font-size: .85rem; line-height: 1.4; }
.check-inline { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; white-space: nowrap; cursor: pointer; }
.check-inline input { width: auto; margin: 0; }
#daftarBagianText { padding: .6rem .8rem; border: 1px solid var(--border); border-radius: 10px; font: inherit; resize: vertical; }
.name-step { margin-bottom: 1rem; }
.name-step label { display: block; font-weight: 600; margin-bottom: .35rem; }
.name-step input { width: 100%; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: 12px; font: inherit; }
.name-results { display: flex; flex-direction: column; gap: .4rem; margin-top: .5rem; }
.name-result { text-align: left; padding: .65rem .85rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: .1rem; }
.name-result:hover, .name-result:focus { border-color: #c99254; background: #fff8ee; }
.name-result small { color: #6b7280; }
.name-hint { color: #6b7280; font-size: .9rem; padding: .35rem .2rem; }
.name-chosen { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; padding: .65rem .85rem; border: 1px solid #c99254; background: #fff8ee; border-radius: 12px; font-size: .95rem; }
.link-btn { display: block; margin: 0 0 1rem; background: none; border: 0; color: #9a6a2f; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 0; }
.compare-grid figure { margin: 0; text-align: center; }
.compare-grid img { width: 100%; max-height: 260px; object-fit: contain; border-radius: 10px; background: #f1f1f1; }
.compare-grid figcaption { font-size: .8rem; color: #6b7280; margin-top: .25rem; }
.name-open { margin: .75rem 0 1rem; }
#nameStep { margin-top: .75rem; }
