@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: light;
    --ink: #202b2a;
    --muted: #73807c;
    --line: #e2e8e4;
    --paper: #f5f7f4;
    --white: #fff;
    --green: #176b58;
    --green-dark: #105343;
    --lime: #c8ed75;
    --coral: #c75d46;
    --shadow: 0 18px 60px rgba(32, 43, 42, .08);
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, strong, .brand { font-family: 'Manrope', sans-serif; }
h1 { margin: 6px 0 8px; font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.12; letter-spacing: 0; }
h2 { margin: 0; font-size: 1.2rem; letter-spacing: 0; }
p { line-height: 1.55; }
.topbar { min-height: 72px; display: flex; align-items: center; gap: 42px; padding: 0 max(28px, calc((100vw - 1220px) / 2)); background: var(--white); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.1rem; font-weight: 800; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; background: var(--green); color: var(--lime); font-family: 'Manrope', sans-serif; font-size: .9rem; font-weight: 800; }
.brand-dot { color: var(--green); }
.brand-light { color: var(--white); }
.brand-light:hover { color: var(--white); }
.brand-light .brand-mark { background: var(--lime); color: var(--green-dark); }
.brand-light .brand-dot { color: var(--lime); }
.main-nav { height: 72px; display: flex; align-items: stretch; gap: 26px; flex: 1; }
.main-nav a { display: inline-flex; align-items: center; color: #66736f; border-bottom: 2px solid transparent; font-size: .9rem; }
.main-nav a:hover, .main-nav a:focus { color: var(--green); border-color: var(--green); }
.account-actions { display: flex; align-items: center; gap: 20px; }
.account-actions form { margin: 0; }
.quiet-link, .text-link { font-size: .86rem; font-weight: 600; }
.heading-actions { display: flex; gap: 9px; }
.page-shell { width: min(1220px, calc(100% - 56px)); margin: 0 auto; padding: 48px 0 80px; }
.narrow-shell { width: min(820px, calc(100% - 48px)); }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.page-heading h1 { margin-bottom: 4px; }
.page-heading p { margin: 6px 0 0; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: .68rem; font-weight: 700; letter-spacing: .11em; }
.muted { color: var(--muted); }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 17px; border: 1px solid transparent; border-radius: 3px; font: 600 .88rem 'DM Sans', sans-serif; cursor: pointer; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { color: #fff; background: var(--green-dark); }
.button-outline { background: var(--white); color: var(--green); border-color: #b9c9c2; }
.button-outline:hover { border-color: var(--green); color: var(--green-dark); }
.button-quiet { color: #5f6b67; background: transparent; border-color: transparent; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { color: #fff; background: #344442; }
.button-wide { width: 100%; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 48px; }
.metric { min-height: 150px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid #b2c5bc; }
.metric-accent { border-top-color: var(--green); background: #f0f6f1; }
.metric span { display: block; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.metric strong { display: block; margin-top: 15px; font-size: 2.3rem; line-height: 1; }
.metric small { display: block; margin-top: 10px; color: var(--muted); }
.content-section { margin-top: 28px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { height: 44px; padding: 0 16px; color: #82908b; background: #fafbf9; font-size: .65rem; letter-spacing: .08em; font-weight: 700; }
td { height: 57px; padding: 10px 16px; border-top: 1px solid #edf0ed; color: #5a6762; font-size: .85rem; }
td.strong { color: var(--ink); font-weight: 700; }
.money { font-variant-numeric: tabular-nums; }
.row-link { font-size: .83rem; font-weight: 700; }
.status { display: inline-flex; padding: 5px 8px; background: #edf4ee; color: #356c53; font-size: .69rem; font-weight: 700; text-transform: lowercase; }
.status-large { padding: 9px 12px; font-size: .75rem; }
.table-actions { display: flex; align-items: center; gap: 16px; }
.table-actions form { margin: 0; }
.link-button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.danger-link { color: var(--coral); font-size: .83rem; }
.empty-state { display: flex; flex-direction: column; align-items: center; padding: 48px 20px; background: var(--white); border: 1px solid var(--line); text-align: center; }
.empty-state strong { margin-top: 14px; font-size: 1rem; }
.empty-state p { max-width: 340px; margin: 6px 0 20px; color: var(--muted); font-size: .88rem; }
.empty-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--green); background: #eaf2ec; font: 700 .85rem 'Manrope', sans-serif; }
.compact-empty { margin: 18px 0; }
.search-bar { display: flex; align-items: center; gap: 12px; max-width: 620px; margin: 0 0 20px; }
.search-bar label { color: #65726d; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.search-bar input { flex: 1; }
.hotel-list { display: grid; gap: 10px; margin-top: 28px; }
.hotel-row { display: flex; align-items: center; gap: 14px; padding: 15px; background: var(--white); border: 1px solid var(--line); }
.hotel-avatar { width: 40px; height: 40px; display: grid; place-items: center; background: #e9f2ec; color: var(--green); font: 700 1rem 'Manrope', sans-serif; }
.hotel-meta { display: grid; flex: 1; gap: 4px; }
.hotel-meta small { color: var(--muted); }
.table-subtext { display: block; max-width: 320px; overflow: hidden; color: var(--muted); font-size: .74rem; text-overflow: ellipsis; }
.item-picker { display: grid; gap: 0; }
.item-check { display: flex; align-items: center; gap: 12px; min-height: 65px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.item-check input, .check-control input { width: 17px; min-height: 17px; accent-color: var(--green); }
.item-check span { display: grid; flex: 1; gap: 3px; }
.item-check span strong { color: var(--ink); font-size: .88rem; }
.item-check span small { color: var(--muted); font-weight: 400; }
.item-check b { color: var(--ink); font-variant-numeric: tabular-nums; }
.check-control { min-height: 43px; display: flex; align-items: center; gap: 9px; padding-top: 19px; }
.back-link { display: inline-block; margin-bottom: 26px; color: #65726d; font-size: .85rem; font-weight: 600; }
.form-panel { margin-top: 22px; padding: 26px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-stack { display: grid; gap: 17px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
label { display: grid; gap: 7px; color: #475550; font-size: .8rem; font-weight: 600; }
input, textarea, select { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #d6dfda; border-radius: 2px; outline: none; background: #fff; color: var(--ink); font: 400 .9rem 'DM Sans', sans-serif; }
textarea { min-height: 82px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,107,88,.1); }
input::placeholder { color: #a3ada8; }
.span-2 { grid-column: span 2; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 8px; }
.optional { margin-left: 5px; color: #95a09b; font-size: .62rem; letter-spacing: .08em; }
.field-error { color: #b34d3b; font-size: .72rem; font-weight: 500; }
.validation-summary { padding: 11px 13px; background: #fff1ed; color: #a84331; font-size: .82rem; }
.flash-stack { width: min(1220px, calc(100% - 56px)); margin: 18px auto 0; }
.flash { padding: 12px 15px; border-left: 3px solid; font-size: .86rem; }
.flash-success { border-color: var(--green); background: #eaf4ed; color: #285e49; }
.flash-error { border-color: var(--coral); background: #fff0eb; color: #a74635; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); align-items: start; gap: 20px; }
.detail-main { margin: 0; }
.detail-main .section-heading { padding: 20px 20px 0; }
.detail-side { display: grid; background: var(--white); border: 1px solid var(--line); }
.side-section { padding: 20px; border-bottom: 1px solid var(--line); }
.side-section:last-child { border-bottom: 0; }
.guest-chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.guest-chip { padding: 5px 8px; background: #eff4ef; color: var(--green); font-size: .76rem; }
.inline-form { display: flex; align-items: end; gap: 8px; margin-top: 14px; }
.inline-form label { flex: 1; }
.icon-button { width: 42px; height: 42px; border: 0; background: var(--green); color: #fff; font: 1.2rem 'DM Sans', sans-serif; cursor: pointer; }
.side-section .form-stack { gap: 9px; }
.balance-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 18px 20px; color: var(--muted); font-size: .86rem; }
.balance-row strong { color: var(--ink); font-size: .93rem; }
.balance-due { color: var(--coral) !important; }
.departure-box { background: #f1f6f1; }
.departure-box p:not(.eyebrow) { color: #66736d; font-size: .83rem; }
.departure-box form { margin-top: 14px; }
.auth-page { background: #fff; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, .88fr) 1.12fr; }
.auth-aside { display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 38px clamp(28px, 6vw, 86px); color: #fff; background: var(--green-dark); position: relative; overflow: hidden; }
.auth-aside:after { content: ''; position: absolute; right: -155px; bottom: -190px; width: 420px; height: 420px; border: 1px solid rgba(200,237,117,.26); border-radius: 50%; box-shadow: 0 0 0 42px rgba(200,237,117,.045), 0 0 0 86px rgba(200,237,117,.035); }
.aside-copy { max-width: 440px; margin: auto 0; position: relative; z-index: 1; }
.aside-copy .eyebrow { color: var(--lime); }
.aside-copy h1 { margin: 15px 0; font-size: clamp(2.3rem, 4vw, 3.8rem); }
.aside-copy p:last-child { max-width: 360px; color: #c1d5cd; }
.aside-index { color: #a4c0b4; font-size: .65rem; font-weight: 700; letter-spacing: .12em; }
.auth-form-wrap { display: grid; place-items: center; padding: 40px 28px; }
.auth-form { width: min(390px, 100%); }
.auth-form h2 { font-size: 2rem; }
.auth-form .muted { margin: 7px 0 26px; }
.auth-form .form-stack { gap: 19px; }
.auth-form .button { margin-top: 5px; }
.form-foot { margin-top: 24px; color: var(--muted); font-size: .84rem; }
.form-foot a { margin-left: 3px; font-weight: 700; }
.setup-shell { width: min(920px, calc(100% - 52px)); margin: auto; padding: 38px 0 72px; }
.setup-content { max-width: 740px; margin: 66px auto 0; }
.setup-content h1 { font-size: 2.4rem; }
.setup-intro { margin-bottom: 28px; }
.setup-content .form-grid { padding: 27px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 860px) {
    .topbar { flex-wrap: wrap; gap: 0 24px; padding: 12px 22px 0; }
    .main-nav { order: 3; width: 100%; height: 48px; gap: 22px; overflow-x: auto; }
    .account-actions { margin-left: auto; }
    .page-shell { padding-top: 34px; }
    .detail-grid { grid-template-columns: 1fr; }
    .auth-layout { grid-template-columns: .75fr 1.25fr; }
    .auth-aside { padding: 30px; }
}
@media (max-width: 620px) {
    .topbar { padding-inline: 16px; }
    .main-nav { gap: 18px; }
    .main-nav a { font-size: .82rem; }
    .account-actions .quiet-link { display: none; }
    .page-shell, .flash-stack { width: calc(100% - 32px); }
    .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }
    .metric-grid { grid-template-columns: 1fr; gap: 9px; margin: 23px 0 34px; }
    .metric { min-height: auto; padding: 16px 18px; }
    .metric strong { margin-top: 8px; font-size: 1.8rem; }
    .metric small { margin-top: 5px; }
    .form-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .form-panel { padding: 19px; }
    .search-bar { align-items: stretch; flex-wrap: wrap; }
    .search-bar label { width: 100%; }
    .search-bar input { min-width: 55%; }
    .auth-layout { display: block; }
    .auth-aside { min-height: 225px; padding: 22px; }
    .aside-copy { margin: 30px 0 20px; }
    .aside-copy h1 { font-size: 2rem; }
    .aside-copy p:last-child, .aside-index { display: none; }
    .auth-form-wrap { padding: 40px 24px; }
    .setup-shell { width: calc(100% - 32px); padding-top: 23px; }
    .setup-content { margin-top: 44px; }
    .setup-content h1 { font-size: 1.9rem; }
    .setup-content .form-grid { padding: 18px; }
    .inline-form { align-items: stretch; }
}
