/* ==========================================================================
   TeamUpp wireframe layer
   Sits on top of design-system/teamupp.css. Every measurement here comes from
   the reference captures in design-system/research (see WIREFRAMES.md §2).
   ========================================================================== */

:root {
  /* Section vertical padding scale (desktop → mobile) */
  --wf-pad-xl: clamp(96px, 11vw, 160px);    /* Luma: 160 between every section */
  --wf-pad-lg: clamp(88px, 9.5vw, 136px);   /* Marshall: content sections */
  --wf-pad-md: clamp(72px, 8.4vw, 120px);   /* Marshall: results, closing CTA */
  --wf-pad-sm: clamp(56px, 6.6vw, 96px);    /* Marshall/Decagon: short headers */
  --wf-pad-strip: clamp(40px, 4.4vw, 64px); /* Adapt: Q/A callout strip */

  /* Vertical rhythm inside a section */
  --wf-head-gap: clamp(40px, 4.5vw, 64px);  /* heading block → content */
  --wf-media-gap: clamp(48px, 5.6vw, 80px); /* heading block → hero-scale media */
  --wf-sub-gap: 20px;                       /* heading → one-line sub */
  --wf-cta-gap: 36px;                       /* sub → buttons */

  /* Containers */
  --wf-wide: 1400px;      /* Decagon: hero panel / dark product panel (1401) */
  --wf-content: 1280px;   /* Luma: 1216 content + 2×32 gutter */
  --wf-reading: 1064px;   /* Decagon article: 288 rail + 96 gap + 680 prose */

  /* Text measures */
  --wf-h1-center: 896px;  /* Luma app/enterprise H1 */
  --wf-h1-left: 768px;    /* Marshall H1 */
  --wf-h2: 768px;         /* Luma H2 */
  --wf-split-head: 440px; /* Marshall split heading column */
  --wf-lead: 560px;       /* one-line sub, never wider */
  --wf-prose: 680px;

  /* Grids */
  --wf-col-gap: 20px;     /* Luma card grid column gap */
  --wf-row-gap: 48px;     /* Luma: 40, rounded up for title breathing room */
}

@media (max-width: 767px) {
  :root {
    --wf-col-gap: 16px;
    --wf-row-gap: 40px;
  }
}

/* -------------------------------------------------------------- Sections */

.wf-section { position: relative; padding-block: var(--wf-pad-xl); }
.wf-section--lg { padding-block: var(--wf-pad-lg); }
.wf-section--md { padding-block: var(--wf-pad-md); }
.wf-section--sm { padding-block: var(--wf-pad-sm); }
.wf-section--strip { padding-block: var(--wf-pad-strip); }
.wf-section--flush-top { padding-top: 0; }
.wf-section--flush-bottom { padding-bottom: 0; }
.wf-section--subtle { background: var(--surface-subtle); }
.wf-section--dark { background: var(--surface-primary); color: var(--text-primary); }
.wf-section--accent { background: var(--accent-soft); }
/* Dark content bands must stay distinct from the black page in dark mode */
[data-theme="dark"] .wf-section--dark.wf-section--lg { background: var(--grey-900); }

.wf-container { width: 100%; max-width: var(--wf-content); margin-inline: auto; padding-inline: var(--gutter); }
.wf-container--wide { max-width: var(--wf-wide); padding-inline: clamp(8px, 1.4vw, 20px); }
.wf-container--reading { max-width: calc(var(--wf-reading) + var(--gutter) * 2); }
.wf-container--prose { max-width: calc(var(--wf-prose) + var(--gutter) * 2); }
.wf-container--form { max-width: calc(832px + var(--gutter) * 2); }

/* ------------------------------------------------------- Heading blocks */

.wf-head { display: flex; flex-direction: column; gap: var(--wf-sub-gap); max-width: var(--wf-h2); }
.wf-head--center { margin-inline: auto; align-items: center; text-align: center; }
.wf-head--h1 { max-width: var(--wf-h1-left); --wf-sub-gap: 28px; --wf-cta-gap: 44px; }
.wf-head--h1.wf-head--center { max-width: var(--wf-h1-center); }
.wf-head > p { max-width: var(--wf-lead); color: var(--text-secondary); }
.wf-head .wf-actions { margin-top: calc(var(--wf-cta-gap) - var(--wf-sub-gap)); }

/* Heading left, single action right (Luma section headers) */
.wf-headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
@media (max-width: 767px) { .wf-headrow { flex-direction: column; align-items: flex-start; } }
@media (max-width: 479px) { .wf-hide-sm { display: none; } }

