:root {
    --color-bg: #f6f2eb;
    --color-bg-soft: #ede8df;
    --color-surface: #ffffff;
    --color-surface-2: #f2eee7;
    --color-text: #1e1a16;
    --color-muted: #5a524a;
    --color-line: rgba(30, 26, 22, 0.1);
    --color-gold: #c28f1a;
    --color-gold-rgb: 194, 143, 26;
    --color-chili: #c73d1d;
    --color-chili-rgb: 199, 61, 29;
    --color-chicha: #7c64b3;
    --color-chicha-rgb: 124, 100, 179;
    --color-simples: #2d8a4e;
    --color-simples-rgb: 45, 138, 78;
    --color-gustitos: #d97706;
    --color-gustitos-rgb: 217, 119, 6;
    --accent: #c73d1d;
    --accent-rgb: 199, 61, 29;
    --header-height: auto;
}

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-display {
    font-family: 'Fraunces', serif;
}

.font-mono {
    font-family: 'IBM Plex Mono', monospace;
}

::selection {
    background: rgba(var(--accent-rgb), 0.25);
    color: var(--color-text);
}

:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: 6px;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Header */
.app-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-line);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-shrink: 1;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e1a16 0%, #2d241e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand-logo svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0;
}

.brand-text h1 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.brand-text p {
    font-size: 10px;
    color: var(--color-muted);
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.controls-cluster {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.macro-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.macro-select {
    appearance: none;
    background: var(--color-surface-2);
    color: var(--color-text);
    border: 1px solid var(--color-line);
    border-radius: 12px;
    padding: 7px 28px 7px 10px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: all .2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.macro-select:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
    background: var(--color-surface);
}

.macro-select-arrow {
    position: absolute;
    right: 8px;
    pointer-events: none;
    font-size: 9px;
    color: var(--color-muted);
}

.reset-cache-btn {
    background: var(--color-surface-2);
    color: var(--color-muted);
    border: 1px solid var(--color-line);
    border-radius: 12px;
    padding: 7px 10px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all .2s ease;
    white-space: nowrap;
    user-select: none;
}

.reset-cache-btn:hover {
    background: var(--color-surface);
    color: var(--color-chili);
    border-color: rgba(var(--color-chili-rgb), 0.4);
}

.reset-cache-btn:active {
    transform: scale(0.95);
}

.weight-dial {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.dial-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-surface-2);
    color: var(--color-text);
    border: 1px solid var(--color-line);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, background .15s ease;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    padding: 0;
}

.dial-btn:active {
    transform: scale(0.90);
    background: rgba(var(--color-gold-rgb), 0.2);
}

.dial-ring {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: conic-gradient(var(--color-gold) var(--deg, 120deg), rgba(30, 26, 22, 0.1) 0deg);
    padding: 3px;
    transition: background .25s ease;
    flex-shrink: 0;
}

.dial-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-bg-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-line);
}

.dial-inner input {
    width: 32px;
    background: transparent;
    border: none;
    text-align: center;
    color: var(--color-text);
    font-weight: 700;
    font-size: 13.5px;
    font-family: 'IBM Plex Mono', monospace;
    appearance: textfield;
    padding: 0;
}

.dial-inner input::-webkit-outer-spin-button,
.dial-inner input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dial-unit {
    font-size: 7.5px;
    letter-spacing: .06em;
    color: var(--color-muted);
    margin-top: -2px;
    font-weight: 700;
}

/* Buscador */
.search-box-wrap {
    position: relative;
    width: 100%;
    max-width: 270px;
}

.search-input {
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 999px;
    padding: 7px 32px 7px 34px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-text);
    outline: none;
    transition: all .2s cubic-bezier(.2, .8, .2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.search-input::placeholder {
    color: var(--color-muted);
    font-weight: 500;
    opacity: 0.7;
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

.search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: var(--color-muted);
    pointer-events: none;
    transition: color .2s ease;
}

.search-input:focus ~ .search-icon {
    color: var(--accent);
}

.search-clear-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-surface-2);
    color: var(--color-muted);
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: all .15s ease;
    padding: 0;
}

.search-clear-btn:hover {
    background: var(--color-line);
    color: var(--color-text);
}

