/* Shared public catalogue. Only surface tokens come from the brand configuration. */
.wm-page,
.wm-launch {
  --wm-ink: color-mix(in srgb, var(--wm-deep, #233649) 78%, #152029);
  --wm-subtle: #47535d;
  --wm-paper: #fff;
  --wm-soft: color-mix(in srgb, var(--wm-tint, #eef2f1) 54%, #fff);
  --wm-line: color-mix(in srgb, var(--wm-accent, #586f75) 14%, #cbd1d2);
  --wm-input-line: #838e95;
  --wm-action: color-mix(in srgb, var(--wm-accent, #386677) 78%, var(--wm-deep, #192431));
  --wm-selected-bg: #e7f2eb;
  --wm-selected-fg: #254f39;
  --wm-selected-line: #86a795;
  --wm-alert-bg: #fff3e7;
  --wm-alert-fg: #663c20;
  --wm-alert-line: #b88558;
  --wm-radius: 12px;
  --wm-gap: clamp(16px, 2.3vw, 28px);
  min-width: 0;
  max-width: 100%;
  color: var(--wm-ink);
  overflow-wrap: anywhere;
  text-align: start;
}
:where(.wm-page, .wm-launch) *,
:where(.wm-page, .wm-launch) *::before,
:where(.wm-page, .wm-launch) *::after { box-sizing: border-box; }
.wm-page { margin-block: clamp(24px, 3.2vw, 48px) clamp(44px, 6vw, 80px); line-height: 1.5; }
.wm-page :where(a, button, input, select, textarea, summary):focus-visible,
.wm-launch :where(a, button):focus-visible {
  outline: 3px solid #21699e;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}
.wm-page :where(h1, h2, h3, h4, p, dl, dd, figure, form, fieldset),
.wm-launch :where(h2, p) { margin: 0; }
.wm-page :where(h1, h2, h3, h4), .wm-launch h2 {
  color: var(--wm-ink);
  line-height: 1.12;
  text-wrap: balance;
}
.wm-page p { line-height: 1.55; }
.wm-page p + p { margin-block-start: 8px; }
.wm-page :where(img, svg, video, iframe) { max-width: 100%; }
.wm-page :where(input, select, button, textarea) { font: inherit; }
.wm-page :where(a, button), .wm-launch :where(a, button) { touch-action: manipulation; }
.wm-page [hidden], .wm-launch [hidden] { display: none !important; }

.wm-launch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3.3vw, 48px);
  margin-block: clamp(28px, 4vw, 56px);
  padding: clamp(20px, 3.2vw, 44px);
  border: 1px solid var(--wm-line);
  border-inline-start: 5px solid var(--wm-accent, #426a77);
  border-radius: var(--wm-radius);
  background: linear-gradient(110deg, var(--wm-soft), var(--wm-paper) 80%);
}
.wm-launch-copy { flex: 1 1 34rem; min-width: 0; }
.wm-launch h2 { max-width: 27ch; margin-block: 8px 10px; font-size: clamp(25px, 3.15vw, 44px); letter-spacing: -.035em; }
.wm-launch p { max-width: 68ch; color: var(--wm-subtle); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; }
.wm-page .wm-eyebrow, .wm-page .wm-kicker, .wm-launch .wm-eyebrow {
  display: inline-block;
  color: var(--wm-action);
  font: 700 12px/1.35 system-ui, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.wm-page .wm-crumbs, .wm-page .wm-selection-nav, .wm-page .wm-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: var(--wm-subtle);
  font-size: 14px;
}
.wm-page .wm-crumbs, .wm-page .wm-selection-nav { margin-block: 0 16px; }
.wm-page .wm-strip { padding-block: 12px; }
.wm-page .wm-crumbs a, .wm-page .wm-selection-nav a, .wm-page .wm-selection-links a, .wm-page .wm-strip a { color: var(--wm-action); text-decoration: underline; text-underline-offset: .2em; }
.wm-page .wm-head, .wm-page .wm-detail-head, .wm-page .wm-selection-head {
  padding: clamp(20px, 3.7vw, 56px) clamp(16px, 3.5vw, 48px);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  background: linear-gradient(112deg, var(--wm-soft), var(--wm-paper) 83%);
}
.wm-page .wm-head h1, .wm-page .wm-detail-head h1, .wm-page .wm-selection-head h1 {
  max-width: 27ch;
  margin-block: 8px 16px;
  font-size: clamp(32px, 4.6vw, 66px);
  letter-spacing: -.045em;
}
.wm-page .wm-head p, .wm-page .wm-detail-head p, .wm-page .wm-selection-head p { max-width: 76ch; color: var(--wm-subtle); font-size: clamp(15px, 1.45vw, 20px); }
.wm-page .wm-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 6px;
  margin-block: clamp(16px, 2.7vw, 32px);
  padding: 6px;
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  background: var(--wm-paper);
}
.wm-page .wm-tabs :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 100%;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--wm-subtle);
  background: transparent;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  font-family: inherit;
  font-weight: 650;
}
.wm-page .wm-tabs [aria-current="page"], .wm-page .wm-tabs [aria-selected="true"] {
  background: var(--wm-action);
  color: #fff;
}
.wm-page .wm-tabs a:hover:not([aria-current="page"]) { color: var(--wm-ink); background: var(--wm-soft); }
.wm-page .wm-shell { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: clamp(28px, 4vw, 56px); }
.wm-page .wm-shell > *, .wm-page .wm-detail-body > *, .wm-page .wm-results > * { min-width: 0; }
.wm-page .wm-status, .wm-page .wm-message {
  padding: 16px 20px;
  border: 1px solid var(--wm-line);
  border-inline-start: 3px solid var(--wm-accent, #426a77);
  border-radius: 8px;
  background: var(--wm-soft);
  color: var(--wm-ink);
}
.wm-page .wm-pagination:empty, .wm-page .wm-status:empty, .wm-page .wm-message:empty { display: none; }
.wm-page :is(.wm-status, .wm-message)[role="alert"],
.wm-page .wm-message:is([data-wm-state="unavailable"], [data-wm-state="invalid"]),
.wm-page .wm-error {
  border-color: var(--wm-alert-line);
  background: var(--wm-alert-bg);
  color: var(--wm-alert-fg);
}
.wm-page .wm-status :is(h2, h3), .wm-page .wm-message :is(h2, h3) { margin-block-end: 8px; font-size: 20px; }
.wm-page :is(.wm-message, .wm-status) .wm-actions { margin-block-start: 12px; }
.wm-page .wm-count { margin: 0 0 14px; color: var(--wm-subtle); font-size: 15px; font-variant-numeric: tabular-nums; }

.wm-page .wm-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: clamp(16px, 2.5vw, 30px);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  background: var(--wm-paper);
}
.wm-page .wm-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  align-items: end;
  gap: 16px;
}
.wm-page .wm-field, .wm-page .wm-selection-form > label { display: grid; align-content: start; gap: 7px; min-width: 0; font-size: 14px; font-weight: 650; color: var(--wm-ink); }
.wm-page :is(.wm-field, .wm-filters, .wm-selection-form) :where(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--wm-input-line);
  border-radius: 6px;
  background: var(--wm-paper);
  color: var(--wm-ink);
  font: 400 16px/1.45 system-ui, sans-serif;
}
.wm-page input::placeholder, .wm-page textarea::placeholder { color: var(--wm-subtle); opacity: 1; }
.wm-page :where(input, textarea, select)[aria-invalid="true"] { border-color: var(--wm-alert-fg); }
.wm-page .wm-extra-filters { min-width: 0; border-block-start: 1px solid var(--wm-line); padding-block-start: 3px; }
.wm-page .wm-extra-filters > summary { cursor: pointer; color: var(--wm-action); padding-block: 10px; font-size: 15px; font-weight: 650; }
.wm-page .wm-extra-filters[open] > .wm-filter-grid { margin-block: 5px 4px; }

.wm-page .wm-results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.wm-page .wm-results:has(> .wm-card), .wm-page :is(.wm-card-grid, .wm-cards) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr));
  gap: clamp(16px, 2vw, 26px);
  align-items: stretch;
}
.wm-page .wm-results > :is(.wm-count, .wm-pagination, .wm-status, .wm-message, header, h2, nav) { grid-column: 1 / -1; }
.wm-page .wm-card {
  display: flex;
  flex-flow: column;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
  padding: clamp(16px, 2.15vw, 24px);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  background: var(--wm-paper);
}
.wm-page .wm-card.wm-is-saved { border-color: var(--wm-selected-line); box-shadow: inset 0 3px 0 var(--wm-selected-line); }
.wm-page .wm-card-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wm-page .wm-badge {
  display: inline-flex;
  align-items: center;
  align-self: start;
  max-width: 100%;
  padding: 4px 9px;
  border: 1px solid var(--wm-line);
  border-radius: 4px;
  background: var(--wm-soft);
  color: var(--wm-action);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}
