:root {
    --bg: #F9F7F7;
    --light: #DBE2EF;
    --blue: #3F72AF;
    --navy: #112D4E;
}

body {
    font-family: 'Iosevka', 'Iosevka Charon', monospace;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: var(--bg);
    color: var(--navy);
}

h1 {
    margin-bottom: 10px;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.member-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.member-card h2 {
    margin-top: 0;
}

.member-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* ── NAV ── */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    margin: 0;
    border-bottom: 1px solid rgba(17, 45, 78, 0.15);
    background-color: var(--bg);
}

nav div {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

nav a {
    color: var(--navy);
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

nav a:hover {
    color: var(--blue);
}

nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 0;
}

.nav-logo {
    height: 28px;
    width: auto;
    display: block;
}

nav .nav-login,
nav .nav-signup {
    color: var(--navy);
    background-color: transparent;
    border: 2px solid var(--navy);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 24px;
    margin: 0;
}

nav .nav-login:hover,
nav .nav-signup:hover {
    background-color: var(--navy);
    color: var(--bg);
}

/* ── HERO ── */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 8%;
    min-height: 100vh;
    box-sizing: border-box;
    text-align: left;
}

.hero-text {
    max-width: 480px;
}

.hero-text h1 {
    font-size: 44px;
    margin: 0 0 10px;
}

.hero-text p {
    font-size: 15px;
    margin: 0 0 28px;
    color: var(--navy);
}

