/* ============================================================================
   Cisco Spaces Design Configurator -- Stylesheet v2.0
   Cisco DNA Center / Spaces enterprise look. Light surface, blue accent.
   Stefan Mihajlov - mihajlov.rs
============================================================================ */

:root {
    /* Cisco brand palette */
    --c-blue-50:  #e6f4fb;
    --c-blue-100: #b8e1f4;
    --c-blue-200: #7fc8ec;
    --c-blue-300: #4daee0;
    --c-blue-400: #1e9bd4;
    --c-blue-500: #00bceb;    /* Cisco signature */
    --c-blue-600: #0099c7;
    --c-blue-700: #00789e;
    --c-blue-800: #005577;
    --c-blue-900: #003a52;

    /* Light enterprise surfaces */
    --bg:          #f4f6f9;
    --surface:     #ffffff;
    --surface-2:   #f4f6f9;
    --surface-3:   #e6eaf0;
    --border:      #cdd5e0;
    --border-2:    #9aaabe;
    --text:        #1f2937;
    --text-muted:  #4a5a73;
    --text-dim:    #6b7d95;

    --accent:      #00789e;   /* darker for AA contrast on light bg */
    --accent-light:#00bceb;
    --accent-dark: #005577;
    --accent-soft: rgba(0, 188, 235, 0.10);

    --success:     #00875a;
    --warning:     #e67e22;
    --danger:      #de350b;

    --radius:      8px;
    --radius-lg:   12px;
    --shadow:      0 2px 4px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg:   0 4px 8px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv11', 'ss01';
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Layout ─────────────────────────────────── */
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

.main-content {
    flex: 1;
    max-width: 880px;
    margin: 0 auto;
    padding: 32px 20px 60px;
    width: 100%;
}

/* ─── Header ─────────────────────────────────── */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
}

.logo-text strong { color: var(--accent); }

.logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 1px;
}

.logo-badge {
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.powered-by {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    max-width: 240px;
    text-align: right;
    line-height: 1.45;
}

.btn-reset {
    background: transparent;
    border: 1px solid var(--border-2);
    color: var(--text-muted);
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-reset:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ─── Progress Bar ───────────────────────────── */
.progress-container {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 0;
    overflow-x: auto;
}

.progress-inner {
    display: flex;
    align-items: center;
    max-width: 880px;
    margin: 0 auto;
    gap: 0;
    padding-bottom: 16px;
    min-width: 600px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.step-bubble {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    border: 2px solid var(--border-2);
    color: var(--text-muted);
    background: var(--surface-2);
    transition: all 0.3s;
}

.progress-step.active .step-bubble {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 3px rgba(0, 188, 235, 0.20);
}

.progress-step.completed .step-bubble {
    border-color: var(--success);
    background: var(--success);
    color: white;
}

.step-label {
    font-size: 10px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    white-space: nowrap;
}

.progress-step.active .step-label { color: var(--accent); }
.progress-step.completed .step-label { color: var(--success); }

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-2);
    margin: 0 4px;
    margin-bottom: 24px;
    min-width: 20px;
    transition: background 0.3s;
}

.progress-line.completed { background: var(--success); }

.progress-bar-track {
    display: none; /* Using step bubbles instead */
}

/* ─── Wizard Card ────────────────────────────── */
.wizard-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--shadow);
}

/* ─── Step Header ────────────────────────────── */
.step-header {
    margin-bottom: 32px;
}

.step-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.step-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.step-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 600px;
}

/* ─── Venue Grid ─────────────────────────────── */
.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.venue-card {
    cursor: pointer;
    position: relative;
}

.venue-card input { position: absolute; opacity: 0; pointer-events: none; }

.venue-card-inner {
    background: var(--surface-2);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    transition: all 0.2s;
    height: 100%;
    position: relative;
}

.venue-card:hover .venue-card-inner {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-soft);
}

