:root {
    --ink: #172322;
    --muted: #687675;
    --line: #dfe6e3;
    --surface: #ffffff;
    --canvas: #f3f6f4;
    --navy: #123c3a;
    --navy-deep: #0b2d2b;
    --aqua: #63c9b9;
    --aqua-soft: #dff4ef;
    --sand: #e9c98b;
    --danger: #a63b3b;
    --danger-soft: #fbe9e8;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(20, 50, 47, .08);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--canvas);
    font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--canvas); }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
.eyebrow { margin: 0 0 8px; color: var(--aqua); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.muted { color: var(--muted); line-height: 1.65; }
.brand-mark { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 17px; background: var(--aqua); color: var(--navy-deep); font-size: 1.35rem; font-weight: 900; }
.brand-mark-small { width: 40px; height: 40px; border-radius: 13px; font-size: 1rem; }

.guest-body { background: var(--navy-deep); }
.guest-shell { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(460px, 1.1fr); min-height: 100vh; }
.brand-panel { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(36px, 6vw, 84px); background: linear-gradient(145deg, var(--navy-deep), var(--navy)); color: white; }
.brand-panel::after { position: absolute; right: -18%; bottom: -15%; width: 500px; height: 500px; border: 1px solid rgba(99, 201, 185, .24); border-radius: 50%; box-shadow: 0 0 0 75px rgba(99, 201, 185, .04), 0 0 0 150px rgba(99, 201, 185, .03); content: ""; }
.brand-panel h1 { position: relative; z-index: 1; max-width: 570px; margin: 22px 0; font-size: clamp(2.6rem, 5vw, 5.2rem); font-weight: 650; line-height: .98; letter-spacing: -.055em; }
.brand-copy { position: relative; z-index: 1; max-width: 480px; color: #bcd0cc; font-size: 1.05rem; line-height: 1.7; }
.brand-audience { position: relative; z-index: 1; max-width: 500px; margin-top: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; padding: 15px 17px; background: rgba(255,255,255,.055); }
.brand-audience strong, .brand-audience span { display: block; }.brand-audience strong { color: white; font-size: .8rem; }.brand-audience span { margin-top: 6px; color: #a9c0bc; font-size: .74rem; line-height: 1.55; }
.brand-foot { z-index: 1; margin: 0; color: #8caaa5; font-size: .82rem; }
.login-panel { display: grid; place-items: center; padding: 28px; background: #fbfcfb; }
.login-box { width: min(100%, 420px); }
.login-box h2 { margin: 0; font-size: clamp(2rem, 4vw, 2.65rem); letter-spacing: -.045em; }
.form-stack { display: grid; gap: 20px; margin-top: 34px; }
.form-stack label span { display: block; margin-bottom: 8px; font-size: .83rem; font-weight: 750; }
.form-stack input { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; outline: none; background: white; color: var(--ink); transition: .18s; }
.form-stack input:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px var(--aqua-soft); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 15px; padding: 0 20px; border: 0; border-radius: 12px; font-weight: 780; cursor: pointer; }
.button-primary { background: var(--navy); color: white; box-shadow: 0 8px 22px rgba(18, 60, 58, .18); }
.button-primary:hover { background: var(--navy-deep); }
.form-stack .button { justify-content: space-between; margin-top: 5px; }
.alert { margin-top: 24px; padding: 13px 15px; border-radius: 11px; font-size: .9rem; }
.alert-error { border: 1px solid #f1c2c0; background: var(--danger-soft); color: var(--danger); }
.alert-success { border: 1px solid #bce2ca; background: #e6f5eb; color: #236e47; }
.login-note { margin-top: 32px; color: #93a09f; font-size: .75rem; text-align: center; }

.app-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 24px 18px; background: var(--navy-deep); color: white; }
.sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 26px; }
.sidebar-brand strong, .sidebar-brand small { display: block; }
.sidebar-brand strong { font-size: 1.05rem; letter-spacing: -.02em; }
.sidebar-brand small { margin-top: 2px; color: #83a29d; font-size: .65rem; font-weight: 800; letter-spacing: .14em; }
.main-nav { flex: 1; border-top: 1px solid rgba(255,255,255,.09); padding-top: 22px; }
.nav-label { margin: 0 13px 10px; color: #75938f; font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.nav-item { display: flex; min-height: 44px; align-items: center; gap: 12px; margin: 5px 0; padding: 0 13px; border-radius: 11px; color: #b8cdca; font-size: .87rem; font-weight: 650; }
.nav-item.active { background: rgba(99, 201, 185, .15); color: white; }
.nav-item.disabled { opacity: .55; }
.nav-item small { margin-left: auto; font-size: .65rem; }
.nav-icon { width: 20px; color: var(--aqua); font-size: 1.05rem; text-align: center; }
.sidebar-user { display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.09); padding: 20px 5px 0; }
.avatar { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 11px; background: var(--aqua-soft); color: var(--navy); font-weight: 850; }
.user-copy { min-width: 0; flex: 1; }
.user-copy strong, .user-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-copy strong { font-size: .78rem; }
.user-copy small { margin-top: 3px; color: #789994; font-size: .68rem; }
.icon-button { border: 0; background: transparent; color: #789994; cursor: pointer; }
.app-main { min-width: 0; }
.topbar { display: flex; min-height: 92px; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding: 17px clamp(22px, 4vw, 54px); background: rgba(255,255,255,.82); backdrop-filter: blur(16px); }
.topbar h1 { margin: 0; font-size: 1.45rem; letter-spacing: -.035em; }
.topbar .eyebrow { margin-bottom: 3px; color: #75817f; font-size: .6rem; }
.topbar-status { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); font-size: .74rem; font-weight: 650; }
.topbar-status span { width: 7px; height: 7px; border-radius: 50%; background: #42ae71; box-shadow: 0 0 0 4px #e1f4e9; }
.menu-button { display: none; border: 0; background: transparent; font-size: 1.3rem; }
.content-area { width: min(1320px, 100%); margin: 0 auto; padding: clamp(24px, 4vw, 54px); }
.welcome-card { position: relative; display: flex; min-height: 260px; align-items: center; overflow: hidden; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); background: linear-gradient(130deg, var(--navy-deep), var(--navy)); color: white; box-shadow: var(--shadow); }
.welcome-card h2 { max-width: 650px; margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 640; line-height: 1.04; letter-spacing: -.05em; }
.welcome-card p:last-child { max-width: 620px; margin: 20px 0 0; color: #b8cfcb; line-height: 1.65; }
.welcome-symbol { position: absolute; right: 5%; color: rgba(99,201,185,.12); font-size: 13rem; font-weight: 900; line-height: 1; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0; }
.stat-card { display: flex; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 15px; padding: 20px; background: var(--surface); }
.stat-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; font-weight: 900; }
.stat-icon.blue { background: #e5eff6; color: #347195; }.stat-icon.sand { background: #faf0da; color: #967026; }.stat-icon.green { background: var(--aqua-soft); color: var(--navy); }
.stat-card small, .stat-card strong { display: block; }.stat-card small { margin-bottom: 4px; color: var(--muted); font-size: .7rem; }.stat-card strong { font-size: .95rem; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); background: var(--surface); box-shadow: var(--shadow); }
.panel h3 { margin: 0; font-size: 1.4rem; letter-spacing: -.035em; }
.dashboard-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }.button-secondary { border: 1px solid var(--line); background: white; color: var(--navy); }
.empty-state { text-align: center; }.empty-code { color: var(--aqua); font-size: 4rem; font-weight: 900; }.empty-state .button { margin-top: 12px; }
.sidebar-backdrop { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.page-intro h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.05em; }
.page-intro p:last-child { margin: 10px 0 0; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.metric-card { position: relative; display: grid; min-height: 140px; grid-template-columns: 42px 1fr; align-content: space-between; gap: 15px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--surface); transition: border-color .18s, transform .18s, box-shadow .18s; }
.metric-card:hover { transform: translateY(-2px); border-color: #bfd2ce; box-shadow: var(--shadow); }
.metric-card.active { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.metric-card.active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--aqua); content: ""; }
.metric-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; font-weight: 850; }
.metric-icon.blue { background: #e6f0f7; color: #36789a; }.metric-icon.slate { background: #edf0f0; color: #566564; }.metric-icon.green { background: #e2f4e9; color: #278151; }.metric-icon.sand { background: #fbf0d9; color: #92702e; }.metric-icon.violet { background: #eee9f8; color: #7255a0; }
.metric-copy { grid-column: 1 / -1; }.metric-copy small, .metric-copy strong { display: block; }.metric-copy small { color: var(--muted); font-size: .68rem; }.metric-copy strong { margin-top: 4px; font-size: .85rem; }
.metric-number { position: absolute; top: 19px; right: 18px; font-size: 1.6rem; font-weight: 780; letter-spacing: -.04em; }
.bookings-panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.bookings-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.bookings-toolbar h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.03em; }
.search-form { position: relative; display: flex; width: min(100%, 490px); align-items: center; }
.search-form input[type="search"] { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 12px 0 0 12px; outline: none; padding: 0 42px; background: var(--canvas); color: var(--ink); }
.search-form input[type="search"]:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px var(--aqua-soft); }
.search-form button { height: 44px; border: 0; border-radius: 0 12px 12px 0; padding: 0 17px; background: var(--navy); color: white; font-weight: 750; cursor: pointer; }
.search-icon { position: absolute; left: 15px; z-index: 1; color: var(--muted); font-size: 1.15rem; }
.search-clear { position: absolute; right: 86px; z-index: 1; color: var(--muted); font-size: 1.2rem; }
.booking-table-wrap { overflow-x: auto; }
.booking-table { width: 100%; min-width: 1080px; border-collapse: collapse; }
.booking-table th { padding: 13px 18px; background: #f7f9f8; color: #72807e; font-size: .64rem; font-weight: 800; letter-spacing: .07em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.booking-table td { padding: 17px 18px; border-top: 1px solid #edf0ef; color: #33413f; font-size: .79rem; vertical-align: middle; }
.booking-table tbody tr { transition: background .15s; }.booking-table tbody tr:hover { background: #fafcfb; }
.booking-primary strong, .booking-primary small { display: block; }.booking-primary strong { color: var(--ink); font-size: .82rem; }.booking-primary small { max-width: 190px; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.guest-phone { color: var(--muted); text-decoration: none; }.guest-phone:hover { color: var(--navy); text-decoration: underline; }
.booking-id { display: inline-block; margin-bottom: 5px; color: #4b8f83; font-size: .68rem; font-weight: 800; }
.date-range { display: flex; align-items: center; gap: 6px; white-space: nowrap; }.date-range span { color: #a0aaa8; }.date-range strong { font-size: .74rem; }
.cell-note { display: block; margin-top: 5px; color: var(--muted); font-size: .66rem; white-space: nowrap; }
.payment-amount { display: block; margin-top: 6px; color: #42514f; font-size: .72rem; font-weight: 780; white-space: nowrap; }
.status-pill, .portal-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 9px; font-size: .66rem; font-weight: 760; white-space: nowrap; }
.status-pill.paid { background: #e2f4e9; color: #24784c; }.status-pill.deposit { background: #e6f0f7; color: #326e8e; }.status-pill.open { background: #fbf0d9; color: #88651f; }
.portal-pill { color: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.portal-pill.booking { background: #003b7a; }.portal-pill.airbnb { background: #ff385c; }.portal-pill.vrbo { background: #626b73; }.portal-pill.hometogo { background: #6d3aa6; }.portal-pill.clariso { background: #305c78; }
.booking-action a { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--aqua-soft); color: var(--navy); font-size: 1rem; font-weight: 850; }
.table-empty { padding: 70px 25px; text-align: center; }.table-empty > span { display: grid; width: 55px; height: 55px; margin: 0 auto 18px; place-items: center; border-radius: 16px; background: var(--aqua-soft); color: var(--navy); font-size: 1.6rem; }.table-empty h4 { margin: 0; font-size: 1.1rem; }.table-empty p { margin: 9px 0 0; color: var(--muted); font-size: .85rem; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); padding: 17px 25px; }.pagination a { color: var(--navy); font-size: .78rem; font-weight: 750; }.pagination a:last-child { text-align: right; }.pagination small { color: var(--muted); }
.detail-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.back-link { color: var(--navy); font-size: .8rem; font-weight: 760; }.back-link:hover { text-decoration: underline; }
.detail-created { color: var(--muted); font-size: .7rem; }
.booking-hero { display: flex; min-height: 185px; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); background: linear-gradient(130deg, var(--navy-deep), var(--navy)); color: white; box-shadow: var(--shadow); }
.booking-hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: var(--aqua); font-size: .7rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
.booking-hero h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 640; letter-spacing: -.05em; }
.booking-hero-main > p { margin: 12px 0 0; color: #b8cfcb; font-size: .9rem; }
.booking-hero-meta { display: flex; align-items: center; gap: 7px; margin-top: 18px; color: #8fada8; font-size: .68rem; }.booking-hero-meta span { color: var(--aqua); font-size: .9rem; }
.booking-hero-status { min-width: 190px; text-align: right; }.booking-hero-status strong, .booking-hero-status small { display: block; }.booking-hero-status > strong { margin-top: 16px; font-size: 1.75rem; letter-spacing: -.04em; }.booking-hero-status > small { margin-top: 3px; color: #9eb8b3; }
.status-pill.attention { background: #f8e3e3; color: #994141; }
.stay-timeline { display: grid; grid-template-columns: auto minmax(100px, 1fr) auto; align-items: center; margin: 18px 0; border: 1px solid var(--line); border-radius: 16px; padding: 21px 25px; background: white; }
.timeline-point { display: flex; align-items: center; gap: 13px; }.timeline-point.end { text-align: right; }.timeline-point.end .timeline-dot { order: 2; }
.timeline-dot { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; background: var(--aqua-soft); color: var(--navy); font-size: .72rem; font-weight: 850; }
.timeline-point small, .timeline-point strong, .timeline-point div > span { display: block; }.timeline-point small { color: var(--muted); font-size: .62rem; }.timeline-point strong { margin: 3px 0; font-size: .86rem; }.timeline-point div > span { color: var(--muted); font-size: .66rem; }
.timeline-line { position: relative; height: 1px; margin: 0 25px; background: #cbd8d5; }.timeline-line::before, .timeline-line::after { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); content: ""; }.timeline-line::before { left: 0; }.timeline-line::after { right: 0; }.timeline-line span { position: absolute; top: 50%; left: 50%; padding: 0 10px; transform: translate(-50%, -50%); background: white; color: var(--muted); font-size: .64rem; white-space: nowrap; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .7fr); align-items: start; gap: 18px; }
.detail-main-column, .detail-side-column { display: grid; gap: 18px; }.detail-side-column { position: sticky; top: 18px; }
.detail-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 31px); background: white; box-shadow: 0 12px 35px rgba(20,50,47,.045); }
.detail-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 25px; }.detail-card-heading.compact { margin-bottom: 20px; }
.detail-card-heading h3 { margin: 0; font-size: 1.3rem; letter-spacing: -.035em; }.detail-card-heading.compact h3 { font-size: 1.05rem; }
.detail-card-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: var(--aqua-soft); color: var(--navy); font-size: .85rem; font-weight: 850; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--line); }
.detail-field { min-width: 0; padding: 16px 18px; background: white; }.detail-field.full { grid-column: 1 / -1; }.detail-field small, .detail-field strong, .detail-field a { display: block; }.detail-field small { margin-bottom: 6px; color: var(--muted); font-size: .62rem; font-weight: 720; text-transform: uppercase; }.detail-field strong, .detail-field a { overflow: hidden; color: var(--ink); font-size: .82rem; font-weight: 690; text-overflow: ellipsis; }.detail-field a:hover { color: #397f73; text-decoration: underline; }
.guest-note { margin-top: 17px; border-left: 3px solid var(--sand); border-radius: 0 10px 10px 0; padding: 13px 16px; background: #fcf8ef; }.guest-note small { color: #8d713c; font-size: .62rem; font-weight: 800; text-transform: uppercase; }.guest-note p { margin: 7px 0 0; color: #5e5545; font-size: .79rem; line-height: 1.6; }
.price-list { display: grid; }.price-list > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #edf0ef; padding: 13px 0; font-size: .79rem; }.price-list > div:first-child { border-top: 0; padding-top: 0; }.price-list span { color: var(--muted); }.price-list span small { display: block; margin-top: 3px; color: #9aa5a3; font-size: .63rem; }.price-list strong { color: var(--ink); white-space: nowrap; }.price-list .price-total { margin-top: 5px; border-top: 1px solid var(--navy); padding-top: 17px; font-size: 1rem; }.price-list .price-total span { color: var(--ink); font-weight: 800; }
.payment-list { display: grid; }.payment-row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; border-top: 1px solid #edf0ef; padding: 13px 0; }.payment-row:first-child { border-top: 0; padding-top: 0; }.payment-direction { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; font-weight: 900; }.payment-direction.eingang { background: #e2f4e9; color: #24784c; }.payment-direction.ausgang { background: #f8e3e3; color: #994141; }.payment-row div strong, .payment-row div small { display: block; }.payment-row div strong { font-size: .77rem; }.payment-row div small { margin-top: 3px; color: var(--muted); font-size: .65rem; }.payment-value { font-size: .79rem; }.payment-value.eingang { color: #24784c; }.payment-value.ausgang { color: #994141; }
.document-groups { display: grid; }.document-row { display: grid; grid-template-columns: minmax(190px, 1fr) auto; align-items: center; gap: 20px; border-top: 1px solid #edf0ef; padding: 16px 0; }.document-row:first-child { border-top: 0; padding-top: 0; }.document-row > div:first-child strong, .document-row > div:first-child small { display: block; }.document-row > div:first-child strong { font-size: .8rem; }.document-row > div:first-child small { margin-top: 4px; color: var(--muted); font-size: .66rem; }
.language-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }.language-actions a { display: grid; min-width: 32px; height: 30px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); font-size: .61rem; font-weight: 850; }.language-actions a:hover { border-color: var(--aqua); background: var(--aqua-soft); }
.payment-progress { height: 7px; overflow: hidden; border-radius: 999px; background: #e8edeb; }.payment-progress span { display: block; height: 100%; border-radius: inherit; background: var(--aqua); }
.payment-progress-label { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: .65rem; }.payment-progress-label strong { color: var(--ink); }
.payment-summary-values { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }.payment-summary-values div { border-radius: 11px; padding: 12px; background: var(--canvas); }.payment-summary-values span, .payment-summary-values strong { display: block; }.payment-summary-values span { color: var(--muted); font-size: .6rem; }.payment-summary-values strong { margin-top: 5px; font-size: .79rem; }.amount-open { color: #a46b16; }
.stacked-actions { display: grid; gap: 8px; }.tool-button { display: flex; width: 100%; min-height: 43px; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 11px; padding: 0 13px; background: white; color: var(--navy); font: inherit; font-size: .72rem; font-weight: 750; text-align: left; cursor: pointer; }.tool-button span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; background: var(--aqua-soft); }.tool-button:hover { border-color: #aac5c0; }.tool-button.primary { border-color: var(--navy); background: var(--navy); color: white; }.tool-button.primary span { color: var(--navy); }
.quick-action-list { display: grid; }.quick-action-list > a { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 10px; border-top: 1px solid #edf0ef; padding: 12px 0; }.quick-action-list > a:first-child { border-top: 0; padding-top: 0; }.quick-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--canvas); color: var(--navy); font-size: .75rem; font-weight: 850; }.quick-action-list strong, .quick-action-list small { display: block; }.quick-action-list strong { font-size: .75rem; }.quick-action-list small { margin-top: 3px; color: var(--muted); font-size: .62rem; }.quick-action-list b { color: #96a3a0; font-size: .85rem; }.quick-action-list a:hover b { color: var(--navy); }
.compact-details { margin: 0; }.compact-details div { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #edf0ef; padding: 10px 0; }.compact-details div:first-child { border-top: 0; padding-top: 0; }.compact-details dt { color: var(--muted); font-size: .67rem; }.compact-details dd { max-width: 150px; margin: 0; overflow: hidden; color: var(--ink); font-size: .68rem; font-weight: 740; text-overflow: ellipsis; white-space: nowrap; }
.workflow-card { margin: 18px 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.workflow-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); padding: 26px 30px; background: linear-gradient(110deg, #fff, #f5faf8); }
.workflow-heading h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.035em; }.workflow-heading p:last-child { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.workflow-count { min-width: 72px; color: var(--navy); font-size: 1.55rem; font-weight: 850; text-align: right; }.workflow-count small { display: block; margin-top: 2px; color: var(--muted); font-size: .58rem; font-weight: 650; }
.workflow-steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.workflow-step { position: relative; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 20px 22px; background: white; }
.workflow-step:nth-child(4n) { border-right: 0; }.workflow-step:nth-last-child(-n+4) { border-bottom: 0; }
.workflow-step.current { background: #f2faf7; box-shadow: inset 0 3px 0 var(--aqua); }.workflow-step.complete { background: #fbfdfc; }
.workflow-marker { display: grid; width: 31px; height: 31px; place-items: center; margin-bottom: 18px; border: 1px solid #cfd9d7; border-radius: 10px; background: white; color: #798683; font-size: .7rem; font-weight: 850; }
.workflow-step.current .workflow-marker { border-color: var(--aqua); background: var(--aqua); color: var(--navy-deep); }.workflow-step.complete .workflow-marker { border-color: #bce2ca; background: #e2f4e9; color: #24784c; }
.workflow-step-body > small { color: #8c9996; font-size: .56rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.workflow-step-body h4 { margin: 5px 0 7px; font-size: .82rem; }.workflow-step-body > p { min-height: 48px; margin: 0 0 13px; color: var(--muted); font-size: .68rem; line-height: 1.48; }.workflow-step-body > a { color: #3c7d72; font-size: .66rem; font-weight: 780; }.workflow-step-body > a:hover { text-decoration: underline; }
.workflow-actions { display: flex; flex-wrap: wrap; gap: 6px; }.workflow-actions.language-actions { justify-content: flex-start; }
.workflow-link { display: inline-flex; min-height: 29px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 0 9px; background: white; color: var(--navy); font: inherit; font-size: .61rem; font-weight: 770; cursor: pointer; }.workflow-link:hover { border-color: var(--aqua); background: var(--aqua-soft); }.workflow-link.saved { border-color: #acd3c4; background: #e7f5ed; color: #236e47; }
.workflow-form { margin-top: 10px; }.workflow-form button { min-height: 32px; border: 0; border-radius: 8px; padding: 0 10px; background: var(--navy); color: white; font-size: .62rem; font-weight: 780; cursor: pointer; }.workflow-form button:hover { background: var(--navy-deep); }
.workflow-modal-button { min-height: 31px; border: 1px solid var(--navy); border-radius: 8px; padding: 0 10px; background: var(--navy); color: white; font-size: .62rem; font-weight: 780; cursor: pointer; }.workflow-modal-button:hover { background: var(--navy-deep); }
.workflow-choice-label { display: block; margin-bottom: 8px; color: var(--navy); font-size: .62rem; }
.workflow-step.stay-step { display: grid; grid-column: 1 / -1; grid-template-columns: 31px 1fr; align-items: center; gap: 14px; border-right: 0; border-bottom: 0; padding: 14px 20px; background: var(--navy-deep); color: white; }.workflow-step.stay-step .workflow-marker { margin: 0; border-color: rgba(255,255,255,.15); background: rgba(99,201,185,.15); color: var(--aqua); }.workflow-step.stay-step .workflow-step-body { display: grid; grid-template-columns: auto minmax(150px, 1fr) auto; align-items: center; gap: 14px; }.workflow-step.stay-step .workflow-step-body > small, .workflow-step.stay-step .workflow-step-body > p { margin: 0; min-height: 0; color: #91aba6; }.workflow-step.stay-step .workflow-step-body h4 { margin: 0; color: white; }
#guest-data { scroll-margin-top: 20px; }
.stacked-actions form { margin: 0; }.stacked-actions form .tool-button { width: 100%; cursor: pointer; }.tool-button.success { border-color: #87c6a0; background: #e6f5eb; color: #236e47; }.tool-button.success span { background: #ccebd8; color: #236e47; }
.portal-steps { grid-template-columns: repeat(5, 1fr); }.portal-payment-note { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.6; }.payment-summary-values.single { grid-template-columns: 1fr; }.tool-button.full { width: 100%; cursor: pointer; }
.quick-action-list > button { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.quick-action-list > a, .quick-action-list > button { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 10px; border-top: 1px solid #edf0ef; padding: 12px 0; }
.quick-action-list > a:first-child, .quick-action-list > button:first-child { border-top: 0; padding-top: 0; }
.quick-action-list > button:hover b { color: var(--navy); }
.preparation-dialog { width: min(1060px, calc(100% - 30px)); max-height: calc(100vh - 30px); overflow: hidden; border: 0; border-radius: 20px; padding: 0; background: white; color: var(--ink); box-shadow: 0 30px 100px rgba(7,27,26,.28); }
.preparation-dialog::backdrop { background: rgba(7,27,26,.65); backdrop-filter: blur(3px); }
.dialog-shell { max-height: calc(100vh - 30px); overflow-y: auto; }
.dialog-header { position: sticky; z-index: 2; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 25px 28px; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }.dialog-header h2 { margin: 0; font-size: 1.55rem; letter-spacing: -.04em; }.dialog-header p:last-child { margin: 7px 0 0; color: var(--muted); font-size: .74rem; }.dialog-close { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--muted); font-size: 1.25rem; cursor: pointer; }
.preparation-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: start; gap: 18px; padding: 24px 28px 30px; background: var(--canvas); }.preparation-grid.portal-only { grid-template-columns: 1fr; }.preparation-grid.portal-only .preparation-section { width: min(680px, 100%); margin: 0 auto; }
.preparation-section { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; padding: 20px; background: white; }.preparation-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }.preparation-title > span { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--aqua-soft); color: var(--navy); font-size: .72rem; font-weight: 850; }.preparation-title h3 { margin: 0; font-size: 1rem; }.preparation-title p { margin: 4px 0 0; color: var(--muted); font-size: .65rem; }
.language-editors { display: grid; gap: 8px; }.language-editors details { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; }.language-editors summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #fafcfb; cursor: pointer; list-style: none; }.language-editors summary::-webkit-details-marker { display: none; }.language-editors summary span { font-size: .75rem; font-weight: 780; }.language-editors summary small { color: var(--muted); font-size: .6rem; }
.preparation-form { display: grid; gap: 14px; border-top: 1px solid var(--line); padding: 15px; }.preparation-form label > span { display: flex; justify-content: space-between; margin-bottom: 6px; color: #52615f; font-size: .68rem; font-weight: 740; }.preparation-form label > span small { color: #99a4a2; font-weight: 550; }.preparation-form textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 9px; outline: none; padding: 11px; background: white; color: var(--ink); font: 400 .72rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }.preparation-form textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px var(--aqua-soft); }.preparation-form button, .create-links-form button { min-height: 39px; border: 0; border-radius: 9px; padding: 0 14px; background: var(--navy); color: white; font-size: .7rem; font-weight: 780; cursor: pointer; }
.preparation-notice { border-left: 3px solid var(--sand); border-radius: 0 9px 9px 0; padding: 11px 13px; background: #fcf8ef; }.preparation-notice strong { font-size: .72rem; }.preparation-notice p { margin: 4px 0 0; color: #76684e; font-size: .65rem; line-height: 1.45; }.create-links-form { margin-top: 12px; }.preparation-ready { border-radius: 9px; padding: 11px 13px; background: #e6f5eb; color: #236e47; font-size: .7rem; font-weight: 740; }
.guest-link-list { display: grid; gap: 7px; margin-top: 15px; }.guest-link-row { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 9px; }.guest-link-number { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: var(--canvas); color: var(--navy); font-size: .68rem; font-weight: 850; }.guest-link-row div strong, .guest-link-row div small { display: block; }.guest-link-row div strong { font-size: .68rem; }.guest-link-row div small { margin-top: 2px; color: var(--muted); font-size: .58rem; }.guest-link-row > a, .guest-link-row > button { border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; background: white; color: var(--navy); font-size: .58rem; font-weight: 760; cursor: pointer; }
.stripe-dialog { width: min(620px, calc(100% - 30px)); max-height: calc(100vh - 30px); overflow: hidden; border: 0; border-radius: 20px; padding: 0; background: white; color: var(--ink); box-shadow: 0 30px 100px rgba(7,27,26,.28); }
.stripe-dialog::backdrop { background: rgba(7,27,26,.65); backdrop-filter: blur(3px); }
.stripe-dialog-shell { max-height: calc(100vh - 30px); overflow-y: auto; }
.stripe-dialog-body { display: grid; gap: 18px; padding: 24px 28px 28px; }
.stripe-booking-summary { display: grid; gap: 4px; border-left: 3px solid var(--aqua); border-radius: 0 11px 11px 0; padding: 13px 16px; background: var(--canvas); }.stripe-booking-summary span { color: var(--muted); font-size: .67rem; }.stripe-booking-summary strong { font-size: .88rem; }.stripe-booking-summary small { color: var(--muted); font-size: .64rem; }
.stripe-amount-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; border: 0; padding: 0; }.stripe-amount-options legend { grid-column: 1 / -1; margin-bottom: 2px; color: var(--muted); font-size: .64rem; font-weight: 780; text-transform: uppercase; }.stripe-amount-options label { position: relative; cursor: pointer; }.stripe-amount-options input { position: absolute; opacity: 0; pointer-events: none; }.stripe-amount-options label > span { display: grid; gap: 5px; border: 1px solid var(--line); border-radius: 12px; padding: 15px; background: white; transition: .15s ease; }.stripe-amount-options label > span small { color: var(--muted); font-size: .65rem; }.stripe-amount-options label > span strong { font-size: 1rem; }.stripe-amount-options input:checked + span { border-color: var(--aqua); background: var(--aqua-soft); box-shadow: inset 0 0 0 1px var(--aqua); }.stripe-amount-options input:focus-visible + span { outline: 3px solid rgba(99,201,185,.28); }
.stripe-existing-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-radius: 9px; padding: 10px 12px; background: #f2f5f4; font-size: .65rem; }.stripe-existing-link span { color: var(--muted); }.stripe-existing-link a { color: var(--navy); font-weight: 780; }
.stripe-status { margin: 0; border-radius: 9px; padding: 11px 13px; background: #f4f6f5; color: var(--muted); font-size: .67rem; line-height: 1.5; }.stripe-status.loading { background: #edf6f5; color: var(--navy); }.stripe-status.success { background: #e6f5eb; color: #236e47; }.stripe-status.warning { background: #fcf5e6; color: #87631d; }.stripe-status.error { background: #faeaea; color: #983c3c; }
.stripe-result { display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 9px; border: 1px solid #b9dfc7; border-radius: 11px; padding: 11px; }.stripe-result-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #dff2e6; color: #24784c; font-weight: 900; }.stripe-result div strong, .stripe-result div small { display: block; }.stripe-result div strong { font-size: .72rem; }.stripe-result div small { margin-top: 2px; color: var(--muted); font-size: .6rem; }.stripe-result > a, .stripe-result > button { border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; background: white; color: var(--navy); font-size: .61rem; font-weight: 780; cursor: pointer; }
.stripe-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); padding-top: 18px; }.stripe-dialog-actions button { min-height: 40px; border-radius: 10px; padding: 0 16px; font-size: .69rem; font-weight: 780; cursor: pointer; }.stripe-dialog-actions .secondary { border: 1px solid var(--line); background: white; color: var(--muted); }.stripe-dialog-actions .primary { border: 1px solid var(--navy); background: var(--navy); color: white; }.stripe-dialog-actions button:disabled { cursor: wait; opacity: .62; }
.statistics-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }.statistics-heading h2 { margin: 0; color: var(--ink); font-size: 2rem; letter-spacing: -.045em; }.statistics-heading p:last-child { margin: 7px 0 0; color: var(--muted); font-size: .75rem; }
.statistics-filter { display: flex; align-items: end; gap: 10px; border: 1px solid var(--line); border-radius: 15px; padding: 16px; background: white; box-shadow: var(--shadow); }.statistics-filter label { display: grid; gap: 6px; }.statistics-filter label > span { color: var(--muted); font-size: .59rem; font-weight: 790; letter-spacing: .06em; text-transform: uppercase; }.statistics-filter select { min-width: 145px; height: 40px; border: 1px solid var(--line); border-radius: 9px; outline: 0; padding: 0 34px 0 11px; background: white; color: var(--ink); font-size: .7rem; }.statistics-filter .property-filter { flex: 1; }.statistics-filter .property-filter select { width: 100%; }.statistics-filter select:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px var(--aqua-soft); }.statistics-filter button, .statistics-filter > a { display: inline-flex; height: 40px; align-items: center; justify-content: center; border-radius: 9px; padding: 0 14px; font-size: .66rem; font-weight: 780; white-space: nowrap; }.statistics-filter button { border: 1px solid var(--navy); background: var(--navy); color: white; cursor: pointer; }.statistics-filter > a { border: 1px solid var(--line); color: var(--muted); }
.statistics-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 16px 0; }.statistics-kpis article { display: grid; min-width: 0; grid-template-columns: 39px 1fr; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 14px; padding: 15px; background: white; box-shadow: 0 8px 30px rgba(20,50,47,.045); }.statistics-kpi-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 11px; background: var(--canvas); color: var(--navy); font-size: .8rem; font-weight: 880; }.statistics-kpi-icon.revenue { background: #e6f1f5; }.statistics-kpi-icon.bookings { background: #edf0f7; }.statistics-kpi-icon.lead { background: #f8f0de; color: #88641e; }.statistics-kpi-icon.stay { background: var(--aqua-soft); color: #2d7569; }.statistics-kpi-icon.open { background: #f6e9e8; color: #98524d; }.statistics-kpis small, .statistics-kpis strong, .statistics-kpis em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.statistics-kpis small { color: var(--muted); font-size: .56rem; }.statistics-kpis strong { margin-top: 4px; color: var(--ink); font-size: .86rem; }.statistics-kpis em { margin-top: 3px; color: #96a19f; font-size: .55rem; font-style: normal; }
.statistics-chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.statistics-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; padding: 21px; background: white; box-shadow: var(--shadow); }.statistics-card.chart-wide { grid-column: 1 / -1; }.statistics-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }.statistics-card header h3 { margin: 0; font-size: 1.03rem; letter-spacing: -.025em; }.statistics-card header > small { color: var(--muted); font-size: .61rem; }.statistics-card header > strong { color: var(--navy); font-size: .73rem; }.chart-frame { position: relative; width: 100%; height: 245px; }.chart-frame.chart-large { height: 320px; }
.distribution-card .chart-frame { height: 205px; }.distribution-values { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }.distribution-values div { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 8px; padding: 8px 10px; background: var(--canvas); }.distribution-values span { color: var(--muted); font-size: .59rem; }.distribution-values strong { font-size: .65rem; }.country-ranking { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 15px; }.country-ranking div { display: flex; align-items: center; justify-content: space-between; border-radius: 8px; padding: 9px 11px; background: var(--canvas); }.country-ranking span { color: var(--muted); font-size: .62rem; font-weight: 780; }.country-ranking strong { color: var(--navy); font-size: .72rem; }
.statistics-table-card { margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: var(--shadow); }.statistics-table-card > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; cursor: pointer; list-style: none; }.statistics-table-card > summary::-webkit-details-marker { display: none; }.statistics-table-card > summary::after { color: #8c9996; content: '+'; font-size: 1.1rem; font-weight: 450; }.statistics-table-card[open] > summary::after { content: '−'; }.statistics-table-card > summary span { flex: 1; }.statistics-table-card > summary span small, .statistics-table-card > summary span strong { display: block; }.statistics-table-card > summary span small { color: var(--muted); font-size: .56rem; font-weight: 780; letter-spacing: .07em; text-transform: uppercase; }.statistics-table-card > summary span strong { margin-top: 4px; font-size: .81rem; }.statistics-table-card > summary > b { color: var(--navy); font-size: .65rem; }.statistics-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }.statistics-table { width: 100%; min-width: 900px; border-collapse: collapse; }.statistics-table th { padding: 11px 14px; background: #f7faf9; color: var(--muted); font-size: .55rem; font-weight: 820; letter-spacing: .055em; text-align: left; text-transform: uppercase; }.statistics-table td { border-top: 1px solid #edf0ef; padding: 12px 14px; color: #44514f; font-size: .65rem; }.statistics-table td a { color: var(--navy); font-weight: 760; }.statistics-table td.numeric, .statistics-table th.numeric { text-align: right; }.statistics-empty { padding: 25px; color: var(--muted); font-size: .7rem; text-align: center; }
.monthly-details { margin-top: 22px; }.monthly-details-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 11px; padding: 0 3px; }.monthly-details-heading h3 { margin: 0; font-size: 1.15rem; }.monthly-details-heading > small { color: var(--muted); font-size: .62rem; }.month-card { margin-top: 7px; border-radius: 11px; box-shadow: none; }.month-card > summary { padding: 13px 16px; }

@media (max-width: 820px) {
    .guest-shell { grid-template-columns: 1fr; }
    .brand-panel { min-height: 330px; padding: 26px 28px; }
    .brand-panel h1 { margin: 12px 0 6px; font-size: 2.45rem; }
    .brand-copy { margin: 10px 0 0; font-size: .88rem; line-height: 1.45; }
    .brand-audience { margin-top: 17px; padding: 11px 13px; }
    .brand-audience span { font-size: .68rem; line-height: 1.4; }
    .brand-foot { display: none; }
    .login-panel { place-items: start center; padding: 42px 24px; }
    .app-shell { display: block; }
    .sidebar { position: fixed; z-index: 20; left: 0; width: 275px; transform: translateX(-100%); transition: transform .22s ease; }
    .sidebar.open { transform: translateX(0); }
    .sidebar-backdrop.visible { position: fixed; z-index: 10; inset: 0; display: block; background: rgba(7, 27, 26, .48); }
    .menu-button { display: block; }
    .topbar { min-height: 76px; }
    .topbar-status { display: none; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .welcome-card { min-height: 310px; align-items: flex-end; }
    .welcome-symbol { top: 20px; right: 25px; font-size: 8rem; }
    .metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-right: 0; overflow: visible; padding-right: 0; }
    .metric-card { min-width: 0; min-height: 84px; grid-template-columns: 31px 1fr; gap: 9px; padding: 12px; }
    .metric-card:last-child { grid-column: 1 / -1; }
    .metric-icon { width: 31px; height: 31px; border-radius: 9px; font-size: .75rem; }
    .metric-number { top: 13px; right: 12px; font-size: 1.15rem; }
    .metric-copy small { display: none; }
    .metric-copy strong { margin-top: 0; font-size: .73rem; }
    .bookings-toolbar { align-items: stretch; flex-direction: column; }
    .search-form { width: 100%; }
    .booking-table-wrap { overflow: visible; }
    .booking-table { min-width: 0; }
    .booking-table thead { display: none; }
    .booking-table, .booking-table tbody, .booking-table tr, .booking-table td { display: block; width: 100%; }
    .booking-table tbody { display: grid; gap: 12px; padding: 14px; background: var(--canvas); }
    .booking-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 8px 25px rgba(20,50,47,.05); }
    .booking-table td { position: relative; min-width: 0; border-top: 1px solid #edf0ef; padding: 33px 15px 14px; }
    .booking-table td::before { position: absolute; top: 12px; left: 15px; color: #879390; content: attr(data-label); font-size: .57rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .booking-table td:first-child, .booking-table td:nth-child(2) { border-top: 0; }
    .booking-table td:nth-child(1), .booking-table td:nth-child(2) { grid-column: span 1; }
    .booking-table td:nth-child(3) { grid-column: 1 / -1; }
    .booking-table td:nth-child(6), .booking-table td:nth-child(7) { align-content: start; }
    .booking-table .payment-amount { margin-top: 8px; color: var(--ink); font-size: .82rem; }
    .booking-table .booking-action { grid-column: 1 / -1; padding: 10px 14px; }
    .booking-table .booking-action::before { display: none; }
    .booking-action a { width: 100%; }
    .pagination { padding: 16px 14px; }
    .detail-created { display: none; }
    .booking-hero { min-height: 0; align-items: flex-start; flex-direction: column; padding: 26px; }
    .booking-hero h2 { font-size: 2rem; }
    .booking-hero-meta { margin-top: 15px; }
    .booking-hero-status { display: grid; width: 100%; min-width: 0; grid-template-columns: 1fr auto; align-items: center; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; text-align: left; }
    .booking-hero-status .status-pill { justify-self: start; }.booking-hero-status > strong { margin: 0; text-align: right; }.booking-hero-status > small { grid-column: 2; margin-top: 2px; text-align: right; }
    .stay-timeline { grid-template-columns: 1fr; gap: 15px; padding: 18px; }
    .timeline-point.end { text-align: left; }.timeline-point.end .timeline-dot { order: 0; }
    .timeline-line { width: 1px; height: 34px; margin: -8px 0 -8px 19px; }.timeline-line::before, .timeline-line::after { top: auto; left: -3px; }.timeline-line::before { top: 0; }.timeline-line::after { bottom: 0; }.timeline-line span { top: 50%; left: 14px; transform: translateY(-50%); }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-side-column { position: static; }
    .payment-summary-card { order: -2; }
    .contact-grid { grid-template-columns: 1fr; }.detail-field.full { grid-column: auto; }
    .document-row { grid-template-columns: 1fr; gap: 12px; }.language-actions { justify-content: flex-start; }
    .payment-row { grid-template-columns: 34px 1fr; }.payment-value { grid-column: 2; }
    .workflow-heading { align-items: flex-start; padding: 22px; }.workflow-heading p:last-child { font-size: .7rem; }.workflow-count { min-width: 58px; font-size: 1.3rem; }
    .workflow-steps { grid-template-columns: 1fr; }
    .workflow-step, .workflow-step:nth-child(4n), .workflow-step:nth-last-child(-n+4) { display: grid; grid-template-columns: 34px 1fr; gap: 13px; border-right: 0; border-bottom: 1px solid var(--line); padding: 19px; }
    .workflow-step:last-child { border-bottom: 0; }
    .workflow-marker { margin: 0; }
    .workflow-step-body > p { min-height: 0; }
    .workflow-step.stay-step { grid-template-columns: 31px 1fr; padding: 14px 19px; }
    .workflow-step.stay-step .workflow-step-body { grid-template-columns: 1fr; gap: 3px; }
    .preparation-dialog { width: 100%; max-width: none; max-height: 100vh; border-radius: 0; }.dialog-shell { max-height: 100vh; }.dialog-header { padding: 19px; }.dialog-header h2 { font-size: 1.25rem; }.preparation-grid { grid-template-columns: 1fr; padding: 14px; }.preparation-section { padding: 15px; }.guest-link-row { grid-template-columns: 30px 1fr auto; }.guest-link-row > button { grid-column: 2 / -1; }
    .stripe-dialog { width: 100%; max-width: none; max-height: 100vh; border-radius: 0; }.stripe-dialog-shell { max-height: 100vh; }.stripe-dialog-body { padding: 17px 19px 22px; }.stripe-amount-options { grid-template-columns: 1fr; }.stripe-result { grid-template-columns: 34px 1fr; }.stripe-result > a, .stripe-result > button { text-align: center; }.stripe-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; }.stripe-dialog-actions button { width: 100%; }
    .statistics-heading h2 { font-size: 1.65rem; }.statistics-filter { align-items: stretch; flex-direction: column; }.statistics-filter label, .statistics-filter .property-filter { width: 100%; }.statistics-filter select { width: 100%; }.statistics-filter button, .statistics-filter > a { width: 100%; }.statistics-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }.statistics-kpis article { padding: 12px; }.statistics-kpis article:last-child { grid-column: 1 / -1; }.statistics-chart-grid { grid-template-columns: 1fr; }.statistics-card, .statistics-card.chart-wide { grid-column: auto; padding: 16px; }.chart-frame, .chart-frame.chart-large { height: 255px; }.distribution-card .chart-frame { height: 190px; }.country-ranking { grid-template-columns: repeat(3, 1fr); }.statistics-table-card > summary { padding: 14px; }.statistics-table-card > summary > b { max-width: 135px; text-align: right; }.monthly-details-heading > small { display: none; }
}

@media (min-width: 821px) and (max-width: 1180px) {
    .metric-grid { grid-template-columns: repeat(3, 1fr); }
    .workflow-steps { grid-template-columns: repeat(2, 1fr); }
    .workflow-step:nth-child(4n) { border-right: 1px solid var(--line); }.workflow-step:nth-child(2n) { border-right: 0; }
    .workflow-step:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }.workflow-step:nth-last-child(-n+2) { border-bottom: 0; }
    .portal-steps { grid-template-columns: repeat(2, 1fr); }
    .statistics-kpis { grid-template-columns: repeat(3, 1fr); }.statistics-kpis article:nth-last-child(-n+2) { grid-column: span 1; }.country-ranking { grid-template-columns: repeat(3, 1fr); }
}