.get-started {
    background-color: var(--blue);
    color: var(--bg);
    border: none;
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.get-started:hover {
    background-color: var(--navy);
}

.hero-image img {
    max-height: 420px;
}

/* ── SEARCH ── */
.search-container {
    background: white;
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-container h2 {
    margin-top: 0;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.search-box input {
    flex: 1;
    padding: 12px;
    font-size: 15px;
    border: 2px solid var(--blue);
    border-radius: 6px;
    outline: none;
    font-family: inherit;
}

.search-box button {
    padding: 12px 24px;
    background-color: var(--blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    font-family: inherit;
}

.search-box button:hover {
    background-color: var(--navy);
}

.results-container {
    max-width: 600px;
    margin: 0 auto;
}

.result-card {
    background: white;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    text-align: left;
}

.recent-item {
    cursor: pointer;
}

.recent-item:hover {
    color: var(--blue);
    text-decoration: underline;
}

/* ── LOGIN / SIGNUP ── */
.login-container {
    background: var(--light);
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

.login-container h2 {
    margin-top: 0;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-top: 20px;
}

.login-form label {
    font-weight: bold;
    margin-bottom: 6px;
    margin-top: 14px;
}

.login-form input {
    padding: 12px;
    font-size: 15px;
    border: 2px solid var(--blue);
    border-radius: 6px;
    outline: none;
    font-family: inherit;
}

.login-form button {
    margin-top: 24px;
    padding: 12px 24px;
    background-color: var(--blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    font-family: inherit;
}

.login-form button:hover {
    background-color: var(--navy);
}

.login-message {
    margin-top: 16px;
    font-weight: bold;
    text-align: center;
}

.login-message.error {
    color: #C0392B;
}

.inline-link {
    color: var(--blue);
    font-weight: bold;
    text-decoration: none;
}

.inline-link:hover {
    text-decoration: underline;
}

/* ── ACCOUNT DROPDOWN ── */
.nav-account {
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--light);
    padding: 4px;
}

.account-dropdown {
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    padding: 16px;
    min-width: 220px;
    z-index: 100;
    text-align: left;
}

.dropdown-email {
    font-weight: bold;
    font-size: 14px;
    margin: 0 0 8px 0;
    color: var(--navy);
    word-break: break-all;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid var(--light);
    margin: 10px 0;
}

.dropdown-logout {
    background: none;
    border: none;
    color: var(--blue);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 0;
    font-family: inherit;
}

.dropdown-logout:hover {
    text-decoration: underline;
}

/* ── FOOTER ── */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    background-color: var(--navy);
    color: var(--bg);
    font-size: 13px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.footer-team {
    font-size: 11px;
    color: var(--light);
}

.footer-links a {
    color: var(--bg);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.footer-links a:hover {
    color: var(--light);
}

/* ── TOAST ── */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background-color: var(--navy);
    color: var(--bg);
    padding: 14px 28px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 200;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ── PLAN / DESTINATION PAGE ── */
.plan-layout {
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 53px);
}

.plan-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    background-color: var(--light);
}

.plan-box {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.plan-box h1 {
    font-size: 26px;
    margin: 0 0 20px;
    color: var(--navy);
}

.plan-search {
    position: relative;
    margin-bottom: 20px;
}

.plan-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 40px 12px 14px;
    font-size: 13px;
    font-family: inherit;
    border: 1px solid var(--navy);
    border-radius: 8px;
    outline: none;
    color: var(--navy);
    background: white;
}

.plan-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--navy);
    display: flex;
}

.dest-card {
    border: 1px solid var(--navy);
    border-radius: 4px;
    overflow: hidden;
    background: white;
    margin-bottom: 22px;
    text-align: left;
}

.dest-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.dest-caption {
    margin: 0;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--navy);
    border-top: 1px solid var(--navy);
}

.plan-continue {
    background-color: var(--navy);
    color: var(--bg);
    border: 1px solid var(--navy);
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
}

.plan-continue:hover {
    background-color: var(--blue);
    border-color: var(--blue);
}

.dest-name {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
}

.dest-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.plan-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.plan-btn {
    background-color: var(--navy);
    color: var(--bg);
    border: 1px solid var(--navy);
    padding: 8px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
}

.plan-btn:hover {
    background-color: var(--blue);
    border-color: var(--blue);
}

/* ── Calendar step ── */
.date-fields {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.date-pill {
    border: 1px solid var(--navy);
    border-radius: 6px;
    padding: 8px 16px;
    background: white;
    color: var(--navy);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    min-width: 90px;
}

.date-pill.active {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(63, 114, 175, 0.25);
}

.date-sep {
    color: var(--navy);
}

.calendar {
    background: white;
    border: 1px solid var(--navy);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 22px;
}

.cal-months {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cal-month {
    flex: 1;
}

.cal-month h2 {
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 8px;
    text-align: center;
    color: var(--navy);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-dow {
    font-size: 10px;
    color: var(--navy);
    opacity: 0.6;
    text-align: center;
    padding: 2px 0;
}

.cal-day {
    font-size: 11px;
    text-align: center;
    padding: 4px 0;
    border-radius: 4px;
    cursor: pointer;
    color: var(--navy);
    user-select: none;
}

.cal-day.empty {
    cursor: default;
}

.cal-day:not(.empty):hover {
    background: var(--light);
}

.cal-day.in-range {
    background: var(--light);
    border-radius: 0;
}

.cal-day.selected {
    background: var(--navy);
    color: var(--bg);
}

.cal-body {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cal-nav {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: var(--navy);
    cursor: pointer;
    padding: 4px 8px;
    font-family: inherit;
}

.cal-nav:hover {
    color: var(--blue);
}

.cal-done {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.cal-done button {
    background: var(--blue);
    color: var(--bg);
    border: none;
    border-radius: 12px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
}

.plan-map {
    flex: 1;
    display: flex;
    align-items: stretch;
    background-color: var(--light);
}

.plan-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 800px) {
    .plan-layout {
        flex-direction: column;
    }
    .plan-map {
        min-height: 300px;
    }
}

.invite-field {
    text-align: left;
    margin-bottom: 20px;
}

.invite-field label,
.invite-list-section label {
    font-size: 13px;
    font-weight: bold;
    color: var(--navy);
    display: block;
    margin-bottom: 6px;
}

.invite-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.invite-input-row input {
    flex: 1;
    padding: 10px 14px;
    font-size: 13px;
    font-family: inherit;
    border: 1px solid var(--navy);
    border-radius: 8px;
    outline: none;
    color: var(--navy);
    background: white;
}

.invite-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: var(--bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.invite-send-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.invite-list-section {
    text-align: left;
    margin-bottom: 22px;
}

.invite-list {
    border: 1px solid var(--navy);
    border-radius: 8px;
    background: #f5f3ef;
    min-height: 140px;
    padding: 10px 14px;
}

.invite-list p {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: var(--navy);
}

.plan-skip {
    display: block;
    margin: 14px auto 0;
    background: none;
    border: none;
    color: var(--blue);
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.plan-skip:hover {
    color: var(--navy);
}

/* ── Transportation step ── */
.transport-unit {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.unit-select {
    padding: 6px 12px;
    border: 1px solid var(--navy);
    border-radius: 6px;
    background: white;
    color: var(--navy);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}

.transport-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 26px;
}

.transport-card {
    position: relative;
    flex: 1;
    max-width: 90px;
    padding: 16px 6px;
    border: 2px solid var(--navy);
    border-radius: 10px;
    background: white;
    color: var(--navy);
    font-family: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.transport-icon {
    font-size: 30px;
    line-height: 1;
}

.transport-name {
    font-weight: bold;
    font-size: 13px;
}

.transport-dist {
    font-size: 10px;
    opacity: 0.7;
}

.transport-card.selected {
    border-color: #2ECC71;
    background: #EAFAF0;
}

.transport-check {
    position: absolute;
    top: -9px;
    right: -9px;
    width: 20px;
    height: 20px;
    background: #2ECC71;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

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

/* ── Budget step ── */
.budget-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.budget-header h1 {
    margin: 0;
    font-size: 20px;
}

.budget-field {
    text-align: left;
    margin-bottom: 18px;
}

.budget-field label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: var(--navy);
    margin-bottom: 6px;
}

.budget-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 13px;
    font-family: inherit;
    border: 1px solid var(--navy);
    border-radius: 8px;
    outline: none;
    color: var(--navy);
    background: white;
}

.budget-field input[readonly] {
    background: var(--light);
    cursor: not-allowed;
}

/* ── Budget summary step ── */
.plan-box.budget-summary {
    max-width: 760px;
    text-align: left;
}

.summary-card {
    border: 1px solid var(--navy);
    border-radius: 16px;
    background: white;
    padding: 24px;
    margin-bottom: 20px;
    min-height: 400px;
}

.summary-card h2 {
    margin: 0 0 2px;
    font-size: 20px;
    color: var(--navy);
}

.summary-dates {
    margin: 0 0 18px;
    font-size: 13px;
    color: var(--navy);
    opacity: 0.7;
}

.summary-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.stat-tile {
    flex: 1;
    min-width: 90px;
    border: 1px solid var(--navy);
    border-radius: 8px;
    padding: 10px 14px;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: var(--navy);
    opacity: 0.7;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: var(--navy);
}

.stat-value .star {
    color: #F1C40F;
}

.stat-value .score {
    color: #2ECC71;
}

.summary-subhead {
    font-size: 13px;
    font-weight: bold;
    color: var(--navy);
    margin: 0 0 10px;
}

.daily-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.daily-card {
    flex: 1;
    min-width: 78px;
    border: 1px solid var(--navy);
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
}

.daily-date {
    font-size: 12px;
    font-weight: bold;
    color: var(--navy);
    margin-bottom: 4px;
}

.daily-spent {
    font-size: 12px;
    color: var(--navy);
}

.daily-of {
    font-size: 11px;
    color: var(--navy);
    opacity: 0.7;
}

/* ── Food preferences step ── */
.plan-box.food-prefs {
    max-width: 620px;
    text-align: left;
}

.food-prefs h1 {
    margin: 0 0 4px;
}

.food-sub {
    margin: 0 0 22px;
    font-size: 14px;
    color: var(--navy);
    opacity: 0.7;
}

.food-group {
    margin-bottom: 18px;
}

.food-group h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: bold;
    color: var(--navy);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    border: 2px solid var(--navy);
    border-radius: 6px;
    background: white;
    color: var(--navy);
    font-family: inherit;
    font-size: 13px;
    padding: 6px 12px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.chip:hover {
    background: var(--light);
}

.chip.selected {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
    font-weight: bold;
}

.chip.selected::before {
    content: '✓ ';
}

.chip.selected:hover {
    background: var(--navy);
}

.food-save {
    margin: 6px 0 22px;
    background: white;
    color: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 6px;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.food-save:hover {
    background: var(--blue);
    color: var(--bg);
}

/* ── Itinerary builder step ── */
.plan-box.itinerary {
    max-width: none;
    width: 100%;
    text-align: left;
    align-self: stretch;
    padding: 0;
}

.itin-layout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.itin-schedule {
    width: 160px;
    flex-shrink: 0;
}

.itin-schedule h4 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: bold;
    color: var(--navy);
}

.schedule-day {
    margin-bottom: 14px;
}

.schedule-day-header {
    font-size: 11px;
    font-weight: bold;
    color: var(--navy);
    opacity: 0.6;
    margin-bottom: 6px;
}

.schedule-day.current .schedule-day-header {
    opacity: 1;
    color: var(--blue);
}

.schedule-empty {
    font-size: 12px;
    color: var(--navy);
    opacity: 0.6;
}

.schedule-item {
    display: flex;
    gap: 8px;
    background: white;
    border: 1px solid var(--navy);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.schedule-day.current .schedule-item {
    border-color: var(--blue);
}

.si-time {
    font-size: 11px;
    font-weight: bold;
    color: var(--navy);
    white-space: nowrap;
}

.si-name {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: var(--navy);
}

.si-sub {
    display: block;
    font-size: 10px;
    color: var(--navy);
    opacity: 0.7;
}

.itin-main {
    flex: 1;
    max-width: 380px;
    margin: 30px auto 0;
}

.day-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: bold;
    color: var(--navy);
    margin-bottom: 12px;
}

.day-arrow {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: var(--navy);
    font-family: inherit;
}

.day-arrow:hover {
    color: var(--blue);
}

.time-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}

.time-range select {
    padding: 6px 10px;
    border: 1px solid var(--navy);
    border-radius: 6px;
    background: white;
    color: var(--navy);
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}

.activity-search-label {
    font-size: 13px;
    font-weight: bold;
    color: var(--navy);
    margin-bottom: 8px;
}

.result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--navy);
    border-radius: 8px;
    background: white;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.result-card.active {
    box-shadow: 0 0 0 2px var(--blue);
}

.rc-name {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: var(--navy);
}

.rc-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: var(--navy);
    margin-top: 2px;
}

.rc-star {
    color: #F1C40F;
}

.rc-dist {
    opacity: 0.7;
}

.rc-add {
    border: 1px solid var(--navy);
    border-radius: 6px;
    background: white;
    color: var(--navy);
    font-family: inherit;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 10px;
    cursor: pointer;
    white-space: nowrap;
}

.rc-add:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.no-results {
    font-size: 13px;
    color: var(--navy);
    opacity: 0.7;
}

/* Google Maps info window content */
.gm-info {
    width: 240px;
    font-family: 'Iosevka', monospace;
    color: #112D4E;
}

.gm-info img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 8px;
}

.gm-info .gm-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

.gm-info .gm-line {
    font-size: 12px;
    margin-bottom: 3px;
}

.gm-info .gm-star {
    color: #F1C40F;
}

.gm-info .gm-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.gm-info .gm-btn {
    flex: 1;
    text-align: center;
    border: 1px solid #112D4E;
    border-radius: 6px;
    background: white;
    color: #112D4E;
    font-family: inherit;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 8px;
    cursor: pointer;
    text-decoration: none;
}

.gm-info .gm-btn:hover {
    background: #3F72AF;
    color: white;
    border-color: #3F72AF;
}

/* ── Review step ── */
.plan-box.review {
    max-width: none;
    width: 100%;
    text-align: left;
    align-self: stretch;
    padding: 0;
}

.review-layout {
    display: flex;
    align-items: stretch;
}

.progress-sidebar {
    width: 230px;
    flex-shrink: 0;
    border-right: 1px solid rgba(17, 45, 78, 0.2);
    padding: 20px;
    box-sizing: border-box;
}

.progress-sidebar h4 {
    margin: 0 0 18px;
    font-size: 18px;
    color: var(--navy);
}

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

.progress-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 8px;
    margin: 0 -4px;
    border-radius: 6px;
    font-size: 15px;
    color: var(--navy);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.progress-list li:hover {
    background: #ffffff;
    color: var(--blue);
    box-shadow: 0 1px 5px rgba(17, 45, 78, 0.15);
}

.progress-list li:active {
    background: var(--blue);
    color: #ffffff;
}

.progress-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    background: #2ECC71;
    color: white;
}

.progress-list li.current::before {
    content: '10';
    background: var(--light);
    color: var(--navy);
}

.progress-list li.current {
    font-weight: bold;
}

.review-main {
    flex: 1;
    padding: 24px 30px;
    min-width: 0;
}

.review-main h1 {
    margin: 0 0 4px;
    font-size: 24px;
}

.review-sub {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--navy);
    opacity: 0.7;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.review-card {
    border: 1px solid var(--navy);
    border-radius: 14px;
    background: white;
    padding: 16px 18px;
}

.review-card.full {
    grid-column: 1 / -1;
}

.review-card h3 {
    margin: 0 0 10px;
    font-size: 15px;
    color: var(--navy);
}

.rev-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: bold;
    color: var(--navy);
}

.rev-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--navy);
}

