/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
}

.header-nav .nav-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--bg-secondary);
    white-space: nowrap;
}

.header-nav .nav-link:hover {
    background: var(--border);
    color: var(--text);
}

/* Search Form */
.search-form {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.search-form label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    display: block;
    color: var(--text);
}

.search-form input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: inherit;
    margin-bottom: var(--space-lg);
    color: var(--text);
    background: var(--bg);
    transition: all var(--transition-fast);
    min-height: 48px;
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.search-form input::placeholder {
    color: var(--text-muted);
}

.optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 13px;
}

/* ==========================================================================
   HERO CARD
   ========================================================================== */

.hero-card {
    background: white;
    border-radius: var(--radius);
    padding: var(--space-xl);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    margin-bottom: var(--space-lg);
}

.hero-top {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.hero-info {
    flex: 1;
    min-width: 0;
}

.hero-info h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.25;
    color: var(--text);
    letter-spacing: -0.01em;
}

.hero-info .cuisine-type {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.hero-summary {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

.score-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    border: none;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
    color: white;
}

.score-ring:hover {
    transform: scale(1.02);
}

.score-ring.very-high-risk,
.score-ring.high-risk {
    background: #ef4444;
}

.score-ring.moderate-risk {
    background: #ea580c;
}

.score-ring.low-risk {
    background: #d97706;
}

.score-ring.very-low-risk {
    background: #10b981;
}

/* Score Column: stacks ring + label + explainer */
.score-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

/* Score Label (below score ring) */
.score-label {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    margin-top: 6px;
    line-height: 1.3;
}
.score-label.label-green { color: #10b981; }
.score-label.label-amber { color: #d97706; }
.score-label.label-orange { color: #ea580c; }
.score-label.label-red { color: #ef4444; }

/* Score Explainer (standalone section below hero card) */
.score-explainer {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0 16px;
    margin-bottom: 8px;
}
.score-explainer summary {
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    text-align: center;
    list-style: none;
    padding: 10px 0;
}
.score-explainer summary::-webkit-details-marker { display: none; }
.score-explainer-content {
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.score-tier {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
}
.tier-range {
    font-weight: 700;
    min-width: 28px;
    flex-shrink: 0;
}
.tier-text { color: var(--text-secondary); }
.tier-green { color: #10b981; }
.tier-amber { color: #d97706; }
.tier-orange { color: #ea580c; }
.tier-red { color: #ef4444; }

/* Safety Label Badge */
.safety-label-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.safety-label-badge.very-high-risk,
.safety-label-badge.high-risk {
    background: var(--unsafe-bg);
    color: var(--unsafe);
}

.safety-label-badge.moderate-risk {
    background: #fff7ed;
    color: #ea580c;
}

.safety-label-badge.low-risk {
    background: #fffbeb;
    color: #d97706;
}

.safety-label-badge.very-low-risk {
    background: var(--safe-bg);
    color: var(--safe);
}

/* Score Card Action Buttons */
.score-card-actions {
    display: flex;
    gap: var(--space-md);
}

.btn-save,
.btn-save-signin,
.btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex: 1;
    min-height: 48px;
    padding: var(--space-md) var(--space-lg);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-save {
    background: #10b981;
    color: white;
}

.btn-save:hover {
    background: #059669;
}

.btn-save:active {
    transform: scale(0.98);
}

.btn-save-signin {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-save-signin:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.btn-share {
    background: var(--bg-secondary);
    color: var(--text);
}

.btn-share:hover {
    background: var(--border);
}

.btn-share:active {
    transform: scale(0.98);
}

.btn-share:disabled,
.btn-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#save-restaurant-btn.saved {
    background: var(--primary-bg);
    color: var(--primary);
}

#save-restaurant-btn.saved.unsave-mode {
    background: var(--bg-card);
    color: var(--text-secondary);
}

#save-restaurant-btn.saved.unsave-mode:hover {
    background: var(--unsafe-bg);
    color: var(--unsafe);
}

.action-feedback-container {
    text-align: center;
    min-height: 24px;
    margin-top: var(--space-sm);
}

.action-feedback {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.action-feedback.error {
    color: var(--unsafe);
}

.action-feedback.share-success {
    color: var(--text-secondary);
}

/* ==========================================================================
   RESULT SECTIONS
   ========================================================================== */

.result-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: var(--space-xl);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text);
    color: var(--text);
}

.section-title svg {
    flex-shrink: 0;
}

/* Safety Section (Green) */
.safety-section {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.03) 100%);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.safety-section .section-title {
    color: var(--safe);
}

.indicator-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.indicator-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.indicator-list li::before {
    content: "✓";
    color: var(--safe);
    font-weight: 700;
    flex-shrink: 0;
}

/* Menu Section */
.menu-section {
    background: var(--bg);
    border: 1px solid var(--border);
}

.menu-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.menu-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--safe-bg);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.menu-pill .pill-note {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.menu-pill.ask-pill {
    background: var(--investigate-bg);
    border-color: rgba(234, 179, 8, 0.2);
}

#see-all-menu-btn {
    margin-top: 12px;
    padding: 0;
    font-size: 14px;
}

/* Warning Section (Yellow) */
.warning-section {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(234, 179, 8, 0.04) 100%);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.warning-section .section-title {
    color: #b45309;
}

.warning-section .section-title svg {
    stroke: #b45309;
}

.warning-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.warning-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.warning-list li::before {
    content: "⚠";
    flex-shrink: 0;
}

/* Staff Knowledge Inline */
.staff-knowledge-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.staff-knowledge-inline .staff-icon {
    color: var(--text-muted);
}

.staff-knowledge-inline .staff-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.staff-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.staff-badge.staff-high {
    background: var(--safe-bg);
    color: var(--safe);
}

.staff-badge.staff-medium {
    background: var(--investigate-bg);
    color: var(--investigate);
}

.staff-badge.staff-low {
    background: var(--unsafe-bg);
    color: var(--unsafe);
}

.staff-badge.staff-unknown {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

.staff-detail {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 8px;
}

/* ==========================================================================
   EXPANDABLE SECTIONS
   ========================================================================== */

.expandable-sections {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.expand-section {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.expand-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    transition: background 0.15s;
}

.expand-header::-webkit-details-marker {
    display: none;
}

.expand-header:hover {
    background: var(--bg-secondary);
}

.expand-header svg:first-child {
    color: var(--text-muted);
    flex-shrink: 0;
}

.expand-chevron {
    margin-left: auto;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.expand-section[open] .expand-chevron {
    transform: rotate(180deg);
}

.expand-content {
    padding: 0 16px 16px;
    border-top: 1px solid var(--border);
}

/* Menu Categories in Expandable */
.menu-category {
    margin-top: 16px;
}

.menu-category:first-child {
    margin-top: 12px;
}

.menu-category h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.menu-category .cat-icon {
    font-size: 14px;
}

.menu-category .cat-count {
    font-weight: 500;
    color: var(--text-muted);
}

.safe-category h4 { color: var(--safe); }
.ask-category h4 { color: var(--investigate); }
.avoid-category h4 { color: var(--unsafe); }

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list li strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.menu-note {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
    line-height: 1.4;
}

/* Analysis Blocks */
.analysis-block {
    margin-top: 16px;
}

.analysis-block:first-child {
    margin-top: 12px;
}

.analysis-block h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.analysis-block p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.context-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-top: 12px;
    margin-bottom: 6px;
}

.context-label:first-child {
    margin-top: 0;
}

#cuisine-context-content ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

#cuisine-context-content li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 3px 0;
    line-height: 1.4;
}

/* Script Presets */
.script-context {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.script-presets {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.preset-btn {
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--bg);
    cursor: pointer;
    transition: all 0.15s;
}

.preset-btn:hover {
    background: var(--bg-secondary);
}

.preset-btn.active {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

/* Script Checkboxes */
#call-script-list {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.script-item {
    padding: 6px 0;
}

.script-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.script-check input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: var(--safe);
}

.script-question {
    flex: 1;
}

.priority-tag {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

.priority-tag.priority-essential {
    background: var(--safe-bg);
    color: var(--safe);
}

.priority-tag.priority-additional {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

.additional.script-hidden {
    display: none;
}

/* ==========================================================================
   RESULTS ACTIONS
   ========================================================================== */

.results-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-alt {
    background: var(--bg);
    color: var(--text-secondary);
    border: 1px dashed var(--border);
    font-weight: 600;
}

.btn-alt:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
}

.btn-alt:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alternatives */
#alternatives-section {
    margin-bottom: 8px;
}

#alternatives-results h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.alternative-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.alt-info {
    flex: 1;
    min-width: 0;
}

.alt-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.alt-cuisine {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.alt-reason {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.4;
}

.alt-scout-btn {
    padding: 8px 14px;
    font-size: 13px;
    flex-shrink: 0;
}

.small-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top-color: var(--text);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 12px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#alternatives-loading {
    text-align: center;
    padding: 12px 0;
}

/* ==========================================================================
   LOADING STEPS (step-by-step progress for uncached searches)
   ========================================================================== */

.loading-header {
    text-align: center;
    margin-bottom: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}
.loading-header.visible {
    opacity: 1;
}
.loading-header-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.loading-steps {
    max-width: 340px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.loading-step {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}
.loading-step.active,
.loading-step.done {
    opacity: 1;
}

.step-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loading-step.active .step-indicator {
    border: 2px solid var(--border);
    border-top-color: #10b981;
    animation: spin 0.8s linear infinite;
}
.loading-step.done .step-indicator {
    border-color: #10b981;
    background: #10b981;
}
.loading-step.done .step-indicator::after {
    content: "\2713";
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.step-text {
    font-size: 14px;
    color: var(--text-secondary);
}
.loading-step.active .step-text {
    color: var(--text);
    font-weight: 500;
}
.loading-step.done .step-text {
    color: var(--text-muted);
}

/* ==========================================================================
   QUESTIONNAIRE
   ========================================================================== */

.questionnaire-header {
    margin-bottom: 20px;
}

.questionnaire-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.questionnaire-intro {
    font-size: 14px;
    color: var(--text-secondary);
}

.question-row {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 8px;
}

.question-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.question-toggles {
    display: flex;
    gap: 8px;
}

.toggle-btn {
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--bg);
    cursor: pointer;
    transition: all 0.15s;
    flex: 1;
    text-align: center;
}

.toggle-btn:hover {
    background: var(--bg-secondary);
}

.toggle-btn.selected-yes {
    background: var(--safe-bg);
    border-color: var(--safe);
    color: var(--safe);
}

.toggle-btn.selected-no {
    background: var(--unsafe-bg);
    border-color: var(--unsafe);
    color: var(--unsafe);
}

.toggle-btn.selected-unsure {
    background: var(--investigate-bg);
    border-color: var(--investigate);
    color: var(--investigate);
}

/* ==========================================================================
   FINAL REPORT
   ========================================================================== */

#final-score-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
}

#recommendation-badge {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin: 12px 0;
}

#recommendation-badge.go {
    background: var(--safe-bg);
    color: var(--safe);
    border: 2px solid var(--safe);
}

#recommendation-badge.no-go {
    background: var(--unsafe-bg);
    color: var(--unsafe);
    border: 2px solid var(--unsafe);
}

#recommendation-badge.caution {
    background: var(--investigate-bg);
    color: var(--investigate);
    border: 2px solid var(--investigate);
}

#recommendation-detail {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 8px;
}

