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

:root {
    --ink: #17211e;
    --ink-soft: #4d5d57;
    --muted: #76847f;
    --line: #dfe6e2;
    --line-soft: #ebf0ed;
    --surface: #ffffff;
    --canvas: #f4f7f5;
    --forest: #185c46;
    --forest-dark: #104333;
    --mint: #dff4e9;
    --coral: #f07b61;
    --amber: #b7791f;
    --red: #b42318;
    --shadow: 0 10px 30px rgba(20, 48, 39, 0.07);
    --radius: 14px;
    --sidebar-width: 250px;
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: 'DM Sans', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Manrope', 'DM Sans', sans-serif; letter-spacing: -0.035em; }
h1 { margin-bottom: 8px; font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.15; }
h2 { margin-bottom: 6px; font-size: 1.1rem; }

.app-shell { display: flex; min-height: 100vh; }

.sidebar {
    position: fixed;
    z-index: 30;
    inset: 0 auto 0 0;
    display: flex;
    width: var(--sidebar-width);
    flex-direction: column;
    padding: 26px 18px 18px;
    color: #dce9e4;
    background: #123b30;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 0 8px;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
}

.brand__mark {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border-radius: 10px;
    color: #153f33;
    background: #b9e5d2;
    font-size: .76rem;
    letter-spacing: -.03em;
}

.main-nav { display: flex; flex: 1; flex-direction: column; margin-top: 42px; }
.nav-label { margin: 0 12px 10px; color: #91aa9f; font-size: .67rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nav-label--secondary { margin-top: 30px; }

.nav-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 11px;
    margin-bottom: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #c5d6d0;
    font-size: .9rem;
    font-weight: 500;
    transition: color .18s ease, background .18s ease;
}

.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(225, 248, 238, .11); }
.nav-link.is-active { box-shadow: inset 3px 0 #8ed5b8; }
.nav-link.is-disabled { cursor: default; opacity: .62; }
.nav-link small { margin-left: auto; color: #8aa69a; font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.nav-link__icon { display: inline-grid; width: 20px; place-items: center; font-size: 1.05rem; }

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 7px 2px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #143e32; background: #b9e5d2; font-weight: 800; }
.sidebar-user__details { min-width: 0; flex: 1; }
.sidebar-user__details strong, .sidebar-user__details span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user__details strong { color: #fff; font-size: .8rem; }
.sidebar-user__details span { margin-top: 2px; color: #9eb5ac; font-size: .7rem; }
.sidebar-user__details:hover strong { color: #b9e5d2; }
.icon-button { border: 0; color: #afc4bb; background: transparent; cursor: pointer; font-size: 1.15rem; }
.icon-button:hover { color: #fff; }

.app-main { width: calc(100% - var(--sidebar-width)); min-width: 0; margin-left: var(--sidebar-width); }
.topbar { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px); }
.topbar__date { margin: 0; color: var(--muted); font-size: .82rem; font-weight: 600; }
.mobile-menu-button { display: none; padding: 8px; border: 0; color: var(--ink); background: transparent; font-size: 1.35rem; cursor: pointer; }
.page-content { width: min(1440px, 100%); margin: 0 auto; padding: 34px; }

.page-heading { margin-bottom: 26px; }
.page-heading p:last-child { margin: 0; color: var(--muted); }
.page-heading--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.eyebrow { margin-bottom: 9px; color: var(--forest); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--light { color: #a9e5cc; }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--forest); font-size: .82rem; font-weight: 700; }

.button {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    font-size: .84rem;
    font-weight: 700;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .7; transform: none; }
.button--primary { color: #fff; background: var(--forest); box-shadow: 0 6px 14px rgba(24, 92, 70, .16); }
.button--primary:hover { background: var(--forest-dark); }
.button--secondary { border-color: var(--line); color: var(--ink); background: #fff; }
.button--ghost { color: var(--ink-soft); background: transparent; }
.button--compact { min-height: 38px; padding: 8px 14px; }
.button--full { width: 100%; }
.text-link { color: var(--forest); font-size: .82rem; font-weight: 700; }
.booking-slip-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 22px; }
.stat-grid--financial { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card { min-height: 160px; padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 5px 20px rgba(20, 48, 39, .035); }
.stat-card--ink { color: #fff; border-color: #173f34; background: linear-gradient(145deg, #174c3d, #102f27); }
.stat-card__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.stat-card--ink .stat-card__label { color: #b9d1c8; }
.stat-card__icon { font-size: 1rem; }
.stat-card > strong { display: block; margin-top: 24px; font-family: 'Manrope', sans-serif; font-size: 1.72rem; letter-spacing: -.04em; }
.stat-card p { margin: 4px 0 0; color: var(--muted); font-size: .75rem; }
.stat-card--ink p { color: #a9c2b9; }
.stat-card--link { display: flex; flex-direction: column; outline: none; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.stat-card--link:hover, .stat-card--link:focus-visible { border-color: #9ccdb9; box-shadow: 0 12px 28px rgba(20, 48, 39, .11); transform: translateY(-2px); }
.stat-card--ink.stat-card--link:hover, .stat-card--ink.stat-card--link:focus-visible { border-color: #79bca1; }
.stat-card--outstanding { border-color: #ead7af; background: #fffaf0; }
.stat-card--pending-total { border-color: #efc8c4; background: #fff7f6; }
.stat-card--checkout-due { border-color: #e9b9b3; background: linear-gradient(145deg, #fff2f0, #fff9f8); }
.stat-card--received { border-color: #c4e2d2; background: #f4fbf7; }
.stat-card--received-today { border-color: #b7dcd0; background: linear-gradient(145deg, #effaf6, #f9fdfb); }
.stat-card__action { margin-top: auto; padding-top: 15px; color: var(--forest); font-size: .7rem; font-weight: 800; }
.stat-card--ink .stat-card__action { color: #a9e5cc; }
.stat-card__amount [hidden] { display: none; }
.amount-visibility-toggle { position: relative; display: grid; width: 32px; height: 32px; flex: 0 0 auto; padding: 0; place-items: center; border: 1px solid #b9dac9; border-radius: 9px; color: var(--forest); background: #e8f6ee; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.amount-visibility-toggle:hover, .amount-visibility-toggle:focus-visible { border-color: #78b699; background: #d9f0e4; outline: none; transform: translateY(-1px); }
.amount-visibility-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.amount-visibility-toggle.is-visible::after { position: absolute; width: 21px; height: 1.5px; content: ''; background: currentColor; transform: rotate(-45deg); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(0, 0, 0, .04); }
.status-dot--green { background: #35a873; }
.status-dot--amber { background: #e7a83b; }
.status-dot--red { background: #d75b51; }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 5px 22px rgba(20, 48, 39, .035); }
.panel__header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 23px; border-bottom: 1px solid var(--line-soft); }
.panel__header h2 { margin-bottom: 3px; }
.panel__header p { margin: 0; color: var(--muted); font-size: .78rem; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 12px 18px; color: var(--muted); background: #f9fbfa; font-size: .68rem; font-weight: 800; letter-spacing: .055em; text-align: left; text-transform: uppercase; }
td { padding: 16px 18px; border-top: 1px solid var(--line-soft); color: var(--ink-soft); font-size: .82rem; vertical-align: middle; }
tbody tr:hover { background: #fbfdfc; }
td strong { color: var(--ink); }
.booking-number { color: var(--forest); font-family: 'Manrope', sans-serif; font-size: .78rem; }
.table-subtext { display: block; margin-top: 4px; color: var(--muted); font-size: .7rem; }
.align-right { text-align: right; }

.status { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; }
.status--gray, .status--slate { color: #53615d; background: #edf1ef; }
.status--amber { color: #8b5b13; background: #fff0cf; }
.status--blue { color: #245c94; background: #e0eefc; }
.status--green { color: #1c6c4b; background: #dcf5e8; }
.status--red { color: #9f2e25; background: #fde5e2; }
.billing-pill { display: inline-flex; padding: 4px 8px; border-radius: 6px; color: #426056; background: #edf3f0; font-size: .68rem; font-weight: 700; }
.table-action { color: var(--forest); font-size: .76rem; font-weight: 800; }
.table-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.complete-booking-form { margin: 0; }
.complete-booking-button { display: inline-grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 1px solid #9ed2b9; border-radius: 8px; color: #176246; background: #edf9f3; font-size: .82rem; font-weight: 900; line-height: 1; cursor: pointer; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.complete-booking-button:hover, .complete-booking-button:focus-visible { border-color: #62b88f; background: #d9f2e5; transform: translateY(-1px); }
.tour-state { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; }
.tour-state::before { width: 6px; height: 6px; border-radius: 50%; content: ''; background: currentColor; }
.tour-state--ongoing { color: #176246; background: #dcf5e8; }
.tour-state--recent { color: #53615d; background: #edf1ef; }
.tour-state--completed { color: #245c94; background: #e0eefc; }
.dashboard-list-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 20px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .72rem; }
.dashboard-list-footer a { color: var(--forest); font-weight: 800; }
.guest-arrivals { margin-bottom: 22px; overflow: hidden; }
.dashboard-arrivals__header { align-items: end; }
.arrival-date-filter { display: grid; grid-template-columns: auto 170px auto; align-items: end; gap: 9px; }
.arrival-date-filter label { grid-column: 1 / -1; margin-bottom: -3px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.arrival-date-filter input { min-height: 38px; padding-top: 7px; padding-bottom: 7px; }
.arrival-day-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, .8fr)) minmax(220px, 1.4fr); gap: 12px; padding: 17px 20px; border-bottom: 1px solid var(--line-soft); background: #fbfdfc; }
.arrival-day-card, .arrival-selected-date { min-height: 102px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.arrival-day-card { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; outline: none; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.arrival-day-card:hover, .arrival-day-card:focus-visible { border-color: #9ccdb9; box-shadow: 0 8px 20px rgba(20, 48, 39, .08); transform: translateY(-1px); }
.arrival-day-card.is-active { border-color: #5eae8b; background: #eef9f3; box-shadow: inset 0 0 0 1px #aad8c2; }
.arrival-day-card span, .arrival-selected-date span { color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.arrival-day-card strong { grid-row: span 2; color: var(--forest); font-family: 'Manrope', sans-serif; font-size: 1.65rem; line-height: 1; }
.arrival-day-card small, .arrival-selected-date small { align-self: end; color: var(--muted); font-size: .7rem; }
.arrival-selected-date { display: flex; align-items: flex-start; flex-direction: column; }
.arrival-selected-date strong { margin: 8px 0 4px; color: var(--ink); font-family: 'Manrope', sans-serif; font-size: 1rem; }
.arrival-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px 14px; }
.arrival-list-heading h3 { margin: 0 0 3px; font-size: .96rem; }
.arrival-list-heading p { margin: 0; color: var(--muted); font-size: .72rem; }
.arrival-row--pending > td { background: #fffaf5; }
.arrival-row--paid > td { background: #f3fbf7; }
.arrival-row--pending > td:first-child { box-shadow: inset 4px 0 #e7a83b; }
.arrival-row--paid > td:first-child { box-shadow: inset 4px 0 #35a873; }
.arrival-row--pending:hover > td { background: #fff5e9; }
.arrival-row--paid:hover > td { background: #eaf8f0; }
.arrival-payment > strong { display: block; margin-top: 7px; }
.today-checkouts { margin-bottom: 22px; }
.checkout-row--pending > td { background: #fff7f6; }
.checkout-row--paid > td { background: #f3fbf7; }
.checkout-row--pending > td:first-child { box-shadow: inset 4px 0 #d75b51; }
.checkout-row--paid > td:first-child { box-shadow: inset 4px 0 #35a873; }
.checkout-row--pending:hover > td { background: #fff1ef; }
.checkout-row--paid:hover > td { background: #eaf8f0; }
.checkout-payment > strong { display: block; margin-top: 7px; }
.empty-state--compact { padding: 38px 24px; }

.empty-state { padding: 60px 25px; text-align: center; }
.empty-state__icon { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 14px; border-radius: 13px; color: var(--forest); background: var(--mint); font-size: 1.25rem; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { margin-bottom: 19px; color: var(--muted); font-size: .84rem; }

.filter-bar { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.filter-bar select { width: 180px; }
.search-field { position: relative; flex: 1; max-width: 390px; }
.search-field span { position: absolute; top: 50%; left: 13px; color: var(--muted); transform: translateY(-50%); }
.search-field input { padding-left: 38px; }
.pagination-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 20px; border-top: 1px solid var(--line-soft); }
.pagination-bar p { margin: 0; color: var(--muted); font-size: .76rem; }
.pagination { display: flex; gap: 5px; }
.pagination a { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 7px; color: var(--ink-soft); font-size: .75rem; font-weight: 700; }
.pagination a:hover, .pagination a.is-active { color: #fff; background: var(--forest); }

.alert { position: relative; margin-bottom: 18px; padding: 12px 15px; border: 1px solid; border-radius: 9px; font-size: .82rem; }
.alert--success { color: #175c40; border-color: #b9e6d1; background: #e8f8f0; }
.alert--error { color: #8c2922; border-color: #f0c4bf; background: #fff0ee; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 315px; align-items: start; gap: 18px; }
.form-layout__main { display: grid; gap: 18px; }
.form-layout__aside { position: sticky; top: 18px; }
.form-section { padding: 24px; }
.form-section__heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 23px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.form-section__heading--compact { margin-bottom: 19px; }
.form-section__heading--action { align-items: center; }
.form-section__heading--action .button { margin-left: auto; }
.form-section__heading h2 { margin: 1px 0 3px; }
.form-section__heading p { margin: 0; color: var(--muted); font-size: .76rem; }
.step-number { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--forest); background: var(--mint); font-family: 'Manrope', sans-serif; font-size: .68rem; font-weight: 800; }
.form-grid { display: grid; gap: 15px; }
.form-grid + .form-grid, .form-grid + .field { margin-top: 16px; }
.form-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid--three { grid-template-columns: .55fr 1fr 1fr; }
.form-grid--three.equal-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tour-duration-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; margin: 16px 0; padding: 14px 16px; border: 1px solid #cde2d8; border-radius: 10px; background: #f4faf7; }
.tour-duration-card__icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: var(--forest); background: var(--mint); font-size: 1rem; font-weight: 800; }
.tour-duration-card div > span { display: block; margin-bottom: 2px; color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tour-duration-card strong { font-family: 'Manrope', sans-serif; font-size: .9rem; }
.tour-duration-card small { color: var(--muted); font-size: .7rem; }
.booking-assignment-card { border-color: #c8d8d1; transition: opacity .2s ease, border-color .2s ease, background .2s ease; }
.booking-assignment-card.is-locked { opacity: .72; border-color: #dce4e0; background: #f7f9f8; }
.booking-assignment-card__value { margin: 0; color: var(--ink); font-size: .79rem; }
.assignment-heading__action { margin-left: auto; white-space: nowrap; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: .75rem; font-weight: 700; }
.field label span { color: var(--coral); }
.field--wide { grid-column: 1 / -1; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.field-label-row label { margin-bottom: 0; }
.field-label-row a { color: var(--forest); font-size: .72rem; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid #ccd7d2; border-radius: 8px; outline: none; color: var(--ink); background: #fff; transition: border .15s ease, box-shadow .15s ease; }
input, select { min-height: 42px; padding: 9px 11px; }
textarea { padding: 11px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #a1ada8; }
input:focus, select:focus, textarea:focus { border-color: #469276; box-shadow: 0 0 0 3px rgba(70, 146, 118, .12); }
input:disabled, select:disabled, textarea:disabled { color: #60706a; background: #f4f7f5; cursor: not-allowed; opacity: 1; }
.field-error { display: block; margin-top: 5px; color: var(--red); font-size: .68rem; }
.password-input { position: relative; }
.password-input input { padding-right: 45px; }
.password-toggle { position: absolute; top: 50%; right: 6px; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 0; border-radius: 7px; color: var(--muted); background: transparent; cursor: pointer; transform: translateY(-50%); }
.password-toggle:hover, .password-toggle:focus-visible { color: var(--forest); background: var(--mint); outline: none; }
.password-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.password-toggle.is-visible::after { position: absolute; width: 22px; height: 1.5px; content: ''; background: currentColor; transform: rotate(-45deg); }
.price-card { padding: 22px; }
.price-card .field { margin-bottom: 14px; }
.price-total { display: flex; align-items: center; justify-content: space-between; margin: 20px 0; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-total span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.price-total strong { font-family: 'Manrope', sans-serif; font-size: 1.15rem; }
.price-total strong span { color: var(--ink); font-size: inherit; }
.price-card .button + .button { margin-top: 6px; }
.price-breakdown { display: grid; gap: 10px; margin: -5px 0 18px; }
.price-breakdown > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-breakdown small { color: var(--muted); font-size: .7rem; font-weight: 700; }
.price-breakdown strong { font-size: .76rem; }
.advance-payment-box { margin: 3px 0 16px; padding: 16px; border: 1px solid #e7c675; border-radius: 12px; background: linear-gradient(145deg, #fff9e9, #fffdf7); box-shadow: inset 4px 0 #d9a72e; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.advance-payment-box.has-payment { border-color: #91cbb1; background: linear-gradient(145deg, #effaf5, #fbfefc); box-shadow: inset 4px 0 #2f9b6b; }
.advance-payment-box__heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.advance-payment-box__icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: #7c5710; background: #f8e4ae; font-family: 'Manrope', sans-serif; font-weight: 800; }
.advance-payment-box.has-payment .advance-payment-box__icon { color: #176246; background: #d7f1e4; }
.advance-payment-box__heading strong, .advance-payment-box__heading small { display: block; }
.advance-payment-box__heading strong { color: var(--ink); font-size: .8rem; }
.advance-payment-box__heading small { margin-top: 2px; color: var(--muted); font-size: .66rem; line-height: 1.4; }
.price-card .advance-payment-box .field { margin-bottom: 11px; }
.advance-payment-box__summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 11px; border-top: 1px solid rgba(125, 90, 18, .15); }
.advance-payment-box__summary span { color: var(--muted); font-size: .68rem; font-weight: 700; }
.advance-payment-box__summary strong { color: var(--ink); font-family: 'Manrope', sans-serif; font-size: .82rem; white-space: nowrap; }
.advance-payment-box__summary strong span { color: inherit; font-size: inherit; }
.advance-payment-box > p { margin: 10px 0 0; color: var(--muted); font-size: .64rem; line-height: 1.45; }

.payment-workspace { margin-top: 24px; }
.payment-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.payment-summary-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 5px 20px rgba(20, 48, 39, .035); }
.payment-summary-card span, .payment-summary-card strong { display: block; }
.payment-summary-card span { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.payment-summary-card strong { margin-top: 8px; font-family: 'Manrope', sans-serif; font-size: 1.25rem; }
.payment-summary-card--paid { border-color: #c8e7d8; background: #f3fbf7; }
.payment-summary-card--remaining { color: #fff; border-color: #174c3d; background: linear-gradient(145deg, #174c3d, #123b30); }
.payment-summary-card--remaining span { color: #b9d1c8; }
.payment-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); align-items: start; gap: 18px; }
.payment-history { overflow: hidden; }
.payment-history .table-wrap { max-height: 520px; }
.payment-history-amount { display: inline-flex; align-items: center; justify-content: flex-end; gap: 9px; white-space: nowrap; }
.payment-edit-trigger { display: inline-grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 1px solid #cbdcd4; border-radius: 8px; color: var(--forest); background: #f4f9f6; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.payment-edit-trigger svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.payment-edit-trigger:hover, .payment-edit-trigger:focus-visible { border-color: #7fb89f; background: #e7f5ed; transform: translateY(-1px); }
.modal-open { overflow: hidden; }
.payment-edit-modal { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; }
.payment-edit-modal[hidden] { display: none; }
.payment-edit-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(8, 30, 24, .58); cursor: default; }
.payment-edit-modal__panel { position: relative; z-index: 1; width: min(460px, 100%); overflow: hidden; border: 1px solid #d4e2dc; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(7, 30, 23, .28); }
.payment-edit-modal__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 23px 18px; border-bottom: 1px solid var(--line-soft); }
.payment-edit-modal__header .eyebrow { margin-bottom: 5px; }
.payment-edit-modal__header h2 { margin: 0; font-size: 1.08rem; }
.payment-edit-modal__header > div > p:last-child { margin: 6px 0 0; color: var(--muted); font-size: .7rem; }
.payment-edit-modal__header > div > p:last-child strong { color: var(--ink-soft); }
.payment-edit-modal__close { display: grid; width: 31px; height: 31px; flex: 0 0 auto; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #f8faf9; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.payment-edit-modal__close:hover, .payment-edit-modal__close:focus-visible { color: var(--ink); background: #edf3f0; }
.payment-edit-modal__form { padding: 22px 23px 23px; }
.payment-edit-modal__amount { width: 100%; }
.payment-edit-modal__limit { display: block; margin-top: 7px; color: var(--muted); font-size: .66rem; }
.payment-edit-modal__limit strong { color: var(--ink-soft); }
.payment-edit-modal__preview { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 17px; padding: 14px 15px; border-radius: 10px; color: #d4e9df; background: #174c3d; }
.payment-edit-modal__preview > span { font-size: .7rem; font-weight: 700; }
.payment-edit-modal__preview strong { color: #fff; font-family: 'Manrope', sans-serif; font-size: .92rem; white-space: nowrap; }
.payment-edit-modal__actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.empty-state--compact { padding: 40px 20px; }
.money-input { position: relative; }
.money-input > span { position: absolute; z-index: 1; top: 50%; left: 12px; color: var(--muted); font-size: .72rem; font-weight: 800; transform: translateY(-50%); }
.money-input input { padding-left: 46px; }
.payment-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.payment-form-footer > div span, .payment-form-footer > div strong { display: block; }
.payment-form-footer > div span { margin-bottom: 3px; color: var(--muted); font-size: .7rem; }
.payment-form-footer > div strong { font-family: 'Manrope', sans-serif; font-size: 1rem; }
.paid-in-full-state { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #bde2cf; border-radius: 11px; background: #f0faf5; }
.paid-in-full-state > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--forest); font-weight: 800; }
.paid-in-full-state strong { display: block; margin-bottom: 3px; font-family: 'Manrope', sans-serif; }
.paid-in-full-state p { margin: 0; color: var(--muted); font-size: .75rem; }
.booking-readonly-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.booking-readonly-fieldset :is(input, select, textarea):disabled { color: #46564f; border-color: #d9e3de; background: #f3f6f4; opacity: 1; cursor: not-allowed; }
.booking-readonly-fieldset button:disabled { cursor: not-allowed; }
.completed-booking-lock, .completed-payment-lock { display: flex; align-items: center; gap: 13px; padding: 15px 17px; border: 1px solid #b9ddca; border-radius: 11px; color: #245b47; background: #eff9f4; }
.completed-booking-lock { margin-bottom: 18px; }
.completed-booking-lock > span, .completed-payment-lock > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--forest); font-weight: 800; }
.completed-booking-lock strong, .completed-payment-lock strong { display: block; font-family: 'Manrope', sans-serif; font-size: .8rem; }
.completed-booking-lock p, .completed-payment-lock p { margin: 3px 0 0; color: #5d7068; font-size: .7rem; line-height: 1.45; }

.report-export-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.report-filter-panel { margin-bottom: 18px; padding: 18px 20px; }
.report-filter-form { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) auto; align-items: end; gap: 12px; }
.report-filter-form .field { margin: 0; }
.report-filter-form__actions { display: flex; min-height: 43px; align-items: center; gap: 11px; }
.report-filter-note { margin: 11px 0 0; color: var(--muted); font-size: .68rem; }
.report-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.report-summary-card { padding: 18px 19px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 5px 20px rgba(20, 48, 39, .035); }
.report-summary-card span, .report-summary-card strong { display: block; }
.report-summary-card span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.report-summary-card strong { margin-top: 8px; color: var(--ink); font-family: 'Manrope', sans-serif; font-size: 1.18rem; }
.report-summary-card--total { color: #fff; border-color: #174c3d; background: linear-gradient(145deg, #174c3d, #10382d); }
.report-summary-card--total span { color: #b9d1c8; }
.report-summary-card--total strong { color: #fff; }
.report-daily-panel { margin-bottom: 18px; overflow: hidden; }
.report-amount-bar { width: min(190px, 100%); height: 8px; overflow: hidden; border-radius: 99px; background: #e8efeb; }
.report-amount-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2f9b6b, #77c49f); }
.payment-report-list { overflow: hidden; }
.payment-report-list .panel__header > strong { color: var(--forest); font-family: 'Manrope', sans-serif; font-size: .92rem; white-space: nowrap; }

.auth-body { min-height: 100vh; background: #eef4f1; }
.auth-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(390px, .9fr) 1.1fr; }
.auth-brand-panel { position: relative; display: flex; min-height: 100vh; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 42px 52px; color: #fff; background: linear-gradient(145deg, #0d3329, #185c46); }
.auth-brand-panel::before, .auth-brand-panel::after { position: absolute; content: ''; border: 1px solid rgba(202, 242, 225, .13); border-radius: 50%; }
.auth-brand-panel::before { width: 520px; height: 520px; right: -260px; bottom: -100px; }
.auth-brand-panel::after { width: 330px; height: 330px; right: -160px; bottom: -10px; }
.brand--light { position: relative; z-index: 1; padding: 0; }
.auth-brand-panel__content { position: relative; z-index: 1; max-width: 510px; margin: auto 0; }
.auth-brand-panel__content h1 { max-width: 480px; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.07; }
.auth-brand-panel__content > p:last-child { max-width: 475px; color: #b8d1c8; font-size: 1rem; line-height: 1.7; }
.auth-brand-panel__footer { position: relative; z-index: 1; margin: 0; color: #9ab7ac; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.auth-form-panel { display: grid; min-height: 100vh; place-items: center; padding: 38px; }
.auth-card { width: min(410px, 100%); }
.auth-card__heading { margin-bottom: 27px; }
.auth-card__heading h2 { margin-bottom: 8px; font-size: 2rem; }
.auth-card__heading > p:last-child { margin: 0; color: var(--muted); }
.stacked-form { display: grid; gap: 17px; }
.stacked-form .button { margin-top: 4px; }
.auth-help { margin: 23px 0 0; color: var(--muted); font-size: .76rem; text-align: center; }
.local-reset-card { margin-bottom: 18px; padding: 15px; border: 1px solid #c8ded4; border-radius: 10px; background: #f4faf7; }
.local-reset-card strong { font-family: 'Manrope', sans-serif; font-size: .82rem; }
.local-reset-card p { margin: 5px 0 13px; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.password-rules { margin: -3px 0 2px; padding-left: 19px; color: var(--muted); font-size: .72rem; line-height: 1.8; }
.settings-layout { display: grid; grid-template-columns: minmax(0, 1fr) 315px; align-items: start; gap: 18px; }
.settings-layout__main { display: grid; gap: 18px; }
.settings-layout__aside { position: sticky; top: 18px; }
.settings-summary { padding: 23px; text-align: center; }
.settings-summary .field { margin-top: 18px; text-align: left; }
.settings-summary .button { margin-top: 20px; }
.settings-summary > h2 { margin: 14px 0 3px; }
.settings-summary > p { margin: 0 0 21px; color: var(--muted); font-size: .76rem; }
.company-monogram { display: grid; width: 66px; height: 66px; place-items: center; margin: 0 auto; border-radius: 18px; color: var(--forest); background: var(--mint); font-family: 'Manrope', sans-serif; font-size: 1.15rem; font-weight: 800; }
.read-only-badge { display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 999px; color: #5d6b66; background: #e8eeeb; font-size: .7rem; font-weight: 800; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 13px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; text-align: left; }
.checkbox-field input { width: 17px; height: 17px; min-height: 0; margin-top: 2px; accent-color: var(--forest); }
.checkbox-field span, .checkbox-field strong, .checkbox-field small { display: block; }
.checkbox-field strong { font-size: .78rem; }
.checkbox-field small { margin-top: 3px; color: var(--muted); font-size: .68rem; }
.hotel-rate-card > p { line-height: 1.55; }

.permission-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -4px 0 18px; }
.permission-toolbar p { margin: 0; color: var(--muted); font-size: .74rem; }
.permission-toolbar__actions { display: flex; flex: 0 0 auto; gap: 8px; }
.permission-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.permission-group { min-width: 0; margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fbfdfc; }
.permission-group legend { padding: 0 5px; }
.permission-group h3 { margin: 0 0 7px; color: var(--ink); font-size: .82rem; }
.permission-grid { display: grid; gap: 8px; }
.permission-option { display: flex; align-items: flex-start; gap: 9px; padding: 9px 10px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; }
.permission-option:hover { border-color: #d4e4dc; background: #f3f9f6; }
.permission-option input { width: 16px; height: 16px; min-height: 0; margin: 2px 0 0; accent-color: var(--forest); }
.permission-option span, .permission-option strong, .permission-option small { display: block; }
.permission-option strong { font-size: .75rem; }
.permission-option small { margin-top: 2px; color: var(--muted); font-size: .66rem; line-height: 1.35; }
.user-access-summary { margin: 17px 0 0; padding: 12px; border-radius: 9px; color: #3f5c52; background: #edf5f1; font-size: .7rem; line-height: 1.5; text-align: left; }
.user-role-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: #245c94; background: #e0eefc; font-size: .68rem; font-weight: 800; }
.profile-form-actions { display: flex; justify-content: flex-end; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.profile-form-actions .button { min-width: 160px; }
.profile-meta { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line-soft); text-align: left; }
.profile-meta div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.profile-meta span { color: var(--muted); font-size: .69rem; font-weight: 700; }
.profile-meta strong { font-size: .73rem; text-align: right; }
.profile-security-note { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; padding: 12px 13px; border: 1px solid #cde2d8; border-radius: 9px; color: #3f5c52; background: #f4faf7; font-size: .7rem; line-height: 1.5; }
.profile-security-note > span { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint); font-weight: 800; }


.hotel-rows { display: grid; gap: 14px; }
.booking-hotel-row { overflow: hidden; border: 1px solid #d9e3de; border-radius: 12px; background: #fbfdfc; }
.booking-hotel-row__header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); background: #f4f8f6; }
.booking-hotel-row__header strong, .row-kicker { display: block; }
.booking-hotel-row__header strong { margin-top: 3px; font-family: 'Manrope', sans-serif; font-size: .82rem; }
.row-kicker { color: var(--forest); font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.row-remove-button { padding: 6px 8px; border: 0; color: #9d3a31; background: transparent; cursor: pointer; font-size: .7rem; font-weight: 800; }
.row-remove-button:hover { border-radius: 6px; background: #fdecea; }
.hotel-row-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 17px; }
.hotel-row-grid__hotel { grid-column: span 2; }
.hotel-row-grid__notes { grid-column: span 3; }
.hotel-row-grid__currency { max-width: 110px; }
.hotel-row-totals { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 22px; padding: 11px 16px; border-top: 1px solid var(--line-soft); color: var(--muted); background: #fff; font-size: .7rem; }
.hotel-row-totals strong { color: var(--ink); }
.hotel-date-warning { margin-right: auto; color: var(--red); font-weight: 700; }
.booking-hotel-row.has-date-error { border-color: #e7afa9; }
.booking-hotel-row.has-date-error .booking-hotel-row__header { background: #fff7f6; }
.hotel-section-summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px; margin-top: 16px; padding: 15px 17px; border-radius: 10px; color: #fff; background: #174c3d; }
.hotel-section-summary > span { font-size: .76rem; font-weight: 700; }
.hotel-section-summary > strong { font-family: 'Manrope', sans-serif; font-size: 1.05rem; }
.hotel-section-summary small { grid-column: 1 / -1; color: #bad0c8; font-size: .68rem; }
.inline-empty-state { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px; border: 1px dashed #c8d8d1; border-radius: 10px; background: #f8fbf9; }
.inline-empty-state strong { display: block; margin-bottom: 4px; font-family: 'Manrope', sans-serif; font-size: .84rem; }
.inline-empty-state p { margin: 0; color: var(--muted); font-size: .74rem; }
.quick-payment-panel { overflow: hidden; }
.quick-payment-list { display: grid; }
.quick-payment-row { display: grid; grid-template-columns: minmax(180px, .9fr) minmax(190px, .9fr) minmax(150px, .65fr) minmax(420px, 1.55fr); align-items: center; gap: 18px; padding: 18px 20px; border-top: 1px solid var(--line-soft); }
.quick-payment-row:first-child { border-top: 0; }
.quick-payment-row:hover { background: #fbfdfc; }
.quick-payment-row__guest { display: flex; min-width: 0; align-items: center; gap: 11px; }
.guest-avatar { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: var(--forest); background: var(--mint); font-family: 'Manrope', sans-serif; font-weight: 800; }
.quick-payment-row__guest strong, .quick-payment-row__guest span, .quick-payment-row__booking > span, .quick-payment-row__balance span, .quick-payment-row__balance small { display: block; }
.quick-payment-row__guest strong { overflow: hidden; color: var(--ink); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.quick-payment-row__guest div > span, .quick-payment-row__booking > span, .quick-payment-row__balance small { margin-top: 4px; color: var(--muted); font-size: .68rem; line-height: 1.4; }
.quick-payment-row__booking .status { margin-left: 3px; vertical-align: middle; }
.quick-payment-row__balance > span { color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.quick-payment-row__balance strong { display: block; margin-top: 4px; color: var(--ink); font-family: 'Manrope', sans-serif; font-size: .95rem; }
.quick-payment-form { display: grid; grid-template-columns: 1fr 1.15fr 1fr auto; align-items: end; gap: 8px; }
.quick-payment-form .field label { margin-bottom: 4px; font-size: .65rem; }
.quick-payment-form input, .quick-payment-form select { min-height: 38px; padding-top: 7px; padding-bottom: 7px; font-size: .74rem; }
.quick-payment-form .money-input input { padding-left: 43px; }
.quick-payment-form .button { min-height: 38px; padding: 8px 12px; white-space: nowrap; }
.quick-payment-preview { grid-column: 1 / -1; color: var(--muted); font-size: .66rem; text-align: right; }
.quick-payment-preview strong { color: var(--ink); }
.not-found { max-width: 520px; text-align: center; }
.not-found h1 { font-size: 2.5rem; }
.not-found > p:not(.eyebrow) { margin-bottom: 22px; color: var(--muted); }

@media (max-width: 1100px) {
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-grid--financial { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-layout { grid-template-columns: 1fr; }
    .form-layout__aside { position: static; }
    .price-card { max-width: none; }
    .settings-layout { grid-template-columns: 1fr; }
    .settings-layout__aside { position: static; }
    .hotel-row-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hotel-row-grid__notes { grid-column: span 2; }
    .payment-layout { grid-template-columns: 1fr; }
    .quick-payment-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .quick-payment-form { grid-column: 1 / -1; }
    .report-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    .stat-grid--financial { grid-template-columns: 1fr; }
    .sidebar { transform: translateX(-100%); transition: transform .22s ease; }
    .sidebar.is-open { transform: translateX(0); }
    .sidebar-overlay { position: fixed; z-index: 25; inset: 0; background: rgba(5, 25, 19, .48); }
    .sidebar-overlay:not([hidden]) { display: block; }
    .app-main { width: 100%; margin-left: 0; }
    .topbar { min-height: 66px; padding: 0 18px; }
    .mobile-menu-button { display: inline-block; }
    .page-content { padding: 24px 18px; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-brand-panel { display: none; }
    .auth-form-panel { padding: 25px; }
    .dashboard-arrivals__header { align-items: stretch; flex-direction: column; }
    .arrival-date-filter { grid-template-columns: 1fr auto; width: 100%; }
    .arrival-day-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .arrival-selected-date { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .stat-grid { grid-template-columns: 1fr; }
    .stat-card { min-height: 145px; }
    .page-heading--row { align-items: stretch; flex-direction: column; }
    .page-heading--row > .button { width: 100%; }
    .booking-slip-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .filter-bar { align-items: stretch; flex-direction: column; }
    .search-field, .filter-bar select { width: 100%; max-width: none; }
    .form-grid--two, .form-grid--three, .form-grid--three.equal-columns { grid-template-columns: 1fr; }
    .form-section, .price-card { padding: 19px; }
    .pagination-bar { align-items: flex-start; flex-direction: column; }
    .dashboard-list-footer { align-items: flex-start; flex-direction: column; }
    .arrival-date-filter { grid-template-columns: 1fr; }
    .arrival-date-filter label { grid-column: 1; }
    .arrival-date-filter .button { width: 100%; }
    .arrival-day-shortcuts { grid-template-columns: 1fr; }
    .arrival-selected-date { grid-column: 1; }
    .arrival-list-heading { align-items: flex-start; flex-direction: column; }
    .topbar__date { display: none; }
    .form-section__heading--action { align-items: flex-start; flex-wrap: wrap; }
    .form-section__heading--action .button { width: 100%; margin: 8px 0 0; }
    .hotel-row-grid { grid-template-columns: 1fr; }
    .hotel-row-grid__hotel, .hotel-row-grid__notes { grid-column: span 1; }
    .hotel-row-grid__currency { max-width: none; }
    .hotel-row-totals { align-items: flex-start; flex-direction: column; }
    .inline-empty-state { align-items: stretch; flex-direction: column; }
    .payment-summary-grid { grid-template-columns: 1fr; }
    .payment-form-footer { align-items: stretch; flex-direction: column; }
    .payment-form-footer .button { width: 100%; }
    .tour-duration-card { grid-template-columns: auto 1fr; }
    .tour-duration-card small { grid-column: 1 / -1; }
    .permission-toolbar { align-items: flex-start; flex-direction: column; }
    .permission-groups { grid-template-columns: 1fr; }
    .profile-form-actions { align-items: stretch; flex-direction: column; }
    .profile-form-actions .button { width: 100%; }
    .quick-payment-row { grid-template-columns: 1fr; align-items: stretch; }
    .quick-payment-form { grid-template-columns: 1fr; }
    .quick-payment-preview { grid-column: 1; text-align: left; }
    .report-export-actions { justify-content: stretch; }
    .report-export-actions .button { flex: 1; }
    .report-filter-form, .report-summary-grid { grid-template-columns: 1fr; }
    .report-filter-form__actions { align-items: stretch; flex-direction: column; }
    .report-filter-form__actions .button { width: 100%; }
}