.wf-after-head { margin-top: var(--wf-head-gap); }
.wf-after-head--media { margin-top: var(--wf-media-gap); }

.wf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wf-head--center .wf-actions { justify-content: center; }

/* Display headline sizes measured on references, mapped to the type scale */
.wf-display-xl { font-size: clamp(48px, 7.2vw, 104px); line-height: 0.98; letter-spacing: -0.045em; font-weight: var(--weight-medium); text-wrap: balance; } /* Marshall/Adapt statement 101–104 */
.wf-display-l { font-size: clamp(40px, 5.8vw, 84px); line-height: 1.02; letter-spacing: -0.042em; font-weight: var(--weight-medium); text-wrap: balance; }  /* Marshall H1 84 */
.wf-display-m { font-size: clamp(36px, 4.9vw, 70px); line-height: 1.04; letter-spacing: -0.04em; font-weight: var(--weight-medium); text-wrap: balance; }   /* Marshall H2 70 */

/* ----------------------------------------------------------------- Grids */

.wf-grid { display: grid; gap: var(--wf-row-gap) var(--wf-col-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .wf-grid--2, .wf-grid--3, .wf-grid--4, .wf-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .wf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wf-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.wf-grid--gap-lg { column-gap: clamp(24px, 3vw, 43px); }   /* Adapt step row: 43 */
.wf-grid--gap-md { column-gap: 32px; }                     /* Decagon pillars: 32 */
.wf-grid--gap-xl { column-gap: 40px; }                     /* Luma 2-up feature cards: 40 */

/* Marshall split: heading column 440 / content 661 / gap 115 */
.wf-split { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) {
  .wf-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7.5fr); column-gap: clamp(64px, 8vw, 116px); }
  .wf-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 96px); }
  .wf-split--form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 96px); }
  .wf-split--center { align-items: center; }
}
.wf-sticky { position: sticky; top: calc(var(--nav-height) + 40px); }
@media (max-width: 1023px) { .wf-sticky { position: static; } }

/* ----------------------------------------------------------------- Media */

.wf-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-media);
  background:
    linear-gradient(135deg, transparent 49.6%, var(--border-subtle) 49.6%, var(--border-subtle) 50.4%, transparent 50.4%),
    linear-gradient(45deg, transparent 49.6%, var(--border-subtle) 49.6%, var(--border-subtle) 50.4%, transparent 50.4%),
    var(--surface-subtle);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  aspect-ratio: 16 / 9;
}
.wf-media > span { position: relative; z-index: 1; padding: 4px 8px; border-radius: 6px; background: var(--surface-primary); }
.wf-section--subtle .wf-media { background-color: var(--surface-primary); }
.wf-media--sharp { border-radius: 0; }
.wf-media--r16 { border-radius: var(--radius-xl); }
.wf-media--hero { aspect-ratio: auto; height: 100%; }
.wf-ar-21x9 { aspect-ratio: 23 / 8; }  /* Decagon product/feature banner 2.87 */
.wf-ar-16x7 { aspect-ratio: 16 / 7; }  /* Luma showcase 2.29 */
.wf-ar-16x10 { aspect-ratio: 16 / 10; }
.wf-ar-4x3 { aspect-ratio: 4 / 3; }    /* Decagon zig-zag 1.34 */
.wf-ar-1x1 { aspect-ratio: 1; }
.wf-ar-3x4 { aspect-ratio: 3 / 4; }    /* Luma community portraits 0.75 */
.wf-ar-7x9 { aspect-ratio: 7 / 9; }    /* Adapt editorial bleed 0.78 */
.wf-ar-6x5 { aspect-ratio: 6 / 5; }    /* Decagon pillar cards 1.16 */

.wf-media--dark {
  background: linear-gradient(180deg, #161616, #0b0b0b);
  color: var(--grey-500);
}
.wf-media--dark > span { background: rgb(255 255 255 / 0.06); }

/* Wireframe UI mock (a "screen" placeholder with chrome) */
.wf-ui {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-lg);
}
.wf-ui__bar { height: 10px; border-radius: 99px; background: var(--border-default); }
.wf-ui__bar--60 { width: 60%; }
.wf-ui__bar--40 { width: 40%; }
.wf-ui__bar--accent { background: var(--accent); width: 32%; }
.wf-ui__row { display: flex; gap: 12px; }
.wf-ui__row > * { flex: 1; height: 40px; border-radius: 10px; background: var(--surface-subtle); }