/* Filtro Kcal */
.kcal-filter-box {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    padding: 4px 8px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}

.kcal-filter-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kcal-input {
    width: 44px;
    background: var(--color-surface-2);
    border: 1px solid var(--color-line);
    border-radius: 6px;
    padding: 2px 4px;
    text-align: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--color-text);
    outline: none;
    appearance: textfield;
    transition: border-color .15s ease;
}

.kcal-input::-webkit-outer-spin-button,
.kcal-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.kcal-input:focus {
    border-color: var(--accent);
    background: #ffffff;
}

.kcal-sep {
    font-size: 10px;
    color: var(--color-muted);
    font-weight: bold;
}

.kcal-clear-btn {
    background: transparent;
    border: none;
    color: var(--color-muted);
    font-size: 11px;
    cursor: pointer;
    padding: 0 3px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.kcal-clear-btn:hover {
    color: var(--color-chili);
}

.search-highlight {
    background: rgba(var(--accent-rgb), 0.2);
    color: var(--color-text);
    padding: 1px 2px;
    border-radius: 4px;
    font-weight: 700;
}

.andean-rule {
    height: 5px;
    width: 100%;
    max-width: 300px;
    background: repeating-linear-gradient(115deg,
            var(--color-chili) 0 14px, var(--color-gold) 14px 28px,
            var(--color-chicha) 28px 42px, var(--color-bg-soft) 42px 44px);
    border-radius: 999px;
    opacity: .6;
}

.hero-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: .12em;
    font-size: 10px;
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 600;
}

.tab-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12.5px;
    border: 1px solid var(--btn-accent, var(--color-line));
    color: var(--btn-accent, var(--color-muted));
    background: rgba(var(--btn-accent-rgb, 255, 255, 255), 0.08);
    transition: all .2s ease;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
}

.tab-pill:active {
    transform: scale(0.96);
}

.tab-pill .count-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    background: rgba(0, 0, 0, 0.12);
    padding: 1px 6px;
    border-radius: 999px;
    font-weight: 600;
}

.tab-pill.active {
    background: var(--btn-accent);
    color: #f6f2eb;
    box-shadow: 0 6px 16px -6px rgba(var(--btn-accent-rgb), 0.4);
    border-color: var(--btn-accent);
}

.tab-pill.active .count-badge {
    background: rgba(0, 0, 0, 0.2);
    color: #f6f2eb;
}

.shuffle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    transition: all .2s ease;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    white-space: nowrap;
}

.shuffle-btn:active {
    transform: scale(0.96);
}

#catalog-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 16px;
}

@media (min-width: 480px) {
    #catalog-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (min-width: 768px) {
    #catalog-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    #catalog-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 24px;
    }
}

.dish-card {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, border-color .25s ease;
}

.dish-card:active {
    transform: scale(0.97);
}

.dish-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--card-accent-rgb), 0.5);
    box-shadow: 0 16px 30px -12px rgba(var(--card-accent-rgb), 0.3);
}

.dish-media {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: var(--color-surface-2);
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .dish-media {
        height: 160px;
    }
}

@media (min-width: 768px) {
    .dish-media {
        height: 180px;
    }
}

.dish-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.dish-card:hover .dish-media img {
    transform: scale(1.05);
}

.dish-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 50%);
}

.kcal-chip {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    font-size: 10.5px;
    background: rgba(246, 242, 235, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--card-accent);
    border: 1px solid rgba(var(--card-accent-rgb), 0.3);
    padding: 3px 8px;
    border-radius: 999px;
}

.dish-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    justify-content: space-between;
}

.dish-name {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.25;
    color: var(--color-text);
}

@media (min-width: 480px) {
    .dish-name {
        font-size: 16px;
    }
}

.dish-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed var(--color-line);
}

.foot-label {
    font-size: 10px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}

.portion-chip {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 11px;
    color: var(--card-accent);
    background: rgba(var(--card-accent-rgb), 0.1);
    border: 1px solid rgba(var(--card-accent-rgb), 0.2);
    padding: 2px 8px;
    border-radius: 6px;
}

