@charset "UTF-8";

.mobile-booking-link { display: none; }
@media (max-width: 700px) {
  .mobile-booking-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e9e8e2; }
  .mobile-booking-link > strong { font-size: 22px; }
  .mobile-booking-link small { color: #777975; font-size: 12px; font-weight: 400; }
}

:root {
  color-scheme: light;
  --bg: #faf9f6;
  --surface: #fff;
  --ink: #252a2b;
  --muted: #777975;
  --soft: #a1a29b;
  --line: #e9e8e2;
  --accent: #e87650;
  --accent-hover: #d76541;
  --accent-light: #fff0e9;
  --green: #47715c;
  --green-light: #eef5ef;
  --radius: 18px;
  --page-width: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button, input, select, textarea { accent-color: var(--accent); }
button:disabled { cursor: not-allowed; opacity: .48; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
button svg, a svg { pointer-events: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.4; }
ul, ol { margin: 0; }
::selection { color: var(--ink); background: #fbd7c6; }
:focus-visible { outline: 3px solid #db683f; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 1000; transform: translateY(-160%); padding: 10px 18px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { transform: translateY(0); }
.container, .page-width, .header-inner, .footer-inner { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }
main { min-height: 65vh; }
.main-content { padding-bottom: 54px; }
.mobile-only { display: none; }
.page { padding-block: 36px 64px; }
.page > .container { width: 100%; }

/* The header stays quiet; the inventory carries the visual weight. */
.site-header, .header { position: relative; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; font-size: 21px; font-weight: 750; letter-spacing: -.6px; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--accent); color: #fff; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { white-space: nowrap; }
.brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 1.4px; line-height: 1.1; }
.main-nav, .primary-nav { display: flex; align-items: stretch; align-self: stretch; gap: 30px; }
.main-nav a, .primary-nav a, .nav-link { position: relative; display: flex; align-items: center; gap: 7px; color: #696c67; white-space: nowrap; font-weight: 550; font-size: 14px; transition: color .18s; }
.nav-link { border: 0; padding: 0; background: transparent; }
.main-nav a:hover, .primary-nav a:hover, .nav-link:hover { color: var(--ink); }
.main-nav a.active, .primary-nav a.active, .nav-link.active { color: var(--ink); font-weight: 700; }
.main-nav a.active::after, .primary-nav a.active::after, .main-nav .nav-link.active::after { position: absolute; content: ""; bottom: 19px; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--accent); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 19px; white-space: nowrap; font-size: 13px; }
.header-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; }
.header-link:hover { color: var(--accent-hover); }
.header-link svg { width: 15px; height: 15px; }
.account-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 41px; padding: 8px 14px; border: 1px solid #e1e2d9; border-radius: 9px; background: #fff; font-size: 12px; font-weight: 550; }
.account-button:hover { border-color: #c5c8bb; }
.account-button svg { width: 16px; height: 16px; }
.favorites-link { border: 0; background: transparent; }
.favorites-link.active { color: var(--accent); background: var(--accent-light); }
.header-divider { width: 1px; height: 20px; background: var(--line); }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #eeece5; color: #666b61; font-size: 12px; font-weight: 650; }
.language-switch { border: 0; padding: 8px 0; background: transparent; font-size: 12px; color: var(--muted); }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 10px 19px; border: 1px solid transparent; border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.5; text-align: center; transition: background .18s, border-color .18s, transform .18s; }
.button:hover { background: #f2f1ec; }
.button:active { transform: translateY(1px); }
.button.primary { color: #fff; background: var(--accent); border-color: var(--accent); }
.button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button.secondary { background: #fff; border-color: #dedfd7; }
.button.secondary:hover { border-color: #a7aaa1; background: #fcfcfa; }
.button.ghost { background: transparent; border-color: transparent; }
.button.ghost:hover { background: #efeee8; }
.button.small { min-height: 36px; padding: 7px 12px; font-size: 12px; border-radius: 8px; }
.button.full-width, .button.block { width: 100%; }
.button.danger { background: #fff0ec; border-color: #f5d3ca; color: #b74731; }
.icon-button, .icon-btn, .close-button, .close-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; flex-shrink: 0; }
.icon-button:hover, .icon-btn:hover, .close-button:hover, .close-btn:hover { background: #f5f4ef; }
.text-link { display: inline-flex; align-items: center; gap: 5px; min-height: 38px; color: #696d65; border: 0; background: transparent; padding: 0; font-size: 12px; text-underline-offset: 4px; }
.text-link:hover { color: var(--accent-hover); text-decoration: underline; }
.text-link svg { width: 15px; height: 15px; }
.text-button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 3px 0; border: 0; background: transparent; color: #858b7c; font-size: 12px; }
.text-button:hover { color: var(--accent-hover); }
.text-button svg { width: 14px; height: 14px; }

/* Search */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 60px; padding-block: 42px 28px; }
.hero-content, .hero-copy { max-width: 530px; padding-block: 14px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--accent-hover); font-size: 11px; font-weight: 650; line-height: 1.5; letter-spacing: 1.1px; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; opacity: .7; }
.hero h1, .hero-title { margin-top: 16px; font-size: clamp(32px, 3.55vw, 45px); line-height: 1.4; font-weight: 700; letter-spacing: -1.4px; }
.hero h1 em, .hero-title em { color: var(--accent); font-style: normal; }
.hero h1 span { color: var(--accent); }
.hero-copy .eyebrow::before { display: none; }
.status-dot { width: 6px; height: 6px; background: #9caa8c; border-radius: 50%; }
.hero-points { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin-top: 24px; color: #7b8171; font-size: 12px; }
.hero-points > span { display: inline-flex; align-items: center; gap: 5px; }
.hero-points svg { width: 15px; height: 15px; color: #99a18d; }
.hero-description, .hero-subtitle { margin-top: 17px; color: #797c74; font-size: 14px; line-height: 1.9; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin-top: 24px; font-size: 12px; color: #70776b; }
.hero-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hero-meta svg { width: 15px; height: 15px; color: #78856e; }
.hero-image, .hero-visual { position: relative; overflow: hidden; border-radius: 22px; min-width: 0; height: 276px; background: #e7e1d7; }
.hero-image > img, .hero-visual > img, img.hero-image { width: 100%; height: 276px; object-fit: cover; object-position: center; }
.hero-image-caption, .photo-caption { position: absolute; left: 18px; bottom: 17px; display: flex; align-items: center; gap: 6px; color: #fff; font-size: 11px; text-shadow: 0 1px 5px #0007; }
.hero-image-caption svg, .photo-caption svg { width: 13px; height: 13px; }
.hero-image-note { position: absolute; bottom: 18px; left: 18px; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border: 1px solid #ffffffb3; border-radius: 11px; background: #fffdf8ed; backdrop-filter: blur(6px); color: #555d4b; font-size: 12px; font-weight: 550; }
.hero-image-note small { display: block; margin-top: 2px; font-size: 10px; font-weight: 400; color: #969b8b; }
.note-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--accent); background: #f8e9df; }
.note-icon svg { width: 18px; height: 18px; }
.hero-photo-label { position: absolute; bottom: 14px; right: 15px; color: #fff; font-size: 9px; text-shadow: 0 1px 6px #0006; }
.search-bar { display: grid; grid-template-columns: 1fr 1.2fr 1fr auto; align-items: center; gap: 0; padding: 9px; border: 1px solid #e4e2d9; border-radius: 15px; background: #fff; box-shadow: 0 5px 18px #353a2a04; }
.search-field { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 4px 22px; border-right: 1px solid var(--line); }
.search-field > svg { width: 19px; height: 19px; color: #8c9085; }
.search-field > div { flex: 1; min-width: 0; }
.search-field > label { width: 100%; }
label.search-field { display: flex; flex-direction: column; align-items: stretch; gap: 3px; padding-block: 5px; }
label.search-field > span { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #8c9084; }
label.search-field > span svg { width: 13px; height: 13px; }
.search-label, .search-field label > span { display: block; margin-bottom: 1px; font-size: 11px; font-weight: 550; color: #83847e; letter-spacing: .2px; }
.search-field select, .search-field input { width: 100%; min-height: 28px; padding: 0 14px 0 0; border: 0; outline-offset: 1px; color: var(--ink); background: transparent; font-size: 13px; font-weight: 550; }
.search-field input::placeholder { color: #898d82; font-weight: 400; }
.search-field:nth-last-child(2) { border-right: 0; }
.search-bar > .button { min-height: 50px; padding-inline: 26px; border-radius: 9px; }
.search-bar > .button svg { width: 18px; height: 18px; }
.search-hint { margin-top: 9px; color: var(--muted); font-size: 11px; }

.category-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: 23px; padding-block: 4px 22px; border-bottom: 1px solid var(--line); }
.category-button, .category-item, .category-strip > button { position: relative; min-height: 82px; padding: 12px 5px 10px; border: 1px solid transparent; border-radius: 12px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: #7c8176; font-size: 12px; font-weight: 500; transition: background .18s, color .18s; }
.category-button svg, .category-item svg, .category-strip > button svg { width: 25px; height: 25px; stroke-width: 1.5; }
.category-icon { display: grid; place-items: center; }
.category-button:hover, .category-item:hover, .category-strip > button:hover { color: var(--ink); background: #f1f0e9; }
.category-button.active, .category-item.active, .category-strip > button.active { color: var(--accent-hover); background: var(--accent-light); }
.category-button.active::after, .category-item.active::after, .category-strip > button.active::after { content: ""; position: absolute; bottom: -10px; left: calc(50% - 11px); width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }

/* Catalog and filters */
.catalog-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; padding-top: 30px; align-items: start; }
.filter-sidebar { position: sticky; top: 24px; padding-right: 24px; border-right: 1px solid var(--line); }
.filter-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 19px; }
.filter-heading h2 { font-size: 14px; font-weight: 700; }
.filter-heading strong { font-size: 13px; font-weight: 650; }
.filter-reset { padding: 5px 0; border: 0; background: none; font-size: 11px; color: #96998d; }
.filter-reset:hover { color: var(--accent-hover); }
.filter-group { padding-block: 19px; border-top: 1px solid var(--line); }
.filter-group:first-of-type { padding-top: 0; border-top: 0; }
.filter-title, .filter-group > legend, .filter-group > h3 { display: block; margin-bottom: 13px; font-size: 12px; font-weight: 650; }
.filter-group fieldset, fieldset.filter-group { min-width: 0; padding-inline: 0; margin-inline: 0; border-right: 0; border-bottom: 0; border-left: 0; }
fieldset.filter-group { margin-block: 0; }
.filter-group > .filter-option { min-height: 31px; }
.filter-select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #e1e3d8; border-radius: 8px; background: #fff; color: #666e5d; font-size: 12px; }
.field-hint { margin-top: 8px; color: #929985; font-size: 11px; line-height: 1.8; }
/* A single booking guide link keeps the filter column compact. */
.sidebar-note.booking-guide-entry { width: 100%; margin-top: 17px; padding: 17px 14px; display: flex; align-items: center; gap: 10px; border: 1px solid #e6e7df; border-radius: 12px; background: #f2f2ea; color: var(--ink); text-align: left; font-size: 12px; }
.booking-guide-icon { width: 32px; height: 36px; display: grid; place-items: center; color: #89937b; flex-shrink: 0; }
.booking-guide-icon .icon { width: 27px; height: 27px; }
.booking-guide-entry > .icon { width: 15px; height: 15px; margin-left: auto; color: #89937b; }
.booking-guide-entry:hover { background: #e9ecdf; }

.filter-options { display: grid; gap: 10px; }
.check-option, .checkbox-label, .filter-option { display: flex; align-items: center; gap: 9px; min-height: 28px; color: #666d60; font-size: 12px; cursor: pointer; }
.check-option input, .checkbox-label input, .filter-option input { flex-shrink: 0; width: 15px; height: 15px; margin: 0; }
.check-option .count, .filter-option .count { margin-left: auto; color: #a0a497; font-size: 11px; }
.filter-chips, .chip-group { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 34px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #777d70; font-size: 11px; line-height: 1.5; }
.chip:hover { border-color: #c1c6b8; }
.chip.active, .chip[aria-pressed="true"] { color: #b95634; border-color: #edb49c; background: #fff5ef; }
.chip svg { width: 13px; height: 13px; }
.price-inputs { display: flex; align-items: center; gap: 7px; }
.price-inputs input { width: 100%; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 12px; }
.price-inputs span { color: #adb1a4; }
.filter-note { margin-top: 13px; font-size: 11px; line-height: 1.7; color: #9b9f91; }
.filter-promo { margin-top: 19px; padding: 17px; background: #f0f0e8; border: 1px solid #e5e7dd; border-radius: 12px; }
.filter-promo strong { display: block; font-size: 12px; font-weight: 650; }
.filter-promo p { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.catalog-content, .catalog-main, .catalog-results { min-width: 0; }
.section-heading, .catalog-heading, .results-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 20px; }
.section-heading h2, .catalog-heading h2, .results-heading h2 { font-size: 20px; font-weight: 700; letter-spacing: -.4px; }
.section-heading p, .catalog-heading p, .results-heading p { margin-top: 5px; font-size: 11px; color: #94988a; }
.results-count { color: #8c9184; font-size: 12px; font-weight: 400; margin-left: 8px; }
.sort-control { display: inline-flex; align-items: center; gap: 8px; color: #909586; font-size: 11px; }
.sort-control select, .sort-select { max-width: 150px; padding: 7px 27px 7px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #676f5f; font-size: 11px; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-toggle { display: none; }
.results-heading { align-items: center; margin-bottom: 23px; }
.results-heading .eyebrow { font-size: 10px; letter-spacing: .4px; margin-bottom: 6px; }
.results-heading .eyebrow::before { display: none; }
.results-heading h2 { font-size: 20px; }
.results-heading h2 > span { display: inline-block; margin-left: 10px; color: #969c8b; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.results-tools { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.sort-label { position: relative; display: inline-flex; align-items: center; }
.sort-label select { min-height: 37px; padding: 7px 29px 7px 12px; border: 1px solid var(--line); border-radius: 8px; appearance: none; background: #fff; color: #747b68; font-size: 12px; }
.sort-label > svg { position: absolute; width: 13px; height: 13px; right: 10px; pointer-events: none; color: #9da58e; }
#results-content > .notice { margin-bottom: 20px; }
#results-content > .active-filters { align-items: center; margin-bottom: 19px; }
.provider-grid, .market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px 19px; }
.provider-card, .market-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #e9e8e1; border-radius: 13px; background: #fff; transition: box-shadow .2s, border-color .2s, transform .2s; }
.provider-card:hover, .market-card:hover { border-color: #d7dacd; box-shadow: 0 7px 22px #26302007; transform: translateY(-2px); }
.provider-image, .card-image, .market-image { position: relative; aspect-ratio: 1.5; overflow: hidden; background: #eae9e2; }
.provider-image > img, .card-image > img, .market-image > img { height: 100%; width: 100%; object-fit: cover; transition: transform .35s; }
.image-link { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; }
.image-link > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.provider-card:hover .image-link > img { transform: scale(1.035); }
.image-link:focus-visible { outline-offset: -5px; }
.service-illustration { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; width: 100%; height: 100%; min-height: 150px; background: #eee9df; color: #ad9270; }
.service-illustration > svg { width: 57px; height: 57px; stroke-width: 1.15; }
.service-illustration > span { font-size: 12px; letter-spacing: 1px; }
.service-illustration.pest { background: #e9ece3; color: #929e80; }
.service-illustration.detail-cover { display: flex; height: 275px; }
.service-illustration.detail-cover > svg { width: 82px; height: 82px; }
.booking-card > .service-illustration { width: 100px; height: 85px; min-height: 0; flex-shrink: 0; border-radius: 10px; gap: 4px; }
.booking-card > .service-illustration > svg { width: 32px; height: 32px; }
.booking-card > .service-illustration > span { font-size: 9px; letter-spacing: 0; }
.card-badge { position: absolute; left: 11px; top: 11px; max-width: calc(100% - 65px); padding: 4px 8px; border-radius: 5px; background: #fffdf6ed; color: #74735e; font-size: 10px; font-weight: 550; pointer-events: none; }
img.provider-image, img.card-image, img.market-image { width: 100%; object-fit: cover; }
.provider-card:hover .provider-image > img, .market-card:hover .market-image > img { transform: scale(1.035); }
.image-label, .card-label { position: absolute; top: 11px; left: 11px; display: inline-flex; align-items: center; gap: 4px; max-width: calc(100% - 62px); padding: 4px 8px; border-radius: 5px; color: #fff; background: #373d32b8; backdrop-filter: blur(6px); font-size: 10px; line-height: 1.5; font-weight: 550; }
.image-label svg, .card-label svg { width: 11px; height: 11px; }
.image-label.recommended, .card-label.recommended { background: #fffdf1ee; color: #777144; }
.favorite-toggle { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 31px; height: 31px; border: 0; border-radius: 50%; background: #fffffff0; color: #71776b; box-shadow: 0 1px 5px #00000006; }
.favorite-toggle svg { width: 16px; height: 16px; }
.favorite-toggle:hover { color: var(--accent); background: #fff; }
.favorite-toggle.active, .favorite-toggle[aria-pressed="true"] { color: var(--accent); }
.favorite-toggle.active svg, .favorite-toggle[aria-pressed="true"] svg { fill: #e8765033; }
.provider-body, .market-body { padding: 15px 15px 13px; }
.provider-title { display: flex; align-items: start; justify-content: space-between; gap: 7px; }
.provider-title h3, h3.provider-title, .market-body h3 { font-size: 16px; font-weight: 650; letter-spacing: -.2px; line-height: 1.45; }
.provider-title a:hover { color: var(--accent-hover); }
.provider-title h3 > button, .market-body h3 > button { border: 0; background: transparent; font: inherit; color: inherit; padding: 0; text-align: left; }
.provider-title h3 > button:hover, .market-body h3 > button:hover { color: var(--accent-hover); }
.provider-rating { display: inline-flex; flex-shrink: 0; align-items: center; gap: 3px; padding-top: 2px; font-size: 12px; color: #5e6655; white-space: nowrap; line-height: 1.5; }
.provider-rating > svg { width: 12px; height: 12px; color: #d7ad61; fill: #d7ad61; stroke-width: 1; }
.provider-rating > small { margin-left: 1px; font-size: 10px; font-weight: 400; color: #a1a592; }
.provider-role { margin-top: 3px; color: #808773; font-size: 12px; line-height: 1.7; }
.provider-card .provider-meta { display: grid; gap: 4px; font-size: 11px; line-height: 1.7; }
.verified-icon { width: 15px; height: 15px; color: #7e9374; vertical-align: -2px; }
.rating { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; font-size: 12px; color: #555a53; white-space: nowrap; }
.rating svg { width: 11px; height: 11px; color: #e4b76c; fill: #e4b76c; }
.rating small { font-size: 11px; color: #8c8f86; }
.provider-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; margin-top: 7px; font-size: 12px; color: #7a7f73; }
.provider-meta span { display: inline-flex; align-items: center; gap: 3px; }
.provider-meta svg { width: 12px; height: 12px; }
.provider-description, .provider-desc { color: #737970; font-size: 12px; line-height: 1.7; margin-top: 9px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.provider-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.provider-tags span, .tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 4px; background: #f5f4ef; color: #777c6f; font-size: 11px; line-height: 1.5; }
.provider-tags .verified, .tag.verified { background: #f0f5ee; color: #7c9270; }
.provider-footer { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #f0f0ea; }
.provider-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 15px; padding-top: 12px; border-top: 1px solid #efefe8; }
.provider-price > strong { font-size: inherit; font-weight: 700; }
.provider-price > span { white-space: nowrap; }
.provider-price { color: var(--ink); font-size: 19px; font-weight: 700; line-height: 1.4; letter-spacing: -.5px; }
.provider-price small, .provider-price span { font-size: 11px; color: #898d80; font-weight: 400; letter-spacing: 0; }
.provider-price .currency { color: inherit; font-size: 12px; font-weight: 650; }
.card-action { display: inline-flex; align-items: center; gap: 3px; min-height: 36px; border: 0; border-radius: 6px; background: var(--accent-light); color: #b85e3d; padding: 6px 10px; white-space: nowrap; font-size: 12px; font-weight: 600; }
.card-action:hover { background: #ffe3d5; }
.card-action svg { width: 12px; height: 12px; }
.availability { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #7e8971; margin-top: 10px; }
.availability::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #8fa47d; }
.load-more { display: flex; justify-content: center; margin-top: 32px; }
.load-more .button { min-width: 170px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 32px; }
.pagination button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 12px; }
.pagination button.active { border-color: var(--accent); background: var(--accent); color: #fff; }

/* Secondary categories and local account screens. */
.page-intro { padding-block: 39px 31px; }
.page-intro h1 { margin-top: 12px; font-size: 33px; line-height: 1.45; font-weight: 700; letter-spacing: -1px; }
.page-intro > p:last-child { margin-top: 13px; color: #858c79; font-size: 13px; line-height: 1.8; }
.count-label { margin-left: 9px; font-size: 12px; font-weight: 400; color: #959d88; }
.join-banner { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 43px; padding: 27px 32px; border: 1px solid #eae8dd; border-radius: 14px; background: #f3f1e8; }
.join-banner .eyebrow { font-size: 10px; color: #9a9981; letter-spacing: .2px; }
.join-banner .eyebrow::before { display: none; }
.join-banner h2 { margin-top: 8px; font-size: 22px; font-weight: 650; letter-spacing: -.5px; }
.join-banner p { margin-top: 6px; color: #989c8c; font-size: 12px; }
.join-banner > .button { flex-shrink: 0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.page-title { font-size: 30px; letter-spacing: -.8px; font-weight: 700; }
.page-subtitle { margin-top: 8px; color: var(--muted); font-size: 13px; }
.page-actions { display: flex; align-items: center; gap: 9px; }
.market-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.market-card .market-image { aspect-ratio: 1.35; }
.market-photo { position: relative; display: block; width: 100%; aspect-ratio: 1.3; padding: 0; border: 0; overflow: hidden; background: #eae6dc; }
.market-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.market-photo:focus-visible { outline-offset: -5px; }
.market-card:hover .market-photo img { transform: scale(1.035); }
.item-condition { display: inline-block; margin-bottom: 7px; color: #8a937d; font-size: 11px; }
.market-body > p { display: flex; align-items: center; gap: 4px; color: #8b9380; font-size: 12px; margin-top: 9px; }
.market-body > p svg { width: 13px; height: 13px; }
.item-price { font-size: 22px; color: #cc6f49; font-weight: 650; line-height: 1.4; }
.market-notice { margin-top: 25px; }
.market-price { margin-top: 10px; color: var(--accent-hover); font-size: 21px; line-height: 1.4; font-weight: 700; }
.market-price small { color: var(--muted); font-size: 12px; font-weight: 400; }
.market-location, .market-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 11px; color: var(--muted); margin-top: 8px; }
.seller-row { display: flex; align-items: center; gap: 7px; padding-top: 12px; margin-top: 13px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.seller-avatar { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #f1eee6; color: #898374; font-size: 10px; }
.agency-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.agency-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.agency-header { display: flex; align-items: center; gap: 14px; }
.agency-logo { flex-shrink: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 13px; background: #f0eee6; font-size: 22px; color: #797666; object-fit: cover; }
.agency-header h3 { font-size: 18px; }
.agency-card p { margin-top: 14px; color: var(--muted); font-size: 13px; }
.agency-card .provider-tags { margin-bottom: 20px; }
.agency-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.agency-photo { width: 100%; aspect-ratio: 1.8; margin-bottom: 18px; border-radius: 12px; object-fit: cover; }
.agency-list { display: grid; gap: 20px; margin-bottom: 25px; }
.agency-list .agency-card { flex-direction: row; align-items: start; gap: 23px; padding: 26px; }
.agency-icon { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 14px; background: #f2eee2; color: #a09372; }
.agency-icon > svg { width: 29px; height: 29px; stroke-width: 1.4; }
.agency-content { flex: 1; min-width: 0; }
.agency-content .eyebrow { font-size: 10px; color: #9c9c84; letter-spacing: .2px; }
.agency-content .eyebrow::before { display: none; }
.agency-content h2 { margin-top: 6px; font-size: 21px; letter-spacing: -.5px; font-weight: 650; }
.agency-content > p { margin-top: 9px; }
.agency-content .provider-tags { margin-top: 12px; margin-bottom: 0; }
.agency-content .provider-meta { margin-top: 14px; font-size: 12px; }
.agency-list .agency-card > .button { align-self: center; flex-shrink: 0; }
.booking-list { display: grid; gap: 15px; }
.booking-card { display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 15px; padding: 19px; background: #fff; }
.booking-card > img { width: 100px; height: 85px; border-radius: 10px; object-fit: cover; }
.booking-info { flex: 1; min-width: 0; }
.booking-info h3 { font-size: 16px; }
.booking-info p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.booking-actions { display: flex; align-items: center; gap: 8px; }
.booking-list { max-width: 1000px; }
.booking-content { min-width: 0; flex: 1; }
.booking-content h2 { margin-top: 8px; font-size: 19px; font-weight: 650; }
.booking-content h2 small { margin-left: 11px; color: #99a08c; font-size: 12px; font-weight: 400; }
.booking-content p { display: flex; align-items: center; gap: 6px; color: #8c9580; font-size: 12px; margin-top: 6px; }
.booking-content p svg { width: 14px; height: 14px; }
.status-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 5px; background: #fbf0dc; color: #a28c5b; font-size: 10px; }
.status-tag.cancelled { background: #eeefe8; color: #959e86; }
.booking-summary { display: flex; align-items: flex-end; flex-direction: column; margin-left: auto; gap: 5px; }
.booking-summary > strong { font-size: 24px; line-height: 1.4; font-weight: 650; }
.booking-summary > span { font-size: 11px; color: #9da58e; }
.booking-summary .text-button { color: #b18c79; font-size: 11px; }
.saved-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.my-applications { max-width: 1000px; margin-bottom: 30px; }
.my-applications > h2 { font-size: 19px; font-weight: 650; margin-bottom: 16px; }
.application-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.application-card { padding: 21px; border: 1px solid #e7e8df; border-radius: 13px; background: #fff; }
.application-card > h3 { margin-top: 10px; font-size: 17px; font-weight: 650; }
.application-card > p { margin-top: 7px; color: #848d78; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.application-card > strong { display: block; margin-top: 13px; color: #56634a; font-size: 17px; font-weight: 650; }
.status-badge, .badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; font-size: 11px; background: #f3f3ed; color: #78816c; }
.status-badge.success, .badge.success { background: #edf5ed; color: #56754f; }
.status-badge.pending, .badge.pending { background: #fff2dc; color: #a88645; }
.status-badge.cancelled, .badge.muted { background: #f1f1ed; color: #94988c; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.info-card h3 { font-size: 15px; margin-top: 12px; }
.info-card p { margin-top: 8px; color: var(--muted); font-size: 12px; }

/* Forms and booking details */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.field.full-width, .field.full { grid-column: 1 / -1; }
.field > label, .field-label { font-size: 12px; font-weight: 650; }
label.field > span { font-size: 12px; font-weight: 600; color: #6f7a61; }
label.field > span > small { font-size: 10px; color: #a1aa90; font-weight: 400; margin-left: 5px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #dfe1d6; border-radius: 9px; background: #fff; color: var(--ink); font-size: 14px; line-height: 1.5; transition: border-color .15s; }
.field textarea { min-height: 105px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bcc3ae; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid #f5d9c9; outline-offset: 1px; }
.field input::placeholder, .field textarea::placeholder { color: #adb1a2; }
.field-help, .form-help { color: var(--muted); font-size: 11px; font-weight: 400; }
.field-error, .form-error { color: #b54e37; font-size: 12px; }
.required { color: var(--accent-hover); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 23px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; color: #737b67; font-size: 12px; line-height: 1.7; }
.checkbox-row input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.upload-zone { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 1px dashed #cfd4c3; border-radius: 12px; background: #fbfcf8; padding: 25px 16px; color: #8c9680; text-align: center; font-size: 12px; }
.upload-zone input { max-width: 100%; }

dialog { border: 0; padding: 0; background: #fff; color: var(--ink); border-radius: 20px; max-width: calc(100vw - 40px); max-height: calc(100dvh - 56px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 18px 80px #15200e30; }
dialog::backdrop { background: #29312765; backdrop-filter: blur(4px); }
dialog[open] { animation: modal-enter .2s ease-out; }
.detail-dialog, dialog.detail-modal { width: 960px; }
dialog.provider-dialog { width: 960px; }
dialog.standard-dialog { width: 600px; }
.dialog-close { position: absolute; z-index: 3; right: 13px; top: 13px; width: 34px; height: 34px; border-color: #e6e8df; box-shadow: 0 2px 8px #2b342209; }
.dialog-close > svg { width: 17px; height: 17px; }
.simple-dialog { padding: 35px; }
.simple-dialog > .eyebrow { margin-bottom: 12px; font-size: 10px; }
.simple-dialog > h2 { max-width: calc(100% - 12px); font-size: 25px; font-weight: 650; letter-spacing: -.6px; line-height: 1.5; padding-right: 10px; }
.simple-dialog > h2 + p, .dialog-description { margin-top: 12px; font-size: 13px; color: #858f76; line-height: 1.85; }
.simple-dialog > .notice { margin-block: 21px; }
.simple-dialog > .button.full-width { margin-top: 22px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }
.onboard-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-block: 24px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.onboard-steps > span { display: flex; align-items: center; gap: 7px; color: #a3aa96; font-size: 11px; }
.onboard-steps b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #f1f2ec; font-size: 10px; font-weight: 600; }
.onboard-steps > .active { color: #ce764d; }
.onboard-steps > .active b { color: #cf744c; background: #fceadd; }
#onboard-form > .field, #onboard-form > .notice { margin-top: 18px; }
.application-subtypes { margin: 21px 0 0; padding: 15px 16px; border: 1px solid #e5e8dc; border-radius: 10px; min-width: 0; }
.application-subtypes > legend { padding-inline: 5px; color: #7c886c; font-size: 12px; font-weight: 600; }
#application-subtypes { display: flex; flex-wrap: wrap; gap: 8px 17px; }
#application-subtypes label { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; color: #8c987b; font-size: 12px; cursor: pointer; }
#application-subtypes input { width: 16px; height: 16px; margin: 0; }
#application-price-unit { margin-top: 0; font-size: 10px; }
.consent-label { display: flex; align-items: flex-start; gap: 8px; margin-block: 18px; color: #858f74; font-size: 12px; line-height: 1.8; }
.consent-label input { width: 16px; height: 16px; flex-shrink: 0; margin: 3px 0 0; }
.booking-disclaimer { margin-top: 11px; font-size: 10px; line-height: 1.8; color: #a0a88f; text-align: center; }
.success-dialog { text-align: center; padding-block: 44px 35px; }
.success-dialog > .eyebrow { justify-content: center; }
.success-dialog > .eyebrow::before { display: none; }
.success-dialog > h2 { max-width: none; padding-right: 0; }
.success-dialog > .notice { text-align: left; }
.item-detail-image { width: 100%; height: 285px; object-fit: cover; border-radius: 12px; margin-block: 21px; }
.simple-dialog > .section-heading { margin-bottom: 13px; }
.simple-dialog > .section-heading > span { color: #969e86; font-size: 12px; }
.info-list { margin-block: 22px; }
.info-list > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 15px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.8; }
.info-list dt { color: #9aa38a; }
.info-list dd { color: #6c795e; margin: 0; }
.prose { font-size: 13px; color: #7e8c6f; line-height: 1.95; margin-top: 21px; }
.prose > p + p, .prose > p + .button { margin-top: 17px; }
.prose .notice { margin-top: 20px; }
.guide-list { padding-left: 20px; }
.guide-list li { padding-left: 4px; margin-bottom: 18px; }
.guide-list strong { color: #60704f; font-size: 13px; font-weight: 600; }
.guide-list p { margin-top: 5px; }
.form-dialog, .booking-dialog { width: 620px; }
.small-dialog { width: 460px; }
.modal-header, .dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 28px; border-bottom: 1px solid var(--line); }
.modal-header h2, .dialog-header h2 { font-size: 19px; font-weight: 650; }
.modal-body, .dialog-body { padding: 26px 28px; }
.modal-footer, .dialog-footer { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 18px 28px; border-top: 1px solid var(--line); background: #fdfdfa; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, 1fr); gap: 30px; padding: 28px; }
.detail-content { min-width: 0; }
.detail-main { min-width: 0; }
.detail-cover { display: block; width: 100%; height: 275px; object-fit: cover; border-radius: 13px; background: #eeeae2; }
.detail-intro { margin-top: 23px; }
.detail-intro > .eyebrow { margin-bottom: 9px; font-size: 10px; }
.detail-intro h2 { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 26px; letter-spacing: -.6px; }
.detail-intro > p:not(.eyebrow) { margin-top: 12px; color: #7e8970; font-size: 13px; line-height: 1.9; }
.detail-facts { display: grid; gap: 8px; margin-top: 16px; }
.detail-facts > span { display: flex; align-items: flex-start; gap: 7px; color: #89957a; font-size: 12px; line-height: 1.8; }
.detail-facts svg { width: 15px; height: 15px; margin-top: 3px; }
.check-list { list-style: none; padding-left: 0 !important; display: grid; gap: 9px; }
.check-list > li { display: flex; align-items: flex-start; gap: 7px; }
.check-list > li svg { width: 16px; height: 16px; color: #9cae87; margin-top: 4px; }
.plain-list { display: grid; gap: 8px; }
.qualification-note { display: flex; align-items: center; gap: 9px; margin-top: 23px; padding: 14px; border-radius: 10px; background: #f5f5ef; color: #959d87; font-size: 11px; }
.qualification-note > svg { width: 22px; height: 22px; color: #9da98c; }
.qualification-note small { display: block; margin-top: 3px; font-size: 10px; color: #a7af99; }
.detail-image { width: 100%; height: 275px; object-fit: cover; border-radius: 13px; background: #eeeae2; }
.detail-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-top: 21px; }
.detail-heading h2, .detail-title { font-size: 26px; letter-spacing: -.7px; }
.detail-subtitle { margin-top: 7px; color: var(--muted); font-size: 12px; }
.detail-section { margin-top: 25px; padding-top: 23px; border-top: 1px solid var(--line); }
.detail-section h3 { margin-bottom: 13px; font-size: 15px; }
.detail-section p, .detail-section li { color: #77816a; font-size: 13px; line-height: 1.9; }
.detail-section ul { padding-left: 19px; }
.detail-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.detail-features > span, .detail-feature { display: flex; align-items: center; gap: 8px; color: #758169; font-size: 12px; }
.detail-features svg { width: 17px; height: 17px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: 12px; color: #7b8670; }
.booking-panel { align-self: start; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: #fcfcf8; }
.booking-panel h3 { font-size: 17px; margin-bottom: 7px; }
.booking-panel .provider-price { font-size: 27px; margin-block: 5px 21px; }
.booking-panel .field { margin-top: 15px; }
.booking-panel .button.primary { width: 100%; margin-top: 22px; }
.booking-panel .form-grid { gap: 11px; }
.provider-dialog .booking-panel { padding-top: 29px; }
.booking-panel > .eyebrow { font-size: 10px; letter-spacing: .3px; }
.booking-panel > .eyebrow::before { display: none; }
.detail-price { margin-top: 12px; color: #424e37; font-size: 29px; font-weight: 700; line-height: 1.5; letter-spacing: -.8px; }
.detail-price > small { margin-left: 6px; font-size: 12px; font-weight: 400; color: #9ba58b; letter-spacing: 0; }
.booking-panel > .field-hint { margin-top: 2px; }
.booking-panel textarea { min-height: 80px; font-size: 12px; }
.booking-panel .field input, .booking-panel .field select { min-height: 40px; font-size: 12px; }
.quote-summary { display: grid; gap: 9px; padding-top: 19px; margin-top: 20px; border-top: 1px solid #e6e9dd; }
.quote-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #89967a; font-size: 12px; }
.quote-summary > .quote-total { margin-top: 4px; padding-top: 14px; border-top: 1px solid #e6e9dd; color: #526343; }
.quote-total strong { font-size: 14px; font-weight: 600; }
.quote-total strong:last-child { font-size: 21px; font-weight: 700; }
.form-error:empty { display: none; }
.form-error:not(:empty) { margin-top: 11px; }
.booking-note { margin-top: 11px; color: #949d88; font-size: 11px; line-height: 1.7; text-align: center; }
.price-breakdown { display: grid; gap: 8px; margin-top: 18px; font-size: 12px; color: #7c866f; }
.price-breakdown > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-breakdown .total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink); font-weight: 650; }
.review-item { padding-block: 15px; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: 0; padding-bottom: 0; }
.review-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.review-item p { margin-top: 8px; }
.review-date { font-size: 11px; color: var(--muted); }
.booking-success { text-align: center; padding: 28px 12px; }
.success-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; color: var(--green); background: var(--green-light); }
.success-icon svg { width: 27px; height: 27px; }
.booking-success h3 { font-size: 22px; }
.booking-success p { color: var(--muted); margin-top: 10px; }

.empty-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 250px; padding: 40px 24px; border: 1px dashed #dce1d1; border-radius: 15px; color: #9ca68f; background: #fffffc; text-align: center; }
.empty-state > svg { width: 35px; height: 35px; margin-bottom: 17px; stroke-width: 1.3; }
.empty-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #f2f4eb; color: #acb79b; margin-bottom: 18px; }
.empty-icon > svg { width: 26px; height: 26px; stroke-width: 1.4; }
.empty-state h3 { font-size: 17px; color: #68775b; }
.empty-state p { max-width: 370px; font-size: 12px; margin-top: 8px; }
.empty-state .button { margin-top: 20px; }
.notice { display: flex; align-items: start; gap: 9px; padding: 12px 15px; border: 1px solid #e8e5d5; border-radius: 9px; background: #faf8ee; color: #8e886b; font-size: 12px; line-height: 1.75; }
.notice svg { width: 17px; height: 17px; margin-top: 2px; }
.notice.info { background: #f2f5ef; border-color: #e3e9db; color: #7b8b6b; }
.notice.warning { background: #fff6e7; border-color: #f4e6c9; color: #9d7b42; }
.notice.success { background: var(--green-light); border-color: #dbe7d8; color: var(--green); }
.notice + .form-grid, .notice + form { margin-top: 20px; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 26px 0; margin-top: 44px; border-top: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item > svg { width: 25px; height: 25px; color: #98a08a; stroke-width: 1.3; }
.trust-item h3 { font-size: 12px; font-weight: 600; }
.trust-item p { margin-top: 4px; font-size: 10px; color: #9b9f92; }
.footer { margin-top: 14px; padding-block: 29px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: 11px; color: #9c9f92; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: #777e6c; font-size: 13px; font-weight: 650; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.footer a:hover { color: var(--accent-hover); }
.footer-links button { min-height: 36px; padding: 0; border: 0; background: transparent; color: #989e8a; font-size: 11px; }
.footer-links button:hover { color: var(--accent-hover); }
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 8px; font-size: 17px; background: #d8d5c4; color: #fff; }
.footer-brand { font-size: 15px; }
.footer-brand small { margin-top: 4px; font-size: 9px; line-height: 1.5; letter-spacing: .2px; color: #a2a692; font-weight: 400; }
.footer-note { font-size: 10px; color: #a1a696; }
.toast-stack { position: fixed; z-index: 200; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 13px 18px; border-radius: 12px; background: #333b2f; color: #fff; box-shadow: 0 5px 25px #17200d1a; font-size: 13px; animation: toast-enter .2s ease-out; pointer-events: auto; }
.toast svg { color: #c8d5ba; width: 18px; height: 18px; }
#toast { position: fixed; z-index: 200; left: 50%; bottom: 25px; width: max-content; max-width: min(460px, calc(100vw - 32px)); transform: translate(-50%, 12px); opacity: 0; visibility: hidden; pointer-events: none; animation: none; transition: opacity .18s, transform .18s, visibility .18s; }
#toast.visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.dialog-toast { position: sticky; z-index: 5; bottom: 15px; width: fit-content; max-width: calc(100% - 36px); margin: 0 auto 17px; padding: 12px 17px; border-radius: 10px; color: #fff; background: #3d4537; box-shadow: 0 3px 15px #2531191a; font-size: 12px; line-height: 1.8; text-align: center; }
.mobile-nav { display: none; }
@keyframes modal-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1440px) {
  .catalog-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .hero { gap: 74px; padding-top: 47px; }
  .hero-image, .hero-visual, .hero-image > img, .hero-visual > img, img.hero-image { height: 295px; }
}
@media (max-width: 1100px) {
  .header-inner { gap: 28px; }
  .main-nav, .primary-nav { gap: 22px; }
  .header-actions { gap: 12px; }
  .hero { gap: 35px; }
  .hero h1, .hero-title { font-size: 37px; }
  .catalog-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 25px; }
  .filter-sidebar { padding-right: 19px; }
  .provider-grid { gap: 18px 14px; }
  .provider-body { padding: 12px; }
  .provider-title { flex-wrap: wrap; gap: 4px; }
  .provider-title h3, h3.provider-title { font-size: 14px; }
  .provider-price { font-size: 16px; }
  .card-action { padding-inline: 7px; }
  .search-field { padding-inline: 15px; }
  .results-heading h2 { font-size: 18px; }
  .results-heading h2 > span { display: block; margin: 5px 0 0; }
  .saved-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .container, .page-width, .header-inner, .footer-inner { width: calc(100% - 48px); }
  .header-inner { min-height: 78px; gap: 27px; }
  .brand { font-size: 19px; }
  .header-actions > .header-divider, .header-actions > .language-switch { display: none; }
  .header-actions { font-size: 12px; }
  .main-nav, .primary-nav { gap: 22px; }
  .main-nav a, .primary-nav a { font-size: 13px; }
  .main-nav a.active::after, .primary-nav a.active::after, .main-nav .nav-link.active::after { bottom: 14px; }
  .hero { gap: 27px; padding-top: 31px; }
  .hero h1, .hero-title { font-size: 32px; letter-spacing: -1px; }
  .hero-description, .hero-subtitle { font-size: 12px; }
  .hero-meta { font-size: 10px; gap: 10px; margin-top: 17px; }
  .hero-points { font-size: 11px; gap: 8px 13px; margin-top: 19px; }
  .hero-image, .hero-visual, .hero-image > img, .hero-visual > img, img.hero-image { height: 239px; }
  .search-field { padding-inline: 12px; gap: 8px; }
  .search-field > svg { display: none; }
  .search-bar > .button { padding-inline: 19px; }
  .category-strip { gap: 0; }
  .category-button, .category-item, .category-strip > button { font-size: 11px; }
  .catalog-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 23px; }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .provider-body { padding: 14px; }
  .provider-title { flex-wrap: nowrap; }
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout { gap: 24px; padding: 24px; }
  .booking-panel { padding: 18px; }
  .detail-image { height: 230px; }
  .detail-cover, .service-illustration.detail-cover { height: 230px; }
  .trust-strip { gap: 20px; }
  .trust-item { gap: 9px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 20px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .container, .page-width, .header-inner, .footer-inner { width: calc(100% - 36px); }
  .main-content { padding-bottom: 34px; }
  .header-inner { min-height: 70px; gap: 16px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .main-nav, .primary-nav { display: none; }
  .header-actions { gap: 10px; }
  .header-actions .button { min-height: 35px; padding: 7px 11px; font-size: 11px; border-radius: 8px; }
  .header-actions .header-link { font-size: 11px; }
  .header-actions .header-link > svg { display: none; }
  .account-button { min-height: 36px; padding-inline: 10px; font-size: 11px; gap: 5px; }
  .account-button > svg { width: 15px; height: 15px; }
  .header-actions .favorites-link { width: 31px; height: 35px; }
  .header-actions .favorites-link > svg { width: 18px; height: 18px; }
  .header-actions .user-avatar { width: 30px; height: 30px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 15px; padding-block: 27px 24px; }
  .hero-content, .hero-copy { padding-block: 0; }
  .eyebrow { font-size: 9px; gap: 6px; letter-spacing: .6px; }
  .eyebrow::before { width: 12px; }
  .hero h1, .hero-title { margin-top: 11px; font-size: 28px; line-height: 1.45; letter-spacing: -.8px; }
  .hero-description, .hero-subtitle { margin-top: 11px; font-size: 11px; line-height: 1.8; }
  .hero-meta { gap: 6px 10px; margin-top: 13px; font-size: 10px; }
  .hero-meta svg { width: 12px; height: 12px; }
  .hero-points { font-size: 10px; gap: 6px 11px; margin-top: 15px; }
  .hero-points svg { width: 12px; height: 12px; }
  .hero-image, .hero-visual, .hero-image > img, .hero-visual > img, img.hero-image { height: 220px; border-radius: 14px; }
  .hero-image-caption, .photo-caption { font-size: 9px; left: 10px; bottom: 12px; }
  .hero-image-note { left: 10px; right: 10px; bottom: 12px; padding: 10px; gap: 7px; font-size: 10px; border-radius: 8px; }
  .hero-image-note small { font-size: 9px; }
  .hero-image-note .note-icon { width: 26px; height: 26px; border-radius: 7px; }
  .hero-image-note .note-icon > svg { width: 14px; height: 14px; }
  .hero-photo-label { bottom: auto; top: 10px; right: 10px; font-size: 8px; }
  .search-bar { grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 13px; gap: 5px 0; }
  .search-field { padding: 6px 12px; }
  .search-field:nth-child(2) { border-right: 0; }
  .search-field:nth-child(3) { border-top: 1px solid #f0f0e9; padding-top: 10px; }
  label.search-field { padding-inline: 12px; }
  label.search-field > span { font-size: 10px; }
  .search-field input, .search-field select { font-size: 16px; }
  .search-field input::placeholder { font-size: 12px; }
  .search-label, .search-field label > span { font-size: 10px; }
  .search-field select, .search-field input { min-height: 30px; font-size: 14px; }
  .search-bar > .button { margin: 3px 3px 1px 8px; min-height: 44px; }
  .category-strip { grid-template-columns: repeat(8, 78px); overflow-x: auto; gap: 3px; margin-top: 17px; padding-block: 0 17px; scrollbar-width: none; }
  .category-strip::-webkit-scrollbar { display: none; }
  .category-button, .category-item, .category-strip > button { font-size: 11px; min-height: 77px; gap: 8px; border-radius: 10px; }
  .category-button svg, .category-item svg, .category-strip > button svg { width: 24px; height: 24px; }
  .category-button.active::after, .category-item.active::after, .category-strip > button.active::after { bottom: -8px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 24px; }
  .filter-sidebar { display: none; position: static; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .filter-sidebar.is-open { display: block; }
  .filter-heading { margin-bottom: 12px; }
  .filter-heading h2 { font-size: 13px; }
  .filter-group { padding-block: 12px; }
  .filter-options { display: flex; flex-wrap: wrap; gap: 7px 15px; }
  .check-option, .checkbox-label, .filter-option { min-height: 32px; font-size: 12px; }
  .filter-title, .filter-group > legend, .filter-group > h3 { margin-bottom: 8px; }
  .filter-promo { display: none; }
  .sidebar-note { display: none; }
  .filter-toggle { display: inline-flex; }
  .section-heading, .catalog-heading, .results-heading { gap: 12px; margin-bottom: 17px; }
  .section-heading h2, .catalog-heading h2, .results-heading h2 { font-size: 19px; }
  .sort-control { gap: 4px; }
  .sort-control select, .sort-select { max-width: 125px; font-size: 11px; padding: 6px 20px 6px 8px; }
  .results-heading { align-items: flex-start; gap: 10px; }
  .results-heading h2 { font-size: 18px; }
  .results-heading h2 > span { display: block; margin: 5px 0 0; font-size: 10px; }
  .results-heading .eyebrow { font-size: 9px; }
  .results-tools { gap: 6px; }
  .results-tools .filter-toggle { min-height: 34px; padding: 6px 9px; gap: 4px; font-size: 11px; }
  .filter-toggle > svg { width: 14px; height: 14px; }
  .sort-label select { min-height: 34px; font-size: 11px; padding: 7px 24px 7px 9px; }
  .sort-label > svg { width: 11px; height: 11px; right: 8px; }
  .provider-grid, .market-grid { gap: 18px 12px; }
  .provider-card, .market-card { border-radius: 11px; }
  .provider-image, .card-image { aspect-ratio: 1.18; }
  .provider-body, .market-body { padding: 12px; }
  .provider-title { flex-wrap: wrap; gap: 3px; }
  .provider-title h3, h3.provider-title, .market-body h3 { font-size: 14px; }
  .provider-title h3 { width: 100%; }
  .provider-rating { font-size: 11px; }
  .provider-role { font-size: 11px; }
  .provider-card .provider-meta { font-size: 10px; gap: 5px; }
  .provider-meta { font-size: 11px; gap: 5px; margin-top: 6px; }
  .provider-tags { gap: 4px; margin-top: 9px; }
  .provider-tags span, .tag { font-size: 10px; padding: 3px 5px; }
  .provider-description, .provider-desc { font-size: 12px; }
  .provider-footer { flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 10px; }
  .provider-bottom { gap: 8px; margin-top: 12px; padding-top: 10px; }
  .provider-bottom .provider-price { display: flex; flex-direction: column; gap: 1px; }
  .provider-bottom .provider-price > span { font-size: 10px; }
  .provider-price { font-size: 17px; }
  .card-action { min-height: 36px; font-size: 11px; padding-inline: 9px; }
  .favorite-toggle { width: 30px; height: 30px; top: 9px; right: 9px; }
  .image-label, .card-label { top: 9px; left: 9px; font-size: 9px; padding: 4px 6px; }
  .card-badge { top: 9px; left: 9px; font-size: 9px; padding: 4px 6px; }
  .service-illustration { min-height: 135px; }
  .service-illustration > svg { width: 48px; height: 48px; }
  .page { padding-block: 26px 36px; }
  .page-heading { align-items: flex-start; gap: 14px; margin-bottom: 22px; }
  .page-title { font-size: 27px; }
  .page-subtitle { font-size: 12px; }
  .page-intro { padding-block: 29px 25px; }
  .page-intro h1 { font-size: 27px; margin-top: 10px; }
  .page-intro > p:last-child { font-size: 12px; margin-top: 11px; }
  .join-banner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 23px; margin-top: 30px; }
  .join-banner h2 { font-size: 20px; }
  .join-banner > .button { min-height: 40px; }
  .page-actions { gap: 6px; }
  .page-actions .button { padding-inline: 11px; font-size: 11px; }
  .market-toolbar { flex-wrap: wrap; gap: 13px; }
  .market-toolbar .chip-group { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 3px; }
  .market-toolbar .chip { flex-shrink: 0; min-height: 37px; }
  .market-price { font-size: 19px; }
  .item-price { font-size: 20px; }
  .market-body > p { font-size: 11px; line-height: 1.7; }
  .market-body > p svg { width: 12px; height: 12px; }
  .market-grid .provider-bottom { gap: 7px; }
  .agency-grid { grid-template-columns: 1fr; gap: 15px; }
  .agency-card { padding: 19px; }
  .agency-list .agency-card { flex-wrap: wrap; padding: 20px; gap: 13px; }
  .agency-icon { width: 45px; height: 45px; border-radius: 11px; }
  .agency-icon > svg { width: 23px; height: 23px; }
  .agency-content h2 { font-size: 19px; }
  .agency-content > p { font-size: 12px; }
  .agency-list .agency-card > .button { width: 100%; margin-top: 2px; }
  .agency-header h3 { font-size: 17px; }
  .booking-card { flex-wrap: wrap; gap: 13px; padding: 15px; }
  .booking-card > img { width: 75px; height: 75px; }
  .booking-card > .service-illustration { width: 75px; height: 75px; }
  .booking-content h2 { font-size: 17px; }
  .booking-content h2 small { display: block; margin: 4px 0 0; font-size: 11px; }
  .booking-content p { font-size: 11px; }
  .booking-summary { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding-top: 13px; border-top: 1px solid var(--line); }
  .booking-summary > strong { font-size: 22px; }
  .booking-summary > span { grid-column: 1; grid-row: 2; }
  .booking-summary > .text-button { grid-column: 2; grid-row: 1 / 3; }
  .saved-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .application-cards { grid-template-columns: 1fr; gap: 13px; }
  .application-card { padding: 18px; }
  .my-applications > h2 { font-size: 18px; }
  .booking-info h3 { font-size: 14px; }
  .booking-actions { width: 100%; padding-top: 12px; border-top: 1px solid var(--line); justify-content: flex-end; }
  .info-grid { grid-template-columns: 1fr; gap: 12px; }
  .info-card { padding: 20px; }
  dialog { max-width: calc(100vw - 24px); max-height: calc(100dvh - 32px); border-radius: 17px; }
  .modal-header, .dialog-header { padding: 18px 20px; gap: 12px; }
  .modal-header h2, .dialog-header h2 { font-size: 18px; }
  .modal-body, .dialog-body { padding: 20px; }
  .modal-footer, .dialog-footer { padding: 16px 20px; }
  .simple-dialog { padding: 30px 22px 25px; }
  .simple-dialog > h2 { font-size: 23px; padding-right: 15px; }
  .dialog-close { right: 9px; top: 9px; }
  .simple-dialog > .eyebrow { max-width: calc(100% - 30px); font-size: 9px; }
  .onboard-steps { gap: 7px; margin-block: 21px; }
  .onboard-steps > span { font-size: 10px; gap: 5px; }
  .onboard-steps b { width: 21px; height: 21px; }
  .item-detail-image { height: 230px; }
  .info-list > div { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
  .success-dialog { padding-top: 42px; }
  .detail-layout { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .detail-image { height: 240px; }
  .detail-cover, .service-illustration.detail-cover { height: 225px; }
  .detail-intro h2 { font-size: 24px; gap: 8px; }
  .detail-intro .provider-rating { font-size: 12px; }
  .detail-intro .provider-rating small { font-size: 10px; }
  .detail-heading h2, .detail-title { font-size: 24px; }
  .detail-section { margin-top: 20px; padding-top: 19px; }
  .booking-panel { padding: 21px; }
  .provider-dialog .booking-panel { padding-top: 22px; }
  .booking-panel .field input, .booking-panel .field select, .booking-panel .field textarea { min-height: 44px; font-size: 16px; }
  .booking-panel .provider-price { margin-bottom: 15px; }
  .booking-panel .button.primary { min-height: 48px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .form-grid { gap: 15px; }
  .form-actions { padding-top: 20px; }
  .trust-strip { grid-template-columns: 1fr; gap: 17px; margin-top: 33px; padding-block: 22px; }
  .trust-item { gap: 12px; }
  .trust-item h3 { font-size: 12px; }
  .trust-item p { font-size: 11px; }
  .footer { padding-block: 23px; }
  .footer-inner { gap: 16px; align-items: flex-start; }
  .footer-links { gap: 15px; }
  .footer-note { width: 100%; font-size: 10px; }
  .toast-stack { bottom: calc(78px + env(safe-area-inset-bottom)); }
  #toast { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .mobile-nav { position: fixed; z-index: 40; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, 1fr); min-height: 64px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #fffdfaf5; border-top: 1px solid #e5e8dd; backdrop-filter: blur(14px); }
  .mobile-nav a, .mobile-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 3px 0; border: 0; background: transparent; color: #929b85; font-size: 10px; font-weight: 500; }
  .mobile-nav svg { width: 21px; height: 21px; stroke-width: 1.6; }
  .mobile-nav .active { color: var(--accent-hover); }
}
@media (max-width: 420px) {
  .hero { grid-template-columns: 1.13fr 1fr; gap: 12px; }
  .hero h1, .hero-title { font-size: 22px; }
  .hero-image, .hero-visual, .hero-image > img, .hero-visual > img, img.hero-image { height: 205px; }
  .hero-meta { gap: 5px; }
  .hero-meta span { font-size: 9px; }
  .header-actions { gap: 6px; }
  .header-actions .header-link { font-size: 10px; }
  .header-actions .button { padding-inline: 8px; }
  .header-actions .header-link { display: none; }
  .hero-points { gap: 5px 8px; font-size: 10px; }
  .hero-image-note .note-icon { display: none; }
  .hero-image-note { padding: 9px; }
  .results-heading h2 { max-width: 180px; font-size: 17px; line-height: 1.5; }
  .results-tools { flex-direction: column-reverse; align-items: stretch; gap: 5px; }
  .results-tools .filter-toggle { min-height: 30px; padding-block: 4px; }
  .sort-label select { min-height: 31px; }
  .provider-body, .market-body { padding: 11px; }
  .provider-title h3, h3.provider-title, .market-body h3 { font-size: 13px; }
  .provider-footer { gap: 7px; }
  .provider-price { font-size: 16px; }
  .provider-price small, .provider-price span { font-size: 11px; }
  .card-action { min-height: 36px; padding: 5px 8px; font-size: 11px; }
  .provider-tags span, .tag { font-size: 10px; }
  .section-heading h2, .catalog-heading h2, .results-heading h2 { font-size: 18px; }
  .results-count { font-size: 11px; margin-left: 5px; }
  .form-grid { grid-template-columns: 1fr; }
  .booking-panel .form-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 25px 22px; }
  .hero-copy { max-width: none; }
  .hero h1, .hero-title { font-size: 30px; line-height: 1.45; letter-spacing: -.8px; margin-top: 10px; }
  .hero-description { font-size: 12px; line-height: 1.8; margin-top: 13px; }
  .hero-points { margin-top: 13px; gap: 17px; font-size: 10px; }
  .hero-image, .hero-visual, .hero-image > img, .hero-visual > img, img.hero-image { height: 150px; width: 100%; }
  .hero-visual > img { object-position: center 58%; }
  .hero-image-note { right: auto; left: 11px; bottom: 11px; padding: 9px 12px; font-size: 11px; }
  .hero-image-note .note-icon { display: grid; width: 27px; height: 27px; }
  .hero-image-note small { font-size: 9px; }
  .hero-photo-label { top: auto; bottom: 11px; }
  .provider-grid, .market-grid, .saved-grid { grid-template-columns: 1fr; gap: 20px; }
  .provider-card, .market-card { border-radius: 14px; }
  .provider-image, .market-photo { aspect-ratio: 1.8; }
  .provider-body, .market-body { padding: 17px 18px 16px; }
  .provider-title { flex-wrap: nowrap; align-items: center; }
  .provider-title h3 { width: auto; }
  .provider-title h3, h3.provider-title, .market-body h3 { font-size: 17px; }
  .provider-rating { font-size: 12px; }
  .provider-rating > small { font-size: 11px; }
  .provider-role { font-size: 12px; margin-top: 4px; }
  .provider-card .provider-meta { font-size: 12px; gap: 5px; margin-top: 9px; }
  .provider-tags { margin-top: 10px; }
  .provider-tags span, .tag { font-size: 11px; padding: 3px 7px; }
  .provider-bottom { margin-top: 15px; padding-top: 13px; }
  .provider-bottom .provider-price { display: block; font-size: 21px; }
  .provider-bottom .provider-price > span { font-size: 11px; }
  .card-action { min-height: 39px; padding: 7px 13px; font-size: 12px; }
  .card-badge { left: 13px; top: 13px; font-size: 11px; padding: 4px 8px; }
  .favorite-toggle { width: 35px; height: 35px; right: 12px; top: 12px; }
  .favorite-toggle svg { width: 17px; height: 17px; }
  .service-illustration { min-height: 170px; }
  .service-illustration > svg { width: 58px; height: 58px; }
  .market-body > p { font-size: 12px; }
  .market-body .item-price { font-size: 22px; }
  .results-heading h2 { max-width: none; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Accounts and application drafts. Existing catalog layouts are unchanged. */
.header-actions .bookings-link { min-height: 40px; padding: 0; border: 0; background: transparent; font-size: 12px; color: #747b6a; white-space: nowrap; }
.header-actions .bookings-link:hover { color: var(--accent-hover); }
.header-actions .account-button { max-width: 178px; min-width: 0; }
.header-actions .account-button > span { display: block; min-width: 0; max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-page { padding-top: 35px; }
.account-page > .page-heading { display: block; max-width: 1040px; margin-bottom: 26px; }
.account-page > .page-heading > .eyebrow { margin-top: 0; margin-bottom: 12px; font-size: 10px; letter-spacing: .6px; }
.account-page > .page-heading h1 { font-size: 30px; font-weight: 650; letter-spacing: -.8px; }
.account-page > .page-heading p { margin-top: 7px; color: var(--muted); font-size: 13px; }
.account-page .account-shortcuts { justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
.account-page .account-shortcuts > .button { flex: 0 0 auto; min-width: 0; white-space: nowrap; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); gap: 24px; max-width: 1040px; align-items: start; }
.account-card { min-width: 0; padding: 27px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.account-card > h2 { margin-bottom: 19px; font-size: 19px; font-weight: 650; letter-spacing: -.3px; }
.account-card > p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.account-card + .account-card { margin-top: 0; }
.account-page > .account-card { max-width: 1040px; }
.account-card > .eyebrow { margin-bottom: 9px; color: #c47750; font-size: 10px; letter-spacing: .3px; }
.account-card > .button { margin-top: 20px; }
.account-card > .text-button { margin-top: 6px; }
.account-card > .section-heading { align-items: flex-start; gap: 15px; margin-bottom: 14px; }
.account-card > .section-heading > div { flex: 1; min-width: 0; }
.account-card > .section-heading h2 { margin-top: 7px; font-size: 19px; font-weight: 650; line-height: 1.5; }
.account-card > .section-heading .eyebrow { margin-top: 0; font-size: 10px; letter-spacing: .3px; }
.account-card > .section-heading > .save-status { flex-shrink: 0; padding-top: 3px; font-size: 11px; }
.account-card-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.account-card-header h2 { font-size: 19px; font-weight: 650; letter-spacing: -.3px; }
.account-card.account-summary { display: block; }
.account-summary > h2 { line-height: 1.55; }
.account-summary > h3 { font-size: 17px; font-weight: 650; overflow-wrap: anywhere; }
.account-summary > h3 + p { margin-top: 6px; }
.account-summary > .dialog-actions { justify-content: flex-start; flex-wrap: wrap; margin-top: 20px; }
.account-summary > .dialog-actions > .button { min-height: 41px; font-size: 12px; padding-inline: 13px; }
.account-summary > .field-hint { margin-top: 11px; }
.account-summary > .info-list { margin-top: 17px; margin-bottom: 18px; }
.account-summary > .info-list > div { grid-template-columns: 74px minmax(0, 1fr); }
.account-summary .info-list dd { color: #596052; overflow-wrap: anywhere; }
.account-summary .info-list dt { color: #888d81; }
.account-summary > .button { margin-top: 18px; }
.account-summary > .notice { margin-block: 18px; }
.account-identity { min-width: 0; }
.account-identity strong { display: block; font-size: 19px; font-weight: 650; }
.account-identity p, .account-identity small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.account-avatar { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: #f7e9df; color: #c57451; font-size: 19px; font-weight: 600; }
.account-avatar svg { width: 23px; height: 23px; }
.account-user { display: flex; align-items: center; gap: 13px; margin-bottom: 23px; }
.account-session { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; max-width: 1040px; margin: -4px 0 19px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: #8a937d; }
.account-session > span { display: inline-flex; align-items: center; gap: 6px; }
.account-session svg { width: 16px; height: 16px; color: #95a383; }
.account-session > .text-button { font-size: 12px; color: #8c937f; }
.account-error { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; margin-block: 18px; padding: 13px 15px; border: 1px solid #f0dacd; border-radius: 9px; background: #fff7f2; overflow-wrap: anywhere; }
.account-error > .form-error { margin: 0; color: #ad634b; font-size: 12px; line-height: 1.8; }
.account-error > .button { min-height: 38px; padding: 8px 12px; font-size: 12px; }
.account-recovery { margin-top: 20px; padding: 13px 15px; border: 1px solid #e5e7db; border-radius: 9px; background: #fafaf5; }
.account-recovery > summary { min-height: 24px; color: #7b856e; font-size: 12px; font-weight: 550; cursor: pointer; }
.account-recovery[open] > summary { margin-bottom: 10px; }
.account-recovery > .field-hint { margin-block: 8px 13px; }
.account-recovery > .info-list { margin-block: 9px 0; }
.account-recovery > .info-list > div { grid-template-columns: 68px minmax(0, 1fr); }
.account-recovery > .info-list > div:last-child { border-bottom: 0; }
.account-recovery .application-review { background: #fff; }
.account-empty { padding-block: 13px 5px; }
.account-empty > h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.account-empty > p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.account-empty > .button { margin-top: 20px; }
.account-card .empty-state { min-height: 190px; padding: 27px 15px; border: 0; background: #fafaf7; }
.account-card .empty-state h3 { color: #5d6555; }
.auth-card { width: min(520px, 100%); margin: 24px auto 45px; padding: 35px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: center; }
.auth-card > h2 { margin-top: 16px; font-size: 25px; font-weight: 650; letter-spacing: -.5px; }
.auth-card > p { color: var(--muted); font-size: 13px; margin-top: 11px; line-height: 1.8; }
.auth-card > .button { margin-top: 24px; min-width: 190px; }
.auth-card > .account-avatar { margin-inline: auto; width: 56px; height: 56px; }
.auth-card .notice { margin-top: 23px; text-align: left; }
.profile-form { margin-top: 20px; }
.profile-form .form-grid { gap: 19px 16px; }
.profile-form > .button[type="submit"] { margin-top: 18px; }
.profile-form > .account-error + .button[type="submit"] { margin-top: 0; }
.profile-form .consent-label .text-button { display: inline; min-height: 0; padding: 0; font-size: inherit; color: #bb7554; text-decoration: underline; text-underline-offset: 3px; line-height: inherit; }
.profile-form > .field, .profile-form > .check-group { margin-top: 19px; }
.profile-form label.field > span, .application-form label.field > span { color: #62695c; font-size: 13px; }
.profile-form .field-hint, .application-form .field-hint { color: #848a7b; font-size: 12px; }
.profile-form .consent-label, .application-form .consent-label { color: #7b8372; font-size: 12px; }
.profile-form .form-actions { align-items: center; flex-wrap: wrap; padding-top: 19px; margin-top: 22px; border-top: 1px solid var(--line); }
.profile-form .form-actions > .save-status { margin-right: auto; }
.check-group { display: flex; flex-wrap: wrap; gap: 9px 17px; }
.check-group > label { display: inline-flex; align-items: center; gap: 7px; min-height: 33px; font-size: 13px; color: #727b67; cursor: pointer; }
.check-group input[type="checkbox"], .check-group input[type="radio"] { width: 16px; height: 16px; margin: 0; flex-shrink: 0; }
.profile-form .field input[readonly] { color: #92988a; background: #f7f7f2; border-color: #e9ebe2; }
.profile-form .field [aria-invalid="true"], .application-form .field [aria-invalid="true"] { border-color: #bd674e; background: #fffaf7; }
.profile-form .field [aria-invalid="true"]:focus, .application-form .field [aria-invalid="true"]:focus { outline-color: #f1d1c6; }
.profile-form .field-error, .application-form .field-error { color: #b35940; font-size: 12px; line-height: 1.6; }
.profile-form .field-error:empty, .application-form .field-error:empty { display: none; }
.profile-form > .form-error:not(:empty), .application-form > .form-error:not(:empty) { margin-block: 15px; padding: 11px 13px; border: 1px solid #f1d9cc; border-radius: 8px; background: #fff7f2; color: #af5c43; }
.application-status-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-block: 12px; margin-block: 4px 18px; border-bottom: 1px solid var(--line); }
.application-status-bar .status-badge, .application-state { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 6px; font-size: 12px; font-weight: 500; }
.status-badge[data-state="draft"], .application-state[data-state="draft"] { background: #f2f2eb; color: #7b826f; }
.status-badge[data-state="submitted"], .application-state[data-state="submitted"] { background: #fff0dc; color: #9a7745; }
.application-status-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.save-status, .sync-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 400; color: #969b8e; line-height: 1.6; }
.save-status:empty, .sync-status:empty { display: none; }
.save-status[data-state="saved"], .sync-status[data-state="saved"] { color: #718567; }
.save-status[data-state="error"], .sync-status[data-state="error"] { color: #b86143; }
.save-status[data-state="saving"], .sync-status[data-state="saving"] { color: #98917d; }
.save-status[data-state="saving"]::before, .sync-status[data-state="saving"]::before { content: ""; width: 11px; height: 11px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: account-spin .8s linear infinite; }
.save-status > svg, .sync-status > svg { width: 14px; height: 14px; }
.account-loading { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 190px; color: var(--muted); font-size: 13px; }
.account-loading::before { content: ""; width: 16px; height: 16px; border: 2px solid #dddace; border-top-color: var(--accent); border-radius: 50%; animation: account-spin .8s linear infinite; }
.form-status { margin-top: 15px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.form-status.error { color: #b45e43; }
.form-status.success { color: #6d825e; }
.form-status:empty { display: none; }

dialog:has(.onboarding-dialog) { width: 740px; }
.simple-dialog.onboarding-dialog { padding: 32px 34px 24px; }
.onboarding-dialog > h2 { max-width: calc(100% - 18px); font-size: 25px; }
.onboarding-dialog > p:not(.eyebrow) { margin-top: 10px; color: var(--muted); font-size: 13px; }
.onboarding-dialog > p + .application-review { margin-top: 20px; }
.onboarding-dialog > .field-hint { font-size: 12px; }
.application-form { margin-top: 18px; }
.account-dialog .simple-dialog > .button { margin-top: 22px; }
.account-dialog .prose h3 { margin-top: 22px; color: #626d55; font-size: 14px; font-weight: 650; }
.account-dialog .prose h3:first-child { margin-top: 0; }
.account-dialog .prose h3 + p { margin-top: 8px; }
.onboarding-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 24px 25px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.onboarding-steps > span { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; color: #a0a491; font-size: 12px; font-weight: 500; }
.onboarding-steps > span > b, .onboarding-steps .step-number { display: grid; place-items: center; flex-shrink: 0; width: 27px; height: 27px; border-radius: 50%; background: #f1f2eb; color: #a0a591; font-size: 11px; font-weight: 550; }
.onboarding-steps > .active { color: #bd6b48; font-weight: 600; }
.onboarding-steps > .active > b, .onboarding-steps > .active > .step-number { background: #fbe9de; color: #c77049; }
.onboarding-steps > .complete { color: #7a8b6a; }
.onboarding-steps > .complete > b, .onboarding-steps > .complete > .step-number { background: #edf2e8; color: #7e916b; }
.wizard-panel { min-width: 0; }
.wizard-panel > h3 { margin-bottom: 18px; color: #515a48; font-size: 17px; font-weight: 650; }
.wizard-panel > p { margin-bottom: 19px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.wizard-panel > .field, .wizard-panel > .notice, .wizard-panel > .check-group { margin-top: 18px; }
.wizard-panel > .field:first-child { margin-top: 0; }
.wizard-panel .form-grid { align-items: start; gap: 18px; }
.wizard-panel .application-subtypes { margin-top: 20px; }
.wizard-panel > .application-subtypes:first-child { margin-top: 0; }
.wizard-panel > .application-subtypes + .form-grid { margin-top: 19px; }
.wizard-panel textarea { min-height: 108px; }
.wizard-panel .notice { font-size: 12px; }
.wizard-actions { position: sticky; bottom: -1px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 25px; padding-top: 18px; padding-bottom: 2px; border-top: 1px solid var(--line); background: #fff; }
.wizard-actions-secondary, .wizard-actions-primary { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.wizard-actions-primary { margin-left: auto; justify-content: flex-end; }
.wizard-actions .button { min-height: 43px; padding-inline: 17px; font-size: 13px; }
.wizard-actions .button.text-button { padding-inline: 4px; border-color: transparent; background: transparent; color: #989e8c; font-size: 12px; font-weight: 400; }
.wizard-actions .button.text-button:hover { color: #bd7757; }
.wizard-actions .save-status { width: 100%; }
.application-review { margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.application-review .review-row, .application-review > div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 20px; margin: 0; padding: 13px 17px; border-bottom: 1px solid #eeeee6; background: #fff; font-size: 13px; line-height: 1.8; }
.application-review > div:last-child, .application-review .review-row:last-child { border-bottom: 0; }
.application-review .review-row > :first-child { color: #919785; font-size: 12px; font-weight: 400; }
.application-review .review-row > :last-child { margin: 0; color: #626d55; font-size: 13px; font-weight: 400; overflow-wrap: anywhere; white-space: pre-wrap; }
.profile-form .button[aria-busy="true"], .application-form .button[aria-busy="true"] { cursor: progress; opacity: .8; }
.profile-form .button[aria-busy="true"]::before, .application-form .button[aria-busy="true"]::before { content: ""; width: 13px; height: 13px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: account-spin .8s linear infinite; }
@keyframes account-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .header-actions .bookings-link { display: none; }
  .header-actions .account-button > span { max-width: 80px; }
  .account-grid { grid-template-columns: minmax(0, 1.25fr) minmax(240px, 1fr); gap: 18px; }
  .account-card { padding: 22px; }
  .profile-form .form-grid { grid-template-columns: 1fr; gap: 17px; }
}
@media (max-width: 700px) {
  .header-actions .account-button > span { max-width: 96px; }
  .account-page { padding-top: 27px; }
  .account-page > .page-heading { margin-bottom: 21px; gap: 15px; }
  .account-page > .page-heading h1 { font-size: 27px; }
  .account-page > .page-heading p { font-size: 12px; }
  .account-grid { grid-template-columns: 1fr; gap: 17px; }
  .account-card { padding: 22px; border-radius: 14px; }
  .account-card-header { margin-bottom: 20px; }
  .account-card-header h2, .account-card > h2 { font-size: 18px; }
  .account-card > .section-heading h2 { font-size: 18px; }
  .account-card > .section-heading > .save-status { font-size: 10px; }
  .account-session { margin-bottom: 17px; }
  .account-error { padding: 12px 13px; }
  .profile-form .form-grid { grid-template-columns: 1fr 1fr; }
  .account-summary .info-list > div { grid-template-columns: 77px minmax(0, 1fr); }
  .auth-card { margin-block: 10px 28px; padding: 29px 24px; }
  .auth-card > h2 { font-size: 23px; }
  .auth-card > .button { width: 100%; }
  .simple-dialog.onboarding-dialog { padding: 29px 22px 22px; }
  .onboarding-dialog > h2 { font-size: 23px; }
  .onboarding-steps { gap: 9px; margin-block: 22px; padding-bottom: 19px; }
  .onboarding-steps > span { gap: 6px; font-size: 11px; line-height: 1.6; }
  .onboarding-steps > span > b, .onboarding-steps .step-number { width: 24px; height: 24px; font-size: 10px; }
  .wizard-panel .form-grid { gap: 16px; }
  .wizard-panel > h3 { font-size: 16px; }
  .wizard-actions { gap: 11px; flex-wrap: wrap; margin-top: 23px; padding-top: 15px; }
  .wizard-actions-secondary { flex: 1; }
  .wizard-actions .button { min-height: 44px; padding-inline: 14px; font-size: 12px; }
  .application-review .review-row, .application-review > div { grid-template-columns: 88px minmax(0, 1fr); gap: 13px; padding: 12px 14px; }
}
@media (max-width: 420px) {
  .account-card { padding: 20px; }
  .profile-form .form-grid, .wizard-panel .form-grid { grid-template-columns: 1fr; }
  .application-status-bar { align-items: flex-start; gap: 8px; }
  .account-card-header { flex-wrap: wrap; gap: 7px; }
  .onboarding-steps { gap: 5px; }
  .onboarding-steps > span { gap: 5px; font-size: 10px; }
  .onboarding-steps > span > b, .onboarding-steps .step-number { width: 22px; height: 22px; }
  .wizard-actions-secondary, .wizard-actions-primary { width: 100%; }
  .wizard-actions-secondary { justify-content: space-between; }
  .wizard-actions-primary { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .wizard-actions-primary > .button { width: 100%; }
  .wizard-actions-primary > .button:only-child { grid-column: 1 / -1; }
  .account-summary > .dialog-actions > .button { flex: 1; }
  .application-review .review-row, .application-review > div { grid-template-columns: 75px minmax(0, 1fr); gap: 11px; }
}

/* Private request drafts and comparisons share the existing market palette. */
.needs-page, .comparison-page { min-width: 0; padding-top: 35px; }
.needs-page > .page-heading, .comparison-page > .page-heading { display: block; margin-bottom: 25px; }
.needs-page > .page-heading h1, .comparison-page > .page-heading h1 { margin-block: 9px; font-size: 30px; line-height: 1.45; font-weight: 650; letter-spacing: -.8px; }
.needs-page > .page-heading p, .comparison-page > .page-heading p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.needs-page > .page-heading > .eyebrow, .comparison-page > .page-heading > .eyebrow { color: #bb7856; font-size: 10px; letter-spacing: .5px; }
.needs-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 22px; max-width: 1040px; margin-bottom: 23px; }
.needs-toolbar > p, .needs-toolbar > span { color: #8b927f; font-size: 12px; line-height: 1.8; }
.needs-toolbar > p svg, .needs-toolbar > span svg { width: 15px; height: 15px; margin-right: 5px; color: #9ba58c; }
.needs-toolbar > .button { flex-shrink: 0; }
.needs-toolbar > div { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-left: auto; }
.needs-toolbar > div .button { min-height: 41px; padding: 9px 14px; font-size: 12px; }
.needs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; max-width: 1040px; }
.need-card { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.need-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.need-card-head h2, .need-card-head h3 { min-width: 0; font-size: 18px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.need-card-head .status-badge, .need-card-head .badge, .need-card-head .status-tag { flex-shrink: 0; margin-top: 2px; background: #f1f2eb; color: #88917b; font-size: 11px; }
.need-card > p { margin-top: 8px; color: #828b75; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.need-card-meta { display: grid; gap: 6px; color: #959c89; font-size: 12px; line-height: 1.8; }
.need-card-meta > p { margin: 0; }
.need-card-meta > .field-hint { margin-top: 4px; color: #a5ad97; font-size: 11px; }
.need-card-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.need-card-meta svg { width: 14px; height: 14px; }
.need-card-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 19px; padding-top: 15px; border-top: 1px solid #eceee5; }
.need-card-actions .button { min-height: 38px; padding: 8px 13px; font-size: 12px; }
.need-card-actions .text-button { margin-right: auto; font-size: 12px; }
.need-card-actions .button.text-button { margin-right: 0; margin-left: auto; padding-inline: 4px; border-color: transparent; background: transparent; color: #9ca58d; font-size: 12px; font-weight: 400; }
.need-card-actions .button.text-button:hover { color: #bd805b; }
.needs-empty, .compact-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 220px; max-width: 1040px; padding: 34px 24px; border: 1px dashed #dfe2d5; border-radius: 15px; background: #fffefa; color: #919a82; text-align: center; }
.needs-empty h2, .needs-empty h3, .compact-empty h2, .compact-empty h3 { color: #626c55; font-size: 19px; font-weight: 600; }
.needs-empty p, .compact-empty p { max-width: 440px; color: #969e89; font-size: 13px; line-height: 1.8; }
.needs-empty .button, .compact-empty .button { margin-top: 12px; }
.needs-empty > svg, .compact-empty > svg { width: 29px; height: 29px; margin-bottom: 6px; color: #aab59a; }
.needs-empty.account-card > h2, .needs-empty.account-card > p { margin: 0; }
.needs-empty.account-card > .button { margin-top: 12px; }
dialog:has(.needs-dialog) { width: 740px; }
.simple-dialog.needs-dialog { padding: 32px 34px 25px; }
.needs-dialog > h2 { padding-right: 18px; font-size: 25px; }
.needs-dialog > p:not(.eyebrow) { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.needs-dialog > .needs-privacy-note { font-size: 12px; color: #919c82; }
.needs-dialog > .needs-save-status { margin-top: 10px; }
.needs-form { margin-top: 23px; }
.needs-sections { display: grid; gap: 23px; }
.need-form-section { min-width: 0; }
.need-form-section + .need-form-section { padding-top: 22px; border-top: 1px solid var(--line); }
.need-form-section > h3 { margin-bottom: 16px; color: #606c53; font-size: 16px; font-weight: 650; }
.need-form-section > p { margin-block: -5px 17px; color: #8e9980; font-size: 12px; line-height: 1.8; }
.need-form-section .form-grid { align-items: start; gap: 18px; }
.need-detail-multi { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 12px 15px; border: 1px solid #e5e9da; border-radius: 9px; }
.need-detail-multi > legend { padding-inline: 5px; color: #7b896a; font-size: 12px; font-weight: 500; }
.need-detail-multi .check-group { gap: 7px 17px; }
.need-detail-multi .check-group > label { min-height: 32px; font-size: 12px; }
.needs-date-warning { color: #ac8750; font-size: 12px; line-height: 1.7; }
.need-form-section > .field + .field, .need-form-section > .form-grid + .field { margin-top: 18px; }
.needs-form label.field > span { font-size: 13px; color: #6c775f; }
.needs-form .field-hint { color: #939c86; font-size: 12px; }
.needs-form .field [aria-invalid="true"] { border-color: #c78061; background: #fffaf7; }
.needs-form .field-error { font-size: 12px; color: #b56d4f; }
.needs-form .field-error:empty { display: none; }
.needs-actions { position: sticky; bottom: -1px; z-index: 2; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 25px; padding: 18px 0 2px; border-top: 1px solid var(--line); background: #fff; }
.needs-actions > div { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.needs-actions .button { min-height: 43px; padding-inline: 17px; font-size: 13px; }
.needs-actions .button.text-button { padding-inline: 4px; border-color: transparent; background: transparent; color: #a1a98f; font-size: 12px; font-weight: 400; }
.needs-actions .button.text-button:hover { color: #be8159; }
.needs-save-status { display: inline-flex; align-items: center; gap: 6px; color: #979e8b; font-size: 12px; line-height: 1.7; }
.needs-save-status:empty { display: none; }
.needs-save-status[data-state="saved"] { color: #788c69; }
.needs-save-status[data-state="saving"] { color: #a1977c; }
.needs-save-status[data-state="error"] { color: #bb7350; }
.needs-save-status[data-state="saving"]::before { content: ""; width: 11px; height: 11px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: account-spin .8s linear infinite; }
.needs-error { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; padding: 13px 15px; margin-block: 19px; border: 1px solid #f0dfd0; border-radius: 9px; background: #fff8f1; overflow-wrap: anywhere; }
.needs-error > .form-error { margin: 0; font-size: 12px; line-height: 1.8; }
.needs-error > .button { min-height: 38px; font-size: 12px; padding: 8px 12px; }
.needs-recovery { margin-top: 19px; padding: 14px 15px; border: 1px solid #e6e8dd; border-radius: 9px; background: #fafbf6; }
.needs-recovery > summary { min-height: 24px; color: #7f8c6e; font-size: 12px; font-weight: 550; cursor: pointer; }
.needs-recovery[open] > summary { margin-bottom: 12px; }
.needs-recovery > p { font-size: 12px; color: #929c83; line-height: 1.8; }
.needs-recovery .info-list { margin-block: 12px 0; }
.needs-recovery dd { overflow-wrap: anywhere; white-space: pre-wrap; }
.needs-form .button[aria-busy="true"] { cursor: progress; opacity: .8; }

.provider-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.compare-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 36px; padding: 6px 9px; border: 1px solid #e6e8dc; border-radius: 6px; background: #fff; color: #969e88; font-size: 11px; font-weight: 500; }
.compare-toggle svg { width: 13px; height: 13px; }
.compare-toggle:hover { border-color: #cbd2bd; color: #748461; }
.compare-toggle[aria-pressed="true"] { border-color: #e7b599; background: #fff4eb; color: #bc7850; }
body:has(.compare-tray:not([hidden])) { padding-bottom: 115px; }
.compare-tray { position: fixed; z-index: 35; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; width: min(1100px, calc(100% - 48px)); padding: 15px 20px; border: 1px solid #dedfce; border-radius: 14px; background: #fffffcf7; box-shadow: 0 7px 30px #39422413; backdrop-filter: blur(12px); }
.compare-tray > .summary { min-width: 0; color: #8b947c; font-size: 12px; line-height: 1.65; }
.compare-tray > .summary strong { display: block; color: #515f40; font-size: 15px; font-weight: 650; }
.compare-tray > .summary p, .compare-tray > .summary small { display: block; margin-top: 3px; color: #9ba38e; font-size: 11px; font-weight: 400; }
.compare-tray-items { display: flex; align-items: center; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #d9dfce transparent; padding-block: 2px; }
.compare-tray-items > strong { flex-shrink: 0; margin-right: 5px; color: #687752; font-size: 12px; font-weight: 600; white-space: nowrap; }
.compare-chip { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; max-width: 175px; min-height: 41px; padding: 5px 6px 5px 9px; border: 1px solid #e9ebdf; border-radius: 8px; background: #f8f9f2; color: #7c896a; font-size: 12px; }
.compare-chip > img { width: 29px; height: 29px; border-radius: 5px; object-fit: cover; }
.compare-chip > span { min-width: 0; max-width: 100px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compare-chip > button { display: grid; place-items: center; width: 27px; height: 27px; flex-shrink: 0; padding: 0; border: 0; border-radius: 5px; color: #a1ab91; background: transparent; }
.compare-chip > button:hover { color: #bd7d55; background: #f2ecde; }
.compare-chip > button svg { width: 13px; height: 13px; }
.compare-tray-actions { display: flex; align-items: center; gap: 10px; }
.compare-tray-actions .button { min-height: 40px; padding: 9px 16px; font-size: 12px; white-space: nowrap; }
.compare-tray-actions .text-button { min-height: 36px; font-size: 12px; }
.comparison-page .primary-button, .compare-tray .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 17px; border: 1px solid var(--accent); border-radius: 9px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.5; text-align: center; white-space: nowrap; transition: background .18s, border-color .18s; }
.comparison-page .primary-button:hover:not(:disabled), .compare-tray .primary-button:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
.comparison-page > h1 { font-size: 30px; font-weight: 650; letter-spacing: -.7px; margin-bottom: 25px; }
.comparison-page > .section-heading { align-items: flex-start; }
.comparison-page > .section-heading h1 { margin-top: 8px; font-size: 30px; font-weight: 650; letter-spacing: -.7px; line-height: 1.5; }
.comparison-page > .section-heading > .text-button { flex-shrink: 0; margin-top: 15px; }
.comparison-page > .compare-note { margin-top: -7px; margin-bottom: 21px; font-size: 12px; }
.comparison-page .compact-empty .primary-button { margin-top: 12px; }
.comparison-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin-bottom: 22px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.comparison-controls > label { color: #798768; font-size: 12px; font-weight: 550; }
.comparison-controls > input { width: 95px; min-width: 0; padding: 8px 11px; border: 1px solid #dfe4d3; border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; }
.comparison-controls > span { margin-left: -9px; color: #8b9878; font-size: 12px; }
.comparison-controls > small { flex: 1; min-width: 240px; color: #9aa68a; font-size: 12px; line-height: 1.8; }
.comparison-controls .field { flex: 0 1 170px; }
.comparison-controls label.field > span { color: #7d896b; font-size: 12px; }
.comparison-controls input, .comparison-controls select { min-height: 41px; }
.comparison-controls > p { flex: 1; min-width: 220px; margin-bottom: 3px; color: #939f82; font-size: 12px; line-height: 1.8; }
.comparison-controls > .button { min-height: 41px; }
.comparison-scroll { width: 100%; max-width: 100%; min-width: 0; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; scrollbar-color: #ced6bd #f5f6ef; overscroll-behavior-x: contain; }
.comparison-table { width: 100%; min-width: 740px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 13px; line-height: 1.8; }
.comparison-table th, .comparison-table td { padding: 16px 20px; border-right: 1px solid #edeFe3; border-bottom: 1px solid #edeFe3; vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.comparison-table tr > :last-child { border-right: 0; }
.comparison-table tbody tr:last-child > * { border-bottom: 0; }
.comparison-table tr > :first-child { position: sticky; left: 0; z-index: 1; width: 140px; padding-inline: 17px; background: #fafbf5; color: #8c997a; font-size: 12px; font-weight: 500; }
.comparison-table thead > tr > :first-child { vertical-align: bottom; color: #7f8c6d; }
.comparison-table thead th { padding-top: 22px; padding-bottom: 21px; font-weight: 400; }
.comparison-table td { color: #737f62; }
.comparison-table ul { padding-left: 17px; }
.comparison-table li + li { margin-top: 5px; }
.comparison-table .button { min-height: 39px; padding: 8px 12px; font-size: 12px; }
.comparison-table .text-button { min-height: 36px; margin-left: 8px; font-size: 12px; }
.compare-provider-mini { min-width: 0; }
.compare-provider-mini > img { width: 100%; height: 128px; margin-bottom: 13px; border-radius: 10px; object-fit: cover; }
.compare-provider-mini > .service-illustration { width: 100%; height: 128px; min-height: 0; margin-bottom: 13px; border-radius: 10px; }
.compare-provider-mini > .service-illustration > svg { width: 43px; height: 43px; }
.compare-provider-mini h2, .compare-provider-mini h3, .compare-provider-mini > strong { display: block; margin: 0; color: #4b5840; font-size: 17px; font-weight: 650; line-height: 1.5; }
.compare-provider-mini p, .compare-provider-mini > small, .compare-provider-mini > span { display: block; margin-top: 5px; color: #929e80; font-size: 12px; font-weight: 400; line-height: 1.7; }
.compare-provider-mini > .text-button { margin: 10px 10px 0 0; min-height: 34px; font-size: 11px; }
.compare-price { display: block; color: #536342; font-size: 23px; font-weight: 650; line-height: 1.5; letter-spacing: -.5px; }
.compare-price > small, .compare-price > span { color: #99a38b; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.compare-note { display: block; margin-top: 7px; color: #98a28a; font-size: 12px; line-height: 1.85; }
.comparison-page > .notice { margin-block: 20px; }

@media (max-width: 1000px) {
  .compare-tray { grid-template-columns: 1fr auto; gap: 11px 18px; padding: 14px 17px; }
  .compare-tray > .summary { grid-column: 1; grid-row: 1; }
  .compare-tray-items { grid-column: 1 / -1; grid-row: 2; }
  .compare-tray-actions { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  body:has(.compare-tray:not([hidden])) { padding-bottom: 154px; }
}
@media (max-width: 700px) {
  .needs-page, .comparison-page { padding-top: 27px; }
  .needs-page > .page-heading, .comparison-page > .page-heading { margin-bottom: 21px; }
  .needs-page > .page-heading h1, .comparison-page > .page-heading h1 { font-size: 27px; }
  .needs-page > .page-heading p, .comparison-page > .page-heading p { font-size: 12px; }
  .needs-toolbar { gap: 13px; margin-bottom: 20px; }
  .needs-toolbar > p, .needs-toolbar > span { flex: 1; min-width: 170px; }
  .needs-toolbar > .button { min-height: 40px; font-size: 12px; padding-inline: 13px; }
  .needs-grid { grid-template-columns: 1fr; gap: 16px; }
  .need-card { padding: 21px; }
  .need-card-head h2, .need-card-head h3 { font-size: 17px; }
  .needs-empty, .compact-empty { min-height: 210px; padding-inline: 22px; }
  .needs-empty h2, .needs-empty h3, .compact-empty h2, .compact-empty h3 { font-size: 18px; }
  .simple-dialog.needs-dialog { padding: 29px 22px 23px; }
  .needs-dialog > h2 { font-size: 23px; }
  .needs-form { margin-top: 21px; }
  .needs-sections { gap: 21px; }
  .need-form-section .form-grid { gap: 16px; }
  .needs-actions { padding-top: 15px; }
  .needs-actions .button { min-height: 44px; font-size: 12px; padding-inline: 13px; }
  .needs-save-status { font-size: 11px; }
  .compare-tray { bottom: calc(75px + env(safe-area-inset-bottom)); width: calc(100% - 24px); grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 11px 12px; border-radius: 12px; }
  .compare-tray > .summary strong { font-size: 13px; }
  .compare-tray > .summary p, .compare-tray > .summary small { font-size: 10px; margin-top: 1px; }
  .compare-tray-items { gap: 6px; }
  .compare-chip { max-width: 160px; min-height: 34px; padding: 3px 4px 3px 8px; gap: 5px; font-size: 11px; }
  .compare-chip > img { display: none; }
  .compare-chip > span { max-width: 92px; }
  .compare-chip > button { width: 25px; height: 27px; }
  .compare-tray-actions { gap: 8px; }
  .compare-tray-actions .button { min-height: 37px; padding: 8px 12px; font-size: 11px; }
  .compare-tray-actions .primary-button { min-height: 37px; padding: 8px 12px; font-size: 11px; }
  .compare-tray-actions .text-button { font-size: 11px; }
  body:has(.compare-tray:not([hidden])) { padding-bottom: calc(212px + env(safe-area-inset-bottom)); }
  body:has(.compare-tray:not([hidden])) #toast { bottom: calc(208px + env(safe-area-inset-bottom)); }
  .comparison-controls { gap: 14px; padding: 17px; }
  .comparison-controls .field { flex: 1 1 110px; }
  .comparison-controls > p { min-width: 100%; font-size: 11px; margin-bottom: 0; }
  .comparison-controls > small { min-width: 100%; font-size: 11px; }
  .comparison-controls input, .comparison-controls select { font-size: 16px; }
  .comparison-scroll { border-radius: 11px; }
  .comparison-table { min-width: 710px; font-size: 12px; }
  .comparison-table tr > :first-child { width: 104px; padding-inline: 12px; font-size: 11px; }
  .comparison-table th, .comparison-table td { padding: 14px 16px; }
  .comparison-table thead th { padding-block: 17px; }
  .compare-provider-mini > img, .compare-provider-mini > .service-illustration { height: 110px; }
  .compare-provider-mini h2, .compare-provider-mini h3, .compare-provider-mini > strong { font-size: 16px; }
  .compare-provider-mini p, .compare-provider-mini > small { font-size: 11px; }
  .compare-price { font-size: 21px; }
  .compare-note { font-size: 11px; }
  .comparison-page > h1, .comparison-page > .section-heading h1 { font-size: 25px; }
}
@media (max-width: 600px) {
  .need-form-section .form-grid { grid-template-columns: 1fr; }
  .provider-actions .compare-toggle { min-height: 39px; font-size: 12px; padding-inline: 10px; }
}
@media (max-width: 420px) {
  .need-card { padding: 19px; }
  .needs-actions { gap: 11px; }
  .needs-actions > div { width: 100%; justify-content: space-between; }
  .needs-actions > div:last-child > .button.primary { flex: 1; }
  .needs-actions > .button.primary { width: 100%; }
  .needs-toolbar > div { margin-left: 0; justify-content: flex-start; }
  .need-card-actions .button { padding-inline: 10px; }
  .compare-tray > .summary strong { font-size: 12px; }
  .compare-tray-actions { gap: 6px; }
  .compare-tray-actions .button { padding-inline: 10px; }
}

/* Region and prefecture stay together wherever a location is selected. */
.location-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; min-width: 0; }
.form-grid > .location-picker { grid-column: 1 / -1; }
.location-picker > label { min-width: 0; margin: 0; }
.location-picker select { width: 100%; min-width: 0; max-width: 100%; }
.location-picker .field-hint { margin-top: 0; }
.location-picker .field-error:empty { display: none; }
.search-bar:has(.search-location) { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; }
.search-bar > .search-location { align-items: center; gap: 0; }
.search-bar .search-location > .search-field { min-width: 0; padding-inline: 18px; border-right: 1px solid var(--line); }
.search-bar .search-location > .search-field > span { min-width: 0; font-size: 11px; }
.search-bar .search-location select { min-height: 30px; padding-right: 13px; font-size: 13px; line-height: 1.5; }
.search-bar:has(.search-location) > .search-field { min-width: 0; }
.search-bar:has(.search-location) input { min-width: 0; }
@media (max-width: 1100px) {
  .search-bar .search-location > .search-field { padding-inline: 13px; }
}
@media (max-width: 1000px) {
  .search-bar:has(.search-location) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; }
  .search-bar > .search-location { grid-column: 1 / -1; padding-bottom: 9px; margin-bottom: 7px; border-bottom: 1px solid #eeeee6; }
  .search-bar .search-location > .search-field { padding-block: 6px; }
  .search-bar .search-location > .search-field:last-child { border-right: 0; }
  .search-bar:has(.search-location) > .search-field { padding-block: 7px; border-top: 0; }
  .search-bar:has(.search-location) > .search-query { border-right: 1px solid var(--line); }
  .search-bar:has(.search-location) > .button { margin: 0 0 0 8px; }
}
@media (max-width: 700px) {
  .location-picker { gap: 16px; }
  .search-bar .search-location select, .search-bar:has(.search-location) > .search-field input { font-size: 16px; }
  .search-bar .search-location > .search-field { padding-inline: 12px; }
  .search-bar .search-location > .search-field > span { font-size: 10px; }
}
@media (max-width: 600px) {
  .location-picker:not(.search-location) { grid-template-columns: 1fr; }
  .search-bar:has(.search-location) { grid-template-columns: minmax(0, 1fr) auto; gap: 0; }
  .search-bar > .search-location { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; padding-bottom: 8px; }
  .search-bar:has(.search-location) > .search-query { grid-column: 1 / -1; margin-bottom: 7px; padding-block: 10px; border-right: 0; border-bottom: 1px solid #eeeee6; }
  .search-bar:has(.search-location) > .search-field:not(.search-query) { border-right: 0; padding-block: 5px; }
  .search-bar:has(.search-location) > .button { min-height: 45px; margin: 0 2px 0 9px; padding-inline: 17px; }
  .search-bar:has(.search-location) > .search-field input { min-inline-size: 0; }
}

.comparison-scroll-hint { display: none; }
@media (max-width: 700px) { .comparison-scroll-hint { display: block; margin: 0 0 10px; font-size: 12px; color: #69755f; } }

/* Published providers and the review queue share the existing marketplace UI. */
.catalog-source-switch { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; max-width: 100%; margin-bottom: 23px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #f1f0eb; }
.catalog-source-switch > button { min-height: 39px; padding: 8px 16px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #6f726b; font-size: 13px; font-weight: 550; line-height: 1.5; }
.catalog-source-switch > button:hover { color: var(--ink); background: #faf9f5; }
.catalog-source-switch > button[aria-pressed="true"] { border-color: #e5e2d9; background: #fff; color: #b85f3c; box-shadow: 0 1px 3px #272e2010; }
.live-provider-card { display: flex; flex-direction: column; }
.live-provider-card > .provider-body { display: flex; flex: 1; flex-direction: column; }
.live-provider-card .provider-body > .eyebrow { margin-bottom: 7px; color: #8d8576; font-size: 10px; font-weight: 500; letter-spacing: 0; }
.live-provider-card .provider-body > .eyebrow::before { display: none; }
.live-provider-card .provider-title { overflow-wrap: anywhere; }
.live-provider-card .provider-meta > span { min-width: 0; overflow-wrap: anywhere; }
.live-provider-card .provider-bottom { margin-top: auto; padding-top: 13px; }
.live-provider-card .provider-tags { margin-bottom: 16px; }
.live-provider-card .provider-body > .field-hint { font-size: 12px; }
.live-provider-cover { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; width: 100%; min-width: 0; min-height: 155px; padding: 25px 20px; border: 0; background: #f4f0e8; color: #bd7958; }
.live-provider-cover > svg { width: 44px; height: 44px; stroke-width: 1.5; }
.live-provider-cover > span, .live-provider-cover > small { color: #87786a; font-size: 12px; font-weight: 500; line-height: 1.6; }
button.live-provider-cover:hover { background: #f0eade; }
.live-provider-card .provider-image { aspect-ratio: 1.9; }
.live-provider-card .provider-image .live-provider-cover { height: 100%; min-height: 0; }
.live-directory-status { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; min-height: 210px; padding: 31px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--muted); font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.live-directory-status h2, .live-directory-status h3, .live-directory-status > strong { color: var(--ink); font-size: 18px; font-weight: 600; }
.live-directory-status .button { margin-top: 3px; }
.live-directory-status[role="alert"], .live-directory-status.error { background: #fffaf6; border-color: #eedccd; }
.live-directory-status:has(> .form-error[role="alert"]) { background: #fffaf6; border-color: #eedccd; }
.live-directory-status > .form-error { margin: 0; }
.empty-state.live-directory-status { align-items: center; }
.empty-state.live-directory-status > p { margin-top: 0; }
.empty-state.live-directory-status .dialog-actions { margin-top: 2px; }
.live-directory-status:has(> [data-directory-action="more"]:only-child) { align-items: center; min-height: 0; padding: 23px 0 0; border: 0; background: transparent; }
.live-directory-status:has(> [data-directory-action="more"]:only-child) > .button { margin: 0; }
#results-content > .field-hint { margin-block: -7px 19px; }
.live-provider-detail { min-width: 0; }
.live-provider-detail > .live-provider-cover { min-height: 160px; margin-bottom: 24px; border-radius: 12px; }
.live-provider-detail .detail-intro { margin-top: 0; }
.live-provider-detail .detail-section p { white-space: pre-wrap; overflow-wrap: anywhere; }
.live-provider-detail > h3 { margin-top: 25px; margin-bottom: 10px; font-size: 16px; }
.live-provider-detail > h2, .live-provider-detail .info-list dd { overflow-wrap: anywhere; }
.live-provider-detail > .live-service-description { color: #6e7565; font-size: 13px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.live-provider-detail > .field-hint { margin-top: 13px; font-size: 12px; }
.live-provider-detail > .form-error + .button { margin-top: 20px; }
.live-fee-summary { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #faf9f5; }
.live-fee-summary h3 { margin-bottom: 13px; color: var(--ink); font-size: 16px; }
.live-fee-summary > p { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.live-fee-summary > strong { display: block; color: var(--ink); font-size: 23px; font-weight: 650; }
.live-fee-summary > strong > small { color: #85897b; font-size: 13px; font-weight: 400; }
.live-fee-summary .quote-summary { margin-top: 15px; padding-top: 15px; }

.status-badge[data-state="pending"] { color: #966b32; background: #fbefda; }
.status-badge[data-state="approved"] { color: #49735e; background: #eef4ed; }
.status-badge[data-state="published"] { color: #3e6d52; background: #eaf3eb; }
.status-badge[data-state="changes_requested"] { color: #a85f3d; background: #fff0e5; }
.status-badge[data-state="unlisted"] { color: #73766f; background: #efefeb; }
.provider-review { min-width: 0; margin-block: 18px; }
.provider-review > .application-status-bar { justify-content: flex-start; padding-block: 0; margin-block: 0 12px; border: 0; }
.provider-review > .field-hint { margin-top: 9px; font-size: 12px; }
.provider-review-note { padding: 13px 15px; border: 1px solid #eaded1; border-radius: 9px; background: #fcf8f1; }
.provider-review-note > strong { color: #756553; font-size: 12px; font-weight: 600; }
.provider-review-note > p { margin-top: 6px; color: #6e6c63; font-size: 13px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.provider-review-error { display: flex; flex-wrap: wrap; gap: 9px; padding: 14px; border: 1px solid #efd8c8; border-radius: 9px; background: #fff7f1; }
.provider-review-error > .form-error { flex-basis: 100%; margin: 0; color: #a75d40; font-size: 12px; }
.provider-review-error .button { min-height: 38px; padding: 7px 11px; font-size: 12px; }
.application-form .consent-label + .consent-label { margin-top: -3px; }

.operations-page { width: min(1040px, 100%); min-width: 0; margin-inline: auto; padding-block: 38px 56px; }
.operations-page > .page-heading { display: block; margin-bottom: 26px; }
.operations-page > .page-heading h1 { margin-top: 6px; font-size: 30px; font-weight: 650; letter-spacing: -.6px; }
.operations-page > .page-heading p:not(.eyebrow) { margin-top: 9px; color: var(--muted); font-size: 13px; }
.operations-tabs { display: flex; align-items: center; gap: 7px; max-width: 100%; margin-block: 0 20px; padding-block: 4px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.operations-tabs > button { flex-shrink: 0; min-height: 42px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #71756b; font-size: 13px; font-weight: 500; white-space: nowrap; }
.operations-tabs > button:hover { border-color: #cfccbf; color: var(--ink); }
.operations-tabs > button[aria-pressed="true"] { border-color: #e9b39b; background: #fff1e8; color: #ac5b36; }
.operations-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 17px; color: var(--muted); font-size: 12px; }
.operations-toolbar > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.operations-toolbar .button { min-height: 39px; padding: 8px 13px; font-size: 12px; }
.operations-page > .button[data-operations-action="more"] { margin-top: 21px; }
.operations-list { display: grid; gap: 13px; min-width: 0; }
.operation-card { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.operation-card-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; }
.operation-card-heading h2, .operation-card-heading h3 { min-width: 0; color: var(--ink); font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.operation-card-heading .status-badge { flex-shrink: 0; margin-top: 3px; font-size: 12px; }
.operation-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 17px; margin-top: 10px; color: #797c72; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.operation-card-meta time { color: #8a8c83; }
.operation-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.operation-card-actions .button { min-height: 41px; padding: 9px 14px; font-size: 12px; }
.operations-empty { display: flex; justify-content: center; align-items: flex-start; flex-direction: column; gap: 11px; min-height: 200px; padding: 30px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--muted); font-size: 13px; }
.operations-empty h2, .operations-empty h3 { color: var(--ink); font-size: 18px; }
.operations-error { margin-block: 17px; padding: 14px 16px; border: 1px solid #eed9c9; border-radius: 9px; background: #fff8f2; color: #a66243; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.operations-error:empty { display: none; }
.operations-error > .form-error { margin: 0; color: inherit; }
.operations-error .button { margin-top: 10px; }
dialog.operations-modal { width: 800px; }
.operations-dialog { min-width: 0; padding: 32px; }
.operations-dialog > h2 { max-width: calc(100% - 20px); margin-bottom: 10px; font-size: 25px; font-weight: 650; letter-spacing: -.5px; overflow-wrap: anywhere; }
.operations-dialog > .eyebrow { margin-bottom: 10px; }
.operations-dialog > .field-hint { margin-top: 10px; font-size: 12px; }
.operations-dialog > p[role="status"] { margin-block: 13px; color: #777d6f; font-size: 13px; }
.operations-review-note { margin-block: 18px; padding: 13px 15px; border: 1px solid #eaded1; border-radius: 9px; background: #fcf8f1; color: #756958; font-size: 13px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.operations-status { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; margin-block: 15px 24px; color: var(--muted); font-size: 12px; }
.operations-status .status-badge { padding: 4px 9px; font-size: 12px; }
.operations-preview, .operations-history, .operations-review-form { min-width: 0; margin-top: 26px; padding-top: 23px; border-top: 1px solid var(--line); }
.operations-preview h3, .operations-history h3, .operations-review-form h3 { margin-bottom: 13px; font-size: 16px; font-weight: 600; }
.operations-preview > p { margin-bottom: 15px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.operations-preview > .application-review { margin-top: 14px; }
.operations-preview .review-row > dt { color: #83867b; }
.operations-preview .review-row > dd { color: #5c6455; }
.operations-review-form .field { margin-top: 16px; }
.operations-review-form > .field:first-child { margin-top: 0; }
.operations-review-form .field > span { color: #646b5d; font-size: 13px; }
.operations-review-form textarea { min-height: 112px; resize: vertical; }
.operations-review-form .field-hint { color: #85887d; font-size: 12px; }
.operations-review-form .consent-label { color: #6f7567; font-size: 12px; }
.operations-review-form .field [aria-invalid="true"] { border-color: #bc7758; background: #fffaf6; }
.operations-history > ol { display: grid; gap: 0; padding: 0; list-style: none; }
.operations-history > p { color: var(--muted); font-size: 13px; }
.operations-history li { position: relative; min-width: 0; margin-left: 4px; padding: 0 0 19px 22px; border-left: 1px solid #e6e4db; color: #72786a; font-size: 12px; line-height: 1.8; }
.operations-history li::before { position: absolute; top: 7px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: #d1cbbd; content: ""; }
.operations-history li:last-child { padding-bottom: 0; border-left-color: transparent; }
.operations-history li > strong { color: #58604e; font-size: 13px; font-weight: 550; }
.operations-history time { color: #8c9084; font-size: 12px; }
.operations-history li > time { display: block; margin-top: 3px; }
.operations-history-note { margin-top: 6px; color: #73786d; font-size: 12px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.operations-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 23px; padding-top: 19px; border-top: 1px solid var(--line); }
.operations-actions:empty { display: none; }
.operations-actions .button { min-height: 43px; font-size: 13px; }
.operations-actions > .text-button { margin-right: auto; }
.operations-review-form .form-error:not(:empty) { margin-top: 14px; font-size: 12px; }
.operations-dialog .notice { margin-block: 18px; font-size: 12px; overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  #results-content:has(.live-directory-status, .live-provider-card) > .results-heading { flex-wrap: wrap; }
  #results-content:has(.live-directory-status, .live-provider-card) .results-tools { flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .catalog-source-switch { margin-bottom: 19px; }
  .catalog-source-switch > button { min-height: 42px; padding-inline: 13px; font-size: 12px; }
  .live-directory-status { min-height: 190px; padding: 24px; }
  .live-provider-cover { min-height: 145px; }
  .live-provider-cover > svg { width: 42px; height: 42px; }
  .live-provider-detail > .live-provider-cover { min-height: 140px; }
  .live-fee-summary { padding: 18px; }
  #results-content:has(.live-directory-status, .live-provider-card) > .results-heading { gap: 15px; }
  #results-content:has(.live-directory-status, .live-provider-card) .results-tools { width: 100%; flex-direction: row; align-items: center; gap: 7px; }
  #results-content:has(.live-directory-status, .live-provider-card) .results-tools .button { min-height: 42px; padding: 8px 12px; font-size: 12px; }
  #results-content:has(.live-directory-status, .live-provider-card) .sort-label { margin-left: auto; }
  #results-content:has(.live-directory-status, .live-provider-card) .sort-label select { min-height: 42px; font-size: 12px; }
  .operations-page { padding-block: 27px 36px; }
  .operations-page > .page-heading { margin-bottom: 21px; }
  .operations-page > .page-heading h1 { font-size: 27px; }
  .operations-tabs { gap: 6px; margin-bottom: 16px; }
  .operations-tabs > button { min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .operations-toolbar { gap: 10px; }
  .operation-card { padding: 20px; }
  .operation-card-heading { gap: 8px 12px; }
  .operation-card-heading h2, .operation-card-heading h3 { font-size: 17px; }
  .operation-card-meta { gap: 4px 12px; }
  .operation-card-actions .button { min-height: 44px; }
  .operations-empty { min-height: 185px; padding: 25px 22px; }
  .operations-dialog { padding: 29px 22px 23px; }
  .operations-dialog > h2 { font-size: 23px; }
  .operations-status { margin-bottom: 20px; }
  .operations-preview, .operations-history, .operations-review-form { margin-top: 22px; padding-top: 20px; }
  .operations-review-form .field input, .operations-review-form .field select, .operations-review-form textarea { font-size: 16px; }
  .operations-actions { justify-content: flex-start; gap: 9px; }
  .operations-actions .button { min-height: 44px; padding-inline: 13px; font-size: 12px; }
  .provider-review-error .button { min-height: 44px; }
}

/* Orders, quoted fees and payment availability. */
.orders-page, .wallet-page { width: min(1040px, 100%); min-width: 0; margin-inline: auto; padding-block: 38px 56px; }
.orders-page > .page-heading, .wallet-page > .page-heading { display: block; margin-bottom: 27px; }
.orders-page > .page-heading h1, .wallet-page > .page-heading h1 { margin-top: 6px; color: var(--ink); font-size: 30px; font-weight: 650; letter-spacing: -.6px; }
.orders-page > .page-heading p:not(.eyebrow), .wallet-page > .page-heading p:not(.eyebrow) { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.orders-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.orders-toolbar > div { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; min-width: 0; }
.orders-toolbar .button { min-height: 41px; padding: 9px 14px; font-size: 12px; }
.orders-tabs { display: flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; overflow-x: auto; padding-block: 4px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.orders-tabs > button { flex-shrink: 0; min-height: 42px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #72756e; font-size: 13px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.orders-tabs > button:hover { border-color: #d0c9bc; color: var(--ink); }
.orders-tabs > button.active, .orders-tabs > button[aria-pressed="true"] { border-color: #e9b8a3; background: #fff1e9; color: #ad5d3d; }
.orders-page > .orders-tabs { margin-bottom: 21px; }
.orders-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; min-width: 0; }
.order-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.order-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-width: 0; margin-bottom: 14px; }
.order-card-head > div { min-width: 0; }
.order-card-head h2, .order-card-head h3 { color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.order-card-head p, .order-card-head small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.order-status { display: inline-flex; align-items: center; flex-shrink: 0; gap: 5px; max-width: 100%; padding: 4px 8px; border-radius: 6px; background: #f1f0eb; color: #71756c; font-size: 12px; font-weight: 500; line-height: 1.6; }
.order-card-head > .order-status { margin-top: 3px; }
.order-card-meta { display: grid; gap: 7px; min-width: 0; margin-bottom: 18px; color: #777c70; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.order-card-meta > span { display: flex; align-items: flex-start; gap: 6px; min-width: 0; }
.order-card-meta svg { width: 15px; height: 15px; margin-top: 4px; color: #969a8d; }
.order-card-meta strong { color: #4b5346; font-weight: 600; }
.order-card-meta .field-hint { margin-top: 0; font-size: 12px; }
.order-card-actions { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.order-card-actions .button { min-height: 42px; padding: 9px 14px; font-size: 12px; }
.orders-page > .notice, .wallet-page > .notice { margin-bottom: 23px; }
.orders-page > .account-card, .wallet-page > .account-card { margin-top: 20px; }
.orders-page .empty-state, .wallet-page .empty-state { min-height: 210px; border-style: solid; }
.orders-page .empty-state > h2, .wallet-page .empty-state > h2 { margin-bottom: 8px; color: var(--ink); font-size: 19px; }
.orders-page > .button[data-orders-action="more"] { margin-top: 22px; }

dialog:has(.orders-dialog) { width: 740px; }
.simple-dialog.orders-dialog, .orders-dialog { min-width: 0; padding: 32px 34px 27px; }
.orders-dialog > h2 { max-width: calc(100% - 20px); font-size: 25px; font-weight: 650; line-height: 1.5; letter-spacing: -.5px; overflow-wrap: anywhere; }
.orders-dialog > .eyebrow { margin-bottom: 10px; }
.orders-dialog > p:not(.eyebrow) { margin-top: 11px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.orders-dialog > .order-status { margin-block: 15px 6px; }
.orders-dialog .notice { margin-block: 18px; font-size: 12px; }
.orders-dialog .field-hint { color: #828779; font-size: 12px; }
.orders-dialog .form-grid { align-items: start; gap: 18px; }
.order-form { min-width: 0; margin-top: 23px; }
.order-form > .field + .field, .order-form > .form-grid + .field, .order-form > .field + .form-grid { margin-top: 18px; }
.order-form .field > span, .order-quote .field > span { color: #5e6656; font-size: 13px; font-weight: 500; }
.order-form .field [aria-invalid="true"], .order-quote .field [aria-invalid="true"] { border-color: #bd785b; background: #fffaf7; }
.order-form .field-error:empty, .order-quote .field-error:empty { display: none; }
.order-form .field-hint { font-weight: 400; }
.order-form textarea, .order-quote textarea { min-height: 100px; }
.order-detail { min-width: 0; margin-top: 21px; }
.order-detail > h3 { margin-top: 25px; margin-bottom: 12px; font-size: 16px; font-weight: 600; }
.order-detail > p { color: #737a69; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.order-summary { display: grid; gap: 0; min-width: 0; margin-block: 20px; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: #fff; overflow: hidden; }
.order-summary > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; min-width: 0; padding: 12px 16px; border-bottom: 1px solid #eeeee7; font-size: 13px; line-height: 1.8; }
.order-summary > div:last-child { border-bottom: 0; }
.order-summary > div > :first-child { margin: 0; color: #838779; font-size: 12px; font-weight: 400; }
.order-summary > div > :last-child { min-width: 0; margin: 0; color: #56604d; font-size: 13px; font-weight: 400; white-space: pre-wrap; overflow-wrap: anywhere; }
.order-price-breakdown { display: grid; gap: 12px; min-width: 0; margin-block: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #faf9f5; }
.order-price-breakdown > h3 { margin-bottom: 3px; color: var(--ink); font-size: 16px; font-weight: 600; }
.order-price-breakdown > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; min-width: 0; color: #777c70; font-size: 13px; line-height: 1.7; }
.order-price-breakdown dt, .order-price-breakdown dd, .order-price-breakdown p { margin: 0; }
.order-price-breakdown > div > :first-child { min-width: 0; }
.order-price-breakdown > div > :last-child { flex-shrink: 0; color: #4f5747; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.order-price-breakdown > .total, .order-price-breakdown > .order-total { margin-top: 2px; padding-top: 14px; border-top: 1px solid #e7e5da; color: var(--ink); }
.order-price-breakdown > .total > :last-child, .order-price-breakdown > .order-total > :last-child { color: var(--ink); font-size: 23px; font-weight: 650; letter-spacing: -.5px; }
.order-price-breakdown > p, .order-price-breakdown > small { color: #828677; font-size: 12px; line-height: 1.8; }
.order-quote { min-width: 0; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.order-quote > h3 { margin-bottom: 16px; color: var(--ink); font-size: 16px; font-weight: 600; }
.order-quote > p { margin-bottom: 15px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.order-quote .form-grid + .field { margin-top: 18px; }
.order-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.order-actions:empty { display: none; }
.order-actions > div { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; min-width: 0; }
.order-actions > .text-button { margin-right: auto; }
.order-actions .button { min-height: 44px; padding-inline: 16px; font-size: 13px; }
.order-error { margin-block: 18px; padding: 13px 15px; border: 1px solid #eed8c7; border-radius: 9px; background: #fff7f0; color: #a45f3f; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.order-error:empty { display: none; }
.order-error > .form-error, .order-error > p { margin: 0; color: inherit; }
.order-error .button { margin-top: 11px; min-height: 41px; padding: 8px 13px; font-size: 12px; }
.order-recovery { margin-top: 18px; padding: 13px 15px; border: 1px solid #e5e5db; border-radius: 9px; background: #fafaf6; }
.order-recovery > summary { min-height: 25px; color: #727c64; font-size: 12px; font-weight: 550; cursor: pointer; }
.order-recovery[open] > summary { margin-bottom: 12px; }
.order-recovery > p { color: #828978; font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.order-recovery .order-summary { margin-block: 12px 0; }

.payment-options { display: grid; gap: 10px; min-width: 0; margin-block: 22px 18px; padding: 0; border: 0; }
.payment-options > legend, .payment-options > h3 { margin-bottom: 13px; padding: 0; color: var(--ink); font-size: 15px; font-weight: 600; }
.payment-options > label { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 64px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.payment-options > label > input[type="radio"] { flex-shrink: 0; width: 17px; height: 17px; margin: 0; accent-color: var(--accent); }
.payment-options > label > div, .payment-options > label > span { min-width: 0; color: #4f5846; font-size: 13px; line-height: 1.7; }
.payment-options label strong { display: block; color: var(--ink); font-size: 13px; font-weight: 550; }
.payment-options label small { display: block; margin-top: 3px; color: #818779; font-size: 12px; line-height: 1.7; }
.payment-options > label:has(input:checked) { border-color: #e3a88d; background: #fff8f2; }
.payment-options > label:has(input:focus-visible) { outline: 3px solid #db683f; outline-offset: 3px; }
.payment-options > label:has(input:disabled), .payment-options > label[data-disabled="true"] { border-color: #e7e6df; background: #f7f7f3; cursor: not-allowed; }
.payment-options > label:has(input:disabled) strong, .payment-options > label[data-disabled="true"] strong { color: #73786d; }
.payment-options > label:has(input:disabled) input { opacity: .65; }
.payment-test-notice { display: block; margin-block: 18px; padding: 13px 15px; border: 1px solid #ebdbc1; border-radius: 9px; background: #fff8e9; color: #876b3e; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.payment-test-notice > strong { display: block; margin-bottom: 4px; font-weight: 600; }
.payment-test-notice > p { margin: 0; }
.orders-dialog .button:disabled, .orders-page .button:disabled, .wallet-page .button:disabled { opacity: 1; border-color: #e1e1d9; background: #eeeee8; color: #8b8d83; box-shadow: none; cursor: not-allowed; }

.wallet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px; min-width: 0; }
.wallet-card { min-width: 0; padding: 27px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.wallet-card > h2 { margin-bottom: 18px; color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -.3px; }
.wallet-card > h3 { margin-bottom: 13px; color: var(--ink); font-size: 16px; font-weight: 600; }
.wallet-card > p { margin-top: 11px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.wallet-card > .eyebrow { margin-top: 0; margin-bottom: 10px; color: #a47b60; font-size: 11px; letter-spacing: 0; }
.wallet-card > strong, .wallet-amount { display: block; margin-block: 8px 15px; color: var(--ink); font-size: 34px; font-weight: 650; letter-spacing: -.9px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.wallet-card > strong > small, .wallet-amount > small { margin-left: 6px; color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.wallet-card > .button { margin-top: 19px; }
.wallet-card > .notice { margin-top: 18px; }
.wallet-card .dialog-actions { justify-content: flex-start; flex-wrap: wrap; gap: 9px; }
.wallet-card .field-hint { color: #828878; font-size: 12px; }
.wallet-example { margin-top: 21px; padding: 17px 18px; border: 1px solid #e9e6db; border-radius: 10px; background: #faf9f4; color: #767d6a; font-size: 13px; line-height: 1.85; }
.wallet-example > h3, .wallet-example > strong { display: block; margin-bottom: 9px; color: #58614e; font-size: 14px; font-weight: 600; }
.wallet-example > p + p { margin-top: 7px; }
.wallet-example .order-price-breakdown { margin: 0; padding: 0; border: 0; background: transparent; }
.wallet-example ul, .wallet-example ol { padding-left: 18px; }
.wallet-example li + li { margin-top: 6px; }

@media (max-width: 850px) {
  .orders-grid { gap: 16px; }
  .order-card { padding: 21px; }
  .order-card-head { flex-wrap: wrap; gap: 8px; }
  .wallet-grid { gap: 18px; }
  .wallet-card { padding: 23px; }
}
@media (max-width: 700px) {
  .orders-page, .wallet-page { padding-block: 27px 37px; }
  .orders-page > .page-heading, .wallet-page > .page-heading { margin-bottom: 22px; }
  .orders-page > .page-heading h1, .wallet-page > .page-heading h1 { font-size: 27px; }
  .orders-toolbar { align-items: flex-start; gap: 12px; margin-bottom: 19px; }
  .orders-toolbar > .orders-tabs { flex-basis: 100%; }
  .orders-tabs > button { min-height: 44px; padding-inline: 13px; font-size: 12px; }
  .orders-grid, .wallet-grid { grid-template-columns: 1fr; gap: 16px; }
  .order-card, .wallet-card { padding: 22px; border-radius: 14px; }
  .order-card-head { flex-wrap: nowrap; }
  .order-card-head h2, .order-card-head h3 { font-size: 17px; }
  .order-card-actions .button { min-height: 44px; }
  .simple-dialog.orders-dialog, .orders-dialog { padding: 29px 22px 24px; }
  .orders-dialog > h2 { font-size: 23px; }
  .orders-dialog .form-grid { gap: 16px; }
  .order-form .field input, .order-form .field select, .order-form textarea, .order-quote .field input, .order-quote .field select, .order-quote textarea { font-size: 16px; }
  .order-summary > div { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px 14px; }
  .order-price-breakdown { padding: 18px; gap: 11px; }
  .order-price-breakdown > .total > :last-child, .order-price-breakdown > .order-total > :last-child { font-size: 22px; }
  .order-actions { justify-content: flex-start; margin-top: 22px; }
  .order-actions .button { padding-inline: 14px; font-size: 12px; }
  .order-error { padding: 12px 14px; }
  .order-error .button { min-height: 44px; }
  .payment-options > label { min-height: 66px; padding: 13px 14px; }
  .payment-test-notice { padding: 12px 14px; }
  .wallet-card > h2 { font-size: 18px; }
  .wallet-card > strong, .wallet-amount { font-size: 31px; }
}
@media (max-width: 420px) {
  .order-card, .wallet-card { padding: 20px; }
  .order-card-head { flex-wrap: wrap; }
  .order-card-head > .order-status { margin-top: 0; }
  .orders-dialog .form-grid { grid-template-columns: 1fr; }
  .order-actions > .button.primary { flex: 1 1 160px; }
  .order-actions > div { width: 100%; }
  .order-actions > div > .button.primary { flex: 1; }
  .payment-options > label { gap: 10px; }
}

.order-status[data-state="requested"], .order-status[data-state="quoted"] { color: #9b693b; background: #fff0df; }
.order-status[data-state="confirmed"], .order-status[data-state="payment_processing"] { color: #80683d; background: #f7f0df; }
.order-status[data-state="paid"] { color: #4e735b; background: #edf4eb; }
.order-status[data-state="refunding"] { color: #9c6c3c; background: #fff2e3; }
.order-status[data-state="cancelled"], .order-status[data-state="refunded"] { color: #72776d; background: #efefeb; }
.order-status[data-state="awaiting_confirmation"], .order-status[data-state="awaiting_payment"] { color: #9b693b; background: #fff0df; }

/* Match the saved order summary and hosted-checkout form structure. */
.orders-toolbar > .orders-tabs { flex-wrap: nowrap; }
.orders-dialog > h3 { margin-top: 23px; margin-bottom: 13px; color: var(--ink); font-size: 17px; font-weight: 600; }
.orders-dialog > p:not(.eyebrow) { overflow-wrap: anywhere; }
.order-summary:has(> h3) { display: block; padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.order-summary > h3 { margin-bottom: 11px; color: var(--ink); font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.order-summary > .info-list { margin-block: 18px; }
.order-summary .info-list > div { grid-template-columns: 86px minmax(0, 1fr); }
.order-summary .info-list dd, .order-recovery .info-list dd { color: #626a59; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.order-summary > .field-hint { margin-top: 13px; }
.order-price-breakdown > div > :last-child { flex-shrink: 1; max-width: 68%; overflow-wrap: anywhere; }
.order-quote > .button[type="submit"] { margin-top: 19px; }
.order-payment { min-width: 0; margin-top: 25px; padding-top: 23px; border-top: 1px solid var(--line); }
.order-payment > h3 { color: var(--ink); font-size: 16px; font-weight: 600; }
.order-payment > .button { margin-top: 2px; }
.order-payment > .field-hint { margin-top: 9px; }
.payment-options > label:has(input:disabled) > span, .payment-options > label[data-disabled="true"] > span { color: #777c70; }
.wallet-grid > .wallet-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.wallet-example:has(> p) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px 18px; }
.wallet-example > p { min-width: 0; overflow-wrap: anywhere; }
.wallet-example > p + p { margin-top: 0; }
.wallet-example > p > strong { color: #4f5846; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .wallet-example:has(> p) { grid-template-columns: 1fr; gap: 8px; }
  .order-summary .info-list > div { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .order-payment { margin-top: 23px; padding-top: 21px; }
}

/* Help and private support conversations. */
.support-page { padding-block: 36px 52px; min-width: 0; }
.support-page > .page-heading { display: block; margin-bottom: 30px; }
.support-page > .page-heading h1 { margin-bottom: 10px; font-size: 34px; letter-spacing: -1px; }
.support-page > .page-heading > p:last-child { color: var(--muted); }
.support-intro-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); align-items: start; gap: 28px; }
.support-faq, .support-contact, .support-card { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.support-faq { padding: 26px 28px 12px; }
.support-faq > h2, .support-contact > h2, .support-inbox-heading > h2 { margin: 0 0 15px; font-size: 20px; font-weight: 600; letter-spacing: -.4px; }
.support-faq > details { border-top: 1px solid var(--line); }
.support-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 60px; padding-block: 16px; color: var(--ink); font-size: 14px; cursor: pointer; list-style: none; }
.support-faq summary::-webkit-details-marker { display: none; }
.support-faq summary > span { flex-shrink: 0; color: var(--soft); font-size: 22px; line-height: 1; transition: transform .15s ease; }
.support-faq details[open] summary > span { transform: rotate(45deg); }
.support-faq details > p { padding: 0 26px 18px 0; color: #697065; font-size: 13px; line-height: 1.9; }
.support-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.support-contact { padding: 28px; background: #fff6ef; border-color: #f0dfd1; }
.support-contact-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 21px; border: 1px solid #f2d6c5; border-radius: 12px; background: #fff; color: #d2724f; }
.support-contact-icon svg { width: 21px; height: 21px; }
.support-contact > p { margin-block: 10px 21px; color: #786d62; font-size: 13px; line-height: 1.9; }
.support-contact > .support-contact-note { margin: 21px 0 0; color: #998a7c; font-size: 12px; }
.support-inbox { margin-top: 38px; min-width: 0; }
.support-inbox-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.support-inbox-heading > h2 { margin: 0; }
.support-inbox-heading > .button { min-height: 38px; padding: 7px 15px; font-size: 12px; }
.support-inbox-heading > .button, .orders-toolbar .button { flex-shrink: 0; white-space: nowrap; }
.support-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-bottom: 17px; }
.support-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #f1f0eb; }
.support-tabs > button { min-height: 38px; padding: 8px 17px; border: 0; border-radius: 7px; background: transparent; color: #788070; font: inherit; font-size: 13px; cursor: pointer; }
.support-tabs > button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px #282b1f0b; }
.support-filter { display: inline-flex; align-items: center; gap: 11px; color: #777e6c; font-size: 13px; }
.support-filter > select { max-width: 100%; min-height: 39px; padding: 8px 32px 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
.support-card { padding: 26px 28px; }
.support-card > h3 { margin-bottom: 9px; font-size: 17px; font-weight: 600; }
.support-card > p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.support-empty { padding-block: 33px; }
.support-empty > p:last-child { margin-bottom: 0; }
.support-ticket-list { display: grid; gap: 11px; }
.support-ticket-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; padding: 21px 24px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.support-ticket-copy { min-width: 0; }
.support-ticket-copy > h3 { margin: 8px 0 0; font-size: 16px; line-height: 1.7; font-weight: 550; overflow-wrap: anywhere; }
.support-ticket-copy > .field-hint { margin-top: 5px; }
.support-ticket-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 17px; color: var(--muted); font-size: 11px; }
.support-ticket-meta > span { color: #8e745e; }
.support-ticket-actions { display: flex; align-items: center; flex-shrink: 0; gap: 18px; }
.support-ticket-actions > .button { min-height: 38px; padding: 7px 14px; font-size: 12px; }
.support-status { display: inline-flex; flex-shrink: 0; align-items: center; padding: 4px 9px; border-radius: 6px; background: #fff1e4; color: #a67345; font-size: 11px; line-height: 1.6; white-space: nowrap; }
.support-status[data-state="waiting_user"] { background: #edf4ed; color: #58745b; }
.support-status[data-state="closed"] { background: #f0f0eb; color: #84867c; }
.support-list-note { margin-top: 14px; color: #92958b; font-size: 11px; line-height: 1.8; }
.simple-dialog.support-dialog { padding: 35px; min-width: 0; }
.support-dialog > h2 { margin: 0 0 13px; font-size: 25px; line-height: 1.5; font-weight: 600; letter-spacing: -.6px; overflow-wrap: anywhere; }
.support-dialog-intro { margin-bottom: 23px; color: var(--muted); font-size: 13px; }
.support-form { display: grid; gap: 18px; min-width: 0; }
.support-form .field { min-width: 0; }
.support-form .field input, .support-form .field select, .support-form .field textarea { width: 100%; min-width: 0; font: inherit; font-size: 14px; border: 1px solid #e2e2d9; border-radius: 9px; background: #fff; padding: 12px 13px; color: var(--ink); }
.support-form .field textarea { display: block; resize: vertical; min-height: 115px; line-height: 1.8; }
.support-form .field input:focus, .support-form .field select:focus, .support-form .field textarea:focus { outline: 2px solid #e9b49b; outline-offset: 2px; }
.support-form .field input:disabled, .support-form .field select:disabled, .support-form .field textarea:disabled { color: #6f7469; background: #f7f7f3; opacity: 1; }
.support-form .field > span { margin-bottom: 8px; font-size: 13px; }
.support-form .field > span > small { margin-left: 7px; color: #9a9d91; font-size: 11px; font-weight: 400; }
.support-form > .field-hint { margin-top: -6px; font-size: 12px; line-height: 1.8; }
.support-form > .button { justify-self: start; }
.support-consent { display: flex; align-items: flex-start; gap: 10px; color: #67715f; font-size: 12px; line-height: 1.9; cursor: pointer; }
.support-consent > input { flex: 0 0 auto; width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--accent); }
.support-dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.support-form .support-dialog-actions { margin-top: 0; }
.support-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.support-detail-head > .eyebrow { margin: 0; color: #9c8d78; font-size: 11px; letter-spacing: .2px; }
.support-linked-order { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-block: 15px 20px; color: #7c8373; font-size: 12px; }
.support-linked-order > .button { min-height: 32px; padding: 5px 10px; font-size: 11px; }
.support-thread { display: grid; gap: 13px; margin-block: 24px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.support-message { min-width: 0; padding: 16px 18px; border: 1px solid #edece5; border-radius: 10px; background: #fafaf7; }
.support-message[data-author="operator"] { margin-left: 20px; background: #fff7f1; border-color: #f1dfd1; }
.support-message-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; color: #999a90; font-size: 10px; }
.support-message-meta > strong { color: #727e65; font-size: 12px; font-weight: 550; }
.support-message[data-author="operator"] .support-message-meta > strong { color: #b07855; }
.support-message > p { margin-top: 10px; color: #59634e; font-size: 13px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-closed { padding: 18px; border-radius: 10px; background: #f5f5ef; color: #7c8373; font-size: 13px; }
.support-closed > .button { margin-top: 13px; }
.support-bottom-note { margin-top: 18px; color: #94998a; font-size: 11px; line-height: 1.9; }
.support-error { padding: 13px 16px; border: 1px solid #edd6c9; border-radius: 9px; background: #fff9f4; }
.support-error > p { margin: 0; color: #9c6548; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.support-error > .button { margin-top: 11px; min-height: 36px; padding: 7px 12px; font-size: 12px; }
.support-dialog .button:disabled { opacity: 1; color: #909285; border-color: #e3e3db; background: #efefe9; cursor: not-allowed; box-shadow: none; }
@media (max-width: 850px) {
  .support-intro-grid { gap: 18px; grid-template-columns: minmax(0, 1.4fr) minmax(235px, 1fr); }
  .support-faq, .support-contact { padding: 23px; }
  .support-ticket-actions { gap: 10px; }
}
@media (max-width: 700px) {
  .account-page .account-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 8px; margin-top: 20px; }
  .account-page .account-shortcuts > .button { width: 100%; min-height: 42px; padding: 10px 8px; font-size: 12px; line-height: 1.5; justify-content: center; }
  .support-page { padding-block: 27px 37px; }
  .support-page > .page-heading h1 { font-size: 27px; }
  .support-page > .page-heading { margin-bottom: 23px; }
  .support-intro-grid { grid-template-columns: minmax(0, 1fr); }
  .support-contact { padding: 24px; }
  .support-contact-icon { margin-bottom: 16px; }
  .support-faq { padding: 23px 23px 8px; }
  .support-inbox { margin-top: 30px; }
  .support-ticket-card { align-items: flex-start; padding: 19px 21px; flex-direction: column; gap: 15px; }
  .support-ticket-actions { width: 100%; justify-content: space-between; }
  .support-ticket-actions > .button { min-height: 42px; }
  .support-card { padding: 24px; }
  .support-filter > select { font-size: 16px; min-height: 44px; }
  .support-tabs > button { min-height: 44px; }
  .simple-dialog.support-dialog { padding: 30px 23px 24px; }
  .support-dialog > h2 { font-size: 23px; }
  .support-form .field input, .support-form .field textarea, .support-form .field select { font-size: 16px; }
  .support-message { padding: 15px; }
  .support-message[data-author="operator"] { margin-left: 10px; }
  .support-detail-head { flex-wrap: wrap; gap: 10px; }
  .support-dialog-actions .button { min-height: 44px; padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) { .support-faq summary > span { transition: none; } }

/* Useful homepage: merchant placements and the visitor's own appointments. */
.home-dashboard { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 20px; align-items: stretch; padding-block: 26px 22px; }
.home-promo { position: relative; min-width: 0; overflow: hidden; border: 1px solid #e5e3db; border-radius: 18px; background: #f1eee5; }
.home-promo-viewport { overflow: hidden; touch-action: pan-y; }
.home-promo-slide { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 43%; min-height: 262px; overflow: hidden; background: #f0eee5; animation: home-promo-enter .25s ease-out; }
.home-promo-copy { position: relative; z-index: 1; padding: 28px 18px 28px 32px; }
.home-promo-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: #737767; font-size: 12px; font-weight: 650; }
.home-promo-label { padding: 2px 7px; border: 1px solid #878c7435; border-radius: 5px; color: #858675; font-size: 10px; font-weight: 400; line-height: 1.6; }
.home-promo-copy h2 { margin-top: 21px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.8px; }
.home-promo-copy > p { margin-top: 8px; color: #777c6e; font-size: 12px; line-height: 1.8; }
.home-promo-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; margin-top: 24px; padding: 8px 15px; border: 1px solid #fff9; border-radius: 8px; background: #ffffffc7; color: #4d5845; font-size: 12px; font-weight: 650; }
.home-promo-link:hover { background: #fff; }
.home-promo-link svg { width: 17px; height: 17px; }
.home-promo-image { position: relative; min-width: 0; overflow: hidden; }
.home-promo-image::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, #f0eee5 0, #f0eee500 28%); pointer-events: none; }
.home-promo-image img { width: 100%; height: 100%; max-height: 310px; object-fit: cover; object-position: center; user-select: none; pointer-events: none; }
.home-promo-assembly { background: #edeae4; }
.home-promo-assembly .home-promo-image::after { background: linear-gradient(90deg, #edeae4 0, #edeae400 28%); }
.home-promo-moving { background: #f3e9e0; }
.home-promo-moving .home-promo-image::after { background: linear-gradient(90deg, #f3e9e0 0, #f3e9e000 28%); }
.home-promo-moving .home-promo-copy > p, .home-promo-moving .home-promo-kicker { color: #887565; }
.home-promo-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 0 21px 0 32px; border-top: 1px solid #d9d7cc7a; background: #ffffff70; }
.home-promo-placement { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0; border: 0; color: #898b7e; background: transparent; font-size: 11px; }
.home-promo-placement:hover { color: var(--accent-hover); }
.home-promo-placement svg { width: 13px; height: 13px; }
.home-promo-pagination, .home-promo-dots { display: flex; align-items: center; }
.home-promo-pagination { gap: 8px; }
.home-promo-arrow { display: inline-grid; place-items: center; width: 30px; height: 34px; padding: 0; border: 0; border-radius: 6px; color: #777d6d; background: transparent; }
.home-promo-arrow:hover { background: #fff9; color: #353a2b; }
.home-promo-arrow svg { width: 14px; height: 14px; }
.home-promo-prev svg { transform: rotate(180deg); }
.home-promo-dot { display: grid; place-items: center; width: 24px; height: 34px; padding: 0; border: 0; background: transparent; }
.home-promo-dot > span { width: 5px; height: 5px; border-radius: 8px; background: #c3c6b8; transition: width .18s ease, background .18s ease; }
.home-promo-dot[aria-pressed="true"] > span { width: 17px; background: #818b6c; }
.home-promo.is-dragging { cursor: grabbing; user-select: none; }
.home-promo.is-dragging .home-promo-slide:not([hidden]) { animation: none; transform: translateX(var(--promo-drag, 0)); }
.home-agenda { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.home-agenda-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.home-agenda-head h2 { font-size: 17px; font-weight: 650; }
.home-agenda-head > button, .home-agenda-head > a { padding: 5px 0; border: 0; background: transparent; color: #929686; font-size: 11px; }
.home-agenda-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 16px; }
.home-agenda-body > svg, .home-agenda-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 10px; background: #f4f3ed; color: #a1a78e; }
.home-agenda-icon svg { width: 20px; height: 20px; }
.home-agenda-body h3 { font-size: 14px; font-weight: 600; }
.home-agenda-body p { margin-top: 5px; color: #8b9182; font-size: 11px; line-height: 1.8; }
.home-agenda-footer { display: flex; align-items: center; gap: 10px; }
.home-agenda-footer > .button { width: 100%; min-height: 39px; font-size: 12px; }
@keyframes home-promo-enter { from { opacity: .55; } to { opacity: 1; } }
@media (max-width: 1000px) {
  .home-dashboard { grid-template-columns: minmax(0, 1fr) 245px; gap: 16px; }
  .home-promo-copy { padding-left: 25px; }
  .home-promo-controls { padding-left: 25px; }
  .home-promo-slide { grid-template-columns: minmax(0, 1fr) 38%; }
  .home-agenda { padding: 20px; }
  .home-promo-kicker { gap: 8px; }
}
@media (max-width: 760px) {
  .home-dashboard { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 18px; }
  .home-promo-slide { min-height: 236px; grid-template-columns: minmax(0, 1fr) 42%; }
  .home-promo-copy { padding: 24px 8px 24px 24px; }
  .home-promo-copy h2 { margin-top: 18px; font-size: 29px; }
  .home-promo-copy > p { max-width: 200px; font-size: 11px; }
  .home-promo-link { margin-top: 19px; padding-inline: 11px; gap: 8px; }
  .home-promo-controls { padding-inline: 23px 13px; }
  .home-agenda { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 15px; padding: 17px 20px; border-radius: 14px; }
  .home-agenda-head { grid-column: 1 / -1; }
  .home-agenda-head h2 { font-size: 15px; }
  .home-agenda-body { padding-block: 12px 0; }
  .home-agenda-body > svg, .home-agenda-icon { display: none; }
  .home-agenda-body h3 { font-size: 12px; }
  .home-agenda-body p { margin-top: 3px; font-size: 11px; }
  .home-agenda-footer { align-self: end; padding-top: 10px; }
  .home-agenda-footer > .button { width: auto; min-height: 36px; padding: 7px 12px; font-size: 11px; }
}
@media (max-width: 420px) {
  .home-promo-slide { min-height: 235px; grid-template-columns: minmax(0, 1fr) 37%; }
  .home-promo-copy { padding-left: 20px; }
  .home-promo-copy h2 { font-size: 27px; }
  .home-promo-kicker { gap: 6px; font-size: 11px; }
  .home-promo-label { font-size: 9px; padding-inline: 5px; }
  .home-promo-copy > p { max-width: 160px; }
  .home-promo-controls { padding-left: 20px; }
  .home-agenda { padding-inline: 17px; column-gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-promo-slide { animation: none; }
  .home-promo-dot > span { transition: none; }
}

.home-agenda-status { display: inline-flex; margin-bottom: 14px; padding: 4px 8px; border-radius: 6px; background: #fff0e4; color: #ad7952; font-size: 11px; }
.home-agenda-body h3 { overflow-wrap: anywhere; }
.home-agenda-head > .button { min-height: 32px; padding: 3px 0; }
.search-query select { min-height: 30px; cursor: pointer; }
@media (max-width: 760px) { .home-agenda-status { margin-bottom: 7px; } .search-query select { min-height: 34px; font-size: 16px; } }

/* A direct customer-service entry, above mobile navigation. */
.customer-service-launcher { position: fixed; z-index: 38; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 12px 17px; border: 1px solid #eed4c4; border-radius: 26px; background: #fffdf9; box-shadow: 0 5px 22px #6f54351a; color: #ba6643; font-size: 13px; font-weight: 600; text-decoration: none; }
.customer-service-launcher svg { width: 21px; height: 21px; }
.customer-service-launcher:hover { border-color: var(--accent); background: #fff5ed; }
.customer-service-launcher:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
body:has(dialog[open]) .customer-service-launcher { visibility: hidden; }
body:has(.compare-tray:not([hidden])) .customer-service-launcher { bottom: 125px; }
.contact-gate > h2 { margin-top: 15px; }
.contact-gate > p { margin-top: 10px; color: var(--muted); }
.contact-gate > .dialog-actions { margin-top: 24px; }
.contact-gate-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: var(--accent); background: #fff0e7; }
.contact-gate-icon svg { width: 23px; height: 23px; }
@media (max-width: 760px) {
  .customer-service-launcher { right: 15px; bottom: calc(80px + env(safe-area-inset-bottom)); gap: 7px; min-height: 44px; padding: 10px 13px; font-size: 12px; }
  body:has(.compare-tray:not([hidden])) .customer-service-launcher { bottom: calc(224px + env(safe-area-inset-bottom)); }
}

@media (max-width: 700px) {
  .customer-service-launcher { display: none; }
  .mobile-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .mobile-nav [data-action="contact-support"] { color: #b76643; }
}

/* Automatic support and an explicit hand-off to the existing human inbox. */
.assistant-dialog { width: min(620px, calc(100% - 32px)); }
.support-assistant { padding-top: 4px; }
.assistant-heading { display: flex; align-items: center; gap: 12px; padding-right: 25px; }
.assistant-heading h2 { margin: 0; font-size: 22px; }
.assistant-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.assistant-avatar { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; background: #fff0e7; color: var(--accent); }
.assistant-avatar svg { width: 23px; height: 23px; }
.assistant-top-actions, .assistant-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.assistant-top-actions .button { min-height: 34px; padding: 7px 11px; font-size: 12px; }
.assistant-mode-note { margin-top: 13px; color: #8c735f; font-size: 12px; }
.assistant-log { max-height: 310px; min-height: 130px; overflow-y: auto; overscroll-behavior: contain; padding: 20px 2px 10px; }
.assistant-welcome { padding: 10px 0; }
.assistant-welcome h3 { margin: 0 0 14px; font-size: 18px; font-weight: 600; }
.assistant-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.assistant-questions button { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 43px; padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: #fcfbf8; text-align: left; font-size: 12px; }
.assistant-questions svg { flex-shrink: 0; width: 12px; height: 12px; color: var(--muted); }
.assistant-message { margin: 0 0 12px; max-width: 91%; padding: 12px 14px; border-radius: 12px; background: #f4f3ed; overflow-wrap: anywhere; }
.assistant-message strong { display: block; color: #8b8c80; font-size: 10px; font-weight: 500; margin-bottom: 5px; }
.assistant-message p { margin: 0; color: #555b4d; font-size: 13px; line-height: 1.8; white-space: pre-wrap; }
.assistant-message-user { margin-left: auto; background: #fbede2; }
.assistant-message-user strong { color: #af7956; }
.assistant-unresolved, .assistant-pending { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; color: var(--muted); font-size: 12px; }
.assistant-unresolved .button, .assistant-pending .button { min-height: 34px; padding: 7px 11px; font-size: 12px; }
#support-assistant-form { border-top: 1px solid var(--line); padding-top: 14px; }
#support-assistant-form textarea { min-height: 80px; resize: vertical; font-size: 14px; line-height: 1.6; }
#support-assistant-form .support-consent { margin: 12px 0; }
.assistant-compose-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }
.assistant-compose-bottom > span { max-width: 260px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.assistant-compose-bottom .button { flex-shrink: 0; min-height: 38px; padding: 8px 22px; }
.assistant-handoff { padding: 17px; border: 1px solid #efd8c6; border-radius: 12px; background: #fff9f2; margin: 12px 0; }
.assistant-handoff h3 { font-size: 15px; margin: 0; }
.assistant-handoff p { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 8px 0 12px; }
.assistant-handoff > .button + .button { margin-left: 8px; }
.assistant-error { margin: 12px 0; padding: 12px 14px; border: 1px solid #ecc7b9; border-radius: 9px; background: #fff7f3; }
.assistant-error p { margin: 0 0 9px; font-size: 12px; color: #a85e49; line-height: 1.7; }
.assistant-error .button { min-height: 32px; padding: 6px 10px; font-size: 11px; }
.assistant-signin { border-top: 1px solid var(--line); padding-top: 16px; }
.assistant-signin p { color: var(--muted); font-size: 12px; line-height: 1.8; margin-bottom: 14px; }
.assistant-history, .support-assistant-transcript { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.assistant-history summary, .support-assistant-transcript summary { cursor: pointer; color: #888b7f; font-size: 12px; }
.assistant-history > div, .support-assistant-transcript > div { padding-top: 12px; }
.assistant-history button { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-size: 12px; overflow-wrap: anywhere; }
.assistant-history button span { flex-shrink: 0; color: var(--muted); font-size: 10px; }
.support-assistant-transcript > div { max-height: 330px; overflow-y: auto; }
@media (max-width: 600px) {
  .assistant-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 30px); }
  .assistant-heading h2 { font-size: 20px; }
  .assistant-questions { grid-template-columns: 1fr; }
  .assistant-log { max-height: 34dvh; }
  #support-assistant-form textarea { font-size: 16px; }
  .assistant-compose-bottom > span { max-width: 195px; }
  .assistant-handoff { padding: 14px; }
  .assistant-message { max-width: 96%; }
}

/* In-site reply indicators stay small and do not change the navigation layout. */
.support-entry-badge { display: inline-flex; justify-content: center; align-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 10px; background: #d96945; color: white; font-size: 10px; font-weight: 650; line-height: 1; vertical-align: middle; margin-left: 6px; }
.support-entry-badge[hidden] { display: none; }
.customer-service-launcher .support-entry-badge { margin-left: 0; }
.mobile-nav [data-action="contact-support"] { position: relative; }
.mobile-nav .support-entry-badge { position: absolute; top: 4px; left: calc(50% + 5px); margin: 0; font-size: 9px; height: 16px; min-width: 16px; }
.assistant-reply-notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fff4e9; color: #95613e; font-size: 12px; }
.assistant-reply-notice .button { flex-shrink: 0; min-height: 32px; padding: 6px 10px; font-size: 12px; }

.assistant-reply-notice[hidden] { display: none; }

.support-unread-badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 6px; background: #f9e5d7; color: #a94f2c; font-size: 11px; font-weight: 600; }

/* Plain headings and honest empty inventories for secondary sections. */
.section-page-heading { gap: 18px; flex-wrap: wrap; }
.section-page-intro { padding-block: 32px 20px; }
.section-page-intro h1 { margin: 0; font-size: 30px; letter-spacing: -.6px; }
.section-page-heading > .button { margin-block: 16px; }
.listing-empty { min-height: 320px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 13px; padding: 45px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.listing-empty h2 { margin: 4px 0 0; font-size: 20px; }
.listing-empty p { margin: 0; color: var(--muted); font-size: 13px; }
.listing-empty .button { margin-top: 8px; }
@media (max-width: 600px) {
  .section-page-intro { padding-block: 25px 8px; }
  .section-page-intro h1 { font-size: 27px; }
  .section-page-heading { align-items: center; gap: 10px; }
  .section-page-heading > .button { margin-block: 16px 8px; font-size: 12px; padding-inline: 12px; }
  .listing-empty { min-height: 290px; margin-top: 10px; }
}
