    :root {
      color-scheme: light;
      --bg: #f4efe8;
      --bg-soft: #f8f5f0;
      --bg-panel: rgba(255, 252, 248, 0.88);
      --bg-panel-strong: #fffdfa;
      --bg-tint: #ece7ef;
      --ink: #2b2a2d;
      --ink-soft: #5f6062;
      --line: rgba(54, 56, 53, 0.12);
      --line-strong: rgba(54, 56, 53, 0.22);
      --sage: #83907f;
      --sage-deep: #5f6c5c;
      --lavender: #817697;
      --lavender-soft: #ebe6f2;
      --gold: #b89d69;
      --gold-soft: #efe5cf;
      --brown: #94755d;
      --orange-soft: #f1ddd0;
      --charcoal: #2f3431;
      --shadow: 0 24px 64px rgba(58, 53, 45, 0.08);
      --shadow-soft: 0 18px 38px rgba(58, 53, 45, 0.05);
      --radius-xl: 32px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --shell: min(1200px, calc(100% - 32px));
      --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
      --font-serif: "Shippori Mincho", "Yu Mincho", serif;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-width: 320px;
      color: var(--ink);
      background:
        radial-gradient(circle at top left, rgba(129, 118, 151, 0.11), transparent 28%),
        radial-gradient(circle at 100% 10%, rgba(131, 144, 127, 0.11), transparent 24%),
        linear-gradient(180deg, #faf7f2 0%, #f4efe8 38%, #f2ede7 100%);
      font-family: var(--font-sans);
      line-height: 1.78;
      letter-spacing: 0.01em;
      overflow-x: hidden;
    }

    body::before {
      position: fixed;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(43, 42, 45, 0.02) 1px, transparent 1px),
        linear-gradient(180deg, rgba(43, 42, 45, 0.015) 1px, transparent 1px);
      background-size: 34px 34px;
      mask: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58) 16%, rgba(0, 0, 0, 0.58) 86%, transparent);
      content: "";
      pointer-events: none;
      z-index: -1;
      opacity: 0.55;
    }

    img,
    svg {
      display: block;
      max-width: 100%;
    }

    button,
    input,
    textarea,
    select {
      font: inherit;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    h1,
    h2,
    h3,
    h4,
    p,
    ul,
    li,
    figure,
    dl,
    dd {
      margin: 0;
    }

    ul {
      padding-left: 1.2em;
    }

    .shell {
      width: var(--shell);
      margin: 0 auto;
    }

    .hero,
    .section {
      position: relative;
    }

    .hero {
      padding: clamp(44px, 6vw, 76px) 0 86px;
      overflow: hidden;
    }

    .hero::before,
    .hero::after {
      position: absolute;
      content: "";
      pointer-events: none;
      z-index: 0;
    }

    .hero::before {
      inset: 0;
      border-radius: 0;
      filter: contrast(1.05) brightness(0.98);
      background:
        linear-gradient(
          90deg,
          rgba(250, 247, 242, 0.88) 0%,
          rgba(250, 247, 242, 0.48) 38%,
          rgba(250, 247, 242, 0.00) 100%
        ),
        url("../images/hero-ifra-world-map.jpg") center right / cover no-repeat;
      opacity: 1;
    }

    .hero::after {
      inset: 0;
      width: auto;
      height: auto;
      border-radius: 0;
      background:
        radial-gradient(circle at 78% 46%, rgba(129, 118, 151, 0.12), transparent 36%),
        radial-gradient(circle at 92% 70%, rgba(184, 157, 105, 0.10), transparent 34%);
      filter: blur(18px);
    }

    .hero__grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
      gap: clamp(28px, 5vw, 52px);
      align-items: center;
    }

    .eyebrow,
    .section-label,
    .mini-label,
    .stat-card__label,
    .callout-card__index,
    .oil-card__botanical,
    .resource-card__date {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--lavender);
      font-size: 0.74rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .eyebrow {
      margin-bottom: 18px;
      padding: 8px 14px;
      border: 1px solid rgba(129, 118, 151, 0.16);
      border-radius: 999px;
      background: rgba(255, 252, 249, 0.72);
    }

    .eyebrow::before,
    .section-label::before {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--lavender) 0%, #cabfda 100%);
      content: "";
    }

    .section-label {
      margin-bottom: 12px;
    }

    h1,
    h2,
    h3,
    h4 {
      font-family: var(--font-serif);
      line-height: 1.22;
      letter-spacing: 0.02em;
    }

    .hero h1 {
      max-width: 10.5ch;
      font-size: clamp(3rem, 7.4vw, 5.4rem);
      line-height: 1.08;
    }

    .hero-title-line {
      display: block;
      white-space: nowrap;
    }

    .hero__lead {
      max-width: 23ch;
      margin-top: 18px;
      color: rgba(43, 42, 45, 0.88);
      font-size: clamp(1.12rem, 2.4vw, 1.46rem);
      line-height: 1.9;
      text-wrap: balance;
    }

    .hero__lead-line {
      display: block;
    }

    .section-title-line {
      display: block;
    }

    .hero__body {
      max-width: 62ch;
      margin-top: 20px;
      color: var(--ink-soft);
      font-size: 1rem;
    }

    .hero__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 30px;
    }

    .button,
    .chip-button,
    .filter-chip,
    .toggle-button,
    .risk-lane__chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0 18px;
      border: 1px solid var(--line-strong);
      border-radius: 999px;
      background: rgba(255, 252, 249, 0.78);
      color: var(--ink);
      cursor: pointer;
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease;
    }

    .button,
    .toggle-button {
      font-size: 0.92rem;
      font-weight: 700;
    }

    .button:hover,
    .button:focus-visible,
    .chip-button:hover,
    .chip-button:focus-visible,
    .filter-chip:hover,
    .filter-chip:focus-visible,
    .toggle-button:hover,
    .toggle-button:focus-visible,
    .risk-lane__chip:hover,
    .risk-lane__chip:focus-visible {
      border-color: rgba(129, 118, 151, 0.38);
      outline: none;
      transform: translateY(-1px);
      box-shadow: 0 14px 26px rgba(58, 53, 45, 0.08);
    }

    .button--primary,
    .toggle-button.is-active,
    .chip-button.is-active,
    .filter-chip.is-active,
    .risk-lane__chip.is-active {
      border-color: rgba(95, 108, 92, 0.54);
      background: linear-gradient(135deg, var(--sage-deep) 0%, var(--lavender) 100%);
      color: #fcfbff;
      box-shadow: 0 18px 30px rgba(95, 108, 92, 0.16);
    }

    .chip-button,
    .filter-chip,
    .risk-lane__chip {
      min-height: 34px;
      padding: 4px 12px;
      font-size: 0.82rem;
      font-weight: 700;
    }

    .hero-panel,
    .section-card,
    .diagram-card,
    .tool-card,
    .oil-card,
    .list-card,
    .resource-card,
    .scenario-card,
    .callout-card,
    .risk-lane,
    .search-result-card,
    .cta-strip {
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: var(--bg-panel);
      box-shadow: var(--shadow);
      backdrop-filter: blur(10px);
    }

    .hero-panel {
      align-self: end;
      justify-self: end;
      width: min(100%, 470px);
      padding: 16px 18px;
      border: 1px solid rgba(54, 56, 53, 0.08);
      border-radius: 22px;
      background: rgba(255, 252, 248, 0.42);
      box-shadow: 0 18px 42px rgba(58, 53, 45, 0.035);
      backdrop-filter: blur(6px);
      transform: translateY(42px);
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0;
      margin-top: 0;
    }

    .stat-card {
      min-height: auto;
      padding: 8px 14px;
      border: none;
      border-right: 1px solid rgba(54, 56, 53, 0.12);
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }

    .stat-card:last-child {
      border-right: none;
    }

    .stat-card__value {
      margin-top: 6px;
      font-family: var(--font-serif);
      font-size: 1.7rem;
      line-height: 1;
    }

    .stat-card__text {
      margin-top: 5px;
      color: rgba(43, 42, 45, 0.58);
      font-size: 0.74rem;
      line-height: 1.5;
    }

    .stat-card__label {
      font-size: 0.64rem;
      letter-spacing: 0.14em;
    }

    .section {
      padding: 0 0 82px;
      scroll-margin-top: 92px;
    }

    .hero + .section {
      padding-top: clamp(84px, 10vw, 110px);
    }

    .section:last-of-type {
      padding-bottom: 92px;
    }

    .section-head {
      max-width: 760px;
      margin-bottom: 26px;
    }

    .section-head h2 {
      font-size: clamp(2rem, 4vw, 3rem);
      white-space: nowrap;
    }

    .section-head h2.section-title--nowrap {
      white-space: nowrap;
    }

    .section-head p {
      margin-top: 14px;
      color: var(--ink-soft);
      font-size: 1rem;
    }

    .classification-grid,
    .quick-chart,
    .callout-layout,
    .risk-grid,
    .alternative-grid,
    .scenario-grid,
    .resource-grid,
    .tool-grid {
      display: grid;
      gap: 18px;
    }

    .classification-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .usage-diagram {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      grid-template-areas:
        "skin center space"
        ". wash .";
      gap: 18px 20px;
      align-items: center;
      justify-items: center;
      margin-bottom: 24px;
      padding: clamp(22px, 3vw, 30px);
      border: 1px solid var(--line);
      border-radius: 28px;
      background:
        radial-gradient(circle at top center, rgba(235, 230, 242, 0.74), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 241, 236, 0.88));
      overflow: hidden;
    }

    .usage-diagram::before {
      position: absolute;
      inset: 24px;
      border: 1px solid rgba(129, 118, 151, 0.12);
      border-radius: 24px;
      content: "";
      pointer-events: none;
    }

    .usage-diagram__center {
      position: relative;
      z-index: 1;
      grid-area: center;
      display: grid;
      place-items: center;
      width: clamp(126px, 14vw, 154px);
      aspect-ratio: 1;
      padding: 18px;
      border: 1px solid rgba(129, 118, 151, 0.22);
      border-radius: 50%;
      background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.96), rgba(244, 239, 248, 0.74)),
        linear-gradient(135deg, rgba(131, 144, 127, 0.08), rgba(129, 118, 151, 0.1));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 18px 32px rgba(58, 53, 45, 0.06);
      color: var(--ink);
      font-family: var(--font-serif);
      font-size: clamp(1rem, 2vw, 1.16rem);
      text-align: center;
      line-height: 1.5;
    }

    .usage-diagram__item {
      position: relative;
      z-index: 1;
      width: min(100%, 240px);
      min-height: 102px;
      display: grid;
      gap: 8px;
      align-content: center;
      padding: 18px 20px;
      border: 1px solid rgba(129, 118, 151, 0.16);
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.86);
      box-shadow: 0 14px 24px rgba(58, 53, 45, 0.05);
      color: var(--ink);
      font-size: 1rem;
      font-weight: 700;
      text-align: center;
    }

    .usage-diagram__item span {
      color: var(--ink-soft);
      font-size: 0.85rem;
      font-weight: 500;
      line-height: 1.7;
    }

    .usage-diagram__item--skin {
      grid-area: skin;
      border-color: rgba(129, 118, 151, 0.18);
      background: linear-gradient(180deg, rgba(242, 237, 247, 0.92), rgba(255, 255, 255, 0.88));
    }

    .usage-diagram__item--wash {
      grid-area: wash;
      border-color: rgba(131, 144, 127, 0.18);
      background: linear-gradient(180deg, rgba(232, 238, 231, 0.88), rgba(255, 255, 255, 0.9));
    }

    .usage-diagram__item--space {
      grid-area: space;
      border-color: rgba(184, 157, 105, 0.18);
      background: linear-gradient(180deg, rgba(245, 238, 224, 0.88), rgba(255, 255, 255, 0.9));
    }

    .diagram-card,
    .section-card {
      padding: clamp(20px, 3vw, 28px);
    }

    .diagram-card__icon {
      display: inline-grid;
      place-items: center;
      width: 48px;
      height: 48px;
      border-radius: 14px;
      font-size: 1.18rem;
      font-weight: 700;
      color: var(--sage-deep);
      background: linear-gradient(135deg, rgba(131, 144, 127, 0.16), rgba(239, 229, 207, 0.4));
    }

    .diagram-card h3,
    .section-card h3 {
      margin-top: 16px;
      font-size: 1.36rem;
    }

    .diagram-card p,
    .section-card p {
      margin-top: 10px;
      color: var(--ink-soft);
      font-size: 0.94rem;
    }

    .pill-row,
    .filter-row,
    .toggle-row,
    .meta-row,
    .search-result__checks,
    .card-tags,
    .card-links,
    .scenario-tags,
    .tool-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .pill,
    .meta-pill,
    .tag,
    .note-pill {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 4px 12px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255, 252, 249, 0.78);
      color: var(--ink-soft);
      font-size: 0.82rem;
      font-weight: 700;
    }

    .meta-pill--active,
    .meta-pill--selected {
      gap: 6px;
    }

    .meta-pill--active {
      border-color: transparent;
      background: linear-gradient(135deg, var(--sage-deep), var(--lavender));
      color: #fff;
      box-shadow: 0 10px 20px rgba(62, 42, 102, 0.16);
    }

    .meta-pill--active .meta-pill__label,
    .meta-pill--active .meta-pill__value {
      color: inherit;
    }

    .meta-pill--selected {
      border-color: rgba(129, 118, 151, 0.18);
      background: rgba(129, 118, 151, 0.09);
      box-shadow: none;
    }

    .meta-pill--selected .meta-pill__label {
      color: rgba(90, 102, 117, 0.82);
    }

    .meta-pill--selected .meta-pill__value {
      color: rgba(92, 67, 143, 0.84);
    }

    .classification-bridge {
      margin-top: 18px;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(236, 231, 239, 0.72));
    }

    .classification-bridge__title {
      font-family: var(--font-serif);
      font-size: 1.26rem;
    }

    .classification-bridge p {
      margin-top: 10px;
      color: var(--ink-soft);
      font-size: 0.92rem;
    }

    .quick-chart {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      margin-bottom: 20px;
    }

    .quick-chart__col {
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: rgba(255, 252, 249, 0.78);
    }

    .quick-chart__col h3 {
      font-size: 1.18rem;
    }

    .quick-chart__col p {
      margin-top: 8px;
      color: var(--ink-soft);
      font-size: 0.88rem;
    }

    .category-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 34px;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(129, 118, 151, 0.1);
      color: var(--lavender);
      font-size: 0.82rem;
      font-weight: 700;
    }

    .product-search-panel {
      padding: clamp(20px, 3vw, 26px);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: var(--bg-panel);
      box-shadow: var(--shadow);
      display: grid;
      gap: 14px;
    }

    .product-search-panel__intro {
      display: grid;
      gap: 8px;
    }

    .product-search-panel__intro h3 {
      font-size: 1.36rem;
    }

    .product-search-panel__intro p {
      color: var(--ink-soft);
      font-size: 0.92rem;
      line-height: 1.8;
    }

    .purpose-gateway-grid {
      margin-top: 20px;
    }

    .purpose-card {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: clamp(20px, 3vw, 26px);
    }

    .purpose-card h3 {
      font-size: 1.3rem;
    }

    .purpose-card p {
      color: var(--ink-soft);
      font-size: 0.94rem;
    }

    .purpose-card__actions {
      margin-top: auto;
      padding-top: 6px;
    }

    .product-quick-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 0;
    }

    .selected-product-summary {
      display: grid;
      gap: 10px;
      padding: 14px 16px;
      border: 1px dashed rgba(129, 118, 151, 0.24);
      border-radius: 18px;
      background: rgba(250, 247, 242, 0.84);
    }

    .selected-product-summary__label {
      color: var(--ink-soft);
      font-size: 0.84rem;
      font-weight: 700;
      letter-spacing: 0.08em;
    }

    .selected-product-summary__chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .selected-product-chip {
      display: inline-flex;
      gap: 10px;
      align-items: center;
      min-height: 36px;
      max-width: 100%;
      padding: 6px 12px;
      border: 2px solid rgba(95, 72, 141, 0.42);
      border-radius: 999px;
      background:
        linear-gradient(
          180deg,
          rgba(246, 241, 252, 0.98) 0%,
          rgba(224, 214, 239, 0.9) 100%
        );
      color: #4f3a78;
      font-weight: 800;
      cursor: pointer;
      transition:
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
      box-shadow:
        0 12px 24px rgba(62, 42, 102, 0.12),
        0 0 0 1px rgba(129, 118, 151, 0.12);
    }

    .selected-product-chip:hover,
    .selected-product-chip:focus-visible {
      border-color: rgba(95, 72, 141, 0.56);
      outline: none;
      transform: translateY(-1px);
      box-shadow:
        0 14px 26px rgba(62, 42, 102, 0.14),
        0 0 0 1px rgba(129, 118, 151, 0.14);
    }

    .selected-product-chip__remove {
      color: #5c438f;
      font-weight: 700;
      line-height: 1;
    }

    .product-panel-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      justify-content: space-between;
    }

    .product-panel-actions .selected-product-summary {
      flex: 1 1 420px;
    }

    .product-reset-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      padding: 6px 14px;
      border: 1px solid rgba(129, 118, 151, 0.2);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.92);
      color: var(--ink);
      font-size: 0.84rem;
      font-weight: 700;
      cursor: pointer;
      transition:
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
    }

    .product-reset-button:hover,
    .product-reset-button:focus-visible {
      border-color: rgba(129, 118, 151, 0.38);
      outline: none;
      transform: translateY(-1px);
      box-shadow: 0 10px 20px rgba(58, 53, 45, 0.08);
    }

    .product-result-meta {
      color: var(--ink-soft);
      font-size: 0.9rem;
    }

    .product-result-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      margin-top: 20px;
    }

    .search-result-card {
      padding: 18px;
    }

    .search-result-card__head {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      justify-content: space-between;
    }

    .search-result-card h3 {
      font-size: 1.22rem;
    }

    .search-result-card p {
      margin-top: 8px;
      color: var(--ink-soft);
      font-size: 0.92rem;
    }

    .search-result__checks {
      margin-top: 14px;
    }

    .search-result__footer {
      display: flex;
      gap: 12px;
      align-items: center;
      justify-content: space-between;
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
    }

    .search-result__footer p {
      margin: 0;
      font-size: 0.86rem;
    }

    .search-result__actions {
      display: flex;
      margin-top: 16px;
    }

    .search-result__actions .button {
      width: 100%;
    }

    .database-layout {
      display: grid;
      grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
      gap: 20px 24px;
      align-items: start;
    }

    .callout-layout {
      grid-column: 1;
      grid-template-columns: 1fr;
      margin-bottom: 0;
    }

    .callout-card {
      padding: 20px;
    }

    .card-anatomy {
      display: grid;
      gap: 12px;
      margin-top: 16px;
    }

    .anatomy-sample {
      display: grid;
      gap: 12px;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(244, 239, 248, 0.64));
    }

    .anatomy-header {
      display: flex;
      gap: 14px;
      align-items: center;
      justify-content: space-between;
    }

    .anatomy-header h3 {
      font-size: 1.3rem;
      white-space: nowrap;
    }

    .anatomy-header span {
      color: var(--ink-soft);
      font-size: 0.88rem;
    }

    .anatomy-block {
      padding: 14px 16px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.72);
    }

    .anatomy-block strong {
      display: block;
      color: var(--lavender);
      font-size: 0.78rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .anatomy-block p {
      margin-top: 8px;
      color: var(--ink-soft);
      font-size: 0.9rem;
    }

    .callout-list {
      display: grid;
      gap: 12px;
      align-content: start;
    }

    .callout-card__index {
      display: inline-grid;
      place-items: center;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(236, 231, 239, 0.84);
    }

    .callout-item {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 12px;
      padding: 14px 16px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.72);
    }

    .callout-item h4 {
      font-size: 1rem;
    }

    .callout-item p {
      margin-top: 4px;
      color: var(--ink-soft);
      font-size: 0.9rem;
    }

    .database-search-hero {
      margin-bottom: 18px;
      padding: clamp(20px, 3vw, 26px);
      display: grid;
      gap: 18px;
    }

    .database-search-hero__text {
      display: grid;
      gap: 8px;
    }

    .database-search-hero__text h3 {
      font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    }

    .oil-search-group {
      display: grid;
      gap: 10px;
    }

    .oil-search-group-title {
      color: var(--lavender);
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      line-height: 1.5;
    }

    .controls-card {
      margin-top: 30px;
      padding: clamp(20px, 3vw, 24px);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: rgba(255, 252, 248, 0.94);
      box-shadow: var(--shadow);
    }

    .controls-grid {
      display: grid;
      gap: 16px;
    }

    .back-to-top {
      position: fixed;
      right: 20px;
      bottom: 20px;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid rgba(129, 118, 151, 0.25);
      background: rgba(255, 255, 255, 0.9);
      color: #555;
      font-size: 18px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
      transition: all 0.25s ease;
    }

    .back-to-top.is-visible {
      opacity: 0.7;
      pointer-events: auto;
    }

    .back-to-top:hover {
      opacity: 1;
      transform: translateY(-2px);
    }

    .oil-search-panel {
      padding: 18px;
      border: 1px solid rgba(129, 118, 151, 0.22);
      border-radius: 22px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 239, 248, 0.72)),
        radial-gradient(circle at top right, rgba(131, 144, 127, 0.12), transparent 46%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    }

    .oil-search-help {
      margin: 0;
      color: var(--ink-soft);
      font-size: 0.92rem;
      line-height: 1.8;
    }

    .use-check-panel,
    .oil-multi-select-panel,
    .risk-summary-panel {
      padding: 18px;
      border: 1px solid rgba(129, 118, 151, 0.14);
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.62);
      box-shadow: 0 14px 28px rgba(58, 53, 45, 0.04);
    }

    .oil-multi-select-panel {
      gap: 14px;
    }

    .oil-multi-select-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
      align-items: stretch;
      gap: 10px;
      max-height: 300px;
      overflow: auto;
      padding-right: 4px;
    }

    .oil-check-item {
      position: relative;
      display: grid;
      gap: 4px;
      min-width: 0;
      min-height: auto;
      align-content: start;
      overflow: visible;
      padding: 14px 16px;
      border: 1px solid rgba(129, 118, 151, 0.18);
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 248, 0.7));
      color: var(--ink);
      text-align: left;
      cursor: pointer;
      transition:
        transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1),
        background 240ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 220ms ease;
    }

    .oil-check-item:hover,
    .oil-check-item:focus-visible {
      border-color: rgba(129, 118, 151, 0.38);
      outline: none;
      transform: translateY(-1px);
      box-shadow: 0 12px 22px rgba(58, 53, 45, 0.08);
    }

    .oil-check-item.is-selected {
      opacity: 1;
      padding-right: 72px;
      border-color: rgba(88, 60, 130, 0.58);
      background:
        linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.16) 0%,
          rgba(255, 255, 255, 0.03) 100%
        ),
        linear-gradient(
          135deg,
          rgba(107, 79, 163, 0.9) 0%,
          rgba(74, 53, 120, 0.9) 100%
        );
      color: #fcfbff;
      transform: translateY(-2px) scale(1.02);
      box-shadow:
        0 18px 34px rgba(62, 42, 102, 0.24),
        0 0 0 1px rgba(129, 118, 151, 0.18);
    }

    .oil-check-item.is-selected::after {
      content: "選択中";
      position: absolute;
      top: 10px;
      right: 12px;
      padding: 3px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.18);
      color: #fff;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1.2;
      z-index: 1;
      pointer-events: none;
    }

    .oil-check-item.is-selected:hover,
    .oil-check-item.is-selected:focus-visible {
      transform: translateY(-2px) scale(1.02);
      border-color: rgba(95, 72, 141, 0.64);
      box-shadow:
        0 20px 36px rgba(62, 42, 102, 0.26),
        0 0 0 1px rgba(129, 118, 151, 0.2);
    }

    .oil-check-item.is-selected .oil-check-item__name {
      color: #fcfbff;
    }

    .oil-check-item.is-selected .oil-check-item__botanical {
      color: rgba(252, 251, 255, 0.82);
    }

    .oil-check-item.is-muted {
      opacity: 0.55;
    }

    .oil-check-item.is-relevant {
      opacity: 1;
      border-color: rgba(95, 108, 92, 0.5);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 248, 0.7));
      box-shadow: 0 8px 18px rgba(95, 108, 92, 0.1);
    }

    .oil-check-item.is-relevant .oil-check-item__name {
      color: var(--ink);
    }

    .oil-check-item.is-relevant .oil-check-item__botanical {
      color: var(--ink-soft);
    }

    .oil-check-item__name {
      font-size: 0.94rem;
      font-weight: 700;
      min-width: 0;
      max-width: 100%;
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: normal;
      line-height: 1.45;
    }

    .oil-check-item__botanical {
      color: var(--ink-soft);
      font-style: italic;
      font-size: 0.78rem;
      min-width: 0;
      max-width: 100%;
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: normal;
      line-height: 1.55;
      letter-spacing: 0.03em;
    }

    .oil-reset-row {
      display: flex;
      justify-content: flex-end;
      margin-top: 2px;
    }

    .oil-reset-button {
      padding: 6px 4px;
      border: none;
      background: none;
      color: var(--ink-soft);
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      opacity: 0.75;
      cursor: pointer;
      transition: opacity 180ms ease, color 180ms ease, transform 180ms ease;
    }

    .oil-reset-button:hover,
    .oil-reset-button:focus-visible {
      color: var(--lavender);
      opacity: 1;
      outline: none;
      transform: translateY(-1px);
    }

    .risk-summary-panel {
      gap: 14px;
      border-color: rgba(95, 72, 141, 0.18);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 240, 0.92)),
        radial-gradient(circle at top right, rgba(129, 118, 151, 0.08), transparent 46%);
      box-shadow:
        0 18px 34px rgba(62, 42, 102, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.74);
    }

    .risk-summary-panel__head {
      display: grid;
      gap: 8px;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(129, 118, 151, 0.12);
    }

    .risk-summary-panel__meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .risk-summary-panel__status {
      display: inline-flex;
      align-items: center;
      min-height: 32px;
      padding: 4px 12px;
      border: 1px solid rgba(95, 72, 141, 0.18);
      border-radius: 999px;
      background: rgba(244, 239, 248, 0.84);
      color: #4f3a78;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.06em;
    }

    .risk-summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .risk-summary-card {
      display: grid;
      gap: 12px;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 20px;
      box-shadow: 0 12px 24px rgba(58, 53, 45, 0.05);
    }

    .risk-summary-card h4 {
      font-size: 1.12rem;
    }

    .risk-summary-card__section {
      display: grid;
      gap: 6px;
    }

    .risk-summary-card__section strong {
      color: var(--ink-soft);
      font-size: 0.78rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .risk-summary-card__section p {
      color: var(--ink-soft);
      font-size: 0.9rem;
      line-height: 1.72;
    }

    .risk-summary-card__chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .risk-summary-card--phototoxic {
      background: rgba(239, 229, 207, 0.72);
    }

    .risk-summary-card--irritation {
      background: rgba(241, 221, 208, 0.72);
    }

    .risk-summary-card--sensitization {
      background: rgba(235, 230, 242, 0.8);
    }

    .risk-summary-card--concentration {
      background: rgba(230, 235, 228, 0.84);
    }

    .risk-summary-card--official {
      background: rgba(255, 255, 255, 0.94);
      color: var(--charcoal);
    }

    .risk-summary-card--leaveOn {
      background: rgba(244, 230, 223, 0.84);
    }

    .risk-summary-card--spaceFriendly {
      background: rgba(231, 239, 228, 0.92);
    }

    .oil-use-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .oil-use-chip {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 8px 16px;
      border: 1px solid rgba(129, 118, 151, 0.22);
      border-radius: 16px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 239, 248, 0.7));
      color: var(--charcoal);
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: 0.01em;
      cursor: pointer;
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    }

    .oil-use-chip:hover,
    .oil-use-chip:focus-visible {
      border-color: rgba(129, 118, 151, 0.38);
      outline: none;
      transform: translateY(-1px);
      box-shadow: 0 12px 20px rgba(58, 53, 45, 0.06);
    }

    .oil-use-chip.is-active {
      gap: 10px;
      border: 2px solid rgba(95, 72, 141, 0.48);
      background:
        linear-gradient(
          180deg,
          rgba(246, 241, 252, 0.98) 0%,
          rgba(224, 214, 239, 0.9) 100%
        );
      color: #4f3a78;
      font-weight: 800;
      box-shadow:
        0 12px 24px rgba(62, 42, 102, 0.12),
        0 0 0 1px rgba(129, 118, 151, 0.12);
      transform: translateY(-1px);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
    }

    .oil-use-chip.is-active::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #5c438f;
      box-shadow: 0 0 0 4px rgba(129, 118, 151, 0.16);
      flex: 0 0 auto;
    }

    .oil-use-chip.is-active:hover {
      transform: translateY(-1px);
      border-color: rgba(95, 72, 141, 0.56);
      box-shadow:
        0 14px 26px rgba(62, 42, 102, 0.14),
        0 0 0 1px rgba(129, 118, 151, 0.14);
    }

    .oil-select-row {
      display: grid;
      gap: 10px;
    }

    .oil-select {
      width: 100%;
      min-height: 54px;
      padding: 0 48px 0 16px;
      border: 1px solid rgba(129, 118, 151, 0.22);
      border-radius: 18px;
      background:
        linear-gradient(45deg, transparent 50%, var(--lavender) 50%),
        linear-gradient(135deg, var(--lavender) 50%, transparent 50%),
        rgba(255, 255, 255, 0.96);
      background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px),
        0 0;
      background-size:
        6px 6px,
        6px 6px,
        auto;
      background-repeat: no-repeat;
      color: var(--ink);
      font-size: 0.95rem;
      font-weight: 500;
      appearance: none;
      outline: none;
      box-shadow: 0 10px 22px rgba(58, 53, 45, 0.04);
    }

    .oil-select:focus {
      border-color: rgba(129, 118, 151, 0.42);
      box-shadow:
        0 0 0 4px rgba(129, 118, 151, 0.08),
        0 14px 24px rgba(58, 53, 45, 0.06);
    }

    .oil-search-panel .filter-row {
      margin-top: 0;
    }

    .filter-row {
      margin-top: 8px;
    }

    .filter-chip[data-key="phototoxic"] {
      border-color: rgba(184, 157, 105, 0.28);
      background: rgba(239, 229, 207, 0.5);
    }

    .filter-chip[data-key="irritation"] {
      border-color: rgba(148, 117, 93, 0.28);
      background: rgba(241, 221, 208, 0.44);
    }

    .filter-chip[data-key="sensitization"] {
      border-color: rgba(129, 118, 151, 0.24);
      background: rgba(235, 230, 242, 0.54);
    }

    .filter-chip[data-key="concentration"] {
      border-color: rgba(131, 144, 127, 0.24);
      background: rgba(230, 235, 228, 0.58);
    }

    .filter-chip.is-active {
      background: linear-gradient(135deg, var(--sage-deep) 0%, var(--lavender) 100%);
      color: #fcfbff;
    }

    .database-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      justify-content: space-between;
      margin-top: 16px;
    }

    .database-meta p {
      color: var(--ink-soft);
      font-size: 0.92rem;
    }

    .database-results {
      display: grid;
      gap: 18px;
      align-content: start;
    }

    .database-results__head {
      display: grid;
      gap: 10px;
      padding: 18px 20px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.72);
      box-shadow: var(--shadow-soft);
    }

    .database-results__head h3 {
      font-size: 1.38rem;
    }

    .database-results__head p {
      color: var(--ink-soft);
      font-size: 0.92rem;
    }

    .result-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 18px;
      margin-top: 0;
    }

    .result-grid.list-mode {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .oil-card,
    .list-card {
      padding: 20px;
      transition: opacity 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }

    .oil-card.is-muted,
    .list-card.is-muted {
      opacity: 0.42;
    }

    .oil-card.is-relevant,
    .list-card.is-relevant {
      opacity: 1;
      border-color: rgba(95, 108, 92, 0.5);
      box-shadow: 0 8px 18px rgba(95, 108, 92, 0.1);
    }

    .oil-card__head,
    .list-card__head {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      justify-content: space-between;
    }

    .oil-card__title {
      display: grid;
      gap: 6px;
    }

    .oil-card__title h3,
    .list-card__head h3 {
      font-size: 1.42rem;
    }

    .oil-card__botanical {
      color: var(--sage-deep);
      font-style: italic;
      letter-spacing: 0.05em;
    }

    .oil-card__summary,
    .list-card__summary {
      margin-top: 12px;
      color: var(--ink-soft);
      font-size: 0.95rem;
    }

    .oil-card {
      display: grid;
      gap: 18px;
      padding: 24px 26px;
      background: rgba(255, 253, 250, 0.94);
    }

    .oil-card__head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 18px 20px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--line);
    }

    .oil-card__summary {
      max-width: 62ch;
      margin-top: 10px;
      line-height: 1.86;
    }

    .oil-card__major-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: flex-end;
      max-width: 280px;
    }

    .oil-card__minor-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: -2px;
    }

    .oil-card__minor-tag {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(248, 244, 238, 0.92);
      color: var(--ink-soft);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.03em;
    }

    .oil-card__sections {
      display: grid;
      gap: 0;
      border-top: 1px solid var(--line);
    }

    .oil-card__section {
      display: grid;
      grid-template-columns: 124px minmax(0, 1fr);
      gap: 18px;
      padding: 16px 0;
      border-bottom: 1px solid var(--line);
    }

    .oil-card__section strong,
    .list-card__line strong {
      display: block;
      color: var(--lavender);
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .oil-card__section p,
    .list-card__line p {
      margin-top: 0;
      color: var(--ink-soft);
      font-size: 0.92rem;
      line-height: 1.82;
    }

    .oil-card__links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 12px;
    }

    .card-tags,
    .card-links {
      margin-top: 10px;
    }

    .tag {
      min-height: 28px;
      background: rgba(255, 252, 249, 0.78);
      color: var(--charcoal);
    }

    .tag--phototoxic {
      border-color: rgba(184, 157, 105, 0.28);
      background: rgba(239, 229, 207, 0.66);
      color: var(--gold);
    }

    .tag--irritation {
      border-color: rgba(148, 117, 93, 0.24);
      background: rgba(241, 221, 208, 0.62);
      color: var(--brown);
    }

    .tag--sensitization {
      border-color: rgba(129, 118, 151, 0.24);
      background: rgba(235, 230, 242, 0.72);
      color: var(--lavender);
    }

    .tag--concentration {
      border-color: rgba(131, 144, 127, 0.24);
      background: rgba(230, 235, 228, 0.72);
      color: var(--sage-deep);
    }

    .tag--official,
    .tag--leaveOn,
    .tag--alternative,
    .tag--spaceFriendly {
      background: rgba(255, 252, 249, 0.82);
      color: var(--ink-soft);
    }

    .card-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 34px;
      padding: 4px 12px;
      border: 1px solid var(--line);
      border-radius: 999px;
      font-size: 0.82rem;
      font-weight: 700;
      background: rgba(255, 252, 249, 0.84);
    }

    .card-link:hover,
    .card-link:focus-visible {
      border-color: rgba(129, 118, 151, 0.36);
      color: var(--lavender);
      outline: none;
    }

    .list-card {
      display: grid;
      gap: 12px;
    }

    .list-card__meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .list-card__lines {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .list-card__line {
      padding: 14px 16px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.68);
    }

    .empty-state {
      padding: 24px;
      border: 1px dashed rgba(129, 118, 151, 0.26);
      border-radius: 22px;
      background: rgba(255, 252, 249, 0.7);
      text-align: center;
    }

    .empty-state p {
      color: var(--ink-soft);
      font-size: 0.94rem;
    }

    .risk-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .risk-axis {
      margin-bottom: 22px;
      padding: 22px 24px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 239, 248, 0.64)),
        radial-gradient(circle at top right, rgba(131, 144, 127, 0.1), transparent 42%);
    }

    .risk-axis__label {
      color: var(--lavender);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .risk-axis__line,
    .risk-axis__examples {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      align-items: center;
      text-align: center;
    }

    .risk-axis__line {
      position: relative;
      margin-top: 14px;
      padding-top: 18px;
    }

    .risk-axis__line::before {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, rgba(131, 144, 127, 0.28), rgba(129, 118, 151, 0.42), rgba(184, 157, 105, 0.38));
      content: "";
    }

    .risk-axis__line span {
      position: relative;
      color: var(--ink);
      font-size: 0.9rem;
      font-weight: 700;
    }

    .risk-axis__line span::before {
      position: absolute;
      top: -24px;
      left: 50%;
      width: 10px;
      height: 10px;
      border: 2px solid rgba(129, 118, 151, 0.24);
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.94);
      transform: translateX(-50%);
      content: "";
    }

    .risk-axis__examples {
      margin-top: 14px;
    }

    .risk-axis__examples span {
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.76);
      color: var(--ink-soft);
      font-size: 0.86rem;
      font-weight: 600;
    }

    .risk-lane {
      padding: 20px;
    }

    .risk-lane__header {
      display: flex;
      gap: 10px;
      align-items: baseline;
      justify-content: space-between;
    }

    .risk-lane h3 {
      font-size: 1.14rem;
    }

    .risk-lane p {
      margin-top: 10px;
      color: var(--ink-soft);
      font-size: 0.9rem;
    }

    .risk-lane__chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 16px;
    }

    .risk-lane__chip.is-active {
      border-color: rgba(95, 72, 141, 0.48);
      background:
        linear-gradient(
          180deg,
          rgba(246, 241, 252, 0.98) 0%,
          rgba(224, 214, 239, 0.9) 100%
        );
      color: #4f3a78;
      box-shadow:
        0 12px 24px rgba(62, 42, 102, 0.12),
        0 0 0 1px rgba(129, 118, 151, 0.12);
    }

    .risk-lane__chip.is-active:hover,
    .risk-lane__chip.is-active:focus-visible {
      border-color: rgba(95, 72, 141, 0.56);
      box-shadow:
        0 14px 26px rgba(62, 42, 102, 0.14),
        0 0 0 1px rgba(129, 118, 151, 0.14);
    }

    .toggle-row {
      display: inline-flex;
      gap: 4px;
      padding: 4px;
      border: 1px solid rgba(129, 118, 151, 0.18);
      border-radius: 18px;
      background: rgba(244, 239, 248, 0.46);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
      width: max-content;
    }

    .toggle-row .toggle-button {
      min-height: 40px;
      padding: 0 16px;
      border-color: transparent;
      border-radius: 14px;
      background: transparent;
      color: var(--ink-soft);
      box-shadow: none;
    }

    .toggle-row .toggle-button:not(.is-active):hover,
    .toggle-row .toggle-button:not(.is-active):focus-visible {
      border-color: transparent;
      transform: none;
      background: rgba(255, 255, 255, 0.62);
      box-shadow: none;
      color: var(--ink);
    }

    .toggle-row .toggle-button.is-active {
      border-color: rgba(95, 72, 141, 0.28);
      background:
        linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.98) 0%,
          rgba(244, 239, 248, 0.96) 100%
        );
      color: #4f3a78;
      box-shadow: 0 10px 18px rgba(62, 42, 102, 0.08);
    }

    .toggle-row .toggle-button.is-active:hover,
    .toggle-row .toggle-button.is-active:focus-visible {
      border-color: rgba(95, 72, 141, 0.32);
      background:
        linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.98) 0%,
          rgba(244, 239, 248, 0.96) 100%
        );
      color: #4f3a78;
      box-shadow: 0 10px 18px rgba(62, 42, 102, 0.08);
      transform: none;
    }

    .risk-lane[data-tone="phototoxic"] {
      background: linear-gradient(180deg, rgba(239, 229, 207, 0.54), rgba(255, 252, 249, 0.88));
    }

    .risk-lane[data-tone="irritation"] {
      background: linear-gradient(180deg, rgba(241, 221, 208, 0.54), rgba(255, 252, 249, 0.88));
    }

    .risk-lane[data-tone="sensitization"] {
      background: linear-gradient(180deg, rgba(235, 230, 242, 0.58), rgba(255, 252, 249, 0.88));
    }

    .risk-lane[data-tone="concentration"] {
      background: linear-gradient(180deg, rgba(230, 235, 228, 0.58), rgba(255, 252, 249, 0.88));
    }

    .risk-side-note {
      margin-top: 18px;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(236, 231, 239, 0.68));
      color: var(--ink-soft);
      font-size: 0.92rem;
    }

    .alternative-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .design-flow {
      display: grid;
      grid-template-columns: repeat(7, auto);
      gap: 12px;
      align-items: center;
      justify-content: center;
      margin-bottom: 22px;
      padding: 20px 18px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(242, 237, 247, 0.64)),
        radial-gradient(circle at top left, rgba(131, 144, 127, 0.08), transparent 42%);
    }

    .design-flow__step {
      min-width: 150px;
      padding: 12px 18px;
      border: 1px solid rgba(129, 118, 151, 0.18);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.84);
      color: var(--ink);
      font-size: 0.9rem;
      font-weight: 700;
      text-align: center;
      box-shadow: 0 10px 18px rgba(58, 53, 45, 0.04);
    }

    .design-flow__arrow {
      color: var(--sage-deep);
      font-size: 1.1rem;
      line-height: 1;
    }

    .flow-card {
      padding: 20px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background: rgba(255, 252, 249, 0.84);
      box-shadow: var(--shadow-soft);
    }

    .flow-card__chain {
      display: grid;
      gap: 12px;
      margin-top: 16px;
    }

    .flow-step {
      position: relative;
      padding: 14px 16px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.74);
    }

    .flow-step + .flow-step::before {
      position: absolute;
      top: -12px;
      left: 22px;
      width: 2px;
      height: 12px;
      background: rgba(129, 118, 151, 0.3);
      content: "";
    }

    .flow-step strong {
      display: block;
      color: var(--lavender);
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .flow-step p {
      margin-top: 8px;
      color: var(--ink-soft);
      font-size: 0.9rem;
    }

    .scenario-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .scenario-card {
      padding: 20px;
    }

    .scenario-card h3 {
      font-size: 1.26rem;
    }

    .scenario-card p {
      margin-top: 10px;
      color: var(--ink-soft);
      font-size: 0.92rem;
    }

    .scenario-tags {
      margin-top: 14px;
    }

    .resource-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resource-card {
      padding: 20px;
    }

    .resource-card h3 {
      margin-top: 10px;
      font-size: 1.24rem;
    }

    .resource-card p {
      margin-top: 10px;
      color: var(--ink-soft);
      font-size: 0.92rem;
    }

    .resource-card__links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }

    .resource-card__date {
      color: var(--gold);
    }

    .tool-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tool-card {
      padding: 18px;
    }

    .tool-card h3 {
      margin-top: 10px;
      font-size: 1.1rem;
    }

    .tool-card p {
      margin-top: 8px;
      color: var(--ink-soft);
      font-size: 0.9rem;
    }

    .tool-tags {
      margin-top: 12px;
    }

    .cta-strip {
      display: flex;
      gap: clamp(24px, 3vw, 44px);
      min-height: 170px;
      align-items: center;
      justify-content: flex-start;
      margin-top: 22px;
      padding: clamp(34px, 4vw, 48px) clamp(32px, 5vw, 56px);
      background: linear-gradient(
        135deg,
        rgba(131, 144, 127, 0.08),
        rgba(129, 118, 151, 0.12)
      );
      border: 1px solid rgba(129, 118, 151, 0.2);
    }

    .cta-strip > div:first-child {
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex: 0 1 620px;
      max-width: 620px;
    }

    .cta-preline {
      margin: 0 0 12px;
      color: var(--ink-soft);
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.08em;
    }

    .cta-strip h3 {
      margin: 0 0 8px;
      line-height: 1.35;
    }

    .cta-strip p {
      color: var(--ink-soft);
      font-size: 0.94rem;
    }

    .cta-strip p:last-child {
      margin: 0;
      line-height: 1.9;
    }

    .cta-strip__actions {
      display: flex;
      flex-wrap: wrap;
      flex: 0 0 auto;
      gap: 12px;
      align-items: center;
      justify-content: flex-start;
      margin-left: 0;
    }

    .button--cta-strong {
      font-size: 1rem;
      padding: 0 26px;
      min-height: 52px;
      box-shadow: 0 18px 34px rgba(95, 108, 92, 0.22);
    }

    .footer {
      padding: 0 0 48px;
    }

    .footer-card {
      padding: 18px 20px;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: rgba(255, 252, 249, 0.82);
      color: var(--ink-soft);
      font-size: 0.9rem;
      box-shadow: var(--shadow-soft);
    }

    .reveal {
      opacity: 1;
      transform: translateY(0);
    }

    .js .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition:
        opacity 720ms ease,
        transform 720ms ease;
    }

    .js .reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (min-width: 1101px) {
      .risk-summary-panel {
        position: sticky;
        top: 88px;
        z-index: 2;
      }
    }

    @media (max-width: 1100px) {
      .hero__grid,
      .callout-layout {
        grid-template-columns: 1fr;
      }

      .database-layout {
        grid-template-columns: 1fr;
      }

      .classification-grid,
      .quick-chart,
      .risk-summary-grid,
      .risk-grid,
      .alternative-grid,
      .scenario-grid,
      .resource-grid,
      .tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .product-result-grid,
      .result-grid {
        grid-template-columns: 1fr;
      }

      .callout-layout,
      .result-grid {
        grid-column: auto;
        grid-row: auto;
      }

      .usage-diagram {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
          "center center"
          "skin space"
          "wash wash";
      }
    }

    @media (max-width: 860px) {
      .hero-stats,
      .classification-grid,
      .quick-chart,
      .risk-summary-grid,
      .risk-grid,
      .alternative-grid,
      .scenario-grid,
      .resource-grid,
      .tool-grid,
      .list-card__lines {
        grid-template-columns: 1fr;
      }

      .stat-card {
        padding: 12px 0;
        border-right: none;
        border-bottom: 1px solid rgba(54, 56, 53, 0.12);
      }

      .stat-card:last-child {
        border-bottom: none;
      }

      .hero-panel {
        justify-self: stretch;
        width: 100%;
        transform: none;
      }

      .search-result-card__head,
      .database-meta,
      .oil-card__head {
        flex-direction: column;
        align-items: flex-start;
      }

      .oil-search-panel {
        padding: 16px;
      }

      .product-panel-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .toggle-row {
        width: 100%;
      }

      .toggle-row .toggle-button {
        flex: 1 1 0;
        justify-content: center;
      }

      .product-reset-button {
        justify-content: center;
      }

      .oil-multi-select-grid {
        grid-template-columns: 1fr 1fr;
      }

      .oil-card__head {
        display: grid;
        grid-template-columns: 1fr;
      }

      .oil-card__major-tags {
        justify-content: flex-start;
        max-width: none;
      }

      .oil-card__section {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .usage-diagram {
        grid-template-columns: 1fr;
        grid-template-areas:
          "center"
          "skin"
          "wash"
          "space";
      }

      .usage-diagram__item,
      .design-flow__step {
        width: 100%;
      }

      .risk-axis__line,
      .risk-axis__examples {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .risk-axis__line {
        padding-top: 0;
      }

      .risk-axis__line::before {
        display: none;
      }

      .risk-axis__line span::before {
        display: none;
      }

      .design-flow {
        grid-template-columns: 1fr;
        justify-items: stretch;
      }

      .design-flow__arrow {
        text-align: center;
        transform: rotate(90deg);
      }
    }

    @media (max-width: 680px) {
      .hero::before {
        background:
          linear-gradient(
            180deg,
            rgba(250, 247, 242, 0.90) 0%,
            rgba(250, 247, 242, 0.54) 100%
          ),
          url("../images/hero-ifra-world-map.jpg") center top / cover no-repeat;
      }

      .hero h1 {
        max-width: none;
        font-size: clamp(1.9rem, 8.2vw, 2.35rem);
        line-height: 1.16;
      }

      .section-head h2,
      .section-head h2.section-title--nowrap {
        white-space: normal;
        font-size: clamp(1.5rem, 6.1vw, 2rem);
      }

      .hero__lead {
        max-width: none;
      }

      .cta-strip {
        flex-direction: column;
        align-items: flex-start;
      }

      .cta-strip__actions {
        width: 100%;
      }

      .cta-strip__actions .button--cta-strong {
        width: 100%;
        justify-content: center;
      }

      .oil-multi-select-grid {
        grid-template-columns: 1fr;
      }

      .oil-check-item.is-selected {
        padding-right: 64px;
      }

      .oil-check-item.is-selected::after {
        top: 8px;
        right: 10px;
        padding: 2px 7px;
        font-size: 0.62rem;
      }

      .usage-diagram,
      .risk-axis,
      .design-flow {
        padding: 18px 16px;
      }

      .footer {
        padding-bottom: 34px;
      }
    }
