/* ── Reset & tokens ─────────────────────────────────────── */
/*
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}
*/

:root {
    --navy: #1C3041;
    --teal: #34C1D0;
    --teal-lt: #DCF1F8;
    --teal-md: #A8E4EE;
    --brown: #95684D;
    --brown-lt: #F5EDE7;
    --green: #2E7D32;
    --red: #C62828;
    --yellow-bg: #FFFBEB;
    --yellow-bd: #F59E0B;
    --white: #fff;
    --off-white: #F8F9FA;
    --gray-100: #F0F2F4;
    --gray-200: #E2E6EA;
    --gray-400: #9BA5B4;
    --gray-600: #5A6474;
    --gray-800: #2D3748;
    --sans: 'Quicksand', Arial, sans-serif;
    --body: Arial, sans-serif;
    --r: 8px;
    --r-lg: 14px;
}

/*
body {
    font-family: var(--body);
    background: #EEF1F5;
    color: var(--gray-800);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    padding: 24px 16px
}*/

/* ── Shell ──────────────────────────────────────────────── */
.shell {
    /*max-width: 1020px;*/
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(28, 48, 65, 0.10)
}

/* ── Masthead ───────────────────────────────────────────── */
.masthead {
    background: var(--navy);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 16px
}

.masthead-badge {
    background: var(--teal);
    color: var(--navy);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap
}

.masthead-title {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    color: var(--white)
}

.masthead-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1px
}

.autosave {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 16px
}

.save-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal)
}

.save-dot.saving {
    background: #e2b93b;
    animation: ssw-tsc-pulse 1s infinite
}

@keyframes ssw-tsc-pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .35
    }
}

/* ── Progress bar ───────────────────────────────────────── */
.progress {
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 28px;
    display: flex;
    align-items: stretch;
    background-color: var(--navy)
}

.prog-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    flex: 1;
    position: relative
}

.prog-item + .prog-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.12)
}

.prog-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s
}

.prog-dot.done {
    background: var(--teal);
    color: var(--navy)
}

.prog-dot.active {
    background: var(--white);
    color: var(--navy)
}

.prog-dot.pending {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.4)
}

.prog-text {
    display: flex;
    flex-direction: column
}

.prog-label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    transition: color 0.25s
}

.prog-label.done {
    color: var(--teal)
}

.prog-label.active {
    color: var(--white)
}

.prog-label.pending {
    color: rgba(255, 255, 255, 0.35)
}

.prog-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3)
}

/* ── Main two-column layout ─────────────────────────────── */
.body-wrap {
    display: grid;
    grid-template-columns: 1fr 268px
}

.step-col {
    padding: 32px 36px;
    border-right: 1px solid var(--gray-200);
    min-height: 560px
}

.side-col {
    padding: 24px 20px;
    background: var(--off-white)
}

/* ── Step headings ──────────────────────────────────────── */
.eyebrow {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 5px
}

.step-title {
    font-family: var(--sans);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 8px
}

.step-desc {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 28px;
    line-height: 1.65;
    max-width: 520px
}

/* ── Fields ─────────────────────────────────────────────── */
.fg {
    margin-bottom: 22px
}

.fl {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    display: block;
    margin-bottom: 5px
}

.fh {
    font-size: 11px;
    color: var(--gray-400);
    margin-bottom: 6px
}

.fi {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r);
    font-size: 14px;
    font-family: var(--body);
    color: var(--gray-800);
    background: var(--white);
    transition: border-color 0.15s;
    appearance: none
}

.fi:focus {
    outline: none;
    border-color: var(--teal)
}

.fi.err {
    border-color: var(--red)
}

.fi-w {
    max-width: 200px
}

.fi-xs {
    max-width: 100px;
    text-align: center;
    font-weight: 700
}

.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.row3 {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 12px
}

/* tooltip */
.tip-wrap {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px
}

.tip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--teal-lt);
    color: var(--teal);
    font-size: 9px;
    font-weight: 700;
    cursor: default;
    user-select: none;
    border: 1px solid var(--teal-md)
}

.tip-bubble {
    display: none;
    position: absolute;
    left: 20px;
    top: -6px;
    width: 230px;
    background: var(--navy);
    color: var(--white);
    font-size: 11px;
    line-height: 1.55;
    padding: 10px 13px;
    border-radius: var(--r);
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2)
}