.wm-page .wm-card-title { margin: 0; font-size: clamp(20px, 1.9vw, 26px); font-weight: 680; letter-spacing: -.025em; }
.wm-page .wm-card-title a { color: inherit; text-decoration: none; }
.wm-page .wm-card-title a:hover { text-decoration: underline; text-underline-offset: .16em; }
.wm-page .wm-byline, .wm-page .wm-description, .wm-page .wm-muted { color: var(--wm-subtle); font-size: 14px; }
.wm-page .wm-description { line-height: 1.52; }
.wm-page .wm-avatar {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-inline-end: 6px;
  border: 1px solid var(--wm-line);
  border-radius: 50%;
  background: var(--wm-soft);
  color: var(--wm-action);
  vertical-align: middle;
  font: 700 14px/1 system-ui, sans-serif;
}
.wm-page .wm-resource { color: var(--wm-action); text-decoration: underline; text-underline-offset: .18em; }
.wm-page :is(.wm-facts, .wm-selection-facts) { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; }
.wm-page :is(.wm-facts, .wm-selection-facts) > div {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
  align-items: baseline;
  gap: 5px 12px;
  min-width: 0;
  padding-block: 8px;
  border-block-end: 1px solid var(--wm-line);
}
.wm-page :is(.wm-facts, .wm-selection-facts) :is(dt, dd) { min-width: 0; margin: 0; line-height: 1.4; }
.wm-page :is(.wm-facts, .wm-selection-facts) dt { color: var(--wm-subtle); font-size: 13px; }
.wm-page :is(.wm-facts, .wm-selection-facts) dd { color: var(--wm-ink); font-size: 14px; font-weight: 600; }
.wm-page .wm-price { display: grid; gap: 3px; margin-block-start: 4px; }
.wm-page .wm-price small { color: var(--wm-subtle); font-size: 12px; }
.wm-page .wm-price strong { color: var(--wm-ink); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.25; }
.wm-page .wm-actions, .wm-launch .wm-actions, .wm-page .wm-pagination,
.wm-page .wm-selection-controls, .wm-page .wm-selection-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}
.wm-page .wm-card > .wm-actions { margin-block-start: auto; padding-block-start: 8px; }
.wm-page :is(.wm-button, .wm-primary, .wm-save), .wm-launch .wm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--wm-action);
  border-radius: 7px;
  background: var(--wm-action);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  font-family: inherit;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.35;
}
.wm-page :is(.wm-button, .wm-primary):hover, .wm-launch .wm-button:hover { filter: brightness(.9); }
.wm-page .wm-save { border-color: var(--wm-input-line); color: var(--wm-action); background: var(--wm-paper); }
.wm-page .wm-save[aria-pressed="true"] { border-color: var(--wm-selected-line); color: var(--wm-selected-fg); background: var(--wm-selected-bg); }
.wm-page button.wm-link { border: 0; background: transparent; cursor: pointer; }
.wm-page button:disabled { cursor: default; opacity: .58; }
.wm-page .wm-link, .wm-launch .wm-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  max-width: 100%;
  padding: 5px 2px;
  color: var(--wm-action);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.wm-page .wm-pagination { grid-column: 1 / -1; justify-content: center; margin-block-start: 12px; padding-block-start: 22px; border-block-start: 1px solid var(--wm-line); }
.wm-page .wm-pagination a { min-height: 42px; display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--wm-line); border-radius: 7px; color: var(--wm-action); }
.wm-page .wm-pagination [aria-current="page"] { border-color: var(--wm-action); font-weight: 700; }
.wm-page .wm-detail { min-width: 0; }
.wm-page .wm-detail-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--wm-gap); margin-block-start: var(--wm-gap); }
.wm-page .wm-section {
  min-width: 0;
  padding: clamp(16px, 2.6vw, 32px);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  background: var(--wm-paper);
}
.wm-page .wm-section h2 { max-width: 38ch; margin-block-end: 16px; font-size: clamp(23px, 2.8vw, 37px); letter-spacing: -.035em; }
.wm-page .wm-section h3 { margin-block: 12px 8px; font-size: clamp(18px, 1.7vw, 23px); }
.wm-page .wm-section p { max-width: 81ch; }
.wm-page .wm-list { display: grid; gap: 7px; margin-block: 10px; padding-inline-start: 1.3em; }
.wm-page .wm-subcard { min-width: 0; margin-block-start: 14px; padding: 16px; border: 1px solid var(--wm-line); border-radius: 8px; background: var(--wm-soft); }

