@layer reset, astryx-base, astryx-theme;
@layer reset {
@scope ([data-astryx-theme="peptmentor"]) to ([data-astryx-theme]) {
  :where(h1, h2, h3, h4, h5, h6) {
    font-family: var(--font-family-heading);
    color: var(--color-text-primary);
  }
  :where(h1) {
    font-size: var(--text-heading-1-size);
    font-weight: var(--text-heading-1-weight);
    line-height: var(--text-heading-1-leading);
  }
  :where(h2) {
    font-size: var(--text-heading-2-size);
    font-weight: var(--text-heading-2-weight);
    line-height: var(--text-heading-2-leading);
  }
  :where(h3) {
    font-size: var(--text-heading-3-size);
    font-weight: var(--text-heading-3-weight);
    line-height: var(--text-heading-3-leading);
  }
  :where(h4) {
    font-size: var(--text-heading-4-size);
    font-weight: var(--text-heading-4-weight);
    line-height: var(--text-heading-4-leading);
  }
  :where(h5) {
    font-size: var(--text-heading-5-size);
    font-weight: var(--text-heading-5-weight);
    line-height: var(--text-heading-5-leading);
  }
  :where(h6) {
    font-size: var(--text-heading-6-size);
    font-weight: var(--text-heading-6-weight);
    line-height: var(--text-heading-6-leading);
  }
  :where(p) {
    font-family: var(--font-family-body);
    font-size: var(--text-body-size);
    font-weight: var(--text-body-weight);
    line-height: var(--text-body-leading);
    color: var(--color-text-primary);
  }
  :where(small) {
    font-size: var(--text-supporting-size);
    font-weight: var(--text-supporting-weight);
    line-height: var(--text-supporting-leading);
    color: var(--color-text-secondary);
  }
  :where(code, pre) {
    font-family: var(--font-family-code);
    font-size: var(--text-code-size);
    line-height: var(--text-code-leading);
  }
  :where(hr) {
    border: none;
    border-top: 1px solid var(--color-border);
  }
}
}
@layer astryx-theme {
  :root { color-scheme: light dark; }
  html[data-theme="light"] { color-scheme: light; }
  html[data-theme="dark"] { color-scheme: dark; }
@scope ([data-astryx-theme="peptmentor"]) to ([data-astryx-theme]) {
  :scope {
    --_scaled-font-size-2xs: min(calc(0.5625rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-xs));
    --font-size-2xs: var(--_scaled-font-size-2xs);
    --_scaled-font-size-xs: min(calc(0.6875rem * var(--_dynamic-type-caption1, 1)), var(--_scaled-font-size-sm));
    --font-size-xs: var(--_scaled-font-size-xs);
    --_scaled-font-size-sm: min(calc(0.8125rem * var(--_dynamic-type-footnote, 1)), var(--_scaled-font-size-base));
    --font-size-sm: var(--_scaled-font-size-sm);
    --_scaled-font-size-base: min(calc(1rem * var(--_dynamic-type-body, 1)), var(--_scaled-font-size-lg));
    --font-size-base: var(--_scaled-font-size-base);
    --_scaled-font-size-lg: min(calc(1.3125rem * var(--_dynamic-type-title3, 1)), var(--_scaled-font-size-xl));
    --font-size-lg: var(--_scaled-font-size-lg);
    --_scaled-font-size-xl: min(calc(1.6875rem * var(--_dynamic-type-title2, 1)), var(--_scaled-font-size-2xl));
    --font-size-xl: var(--_scaled-font-size-xl);
    --_scaled-font-size-2xl: min(calc(2.1875rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-3xl));
    --font-size-2xl: var(--_scaled-font-size-2xl);
    --_scaled-font-size-3xl: min(calc(2.875rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-4xl));
    --_scaled-font-size-4xl: min(calc(3.6875rem * var(--_dynamic-type-large-title, 1)), var(--_scaled-font-size-5xl));
    --_scaled-font-size-5xl: calc(4.8125rem * var(--_dynamic-type-large-title, 1));
    --text-heading-1-size: var(--font-size-2xl);
    --text-heading-1-weight: 600;
    --text-heading-1-leading: 1.2571;
    --text-heading-2-size: var(--font-size-xl);
    --text-heading-2-weight: 600;
    --text-heading-2-leading: 1.3333;
    --text-heading-3-size: var(--font-size-lg);
    --text-heading-3-weight: 600;
    --text-heading-3-leading: 1.3333;
    --text-heading-4-size: var(--font-size-base);
    --text-heading-4-weight: 600;
    --text-heading-4-leading: 1.5;
    --text-heading-5-size: var(--font-size-sm);
    --text-heading-5-weight: 600;
    --text-heading-5-leading: 1.6667;
    --text-heading-6-size: var(--font-size-xs);
    --text-heading-6-weight: 600;
    --text-heading-6-leading: 1.7778;
    --text-body-size: var(--font-size-base);
    --text-body-weight: var(--font-weight-normal);
    --text-body-leading: 1.5;
    --text-code-size: var(--font-size-base);
    --text-code-leading: 1.5;
    --text-supporting-size: var(--font-size-sm);
    --text-supporting-weight: var(--font-weight-normal);
    --text-supporting-leading: 1.6667;
    --font-family-body: "Geist Sans", system-ui, sans-serif;
    --font-family-heading: "Geist Sans", system-ui, sans-serif;
    --font-family-code: "Geist Mono", ui-monospace, monospace;
    --color-background-body: light-dark(#ffffff, #1b1b1b);
    --color-background-card: light-dark(#ffffff, #191c21);
    --color-background-muted: light-dark(#edf1f8, #191c21);
    --color-accent: light-dark(#c2410c, #ea9175);
    --color-text-primary: light-dark(#000000, #ffffff);
    --color-text-secondary: light-dark(#414751, #969ca8);
    --color-text-accent: light-dark(#a03000, #ffb097);
    --color-on-dark: #ffffff;
    --color-on-light: #111111;
    --color-text-warning: light-dark(#973b00, #fab48f);
    --color-on-warning-muted: light-dark(#672100, #fab48f);
    --color-on-error-muted: light-dark(#72070a, #ffafa4);
    --color-warning: light-dark(#b45309, #b45309);
    --color-error: light-dark(#b91c1c, #ed8d81);
    --color-error-muted: light-dark(#ffc4bc, #f99c913d);
    --color-warning-muted: light-dark(#ffc6a8, #efa57d3d);
    --color-border: light-dark(#00000014, #ffffff1a);
    --color-border-emphasized: light-dark(#d0d5de, #4c515b);
    --color-background-red: light-dark(#ffc4be, #5b2b28);
    --color-icon-red: light-dark(#76000c, #ff9890);
    --color-text-red: light-dark(#76000c, #ffaea7);
    --color-background-orange: light-dark(#ffc7a1, #503424);
    --color-border-orange: light-dark(#ffc7a1, #df843f);
    --color-text-orange: light-dark(#622700, #ffb37e);
    --color-background-yellow: light-dark(#fae19e, #453a1c);
    --color-border-yellow: light-dark(#e3c36c, #c29900);
    --color-text-yellow: light-dark(#4b3900, #eec448);
    --color-background-green: light-dark(#bce0bb, #2b422b);
    --color-icon-green: light-dark(#00490b, #90ca90);
    --color-text-green: light-dark(#00490b, #90ca90);
    --color-background-blue: light-dark(#b9d7ff, #253c5a);
    --color-icon-blue: light-dark(#003978, #88bcff);
    --color-text-blue: light-dark(#003978, #a1caff);
    --radius-element: 10px;
    --radius-container: 12px;
    --color-border-warning: light-dark(#ffb289, #da8454);
    --color-border-error: light-dark(#ffafa4, #e07e73);
  }
  :scope {
    font-family: var(--font-family-body);
  }
}
}
@layer astryx-theme {
@media (width < 1024px) and (pointer: coarse) {
  @scope ([data-astryx-theme="peptmentor"]) to ([data-astryx-theme]) {
    :scope {
    --_scaled-font-size-2xs: min(calc(0.625rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-xs));
    --font-size-2xs: var(--_scaled-font-size-2xs);
    --_scaled-font-size-xs: min(calc(0.75rem * var(--_dynamic-type-caption1, 1)), var(--_scaled-font-size-sm));
    --font-size-xs: var(--_scaled-font-size-xs);
    --_scaled-font-size-sm: min(calc(0.875rem * var(--_dynamic-type-footnote, 1)), var(--_scaled-font-size-base));
    --font-size-sm: var(--_scaled-font-size-sm);
    --_scaled-font-size-base: min(calc(1rem * var(--_dynamic-type-body, 1)), var(--_scaled-font-size-lg));
    --font-size-base: var(--_scaled-font-size-base);
    --_scaled-font-size-lg: min(calc(1.1875rem * var(--_dynamic-type-title3, 1)), var(--_scaled-font-size-xl));
    --font-size-lg: var(--_scaled-font-size-lg);
    --_scaled-font-size-xl: min(calc(1.375rem * var(--_dynamic-type-title2, 1)), var(--_scaled-font-size-2xl));
    --font-size-xl: var(--_scaled-font-size-xl);
    --_scaled-font-size-2xl: min(calc(1.625rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-3xl));
    --font-size-2xl: var(--_scaled-font-size-2xl);
    --_scaled-font-size-3xl: min(calc(1.875rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-4xl));
    --_scaled-font-size-4xl: min(calc(2.25rem * var(--_dynamic-type-large-title, 1)), var(--_scaled-font-size-5xl));
    --_scaled-font-size-5xl: calc(2.625rem * var(--_dynamic-type-large-title, 1));
    --text-heading-1-size: var(--font-size-2xl);
    --text-heading-1-weight: 600;
    --text-heading-1-leading: 1.3846;
    --text-heading-2-size: var(--font-size-xl);
    --text-heading-2-weight: 600;
    --text-heading-2-leading: 1.4545;
    --text-heading-3-size: var(--font-size-lg);
    --text-heading-3-weight: 600;
    --text-heading-3-leading: 1.4737;
    --text-heading-4-size: var(--font-size-base);
    --text-heading-4-weight: 600;
    --text-heading-4-leading: 1.5;
    --text-heading-5-size: var(--font-size-sm);
    --text-heading-5-weight: 600;
    --text-heading-5-leading: 1.4286;
    --text-heading-6-size: var(--font-size-xs);
    --text-heading-6-weight: 600;
    --text-heading-6-leading: 1.6667;
    --text-body-size: var(--font-size-base);
    --text-body-weight: var(--font-weight-normal);
    --text-body-leading: 1.5;
    --text-code-size: var(--font-size-base);
    --text-code-leading: 1.5;
    --text-supporting-size: var(--font-size-sm);
    --text-supporting-weight: var(--font-weight-normal);
    --text-supporting-leading: 1.4286;
    --font-family-body: "Geist Sans", system-ui, sans-serif;
    --font-family-heading: "Geist Sans", system-ui, sans-serif;
    --font-family-code: "Geist Mono", ui-monospace, monospace;
  }
  }
}
@media (width < 1024px) and (pointer: coarse) {
  @scope ([data-astryx-theme="peptmentor"]) to ([data-astryx-theme]) {
    :scope {
    --text-heading-1-weight: 600;
    --text-heading-2-weight: 600;
    --text-heading-3-weight: 600;
    --text-heading-4-weight: 600;
    --text-heading-5-weight: 600;
    --text-heading-6-weight: 600;
  }
  }
}
}
@layer astryx-theme {
@scope ([data-astryx-theme="peptmentor"]) to ([data-astryx-theme]) {
  [data-astryx-media="dark"] {
    color-scheme: dark;
    --color-text-primary: var(--color-on-dark);
    --color-accent: var(--color-on-dark);
  }
  [data-astryx-media="light"] {
    color-scheme: light;
    --color-text-primary: var(--color-on-light);
    --color-accent: var(--color-on-light);
  }
}
}
/* ---- Engine theme: base, layout primitives and the pieces Astryx used to provide ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, ol, ul { margin: 0; }
button, input, select { font: inherit; color: inherit; }
.pm-root { min-height: 100vh; background: var(--color-background-body); color: var(--color-text-primary); font-family: var(--font-family-body); font-size: 16px; line-height: 1.6; }

.pm-root a { color: var(--color-text-accent); }
.pm-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ax-v { display: flex; flex-direction: column; min-width: 0; }
.ax-h { display: flex; flex-direction: row; align-items: center; }
.ax-wrap { flex-wrap: wrap; }
.ax-g1 { gap: 4px; } .ax-g2 { gap: 8px; } .ax-g3 { gap: 12px; } .ax-g4 { gap: 16px; } .ax-g8 { gap: 32px; }
.ax-pb8 { padding-block: 32px; }
.ax-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.ax-cols-240 { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.pm-stats { grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); }
.ax-heading { font-family: var(--font-family-heading); color: var(--color-text-primary); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
h1.ax-heading { font-size: 36px; }
h2.ax-heading { font-size: 24px; }
h3.ax-heading { font-size: 18px; }
.ax-display-1 { font-size: 44px; line-height: 1.08; letter-spacing: -0.02em; }
@media (max-width: 640px) { h1.ax-heading { font-size: 30px; } .ax-display-1 { font-size: 32px; } h2.ax-heading { font-size: 22px; } }
.ax-text { margin: 0; }
p.ax-text { display: block; }
.ax-t-supporting { color: var(--color-text-secondary); font-size: var(--font-size-sm, 14px); line-height: 1.55; }
.ax-t-label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--color-text-secondary); }
.ax-t-large { font-size: 18px; }
.ax-c-accent { color: var(--color-text-accent); }
.ax-c-secondary { color: var(--color-text-secondary); }
.ax-w-semibold { font-weight: 600; }
.ax-w-medium { font-weight: 500; }
.ax-card { background: var(--color-background-card); border: 1px solid var(--color-border); border-radius: var(--radius-container, 10px); padding: 20px; }
.ax-card-muted { background: var(--color-background-muted); }
.ax-divider { border: 0; border-top: 1px solid var(--color-border); margin: 0; }
.ax-badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.6; white-space: nowrap; border: 1px solid transparent; vertical-align: middle; background: var(--color-background-muted); color: var(--color-text-secondary); }
.ax-badge-success, .ax-badge-green { background: var(--color-background-green); color: var(--color-text-green); }
.ax-badge-info, .ax-badge-blue { background: var(--color-background-blue); color: var(--color-text-blue, var(--color-text-accent)); }
.ax-badge-warning, .ax-badge-orange, .ax-badge-yellow { background: var(--color-background-yellow); color: var(--color-text-orange); }
.ax-badge-error, .ax-badge-red { background: var(--color-background-red); color: var(--color-text-red); }
.ax-badge-teal { background: color-mix(in srgb, #14b8a6 14%, transparent); color: #0f766e; }
.ax-badge-purple { background: color-mix(in srgb, #8b5cf6 14%, transparent); color: #6d28d9; }
.ax-banner { border-radius: var(--radius-container, 10px); padding: 14px 16px; border-left: 4px solid var(--color-border-emphasized); background: var(--color-background-muted); }
.ax-banner-info { border-left-color: var(--color-icon-blue); background: var(--color-background-blue); }
.ax-banner-warning { border-left-color: var(--color-text-orange); background: var(--color-warning-muted, var(--color-background-yellow)); color: var(--color-on-warning-muted, inherit); }
.ax-banner-error { border-left-color: var(--color-icon-red); background: var(--color-error-muted, var(--color-background-red)); color: var(--color-on-error-muted, inherit); }
.ax-banner-success { border-left-color: var(--color-icon-green); background: var(--color-background-green); }
.ax-banner-title { font-weight: 600; }
.ax-banner-desc { margin-top: 4px; }
.ax-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-element, 8px); font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid var(--color-border-emphasized); background: var(--color-background-card); color: var(--color-text-primary); }
.pm-root a.ax-btn-primary, .ax-btn-primary { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.ax-btn-primary:hover { filter: brightness(0.92); }
.ax-btn-ghost { border-color: transparent; background: transparent; }
.ax-btn:focus-visible, .pm-topnav-item:focus-visible, .hp-tab:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.ax-crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--color-text-secondary); }
.ax-crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--color-border-emphasized); }
.pm-root .ax-crumbs a { color: var(--color-text-secondary); text-decoration: none; }
.pm-root .ax-crumbs a:hover { color: var(--color-text-accent); }
/* ---- Header: desktop menus (native popover) and mobile drawer (dialog) ---- */
.pm-topnav { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.pm-topnav-items { display: flex; align-items: center; gap: 4px; margin-left: auto; margin-right: auto; }
.pm-topnav-item { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; background: none; border-radius: var(--radius-element, 8px); font-size: 15px; font-weight: 500; color: var(--color-text-primary); text-decoration: none; cursor: pointer; }
.pm-root .pm-topnav-item { color: var(--color-text-primary); }
.pm-topnav-item:hover { background: var(--color-background-muted); }
.pm-chev { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.pm-mega { position: fixed; inset: 64px auto auto 50%; transform: translateX(-50%); margin: 0; width: min(880px, calc(100vw - 32px)); padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-container, 10px); background: var(--color-background-card); box-shadow: 0 8px 24px rgba(0,0,0,.08); color: var(--color-text-primary); }
.pm-mega-grid { display: grid; grid-template-columns: 1fr 260px; gap: 16px; }
.pm-mega-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.pm-mega-item { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--radius-element, 8px); text-decoration: none; }
.pm-mega-item:hover { background: var(--color-background-muted); }
.pm-root .pm-mega-item .pm-mega-t { color: var(--color-text-primary); }
.pm-mega-t { font-weight: 600; font-size: 15px; }
.pm-mega-d { font-size: 13px; line-height: 1.45; color: var(--color-text-secondary); }
.pm-mega-featured { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: var(--radius-element, 8px); background: var(--color-background-muted); }
.pm-menu-btn { display: inline-grid; gap: 4px; width: 44px; height: 44px; place-content: center; border: 0; background: none; cursor: pointer; }
.pm-menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--color-text-primary); }
.pm-drawer-dialog { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(340px, 100vw); padding: 16px; border: 0; background: var(--color-background-card); color: var(--color-text-primary); overflow-y: auto; }
.pm-drawer-dialog::backdrop { background: rgba(0,0,0,.35); }
.pm-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pm-drawer-close { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }
.pm-drawer-sec { display: grid; gap: 2px; padding: 8px 0; }
.pm-drawer-sec h2 { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-secondary); padding: 4px 8px; }
.pm-drawer-sec a { padding: 8px; border-radius: var(--radius-element, 8px); text-decoration: none; }
.pm-root .pm-drawer-sec a { color: var(--color-text-primary); }
.pm-drawer-sec a:hover { background: var(--color-background-muted); }
.pm-drawer-cta .ax-btn { width: 100%; }
.pm-tool { min-width: 0; }
@media (max-width: 900px) { .pm-mega-grid { grid-template-columns: 1fr; } }
/* ---- Site styles ---- */
:root {
  --pm-brand-from: #ff9a1f;
  --pm-brand-to: #e8501f;
  --pm-brand-gradient: linear-gradient(135deg, var(--pm-brand-from), var(--pm-brand-to));
  --pm-page: 1120px;
  --pm-measure: 720px;
}
body {
  background: var(--color-background-body);
  color: var(--color-text-primary);
  font-family: var(--font-family-body);
  -webkit-font-smoothing: antialiased;
}
.pm-page {
  width: 100%;
  max-width: var(--pm-page);
  margin-inline: auto;
  padding-inline: 24px;
}
.pm-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--color-background-body) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.pm-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-heading);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  text-decoration: none;
}
.pm-wordmark img { border-radius: 8px; }
.pm-hairline {
  height: 3px;
  background: var(--pm-brand-gradient);
}
.pm-hero {
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  mask-image: linear-gradient(to bottom, black 55%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent);
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
}
.pm-hero-wrap { position: relative; overflow: hidden; }
.pm-article {
  display: grid;
  grid-template-columns: minmax(0, var(--pm-measure)) 240px;
  gap: 56px;
  justify-content: space-between;
}
@media (max-width: 1040px) {
  .pm-article { grid-template-columns: minmax(0, 1fr); }
  .pm-toc { display: none; }
}
.pm-toc {
  position: sticky;
  top: 88px;
  align-self: start;
  border-left: 1px solid var(--color-border);
  padding-left: 16px;
}
.pm-toc a {
  display: block;
  padding: 5px 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  text-decoration: none;
}
.pm-toc a:hover { color: var(--color-text-accent); }
.pm-prose p { margin: 0 0 1em; line-height: 1.7; }
.pm-prose h2 { scroll-margin-top: 96px; }
.pm-num {
  font-family: var(--font-family-code);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.pm-ladder {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.pm-rung {
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-text-primary) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-text-primary) 22%, transparent);
}
.pm-rung[data-on='true'] { background: var(--color-accent); box-shadow: none; }
.pm-ladder-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 6px;
  font-size: var(--font-size-2xs);
  color: var(--color-text-secondary);
}
.pm-ladder-labels [data-on='true'] { color: var(--color-text-primary); font-weight: 600; }
.pm-timeline { list-style: none; margin: 0; padding: 0; }
.pm-timeline li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
}
.pm-timeline time { color: var(--color-text-secondary); }
.pm-stat {
  border-top: 2px solid var(--color-text-primary);
  padding-top: 12px;
}
.pm-stat-value {
  font-family: var(--font-family-code);
  font-variant-numeric: tabular-nums;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.pm-swatch {
  height: 64px;
  border-radius: var(--radius-element);
  border: 1px solid var(--color-border);
}
.pm-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 96px;
  padding-block: 40px 56px;
  background: var(--color-background-muted);
}
.pm-display.pm-display { font-size: clamp(36px, 7vw, 64px); line-height: 1.05; }
/* ---- Content blocks (src/components/page/Blocks.tsx) ---- */
.pm-article-single { grid-template-columns: minmax(0, var(--pm-measure)); }
.pm-p { margin: 0; line-height: 1.7; }
.pm-p a, .pm-list a, .pm-table a { color: var(--color-text-accent); }
.pm-list { margin: 0; padding-left: 1.25em; display: grid; gap: 6px; line-height: 1.65; }
.pm-scroll { overflow-x: auto; }
.pm-table { width: 100%; border-collapse: collapse; font-size: var(--font-size-sm); }
.pm-table th, .pm-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--color-border); }
.pm-table thead th { border-bottom: 2px solid var(--color-text-primary); font-weight: 600; white-space: nowrap; }
.pm-table [data-num] { text-align: right; font-variant-numeric: tabular-nums; }
.pm-compare tbody th { font-weight: 400; color: var(--color-text-secondary); width: 30%; }
.pm-bars { margin: 0; display: grid; gap: 8px; }
.pm-bars figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.pm-legend { font-size: var(--font-size-xs); color: var(--color-text-secondary); display: inline-flex; gap: 6px; align-items: center; }
.pm-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.pm-legend i[data-s='a'], .pm-bar[data-s='a'] { background: var(--color-accent); }
.pm-legend i[data-s='b'], .pm-bar[data-s='b'] { background: var(--color-text-secondary); opacity: .45; }
.pm-bar-row { display: grid; grid-template-columns: minmax(110px, 180px) 1fr auto; gap: 12px; align-items: center; font-size: var(--font-size-sm); }
.pm-bar-track { display: grid; gap: 3px; background: var(--color-background-muted); border-radius: 4px; padding: 3px; }
.pm-bar { display: block; height: 10px; border-radius: 3px; min-width: 2px; }
.pm-bar-val { white-space: nowrap; }
.pm-bar-cmp { color: var(--color-text-secondary); }
.pm-cardlink { text-decoration: none; color: inherit; display: block; }
.pm-cardlink:hover .ax-card, .pm-cardlink:focus-visible .ax-card { border-color: var(--color-accent); }
.pm-sources { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; font-size: var(--font-size-sm); }
.pm-sources a { color: var(--color-text-accent); }
.pm-ref { font-size: 0.7em; line-height: 1; vertical-align: baseline; position: relative; top: -0.55em; margin-left: 1px; white-space: nowrap; }
.pm-ref a { text-decoration: none; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--color-text-accent); }
.pm-ref a:hover { text-decoration: underline; }
.pm-refs { list-style: none; padding-left: 0; }
.pm-refs li { display: grid; grid-template-columns: 2.2em 1fr; gap: 0.4em; align-items: baseline; scroll-margin-top: 96px; padding: 4px 8px 4px 0; border-radius: 6px; overflow-wrap: anywhere; }
.pm-refs-n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--color-text-secondary); }
.pm-refs li:target { background: color-mix(in srgb, var(--pm-brand-from) 16%, transparent); }
.pm-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 18px; }
.pm-steps li { counter-increment: st; display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; }
.pm-steps li::before { content: counter(st); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--color-text-primary); color: var(--color-background-body); font-family: var(--font-family-code); font-size: 14px; }
.pm-draft { background: var(--color-warning-muted); color: var(--color-on-warning-muted); font-size: var(--font-size-sm); text-align: center; padding: 6px 16px; }
@media (max-width: 640px) { .pm-bar-row { grid-template-columns: 1fr auto; } .pm-bar-track { grid-column: 1 / -1; grid-row: 2; } }
.pm-footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--font-size-sm); margin-top: 8px; }
.pm-footer-nav a { color: var(--color-text-secondary); }
/* ---- Questions people ask (src/components/page/Faq.tsx) ---- */
.pm-faq {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-container);
  background: var(--color-background-card);
  overflow: hidden;
}
.pm-faq-item + .pm-faq-item { border-top: 1px solid var(--color-border); }
.pm-faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 16px;
  align-items: center;
  padding: 18px 20px 10px;
  transition: background-color 120ms ease;
}
.pm-faq-item > summary::-webkit-details-marker { display: none; }
.pm-faq-item:not([open]) > summary { padding-bottom: 18px; }
.pm-faq-item > summary:hover { background: var(--color-background-muted); }
.pm-faq-item > summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.pm-faq-q {
  font-family: var(--font-family-heading);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.pm-faq-item > summary:hover .pm-faq-q { color: var(--color-text-accent); }
.pm-faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  justify-self: end;
}
.pm-faq-icon::before, .pm-faq-icon::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 11px;
  height: 1.5px;
  background: var(--color-text-secondary);
  transform: translate(-50%, -50%);
  transition: transform 160ms ease;
}
.pm-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.pm-faq-item > summary:hover .pm-faq-icon { border-color: var(--color-accent); }
.pm-faq-item > summary:hover .pm-faq-icon::before, .pm-faq-item > summary:hover .pm-faq-icon::after { background: var(--color-accent); }
.pm-faq-item[open] .pm-faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.pm-faq-a { padding: 0 64px 20px 20px; }
.pm-faq-a p {
  margin: 0;
  max-width: 64ch;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.pm-faq-lead { color: var(--color-text-primary); font-weight: 500; }
.pm-faq-a a { color: var(--color-text-accent); }
@media (max-width: 640px) {
  .pm-faq-item > summary { padding: 16px 16px 8px; }
  .pm-faq-q { font-size: 16px; }
  .pm-faq-a { padding: 0 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-faq-item > summary, .pm-faq-icon::before, .pm-faq-icon::after { transition: none; }
}
/* ---- Lifestyle layer (src/components/page/LifestyleBlocks.tsx) ---- */
.pm-kicker { font-family: var(--font-family-code); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--color-text-accent); margin-bottom: 8px; }
.pm-block-cap { margin: 10px 0 0; font-size: var(--font-size-sm); color: var(--color-text-secondary); line-height: 1.55; }
.pm-block-cap a, .pm-takeaways a, .pm-plain a, .pm-phases a, .pm-tips a, .pm-callbox a, .pm-checklist a { color: var(--color-text-accent); }
.pm-plain { border-left: 3px solid var(--color-accent); padding: 4px 0 4px 16px; }
.pm-plain p { margin: 0; font-size: 18px; line-height: 1.6; }
.pm-takeaways { background: var(--color-background-muted); border-radius: var(--radius-container); padding: 18px 20px; }
.pm-takeaways ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pm-takeaways li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; line-height: 1.6; }
.pm-takeaways li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); margin-top: 9px; }
.pm-scenarios { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pm-scenarios-label { font-weight: 600; margin-right: 2px; }
.pm-scenarios a { text-decoration: none; color: var(--color-text-primary); font-size: var(--font-size-sm); padding: 6px 14px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-background-card); transition: border-color 120ms ease, color 120ms ease; }
.pm-scenarios a:hover, .pm-scenarios a:focus-visible { border-color: var(--color-accent); color: var(--color-text-accent); }
.pm-phases { margin: 0; }
.pm-phases-title { font-weight: 600; margin-bottom: 12px; }
.pm-phases ol { list-style: none; margin: 0; padding: 0; position: relative; }
.pm-phases ol::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--color-border); }
.pm-phases li { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 4px 20px; padding: 0 0 20px 28px; }
.pm-phases li::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--color-background-body); border: 2px solid var(--color-accent); }
.pm-phase-when { font-family: var(--font-family-code); font-size: var(--font-size-sm); color: var(--color-text-accent); padding-top: 2px; }
.pm-phase-title { font-weight: 600; margin-bottom: 2px; }
.pm-phase-body p { margin: 0; line-height: 1.65; }
@media (max-width: 640px) { .pm-phases li { grid-template-columns: 1fr; } }
.pm-tips ol { list-style: none; margin: 0; padding: 0; counter-reset: tip; display: grid; gap: 14px; }
.pm-tips li { counter-increment: tip; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; }
.pm-tips li::before { content: counter(tip); grid-row: span 2; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--color-accent) 12%, transparent); color: var(--color-text-accent); font-family: var(--font-family-code); font-size: 14px; }
.pm-tip-title { font-weight: 600; }

.pm-tips p { margin: 0; line-height: 1.65; color: var(--color-text-secondary); }
.pm-tips > .pm-block-cap { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--color-border); line-height: 1.55; }
.pm-callbox { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pm-callbox .pm-block-cap { grid-column: 1 / -1; margin-top: 0; }
.pm-call { border-radius: var(--radius-container); padding: 16px 18px; border: 1px solid; }
.pm-call ul { margin: 8px 0 0; padding-left: 1.1em; display: grid; gap: 6px; line-height: 1.55; }
.pm-call-h { font-weight: 600; }
.pm-call-today { background: var(--color-warning-muted); border-color: var(--color-border-warning); color: var(--color-on-warning-muted); }
.pm-call-er { background: var(--color-error-muted); border-color: var(--color-border-error); color: var(--color-on-error-muted); }
@media (max-width: 640px) { .pm-callbox { grid-template-columns: 1fr; } }
.pm-checklist { border: 1px solid var(--color-border); border-radius: var(--radius-container); padding: 18px 20px; }
.pm-checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pm-checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; line-height: 1.6; }
.pm-checklist li::before { content: ''; width: 16px; height: 16px; margin-top: 4px; border: 1.5px solid var(--color-text-secondary); border-radius: 4px; }
.pm-more { border-top: 1px solid var(--color-border); }
.pm-more:last-of-type { border-bottom: 1px solid var(--color-border); }
.pm-more > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 18px 0; }
.pm-more > summary::-webkit-details-marker { display: none; }
.pm-more > summary:hover .pm-more-h { color: var(--color-text-accent); }
.pm-more > summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.pm-more-h { margin: 0; font-family: var(--font-family-heading); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.pm-more-t { display: block; margin-top: 2px; font-size: var(--font-size-sm); color: var(--color-text-secondary); }
.pm-more[open] .pm-faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.pm-more[open] > summary { padding-bottom: 14px; }
.pm-more[open] { padding-bottom: 24px; }
/* ---- Header (src/components/site/SiteHeader.tsx) ---- */
.pm-nav-desktop { display: block; }
.pm-nav-mobile { display: none; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
@media (max-width: 899px) {
  .pm-nav-desktop { display: none; }
  .pm-nav-mobile { display: flex; }
}
.pm-wordmark span { white-space: nowrap; }
.pm-drawer { display: grid; gap: 8px; padding-bottom: 16px; }
.pm-drawer-cta { padding: 12px 8px 0; border-top: 1px solid var(--color-border); margin-top: 4px; }
.pm-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pm-article [id], .pm-more[id] { scroll-margin-top: 96px; }
.pm-lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--color-text-primary); max-width: 62ch; text-wrap: pretty; }
.pm-status { display: grid; gap: 12px; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-container); background: var(--color-background-card); }
.pm-status-ladder { max-width: 420px; }
.pm-status-meta { margin: 0; font-size: 14px; color: var(--color-text-secondary); }
.pm-status-meta a { color: var(--color-text-accent); }
.pm-toc-inline { display: none; border: 1px solid var(--color-border); border-radius: var(--radius-container); }
.pm-toc-inline > summary { cursor: pointer; padding: 12px 16px; min-height: 44px; display: flex; align-items: center; font-weight: 600; list-style: none; }
.pm-toc-inline > summary::-webkit-details-marker { display: none; }
.pm-toc-inline > summary::after { content: '+'; margin-left: auto; font-family: var(--font-family-code); color: var(--color-text-secondary); }
.pm-toc-inline[open] > summary::after { content: '−'; }
.pm-toc-inline nav { display: grid; padding: 0 8px 8px; }
.pm-toc-inline nav a { display: flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--color-text-primary); text-decoration: none; border-top: 1px solid var(--color-border); font-size: 15px; }
@media (max-width: 1040px) { .pm-toc-inline { display: block; } }
.pm-ladder-labels { font-size: 14px; }
.pm-legend { font-size: 14px; }
.pm-block-cap, .pm-sources, .pm-table, .pm-status-meta { font-size: 14px; }
.pm-p, .pm-list li { max-width: 68ch; }
.pm-trials th[scope='row'] { font-weight: 400; text-align: left; }
.pm-trial-name { display: block; font-weight: 600; }
.pm-trial-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.pm-trial-meta a { color: var(--color-text-accent); font-size: 14px; }
.pm-trial-esc { display: block; margin-top: 2px; color: var(--color-text-secondary); font-size: 14px; }
.pm-scroll:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .pm-trials thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pm-trials, .pm-trials tbody, .pm-trials tr, .pm-trials th, .pm-trials td { display: block; width: 100%; }
  .pm-trials tr { border: 1px solid var(--color-border); border-radius: var(--radius-element); padding: 10px 12px; margin-bottom: 10px; }
  .pm-trials th, .pm-trials td { border: 0; padding: 4px 0; text-align: left !important; }
  .pm-trials td::before { content: attr(data-label); display: block; font-size: 14px; color: var(--color-text-secondary); }}