#score-change-indicator {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

#score-change-indicator.positive { color: var(--safe); }
#score-change-indicator.negative { color: var(--unsafe); }
#score-change-indicator.neutral { color: var(--text-muted); }

#final-summary-card {
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 16px;
    margin-top: 12px;
    margin-bottom: 12px;
}

#final-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* Detail groups for final report */
.detail-group {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}

.detail-group summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.detail-group summary::-webkit-details-marker {
    display: none;
}

.detail-group .detail-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.detail-group.safe .detail-icon {
    background: var(--safe-bg);
    color: var(--safe);
}

.detail-group.danger .detail-icon {
    background: var(--unsafe-bg);
    color: var(--unsafe);
}

.detail-group.neutral .detail-icon {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

.detail-group .detail-count {
    margin-left: auto;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 13px;
}

.detail-group > p,
.detail-group > ul {
    padding: 0 16px 16px 50px;
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.detail-group ul {
    list-style: disc;
}

.detail-group li {
    padding: 3px 0;
}

/* Share */
.share-container {
    position: relative;
    margin-bottom: 8px;
}

.share-feedback {
    display: block;
    text-align: center;
    color: var(--safe);
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Utility */
.btn-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 0;
    text-decoration: underline;
}

.btn-link:hover {
    color: var(--text-secondary);
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   SEARCH LIMIT REACHED
   ========================================================================== */

.limit-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.limit-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--unsafe-bg);
    color: var(--unsafe);
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.limit-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.limit-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.waitlist-form input[type="email"] {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: inherit;
    margin-bottom: var(--space-md);
    color: var(--text);
    background: var(--bg);
    min-height: 48px;
}

.waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.waitlist-success p {
    font-size: 15px;
    font-weight: 600;
    color: var(--safe);
    margin-bottom: var(--space-lg);
}

.limit-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: var(--space-xl) 0;
}

.request-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-xs);
}

.request-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

#limit-back-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Bottom padding for bottom nav */
main {
    padding-bottom: 100px;
}