@media (max-width: 680px) {
  .wm-page { margin-block-start: 18px; }
  .wm-launch { align-items: start; gap: 16px; }
  .wm-page .wm-head, .wm-page .wm-detail-head, .wm-page .wm-selection-head { padding: 22px 16px; }
  .wm-page .wm-head h1, .wm-page .wm-detail-head h1, .wm-page .wm-selection-head h1 { font-size: clamp(31px, 7.5vw, 48px); }
  .wm-page .wm-tabs { gap: 4px; }
  .wm-page .wm-tabs :is(a, button) { padding: 8px 10px; }
  .wm-page .wm-section .wm-facts > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}
@media (max-width: 460px) {
  .wm-page .wm-filter-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .wm-page .wm-facts > div, .wm-page .wm-section .wm-facts > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .wm-page .wm-tabs :is(a, button) { flex: 1 1 105px; }
  .wm-launch .wm-actions { width: 100%; }
  .wm-page .wm-actions > *, .wm-launch .wm-actions > * { min-width: 0; }
  .wm-page .wm-card > .wm-actions { align-items: stretch; }
}

.wm-page .wm-detail-head > :is(.wm-actions, .wm-price) { margin-block-start: 16px; }
.wm-page .wm-byline a { color: inherit; text-decoration: underline; text-underline-offset: .17em; }
.wm-page .wm-subcard .wm-section { margin-block: 16px; padding: 0; border: 0; background: transparent; }
.wm-page .wm-subcard .wm-section h2 { font-size: clamp(17px, 1.6vw, 21px); }
.wm-page .wm-subcard .wm-subcard { padding: 12px; background: var(--wm-paper); }
@media (min-width: 980px) {
  .wm-page .wm-detail-body { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .wm-page .wm-detail-body > .wm-section:only-child,
  .wm-page .wm-detail-body > .wm-section:has(.wm-subcard) { grid-column: 1 / -1; }
}

/* The toolbar and crossover live in the existing project header and catalogue. */
.wm-strip .wm-source-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-height: 32px;
  margin-inline-start: auto;
  padding-inline: 6px;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
}
.wm-strip:has(.wm-source-link) { flex-wrap: wrap; column-gap: 12px; }
/* Keep added catalogue links inside the existing notice band at every width. */
.demo-strip:has(> .wrap.wm-strip) { height: auto; }
.demo-strip .wrap.wm-strip {
  height: auto;
  min-height: 44px;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  padding-block: 0;
  font-size: 12px;
  line-height: 1.4;
}
.demo-strip .wrap.wm-strip > span { flex: 1 1 220px; }
.demo-strip .wrap.wm-strip > nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}
.demo-strip .wrap.wm-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  margin-inline-start: 0;
  white-space: normal;
}
.wm-crossover { margin-block: 20px 28px; padding: 12px 16px; border-inline-start: 3px solid var(--wm-accent, currentColor); }
.wm-crossover .wm-link { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: .18em; }
.wm-strip .wm-source-link:focus-visible, .wm-crossover .wm-link:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.wm-page [data-wm-badge] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55em;
  margin-inline-start: 6px;
  padding: 1px 5px;
  border: 1px solid currentColor;
  border-radius: 10px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.wm-page .wm-selection { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); }
