:root {
    --ink: #071437;
    --ink-soft: #526378;
    --navy: #071437;
    --navy-2: #1b84ff;
    --blue: #1b84ff;
    --blue-soft: #e9f3ff;
    --mint: #17c653;
    --amber: #f6c000;
    --surface: #ffffff;
    --canvas: #f5f7fb;
    --line: #dfe6ef;
    --danger: #f8285a;
    --shadow: 0 5px 18px rgba(7, 20, 55, .07);
    --shadow-soft: 0 4px 14px rgba(7, 20, 55, .06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.marketplace-app :focus-visible, .space-body :focus-visible,
.account-popover :focus-visible, .dialog-backdrop :focus-visible,
.marketplace-orders-drawer :focus-visible { outline: 3px solid #1469cc; outline-offset: 3px; }
.marketplace-skip-link { position: fixed; z-index: 140; top: 12px; left: 12px; padding: 12px 18px; color: #fff; border-radius: 10px; background: #123458; transform: translateY(-150%); }
.marketplace-skip-link:focus { transform: translateY(0); outline: 3px solid #1469cc; outline-offset: 3px; }

/* The public entry shares discovery controls without rendering account data. */
.marketplace-public .public-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 10px; background: #123458; color: #fff; font-size: 16px; font-weight: 700; white-space: nowrap; }
.marketplace-public .quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.marketplace-public .quick-actions .quick-action { min-width: 0; }
.public-discovery-help { margin: 16px 0; color: #40546d; font-size: 16px; line-height: 1.6; }
.marketplace-public .business-body h3, .marketplace-public .business-address { overflow-wrap: anywhere; }
.marketplace-public .business-footer { flex-wrap: wrap; gap: 12px; }
.marketplace-public .connect-button { justify-content: center; min-height: 44px; max-width: 100%; white-space: normal; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.marketplace-public .business-description, .marketplace-public .business-address, .marketplace-public .business-category { font-size: 14px; }
.marketplace-public input, .marketplace-public select { font-size: 16px; }
.marketplace-public .category-chip, .marketplace-public .location-pill { min-height: 44px; }
.marketplace-public .category-chip { font-size: 14px; }
.marketplace-public .clear-search { min-width: 44px; height: 44px; }
.marketplace-public :focus-visible { outline: 3px solid #1767ce; outline-offset: 3px; }
@media (max-width: 600px) {
    .marketplace-public .quick-actions { grid-template-columns: minmax(0, 1fr); }
    .marketplace-public .bottom-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .marketplace-public .connect-button { width: 100%; }
    .marketplace-public .business-card { display: block; }
    .marketplace-public .business-cover { height: 140px; min-height: 140px; }
    .marketplace-public .business-body h3 { font-size: 18px; }
    .marketplace-public .nature-badge, .marketplace-public .distance-badge { font-size: 12px; }
    .marketplace-public .welcome-copy { max-width: 100%; }
    .marketplace-public .welcome-copy > p:last-child { font-size: 16px; }
    .marketplace-public .welcome-orbit { display: none; }
}

.marketplace-app { min-height: 100vh; overflow: hidden; }
.marketplace-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.marketplace-header {
    position: sticky;
    z-index: 40;
    top: 0;
    border-bottom: 1px solid rgba(225, 231, 240, .86);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
}

.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; }
.brand { display: inline-flex; width: max-content; align-items: center; }
.brand img { display: block; width: auto; height: 32px; object-fit: contain; }

.location-pill {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 178px;
    padding: 8px 12px;
    cursor: pointer;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    transition: border-color .2s, transform .2s;
}
.location-pill:hover { transform: translateY(-1px); border-color: #bed1e8; }
.location-pill small, .location-pill strong { display: block; line-height: 1.15; }
.location-pill small { margin-bottom: 3px; color: #526378; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.location-pill strong { max-width: 160px; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.marketplace-location { margin: 0 0 24px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; scroll-margin-top: 100px; }
.marketplace-location .section-heading { gap: 16px; margin-bottom: 12px; }
.marketplace-location h2 { margin: 0; font-size: 20px; }
.marketplace-location p, .marketplace-location-summary { color: #46586e; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.marketplace-location label { display: block; margin: 16px 0 8px; font-size: 14px; font-weight: 700; }
.marketplace-location-form { display: flex; flex-wrap: wrap; gap: 12px; }
.marketplace-location-form input { flex: 1 1 220px; width: 100%; min-width: 0; padding: 12px; border: 1px solid #8c9bad; border-radius: 10px; font: inherit; font-size: 16px; }
.marketplace-location button, #emptyChangeLocation { min-height: 44px; padding: 10px 16px; border-radius: 10px; cursor: pointer; font-size: 14px; }
.marketplace-location button:disabled { opacity: .65; cursor: wait; }
.marketplace-location .text-button, #emptyChangeLocation { color: #1469cc; }
#locationButton { min-height: 44px; }
#locationButton strong { font-size: 14px; }
.marketplace-location :focus-visible, #locationButton:focus-visible, #nearbyAction:focus-visible, #emptyChangeLocation:focus-visible { outline: 3px solid #1767ce; outline-offset: 3px; }
.marketplace-location-summary { margin: 0 0 16px; }
.marketplace-radius { margin: 0 0 16px; }
.marketplace-radius label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.marketplace-radius select { width: 100%; max-width: 320px; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid #8c9bad; border-radius: 8px; color: var(--ink); background: white; font: inherit; font-size: 16px; }
.marketplace-radius p { color: #46586e; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.marketplace-radius :focus-visible { outline: 3px solid #1767ce; outline-offset: 3px; }
.marketplace-search-return { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 16px; }
.marketplace-search-return a, .marketplace-search-return button { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.marketplace-search-return a { color: #1469cc; text-decoration: underline; font-weight: 700; }
.marketplace-search-return p { flex-basis: 100%; margin: 0; font-size: 14px; line-height: 1.6; color: #46586e; overflow-wrap: anywhere; }
.marketplace-search-return :focus-visible { outline: 3px solid #1767ce; outline-offset: 3px; }
.marketplace-shared-place, .space-share-panel { padding: 16px; margin: 16px 0; border: 1px solid #c6d9ef; border-radius: 14px; background: #f4f8fd; overflow-wrap: anywhere; }
.marketplace-shared-place p, .space-share-panel p { color: #344c67; font-size: 14px; line-height: 1.6; }
.space-share-panel > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.space-share-panel label { flex-basis: 100%; font-weight: 700; font-size: 16px; }
.space-share-panel input { flex: 1 1 220px; min-width: 0; width: 100%; min-height: 44px; padding: 8px; border: 1px solid #647b94; border-radius: 8px; background: #fff; color: #142a45; font-size: 16px; }
.space-share-panel button, .marketplace-shared-place button { min-height: 44px; padding: 10px 16px; border: 1px solid #647b94; border-radius: 8px; background: #fff; color: #142a45; font-size: 16px; cursor: pointer; }
.space-share-panel :focus-visible, .marketplace-shared-place :focus-visible { outline: 3px solid #1767ce; outline-offset: 3px; }
@media (max-width: 620px) {
    .marketplace-location { padding: 16px; }
    .marketplace-location-form { flex-direction: column; }
    .marketplace-location-form input { flex-basis: auto; }
    .marketplace-location-form button { width: 100%; }
}
.location-icon { display: grid; width: 30px; height: 30px; place-items: center; color: var(--blue); border-radius: 50%; background: var(--blue-soft); }
.location-chevron { margin-left: auto; color: #8490a1; font-size: 10px; }

.header-actions { display: flex; justify-self: end; gap: 10px; align-items: center; }
.header-icon, .profile-button { position: relative; display: grid; width: 44px; height: 44px; cursor: pointer; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.header-icon { font-size: 17px; }
.profile-button { padding: 3px; border: 0; background: linear-gradient(145deg, #277df5, #0f3f75); }
.profile-button span { display: grid; width: 100%; height: 100%; place-items: center; color: white; border: 2px solid rgba(255,255,255,.65); border-radius: 50%; font-size: 14px; font-weight: 800; }
.notification-dot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border: 2px solid white; border-radius: 50%; background: #f05265; }

.marketplace-main { padding-top: 28px; padding-bottom: 80px; }
.welcome-block { position: relative; display: flex; min-height: 218px; overflow: hidden; align-items: center; padding: 42px 46px; color: white; border-radius: 28px; background: radial-gradient(circle at 88% 22%, rgba(65, 148, 255, .58), transparent 23%), linear-gradient(125deg, #091c36 0%, #103b68 65%, #176fb9 100%); box-shadow: 0 28px 65px rgba(12, 43, 77, .22); }
.welcome-block::before { position: absolute; right: 29%; bottom: -95px; width: 260px; height: 260px; content: ""; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.welcome-copy { position: relative; z-index: 2; max-width: 590px; }
.eyebrow { margin: 0 0 7px; color: #526378; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.welcome-copy .eyebrow { color: #8ec9ff; }
.welcome-copy h1 { margin: 0; font-size: clamp(31px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.welcome-copy h1 > span:first-child { color: #8ec9ff; }
.welcome-copy > p:last-child { max-width: 520px; margin: 14px 0 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.65; }
.wave { display: inline-block; font-size: .78em; transform-origin: 70% 70%; animation: wave 2.6s ease-in-out infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(14deg); } 40% { transform: rotate(-4deg); } }

.welcome-orbit { position: absolute; right: 7%; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.welcome-orbit::before { position: absolute; inset: 23px; content: ""; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; }
.orbit, .orbit-center { position: absolute; display: grid; place-items: center; border-radius: 18px; box-shadow: 0 13px 30px rgba(4, 20, 39, .24); }
.orbit { width: 45px; height: 45px; color: white; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.orbit-one { top: -9px; left: 61px; }
.orbit-two { right: -8px; bottom: 39px; }
.orbit-three { bottom: 1px; left: 7px; }
.orbit-center { inset: 57px; color: #164f83; background: white; font-size: 25px; }

.search-wrap { position: relative; z-index: 3; display: flex; width: min(720px, calc(100% - 44px)); height: 62px; margin: -24px auto 0; align-items: center; padding: 0 20px; border: 1px solid rgba(222, 229, 238, .82); border-radius: 19px; background: white; box-shadow: var(--shadow); }
.search-wrap > i { color: #8391a4; font-size: 17px; }
.search-wrap input { width: 100%; min-width: 0; height: 100%; padding: 0 14px; color: var(--ink); border: 0; background: transparent; font-size: 16px; }
.search-wrap input::placeholder { color: #526378; }
.clear-search { display: none; width: 44px; height: 44px; flex: 0 0 44px; cursor: pointer; color: #526378; border: 0; border-radius: 50%; background: #eef2f7; }
.clear-search.visible { display: grid; place-items: center; }

.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0 44px; }
.quick-action { display: flex; min-width: 0; min-height: 82px; align-items: center; gap: 13px; padding: 16px; cursor: pointer; text-align: left; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 5px 18px rgba(35,58,88,.04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.quick-action:hover { transform: translateY(-3px); border-color: #cfdae8; box-shadow: var(--shadow-soft); }
.quick-action > span:nth-child(2) { min-width: 0; flex: 1; }
.quick-action strong, .quick-action small { display: block; white-space: normal; overflow-wrap: anywhere; }
.quick-action strong { margin-bottom: 5px; font-size: 16px; }
.quick-action small { color: #526378; font-size: 14px; line-height: 1.5; }
.quick-action > i { color: #9aa5b3; font-size: 11px; }
.quick-icon { display: grid; width: 47px; height: 47px; flex: 0 0 47px; place-items: center; color: #236ed4; border-radius: 15px; background: #eaf3ff; font-size: 18px; }
.quick-icon.mint { color: #10896d; background: #e7f8f3; }
.quick-icon.amber { color: #c8791a; background: #fff3e2; }
.quick-icon.violet { color: #6546b8; background: #f0ebff; }
.scan-action { color: white; border-color: transparent; background: linear-gradient(135deg, #1f75ec, #135aaf); }
.scan-action small, .scan-action > i { color: rgba(255,255,255,.7); }
.scan-action .quick-icon { color: white; background: rgba(255,255,255,.16); }

.content-section { margin-bottom: 44px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 19px; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.text-button { min-height: 44px; padding: 10px 0; cursor: pointer; color: #1469cc; border: 0; background: transparent; font-size: 14px; font-weight: 750; }

.connected-track { display: grid; grid-auto-columns: minmax(330px, 42%); grid-auto-flow: column; gap: 16px; overflow-x: auto; padding: 2px 2px 13px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.connected-track::-webkit-scrollbar, .category-scroll::-webkit-scrollbar { display: none; }
.connected-card { position: relative; display: flex; min-height: 187px; overflow: hidden; flex-direction: column; padding: 21px; color: white; border-radius: 23px; background: linear-gradient(140deg, var(--card-start), var(--card-end)); box-shadow: 0 12px 30px color-mix(in srgb, var(--card-start), transparent 74%); scroll-snap-align: start; }
.connected-card::before { position: absolute; top: -65px; right: -60px; width: 180px; height: 180px; content: ""; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.connected-card::after { position: absolute; right: 21px; bottom: 14px; color: rgba(255,255,255,.08); content: var(--card-glyph); font-family: "Font Awesome 6 Free"; font-size: 76px; font-weight: 900; }
.connected-card.shopping, .connected-card.shop { --card-start: #6949c6; --card-end: #3f288e; --card-glyph: "\f290"; }
.connected-card.fitness { --card-start: #128c7c; --card-end: #07594f; --card-glyph: "\f44b"; }
.connected-card.learning, .connected-card.classroom { --card-start: #eb8b35; --card-end: #b94e2c; --card-glyph: "\f19d"; }
.connected-card.services { --card-start: #267cce; --card-end: #174a91; --card-glyph: "\f274"; }
.connected-card.driving, .connected-card.driving-school { --card-start: #43536d; --card-end: #1c2638; --card-glyph: "\f1b9"; }
.connected-card.subscriptions { --card-start: #6949c6; --card-end: #3f288e; --card-glyph: "\f021"; }
.connected-card.business { --card-start: #2874be; --card-end: #183c70; --card-glyph: "\f1ad"; }
.connected-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; }
.connected-logo { display: grid; width: 48px; height: 48px; overflow: hidden; flex: 0 0 48px; place-items: center; color: var(--card-end); border: 2px solid rgba(255,255,255,.5); border-radius: 15px; background: white; font-size: 17px; font-weight: 900; }
.connected-logo img { width: 100%; height: 100%; object-fit: cover; }
.connected-title { min-width: 0; flex: 1; }
.connected-title h3 { overflow: hidden; margin: 0 0 4px; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.connected-title p { overflow: hidden; margin: 0; color: rgba(255,255,255,.67); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.card-menu { position: relative; z-index: 3; width: 32px; height: 32px; cursor: pointer; color: white; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); }
.connected-meta { position: relative; z-index: 2; display: flex; gap: 9px; margin-top: auto; align-items: center; }
.connected-meta span { max-width: 54%; overflow: hidden; color: rgba(255,255,255,.75); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.connected-meta span i { margin-right: 5px; }
.open-business { display: inline-flex; margin-left: auto; align-items: center; gap: 7px; padding: 10px 14px; cursor: pointer; color: var(--card-end); border: 0; border-radius: 999px; background: white; font-size: 11px; font-weight: 900; }
.open-business:disabled { cursor: wait; opacity: .7; }

.connected-empty { display: flex; min-height: 142px; grid-column: 1 / -1; align-items: center; gap: 18px; padding: 23px; border: 1px dashed #cdd9e7; border-radius: 22px; background: rgba(255,255,255,.65); }
.connected-empty > span { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; color: var(--blue); border-radius: 18px; background: var(--blue-soft); font-size: 21px; }
.connected-empty h3 { margin: 0 0 6px; font-size: 16px; }
.connected-empty p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.connected-empty a { display: inline-block; margin-top: 10px; color: var(--blue); font-size: 12px; font-weight: 800; }

.qr-banner { position: relative; display: grid; grid-template-columns: auto 1fr auto; overflow: hidden; align-items: center; gap: 25px; margin: 0 0 46px; padding: 26px 31px; color: white; border-radius: 24px; background: linear-gradient(120deg, #17243a, #243f63); }
.qr-banner::after { position: absolute; top: -85px; right: 18%; width: 220px; height: 220px; content: ""; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.qr-pattern { position: relative; z-index: 2; display: grid; width: 72px; height: 72px; place-items: center; color: var(--navy); border: 6px solid rgba(255,255,255,.13); border-radius: 19px; background: white; font-size: 36px; }
.qr-copy { position: relative; z-index: 2; }
.mini-label { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 7px; color: #b4dcff; font-size: 12px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.qr-copy h2 { margin: 0 0 5px; font-size: 20px; }
.qr-copy p { margin: 0; color: #e8f2ff; font-size: 14px; line-height: 1.5; }
.qr-button { position: relative; z-index: 2; display: inline-flex; min-height: 44px; align-items: center; gap: 10px; padding: 13px 17px; color: #123458; border-radius: 13px; background: white; font-size: 14px; font-weight: 750; }

.discover-heading { margin-bottom: 15px; }
.result-count { color: #526378; font-size: 14px; }
.category-scroll { display: flex; gap: 9px; overflow-x: auto; margin: 0 0 20px; padding: 2px 0 5px; scrollbar-width: none; }
.category-chip { display: inline-flex; min-width: max-content; align-items: center; gap: 7px; padding: 10px 14px; cursor: pointer; color: #607086; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 11px; font-weight: 750; transition: .2s; }
.category-chip:hover { border-color: #b9cee5; }
.category-chip.active { color: white; border-color: var(--navy-2); background: var(--navy-2); box-shadow: 0 8px 18px rgba(18,54,92,.18); }

.business-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.marketplace-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; padding: 22px 0 0; color: #526378; font-size: 14px; }
.marketplace-pagination .text-button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.marketplace-pagination .text-button:disabled { cursor: wait; opacity: .65; }
.business-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 5px 18px rgba(29,50,80,.04); transition: transform .22s, box-shadow .22s; }
.business-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.business-cover { position: relative; display: grid; height: 142px; overflow: hidden; place-items: center; color: white; background: linear-gradient(135deg, var(--cover-one), var(--cover-two)); }
.business-cover::before, .business-cover::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.business-cover::before { top: -70px; right: -35px; width: 175px; height: 175px; }
.business-cover::after { bottom: -55px; left: -45px; width: 130px; height: 130px; }
.business-cover.shopping, .business-cover.shop { --cover-one: #7556d8; --cover-two: #3d278e; }
.business-cover.fitness { --cover-one: #25a88a; --cover-two: #087066; }
.business-cover.learning, .business-cover.classroom { --cover-one: #f3a042; --cover-two: #cf6033; }
.business-cover.services { --cover-one: #3897e9; --cover-two: #205ea8; }
.business-cover.driving, .business-cover.driving-school { --cover-one: #60718c; --cover-two: #28364c; }
.business-cover.subscriptions { --cover-one: #8a61cf; --cover-two: #593c91; }
.business-cover.business { --cover-one: #3b82c4; --cover-two: #215083; }
.business-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.business-cover.has-image::after { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; background: linear-gradient(to top, rgba(5,20,37,.48), transparent 68%); }
.cover-glyph { position: relative; z-index: 2; font-size: 38px; opacity: .88; }
.nature-badge { position: absolute; z-index: 3; top: 12px; left: 12px; max-width: calc(100% - 75px); overflow: hidden; padding: 7px 10px; color: white; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(7,24,44,.36); backdrop-filter: blur(10px); font-size: 9px; font-weight: 850; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.distance-badge { position: absolute; z-index: 3; right: 12px; bottom: 11px; padding: 6px 9px; color: white; border-radius: 8px; background: rgba(7,24,44,.55); backdrop-filter: blur(8px); font-size: 9px; font-weight: 800; }
.business-body { padding: 17px; }
.business-body h3 { overflow: hidden; margin: 0 0 6px; font-size: 16px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.business-description { display: -webkit-box; min-height: 38px; overflow: hidden; margin: 0 0 12px; color: #6c7a8e; font-size: 11px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.business-address { display: flex; min-height: 16px; align-items: center; gap: 7px; overflow: hidden; margin-bottom: 14px; color: #8490a2; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.business-address span { overflow: hidden; text-overflow: ellipsis; }
.business-address i { color: var(--blue); }
.business-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.business-category { color: #78879b; font-size: 10px; font-weight: 700; }
.connect-button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; cursor: pointer; color: white; border: 0; border-radius: 11px; background: var(--navy-2); font-size: 10px; font-weight: 850; }
.connect-button.connected { color: #176c58; background: #e6f7f1; }
.connect-button:disabled { cursor: wait; opacity: .65; }

.empty-state { padding: 55px 20px; text-align: center; border: 1px dashed #cbd7e6; border-radius: 22px; background: rgba(255,255,255,.55); }
.empty-state > span { display: grid; width: 66px; height: 66px; margin: 0 auto 16px; place-items: center; color: #7388a1; border-radius: 20px; background: #e9eef5; font-size: 23px; }
.empty-state h3 { margin: 0 0 8px; font-size: 18px; }
.empty-state p { max-width: 430px; margin: 0 auto 15px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.empty-state a { display: inline-flex; min-height: 44px; align-items: center; color: #1469cc; font-size: 14px; font-weight: 750; }

.connected-skeleton, .business-skeleton { position: relative; overflow: hidden; border-radius: 22px; background: #e7ecf3; }
.connected-skeleton::after, .business-skeleton::after { position: absolute; inset: 0; content: ""; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent); animation: shimmer 1.35s infinite; }
.connected-skeleton { min-height: 187px; }
.business-skeleton { min-height: 315px; }
@keyframes shimmer { 100% { transform: translateX(100%); } }

.account-popover { position: fixed; z-index: 80; top: 69px; right: max(20px, calc((100vw - 1180px) / 2)); width: min(310px, calc(100vw - 30px)); padding: 10px; border: 1px solid var(--line); border-radius: 19px; background: white; box-shadow: 0 25px 65px rgba(20,39,65,.2); }
.account-summary { display: flex; gap: 11px; align-items: center; margin-bottom: 7px; padding: 10px; border-bottom: 1px solid var(--line); }
.account-avatar { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; color: white; border-radius: 14px; background: linear-gradient(140deg, #287ff3, #16477d); font-weight: 850; }
.account-summary div { min-width: 0; }
.account-summary strong, .account-summary small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-summary strong { margin-bottom: 4px; font-size: 16px; }
.account-summary small { color: #526378; font-size: 13px; }
.account-popover > a, .account-popover > button { display: flex; width: 100%; min-height: 44px; align-items: center; gap: 10px; padding: 11px 12px; cursor: pointer; text-align: left; color: inherit; border: 0; border-radius: 10px; background: transparent; font-size: 14px; font-weight: 700; }
.account-popover > a:hover, .account-popover > button:hover { background: #f2f5f9; }
.account-popover > a i, .account-popover > button i { width: 17px; color: #71839a; }
.account-popover .logout-link { color: var(--danger); }
.account-popover .logout-link i { color: var(--danger); }

.dialog-backdrop, .marketplace-loader { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(8,23,42,.58); backdrop-filter: blur(5px); }
.marketplace-dialog { width: min(420px, 100%); padding: 28px; text-align: center; border-radius: 24px; background: white; box-shadow: 0 28px 75px rgba(5,19,35,.25); animation: dialogIn .2s ease-out; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dialog-icon { display: grid; width: 64px; height: 64px; margin: 0 auto 17px; place-items: center; color: var(--danger); border-radius: 20px; background: #fff0f2; font-size: 22px; }
.marketplace-dialog h2 { margin: 0 0 9px; font-size: 21px; }
.marketplace-dialog p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.dialog-actions button { min-height: 44px; padding: 12px 15px; cursor: pointer; border-radius: 12px; font-size: 14px; font-weight: 750; }
.button-secondary { color: var(--ink); border: 1px solid var(--line); background: white; }
.button-danger { color: white; border: 1px solid var(--danger); background: var(--danger); }

.marketplace-loader { color: white; }
.marketplace-loader span { width: 44px; height: 44px; border: 4px solid rgba(255,255,255,.25); border-top-color: white; border-radius: 50%; animation: spin .75s linear infinite; }
.marketplace-loader p { margin: 15px 0 0; font-size: 12px; font-weight: 750; }
@keyframes spin { to { transform: rotate(360deg); } }
.marketplace-toast { position: fixed; z-index: 120; right: 20px; bottom: 24px; max-width: min(360px, calc(100vw - 40px)); padding: 13px 17px; pointer-events: none; color: white; border-radius: 13px; background: #132b49; box-shadow: var(--shadow); font-size: 14px; font-weight: 700; overflow-wrap: anywhere; opacity: 0; transform: translateY(12px); transition: .25s; }
.marketplace-toast.show { opacity: 1; transform: translateY(0); }
.marketplace-toast.error { background: #a93042; }

.bottom-navigation { display: none; }

@media (max-width: 900px) {
    .marketplace-container { width: min(100% - 30px, 760px); }
    .welcome-block { padding: 38px 34px; }
    .welcome-orbit { right: 4%; transform: scale(.82); }
    .welcome-copy { max-width: 65%; }
    .quick-actions { grid-template-columns: 1fr 1fr; }
    .connected-track { grid-auto-columns: minmax(310px, 65%); }
    .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    body { background: #f7f9fc; }
    .marketplace-container { width: calc(100% - 28px); }
    .marketplace-header { position: relative; background: #fff; }
    .header-inner { grid-template-columns: auto 1fr auto; min-height: 66px; }
    .brand img { height: 25px; }
    .location-pill { min-width: 0; margin: 0 auto; padding: 7px 9px; border: 0; background: #f3f6fa; }
    .location-icon { width: 27px; height: 27px; }
    .location-pill small { display: none; }
    .location-pill strong { max-width: 90px; font-size: 10px; }
    .header-icon { display: none; }
    .profile-button { width: 44px; height: 44px; }
    .marketplace-main { padding-top: 14px; padding-bottom: calc(105px + env(safe-area-inset-bottom)); }
    .welcome-block { min-height: 190px; padding: 29px 24px 45px; border-radius: 23px; }
    .welcome-block::before { display: none; }
    .welcome-copy { max-width: 75%; }
    .welcome-copy .eyebrow { font-size: 12px; }
    .welcome-copy h1 { font-size: 30px; }
    .welcome-copy > p:last-child { margin-top: 10px; font-size: 11px; line-height: 1.5; }
    .welcome-orbit { right: -43px; transform: scale(.66); }
    .search-wrap { width: calc(100% - 26px); height: 56px; margin-top: -25px; padding: 0 17px; border-radius: 17px; }
    .search-wrap input { padding: 0 11px; font-size: 16px; }
    .quick-actions { display: flex; gap: 10px; overflow-x: auto; margin: 24px -14px 34px; padding: 0 14px 7px; scrollbar-width: none; }
    .quick-actions::-webkit-scrollbar { display: none; }
    .quick-action { min-width: 232px; min-height: 76px; padding: 14px; border-radius: 17px; }
    .quick-actions .quick-action:last-child { min-width: 232px; }
    .quick-icon { width: 43px; height: 43px; flex-basis: 43px; border-radius: 13px; }
    .section-heading { margin-bottom: 15px; }
    .section-heading h2 { font-size: 20px; }
    .section-heading .eyebrow { font-size: 12px; }
    .content-section { margin-bottom: 34px; }
    .connected-track { margin-right: -14px; grid-auto-columns: minmax(286px, 84%); gap: 12px; }
    .connected-card { min-height: 174px; padding: 18px; border-radius: 20px; }
    .connected-empty { margin-right: 14px; padding: 19px; }
    .qr-banner { grid-template-columns: auto 1fr; gap: 15px; margin-bottom: 37px; padding: 21px; border-radius: 20px; }
    .qr-pattern { width: 58px; height: 58px; border-width: 4px; border-radius: 16px; font-size: 28px; }
    .mini-label { font-size: 12px; }
    .qr-copy h2 { font-size: 16px; }
    .qr-copy p { font-size: 10px; line-height: 1.5; }
    .qr-button { grid-column: 1 / -1; justify-content: center; padding: 12px; }
    .category-scroll { margin-right: -14px; }
    .category-chip { padding: 9px 12px; }
    .business-grid { grid-template-columns: 1fr; gap: 13px; }
    .business-card { display: grid; grid-template-columns: 116px 1fr; min-height: 151px; border-radius: 18px; }
    .business-cover { height: 100%; min-height: 151px; }
    .nature-badge { top: 10px; left: 8px; max-width: calc(100% - 16px); padding: 6px 7px; font-size: 7px; }
    .distance-badge { right: auto; bottom: 9px; left: 8px; }
    .cover-glyph { font-size: 30px; }
    .business-body { display: flex; min-width: 0; flex-direction: column; padding: 14px; }
    .business-body h3 { font-size: 14px; }
    .business-description { min-height: 31px; margin-bottom: 8px; font-size: 9px; }
    .business-address { margin-bottom: 8px; font-size: 8px; }
    .business-footer { margin-top: auto; }
    .business-category { display: none; }
    .connect-button { margin-left: auto; padding: 9px 11px; }
    .business-skeleton { min-height: 151px; }
    .bottom-navigation { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr 72px 1fr 1fr; min-height: calc(70px + env(safe-area-inset-bottom)); align-items: center; padding: 5px 8px env(safe-area-inset-bottom); border-top: 1px solid #e2e8f0; background: rgba(255,255,255,.96); box-shadow: 0 -10px 30px rgba(33,55,84,.08); backdrop-filter: blur(16px); }
    .bottom-link { display: flex; min-width: 0; height: 58px; cursor: pointer; color: #526378; border: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: transparent; font-size: 16px; }
    .bottom-link span { font-size: 12px; font-weight: 750; }
    .bottom-link.active { color: var(--blue); }
    .bottom-scan { display: grid; width: 58px; height: 58px; margin: -31px auto 0; place-items: center; color: white; border: 5px solid #f7f9fc; border-radius: 20px; background: linear-gradient(140deg, #217af3, #164c8e); box-shadow: 0 12px 28px rgba(30,110,210,.32); font-size: 20px; transform: rotate(45deg); }
    .bottom-scan i { transform: rotate(-45deg); }
    .account-popover { top: auto; right: 14px; bottom: calc(75px + env(safe-area-inset-bottom)); }
    .marketplace-toast { right: 14px; bottom: calc(86px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Scanner */
.scanner-body { min-height: 100vh; color: white; background: radial-gradient(circle at 50% 3%, #1d5588, transparent 31%), #071a31; }
.scanner-app { min-height: 100vh; padding-bottom: 35px; }
.scanner-header { display: grid; width: min(650px, calc(100% - 34px)); min-height: 72px; margin: 0 auto; grid-template-columns: 42px 1fr 42px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.08); }
.scanner-header img { width: auto; height: 27px; margin: 0 auto; }
.scanner-back, .scanner-header button { display: grid; width: 40px; height: 40px; cursor: pointer; place-items: center; color: white; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; background: rgba(255,255,255,.06); }
.scanner-header button { font-size: 16px; }
.scanner-main { width: min(560px, calc(100% - 34px)); margin: 0 auto; padding-top: 35px; }
.scanner-intro { margin-bottom: 23px; text-align: center; }
.scanner-eyebrow { display: inline-flex; margin-bottom: 10px; align-items: center; gap: 6px; color: #76c2ff; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.scanner-intro h1 { margin: 0 0 9px; font-size: clamp(28px, 7vw, 39px); letter-spacing: -.04em; }
.scanner-intro p { max-width: 460px; margin: 0 auto; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.65; }
.scanner-card { padding: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 29px; background: rgba(255,255,255,.07); box-shadow: 0 28px 70px rgba(0,0,0,.22); backdrop-filter: blur(16px); }
.camera-frame { position: relative; min-height: 390px; overflow: hidden; border-radius: 20px; background: #020b14; }
#qr-reader { position: absolute; z-index: 2; inset: 0; overflow: hidden; border: 0 !important; }
#qr-reader video { width: 100% !important; height: 100% !important; object-fit: cover; }
.camera-placeholder { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle, rgba(31,114,187,.24), transparent 48%), #071524; }
.scan-symbol { display: grid; width: 84px; height: 84px; margin-bottom: 19px; place-items: center; color: #6abafa; border: 1px solid rgba(106,186,250,.3); border-radius: 25px; background: rgba(42,126,194,.14); font-size: 38px; }
.camera-placeholder strong { margin-bottom: 6px; font-size: 16px; }
.camera-placeholder small { color: rgba(255,255,255,.47); font-size: 10px; }
.camera-placeholder button { display: inline-flex; margin-top: 22px; align-items: center; gap: 8px; padding: 12px 17px; cursor: pointer; color: #0b3155; border: 0; border-radius: 12px; background: white; font-size: 11px; font-weight: 850; }
.scan-corners { position: absolute; z-index: 5; top: 50%; left: 50%; width: 245px; height: 245px; pointer-events: none; transform: translate(-50%, -50%); }
.scan-corners i { position: absolute; width: 44px; height: 44px; border-color: #fff; border-style: solid; }
.scan-corners i:nth-child(1) { top: 0; left: 0; border-width: 4px 0 0 4px; border-radius: 12px 0 0; }
.scan-corners i:nth-child(2) { top: 0; right: 0; border-width: 4px 4px 0 0; border-radius: 0 12px 0 0; }
.scan-corners i:nth-child(3) { right: 0; bottom: 0; border-width: 0 4px 4px 0; border-radius: 0 0 12px; }
.scan-corners i:nth-child(4) { bottom: 0; left: 0; border-width: 0 0 4px 4px; border-radius: 0 0 0 12px; }
.scan-line { position: absolute; z-index: 5; top: calc(50% - 115px); left: 50%; width: 215px; height: 2px; pointer-events: none; background: linear-gradient(90deg, transparent, #56c4ff, transparent); box-shadow: 0 0 14px #56c4ff; transform: translateX(-50%); animation: scanLine 2.2s ease-in-out infinite; }
@keyframes scanLine { 50% { transform: translate(-50%, 225px); } }
.camera-status { display: flex; padding: 13px 6px 2px; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 700; }
.camera-status span { width: 7px; height: 7px; border-radius: 50%; background: #d39a4d; box-shadow: 0 0 0 4px rgba(211,154,77,.12); }
.camera-status.active span { background: #35cba1; box-shadow: 0 0 0 4px rgba(53,203,161,.12); }
.camera-status.error span { background: #f05d70; box-shadow: 0 0 0 4px rgba(240,93,112,.12); }
.manual-divider { display: flex; align-items: center; gap: 13px; margin: 25px 0 17px; color: rgba(255,255,255,.38); font-size: 9px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.manual-divider::before, .manual-divider::after { height: 1px; content: ""; flex: 1; background: rgba(255,255,255,.1); }
.manual-code { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.manual-code > div { display: flex; height: 52px; align-items: center; gap: 11px; padding: 0 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.07); }
.manual-code > div i { color: #69bafa; }
.manual-code input { width: 100%; color: white; border: 0; outline: 0; background: transparent; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.manual-code input::placeholder { color: rgba(255,255,255,.32); text-transform: none; }
.manual-code > button { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; cursor: pointer; color: #123657; border: 0; border-radius: 14px; background: white; font-size: 11px; font-weight: 850; }
.scanner-trust { display: flex; gap: 13px; align-items: center; margin-top: 20px; padding: 15px; border: 1px solid rgba(72,199,163,.16); border-radius: 16px; background: rgba(30,145,119,.08); }
.scanner-trust > span { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: #4bd0aa; border-radius: 12px; background: rgba(75,208,170,.11); }
.scanner-trust p { margin: 0; color: rgba(255,255,255,.48); font-size: 9px; line-height: 1.5; }
.scanner-trust strong { display: block; margin-bottom: 3px; color: rgba(255,255,255,.86); font-size: 11px; }

@media (max-width: 620px) {
    .scanner-header { min-height: 64px; }
    .scanner-header img { height: 23px; }
    .scanner-main { padding-top: 25px; }
    .camera-frame { min-height: min(92vw, 390px); }
    .scan-corners { width: 220px; height: 220px; }
    .scan-line { top: calc(50% - 102px); width: 194px; }
    @keyframes scanLine { 50% { transform: translate(-50%, 200px); } }
    .manual-code { grid-template-columns: 1fr; }
    .manual-code > button { min-height: 48px; justify-content: center; }
}

/* Nature-aware connected SociiT */
.space-body { --space-one: #1768ab; --space-two: #153f72; --space-soft: #e9f3ff; min-height: 100vh; background: var(--canvas); }
/* Drawers are siblings of the app, so the business palette belongs on the body too. */
.space-body[data-theme="shopping"], .space-app[data-theme="shopping"] { --space-one: #6746bd; --space-two: #3f298f; --space-soft: #f0ecff; }
.space-body[data-theme="fitness"], .space-app[data-theme="fitness"] { --space-one: #087f6b; --space-two: #07594f; --space-soft: #e6f8f3; }
.space-body[data-theme="learning"], .space-app[data-theme="learning"] { --space-one: #ad4925; --space-two: #853519; --space-soft: #fff2e5; }
.space-body[data-theme="subscriptions"], .space-app[data-theme="subscriptions"] { --space-one: #6746bd; --space-two: #3f298f; --space-soft: #f0ecff; }
.space-body[data-theme="services"], .space-app[data-theme="services"] { --space-one: #2367ad; --space-two: #174a91; --space-soft: #e9f3ff; }
.space-body[data-theme="dining"], .space-app[data-theme="dining"] { --space-one: #b6472a; --space-two: #8d332b; --space-soft: #fff0eb; }
.space-body[data-theme="stays"], .space-app[data-theme="stays"] { --space-one: #3d6682; --space-two: #28465f; --space-soft: #eaf3f8; }
.space-body[data-theme="driving"], .space-app[data-theme="driving"] { --space-one: #4c6078; --space-two: #28364b; --space-soft: #eaf0f7; }
.space-app { min-height: 100vh; padding-bottom: calc(165px + env(safe-area-inset-bottom)); }
.space-header { position: relative; z-index: 10; display: grid; width: min(760px, calc(100% - 32px)); height: 76px; margin: 0 auto; grid-template-columns: 44px 1fr 44px; align-items: center; }
.space-header > a:first-child, .space-header > button { display: grid; width: 44px; height: 44px; cursor: pointer; place-items: center; color: #53657a; border: 1px solid #e0e7ef; border-radius: 50%; background: white; }
.space-header > button { font-size: 14px; }
.space-brand { display: inline-flex; justify-content: center; }
.space-brand img { width: auto; height: 26px; }
.space-main { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.space-hero { position: relative; min-height: 258px; overflow: hidden; padding: 34px; color: white; border-radius: 20px; background: linear-gradient(135deg, var(--space-one), var(--space-two)); box-shadow: 0 12px 32px color-mix(in srgb, var(--space-two), transparent 82%); }
.space-hero::before, .space-hero::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.space-hero::before { top: -110px; right: -65px; width: 290px; height: 290px; }
.space-hero::after { right: 90px; bottom: -105px; width: 210px; height: 210px; }
.space-hero-art { position: absolute; right: 55px; bottom: 25px; color: rgba(255,255,255,.13); font-size: 125px; transform: rotate(-7deg); }
.space-identity { position: relative; z-index: 2; max-width: 90%; min-width: 0; }
.space-logo { display: grid; width: 62px; height: 62px; overflow: hidden; margin-bottom: 23px; place-items: center; color: var(--space-two); border: 3px solid rgba(255,255,255,.55); border-radius: 19px; background: white; font-size: 20px; font-weight: 900; }
.space-logo img { width: 100%; height: 100%; object-fit: cover; }
.space-connected { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 8px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.space-identity h1 { margin: 0 0 8px; font-size: clamp(28px, 6vw, 39px); line-height: 1.2; letter-spacing: -.03em; white-space: normal; overflow-wrap: anywhere; }
.space-identity > p { margin: 0 0 14px; color: #fff; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.space-location { display: flex; align-items: flex-start; gap: 8px; color: #fff; font-size: 14px; line-height: 1.5; }
.space-location span { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.space-hours { margin-top: 8px; }
.space-panel { margin-top: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-soft); }
.space-welcome { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.space-welcome > div { max-width: 84%; }
.space-kicker, .space-section-heading span { display: block; margin-bottom: 5px; color: var(--space-two); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.space-welcome h2, .space-section-heading h2 { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.space-welcome p { margin: 10px 0 0; color: #526378; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.space-welcome-icon { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; color: var(--space-one); border-radius: 17px; background: var(--space-soft); font-size: 18px; }
.space-section { margin-top: 31px; }
.space-section-heading { margin-bottom: 15px; }
.space-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.space-action { position: relative; display: flex; min-width: 0; min-height: 156px; cursor: pointer; text-align: left; border: 1px solid var(--line); border-radius: 16px; flex-direction: column; padding: 17px 17px 36px; background: white; overflow-wrap: anywhere; transition: transform .2s, box-shadow .2s, border-color .2s; }
.space-action:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--space-one), white 62%); box-shadow: var(--shadow-soft); }
.space-action > span { display: grid; width: 42px; height: 42px; margin-bottom: auto; place-items: center; color: var(--space-one); border-radius: 13px; background: var(--space-soft); font-size: 16px; }
.space-action strong { margin-top: 18px; font-size: 16px; line-height: 1.4; }
.space-action small { margin-top: 6px; color: #53657b; font-size: 14px; line-height: 1.5; }
.space-action > i { position: absolute; right: 14px; bottom: 15px; color: #a1acba; font-size: 9px; }
.space-action-skeleton { min-height: 148px; border-radius: 19px; background: #e7ecf3; animation: skeletonPulse 1.3s ease-in-out infinite alternate; }
.space-app[data-theme="fitness"] .space-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.space-app[data-theme="fitness"] .space-action { min-width: 0; padding-bottom: 36px; overflow-wrap: anywhere; }
.space-app[data-theme="fitness"] .space-action strong { font-size: 16px; }
.space-app[data-theme="fitness"] .space-action small { font-size: 14px; color: #53657b; }
.space-app[data-theme="fitness"] .space-action:focus-visible { outline: 3px solid #1469cc; outline-offset: 3px; }
@media (min-width: 651px) {
    .space-app[data-theme="fitness"] .space-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@keyframes skeletonPulse { to { opacity: .55; } }
.space-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.space-catalog-search { margin-bottom: 16px; }
.space-catalog-search > label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
.space-catalog-search > div { display: flex; flex-wrap: wrap; gap: 8px; }
.space-catalog-search input { min-width: 140px; min-height: 44px; flex: 1; padding: 10px 12px; border: 1px solid #c8d3df; border-radius: 10px; font: inherit; }
.space-catalog-search button, .space-catalog-pagination button { min-height: 44px; padding: 10px 14px; color: var(--space-two); border: 1px solid #c8d3df; border-radius: 10px; background: #fff; font: inherit; cursor: pointer; }
.space-catalog-pagination { margin-top: 16px; }
.space-catalog-pagination p { color: #526378; font-size: 13px; }
.space-catalog-pagination button:disabled { cursor: wait; opacity: .65; }
.space-catalog-search :focus-visible, .space-catalog-pagination button:focus-visible, .space-catalog-add:focus-visible { outline: 3px solid var(--space-one); outline-offset: 3px; }
.space-catalog-empty { margin: 0; padding: 20px; color: #526378; border: 1px dashed #b4c6d9; border-radius: 16px; background: #fff; font-size: 14px; line-height: 1.6; }
.space-basket-recovery { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 13px; padding: 14px 16px; border: 1px solid #cad6e3; border-radius: 15px; background: #fff; }
.space-basket-recovery[hidden] { display: none; }
.space-basket-recovery p { min-width: 0; flex: 1 1 230px; margin: 0; color: #315f68; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.space-basket-recovery p[data-state="failed"] { color: #9b2940; }
.space-basket-recovery > div { display: flex; flex-wrap: wrap; gap: 8px; }
.space-basket-recovery button { min-height: 44px; padding: 10px 12px; cursor: pointer; color: var(--space-two); border: 1px solid var(--space-one); border-radius: 11px; background: #fff; font: inherit; font-size: 14px; font-weight: 750; }
.space-basket-recovery button:focus-visible { outline: 3px solid #17647d; outline-offset: 2px; }
.space-basket-recovery button:disabled { cursor: wait; opacity: .6; }
.space-catalog-card { display: flex; min-width: 0; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 7px 25px rgba(32,54,83,.035); }
.space-catalog-card.is-offer { border-color: color-mix(in srgb, var(--space-one), white 76%); background: linear-gradient(135deg, #fff, var(--space-soft)); }
.space-catalog-icon { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; color: var(--space-one); border-radius: 13px; background: var(--space-soft); font-size: 15px; }
.space-catalog-copy { min-width: 0; }
.space-catalog-copy > small { display: block; margin: 1px 0 4px; color: var(--space-two); font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; white-space: normal; overflow-wrap: anywhere; }
.space-catalog-copy h3 { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
.space-catalog-copy p { display: -webkit-box; overflow: hidden; margin: 8px 0 0; color: #526378; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.space-catalog-meta { display: flex; min-height: 20px; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.space-catalog-meta strong { color: var(--space-two); font-size: 16px; font-variant-numeric: tabular-nums; }
.space-catalog-meta span { color: #526378; font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
.space-catalog-card.has-product { position: relative; align-items: flex-start; padding-bottom: 65px; }
.space-catalog-photo { width: 72px; height: 72px; flex: 0 0 72px; overflow: hidden; border-radius: 14px; background: var(--space-soft); object-fit: cover; }
.space-catalog-add { position: absolute; right: 14px; bottom: 13px; display: inline-flex; min-width: 94px; min-height: 44px; height: auto; padding: 10px 12px; cursor: pointer; align-items: center; justify-content: center; gap: 7px; color: var(--space-two); border: 1px solid color-mix(in srgb, var(--space-one), white 65%); border-radius: 10px; background: #fff; font-size: 14px; font-weight: 750; }
.space-catalog-add:disabled { cursor: not-allowed; color: #98a3b1; border-color: #e3e9f0; background: #f5f7fa; }
.space-catalog-share { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; padding: 8px 12px; border: 1px solid #647b94; border-radius: 10px; background: #fff; color: #142a45; font-size: 14px; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.space-catalog-share:focus-visible { outline: 3px solid #1767ce; outline-offset: 3px; }
.space-catalog-search { margin-bottom: 16px; }
#spaceServiceHistoryFilters { display: grid; gap: 8px; min-width: 0; }
#spaceServiceHistoryFilters label, #spaceServiceHistoryFilters p { margin: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
#spaceServiceHistoryFilters input, #spaceServiceHistoryFilters button { font-size: 16px; white-space: normal; }
#spaceServiceHistoryFilters select { width: 100%; min-width: 0; min-height: 44px; font-size: 16px; padding: 10px 12px; border: 1px solid #a6b2c2; border-radius: 10px; background: #fff; color: var(--ink); }
.space-catalog-search label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.space-catalog-search > div { display: flex; flex-wrap: wrap; gap: 8px; }
.space-catalog-search input { flex: 1 1 220px; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #a6b2c2; border-radius: 10px; font: inherit; }
.space-catalog-search button, .space-catalog-pagination button, .space-catalog-retry { min-height: 44px; padding: 10px 16px; border: 1px solid #a6b2c2; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; cursor: pointer; }
.space-catalog-search .space-catalog-availability { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 8px 0 0; cursor: pointer; }
.space-catalog-availability input { flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; margin: 0; padding: 0; accent-color: var(--space-one); }
.catalog-availability, .catalog-dietary, .space-catalog-search > .catalog-dietary,
.catalog-accommodation, .space-catalog-search > .catalog-accommodation { display: block; margin-top: 12px; min-width: 0; }
.catalog-availability label, .catalog-accommodation label, .catalog-dietary label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 700; }
.catalog-availability select, .catalog-accommodation select, .catalog-dietary select { display: block; width: 100%; max-width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #9baabe; border-radius: 10px; background: #fff; color: #142a45; font: inherit; font-size: 16px; }
.catalog-availability p, .catalog-accommodation p, .catalog-dietary p { margin: 8px 0 0; color: #44536a; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.catalog-availability select:focus-visible, .catalog-accommodation select:focus-visible, .catalog-dietary select:focus-visible { outline: 3px solid #1767ce; outline-offset: 3px; }
.space-catalog-pagination { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.space-catalog-status { font-size: 14px; line-height: 1.5; color: #44536a; overflow-wrap: anywhere; }
.space-catalog-retry { margin-bottom: 16px; }
.space-catalog-pagination button:disabled { opacity: .55; cursor: default; }
.space-catalog-search :focus-visible, .space-catalog-pagination button:focus-visible, .space-catalog-retry:focus-visible, .space-catalog-add:focus-visible { outline: 3px solid #1767ce; outline-offset: 3px; }
.space-body .space-app .space-catalog-card.has-product { flex-wrap: wrap; padding-bottom: 17px; }
.space-catalog-card.has-product .space-catalog-copy { flex: 1 1 160px; }
.space-body .space-app .space-catalog-card.is-shared .space-catalog-copy h3 { font-size: 16px; white-space: normal; overflow-wrap: anywhere; }
.space-body .space-app .space-catalog-card.is-shared .space-catalog-copy p { display: block; overflow: visible; font-size: 14px; overflow-wrap: anywhere; -webkit-line-clamp: unset; }
.space-catalog-card.is-shared .space-catalog-meta span { white-space: normal; overflow-wrap: anywhere; }
.space-catalog-actions { display: flex; flex-basis: 100%; flex-wrap: wrap; gap: 8px; }
.space-catalog-actions .space-catalog-add { position: static; min-height: 44px; height: auto; padding: 8px 12px; font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
.space-catalog-actions .space-catalog-share { margin-top: 0; }
.space-cart-bar { position: fixed; z-index: 24; right: 50%; bottom: calc(78px + env(safe-area-inset-bottom)); display: flex; width: min(710px, calc(100% - 42px)); min-height: 58px; align-items: center; gap: 14px; padding: 10px 13px 10px 17px; cursor: pointer; color: white; border: 0; border-radius: 17px; background: linear-gradient(135deg, var(--space-one), var(--space-two)); box-shadow: 0 18px 42px color-mix(in srgb, var(--space-two), transparent 55%); transform: translateX(50%); }
.space-cart-bar[hidden] { display: none; }
.space-cart-bar > span:first-child { display: flex; flex: 1; align-items: center; gap: 9px; text-align: left; }
.space-cart-bar > span:first-child i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: rgba(255,255,255,.16); }
.space-cart-bar strong { font-size: 14px; }
.space-cart-bar > span:nth-child(2) { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.space-cart-bar b { display: inline-flex; height: 38px; align-items: center; gap: 8px; padding: 0 13px; color: var(--space-two); border-radius: 11px; background: #fff; font-size: 14px; }
.public-catalog-open { min-height: 44px; width: 100%; margin-top: 12px; white-space: normal; }
.public-catalog .space-drawer-panel { width: min(900px, 100%); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.public-catalog .space-drawer-panel > header button { width: 44px; height: 44px; flex-basis: 44px; font-size: 26px; }
.public-catalog .space-drawer-panel > header p { margin: 0; font-size: 14px; }
.public-catalog-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.public-catalog-share { margin: 16px 0; min-width: 0; }
.public-catalog-share a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-size: 16px; overflow-wrap: anywhere; color: #174d8b; font-weight: 700; text-decoration: underline; }
.public-catalog-share a:focus-visible { outline: 3px solid #1767ce; outline-offset: 3px; }
.public-catalog-share p { margin: 4px 0; color: #44536a; }
.public-catalog input { min-width: 0; width: 100%; flex: 1 1 240px; padding: 12px; border: 1px solid #9baabe; border-radius: 10px; }
.public-catalog button, .public-catalog-choose { min-height: 44px; font-size: 16px; white-space: normal; }
.public-catalog-choose { display: inline-flex; align-items: center; justify-content: center; margin-top: 12px; text-align: center; }
.public-catalog-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 20px; }
.public-catalog-card { min-width: 0; padding: 16px; border: 1px solid #dce3eb; border-radius: 14px; }
.public-catalog-card h3 { font-size: 18px; margin: 0 0 8px; }
.public-catalog-card p { margin: 8px 0; }
.public-catalog-category { color: #526278; }
.catalog-category-selection { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 14px 0; min-width: 0; }
.catalog-category-selection p { margin: 0; flex: 1 1 180px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; color: #142a45; }
.catalog-category-selection button, .catalog-category-browse { min-height: 44px; max-width: 100%; padding: 10px 12px; border: 1px solid #9baabe; border-radius: 10px; background: #fff; color: #174d8b; font: inherit; font-size: 16px; line-height: 1.5; text-align: start; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.catalog-category-selection button:focus-visible, .catalog-category-browse:focus-visible { outline: 3px solid #1767ce; outline-offset: 3px; }
.public-catalog-price { display: block; margin-top: 12px; }
.public-catalog-unavailable { font-weight: 700; }
@media (min-width: 700px) {
    .public-catalog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.space-drawer[hidden] { display: none; }
.space-drawer { position: fixed; z-index: 100; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.space-drawer-backdrop { position: absolute; inset: 0; width: 100%; cursor: pointer; border: 0; background: rgba(7,20,55,.58); backdrop-filter: blur(3px); }
.space-drawer-panel { position: relative; z-index: 1; width: min(720px, 100%); max-height: min(88vh, 820px); max-height: min(92dvh, 900px); overflow: auto; overscroll-behavior: contain; scroll-padding-block: 20px; padding: 24px 24px calc(25px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; background: #fff; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; box-shadow: 0 -20px 60px rgba(7,20,55,.2); }
.space-drawer-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.space-drawer-panel > header > div { min-width: 0; }
.space-drawer-panel > header span { color: var(--space-two); font-size: 12px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.space-drawer-panel > header h2 { margin: 6px 0 0; color: var(--ink); font-size: 24px; line-height: 1.3; letter-spacing: -.025em; }
.space-drawer-panel > header button { display: grid; width: 44px; height: 44px; flex: 0 0 44px; cursor: pointer; place-items: center; color: #526378; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.marketplace-order-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.marketplace-order-filters button { min-height: 44px; flex: 1 1 120px; padding: 9px 14px; cursor: pointer; color: #314358; border: 1px solid #cad6e3; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 750; }
.marketplace-order-filters button[aria-pressed="true"] { color: #fff; border-color: #173c63; background: #173c63; }
.marketplace-order-filters button:focus-visible { outline: 3px solid #17647d; outline-offset: 2px; }
.marketplace-order-filters button:disabled { cursor: wait; opacity: .7; }
.marketplace-order-lookup { display: grid; gap: 8px; margin: 0 0 18px; }
.marketplace-order-lookup label { color: var(--ink); font-size: 14px; font-weight: 800; }
.marketplace-order-lookup label span { display: block; margin-top: 3px; color: #66788c; font-size: 14px; font-weight: 500; }
.marketplace-order-lookup > div { display: flex; flex-wrap: wrap; gap: 8px; }
.marketplace-order-lookup input { min-width: 0; min-height: 48px; flex: 1 1 190px; padding: 12px; border: 1px solid #a6b2c2; border-radius: 12px; font: inherit; font-size: 16px; }
.marketplace-order-lookup button { min-height: 44px; padding: 9px 12px; cursor: pointer; color: #fff; border: 1px solid #173c63; border-radius: 12px; background: #173c63; font: inherit; font-size: 14px; font-weight: 750; }
.marketplace-order-lookup button[id$="Clear"] { color: #173c63; background: #fff; }
.marketplace-order-lookup input:focus-visible, .marketplace-order-lookup button:focus-visible { outline: 3px solid #17647d; outline-offset: 2px; }
.marketplace-order-lookup button:disabled { cursor: wait; opacity: .7; }
.marketplace-order-lookup > p { min-height: 1.4em; margin: 0; color: #315f68; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.marketplace-order-lookup > p[data-state="failure"], .marketplace-order-lookup > p[data-state="empty"] { color: #9b2940; }
.marketplace-order-reference { overflow-wrap: anywhere; }
.space-cart-items, .space-order-list { display: grid; gap: 10px; }
.space-cart-review { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.space-cart-review p { flex: 1; min-width: 0; margin: 0; color: #53657a; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.space-cart-review p[data-state="failed"], .space-cart-review p[data-state="changed"] { color: #9b2940; }
.space-cart-review button { min-height: 44px; padding: 9px 13px; cursor: pointer; color: var(--space-one); border: 1px solid var(--space-one); border-radius: 11px; background: #fff; font: inherit; font-size: 14px; font-weight: 800; }
.space-cart-review button:focus-visible, .space-cart-quantity button:focus-visible { outline: 3px solid #17647d; outline-offset: 2px; }
.space-cart-review button:disabled, .space-cart-quantity button:disabled { cursor: wait; opacity: .6; }
.space-cart-row, .space-order-row { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid #e5eaf0; border-radius: 15px; background: #fbfcfe; }
.space-cart-row > div:first-of-type, .space-order-copy { min-width: 0; flex: 1; }
.space-cart-row h3, .space-order-row h3 { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
.space-cart-row p, .space-order-row p { margin: 6px 0 0; color: #526378; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.space-cart-quantity { display: flex; align-items: center; gap: 8px; }
.space-cart-quantity button { display: grid; min-width: 44px; min-height: 44px; cursor: pointer; place-items: center; color: var(--space-one); border: 1px solid #dfe6ee; border-radius: 9px; background: #fff; }
.space-cart-quantity .space-cart-remove { width: auto; padding: 0 12px; font: inherit; font-size: 14px; font-weight: 800; }
.space-cart-quantity strong { min-width: 18px; text-align: center; font-size: 14px; }
.space-cart-totals { margin: 16px 0; padding: 14px 16px; border-radius: 15px; background: var(--space-soft); }
.space-cart-totals p { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 10px; justify-content: space-between; color: #526378; font-size: 14px; overflow-wrap: anywhere; }
.space-cart-totals strong { font-variant-numeric: tabular-nums; }
.space-cart-totals p:last-child { margin: 14px 0 0; padding-top: 14px; color: var(--ink); border-top: 1px solid color-mix(in srgb, var(--space-one), white 75%); font-size: 18px; }
.space-checkout-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.space-checkout-form label { display: grid; min-width: 0; gap: 8px; color: #34465d; font-size: 14px; font-weight: 700; }
.space-checkout-wide, .space-dining-table, .space-delivery-fields, .space-online-confirmation, .space-payment-note, .space-payment-state, .space-place-order { grid-column: 1 / -1; }
.space-checkout-form input, .space-checkout-form select, .space-checkout-form textarea { width: 100%; min-width: 0; padding: 12px 13px; color: var(--ink); border: 1px solid #a6b2c2; border-radius: 11px; background: #fff; font: inherit; font-size: 16px; box-sizing: border-box; }
.space-checkout-form input:not([type="checkbox"]):not([type="radio"]), .space-checkout-form select { min-height: 48px; }
.space-checkout-form textarea { min-height: 96px; resize: vertical; }
.space-checkout-form input:focus, .space-checkout-form select:focus, .space-checkout-form textarea:focus { border-color: var(--space-one); box-shadow: 0 0 0 3px color-mix(in srgb, var(--space-one), transparent 88%); }
.space-checkout-form small { color: #526378; font-size: 13px; font-weight: 500; line-height: 1.5; }
.space-checkout-form .space-dining-table { font-size: 14px; }
.space-dining-table input { min-height: 44px; }
.space-dining-table small { font-size: 14px; line-height: 1.45; }
.space-service-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 13px; border: 1px solid #e1e8ef; border-radius: 14px; background: var(--space-soft); }
.space-service-summary > div { display: grid; min-width: 0; gap: 4px; }
.space-service-summary strong { color: var(--ink); font-size: 16px; white-space: normal; overflow-wrap: anywhere; }
.space-service-summary small { color: #526378; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.space-service-request-form label:nth-of-type(3), .space-service-request-form label:nth-of-type(4), .space-service-request-form label:nth-of-type(5) { grid-column: 1 / -1; }
.space-service-request-form .space-place-order { min-height: 50px; }
.space-service-history-note { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 11px 12px; color: #5f7085; border-radius: 11px; background: var(--space-soft); font-size: 14px; line-height: 1.5; }
.space-service-history-note i { margin-top: 2px; color: var(--space-one); }
.space-service-history-row .space-order-copy > p { overflow-wrap: anywhere; }
.space-service-history-status { display: inline-flex; width: fit-content; margin-top: 6px !important; padding: 4px 7px; color: #425f79 !important; border-radius: 7px; background: #e9f2f9; font-weight: 800; }
.space-service-history-status[data-state="completed"], .space-service-history-status[data-state="confirmed"], .space-service-history-status[data-state="review_approved"] { color: #166342 !important; background: #eaf8f0; }
.space-service-history-status[data-state="cancelled"], .space-service-history-status[data-state="review_not_approved"], .space-service-history-status[data-state="review_required"] { color: #9b2940 !important; background: #fff0f3; }
.space-delivery-fields { display: grid; gap: 10px; }
.space-delivery-fields[hidden] { display: none; }
.space-delivery-pin { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 12px; border: 1px solid #dfe6ee; border-radius: 12px; }
.space-delivery-pin legend { padding: 0 5px; color: #53657a; font-size: 14px; font-weight: 850; }
.space-delivery-pin > p { margin: 0; color: #526378; font-size: 14px; line-height: 1.5; }
.space-delivery-pin > button { min-height: 44px; padding: 10px 12px; cursor: pointer; color: var(--space-two); border: 1px solid color-mix(in srgb, var(--space-one), white 65%); border-radius: 10px; background: var(--space-soft); font-size: 14px; font-weight: 750; }
.space-delivery-pin > button:disabled { cursor: wait; opacity: .65; }
.space-delivery-coordinates { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.space-location-confirm { display: flex !important; min-height: 44px; align-items: flex-start; gap: 9px !important; padding: 12px; border-radius: 10px; background: #f7f9fb; }
.space-location-confirm input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--space-one); }
.space-location-confirm span { line-height: 1.5; }
.space-location-state[data-state="failed"] { color: #9b2940; }
.space-location-state[data-state="ready"] { color: #166342; }
.space-delivery-window-refresh { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 9px 12px; padding: 10px 12px; border: 1px solid #dfe6ee; border-radius: 12px; background: #f9fbfd; }
.space-delivery-window-refresh > p { flex: 1 1 180px; min-width: 0; margin: 0; color: #617187; font-size: 14px; line-height: 1.5; }
.space-delivery-window-refresh > button { min-height: 44px; padding: 0 13px; cursor: pointer; color: var(--space-two); border: 1px solid color-mix(in srgb, var(--space-one), white 65%); border-radius: 10px; background: #fff; font-size: 14px; font-weight: 800; }
.space-delivery-window-refresh > button:disabled { cursor: wait; opacity: .65; }
.space-delivery-window-refresh > button:focus-visible { outline: 3px solid var(--space-one); outline-offset: 2px; }
.space-delivery-windows { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 12px; border: 1px solid #dfe6ee; border-radius: 12px; background: #f9fbfd; }
.space-delivery-windows legend { padding: 0 5px; color: #53657a; font-size: 14px; font-weight: 850; }
.space-delivery-windows > p { margin: 0; color: #526378; font-size: 14px; line-height: 1.5; }
.space-delivery-window-state[data-state="failed"] { color: #9b2940; }
.space-delivery-window-list { display: grid; gap: 7px; max-height: 260px; margin: 0; padding: 0 3px 0 0; overflow: auto; list-style: none; }
.space-delivery-window-list[hidden] { display: none; }
.space-delivery-window-list li { display: grid; gap: 3px; padding: 9px 10px; border: 1px solid #e3e9f0; border-radius: 10px; background: #fff; }
.space-delivery-window-list label { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 9px; min-height: 44px; cursor: pointer; }
.space-delivery-window-list label > span { display: grid; gap: 3px; min-width: 0; }
.space-delivery-window-list input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--space-one); }
.space-delivery-window-list li:has(input:checked) { border-color: var(--space-one); background: var(--space-soft); box-shadow: 0 0 0 2px color-mix(in srgb, var(--space-one), transparent 88%); }
.space-delivery-window-list li:focus-within { outline: 3px solid rgba(32, 91, 177, .22); outline-offset: 2px; }
.space-delivery-window-list strong { color: var(--ink); font-size: 14px; }
.space-delivery-window-list span { color: #617187; font-size: 14px; line-height: 1.45; }
.space-payment-note { display: flex; margin: 0; align-items: flex-start; gap: 8px; padding: 11px 12px; color: #526378; border-radius: 11px; background: #f4f7fa; font-size: 14px; line-height: 1.5; }
.space-payment-note i { margin-top: 2px; color: var(--space-one); }
.space-online-confirmation { display: flex !important; min-height: 44px; align-items: flex-start; gap: 9px !important; padding: 12px; border: 1px solid #dce5ee; border-radius: 11px; background: #fbfcfe; }
.space-online-confirmation[hidden] { display: none !important; }
.space-online-confirmation input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--space-one); }
.space-online-confirmation span { line-height: 1.5; }
.space-online-confirmation:focus-within, .space-place-order:focus-visible { outline: 3px solid #17647d; outline-offset: 2px; }
.space-payment-state { margin: 0; padding: 11px 12px; color: #42566f; border: 1px solid #d8e5f2; border-radius: 11px; background: #f5f9fd; font-size: 14px; font-weight: 750; line-height: 1.5; }
.space-payment-state[data-state="failed"], .space-payment-state[data-state="review_required"] { color: #9b2940; border-color: #f0cbd2; background: #fff5f7; }
.space-payment-state[data-state="verification_pending"] { color: #166342; border-color: #bde4cf; background: #f1fbf6; }
.space-payment-state[data-state="verified"] { color: #166342; border-color: #bde4cf; background: #f1fbf6; }
.space-service-payment-totals { display: grid; gap: 12px; margin: 0 0 20px; padding: 16px; color: var(--ink); border: 1px solid #d8e5f2; border-radius: 14px; background: var(--space-soft); }
.space-service-payment-totals div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; min-width: 0; }
.space-service-payment-totals dt { color: #42566f; font-size: 14px; line-height: 1.5; }
.space-service-payment-totals dd { margin: 0; overflow-wrap: anywhere; font-size: 16px; font-weight: 750; line-height: 1.5; }
.space-service-payment-totals div:last-child { padding-top: 12px; border-top: 1px solid #c4d3e3; }
#spaceServicePaymentForm { display: grid; gap: 16px; }
.space-service-payment-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.space-service-payment-actions button { min-height: 44px; }
.space-service-payment-summary { overflow-wrap: anywhere; line-height: 1.6; }
.space-place-order { display: flex; min-height: 52px; cursor: pointer; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 14px 17px; color: white; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--space-one), var(--space-two)); font-size: 16px; font-weight: 750; }
.space-place-order:disabled { cursor: wait; opacity: .65; }
.space-order-row { align-items: flex-start; }
.space-order-confirmation { margin-bottom: 14px; padding: 14px 16px; color: #20523e; border: 1px solid #b8ddc6; border-radius: 14px; background: #f0faf3; overflow-wrap: anywhere; }
.space-order-confirmation:focus-visible { outline: 3px solid #17647d; outline-offset: 2px; }
.space-order-confirmation h3 { margin: 0; color: #145337; font-size: 17px; }
.space-order-confirmation p { margin: 7px 0 0; font-size: 14px; line-height: 1.5; }
.space-order-confirmation .space-order-reference { font-weight: 800; }
.space-order-confirmation .space-order-checkout-notice { padding: 8px 10px; color: #70491c; border-radius: 8px; background: #fff4d9; }
.space-order-confirmation-refresh { display: block; width: 100%; min-height: 44px; margin-top: 12px; padding: 9px 12px; color: #145337; border: 1px solid #75ae8b; border-radius: 9px; background: #fff; font: inherit; font-size: 14px; font-weight: 800; text-align: center; cursor: pointer; }
.space-order-confirmation-refresh:focus-visible { outline: 3px solid #17647d; outline-offset: 2px; }
.space-order-confirmation-refresh:disabled { opacity: .65; cursor: wait; }
.space-order-confirmation-pay { color: #fff; border-color: #145337; background: #145337; }
.space-order-confirmation-cancel { color: #9b3434; border-color: #d9a7aa; background: #fff7f7; }
.space-order-confirmation .space-order-confirmation-state { margin-top: 9px; color: #225740; font-weight: 700; }
.space-order-confirmation .space-order-confirmation-state[data-state="failure"] { color: #9b3434; }
.space-order-confirmation-tracking { margin-top: 8px; }
.space-order-row:focus-visible, .marketplace-order-card:focus-visible { outline: 3px solid #17647d; outline-offset: 2px; }
.space-order-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; color: var(--space-one); border-radius: 12px; background: var(--space-soft); }
.space-order-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.space-order-meta span { padding: 5px 7px; color: #65758a; border-radius: 8px; background: #edf2f7; font-size: 14px; font-weight: 750; }
.order-price-details { min-width: 0; margin-top: 10px; border: 1px solid #dce7ee; border-radius: 10px; background: #fff; }
.order-price-details summary { display: flex; min-height: 44px; align-items: center; padding: 8px 11px; box-sizing: border-box; cursor: pointer; color: #17647d; font-size: 14px; font-weight: 750; list-style: none; }
.order-price-details summary::-webkit-details-marker { display: none; }
.order-price-details summary::after { content: '▾'; margin-left: auto; padding-left: 8px; font-size: 16px; }
.order-price-details[open] summary::after { content: '▴'; }
.order-price-details summary:focus-visible { outline: 3px solid #17647d; outline-offset: 2px; }
.order-price-body { padding: 0 11px 11px; }
.order-price-lines { display: grid; gap: 7px; margin: 0 0 9px; padding: 0; list-style: none; }
.order-price-line, .order-price-row { display: flex; min-width: 0; gap: 10px; align-items: start; justify-content: space-between; overflow-wrap: anywhere; font-size: 14px; line-height: 1.45; }
.order-price-description { min-width: 0; }
.order-price-description strong, .order-price-description small { display: block; }
.order-price-description small { color: #687b8e; font-size: 14px; }
.order-price-line-total { flex: 0 0 auto; font-weight: 700; }
.order-price-totals { display: grid; gap: 5px; margin: 0; padding-top: 9px; border-top: 1px solid #e7edf3; }
.order-price-row dt, .order-price-row dd { margin: 0; }
.order-price-total { padding-top: 6px; border-top: 1px solid #e7edf3; font-weight: 800; }
.order-price-body .order-price-unavailable, .order-price-body .order-price-payment, .order-price-body .order-price-note { margin: 8px 0 0; color: #52677c; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.order-price-body .order-price-note { color: #526378; }
.order-payment-summary { min-width: 0; margin-top: 9px; padding: 10px 11px; border: 1px solid #cbdce9; border-radius: 10px; background: #f5f9fc; overflow-wrap: anywhere; }
.order-payment-summary strong { display: block; color: #214760; font-size: 14px; }
.order-payment-summary p { margin: 5px 0 0 !important; color: #35556a !important; font-size: 14px !important; line-height: 1.5 !important; }
.order-payment-summary small { display: block; margin-top: 5px; color: #61798a; font-size: 14px; line-height: 1.45; }
.order-customer-note { min-width: 0; margin-top: 10px; padding: 10px 11px; border: 1px solid #dce7ee; border-radius: 10px; background: #f7fafc; overflow-wrap: anywhere; }
.order-customer-note strong { display: block; color: #284a60; font-size: 14px; }
.order-customer-note p { margin: 5px 0 0; color: #415b71; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.order-delivery-context, .order-collection-context { min-width: 0; margin-top: 9px; padding: 10px 11px; border: 1px solid #d7e5dd; border-radius: 10px; background: #f5fbf7; overflow-wrap: anywhere; }
.order-delivery-context strong, .order-collection-context strong { display: block; color: #14553d; font-size: 14px; }
.order-delivery-context p, .order-collection-context p { margin: 5px 0 0 !important; color: #355a4a !important; font-size: 14px !important; line-height: 1.5 !important; }
.order-delivery-tracking { margin-top: 9px; border-left: 3px solid var(--space-one, #1986d8); border-radius: 0 9px 9px 0; padding: 8px 10px; color: #53657a; background: #f1f7fb; }
.order-delivery-tracking strong { display: block; color: #2b435d; font-size: 14px; }
.order-delivery-tracking p { margin: 3px 0 0 !important; font-size: 14px !important; line-height: 1.45; }
.order-delivery-tracking ol { display: flex; margin: 7px 0 0; padding: 0; flex-wrap: wrap; gap: 5px; list-style: none; }
.order-delivery-tracking li { padding: 5px 7px; color: #53657a; border-radius: 7px; background: #fff; font-size: 14px; font-weight: 750; }
.order-delivery-confirmation { margin-top: 8px; padding: 8px; border: 1px solid rgba(25, 134, 216, .3); border-radius: 8px; background: #fff; }
.order-delivery-confirmation strong { font-size: 14px; }
.order-delivery-confirmation code { display: block; margin: 5px 0; color: #173f69; font-size: clamp(16px, 5vw, 22px); font-weight: 850; letter-spacing: .18em; }
.order-delivery-confirmation p { margin: 0 !important; font-size: 14px !important; line-height: 1.4; }
.order-pickup-confirmation { margin-top: 8px; padding: 10px; border: 1px solid rgba(22, 101, 52, .28); border-radius: 8px; background: #f0fdf4; }
.order-pickup-confirmation strong { display: block; margin-bottom: 5px; color: #14532d; font-size: 14px; }
.order-pickup-confirmation p { margin: 6px 0 0 !important; color: #365542; font-size: 14px !important; line-height: 1.45; }
.order-pickup-confirmation button { width: 100%; min-height: 44px; padding: 9px 12px; border: 0; border-radius: 8px; background: #166534; color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.order-pickup-confirmation button:disabled { opacity: .62; cursor: wait; }
.order-delivery-failure { margin-top: 8px; padding: 8px; border: 1px solid #f1c7bd; border-radius: 8px; background: #fff8f6; color: #7a271a; }
.order-delivery-failure strong { color: #7a271a; font-size: 14px; }
.order-delivery-failure p { overflow-wrap: anywhere; line-height: 1.45; }
.order-dining-failure-notice { padding: 12px; font-size: 14px; line-height: 1.5; }
.order-dining-failure-notice strong { font-size: 14px; }
.order-dining-failure-notice p { margin: 7px 0 0; }
.order-dispatch-help { display: grid; gap: 8px; margin-top: 10px; border-top: 1px solid rgba(28, 87, 94, .18); padding-top: 10px; }
.order-dispatch-help label { display: grid; gap: 5px; font-size: 14px; font-weight: 800; }
.order-dispatch-help select { width: 100%; min-height: 48px; border: 1px solid #b9cbd2; border-radius: 9px; padding: 9px 10px; color: #15233b; background: #fff; font-size: 14px; }
.order-dispatch-help button { min-height: 48px; border: 0; border-radius: 9px; padding: 9px 11px; color: #fff; background: #315f68; font-size: 14px; font-weight: 800; }
.order-dispatch-help button:disabled { opacity: .58; }
.order-dispatch-help small, .order-dispatch-help p { margin: 0 !important; color: #587079; font-size: 14px !important; line-height: 1.45; }
.order-dispatch-help p.error { color: #a1262f; }
.order-dispatch-help .order-dispatch-help-refresh { border: 1px solid #aac2c7; color: #315f68; background: #fff; }
.space-order-cancel { padding: 7px 9px; cursor: pointer; color: #c83b52; border: 1px solid #f0cbd2; border-radius: 9px; background: #fff5f7; font-size: 14px; font-weight: 800; }
.space-order-pay { padding: 7px 9px; cursor: pointer; color: var(--space-two); border: 1px solid color-mix(in srgb, var(--space-one), white 65%); border-radius: 9px; background: var(--space-soft); font-size: 14px; font-weight: 800; }
.space-order-pay:disabled { cursor: wait; opacity: .65; }
.space-order-document-state, .marketplace-order-document-state { margin-top: 8px !important; padding: 7px 9px; color: #53657a !important; border-radius: 9px; background: #edf4fb; font-size: 14px !important; line-height: 1.45; }
.space-order-document-state[data-state="review_required"], .space-order-document-state[data-state="failure"], .marketplace-order-document-state[data-state="review_required"], .marketplace-order-document-state[data-state="failure"] { color: #9b2940 !important; background: #fff0f3; }
.space-order-repeat-state { margin: 8px 0 0 !important; padding: 8px 10px; color: #315f68 !important; border-radius: 9px; background: #e9f5f4; font-size: 14px !important; line-height: 1.45; overflow-wrap: anywhere; }
.space-order-repeat-state[data-state="failure"], .space-order-repeat-state[data-state="unavailable"] { color: #9b2940 !important; background: #fff0f3; }
.space-order-actions { display: flex; width: 100%; padding-left: 52px; flex-wrap: wrap; gap: 7px; box-sizing: border-box; }
.space-order-actions button, .marketplace-order-actions button { min-height: 44px; font-size: 14px; }
.space-order-actions button:focus-visible, #spaceCheckoutTitle:focus-visible { outline: 3px solid #17647d; outline-offset: 2px; }
.order-tracking-refresh-status { margin: 8px 0 0 !important; padding: 8px 10px; color: #315f68 !important; border-radius: 9px; background: #e9f5f4; font-size: 14px !important; line-height: 1.45; }
.order-tracking-refresh-status[data-state="failure"] { color: #9b2940 !important; background: #fff0f3; }
.order-payment-resume-status { margin: 8px 0 0 !important; padding: 8px 10px; color: #315f68 !important; border-radius: 9px; background: #e9f5f4; font-size: 14px !important; line-height: 1.45; }
.order-payment-resume-status[data-state="failure"] { color: #9b2940 !important; background: #fff0f3; }
.space-drawer-empty { margin: 12px 0; padding: 28px 18px; color: #526378; border: 1px dashed #b4c6d9; border-radius: 15px; background: #f8fafc; text-align: center; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.marketplace-orders-drawer { --space-one: var(--blue); --space-two: #075da8; --space-soft: var(--blue-soft); }
.marketplace-order-list { display: grid; gap: 11px; }
.marketplace-order-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px; border: 1px solid #e4eaf1; border-radius: 16px; background: #fbfcfe; }
.marketplace-order-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--blue); border-radius: 12px; background: var(--blue-soft); }
.marketplace-order-copy { min-width: 0; }
.marketplace-order-copy h3 { margin: 0 0 6px; color: var(--ink); font-size: 16px; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
.marketplace-order-copy > p { margin: 0; color: #526378; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.marketplace-order-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.marketplace-order-meta span { padding: 5px 7px; color: #5f7085; border-radius: 8px; background: #edf2f7; font-size: 14px; font-weight: 750; }
.marketplace-order-total { color: var(--ink); font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.marketplace-order-actions { display: flex; grid-column: 2 / -1; flex-wrap: wrap; gap: 8px; }
.marketplace-order-actions button { padding: 8px 10px; cursor: pointer; border: 1px solid #dce5ee; border-radius: 9px; background: #fff; font-size: 14px; font-weight: 800; }
.marketplace-order-actions .cancel { color: #c83b52; border-color: #f0cbd2; background: #fff5f7; }
.marketplace-order-actions .payment-resume { color: #fff; border-color: #12617a; background: #12617a; }
.marketplace-order-actions button:disabled { cursor: wait; opacity: .65; }
.space-about { margin-top: 30px; }
.space-contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.space-contact-row button { display: flex; min-width: 0; min-height: 44px; align-items: center; gap: 11px; padding: 14px; cursor: pointer; text-align: left; border: 1px solid #e4eaf1; border-radius: 15px; background: #f9fbfd; }
.space-contact-row button > i { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: var(--space-one); border-radius: 12px; background: var(--space-soft); }
.space-contact-row strong, .space-contact-row small { display: block; overflow-wrap: anywhere; }
.space-contact-row strong { margin-bottom: 3px; font-size: 15px; }
.space-contact-row small { color: #536277; font-size: 14px; }
.space-powered { display: flex; justify-content: center; gap: 7px; align-items: center; margin: 27px 0 0; color: #9aa5b3; font-size: 14px; font-weight: 700; }
.space-powered img { width: auto; height: 13px; filter: grayscale(1); opacity: .6; }
.space-nav { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: grid; max-width: 760px; min-height: calc(72px + env(safe-area-inset-bottom)); margin: 0 auto; grid-template-columns: 1fr 1fr 76px 1fr 1fr; align-items: center; padding: 4px 6px env(safe-area-inset-bottom); border: 1px solid #e1e8f0; border-bottom: 0; border-radius: 24px 24px 0 0; background: rgba(255,255,255,.96); box-shadow: 0 -10px 35px rgba(29,50,78,.09); backdrop-filter: blur(16px); }
.space-nav > a:not(.space-nav-market), .space-nav > button { display: flex; min-width: 0; height: 58px; cursor: pointer; color: #526378; border: 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: transparent; font-size: 18px; }
.space-nav span { font-size: 12px; font-weight: 750; }
.space-nav .active { color: var(--space-two) !important; }
.space-nav-market { display: grid; width: 58px; height: 58px; margin: -29px auto 0; place-items: center; color: white; border: 5px solid #f4f7fb; border-radius: 20px; background: linear-gradient(140deg, var(--space-one), var(--space-two)); box-shadow: 0 12px 27px color-mix(in srgb, var(--space-two), transparent 66%); font-size: 19px; font-weight: 900; transform: rotate(45deg); }
.space-nav-market i { transform: rotate(-45deg); }
.space-error { display: grid; min-height: 100vh; padding: 30px; place-items: center; align-content: center; text-align: center; }
.space-error > span { display: grid; width: 75px; height: 75px; margin-bottom: 20px; place-items: center; color: #74869c; border-radius: 23px; background: #e5ebf2; font-size: 27px; }
.space-error h2 { margin: 0 0 8px; }
.space-error p { margin: 0 0 17px; color: #718096; font-size: 14px; }
.space-error a { padding: 12px 16px; color: white; border-radius: 12px; background: var(--navy-2); font-size: 14px; font-weight: 850; }

@media (max-width: 650px) {
    .space-cart-row { flex-wrap: wrap; }
    .space-cart-row > div:first-of-type { flex-basis: 100%; }
    .space-cart-row h3 { white-space: normal; overflow-wrap: anywhere; }
    .space-cart-quantity { width: 100%; justify-content: flex-end; }
    .space-main, .space-header { width: calc(100% - 28px); }
    .space-app { padding-bottom: calc(225px + env(safe-area-inset-bottom)); }
    .space-hero { min-height: 235px; padding: 24px; border-radius: 16px; }
    .space-hero-art { right: 18px; bottom: 27px; font-size: 95px; }
    .space-identity { max-width: 100%; }
    .space-logo { width: 55px; height: 55px; margin-bottom: 20px; border-radius: 17px; }
    .space-identity h1 { font-size: 27px; }
    .space-panel { padding: 20px; border-radius: 16px; }
    .space-welcome h2, .space-section-heading h2 { font-size: 21px; }
    .space-welcome p { font-size: 14px; }
    .space-welcome-icon { width: 46px; height: 46px; flex-basis: 46px; }
    .space-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .space-action, .space-action-skeleton { min-height: 138px; }
    .space-catalog-grid { grid-template-columns: 1fr; gap: 10px; }
    .space-basket-recovery > div, .space-basket-recovery button { width: 100%; }
    .space-catalog-card { padding: 15px; border-radius: 17px; }
    .space-catalog-card.has-product { padding-bottom: 65px; }
    .space-catalog-photo { width: 62px; height: 62px; flex-basis: 62px; }
    .space-cart-bar { bottom: calc(78px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; width: calc(100% - 28px); padding: 12px; border-radius: 14px; }
    .space-cart-bar > span:nth-child(2) { display: block; max-width: 150px; text-align: end; }
    .space-cart-bar b { grid-column: 1 / -1; justify-content: center; min-height: 44px; height: auto; padding: 10px; }
    .space-cart-review { align-items: stretch; flex-direction: column; }
    .space-drawer-panel { max-height: 91vh; max-height: 95dvh; padding: 20px 16px calc(24px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
    .marketplace-order-card { grid-template-columns: 38px minmax(0, 1fr); padding: 12px; }
    .marketplace-order-icon { width: 38px; height: 38px; }
    .marketplace-order-total { grid-column: 2; }
    .marketplace-order-actions { grid-column: 2; }
    .space-checkout-form { grid-template-columns: minmax(0, 1fr); }
    .space-checkout-form label, .space-checkout-wide, .space-dining-table, .space-delivery-fields, .space-online-confirmation, .space-payment-note, .space-payment-state, .space-place-order { grid-column: 1; }
    .space-service-request-form label:nth-of-type(5) { grid-column: 1; }
    .space-delivery-coordinates { grid-template-columns: 1fr; }
    .space-delivery-window-refresh > button { width: 100%; }
    .space-contact-row { grid-template-columns: 1fr; }
    .space-contact-row button { padding: 12px; }
    .space-nav { border-right: 0; border-left: 0; border-radius: 21px 21px 0 0; }
}

/* Compact Rider-native marketplace ------------------------------------------ */
.marketplace-container { width: min(1240px, calc(100% - 40px)); }
.header-inner { min-height: 68px; }
.profile-button, .account-avatar { background: linear-gradient(140deg, #1469cc, #084f9d); }
.marketplace-main { padding-top: 22px; }
.welcome-block {
    min-height: 170px;
    padding: 30px 36px;
    border-radius: 16px;
    background: linear-gradient(125deg, #1469cc 0%, #084f9d 100%);
    box-shadow: 0 10px 30px rgba(27, 132, 255, .2);
}
.welcome-copy h1 { font-size: clamp(28px, 3.3vw, 40px); }
.welcome-copy h1 > span:first-child, .welcome-copy .eyebrow { color: #d9ebff; }
.welcome-copy > p:last-child { margin-top: 12px; color: #e8f2ff; font-size: 14px; line-height: 1.6; }
.welcome-orbit { width: 145px; height: 145px; }
.orbit-center { inset: 45px; color: var(--blue); }
.search-wrap { width: min(680px, calc(100% - 40px)); height: 54px; margin-top: -20px; border-radius: 12px; box-shadow: var(--shadow); }
.quick-actions { gap: 12px; margin: 22px 0 34px; }
.quick-action { min-height: 86px; padding: 16px; border-radius: 14px; }
.quick-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; }
.scan-action { background: linear-gradient(135deg, #1469cc, #084f9d); }
.content-section { margin-bottom: 34px; }
.section-heading { margin-bottom: 14px; }
.section-heading h2 { font-size: 20px; }
.connected-track { grid-auto-columns: minmax(250px, 30%); gap: 12px; }
.connected-card { min-height: 180px; padding: 20px; border-radius: 16px; }
.connected-card::after { right: 14px; bottom: 8px; font-size: 58px; }
.connected-logo { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; }
.connected-title h3 { font-size: 14px; }
.connected-title p, .connected-meta span { font-size: 9px; }
.card-menu { width: 28px; height: 28px; }
.open-business { gap: 5px; padding: 8px 10px; font-size: 9px; }
.connected-empty { min-height: 112px; padding: 17px; border-radius: 14px; }
.connected-empty > span { width: 46px; height: 46px; flex-basis: 46px; border-radius: 11px; }
.qr-banner { gap: 18px; margin-bottom: 34px; padding: 20px 24px; border-radius: 14px; background: #071437; }
.qr-pattern { width: 58px; height: 58px; border-radius: 12px; font-size: 29px; }
.qr-copy h2 { font-size: 17px; }
.category-scroll { margin-bottom: 15px; }
.category-chip { padding: 8px 11px; font-size: 10px; }
.category-chip.active { border-color: var(--blue); background: var(--blue); box-shadow: none; }
.business-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.marketplace-pagination { padding-top: 16px; }
.business-card { border-radius: 14px; box-shadow: 0 1px 3px rgba(7, 20, 55, .04); }
.business-card:hover { transform: translateY(-2px); }
.business-cover { height: 142px; }
.cover-glyph { font-size: 30px; }
.nature-badge { top: 9px; left: 9px; padding: 5px 8px; font-size: 7px; }
.distance-badge { right: 9px; bottom: 8px; padding: 5px 7px; font-size: 8px; }
.business-body { padding: 12px; }
.business-body h3 { margin-bottom: 4px; font-size: 13px; }
.business-description { min-height: 30px; margin-bottom: 8px; font-size: 9px; line-height: 1.45; }
.business-address { margin-bottom: 9px; font-size: 8px; }
.business-category { font-size: 8px; }
.connect-button { gap: 5px; padding: 8px 10px; border-radius: 8px; font-size: 9px; background: var(--blue); }
.connected-skeleton { min-height: 180px; border-radius: 16px; }
.business-skeleton { min-height: 320px; border-radius: 14px; }

@media (max-width: 1050px) {
    .marketplace-container { width: min(100% - 30px, 900px); }
    .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .connected-track { grid-auto-columns: minmax(245px, 42%); }
}

@media (max-width: 760px) {
    .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    body { background: var(--canvas); }
    .marketplace-container { width: calc(100% - 22px); }
    .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; min-height: 72px; padding: 12px 0; }
    .brand { grid-column: 1; grid-row: 1; }
    .header-actions { grid-column: 2; grid-row: 1; }
    .location-pill { grid-column: 1 / -1; grid-row: 2; width: 100%; min-height: 44px; margin: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; }
    .location-pill strong { max-width: 100%; font-size: 14px; }
    .marketplace-main { padding-top: 16px; }
    .welcome-block { min-height: 170px; padding: 24px 24px 42px; border-radius: 16px; }
    .welcome-copy { max-width: 100%; }
    .welcome-copy h1 { font-size: 28px; overflow-wrap: anywhere; }
    .welcome-copy > p:last-child { max-width: 100%; margin-top: 10px; font-size: 14px; line-height: 1.6; }
    .welcome-orbit { display: none; }
    .search-wrap { width: calc(100% - 24px); height: 56px; margin-top: -20px; border-radius: 12px; }
    .quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 32px; padding: 0; overflow: visible; }
    .quick-action, .quick-actions .quick-action:last-child { position: relative; min-width: 0; min-height: 90px; padding: 16px; border-radius: 14px; flex-direction: column; align-items: flex-start; }
    .quick-action > span:nth-child(2) { width: 100%; }
    .quick-action > i { position: absolute; top: 20px; right: 16px; }
    .quick-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 9px; font-size: 15px; }
    .quick-action strong { margin-bottom: 5px; font-size: 16px; }
    .quick-action small { font-size: 14px; }
    .content-section { margin-bottom: 27px; }
    .section-heading { margin-bottom: 11px; }
    .section-heading h2 { font-size: 21px; }
    .connected-track { margin-right: -11px; grid-auto-columns: minmax(214px, 68%); gap: 9px; }
    .connected-card { min-height: 180px; padding: 18px; border-radius: 16px; }
    .connected-logo { width: 36px; height: 36px; flex-basis: 36px; border-radius: 9px; }
    .connected-title h3 { font-size: 12px; }
    .connected-meta span { font-size: 8px; }
    .open-business { padding: 7px 9px; font-size: 8px; }
    .connected-empty { margin-right: 11px; min-height: 96px; padding: 13px; }
    .qr-banner { gap: 12px; margin-bottom: 27px; padding: 15px; border-radius: 12px; }
    .qr-pattern { width: 48px; height: 48px; border-radius: 10px; font-size: 23px; }
    .qr-copy h2 { font-size: 18px; }
    .qr-copy p { font-size: 14px; }
    .qr-button { padding: 12px; font-size: 14px; }
    .category-scroll { margin-right: -11px; margin-bottom: 12px; }
    .category-chip { padding: 7px 9px; font-size: 9px; }
    .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .business-card { display: block; min-height: 0; border-radius: 12px; }
    .business-cover { height: 86px; min-height: 86px; }
    .cover-glyph { font-size: 25px; }
    .nature-badge { top: 7px; left: 7px; max-width: calc(100% - 14px); padding: 4px 6px; font-size: 6px; }
    .distance-badge { right: 7px; bottom: 6px; left: auto; padding: 4px 5px; font-size: 6px; }
    .business-body { display: block; padding: 9px; }
    .business-body h3 { margin-bottom: 3px; font-size: 12px; }
    .business-description { min-height: 27px; margin-bottom: 6px; font-size: 8.5px; line-height: 1.4; }
    .business-address { margin-bottom: 7px; font-size: 8px; }
    .business-footer { margin-top: 0; }
    .business-category { display: none; }
    .connect-button { padding: 6px 7px; font-size: 8px; }
    .business-skeleton { min-height: 280px; }
}

#categoryFilters .category-chip { min-height: 44px; padding: 10px 14px; font-size: 12px; }
#categoryFilters .category-chip:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
/* Product discovery: readable cards and touch targets at phone widths. */
.connected-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.connected-filters label { display: grid; flex: 1 1 210px; gap: 6px; min-width: 0; font-size: 14px; }
.connected-filters input, .connected-filters select { width: 100%; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid #b4c6d9; border-radius: 8px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
.connected-filters button, #toggleConnections { min-height: 44px; padding: 10px 12px; font-size: 14px; }
.connected-help, .connected-status { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.connected-track.connected-results { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); grid-auto-columns: auto; overflow: visible; margin-right: 0; }
.connected-card { min-width: 0; }
.connected-title h3 { font-size: 16px; white-space: normal; overflow-wrap: anywhere; }
.connected-title p, .connected-meta span { font-size: 13px; white-space: normal; overflow-wrap: anywhere; }
.connected-meta { flex-wrap: wrap; }
.connected-empty p, .connected-empty a { font-size: 14px; }
.connected-empty a { min-height: 44px; padding: 10px 0; }
.connected-card.dining { --card-start: #b94e35; --card-end: #843321; --card-glyph: "\f2e7"; }
.connected-card.subscriptions, .connected-card.stays { --card-start: #7451b4; --card-end: #493379; --card-glyph: "\f1ad"; }
.connected-card .card-menu { width: 44px; height: 44px; flex: 0 0 44px; }
.connected-card .open-business { min-height: 44px; padding: 10px 14px; font-size: 14px; }
.connected-filters :focus-visible, #toggleConnections:focus-visible { outline: 3px solid #1469cc; outline-offset: 3px; }
.connected-card button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.category-chip { min-height: 44px; padding: 10px 14px; font-size: 13px; }
.marketplace-saved-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.marketplace-saved-controls .text-button { min-height: 44px; padding: 8px 12px; }
.marketplace-favorite-help, .marketplace-favorite-status { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.marketplace-favorite-status:empty { display: none; }
.marketplace-favorite-button { display: block; width: 100%; min-height: 44px; margin-top: 10px; padding: 10px; border: 1px solid #b4c6d9; border-radius: 8px; background: white; color: #244b73; font-size: 14px; line-height: 1.4; cursor: pointer; }
.marketplace-favorite-button[aria-pressed="true"] { background: #e6f7f1; color: #176c58; border-color: #71bca9; }
.marketplace-favorite-button:disabled { cursor: wait; opacity: .65; }
.marketplace-favorite-button:focus-visible, .marketplace-saved-controls button:focus-visible { outline: 3px solid #1469cc; outline-offset: 3px; }
.category-chip.active { background: #1469cc; border-color: #1469cc; }
.category-scroll { padding: 4px 3px 8px; }
.category-chip:focus-visible, .connect-button:focus-visible, .marketplace-pagination button:focus-visible {
    outline: 3px solid #1469cc; outline-offset: 3px;
}
.business-cover.subscriptions { --cover-one: #8555c7; --cover-two: #51328f; }
.business-cover.dining { --cover-one: #d85e42; --cover-two: #953922; }
.business-cover.stays { --cover-one: #7354bd; --cover-two: #463579; }
.business-card, .business-body { min-width: 0; }
.business-body h3 { font-size: 16px; white-space: normal; overflow-wrap: anywhere; }
.business-description { font-size: 14px; line-height: 1.5; }
.business-address { color: #536277; font-size: 13px; white-space: normal; }
.nature-badge { max-width: calc(100% - 18px); font-size: 10px; white-space: normal; overflow-wrap: anywhere; }
.business-footer { flex-wrap: wrap; }
.connect-button { min-height: 44px; max-width: 100%; padding: 10px 12px; font-size: 13px; text-align: start; background: #1469cc; }
.business-category { display: block; color: #536277; font-size: 13px; overflow-wrap: anywhere; }
.marketplace-business-categories { margin-bottom: 18px; }
.marketplace-business-categories label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.marketplace-category-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.marketplace-category-controls select { flex: 1 1 240px; width: 100%; max-width: 440px; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid #b4c6d9; border-radius: 8px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
.marketplace-category-controls button { min-height: 44px; padding: 10px 12px; font-size: 14px; }
.marketplace-category-controls :focus-visible { outline: 3px solid #1469cc; outline-offset: 3px; }
.marketplace-business-categories p { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
#businessCategoryStatus:empty { display: none; }
@media (max-width: 620px) {
    .business-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .business-card { display: grid; grid-template-columns: 90px minmax(0, 1fr); }
    .business-cover { height: 100%; min-height: 160px; }
    .nature-badge { font-size: 10px; white-space: normal; }
    .distance-badge { font-size: 10px; }
    .business-body { display: flex; flex-direction: column; padding: 12px; }
    .business-body h3 { font-size: 16px; }
    .business-description { min-height: 0; font-size: 14px; line-height: 1.5; }
    .business-address { font-size: 13px; overflow-wrap: anywhere; }
    .business-footer { margin-top: auto; }
    .connect-button { margin-left: 0; width: 100%; }
}

/* Customer requests and enquiries stay readable in their drawers. */
#spaceClassroomEnquiryDrawer .space-service-summary strong,
#spaceServiceRequestDrawer .space-service-summary strong { font-size: 16px; white-space: normal; overflow-wrap: anywhere; }
#spaceClassroomEnquiryDrawer .space-service-summary small,
#spaceClassroomEnquiryDrawer .space-checkout-form label,
#spaceClassroomEnquiryDrawer .space-payment-note,
#spaceClassroomEnquiryDrawer .space-payment-state,
#spaceClassroomEnquiryDrawer .space-place-order,
#spaceClassroomHistoryDrawer .space-service-history-note,
#spaceClassroomHistoryDrawer .space-order-copy p,
#spaceClassroomHistoryDrawer .space-order-meta,
#spaceServiceRequestDrawer .space-service-summary small,
#spaceServiceRequestDrawer .space-checkout-form label,
#spaceServiceRequestDrawer .space-payment-note,
#spaceServiceRequestDrawer .space-payment-state,
#spaceServiceHistoryDrawer .space-service-history-note,
#spaceServiceHistoryDrawer .space-order-copy p,
#spaceServiceHistoryDrawer .space-order-meta { font-size: 14px; line-height: 1.5; }
#spaceClassroomEnquiryDrawer input, #spaceClassroomEnquiryDrawer textarea,
#spaceServiceRequestDrawer input, #spaceServiceRequestDrawer textarea { min-height: 44px; font-size: 16px; }
#spaceClassroomHistoryDrawer .space-order-copy h3,
#spaceServiceHistoryDrawer .space-order-copy h3 { font-size: 16px; white-space: normal; overflow-wrap: anywhere; }
#spaceClassroomHistoryDrawer .space-order-meta,
#spaceServiceHistoryDrawer .space-order-meta { flex-wrap: wrap; overflow-wrap: anywhere; }
#spaceClassroomEnquiryDrawer header button, #spaceClassroomHistoryDrawer header button,
#spaceServiceRequestDrawer header button, #spaceServiceHistoryDrawer header button { width: 44px; height: 44px; flex-basis: 44px; }
#spaceClassroomHistoryDrawer .text-button,
#spaceServiceHistoryDrawer .text-button { min-height: 44px; font-size: 14px; }
.space-service-withdraw { margin-top: 10px; white-space: normal; text-align: left; }
.space-service-calendar { margin-top: 10px; white-space: normal; text-align: left; }
.space-service-quotation-download { margin-top: 10px; white-space: normal; text-align: left; }
.space-service-quotation { padding: 10px; border-inline-start: 3px solid var(--space-one); border-radius: 8px; background: var(--space-soft); font-weight: 600; overflow-wrap: anywhere; }
.space-service-appointment { padding: 10px; border-radius: 8px; background: var(--space-soft); font-weight: 600; overflow-wrap: anywhere; }
.space-service-withdrawal-state { margin: 12px 0; color: var(--ink); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.space-service-withdrawal-state:empty { display: none; }
#spaceClassroomEnquiryDrawer :focus-visible, #spaceClassroomHistoryDrawer :focus-visible,
#spaceServiceRequestDrawer :focus-visible, #spaceServiceHistoryDrawer :focus-visible { outline: 3px solid #1767ce; outline-offset: 3px; }

.space-fitness-drawer .space-service-summary strong,
.space-fitness-drawer .space-order-copy h3 { font-size: 16px; white-space: normal; overflow-wrap: anywhere; }
.space-fitness-drawer .space-service-summary small,
.space-fitness-drawer .space-checkout-form label,
.space-fitness-drawer .space-payment-note,
.space-fitness-drawer .space-payment-state,
.space-fitness-drawer .space-place-order,
.space-fitness-drawer .space-service-history-note,
.space-fitness-drawer .space-order-copy p,
#spaceFitnessHistoryStatus { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.space-fitness-drawer input, .space-fitness-drawer textarea { min-height: 44px; font-size: 16px; }
.space-fitness-drawer header button { width: 44px; height: 44px; flex-basis: 44px; }
.space-fitness-drawer .text-button { min-height: 44px; font-size: 14px; }
.space-fitness-drawer :focus-visible { outline: 3px solid #1767ce; outline-offset: 3px; }
.space-subscription-records .space-drawer-panel { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.space-subscription-records .space-catalog-search { display: block; }
.space-subscription-records .space-catalog-search > div, .space-subscription-records-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.space-subscription-records input { flex: 1 1 220px; min-width: 0; width: 100%; }
.space-subscription-records button { min-height: 44px; font-size: 14px; white-space: normal; }
.space-subscription-records-actions button, #spaceSubscriptionRecordsRetry { padding: 10px 16px; border: 1px solid #a6b2c2; border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.space-subscription-records button:disabled { opacity: .55; cursor: default; }
.space-subscription-records article { border: 1px solid #dce5ef; border-radius: 12px; padding: 14px; margin: 12px 0; }
.space-subscription-records article h3 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.space-subscription-records article p { margin: 8px 0 0; }
.space-subscription-records .space-subscription-reference { font-size: 14px; color: #53657b; }
.space-driving-lessons .space-drawer-panel { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.space-driving-lessons-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.space-driving-lessons button { min-height: 44px; font-size: 16px; white-space: normal; }
.space-driving-lessons select { display: block; box-sizing: border-box; width: 100%; min-height: 44px; margin: 8px 0; padding: 8px; font: inherit; border: 1px solid #a6b2c2; border-radius: 8px; background: #fff; color: var(--ink); }
.space-driving-lessons-actions button, #spaceDrivingLessonsRetry { padding: 10px 16px; border: 1px solid #a6b2c2; border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.space-driving-lessons button[aria-pressed="true"] { background: #124f95; border-color: #124f95; color: white; }
.space-driving-lessons button:disabled { opacity: .55; cursor: default; }
.space-driving-lessons article { border: 1px solid #dce5ef; border-radius: 12px; padding: 14px; margin: 12px 0; }
.space-driving-lessons article h3 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.space-driving-lessons article p { margin: 8px 0 0; }
.space-driving-lessons .space-lesson-reference { font-size: 14px; color: #53657b; }
.space-driving-lessons :focus-visible { outline: 3px solid #1469cc; outline-offset: 3px; }
.space-classroom-enrolments .space-drawer-panel { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.space-classroom-enrolments-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.space-classroom-enrolments button { min-height: 44px; font-size: 16px; white-space: normal; }
.space-classroom-enrolments-actions button, #spaceClassroomEnrolmentsRetry { padding: 10px 16px; border: 1px solid #a6b2c2; border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.space-classroom-enrolments button:disabled { opacity: .55; cursor: default; }
.space-classroom-enrolments article { border: 1px solid #dce5ef; border-radius: 12px; padding: 14px; margin: 12px 0; }
.space-classroom-enrolments article h3 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.space-classroom-enrolments article p { margin: 8px 0 0; }
.space-classroom-enrolments :focus-visible { outline: 3px solid #1469cc; outline-offset: 3px; }
.space-app[data-theme="learning"] .space-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.space-app[data-theme="learning"] .space-action { min-width: 0; padding-bottom: 36px; overflow-wrap: anywhere; }
.space-app[data-theme="learning"] .space-action strong { font-size: 16px; }
.space-app[data-theme="learning"] .space-action small { font-size: 14px; color: #53657b; }
.space-app[data-theme="learning"] .space-action:focus-visible { outline: 3px solid #1469cc; outline-offset: 3px; }
@media (min-width: 651px) {
    .space-app[data-theme="learning"] .space-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.space-pg-stays .space-drawer-panel { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.space-pg-stays .space-catalog-search { display: block; }
.space-pg-stays .space-catalog-search > div, .space-pg-stays-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.space-pg-stays input { flex: 1 1 220px; min-width: 0; width: 100%; font-size: 16px; }
.space-pg-stays button { min-height: 44px; font-size: 16px; white-space: normal; }
.space-pg-stays-actions button, #spacePgStaysRetry { padding: 10px 16px; border: 1px solid #a6b2c2; border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.space-pg-stays button[aria-pressed="true"] { background: #124f95; border-color: #124f95; color: white; }
.space-pg-stays button:disabled { opacity: .55; cursor: default; }
.space-pg-stays article { border: 1px solid #dce5ef; border-radius: 12px; padding: 14px; margin: 12px 0; }
.space-pg-stays article h3 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.space-pg-stays article p { margin: 8px 0 0; }
.space-pg-stays .space-stay-reference { font-size: 14px; color: #53657b; }
.space-pg-stays :focus-visible { outline: 3px solid #1469cc; outline-offset: 3px; }
#spacePgMoveInRoom { font-size: 16px; overflow-wrap: anywhere; }
#spacePgMoveInForm > * { grid-column: 1 / -1; min-width: 0; }
.space-pg-move-in { white-space: normal; overflow-wrap: anywhere; }

#spaceQuoteAcceptanceDrawer p { font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
#spaceQuoteAcceptanceForm { display: grid; gap: 12px; min-width: 0; }
#spaceQuoteAcceptanceDrawer button, .space-service-quote-accept { min-height: 44px; white-space: normal; }
.space-service-quote-accepted { overflow-wrap: anywhere; font-size: 16px; }
#spaceQuoteAcceptanceDrawer :focus-visible { outline: 3px solid #1469cc; outline-offset: 3px; }
/* One address review shared by discovery and every customer workspace. */
.business-directions-button { min-height: 44px; margin-top: 8px; padding: 10px 12px; border: 1px solid #9bb1c9; border-radius: 8px; background: white; color: #124f95; font: inherit; font-size: 14px; cursor: pointer; }
.business-directions-backdrop { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(7,20,55,.65); }
.business-directions-backdrop[hidden] { display: none; }
.business-directions-panel { width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 20px; border-radius: 16px; background: white; color: #142844; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.business-directions-panel header { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.business-directions-panel h2 { margin: 0; font-size: 22px; }
.business-directions-panel h3 { margin-bottom: 8px; font-size: 18px; }
.business-directions-panel textarea { display: block; width: 100%; min-height: 88px; margin-top: 6px; padding: 10px; border: 1px solid #9bb1c9; border-radius: 8px; background: #f8fafc; color: #142844; font: inherit; font-size: 16px; resize: vertical; }
.business-directions-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.business-directions-panel button, .business-directions-panel a { min-height: 44px; max-width: 100%; padding: 10px 12px; border: 1px solid #9bb1c9; border-radius: 8px; color: #124f95; background: white; font: inherit; font-size: 16px; cursor: pointer; }
.business-directions-panel a { background: #1469cc; color: white; text-decoration: none; }
.business-directions-panel button:disabled { opacity: .65; cursor: wait; }
.business-directions-panel :focus-visible, .business-directions-button:focus-visible, .space-contact-row button:focus-visible { outline: 3px solid #1469cc; outline-offset: 3px; }
.business-directions-help { color: #536277; font-size: 14px; }
#businessDirectionsCopyStatus:empty { display: none; }
@media (max-width: 620px) {
    .business-directions-backdrop { align-items: flex-end; padding: 10px; }
    .business-directions-panel { max-height: calc(100dvh - 20px); padding: 16px; }
    .business-directions-actions { flex-direction: column; }
    .business-directions-button { width: 100%; }
}
