:root {
  --ot-container: 72rem;
  --ot-gutter: clamp(1rem, 4vw, 2rem);
  --ot-section-space: clamp(1.6rem, 3vw, 2.75rem);
  --ot-heading-size: clamp(1.9rem, 3.3vw, 2.75rem);
  --ot-subheading-size: clamp(1.25rem, 2vw, 1.75rem);
}
.ot { font-size: 1rem; line-height: 1.55; }
.ot .section { max-width: var(--ot-container); padding: var(--ot-section-space) var(--ot-gutter); }
.ot h2 { font-size: var(--ot-subheading-size); letter-spacing: -.025em; margin: 0 0 .65rem; }
.ot h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -.015em; }
.ot .lead { font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.55; }
.ot .actions { gap: .25rem .85rem; margin-top: 1rem; }
.ot .button, .ot-nav .button { font-size: .875rem; min-height: 44px; padding: .55rem .9rem; gap: .45rem; }
.ot-sales .actions a, .ot-nav .button { white-space: nowrap; }
.ot-nav-inner { position: relative; max-width: var(--ot-container); padding: .25rem var(--ot-gutter); gap: 1rem; }
.ot-nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 2.3vw, 1.65rem); }
.ot-nav-links > a, .ot-feature-menu summary { display: flex; align-items: center; min-height: 44px; font-size: .875rem; white-space: nowrap; }
.ot-feature-menu summary { cursor: pointer; gap: .55rem; list-style: none; }
.ot-feature-menu summary::-webkit-details-marker { display: none; }
.ot-feature-menu summary::after { content: ''; width: .45em; height: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ot-feature-menu[open] summary::after { transform: rotate(225deg); }
.ot-menu-panel { position: absolute; inset: 100% var(--ot-gutter) auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: .6rem; background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 20px #1b3c361a; border-radius: 0 0 .6rem .6rem; max-height: 65vh; overflow: auto; }
.ot-menu-panel a { padding: .45rem .65rem; display: grid; align-content: center; gap: .15rem; border-radius: .35rem; font-size: .875rem; }
.ot-menu-panel a:hover, .ot-menu-panel a:focus-visible, .ot-menu-panel [aria-current] { background: var(--sage); }
.ot-kicker { margin: 0 0 .5rem; font-size: .875rem; font-weight: 700; color: var(--teal); }
.ot-menu-panel a > span { font-size: .8125rem; }
.ot-menu-panel .ot-menu-all { grid-column: 1/-1; display: flex; align-items: center; border-top: 1px solid var(--line); }
.ot-directory-group { display: grid; grid-template-columns: minmax(9rem,.27fr) minmax(0,1fr); gap: 1.25rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.ot-directory-group h2 { font-size: 1.125rem; margin-block: .6rem 0; }
.ot-directory-links { list-style: none; padding: 0; margin: 0; }
.ot-directory-links li + li { border-top: 1px solid var(--line); }
.ot-directory-links a { display: grid; grid-template-columns: minmax(9rem,.55fr) minmax(0,1fr) auto; gap: .8rem; align-items: center; min-height: 44px; padding: .55rem 0; }
.ot-directory-links a:hover strong, .ot-directory-links a:focus-visible strong { text-decoration: underline; text-underline-offset: .2em; }
.ot-directory-summary { color: var(--muted); font-size: .9rem; }
.ot-directory-arrow { color: var(--teal); }
.ot-feature .ot-hero { padding-block: clamp(1.15rem, 2.8vw, 2.5rem); }
.ot-feature .ot-hero .breadcrumb { margin-bottom: .9rem; }
.ot-feature .ot-hero h1, .ot-sales h1, .ot-enquiry-hero h1 {
  max-width: 23ch;
  margin: 0 0 .65rem;
  font-size: var(--ot-heading-size);
  line-height: 1.13;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.ot-feature .ot-hero .lead { margin-bottom: .8rem; }
.ot-feature .ot-capture img { border-radius: .6rem; box-shadow: none; }
.ot-feature .ot-hero .lead { max-width: 55ch; }
.ot .ot-feature-work { max-width: 64rem; }
.ot-feature-work > p { max-width: 65ch; }
.ot-feature-work > .ot-demo + h2 { margin-top: 1.4em; }
.ot-demo { background: var(--white); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(.85rem, 2vw, 1.35rem); }
.ot-demo-controls, .ot-demo-columns { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit,minmax(min(100%,11rem),1fr)); align-items: end; }
.ot-demo-columns { align-items: start; }
.ot-demo select, .ot-demo input { display: block; width: 100%; margin-top: .4rem; min-height: 44px; font: inherit; }
.ot-demo [hidden] { display: none; }
.ot-demo dd { margin: 0 0 .8rem; font-weight: bold; }
.ot-demo-table { width: 100%; border-collapse: collapse; text-align: left; }
.ot-demo-table caption { text-align: left; font-weight: 700; padding: 1rem 0 .5rem; }
.ot-demo-table th, .ot-demo-table td { padding: .45rem .5rem; border-bottom: 1px solid var(--line); }
.ot-demo-table thead { background: var(--sage); }
.ot-milestones { padding: 0 2.5rem; }
.ot-milestones p { margin: .2rem 0 1rem; }
.ot-feature-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); gap: clamp(1.15rem, 3.2vw, 2.75rem); align-items: center; }
@media (max-width: 860px) {
  .ot-nav-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .5rem; padding-block: .15rem 0; }
  .ot-nav-links { order: 1; flex: 0 0 100%; justify-content: space-between; }
  .ot-nav .button { flex-shrink: 0; }
  .ot-menu-panel, .ot-feature-intro { grid-template-columns: 1fr; }
  .ot-menu-panel { inset-inline: 0; }
  .ot-demo-table { font-size: .95rem; }
}
.ot-demo input[type="checkbox"] { display: inline-block; width: 1.15em; height: 1.15em; min-height: 0; vertical-align: middle; }
.ot-demo meter { width: min(10rem, 55%); accent-color: var(--teal); }
@media (max-width: 520px) {
  .ot-nav-links { justify-content: space-between; gap: .5rem; }
  .ot-nav-links > a, .ot-feature-menu summary { font-size: .9rem; }
}