.venue-card.selected .venue-card-inner {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.venue-icon { font-size: 28px; margin-bottom: 8px; }
.venue-label { font-weight: 600; font-size: 15px; color: var(--text); margin-bottom: 6px; }
.venue-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.venue-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    display: none;
    align-items: center;
    justify-content: center;
}

.venue-card.selected .venue-check { display: flex; }

/* ─── Subtype ────────────────────────────────── */
.subtype-section {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.subtype-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.subtype-options { display: flex; flex-wrap: wrap; gap: 8px; }

.subtype-pill {
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
}

.subtype-pill:hover { border-color: var(--accent); color: var(--text); }
.subtype-pill.selected { background: rgba(0, 188, 235, 0.16); border-color: var(--accent); color: var(--accent); font-weight: 500; }
.subtype-pill input { position: absolute; opacity: 0; pointer-events: none; }

/* ─── Use Case Cards ─────────────────────────── */
.uc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--surface-2);
    border-radius: 8px;
}

.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.select-all-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.selected-count { font-size: 13px; color: var(--text-muted); margin-left: auto; }
.selected-count span { color: var(--accent); font-weight: 600; }

.btn-sm {
    background: var(--accent);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-sm:hover { background: var(--accent-dark); }
.btn-sm.btn-outline { background: transparent; border: 1px solid var(--border-2); color: var(--text-muted); }
.btn-sm.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-sm.btn-ghost:hover { color: var(--danger); }

.uc-category { margin-bottom: 24px; }
.uc-cat-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-left: 4px;
    border-left: 3px solid var(--accent);
    padding-left: 8px;
}

.uc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }

.uc-card {
    cursor: pointer;
    position: relative;
}

.uc-card input { position: absolute; opacity: 0; pointer-events: none; }

.uc-card-inner {
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    transition: all 0.2s;
    height: 100%;
}

.uc-card:hover .uc-card-inner { border-color: var(--border-2); }
.uc-card.selected .uc-card-inner {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.uc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.uc-icon { font-size: 18px; }
.tier-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid;
}
.rec-badge {
    font-size: 10px;
    color: #e67e22;
    font-weight: 600;
}
.uc-label { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.uc-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.uc-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-size: 11px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.uc-card.selected .uc-check { display: flex; }

/* ─── Form elements ──────────────────────────── */
.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 0; }

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: var(--surface-2);
    border: 1.5px solid var(--border-2);
    border-radius: 8px;
    color: var(--text);
    font-size: 15px;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-input:focus { border-color: var(--accent); }
.form-input.large { font-size: 22px; font-weight: 700; padding: 12px 16px; }
.form-input::placeholder { color: var(--text-dim); font-weight: 400; font-size: 15px; }

