/* BSM MARKET presentation — owner-approved navy and muted gold, 13 Oct 2026. */
:root {
  --bsm-paper: #f7f8fa;
  --bsm-ink: #142d40;
  --bsm-muted: #657485;
  --bsm-gold: #b39861;
  --bsm-gold-dark: #806539;
  --bsm-line: #e4e8ed;
  --bsm-card-border: rgba(174, 143, 80, .30);
  --bsm-detail-border: rgba(174, 143, 80, .16);
  --bsm-soft-gold: #faf7f0;
  --bsm-shadow: 0 4px 18px rgba(20, 45, 64, .045);
  --navy: var(--bsm-ink);
  --navy-soft: #22445c;
  --ivory: var(--bsm-paper);
  --gold: var(--bsm-gold);
  --ink: var(--bsm-ink);
  --ink-2: #344c60;
  --line: var(--bsm-line);
  --muted: var(--bsm-muted);
  --mint: #f1f4f7;
  --mint-2: #e8edf2;
  --gold-soft: var(--bsm-soft-gold);
  --shadow: var(--bsm-shadow);
  color: var(--bsm-ink);
  background: var(--bsm-paper);
}

body { background: var(--bsm-paper); color: var(--bsm-ink); }
:is(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--bsm-gold-dark);
  outline-offset: 3px;
}
:is(h1, h2, h3, h4) { color: var(--bsm-ink); overflow-wrap: anywhere; }
.site-header.market-context-header { border-bottom-color: var(--bsm-line); box-shadow: none; }
.site-header.market-context-header .market-nav-pages :is(a, button) { font-size: 14px; }
.site-header .language-switch { background: #f2f4f6; }
.site-header :is(.header-contact, .mobile-menu-toggle) { border-color: var(--bsm-detail-border); }
.site-header.market-context-header :is(a, button):focus-visible { outline-width: 2px; }

.hero, .closing, .process-strip {
  background: #fff;
  border: 1px solid var(--bsm-detail-border);
  box-shadow: none;
}
.hero { border-radius: 18px; padding: 32px 36px; }
.hero h1 { font-size: clamp(32px, 3.2vw, 44px); font-weight: 700; line-height: 1.25; }
.hero h1 em { font-style: normal; }
.hero-lead { line-height: 1.75; }
.hero-art .art-card { border-color: var(--bsm-detail-border); background: #fff; box-shadow: var(--bsm-shadow); }
.art-circle, .service-icon { background: var(--bsm-soft-gold); color: var(--bsm-gold-dark); }
.process-strip { border-radius: 14px; }
.section-heading h2, .closing h2 { font-size: 26px; font-weight: 700; line-height: 1.4; }
.section-heading > p, .closing p { color: var(--bsm-muted); }

.button, .button-gold {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--bsm-ink);
  border-radius: 11px;
  background: var(--bsm-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: none;
}
.button:hover, .button-gold:hover { background: #22445c; border-color: #22445c; color: #fff; }
.button-light, .button-outline, .hero .button-outline {
  background: #fff;
  border-color: var(--bsm-line);
  color: var(--bsm-ink);
}
.button-light:hover, .button-outline:hover, .hero .button-outline:hover {
  background: #f3f5f7;
  border-color: #c7d0d9;
  color: var(--bsm-ink);
}
:is(.button, .service-link):disabled { cursor: not-allowed; opacity: .52; }
.button-small { min-height: 44px; padding: 10px 17px; }
.text-button:hover, .language-button:hover { background: #f1f4f7; }

.catalogue-tools {
  background: #fff;
  border: 1px solid var(--bsm-detail-border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: none;
}
.catalogue-tools :is(input, select) { min-height: 48px; border-radius: 10px; }
.catalogue-grid { gap: 20px; }
.service-card {
  min-height: 0;
  padding: 22px;
  border: 1px solid var(--bsm-card-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--bsm-shadow);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.service-card:hover {
  transform: none;
  border-color: rgba(174, 143, 80, .46);
  box-shadow: 0 8px 22px rgba(20, 45, 64, .065);
}
.service-card:focus-within { border-color: var(--bsm-gold); box-shadow: 0 0 0 2px rgba(179, 152, 97, .12); }
.service-icon { width: 38px; height: 38px; border: 1px solid var(--bsm-detail-border); border-radius: 10px; margin-bottom: 12px; }
.service-category { color: var(--bsm-gold-dark); font-size: 11px; letter-spacing: .015em; margin-bottom: 6px; }
.service-card h3 { font-size: 19px; line-height: 1.5; font-weight: 700; margin-bottom: 8px; }
.service-description { font-size: 14px; line-height: 1.75; color: var(--bsm-muted); margin-bottom: 18px; }
.service-card .service-link {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 11px 16px;
  border: 1px solid var(--bsm-ink);
  border-radius: 10px;
  background: var(--bsm-ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
}
.service-card .service-link:hover { padding-inline: 16px; background: #22445c; border-color: #22445c; }
.service-card .service-link span:last-child { color: #fff; font-size: 20px; }
.service-code { margin: 10px 0 0; color: var(--bsm-muted); font-size: 11px; line-height: 1.5; }

.workspace { border-top-color: var(--bsm-line); }
.request-list { gap: 14px; }
.request-card { padding: 20px 22px; gap: 18px; border: 1px solid var(--bsm-card-border); border-radius: 15px; box-shadow: var(--bsm-shadow); }
.request-card:hover { box-shadow: var(--bsm-shadow); }
.request-card h3 { font-size: 18px; font-weight: 700; line-height: 1.5; margin-bottom: 6px; }
.request-reference { font-family: var(--bsm-font); color: var(--bsm-muted); font-size: 12px; }
.status-pill { border: 1px solid var(--bsm-detail-border); background: var(--bsm-soft-gold); color: var(--bsm-gold-dark); font-weight: 600; }
.request-detail { padding: 26px; border: 1px solid var(--bsm-detail-border); border-radius: 16px; background: #fff; box-shadow: none; scroll-margin-top: calc(var(--bsm-header-height) + 18px); }
.detail-heading { border-bottom-color: var(--bsm-line); gap: 18px; margin-bottom: 22px; padding-bottom: 18px; }
.detail-heading h3 { font-size: 25px; line-height: 1.4; font-weight: 700; margin: 8px 0; }
.detail-grid { gap: 16px; }
.detail-block { border: 1px solid var(--bsm-detail-border); border-radius: 12px; background: #fbfcfd; padding: 20px; }
.detail-block h4 { font-size: 16px; font-weight: 700; }
.detail-block :is(p, li) { font-size: 14px; line-height: 1.8; }
.detail-block :is(dt, dd), .receipt-card :is(dt, dd) { font-size: 13px; line-height: 1.6; }
.detail-block dt, .receipt-card dt { color: var(--bsm-muted); }
.detail-block dd, .receipt-card dd { color: var(--bsm-ink); font-weight: 600; }
.timeline-item { border-inline-start-color: rgba(179, 152, 97, .46); }
.timeline-item time { font-size: 12px; }
.info-panel, .empty-panel { border: 1px solid var(--bsm-detail-border); border-radius: 12px; background: #f6f8fa; color: var(--bsm-ink); }

input, select, textarea { background: #fff; color: var(--bsm-ink); border: 1px solid #d9e0e7; border-radius: 10px; min-height: 48px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #798695; opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--bsm-gold); }
input:disabled, select:disabled, textarea:disabled { background: #f1f4f7; color: #6b7784; }
label > span { color: var(--bsm-ink); }
.consent-field input { min-height: 0; accent-color: var(--bsm-ink); }
dialog { background: #fff; color: var(--bsm-ink); border: 1px solid var(--bsm-detail-border); border-radius: 18px; padding: 28px; box-shadow: 0 24px 70px rgba(20, 45, 64, .18); }
dialog::backdrop { background: rgba(20, 45, 64, .65); backdrop-filter: blur(3px); }
.dialog-heading h2 { font-size: 26px; font-weight: 700; line-height: 1.4; }
.dialog-heading .eyebrow { color: var(--bsm-gold-dark); }
.form-intro, dialog form > p { font-size: 14px; line-height: 1.75; color: var(--bsm-muted); }
.close-button { min-height: 44px; min-width: 44px; border: 1px solid var(--bsm-line); border-radius: 10px; background: #fff; color: var(--bsm-ink); }
.close-button:hover { background: #f1f4f7; }
.safe-account-link { color: var(--bsm-ink); text-underline-offset: 4px; }
.receipt-card { border: 1px solid var(--bsm-detail-border); border-radius: 14px; background: #fff; box-shadow: none; padding: 24px; }
.receipt-card h2 { font-size: 24px; font-weight: 700; line-height: 1.4; }
.receipt-card p { font-size: 14px; line-height: 1.75; }
.receipt-mark { background: #edf4f0; color: #37634c; }
.closing { border-radius: 16px; }
.site-footer.marketplace-footer { border-top-color: var(--bsm-line); background: #fff; }
.toast { background: var(--bsm-ink); border-radius: 12px; }

@media (max-width: 1000px) {
  .hero { padding: 28px; }
  .hero h1 { font-size: 36px; }
  .catalogue-grid { gap: 16px; }
}
@media (max-width: 720px) {
  .hero { padding: 24px; border-radius: 16px; }
  .hero h1 { font-size: 32px; line-height: 1.35; }
  .section-heading h2, .closing h2 { font-size: 23px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .button { min-height: 48px; font-size: 14px; }
  .catalogue-tools { padding: 15px; }
  .service-card { padding: 20px; }
  .service-card h3 { font-size: 18px; }
  .request-card { padding: 18px; }
  .request-card .button { margin-inline-start: 0; }
  .request-detail { padding: 18px; }
  .detail-heading h3 { font-size: 22px; }
  .detail-block { padding: 17px; }
  dialog { padding: 22px; }
  .dialog-heading h2 { font-size: 23px; }
  .receipt-card { padding: 18px; }
}
@media (max-width: 420px) {
  .hero-actions .button { flex-basis: 100%; }
  .detail-block dl, .receipt-card dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card { transition: none; }
}
@media print {
  .receipt-card { border-color: #ddd; box-shadow: none; }
}
