:root {
    --navy: #062a5d;
    --navy-deep: #032454;
    --blue: #0787e8;
    --blue-strong: #087ee0;
    --blue-soft: #e9f5ff;
    --orange: #f77b13;
    --ink: #102d53;
    --muted: #657891;
    --line: #dce5ef;
    --surface: #ffffff;
    --wash: #f3f7fc;
    --success: #0c9871;
    --danger: #dc4251;
    --shadow: 0 12px 34px rgba(17, 48, 84, .09);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--wash);
    font-synthesis: none;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #f4f8fc; font-size: 14px; line-height: 1.5; }
a { color: var(--blue-strong); text-decoration: none; }
a:hover { color: #005ca9; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.site-header { height: 72px; display: flex; align-items: center; gap: 35px; padding: 0 max(24px, calc((100vw - 1320px) / 2)); background: #fff; border-bottom: 1px solid #e4ebf3; position: relative; z-index: 8; }
.brand { flex: 0 0 auto; width: 178px; display: flex; align-items: center; }
.brand img { width: 100%; max-height: 58px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.35vw, 34px); flex: 1; height: 100%; }
.main-nav a { position: relative; display: inline-flex; align-items: center; height: 100%; color: #172e50; font-size: 13px; font-weight: 650; white-space: nowrap; }
.main-nav a:hover, .main-nav a.is-current { color: var(--blue-strong); }
.main-nav a.is-current::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: 12px; background: var(--blue); border-radius: 4px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex: 0 0 auto; }
.login-link { color: var(--navy); font-size: 13px; font-weight: 650; white-space: nowrap; }
.locale-chip { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-size: 12px; font-weight: 700; white-space: nowrap; }
.mobile-menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.mobile-menu-toggle span { width: 22px; height: 2px; display: block; margin: 4px 0; background: var(--navy); }
.inline-form { display: inline-flex; margin: 0; }
.button { min-height: 43px; border: 1px solid transparent; border-radius: 10px; padding: 10px 18px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; color: #fff; background: var(--blue); font-weight: 750; font-size: 13px; line-height: 1.2; text-align: center; transition: background .16s, transform .16s, box-shadow .16s; }
.button:hover { color: #fff; background: #006dca; box-shadow: 0 7px 18px rgba(0, 111, 203, .2); transform: translateY(-1px); }
.button-orange { background: var(--orange); }
.button-orange:hover { background: #df6400; }
.button-outline { color: var(--blue-strong); background: #fff; border-color: #b9cce0; }
.button-outline:hover { color: #fff; border-color: var(--blue); }
.button-light { color: var(--navy); background: #fff; border-color: var(--line); }
.button-light:hover { color: var(--navy); background: #f4f9ff; border-color: #b4cbe3; }
.button-danger { background: var(--danger); }
.button-small { min-height: 36px; padding: 8px 15px; border-radius: 18px; font-size: 12px; }
.button-link { border: 0; padding: 0; min-height: auto; color: var(--blue); background: transparent; font-weight: 700; }
.button-link:hover { background: transparent; box-shadow: none; transform: none; color: var(--navy); }
.flash { width: min(1240px, calc(100% - 40px)); margin: 16px auto; border: 1px solid; border-radius: 11px; padding: 12px 16px; }
.flash-success { color: #096b50; background: #e8f8f2; border-color: #a8e5d0; }
.flash-error { color: #8f2631; background: #fff0f1; border-color: #f1c1c4; }
.flash ul { margin: 6px 0 0; padding-left: 20px; }
.site-footer { margin-top: 72px; padding: 34px max(24px, calc((100vw - 1240px) / 2)) 18px; color: #d9e6f4; background: var(--navy-deep); }
.footer-main { display: grid; grid-template-columns: 185px 1fr auto; align-items: center; gap: 30px; padding-bottom: 28px; }
.brand-footer { width: 166px; }
.footer-main p { margin: 0; max-width: 420px; color: #c1d2e6; font-size: 13px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: #d9e6f4; font-size: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 15px; display: flex; justify-content: space-between; gap: 12px; color: #aebfd4; font-size: 11px; }
.container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.container-narrow { width: min(920px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 52px 0; }
.section-tight { padding: 32px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 21px; }
.section-heading h2, .page-heading h1 { margin: 0; color: var(--navy); letter-spacing: -.035em; }
.section-heading h2 { font-size: clamp(23px, 3vw, 31px); line-height: 1.15; }
.section-heading p, .page-heading p { margin: 7px 0 0; color: var(--muted); }
.eyebrow { color: #687e98; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 800; }
.hero { min-height: 460px; display: flex; align-items: center; position: relative; overflow: hidden; padding: 48px max(24px, calc((100vw - 1240px) / 2)); color: #fff; background: #0e548d url("/images/brand/hero-cape-town.jpg") center 51%/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,28,62,.79) 0%, rgba(5,37,73,.50) 43%, rgba(8,40,74,.05) 100%); }
.hero-content { position: relative; width: min(1240px, 100%); margin: 0 auto; }
.hero-copy { max-width: 580px; }
.hero-kicker { margin: 0 0 9px; color: #e6f2ff; text-transform: uppercase; letter-spacing: .26em; font-size: 10px; font-weight: 800; }
.hero h1 { max-width: 620px; margin: 0; color: #fff; font-size: clamp(37px, 5vw, 62px); line-height: 1.01; letter-spacing: -.045em; }
.hero h1 span { color: #23a6ff; }
.hero-copy > p:last-child { max-width: 470px; margin: 14px 0 26px; color: #edf5ff; font-size: 14px; }
.search-bar { width: min(890px, 100%); display: grid; grid-template-columns: 1.45fr 1fr 1fr .82fr auto; gap: 4px; padding: 7px; border-radius: 17px; background: #fff; box-shadow: 0 13px 36px rgba(0,0,0,.18); }
.search-field { min-width: 0; position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 7px 13px; border-right: 1px solid #edf1f5; }
.search-field label { color: #192f4f; font-size: 11px; font-weight: 800; }
.search-field input, .search-field select { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: #63758a; background: transparent; font-size: 12px; }
.search-bar .button { border-radius: 13px; min-width: 120px; align-self: stretch; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 75px); padding: 16px 24px; border-bottom: 1px solid #e3ebf4; background: #fff; }
.trust-item { display: flex; align-items: center; gap: 10px; min-width: 145px; }
.trust-icon { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid #cbe4ff; border-radius: 50%; color: var(--blue); background: #edf7ff; font-size: 18px; }
.trust-item strong { display: block; color: var(--navy); font-size: 11px; }
.trust-item small { display: block; color: var(--muted); font-size: 10px; }
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.city-card { height: 166px; position: relative; overflow: hidden; border-radius: 13px; color: #fff; background: #57708b; box-shadow: var(--shadow); }
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.city-card:hover img { transform: scale(1.045); }
.city-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,29,62,.78), transparent 76%); }
.city-card-text { position: absolute; z-index: 1; left: 16px; bottom: 14px; }
.city-card-text strong { display: block; font-size: 17px; }
.city-card-text small { color: #e0eafa; font-size: 11px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card { padding: 20px; border: 1px solid #e2eaf3; border-radius: 12px; background: #fff; }
.feature-card .trust-icon { margin-bottom: 11px; }
.feature-card h3 { margin: 0 0 5px; color: var(--navy); font-size: 14px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 12px; }
.stay-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stay-card { min-width: 0; overflow: hidden; border: 1px solid #e2e9f1; border-radius: 14px; background: #fff; box-shadow: 0 5px 20px rgba(30, 59, 93, .045); transition: box-shadow .18s, transform .18s; }
.stay-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stay-photo { height: 184px; display: block; position: relative; overflow: hidden; background: #dbe7f2; }
.stay-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.stay-card:hover .stay-photo img { transform: scale(1.035); }
.photo-badge { position: absolute; top: 12px; left: 12px; padding: 5px 9px; border-radius: 14px; color: var(--navy); background: #fff; font-size: 10px; font-weight: 750; box-shadow: 0 3px 9px rgba(4, 33, 65, .14); }
.stay-card-body { padding: 14px 15px 16px; }
.stay-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.stay-card-heading .eyebrow { margin: 0 0 3px; font-size: 9px; }
.stay-card-heading h3 { margin: 0; font-size: 15px; line-height: 1.25; }
.stay-card-heading h3 a { color: var(--navy); }
.stay-card-meta { margin: 9px 0 12px; color: var(--muted); font-size: 11px; }
.stay-card-price { padding-top: 10px; border-top: 1px solid #edf1f5; color: var(--navy); font-size: 12px; }
.stay-card-price strong { font-size: 16px; }
.stay-card-price span { color: var(--muted); }
.icon-button { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #e4eaf1; border-radius: 50%; color: #d9485b; background: #fff; font-size: 20px; line-height: 1; }
.icon-button:hover { background: #fff0f2; border-color: #f0c2c8; }
.empty-state { padding: 35px 22px; border: 1px dashed #c4d3e3; border-radius: 13px; background: #fff; text-align: center; }
.empty-state h3 { margin: 0 0 5px; color: var(--navy); }
.empty-state p { max-width: 520px; margin: 0 auto 16px; color: var(--muted); }
.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 30px 34px; border-radius: 16px; color: #fff; background: linear-gradient(112deg, #063365, #0878c6); }
.cta-panel h2 { margin: 0 0 6px; color: #fff; font-size: 24px; }
.cta-panel p { margin: 0; color: #d8eafa; }
.page-heading { padding: 31px 0 23px; }
.page-heading h1 { font-size: clamp(26px, 3.2vw, 37px); }
.search-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; padding-bottom: 55px; }
.filter-panel { align-self: start; padding: 18px; border: 1px solid #e0e8f0; border-radius: 13px; background: #fff; }
.filter-panel h2 { margin: 0 0 15px; color: var(--navy); font-size: 17px; }
.filter-group { padding: 13px 0; border-top: 1px solid #edf1f5; }
.filter-group label { display: block; margin-bottom: 7px; color: #2d4463; font-size: 11px; font-weight: 750; }
.filter-group input, .filter-group select { width: 100%; }
.filter-check { display: flex !important; align-items: center; gap: 8px; margin: 8px 0 !important; font-weight: 550 !important; }
.filter-check input { width: 15px; height: 15px; accent-color: var(--blue); }
.search-results { min-width: 0; }
.results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 15px; }
.results-toolbar p { margin: 0; color: var(--muted); }
.results-toolbar strong { color: var(--navy); }
.form-control, input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=password], input[type=url], select, textarea { min-height: 42px; width: 100%; padding: 10px 12px; border: 1px solid #cfdbe8; border-radius: 8px; color: #173451; background: #fff; outline: none; }
.form-control:focus, input:focus, select:focus, textarea:focus { border-color: #62aeea; box-shadow: 0 0 0 3px rgba(7, 135, 232, .1); }
textarea { min-height: 105px; resize: vertical; }
input[type=file] { width: 100%; color: #496078; }
.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 6px; color: #263f5e; font-size: 12px; font-weight: 750; }
.field small, .form-hint { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.field-error { color: #b12f39; font-size: 11px; }
.check-row { display: flex; align-items: flex-start; gap: 9px; color: #4c6077; font-size: 12px; }
.check-row input { width: 16px; min-width: 16px; height: 16px; margin-top: 2px; accent-color: var(--blue); }
.form-card { padding: 26px; border: 1px solid #e1e9f1; border-radius: 14px; background: #fff; box-shadow: 0 7px 23px rgba(24, 48, 75, .045); }
.form-card h2 { margin: 0 0 17px; color: var(--navy); font-size: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 15px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.listing-detail { padding-bottom: 40px; }
.listing-title-row { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 28px 0 17px; }
.listing-title-row h1 { margin: 0; color: var(--navy); font-size: clamp(25px, 3.6vw, 38px); letter-spacing: -.035em; line-height: 1.15; }
.listing-title-row p { margin: 6px 0 0; color: var(--muted); }
.photo-gallery { display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 8px; overflow: hidden; border-radius: 16px; background: #dce8f4; }
.photo-gallery img { width: 100%; height: 100%; object-fit: cover; }
.photo-gallery .gallery-main { grid-row: 1 / 3; }
.photo-gallery .gallery-empty { display: grid; place-items: center; color: #647b94; font-size: 12px; background: #e7eff7; }
.listing-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-top: 26px; }
.listing-summary { padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.listing-summary h2 { margin: 0 0 6px; color: var(--navy); font-size: 20px; }
.listing-summary p { margin: 0; color: var(--muted); }
.listing-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.listing-section h3 { margin: 0 0 12px; color: var(--navy); font-size: 17px; }
.listing-section p { margin: 0; color: #546a83; }
.amenity-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; list-style: none; padding: 0; margin: 0; }
.amenity-list li { color: #435d77; }
.booking-card { position: sticky; top: 20px; align-self: start; padding: 21px; border: 1px solid #dfe8f1; border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
.booking-card h2 { margin: 0 0 3px; color: var(--navy); font-size: 20px; }
.booking-card h2 small { color: var(--muted); font-size: 12px; font-weight: 500; }
.booking-card .date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-lines { margin: 16px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-line { display: flex; justify-content: space-between; gap: 12px; margin: 7px 0; color: #546b84; font-size: 12px; }
.price-line-total { padding-top: 10px; border-top: 1px solid var(--line); color: var(--navy); font-size: 14px; font-weight: 800; }
.privacy-note { margin-top: 12px; padding: 11px; border-radius: 9px; color: #3f5d78; background: #eff7ff; font-size: 11px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 23px; padding-bottom: 55px; }
.checkout-summary { align-self: start; position: sticky; top: 20px; overflow: hidden; border: 1px solid #e0e8f1; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.checkout-summary img { width: 100%; height: 190px; object-fit: cover; }
.checkout-summary-body { padding: 18px; }
.checkout-summary-body h2 { margin: 0; color: var(--navy); font-size: 18px; }
.checkout-summary-body p { color: var(--muted); font-size: 12px; }
.auth-wrap { min-height: 600px; display: grid; place-items: center; padding: 45px 18px; background: linear-gradient(135deg, #eaf4fd, #f7faff); }
.auth-card { width: min(460px, 100%); padding: 32px; border: 1px solid #e0e8f1; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.auth-card .brand { margin-bottom: 22px; }
.auth-card h1 { margin: 0; color: var(--navy); font-size: 27px; letter-spacing: -.03em; }
.auth-card > p { margin: 7px 0 22px; color: var(--muted); }
.otp-input { text-align: center; letter-spacing: .25em; font-size: 22px !important; font-weight: 800; }
.dashboard-shell { min-height: 740px; display: grid; grid-template-columns: 232px minmax(0, 1fr); background: #f1f6fc; }
.dash-sidebar { display: flex; flex-direction: column; min-height: 100%; padding: 15px 12px 18px; color: #fff; background: var(--navy-deep); }
.dash-brand { margin: 0 8px 17px; padding: 0 0 13px; border-bottom: 1px solid rgba(255,255,255,.12); }
.dash-brand img { width: 164px; max-height: 62px; object-fit: contain; object-position: left center; }
.dash-user { display: flex; align-items: center; gap: 10px; padding: 9px; margin-bottom: 11px; border-radius: 9px; background: rgba(255,255,255,.08); }
.avatar { width: 35px; height: 35px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--navy); background: #e2f1ff; font-size: 12px; font-weight: 800; }
.dash-user strong { display: block; max-width: 150px; overflow: hidden; color: #fff; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.dash-user small { display: block; color: #afc8e4; font-size: 10px; }
.dash-nav { display: grid; gap: 3px; }
.dash-nav a { min-height: 39px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 7px; color: #e1ecf9; font-size: 12px; }
.dash-nav a:hover, .dash-nav a.active { color: #fff; background: var(--blue); }
.nav-icon { width: 18px; text-align: center; font-size: 15px; }
.dash-sidebar-bottom { margin-top: auto; padding: 15px 7px 0; border-top: 1px solid rgba(255,255,255,.15); color: #b7cee6; font-size: 10px; }
.dash-content { min-width: 0; padding: 23px clamp(18px, 2.5vw, 36px) 38px; }
.dash-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 19px; }
.dash-topbar h1 { margin: 0; color: var(--navy); font-size: 25px; letter-spacing: -.035em; }
.dash-topbar p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.dash-top-actions { display: flex; align-items: center; gap: 10px; }
.dash-grid { display: grid; gap: 15px; }
.dash-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dash-grid-2 { grid-template-columns: minmax(0, 1.55fr) minmax(270px, .9fr); }
.dash-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dash-card { min-width: 0; overflow: hidden; padding: 17px; border: 1px solid #e3eaf2; border-radius: 11px; background: #fff; box-shadow: 0 4px 17px rgba(15,44,77,.035); }
.dash-card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.dash-card-header h2, .dash-card-header h3 { margin: 0; color: var(--navy); font-size: 15px; }
.dash-card-header a { font-size: 11px; font-weight: 700; }
.metric-card { position: relative; min-height: 102px; }
.metric-label { display: flex; align-items: center; gap: 10px; color: #405873; font-size: 11px; font-weight: 700; }
.metric-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: #0783e1; background: #e5f4ff; font-size: 16px; }
.metric-value { margin: 8px 0 0 45px; color: var(--navy); font-size: 24px; font-weight: 850; line-height: 1; }
.metric-caption { margin: 6px 0 0 45px; color: #8596a9; font-size: 10px; }
.dashboard-content-card { margin-top: 15px; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.data-table th { padding: 10px 9px; color: #667b94; background: #f6f9fc; text-align: left; font-size: 10px; font-weight: 800; white-space: nowrap; }
.data-table td { padding: 10px 9px; border-top: 1px solid #ecf1f6; color: #334d68; vertical-align: middle; font-size: 11px; }
.data-table td strong { color: var(--navy); }
.table-property { display: flex; align-items: center; gap: 9px; min-width: 160px; }
.table-property img { width: 52px; height: 38px; flex: 0 0 auto; object-fit: cover; border-radius: 6px; }
.table-property small { display: block; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 18px; color: #12644f; background: #dff7ec; font-size: 9px; font-weight: 800; white-space: nowrap; }
.status-pill.pending, .status-pill.awaiting_payment, .status-pill.awaiting_host, .status-pill.requested { color: #8b5d06; background: #fff1c7; }
.status-pill.cancelled_by_guest, .status-pill.cancelled_by_host, .status-pill.cancelled_by_admin, .status-pill.rejected, .status-pill.expired, .status-pill.suspended { color: #9e3540; background: #ffe0e3; }
.status-pill.changes_requested, .status-pill.pending_review, .status-pill.processing { color: #22589e; background: #dceeff; }
.status-pill.refunded { color: #68459c; background: #efe3ff; }
.booking-list { display: grid; gap: 10px; }
.booking-row { display: grid; grid-template-columns: 122px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 9px; border: 1px solid #ebf0f5; border-radius: 10px; }
.booking-row > img { width: 122px; height: 80px; object-fit: cover; border-radius: 7px; }
.booking-row h3 { margin: 0; color: var(--navy); font-size: 13px; }
.booking-row p { margin: 3px 0; color: var(--muted); font-size: 10px; }
.booking-row-actions { display: grid; justify-items: end; gap: 8px; }
.promo-banner { min-height: 165px; display: flex; flex-direction: column; justify-content: center; padding: 22px; border-radius: 13px; color: #fff; background: linear-gradient(90deg, rgba(4,48,94,.91), rgba(5,66,117,.27)), url("/images/brand/cape-town-panorama.jpg") center/cover; }
.promo-banner h2 { max-width: 330px; margin: 0; color: #fff; font-size: 21px; line-height: 1.2; }
.promo-banner p { max-width: 320px; color: #eff7ff; font-size: 11px; }
.activity-list { display: grid; gap: 0; }
.activity-item { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; border-top: 1px solid #edf1f5; }
.activity-item:first-child { border-top: 0; }
.activity-dot { width: 27px; height: 27px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); }
.activity-item strong { display: block; color: var(--navy); font-size: 11px; }
.activity-item small { display: block; color: var(--muted); font-size: 10px; }
.tabs { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 10px; }
.tab { display: inline-flex; padding: 7px 13px; border: 1px solid #dfe7f0; border-radius: 18px; color: #61768c; background: #fff; font-size: 11px; white-space: nowrap; }
.tab.active { color: #fff; border-color: var(--blue); background: var(--blue); }
.admin-shell { min-height: 790px; display: grid; grid-template-columns: 230px minmax(0, 1fr); background: #f2f6fb; }
.admin-shell .dash-sidebar { background: #042858; }
.admin-shell .dash-brand img { width: 164px; }
.admin-shell .dash-content { padding-top: 20px; }
.admin-range { min-width: 138px; }
.status-chart { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 19px; }
.status-donut { width: 136px; height: 136px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#099c77 0 69%, #f5ac20 69% 86%, #178be8 86% 94%, #e14955 94% 100%); }
.status-donut-inner { width: 86px; height: 86px; display: grid; place-content: center; border-radius: 50%; background: #fff; text-align: center; }
.status-donut-inner strong { color: var(--navy); font-size: 19px; }
.status-donut-inner small { color: var(--muted); font-size: 9px; }
.legend-list { display: grid; gap: 9px; }
.legend-row { display: flex; justify-content: space-between; gap: 12px; color: #536a83; font-size: 10px; }
.legend-row strong { color: var(--navy); }
.legend-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--blue); }
.chart-box { min-height: 170px; }
.chart-box svg { width: 100%; height: 190px; overflow: visible; }
.chart-gridline { stroke: #e7edf4; stroke-width: 1; }
.chart-line { fill: none; stroke: #138ee5; stroke-width: 2.5; }
.chart-line.secondary { stroke: #ef9516; }
.chart-label { fill: #8090a3; font-size: 8px; }
.review-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 18px; }
.review-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.review-gallery img { width: 100%; height: 180px; border-radius: 9px; object-fit: cover; }
.review-gallery img:first-child { grid-column: 1 / -1; height: 245px; }
.host-pending-card { padding: 15px; border: 1px solid #e3eaf2; border-radius: 11px; background: #fff; }
.host-pending-card img { width: 100%; height: 135px; border-radius: 8px; object-fit: cover; }
.host-pending-card h3 { margin: 10px 0 4px; color: var(--navy); font-size: 13px; }
.host-pending-card p { margin: 0 0 10px; color: var(--muted); font-size: 10px; }
.stack { display: grid; gap: 10px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 22px 0 0; }
.pagination a, .pagination span { min-width: 34px; padding: 7px 10px; border: 1px solid #dbe5ee; border-radius: 7px; background: #fff; text-align: center; font-size: 11px; }
.pagination .active span { color: #fff; border-color: var(--blue); background: var(--blue); }
.secure-note { padding: 13px; border-radius: 9px; color: #43617d; background: #eff7ff; font-size: 11px; }
.secure-note strong { color: var(--navy); }
.hr { border: 0; border-top: 1px solid #e7edf3; margin: 18px 0; }
.content-prose { color: #4f647d; line-height: 1.8; }
.content-prose h2, .content-prose h3 { color: var(--navy); }
.content-prose p { margin: 0 0 13px; }
.nowrap { white-space: nowrap; }
.text-muted { color: var(--muted); }
.text-small { font-size: 11px; }
.text-right { text-align: right; }
.mt-16 { margin-top: 16px; }
.mb-0 { margin-bottom: 0 !important; }
.w-full { width: 100%; }
@media (max-width: 1100px) {
    .site-header { gap: 19px; }
    .brand { width: 150px; }
    .main-nav { gap: 16px; }
    .main-nav a { font-size: 11px; }
    .stay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dash-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-shell, .dashboard-shell { grid-template-columns: 205px minmax(0, 1fr); }
}
@media (max-width: 800px) {
    .site-header { height: 64px; padding: 0 17px; gap: 12px; }
    .brand { width: 142px; }
    .mobile-menu-toggle { display: block; margin-left: auto; order: 2; }
    .header-actions { gap: 10px; order: 3; }
    .header-actions .locale-chip { display: none; }
    .header-actions .login-link { display: none; }
    .main-nav { position: absolute; top: 63px; left: 0; right: 0; height: auto; display: none; align-items: stretch; gap: 0; padding: 8px 17px 14px; border-bottom: 1px solid #dfe7f0; background: #fff; box-shadow: 0 9px 15px rgba(8,37,71,.08); }
    .main-nav.is-open { display: grid; }
    .main-nav a { min-height: 42px; }
    .main-nav a.is-current::after { display: none; }
    .hero { min-height: 480px; padding: 44px 19px; background-position: center; }
    .search-bar { grid-template-columns: repeat(2, 1fr); gap: 2px; }
    .search-field { min-height: 57px; border-right: 0; border-bottom: 1px solid #edf1f5; }
    .search-bar .button { grid-column: 1 / -1; min-height: 44px; }
    .trust-row { justify-content: flex-start; overflow-x: auto; gap: 23px; padding: 14px 18px; }
    .city-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .stay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-layout { grid-template-columns: 1fr; }
    .filter-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 15px; }
    .filter-panel h2, .filter-panel > .button { grid-column: 1 / -1; }
    .listing-detail-layout, .checkout-layout { grid-template-columns: 1fr; }
    .booking-card, .checkout-summary { position: static; }
    .photo-gallery { grid-template-rows: 160px 160px; }
    .dashboard-shell, .admin-shell { grid-template-columns: 1fr; }
    .dash-sidebar { min-height: 0; padding: 10px 14px; }
    .dash-brand { border: 0; margin: 0; padding: 0; }
    .dash-brand img { width: 135px; max-height: 50px; }
    .dash-user, .dash-sidebar-bottom { display: none; }
    .dash-nav { display: flex; overflow-x: auto; gap: 5px; padding: 9px 0 0; }
    .dash-nav a { min-height: 35px; white-space: nowrap; }
    .dash-content { padding: 18px 16px 30px; }
    .dash-grid-2 { grid-template-columns: 1fr; }
    .review-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .container { width: min(100% - 30px, 1240px); }
    .container-narrow { width: min(100% - 30px, 920px); }
    .header-actions .button { padding: 8px 11px; }
    .hero h1 { font-size: 41px; }
    .hero-copy > p:last-child { font-size: 12px; }
    .search-bar { padding: 6px; }
    .search-field { padding: 7px 9px; }
    .section { padding: 37px 0; }
    .section-heading { align-items: start; }
    .city-card { height: 134px; }
    .stay-grid { grid-template-columns: 1fr; }
    .stay-photo { height: 220px; }
    .feature-grid { gap: 9px; }
    .feature-card { padding: 14px; }
    .cta-panel { grid-template-columns: 1fr; padding: 23px; }
    .listing-title-row { flex-direction: column; }
    .photo-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 100px; gap: 5px; }
    .photo-gallery .gallery-main { grid-column: 1 / -1; grid-row: auto; }
    .amenity-list { grid-template-columns: 1fr; }
    .form-card { padding: 19px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: auto; }
    .auth-card { padding: 24px; }
    .booking-row { grid-template-columns: 84px minmax(0,1fr); }
    .booking-row > img { width: 84px; height: 74px; }
    .booking-row-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; width: 100%; }
    .dash-grid-4, .dash-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .metric-card { min-height: 90px; padding: 13px; }
    .metric-value { font-size: 20px; }
    .metric-label { font-size: 10px; }
    .dash-topbar { align-items: flex-start; flex-direction: column; }
    .dash-topbar h1 { font-size: 22px; }
    .admin-range { min-width: 0; width: 100%; }
    .status-chart { grid-template-columns: 115px 1fr; gap: 12px; }
    .status-donut { width: 112px; height: 112px; }
    .status-donut-inner { width: 72px; height: 72px; }
    .status-donut-inner strong { font-size: 16px; }
    .footer-main { grid-template-columns: 1fr; gap: 13px; }
    .footer-links { justify-content: flex-start; }
    .footer-bottom { flex-direction: column; }
}

/* Overlay 2: listing form layout fixes */
.form-card { overflow: hidden; }
.form-card input, .form-card select, .form-card textarea { box-sizing: border-box; max-width: 100%; }
.form-card textarea { display: block; width: 100%; min-height: 150px; line-height: 1.55; resize: vertical; }
.form-card fieldset { min-width: 0; margin: 0 0 15px; padding: 0; border: 0; }
.form-card legend { padding: 0; margin-bottom: 8px; color: #263f5e; font-size: 12px; font-weight: 750; }
.form-card .form-grid > .field { min-width: 0; }

/* ---- Search: 3 per row, optional map, Places element (added with Places/map update) ---- */
.search-results .stay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.search-layout.has-map { grid-template-columns: 250px minmax(0, 1fr) minmax(340px, 38%); }
.search-layout.has-map .search-results .stay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.map-toggle-row { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.search-note { background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: .92rem; }
.map-panel { position: sticky; top: 90px; align-self: start; height: calc(100vh - 120px); min-height: 380px; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid #e5e7eb; background: #f3f4f6; }
.map-panel[hidden] { display: none; }
.map-canvas { flex: 1; min-height: 320px; }
.map-note { margin: 0; padding: 8px 12px; font-size: .78rem; color: #6b7280; background: #fff; border-top: 1px solid #e5e7eb; }
.map-search-area { position: absolute; z-index: 5; top: 12px; left: 50%; transform: translateX(-50%); box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.map-search-area[hidden] { display: none; }
.map-pin { position: absolute; transform: translate(-50%, -100%); background: #fff; color: #111827; border: 1px solid #d1d5db; border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: .82rem; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.25); white-space: nowrap; }
.map-pin:hover, .map-pin.is-active { background: #f26a1b; color: #fff; border-color: #f26a1b; z-index: 10; }
.stay-card.is-active { outline: 2px solid #f26a1b; outline-offset: 2px; }
.map-info { max-width: 220px; font-size: .9rem; }
.map-info img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; display: block; }
.map-info a { font-weight: 700; color: #111827; text-decoration: none; display: block; }
.ub-place-element { display: block; width: 100%; color-scheme: light; }
@media (max-width: 1100px) {
    .search-layout.has-map { grid-template-columns: 1fr; }
    .search-layout.has-map .map-panel { position: relative; top: 0; height: 380px; order: -1; }
}
@media (max-width: 900px) { .search-results .stay-grid, .search-layout.has-map .search-results .stay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .search-results .stay-grid, .search-layout.has-map .search-results .stay-grid { grid-template-columns: 1fr; } }

/* ---- One box per digit + same-page sign-in ---- */
.otp-verify { margin-top: 22px; }
.otp-verify[hidden] { display: none !important; }
.field .otp-boxes, .otp-boxes { display: flex !important; flex-direction: row !important; flex-wrap: nowrap; gap: 10px; justify-content: center; align-items: center; margin: 12px 0 6px; width: 100%; }
.otp-boxes .otp-box, .field .otp-boxes input.otp-box { display: block !important; flex: 0 0 auto; width: 52px !important; max-width: 52px; height: 60px !important; min-height: 0; margin: 0 !important; padding: 0 !important; text-align: center; font-size: 26px; font-weight: 800; line-height: 60px; border: 2px solid #d1d5db; border-radius: 12px; background: #fff; color: #0f172a; box-shadow: none; letter-spacing: 0; }
.otp-boxes .otp-box:focus { outline: none; border-color: #3b82e6; box-shadow: 0 0 0 4px rgba(59,130,230,.2); }
.otp-verify .field > label { display: block; text-align: center; font-weight: 700; }
.otp-verify .field small { display: block; text-align: center; margin-top: 8px; }
.otp-message { margin: 8px 0; font-size: .9rem; }
.otp-error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 8px 12px; }
.otp-error[hidden] { display: none !important; }
.otp-help { display: flex; align-items: center; gap: 12px; margin: 22px 0 12px; color: #9ca3af; font-size: .9rem; }
.otp-help::before, .otp-help::after { content: ""; flex: 1; height: 1px; background: #e5e7eb; }
.otp-links { display: flex; justify-content: space-between; gap: 12px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: #2563eb; cursor: pointer; }
.link-button:hover { text-decoration: underline; }
.link-button:disabled { color: #9ca3af; cursor: default; text-decoration: none; }
.link-button.muted { color: #6b7280; }
@media (max-width: 400px) { .otp-boxes .otp-box, .field .otp-boxes input.otp-box { width: 42px !important; max-width: 42px; height: 52px !important; font-size: 22px; line-height: 52px; } .otp-boxes { gap: 6px; } }

/* =====================================================================
   UI v3 — matches the Ultra Bookings mockups (premium pass)
   Marker: ub-ui-v3
   ===================================================================== */
:root {
    --navy: #0b2a63;
    --navy-deep: #082256;
    --blue: #1688f0;
    --blue-strong: #0c73d8;
    --blue-soft: #eaf4ff;
    --orange: #f7821b;
    --ink: #0f2a5a;
    --muted: #61748f;
    --line: #e0e8f2;
    --wash: #f4f8fd;
    --radius: 14px;
    --shadow: 0 14px 38px rgba(14, 44, 92, .09);
    --shadow-soft: 0 4px 18px rgba(14, 44, 92, .06);
    font-family: "Plus Jakarta Sans", Inter, "Segoe UI", Arial, sans-serif;
}
body { font-size: 14.5px; line-height: 1.55; background: var(--wash); -webkit-font-smoothing: antialiased; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { flex: none; display: inline-block; vertical-align: middle; }
:focus-visible { outline: 3px solid rgba(22, 136, 240, .35); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.button { min-height: 46px; padding: 11px 22px; border-radius: 12px; font-size: 14px; font-weight: 700; background: var(--blue); }
.button-orange { background: var(--orange); }
.button-orange:hover { background: #e06f0b; box-shadow: 0 9px 22px rgba(247, 130, 27, .32); }
.button-small { min-height: 40px; padding: 8px 18px; border-radius: 999px; font-size: 14px; }
.button-pill { border-radius: 999px; padding: 12px 26px; }
.button-outline:hover { background: var(--blue); }

/* ---------- Inputs: ONE style for every field (typed or not) ---------- */
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date],
input[type=password], input[type=url], input[type=search], input[type=time], input[type=datetime-local],
select, textarea, .form-control {
    min-height: 48px; width: 100%; padding: 11px 14px; border: 1px solid #d3deeb; border-radius: 12px;
    color: var(--ink); background-color: #fff; font-size: 14px; line-height: 1.4; outline: none;
    transition: border-color .15s, box-shadow .15s;
}
input:not([type]):focus, input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=number]:focus,
input[type=date]:focus, input[type=password]:focus, input[type=url]:focus, input[type=search]:focus, select:focus, textarea:focus {
    border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 136, 240, .12);
}
input::placeholder, textarea::placeholder { color: #94a3b8; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2361748f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center; }
textarea { min-height: 130px; line-height: 1.6; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--blue); }
input[type=file] { min-height: 0; padding: 12px; border: 1.5px dashed #b9cde2; border-radius: 12px; background: #f8fbff; color: var(--muted); font-size: 14px; }
input[type=file]::file-selector-button { margin-right: 14px; padding: 9px 18px; border: 0; border-radius: 999px; color: #fff; background: var(--blue); font: inherit; font-weight: 700; cursor: pointer; }
.field { margin-bottom: 18px; }
.field label, .form-card legend { margin-bottom: 7px; color: #1d3a66; font-size: 13px; font-weight: 700; }
.field small, .form-hint { font-size: 12.5px; }
.field-error { font-size: 13px; }
.check-row { align-items: center; margin: 10px 0; color: #43597a; font-size: 14.5px; }
.form-card { padding: 30px; border-radius: 18px; border-color: #e0e8f2; box-shadow: var(--shadow-soft); }
.form-card h2 { font-size: 22px; letter-spacing: -.02em; }
.form-card h3 { color: var(--navy); font-size: 17px; }
.form-grid { gap: 0 22px; }

/* ---------- Public header ---------- */
.site-header { position: sticky; top: 0; height: 84px; gap: 40px; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid #e6edf5; z-index: 60; }
.brand { width: 170px; }
.brand img { max-height: 60px; }
.main-nav { gap: clamp(18px, 2.8vw, 44px); }
.main-nav a { font-size: 15px; font-weight: 600; color: #14305e; }
.main-nav a.is-current { color: var(--blue); }
.main-nav a.is-current::after { height: 3px; bottom: 18px; border-radius: 3px; }
.header-actions { gap: 20px; }
.login-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #14305e; }
.locale-chip { gap: 8px; font-size: 13.5px; font-weight: 700; padding: 0; }
.locale-chip select { min-height: 0 !important; width: auto !important; padding: 0 20px 0 0 !important; border: 0 !important; border-radius: 0 !important; background-color: transparent !important; box-shadow: none !important; font-weight: 700; background-position: right 0 center; background-size: 16px; }
.flag { font-size: 20px; line-height: 1; }

/* ---------- Hero + search bar ---------- */
.hero { min-height: 640px; align-items: flex-start; padding-top: 96px; padding-bottom: 120px; }
.hero::before { background: linear-gradient(90deg, rgba(3,28,62,.72) 0%, rgba(5,37,73,.34) 45%, rgba(8,40,74,0) 100%); }
.hero-copy { max-width: 700px; }
.hero-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; font-size: 13px; letter-spacing: .32em; }
.hero-kicker::before { content: ""; width: 36px; height: 2px; background: #35aaff; }
.hero h1 { max-width: 760px; font-size: clamp(44px, 6.2vw, 78px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.hero h1 span { color: #2aa6ff; }
.hero-copy > p:last-child { max-width: 560px; margin: 22px 0 34px; font-size: 17px; line-height: 1.6; }
.hero-tagline { position: absolute; right: 2%; bottom: 8px; margin: 0; color: #fff; font: 700 26px/1.15 "Caveat", "Segoe Script", cursive; text-align: left; transform: rotate(-7deg); }
.hero-tagline::after { content: ""; display: block; width: 130px; height: 4px; margin-top: 6px; border-radius: 4px; background: var(--orange); transform: rotate(-4deg); }
.search-bar { width: min(1120px, 100%); grid-template-columns: 1.35fr 1fr 1fr 1fr auto; gap: 0; align-items: center; padding: 12px 12px 12px 14px; border-radius: 999px; box-shadow: 0 20px 50px rgba(0,0,0,.22); }
.search-field { flex-direction: row; align-items: center; gap: 13px; padding: 4px 22px 4px 18px; border-right: 0; min-height: 66px; }
.search-field + .search-field { border-left: 1px solid #e6edf5; }
.sf-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #eaf4ff; }
.sf-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.search-field label { color: #14305e; font-size: 13.5px; font-weight: 700; }
.search-field input, .search-field select { min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background-color: transparent !important; color: #5d7089; font-size: 15px; }
.search-field input[type=date] { padding-right: 2px !important; }
.search-field input::placeholder { color: #7b8ba3; }
.search-bar .button { min-width: 168px; min-height: 62px; margin-left: 8px; border-radius: 999px; font-size: 17px; font-weight: 700; gap: 10px; align-self: center; }
.search-bar .button .ico { width: 22px; height: 22px; stroke-width: 2.2; }

/* ---------- Trust row ---------- */
.trust-row { gap: 0; padding: 28px 24px; border-bottom: 0; background: transparent; flex-wrap: wrap; }
.trust-item { gap: 14px; min-width: 0; padding: 4px clamp(22px, 4vw, 58px); }
.trust-item + .trust-item { border-left: 1px solid #dbe5f0; }
.trust-icon { width: 54px; height: 54px; border: 0; color: var(--blue); background: #e4f1ff; font-size: 0; }
.trust-item strong { font-size: 15.5px; }
.trust-item small { font-size: 13.5px; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 6px; color: #3d557a; font-size: 12.5px; letter-spacing: .22em; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--blue); }
.section-heading h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.section-heading > a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.page-heading h1 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; }
.city-card { height: 220px; border-radius: 18px; }
.city-card::after { background: linear-gradient(180deg, rgba(3,29,62,.5), transparent 40%, rgba(3,29,62,.55)); }
.city-card-text { left: 18px; top: 16px; bottom: auto; display: flex; align-items: center; gap: 8px; }
.city-card-text strong { font-size: 17px; }
.city-card-text small { display: none; }
.feature-card { padding: 24px; border-radius: 16px; }
.feature-card h3 { font-size: 17px; }
.feature-card p { font-size: 14px; }
.stay-card { border-radius: 18px; }
.stay-card-heading h3 { font-size: 17px; }
.stay-card-meta { font-size: 13px; }
.stay-card-price { font-size: 14px; }
.stay-card-price strong { font-size: 19px; }
.cta-panel { border-radius: 20px; padding: 38px 42px; }
.cta-panel h2 { font-size: 28px; }
.empty-state { border-radius: 18px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 90px; padding-top: 46px; background: linear-gradient(180deg, #0b2a63, #081f4d); }
.footer-links a { font-size: 14.5px; }
.footer-main p { font-size: 15px; }
.footer-bottom { font-size: 13px; }

/* ---------- Auth ---------- */
.auth-card { border-radius: 20px; padding: 38px; }
.auth-card h1 { font-size: 30px; font-weight: 800; }

/* =====================================================================
   App shell (admin / host / guest dashboards)
   ===================================================================== */
.app-body { background: #f3f7fc; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 276px minmax(0, 1fr); }
.app-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 22px 14px 18px; color: #fff; background: linear-gradient(180deg, #0b2a6b 0%, #082256 100%); z-index: 40; }
.app-logo { display: block; margin: 0 10px 26px; }
.app-logo img { width: 190px; max-height: 70px; object-fit: contain; object-position: left center; }
.app-nav { display: grid; gap: 4px; }
.app-nav-link { position: relative; display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 15px; border-radius: 10px; color: #e6eefb; font-size: 14.5px; font-weight: 600; transition: background .15s; }
.app-nav-link .ico { width: 24px; height: 24px; stroke-width: 1.7; }
.app-nav-link:hover { color: #fff; background: rgba(255,255,255,.09); }
.app-nav-link.active { color: #fff; background: #1a8cff; box-shadow: 0 8px 20px rgba(26,140,255,.28); }
.app-nav-link.accent.active { background: var(--orange); box-shadow: 0 8px 20px rgba(247,130,27,.3); }
.nav-badge { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; color: #fff; background: var(--orange); font-size: 12px; font-style: normal; font-weight: 800; }
.app-side-foot { margin-top: auto; padding: 18px 10px 0; border-top: 1px solid rgba(255,255,255,.14); color: #bcd0ea; font-size: 13.5px; }
.app-side-foot a { color: #e6eefb; }
.app-side-foot .row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 600; color: #fff; }
.side-tagline { margin: 0 0 8px; color: #fff; font: 700 24px/1.15 "Caveat", "Segoe Script", cursive; transform: rotate(-5deg); }
.side-tagline::after { content: ""; display: block; width: 110px; height: 4px; margin-top: 5px; border-radius: 4px; background: var(--orange); }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 18px; min-height: 76px; padding: 12px clamp(18px, 2.6vw, 38px); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid #e4ebf4; }
.app-menu-btn { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); background: #fff; }
.app-search { position: relative; flex: 1; max-width: 560px; }
.app-search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #6b7f9b; pointer-events: none; }
.app-search input { min-height: 48px; padding-left: 46px; border-radius: 999px; border-color: #dce6f1; background-color: #f3f8fe; }
.app-top-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.app-bell { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); }
.app-bell:hover { background: #eef5fd; color: var(--navy); }
.app-bell i { position: absolute; top: 8px; right: 9px; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: var(--orange); }
.user-menu { position: relative; }
.user-menu summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 4px 6px 4px 4px; border-radius: 999px; cursor: pointer; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu .avatar { width: 44px; height: 44px; font-size: 15px; color: #fff; background: linear-gradient(135deg, #1a8cff, #0b4fb3); }
.user-menu .who strong { display: block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--navy); font-size: 15px; line-height: 1.2; }
.user-menu .who small { display: block; color: var(--muted); font-size: 13px; line-height: 1.2; }
.user-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.user-menu-panel a, .user-menu-panel button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; border-radius: 9px; color: var(--navy); background: transparent; font-size: 14.5px; font-weight: 600; text-align: left; }
.user-menu-panel a:hover, .user-menu-panel button:hover { background: #f0f6fd; color: var(--navy); }
.app-main .dash-content { flex: 1; padding: 30px clamp(18px, 2.6vw, 38px) 44px; }
.app-main .flash { width: auto; margin: 0 0 18px; }
.app-foot { padding: 18px clamp(18px, 2.6vw, 38px); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #e4ebf4; color: #7589a3; font-size: 13px; }
.app-foot a { color: #7589a3; margin-left: 20px; }

.dash-topbar { margin-bottom: 26px; }
.dash-topbar h1 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; }
.dash-topbar p { margin: 5px 0 0; font-size: 14px; }
.dash-top-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.range-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); background: #fff; font-weight: 600; font-size: 14.5px; }

/* ---------- Cards, KPIs ---------- */
.dash-grid { gap: 20px; }
.dash-card { padding: 24px; border: 1px solid #e3eaf3; border-radius: 16px; box-shadow: var(--shadow-soft); }
.dash-card-header { margin-bottom: 18px; }
.dash-card-header h2, .dash-card-header h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; letter-spacing: -.015em; }
.dash-card-header h2 .ico, .dash-card-header h3 .ico { color: var(--blue); }
.dash-card-header a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.dashboard-content-card { margin-top: 20px; }
.kpi { display: flex; align-items: center; gap: 18px; padding: 24px; min-height: 128px; }
.kpi-ico { width: 60px; height: 60px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #1288ee; background: #e1f0ff; }
.kpi-ico.orange { color: #f59212; background: #fff0d9; }
.kpi-ico.green { color: #12a06f; background: #dcf6ea; }
.kpi-ico.violet { color: #7b4fd0; background: #ece4fb; }
.kpi-ico.red { color: #e0434f; background: #ffe3e6; }
.kpi-body { min-width: 0; }
.kpi-label { display: block; color: #1d3a66; font-size: 14px; font-weight: 700; }
.kpi-value { display: block; margin: 4px 0 6px; color: var(--navy); font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.kpi-meta { display: flex; align-items: center; gap: 6px; color: #7d8fa8; font-size: 13px; }
.kpi-delta { display: inline-flex; align-items: center; gap: 3px; color: #0f9b6b; font-weight: 800; }
.kpi-delta.down { color: #dd3f4e; }
.metric-card { display: block; padding: 22px; }
.metric-card small { display: block; color: #1d3a66; font-size: 14.5px; font-weight: 700; }
.metric-card strong { display: block; margin: 6px 0; color: var(--navy); font-size: 30px; font-weight: 800; line-height: 1.15; }
.metric-card p { margin: 0; color: #7d8fa8; font-size: 13px; }

/* ---------- Tables / lists / status ---------- */
.data-table th { padding: 13px 14px; font-size: 12.5px; letter-spacing: .02em; }
.data-table td { padding: 14px; font-size: 13px; }
.status-pill { padding: 5px 13px; font-size: 12px; font-weight: 700; }
.status-pill.confirmed, .status-pill.approved, .status-pill.published, .status-pill.completed, .status-pill.paid { color: #0b7a58; background: #ddf6ec; }
.row-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #edf1f6; }
.row-item:first-child { border-top: 0; padding-top: 0; }
.row-thumb { width: 84px; height: 62px; flex: none; display: grid; place-items: center; border-radius: 10px; color: #8aa3c4; background: linear-gradient(135deg, #e3eefb, #f2f7fd); }
.row-main { min-width: 0; flex: 1; }
.row-main strong { display: block; color: var(--navy); font-size: 15.5px; }
.row-main small { display: block; color: var(--muted); font-size: 13.5px; }
.row-end { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.empty-note { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px dashed #c9d8ea; border-radius: 12px; color: var(--muted); background: #f8fbff; font-size: 15px; }
.empty-note .ico { color: #8aa3c4; }

/* Donut + legend */
.donut-wrap { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 28px; }
.donut { width: 190px; height: 190px; display: grid; place-items: center; border-radius: 50%; }
.donut-hole { width: 124px; height: 124px; display: grid; place-content: center; border-radius: 50%; background: #fff; text-align: center; }
.donut-hole strong { color: var(--navy); font-size: 26px; font-weight: 800; line-height: 1.1; }
.donut-hole small { color: var(--muted); font-size: 13px; }
.legend-list { gap: 0; }
.legend-row { display: grid; grid-template-columns: 14px 1fr auto auto; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid #edf1f6; color: #2a4468; font-size: 14px; }
.legend-row:first-child { border-top: 0; }
.legend-row .dot { width: 12px; height: 12px; border-radius: 50%; }
.legend-row strong { color: var(--navy); font-weight: 800; }
.legend-row em { min-width: 56px; color: #7d8fa8; font-style: normal; text-align: right; font-size: 14px; }

/* Guest dashboard bits */
.hello-card { padding: 28px; border-radius: 20px; background: linear-gradient(135deg, #eaf4ff, #f7fbff); border: 1px solid #dbe9f8; }
.hello-card h2 { margin: 0 0 4px; color: var(--navy); font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.hello-card p { margin: 0 0 22px; color: var(--muted); }
.stat-mini { padding: 20px; border: 1px solid #e3ecf6; border-radius: 14px; background: #fff; }
.stat-mini .kpi-ico { width: 46px; height: 46px; margin-bottom: 14px; }
.stat-mini strong { display: block; color: var(--navy); font-size: 30px; font-weight: 800; line-height: 1.1; }
.stat-mini span { display: block; margin: 2px 0 8px; color: var(--muted); font-size: 14px; }
.stat-mini a { font-size: 13.5px; font-weight: 700; }
.discover-card { min-height: 260px; display: flex; flex-direction: column; justify-content: center; padding: 30px; border-radius: 20px; color: #fff; background: linear-gradient(90deg, rgba(4,48,94,.88), rgba(5,66,117,.25)), url("/images/brand/cape-town-panorama.jpg") center/cover, #0b4a8f; }
.discover-card h2 { max-width: 360px; margin: 0 0 10px; color: #fff; font-size: 28px; line-height: 1.2; font-weight: 800; }
.discover-card p { max-width: 320px; margin: 0 0 20px; color: #eef6ff; }
.discover-card .button { align-self: flex-start; background: #fff; color: var(--navy); border-radius: 999px; }
.quick-search { display: grid; grid-template-columns: 1fr 1fr 130px auto; gap: 14px; align-items: end; padding: 20px; border-radius: 18px; background: #eaf4ff; }
.quick-search .field { margin: 0; }
.quick-list { display: grid; gap: 4px; }
.quick-item { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-radius: 12px; color: var(--navy); }
.quick-item:hover { background: #f1f7fe; color: var(--navy); }
.quick-item .kpi-ico { width: 44px; height: 44px; }
.quick-item strong { display: block; font-size: 15px; }
.quick-item small { display: block; color: var(--muted); font-size: 13px; }
.quick-item > .ico:last-child { margin-left: auto; color: #8aa3c4; }
.confidence { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 16px; background: #e9f3ff; color: var(--navy); }
.confidence strong { display: block; font-size: 16px; }
.confidence small { color: var(--muted); font-size: 13.5px; }

/* ---------- Host wizard stepper (matches Submit Property mockup) ---------- */
.wiz-steps { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 0 !important; margin: 0 0 24px !important; padding: 22px 18px 16px !important; border: 1px solid #e3ebf5; border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); }
.dash-content .wiz-steps li { position: relative; flex: none; min-width: 0; padding: 0 6px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #61748f !important; font-size: 14.5px !important; font-weight: 600; text-align: center; list-style: none; }
.dash-content .wiz-steps li::before { content: ""; position: absolute; top: 19px; left: calc(50% + 28px); right: calc(-50% + 28px); height: 2px; background: #d6e3f2; }
.dash-content .wiz-steps li:last-child::before { display: none; }
.dash-content .wiz-steps li b { display: grid !important; place-items: center; width: 40px !important; height: 40px !important; margin: 0 auto 10px !important; border: 2px solid #c9d9ec; border-radius: 50%; color: #61748f !important; background: #fff !important; font-size: 16px !important; position: relative; z-index: 1; }
.dash-content .wiz-steps li.is-active { color: var(--navy) !important; font-weight: 800; }
.dash-content .wiz-steps li.is-active b { color: #fff !important; background: var(--blue) !important; border-color: var(--blue); box-shadow: 0 0 0 5px rgba(22,136,240,.14); }
.dash-content .wiz-steps li.is-done b { color: #fff !important; background: var(--blue) !important; border-color: var(--blue); }
.dash-content .wiz-steps li.is-done::before { background: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .search-bar { grid-template-columns: 1fr 1fr; border-radius: 28px; padding: 14px; gap: 6px; }
    .search-field + .search-field { border-left: 0; }
    .search-field { border-bottom: 1px solid #edf1f6; }
    .search-bar .button { grid-column: 1 / -1; margin: 8px 0 0; }
    .trust-item + .trust-item { border-left: 0; }
    .app-shell { grid-template-columns: 236px minmax(0, 1fr); }
    .kpi-value { font-size: 28px; }
}
@media (max-width: 900px) {
    .app-shell { grid-template-columns: 1fr; }
    .app-sidebar { position: fixed; inset: 0 auto 0 0; width: 292px; max-width: 86vw; transform: translateX(-102%); transition: transform .22s; box-shadow: 20px 0 50px rgba(0,0,0,.25); }
    .app-sidebar.is-open { transform: none; }
    .app-menu-btn { display: grid; }
    .app-scrim { position: fixed; inset: 0; z-index: 35; background: rgba(5,20,50,.5); }
    .app-scrim[hidden] { display: none; }
    .user-menu .who { display: none; }
    .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
    .quick-search { grid-template-columns: 1fr 1fr; }
    .wiz-steps { grid-template-columns: repeat(2, 1fr); row-gap: 14px !important; }
    .dash-content .wiz-steps li::before { display: none; }
}
@media (max-width: 800px) {
    .site-header { height: 68px; }
    .main-nav { top: 67px; }
    .main-nav a { font-size: 15px; }
    .hero { min-height: 0; padding-top: 52px; padding-bottom: 60px; }
    .hero-tagline { display: none; }
    .search-bar { grid-template-columns: 1fr; border-radius: 22px; }
    .search-field { min-height: 62px; }
    .trust-row { flex-wrap: wrap; justify-content: flex-start; }
    .app-top { gap: 10px; }
    .app-search { display: none; }
    .kpi { padding: 18px; gap: 14px; }
    .kpi-ico { width: 50px; height: 50px; }
}
@media (max-width: 560px) {
    .city-card { height: 160px; }
    .quick-search { grid-template-columns: 1fr; }
    .legend-row { grid-template-columns: 14px 1fr auto; }
    .legend-row em { display: none; }
    .form-card { padding: 20px; }
    .row-item { flex-wrap: wrap; }
    .row-end { width: 100%; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- ub-ui-v3.1 ---- search bar gets room for the date pickers, no tagline, smaller type ---- */
.search-bar { width: min(1180px, 100%); grid-template-columns: 1fr 1.3fr 1.3fr .8fr auto; padding: 10px 10px 10px 12px; }
.search-field { gap: 10px; padding: 4px 14px 4px 14px; min-height: 64px; }
.sf-ico { width: 40px; height: 40px; }
.sf-ico .ico { width: 20px; height: 20px; }
.search-field label { font-size: 12.5px; }
.search-field input, .search-field select { font-size: 14px; }
.search-field input[type=date] { min-width: 0; width: 100%; padding-right: 0 !important; }
.search-field input[type=date]::-webkit-calendar-picker-indicator { opacity: .55; margin-left: 4px; cursor: pointer; }
.search-bar .button { min-width: 150px; min-height: 58px; font-size: 16px; }
.hero-tagline { display: none !important; }
@media (max-width: 1180px) { .search-bar { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .search-bar { grid-template-columns: 1fr; } }

/* ---- ub-ui-v3.3 ---- type scale: public body 13.5px, dashboards 13px, nothing under 12px */
body { font-size: 13.5px; }
.main-nav a { font-size: 14px; }
.login-link { font-size: 13.5px; }
.locale-chip { font-size: 13px; }
.button { font-size: 13.5px; min-height: 44px; padding: 10px 20px; }
.button-small { font-size: 12.5px; min-height: 38px; padding: 7px 16px; }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=password], input[type=url], input[type=search], input[type=time], input[type=datetime-local], select, textarea, .form-control { font-size: 13.5px; min-height: 46px; }
.field label, .form-card legend { font-size: 12.5px; }
.field small, .form-hint, .field-error { font-size: 12px; }
.check-row { font-size: 13px; }
.form-card h2 { font-size: 21px; }
.form-card h3 { font-size: 16px; }
/* hero + search */
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); }
.hero-kicker { font-size: 12px; }
.hero-copy > p:last-child { font-size: 16px; }
.search-field label { font-size: 12px; }
.search-field input, .search-field select { font-size: 13.5px; }
.search-bar .button { font-size: 15px; min-height: 56px; }
/* public sections */
.trust-item strong { font-size: 14px; }
.trust-item small { font-size: 12.5px; }
.eyebrow { font-size: 11.5px; }
.section-heading h2 { font-size: clamp(26px, 3.1vw, 34px); }
.section-heading > a { font-size: 13.5px; }
.section-heading p, .page-heading p { font-size: 13.5px; }
.page-heading h1 { font-size: clamp(27px, 3.4vw, 40px); }
.city-card-text strong { font-size: 15px; }
.feature-card h3 { font-size: 15.5px; }
.feature-card p { font-size: 12.5px; }
.stay-card-heading h3 { font-size: 15.5px; }
.stay-card-meta { font-size: 12.5px; }
.stay-card-price { font-size: 13px; }
.stay-card-price strong { font-size: 17px; }
.cta-panel h2 { font-size: 25px; }
.auth-card h1 { font-size: 27px; }
.footer-links a { font-size: 13px; }
.footer-main p { font-size: 13.5px; }
.footer-bottom { font-size: 12px; }
/* dashboards */
.dash-topbar h1 { font-size: clamp(26px, 2.7vw, 30px); }
.dash-topbar p { font-size: 13.5px; }
.app-nav-link { font-size: 13.5px; min-height: 46px; gap: 13px; }
.app-nav-link .ico { width: 22px; height: 22px; }
.app-side-foot { font-size: 12.5px; }
.nav-badge { font-size: 11.5px; }
.user-menu .who strong { font-size: 13.5px; }
.user-menu .who small { font-size: 12px; }
.user-menu-panel a, .user-menu-panel button { font-size: 13.5px; }
.app-search input { font-size: 13px; }
.range-chip { font-size: 13px; min-height: 44px; }
.app-foot { font-size: 12px; }
.dash-card-header h2, .dash-card-header h3 { font-size: 17.5px; }
.dash-card-header a { font-size: 13px; }
.kpi-label { font-size: 13px; }
.kpi-value { font-size: 28px; }
.kpi-meta { font-size: 12px; }
.metric-card small { font-size: 13px; }
.metric-card strong { font-size: 27px; }
.metric-card p { font-size: 12px; }
.data-table th { font-size: 12px; }
.data-table td { font-size: 12.5px; }
.status-pill { font-size: 11.5px; }
.row-main strong { font-size: 14px; }
.row-main small { font-size: 12.5px; }
.empty-note { font-size: 13.5px; }
.legend-row { font-size: 13.5px; }
.legend-row em { font-size: 12.5px; }
.donut-hole strong { font-size: 24px; }
.hello-card h2 { font-size: 28px; }
.hello-card p { font-size: 13.5px; }
.stat-mini strong { font-size: 27px; }
.stat-mini span { font-size: 13px; }
.stat-mini a { font-size: 12.5px; }
.discover-card h2 { font-size: 25px; }
.quick-item strong { font-size: 14px; }
.quick-item small { font-size: 12px; }
.confidence strong { font-size: 15px; }
.confidence small { font-size: 12.5px; }
.dash-content .wiz-steps li { font-size: 13px !important; }
.dash-content .wiz-steps li b { font-size: 14px !important; }
@media (max-width: 800px) { .main-nav a { font-size: 15px; } }

/* ---- ub-ui-v3.4 ---- dashboard logo -30%, guests dropdown, CTA + trip form + footer ---- */
.app-logo img { width: 133px; max-height: 49px; }
.app-logo { margin-bottom: 22px; }
.search-field select { padding-right: 24px !important; cursor: pointer; appearance: none; -webkit-appearance: none; background-position: right 0 center; background-size: 16px; }
.button-white { color: var(--navy); background: #fff; }
.button-white:hover { color: var(--navy); background: #f1f7ff; }
.dual-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 52px 56px; border-radius: 28px; color: #fff; background: linear-gradient(110deg, #0f2d6e 0%, #1c47a8 100%); }
.dual-cta h2 { margin: 0 0 10px; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.dual-cta p { max-width: 460px; margin: 0 0 24px; color: #e3ecfb; font-size: 14.5px; line-height: 1.65; }
.trip-card { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 26px; border: 1px solid #e0e8f2; border-radius: 28px; background: #fff; box-shadow: var(--shadow-soft); }
.trip-photo { position: relative; min-height: 470px; display: flex; align-items: flex-end; padding: 30px; overflow: hidden; border-radius: 22px; color: #fff;
    background: linear-gradient(180deg, rgba(8,34,86,.05) 30%, rgba(8,34,86,.78) 100%), url("/images/brand/plan-trip.jpg") center/cover, url("/images/brand/hero-cape-town.jpg") center/cover, #0f2d6e; }
.trip-photo h3 { margin: 0; color: #fff; font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.trip-form { display: flex; flex-direction: column; justify-content: center; gap: 0; }
.trip-form .field { margin-bottom: 14px; }
.trip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trip-form input, .trip-form select, .trip-form textarea { border-radius: 14px; min-height: 52px; }
.trip-form textarea { min-height: 120px; }
.trip-submit { width: 100%; min-height: 54px; font-size: 15px; }
.site-footer { margin-top: 90px; padding: 64px max(24px, calc((100vw - 1240px) / 2)) 22px; color: #dbe6f6; background: linear-gradient(180deg, #0f2d6e, #0b2559); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 52px; padding-bottom: 38px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-col h4 { margin: 0 0 6px; color: #fff; font-size: 16px; font-weight: 800; }
.footer-col a, .footer-col span { color: #dbe6f6; font-size: 14px; line-height: 1.5; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-about p { margin: 0; max-width: 300px; color: #c9d8ee; font-size: 14px; line-height: 1.7; }
.footer-about .brand-footer { width: 150px; margin-bottom: 14px; }
.footer-bottom { flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; color: #c3d2e8; font-size: 12.5px; }
.footer-bottom a { color: #dbe6f6; }
@media (max-width: 900px) {
    .dual-cta, .trip-card { grid-template-columns: 1fr; }
    .dual-cta { padding: 34px 26px; gap: 32px; }
    .trip-photo { min-height: 280px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 560px) { .trip-row { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } }

/* ---- ub-ui-v3.6 ---- */
/* buttons: .button-light was being overridden to blue with navy text */
.button.button-light { color: var(--navy); background: #fff; border-color: var(--line); }
.button.button-light:hover { color: var(--navy); background: #f4f9ff; border-color: #b4cbe3; box-shadow: none; }
.button.button-white { color: var(--navy); background: #fff; }

/* date inputs: whole field clickable */
input[type=date], input[type=time], input[type=month], input[type=datetime-local] { cursor: pointer; }
input[type=date]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .75; }

/* selects: visible dropdown arrow */
select, .search-field select, .trip-form select {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2314305e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px;
}
.search-field select { width: auto !important; max-width: 100%; padding-right: 24px !important; background-position: right 0 center; }

/* city cards: orange on hover + listing count */
.city-card-text strong { transition: color .15s; }
.city-card-text .city-count { font-weight: 700; opacity: .95; margin-left: 4px; }
.city-card:hover .city-card-text strong, .city-card:hover .city-card-text .ico, .city-card:hover .city-card-text small { color: var(--orange); }

/* custom trip form */
.trip-form-head { margin-bottom: 20px; }
.trip-form-head h2 { margin: 0 0 6px; color: var(--navy); font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.trip-form-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.trip-photo {
    background:
        linear-gradient(180deg, rgba(8,34,86,0) 55%, rgba(8,34,86,.72) 100%),
        url("/images/brand/trip-lady.jpg") 62% center/cover no-repeat,
        url("/images/brand/plan-trip.jpg") center/cover no-repeat, #0f2d6e;
}

/* dashboard: text -1px, icons -5% */
.app-nav-link { font-size: 13.5px; }
.app-nav-link .ico { width: 20.9px; height: 20.9px; }
.app-side-foot { font-size: 12.5px; }
.nav-badge { font-size: 11.5px; }

/* host / traveller switch (Airbnb style) */
.mode-switch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.mode-switch:hover { color: var(--navy); border-color: var(--blue); background: #f2f8ff; }
.mode-switch .ico { width: 18px; height: 18px; }
.header-actions .mode-switch { min-height: 38px; font-size: 13px; }

/* notification bell dropdown */
.notif-menu { position: relative; }
.notif-menu > summary { list-style: none; cursor: pointer; }
.notif-menu > summary::-webkit-details-marker { display: none; }
.notif-menu .app-bell { position: relative; }
.notif-count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 999px; color: #fff; background: var(--orange); font-size: 10px; font-weight: 800; font-style: normal; line-height: 1; }
.notif-panel { position: absolute; right: -8px; top: calc(100% + 10px); width: min(380px, 92vw); z-index: 60; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(8,34,86,.18); overflow: hidden; }
.notif-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.notif-head strong { color: var(--navy); font-size: 14px; }
.notif-head a { font-size: 12px; font-weight: 700; }
.notif-list { max-height: 380px; overflow-y: auto; }
.notif-item { display: flex; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #eef3f9; color: var(--ink); }
.notif-item:hover { background: #f5f9ff; color: var(--ink); }
.notif-item.is-unread { background: #fff8f1; }
.notif-item .n-ico { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-strong); background: var(--blue-soft); }
.notif-item .n-ico .ico { width: 18px; height: 18px; }
.notif-item strong { display: block; color: var(--navy); font-size: 13px; line-height: 1.3; }
.notif-item span.n-msg { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.notif-item small { display: block; margin-top: 4px; color: #8a9bb2; font-size: 11px; }
.notif-empty { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 13px; }

/* footer */
.footer-col .f-line { display: flex; align-items: center; gap: 12px; color: #dbe6f6; font-size: 14px; }
.footer-col .f-line .f-ico { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: rgba(255,255,255,.1); }
.footer-col .f-line .ico { width: 18px; height: 18px; }
.footer-col .f-line:hover .f-ico { background: var(--orange); }
.footer-col .f-link { display: inline-flex; align-items: center; gap: 10px; }
.footer-col .f-link .ico { width: 17px; height: 17px; opacity: .8; }
.footer-about .pay-note { margin-top: 14px; color: #9fb4d3; font-size: 12.5px; }

/* FAQ */
.faq-wrap { max-width: 900px; margin: 0 auto; }
.faq-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.faq-chips a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: #fff; font-size: 13px; font-weight: 700; }
.faq-chips a:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.faq-group { margin-bottom: 40px; scroll-margin-top: 90px; }
.faq-group > h2 { margin: 0 0 4px; color: var(--navy); font-size: 22px; font-weight: 800; }
.faq-group > p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.faq-item { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 20px; cursor: pointer; color: var(--navy); font-size: 15px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { flex: 0 0 auto; width: 20px; height: 20px; transition: transform .2s; }
.faq-item[open] { border-color: #b9d6f5; box-shadow: 0 8px 24px rgba(8,34,86,.06); }
.faq-item[open] summary .ico { transform: rotate(180deg); color: var(--orange); }
.faq-body { padding: 0 20px 18px; color: #3a5070; font-size: 14.5px; line-height: 1.7; }
.faq-body ol, .faq-body ul { margin: 8px 0 0; padding-left: 20px; }
.faq-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 32px; border-radius: 22px; color: #fff; background: linear-gradient(110deg, #0f2d6e, #1c47a8); }
.faq-cta h3 { margin: 0 0 4px; color: #fff; font-size: 20px; }
.faq-cta p { margin: 0; color: #dbe7fb; font-size: 14px; }

/* v3.6b: red unread badges, avatar upload */
.nav-badge { background: #e5383b; box-shadow: 0 0 0 3px rgba(229,56,59,.22); }
.notif-count { background: #e5383b; }
.app-bell i { background: #e5383b; }
.avatar-img { object-fit: cover; display: block; background: #e2f1ff; }
.user-menu-panel form { margin: 0; }
.menu-upload { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 9px; color: var(--navy); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.menu-upload:hover { background: #f0f6fd; }
.link-btn { padding: 0; border: 0; background: none; color: var(--blue-strong); font-size: 12px; font-weight: 700; cursor: pointer; }

/* v3.7: city chips on search */
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.city-chips a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: #fff; font-size: 13px; font-weight: 700; }
.city-chips a span { color: var(--muted); font-weight: 600; }
.city-chips a:hover, .city-chips a.is-active { color: #fff; background: var(--orange); border-color: var(--orange); }
.city-chips a:hover span, .city-chips a.is-active span { color: #fff; }

/* ---- v3.8: all dashboard tables (admin users, listings, host applications, bookings...) ---- */
.dash-content table, .data-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 0; overflow: hidden; border: 1px solid #e3eaf2; border-radius: 16px; background: #fff; }
.dash-content table thead th, .data-table th { padding: 16px 20px; border-bottom: 1px solid #e3eaf2; color: #5d7089; background: #f3f7fc; text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.dash-content table tbody td, .data-table td { padding: 18px 20px; border-top: 1px solid #eef3f9; color: #334d68; vertical-align: middle; font-size: 13.5px; line-height: 1.5; }
.dash-content table tbody tr:first-child td { border-top: 0; }
.dash-content table tbody tr:hover td { background: #fafcff; }
/* name + email/sub-line stacked, never run together */
.dash-content table td strong, .data-table td strong { display: block; color: var(--navy); font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.dash-content table td small, .dash-content table td .text-muted, .dash-content table td .text-small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
/* controls inside rows */
.dash-content table td label { display: block; margin: 0 0 6px; color: var(--navy); font-size: 12.5px; font-weight: 700; }
.dash-content table td textarea, .dash-content table td input[type=text] { width: 100%; min-width: 200px; min-height: 64px; padding: 10px 12px; border: 1px solid #cfdbe8; border-radius: 12px; font-size: 13px; background: #fff; }
.dash-content table td input[type=text] { min-height: 42px; }
.dash-content table td .button, .dash-content table td button { min-height: 40px; padding: 8px 18px; border-radius: 999px; font-size: 13px; }
.dash-content table td textarea + .button, .dash-content table td textarea + button, .dash-content table td textarea + div { margin-top: 10px; }
.dash-content table td .button + .button, .dash-content table td button + button, .dash-content table td .button + button { margin-left: 8px; }
.dash-content table .button-light { color: var(--navy); background: #fff; border: 1px solid #b9cce0; }
/* toolbar above tables: status select + search */
.dash-content form select { border-radius: 12px; }
.dash-content form input[type=search], .dash-content form input[type=text][name=q], .dash-content form input[name=search] { border-radius: 12px; }
.dash-card, .dash-content > .form-card { border-radius: 16px; }
.dash-card .table-wrap { margin: 0; }
@media (max-width: 800px) { .dash-content table thead th, .dash-content table tbody td { padding: 14px 12px; } }

/* =====================================================================
   v3.9
   ===================================================================== */
/* Guest dashboard stat icons: ".stat-mini span" was overriding ".kpi-ico" (display + colour) */
.stat-mini .kpi-ico { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 14px; padding: 0; font-size: 0; line-height: 0; color: #1288ee; background: #e1f0ff; }
.stat-mini .kpi-ico.orange { color: #f59212; background: #fff0d9; }
.stat-mini .kpi-ico.green  { color: #12a06f; background: #dcf6ea; }
.stat-mini .kpi-ico.violet { color: #7b4fd0; background: #ece4fb; }
.stat-mini .kpi-ico.red    { color: #e0434f; background: #ffe3e6; }
.kpi-ico > .ico, .kpi-ico > svg { display: block; width: 24px; height: 24px; margin: 0; }

/* Bell: dot/count disappear once opened */
.notif-count[hidden] { display: none !important; }
.notif-menu.is-read .notif-count { display: none !important; }
.notif-item.is-read { background: #fff; }

/* Footer bottom row */
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.footer-legal .sep { opacity: .45; }
.footer-credit { margin-left: auto; text-align: right; font-weight: 700; }
@media (max-width: 560px) { .footer-credit { margin-left: 0; text-align: left; } }

/* Profile photo card */
.avatar-card { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.photo-preview { width: 96px; height: 96px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #1a8cff, #0b4fb3); font-size: 30px; font-weight: 800; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.photo-actions form { margin: 0; }
.photo-actions .button { min-height: 40px; padding: 8px 18px; border-radius: 999px; font-size: 13px; }
.button-danger-light { color: #b4232f; background: #fff; border: 1px solid #f1c3c8; }
.button-danger-light:hover { background: #fff0f2; color: #b4232f; }
.photo-hint { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 12.5px; }
.photo-error { flex-basis: 100%; margin: 0; color: #b91c1c; font-size: 12.5px; font-weight: 600; }

/* Input with leading icon (phone on every sign-up form) */
.field .input-icon { position: relative; display: block; }
.field .input-icon > .ico { position: absolute; left: 14px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: #6b7f9b; pointer-events: none; }
.field .input-icon > input { width: 100%; padding-left: 44px; }

/* "Creating your account" loader */
.ub-loader { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; background: #fff; }
.ub-loader[hidden] { display: none !important; }
.ub-loader-bar { min-height: 58px; display: flex; align-items: center; padding: 0 22px; box-shadow: 0 1px 4px rgba(10,30,70,.12); }
.ub-loader-bar img { height: 30px; width: auto; }
.ub-loader-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: -6vh; padding: 24px; text-align: center; }
.ub-loader-art { width: 190px; height: 190px; object-fit: contain; mix-blend-mode: multiply; animation: ub-bounce 1.05s ease-in-out infinite; }
.ub-loader-shadow { width: 96px; height: 11px; margin: 4px 0 34px; border-radius: 50%; background: rgba(15,45,110,.16); animation: ub-shadow 1.05s ease-in-out infinite; }
.ub-loader h1 { margin: 0 0 14px; color: var(--navy); font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.ub-loader p { max-width: 460px; margin: 0 0 34px; color: #3a4a63; font-size: 16px; line-height: 1.6; }
.ub-loader-track { position: relative; width: min(600px, 86vw); height: 6px; border-radius: 6px; background: #e5e7eb; }
.ub-loader-fill { height: 100%; width: 0; border-radius: 6px; background: var(--blue); }
.ub-loader-pct { position: absolute; top: 14px; left: 0; transform: translateX(-50%); color: #2a3a52; font-size: 13px; font-weight: 600; }
@keyframes ub-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }
@keyframes ub-shadow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.7); opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .ub-loader-art, .ub-loader-shadow { animation: none; } }

/* v3.9.2 admin filters on one row + danger button */
.filter-row { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto; align-items: end; gap: 12px; margin-bottom: 18px; }
.filter-row .field { margin: 0; }
.filter-row label { margin-bottom: 4px; font-size: 12px; }
.filter-row input, .filter-row select { min-height: 40px; padding-top: 7px; padding-bottom: 7px; font-size: 13.5px; }
.filter-row .button { min-height: 40px; padding: 8px 20px; font-size: 13px; }
@media (max-width: 760px) { .filter-row { grid-template-columns: 1fr 1fr; } .filter-row .field:first-child { grid-column: 1 / -1; } }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.button-danger { color: #fff; background: #d92d3a; border: 1px solid #d92d3a; }
.button-danger:hover { color: #fff; background: #b81f2b; border-color: #b81f2b; }

/* v3.9.2 media picker (popup with Library / Upload tabs) */
.ub-pick-btn { cursor: pointer; }
.ub-pick-note { margin-left: 10px; color: var(--muted); font-size: 13px; }
.ub-modal { position: fixed; inset: 0; z-index: 9998; display: grid; place-items: center; padding: 16px; background: rgba(10,25,55,.5); }
.ub-modal[hidden] { display: none !important; }
.ub-modal-panel { width: min(680px, 100%); max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 30px 80px rgba(8,34,86,.35); }
.ub-modal-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px 0; }
.ub-tab { padding: 9px 16px; border: 0; border-radius: 12px; color: #5d7089; background: transparent; font-size: 15px; font-weight: 700; cursor: pointer; }
.ub-tab.is-active { color: var(--navy); background: #eef3fa; }
.ub-modal-close { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; color: var(--navy); background: transparent; font-size: 22px; line-height: 1; cursor: pointer; }
.ub-modal-close:hover { background: #eef3fa; }
.ub-modal-body { flex: 1; overflow: auto; margin-top: 12px; padding: 14px 18px; border-top: 1px solid #e3eaf2; }
.ub-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 230px; padding: 24px; border: 1.5px dashed #c4d3e3; border-radius: 16px; text-align: center; }
.ub-drop.is-over { border-color: var(--blue); background: #f2f8ff; }
.ub-drop strong { color: var(--navy); font-size: 16px; }
.ub-drop span { color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }
.ub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 14px; }
.ub-grid:empty { display: none; }
.ub-thumb { position: relative; aspect-ratio: 1; overflow: hidden; border: 2px solid #e3eaf2; border-radius: 12px; background: #f3f7fc; padding: 0; cursor: pointer; }
.ub-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ub-thumb.is-selected { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,136,240,.25); }
.ub-thumb .ub-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(8,20,45,.7); font-size: 14px; line-height: 1; cursor: pointer; }
.ub-thumb .ub-check { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; display: none; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 13px; font-weight: 800; }
.ub-thumb.is-selected .ub-check { display: grid; }
.ub-empty { padding: 40px 10px; color: var(--muted); text-align: center; }
.ub-modal-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid #e3eaf2; }
.ub-modal-foot .ub-count { margin-right: auto; color: var(--muted); font-size: 13.5px; }
.ub-modal-foot .ub-err { color: #b91c1c; font-size: 13px; font-weight: 600; }

/* ub-header-responsive */
body { overflow-x: clip; }
.nav-account { display: none; }
@media (min-width: 1401px) {
    .site-header { gap: 24px; }
    .main-nav { gap: clamp(14px, 1.6vw, 30px); }
    .main-nav a { font-size: 14px; }
    .header-actions { gap: 12px; }
}
@media (max-width: 1400px) {
    .site-header { height: 72px; gap: 12px; padding: 0 20px; }
    .brand { width: 150px; flex: 0 0 auto; }
    .mobile-menu-toggle { display: block; margin-left: auto; order: 2; }
    .header-actions { order: 3; gap: 10px; }
    .header-actions .login-link, .header-actions .mode-switch, .header-actions .inline-form, .header-actions .button-pill { display: none; }
    .main-nav { position: absolute; top: 100%; left: 0; right: 0; height: auto; display: none; align-items: stretch; justify-content: flex-start; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid #dfe7f0; background: #fff; box-shadow: 0 9px 15px rgba(8,37,71,.08); }
    .main-nav.is-open { display: grid; }
    .main-nav a { height: auto; min-height: 44px; font-size: 15px; }
    .main-nav a.is-current::after { display: none; }
    .nav-account { display: grid; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid #e4ebf3; }
    .main-nav .nav-account a { height: auto; min-height: 40px; }
    .nav-account .mode-switch { justify-content: center; }
    .nav-account-user { display: inline-flex; align-items: center; gap: 8px; }
    .nav-account .inline-form .button { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
    .site-header { padding: 0 14px; }
    .brand { width: 130px; }
}

/* ub-buttons-fix: outline buttons are blue with white text */
.button.button-outline,
button.button-outline,
a.button-outline {
    background: var(--blue, #1d7be8) !important;
    border-color: var(--blue, #1d7be8) !important;
    color: #fff !important;
}
.button.button-outline:hover,
button.button-outline:hover,
a.button-outline:hover {
    background: #0b5fb8 !important;
    border-color: #0b5fb8 !important;
    color: #fff !important;
    box-shadow: 0 7px 18px rgba(11, 95, 184, .25);
}
.button.button-outline:disabled,
button.button-outline:disabled { opacity: .55; cursor: not-allowed; }

/* ub-buttons-fix: filter forms on one row */
form.form-grid[method="get"] {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
}
form.form-grid[method="get"] > .field { flex: 1 1 220px; margin: 0; min-width: 0; }
form.form-grid[method="get"] > .field:first-child { flex: 2 1 280px; }
form.form-grid[method="get"] > .button,
form.form-grid[method="get"] > button { flex: 0 0 auto; margin: 0; min-height: 46px; }

/* ub-buttons-fix2: plain buttons always blue with white text */
.button:not(.button-orange):not(.button-light):not(.button-white):not(.button-danger):not(.button-danger-light):not(.button-link):not(.button-outline),
.dash-content button:not([class]),
.dash-content input[type="submit"]:not([class]) {
    background: #1d7be8;
    border: 1px solid #1d7be8;
    color: #fff;
    border-radius: 999px;
    min-height: 42px;
    padding: 9px 20px;
    font-weight: 700;
    cursor: pointer;
}
.button:not(.button-orange):not(.button-light):not(.button-white):not(.button-danger):not(.button-danger-light):not(.button-link):not(.button-outline):hover,
.dash-content button:not([class]):hover,
.dash-content input[type="submit"]:not([class]):hover {
    background: #0b5fb8;
    border-color: #0b5fb8;
    color: #fff;
}
.button:disabled, .dash-content button:disabled { opacity: .55; cursor: not-allowed; }