.form-select {
    width: 100%;
    background: var(--surface-2);
    border: 1.5px solid var(--border-2);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    padding: 10px 14px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.input-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.input-with-info { position: relative; }

.unit-toggle {
    display: flex;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.toggle-option {
    flex: 1;
    padding: 9px 16px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.toggle-option input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-option.active { background: var(--accent); color: white; font-weight: 600; }

/* ─── Ceiling options ────────────────────────── */
.ceiling-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.ceiling-card {
    cursor: pointer;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: all 0.2s;
}

.ceiling-card:hover { border-color: var(--accent); }
.ceiling-card.selected { border-color: var(--accent); background: var(--accent-soft); }
.ceiling-card input { position: absolute; opacity: 0; pointer-events: none; }
.ceiling-height-val { font-size: 18px; font-weight: 700; color: var(--text); }
.ceiling-note { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ─── Stepper ────────────────────────────────── */
.stepper {
    display: flex;
    align-items: center;
    background: var(--surface-2);
    border: 1.5px solid var(--border-2);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.stepper-btn {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 20px;
    font-weight: 300;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.stepper-btn:hover { background: var(--border); color: var(--accent); }

.stepper-input {
    width: 70px;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
    outline: none;
    font-family: inherit;
}

.stepper.mini { width: auto; }
.stepper.mini .stepper-btn { width: 32px; height: 32px; font-size: 16px; }
.stepper.mini input { width: 50px; font-size: 15px; padding: 6px 0; }

/* ─── Area preview ───────────────────────────── */
.area-preview {
    display: flex;
    gap: 20px;
    background: var(--accent-soft);
    border: 1px solid rgba(0, 188, 235, 0.30);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.area-stat { text-align: center; }
.area-stat-val { font-size: 24px; font-weight: 700; color: var(--accent); }
.area-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─── Profile cards ──────────────────────────── */
.profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }

.profile-card {
    cursor: pointer;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    text-align: center;
    transition: all 0.2s;
}

.profile-card:hover { border-color: var(--border-2); }
.profile-card.selected { border-color: var(--accent); background: var(--accent-soft); }
.profile-card input { position: absolute; opacity: 0; pointer-events: none; }
.profile-icon { font-size: 22px; margin-bottom: 6px; }
.profile-label { font-weight: 600; font-size: 13px; color: var(--text); margin-bottom: 4px; }
.profile-desc { font-size: 11px; color: var(--text-muted); line-height: 1.4; margin-bottom: 6px; }
.profile-bw { font-size: 10px; font-weight: 600; color: var(--accent); }

/* ─── Density cards ──────────────────────────── */
.density-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }

.density-card {
    cursor: pointer;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: all 0.2s;
}

.density-card:hover { border-color: var(--border-2); }
.density-card.selected { border-color: var(--accent); background: var(--accent-soft); }
.density-card input { position: absolute; opacity: 0; pointer-events: none; }
.density-label { font-weight: 700; font-size: 15px; color: var(--text); }
.density-sub { font-size: 13px; font-weight: 600; margin-top: 3px; }
.density-desc { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ─── Capacity preview ───────────────────────── */
.capacity-preview {
    background: var(--accent-soft);
    border: 1px solid rgba(0, 188, 235, 0.30);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 20px;
}

.cap-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.cap-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.cap-val { font-size: 28px; font-weight: 700; color: var(--accent); }
.cap-lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─── Rooms grid ─────────────────────────────── */
.rooms-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }

.room-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
}

.room-icon { font-size: 24px; flex-shrink: 0; }
.room-info { flex: 1; }
.room-title { font-weight: 600; font-size: 14px; color: var(--text); }
.room-desc { font-size: 12px; color: var(--text-muted); margin-top: 3px; line-height: 1.5; }

/* ─── Addons ─────────────────────────────────── */
.addons-section { margin-top: 8px; }
.addons-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 12px; }

.addon-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.2s;
    position: relative;
}

.addon-toggle:hover { border-color: var(--border-2); }
.addon-toggle.active { border-color: var(--accent); background: var(--accent-soft); }
.addon-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.addon-icon { font-size: 22px; flex-shrink: 0; }
.addon-info { flex: 1; }
.addon-label { font-weight: 600; font-size: 14px; color: var(--text); }
.addon-desc { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.addon-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.addon-toggle.active .addon-check { display: flex; }

.sensor-types { display: flex; flex-direction: column; gap: 8px; }
.sensor-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    transition: all 0.15s;
}
.sensor-pill input { position: absolute; opacity: 0; pointer-events: none; }
.sensor-pill.selected { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.sensor-pill::before { content: '○'; font-size: 14px; color: var(--text-dim); }
.sensor-pill.selected::before { content: '●'; color: var(--accent); }

/* ─── Wall options ───────────────────────────── */
.wall-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}

.wall-card {
    cursor: pointer;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    transition: all 0.2s;
}

.wall-card:hover { border-color: var(--border-2); }
.wall-card.selected { border-color: var(--accent); background: var(--accent-soft); }
.wall-card input { position: absolute; opacity: 0; pointer-events: none; }

.wall-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.wall-icon { font-size: 18px; }
.wall-label { font-weight: 600; font-size: 14px; color: var(--text); flex: 1; min-width: 100px; }
.wall-atten { display: flex; gap: 12px; }
.band { font-size: 11px; color: var(--text-muted); }
.band strong { color: var(--text); }
.mult-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; background: rgba(231,76,60,0.15); color: var(--danger); border-radius: 20px; }
.wall-desc { font-size: 12px; color: var(--text-muted); }

/* ─── Conditions ─────────────────────────────── */
.conditions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.condition-toggle {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.condition-toggle:hover { border-color: var(--border-2); }
.condition-toggle.active { border-color: var(--warning); background: rgba(230,126,34,0.05); }
.condition-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cond-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.cond-label { font-weight: 600; font-size: 13px; color: var(--text); margin-bottom: 4px; }
.cond-note { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ─── Age cards ──────────────────────────────── */
.age-options, .survey-options, .region-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.age-card {
    cursor: pointer;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    transition: all 0.2s;
}

.age-card:hover { border-color: var(--border-2); }
.age-card.selected { border-color: var(--accent); background: var(--accent-soft); }
.age-card input { position: absolute; opacity: 0; pointer-events: none; }
.age-label { font-weight: 600; font-size: 13px; color: var(--text); margin-bottom: 4px; }
.age-note { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ─── Attenuation preview ────────────────────── */
.atten-preview {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 20px;
}

.atten-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.atten-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.atten-band { font-size: 12px; color: var(--text-muted); width: 70px; flex-shrink: 0; }
.atten-bar-track { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.atten-bar-fill { height: 100%; background: var(--accent); border-radius: 4px; transition: width 0.4s; }
.atten-bar-fill.five { background: #9b59b6; }
.atten-val { font-size: 12px; color: var(--text); width: 70px; text-align: right; flex-shrink: 0; }
.atten-mult { font-size: 13px; color: var(--text-muted); margin-top: 10px; }
.atten-mult strong { color: var(--danger); }

/* ─── Infrastructure cards ───────────────────── */
.infra-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }

.infra-card {
    cursor: pointer;
    background: var(--surface-2);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    transition: all 0.2s;
}

.infra-card:hover { border-color: var(--border-2); }
.infra-card.selected { border-color: var(--accent); background: var(--accent-soft); }
.infra-card input { position: absolute; opacity: 0; pointer-events: none; }

.infra-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.infra-icon { font-size: 24px; flex-shrink: 0; }
.infra-label { font-weight: 700; font-size: 15px; color: var(--text); }
.infra-sub { font-size: 12px; color: var(--text-muted); }
.onboard-badge { font-size: 10px; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-left: auto; white-space: nowrap; }

.infra-features { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.infra-features li { font-size: 12px; color: var(--text-muted); }

/* ─── Wi-Fi standard cards ───────────────────── */
.wifi-std-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }

.wifi-card {
    cursor: pointer;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    transition: all 0.2s;
}

.wifi-card:hover { border-color: var(--border-2); }
.wifi-card.selected { border-color: var(--accent); background: var(--accent-soft); }
.wifi-card input { position: absolute; opacity: 0; pointer-events: none; }
.wifi-rec { font-size: 10px; color: var(--warning); font-weight: 600; margin-bottom: 4px; }
.wifi-label { font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 6px; }
.wifi-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.wifi-notes { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

.existing-options { display: flex; flex-direction: column; gap: 8px; }
.existing-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.15s;
}
.existing-toggle:hover { border-color: var(--border-2); color: var(--text); }
.existing-toggle.active { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.existing-toggle input { position: absolute; opacity: 0; pointer-events: none; }

/* ─── Accuracy tiers ─────────────────────────── */
.accuracy-tiers { display: flex; flex-direction: column; gap: 10px; }

.accuracy-card {
    cursor: pointer;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    transition: all 0.2s;
}

.accuracy-card:hover { border-color: var(--border-2); }
.accuracy-card.selected { border-color: var(--accent); background: var(--accent-soft); }
.accuracy-card input { position: absolute; opacity: 0; pointer-events: none; }

.acc-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.acc-label { font-weight: 700; font-size: 15px; color: var(--text); }
.acc-accuracy { font-size: 13px; font-weight: 600; }
.acc-tech { font-size: 12px; color: var(--text-muted); }
.acc-mult { font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 20px; }

.acc-details { display: flex; flex-direction: column; gap: 3px; }
.acc-row { font-size: 12px; color: var(--text-muted); }
.acc-row strong { color: var(--text); }
.acc-row.hw { color: var(--accent); }

/* ─── Final CTA ──────────────────────────────── */
.final-cta {
    background: linear-gradient(135deg, var(--accent-soft), var(--accent-soft));
    border: 1px solid rgba(0, 88, 119, 0.20);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.cta-text { display: flex; gap: 16px; align-items: flex-start; }
.cta-text > span { font-size: 28px; }
.cta-text strong { font-size: 16px; color: var(--text); display: block; margin-bottom: 4px; }
.cta-text div { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ─── Info banner ────────────────────────────── */
.info-banner {
    display: flex;
    gap: 12px;
    background: var(--accent-soft);
    border: 1px solid rgba(0, 188, 235, 0.30);
    border-radius: 10px;
    padding: 14px 18px;
    margin: 20px 0;
}

.info-icon { font-size: 18px; flex-shrink: 0; }
.info-text { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.info-text strong { color: var(--text); }

/* ─── Step Footer ────────────────────────────── */
.step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0, 88, 119, 0.20); text-decoration: none; color: white; }

.btn-primary.btn-generate {
    background: linear-gradient(135deg, var(--accent-light), #0080a8);
    padding: 14px 32px;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(0, 188, 235, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-2);
    color: var(--text-muted);
    border: 1px solid var(--border-2);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: inherit;
}

.btn-secondary:hover { border-color: var(--accent); color: var(--text); text-decoration: none; }

/* ─── Tooltip ────────────────────────────────── */
.tooltip { cursor: help; color: var(--text-muted); font-size: 13px; }

/* ─── Unit label ─────────────────────────────── */
.unit-label {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ─── Footer ─────────────────────────────────── */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
}

.site-footer a { color: var(--accent); }

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 768px) {
    .wizard-card { padding: 20px; }
    .venue-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .conditions-grid { grid-template-columns: 1fr; }
    .infra-grid { grid-template-columns: 1fr; }
    .wifi-std-grid { grid-template-columns: 1fr 1fr; }
    .rules-grid { grid-template-columns: 1fr; }
    .step-footer { flex-direction: column-reverse; gap: 12px; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .header-inner { flex-wrap: wrap; gap: 8px; }
    .powered-by { display: none; }
}

@media (max-width: 480px) {
    .venue-grid { grid-template-columns: 1fr; }
    .uc-grid { grid-template-columns: 1fr; }
    .progress-inner { overflow-x: scroll; }
}

/* ─── Wall info widget ───────────────────────── */
.wall-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 12px;
}
.wall-stat { text-align: center; min-width: 80px; }
.wall-val { display: block; font-size: 18px; font-weight: 700; color: var(--accent); }
.wall-key { display: block; font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.wall-hint { font-size: 13px; color: var(--text-muted); flex: 1; min-width: 200px; }

/* ─── Capacity preview ───────────────────────── */
.capacity-preview {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-muted);
    min-height: 38px;
}
.capacity-preview strong { color: var(--accent); }

/* ─── Area preview ───────────────────────────── */
#area-preview {
    display: inline-block;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
    min-height: 36px;
    min-width: 280px;
}
#area-preview strong { color: var(--accent); }

/* ─── Print styles ───────────────────────────── */
@media print {
    .site-header, .progress-container, .report-actions, .site-footer { display: none !important; }
    body { background: white; color: black; }
    .section { border: 1px solid #ccc; box-shadow: none; }
    .result-card.hero { background: #0080a8 !important; -webkit-print-color-adjust: exact; }
}

/* ─── Input clamp warning ────────────────────────────────────────────── */
.input-clamp-warn {
    font-size: 12px;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 6px;
    padding: 4px 10px;
    margin-top: 4px;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