.ot-feature-points { display: grid; gap: 1rem 1.5rem; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); }
.ot-feature-points article { border-top: 1px solid var(--line); padding-top: .75rem; }
.ot-feature-points article h3 { margin: 0 0 .35rem; }
.ot-feature-points article p { margin: 0; }
.ot-feature-intro.ot-feature-text { grid-template-columns: minmax(0, 60rem); }
.ot-feature-work .ot-demo + .ot-demo { margin-top: 2rem; }
.ot-demo h3 { margin-top: 0; }
.ot-demo fieldset { border: 0; padding: 0; margin: 1rem 0; }
.ot-demo legend { font-weight: 700; }
.ot-demo input[type="radio"] { width: auto; min-height: auto; display: inline; }
.ot-demo fieldset label { display: flex; align-items: center; min-height: 44px; gap: .6rem; }
.ot-demo output { display: block; background: var(--sage); padding: 1rem; margin-top: 1rem; border-radius: .6rem; white-space: pre-line; }
.ot-feature-work .ot-demo p { max-width: 65ch; }
.ot-menu-group .ot-kicker { margin: .6rem .8rem; font-size: .9rem; }
.ot-menu-group a { min-height: 44px; }
.ot-menu-group:only-of-type { grid-column: 1/-1; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); }
[data-ot-ranking] { padding: .75rem 1rem; border-inline-start: 4px solid var(--teal); background: var(--sage); }
[data-ot-ranking].ot-wait-review { border-color: #9b5e13; background: #faf1df; }
[data-journey-stage] { margin: 1.5rem 0 0; }
[data-journey-stage] img { max-height: 25rem; object-fit: contain; }

/* Product sales pages */
.ot-nav { background: #fcfbf7; top: 0; }
.ot-brand-lockup { display: flex; align-items: center; gap: 1rem; }
.ot-brand-lockup .ot-brand { font-size: 1.375rem; color: #163f38; }
.ot-parent { border-inline-start: 1px solid #c4cec6; padding-inline-start: 1rem; color: var(--muted); font-size: .8rem; }
.ot-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.ot-sales-hero, .ot-hero-wrap, .ot-allocate-hero { background: #f0f4ee; border-bottom: 1px solid var(--line); }
.ot-sales-intro, .ot-quote-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: center; gap: clamp(1.15rem, 3.5vw, 3rem); }
.ot-sales-hero .lead, .ot-price-page .lead { max-width: 44ch; }
.ot-feature-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; border-top: 1px solid var(--line); }
.ot-feature-cta h2, .ot-feature-cta p { margin: 0; }
.ot .ot-related { padding-bottom: 1rem; }
.ot-next-links { list-style: none; padding: 0; display: flex; gap: .7rem 2rem; flex-wrap: wrap; }
.ot-next-links a { display: inline-flex; gap: .5em; align-items: center; min-height: 44px; font-weight: 650; }
.ot-quote-layout { align-items: start; }
.ot-price-page { background: #f0f4ee; }
.ot-price-page h2, .ot-allocation-example h2 { font-size: 1.25rem; }
.ot-quote-factors dt { font-weight: 700; }
.ot-quote-factors dd { margin: 0 0 1rem; max-width: 50ch; }
.ot-quote-form { background: white; border: 1px solid var(--line); padding: clamp(1rem, 2.15vw, 1.5rem); border-radius: .65rem; }
.ot-quote-form h2 { margin-top: 0; }
.ot-quote-form textarea { min-height: 5rem; }
.ot-allocate-hero .ot-feature-intro { align-items: start; }
.ot-allocation-example h2 { margin: .3em 0; }
.ot-allocation-example label { font-weight: 650; }
.ot-rules { margin-top: 1rem; }
.ot-rules summary { cursor: pointer; padding-block: .7rem; font-weight: 700; }
@media (max-width: 860px) {
  .ot-brand-lockup { gap: .65rem; }
  .ot-parent { max-width: 6rem; padding-inline-start: .65rem; line-height: 1.2; }
  .ot-nav-links { width: 100%; justify-content: space-between; }
  .ot-sales-intro, .ot-quote-layout { grid-template-columns: minmax(0,1fr); }
  .ot-quote-layout { gap: 1.4rem; }
}
.ot-funder-example { margin: 0; padding: clamp(.85rem,2vw,1.35rem); border-radius: .65rem; background: white; border: 1px solid var(--line); }
.ot-funder-example figcaption { color: var(--teal); font-weight: 700; }
.ot-funder-example p { padding-top: 1rem; border-top: 1px solid var(--line); }
.ot-funder-example p span { display: block; }


.ot .ot-faq .details { padding-block: .35rem; }
.ot .ot-faq .details summary { font-size: 1rem; }
.ot-enquiry-hero, .ot-enquiry-hero + .contact-layout {
  max-width: var(--ot-container);
  padding-inline: var(--ot-gutter);
}
.ot-enquiry-hero .lead { font-size: 1.125rem; }
.ot-quote-form .form-field { gap: .25rem; margin-bottom: .75rem; }
.ot-quote-form .form-field :is(input, textarea) { padding: .55rem .65rem; }
.ot-quote-form input[type="hidden"] { display: none; }
.ot-footer { padding-block: 1.6rem; }
.ot-footer .footer-top { display: none; }
.ot-footer .footer-sitemap { padding-block: .55rem 1rem; margin: 0; border-top: 0; }
.ot-footer .footer-bottom { margin-top: .5rem; }
@media (max-width: 700px) {
  .ot-directory-group { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .ot-directory-links a { grid-template-columns: minmax(0, 1fr) auto; column-gap: .5rem; row-gap: .2rem; }
  .ot-directory-summary { grid-row: 2; grid-column: 1; }
  .ot-directory-arrow { grid-row: 1; grid-column: 2; }
}
@media (max-width: 380px) {
  .ot-nav-links > a, .ot-feature-menu summary { font-size: .8125rem; }
  .ot-feature-menu summary { gap: .35rem; }
}

@font-face { font-family: "Newsreader"; src: url("assets/fonts/newsreader-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

/* OutTrac identity: ink on white, one berry accent taken from the product.
   Green is left to the screenshots. */
:is(.ot, .ot-nav, .ot-footer, .ot-enquiry-hero, .ot-enquiry-hero + .contact-layout) {
  --ink: #161c2d; --muted: #565d6d; --accent: #a3195b; --accent-dark: #83114a; --wash: #f5f5f7; --rule: #e4e4ea;
  --line: #e4e4ea; --teal: #a3195b; --sage: #f5f5f7; --white: #fff;
  --lift: 0 30px 60px -32px #161c2d40, 0 1px 3px #161c2d14;
  font-family: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif; }
:is(.ot, .ot-enquiry-hero, .ot-enquiry-hero + .contact-layout) { color: var(--ink); }
.ot { background: #fff; font-size: 1.0625rem; line-height: 1.6; }
:is(.ot, .ot-enquiry-hero, .ot-enquiry-hero + .contact-layout) :is(h1,h2,h3) { color: var(--ink); text-wrap: balance; }
:is(.ot, .ot-enquiry-hero, .ot-enquiry-hero + .contact-layout) :is(h1,h2) { font-weight: 550; letter-spacing: -.03em; line-height: 1.1; }
.ot h2 { font-size: clamp(1.7rem,3vw,2.5rem); margin: 0 0 1rem; }
.ot h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; }
.ot p { text-wrap: pretty; }
:is(.ot, .ot-nav, .ot-enquiry-hero + .contact-layout) .button { background: var(--accent); color: #fff; border-radius: 2rem; font-size: .9375rem; font-weight: 600; min-height: 46px; padding: .65rem 1.3rem; gap: .6rem; transition: background .15s; }
:is(.ot, .ot-nav, .ot-enquiry-hero + .contact-layout) .button:hover { background: var(--accent-dark); color: #fff; }
:is(.ot, .ot-enquiry-hero + .contact-layout) .text-link { color: var(--accent); font-size: .9375rem; }
.ot a:hover, .ot-nav a:hover { color: var(--accent); }
.ot .section { padding-block: clamp(2.75rem,5vw,4.5rem); }
.ot-kicker { color: var(--accent); font-weight: 600; }

/* Home */
.ot-home { overflow: hidden; }
.oth-wrap { max-width: 72rem; margin-inline: auto; padding: clamp(3.5rem,7vw,6.5rem) var(--ot-gutter); }
.oth-hero { background: linear-gradient(var(--wash) 72%, #fff 72%); }
.oth-hero .oth-wrap { padding-block: clamp(2.5rem,5vw,4.5rem) 0; }
.oth-label { color: var(--accent); font-weight: 600; font-size: .9375rem; }
.oth-intro { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: clamp(1.5rem,4vw,4rem); align-items: end; margin-bottom: clamp(2.5rem,5vw,4rem); }
.ot-home h1 { margin: 0; font-size: clamp(2.4rem,5vw,4rem); line-height: 1.04; letter-spacing: -.04em; }
.oth-intro p { color: var(--muted); font-size: 1.125rem; }
.oth-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.oth-stage { margin: 0; }
.oth-stage img { display: block; width: 100%; height: auto; border-radius: .9rem; box-shadow: var(--lift); }
.oth-stage figcaption { margin-top: .9rem; color: var(--muted); font-size: .8125rem; text-align: right; }
.oth-head { max-width: 40rem; margin-bottom: 2.25rem; }
.oth-head p { color: var(--muted); }

.oth-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); counter-reset: step; margin-bottom: 2.5rem; }
.oth-tabs button { counter-increment: step; position: relative; background: none; border: 0; border-top: 2px solid var(--rule); padding: 1.1rem .25rem .25rem 0; text-align: left; font: inherit; font-size: .9375rem; font-weight: 600; color: var(--muted); min-height: 52px; }
.oth-tabs button::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #b9bbc6; box-sizing: border-box; }
.oth-tabs button[aria-selected="true"] { color: var(--ink); border-top-color: var(--accent); }
.oth-tabs button[aria-selected="true"]::before { background: var(--accent); border-color: var(--accent); }
.oth-step { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.oth-step[hidden] { display: none; }
.oth-step + .oth-step:not([hidden]) { margin-top: 2.5rem; }
.oth-tabs + .oth-step ~ .oth-step { margin-top: 0; }
.oth-step-text p { color: var(--muted); }
.oth-step-shot { display: grid; place-items: center; height: clamp(18rem,36vw,27rem); background: var(--wash); border-radius: 1.25rem; padding: clamp(1rem,2.5vw,2rem); }
.oth-step-shot img { display: block; max-width: 100%; max-height: 100%; min-height: 0; width: auto; height: auto; object-fit: contain; border-radius: .6rem; box-shadow: var(--lift); }

.oth-included { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: clamp(1.5rem,5vw,5rem); border-top: 1px solid var(--rule); }
.oth-included .oth-head { margin: 0; }
.oth-included dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2rem; margin: 0; align-content: start; }
.oth-included dl div { border-top: 2px solid var(--ink); padding: 1rem 0 2rem; }
.oth-included dt { font-size: 1.1875rem; font-weight: 600; }
.oth-included dd { margin: .25rem 0 0; color: var(--muted); }

.oth-services { padding-top: 1rem; }
.oth-services ul { list-style: none; padding: 0; margin: 0 0 1.5rem; border-bottom: 1px solid var(--rule); }
.oth-services li a { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2.2fr) auto; gap: 1.5rem; align-items: center; border-top: 1px solid var(--rule); padding: 1.6rem 0; }
.oth-services li span { color: var(--muted); font-size: .9375rem; }
.oth-services li strong { font-size: clamp(1.15rem,2vw,1.5rem); font-weight: 500; line-height: 1.35; letter-spacing: -.015em; }
.oth-services li i { font-style: normal; color: var(--accent); }

.oth-quotes { background: var(--wash); }
.oth-quotes figure { margin: 0; }
.oth-quotes blockquote { margin: 0; }
.oth-quotes figcaption { color: var(--muted); font-size: .875rem; }
.oth-quote-lead { max-width: 52rem; }
.oth-quote-lead blockquote p { font-family: "Newsreader", Georgia, serif; font-size: clamp(1.75rem,3.6vw,2.75rem); line-height: 1.22; margin-bottom: 1rem; text-indent: -.4em; }
.oth-quotes .oth-wrap > div { columns: 3; column-gap: 2rem; margin-top: 3rem; }
.oth-quotes .oth-wrap > div figure { break-inside: avoid; border-top: 1px solid #cfd0d8; padding: 1rem 0 1.5rem; }
.oth-quotes .oth-wrap > div p { font-size: 1.0625rem; margin-bottom: .35rem; }

.oth-faq { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: clamp(1.5rem,5vw,5rem); align-items: start; }
.ot-home .oth-faq .details summary { font-size: 1.0625rem; font-weight: 600; }
.oth-close { background: var(--ink); color: #c9ccd8; }
.ot .oth-close h2 { color: #fff; }
.oth-close .oth-actions .text-link { color: #fff; }

/* Feature and directory pages */
.ot .ot-hero-wrap { background: var(--wash); border: 0; }
.ot.ot-feature .ot-hero { padding-block: 1.5rem clamp(2.5rem,5vw,4rem); }
.ot .breadcrumb { font-size: .8125rem; color: var(--muted); margin-bottom: 2.5rem; }
.ot.ot-feature .ot-hero h1, .ot.ot-price-page h1, .ot-enquiry-hero.page-hero h1 { max-width: 18ch; margin: 0 0 1rem; font-size: clamp(2.25rem,4.4vw,3.5rem); letter-spacing: -.04em; line-height: 1.06; }
.ot-feature .ot-hero .lead { color: var(--muted); max-width: 52ch; }
.ot-feature-intro, .ot-allocate-hero .ot-feature-intro { grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); align-items: center; gap: clamp(1.5rem,4vw,3.5rem); }
.ot-feature-intro.ot-feature-text { grid-template-columns: minmax(0,1fr); }
.ot-allocate-hero .ot-feature-intro { align-items: start; }
.ot-capture { margin: 0; }
.ot-capture img { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; border-radius: .75rem; box-shadow: var(--lift); }
.ot-capture figcaption { margin-top: .9rem; text-align: center; font-size: .8125rem; color: var(--muted); }
.ot .ot-feature-work { max-width: 56rem; }
.ot-feature-work > p, .ot-note { color: var(--muted); }
.ot-note { font-size: .875rem; margin-top: 1rem; }
.ot-demo, .ot-funder-example, .ot-quote-form { background: #fff; border: 1px solid var(--rule); border-radius: 1rem; box-shadow: var(--lift); padding: clamp(1.25rem,3vw,2rem); }
.ot .ot-demo h2 { font-size: 1.375rem; }
.ot-demo :is(select, input:not([type="checkbox"]):not([type="radio"])) { border: 1px solid #c4c6d0; border-radius: .6rem; padding: .5rem .75rem; background-color: #fff; color: var(--ink); }
.ot-demo input:is([type="checkbox"],[type="radio"]) { accent-color: var(--accent); }
.ot-demo label { font-weight: 550; }
.ot-demo output, [data-ot-ranking] { background: var(--wash); border: 0; border-inline-start: 3px solid var(--accent); border-radius: 0 .5rem .5rem 0; padding: .85rem 1rem; }
.ot .ot-demo .button.small { margin: .25rem .35rem .25rem 0; }
.ot-demo .text-button { color: var(--accent); }
.ot-demo-table thead { background: var(--wash); }
.ot-demo-table { font-size: .9375rem; margin-top: .75rem; }
.ot summary { cursor: pointer; }
.ot-walkthrough-step { border-bottom: 1px solid var(--rule); padding-block: .85rem; }
.ot-walkthrough-step summary { font-weight: 600; }
.ot .ot-walkthrough { background: #fff; }
.ot-feature-evidence { border-top: 1px solid var(--rule); }
.ot-feature-points { counter-reset: point; gap: 2rem; }
.ot-feature-points article { border: 0; border-top: 2px solid var(--ink); padding-top: 1rem; }
.ot-feature-points article p { color: var(--muted); }
.ot .ot-related { padding-top: 0; }
.ot .ot-related h2 { font-size: 1.25rem; }
.ot-next-links { gap: .75rem; }
.ot-next-links a { border: 1px solid var(--rule); border-radius: 2rem; padding-inline: 1.1rem; font-size: .9375rem; }
.ot-next-links a:hover { border-color: var(--accent); }
.ot .section.ot-feature-cta { max-width: none; background: var(--ink); color: #c9ccd8; border: 0; justify-content: space-between; padding-inline: max(var(--ot-gutter), calc((100% - 72rem) / 2 + var(--ot-gutter))); }
.ot .ot-feature-cta h2 { color: #fff; margin-bottom: .35rem; }
.ot-directory-group { border-top: 1px solid var(--rule); padding-block: 2rem; }
.ot .ot-directory-group h2 { font-size: 1.25rem; }
.ot-directory-links a { padding-block: .9rem; }
.ot-directory-links li:first-child a { padding-top: .35rem; }

/* Pricing, enquiry and confirmation */
.ot.ot-price-page { background: var(--wash); }
.ot-price-included { margin-block: 2rem; border-block: 2px solid var(--ink); padding-block: 1.25rem; }
.ot .ot-price-included h2 { font-size: 1.5rem; margin-bottom: .25rem; }
.ot-price-included p { color: var(--muted); margin-bottom: .5rem; }
.ot-price-included ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem 1rem; list-style: none; padding: 0; margin: 0; font-weight: 600; }
.ot-price-included li::before { content: "\2713"; margin-right: .5rem; color: var(--accent); }
.ot .ot-quote-factors + * , .ot .ot-price-page h2 { margin-top: 0; }
.ot-quote-form :is(input, textarea), .ot-enquiry-hero + .contact-layout :is(input, textarea) { border-radius: .6rem; }
.ot-enquiry-hero + .contact-layout .contact-aside { background: var(--wash); border-radius: 1rem; }
.ot-enquiry-hero + .contact-layout .contact-aside h2 { font-size: 1.375rem; }

/* Navigation and footer */
.ot-nav { background: #fffffff2; }
.ot-brand-lockup .ot-brand { color: var(--ink); font-weight: 700; letter-spacing: -.03em; }
.ot-menu-panel { background: #fff; border: 1px solid var(--rule); border-radius: 0 0 1rem 1rem; box-shadow: var(--lift); padding: 1rem; }
.ot-footer { border-color: var(--rule); background: #fff; padding-block: 2.5rem 1.5rem; }
.ot-footer .footer-sitemap h2 { letter-spacing: 0; text-transform: none; font-size: .875rem; font-weight: 600; color: var(--ink); }
.ot-footer .footer-sitemap li a { min-height: 32px; font-size: .875rem; color: var(--muted); }

@media (max-width: 860px) {
  .oth-intro, .oth-step, .oth-included, .oth-faq, .ot-feature-intro, .ot-allocate-hero .ot-feature-intro { grid-template-columns: minmax(0,1fr); }
  .oth-step { gap: 1.25rem; }
  .oth-step-shot { height: auto; }
  .oth-faq { gap: 0; }
  .oth-quotes .oth-wrap > div { columns: 2; }
  .oth-services li a { grid-template-columns: minmax(0,1fr) auto; gap: .35rem 1rem; }
  .oth-services li span { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  .oth-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
  .oth-tabs button { border: 1px solid var(--rule); border-radius: 2rem; padding: .5rem .9rem; min-height: 44px; }
  .oth-tabs button::before { display: none; }
  .oth-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .oth-included dl, .oth-quotes .oth-wrap > div { grid-template-columns: minmax(0,1fr); columns: 1; }
  .oth-stage figcaption { text-align: left; }
}

body:has(.ot-nav) { background: #fff; }
.ot.ot-price-page h2 { font-size: 1.375rem; }
.ot.ot-price-page .ot-quote-form h2 { font-size: 1.75rem; }
.ot-thanks { max-width: 52rem; margin-inline: auto; padding-bottom: 3rem; }
.ot-thanks h1 { font-size: clamp(2.25rem,4.4vw,3.25rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.1; }
.ot-thanks .context-box { background: var(--wash); border: 0; border-radius: 1rem; }
@media (max-width: 520px) {
  .ot-nav .button { font-size: .8125rem; min-height: 44px; padding: .4rem .8rem; }
  .ot-parent { display: none; }
}

.ot .ot-price-included .ot-price { color: var(--ink); font-size: 1.125rem; margin-bottom: .75rem; }
.ot-price strong { font-size: clamp(2.75rem,5vw,3.5rem); letter-spacing: -.04em; line-height: 1; margin-right: .25rem; }
.oth-inline { text-decoration: underline; text-underline-offset: .2em; }

.oth-auto { background: var(--ink); color: #c9ccd8; }
.ot .oth-auto :is(h2,h3) { color: #fff; }
.ot .oth-auto .oth-head p { color: #c9ccd8; }
.oth-auto-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.oth-auto article { display: flex; flex-direction: column; align-items: flex-start; border-top: 2px solid #e0599c; padding-top: 1.25rem; }
.oth-auto ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: auto 0 1.25rem; }
.oth-auto li { border: 1px solid #ffffff38; border-radius: 2rem; padding: .25rem .8rem; color: #fff; font-size: .875rem; font-weight: 550; }
.ot .oth-auto .text-link { color: #ff9cc8; }
@media (max-width: 860px) { .oth-auto-list { grid-template-columns: minmax(0,1fr); } }

.ot .oth-included { display: block; }
.oth-price-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.25rem 2rem; margin-bottom: 3rem; }
.oth-price-head p { color: var(--muted); margin: 0; }
.oth-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem 2rem; }
.oth-features > div { border-top: 2px solid var(--ink); padding-top: 1rem; }
.ot .oth-features h3 { margin: 0 0 .75rem; font-size: 1.0625rem; }
.oth-features ul { list-style: none; padding: 0; margin: 0; }
.oth-features li a { display: flex; gap: .6rem; align-items: baseline; padding: .35rem 0; font-size: .9375rem; }
.oth-features li a::before { content: "\2713"; color: var(--accent); font-weight: 700; }
.ot .ot-all-features { border-top: 1px solid #d6d7de; }
@media (max-width: 860px) { .oth-features { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .oth-features { grid-template-columns: minmax(0,1fr); } }

/* Feature detail rows */
.ot-feature .ot-detail { padding-top: 24px; padding-bottom: 56px; }
.ot-feature .ot-detail article { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 56px; padding: 40px 0; border-top: 1px solid #e6e6ec; }
.ot-feature .ot-detail h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; margin: 0 0 10px; }
.ot-feature .ot-detail article p { margin: 0; color: #565c70; }
.ot-feature .ot-detail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.ot-feature .ot-detail li { position: relative; padding-left: 26px; }
.ot-feature .ot-detail li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 5px; border-left: 2px solid #a3195b; border-bottom: 2px solid #a3195b; transform: rotate(-45deg); }
.ot-feature .ot-needs { margin: 8px 0 0; padding: 18px 22px; background: #f5f5f7; border-radius: 12px; color: #444a5e; }
.ot-feature .ot-needs strong { margin-right: 8px; color: #161c2d; }
@media (max-width: 760px) {
  .ot-feature .ot-detail article { grid-template-columns: 1fr; padding: 30px 0; }
}

/* Referral PDF import example */
.pdfx { background: #fff; border: 1px solid #e2e2ea; border-radius: 16px; box-shadow: 0 18px 50px -30px #161c2d55; overflow: hidden; margin-bottom: 56px; }
.pdfx [hidden] { display: none !important; }
.pdfx-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 1px solid #e6e6ec; }
.pdfx-bar strong, .pdfx-bar span { display: block; }
.pdfx-bar span { font-size: .85rem; color: #6b7185; }
.pdfx-link { background: none; border: 0; color: #a3195b; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
.pdfx-start { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; padding: 28px; background: #f5f5f7; }
.pdfx-file, .pdfx-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; border-radius: 14px; padding: 28px 18px; min-height: 240px; font: inherit; color: #161c2d; overflow-wrap: anywhere; }
.pdfx-file { background: #fff; border: 1px solid #dcdce4; box-shadow: 0 10px 24px -16px #161c2d66; cursor: grab; transition: transform .15s; }
.pdfx-file:hover { transform: translateY(-3px) rotate(-1deg); }
.pdfx-file:active { cursor: grabbing; }
.pdfx-file span, .pdfx-drop span { font-size: .9rem; color: #6b7185; }
.pdfx-file .pdfx-icon { background: #a3195b; color: #fff; font-weight: 700; font-size: .8rem; border-radius: 6px; padding: 22px 12px 8px; }
.pdfx-drop { border: 2px dashed #b9bac8; }
.pdfx-drop.is-over { border-color: #a3195b; background: #fbf0f5; }
.pdfx-review { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; padding: 22px; align-items: start; }
.pdfx fieldset { border: 1px solid #e2e2ea; border-radius: 12px; margin: 0 0 16px; padding: 6px 16px 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pdfx legend { font-weight: 700; font-size: .85rem; padding: 0 6px; }
.pdfx label { font-size: .8rem; font-weight: 600; color: #444a5e; }
.pdfx .pdfx-wide { grid-column: 1 / -1; }
.pdfx input { display: block; width: 100%; min-height: 40px; margin-top: 4px; padding: 6px 10px; font: inherit; font-size: .9rem; font-weight: 400; color: #161c2d; border: 1px solid #d6d7e0; border-radius: 8px; background: #fff; transition: background-color .5s, border-color .5s; }
.pdfx input.is-filled { background: #fbf0f5; border-color: #d99ab9; }
.pdfx-viewer { margin: 0; background: #55586a; border-radius: 10px; overflow: hidden; position: sticky; top: 90px; }
.pdfx-tools { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; background: #33364a; color: #fff; font-size: .78rem; }
.pdfx-page { background: #fff; margin: 16px; padding: 22px 20px 30px; font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
.pdfx-page p { margin: 0; }
.pdfx-page .pdfx-title { font-size: 1rem; font-weight: 700; }
.pdfx-page .pdfx-sample { color: #6b7185; }
.pdfx-page .pdfx-heading { margin-top: 16px; padding-bottom: 4px; border-bottom: 2px solid #161c2d; font-weight: 700; }
.pdfx-page dl { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 4px 10px; margin: 8px 0 0; }
.pdfx-page dt { color: #6b7185; }
.pdfx-page dd { margin: 0; border-radius: 3px; }
.pdfx-page dd.is-marked { background: #ffe58a; box-shadow: 0 0 0 3px #ffe58a; }
.pdfx-viewer figcaption { color: #e6e7ee; font-size: .75rem; padding: 0 16px 12px; }
.pdfx-done { padding: 28px; }
.pdfx-success { margin: 0 0 18px; padding: 12px 16px; background: #e9f6ee; color: #17603a; border-radius: 10px; font-weight: 700; }
.pdfx-record { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #e6e6ec; }
.pdfx-record strong { display: block; font-size: 1.25rem; }
.pdfx-badge { background: #fff4cc; color: #7a5200; border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 700; }
.pdfx-done dl { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 10px 16px; margin: 18px 0; }
.pdfx-done dt { color: #6b7185; }
.pdfx-done dd { margin: 0; }
.pdfx-status { margin: 0 !important; padding: 0 22px 16px; font-size: .9rem; color: #444a5e; }
.pdfx-status:empty { display: none; }
@media (max-width: 800px) {
  .pdfx-start, .pdfx-review { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 16px; }
  .pdfx-file, .pdfx-drop { min-height: 160px; }
  .pdfx fieldset, .pdfx-done dl { grid-template-columns: minmax(0, 1fr); }
  .pdfx-viewer { position: static; order: -1; }
  .pdfx-done { padding: 18px; }
}

/* Shared frame for the hands-on examples */
.lab { background: #fff; border: 1px solid #e2e2ea; border-radius: 16px; box-shadow: 0 18px 50px -30px #161c2d55; overflow: hidden; margin-bottom: 56px; }
.lab [hidden] { display: none !important; }
.lab-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 1px solid #e6e6ec; }
.lab-bar strong, .lab-bar > div > span { display: block; }
.lab-bar > div > span { font-size: .85rem; color: #6b7185; }
.lab-link { background: none; border: 0; color: #a3195b; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
.lab .lab-status { margin: 0; padding: 14px 22px; border-top: 1px solid #e6e6ec; font-weight: 600; }
.lab .lab-status:empty { display: none; }
.lab .lab-status.is-warning { background: #fff4cc; color: #6b4700; }
.lab h3 { font-size: .85rem; margin: 0 0 12px; color: #444a5e; }

/* Waiting list allocation */
.alloc { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 22px; padding: 22px; background: #f5f5f7; }
.alloc-client { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; width: 100%; text-align: left; font: inherit; color: #161c2d; background: #fff; border: 1px solid #dcdce4; border-left: 5px solid; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; cursor: grab; }
.alloc-client.is-green { border-left-color: #2f8f5b; }
.alloc-client.is-orange { border-left-color: #d98a1c; }
.alloc-client.is-red { border-left-color: #c2362f; }
.alloc-client[aria-pressed="true"] { box-shadow: 0 0 0 2px #a3195b; }
.alloc-days { font-size: .8rem; font-weight: 700; color: #444a5e; }
.alloc-hours { grid-column: 1 / -1; font-size: .82rem; color: #6b7185; }
.alloc [data-practitioners] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.alloc-person { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 2px solid transparent; border-radius: 12px; padding: 14px; transition: border-color .15s, background-color .15s; }
.alloc-person.is-over { border-color: #a3195b; border-style: dashed; background: #fbf0f5; }
.alloc-person p { margin: 0; font-size: .85rem; color: #565c70; }
.alloc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; min-height: 26px; }
.alloc-tag { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e9f6ee; color: #17603a; }
.alloc-tag.is-full { background: #fde8e6; color: #96261f; }
.alloc-meter { height: 8px; border-radius: 99px; background: #e6e6ec; overflow: hidden; }
.alloc-meter i { display: block; height: 100%; background: #2f8f5b; transition: width .6s; }
.alloc-meter i.is-near { background: #d98a1c; }
.alloc-meter i.is-over { background: #c2362f; }
.alloc-assigned { list-style: none; margin: 0; padding: 0; }
.alloc-assigned li { font-size: .82rem; font-weight: 600; background: #fbf0f5; border-radius: 8px; padding: 6px 8px; margin-top: 4px; }
.alloc-person .button { margin-top: auto; }
@media (max-width: 800px) {
  .alloc, .alloc [data-practitioners] { grid-template-columns: minmax(0, 1fr); }
  .alloc { padding: 16px; }
}

/* Resource send and feedback */
.send { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 22px; padding: 22px; background: #f5f5f7; align-items: start; }
.send-list { list-style: none; margin: 0 0 16px; padding: 0; }
.send-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; background: #fff; border: 1px solid #e2e2ea; border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; }
.send-list label { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; }
.send-list input { width: 1.15rem; height: 1.15rem; accent-color: #a3195b; }
.send-list small { display: block; font-size: .72rem; font-weight: 700; color: #6b7185; }
.send-state { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eeeef2; color: #565c70; }
.send-state.is-sent { background: #e5edfb; color: #1f4a94; }
.send-state.is-opened { background: #fff4cc; color: #6b4700; }
.send-state.is-done { background: #e9f6ee; color: #17603a; }
.send-phone { background: #fff; border: 8px solid #161c2d; border-radius: 28px; padding: 16px 14px; min-height: 340px; }
.send-phone article { border: 1px solid #e2e2ea; border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.send-phone article.is-done { border-color: #8ccaa5; background: #f6fbf8; }
.send-phone h4 { margin: 0 0 8px; font-size: .95rem; }
.send-empty, .send-note { color: #6b7185; font-size: .85rem; margin: 6px 0 0; }
.send-video { background: #2b2f45; border-radius: 10px; padding: 22px 12px 10px; margin-bottom: 10px; text-align: center; }
.send-video button { font: inherit; font-weight: 700; color: #fff; background: #ffffff22; border: 0; border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; }
.send-video progress { display: block; width: 100%; height: 6px; margin-top: 18px; accent-color: #d4568f; }
.send-doc { height: 7rem; overflow-y: auto; border: 1px solid #dcdce4; border-radius: 8px; padding: 10px; font-size: .85rem; margin-bottom: 10px; }
.send-doc p { margin: 0 0 8px; }
.send-phone label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 10px; }
.send-phone :is(input[type="text"], select) { display: block; width: 100%; min-height: 44px; margin-top: 4px; padding: 6px 10px; font: inherit; border: 1px solid #c4c6d0; border-radius: 8px; background: #fff; color: #161c2d; }
.lab .button:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 800px) { .send { grid-template-columns: minmax(0, 1fr); padding: 16px; } }

/* Website self-referral to pipeline */
.selfref { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; margin-bottom: 24px; }
.selfref [hidden] { display: none !important; }
.selfref-browser, .selfref-app { background: #fff; border: 1px solid #e2e2ea; border-radius: 16px; box-shadow: 0 18px 50px -30px #161c2d55; overflow: hidden; }
.selfref-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ececf1; }
.selfref-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #c3c4cf; }
.selfref-chrome span { flex: 1; margin-left: 8px; background: #fff; border-radius: 99px; padding: 3px 12px; font-size: .78rem; color: #565c70; }
.selfref p { margin: 0 0 10px; }
.selfref .selfref-title { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.selfref-sitenav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 22px; color: #1f4d5a; font-size: .85rem; }
.selfref-hero { background: #1f4d5a; color: #fff; padding: 56px 28px; min-height: 380px; }
.selfref .selfref-hero .selfref-title { font-size: 1.9rem; max-width: 14em; }
.selfref-hero button { margin-top: 14px; min-height: 48px; padding: 10px 24px; font: inherit; font-weight: 700; color: #1f2a2e; background: #ffd37a; border: 0; border-radius: 8px; cursor: pointer; }
.selfref-form, .selfref-thanks { padding: 22px; }
.selfref-org { font-size: .8rem; font-weight: 700; color: #6b7185; }
.selfref-safety { background: #fff4cc; color: #5c3d00; border-radius: 8px; padding: 10px 12px; font-size: .82rem; }
.selfref-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.selfref-wide { grid-column: 1 / -1; }
.selfref label { font-size: .8rem; font-weight: 600; color: #444a5e; }
.selfref :is(input:not([type="checkbox"]), textarea) { display: block; width: 100%; margin-top: 4px; padding: 7px 10px; font: inherit; font-size: .9rem; font-weight: 400; color: #161c2d; background: #fff; border: 1px solid #d6d7e0; border-radius: 8px; }
.selfref input[readonly] { background: #f5f5f7; }
.selfref-check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.selfref-check input { width: 1.15rem; height: 1.15rem; accent-color: #a3195b; flex: none; }
.selfref .selfref-error { color: #96261f; font-size: .85rem; margin: 8px 0 0; }
.selfref-thanks { text-align: center; min-height: 380px; padding-top: 56px; }
.selfref .selfref-tick { width: 56px; height: 56px; line-height: 56px; margin: 0 auto 14px; border-radius: 50%; background: #e9f6ee; color: #17603a; font-size: 1.6rem; }
.selfref-app { padding-bottom: 14px; }
.selfref-apphead { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #e6e6ec; }
.selfref-count { font-size: .82rem; color: #6b7185; }
.selfref .selfref-alert { margin: 0; padding: 10px 16px; background: #161c2d; color: #fff; font-size: .85rem; font-weight: 600; }
.selfref-app ul { list-style: none; margin: 0; padding: 0; }
.selfref-app li { padding: 12px 16px; border-bottom: 1px solid #eeeef2; }
.selfref-app li div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.selfref-app small { color: #6b7185; }
.selfref-app li[data-new] { background: #fbf0f5; border-left: 4px solid #a3195b; animation: selfref-in .6s ease both; }
.selfref-app li p { margin: 6px 0 0; font-size: .85rem; }
.selfref-app .selfref-done { color: #17603a; font-weight: 600; }
.selfref-badge { background: #e5edfb; color: #1f4a94; border-radius: 99px; padding: 1px 9px; font-size: .72rem; font-weight: 700; }
.selfref-app > a, .selfref-app > button { display: inline-block; margin: 10px 16px 0; padding-inline: 0; }
.selfref .selfref-status { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: #444a5e; }
@keyframes selfref-in { from { opacity: 0; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .selfref-app li[data-new] { animation: none; } }
@media (max-width: 800px) {
  .selfref, .selfref-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Hands-on examples */
.lab-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 22px; background: #f5f5f7; align-items: start; }
.lab-body.is-single { grid-template-columns: minmax(0, 1fr); }
.lab-body h3:not(:first-child) { margin-top: 18px; }
.lab-body p { margin: 0 0 10px; }
.lab-card { background: #fff; border: 1px solid #e2e2ea; border-radius: 12px; padding: 16px; }
.lab-phone { background: #fff; border: 8px solid #161c2d; border-radius: 28px; padding: 16px 14px; min-height: 300px; }
.lab-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.lab label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
.lab :is(input[type="text"], input[type="search"], select, textarea) { display: block; width: 100%; min-height: 44px; margin-top: 4px; padding: 8px 10px; font: inherit; font-weight: 400; color: #161c2d; background: #fff; border: 1px solid #c4c6d0; border-radius: 8px; }
.lab input[type="range"] { display: block; width: 100%; min-height: 36px; accent-color: #a3195b; }
.lab input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin-right: 10px; vertical-align: middle; accent-color: #a3195b; }
.lab-ghost { font: inherit; font-weight: 600; color: #161c2d; background: #fff; border: 1px solid #d6d7e0; border-radius: 99px; padding: 6px 14px; min-height: 40px; cursor: pointer; text-align: left; }
.lab-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lab-tabs button, .lab-dates button { font: inherit; font-size: .85rem; font-weight: 600; min-height: 40px; padding: 6px 12px; border: 1px solid #d6d7e0; border-radius: 99px; background: #fff; color: #161c2d; cursor: pointer; }
.lab-tabs button[aria-pressed="true"], .lab-dates button[aria-pressed="true"] { background: #a3195b; border-color: #a3195b; color: #fff; }
.lab-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: 8px; margin-bottom: 14px; }
.lab-dates button[aria-pressed="false"] { text-decoration: line-through; color: #6b7185; }
.lab-badge { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; background: #e5edfb; color: #1f4a94; }
.lab-badge.is-ok { background: #e9f6ee; color: #17603a; }
.lab-badge.is-warn { background: #fff4cc; color: #6b4700; }
.lab-badge.is-bad { background: #fde8e6; color: #96261f; }
.lab .lab-flag { background: #fff4cc; color: #5c3d00; border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: .88rem; }
.lab-flag button { margin-left: 8px; }
.lab-muted { color: #6b7185; font-size: .85rem; }
.lab-big { font-size: 1.7rem; font-weight: 700; line-height: 1.2; }
.lab-big small { font-size: .85rem; font-weight: 500; color: #6b7185; }
.lab ul, .lab ol { list-style: none; margin: 0 0 10px; padding: 0; }
.lab-thread li { border-left: 3px solid #d99ab9; padding: 4px 0 4px 12px; margin-bottom: 8px; }
.lab-thread b, .lab-thread span { display: block; font-size: .88rem; }
.lab-thread span { color: #6b7185; }
.lab .is-new { animation: lab-in .45s ease both; }
@keyframes lab-in { from { opacity: 0; transform: translateY(-8px); } }
.lab-bubble { background: #eeeef2; border-radius: 14px 14px 14px 4px; padding: 9px 12px; font-size: .88rem; margin-right: 24px; }
.lab-bubble.is-mine { background: #a3195b; color: #fff; border-radius: 14px 14px 4px 14px; margin: 0 0 10px 24px; }
.lab-meter { height: 10px; border-radius: 99px; background: #e6e6ec; overflow: hidden; margin: 6px 0 12px; }
.lab-meter i { display: block; height: 100%; width: 0; background: #a3195b; transition: width .6s; }
.lab-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 10px; margin-bottom: 12px; }
.lab-kpi { background: #fff; border: 1px solid #e2e2ea; border-radius: 12px; padding: 12px; }
.lab-kpi b { display: block; font-size: 1.5rem; }
.lab-kpi span { font-size: .82rem; color: #6b7185; }
.lab .lab-question { font-size: 1.2rem; font-weight: 700; margin: 8px 0 14px; }
.lab-bar-row { display: grid; grid-template-columns: 5rem minmax(0, 1fr) 2.5rem; gap: 10px; align-items: center; font-size: .85rem; }
.lab-bar-row .lab-meter { margin: 5px 0; }
.lab-register li { display: grid; grid-template-columns: 6rem auto minmax(0, 1fr); gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 6px; }
.lab-register .lab-tabs, .lab-register input { margin: 0 !important; }
.lab-count { font-size: .85rem; color: #6b7185; }
.lab-note { white-space: pre-line; min-height: 11rem; border: 1px solid #c4c6d0; border-radius: 8px; padding: 12px; margin-bottom: 12px; }
.lab-heard { font-size: 1.15rem; font-weight: 600; min-height: 3.2em; }
.lab-wave { display: inline-flex; gap: 3px; align-items: center; height: 28px; }
.lab-wave i { width: 4px; height: 6px; border-radius: 2px; background: #a3195b; }
.lab-wave.is-on i { animation: lab-wave .7s ease-in-out infinite alternate; }
.lab-wave i:nth-child(even) { animation-delay: .25s !important; }
@keyframes lab-wave { to { height: 26px; } }
.lab .lab-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lab-chips li { background: #fff; border: 1px solid #d6d7e0; border-radius: 99px; padding: 3px 12px; font-size: .82rem; }
.lab-results li, .lab-todo li { background: #fff; border: 1px solid #e2e2ea; border-radius: 10px; padding: 9px 12px; margin-bottom: 6px; font-size: .9rem; }
.lab-results li:has(button) { border: 0; padding: 0; background: none; }
.lab-results .lab-ghost { width: 100%; }
.lab-todo label { margin: 0; font-weight: 500; }
.lab-todo li:has(:checked) { opacity: .55; }
.lab-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 8px; }
.lab-slots span { text-align: center; padding: 10px 0; border-radius: 8px; background: #fff; border: 1px dashed #b9bac8; font-size: .85rem; }
.lab-slots span.is-open { background: #e9f6ee; border: 1px solid #8ccaa5; font-weight: 700; }
.lab-issues li, .lab-checks li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid #e2e2ea; border-radius: 10px; padding: 10px 12px; margin-bottom: 6px; font-size: .88rem; }
.lab-issues b { display: block; }
.lab-issues li.is-done, .lab-checks li.is-ok { background: #f1faf4; border-color: #8ccaa5; }
.lab-checks li.is-bad { background: #fdf0ef; border-color: #e5a6a1; }
.lab-checks span { font-weight: 700; }
.lab-funders, .lab-zones, .lab-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.lab-timeline .lab-card span { display: block; font-size: .85rem; margin-top: 4px; }
.lab-tray { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 60px; margin-bottom: 14px; }
.lab-step { font: inherit; font-size: .88rem; font-weight: 600; text-align: left; background: #fff; color: #161c2d; border: 1px solid #d6d7e0; border-radius: 10px; padding: 8px 12px; cursor: grab; }
.lab-step small { display: block; color: #a3195b; font-weight: 700; }
.lab-step[aria-pressed="true"] { box-shadow: 0 0 0 2px #a3195b; }
.lab-zone { display: flex; flex-direction: column; gap: 8px; min-height: 170px; border: 2px dashed #c4c6d0; border-radius: 12px; padding: 10px; }
.lab .is-over { border-color: #a3195b; background: #fbf0f5; }
.lab-chart { display: flex; align-items: flex-end; gap: 10px; height: 12rem; background: #fff; border: 1px solid #e2e2ea; border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.lab-chart div { flex: 1; text-align: center; font-size: .78rem; }
.lab-chart i { display: block; background: #a3195b; border-radius: 6px 6px 0 0; transition: height .5s; }
.lab-chart b, .lab-chart span { display: block; }
.lab-file, .lab-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 130px; border-radius: 12px; font: inherit; color: #161c2d; margin-bottom: 12px; }
.lab-file { background: #fff; border: 1px solid #dcdce4; cursor: grab; }
.lab-file b { background: #a3195b; color: #fff; border-radius: 6px; padding: 14px 10px 6px; font-size: .78rem; }
.lab-drop { border: 2px dashed #b9bac8; font-weight: 600; }
.lab-journey { list-style: none; counter-reset: step; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 14px; margin-bottom: 56px; }
.lab-journey li { counter-increment: step; }
.lab-journey a { display: block; height: 100%; padding: 20px; border: 1px solid #e2e2ea; border-radius: 16px; background: #fff; font-weight: 700; text-decoration: none; color: #161c2d; }
.lab-journey a::before { content: counter(step); display: block; color: #a3195b; font-size: 1.6rem; margin-bottom: 8px; }
.lab-journey a:hover { border-color: #a3195b; }
@media (prefers-reduced-motion: reduce) { .lab .is-new, .lab-wave.is-on i { animation: none; } }
@media (max-width: 800px) {
  .lab-body, .lab-funders, .lab-zones, .lab-timeline, .lab-register li { grid-template-columns: minmax(0, 1fr); }
  .lab-body { padding: 16px; }
}