/* ------------------------------------------------------------- Patterns */

/* Card = media + title (+ optional meta). No body copy, ever. */
.wf-card { position: relative; display: flex; flex-direction: column; gap: 16px; }
.wf-card__title { font-size: var(--fs-h4); font-weight: var(--weight-medium); letter-spacing: var(--tracking-subhead); line-height: 1.3; text-wrap: balance; }
.wf-card__title--lg { font-size: var(--fs-h3); letter-spacing: var(--tracking-heading); line-height: 1.2; }
.wf-card__meta { font-family: var(--font-text); font-size: var(--fs-body-s); color: var(--text-tertiary); }
.wf-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
/* Hover: frame stays put, image drifts in (placeholder fakes it with background-size);
   title underline draws in from the left */
.wf-media { background-size: 100% 100%; background-position: 50% 50%; }
.wf-card__title { width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 600ms var(--ease-out-expo); }
@media (hover: hover) {
  .wf-card .wf-media { transition: background-size 900ms var(--ease-out-expo); }
  .wf-card .wf-media > img, .wf-card .wf-media > video { transition: transform 900ms var(--ease-out-expo); }
  .wf-card:hover .wf-media { background-size: 106% 106%; }
  .wf-card:hover .wf-media > img, .wf-card:hover .wf-media > video { transform: scale(1.04); }
  .wf-card:hover .wf-card__title { background-size: 100% 1px; }}

/* Hero: full-bleed media (Luma) */
.wf-hero-bleed { position: relative; display: grid; align-items: center; min-height: clamp(680px, 100svh, 960px); overflow: hidden; isolation: isolate; }
.wf-hero-bleed > .wf-media { position: absolute; inset: 0; z-index: -1; border-radius: 0; aspect-ratio: auto; place-items: end start; padding: 24px; }
.wf-hero-bleed::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 0.1), rgb(0 0 0 / 0.55)); pointer-events: none; }

/* Hero: split with media bleeding to the right viewport edge (Adapt) */
.wf-hero-split { display: grid; overflow: hidden; grid-template-columns: minmax(0, 1fr); min-height: clamp(640px, calc(100svh - var(--nav-height)), 900px); }
.wf-hero-split__text { display: flex; flex-direction: column; justify-content: center; gap: var(--wf-sub-gap); padding: var(--wf-pad-sm) var(--gutter); }
.wf-hero-split__media { min-height: 420px; aspect-ratio: auto; height: 100%; }
@media (min-width: 1024px) {
  .wf-hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wf-hero-split__text { padding-left: max(var(--gutter), calc((100vw - var(--wf-content)) / 2 + var(--gutter))); padding-right: clamp(40px, 5vw, 88px); }
}

/* Half-bleed editorial split (Adapt 720×929) */
.wf-bleed { display: grid; grid-template-columns: minmax(0, 1fr); }
.wf-bleed__text { display: flex; flex-direction: column; justify-content: center; gap: var(--wf-sub-gap); padding: var(--wf-pad-lg) var(--gutter); max-width: calc(432px + var(--gutter) * 2); }
@media (min-width: 1024px) {
  .wf-bleed { grid-template-columns: 1fr 1fr; min-height: min(929px, 110vh); }
  .wf-bleed__text { padding-inline: clamp(48px, 10vw, 144px) var(--gutter); max-width: none; }
  .wf-bleed__text > * { max-width: 432px; }
}

/* Zig-zag rows (Decagon feature rows: text 473 / media 591, ~506 per row) */
.wf-zigzag { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 96px); }
.wf-zigzag__row { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.wf-zigzag__text { display: flex; flex-direction: column; gap: var(--wf-sub-gap); max-width: 473px; }
@media (min-width: 1024px) {
  .wf-zigzag__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: clamp(64px, 8vw, 128px); }
  .wf-zigzag__row:nth-child(even) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .wf-zigzag__row:nth-child(even) .wf-zigzag__text { order: 2; }
}

/* Scroll story (Decagon "Build / Optimize / Scale", rebuilt without the card).
   Full-bleed; the page itself fades to black as the section arrives and back
   out as it leaves (--story-bg). Steps scroll on the left; one sticky stage on
   the right crossfades between shots. A thin rail fills with progress. */