.pm-bar-track { background: var(--color-background-muted); }
.pm-legend i[data-s='b'], .pm-bar[data-s='b'] {
  opacity: 1;
  background: repeating-linear-gradient(135deg, var(--color-text-secondary) 0 3px, color-mix(in srgb, var(--color-text-secondary) 55%, var(--color-background-body)) 3px 6px);
}
.pm-crosstrial { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--color-text-warning); }
@media (max-width: 640px) { .pm-timeline li { grid-template-columns: 1fr; gap: 4px; } }
.pm-scenarios a, .pm-footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.pm-footer-nav a { padding: 0 4px; }
.pm-toc a { min-height: 36px; display: flex; align-items: center; padding: 4px 0; }
@media (pointer: coarse) { .pm-toc a { min-height: 44px; } }
.pm-scenarios a:focus-visible, .pm-toc a:focus-visible, .pm-footer-nav a:focus-visible, .pm-cardlink:focus-visible,
.pm-p a:focus-visible, .pm-cite a:focus-visible, .pm-toc-inline nav a:focus-visible {
  outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) { .pm-scenarios a { transition: none; } }
.pm-checklist li::before { width: 7px; height: 7px; margin-top: 10px; border: 0; border-radius: 50%; background: var(--color-text-secondary); }
.pm-checklist li { grid-template-columns: 16px 1fr; }
.pm-more > summary { grid-template-columns: 1fr 28px; grid-template-areas: 'h icon' 't icon'; row-gap: 2px; }
.pm-more > summary .pm-more-h { grid-area: h; }
.pm-more > summary .pm-more-t { grid-area: t; margin-top: 0; }
.pm-more > summary .pm-faq-icon { grid-area: icon; align-self: center; }
.pm-cite { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-left: 6px; vertical-align: middle; font-size: 14px; }
.pm-cite a { color: var(--color-text-accent); }
.pm-cite > span:not([class]) { color: var(--color-text-secondary); }
.pm-phase-body .pm-cite { margin: 6px 0 0; display: flex; }
.pm-calc-error { margin: 0; padding: 10px 12px; border-radius: var(--radius-element); background: var(--color-error-muted); color: var(--color-on-error-muted); font-weight: 500; }
.pm-calc-warn { margin: 0; padding: 10px 12px; border-radius: var(--radius-element); background: var(--color-warning-muted); color: var(--color-on-warning-muted); }
.pm-textlink { color: var(--color-text-accent); font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 3px; }
.pm-textlink:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }
[data-astryx-theme="peptmentor"] {
  --text-supporting-size: 14px;
  --text-supporting-leading: 1.5;
  --font-size-sm: 14px;
  --font-size-xs: 14px;
  --color-warning-muted: color-mix(in srgb, var(--color-warning) 8%, var(--color-background-body));
  --color-error-muted: color-mix(in srgb, var(--color-error) 8%, var(--color-background-body));
}
h1, h2, h3, h4 { text-wrap: balance; font-weight: 600; }
.pm-article h1, .pm-index h1 { font-size: 36px; line-height: 1.15; }
.pm-article h2, .pm-index h2 { font-size: 28px; line-height: 1.25; }
.pm-article h3, .pm-index h3 { font-size: 22px; line-height: 1.3; }
.pm-p, .pm-list { max-width: 600px; font-size: 17px; line-height: 1.65; font-variant-numeric: tabular-nums; }
.pm-list li { max-width: 100%; }
.pm-list { list-style: disc outside; gap: 12px; }
ol.pm-list { list-style-type: decimal; }
.pm-p strong, .pm-list strong { font-weight: 600; }
.pm-p + .pm-p { margin-top: 4px; } 
.pm-lead { max-width: 600px; font-size: 18px; line-height: 1.55; font-weight: 400; }
.pm-index-intro { margin: 0; max-width: 600px; font-size: 18px; line-height: 1.55; font-weight: 400; color: var(--color-text-secondary); }
.pm-kicker { font-family: var(--font-family-body); font-size: 14px; line-height: 1.5; font-weight: 600; letter-spacing: normal; text-transform: none; }
.pm-ladder-labels, .pm-cite, .pm-toc a, .pm-more-t, .pm-legend, .pm-block-cap,
.pm-footer-nav, .pm-trial-meta a, .pm-trial-esc, .pm-crosstrial, .pm-chart-scale,
.pm-phase-when, .pm-bar-row, .pm-draft, .ax-badge { font-size: 14px; line-height: 1.5; }
.pm-cite .ax-badge { flex-shrink: 0; }
.pm-takeaways .pm-cite { display: flex; margin: 6px 0 0; gap: 6px; }
.pm-article a:not(.pm-cardlink), .pm-p a, .pm-list a, .pm-faq-a a, .pm-sources a,
.pm-block-cap a, .pm-timeline a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pm-article .pm-toc a, .pm-article .pm-toc-inline a, .pm-article .pm-scenarios a, .pm-article .pm-ref a { text-decoration: none; }
.pm-article .pm-ref a:hover { text-decoration: underline; }
.pm-article h2.pm-more-h { font-size: 22px; line-height: 1.3; }
.pm-more > summary { padding-block: 16px; }
.pm-more-group { display: grid; gap: 0; }
.pm-more-group .pm-more { border-bottom: 0; }
.pm-more-group .pm-more:last-child { border-bottom: 1px solid var(--color-border); }
.pm-article-hero { gap: 12px; }
.pm-section-stack { min-width: 0; }
.pm-cardlink, .pm-cardlink > .ax-card { height: 100%; }
.pm-card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pm-single-tool { width: 100%; max-width: 720px; }
.pm-footer { margin-top: 64px; }
.pm-display.pm-display { max-width: 18ch; text-wrap: balance; }