.rev-row .label {
    opacity: 0.8;
}

.rev-row .val {
    font-weight: bold;
    text-align: right;
}

.rev-divider {
    border-top: 1px solid rgba(17, 45, 78, 0.15);
    margin: 8px 0;
}

.rev-note {
    margin: 0;
    font-size: 12px;
    color: var(--navy);
    opacity: 0.7;
}

.rev-empty {
    margin: 0;
    font-size: 13px;
    color: var(--navy);
    opacity: 0.6;
}

.member-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--navy);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    color: var(--navy);
    background: white;
    margin: 0 6px 6px 0;
}

.person-card {
    display: inline-block;
    border: 1px solid var(--navy);
    border-radius: 8px;
    padding: 8px 12px;
    background: var(--light);
    font-size: 12px;
    color: var(--navy);
    margin: 0 8px 8px 0;
    vertical-align: top;
}

.person-card .pc-name {
    display: block;
    opacity: 0.8;
}

.person-card .pc-val {
    display: block;
    font-weight: bold;
}

.rev-chip {
    display: inline-block;
    border: 1px solid var(--navy);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 13px;
    color: var(--navy);
    background: white;
    margin: 0 6px 6px 0;
}

.snap-day {
    margin: 8px 0 2px;
    font-size: 13px;
    font-weight: bold;
    color: var(--navy);
}

.snap-items {
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--navy);
}

.snap-more {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--navy);
    opacity: 0.7;
}

.review-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.confirm-btn {
    background: #2ECC71;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.confirm-btn:hover {
    background: #27AE60;
}