.wf-story { position: relative; isolation: isolate; padding-block: calc(var(--wf-pad-xl) + 12svh); color: var(--text-primary); }
.wf-story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #050505;
  opacity: var(--story-bg, 1);
  --fade: linear-gradient(to bottom, transparent, rgb(0 0 0 / 0.1) 6svh, rgb(0 0 0 / 0.42) 12svh, rgb(0 0 0 / 0.82) 18svh, #000 24svh, #000 calc(100% - 24svh), rgb(0 0 0 / 0.82) calc(100% - 18svh), rgb(0 0 0 / 0.42) calc(100% - 12svh), rgb(0 0 0 / 0.1) calc(100% - 6svh), transparent);
  -webkit-mask-image: var(--fade);
  mask-image: var(--fade);
}
[data-theme="dark"] .wf-story { padding-block: var(--wf-pad-xl); }
[data-theme="light"] .wf-story .wf-story__head,
[data-theme="light"] .wf-story .wf-story__steps { opacity: calc(0.15 + var(--story-bg, 1) * 0.85); }
.wf-story__head { max-width: var(--wf-h2); margin-bottom: var(--wf-media-gap); }
.wf-story__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.wf-story__steps { position: relative; }
.wf-story__step { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding-block: 40px; }
.wf-story__step > :not(.wf-media) { max-width: 420px; }
.wf-story__step .wf-media { margin-top: 20px; }
.wf-story__stage { display: none; }

@media (min-width: 1024px) {
  .wf-story__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(64px, 8vw, 128px); }
  .wf-story__steps { padding-left: 40px; }
  .wf-story__step { min-height: 72svh; padding-block: 0; opacity: 0.22; transition: opacity 700ms var(--ease-out-expo); }
  .wf-story__step[data-active] { opacity: 1; }
  .wf-story__step .wf-media { display: none; }

  /* Progress rail: faint track, accent fill */
  .wf-story__rail { position: absolute; top: 36svh; bottom: 36svh; left: 0; width: 2px; border-radius: 2px; background: rgb(255 255 255 / 0.08); }
  .wf-story__rail::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform-origin: top; transform: scaleY(var(--story-progress, 0)); }

  .wf-story__stage { display: block; }
  .wf-story__sticky { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; }
  .wf-story__frame { position: relative; aspect-ratio: 1; max-height: 72svh; }
  .wf-story__frame > .wf-media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    opacity: 0;
    transform: scale(1.05);
    filter: blur(8px);
    transition: opacity 900ms var(--ease-out-expo), transform 1200ms var(--ease-out-expo), filter 900ms var(--ease-out-expo);
  }
  .wf-story__frame > .wf-media[data-active] { opacity: 1; transform: none; filter: none; }
  .wf-story__count { position: absolute; left: 24px; bottom: 24px; z-index: 2; font: 500 13px/1 var(--font-mono); color: var(--grey-400); font-variant-numeric: tabular-nums; }
}

/* Numbered step row (Adapt 01–04) */
.wf-step { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; border-top: 1px solid var(--border-default); }
.wf-step__num { font-family: var(--font-mono); font-size: var(--fs-body-s); color: var(--accent-text); }

/* Statement numbers (Marshall results row) */
.wf-stat { display: flex; flex-direction: column; gap: 12px; }
.wf-stat__value { font-size: clamp(44px, 5vw, 72px); font-weight: var(--weight-medium); letter-spacing: -0.04em; line-height: 1; }
.wf-stat__label { font-family: var(--font-text); font-size: var(--fs-body-s); color: var(--text-secondary); }

/* Link index rows (Adapt "More from") */
.wf-index { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(32px, 4vw, 58px); }
@media (min-width: 768px) { .wf-index { grid-template-columns: 1fr 1fr; } }
.wf-index a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; border-top: 1px solid var(--border-default); font-size: var(--fs-h4); font-weight: var(--weight-medium); letter-spacing: var(--tracking-subhead); }
.wf-index a { transition: padding var(--dur-slow) var(--ease-out-expo), color var(--dur-fast); }
.wf-index a::after { content: "↗"; color: var(--text-tertiary); transition: transform var(--dur-slow) var(--ease-out-expo), color var(--dur-fast); }
@media (hover: hover) {
  .wf-index:hover a { color: var(--text-tertiary); }
  .wf-index a:hover { color: var(--text-primary); padding-left: 12px; }
  .wf-index a:hover::after { transform: translate(3px, -3px); color: var(--accent-text); }
}

/* Hairline accordion (Adapt/Luma FAQ) — wraps .tu-accordion */
.wf-faq-lines .tu-accordion__item { border-radius: 0; background: none; border-bottom: 1px solid var(--border-default); }