.pm-ladder-stage { display: none; margin: 8px 0 0; font-size: 14px; line-height: 1.5; font-weight: 600; }
.pm-ladder-stage[data-unstudied='true'] { display: block; }
.pm-rung[data-current='true'] { outline: 2px solid var(--color-text-primary); outline-offset: 2px; }
.pm-ladder { margin: 4px 2px 0; }
.pm-stat-value { font-family: var(--font-family-body); font-size: 28px; line-height: 1.15; white-space: nowrap; }
.pm-stat-detail { margin: 6px 0; font-size: 16px; line-height: 1.5; white-space: nowrap; }
.pm-steps li { grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; }
.pm-steps li::before, .pm-tips li::before { font-size: 14px; }
.pm-calc-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pm-calc-value { font-size: 28px; line-height: 1.2; }
.pm-bar { min-width: 0; }
.pm-bar[data-range='true'] { border-inline: 2px solid var(--color-text-primary); border-radius: 0; }
.pm-bar-val { white-space: normal; text-align: right; }
.pm-chart-scale { margin: 0; color: var(--color-text-secondary); }
.pm-note, .pm-cell-note { background: var(--color-background-muted); color: var(--color-text-secondary); font-size: 14px; line-height: 1.5; }
.pm-note { padding: 12px 16px; border-radius: var(--radius-container); }
.pm-note p { margin: 4px 0 0; }
.pm-cell-note { display: block; padding: 6px 8px; border-radius: var(--radius-element); }
.pm-callout .ax-banner { border: 0; }
.pm-callout .ax-banner-title { font-size: 16px; line-height: 1.35; }
.pm-callout .ax-banner-desc { font-size: 14px; line-height: 1.55; }
.pm-callbox { align-items: start; }
.pm-call-qualification { grid-column: 1 / -1; margin: 0; font-size: 16px; line-height: 1.5; }
.pm-phases ol::before { display: none; }
.pm-phases li { grid-template-columns: 170px minmax(0, 1fr); }
.pm-phases li:not(:last-child)::after { content: ''; position: absolute; left: 7px; top: 24px; bottom: -6px; width: 2px; background: var(--color-border); }
.pm-phases li:has(+ [data-group-start='true'])::after { display: none; }
.pm-phases li[data-group-start='true']:not(:first-child) { margin-top: 16px; }
.pm-phase-when { font-family: var(--font-family-body); }
.pm-phase-study { display: block; color: var(--color-text-secondary); margin-top: 4px; }
.pm-table-wrap { position: relative; min-width: 0; }
.pm-table-wrap[data-overflow='true']::after { content: ''; position: absolute; right: 0; top: 28px; bottom: 0; width: 24px; pointer-events: none; background: linear-gradient(to right, transparent, var(--color-background-body)); }
.pm-scroll-cue { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: var(--color-text-secondary); }
.pm-table thead th { white-space: normal; }
.pm-table td { overflow-wrap: break-word; hyphens: manual; }
.pm-trial-esc { font-family: var(--font-family-body); white-space: normal; }
@media (width < 640px) {
  .pm-article h1, .pm-index h1 { font-size: 30px; line-height: 1.15; }
  .pm-article h2, .pm-index h2 { font-size: 24px; line-height: 1.25; }
  .pm-article h3, .pm-index h3, .pm-article h2.pm-more-h { font-size: 20px; line-height: 1.3; }
  .pm-p, .pm-list { font-size: 16px; max-width: 100%; }
  .pm-article .pm-lead, .pm-index-intro { font-size: 17px; line-height: 1.55; }
  .pm-hero-wrap .pm-lead { font-size: 18px; line-height: 1.55; }
  .pm-article-shell, .pm-index-shell { gap: 24px; padding-block: 24px; }
  .pm-section-stack { gap: 24px; }
  .pm-footer { margin-top: 48px; }
  .pm-calc-results { grid-template-columns: 1fr; gap: 16px; }
  .pm-cardlink, .pm-cardlink > .ax-card { height: auto; }
  .pm-ladder-labels { display: none; }
  .pm-ladder-stage { display: block; }
  .pm-scenarios { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .pm-scenarios a { width: 100%; min-height: 44px; padding-block: 8px; border-radius: var(--radius-element); }
  .pm-call-qualification { order: -2; }
  .pm-call-er { order: -1; }
  .pm-phases li { grid-template-columns: 1fr; }
  .pm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pm-table, .pm-table tbody, .pm-table tr, .pm-table th, .pm-table td { display: block; width: 100%; }
  .pm-table tr { border: 1px solid var(--color-border); border-radius: var(--radius-element); padding: 4px 14px; margin-bottom: 10px; }
  .pm-table td, .pm-table th { border: 0; padding: 8px 0; text-align: left !important; }
  .pm-table td { position: relative; padding-left: 44%; min-height: 1.5em; }
  .pm-table td + td, .pm-table:not(.pm-compare) th + td { border-top: 1px solid var(--color-border); }
  .pm-table td::before { content: attr(data-label); position: absolute; left: 0; top: 8px; width: 40%; font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--color-text-secondary); }
  .pm-table:not(.pm-compare) td:first-child { padding-left: 0; font-weight: 600; }
  .pm-table:not(.pm-compare) td:first-child::before { content: none; }
  .pm-compare tbody th { width: 100%; font-weight: 600; color: var(--color-text-primary); border-bottom: 1px solid var(--color-border); margin-bottom: 6px; }
}
.pm-source-key > summary { cursor: pointer; font-size: 14px; min-height: 44px; padding-block: 10px; }
.pm-status .ax-badge-neutral { background: transparent; color: var(--color-text-secondary); border: 1px solid var(--color-border-emphasized); }
.pm-callout .ax-banner { border: 0; box-shadow: none; }
.pm-callout-title { font-size: 16px; line-height: 1.35; }
.pm-callout-description { font-size: 14px; line-height: 1.55; }
.pm-expanded-intro, .pm-tool-meta { margin-top: 16px; }
.pm-named-rows { display: grid; gap: 16px; }
.pm-named-rows > div { padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-container); }
.pm-article .pm-named-rows h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; }
.pm-named-rows .pm-p { font-size: 16px; line-height: 1.65; }
/* ---- Images (AI illustrations; decorative-explanatory, never data) ---- */
.pm-hero-figure { margin: 0; }
.pm-hero-figure img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-container, 12px); background: var(--color-background-muted, #eef2f7); }
.pm-hero-figure figcaption { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--color-text-secondary); }
.pm-steps li[data-has-image] { grid-template-columns: 28px minmax(0, 1fr) 200px; grid-template-rows: auto 1fr; align-items: start; }
.pm-steps li[data-has-image] > .pm-step-img { grid-column: 3; grid-row: 1 / span 2; width: 200px; height: 200px; object-fit: cover; border-radius: 10px; }
@media (width < 640px) {
  .pm-steps li[data-has-image] { grid-template-columns: 28px minmax(0, 1fr); }
  .pm-steps li[data-has-image] > .pm-step-img { grid-column: 2; grid-row: auto; width: 100%; max-width: 320px; height: auto; aspect-ratio: 1; margin-top: 8px; }
}
/* ---- Calculator v2: presets, syringe, comparison ---- */
.pm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--color-border, #d5dbe3); background: var(--color-background-body); color: var(--color-text-primary); font: inherit; font-size: 14px; cursor: pointer; }
.pm-chip:hover { border-color: var(--color-accent); }
.pm-chip[aria-pressed='true'] { background: color-mix(in srgb, var(--color-accent) 10%, transparent); border-color: var(--color-accent); color: var(--color-accent); font-weight: 600; }
.pm-chip:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.pm-syringe { display: block; width: 100%; max-width: 640px; height: auto; }
.pm-syr-barrel { fill: none; stroke: var(--color-text-secondary); stroke-width: 2; }
.pm-syr-fill { fill: color-mix(in srgb, var(--color-accent) 28%, transparent); }
.pm-syr-tick { stroke: var(--color-text-secondary); stroke-width: 1; }
.pm-syr-num { font-family: var(--font-family-code); font-size: 13px; fill: var(--color-text-secondary); }
.pm-syr-needle { stroke: var(--color-text-secondary); stroke-width: 2; }
.pm-syr-hub, .pm-syr-flange, .pm-syr-thumb { fill: var(--color-text-secondary); }
.pm-syr-seal { fill: var(--color-text-primary); }
.pm-syr-rod { stroke: var(--color-text-secondary); stroke-width: 3; opacity: .55; }
.pm-calc-compare caption { caption-side: top; text-align: left; font-size: 14px; line-height: 1.5; color: var(--color-text-secondary); padding-bottom: 8px; }
.pm-calc-compare tr[aria-current='true'] th, .pm-calc-compare tr[aria-current='true'] td { background: color-mix(in srgb, var(--color-accent) 8%, transparent); }
/* ---- Alignment: one left edge for logo, breadcrumbs, article and footer ---- */
.pm-article-single { justify-content: start; }
.pm-calc-row { align-items: end; }
.pm-ladder, .pm-ladder-labels { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 6px; margin-inline: 0; }
.pm-ladder { margin-top: 4px; }
.pm-ladder-labels span { min-width: 0; }
.pm-rung[data-current='true'] { outline-offset: 1px; }
.pm-baseline-row.pm-baseline-row { align-items: baseline; }
.pm-table:not(.pm-calc-compare) :is(th, td):first-child { padding-left: 0; }
.pm-table:not(.pm-calc-compare) :is(th, td):last-child { padding-right: 0; }
.pm-ladder-wrap { container-type: inline-size; }
@container (width < 470px) {
  .pm-ladder-labels { display: none; }
  .pm-ladder-stage { display: block; }
}
/* ---- Footer link columns (2026-11-17) ---- */
.pm-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
}
@media (width < 1000px) { .pm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pm-footer-brand { grid-column: 1 / -1; } }
.pm-footer-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-family-heading); font-weight: 700; font-size: 1.125rem; color: var(--color-text-primary); text-decoration: none; }
.pm-footer-logo img { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.pm-footer-brand p { margin: 10px 0 0; color: var(--color-text-secondary); font-size: var(--font-size-sm); max-width: 340px; }
.pm-footer-col h2 { font-size: var(--font-size-sm); font-weight: 650; margin: 0 0 10px; color: var(--color-text-primary); min-height: 28px; display: flex; align-items: center; }
.pm-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pm-footer-col a, .pm-footer-legal a {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
@media (pointer: coarse) { .pm-footer-col a, .pm-footer-legal a { min-height: 44px; } }
.pm-footer-col a:hover, .pm-footer-legal a:hover { color: var(--color-text-accent); text-decoration: underline; }
.pm-footer-col a:focus-visible, .pm-footer-legal a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

.pm-footer-bar {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}
.pm-footer-bar > span { display: inline-flex; align-items: center; min-height: 32px; }
.pm-footer-legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.pm-agree { padding: 20px; border-radius: var(--radius-container); border: 1px solid var(--color-border); background: var(--color-background-card); display: grid; gap: 14px; }
.pm-agree-summary { margin: 0; line-height: 1.55; }
.pm-agree h3 { margin: 0; font-size: 20px; }
.pm-agree ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; line-height: 1.55; }
.pm-agree-check { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; cursor: pointer; }
.pm-agree-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--color-accent); }
.pm-agree a, .pm-agree .pm-block-cap a { color: var(--color-text-accent); }
.pm-agree-btn { justify-self: start; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--radius-element); background: var(--color-accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.pm-agree-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pm-agree-btn:focus-visible, .pm-agree-check input:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.pm-calc-working { padding: 12px 16px; border-radius: var(--radius-element); background: var(--color-background-muted); }
.pm-calc-working ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.pm-safety { padding: 12px 16px; border-radius: var(--radius-element); border: 1px solid var(--color-border); font-size: 15px; line-height: 1.55; }
.pm-safety p { margin: 0; }
.pm-safety a { color: var(--color-text-accent); }
.hp-status-line { margin: 8px 0 0; font-size: 14px; color: var(--color-text-secondary); }
.hp-status-line a { color: var(--color-text-accent); }
.pm-blog-shell { display: flex; flex-direction: column; gap: 40px; padding-block: 32px 16px; }
.pm-blog-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.pm-blog-head h1 { margin: 0; }
.pm-blog-eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--color-text-accent); }
.pm-blog-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pm-blog-tabs a {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--color-border); color: var(--color-text-primary); text-decoration: none; font-size: 15px; font-weight: 500;
}
.pm-blog-tabs a:hover, .pm-blog-tabs a:focus-visible { border-color: var(--color-accent); }
.pm-blog-tabs span { font-family: var(--font-family-code); font-size: 13px; color: var(--color-text-secondary); }
.pm-post { height: 100%; }
.pm-post-link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid var(--color-border); border-radius: 18px; background: var(--color-background-card);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.pm-post-link:hover, .pm-post-link:focus-visible { border-color: var(--color-accent); }
.pm-post-link:hover { transform: translateY(-2px); }
.pm-post-link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.pm-post-img { aspect-ratio: 3 / 2; overflow: hidden; background: color-mix(in srgb, var(--color-text-primary) 6%, transparent); }
.pm-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.pm-post-link:hover .pm-post-img img { transform: scale(1.03); }
.pm-post-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pm-post-kind {
  align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--color-text-accent);
}
.pm-post-title { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 650; text-wrap: balance; }
.pm-post-link:hover .pm-post-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pm-post-desc {
  margin: 0; font-size: 15px; line-height: 1.55; color: var(--color-text-secondary);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pm-post-meta { margin: auto 0 0; padding-top: 6px; display: flex; gap: 8px; font-size: 14px; color: var(--color-text-secondary); }
.pm-post-featured .pm-post-link { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.pm-post-featured .pm-post-img { aspect-ratio: auto; min-height: 320px; }
.pm-post-featured .pm-post-body { justify-content: center; gap: 12px; padding: 32px; }
.pm-post-featured .pm-post-title { font-size: 30px; line-height: 1.2; }
.pm-post-featured .pm-post-desc { font-size: 17px; -webkit-line-clamp: 4; }
.pm-post-featured .pm-post-meta { margin-top: 4px; }
.pm-blog-group { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 80px; }
.pm-blog-group-head { display: flex; flex-direction: column; gap: 6px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.pm-blog-group-head h2 { margin: 0; }
.pm-blog-group-head p { margin: 0; color: var(--color-text-secondary); font-size: 16px; line-height: 1.5; }
.pm-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 700px) { .pm-post-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .pm-post-featured .pm-post-link { grid-template-columns: 1fr; }
  .pm-post-featured .pm-post-img { aspect-ratio: 3 / 2; min-height: 0; }
  .pm-post-featured .pm-post-body { padding: 20px; }
  .pm-post-featured .pm-post-title { font-size: 24px; }
}
@media (max-width: 560px) {
  .pm-blog-shell { gap: 28px; padding-block: 20px 8px; }
  .pm-post-grid { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-post-link, .pm-post-img img { transition: none; }
  .pm-post-link:hover { transform: none; }
  .pm-post-link:hover .pm-post-img img { transform: none; }
}
/* ---- Compound helper ---- */
.hp-stack { display: flex; flex-direction: column; gap: 64px; padding-block: 40px 64px; }
.hp-sub { color: var(--color-text-secondary); margin: 6px 0 20px; max-width: 640px; }
.hp-eyebrow {
  color: var(--color-text-accent);
  font-weight: 600;
  font-size: var(--font-size-sm);
  margin: 0 0 12px;
}
.hp-kicker { font-family: var(--font-family-heading); font-size: 1.25rem; font-weight: 650; margin: 0 0 16px; }
.hp-soon {
  display: inline-block;
  font-size: var(--font-size-2xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--color-background-muted);
  color: var(--color-text-secondary);
  vertical-align: 2px;
  margin-left: 6px;
}
.hp-note .hp-soon { margin: 0 6px 0 0; }
.hp-note { font-size: var(--font-size-sm); color: var(--color-text-secondary); margin: 10px 0 0; }
.hp-textlink { color: var(--color-text-accent); font-weight: 600; text-decoration: none; display: inline-block; margin-top: 10px; }
.hp-textlink:hover { text-decoration: underline; }
.hp-src { display: inline-block; margin-top: 10px; font-size: var(--font-size-xs); color: var(--color-text-secondary); }
.hp-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; }
.hp-card-foot > .hp-src, .hp-card-foot > .hp-textlink { margin-top: 0; }
.hp-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
}
.hp-icon svg { width: 24px; height: 24px; }
.hp-icon-brand { background: color-mix(in srgb, var(--pm-brand-from) 16%, transparent); color: var(--pm-brand-to); }
.hp-icon-calm { background: var(--color-background-blue); color: var(--color-icon-blue); }
.hp-icon-green { background: var(--color-background-green); color: var(--color-icon-green); }
.hp-icon-alert { background: var(--color-background-red); color: var(--color-icon-red); }
.hp-hero {
  background:
    radial-gradient(1000px 420px at 85% -10%, color-mix(in srgb, var(--pm-brand-from) 22%, transparent), transparent 70%),
    radial-gradient(700px 360px at 0% 0%, var(--color-background-blue), transparent 70%);
  padding-block: 56px 48px;
}
.hp-hero-grid { max-width: 780px; margin-bottom: 40px; }
.hp-lead { max-width: 620px; margin-top: 20px; }
.hp-c-head .pm-lead { margin-top: 16px; }
.hp-doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (width < 1000px) { .hp-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 560px) { .hp-doors { grid-template-columns: 1fr; } }
.hp-door {
  background: var(--color-background-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px -12px rgb(0 0 0 / 0.12);
  border-top: 4px solid var(--door);
}
.hp-door-brand { --door: var(--pm-brand-from); }
.hp-door-calm { --door: var(--color-icon-blue); }
.hp-door-green { --door: var(--color-icon-green); }
.hp-door-alert { --door: var(--color-icon-red); }
.hp-door h3 { margin: 4px 0 0; font-size: 1.125rem; }
.hp-door p { margin: 0; color: var(--color-text-secondary); flex: 1; }
.hp-door ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }
.hp-door a { color: var(--color-text-accent); font-weight: 600; text-decoration: none; }
.hp-door a:hover { text-decoration: underline; }
.hp-goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (width < 900px) { .hp-goals { grid-template-columns: 1fr; } }
.hp-goal { border: 1px solid var(--color-border); border-radius: 18px; padding: 20px; background: var(--color-background-card); }
.hp-goal h3 { margin: 0 0 12px; font-size: 1.0625rem; }
.hp-goal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hp-goal li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--color-border); }
.hp-goal li:first-child { border-top: 0; }
.hp-goal a { font-weight: 600; color: var(--color-text-primary); text-decoration: none; }
.hp-goal a:hover { color: var(--color-text-accent); }
.hp-sure {
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.sure-4, .sure-3 { background: var(--color-background-green); color: var(--color-text-green); }
.sure-2 { background: var(--color-background-yellow); color: var(--color-text-yellow); }
.sure-1, .sure-0 { background: var(--color-background-orange); color: var(--color-text-orange); }

.sure-x { background: var(--color-background-muted); color: var(--color-text-secondary); }
.hp-tools-band {
  padding: 32px 28px;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-text-primary) 3%, var(--color-background-body));
}
@media (width < 560px) { .hp-tools-band { padding: 24px 16px; border-radius: 18px; } }
.hp-tools-band .hp-sub { margin-bottom: 20px; }
.hp-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (width < 900px) { .hp-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 560px) { .hp-tools { grid-template-columns: 1fr; } }
.hp-tool {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--color-text-primary) 16%, transparent);
  background: var(--color-background-card);
  box-shadow: 0 10px 28px -18px rgb(0 0 0 / 0.45);
  color: inherit;
  text-decoration: none;
}
.hp-tool h3 { margin: 0 0 4px; font-size: 1rem; }
.hp-tool p { margin: 0; color: var(--color-text-secondary); font-size: var(--font-size-sm); }
.hp-tool-live { border-color: color-mix(in srgb, var(--pm-brand-from) 45%, var(--color-border)); }
.hp-tool-live:hover { border-color: var(--pm-brand-from); }
.hp-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (width < 900px) { .hp-split { grid-template-columns: 1fr; } }
.hp-path { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hp-path li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-background-card);
}
.hp-path-n {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pm-brand-gradient); color: #fff; font-weight: 700; font-size: var(--font-size-sm);
}
.hp-path-t a { color: var(--color-text-primary); font-weight: 600; text-decoration: none; }
.hp-path-t a:hover { color: var(--color-text-accent); }
.hp-path-m { color: var(--color-text-secondary); font-size: var(--font-size-sm); }
.hp-care {
  border-radius: 20px;
  padding: 24px;
  background: color-mix(in srgb, var(--color-icon-green) 7%, var(--color-background-card));
  border: 1px solid var(--color-background-green);
}
.hp-care h3 { margin: 14px 0 8px; font-size: 1.125rem; }
.hp-care p { margin: 0; }
.hp-care-wide { display: flex; gap: 16px; margin-top: 16px; }
.hp-care-wide h3 { margin-top: 0; }
.hp-trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 20px;
  background: var(--color-background-muted);
}
@media (width < 900px) { .hp-trust { grid-template-columns: 1fr; } }
.hp-trust h2 { margin: 0 0 4px; font-size: 1.125rem; }
.hp-trust p { margin: 0; color: var(--color-text-secondary); font-size: var(--font-size-sm); }
.hp-trust ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: var(--font-size-sm); }
.hp-trust li::before { content: '✓'; color: var(--color-icon-green); font-weight: 700; margin-right: 8px; }
.hp-compound { gap: 40px; padding-top: 24px; }
.hp-crumbs { font-size: var(--font-size-sm); color: var(--color-text-secondary); }
.hp-crumbs a { color: var(--color-text-secondary); }
.hp-crumbs span { margin-inline: 4px; }
.hp-c-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (width < 900px) { .hp-c-head { grid-template-columns: 1fr; } }
.hp-c-fig { margin: 0; position: relative; }
.hp-c-fig img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; display: block; }
.hp-c-fig figcaption { position: absolute; left: 10px; bottom: 10px; font-size: var(--font-size-2xs); background: rgb(0 0 0 / 0.55); color: #fff; padding: 2px 8px; border-radius: 999px; }
.hp-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-background-card);
  margin-top: -8px;
}
.hp-facts > div { padding: 16px 18px; display: grid; gap: 6px; align-content: start; border-left: 1px solid var(--color-border); }
.hp-facts > div:first-child { border-left: 0; }
@media (width < 900px) {
  .hp-facts { grid-template-columns: 1fr 1fr; }
  .hp-facts > div:nth-child(3) { border-left: 0; }
  .hp-facts > div:nth-child(n + 3) { border-top: 1px solid var(--color-border); }
}
.hp-fact-k { font-size: var(--font-size-xs); color: var(--color-text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.hp-fact-v { font-weight: 650; }
.hp-v-warn { color: var(--color-text-orange); }
.hp-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (width < 700px) { .hp-tabs { grid-template-columns: 1fr 1fr; } }
.hp-tab {
  text-align: left;
  font: inherit;
  cursor: pointer;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-background-card);
  color: var(--color-text-primary);
  display: grid;
  gap: 2px;
}
.hp-tab:hover { border-color: var(--color-border-emphasized); }
.hp-tab-l { font-weight: 650; }
.hp-tab-h { font-size: var(--font-size-sm); color: var(--color-text-secondary); }
.hp-tab-thinking { --tab: var(--color-icon-blue); }
.hp-tab-starting { --tab: var(--pm-brand-from); }
.hp-tab-on-it { --tab: var(--color-icon-green); }
.hp-tab-off { --tab: var(--color-icon-red); }
.hp-tab[aria-selected='true'] {
  border-color: var(--tab);
  box-shadow: inset 0 -4px 0 var(--tab);
  background: color-mix(in srgb, var(--tab) 8%, var(--color-background-card));
}
.hp-panel { margin-top: 20px; }
.hp-panel-lead { font-size: 1.125rem; margin: 0 0 16px; max-width: 680px; }
.hp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (width < 700px) { .hp-cards { grid-template-columns: 1fr; } }
.hp-card {
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 20px;
  background: var(--color-background-card);
  scroll-margin-top: 90px;
}
.hp-card h3 { margin: 0 0 8px; font-size: 1.0625rem; }
.hp-card p { margin: 0 0 8px; }
.hp-card p:last-child { margin-bottom: 0; }
.hp-card-warn { border-left: 4px solid var(--color-border-yellow); }
.hp-card-alert { border-left: 4px solid var(--color-icon-red); }
.hp-card-calm { border-left: 4px solid var(--color-icon-blue); }
.hp-dots { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.hp-ask { margin-top: 16px; padding: 20px; border-radius: 18px; background: var(--color-background-muted); scroll-margin-top: 90px; }
.hp-ask h3 { margin: 0 0 10px; font-size: 1.0625rem; }
.hp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hp-checks li { padding-left: 28px; position: relative; }
.hp-checks li::before {
  content: '';
  position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 5px;
  border: 2px solid var(--color-border-emphasized);
}
.hp-panel .pm-safety { margin-bottom: 16px; }
.hp-urgent {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 18px;
  margin-bottom: 16px;
  background: color-mix(in srgb, var(--color-icon-red) 7%, var(--color-background-card));
  border: 1px solid var(--color-background-red);
}
.hp-urgent h3 { margin: 0 0 8px; color: var(--color-text-red); }
.hp-care-wide, #safer { scroll-margin-top: 90px; }
.hp-science ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
@media (width < 700px) { .hp-science ul { grid-template-columns: 1fr; } }
.hp-science li { border-top: 1px solid var(--color-border); }
.hp-science a { display: flex; justify-content: space-between; padding: 12px 0; color: var(--color-text-primary); text-decoration: none; font-weight: 500; }
.hp-science a:hover { color: var(--color-text-accent); }
.hp-foot { font-size: var(--font-size-sm); color: var(--color-text-secondary); margin: 0; }
.hp-dots > li { list-style: disc; }
.hp-dots > li::marker { color: var(--color-text-secondary); }
@media (width < 700px) {
  .hp-urgent, .hp-care-wide { flex-direction: column; gap: 12px; }
}
/* ---- Images (round 2) ---- */
.hp-fig { margin: 0; position: relative; }
.hp-fig img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 20px; }
.hp-fig figcaption { position: absolute; left: 10px; bottom: 10px; font-size: var(--font-size-2xs); background: rgb(0 0 0 / 0.55); color: #fff; padding: 2px 8px; border-radius: 999px; }
.hp-hero-grid { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hp-hero-fig img { aspect-ratio: 4 / 3; box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.25); }
@media (width < 900px) { .hp-hero-grid { grid-template-columns: 1fr; gap: 24px; } .hp-hero-fig img { aspect-ratio: 16 / 9; } }
.hp-door { padding: 0; overflow: hidden; gap: 0; }
.hp-door > :not(.hp-door-img) { margin-inline: 20px; }
.hp-door > ul { margin-bottom: 20px; }
.hp-door h3 { margin-top: 18px; }
.hp-door p { margin-top: 6px; }
.hp-door-img { position: relative; }
.hp-door-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hp-door-img .hp-icon { position: absolute; left: 16px; bottom: -22px; background: var(--color-background-card); box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.25); }
.hp-door-img + h3 { margin-top: 30px; }
@media (width < 560px) { .hp-door-img img { aspect-ratio: 16 / 9; } }
.hp-goal { padding: 0; overflow: hidden; }
.hp-goal > h3, .hp-goal > ul { margin-inline: 20px; }
.hp-goal > ul { margin-bottom: 16px; }
.hp-goal h3 { margin-top: 16px; }
.hp-goal-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hp-tool { flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.hp-tool-body { display: flex; gap: 14px; padding: 16px 18px 18px; }
.hp-tool-demo {
  width: 100%;
  height: 148px;
  flex: none;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  padding: 14px;
  background: color-mix(in srgb, var(--pm-brand-from) 9%, var(--color-background-card));
  border-bottom: 1px solid color-mix(in srgb, var(--pm-brand-from) 18%, var(--color-border));
}
.hp-demo { display: grid; gap: 10px; justify-items: center; width: 100%; max-width: 260px; }
.hp-demo-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; }
.hp-demo-small { justify-content: space-between; width: 100%; font-size: var(--font-size-2xs); color: var(--color-text-secondary); }

.hp-pill { font-family: var(--font-family-code); font-size: var(--font-size-xs); padding: 4px 8px; border-radius: 8px; background: var(--color-background-card); border: 1px solid var(--color-border); white-space: nowrap; }
.hp-pill-hi { border-color: var(--color-border-orange); color: var(--color-text-orange); font-weight: 650; }
.hp-op { color: var(--color-text-secondary); font-weight: 700; }
.hp-syr { width: 100%; max-width: 220px; }
.hp-syr-barrel { fill: var(--color-background-card); stroke: var(--color-border-emphasized); }
.hp-syr-fill { fill: color-mix(in srgb, var(--pm-brand-from) 45%, transparent); }
.hp-syr-tick { stroke: var(--color-text-secondary); stroke-width: 1; }
.hp-syr-rod { fill: var(--color-border-emphasized); }
.hp-search { width: 100%; padding: 7px 12px; border-radius: 999px; background: var(--color-background-card); border: 1px solid var(--color-border-emphasized); font-size: var(--font-size-sm); }
.hp-search span { color: var(--color-text-secondary); margin-right: 6px; }
.hp-tag { font-size: var(--font-size-2xs); font-weight: 650; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.hp-tag-amber { background: var(--color-background-yellow); color: var(--color-text-yellow); }
.hp-tag-blue { background: var(--color-background-blue); color: var(--color-text-blue); }
.hp-tag-red { background: var(--color-background-red); color: var(--color-text-red); }
.hp-tag-green { background: var(--color-background-green); color: var(--color-text-green); }
.hp-spark { width: 100%; }
.hp-spark-line { fill: none; stroke: var(--pm-brand-to); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hp-spark-dot { fill: var(--color-background-card); stroke: var(--pm-brand-to); stroke-width: 2; }
.hp-spark-axis { stroke: var(--color-border); }
.hp-qline { display: flex; gap: 8px; align-items: center; width: 100%; }
.hp-qbox { width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--color-border-emphasized); flex: none; }
.hp-qbar { height: 8px; border-radius: 999px; background: var(--color-border); }
.hp-learn-fig { margin-bottom: 16px; }
.hp-learn-fig img { aspect-ratio: 21 / 9; }
.hp-care { padding: 0; overflow: hidden; }
.hp-care > :not(.hp-care-img) { margin-inline: 24px; }
.hp-care > .hp-icon { margin-top: -22px; position: relative; background: var(--color-background-card); box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.25); }
.hp-care > a { margin-bottom: 24px; }
.hp-care-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.hp-care-wide { padding: 24px; }
.hp-care-wide > * { margin-inline: 0 !important; }
.hp-care-wide > .hp-icon { margin-top: 0; }
.hp-tab { grid-template-columns: 48px 1fr; column-gap: 12px; align-items: center; }
.hp-tab-img { grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.hp-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--tab-color, var(--color-icon-blue)) 6%, var(--color-background-card));
}
.hp-panel-title { margin: 0 0 8px; font-size: 1.5rem; }
.hp-panel-head .hp-panel-lead { margin: 0; }
.hp-panel-fig img { aspect-ratio: 4 / 3; }
@media (width < 700px) {
  .hp-panel-head { grid-template-columns: 1fr; }
  .hp-panel-fig { order: -1; }
  .hp-panel-fig img { aspect-ratio: 16 / 9; }
}
/* ---- Round 3: calmer, more grown-up ---- */
.hp-hero {
  background: linear-gradient(180deg, color-mix(in srgb, #a8a29e 10%, var(--color-background-body)), var(--color-background-body));
}
.hp-door { border-top: 1px solid var(--color-border); box-shadow: 0 1px 2px rgb(0 0 0 / 0.04); }
.hp-door:hover { border-color: var(--color-border-emphasized); }
.hp-icon { border-radius: 50%; }
.hp-path-n { background: var(--color-background-inverted); color: var(--color-background-card); }
.hp-tab[aria-selected='true'] { background: var(--color-background-card); }
.hp-panel-head { background: var(--color-background-muted); }
.hp-fig img, .hp-door-img img, .hp-goal-img img, .hp-care-img img { filter: saturate(0.95); }
.hp-c-fig img { aspect-ratio: 3 / 2; }
.hp-goal-img, .hp-care-img { position: relative; }
.hp-ai { position: absolute; right: 10px; top: 10px; font-size: var(--font-size-2xs); background: rgb(0 0 0 / 0.5); color: #fff; padding: 2px 8px; border-radius: 999px; }
/* ---- Round 4: photos only in hero + goals (competitor pattern) ---- */
.hp-door { padding: 22px; gap: 10px; }
.hp-door > :not(.hp-door-img) { margin-inline: 0; }
.hp-door > ul { margin-bottom: 0; }
.hp-door h3 { margin-top: 4px; }
.hp-door > .hp-icon { background: color-mix(in srgb, var(--door) 12%, transparent); box-shadow: none; }
.hp-care { padding: 24px; }
.hp-care > :not(.hp-care-img) { margin-inline: 0; }
.hp-care > .hp-icon { margin-top: 0; box-shadow: none; }
.hp-care > a { margin-bottom: 0; }
.hp-tab { grid-template-columns: 1fr; }
.hp-panel-head { grid-template-columns: 1fr; padding: 0; background: none; margin-bottom: 16px; }
/* ---- Compound pages (live) ---- */
.hp-compound { display: flex; flex-direction: column; gap: 32px; }
.hp-compound .hp-facts { margin-top: 0; }
.hp-c-h1.hp-c-h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.08; margin: 0 0 16px; }
.hp-c-head .pm-lead { margin: 0; }
.hp-panel-head { gap: 8px; }
.hp-panel { margin-top: 24px; }
.hp-panel[hidden] { display: none; }
.hp-stages .hp-kicker { margin-bottom: 12px; }
.hp-home-h1.hp-home-h1 { font-size: clamp(2.25rem, 1.1rem + 3.2vw, 3.75rem); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.hp-c-h1.hp-c-h1 { font-size: clamp(1.875rem, 1.1rem + 2.1vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; }
@media (max-height: 500px) and (orientation: landscape) {
  .hp-home-h1.hp-home-h1 { font-size: 2.25rem; }
  .hp-c-h1.hp-c-h1 { font-size: 1.875rem; }
  .hp-hero { padding-block: 32px; }
}
.hp-h2 { font-family: var(--font-family-heading); font-size: 1.75rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 20px; text-wrap: balance; }
.hp-stack h2, .hp-compound h2 { text-wrap: balance; }
.hp-panel-title { font-size: 1.5rem; line-height: 1.3; letter-spacing: -0.01em; }
.hp-kicker { font-size: 1.25rem; line-height: 1.35; font-weight: 600; }
.hp-door h3, .hp-goal h3, .hp-tool h3, .hp-card h3, .hp-ask h3, .hp-care h3, .hp-urgent h3 {
  font-size: 1.125rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.005em; text-wrap: balance;
}
.hp-door p, .hp-card p, .hp-care p, .hp-dots, .hp-checks, .hp-tool p { font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
.hp-tool p { font-size: 0.9375rem; }
.hp-sub, .hp-panel-lead { line-height: 1.55; text-wrap: pretty; max-width: 62ch; }
.hp-lead, .hp-c-head .pm-lead { max-width: 60ch; text-wrap: pretty; }
.hp-eyebrow { letter-spacing: 0.01em; }
.hp-fact-v { line-height: 1.4; }
.hp-doors { grid-auto-rows: auto; row-gap: 16px; }
.hp-door { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 10px; align-content: start; }
.hp-door h3 { margin: 4px 0 0; }
.hp-door p { margin: 0; }
.hp-door ul { margin: 0; align-self: end; }
@media (width < 1100px) { .hp-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 560px) {
  .hp-doors { grid-template-columns: 1fr; }
  .hp-door { grid-row: auto; display: flex; padding: 18px; gap: 8px; }
  .hp-door ul { align-self: stretch; margin-top: 4px; }
}
@media (width >= 720px) and (width < 900px) {
  .hp-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; }
  .hp-hero-fig img { aspect-ratio: 4 / 3; }
  .hp-c-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; }
}
.hp-goal li { min-height: 44px; }
@media (width < 1100px) {
  .hp-trust { grid-template-columns: 1fr; gap: 16px; }
  .hp-trust > :last-child { justify-self: start; }
}
@media (width >= 700px) and (width < 1100px) {
  .pm-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pm-footer-brand { grid-column: 1 / -1; }
  .pm-footer-brand p { max-width: 60ch; }
}
.hp-path-t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.hp-path-t .hp-soon { margin-left: 0; }
/* ---- Round 5: photos on the "already using" card and the trust band ---- */
.hp-care-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.hp-care-photo > :not(.hp-care-img) { margin-inline: 24px; }
.hp-care-photo .hp-care-img img { aspect-ratio: auto; height: 150px; object-position: center 4%; }
@media (width < 900px) { .hp-care-photo .hp-care-img img { height: auto; aspect-ratio: 16 / 9; } }
.hp-care-photo > .hp-icon { margin-top: -22px; position: relative; background: var(--color-background-card); box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.25); }
.hp-care-photo > a { margin-bottom: 24px; margin-top: 14px; align-self: flex-start; }
.hp-trust-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.hp-trust-fig img { aspect-ratio: 3 / 2; }
.hp-trust-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hp-trust-body .hp-sub { margin: 0; }
.hp-trust-list { margin: 4px 0 8px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 1rem; }
.hp-trust-list li { display: flex; align-items: baseline; gap: 10px; }
.hp-trust-list li::before { content: '✓'; color: var(--color-icon-green); font-weight: 700; }
@media (width < 900px) { .hp-trust-split { grid-template-columns: 1fr; gap: 20px; } }

/* ---- Calculator tools (engine tools vial-calculator, blend-calculator) ---- */
[data-gf-tool] [hidden] { display: none !important; }
.pm-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: var(--radius-element, 10px); background: var(--color-background-muted); width: fit-content; max-width: 100%; }
.pm-seg button { min-height: 40px; padding: 0 14px; border: 0; border-radius: calc(var(--radius-element, 10px) - 3px); background: transparent; color: var(--color-text-secondary); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.pm-seg button[aria-pressed='true'] { background: var(--color-background-card); color: var(--color-text-primary); box-shadow: 0 1px 2px rgba(0,0,0,.08), inset 0 0 0 1px var(--color-border); }
.pm-seg button:focus-visible, .pm-field input:focus-visible, .pm-blend-row button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.pm-field { display: grid; gap: 4px; font-size: 15px; font-weight: 500; }
.pm-field small { font-size: 14px; font-weight: 400; color: var(--color-text-secondary); }
.pm-field input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--color-border-emphasized); border-radius: var(--radius-element, 10px); background: var(--color-background-card); color: var(--color-text-primary); font: inherit; font-size: 17px; font-variant-numeric: tabular-nums; }
.pm-calc-2col { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.pm-calc .pm-calc-results .ax-v { gap: 2px; }
.pm-blend-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.pm-blend-row .pm-field { flex: 1 1 160px; }
.pm-blend-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
