:root {
  --blue: #607a9d;
  --blue-dark: #425b7b;
  --orange: #fca437;
  --orange-dark: #db8320;
  --green: #5b8a72;
  --ink: #1d2430;
  --muted: #667085;
  --line: #dfe5ec;
  --surface: #ffffff;
  --soft: #f3f5f7;
  --warm: #fff7ea;
  --shadow: 0 18px 48px rgba(29, 36, 48, .10);
  --ally-bg: #f1f1ef;
  --ally-ink: #171817;
  --body-copy: #3d3e3b;
  --ally-yellow: #f3ad19;
  --preview-dark: #0b1320;
  --preview-panel: #151f2f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body:not(.site-admin) { color: var(--body-copy); }
body.is-menu-open { overflow: hidden; }
body.is-search-open { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; color: var(--blue-dark); line-height: 1.08; letter-spacing: 0; }
h1 { font-size: 64px; }
h2 { font-size: 38px; }
h3 { font-size: 22px; }
p { margin-top: 0; }

.site-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 10px 14px; background: #fff; color: var(--blue-dark); transform: translateY(-140%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 0;
  background: rgba(241,241,239,.96);
  backdrop-filter: blur(14px);
}
.site-header-inner { width: min(1460px, calc(100% - 48px)); display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 26px; }
.site-brand { display: inline-flex; width: 158px; flex: 0 0 auto; }
.site-brand img { width: 100%; height: 58px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.site-navigation { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 6px; }
.site-nav-item { position: relative; display: flex; align-items: center; }
.site-navigation a { position: relative; padding: 11px 10px; color: var(--menu-link-color, var(--ally-ink)); font-size: var(--menu-font-size, 13px); font-weight: 800; text-decoration: none; white-space: nowrap; }
.site-navigation a::after { position: absolute; right: 10px; bottom: 5px; left: 10px; height: 2px; background: var(--orange); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-navigation a:hover::after, .site-navigation a.is-active::after { transform: scaleX(1); }
.site-submenu-toggle { width: 24px; height: 34px; display: grid; place-items: center; border: 0; padding: 0 0 3px; background: transparent; color: var(--menu-link-color, var(--ally-ink)); font-size: 18px; cursor: pointer; transition: transform .16s ease; }
.site-submenu { position: absolute; top: 100%; left: 0; z-index: 20; min-width: 210px; visibility: hidden; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(-5px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.site-submenu a { display: block; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.site-submenu a:last-child { border-bottom: 0; }
.site-submenu a::after { display: none; }
.site-submenu a:hover, .site-submenu a.is-active { background: var(--soft); color: var(--orange-dark); }
.site-nav-item:hover > .site-submenu, .site-nav-item:focus-within > .site-submenu, .site-nav-item.is-open > .site-submenu { visibility: visible; opacity: 1; transform: none; }
.site-nav-item.is-open > .site-submenu-toggle { transform: rotate(180deg); }
.site-menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.site-menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--menu-link-color, var(--ally-ink)); transition: transform .16s ease, opacity .16s ease; }
.site-navigation-guide { display: none; }
.site-header-action { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.site-header-cta { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; padding: 12px 18px; background: var(--menu-cta-bg, var(--ally-ink)); color: #fff; font-size: var(--menu-font-size, 13px); font-weight: 900; line-height: 1.1; text-decoration: none; }
.site-search-trigger { min-height: 46px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid #c9cac6; border-radius: 8px; padding: 7px 8px 7px 13px; background: transparent; color: var(--menu-link-color, var(--ally-ink)); font-size: var(--menu-font-size, 13px); font-weight: 800; line-height: 1; cursor: pointer; white-space: nowrap; }
.site-search-trigger:hover { border-color: var(--ally-ink); background: #fff; }
.site-search-trigger svg, .site-company-search-field svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.site-search-trigger kbd, .site-company-search-field kbd { min-width: 30px; min-height: 30px; display: grid; place-items: center; border: 1px solid #d6d7d3; border-radius: 7px; background: #fff; box-shadow: 0 2px 0 #dedfdb; color: #676863; font: inherit; font-weight: 850; }
.site-navigation-search { display: none; }

.site-company-search-dialog { position: fixed; inset: 0; z-index: 300; display: grid; place-items: start center; padding: 104px 20px 24px; }
.site-company-search-backdrop { position: absolute; inset: 0; border: 0; background: rgba(23,24,23,.46); backdrop-filter: blur(5px); cursor: default; }
.site-company-search-panel { position: relative; width: min(680px, 100%); max-height: calc(100vh - 128px); overflow: hidden; border-radius: 12px; padding: 28px; background: var(--ally-bg); box-shadow: 0 28px 90px rgba(0,0,0,.28); }
.site-company-search-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.site-company-search-panel > header.site-company-search-panel-actions { justify-content: flex-end; margin-bottom: 12px; }
.site-company-search-control-row { display: grid; grid-template-columns: minmax(0, 1fr) 58px; align-items: center; gap: 10px; }
.site-company-search-control-row .site-company-search-close { width: 58px; height: 58px; }
.site-company-search-panel h2 { margin: 0; color: var(--ally-ink); font-size: 34px; }
.site-company-search-panel .site-eyebrow { margin-bottom: 5px; }
.site-company-search-close { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid #c9cac6; border-radius: 8px; background: transparent; color: var(--ally-ink); font-size: 30px; line-height: 1; cursor: pointer; }
.site-company-search-field { min-height: 58px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 1px solid #b9bab6; border-radius: 8px; padding: 7px 9px 7px 16px; background: #fff; color: var(--ally-ink); }
.site-company-search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ally-ink); font-size: 18px; font-weight: 700; }
.site-company-search-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 2px 10px; color: #666762; font-size: 13px; }
.site-company-search-meta > span { font-weight: 850; }
.site-company-search-list { max-height: min(520px, calc(100vh - 270px)); overflow-y: auto; border-top: 1px solid #c7c8c4; }
.site-company-search-list a { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #d8d9d5; padding: 10px 4px; color: var(--ally-ink); font-size: 14px; font-weight: 750; text-decoration: none; }
.site-company-search-list a:hover, .site-company-search-list a:focus-visible { padding-right: 10px; padding-left: 10px; background: #fff; }
.site-company-search-list a > span:last-child { color: var(--orange-dark); }
.site-company-search-empty { margin: 20px 0 0; color: #666762; text-align: center; }

.site-eyebrow { margin-bottom: 12px; color: var(--orange-dark); font-size: 13px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.site-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; padding: 12px 18px; font-weight: 900; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease; }
.site-button:hover { transform: translateY(-2px); }
.site-button.is-primary { background: var(--orange); color: #fff; }
.site-button.is-primary:hover { background: var(--orange-dark); }
.site-button.is-ghost { border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.08); color: #fff; }
.site-button.is-ghost:hover { background: #fff; color: var(--blue-dark); }
.site-button.is-dark { background: var(--ally-ink); color: #fff; }
.site-button.is-dark:hover { background: #353633; }
.site-button.is-light { border-color: #b8b9b5; background: transparent; color: var(--ally-ink); }
.site-button.is-light:hover { border-color: var(--ally-ink); background: #fff; }
.text-link { display: inline-flex; align-items: center; color: var(--blue-dark); font-weight: 900; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link::after { margin-left: 8px; content: "→"; }
.text-link.is-plain::after { display: none; }
.site-section-flow { display: flex; flex-direction: column; }
.site-orderable-section { order: var(--section-order, 1); }

.home-hero-ally { padding: 14px 0 56px; background: var(--ally-bg); }
.home-hero-stage { --hero-radius: 28px; position: relative; width: min(1460px, calc(100% - 48px)); height: min(720px, calc(100vh - 200px)); min-height: 520px; overflow: hidden; border-radius: var(--hero-radius); background: var(--ally-bg); }
.home-hero-media { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: #d9d9d5; }
.home-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero-panel { --hero-notch-radius: var(--hero-radius); position: absolute; right: 0; bottom: 0; width: calc((100% - 72px) / 3); min-height: 315px; display: flex; align-items: flex-start; flex-direction: column; justify-content: flex-start; padding: 32px 26px 24px; border-radius: var(--hero-notch-radius) 0 0 0; background: var(--ally-bg); color: var(--ally-ink); }
.home-hero-panel::before, .home-hero-panel::after { position: absolute; width: var(--hero-notch-radius); height: var(--hero-notch-radius); background: radial-gradient(circle var(--hero-notch-radius) at top left, transparent calc(100% - 1px), var(--ally-bg) 100%); content: ""; pointer-events: none; }
.home-hero-panel::before { top: calc(-1 * var(--hero-notch-radius)); right: 0; }
.home-hero-panel::after { bottom: 0; left: calc(-1 * var(--hero-notch-radius)); }
.home-hero-panel .site-eyebrow { margin-bottom: 13px; color: #696a66; }
.home-hero-panel h1 { width: 100%; margin: 0 0 20px; color: var(--ally-ink); font-size: var(--hero-title-size, 56px); line-height: .96; }
.home-hero-title-line { display: block; width: fit-content; white-space: nowrap; }
.home-hero-title-line.is-accent { width: 100%; padding-bottom: 8px; border-bottom: 5px solid var(--ally-yellow); }
.home-hero-lead { max-width: 480px; margin: 0 0 24px; color: var(--body-copy); font-size: var(--hero-intro-size, 17px); font-weight: 550; line-height: 1.45; }
.home-hero-lead-primary, .home-hero-lead-secondary { display: block; }
.home-hero-actions { width: 100%; display: flex; flex-wrap: wrap; gap: 20px; }
.home-hero-actions .site-button { min-width: 0; flex: 1 1 0; padding-right: 14px; padding-left: 14px; font-size: var(--hero-button-size, 16px); white-space: nowrap; }

.site-page-home .site-shell { width: min(1460px, calc(100% - 48px)); }
.home-overview { padding: 76px 0 82px; background: var(--ally-bg); color: var(--ally-ink); }
.home-overview-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 72px; align-items: stretch; }
.home-project { min-width: 0; display: flex; flex-direction: column; padding-right: 24px; }
.home-project h2 { width: 100%; max-width: none; min-height: 160px; margin: 0 0 24px; padding-bottom: 20px; border-bottom: 5px solid var(--ally-yellow); color: var(--ally-ink); font-size: 38px; line-height: 1.04; }
.home-project-copy { max-width: 720px; color: var(--body-copy); font-size: 19px; line-height: 1.65; }
.home-project-copy p { margin-bottom: 22px; }
.home-project-infographic { margin-top: auto; padding-top: 44px; }
.home-project-infographic-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 18px; }
.home-project-infographic-heading .site-eyebrow { margin: 0; }
.home-project-infographic-heading h3 { margin: 0; color: var(--ally-ink); font-size: 18px; }
.home-project-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.home-project-feature { min-width: 0; display: grid; align-content: start; padding: 8px 30px 0 0; }
.home-project-feature + .home-project-feature { border-left: 1px solid #aaa9a5; padding-left: 24px; }
.home-project-feature > span { margin-bottom: 24px; color: var(--ally-ink); font-size: var(--feature-number-size, 38px); font-weight: 750; line-height: .9; }
.home-project-feature small { margin-bottom: 8px; color: var(--orange-dark); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.home-project-feature h4 { margin: 0 0 12px; color: var(--ally-ink); font-size: var(--feature-title-size, 23px); line-height: 1.2; }
.home-project-feature p { margin: 0; color: var(--body-copy); font-size: var(--feature-text-size, 17px); line-height: 1.55; }
.home-perimeter { min-width: 0; display: flex; flex-direction: column; padding-left: 42px; border-left: 1px solid #aaa9a5; }
.home-perimeter h2 { min-height: 160px; margin: 0 0 24px; padding-bottom: 20px; border-bottom: 5px solid var(--ally-yellow); color: var(--ally-ink); font-size: 38px; line-height: 1.04; }
.home-perimeter-stats { display: grid; flex: 1 1 auto; grid-template-rows: repeat(4, minmax(0, 1fr)); }
.home-perimeter .site-stat { min-height: 0; display: grid; grid-template-columns: minmax(92px, .75fr) minmax(0, 1fr); align-items: end; gap: 18px; padding: 18px 0; border-top: 1px solid #aaa9a5; }
.home-perimeter .site-stat:first-child { border-top: 0; }
.home-perimeter .site-stat strong { color: var(--ally-ink); font-size: 52px; font-weight: 750; line-height: .86; }
.home-perimeter .site-stat span { margin: 0; color: #333431; font-size: 15px; font-weight: 650; line-height: 1.3; }
.prose { color: var(--body-copy); font-size: 18px; line-height: 1.7; }
.prose p { margin-bottom: 20px; }
.prose.is-large { font-size: 20px; }

.guide-showcase { overflow: hidden; padding: 104px 0; background: var(--preview-dark); color: #fff; }
.guide-showcase-grid { display: grid; grid-template-columns: minmax(310px, .68fr) minmax(0, 1.32fr); gap: 66px; align-items: center; }
.guide-showcase-copy { position: relative; z-index: 2; }
.guide-showcase .site-eyebrow { color: #c7d0dd; }
.guide-showcase h2 { margin-bottom: 22px; color: #fff; font-size: 46px; }
.guide-showcase-copy > p:not(.site-eyebrow) { max-width: 500px; color: #b3becc; font-size: 18px; }
.guide-feature-list { display: grid; gap: 22px; padding: 0; margin: 38px 0; list-style: none; }
.guide-feature-list:empty { display: none; }
.guide-feature-list li { position: relative; display: grid; gap: 2px; padding-left: 38px; }
.guide-feature-list li::before { position: absolute; top: 4px; left: 4px; width: 14px; height: 14px; border: 1px solid #738196; border-radius: 50%; content: ""; }
.guide-feature-list strong { font-size: 14px; }
.guide-feature-list span { color: #78869a; font-size: 13px; line-height: 1.45; }
.guide-showcase-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid #566479; border-radius: 8px; padding: 13px 20px; color: #fff; font-size: 15px; font-weight: 900; line-height: 1.1; text-decoration: none; }
.guide-showcase-button:hover { border-color: var(--ally-yellow); color: var(--ally-yellow); }
.guide-product-preview { min-width: 0; position: relative; padding-top: 78px; }
.guide-profile-preview-back { position: absolute; top: 0; right: 3%; left: 9%; height: 220px; overflow: hidden; border: 1px solid #29374b; border-radius: 7px; padding: 24px 28px; background: #101a2a; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.guide-profile-preview-back > strong { display: block; margin-bottom: 18px; color: rgba(252,164,55,.48); font-size: 13px; font-weight: 900; }
.guide-profile-preview-heading { display: flex; justify-content: space-between; gap: 28px; }
.guide-profile-preview-heading span:first-child { width: 38%; height: 12px; background: #344258; }
.guide-profile-preview-heading span:last-child { width: 18%; height: 12px; background: #27364b; }
.guide-profile-preview-logo { width: 30%; height: 42px; margin-top: 18px; border: 1px solid #344258; background: #162235; }
.guide-profile-preview-lines { width: 58%; display: grid; gap: 8px; margin-top: 20px; }
.guide-profile-preview-lines span { height: 7px; background: #27364b; }
.guide-profile-preview-lines span:nth-child(2) { width: 82%; }
.guide-profile-preview-lines span:nth-child(3) { width: 64%; }
.guide-preview-window { position: relative; z-index: 2; overflow: hidden; border: 1px solid #304057; border-radius: 7px; background: #151f2f; box-shadow: 0 32px 90px rgba(0,0,0,.42); }
.guide-preview-toolbar { min-height: 66px; display: flex; align-items: center; padding: 0 24px; border-bottom: 1px solid #2e3d50; }
.guide-preview-toolbar strong { color: var(--orange); font-size: 14px; font-weight: 900; }
.guide-filter-mockup { display: grid; gap: 14px; padding: 22px; background: #111b2a; }
.guide-filter-row.is-lead { display: grid; grid-template-columns: minmax(220px, 1.2fr) minmax(140px, .58fr) minmax(250px, 1fr); gap: 12px; }
.guide-filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.guide-mock-field, .guide-mock-toggle, .guide-mock-zones { min-width: 0; min-height: 62px; display: grid; align-content: center; gap: 6px; border: 1px solid #35465d; border-radius: 6px; padding: 10px 14px; background: #151f2f; }
.guide-mock-field { position: relative; padding-right: 36px; }
.guide-mock-field strong, .guide-mock-toggle strong, .guide-mock-zones strong { overflow: hidden; color: #e5eaf1; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.guide-mock-field > i { position: absolute; top: 50%; right: 14px; color: #91a0b4; font-style: normal; transform: translateY(-50%); }
.guide-mock-toggle { grid-template-columns: 1fr auto; align-items: center; }
.guide-mock-toggle strong { max-width: 88px; white-space: normal; line-height: 1.12; }
.guide-mock-toggle i { width: 42px; height: 24px; position: relative; border: 1px solid #405069; border-radius: 14px; background: #263349; }
.guide-mock-toggle i::after { width: 16px; height: 16px; position: absolute; top: 3px; left: 4px; border-radius: 50%; background: #a9b5c5; content: ""; }
.guide-mock-zones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-mock-zones strong { grid-column: 1 / -1; }
.guide-mock-zones b { min-height: 28px; display: grid; place-items: center; border: 1px solid #405069; border-radius: 5px; color: #c2cbd7; font-size: 10px; }
.guide-mock-services { min-height: 52px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #35465d; border-radius: 6px; padding: 0 16px; color: #c2cbd7; font-size: 13px; font-weight: 800; }
.guide-mock-services span:last-child { color: var(--orange); font-size: 22px; font-weight: 500; }

.company-wall { padding-top: 112px; padding-bottom: 124px; background: #fff; }
.company-wall-heading { max-width: 780px; margin: 0 auto 72px; text-align: center; }
.company-wall-heading h2 { margin-bottom: 12px; color: var(--ally-ink); font-size: 50px; }
.company-wall-heading > p:last-child { color: var(--body-copy); }
.company-logo-carousel { display: grid; gap: 10px; overflow: hidden; }
.company-logo-row { overflow: hidden; }
.company-logo-track { width: max-content; display: flex; animation: company-logo-marquee var(--logo-duration, 88s) linear infinite; will-change: transform; }
.company-logo-row.is-reverse .company-logo-track { animation-direction: reverse; }
.company-logo-row:hover .company-logo-track, .company-logo-row:focus-within .company-logo-track { animation-play-state: paused; }
.company-logo-group { display: flex; flex: none; gap: 30px; padding-right: 30px; }
.company-logo-item { width: 190px; min-height: 94px; position: relative; display: grid; place-items: center; flex: none; padding: 18px 16px; background: #fff; text-decoration: none; }
.company-logo-item img { width: 100%; max-width: 155px; height: 58px; object-fit: contain; }
.company-logo-hint { position: absolute; right: 50%; bottom: 5px; z-index: 2; width: max-content; max-width: calc(100% - 12px); padding: 5px 9px; border: 1px solid #d5d5d1; border-radius: 999px; background: rgba(255,255,255,.96); box-shadow: 0 5px 16px rgba(23,24,23,.1); color: #555651; font-size: 10px; font-weight: 750; line-height: 1.1; opacity: 0; pointer-events: none; transform: translate(50%, 4px); transition: opacity .16s ease, transform .16s ease; }
.company-logo-item:hover .company-logo-hint, .company-logo-item:focus-visible .company-logo-hint { opacity: 1; transform: translate(50%, 0); }
.company-logo-item.is-empty { min-height: 94px; }
.company-logo-item.is-empty .company-logo-hint { display: none; }
@keyframes company-logo-marquee { to { transform: translateX(-50%); } }

.site-section { padding: 90px 0; }
.site-section.is-muted { background: var(--soft); }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading.is-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.feature-item { padding-top: 22px; border-top: 3px solid var(--orange); }
.feature-index { display: inline-block; margin-bottom: 32px; color: var(--green); font-weight: 900; }
.feature-item h3 { margin-bottom: 14px; }
.feature-item p { margin-bottom: 0; color: var(--body-copy); }

.timeline-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cbd3dc; }
.timeline-step { min-height: 220px; display: flex; flex-direction: column; gap: 22px; padding: 26px 20px 20px 0; border-right: 1px solid #cbd3dc; color: var(--blue-dark); text-decoration: none; }
.timeline-step + .timeline-step { padding-left: 20px; }
.timeline-step:last-child { border-right: 0; }
.timeline-step span { color: var(--orange-dark); font-size: 32px; font-weight: 900; }
.timeline-step strong { font-size: 16px; line-height: 1.45; }

.home-editions, .home-articles { background: var(--ally-bg); color: var(--ally-ink); }
.home-editions { border-top: 1px solid #cfcec9; }
.home-editions .section-heading, .home-articles .section-heading { margin-bottom: 38px; padding-bottom: 20px; border-bottom: 5px solid var(--ally-yellow); }
.home-editions .section-heading h2, .home-articles .section-heading h2 { color: var(--ally-ink); font-size: 38px; line-height: 1.04; }
.home-editions .section-heading .text-link, .home-articles .section-heading .text-link { color: var(--ally-ink); }
.home-wave-timeline { overflow-x: auto; overflow-y: hidden; padding: 4px 0 14px; scrollbar-width: thin; scrollbar-color: #b5b5b0 transparent; }
.home-wave-track { width: max(100%, calc(var(--timeline-count, 4) * 260px)); min-height: 420px; position: relative; }
.home-wave-track > svg { width: 100%; height: 420px; position: absolute; inset: 0; overflow: visible; }
.home-wave-track > svg path { fill: none; stroke: #c8c8c3; stroke-linecap: round; stroke-width: 5; vector-effect: non-scaling-stroke; }
.home-wave-item { width: min(270px, calc(92% / var(--timeline-count, 4))); height: 420px; position: absolute; top: 0; left: var(--pin-x); color: var(--ally-ink); text-align: center; text-decoration: none; transform: translateX(-50%); }
.home-wave-pin { width: 2px; height: 38px; position: absolute; top: var(--pin-y); left: 50%; background: var(--ally-ink); transform: translateX(-50%); transition: height .18s ease, top .18s ease; }
.home-wave-item.is-above .home-wave-pin { top: calc(var(--pin-y) - 38px); }
.home-wave-content { width: 100%; position: absolute; top: calc(var(--pin-y) + 48px); left: 50%; display: grid; gap: 7px; transform: translateX(-50%); }
.home-wave-item.is-above .home-wave-content { top: auto; bottom: calc(420px - var(--pin-y) + 48px); }
.home-wave-content strong { color: var(--ally-ink); font-size: 30px; font-weight: 800; line-height: 1; }
.home-wave-content small { color: var(--body-copy); font-size: 14px; font-weight: 650; line-height: 1.38; }
.home-wave-item:hover .home-wave-pin, .home-wave-item:focus-visible .home-wave-pin { height: 48px; background: var(--orange-dark); }
.home-wave-item.is-above:hover .home-wave-pin, .home-wave-item.is-above:focus-visible .home-wave-pin { top: calc(var(--pin-y) - 48px); }
.home-wave-item:hover .home-wave-content strong, .home-wave-item:focus-visible .home-wave-content strong { color: var(--orange-dark); }
.home-article-carousel-controls { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.home-article-carousel-controls button { width: 66px; height: 42px; display: grid; place-items: center; border: 1px solid #b9b9b4; border-radius: 999px; background: transparent; color: var(--ally-ink); font: inherit; font-size: 21px; line-height: 1; cursor: pointer; transition: border-color .16s ease, background .16s ease, color .16s ease; }
.home-article-carousel-controls button:hover, .home-article-carousel-controls button:focus-visible { border-color: var(--ally-ink); background: var(--ally-ink); color: #fff; }
.home-article-carousel-viewport { overflow-x: auto; padding-bottom: 12px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: #a9a9a4 transparent; scrollbar-width: thin; }
.home-article-carousel-track { display: grid; grid-auto-columns: calc((100% - 44px) / 3); grid-auto-flow: column; gap: 22px; }
.home-article-carousel-track .article-card { height: 100%; scroll-snap-align: start; }
.home-articles .article-card { border-color: #cfcec9; background: #fff; }
.home-articles .article-card time { color: var(--orange-dark); }
.home-articles .article-card h3, .home-articles .article-card h3 a { color: var(--ally-ink); }
.home-articles .article-card p { color: var(--body-copy); font-size: 16px; }

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.article-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.article-card:hover .article-image img { transform: scale(1.025); }
.article-card > div { padding: 22px; }
.article-card time { color: var(--green); font-size: 12px; font-weight: 900; }
.article-card h2, .article-card h3 { margin: 8px 0 12px; font-size: 21px; line-height: 1.25; }
.article-card h2 a, .article-card h3 a { text-decoration: none; }
.article-card p { color: var(--body-copy); }
.article-groups { display: grid; gap: 82px; }
.article-group { scroll-margin-top: 110px; }
.article-group-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.article-group-heading h2, .article-group-heading .site-eyebrow { margin-bottom: 0; }
.article-group-heading > span { color: var(--green); font-size: 13px; font-weight: 900; white-space: nowrap; }
.article-stack-layout { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 20px; }
.article-stack-viewport { min-width: 0; transition: height .38s ease; }
.article-stack.is-ready .article-stack-viewport { overflow: hidden; }
.article-stack-track { display: flex; align-items: flex-start; transition: transform .42s ease; will-change: transform; }
.article-stack-page { min-width: 100%; flex: 0 0 100%; }
.article-stack-page[aria-hidden="true"] { pointer-events: none; }
.article-stack-controls { display: flex; justify-content: center; gap: 10px; }
.article-stack-controls button { width: 66px; height: 42px; display: grid; place-items: center; border: 1px solid #b9b9b4; border-radius: 999px; background: transparent; color: var(--ally-ink); font: inherit; font-size: 21px; line-height: 1; cursor: pointer; transition: border-color .16s ease, background .16s ease, color .16s ease, opacity .16s ease; }
.article-stack-controls button:hover:not(:disabled), .article-stack-controls button:focus-visible { border-color: var(--ally-ink); background: var(--ally-ink); color: #fff; }
.article-stack-controls button:disabled { opacity: .28; cursor: default; }

.home-cta { padding: 70px 0; background: var(--blue-dark); color: #fff; }
.home-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.home-cta h2 { max-width: 720px; margin-bottom: 0; color: #fff; }
.home-cta .site-eyebrow { color: #ffc878; }

.compact-hero { padding: 14px 0 52px; background: var(--ally-bg); }
.compact-hero-stage { --hero-radius: 28px; position: relative; width: min(1460px, calc(100% - 48px)); height: 360px; overflow: hidden; border-radius: var(--hero-radius); background: #d9d9d5; }
.compact-hero-media { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: #d9d9d5; }
.compact-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.compact-hero-panel { --hero-notch-radius: var(--hero-radius); width: min(720px, 54%); min-height: 230px; position: absolute; right: 0; bottom: 0; display: flex; align-items: flex-start; flex-direction: column; justify-content: flex-start; padding: 28px 28px 26px; border-radius: var(--hero-notch-radius) 0 0 0; background: var(--ally-bg); color: var(--ally-ink); }
.compact-hero-panel::before, .compact-hero-panel::after { width: var(--hero-notch-radius); height: var(--hero-notch-radius); position: absolute; background: radial-gradient(circle var(--hero-notch-radius) at top left, transparent calc(100% - 1px), var(--ally-bg) 100%); content: ""; pointer-events: none; }
.compact-hero-panel::before { top: calc(-1 * var(--hero-notch-radius)); right: 0; }
.compact-hero-panel::after { bottom: 0; left: calc(-1 * var(--hero-notch-radius)); }
.compact-hero-panel .site-eyebrow { margin-bottom: 8px; }
.compact-hero-panel h1 { width: 100%; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 5px solid var(--ally-yellow); color: var(--ally-ink); font-size: clamp(38px, 4vw, var(--compact-hero-title-size, 56px)); line-height: .98; }
.compact-hero-panel h1.compact-hero-edition-heading { margin: 0 0 22px; padding: 0; border: 0; font-size: 0; line-height: 0; }
.compact-hero-edition-logo { width: min(100%, 430px); max-height: 118px; object-fit: contain; object-position: left center; }
.compact-hero-intro { max-width: 650px; margin: 0; color: var(--body-copy); font-size: 18px; font-weight: 550; line-height: 1.45; }
.compact-hero-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.compact-hero-actions .site-button { width: 100%; }
:is(.site-page-edizione, .site-page-top-esg-lab) .compact-hero-panel { width: min(620px, 46%); min-height: 220px; align-items: center; justify-content: center; padding: 24px 34px 26px; text-align: center; }
:is(.site-page-edizione, .site-page-top-esg-lab) .compact-hero-panel h1.compact-hero-edition-heading { width: 100%; margin-bottom: 20px; text-align: center; }
:is(.site-page-edizione, .site-page-top-esg-lab) .compact-hero-edition-logo { width: min(100%, 510px); max-height: 148px; object-position: center; }
:is(.site-page-edizione, .site-page-top-esg-lab) .compact-hero-intro { max-width: 520px; text-align: center; }

.page-hero { padding: 92px 0 82px; border-bottom: 1px solid var(--line); background: var(--blue-dark); color: #fff; }
.page-hero-inner { max-width: 1180px; }
.page-hero h1 { max-width: 920px; margin-bottom: 22px; color: #fff; }
.page-hero-intro { max-width: 820px; margin-bottom: 0; color: rgba(255,255,255,.86); font-size: 22px; line-height: 1.5; }
.page-hero .site-button { margin-top: 22px; }

.editorial-grid, .lab-intro-grid, .download-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: start; }
.editorial-media { position: sticky; top: 112px; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 8px; background: var(--soft); }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.vertical-timeline { border-top: 1px solid #cbd3dc; }
.vertical-timeline-item { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid #cbd3dc; text-decoration: none; }
.vertical-timeline-item time { color: var(--orange-dark); font-size: 34px; font-weight: 900; }
.vertical-timeline-item h3 { margin-bottom: 8px; }
.vertical-timeline-item p { margin-bottom: 0; color: var(--body-copy); }

.edition-grid { display: grid; gap: 18px; }
.edition-card { display: grid; grid-template-columns: 440px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.edition-mark { min-height: 240px; display: grid; place-items: center; padding: 28px; background: var(--warm); color: var(--orange-dark); font-size: 42px; font-weight: 900; text-decoration: none; }
.edition-mark img { width: 100%; max-width: 420px; max-height: 210px; object-fit: contain; }
.edition-card-content { display: grid; align-content: center; justify-items: start; padding: 28px 34px; }
.edition-card h2 { margin-bottom: 8px; font-size: 28px; }
.edition-card p { margin-bottom: 12px; color: var(--body-copy); }
.edition-card-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 20px; }
.edition-card-stats span { color: var(--green); font-size: 13px; font-weight: 850; }
.edition-card-stats strong { color: inherit; font-size: inherit; }
.position-paper-archive-mark img { width: auto; max-width: 100%; max-height: 280px; object-fit: contain; }
.position-paper-archive-card .edition-card-content { min-width: 0; }
.position-paper-archive-card .edition-card-content p { max-width: 760px; }
.edition-detail-button { min-width: 132px; }
.edition-stats-showcase { padding: 80px 0 86px; background: #fff; color: var(--ally-ink); }
.edition-stats-showcase > .site-shell { width: min(1460px, calc(100% - 48px)); }
.edition-stats-showcase h2 { max-width: 920px; margin: 0 auto 70px; color: var(--ally-ink); font-size: var(--edition-stats-title-size, 52px); line-height: 1.08; text-align: center; }
.edition-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.edition-stats-grid article { min-width: 0; padding: 0 32px; text-align: center; }
.edition-stats-grid article + article { border-left: 1px solid #cfcec9; }
.edition-stats-grid strong { display: block; margin-bottom: 20px; color: #2d005b; font-size: var(--edition-stats-value-size, 46px); font-weight: 850; line-height: 1; overflow-wrap: anywhere; }
.edition-stats-grid h3 { margin: 0 0 20px; color: var(--ally-ink); font-size: var(--edition-stats-label-size, 22px); line-height: 1.2; }
.edition-stats-grid p { margin: 0; color: var(--body-copy); font-size: var(--edition-stats-text-size, 18px); line-height: 1.55; }
.edition-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: 60px; align-items: start; }
.edition-participants-note { margin: 12px 0 0; color: var(--body-copy); font-size: 16px; line-height: 1.45; }
.participant-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 38px; }
.participant-list span { min-width: 0; display: grid; align-content: start; gap: 5px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ally-ink); font-size: 16px; }
.participant-list strong { font-weight: 850; }
.participant-list small { color: var(--body-copy); font-size: 13px; line-height: 1.35; }
.edition-videos-section .section-heading { margin-bottom: 34px; }
.edition-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.edition-video-card { min-width: 0; }
.edition-video-card h3 { min-height: 2.5em; margin: 0 0 16px; color: var(--ally-ink); font-size: var(--edition-video-title-size, 22px); line-height: 1.25; }
.video-panel { position: sticky; top: 112px; }
.video-frame { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 8px; background: #111; box-shadow: var(--shadow); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

.lab-logo { min-height: 320px; display: grid; place-items: center; padding: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.lab-logo img { max-height: 180px; object-fit: contain; }
.initiative-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.initiative-item { min-height: 240px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.initiative-item > span, .initiative-copy > span { color: var(--orange-dark); font-weight: 900; }
.initiative-item h3 { margin: 38px 0 12px; }
.initiative-item p { margin: 0; color: var(--body-copy); }

.contact-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 60px; align-items: start; }
.contact-data { position: sticky; top: 112px; padding: 8px 28px; border-radius: 8px; background: var(--warm); }
.contact-data-item { display: grid; grid-template-columns: minmax(72px, .65fr) minmax(0, 1fr); align-items: baseline; gap: 14px; padding: 22px 0; border-bottom: 1px solid #cfcec9; }
.contact-data-item:last-child { border-bottom: 0; }
.contact-data-item > span { color: var(--orange-dark); font-size: var(--contact-label-size, 13px); font-weight: 900; text-transform: uppercase; }
.contact-data-item a, .contact-data-item p { min-width: 0; display: block; margin: 0; overflow-wrap: anywhere; color: var(--blue-dark); font-size: var(--contact-text-size, 17px); font-weight: 750; }
.contact-social-item { align-items: center; }
.site-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.site-social-links a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--blue-dark); font-size: var(--social-icon-size, 20px); font-weight: 900; line-height: 1; text-decoration: none; transition: background .16s ease, color .16s ease, transform .16s ease; }
.site-social-links svg { width: 52%; height: 52%; display: block; fill: currentColor; }
.site-social-links a:hover, .site-social-links a:focus-visible { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.form-panel { padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.site-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.site-field { display: grid; gap: 7px; margin-bottom: 18px; }
.site-field label { color: var(--blue-dark); font-size: 13px; font-weight: 850; }
.site-field input, .site-field select, .site-field textarea { width: 100%; min-height: 48px; border: 1px solid #cfd7e1; border-radius: 8px; padding: 11px 13px; background: #fff; color: var(--ink); }
.site-field textarea { min-height: 140px; resize: vertical; }
.site-field input:focus, .site-field select:focus, .site-field textarea:focus { outline: 3px solid rgba(252,164,55,.22); border-color: var(--orange); }
.site-consent { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 22px; color: var(--body-copy); font-size: 14px; }
.site-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue-dark); }
.site-consent a { color: var(--blue-dark); font-weight: 800; }
.site-notice { margin-bottom: 18px; padding: 14px 16px; border: 1px solid; border-radius: 8px; }
.site-notice.is-error { border-color: #e4a1a1; background: #fff1f1; color: #8e2228; }
.site-notice.is-success { border-color: #9bc8ae; background: #edf8f1; color: #236b43; }
.site-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.topesg-turnstile { width: 100%; min-height: 0; margin: 0 0 18px; }
.topesg-turnstile iframe { max-width: 100%; }
.download-visual { position: sticky; top: 112px; overflow: hidden; min-height: 620px; border-radius: 8px; background: var(--soft); }
.download-visual img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.document-download-section { padding: 70px 0 82px; background: #fff !important; }
.document-download-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; align-items: stretch; }
.document-download-media { position: static; min-height: 0; overflow: hidden; border-right: 1px solid #cfcec9; border-radius: 0; padding-right: clamp(28px, 4vw, 64px); background: transparent; }
.document-download-media img { width: 100%; height: 100%; min-height: 0; max-height: 560px; border-radius: 0; object-fit: contain; object-position: top center; }
.document-download-panel { border: 0; border-radius: 0; padding: 8px 0 8px clamp(28px, 4vw, 64px); background: transparent; box-shadow: none; }
.document-download-panel h2 { margin: 0 0 14px; color: var(--ally-ink); font-size: clamp(34px, 3.4vw, 52px); line-height: 1.04; }
.document-download-lead { margin: 0 0 14px; color: var(--body-copy); font-size: 20px; font-weight: 800; line-height: 1.4; }
.document-download-note { margin: 0 0 24px; color: var(--body-copy); font-size: 16px; line-height: 1.55; }
.document-consent-block { margin-top: 4px; border-top: 1px solid #cfcec9; padding-top: 18px; }
.document-consent-block h3 { margin: 0 0 10px; font-size: 14px; }
.project-label-section { background: #fff !important; }
.project-label-copy { width: 100%; max-width: none; }
.project-label-visual { width: 100%; margin: 42px 0 0; background: #fff; }
.project-label-visual img { width: 100%; max-height: 680px; object-fit: contain; object-position: center; user-select: none; -webkit-user-drag: none; }
.empty-state { padding: 42px; border: 1px dashed #b7c0cb; border-radius: 8px; background: var(--soft); color: var(--body-copy); text-align: center; }

:is(.site-page-progetto, .site-page-dati-aggregati, .site-page-edizioni, .site-page-edizione, .site-page-top-esg-lab, .site-page-articoli, .site-page-contatti, .site-page-position-paper, .site-page-position-paper-detail, .site-page-archivio-position-paper, .site-page-informativa-privacy, .site-page-informativa-cookie, .site-page-note-legali) { background: var(--ally-bg); color: var(--ally-ink); }
:is(.site-page-progetto, .site-page-dati-aggregati, .site-page-edizioni, .site-page-edizione, .site-page-top-esg-lab, .site-page-articoli, .site-page-contatti, .site-page-position-paper, .site-page-position-paper-detail, .site-page-archivio-position-paper, .site-page-informativa-privacy, .site-page-informativa-cookie, .site-page-note-legali) main > section > .site-shell { width: min(1460px, calc(100% - 48px)); }
:is(.site-page-progetto, .site-page-dati-aggregati, .site-page-edizioni, .site-page-edizione, .site-page-top-esg-lab, .site-page-articoli, .site-page-contatti, .site-page-position-paper, .site-page-position-paper-detail, .site-page-archivio-position-paper, .site-page-informativa-privacy, .site-page-informativa-cookie, .site-page-note-legali) .site-section { background: var(--ally-bg); }
:is(.site-page-progetto, .site-page-dati-aggregati, .site-page-edizioni, .site-page-edizione, .site-page-top-esg-lab, .site-page-articoli, .site-page-contatti, .site-page-position-paper, .site-page-position-paper-detail, .site-page-archivio-position-paper, .site-page-informativa-privacy, .site-page-informativa-cookie, .site-page-note-legali) .site-section.is-muted { background: #e8e8e5; }
:is(.site-page-progetto, .site-page-dati-aggregati, .site-page-edizioni, .site-page-edizione, .site-page-top-esg-lab, .site-page-articoli, .site-page-contatti, .site-page-position-paper, .site-page-position-paper-detail, .site-page-archivio-position-paper, .site-page-informativa-privacy, .site-page-informativa-cookie, .site-page-note-legali) h2,
:is(.site-page-progetto, .site-page-dati-aggregati, .site-page-edizioni, .site-page-edizione, .site-page-top-esg-lab, .site-page-articoli, .site-page-contatti, .site-page-position-paper, .site-page-position-paper-detail, .site-page-archivio-position-paper, .site-page-informativa-privacy, .site-page-informativa-cookie, .site-page-note-legali) h3 { color: var(--ally-ink); }
:is(.site-page-progetto, .site-page-edizione, .site-page-top-esg-lab) .section-heading { max-width: none; margin-bottom: 34px; padding-bottom: 20px; border-bottom: 5px solid var(--ally-yellow); }
:is(.site-page-progetto, .site-page-edizione, .site-page-top-esg-lab) .section-heading h2 { margin-bottom: 0; font-size: 38px; }
.institutional-prose { width: 100%; max-width: none; columns: 2; column-gap: 72px; column-rule: 1px solid #b9b9b4; color: var(--body-copy); font-size: 20px; line-height: 1.65; }
.institutional-prose p { break-inside: avoid; margin-bottom: 24px; }
.vertical-timeline { border-top: 5px solid var(--ally-yellow); }
.vertical-timeline-item { grid-template-columns: 150px 1fr; border-bottom-color: #b9b9b4; padding: 34px 0; color: var(--ally-ink); }
.vertical-timeline-item time { color: var(--ally-ink); font-size: 42px; font-weight: 750; }
.vertical-timeline-item p { color: var(--body-copy); }
.edition-grid { gap: 0; border-top: 5px solid var(--ally-yellow); }
.edition-card { border: 0; border-bottom: 1px solid #b9b9b4; border-radius: 0; background: transparent; }
.edition-mark { min-height: 240px; border-right: 1px solid #b9b9b4; background: transparent; color: var(--ally-ink); font-size: 52px; font-weight: 750; }
.edition-card-content { padding: 32px 40px; }
.edition-card h2 { color: var(--ally-ink); font-size: 32px; }
.edition-card p { color: var(--body-copy); font-size: 17px; }
.edition-card-stats span { color: var(--orange-dark); }
.participant-list small { color: var(--body-copy); }
.initiative-grid { gap: 0; border-top: 5px solid var(--ally-yellow); }
.initiative-item { min-height: 260px; border: 0; border-right: 1px solid #b9b9b4; border-bottom: 1px solid #b9b9b4; border-radius: 0; padding: 30px; background: transparent; }
.initiative-item:nth-child(even) { border-right: 0; }
.initiative-item { display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 28px; }
.initiative-copy > span { color: var(--ally-ink); font-size: 34px; font-weight: 750; }
.initiative-item h3 { margin-top: 24px; font-size: 25px; }
.initiative-item p { color: var(--body-copy); font-size: 16px; }
.initiative-visual { width: 100%; margin: 0; }
.initiative-visual img { width: 100%; max-height: 190px; display: block; object-fit: contain; }
:is(.site-page-top-esg-lab, .site-page-home) .home-cta { border-top: 0; background: var(--ally-bg); color: var(--ally-ink); }
.site-page-top-esg-lab .institutional-prose { column-fill: balance; }
.site-page-top-esg-lab .institutional-prose p { break-inside: auto; }
.site-page-top-esg-lab .initiative-grid { border-top: 0; }
:is(.site-page-top-esg-lab, .site-page-home) .home-cta-inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(190px, 1fr); align-items: end; gap: 48px; }
:is(.site-page-top-esg-lab, .site-page-home) .home-cta h2 { color: var(--ally-ink); }
:is(.site-page-top-esg-lab, .site-page-home) .home-cta .site-eyebrow { color: var(--orange-dark); }
:is(.site-page-top-esg-lab, .site-page-home) .home-cta h2, :is(.site-page-top-esg-lab, .site-page-home) .lab-cta-text { width: 100%; max-width: none; }
:is(.site-page-top-esg-lab, .site-page-home) .lab-cta-text { margin: 22px 0 0; color: var(--body-copy); font-size: 18px; line-height: 1.6; }
:is(.site-page-top-esg-lab, .site-page-home) .home-cta .site-button { width: fit-content; justify-self: end; }
.site-page-top-esg-lab .lab-members-section { padding-top: 90px; background: #fff; }
.lab-members-panel { padding: 0; border: 0; border-radius: 0; background: transparent; }
.lab-members-heading { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 14px; margin-bottom: 46px; padding-bottom: 24px; border-bottom: 5px solid var(--ally-yellow); }
.lab-members-heading .site-eyebrow { margin-bottom: 0; }
.lab-members-heading h2 { margin: 0; font-size: 38px; white-space: nowrap; }
.lab-members-intro { max-width: 920px; margin: 0; color: var(--body-copy); font-size: 17px; line-height: 1.55; }
.lab-members-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 64px; background: transparent; }
.lab-member { min-width: 0; min-height: 176px; display: grid; place-items: center; padding: 20px; background: #fff; color: var(--ally-ink); text-align: center; text-decoration: none; transition: opacity .16s ease, transform .16s ease; }
.lab-member:hover, .lab-member:focus-visible { position: relative; z-index: 1; opacity: .78; transform: translateY(-3px); }
.lab-member img { width: 100%; max-width: 280px; height: 118px; display: block; object-fit: contain; }
.lab-member span { font-size: 14px; font-weight: 800; line-height: 1.3; }
.article-group-heading { padding-bottom: 20px; border-bottom: 5px solid var(--ally-yellow); }
.article-group-heading h2 { color: var(--ally-ink); font-size: 38px; }
.article-group-heading > span { color: var(--orange-dark); }
.site-page-articoli .article-card { border-color: #cfcec9; background: #fff; }
.site-page-articoli .article-card time { color: var(--orange-dark); }
.site-page-articoli .article-card h3 a { color: var(--ally-ink); }
.site-page-articoli .article-card p { color: var(--body-copy); }

.legal-page-section { padding-top: 42px; }
.legal-document { width: 100%; max-width: none; margin: 0; color: var(--body-copy); font-size: 17px; line-height: 1.72; overflow-wrap: anywhere; }
.legal-document h2 { margin: 64px 0 20px; padding-bottom: 14px; border-bottom: 4px solid var(--ally-yellow); color: var(--ally-ink); font-size: 34px; line-height: 1.12; }
.legal-document h2:first-child { margin-top: 0; }
.legal-document h3 { margin: 38px 0 14px; color: var(--ally-ink); font-size: 23px; line-height: 1.25; }
.legal-document p { margin-bottom: 18px; }
.legal-document ul, .legal-document ol { margin: 0 0 24px; padding-left: 26px; }
.legal-document li + li { margin-top: 8px; }
.legal-document a { color: var(--blue); font-weight: 750; text-underline-offset: 3px; }
.legal-document table { width: 100%; margin: 30px 0 38px; border-collapse: collapse; table-layout: fixed; background: #fff; font-size: 15px; line-height: 1.48; }
.legal-document caption { padding: 0 0 12px; color: var(--ally-ink); font-size: 18px; font-weight: 850; text-align: left; }
.legal-document th, .legal-document td { padding: 15px 16px; border-bottom: 1px solid #d4d6d4; vertical-align: top; text-align: left; }
.legal-document th { background: #607a9d; color: #fff; font-weight: 850; }
.legal-document tbody tr:nth-child(even) { background: #f4f4f1; }
.legal-document .legal-note, .legal-document blockquote { margin: 30px 0; padding: 22px 24px; border-left: 5px solid var(--ally-yellow); background: #fff; color: var(--body-copy); }
.legal-document .legal-note p:last-child, .legal-document blockquote p:last-child { margin-bottom: 0; }
.legal-document .legal-meta { margin-top: 42px; color: #68717d; font-size: 14px; font-style: italic; }

.admin-legal-editor-fieldset { grid-column: 1 / -1; }
.admin-rich-toolbar { position: sticky; top: 12px; z-index: 4; display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 0; padding: 10px; border: 1px solid #cfd8e6; background: #eef2f7; }
.admin-rich-toolbar button { min-height: 38px; padding: 8px 12px; border: 1px solid #bdc9d9; border-radius: 5px; background: #fff; color: #3f5d83; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.admin-rich-toolbar button:hover, .admin-rich-toolbar button:focus-visible { border-color: #607a9d; background: #f8fafc; outline: none; }
.admin-rich-editor { min-height: 620px; padding: 34px; border: 1px solid #cfd8e6; background: #fff; color: #3d3e3b; font-size: 16px; line-height: 1.68; overflow-wrap: anywhere; }
.admin-rich-editor:focus { border-color: #607a9d; outline: 3px solid rgba(96,122,157,.18); }
.admin-rich-editor h2 { margin: 46px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #f5ad16; color: #161713; font-size: 28px; }
.admin-rich-editor h2:first-child { margin-top: 0; }
.admin-rich-editor h3 { margin: 30px 0 12px; color: #161713; font-size: 21px; }
.admin-rich-editor p { margin: 0 0 16px; }
.admin-rich-editor ul, .admin-rich-editor ol { margin: 0 0 20px; padding-left: 25px; }
.admin-rich-editor table { width: 100%; margin: 24px 0; border-collapse: collapse; table-layout: fixed; }
.admin-rich-editor th, .admin-rich-editor td { padding: 12px; border: 1px solid #cfd8e6; vertical-align: top; text-align: left; }
.admin-rich-editor th { background: #607a9d; color: #fff; }
.admin-rich-editor .legal-note, .admin-rich-editor blockquote { margin: 24px 0; padding: 18px 20px; border-left: 4px solid #f5ad16; background: #f6f7f8; }
.admin-rich-source { display: none; }

.site-footer { border-top: 0; background: var(--preview-dark); color: #fff; }
.site-footer > .site-shell { width: min(1460px, calc(100% - 48px)); }
.site-footer-grid { display: grid; grid-template-columns: minmax(340px, 1.6fr) repeat(3, minmax(170px, 1fr)); column-gap: clamp(42px, 5vw, 78px); padding-top: 72px; padding-bottom: 58px; }
.site-footer .site-footer-brand-logo { width: min(100%, 280px); display: block; margin: 0 0 22px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.22); }
.site-footer-brand-logo img { width: min(100%, 210px); height: auto; max-height: 78px; display: block; object-fit: contain; object-position: left center; }
.site-footer-brand dl, .site-footer-brand dd { margin: 0; }
.site-footer-brand dl { display: grid; gap: 13px; }
.site-footer-brand dl > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.site-footer-brand dt { color: #fff; font-size: 13px; font-weight: 850; }
.site-footer-brand dd { min-width: 0; color: #aeb8c7; font-size: 14px; }
.site-footer h2 { margin: 0 0 20px; color: #fff; font-size: 17px; line-height: 1.2; }
.site-footer-column, .site-footer-column nav { display: grid; align-content: start; }
.site-footer-column.is-split { grid-template-rows: 142px auto; gap: 20px; }
.site-footer a { display: block; width: fit-content; margin-bottom: 10px; color: #aeb8c7; font-size: 14px; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--ally-yellow); }
.site-footer .site-social-links { gap: 7px; }
.site-footer .site-social-links a { width: 24px; height: 24px; display: grid; place-items: center; margin: 0; border: 0; border-radius: 0; color: #d8dee7; }
.site-footer .site-social-links svg { width: 19px; height: 19px; }
.site-footer .site-social-links a:hover, .site-footer .site-social-links a:focus-visible { background: transparent; color: var(--ally-yellow); }
.site-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.18); color: #8f9bad; font-size: 12px; font-weight: 750; }

@media (min-width: 821px) {
  .site-footer-grid > :nth-child(n+2),
  .site-footer-grid > :nth-child(n+2) nav { justify-items: end; text-align: right; }
}

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1280px) {
  .home-hero-panel { width: min(520px, 48%); }
  .home-hero-panel h1 { font-size: min(var(--hero-title-size, 56px), 54px); }
}

@media (max-width: 1080px) {
  .site-header-inner { min-height: 72px; }
  .site-header-action { display: none; }
  .site-menu-toggle { display: block; }
  .site-navigation { position: fixed; inset: 72px 0 auto 0; max-height: calc(100vh - 72px); display: none; overflow-y: auto; align-items: stretch; flex-direction: column; padding: 18px 24px 28px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .site-navigation.is-open { display: flex; }
  .site-nav-item { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 44px; }
  .site-navigation a { padding: 13px 4px; font-size: max(16px, var(--menu-font-size, 13px)); }
  .site-navigation a::after { right: 4px; left: 4px; }
  .site-submenu-toggle { width: 44px; height: 44px; justify-self: end; }
  .site-submenu { position: static; grid-column: 1 / -1; min-width: 0; display: none; visibility: visible; margin: 0 0 8px 14px; border: 0; border-left: 2px solid var(--orange); border-radius: 0; box-shadow: none; opacity: 1; transform: none; }
  .site-nav-item.is-open > .site-submenu { display: block; }
  .site-submenu a { padding: 10px 14px; border-bottom: 0; font-size: 14px; }
  .site-navigation .site-navigation-guide { min-height: 46px; display: flex; align-items: center; justify-content: center; margin-top: 10px; border-radius: 8px; padding: 12px 18px; background: var(--menu-cta-bg, var(--ally-ink)); color: #fff; font-weight: 900; line-height: 1.1; }
  .site-navigation .site-navigation-guide::after { display: none; }
  .site-navigation-search { width: 100%; display: flex; justify-content: flex-start; margin-top: 8px; font-size: max(16px, var(--menu-font-size, 13px)); }
  .site-menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .site-menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .home-hero-stage { min-height: 560px; }
  .home-hero-panel { width: min(560px, 55%); }
  .home-hero-panel h1 { font-size: min(var(--hero-title-size, 56px), 54px); }
  .home-overview-grid { gap: 48px; }
  .home-project { padding-right: 0; }
  .home-project h2, .home-perimeter h2 { font-size: 38px; }
  .home-perimeter { padding-left: 32px; }
  .home-project-feature { padding-right: 16px; }
  .home-project-feature + .home-project-feature { padding-left: 16px; }
  .feature-grid, .article-grid { gap: 16px; }
  .guide-showcase-grid { grid-template-columns: 1fr; gap: 66px; }
  .guide-showcase-copy { max-width: 680px; }
  .guide-product-preview { width: 100%; max-width: 920px; }
  .company-logo-item { width: 174px; }
  .compact-hero-panel { width: min(680px, 60%); }
}

@media (max-width: 820px) {
  h1 { font-size: 46px; }
  h2 { font-size: 32px; }
  .site-shell { width: min(100% - 32px, 1180px); }
  .site-page-home .site-shell { width: min(100% - 32px, 1180px); }
  .home-hero-stage { width: min(100% - 32px, 1180px); height: auto; min-height: 0; display: grid; grid-template-areas: "panel" "media"; }
  .home-hero-media { position: relative; inset: auto; grid-area: media; aspect-ratio: 16 / 10; border-radius: 0; }
  .home-hero-panel { position: relative; inset: auto; grid-area: panel; width: 100%; min-height: 0; padding: 30px 28px 28px; border-radius: var(--hero-radius) var(--hero-radius) 0 0; }
  .home-hero-panel::before, .home-hero-panel::after { display: none; }
  .home-hero-panel h1 { font-size: min(var(--hero-title-size, 56px), 52px); }
  .home-hero-lead { font-size: min(var(--hero-intro-size, 17px), 16px); }
  .compact-hero-stage { width: min(100% - 32px, 1460px); height: auto; display: grid; grid-template-areas: "panel" "media"; }
  .compact-hero-media { position: relative; inset: auto; grid-area: media; aspect-ratio: 16 / 6; border-radius: 0; }
  .compact-hero-panel { width: 100%; min-height: 0; position: relative; inset: auto; grid-area: panel; padding: 26px 28px 28px; border-radius: var(--hero-radius) var(--hero-radius) 0 0; }
  :is(.site-page-edizione, .site-page-top-esg-lab) .compact-hero-panel { width: 100%; min-height: 0; }
  .compact-hero-panel::before, .compact-hero-panel::after { display: none; }
  .compact-hero-panel h1 { font-size: min(44px, var(--compact-hero-title-size, 56px)); }
  .compact-hero-edition-logo { max-height: 104px; }
  .compact-hero-intro { font-size: 17px; }
  :is(.site-page-progetto, .site-page-edizioni, .site-page-edizione, .site-page-top-esg-lab, .site-page-articoli, .site-page-contatti, .site-page-position-paper, .site-page-position-paper-detail, .site-page-archivio-position-paper, .site-page-informativa-privacy, .site-page-informativa-cookie, .site-page-note-legali) main > section > .site-shell { width: min(100% - 32px, 1460px); }
  .institutional-prose { columns: 1; column-rule: 0; font-size: 18px; }
  .home-overview-grid, .editorial-grid, .lab-intro-grid, .download-layout, .contact-layout, .edition-detail-grid { grid-template-columns: 1fr; gap: 38px; }
  .participant-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edition-video-grid { gap: 20px; }
  .home-project h2, .home-perimeter h2 { min-height: 0; }
  .home-project h2 { max-width: 680px; font-size: 38px; }
  .home-perimeter { padding: 38px 0 0; border-top: 1px solid #aaa9a5; border-left: 0; }
  .home-perimeter-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 24px; }
  .home-perimeter .site-stat, .home-perimeter .site-stat:first-child { display: grid; grid-template-columns: 1fr; align-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid #aaa9a5; }
  .editorial-media, .contact-data, .download-visual, .video-panel { position: static; }
  .feature-grid, .article-grid { grid-template-columns: 1fr; }
  .home-article-carousel-track { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; }
  .article-groups { gap: 64px; }
  .article-stack-layout { grid-template-columns: 1fr; gap: 20px; }
  .timeline-strip { grid-template-columns: repeat(2, 1fr); }
  .timeline-step:nth-child(2) { border-right: 0; }
  .timeline-step:nth-child(n+3) { border-top: 1px solid #cbd3dc; }
  .home-wave-timeline { overflow: visible; padding: 6px 0 0; }
  .home-wave-track { width: 100%; min-height: 0; display: grid; gap: 0; padding-left: 12px; }
  .home-wave-track::before { width: 2px; position: absolute; top: 18px; bottom: 18px; left: 35px; background: #c8c8c3; content: ""; }
  .home-wave-track > svg { display: none; }
  .home-wave-item, .home-wave-item.is-above { width: 100%; height: auto; min-height: 112px; position: relative; inset: auto; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 20px; text-align: left; transform: none; }
  .home-wave-pin, .home-wave-item.is-above .home-wave-pin, .home-wave-item:hover .home-wave-pin, .home-wave-item:focus-visible .home-wave-pin, .home-wave-item.is-above:hover .home-wave-pin, .home-wave-item.is-above:focus-visible .home-wave-pin { width: 2px; height: 70px; position: relative; inset: auto; z-index: 1; justify-self: center; background: var(--ally-ink); transform: none; }
  .home-wave-content, .home-wave-item.is-above .home-wave-content { width: auto; position: static; display: grid; gap: 6px; transform: none; }
  .home-cta-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 66px 0 58px; }
  .page-hero-intro { font-size: 20px; }
  .edition-card { grid-template-columns: 260px 1fr; }
  .edition-mark { min-height: 190px; padding: 20px; font-size: 30px; }
  .edition-mark img { max-width: 230px; max-height: 150px; }
  .edition-stats-showcase > .site-shell { width: min(100% - 32px, 1460px); }
  .edition-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .edition-stats-grid article:nth-child(3) { border-left: 0; }
  .initiative-grid { grid-template-columns: 1fr; }
  .lab-members-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 34px; }
  .lab-member { min-height: 148px; padding: 14px; }
  .lab-member img { max-width: 220px; height: 96px; }
  :is(.site-page-top-esg-lab, .site-page-home) .home-cta-inner { grid-template-columns: 1fr; gap: 28px; }
  :is(.site-page-top-esg-lab, .site-page-home) .home-cta .site-button { justify-self: start; }
  .guide-showcase { padding: 78px 0; }
  .guide-showcase h2 { font-size: 39px; }
  .guide-filter-row.is-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-mock-zones { grid-column: 1 / -1; }
  .company-logo-group { gap: 22px; padding-right: 22px; }
  .company-logo-item { width: 158px; min-height: 86px; }
  .company-wall-heading h2 { font-size: 42px; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer-grid > :first-child { grid-column: 1 / -1; }
  .site-footer-column.is-split { grid-template-rows: auto auto; }
  .site-footer > .site-shell { width: min(100% - 32px, 1460px); }
}

@media (max-width: 560px) {
  h1 { font-size: 38px; }
  h2 { font-size: 29px; }
  h3 { font-size: 20px; }
  .site-shell { width: min(100% - 24px, 1180px); }
  .site-page-home .site-shell { width: min(100% - 24px, 1180px); }
  .site-brand { width: 146px; }
  .site-header-inner { width: min(100% - 24px, 1180px); }
  .home-hero-ally { padding-top: 4px; padding-bottom: 36px; }
  .home-hero-stage { height: auto; min-height: 0; display: grid; }
  .home-hero-media { aspect-ratio: 4 / 5; }
  .home-hero-media img { object-position: 60% center; }
  .home-hero-panel { padding: 28px 18px 24px; }
  .home-hero-panel h1 { font-size: min(var(--hero-title-size, 56px), 44px); }
  .home-hero-title-line.is-accent { border-bottom-width: 5px; }
  .home-hero-lead { font-size: min(var(--hero-intro-size, 17px), 16px); }
  .home-hero-actions { align-items: stretch; flex-direction: column; }
  .home-hero-actions .site-button { width: 100%; flex: none; }
  .compact-hero { padding-top: 4px; padding-bottom: 36px; }
  .compact-hero-stage { width: min(100% - 24px, 1460px); }
  .compact-hero-media { aspect-ratio: 16 / 8; }
  .compact-hero-panel { padding: 24px 18px 26px; }
  .compact-hero-panel h1 { margin-bottom: 14px; padding-bottom: 10px; font-size: min(36px, var(--compact-hero-title-size, 56px)); }
  .compact-hero-panel h1.compact-hero-edition-heading { margin-bottom: 18px; }
  .compact-hero-edition-logo { max-height: 84px; }
  .compact-hero-intro { font-size: 16px; }
  :is(.site-page-progetto, .site-page-edizioni, .site-page-edizione, .site-page-top-esg-lab, .site-page-articoli, .site-page-contatti, .site-page-position-paper, .site-page-position-paper-detail, .site-page-archivio-position-paper, .site-page-informativa-privacy, .site-page-informativa-cookie, .site-page-note-legali) main > section > .site-shell { width: min(100% - 24px, 1460px); }
  .home-overview, .site-section { padding: 64px 0; }
  .home-overview-grid { grid-template-columns: 1fr; gap: 38px; }
  .home-project h2, .home-perimeter h2 { font-size: 30px; }
  .home-project-copy { font-size: 17px; }
  .home-project-infographic { margin-top: 38px; }
  .home-project-infographic-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .home-project-feature-grid { grid-template-columns: 1fr; }
  .home-project-feature, .home-project-feature + .home-project-feature { padding: 20px 0; border: 0; }
  .home-project-feature > span { margin-bottom: 14px; font-size: min(var(--feature-number-size, 36px), 36px); }
  .home-project-feature h4 { font-size: min(var(--feature-title-size, 22px), 22px); }
  .home-project-feature p { font-size: min(var(--feature-text-size, 17px), 17px); }
  .home-perimeter { padding-top: 32px; }
  .home-perimeter-stats { grid-template-columns: 1fr; grid-template-rows: none; gap: 0; }
  .home-perimeter .site-stat, .home-perimeter .site-stat:first-child { min-height: 112px; grid-template-columns: 1fr 1fr; align-items: center; gap: 18px; padding: 20px 0; }
  .prose, .prose.is-large { font-size: 17px; }
  .section-heading.is-row { align-items: flex-start; flex-direction: column; }
  .home-article-carousel-track { grid-auto-columns: 100%; }
  .article-group-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .timeline-strip { grid-template-columns: 1fr; }
  .timeline-step, .timeline-step + .timeline-step { min-height: 150px; padding: 22px 0; border-right: 0; border-top: 1px solid #cbd3dc; }
  .timeline-step:first-child { border-top: 0; }
  .vertical-timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .edition-card { grid-template-columns: 1fr; }
  .edition-mark { min-height: 118px; border-right: 0; border-bottom: 1px solid #b9b9b4; }
  .edition-mark img { max-width: 150px; max-height: 86px; }
  .edition-card-content { padding: 24px; }
  .edition-card-stats { align-items: flex-start; flex-direction: column; gap: 6px; }
  .edition-stats-showcase { padding: 62px 0 68px; }
  .edition-stats-showcase > .site-shell { width: min(100% - 24px, 1460px); }
  .edition-stats-showcase h2 { margin-bottom: 46px; font-size: min(var(--edition-stats-title-size, 52px), 38px); }
  .edition-stats-grid { grid-template-columns: 1fr; row-gap: 0; }
  .edition-stats-grid article, .edition-stats-grid article + article { padding: 30px 0; border-left: 0; border-top: 1px solid #cfcec9; }
  .edition-stats-grid article:first-child { border-top: 0; }
  .edition-stats-grid strong { font-size: min(var(--edition-stats-value-size, 46px), 44px); }
  .edition-stats-grid h3 { font-size: min(var(--edition-stats-label-size, 22px), 26px); }
  .edition-stats-grid p { font-size: min(var(--edition-stats-text-size, 18px), 20px); }
  .participant-list { grid-template-columns: 1fr; gap: 24px; }
  .edition-video-grid { grid-template-columns: 1fr; }
  .edition-video-card h3 { min-height: 0; font-size: min(var(--edition-video-title-size, 22px), 24px); }
  .site-form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-panel { padding: 22px 18px; }
  .download-visual, .download-visual img { min-height: 360px; }
  .home-perimeter .site-stat strong { font-size: 54px; }
  .guide-showcase { padding: 64px 0; }
  .guide-showcase-grid { gap: 46px; }
  .guide-showcase h2 { font-size: 34px; }
  .guide-product-preview { width: 100%; padding-top: 58px; }
  .guide-profile-preview-back { right: 2%; left: 8%; height: 170px; padding: 18px; }
  .guide-profile-preview-logo { height: 34px; margin-top: 18px; }
  .guide-profile-preview-lines { margin-top: 14px; }
  .guide-preview-toolbar { min-height: 58px; padding: 0 14px; }
  .guide-preview-toolbar strong { font-size: 13px; }
  .guide-filter-mockup { gap: 14px; padding: 14px; }
  .guide-filter-row.is-lead, .guide-filter-grid { grid-template-columns: 1fr; }
  .guide-mock-zones { grid-column: auto; }
  .guide-mock-field, .guide-mock-toggle, .guide-mock-zones { min-height: 60px; }
  .company-wall { padding-top: 74px; padding-bottom: 84px; }
  .company-wall-heading { margin-bottom: 46px; }
  .company-wall-heading h2 { font-size: 36px; }
  .company-logo-carousel { gap: 6px; }
  .company-logo-group { gap: 14px; padding-right: 14px; }
  .company-logo-item, .company-logo-item.is-empty { width: 142px; min-height: 78px; padding: 14px 10px; }
  .company-logo-item img { max-width: 130px; height: 50px; }
  .site-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer-grid > :first-child { grid-column: auto; }
  .site-footer-bottom { flex-direction: column; }
  .site-footer > .site-shell { width: min(100% - 24px, 1460px); }
  .site-footer-column.is-split { gap: 28px; }
  .legal-document { font-size: 16px; }
  .legal-document h2 { margin-top: 50px; font-size: 29px; }
  .legal-document h3 { font-size: 21px; }
  .legal-document table { font-size: 13px; }
  .legal-document th, .legal-document td { padding: 11px 9px; }
  .site-company-search-dialog { padding: 76px 10px 10px; }
  .site-company-search-panel { max-height: calc(100vh - 86px); border-radius: 10px; padding: 20px 16px; }
  .site-company-search-control-row { grid-template-columns: minmax(0, 1fr) 48px; gap: 7px; }
  .site-company-search-control-row .site-company-search-close { width: 48px; height: 48px; }
  .site-company-search-panel h2 { font-size: 28px; }
  .site-company-search-meta { align-items: flex-start; flex-direction: column; gap: 2px; }
  .site-company-search-list { max-height: calc(100vh - 250px); }
  .initiative-item { min-height: 0; grid-template-columns: minmax(0, 1fr) 116px; gap: 18px; border-right: 0; padding: 26px 0; }
  .initiative-visual img { max-height: 124px; }
  .lab-members-panel { padding: 0; }
  .lab-members-heading { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; padding-bottom: 18px; }
  .lab-members-heading .site-eyebrow { grid-column: auto; margin-bottom: 0; }
  .lab-members-heading h2 { font-size: 30px; white-space: normal; }
  .lab-members-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-member { min-height: 112px; padding: 12px 8px; }
  .lab-member img { height: 68px; }
  .participant-list span { min-width: 100%; }
}

@media (max-width: 380px) {
  .home-hero-panel h1 { font-size: min(var(--hero-title-size, 56px), 38px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .company-logo-row { overflow-x: auto; scrollbar-width: thin; }
  .company-logo-track { animation: none; }
  .company-logo-group[aria-hidden="true"] { display: none; }
}

/* Area amministrazione sito */
.research-sections { background: var(--ally-bg); }
.research-sections .site-shell { width: min(1460px, calc(100% - 48px)); }
.research-anchor-nav { position: sticky; top: 82px; z-index: 88; border-top: 1px solid rgba(185,185,180,.72); border-bottom: 1px solid rgba(185,185,180,.72); background: rgba(241,241,239,.94); backdrop-filter: blur(14px); }
.research-anchor-nav .site-shell { width: min(1460px, calc(100% - 48px)); display: flex; gap: 8px; padding: 11px 0; overflow-x: auto; scrollbar-width: thin; }
.research-anchor-nav a { flex: 0 0 auto; border: 1px solid #b9bab6; border-radius: 999px; padding: 9px 14px; background: #fff; color: var(--ally-ink); font-size: 12px; font-weight: 850; line-height: 1.15; text-decoration: none; white-space: nowrap; transition: border-color .16s ease, background .16s ease, color .16s ease; }
.research-anchor-nav a:hover, .research-anchor-nav a:focus-visible { border-color: var(--ally-ink); background: var(--ally-ink); color: #fff; outline: 0; }
.research-text-section, .research-chart-section { scroll-margin-top: 158px; }
.research-text-section + .research-text-section,
.research-text-section + .research-chart-section,
.research-chart-section + .research-text-section,
.research-chart-section + .research-chart-section { border-top: 1px solid #b9b9b4; }
.research-section-heading { width: 100%; margin-bottom: 42px; padding-bottom: 20px; border-bottom: 5px solid var(--ally-yellow); }
.research-section-heading h2 { max-width: 1100px; margin: 0; color: var(--ally-ink); font-size: clamp(34px, 4vw, 58px); line-height: 1.02; }
.research-section-heading.is-chart { display: block; margin-bottom: 0; border-bottom-width: 5px; border-bottom-color: #607a9d; }
.research-section-intro { margin: 18px 0 42px; color: var(--body-copy); font-size: 18px; line-height: 1.45; }
.research-text-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; color: var(--body-copy); }
.research-text-columns > div { min-width: 0; padding-right: 36px; }
.research-text-columns > div + div { padding-right: 0; padding-left: 36px; border-left: 1px solid #b9b9b4; }
.research-text-columns p:last-child { margin-bottom: 0; }
.research-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.research-chart-card { min-width: 0; padding: 30px 0 8px; border-top: 1px solid #aeb0ac; }
.research-chart-card { grid-column: 1 / -1; }
.research-chart-card.has-hidden-legend { padding-bottom: 0; }
.research-chart-card > header { width: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 18px; margin-bottom: 24px; }
.research-chart-card > header h3 { width: 100%; max-width: none; margin: 0; font-size: 27px; line-height: 1.2; }
.research-chart-card > header p { margin: 0; color: #62645f; font-size: 13px; }
.research-chart-card > header p strong { color: var(--ally-ink); }
.research-chart-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; white-space: nowrap; }
.research-chart-pdf { min-width: 66px; height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid #607a9d; border-radius: 8px; background: transparent; color: #425b7b; font: inherit; font-size: 12px; font-weight: 900; cursor: pointer; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.research-chart-pdf:hover, .research-chart-pdf:focus-visible { background: #607a9d; color: #fff; transform: translateY(-1px); }
.research-chart-pdf i { font-size: 16px; font-style: normal; line-height: 1; }
.research-pdf-preview { min-height: 100vh; margin: 0; padding: 28px; background: #f1f1ef; color: #171817; }
.research-pdf-toolbar { width: min(100%, 1120px); display: flex; justify-content: flex-end; gap: 10px; margin: 0 auto 18px; }
.research-pdf-toolbar button { min-height: 42px; padding: 0 18px; border: 1px solid #607a9d; border-radius: 8px; background: #fff; color: #425b7b; font: 800 14px/1 Arial, sans-serif; cursor: pointer; }
.research-pdf-toolbar button:first-child { background: #607a9d; color: #fff; }
.research-pdf-sheet { width: min(100%, 1120px); margin: 0 auto; padding: 30px 34px; background: #fff; box-sizing: border-box; }
.research-pdf-sheet .research-chart-card { width: 100%; margin: 0; padding-top: 0; border-top: 0; opacity: 1; transform: none; }
.research-pdf-sheet details { break-inside: avoid; }

@media print {
  html, body.research-pdf-preview { background: #fff; }
  body.research-pdf-preview { padding: 0; }
  .research-pdf-preview, .research-pdf-preview * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .research-pdf-toolbar { display: none; }
  .research-pdf-sheet { width: 100%; max-width: none; padding: 0; }
  .research-pdf-sheet .research-chart-card { break-inside: avoid; }
}
.research-chart-note { width: 100%; margin: 24px 0 0; color: #62645f; font-size: var(--research-note-size, 12px); font-style: italic; line-height: 1.5; text-align: left; }
.research-bar-scroll { overflow: visible; padding: 8px 4px 12px; }
.research-bar-chart { min-width: 0; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: start; }
.research-bar-axis { height: 260px; position: relative; color: #6a6c67; font-size: 11px; font-weight: 750; }
.research-bar-axis span { position: absolute; right: 9px; bottom: var(--tick-position); transform: translateY(50%); }
.research-bar-plot { min-height: 390px; position: relative; display: flex; align-items: stretch; gap: clamp(2px, .55vw, 10px); padding: 0 4px; }
.research-bar-grid { position: absolute; inset: 0 0 130px; z-index: 0; pointer-events: none; }
.research-bar-grid span { position: absolute; right: 0; bottom: var(--tick-position); left: 0; border-top: 1px solid #d4d6d2; }
.research-bar-item { min-width: 0; flex: 1 1 0; z-index: 1; display: grid; grid-template-rows: 260px 130px; }
.research-bar-column { display: flex; align-items: flex-end; justify-content: center; }
.research-bar-value { width: min(var(--research-bar-width, 28px), 62%); height: var(--bar-height); position: relative; display: block; border-radius: 6px 6px 0 0; background: var(--bar-color); transition: filter .16s ease, transform .16s ease; }
.research-bar-value:hover, .research-bar-value:focus-visible { filter: saturate(1.14); outline: 0; transform: translateY(-3px); }
.research-bar-value::after { position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 3; visibility: hidden; border-radius: 999px; padding: 5px 9px; background: var(--ally-ink); color: #fff; content: attr(data-value); font-size: 11px; font-weight: 850; opacity: 0; transform: translate(-50%, 4px); transition: opacity .14s ease, transform .14s ease, visibility .14s ease; white-space: nowrap; }
.research-bar-value:hover::after, .research-bar-value:focus-visible::after { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.research-stacked-value { width: min(var(--research-bar-width, 28px), 68%); height: var(--bar-height); position: relative; display: flex; flex-direction: column-reverse; border-radius: 6px 6px 0 0; }
.research-stacked-segment { min-height: 0; position: relative; display: block; flex: 0 0 var(--segment-share); background: var(--segment-color); transition: filter .16s ease; }
.research-stacked-segment:first-child { border-radius: 0 0 3px 3px; }
.research-stacked-segment:last-child { border-radius: 4px 4px 0 0; }
.research-stacked-segment:hover, .research-stacked-segment:focus-visible { z-index: 3; filter: brightness(1.08) saturate(1.12); outline: 2px solid rgba(255,255,255,.8); outline-offset: -2px; }
.research-stacked-segment::after { position: absolute; top: 50%; left: calc(100% + 7px); z-index: 5; visibility: hidden; border-radius: 999px; padding: 5px 9px; background: var(--ally-ink); color: #fff; content: attr(data-value); font-size: 11px; font-style: normal; font-weight: 850; opacity: 0; transform: translate(-4px, -50%); transition: opacity .14s ease, transform .14s ease, visibility .14s ease; white-space: nowrap; }
.research-stacked-segment:hover::after, .research-stacked-segment:focus-visible::after { visibility: visible; opacity: 1; transform: translate(0, -50%); }
.research-bar-label { width: 100%; position: relative; justify-self: stretch; color: var(--ally-ink); font-size: var(--research-label-size, 11px); font-weight: 750; line-height: 1.2; }
.research-bar-label > span { width: var(--research-label-width, 116px); position: absolute; top: 14px; left: 50%; display: block; text-align: right; transform: translateX(-100%) rotate(-42deg); transform-origin: right top; }
.research-bar-chart.has-horizontal-labels .research-bar-label > span { width: 100%; position: static; padding: 14px 5px 0; text-align: center; overflow-wrap: anywhere; transform: none; }
.research-bar-chart.is-horizontal { display: block; --research-horizontal-label-width: 34%; --research-horizontal-gap: 18px; }
.research-bar-chart.is-horizontal .research-bar-axis { width: auto; height: 32px; margin-left: calc(var(--research-horizontal-label-width) + var(--research-horizontal-gap)); border-bottom: 1px solid #bfc1bd; }
.research-bar-chart.is-horizontal .research-bar-axis span { right: auto; bottom: 8px; left: var(--tick-position); transform: translateX(-50%); }
.research-bar-chart.is-horizontal .research-bar-plot { min-height: 0; display: grid; gap: 14px; padding: 16px 0 0; }
.research-bar-chart.is-horizontal .research-bar-grid { display: none; }
.research-bar-chart.is-horizontal .research-bar-item { min-height: max(42px, calc(var(--research-bar-width, 28px) + 10px)); display: grid; grid-template-columns: var(--research-horizontal-label-width) minmax(0, 1fr); grid-template-rows: auto; align-items: center; gap: var(--research-horizontal-gap); }
.research-bar-chart.is-horizontal .research-bar-label { width: auto; grid-column: 1; grid-row: 1; justify-self: stretch; font-size: max(11px, var(--research-label-size, 11px)); }
.research-bar-chart.is-horizontal .research-bar-label > span,
.research-bar-chart.is-horizontal.has-horizontal-labels .research-bar-label > span { width: auto; position: static; padding: 0; text-align: right; transform: none; }
.research-bar-chart.is-horizontal .research-bar-column { height: max(34px, calc(var(--research-bar-width, 28px) + 8px)); grid-column: 2; grid-row: 1; justify-content: flex-start; border-bottom: 1px solid #d4d6d2; background-image: var(--research-mobile-grid); }
.research-bar-chart.is-horizontal .research-bar-value { width: var(--bar-height); height: var(--research-bar-width, 28px); max-width: 100%; border-radius: 0 5px 5px 0; }
.research-bar-chart.is-horizontal .research-bar-value:hover,
.research-bar-chart.is-horizontal .research-bar-value:focus-visible { transform: translateX(3px); }
.research-bar-chart.is-horizontal .research-bar-value::after { top: 50%; bottom: auto; left: calc(100% + 7px); transform: translate(-4px, -50%); }
.research-bar-chart.is-horizontal .research-bar-value:hover::after,
.research-bar-chart.is-horizontal .research-bar-value:focus-visible::after { transform: translate(0, -50%); }
.research-bar-chart.is-horizontal.is-stacked .research-stacked-value { width: var(--bar-height); height: var(--research-bar-width, 28px); max-width: 100%; flex-direction: row; border-radius: 0 5px 5px 0; }
.research-bar-chart.is-horizontal.is-stacked .research-stacked-segment { height: 100%; flex-basis: var(--segment-share); }
.research-bar-chart.is-horizontal.is-stacked .research-stacked-segment:first-child { border-radius: 0; }
.research-bar-chart.is-horizontal.is-stacked .research-stacked-segment:last-child { border-radius: 0 5px 5px 0; }
.research-bar-chart.is-horizontal.is-stacked .research-stacked-segment::after { top: auto; right: auto; bottom: calc(100% + 7px); left: 50%; transform: translate(-50%, 4px); }
.research-bar-chart.is-horizontal.is-stacked .research-stacked-segment:hover::after,
.research-bar-chart.is-horizontal.is-stacked .research-stacked-segment:focus-visible::after { transform: translate(-50%, 0); }
.research-grouped-bar { --research-group-label-column: minmax(220px, 34%); display: grid; grid-template-columns: var(--research-group-label-column) minmax(0, 1fr); gap: 0; margin-top: 8px; }
.research-grouped-axis { height: 34px; position: relative; grid-column: 2; border-bottom: 1px solid #bfc1bd; color: #6a6c67; font-size: 11px; font-weight: 750; }
.research-grouped-axis span { position: absolute; bottom: 7px; left: var(--tick-position); transform: translateX(-50%); }
.research-grouped-rows { grid-column: 1 / -1; display: grid; gap: 18px; padding-top: 18px; }
.research-grouped-row { display: grid; grid-template-columns: var(--research-group-label-column) minmax(0, 1fr); align-items: center; }
.research-grouped-row > strong { padding-right: 26px; color: var(--body-copy); font-size: 14px; line-height: 1.25; text-align: right; }
.research-grouped-bars { min-height: calc(var(--research-group-count) * var(--research-group-bar-size, 16px) + (var(--research-group-count) - 1) * 5px); position: relative; display: grid; grid-template-rows: repeat(var(--research-group-count), var(--research-group-bar-size, 16px)); gap: 5px; }
.research-grouped-baseline, .research-grouped-gridline { position: absolute; top: -9px; bottom: -9px; z-index: 0; border-left: 1px solid #d4d6d2; pointer-events: none; }
.research-grouped-baseline { left: 0; border-left-color: #bfc1bd; }
.research-grouped-gridline { left: var(--tick-position); }
.research-grouped-track { min-width: 0; position: relative; z-index: 1; display: block; }
.research-grouped-value { width: var(--bar-width); height: 100%; position: relative; display: block; border-radius: 0 4px 4px 0; background: var(--bar-color); transition: filter .16s ease, transform .16s ease; }
.research-grouped-value:hover, .research-grouped-value:focus-visible { filter: saturate(1.14); outline: 0; transform: translateX(3px); }
.research-grouped-value::after { position: absolute; top: 50%; left: calc(100% + 7px); z-index: 4; visibility: hidden; border-radius: 999px; padding: 5px 9px; background: var(--ally-ink); color: #fff; content: attr(data-value); font-size: 11px; font-style: normal; font-weight: 850; opacity: 0; transform: translate(-4px, -50%); transition: opacity .14s ease, transform .14s ease, visibility .14s ease; white-space: nowrap; }
.research-grouped-value:hover::after, .research-grouped-value:focus-visible::after { visibility: visible; opacity: 1; transform: translate(0, -50%); }
.research-chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 24px 0 0; list-style: none; }
.research-chart-legend li { display: grid; grid-template-columns: 1em minmax(0, 1fr) auto; align-items: center; gap: .58em; color: var(--body-copy); font-size: var(--research-legend-size, 12px); }
.research-chart-legend.is-label-only li { grid-template-columns: 1em minmax(0, 1fr); }
.research-chart-legend li > span { width: .82em; height: .82em; border-radius: .16em; background: var(--legend-color); }
.research-chart-legend strong { color: inherit; font-weight: 700; }
.research-chart-legend small { color: #777973; font-size: .92em; }
.research-stacked-footer { display: grid; grid-template-columns: auto minmax(280px, 1fr); align-items: start; gap: 24px 42px; margin-top: 24px; }
.research-stacked-footer .research-chart-legend { margin: 0; }
.research-stacked-footer > p { max-width: 760px; justify-self: end; margin: 0; color: var(--body-copy); font-size: var(--research-legend-size, 12px); font-style: italic; line-height: 1.45; }
.research-stacked-footer.has-no-legend { grid-template-columns: 1fr; }
.research-stacked-footer.has-no-legend > p { justify-self: start; }
.research-stacked-breakdown { margin-top: 30px; border-top: 1px solid #b9bab6; color: var(--body-copy); font-size: var(--research-legend-size, 12px); }
.research-stacked-breakdown > summary { width: fit-content; max-width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 64px; padding: 12px 0; color: var(--ally-ink); cursor: pointer; font-size: calc(var(--research-legend-size, 12px) * 1.25); font-weight: 850; list-style: none; }
.research-stacked-breakdown > summary::-webkit-details-marker { display: none; }
.research-stacked-breakdown > summary::marker { content: ""; }
.research-stacked-breakdown > summary i { width: 34px; height: 34px; flex: 0 0 auto; display: inline-grid; place-items: center; border: 1px solid #b9bab6; border-radius: 999px; background: #fff; color: var(--ally-ink); font-size: 22px; font-style: normal; font-weight: 500; line-height: 1; transition: background-color .18s ease, color .18s ease, transform .22s ease; }
.research-stacked-breakdown > summary:hover i { background: var(--ally-ink); color: #fff; }
.research-stacked-breakdown > summary:focus-visible { outline: 2px solid var(--ally-orange); outline-offset: 4px; }
.research-stacked-breakdown[open] > summary i { background: var(--ally-ink); color: #fff; transform: rotate(45deg); }
.research-stacked-breakdown-content { border-top: 1px solid #d4d6d2; }
.research-stacked-level { display: grid; grid-template-columns: minmax(120px, .18fr) minmax(0, 1fr); gap: 24px; padding: 16px 0; border-top: 1px solid #d4d6d2; }
.research-stacked-breakdown-content > .research-stacked-level:first-child { border-top: 0; }
.research-stacked-level h5 { display: flex; align-items: center; gap: .65em; margin: 0; color: var(--ally-ink); font-size: 1em; line-height: 1.35; }
.research-stacked-level h5 > span { width: .9em; height: .9em; flex: 0 0 auto; border-radius: .16em; background: var(--level-color); }
.research-stacked-level ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 28px; padding: 0; margin: 0; list-style: none; }
.research-stacked-level li { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding-bottom: 5px; border-bottom: 1px dotted #d4d6d2; }
.research-stacked-level li > span { overflow-wrap: anywhere; }
.research-stacked-level li > strong { color: var(--ally-ink); font-weight: 850; white-space: nowrap; }
.research-pie-layout { min-height: 380px; display: grid; grid-template-columns: minmax(240px, .8fr) minmax(250px, 1fr); align-items: center; gap: 38px; }
.research-pie { width: min(100%, 330px); aspect-ratio: 1; position: relative; display: grid; place-items: center; justify-self: center; border-radius: 50%; background: conic-gradient(var(--pie-segments)); }
.research-pie::after { width: 42%; aspect-ratio: 1; position: absolute; border-radius: 50%; background: var(--ally-bg); content: ""; }
.research-pie-label { position: absolute; left: var(--pie-label-x); top: var(--pie-label-y); z-index: 1; color: #fff; font-size: var(--pie-label-size); font-weight: 900; line-height: 1; text-shadow: 0 1px 3px rgba(0,0,0,.32); transform: translate(-50%, -50%); white-space: nowrap; }
.research-pie-layout .research-chart-legend { display: grid; align-content: center; margin: 0; }
.research-pie-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 34px 28px; }
.research-pie-group { min-width: 0; display: grid; justify-items: center; gap: 18px; }
.research-pie-group h4 { min-height: 2.5em; margin: 0; color: var(--body-copy); font-size: 16px; font-weight: 650; line-height: 1.25; text-align: center; }
.research-pie-group h4 small { font: inherit; white-space: nowrap; }
.research-pie.is-compact { width: min(100%, 250px); }
.research-pie-group-legend { min-width: 0; align-self: center; padding: 18px 12px; }
.research-pie-group-legend .research-chart-legend { display: grid; justify-content: start; margin: 0; }

.site-admin { background: var(--soft); }
.admin-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.admin-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.admin-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.admin-brand { width: 160px; flex: 0 0 auto; }
.admin-brand img { width: 100%; height: 56px; object-fit: contain; object-position: left; }
.admin-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
.admin-nav a { padding: 9px 8px; border-radius: 6px; color: var(--blue-dark); font-size: 12px; font-weight: 850; text-decoration: none; }
.admin-nav a:hover, .admin-nav a.is-active { background: var(--blue-dark); color: #fff; }
.admin-main { padding-top: 34px; padding-bottom: 70px; }
.admin-page-title { margin-bottom: 24px; }
.admin-page-title p, .admin-form-head p { margin: 0 0 6px; color: var(--orange-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.admin-page-title h1 { margin: 0; font-size: 40px; }
.admin-dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.admin-dashboard-card { min-height: 190px; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--blue-dark); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.admin-dashboard-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.admin-dashboard-card span { font-weight: 900; }
.admin-dashboard-card strong { color: var(--orange-dark); font-size: 28px; }
.admin-dashboard-card p { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.admin-panel { margin-bottom: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.admin-deploy-note { margin-top: 20px; }
.admin-deploy-note h2 { font-size: 24px; }
.admin-deploy-note p { margin: 0; color: var(--muted); }
.admin-notice { margin-bottom: 16px; padding: 13px 15px; border: 1px solid #9bc8ae; border-radius: 8px; background: #edf8f1; color: #236b43; font-weight: 750; }
.admin-notice.is-error { border-color: #e4a1a1; background: #fff1f1; color: #8e2228; }
.admin-floating-save, .admin-panel.admin-form > .admin-form-head > .admin-button.is-primary { position: fixed; right: 28px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 160; min-width: 170px; min-height: 48px; box-shadow: 0 16px 38px rgba(29,36,48,.24); }
.admin-floating-notice { position: fixed; right: 28px; bottom: max(82px, calc(env(safe-area-inset-bottom) + 82px)); z-index: 161; min-width: 170px; max-width: 300px; margin: 0; text-align: center; box-shadow: 0 12px 30px rgba(29,36,48,.16); transition: opacity .18s ease, transform .18s ease; }
.admin-floating-notice.is-hiding { opacity: 0; transform: translateY(6px); }
.admin-workspace { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 18px; align-items: start; }
.admin-sidebar-stack { position: sticky; top: 94px; display: grid; gap: 14px; }
.admin-sidebar-stack .admin-sidebar { position: static; }
.admin-sidebar { position: sticky; top: 94px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.admin-sidebar-secondary { border-color: #b9c7d7; }
.admin-sidebar-create { display: grid; gap: 9px; padding: 15px; border: 1px solid #b9c7d7; border-radius: 8px; background: #fff; }
.admin-sidebar-create label { color: var(--blue-dark); font-size: 13px; font-weight: 900; }
.admin-sidebar-create input { width: 100%; min-height: 40px; border: 1px solid #cfd7e1; border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--ink); }
.admin-sidebar-create input:focus { outline: 3px solid rgba(252,164,55,.22); border-color: var(--orange); }
.admin-sidebar-create .admin-button { width: 100%; }
.admin-sidebar-create small { color: var(--muted); font-size: 10px; text-align: center; }
.admin-sidebar a { display: grid; gap: 2px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--blue-dark); text-decoration: none; }
.admin-sidebar a:last-child { border-bottom: 0; }
.admin-sidebar a:hover, .admin-sidebar a.is-active { background: var(--blue-dark); color: #fff; }
.admin-sidebar span { font-size: 14px; font-weight: 850; }
.admin-sidebar small { color: inherit; opacity: .72; }
.admin-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.admin-form-head h2 { margin: 0; font-size: 26px; }
.admin-form-head span { display: block; max-width: 650px; color: var(--muted); font-size: 14px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.admin-form-grid label { display: grid; align-content: start; gap: 7px; color: var(--blue-dark); font-size: 13px; font-weight: 850; }
.admin-form-grid label.is-wide { grid-column: 1 / -1; }
.admin-form-grid input, .admin-form-grid select, .admin-form-grid textarea { width: 100%; min-height: 46px; border: 1px solid #cfd7e1; border-radius: 8px; padding: 10px 12px; background: #fff; color: var(--ink); font-weight: 500; }
.admin-form-grid input[readonly] { background: #e9f6ee; color: #236b43; font-weight: 850; cursor: default; }
.admin-form-grid textarea { resize: vertical; line-height: 1.5; }
.admin-form-grid input:focus, .admin-form-grid select:focus, .admin-form-grid textarea:focus { outline: 3px solid rgba(252,164,55,.22); border-color: var(--orange); }
.admin-form-grid small { color: var(--muted); font-weight: 500; }
.admin-home-settings { min-width: 0; grid-column: 1 / -1; margin: 4px 0; border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: var(--soft); }
.admin-home-settings legend { padding: 0 8px; color: var(--blue-dark); font-size: 14px; font-weight: 900; }
.admin-checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-form-grid > .admin-edition-stat.is-wide { min-width: 0; grid-column: 1 / -1; margin: 4px 0; border: 1px solid #d8dfe7; border-radius: 8px; padding: 16px; background: #fff; }
.admin-edition-stat > legend { padding: 0 8px; color: var(--orange-dark); font-size: 12px; font-weight: 900; }
.admin-toggle { display: flex !important; min-height: 46px; align-items: center; grid-template-columns: 18px 1fr; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.admin-toggle input { width: 18px; min-height: 18px; accent-color: var(--green); }
.admin-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; padding: 9px 13px; background: #fff; color: var(--blue-dark); font-size: 13px; font-weight: 900; text-decoration: none; cursor: pointer; }
.admin-button.is-primary { border-color: var(--orange); background: var(--orange); color: #fff; }
.admin-button.is-danger { margin-top: 22px; border-color: #b4232c; background: #b4232c; color: #fff; }
.admin-button.is-small { min-height: 32px; padding: 6px 9px; font-size: 11px; }
.admin-settings-section { padding-top: 22px; border-top: 1px solid var(--line); margin-top: 22px; }
.admin-settings-section h3 { font-size: 20px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--blue-dark); font-size: 11px; text-transform: uppercase; }
.admin-table td strong, .admin-table td a, .admin-table td span { display: block; }
.admin-table td a { margin-top: 4px; color: var(--blue-dark); font-weight: 750; }
.admin-status { display: inline-flex !important; width: fit-content; padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; }
.admin-status.is-on { background: #e9f6ee; color: #236b43; }
.admin-status.is-off { background: #fff0f0; color: #a3232a; }
.admin-inline-actions { display: flex; gap: 6px; }
.admin-inline-actions .admin-button.is-danger { margin-top: 0; }
.admin-form-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.admin-tag-form { min-width: 240px; display: grid; grid-template-columns: minmax(170px, 1fr) auto; gap: 6px; }
.admin-tag-form select { min-height: 34px; border: 1px solid #cfd7e1; border-radius: 8px; padding: 5px 8px; background: #fff; color: var(--blue-dark); font-size: 12px; font-weight: 750; }
.admin-source-tags { display: block; margin-top: 7px; color: var(--green); font-size: 11px; font-weight: 750; }
.admin-articles-table td:nth-child(2) { min-width: 300px; }
.admin-keyword-add { max-width: 760px; display: grid; gap: 7px; margin-bottom: 20px; }
.admin-keyword-add > label { color: var(--blue-dark); font-size: 13px; font-weight: 850; }
.admin-keyword-add > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.admin-keyword-add input { width: 100%; min-height: 40px; border: 1px solid #cfd7e1; border-radius: 8px; padding: 8px 11px; background: #fff; color: var(--ink); }
.admin-keyword-add input:focus { outline: 3px solid rgba(252,164,55,.22); border-color: var(--orange); }
.admin-tag-order { display: grid; gap: 18px; }
.admin-tag-sort-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0; list-style: none; }
.admin-tag-sort-item { min-height: 50px; display: grid; grid-template-columns: 28px 34px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--blue-dark); transition: border-color .16s ease, box-shadow .16s ease, opacity .16s ease, transform .16s ease; }
.admin-tag-sort-item:hover { border-color: #b7c4d2; box-shadow: 0 8px 18px rgba(29, 36, 48, .08); }
.admin-tag-sort-item.is-dragging { border-color: var(--orange); opacity: .45; cursor: grabbing; transform: scale(.98); }
.admin-tag-sort-item strong { min-width: 0; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-sort-number { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-size: 11px; font-weight: 900; }
.admin-drag-handle { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #cfd7e1; border-radius: 7px; background: #fff; color: var(--blue-dark); font-size: 17px; line-height: 1; cursor: grab; user-select: none; }
.admin-drag-handle:active { cursor: grabbing; }
.admin-sort-controls { display: flex; gap: 3px; }
.admin-sort-controls button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #cfd7e1; border-radius: 7px; padding: 0; background: #fff; color: var(--blue-dark); font-weight: 900; cursor: pointer; }
.admin-sort-controls button:hover { border-color: var(--blue-dark); background: var(--blue-dark); color: #fff; }
.admin-sort-controls button.is-delete { border-color: #e5b2b5; color: #a3232a; }
.admin-sort-controls button.is-delete:hover { border-color: #b4232c; background: #b4232c; color: #fff; }
.admin-tag-order > .admin-button { width: fit-content; }
.admin-section-sort-list { max-width: 880px; display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.admin-section-sort-item { min-height: 54px; display: grid; grid-template-columns: 28px 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease, opacity .16s ease, transform .16s ease; }
.admin-section-sort-item:hover { border-color: #b7c4d2; box-shadow: 0 8px 18px rgba(29,36,48,.08); }
.admin-section-sort-item.is-dragging { border-color: var(--orange); opacity: .45; transform: scale(.99); }
.admin-section-sort-item > strong { min-width: 0; overflow: hidden; color: var(--blue-dark); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.admin-menu-order { display: grid; gap: 18px; }
.admin-menu-sort-list { max-width: 880px; display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.admin-menu-sort-item { min-height: 58px; display: grid; grid-template-columns: 28px 34px minmax(150px, 1fr) minmax(210px, .8fr) auto; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); transition: border-color .16s ease, box-shadow .16s ease, opacity .16s ease, transform .16s ease; }
.admin-menu-sort-item.is-child { margin-left: 42px; border-left: 4px solid var(--orange); }
.admin-menu-sort-item.is-dragging { border-color: var(--orange); opacity: .45; transform: scale(.99); }
.admin-menu-sort-label { min-width: 0; display: grid; gap: 1px; }
.admin-menu-sort-label strong { overflow: hidden; color: var(--blue-dark); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.admin-menu-sort-label small { color: var(--muted); font-size: 10px; }
.admin-menu-sort-item select { width: 100%; min-height: 36px; border: 1px solid #cfd7e1; border-radius: 7px; padding: 6px 8px; background: #fff; color: var(--blue-dark); font-size: 11px; font-weight: 750; }
.admin-menu-note { max-width: 760px; margin: -4px 0 0; color: var(--muted); font-size: 12px; }
.admin-menu-order > .admin-button { width: fit-content; }
.admin-footer-page-manager > p { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.admin-footer-page-list { max-width: 880px; display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.admin-footer-page-item { min-height: 58px; display: grid; grid-template-columns: 34px 86px minmax(180px, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease, opacity .16s ease, transform .16s ease; }
.admin-footer-page-item:hover { border-color: #b7c4d2; box-shadow: 0 8px 18px rgba(29,36,48,.08); }
.admin-footer-page-item.is-dragging { border-color: var(--orange); opacity: .45; transform: scale(.99); }
.admin-footer-page-enabled { display: flex !important; align-items: center; gap: 6px !important; font-size: 11px !important; }
.admin-footer-page-enabled input { width: 18px !important; min-height: 18px !important; accent-color: var(--blue-dark); }
.admin-footer-page-label { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 8px !important; }
.admin-footer-page-label > span { color: var(--muted); font-size: 10px; }
.admin-footer-page-label input { min-height: 36px !important; padding: 6px 9px !important; }
.admin-menu-style { max-width: 880px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 8px 0 0; border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: #fff; }
.admin-menu-style legend { padding: 0 7px; color: var(--blue-dark); font-size: 13px; font-weight: 900; }
.admin-menu-style > label { display: grid; align-content: start; gap: 7px; color: var(--blue-dark); font-size: 12px; font-weight: 850; }
.admin-menu-style input { width: 100%; min-height: 40px; border: 1px solid #cfd7e1; border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--ink); }
.admin-color-field { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 6px; }
.admin-color-field input[type="color"] { padding: 3px; cursor: pointer; }
.admin-px-field { position: relative; display: block; }
.admin-px-field input { padding-right: 38px; }
.admin-px-field small { position: absolute; right: 12px; top: 50%; color: var(--muted); font-size: 11px; transform: translateY(-50%); }
.admin-image-preview { display: grid; gap: 9px; }
.admin-image-preview > span { color: var(--blue-dark); font-size: 13px; font-weight: 850; }
.admin-image-preview img { width: min(100%, 620px); max-height: 280px; border: 1px solid var(--line); border-radius: 8px; object-fit: contain; object-position: left center; background: var(--soft); }
.admin-participant-import { grid-column: 1 / -1; display: grid; gap: 16px; margin: 4px 0; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.admin-participant-import .admin-form-head { margin-bottom: 0; }
.admin-participant-import .admin-form-head h3 { margin: 0; font-size: 21px; }
.admin-participant-import .admin-form-head > strong { padding: 7px 10px; border-radius: 999px; background: #e9f6ee; color: #236b43; font-size: 12px; white-space: nowrap; }
.admin-participant-import > label { display: grid; gap: 7px; color: var(--blue-dark); font-size: 13px; font-weight: 850; }
.admin-participant-import textarea, .admin-participant-import input { width: 100%; border: 1px solid #cfd7e1; border-radius: 8px; padding: 10px 12px; background: #fff; color: var(--ink); }
.admin-participant-import textarea { min-height: 220px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.55; tab-size: 24; }
.admin-participant-import small { color: var(--muted); font-weight: 500; }
.admin-participant-preview { max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.admin-participant-preview .admin-table { margin: 0; }
.admin-participant-preview p { margin: 0; padding: 20px; color: var(--muted); text-align: center; }
.admin-edition-videos { display: grid; gap: 18px; }
.admin-edition-video-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 4px; }
.admin-edition-video-head p { margin: 0; color: var(--blue-dark); font-size: 14px; font-weight: 900; }
.admin-edition-video-list { display: grid; gap: 10px; }
.admin-edition-video-row { min-width: 0; display: grid; grid-template-columns: 34px minmax(180px, .75fr) minmax(260px, 1.25fr) auto; align-items: end; gap: 10px; padding: 12px; border: 1px solid #d8dfe7; border-radius: 8px; background: #fff; }
.admin-edition-video-row > label { min-width: 0; display: grid; gap: 6px; color: var(--blue-dark); font-size: 12px; font-weight: 850; }
.admin-edition-video-row input { width: 100%; min-height: 40px; border: 1px solid #cfd7e1; border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--ink); }
.admin-edition-video-row input:focus { outline: 3px solid rgba(252,164,55,.22); border-color: var(--orange); }
.admin-edition-video-number { width: 32px; height: 32px; display: grid; place-items: center; align-self: end; margin-bottom: 4px; border-radius: 50%; background: var(--blue-dark); color: #fff; font-size: 11px; font-weight: 900; }
.admin-edition-video-row .admin-sort-controls { align-self: end; padding-bottom: 4px; }
.admin-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.admin-filter-bar > div { display: flex; gap: 4px; }
.admin-filter-bar > div a { padding: 9px 12px; border-radius: 8px; background: #fff; color: var(--blue-dark); font-size: 13px; font-weight: 850; text-decoration: none; }
.admin-filter-bar > div a.is-active { background: var(--blue-dark); color: #fff; }
.admin-research-layout { display: grid; grid-template-columns: minmax(320px, .36fr) minmax(0, 1fr); align-items: start; gap: 18px; }
.admin-research-sidebar { position: sticky; top: 94px; display: grid; gap: 14px; }
.admin-research-sidebar .admin-sidebar-create { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
.admin-research-sidebar .admin-sidebar-create > strong { color: var(--blue-dark); font-size: 13px; }
.admin-research-sidebar .admin-sidebar-create > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.admin-research-sidebar .admin-sidebar-create form,
.admin-research-sidebar .admin-sidebar-create .admin-button { width: 100%; }
.admin-research-order { display: grid; gap: 14px; }
.admin-research-order .admin-form-head { margin-bottom: 0; }
.admin-research-order .admin-section-sort-list { max-width: none; }
.admin-research-overview { display: grid; gap: 18px; margin-bottom: 22px; }
.admin-research-overview .admin-form-head { align-items: flex-start; margin: 0; }
.admin-research-overview .admin-form-head .admin-inline-actions { flex-wrap: wrap; justify-content: flex-end; }
.admin-research-overview .admin-section-sort-list { max-width: none; }
.admin-research-overview .admin-section-sort-item,
.admin-research-charts .admin-section-sort-item { grid-template-columns: 28px 34px minmax(0, 1fr) auto auto; }
.admin-sort-controls button:disabled { opacity: .34; cursor: default; }
.admin-research-editor { width: 100%; display: grid; gap: 14px; }
.admin-research-editor > .admin-panel { width: 100%; }
.admin-research-editor .admin-form-head .admin-inline-actions { flex-wrap: wrap; justify-content: flex-end; }
.admin-research-editor .admin-panel.admin-form > .admin-form-head > .admin-button.is-primary { position: static; min-width: 0; min-height: 40px; box-shadow: none; }
.admin-research-floating-actions {
  position: fixed;
  right: 28px;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 160;
  display: grid;
  gap: 9px;
  min-width: 220px;
  max-height: calc(100vh - 118px);
  overflow-y: auto;
  padding: 2px;
}
.admin-research-action-group {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(227,232,239,.96);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: none;
  backdrop-filter: none;
}
.admin-research-action-group .admin-button {
  width: 100%;
  min-height: 44px;
  margin: 0;
  line-height: 1.15;
  text-align: center;
}
.admin-research-action-group.is-create .admin-button {
  border-color: #b8c8dc;
  background: #eef3f8;
  color: #3f5d82;
}
.admin-research-action-group.is-create .admin-button:hover {
  border-color: #607a9d;
  background: #dfe8f1;
}
.admin-research-action-group.is-save .admin-button {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.admin-research-action-group.is-save .admin-button:hover {
  border-color: #e88d1e;
  background: #e88d1e;
}
.admin-research-action-group.is-order .admin-button {
  border-color: #607a9d;
  background: #607a9d;
  color: #fff;
}
.admin-research-action-group.is-order .admin-button:hover {
  border-color: #4e6788;
  background: #4e6788;
}
.admin-research-action-group.is-delete .admin-button {
  border-color: #c92d2d;
  background: #c92d2d;
  color: #fff;
}
.admin-research-action-group.is-delete .admin-button:hover {
  border-color: #a91f1f;
  background: #a91f1f;
}
.admin-section-sort-item.is-selected { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(252,164,55,.14); }
.admin-section-sort-item > a { min-width: 0; display: grid; gap: 2px; color: var(--blue-dark); text-decoration: none; }
.admin-section-sort-item > a strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.admin-section-sort-item > a small { color: var(--muted); font-size: 10px; }
.admin-research-charts { margin-top: 26px; }
.admin-research-charts .admin-section-sort-list { max-width: none; margin-bottom: 14px; }
.admin-data-editor { min-height: 230px !important; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.6 !important; }

@media (max-width: 980px) {
  .admin-header-inner { align-items: flex-start; flex-direction: column; padding-top: 12px; padding-bottom: 12px; }
  .admin-nav { justify-content: flex-start; }
  .admin-workspace { grid-template-columns: 1fr; }
  .admin-edition-video-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .admin-edition-video-row > label:nth-of-type(2) { grid-column: 2 / -1; }
  .admin-sidebar-stack { position: static; }
  .admin-sidebar { position: static; display: flex; overflow-x: auto; }
  .admin-sidebar a { min-width: 150px; border-right: 1px solid var(--line); border-bottom: 0; }
  .admin-dashboard-grid { grid-template-columns: repeat(2,1fr); }
  .admin-research-layout { grid-template-columns: 1fr; }
  .admin-research-sidebar { position: static; }
}

@media (max-width: 620px) {
  .admin-shell { width: min(100% - 20px,1240px); }
  .admin-nav { flex-wrap: nowrap; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .admin-nav a { white-space: nowrap; }
  .admin-page-title h1 { font-size: 32px; }
  .admin-dashboard-grid, .admin-form-grid { grid-template-columns: 1fr; }
  .admin-checkbox-grid { grid-template-columns: 1fr; }
  .admin-form-grid label.is-wide { grid-column: auto; }
  .admin-form-head, .admin-filter-bar { align-items: stretch; flex-direction: column; }
  .admin-form-head .admin-button { width: 100%; }
  .admin-tag-sort-list { grid-template-columns: 1fr; }
  .admin-keyword-add > div { grid-template-columns: 1fr; }
  .admin-keyword-add .admin-button { width: 100%; }
  .admin-tag-order > .admin-button { width: 100%; }
  .admin-menu-sort-item { grid-template-columns: 28px 34px minmax(0, 1fr) auto; }
  .admin-menu-sort-item label { grid-column: 3 / -1; }
  .admin-menu-style { grid-template-columns: 1fr 1fr; }
  .admin-menu-order > .admin-button { width: 100%; }
  .admin-footer-page-item { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .admin-footer-page-enabled { grid-column: 2; }
  .admin-footer-page-label { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .admin-edition-video-head { align-items: stretch; flex-direction: column; }
  .admin-edition-video-row { grid-template-columns: 32px minmax(0, 1fr); align-items: start; }
  .admin-edition-video-row > label, .admin-edition-video-row > label:nth-of-type(2) { grid-column: 1 / -1; }
  .admin-edition-video-row .admin-sort-controls { grid-column: 2; grid-row: 1; justify-self: end; }
  .admin-menu-sort-item.is-child { margin-left: 18px; }
  .admin-participant-import { padding: 16px; }
  .admin-panel { padding: 18px; }
  .admin-floating-save, .admin-panel.admin-form > .admin-form-head > .admin-button.is-primary { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; width: auto; }
  .admin-floating-notice { right: 12px; bottom: max(72px, calc(env(safe-area-inset-bottom) + 72px)); left: 12px; max-width: none; }
  .admin-research-floating-actions {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    min-width: 0;
    max-height: 44vh;
  }
  .admin-research-action-group { padding: 7px; }
  .admin-research-action-group .admin-button { min-height: 40px; padding: 8px 7px; font-size: 11px; }
}

@media (max-width: 460px) {
  .admin-menu-style { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .document-download-section { padding: 44px 0 58px; }
  .document-download-layout { grid-template-columns: 1fr; }
  .document-download-media { display: none; }
  .document-download-panel { padding: 0; }
}

@media (max-width: 900px) {
  .research-sections .site-shell { width: min(100% - 32px, 1460px); }
  .research-section-heading.is-chart { display: block; }
  .research-chart-grid { grid-template-columns: 1fr; }
  .research-chart-card.is-bar { grid-column: auto; }
  .research-pie-layout { grid-template-columns: 1fr; }
  .research-pie-layout .research-chart-legend { width: min(100%, 520px); justify-self: center; }
}

@media (max-width: 1080px) {
  .research-anchor-nav { top: 72px; }
}

@media (max-width: 680px) {
  .research-sections .site-shell { width: min(100% - 24px, 1460px); }
  .research-section-heading { margin-bottom: 30px; padding-bottom: 15px; }
  .research-section-heading h2 { font-size: 34px; }
  .research-text-columns { grid-template-columns: 1fr; gap: 24px; }
  .research-text-columns > div { padding-right: 0; }
  .research-text-columns > div + div { padding-top: 24px; padding-left: 0; border-top: 1px solid #b9b9b4; border-left: 0; }
  .research-chart-card { padding-top: 24px; }
  .research-chart-card > header { min-height: 0; grid-template-columns: 1fr; align-items: flex-start; gap: 10px; }
  .research-chart-card > header h3 { font-size: 23px; }
  .research-chart-actions { width: 100%; justify-content: space-between; white-space: normal; }
  .research-pie { width: min(86vw, 310px); }
  .research-pie-groups { grid-template-columns: 1fr; }
  .research-pie.is-compact { width: min(74vw, 260px); }
  .research-pie-group-legend { justify-self: center; padding-top: 4px; }
  .research-chart-legend { display: grid; }
  .research-stacked-footer { grid-template-columns: 1fr; gap: 18px; }
  .research-stacked-footer > p { justify-self: stretch; }
  .research-stacked-level { grid-template-columns: 1fr; gap: 12px; }
  .research-stacked-level ul { grid-template-columns: 1fr; }
  .compact-hero-actions { grid-template-columns: 1fr; gap: 10px; }
  .research-anchor-nav .site-shell { width: min(100% - 24px, 1460px); }
}

@media (max-width: 820px) {
  .research-bar-chart { display: block; }
  .research-bar-axis,
  .research-bar-chart.is-horizontal .research-bar-axis { display: none; }
  .research-bar-plot { min-height: 0; display: grid; gap: 13px; padding: 0; }
  .research-bar-grid { display: none; }
  .research-bar-item { min-height: 42px; display: grid; grid-template-columns: minmax(112px, 42%) minmax(0, 1fr); grid-template-rows: auto; align-items: center; gap: 12px; }
  .research-bar-label { width: auto; grid-column: 1; grid-row: 1; justify-self: stretch; font-size: 11px; }
  .research-bar-label > span { width: auto; position: static; text-align: left; transform: none; }
  .research-bar-column { height: 28px; grid-column: 2; grid-row: 1; justify-content: flex-start; border-bottom: 1px solid #d4d6d2; background-image: var(--research-mobile-grid); }
  .research-bar-value { width: var(--bar-height); height: 18px; border-radius: 0 5px 5px 0; }
  .research-bar-value:hover, .research-bar-value:focus-visible { transform: translateX(3px); }
  .research-bar-value::after { left: calc(100% + 7px); bottom: 50%; transform: translate(-4px, 50%); }
  .research-bar-value:hover::after, .research-bar-value:focus-visible::after { transform: translate(0, 50%); }
  .research-bar-chart.is-stacked .research-stacked-value { width: var(--bar-height); height: 18px; flex-direction: row; border-radius: 0 5px 5px 0; }
  .research-bar-chart.is-stacked .research-stacked-segment { height: 100%; flex-basis: var(--segment-share); }
  .research-bar-chart.is-stacked .research-stacked-segment:first-child { border-radius: 0; }
  .research-bar-chart.is-stacked .research-stacked-segment:last-child { border-radius: 0 5px 5px 0; }
  .research-bar-chart.is-stacked .research-stacked-segment::after { top: auto; right: auto; bottom: calc(100% + 7px); left: 50%; transform: translate(-50%, 4px); }
  .research-bar-chart.is-stacked .research-stacked-segment:hover::after, .research-bar-chart.is-stacked .research-stacked-segment:focus-visible::after { transform: translate(-50%, 0); }
  .research-bar-chart.is-horizontal .research-bar-plot { gap: 13px; padding: 0; }
  .research-bar-chart.is-horizontal .research-bar-item { min-height: 42px; grid-template-columns: minmax(112px, 42%) minmax(0, 1fr); gap: 12px; }
  .research-bar-chart.is-horizontal .research-bar-label { font-size: 11px; }
  .research-bar-chart.is-horizontal .research-bar-label > span,
  .research-bar-chart.is-horizontal.has-horizontal-labels .research-bar-label > span,
  .research-bar-chart.has-horizontal-labels .research-bar-label > span { padding: 0; text-align: left; }
  .research-bar-chart.is-horizontal .research-bar-column { height: 28px; }
  .research-bar-chart.is-horizontal .research-bar-value { height: 18px; }
  .research-bar-chart.is-horizontal.is-stacked .research-stacked-value { height: 18px; }
  .research-grouped-bar { --research-group-label-column: minmax(118px, 38%); }
  .research-grouped-row > strong { padding-right: 14px; font-size: 11px; text-align: left; }
  .research-grouped-bars { grid-template-rows: repeat(var(--research-group-count), 13px); }
}

@media (min-width: 681px) and (max-width: 980px) {
  .research-pie-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Editor delle due colonne testuali della ricerca. */
.admin-research-rich { min-width: 0; margin: 0; padding: 0; border: 0; }
.admin-research-rich legend { padding: 0; color: #3f5d83; font-size: 14px; font-weight: 800; }
.admin-research-rich .admin-rich-toolbar { position: static; margin-top: 8px; gap: 5px; padding: 8px; }
.admin-research-rich .admin-rich-toolbar button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; min-height: 32px; padding: 6px; }
.admin-research-rich .admin-rich-toolbar button svg { display: block; width: 18px; height: 18px; flex-shrink: 0; pointer-events: none; }
.admin-research-rich .admin-rich-toolbar button[aria-pressed="true"] { background: #607a9d; color: #fff; }
.admin-research-rich .admin-rich-editor { min-height: 280px; max-height: 640px; overflow-y: auto; padding: 18px; }
.admin-research-rich small { display: block; margin-top: 8px; color: #667085; line-height: 1.5; }
.admin-research-rich [hidden] { display: none !important; }
.research-text-columns ul, .research-text-columns ol { margin: 0 0 20px; padding-left: 1.5em; }
.research-text-columns li + li { margin-top: 6px; }
.research-text-columns a { text-decoration: underline; text-underline-offset: 3px; }

/* Articoli: azioni globali e abbinamenti salvati in blocco. */
.admin-articles-manager { padding-bottom: 240px; }
.admin-articles-manager .admin-tag-form { grid-template-columns: minmax(170px, 1fr); }
.admin-articles-manager [data-article-tag].is-dirty { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(252,164,55,.18); }
.admin-main:has(.admin-articles-manager) > .admin-floating-notice { bottom: 260px; }
.admin-articles-feedback { position: fixed; right: 28px; bottom: 260px; z-index: 162; max-width: 360px; margin: 0; box-shadow: 0 12px 30px rgba(29,36,48,.16); }
.admin-articles-feedback[hidden] { display: none; }
.admin-articles-floating-actions button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 620px) {
  .admin-articles-manager { padding-bottom: 100px; }
  .admin-main:has(.admin-articles-manager) > .admin-floating-notice { bottom: max(96px, calc(env(safe-area-inset-bottom) + 96px)); }
  .admin-articles-feedback { left: 12px; right: 12px; bottom: max(96px, calc(env(safe-area-inset-bottom) + 96px)); max-width: none; }
}