.tip-wrap:hover .tip-bubble,
.tip-wrap:focus-within .tip-bubble {
    display: block
}

/* ── Radio options ──────────────────────────────────────── */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.ro {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s
}

.ro:hover {
    border-color: var(--teal-md);
    background: var(--teal-lt)
}

.ro.sel {
    border-color: var(--teal);
    background: var(--teal-lt)
}

.ro input[type=radio] {
    accent-color: var(--teal);
    margin-top: 2px;
    flex-shrink: 0;
    width: 15px;
    height: 15px
}

.ro-main {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy)
}

.ro-sub {
    font-size: 11px;
    color: var(--gray-600);
    margin-top: 1px
}

/* ── Banner ─────────────────────────────────────────────── */
.banner {
    border-radius: var(--r);
    padding: 11px 14px;
    font-size: 12px;
    line-height: 1.55;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 18px;
    display: none
}

.banner.show {
    display: flex
}

.banner-warn {
    background: var(--yellow-bg);
    border: 1px solid var(--yellow-bd);
    color: #78350F
}

.banner-err {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--red)
}

/* ── Room cards ─────────────────────────────────────────── */
.room-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px
}

.room-card {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r);
    overflow: hidden
}

.room-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200)
}

.room-hdr-num {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em
}

.room-remove {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: var(--sans);
    font-weight: 700;
    transition: color 0.15s, background 0.15s
}

.room-remove:hover {
    color: var(--red);
    background: rgba(198, 40, 40, 0.07)
}

.room-body {
    padding: 12px 14px
}

.room-label {
    font-size: 10px;
    color: var(--gray-600);
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.04em
}

.type-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.tp {
    padding: 5px 11px;
    border: 1.5px solid var(--gray-200);
    border-radius: 20px;
    font-size: 11px;
    font-family: var(--sans);
    font-weight: 700;
    cursor: pointer;
    color: var(--gray-600);
    transition: all 0.12s;
    user-select: none
}

.tp:hover {
    border-color: var(--teal)
}

.tp.ts {
    border-color: var(--teal);
    background: var(--teal-lt);
    color: var(--navy)
}

.tp.te {
    border-color: var(--brown);
    background: var(--brown-lt);
    color: var(--brown)
}

.add-room {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    border: 1.5px dashed var(--teal);
    border-radius: var(--r);
    background: none;
    color: var(--teal);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s
}

.add-room:hover {
    background: var(--teal-lt)
}

/* ── Schedule table ─────────────────────────────────────── */
.sched-wrap {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 20px
}

.sched-table {
    width: 100%;
    border-collapse: collapse
}

.sched-table th {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 8px 12px;
    text-align: left;
    background: var(--gray-100);
    border-bottom: 1.5px solid var(--gray-200)
}

.sched-table td {
    padding: 7px 12px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle
}

.sched-table tr:last-child td {
    border-bottom: none
}

.sched-table tr.off td {
    opacity: .45
}

.day-ck {
    accent-color: var(--teal);
    width: 15px;
    height: 15px;
    cursor: pointer
}

.day-name {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy)
}

.ti {
    padding: 6px 8px;
    border: 1.5px solid var(--gray-200);
    border-radius: 6px;
    font-size: 13px;
    color: var(--gray-800);
    width: 90px;
    transition: border-color 0.15s
}

.ti:focus {
    outline: none;
    border-color: var(--teal)
}

.ti:disabled {
    background: var(--gray-100);
    color: var(--gray-400);
    cursor: not-allowed;
    border-color: var(--gray-200)
}

.ti.err {
    border-color: var(--red)
}

.hrs-pill {
    display: inline-block;
    background: var(--teal-lt);
    color: var(--navy);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    min-width: 42px;
    text-align: center
}

/* ── Activity rows ──────────────────────────────────────── */
.act-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px
}

.act-row {
    display: grid;
    grid-template-columns: 1fr 110px;
    gap: 12px;
    align-items: center;
    padding: 11px 14px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r)
}

.act-row.custom {
    border-style: dashed;
    background: var(--white)
}

.act-main {
    font-size: 13px;
    color: var(--gray-800);
    font-weight: 600
}

.act-sub {
    font-size: 11px;
    color: var(--gray-400);
    font-weight: 400
}

.act-inp-wrap {
    display: flex;
    align-items: center;
    gap: 6px
}