.wm-page .wm-selection-nav { margin: 0; }
.wm-page .wm-selection-head small { display: block; margin-block-start: 9px; color: var(--wm-subtle); }
.wm-page .wm-selection-empty,
.wm-page .wm-selection-budget,
.wm-page .wm-selection-line {
  padding: clamp(16px, 2.7vw, 32px);
  min-width: 0;
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  background: var(--wm-paper);
}
.wm-page .wm-selection-empty { display: grid; justify-items: start; gap: 12px; }
.wm-page .wm-selection-empty h2, .wm-page .wm-selection-line > header h2 { font-size: clamp(22px, 2.5vw, 34px); letter-spacing: -.025em; }
.wm-page .wm-selection-empty p, .wm-page .wm-selection-foot { max-width: 78ch; color: var(--wm-subtle); }
.wm-page .wm-selection-budget {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  background: var(--wm-soft);
}
.wm-page .wm-selection-budget > div { flex: 1 1 280px; max-width: 60ch; }
.wm-page .wm-selection-lines { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--wm-gap); }
.wm-page .wm-selection-line { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.wm-page .wm-selection-line > header h2 { margin-block: 8px; }
.wm-page .wm-selection-line > header p { color: var(--wm-subtle); }
.wm-page .wm-selection-line :is(.wm-selection-facts, .wm-selection-terms) { max-width: 95ch; }
.wm-page .wm-selection-terms { min-width: 0; padding: 8px 14px; border: 1px solid var(--wm-line); border-radius: 7px; background: var(--wm-soft); }
.wm-page .wm-selection-terms > summary { padding-block: 6px; color: var(--wm-action); cursor: pointer; font-weight: 650; }
.wm-page .wm-selection-terms[open] > summary { margin-block-end: 6px; }
.wm-page .wm-selection-terms :is(h3, h4, p) { margin-block: 14px 8px; }
.wm-page .wm-selection-part { margin-block: 12px; padding: 12px; border-inline-start: 2px solid var(--wm-line); }
.wm-page .wm-selection-form {
  display: grid;
  grid-template-columns: minmax(110px, .35fr) minmax(0, 1.4fr) auto;
  align-items: start;
  gap: 12px 16px;
  padding-block: 16px;
  border-block: 1px solid var(--wm-line);
}
.wm-page .wm-selection-form textarea { resize: vertical; }
.wm-page .wm-selection-controls { align-self: end; }
.wm-page .wm-selection-subtotal { color: var(--wm-subtle); font-size: 14px; font-variant-numeric: tabular-nums; }
.wm-page .wm-selection-subtotal strong { display: inline-block; margin-inline-start: 4px; color: var(--wm-ink); font-size: 19px; }
.wm-page .wm-selection-links { gap: 8px 18px; }
.wm-page .wm-selection-foot { font-size: 14px; }
.wm-page .wm-selection-warning, .wm-page [data-wm-message]:not(:empty) { padding: 15px; border: 1px solid var(--wm-alert-line); border-radius: 7px; color: var(--wm-alert-fg); background: var(--wm-alert-bg); }
.wm-page .wm-selection-facts dd { white-space: pre-line; }
.wm-page .wm-selection-conflict:not([hidden]) { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--wm-alert-line); border-radius: 7px; background: var(--wm-alert-bg); color: var(--wm-alert-fg); }
.wm-page .wm-selection-conflict .wm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wm-page .wm-selection-conflict p { margin: 0; }
.wm-page [data-wm-message]:empty { display: none; }
@media (max-width: 820px) {
  .wm-page .wm-selection-form { grid-template-columns: minmax(90px, .4fr) minmax(0, 1.4fr); }
  .wm-page .wm-selection-controls { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .wm-page .wm-selection-form { grid-template-columns: minmax(0, 1fr); }
  .wm-page :is(.wm-selection-facts, .wm-facts) > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
}
html[data-theme="dark"] :is(.wm-page, .wm-launch) {
  color-scheme: dark;
  --wm-ink: #f6f4f2;
  --wm-subtle: #c3c6ce;
  --wm-paper: #252b32;
  --wm-soft: color-mix(in srgb, var(--wm-accent, #426a77) 20%, #292e37);
  --wm-line: #555f69;
  --wm-input-line: #82909b;
  --wm-text-link: color-mix(in srgb, var(--wm-accent, #426a77) 18%, #faf7f2);
  --wm-selected-fg: #c5ebd5;
  --wm-selected-bg: #263c32;
  --wm-selected-line: #769982;
  --wm-alert-fg: #f5d9c1;
  --wm-alert-bg: #3c302b;
  --wm-alert-line: #ab8b74;
}
html[data-theme="dark"] .wm-page :is(.wm-link, .wm-crumbs a, .wm-selection-nav a, .wm-selection-links a, .wm-save:not([aria-pressed="true"]), .wm-pagination a:not(.wm-button), .wm-kicker, .wm-eyebrow, .wm-badge, .wm-resource, .wm-avatar, summary),
html[data-theme="dark"] .wm-launch :is(.wm-eyebrow, .wm-link) { color: var(--wm-text-link); }
html[data-theme="dark"] .wm-page :is(.wm-button, .wm-primary), html[data-theme="dark"] .wm-launch .wm-button { border-color: var(--wm-input-line); }
.wm-market-band { background: var(--wm-deep, #223340); color: #fff; }
.wm-market-band .wm-strip { display: flex; align-items: center; justify-content: space-between; gap: 3px 12px; min-height: 36px; font-size: 12px; }
@media (min-width: 1040px) {
  .wm-page .wm-results:has(> .wm-card) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.wm-page .wm-format-names { margin: 0 0 22px; padding: 14px 18px; border: 1px solid var(--wm-line, #cbd5e1); border-radius: 12px; }
.wm-page .wm-format-names summary { cursor: pointer; font-weight: 650; }
.wm-page .wm-format-names > p { margin: 12px 0 8px; }
.wm-page .wm-format-names .wm-actions { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.wm-page .wm-format-names a { white-space: normal; overflow-wrap: anywhere; }

.wm-refresh-notice{display:grid;gap:8px;padding:12px;border:1px solid var(--wm-accent,#476465);border-radius:8px;margin-top:12px;font-size:14px}.wm-refresh-notice p{margin:0}.wm-refresh-notice button{min-height:44px}

/* Studio utilities share one row on wide screens and an in-flow disclosure on phones. */
.wrap.wm-strip > .wm-utility-menu { width: 100%; min-width: 0; }
.wm-utility-menu > summary { display: none; }
.wm-utility-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px; }
.wm-utility-links > span { flex: 1 1 180px; }
.wm-utility-links > nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.wrap.wm-strip .wm-utility-links a { text-decoration: none; }
.wrap.wm-strip .wm-utility-links a:hover { color: var(--ink, currentColor); background-color: color-mix(in srgb, currentColor 7%, transparent); }
.wrap.wm-strip :is(a,summary):focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.header .navlinks a.active { font-weight: 750; }
.header .navlinks a.active::after { content: none; }
@media (max-width: 760px) {
  .wm-utility-menu > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding-block: 4px; list-style: none; cursor: pointer; }
  .wm-utility-menu > summary::-webkit-details-marker { display: none; }
  .wm-utility-menu > summary strong { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font: inherit; font-weight: 700; }
  .wm-utility-menu > summary strong::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
  .wm-utility-menu[open] > summary strong::after { transform: translateY(2px) rotate(225deg); }
  .wm-utility-links { column-gap: 16px; padding-block: 3px 6px; }
  .wm-utility-links > span { display: none; }
}


.wm-page .wm-selection-form { grid-template-columns:minmax(105px,.45fr) minmax(0,1.55fr); }
.wm-selection-form :is(.wm-brief-fields,[data-wm-brief-state],.wm-selection-controls) { grid-column:1 / -1; }
.wm-page .wm-brief-fields { min-width:0; padding:0 14px; border:1px solid var(--wm-line); border-radius:7px; background:var(--wm-soft); }
.wm-page .wm-brief-fields summary { padding-block:12px; font-weight:650; color:var(--wm-action); cursor:pointer; }
.wm-page .wm-brief-fields > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; padding-bottom:16px; }
.wm-page .wm-brief-fields label { display:grid; gap:6px; align-content:start; min-width:0; font-size:14px; font-weight:650; }
.wm-page [data-wm-brief-state] { margin:0; color:var(--wm-subtle); font-size:14px; line-height:1.5; }
@media (max-width:580px) {
  .wm-page .wm-selection-form,.wm-page .wm-brief-fields > div { grid-template-columns:minmax(0,1fr); }
}

.wm-page .wm-options { grid-column:1 / -1; min-width:0; padding:4px 14px 8px; margin:0; border:1px solid var(--wm-line); border-radius:8px; }
.wm-page .wm-options legend { padding:0 5px; color:var(--wm-ink); font-weight:650; }
.wm-page .wm-option { display:grid; grid-template-columns:20px minmax(0,1fr) auto; gap:10px; align-items:start; padding:12px 0; min-width:0; }
.wm-page .wm-option+.wm-option { border-top:1px solid var(--wm-line); }
.wm-page .wm-option input { width:18px; height:18px; margin:2px 0 0; accent-color:var(--wm-action); }
.wm-page .wm-option > span { display:grid; gap:4px; overflow-wrap:anywhere; }
.wm-page .wm-option :is(small,span span) { color:var(--wm-subtle); font-weight:400; }
.wm-page .wm-option b { font-size:14px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.wm-page [data-wm-option-totals]:empty { display:none; }
.wm-page .wm-option-revision { margin-block:10px; }
.wm-page .wm-option-revision ul { margin:6px 0; padding-inline-start:18px; overflow-wrap:anywhere; }
@media(max-width:520px){.wm-page .wm-option {grid-template-columns:20px minmax(0,1fr);} .wm-page .wm-option b {grid-column:2;}}

.wm-page [data-wm-supplier-budget] { flex-basis:100%; grid-column:1 / -1; min-width:0; }
.wm-page [data-wm-supplier-budget]:empty { display:none; }
.wm-page .wm-selection-budget:has(.wm-supplier-budget) { flex-wrap:wrap; }
.wm-page .wm-supplier-budget summary { cursor:pointer; color:var(--wm-action); padding-block:8px; }
.wm-page .wm-supplier-budget > div { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr)); gap:12px; margin-top:8px; }
.wm-page .wm-supplier-budget section { min-width:0; padding:14px; border:1px solid var(--wm-line); border-radius:7px; background:var(--wm-surface,var(--wm-paper,#fff)); overflow-wrap:anywhere; }
.wm-page .wm-supplier-budget h3 { margin:0 0 6px; font-size:16px; }

.wm-page .wm-handoff,.wm-page .wm-quote-help {margin:12px 0 0;min-width:0;}
.wm-page :is(.wm-handoff,.wm-quote-help)>summary {cursor:pointer;padding:10px 0;min-height:42px;font-weight:650;}
.wm-page .wm-handoff>div {display:flex;align-items:end;flex-wrap:wrap;gap:12px 16px;margin:2px 0 12px;}
.wm-page .wm-handoff label {display:grid;gap:6px;min-width:min(230px,100%);}
.wm-page .wm-handoff select,.wm-page .wm-handoff textarea {font:inherit;max-width:100%;border:1px solid var(--wm-line,currentColor);border-radius:6px;padding:9px 11px;}
.wm-page .wm-handoff textarea {width:100%;}
.wm-page .wm-transfer-state:empty {display:none;}
.wm-page .wm-transfer-state,.wm-page .wm-quote-help p {margin:4px 0 10px;line-height:1.5;}
.wm-page .wm-quote-budget {grid-column:1/-1;}

.wm-page .wm-part-table {width:min(100%,720px);border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums;}
.wm-page .wm-part-table th,.wm-page .wm-part-table td {padding:9px 8px;border-bottom:1px solid currentColor;text-align:end;overflow-wrap:anywhere;}
.wm-page .wm-part-table th:first-child {width:44%;text-align:start;padding-inline-start:0;}
.wm-page .wm-part-table tbody th {font-weight:500;}
.wm-page .wm-part-table thead th {font-size:.875em;}
.wm-page .wm-part-table tbody td:last-child {font-weight:650;}
.wm-link-out {display:inline-block;position:relative;width:.58em;height:.58em;margin-inline-start:.4em;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;vertical-align:.14em;}
.wm-link-out::after {content:"";position:absolute;inset:2px -1px auto auto;width:.72em;border-top:1.5px solid currentColor;transform:rotate(-45deg);}

.wm-page .wm-config {display:grid;gap:14px;max-width:820px;margin-block:18px 8px;}
.wm-page .wm-config .wm-options {margin:0;}
.wm-page .wm-config-money {display:flex;flex-wrap:wrap;gap:12px 28px;margin:0;align-items:end;}
.wm-page .wm-config-money div {display:grid;gap:3px;}
.wm-page .wm-config-money dt {color:var(--wm-subtle);font-size:14px;}
.wm-page .wm-config-money dd {margin:0;font-size:17px;line-height:1.35;font-weight:650;font-variant-numeric:tabular-nums;}
.wm-page .wm-config-money [data-config-total] {font-size:clamp(19px,2vw,25px);}
.wm-page .wm-detail-head p.wm-config-note {font-size:14px;line-height:1.5;}
@media(max-width:520px){.wm-page .wm-config-money {gap:10px 16px;}.wm-page .wm-config .wm-option {padding-block:10px;}}

.wm-page .wm-detail-head {padding:clamp(18px,2.8vw,38px) clamp(16px,3.5vw,48px);}
.wm-page .wm-detail-head h1 {font-size:clamp(31px,3.9vw,54px);}
.wm-page .wm-config-summary {display:grid;gap:12px;align-content:start;}
@media(min-width:820px){
  .wm-page .wm-config {max-width:1020px;grid-template-columns:minmax(0,1.65fr) minmax(220px,1fr);gap:20px;}
  .wm-page .wm-config .wm-options {grid-column:1;}
  .wm-page .wm-config-summary {align-self:start;padding:16px 18px;background:var(--wm-soft);border-radius:8px;}
  .wm-page .wm-config-money {display:grid;gap:8px;}
  .wm-page .wm-config-money div {display:flex;align-items:baseline;justify-content:space-between;gap:12px;}
  .wm-page .wm-config-money dd {text-align:end;}
}
.wm-page .wm-selection-line > :is([data-wm-forecast],[data-wm-option-totals],[data-wm-part-totals]):empty {display:none;}
.wm-page .wm-forecast-panel section {margin-block:10px 14px;min-width:0;}
.wm-page .wm-forecast-panel table {width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums;}
.wm-page .wm-forecast-panel :is(td,th) {padding:8px 10px;border-block-end:1px solid var(--wm-line);text-align:end;overflow-wrap:anywhere;}
.wm-page .wm-forecast-panel th:first-child {width:40%;text-align:start;padding-inline-start:0;}
.wm-page .wm-forecast-panel thead th {font-size:.87em;color:var(--wm-subtle);}
.wm-page .wm-forecast-panel tbody th {font-weight:500;}
.wm-page .wm-forecast-panel tbody td:last-child {font-weight:650;}
.wm-page .wm-forecast-panel .wm-forecast-period,.wm-page .wm-forecast-panel .wm-forecast-note {color:var(--wm-subtle);margin:8px 0;font-size:.92em;}
.wm-page .wm-forecast-caption {text-align:start;font-weight:650;padding-block:4px 2px;}

.wm-tasks .wm-task-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;margin:20px 0 28px}
.wm-tasks .wm-task-search,.wm-tasks .wm-draft-fields{display:grid;grid-template-columns:minmax(12rem,2fr) minmax(10rem,1fr) auto;gap:16px;align-items:end;margin:24px 0}
.wm-tasks label{display:grid;gap:6px;font-weight:600;min-width:0}
.wm-tasks :is(input,select,textarea){width:100%;min-width:0;max-width:100%;padding:10px 12px;border:1px solid var(--wm-line,#b9bdc6);border-radius:8px;background:var(--wm-paper,#fff);color:var(--wm-ink,#272a30);font:inherit;box-sizing:border-box}
.wm-tasks .wm-task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}
.wm-tasks .wm-task-card,.wm-tasks .wm-draft-group{padding:clamp(16px,2vw,28px);border:1px solid var(--wm-line,#d6d8dd);border-radius:14px;margin:0}
.wm-tasks .wm-task-card h2{margin:8px 0 16px;font-size:1.35rem}
.wm-tasks .wm-task-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:16px 24px;margin:18px 0}
.wm-tasks .wm-task-facts :is(dt,dd){margin:0;overflow-wrap:anywhere}
.wm-tasks .wm-task-facts dt{font-size:.85em;opacity:.8;margin-bottom:3px}
.wm-tasks .wm-draft-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.wm-tasks .wm-draft-group+ .wm-draft-group{margin-top:20px}
.wm-tasks .wm-message .wm-button{margin:8px 16px 8px 0}
@media(max-width:700px){.wm-tasks .wm-task-search,.wm-tasks .wm-draft-fields{grid-template-columns:1fr}.wm-tasks .wm-task-actions{gap:12px 16px}.wm-tasks .wm-task-actions>a{max-width:100%;white-space:normal}}


.wm-tasks [hidden]{display:none!important}

header a[data-wm-shortlist] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  min-width: 0;
  min-height: 40px;
  padding-inline: 8px;
  flex: 0 0 auto;
  white-space: nowrap;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.2;
}
header .wm-shortlist-count:not([hidden]) {
  border: 1px solid currentColor;
  border-radius: 99px;
  min-width: 1.45em;
  padding: 1px 4px;
  font-size: .75rem;
  text-align: center;
}

/* Applied catalog criteria stay readable above the results on narrow screens. */
.wm-page .wm-active-filters { display: grid; gap: .4rem; margin-block-start: .75rem; min-width: 0; }
.wm-page .wm-active-filters > span { font-size: .875rem; font-weight: 650; color: var(--wm-subtle); }
.wm-page .wm-active-filters ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.wm-page .wm-active-filters li { max-width: 100%; min-width: 0; margin: 0; }
.wm-page .wm-filter-chip { display: inline-flex; align-items: center; gap: .5rem; max-width: 100%; min-height: 36px; padding: .25rem .625rem; border: 1px solid var(--wm-line); border-radius: 6px; background: var(--wm-paper); color: var(--wm-action); font-size: .875rem; line-height: 1.35; text-decoration: none; }
.wm-page .wm-filter-chip span:first-child { min-width: 0; overflow-wrap: anywhere; }
.wm-page .wm-filter-chip:hover { border-color: currentColor; }
.wm-page .wm-filter-chip:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.wm-page .wm-filter-error { color: var(--wm-alert-fg); font-weight: 550; }
.wm-page .wm-filter-error[hidden] { display: none; }


/* Saved offer comparison uses the same brand palette and independent, horizontal table scroll. */
.wm-page .wm-compare {display:grid;min-width:0;gap:16px}
.wm-page .wm-cmp-nav {display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px}
.wm-page .wm-compare-head {display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:8px 18px;border-bottom:1px solid var(--wm-line);padding:4px 0 16px}
.wm-page .wm-compare-head h1 {margin:0;font-size:clamp(1.65rem,3vw,2.55rem);line-height:1.13;letter-spacing:-.035em;color:var(--wm-ink)}
.wm-page .wm-compare-head p {margin:6px 0 0;max-width:68ch;color:var(--wm-subtle);line-height:1.5}
.wm-page .wm-cmp-count {white-space:nowrap;color:var(--wm-action);font-weight:650;font-size:.88rem;font-variant-numeric:tabular-nums}
.wm-page .wm-cmp-tools {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;padding:10px 16px;background:var(--wm-soft);border:1px solid var(--wm-line);border-radius:var(--wm-radius)}
.wm-page .wm-cmp-toggle {display:inline-flex;align-items:center;gap:10px;min-height:44px;font-weight:650;line-height:1.3;cursor:pointer}
.wm-page .wm-cmp-toggle input {width:20px;height:20px;min-height:0;flex:none;margin:0;accent-color:var(--wm-action)}
.wm-page .wm-cmp-tools p,.wm-page .wm-cmp-help {margin:0 0 2px;color:var(--wm-subtle);font-size:.83rem;line-height:1.4}
.wm-page .wm-cmp-picker {display:grid;gap:3px;max-width:100%;font-size:.86rem;font-weight:650}
.wm-page .wm-cmp-picker select {min-height:44px;max-width:min(27rem,100%);min-width:0;background:var(--wm-paper)}
.wm-page .wm-cmp-results,.wm-page #wm-cmp-full {min-width:0}
.wm-page .wm-cmp-scroll {width:100%;max-width:100%;overflow-x:auto;border:1px solid var(--wm-line);border-radius:var(--wm-radius);background:var(--wm-paper)}
.wm-page .wm-cmp-table {border:0;border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:calc(10rem + var(--cmp-cols)*13rem);width:100%;color:var(--wm-ink);font-family:inherit}
.wm-page .wm-cmp-table th,.wm-page .wm-cmp-table td {width:auto;margin:0;border:0;border-inline-end:1px solid var(--wm-line);border-block-end:1px solid var(--wm-line);padding:9px 12px;text-align:start;vertical-align:top;white-space:normal;overflow-wrap:anywhere;background:var(--wm-paper);font-size:.89rem;line-height:1.43}
.wm-page .wm-cmp-table th:last-child,.wm-page .wm-cmp-table td:last-child {border-inline-end:0}
.wm-page .wm-cmp-table tbody:last-child tr:last-child>* {border-block-end:0}
.wm-page .wm-cmp-table thead th {background:var(--wm-soft);vertical-align:top}
.wm-page .wm-cmp-table thead th:first-child {width:clamp(10rem,19%,16rem);color:var(--wm-subtle);font-weight:600}
.wm-page .wm-cmp-table thead strong,.wm-page .wm-cmp-quick article>strong {display:block;font-size:1rem;line-height:1.3;font-weight:700}
.wm-page .wm-cmp-table thead small,.wm-page .wm-cmp-quick article>small {display:block;margin:3px 0;color:var(--wm-subtle);font-size:.79rem;line-height:1.4;font-weight:500}
.wm-page .wm-cmp-actions {display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
.wm-page .wm-cmp-actions :is(a,button) {display:inline-flex;align-items:center;min-height:32px;padding:0;border:0;background:transparent;color:var(--wm-action);font-size:.8rem;font-family:inherit;line-height:1.3;text-align:start;text-decoration:underline;text-underline-offset:.16em;cursor:pointer}
.wm-page .wm-cmp-actions button {color:var(--wm-subtle)}
.wm-page .wm-cmp-table tbody th {color:var(--wm-subtle);font-weight:600}
.wm-page .wm-cmp-table td,.wm-page .wm-cmp-table .wm-cmp-component span {white-space:pre-line}
.wm-page .wm-cmp-table .wm-cmp-group th {padding:8px 12px;background:var(--wm-soft);color:var(--wm-action);font-weight:700}
.wm-page .wm-cmp-table tr:not(.wm-cmp-group):hover>:is(th,td) {background:color-mix(in srgb,var(--wm-soft) 45%,var(--wm-paper))}
.wm-page .wm-cmp-table [data-state=na],.wm-page .wm-cmp-quick [data-state=na] {color:var(--wm-subtle)}
.wm-page .wm-cmp-table [data-state=missing],.wm-page .wm-cmp-quick [data-state=missing] {color:var(--wm-subtle);font-style:italic}
.wm-page .wm-cmp-definition summary,.wm-page .wm-cmp-component summary {cursor:pointer;color:var(--wm-action);min-height:24px}
.wm-page .wm-cmp-definition span,.wm-page .wm-cmp-component span {display:block;margin-top:5px;font-weight:400}
.wm-page .wm-cmp-quick,.wm-page .wm-cmp-more {display:none}
.wm-page .wm-compare :focus-visible {outline:2px solid var(--wm-action);outline-offset:2px}
.wm-page .wm-cmp-scroll:focus-visible {outline-offset:0}
@media(max-width:760px){
  .wm-page .wm-compare {gap:12px}
  .wm-page .wm-compare-head {display:block;padding-bottom:12px}
  .wm-page .wm-cmp-count {display:block;margin-top:8px}
  .wm-page .wm-cmp-tools {padding:8px 12px}
  .wm-page .wm-cmp-picker {width:100%}
  .wm-page .wm-cmp-picker select {width:100%;max-width:100%}
  .wm-page .wm-cmp-results {display:grid;gap:12px}
  .wm-page .wm-cmp-quick {display:grid;gap:8px}
  .wm-page .wm-cmp-quick article {min-width:0;padding:12px 14px;border:1px solid var(--wm-line);border-radius:var(--wm-radius);background:var(--wm-paper);overflow-wrap:anywhere}
  .wm-page .wm-cmp-quick dl {margin:8px 0 0}
  .wm-page .wm-cmp-quick dl>div {display:grid;grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);gap:8px;border-top:1px solid var(--wm-line);padding:5px 0}
  .wm-page .wm-cmp-quick dt,.wm-page .wm-cmp-quick dd {margin:0;font-size:.86rem;line-height:1.42}
  .wm-page .wm-cmp-quick dt {color:var(--wm-subtle)}
  .wm-page .wm-cmp-quick dd {white-space:pre-line}
  .wm-page .wm-cmp-more {display:inline-flex;justify-self:start;align-items:center;min-height:44px}
  .wm-page .wm-cmp-results[data-mobile-full=false] #wm-cmp-full,.wm-page .wm-cmp-results[data-mobile-full=true] .wm-cmp-quick {display:none}
  .wm-page .wm-cmp-table {min-width:calc(7.5rem + var(--cmp-cols)*11.2rem)}
  .wm-page .wm-cmp-table thead th:first-child {width:7.5rem}
  .wm-page .wm-cmp-table th[scope=row],.wm-page .wm-cmp-table thead th:first-child {position:sticky;inset-inline-start:0;z-index:1}
  .wm-page .wm-cmp-quick .wm-cmp-actions {margin-top:6px}
  .wm-page .wm-cmp-actions,.wm-page .wm-selection-links {gap:8px}
  .wm-page :is(.wm-cmp-actions a,.wm-cmp-actions button,.wm-cmp-nav a,.wm-selection-links a,.wm-selection-controls button,.wm-selection-nav a),
  .wm-page :is(.wm-cmp-definition,.wm-cmp-component,.wm-selection-terms,.wm-supplier-budget,.wm-handoff,.wm-quote-help)>summary {min-height:44px;min-width:44px}
  .wm-page :is(.wm-cmp-actions a,.wm-cmp-actions button,.wm-cmp-nav a,.wm-selection-links a,.wm-selection-nav a) {display:inline-flex;align-items:center}
  .wm-page :is(.wm-cmp-definition,.wm-cmp-component,.wm-selection-terms,.wm-supplier-budget,.wm-handoff,.wm-quote-help)>summary {box-sizing:border-box;align-content:center}
  .wm-page :is(.wm-filter-chip),header a[data-wm-shortlist] {min-height:44px}
}

/* Keep both language choices and the named shortlist reachable on narrow screens. */
@media (max-width: 420px) {
  .header .nav:has(.pub-language):has([data-wm-shortlist]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 0;
    height: auto;
    gap: 4px 8px;
    padding: 4px 14px 8px;
  }
  .header .nav:has([data-wm-shortlist]) .pub-brand {grid-area: 1 / 1; justify-self: start}
  .header .nav-actions:has(.pub-language):has([data-wm-shortlist]) {display: contents}
  .header .nav:has([data-wm-shortlist]) .pub-language {grid-area: 2 / 1; justify-self: start}
  .header .nav:has([data-wm-shortlist]) .pub-language button {min-width: 44px; min-height: 44px}
  .header .nav:has(.pub-language) a[data-wm-shortlist] {grid-area: 2 / 2; justify-self: end; max-width: none; min-height: 44px}
  .header .nav:has(.pub-language):has([data-wm-shortlist]) .mobile-toggle {grid-area: 1 / 2; justify-self: end; width: 44px; height: 44px}
  .header .nav:has(.pub-language):has([data-wm-shortlist]) .navlinks {top: 100%}
}

/* The source picker uses the same space as the brief it will complete. */
.wm-page .wm-brief-fields .wm-brief-reuse {
  display: block; padding: 0; margin: 0 0 12px; min-width: 0;
}
.wm-page .wm-brief-reuse [data-wm-reuse-open] {min-height: 44px}
.wm-page .wm-brief-reuse [data-wm-reuse-panel]:not([hidden]) {
  display: grid; gap: 8px; padding: 12px; margin: 2px 0 0;
  background: var(--wm-soft); border: 1px solid var(--wm-line); border-radius: var(--wm-radius);
}
.wm-page .wm-brief-reuse select {width: 100%; min-width: 0; max-width: 100%; min-height: 44px; font: inherit}
.wm-page .wm-brief-reuse dl,.wm-page .wm-brief-reuse p {margin: 0}
.wm-page .wm-brief-reuse dl>div {display: grid; grid-template-columns: minmax(6rem,.55fr) minmax(0,1.45fr); gap: 8px; padding: 4px 0}
.wm-page .wm-brief-reuse dt {color: var(--wm-subtle); font-size: .88rem}
.wm-page .wm-brief-reuse dd {margin: 0; overflow-wrap: anywhere; white-space: pre-line}
.wm-page .wm-brief-reuse [data-wm-reuse-apply] {justify-self: start; min-height: 44px; white-space: normal}
.wm-page .wm-brief-reuse [data-wm-reuse-status] {font-size: .88rem}
.wm-page .wm-brief-reuse [data-wm-reuse-status]:empty,.wm-page .wm-brief-reuse [data-wm-reuse-values]:empty {display: none}

.wm-action-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  max-width: 100%;
  flex-basis: 100%;
  font-size: .875rem;
}
.wm-action-feedback span { flex-basis: 100%; overflow-wrap: anywhere; }
.wm-action-feedback .wm-link { white-space: normal; }



.wm-page .wm-pr{max-width:1100px;margin:0 auto;min-width:0;color:var(--wm-ink);overflow-wrap:anywhere}
.wm-page .wm-pr-nav,.wm-page .wm-pr-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
.wm-page .wm-pr-nav{margin-bottom:14px}
.wm-page .wm-pr a.wm-pr-link{display:inline-flex;align-items:center;font-size:14px;color:var(--wm-action);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.wm-page .wm-pr-heading{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-bottom:15px}
.wm-page .wm-pr h1{font-family:inherit;font-size:clamp(27px,3vw,39px);line-height:1.12;font-weight:650;letter-spacing:-.035em;margin:0}
.wm-page .wm-pr-heading p{margin:5px 0 0;color:var(--wm-ink);font-weight:560;font-size:17px}
.wm-page .wm-pr-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:16px;align-items:start}
.wm-page .wm-pr-panel{background:var(--wm-paper);border:1px solid var(--wm-line);border-radius:10px;padding:18px 20px;min-width:0}
.wm-page .wm-pr-panel h2{font-size:clamp(18px,1.8vw,23px);letter-spacing:-.022em;line-height:1.2;margin:0 0 4px}
.wm-page .wm-pr-panel p{color:var(--wm-subtle);font-size:14px;line-height:1.45;margin:5px 0}
.wm-page .wm-pr-figures{margin:13px 0;padding:10px 0;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:10px;border-block:1px solid var(--wm-line)}
.wm-page .wm-pr-figures :is(span,strong,b),.wm-page .wm-pr-role :is(span,strong){display:block}
.wm-page .wm-pr-figures span,.wm-page .wm-pr-role span,.wm-page .wm-pr-facts dt{color:var(--wm-subtle);font-size:13px;line-height:1.35}
.wm-page .wm-pr-figures :is(strong,b){font-variant-numeric:tabular-nums;font-size:17px;line-height:1.2;margin-top:4px;white-space:pre-line}
.wm-page .wm-pr-figures strong{font-size:clamp(18px,1.8vw,23px)}
.wm-page .wm-pr-facts{display:grid;gap:7px;margin:10px 0}
.wm-page .wm-pr-facts>div{display:grid;grid-template-columns:minmax(92px,.75fr) minmax(0,1.4fr);gap:10px}
.wm-page .wm-pr-facts dd{margin:0;font-size:14px;line-height:1.4;white-space:pre-line}
.wm-page .wm-pr-role{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:10px 0;margin:10px 0 0;border-top:1px solid var(--wm-line)}
.wm-page .wm-pr-disclosure{border-top:1px solid var(--wm-line);margin-top:6px;padding:4px 0}
.wm-page .wm-pr-disclosure summary{cursor:pointer;font-size:14px;font-weight:650;color:var(--wm-action);padding:6px 0}
.wm-page .wm-pr-disclosure li{font-size:14px;margin:4px 0}
.wm-page .wm-pr-transfer{border-top:1px solid var(--wm-line);padding-top:8px;margin:5px 0}
.wm-page .wm-pr-actions{margin:12px 0 8px}
.wm-page .wm-pr-button,.wm-page .wm-pr-quiet,.wm-page .wm-cmp-actions .wm-cmp-order{display:inline-flex;justify-content:center;align-items:center;gap:5px;border-radius:6px;min-height:37px;padding:7px 11px;box-sizing:border-box;font-family:inherit;font-size:14px;font-weight:620;line-height:1.2;text-decoration:none;cursor:pointer}
.wm-page .wm-pr-button,.wm-page .wm-cmp-actions .wm-cmp-order{background:var(--wm-action);border:1px solid var(--wm-action);color:#fff}
.wm-page .wm-pr-quiet{background:var(--wm-paper);color:var(--wm-action);border:1px solid var(--wm-input-line)}
.wm-page .wm-cmp-actions .wm-cmp-order{min-height:32px;font-size:12px;padding:5px 9px}
.wm-page .wm-pr :is(a,button,summary,textarea):focus-visible,.wm-page .wm-cmp-actions .wm-cmp-order:focus-visible{outline:3px solid var(--wm-deep);outline-offset:3px}
.wm-page .wm-pr [hidden]{display:none}
.wm-page .wm-pr textarea{width:100%;font:inherit;padding:8px}
.wm-page .wm-pr a[aria-disabled]{text-decoration:none;cursor:default;opacity:.68}
@media(max-width:760px){
  .wm-page .wm-pr-layout{grid-template-columns:minmax(0,1fr);gap:12px}
  .wm-page .wm-pr-panel{padding:13px 15px}
  .wm-page .wm-pr :is(.wm-pr-button,.wm-pr-quiet,.wm-pr-link,summary),.wm-page .wm-cmp-actions .wm-cmp-order{min-height:44px;align-content:center}
  .wm-page .wm-pr-nav{margin-bottom:5px}
}