/* Logo tile (Luma integrations 186×140) */
.wf-logo-tile { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius-xl); background: var(--surface-subtle); font-weight: var(--weight-medium); color: var(--text-secondary); }

/* Logo row placeholder */
.wf-logo { display: inline-grid; place-items: center; height: 28px; padding-inline: 4px; font-weight: var(--weight-semibold); letter-spacing: -0.02em; color: var(--text-tertiary); white-space: nowrap; }

/* Horizontal scroller (Decagon customer stories) */
.wf-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 640px); gap: var(--wf-col-gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.wf-scroller > * { scroll-snap-align: start; }

/* Featured post card (Decagon blog) */
.wf-featured { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; align-items: stretch; }
@media (min-width: 900px) { .wf-featured { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* Filter bar (Luma/Decagon blog) */
.wf-filterbar { position: sticky; top: var(--nav-height); z-index: 5; padding-block: 16px; background: color-mix(in srgb, var(--surface-primary) 88%, transparent); backdrop-filter: blur(16px); }
.wf-filterbar .tu-chip { height: 36px; padding-inline: 16px; border-radius: var(--radius-full); }

/* Article rail (Decagon) */
.wf-article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 1024px) { .wf-article { grid-template-columns: 288px minmax(0, var(--wf-prose)); column-gap: 96px; } }
.wf-toc { display: flex; flex-direction: column; gap: 12px; font-family: var(--font-text); font-size: var(--fs-body-s); color: var(--text-secondary); }
.wf-toc a[aria-current="true"] { color: var(--text-primary); }
.wf-summary { padding: 24px 28px; border-radius: var(--radius-xl); background: var(--surface-subtle); }
.wf-callout { padding: 20px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.wf-callout > * + * { margin-top: 0.5em; }
.wf-callout .t-label-strong { color: var(--text-primary); }
.wf-prose-table .tu-table td,
.wf-prose-table .tu-table th { white-space: normal; vertical-align: top; }
.wf-prose-table .tu-table tbody th { padding: var(--space-3-5, 14px) var(--space-4); border-top: var(--border-width) solid var(--border-subtle); background: none; color: var(--text-primary); font-size: inherit; font-weight: var(--weight-medium); letter-spacing: normal; text-transform: none; }
.wf-prompt { border: 1px solid var(--border-default); border-radius: var(--radius-lg); overflow: hidden; }
.wf-prompt__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 12px 20px; background: var(--surface-subtle); border-bottom: 1px solid var(--border-default); }
.wf-prompt__head .t-label-strong { color: var(--text-primary); }
.wf-prompt pre { margin: 0; padding: 20px; max-height: 420px; overflow: auto; font-family: var(--font-mono); font-size: 13px; line-height: 1.6; color: var(--text-secondary); white-space: pre-wrap; }
.wf-sources { margin-top: 3em; padding-top: 24px; border-top: 1px solid var(--border-default); }
.wf-sources ol { margin-top: 0.75em; }

/* Proof panel (Decagon contact) */
.wf-proof { display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--radius-2xl); background: var(--surface-subtle); }

/* Closing CTA panel (Decagon dark gradient, 484 tall) */
.wf-cta-panel {
  display: grid;
  place-items: center;
  min-height: clamp(360px, 34vw, 484px);
  padding: var(--wf-pad-md) var(--gutter);
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, #111 0%, #050505 100%);
  color: var(--white);
  text-align: center;
}
[data-theme="dark"] .wf-cta-panel { background: var(--grey-900); }

/* -------------------------------------------------- Spec overlay (toggle) */

.wf-spec-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 16px;
  border-radius: var(--radius-full);
  background: var(--surface-inverted-primary);
  color: var(--text-inverted-primary);
  font-size: 13px;
  font-weight: var(--weight-medium);
  box-shadow: var(--shadow-lg);
}

html.wf-spec [data-spec] { outline: 1px dashed rgb(255 0 160 / 0.7); outline-offset: -1px; }
html.wf-spec [data-spec]::before {
  content: attr(data-spec);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  max-width: min(92vw, 720px);
  padding: 6px 10px;
  background: rgb(255 0 160);
  color: #fff;
  font: 500 11px/1.45 var(--font-mono);
  letter-spacing: 0;
  white-space: pre-wrap;
  pointer-events: none;
}
html.wf-spec [data-spec] { position: relative; }