.act-inp {
    padding: 7px 10px;
    border: 1.5px solid var(--gray-200);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: var(--gray-800);
    width: 68px;
    transition: border-color 0.15s
}

.act-inp:focus {
    outline: none;
    border-color: var(--teal)
}

.act-unit {
    font-size: 10px;
    color: var(--gray-400);
    white-space: nowrap
}

/* ── Sidebar ────────────────────────────────────────────── */
.side-head {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px
}

.big-box {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 20px 16px;
    text-align: center;
    margin-bottom: 14px
}

.big-lbl {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px
}

.big-val {
    font-family: var(--sans);
    font-size: 40px;
    font-weight: 700;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 3px;
    transition: color 0.3s
}

.big-val.lit {
    color: var(--teal)
}

.big-sub {
    font-size: 10px;
    color: var(--gray-400)
}

.calc-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px
}

.cr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r)
}

.cr-lbl {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600)
}

.cr-val {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    color: var(--navy)
}

.cr-val.dim {
    color: var(--gray-400);
    font-weight: 400;
    font-style: italic;
    font-size: 10px;
    font-family: var(--body)
}

.ref-box {
    background: var(--navy);
    border-radius: var(--r);
    padding: 12px 14px
}

.ref-head {
    font-size: 9px;
    color: var(--teal);
    font-family: var(--sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px
}

.rr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3.5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06)
}

.rr:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.rr-lbl {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--sans)
}

.rr-val {
    font-size: 11px;
    font-family: var(--sans);
    font-weight: 700;
    color: var(--white)
}

.rr-val.dim {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
    font-style: italic;
    font-size: 9.5px
}

/* ── Nav ────────────────────────────────────────────────── */
.nav-bar {
    padding: 16px 36px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.btn {
    padding: 10px 24px;
    border-radius: var(--r);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.15s
}

.btn-back {
    background: var(--white);
    border-color: var(--gray-200);
    color: var(--gray-600)
}

.btn-back:hover {
    border-color: var(--gray-400);
    color: var(--gray-800)
}

.btn-next {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white)
}

.btn-next:hover {
    background: #2AAEC0;
    border-color: #2AAEC0
}

.btn-gen {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white)
}

.btn-gen:hover {
    background: #243C54;
    border-color: #243C54
}

.step-ctr {
    font-size: 11px;
    color: var(--gray-400);
    font-family: var(--sans)
}

/* ── Step visibility ────────────────────────────────────── */
.sc {
    display: none
}

.sc.on {
    display: block
}

/* ── Summary / results ──────────────────────────────────── */
.result-hero {
    background: var(--navy);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    text-align: center;
    margin-bottom: 24px
}

.rh-lbl {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px
}

.rh-pct {
    font-family: var(--sans);
    font-size: 60px;
    font-weight: 700;
    color: var(--white);
    line-height: 1
}

.rh-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px
}

.sum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px
}

.sum-card {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r);
    padding: 14px 16px
}

.sum-card-lbl {
    font-size: 10px;
    color: var(--gray-400);
    font-family: var(--sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px
}

.sum-card-val {
    font-family: var(--sans);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy)
}

.form-ref-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-bottom: 20px
}

.form-ref-table th {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
    padding: 6px 10px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200)
}

.form-ref-table td {
    padding: 7px 10px;
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
    vertical-align: top
}

.form-ref-table tr:nth-child(even) td {
    background: var(--off-white)
}

.ref-line-num {
    font-family: var(--sans);
    font-weight: 700;
    color: var(--teal);
    font-size: 11px
}

.ref-val-bold {
    font-family: var(--sans);
    font-weight: 700;
    color: var(--navy)
}

.next-steps {
    background: var(--teal-lt);
    border: 1px solid var(--teal-md);
    border-radius: var(--r);
    padding: 16px 18px;
    font-size: 13px;
    color: var(--navy);
    line-height: 1.65
}

.next-steps strong {
    font-family: var(--sans)
}

.note-box {
    background: var(--yellow-bg);
    border: 1px solid var(--yellow-bd);
    border-radius: var(--r);
    padding: 12px 14px;
    font-size: 12px;
    color: #78350F;
    line-height: 1.6;
    margin-bottom: 16px;
    display: none
}

/* ── Disclaimer footer ──────────────────────────────────── */
.disclaimer {
    padding: 14px 36px;
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    font-size: 11px;
    color: var(--gray-400);
    line-height: 1.5
}