.gustito-capsules {
    display: flex;
    gap: 5px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.gustito-pill {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.pill-desayuno {
    background: rgba(194, 143, 26, 0.12);
    color: #9a6d0c;
    border: 1px solid rgba(194, 143, 26, 0.25);
}

.pill-cena {
    background: rgba(124, 100, 179, 0.12);
    color: #634a99;
    border: 1px solid rgba(124, 100, 179, 0.25);
}

.plan-compensation-card {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: all .2s ease;
}

.plan-compensation-card:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.plan-comp-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent);
    white-space: nowrap;
}

.budget-bar-wrap {
    background: var(--color-surface-2);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    width: 100%;
    margin-top: 6px;
}

.budget-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2d8a4e 0%, #c28f1a 60%, #c73d1d 100%);
    border-radius: 999px;
    transition: width .3s ease;
}

/* Modal */
#modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 100;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 16px 12px;
    overflow-y: auto;
}

#modal.open {
    display: flex;
}

#modal-box {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 24px;
    max-width: 650px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 20px 18px 26px;
    position: relative;
    margin: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

@media (min-width: 480px) {
    #modal-box {
        padding: 24px 26px 30px;
    }
}

.modal-close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #f6f2eb;
    border: none;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform .2s ease;
    touch-action: manipulation;
    margin-bottom: 8px;
}

.modal-close:active {
    transform: scale(0.92);
}

.modal-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
}

@media (min-width: 480px) {
    .modal-img {
        height: 240px;
    }
}

.modal-title {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 14px;
    line-height: 1.2;
}

@media (min-width: 480px) {
    .modal-title {
        font-size: 26px;
    }
}

.stat-box {
    background: var(--color-bg-soft);
    border: 1px solid var(--color-line);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.stat-label {
    font-size: 9.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-muted);
    font-weight: 600;
}

.stat-value {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-text);
    margin-top: 2px;
    display: block;
}

.stat-value.accent {
    color: var(--accent);
}

.simple-segmented-control {
    display: flex;
    background: var(--color-surface-2);
    padding: 4px;
    border-radius: 14px;
    gap: 4px;
    margin-bottom: 16px;
    border: 1px solid var(--color-line);
}

.simple-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all .2s cubic-bezier(.2, .8, .2, 1);
    user-select: none;
}

.simple-tab-btn.active {
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.simple-tab-btn.active[data-target="desayuno"] {
    color: #b07d1a;
}

.simple-tab-btn.active[data-target="almuerzo"] {
    color: #c73d1d;
}

.simple-tab-btn.active[data-target="cena"] {
    color: #7c64b3;
}

.simple-active-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.simple-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--color-line);
    margin-bottom: 14px;
}

.simple-panel-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--color-muted);
}

.simple-panel-cal {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
}

.simple-ing-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.simple-ing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-line);
    padding: 9px 14px;
    border-radius: 10px;
}

.simple-ing-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.3;
}

.ing-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-line);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}

.ing-gram {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 11px;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.tag-pill {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
}

.tag-carb {
    background: rgba(194, 143, 26, 0.15);
    color: #996e0f;
    border: 1px solid rgba(194, 143, 26, 0.3);
}

.tag-prot {
    background: rgba(199, 61, 29, 0.15);
    color: #a32b0f;
    border: 1px solid rgba(199, 61, 29, 0.3);
}

.prep-wrap {
    background: var(--color-bg-soft);
    border: 1px solid var(--color-line);
    border-radius: 16px;
    padding: 16px;
}

.step-row {
    display: flex;
    gap: 12px;
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: #f6f2eb;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-connector {
    width: 2px;
    flex-grow: 1;
    background: var(--color-line);
    margin: 4px 0;
    min-height: 12px;
}

.step-heading {
    font-weight: 700;
    font-size: 13px;
    color: var(--color-text);
    margin-bottom: 3px;
}

.step-body {
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--color-text);
    white-space: pre-line;
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.grid-cols-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

#modal-box::-webkit-scrollbar {
    width: 4px;
}

#modal-box::-webkit-scrollbar-track {
    background: transparent;
}

#modal-box::-webkit-scrollbar-thumb {
    background: var(--color-line);
    border-radius: 999px;
}