.atlas-page {
  --atlas-mitigation: #527184;
  --atlas-adaptation: #a9bdc8;
  --atlas-dark: #243944;
  --atlas-pale: #e8f0f4;
  background: var(--ice);
}

.atlas-banner { height: clamp(92px, 10vw, 136px); }
.atlas-banner-label {
  position: absolute;
  z-index: 2;
  left: 50%; bottom: 14px;
  transform: translateX(-50%);
  color: rgba(49,73,85,.82);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav-links a.active { color: var(--ink); }

.atlas-hero-section { padding: 76px 0 68px; }
.atlas-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 70px;
  align-items: end;
}
.atlas-hero h1 { font-size: clamp(3.1rem, 6vw, 6.2rem); }
.atlas-hero-note {
  padding: 26px 0 4px 28px;
  border-left: 1px solid var(--line);
}
.atlas-hero-note p { margin: 18px 0 16px; color: var(--muted); }

.atlas-interface { padding-top: 34px; background: var(--ice-2); }
.atlas-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(145px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 18px;
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.filter-field { display: grid; gap: 7px; }
.filter-field span {
  color: var(--steel);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.filter-field input, .filter-field select {
  width: 100%; height: 44px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(245,248,250,.92);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit; font-size: .88rem;
  outline: none;
}
.filter-field input:focus, .filter-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(111,143,161,.12); }
.reset-button {
  height: 44px; padding: 0 17px;
  color: var(--blue-dark); background: transparent;
  border: 1px solid var(--line); border-radius: 999px;
  font-weight: 700; cursor: pointer;
}
.reset-button:hover { background: var(--white); }
.active-scope {
  display: flex; align-items: center; gap: 9px;
  margin: 18px 3px 26px;
  color: var(--muted); font-size: .82rem;
}
.scope-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(111,143,161,.12); }

.kpi-grid { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); gap: 12px; }
.kpi-card {
  min-height: 144px; padding: 22px;
  background: rgba(255,255,255,.64);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.kpi-card.kpi-primary { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.kpi-label { display: block; color: var(--steel); font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.kpi-primary .kpi-label, .kpi-primary small { color: rgba(255,255,255,.65); }
.kpi-card strong { display: block; margin: 18px 0 5px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: .9; letter-spacing: -.04em; }
.kpi-card small { color: var(--muted); }

.atlas-grid { display: grid; gap: 14px; margin-top: 14px; }
.atlas-grid-main { grid-template-columns: .83fr 1.17fr; }
.data-panel {
  padding: 27px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(43,63,74,.045);
}
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 26px; }
.panel-heading h2, .detail-panel h2 { margin-top: 7px; font-size: clamp(1.55rem, 2.4vw, 2.35rem); letter-spacing: -.035em; }
.denominator-note { color: var(--steel); font-size: .75rem; white-space: nowrap; }
.denominator-note strong { color: var(--blue-dark); }

.branch-split { display: flex; width: 100%; height: 160px; overflow: hidden; border-radius: 14px; background: var(--mist); }
.branch-segment { position: relative; display: grid; place-items: end start; min-width: 0; padding: 19px; transition: width .35s ease; overflow: hidden; }
.branch-segment span { color: var(--white); font-weight: 700; letter-spacing: .04em; }
.mitigation-segment { background: linear-gradient(135deg, var(--atlas-dark), var(--atlas-mitigation)); }
.adaptation-segment { background: linear-gradient(135deg, #8da4b0, var(--atlas-adaptation)); }
.branch-legend { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 18px; color: var(--muted); font-size: .83rem; }
.branch-legend strong { color: var(--ink); }
.legend-swatch { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; }
.legend-swatch.mitigation { background: var(--atlas-mitigation); }
.legend-swatch.adaptation { background: var(--atlas-adaptation); }

.sector-bars { display: grid; gap: 9px; }
.sector-row { display: grid; grid-template-columns: minmax(150px, 1.15fr) minmax(150px, 2fr) 86px; gap: 12px; align-items: center; border: 0; padding: 3px 0; background: transparent; text-align: left; cursor: pointer; }
.sector-name { color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sector-track { height: 9px; overflow: hidden; border-radius: 99px; background: var(--mist); }
.sector-fill { height: 100%; border-radius: inherit; background: var(--blue); transition: width .35s ease; }
.sector-value { display: grid; justify-items: end; color: var(--blue-dark); text-align: right; }
.sector-value strong { font-size: .8rem; line-height: 1.1; }
.sector-value small { margin-top: 2px; color: var(--steel); font-size: .62rem; font-weight: 500; }
.chart-caption { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--steel); font-size: .72rem; line-height: 1.5; }
.sector-chart-intro { max-width: 620px; margin-top: 8px; }
.sector-panel-actions { align-items: flex-end; }
.sector-row:hover .sector-name { color: var(--ink); }
.sector-row:hover .sector-fill { background: var(--blue-dark); }

.typology-grid { grid-template-columns: repeat(2, 1fr); }
.type-panel h3 { margin: 7px 0 24px; font-size: 1.45rem; letter-spacing: -.02em; }
.distribution-list { display: grid; gap: 15px; }
.distribution-item { display: grid; grid-template-columns: minmax(0, 1fr) 60px; gap: 6px 12px; align-items: center; }
.distribution-label { color: var(--muted); font-size: .78rem; line-height: 1.25; }
.distribution-value { color: var(--blue-dark); font-size: .76rem; font-weight: 700; text-align: right; }
.distribution-track { grid-column: 1 / -1; height: 5px; background: var(--mist); border-radius: 99px; overflow: hidden; }
.distribution-fill { height: 100%; background: var(--blue); border-radius: inherit; }

.explorer-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: 14px; margin-top: 14px; align-items: start; }
.explorer-panel { min-width: 0; }
.explorer-heading { align-items: center; }
.table-controls { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem; }
.table-controls button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--ice); color: var(--blue-dark); cursor: pointer; }
.table-controls button:disabled { opacity: .35; cursor: default; }
.table-scroll { overflow-x: auto; }
.technology-table { width: 100%; border-collapse: collapse; }
.technology-table th { padding: 10px 12px; color: var(--steel); border-bottom: 1px solid var(--line); font-size: .66rem; letter-spacing: .09em; text-align: left; text-transform: uppercase; }
.technology-table td { padding: 13px 12px; border-bottom: 1px solid rgba(205,216,222,.7); color: var(--muted); font-size: .78rem; vertical-align: top; }
.technology-table td:first-child { color: var(--ink); font-weight: 700; min-width: 190px; }
.technology-table tr { cursor: pointer; }
.technology-table tbody tr:hover, .technology-table tbody tr.selected { background: rgba(223,232,237,.45); }
.branch-chip { display: inline-flex; padding: 3px 8px; border-radius: 999px; font-size: .68rem; font-weight: 700; }
.branch-chip.mitigation { color: #35505e; background: #dce8ed; }
.branch-chip.adaptation { color: #536c79; background: #e9f0f3; }

.detail-panel { position: sticky; top: 92px; min-height: 520px; max-height: calc(100vh - 112px); overflow: auto; }
.detail-empty { padding: 12px 4px; }
.detail-index { color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.detail-empty p { color: var(--muted); }
.detail-breadcrumb { color: var(--steel); font-size: .7rem; line-height: 1.5; }
.detail-title { margin: 10px 0 9px; font-size: 1.75rem; line-height: 1.05; letter-spacing: -.035em; }
.detail-description { color: var(--muted); font-size: .86rem; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.detail-tag { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--blue-dark); background: var(--ice); font-size: .66rem; }
.detail-block { padding: 17px 0; border-top: 1px solid var(--line); }
.detail-block h4 { margin: 0 0 7px; color: var(--blue-dark); font-size: .73rem; letter-spacing: .09em; text-transform: uppercase; }
.detail-block p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.detail-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.detail-mini { padding: 12px; background: var(--ice-2); border-radius: 10px; }
.detail-mini strong { display: block; margin-bottom: 5px; color: var(--blue-dark); font-size: .68rem; text-transform: uppercase; }
.detail-mini span { color: var(--muted); font-size: .7rem; line-height: 1.35; }

.method-section { background: var(--ice); }
.method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.method-copy p { max-width: 760px; color: var(--muted); }
.method-formula { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.method-formula span { padding: 10px 14px; color: var(--blue-dark); background: var(--ice-2); border: 1px solid var(--line); border-radius: 10px; font-weight: 700; }
.method-formula b { color: var(--steel); }
.source-note { margin-top: 28px; font-size: .8rem; }

.empty-results { padding: 42px 12px; color: var(--muted); text-align: center; }

@media (max-width: 1050px) {
  .atlas-toolbar { grid-template-columns: repeat(3, 1fr); }
  .filter-search { grid-column: span 2; }
  .atlas-grid-main, .explorer-layout { grid-template-columns: 1fr; }
  .detail-panel { position: relative; top: auto; max-height: none; }
}
@media (max-width: 800px) {
  .atlas-hero, .method-grid { grid-template-columns: 1fr; gap: 34px; }
  .atlas-hero-note { padding-left: 0; padding-top: 22px; border-left: 0; border-top: 1px solid var(--line); }
  .kpi-grid, .typology-grid { grid-template-columns: repeat(2, 1fr); }
  .atlas-toolbar { grid-template-columns: repeat(2, 1fr); }
  .filter-search { grid-column: 1 / -1; }
  .detail-columns { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .atlas-toolbar, .kpi-grid, .typology-grid { grid-template-columns: 1fr; }
  .filter-search { grid-column: auto; }
  .data-panel { padding: 20px; }
  .branch-split { height: 118px; }
  .sector-row { grid-template-columns: minmax(105px, 1fr) minmax(80px, 1.2fr) 48px; }
  .technology-table th:nth-child(4), .technology-table td:nth-child(4),
  .technology-table th:nth-child(5), .technology-table td:nth-child(5) { display: none; }
}


/* Atlas v2: cascading filters, removable chart filters and technology image placeholder */
.atlas-toolbar { grid-template-columns: minmax(230px, 1.55fr) repeat(4, minmax(145px, 1fr)); }
.aspect-search-field { grid-column: span 2; }
.active-filters { display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-height:34px; margin:14px 3px 0; }
.active-filter-label, .active-filter-empty { color:var(--steel); font-size:.68rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.active-filter-chip { border:1px solid var(--line); border-radius:999px; padding:7px 10px; color:var(--blue-dark); background:rgba(255,255,255,.72); font-size:.72rem; cursor:pointer; }
.active-filter-chip:hover { border-color:var(--blue); background:var(--white); }
.active-filter-chip span { margin-left:5px; font-size:.95em; }
.panel-actions { display:flex; flex-direction:column; align-items:flex-end; gap:7px; }
.panel-clear { padding:0; border:0; color:var(--blue-dark); background:transparent; font:inherit; font-size:.72rem; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.branch-segment { border:0; text-align:left; cursor:pointer; }
.branch-segment:hover { filter:brightness(1.04); }
.branch-segment.active-chart-filter { box-shadow:inset 0 0 0 3px rgba(255,255,255,.82); }
.sector-row.active-chart-filter { padding:7px 8px; margin:-7px -8px; border-radius:9px; background:rgba(111,143,161,.10); }
.sector-row.active-chart-filter .sector-name { color:var(--ink); font-weight:700; }
.sector-row.active-chart-filter .sector-fill { background:var(--blue-dark); }
.distribution-item { width:100%; border:0; padding:0; background:transparent; text-align:left; font:inherit; cursor:pointer; border-radius:8px; }
.distribution-item:hover { background:rgba(223,232,237,.38); }
.distribution-item.active-chart-filter { padding:8px; margin:-8px; background:rgba(111,143,161,.12); }
.distribution-item.active-chart-filter .distribution-label { color:var(--ink); font-weight:700; }
.distribution-item.active-chart-filter .distribution-fill { background:var(--blue-dark); }
.technology-photo, .technology-photo-placeholder { overflow:hidden; margin:0 0 20px; border:1px solid var(--line); border-radius:12px; background:var(--ice-2); }
.technology-photo img, .technology-photo-placeholder img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.technology-photo span { display:block; padding:8px 11px; color:var(--steel); font-size:.65rem; letter-spacing:.06em; text-transform:uppercase; }

@media (max-width: 1250px) {
  .atlas-toolbar { grid-template-columns: repeat(4, 1fr); }
  .filter-search, .aspect-search-field { grid-column: span 2; }
}
@media (max-width: 800px) {
  .atlas-toolbar { grid-template-columns: repeat(2, 1fr); }
  .filter-search, .aspect-search-field { grid-column:1 / -1; }
  .panel-actions { align-items:flex-start; }
}
@media (max-width: 560px) {
  .atlas-toolbar { grid-template-columns:1fr; }
  .filter-search, .aspect-search-field { grid-column:auto; }
}


/* Atlas v3 — strict taxonomy hierarchy and full-width technology profile */
.atlas-toolbar {
  grid-template-columns: minmax(280px, 2fr) repeat(3, minmax(160px, 1fr)) auto;
  align-items: end;
}
.filter-search { grid-column: auto; }
.panel-intro { max-width: 760px; margin: 7px 0 0; color: var(--muted); font-size: .78rem; }
.explorer-layout { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
.explorer-panel { min-width: 0; }
.technology-table { min-width: 1480px; }
.technology-table td:first-child { min-width: 220px; }
.technology-table td:nth-child(4) { min-width: 220px; }
.technology-table td:nth-child(5),
.technology-table td:nth-child(6),
.technology-table td:nth-child(7),
.technology-table td:nth-child(8) { min-width: 185px; }
.detail-panel-below {
  position: relative;
  top: auto;
  width: 100%;
  min-height: 0;
  max-height: none;
  overflow: visible;
  scroll-margin-top: 92px;
}
.detail-profile-head {
  display: grid;
  grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: stretch;
}
.detail-profile-head .technology-photo { margin: 0; height: 100%; }
.detail-profile-head .technology-photo img { height: 100%; min-height: 310px; aspect-ratio: auto; }
.detail-profile-intro { display: flex; flex-direction: column; justify-content: center; }
.detail-title { margin-top: 14px; font-size: clamp(2rem, 4vw, 3.7rem); }
.detail-description { max-width: 900px; font-size: .96rem; line-height: 1.65; }
.detail-section-full { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.requirements-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.requirements-grid article { padding: 18px; border-radius: 12px; background: var(--ice-2); }
.requirements-grid h4 { margin: 0 0 8px; color: var(--blue-dark); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.requirements-grid p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.58; }
.aspect-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.aspect-card { position: relative; min-height: 245px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--ice-2); }
.aspect-card > span { display: block; color: var(--steel); font-size: .68rem; letter-spacing: .12em; }
.aspect-card h3 { margin: 28px 0 12px; color: var(--blue-dark); font-size: 1.35rem; }
.aspect-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.hardware-card { border-top: 3px solid #758f9c; }
.software-card { border-top: 3px solid #8d9fb0; }
.orgware-card { border-top: 3px solid #a3937e; }
.requirements-note { max-width: 940px; margin: 10px 0 0; color: var(--steel); font-size: .76rem; line-height: 1.55; }
.detail-empty-wide { display: grid; grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr); gap: 30px; align-items: center; }
.detail-empty-wide .detail-index,
.detail-empty-wide h2,
.detail-empty-wide p { grid-column: 2; }
.detail-empty-wide .technology-photo-placeholder { grid-column: 1; grid-row: 1 / span 3; margin: 0; }

@media (max-width: 1120px) {
  .atlas-toolbar { grid-template-columns: repeat(2, 1fr); }
  .filter-search { grid-column: 1 / -1; }
  .reset-button { width: 100%; }
}
@media (max-width: 850px) {
  .detail-profile-head,
  .aspect-grid { grid-template-columns: 1fr; }
  .requirements-grid { grid-template-columns: 1fr; }
  .detail-profile-head .technology-photo img { min-height: 230px; }
  .detail-empty-wide { grid-template-columns: 1fr; }
  .detail-empty-wide .detail-index,
  .detail-empty-wide h2,
  .detail-empty-wide p,
  .detail-empty-wide .technology-photo-placeholder { grid-column: 1; grid-row: auto; }
}
@media (max-width: 560px) {
  .atlas-toolbar,
  .filter-search { grid-column: auto; }
}


/* Atlas v5 — visible taxonomy bars and compact technology detail */
.sector-track { position: relative; display: block; min-width: 0; }
.sector-fill { display: block; min-width: 2px; }
.sector-value { min-width: 86px; }
.detail-section-full { border-top: 0; }
.detail-section-full:first-of-type { margin-top: 22px; padding-top: 0; }
.detail-section-full + .detail-section-full { margin-top: 16px; padding-top: 0; }
.detail-section-full + .detail-section-full .section-number { margin-top: 0; }
.requirements-note { margin-top: 6px; }

/* Atlas v6 — search-only toolbar and compact clickable taxonomy controls */
.atlas-search-only {
  display: block;
  padding: 14px 16px;
}
.atlas-search-only .filter-search {
  width: 100%;
}
.atlas-search-only .filter-field input {
  height: 48px;
  font-size: .92rem;
}
.taxonomy-state-controls { display: none !important; }
.compact-scope { margin: 13px 3px 15px; }
.kpi-grid-compact {
  grid-template-columns: 1.05fr repeat(3, 1fr);
  gap: 9px;
}
.kpi-grid-compact .kpi-card {
  appearance: none;
  width: 100%;
  min-height: 92px;
  padding: 14px 16px;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.kpi-grid-compact .kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(43,63,74,.08);
}
.kpi-grid-compact .kpi-primary { color: var(--white); }
.kpi-grid-compact .kpi-card strong {
  margin: 9px 0 3px;
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
}
.kpi-grid-compact .kpi-card small {
  display: block;
  font-size: .68rem;
  line-height: 1.35;
}
.kpi-grid-compact .kpi-action.active-kpi-filter:not(.kpi-primary) {
  border-color: var(--blue-dark);
  background: rgba(223,232,237,.74);
  box-shadow: inset 0 0 0 1px rgba(82,113,132,.22);
}
.kpi-grid-compact .kpi-primary.active-kpi-filter {
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.taxonomy-filter-stack {
  display: grid;
  gap: 1px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}
.taxonomy-filter-row {
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  gap: 18px;
  align-items: start;
  padding: 14px 16px;
  background: rgba(255,255,255,.72);
  transition: background .2s ease, box-shadow .2s ease;
}
.taxonomy-filter-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 7px;
}
.taxonomy-filter-label span {
  color: var(--steel);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.taxonomy-filter-label strong {
  color: var(--blue-dark);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.taxonomy-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 116px;
  padding: 1px 2px 3px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.taxonomy-option-list-groups { max-height: 154px; }
.taxonomy-option {
  appearance: none;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--ice-2);
  font: inherit;
  font-size: .71rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.taxonomy-option:hover {
  color: var(--ink);
  border-color: var(--blue);
  background: var(--white);
}
.taxonomy-option.active {
  color: var(--white);
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}
.taxonomy-row-pulse {
  animation: taxonomyPulse .9s ease;
}
@keyframes taxonomyPulse {
  0%,100% { background: rgba(255,255,255,.72); }
  45% { background: rgba(169,189,200,.30); box-shadow: inset 4px 0 0 var(--blue); }
}
.active-filters { margin-top: 10px; min-height: 28px; }

@media (max-width: 900px) {
  .kpi-grid-compact { grid-template-columns: repeat(2, 1fr); }
  .taxonomy-filter-row { grid-template-columns: 1fr; gap: 5px; }
  .taxonomy-filter-label { padding-top: 0; }
}
@media (max-width: 560px) {
  .kpi-grid-compact { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kpi-grid-compact .kpi-card { min-height: 100px; padding: 13px; }
  .taxonomy-option-list, .taxonomy-option-list-groups { max-height: 180px; }
}

/* v7 — interactive sector treemap */
.atlas-grid-main { grid-template-columns: 1fr; }
.sectors-panel { min-height: 590px; }
.sector-treemap {
  position: relative;
  width: 100%;
  height: 470px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper-deep, #e9eff2);
  border: 1px solid rgba(77, 105, 122, .15);
}
.treemap-sector {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
  border: 2px solid rgba(248,250,251,.95);
  padding: 13px;
  text-align: left;
  color: #17313e;
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}
.treemap-sector:hover {
  z-index: 3;
  filter: saturate(1.12) brightness(.98);
  box-shadow: 0 8px 24px rgba(21,48,63,.18);
}
.treemap-sector.active-chart-filter {
  z-index: 4;
  box-shadow: inset 0 0 0 4px #17313e, 0 9px 26px rgba(21,48,63,.24);
}
.treemap-tone-0 { background: #c9dbe4; }
.treemap-tone-1 { background: #d9e5db; }
.treemap-tone-2 { background: #d5dfea; }
.treemap-tone-3 { background: #e4ddd0; }
.treemap-tone-4 { background: #c8d5cf; }
.treemap-tone-5 { background: #d7d2e0; }
.treemap-name {
  max-width: 100%;
  font-size: clamp(.73rem, 1.05vw, 1rem);
  line-height: 1.12;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.treemap-percent {
  font-family: "Geist", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.65rem);
  line-height: 1;
  font-weight: 700;
}
.treemap-count { font-size: .72rem; opacity: .76; }
.treemap-sector.compact-tile { padding: 8px; }
.treemap-sector.compact-tile .treemap-name { font-size: .68rem; }
.treemap-sector.compact-tile .treemap-percent { font-size: .9rem; }
.treemap-sector.compact-tile .treemap-count { display: none; }
@media (max-width: 760px) {
  .sector-treemap { height: 600px; }
  .treemap-sector { padding: 8px; }
  .treemap-count { display: none; }
}

/* v8 — the taxonomy treemap is the only sector selector */
.taxonomy-groups-after-treemap {
  margin-top: 18px;
  margin-bottom: 24px;
}
.taxonomy-groups-after-treemap .taxonomy-filter-row {
  align-items: flex-start;
}
.taxonomy-groups-after-treemap .taxonomy-filter-label small {
  display: block;
  max-width: 230px;
  margin-top: 5px;
  color: var(--muted, #657681);
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.35;
}

/* Atlas v10 — slimmer vertical rhythm and refined technology-group selector */
.atlas-hero-section { padding: 46px 0 38px; }
.atlas-hero { gap: 42px; }
.atlas-hero h1 { font-size: clamp(2.55rem, 5vw, 4.7rem); line-height: .94; }
.atlas-hero .lead { max-width: 820px; margin-top: 17px; font-size: .98rem; line-height: 1.55; }
.atlas-hero-note { padding: 18px 0 2px 22px; }
.atlas-hero-note p { margin: 11px 0 10px; font-size: .79rem; line-height: 1.5; }

.atlas-interface { padding-top: 22px; }
.atlas-search-only { padding: 10px 12px; }
.atlas-search-only .filter-field input { height: 41px; font-size: .84rem; }
.compact-scope { margin: 9px 3px 10px; font-size: .75rem; }

.kpi-grid-compact { gap: 7px; }
.kpi-grid-compact .kpi-card { min-height: 72px; padding: 10px 13px; border-radius: 11px; }
.kpi-grid-compact .kpi-card strong { margin: 5px 0 1px; font-size: clamp(1.35rem, 2vw, 1.85rem); }
.kpi-grid-compact .kpi-card small { font-size: .61rem; line-height: 1.25; }
.kpi-grid-compact .kpi-label { font-size: .61rem; }
.active-filters { min-height: 20px; margin-top: 7px; gap: 5px; }
.active-filter-chip { padding: 4px 8px; font-size: .65rem; }

.atlas-grid { margin-top: 8px; gap: 9px; }
.data-panel { padding: 19px; border-radius: 13px; }
.panel-heading { margin-bottom: 14px; gap: 14px; }
.panel-heading h2, .detail-panel h2 { margin-top: 4px; font-size: clamp(1.3rem, 2vw, 1.8rem); }
.panel-intro { margin-top: 4px; font-size: .72rem; line-height: 1.42; }
.sectors-panel { min-height: 0; }
.sector-treemap { height: 340px; margin-top: 10px; border-radius: 11px; }
.treemap-sector { padding: 9px; }
.treemap-name { font-size: clamp(.65rem, .9vw, .86rem); }
.treemap-percent { font-size: clamp(.88rem, 1.35vw, 1.25rem); }
.treemap-count { font-size: .62rem; }
.chart-caption { margin-top: 10px; padding-top: 9px; font-size: .66rem; }
.denominator-note { font-size: .67rem; }

.taxonomy-groups-after-treemap {
  margin-top: 9px;
  margin-bottom: 9px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(43,63,74,.035);
}
.taxonomy-groups-after-treemap .taxonomy-filter-row {
  grid-template-columns: 155px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
}
.taxonomy-groups-after-treemap .taxonomy-filter-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 8px;
  align-items: center;
  padding: 0;
}
.taxonomy-groups-after-treemap .taxonomy-filter-label span {
  grid-row: 1 / 3;
  align-self: center;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .55rem;
  letter-spacing: .08em;
}
.taxonomy-groups-after-treemap .taxonomy-filter-label strong { font-size: .67rem; }
.taxonomy-groups-after-treemap .taxonomy-filter-label small {
  max-width: none;
  margin: 0;
  font-size: .61rem;
  line-height: 1.2;
}
.taxonomy-option-list-groups {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 1px 5px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.taxonomy-option-list-groups .taxonomy-option {
  flex: 0 0 auto;
  max-width: 240px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: .66rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  scroll-snap-align: start;
}
.taxonomy-option-list-groups .taxonomy-option.active {
  box-shadow: inset 3px 0 0 rgba(255,255,255,.55);
}

.explorer-layout { margin-top: 9px; gap: 9px; }
.explorer-panel .panel-heading { margin-bottom: 10px; }
.technology-table th { padding: 7px 9px; font-size: .59rem; }
.technology-table td { padding: 9px; font-size: .71rem; line-height: 1.32; }
.table-controls button { width: 29px; height: 29px; }
.table-controls { font-size: .69rem; }
.detail-panel-below { margin-top: 0; }
.detail-profile-head { gap: 14px; }
.detail-section-full:first-of-type { margin-top: 13px; }
.detail-section-full + .detail-section-full { margin-top: 8px; }
.aspect-card, .requirement-card { padding: 12px; }

.method-section { padding-top: 48px; padding-bottom: 48px; }

@media (max-width: 900px) {
  .atlas-hero-section { padding: 38px 0 30px; }
  .taxonomy-groups-after-treemap .taxonomy-filter-row { grid-template-columns: 1fr; gap: 7px; }
  .sector-treemap { height: 420px; }
}
@media (max-width: 560px) {
  .atlas-hero-section { padding: 29px 0 24px; }
  .atlas-hero h1 { font-size: 2.45rem; }
  .kpi-grid-compact .kpi-card { min-height: 68px; padding: 9px 10px; }
  .sector-treemap { height: 500px; }
  .data-panel { padding: 14px; }
  .taxonomy-option-list-groups .taxonomy-option { max-width: 205px; }
}

/* Atlas v11 — numbered technology-group panel without empty section bands */
.technology-group-panel {
  margin: 9px 0;
  padding: 12px 14px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 8px 24px rgba(43,63,74,.035);
}
.technology-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}
.technology-group-heading h2 {
  margin: 3px 0 0;
  color: var(--blue-dark);
  font-size: .88rem;
  line-height: 1.2;
}
.technology-group-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.35;
  text-align: right;
}
.technology-group-panel .taxonomy-option-list-groups {
  margin: 0;
  padding: 1px 0 4px;
}
@media (max-width: 760px) {
  .technology-group-heading { align-items: start; flex-direction: column; gap: 4px; }
  .technology-group-heading p { text-align: left; }
}

/* Atlas v12 — balanced spacing and fully visible technology groups */
.atlas-interface { padding-top: 26px; }
.atlas-search-only { padding: 12px 14px; }
.compact-scope { margin: 10px 3px 12px; }

.kpi-grid-compact { gap: 9px; }
.kpi-grid-compact .kpi-card {
  min-height: 78px;
  padding: 12px 15px;
}

.atlas-grid {
  margin-top: 11px;
  gap: 12px;
}
.data-panel {
  padding: 22px;
}
.panel-heading {
  margin-bottom: 17px;
}
.sector-treemap {
  height: 360px;
  margin-top: 12px;
}

.technology-group-panel {
  margin: 12px 0;
  padding: 16px 17px 15px;
}
.technology-group-heading {
  align-items: center;
  margin-bottom: 12px;
}
.technology-group-heading h2 {
  margin-top: 4px;
  font-size: .94rem;
}
.technology-group-heading p {
  font-size: .67rem;
}
.technology-group-panel .taxonomy-option-list-groups {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 7px;
  max-height: none;
  overflow: visible;
  padding: 0;
  scrollbar-width: none;
  scroll-snap-type: none;
}
.technology-group-panel .taxonomy-option-list-groups::-webkit-scrollbar {
  display: none;
}
.technology-group-panel .taxonomy-option-list-groups .taxonomy-option {
  flex: 0 1 auto;
  max-width: min(100%, 310px);
  padding: 7px 10px;
  border-radius: 8px;
  font-size: .68rem;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  scroll-snap-align: none;
}

.explorer-layout {
  margin-top: 12px;
  gap: 12px;
}
.explorer-panel .panel-heading {
  margin-bottom: 13px;
}
.technology-table th {
  padding: 8px 10px;
}
.technology-table td {
  padding: 10px;
}
.detail-profile-head {
  gap: 17px;
}
.aspect-card, .requirement-card {
  padding: 14px;
}

@media (max-width: 900px) {
  .sector-treemap { height: 430px; }
  .technology-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .technology-group-heading p { text-align: left; }
}

@media (max-width: 560px) {
  .data-panel { padding: 17px; }
  .technology-group-panel { padding: 14px; }
  .technology-group-panel .taxonomy-option-list-groups .taxonomy-option {
    max-width: 100%;
  }
}


/* Atlas v13 — larger, adjustable and more legible taxonomy treemap */
.sector-panel-actions {
  align-items: flex-end;
}
.treemap-view-controls {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}
.treemap-size-toggle {
  min-width: 88px;
}
.sector-treemap {
  height: clamp(450px, 44vw, 540px);
  transition: height .28s ease;
}
.sectors-panel.treemap-expanded .sector-treemap {
  height: clamp(610px, 58vw, 720px);
}
.treemap-sector {
  padding: 11px;
}
.treemap-name {
  font-size: clamp(.72rem, .92vw, .94rem);
  line-height: 1.16;
  hyphens: auto;
}
.treemap-percent {
  font-size: clamp(1rem, 1.45vw, 1.38rem);
}
.treemap-count {
  font-size: .67rem;
}
.treemap-sector.compact-tile {
  padding: 7px;
  justify-content: center;
}
.treemap-sector.compact-tile .treemap-name {
  font-size: .66rem;
  line-height: 1.08;
}
.treemap-sector.compact-tile .treemap-percent {
  font-size: .82rem;
}
@media (max-width: 900px) {
  .sector-treemap { height: 560px; }
  .sectors-panel.treemap-expanded .sector-treemap { height: 760px; }
}
@media (max-width: 620px) {
  .panel-heading { align-items: flex-start; }
  .sector-panel-actions { width: 100%; align-items: flex-start; }
  .treemap-view-controls { justify-content: flex-start; }
  .sector-treemap { height: 660px; }
  .sectors-panel.treemap-expanded .sector-treemap { height: 900px; }
}


/* Atlas v14 — compact icon-based Explorer without horizontal scrolling */
.table-scroll {
  overflow-x: visible;
  width: 100%;
}
.technology-table {
  min-width: 0 !important;
  width: 100%;
  table-layout: fixed;
}
.technology-table col.col-technology { width: 22%; }
.technology-table col.col-branch { width: 8%; }
.technology-table col.col-sector { width: 14%; }
.technology-table col.col-group { width: 28%; }
.technology-table col.col-icon { width: 7%; }
.technology-table th,
.technology-table td {
  min-width: 0 !important;
  overflow-wrap: anywhere;
}
.technology-table td:first-child { min-width: 0 !important; }
.technology-table th.icon-column-heading {
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
  letter-spacing: .045em;
  line-height: 1.15;
}
.technology-table th.icon-column-heading span {
  display: inline-block;
  max-width: 76px;
}
.classification-cell {
  padding-left: 4px !important;
  padding-right: 4px !important;
  text-align: center;
  vertical-align: middle !important;
}
.classification-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--blue-dark);
  background: linear-gradient(145deg, rgba(247,250,251,.98), rgba(226,235,239,.86));
  box-shadow: 0 4px 12px rgba(48,72,84,.07);
  cursor: help;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.classification-icon:hover,
.classification-icon:focus-visible {
  z-index: 2;
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 7px 17px rgba(48,72,84,.14);
  outline: none;
}
.classification-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.classification-code {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  border: 2px solid var(--ice);
  border-radius: 999px;
  color: var(--ice);
  background: var(--blue-dark);
  font-size: .48rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.classification-icon.state-positive { color: #315b59; background: linear-gradient(145deg,#f5faf9,#dce9e7); }
.classification-icon.state-fixed { color: #5c6268; background: linear-gradient(145deg,#fafafa,#e5e8e9); }
.classification-icon.state-mixed { color: #526476; background: linear-gradient(145deg,#f7fafc,#dfe8ef); }
.classification-icon.state-soft { color: #587080; background: linear-gradient(145deg,#f5f9fb,#deeaef); }
.classification-icon.state-hard { color: #3f5360; background: linear-gradient(145deg,#f5f8f9,#dce4e8); }
.classification-icon.state-equipment { color: #435f68; }
.classification-icon.state-product { color: #566173; }
.classification-icon.state-information { color: #476a74; }
.classification-icon.state-service { color: #61727b; }
.classification-icon.state-conditional { color: #756849; background: linear-gradient(145deg,#fcfaf4,#eee8d8); }
.classification-icon.state-caution { color: #71615f; background: linear-gradient(145deg,#fbf7f6,#ece2df); }

.classification-legend {
  margin-top: 14px;
  padding: 14px 15px 15px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(242,247,249,.58), rgba(247,250,251,.22));
}
.classification-legend-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 11px;
}
.classification-legend-title p {
  margin: 0;
  color: var(--muted);
  font-size: .68rem;
}
.classification-legend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.legend-item {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(205,216,222,.78);
  border-radius: 11px;
  background: rgba(250,252,253,.72);
}
.legend-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--blue-dark);
  background: var(--ice-2);
}
.legend-symbol svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.legend-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--blue-dark);
  font-size: .68rem;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.legend-item p {
  margin: 0;
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.32;
}

@media (max-width: 1040px) {
  .technology-table col.col-technology { width: 24%; }
  .technology-table col.col-branch { width: 9%; }
  .technology-table col.col-sector { width: 15%; }
  .technology-table col.col-group { width: 24%; }
  .technology-table col.col-icon { width: 7%; }
  .technology-table th.icon-column-heading { font-size: .53rem; }
  .classification-icon { width: 36px; height: 36px; border-radius: 10px; }
  .classification-icon svg { width: 19px; height: 19px; }
  .classification-legend-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .technology-table th:nth-child(3), .technology-table td:nth-child(3),
  .technology-table th:nth-child(4), .technology-table td:nth-child(4) { display: none; }
  .technology-table col.col-technology { width: 38%; }
  .technology-table col.col-branch { width: 14%; }
  .technology-table col.col-sector,
  .technology-table col.col-group { width: 0; }
  .technology-table col.col-icon { width: 12%; }
  .classification-legend-title { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (max-width: 520px) {
  .technology-table th:nth-child(2), .technology-table td:nth-child(2) { display: none; }
  .technology-table col.col-technology { width: 48%; }
  .technology-table col.col-branch { width: 0; }
  .technology-table col.col-icon { width: 13%; }
  .technology-table th.icon-column-heading span { font-size: 0; }
  .technology-table th.icon-column-heading span::first-letter { font-size: .55rem; }
  .classification-icon { width: 32px; height: 32px; }
  .classification-icon svg { width: 17px; height: 17px; }
  .classification-legend-grid { grid-template-columns: 1fr; }
}

/* Atlas v15 — complete source-table subcategory icon system */
.classification-icon.state-flexible,
.mini-classification.state-flexible { color:#315b59; background:linear-gradient(145deg,#f5faf9,#dce9e7); }
.classification-icon.state-hard-led,
.mini-classification.state-hard-led { color:#3f5360; background:linear-gradient(145deg,#f5f8f9,#dce4e8); }
.classification-icon.state-soft-led,
.mini-classification.state-soft-led { color:#587080; background:linear-gradient(145deg,#f5f9fb,#deeaef); }
.classification-icon.state-hard-soft,
.mini-classification.state-hard-soft { color:#526476; background:linear-gradient(145deg,#f7fafc,#dfe8ef); }
.classification-icon.state-equipment-operation,
.mini-classification.state-equipment-operation { color:#435f68; background:linear-gradient(145deg,#f6fafb,#e0eaed); }
.classification-icon.state-operation-information,
.mini-classification.state-operation-information { color:#476a74; background:linear-gradient(145deg,#f3fafb,#dcebed); }
.classification-icon.state-operation-service,
.mini-classification.state-operation-service { color:#61727b; background:linear-gradient(145deg,#f7f9fa,#e4e9eb); }
.classification-icon.state-product-equipment,
.mini-classification.state-product-equipment { color:#566173; background:linear-gradient(145deg,#f7f8fb,#e2e5ed); }
.classification-icon.state-clean-lifecycle,
.mini-classification.state-clean-lifecycle { color:#315b59; background:linear-gradient(145deg,#f4faf7,#dbeae2); }
.classification-icon.state-clean-performance,
.mini-classification.state-clean-performance { color:#40645c; background:linear-gradient(145deg,#f4faf7,#d9e9e1); }
.classification-icon.state-not-necessarily,
.mini-classification.state-not-necessarily { color:#71615f; background:linear-gradient(145deg,#fbf7f6,#ece2df); }

.classification-family-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.legend-family {
  min-width:0;
  padding:12px;
  border:1px solid rgba(205,216,222,.84);
  border-radius:12px;
  background:rgba(250,252,253,.76);
}
.legend-family h3 {
  margin:0 0 10px;
  color:var(--blue-dark);
  font-size:.67rem;
  letter-spacing:.055em;
  line-height:1.25;
  text-transform:uppercase;
}
.legend-options {
  display:grid;
  gap:7px;
}
.legend-option {
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:9px;
  align-items:start;
}
.mini-classification {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border:1px solid var(--line);
  border-radius:9px;
  color:var(--blue-dark);
  background:var(--ice-2);
  font-size:.52rem;
  font-weight:800;
  letter-spacing:-.02em;
}
.legend-option p { margin:0; min-width:0; }
.legend-option strong {
  display:block;
  margin-bottom:1px;
  color:var(--blue-dark);
  font-size:.64rem;
  line-height:1.25;
}
.legend-option p span {
  display:block;
  color:var(--muted);
  font-size:.59rem;
  line-height:1.3;
}
@media (max-width:900px) {
  .classification-family-grid { grid-template-columns:1fr; }
}

/* Atlas v16 — collapsible Explorer icon guide */
.classification-legend {
  margin-top: 12px;
  padding: 0;
  border: 1px solid rgba(205,216,222,.86);
  border-radius: 12px;
  background: rgba(247,250,251,.58);
  overflow: hidden;
}
.classification-legend-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .16s ease;
}
.classification-legend-summary::-webkit-details-marker { display: none; }
.classification-legend-summary:hover,
.classification-legend-summary:focus-visible {
  background: rgba(231,239,243,.72);
  outline: none;
}
.legend-summary-copy {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
}
.legend-summary-copy > span:last-child {
  color: var(--muted);
  font-size: .66rem;
}
.legend-summary-action {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255,255,255,.7);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.classification-legend[open] .legend-summary-action::before { content: "Close guide"; }
.classification-legend[open] .legend-summary-action { font-size: 0; }
.classification-legend[open] .legend-summary-action::before { font-size: .58rem; }
.classification-legend-body {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(205,216,222,.72);
}
.classification-legend-note {
  margin: 11px 0;
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .classification-legend-summary { align-items: flex-start; }
  .legend-summary-copy { display: grid; gap: 3px; }
  .legend-summary-action { margin-top: 1px; }
}

/* Atlas v18 — continuous transition from technology aspects to requirements */
.detail-section-full + .detail-section-full {
  margin-top: 0;
  padding-top: 0;
  border-top: 0 !important;
}
.detail-section-full + .detail-section-full .section-number {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}


/* Atlas v19 — compact, uninterrupted transition between IIASA aspects and requirements */
.detail-panel-below .detail-section-full:first-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.detail-panel-below .detail-section-full + .detail-section-full {
  margin-top: 6px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.detail-panel-below .detail-section-full + .detail-section-full::before,
.detail-panel-below .detail-section-full + .detail-section-full::after {
  display: none !important;
  content: none !important;
}

.detail-panel-below .detail-section-full + .detail-section-full > .section-number {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.detail-panel-below .requirements-note {
  margin: 7px 0 0 !important;
}

.detail-panel-below .requirements-grid {
  margin-top: 11px !important;
  margin-bottom: 0 !important;
}

.detail-panel-below {
  padding-bottom: 18px !important;
}

.detail-panel-below::after,
.detail-panel-below > *:last-child::after {
  display: none !important;
  content: none !important;
}

.detail-panel-below .detail-section-full:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}


/* Atlas v20 — expanded IIASA aspects and raw-material geography */
.integrated-aspects-section {
  margin-top: 18px !important;
  padding-top: 0 !important;
  border: 0 !important;
}

.integrated-aspects-note {
  max-width: 920px;
  margin: 7px 0 15px;
  color: var(--muted, #708896);
  font-size: .88rem;
  line-height: 1.55;
}

.aspect-grid-integrated {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  align-items: stretch;
}

.aspect-card-expanded {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.aspect-card-heading {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 17px 17px 15px;
  min-height: 150px;
}

.aspect-card-heading > span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .67rem;
  letter-spacing: .08em;
  font-weight: 700;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(22,61,78,.14);
}

.aspect-card-heading h3 {
  margin: 3px 0 8px;
  font-size: .95rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.aspect-card-heading p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.52;
}

.aspect-subindex-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: auto;
  border-top: 1px solid rgba(29,67,84,.10);
}

.aspect-subindex {
  padding: 12px 15px 13px;
  border-bottom: 1px solid rgba(29,67,84,.08);
}

.aspect-subindex:last-child {
  border-bottom: 0;
}

.aspect-subindex-label {
  display: block;
  margin-bottom: 5px;
  font-size: .64rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #21495d;
}

.aspect-subindex p {
  margin: 0;
  font-size: .76rem;
  line-height: 1.47;
  color: #506d7c;
}

.subindex-infrastructure { background: rgba(255,255,255,.36); }
.subindex-energy { background: rgba(223,236,241,.38); }
.subindex-materials { background: rgba(255,255,255,.36); }
.subindex-supplies { background: rgba(223,236,241,.38); }

.raw-material-section {
  margin-top: 16px !important;
  padding-top: 0 !important;
  border: 0 !important;
}

.raw-material-overview {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  gap: 12px;
  margin-top: 11px;
}

.raw-material-overview article {
  padding: 15px 16px;
  border-radius: 13px;
  background: #edf3f6;
  border: 1px solid #dce7ec;
}

.raw-material-overview span {
  display: block;
  margin-bottom: 7px;
  color: #173e52;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.raw-material-overview p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.52;
  color: #486878;
}

.raw-material-primary {
  background: #e6eff3 !important;
}

.geography-caveat {
  margin: 10px 2px 0;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(236,242,245,.72);
  color: #78909d;
  font-size: .72rem;
  line-height: 1.45;
}

@media (max-width: 1050px) {
  .aspect-grid-integrated { grid-template-columns: 1fr; }
  .aspect-card-heading { min-height: auto; }
  .raw-material-overview { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .aspect-card-heading { padding: 14px; }
  .aspect-subindex { padding: 11px 13px; }
}


/* Atlas v21 — interactive geographic supply map */
.technology-map-panel {
  margin-top: 13px;
  padding: 15px 16px 12px;
  border: 1px solid #dce7ec;
  border-radius: 14px;
  background: #f5f8fa;
}

.technology-map-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.technology-map-kicker {
  display: block;
  margin-bottom: 3px;
  color: #8ca0ac;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.technology-map-heading h3 {
  margin: 0;
  color: #173e52;
  font-size: .96rem;
  letter-spacing: .035em;
}

.technology-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 13px;
  color: #597585;
  font-size: .68rem;
}

.technology-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.map-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid rgba(23,62,82,.14);
}

.extraction-swatch { background: #9cb9c8; }
.processing-swatch { background: #d8a86b; }
.both-swatch { background: #395f73; }

.technology-country-map {
  width: 100%;
  height: clamp(310px, 36vw, 470px);
  overflow: hidden;
}

.technology-map-empty {
  margin: 18px 0 8px;
  padding: 18px;
  border-radius: 10px;
  background: #edf3f5;
  color: #718996;
  font-size: .78rem;
  text-align: center;
}

@media (max-width: 760px) {
  .technology-map-heading {
    flex-direction: column;
    gap: 9px;
  }

  .technology-map-legend {
    justify-content: flex-start;
  }

  .technology-country-map {
    height: 330px;
  }
}


/* Atlas v22 — locally stored, standardised and attributed photographs */
.technology-photo-standard {
  margin: 0;
  min-width: 0;
}

.technology-photo-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 13px 13px 0 0;
  background: #e6eef2;
}

.technology-photo-standard img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.technology-photo-standard figcaption {
  display: grid;
  gap: 3px;
  padding: 8px 11px 9px;
  border: 1px solid #dce7ec;
  border-top: 0;
  border-radius: 0 0 13px 13px;
  background: #f4f8fa;
  color: #718995;
  line-height: 1.35;
}

.photo-caption-title {
  color: #35586a;
  font-size: .69rem;
  font-weight: 650;
}

.photo-caption-credit {
  font-size: .61rem;
}

.photo-caption-credit a {
  color: #315f75;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.technology-photo-placeholder {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 13px;
}

.technology-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Atlas publication architecture */
.climate-project-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:18px;margin-top:34px}.climate-project{padding:24px;border:1px solid #dbe6eb;border-radius:18px;background:#f5f8fa}.climate-project-featured{background:#eaf1f4}.project-meta{display:flex;justify-content:space-between;gap:12px;font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:#607b89}.project-meta b,.review-badge{font-weight:700;color:#315f75}.climate-project h2{font-size:1.25rem;margin:18px 0 10px}.review-note{display:flex;flex-direction:column;justify-content:center}.review-badge{display:inline-flex;width:max-content;padding:6px 9px;border:1px solid #abc0cb;border-radius:999px;font-size:.65rem;letter-spacing:.12em}.review-note p{margin-top:12px}.atlas-references details{border:1px solid #dbe6eb;border-radius:18px;background:#f5f8fa;overflow:hidden}.atlas-references summary{display:flex;justify-content:space-between;gap:20px;padding:20px 24px;cursor:pointer;list-style:none}.reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 24px 18px}.reference-grid article{padding:18px;border-radius:14px;background:white;border:1px solid #e0e8ec}.reference-grid article a{display:block;margin-top:8px;font-size:.75rem}.atlas-limitations{margin:0 24px 24px;padding:16px 18px;border-radius:14px;background:#edf2f4}.pilot-editorial{padding-top:80px;padding-bottom:90px;max-width:920px}.pilot-editorial h1{max-width:820px}.pilot-editorial-body{max-width:760px;margin-top:30px;font-size:1.05rem;line-height:1.8}.editorial-actions{display:flex;gap:24px;flex-wrap:wrap;margin-top:34px}.text-link.secondary{opacity:.7}@media(max-width:900px){.climate-project-grid,.reference-grid{grid-template-columns:1fr}.atlas-hero{grid-template-columns:1fr}.review-note{margin-top:12px}}


/* Progressive taxonomy navigation */
[hidden] {
  display: none !important;
}

.treemap-sector {
  background: var(--sector-color) !important;
  color: var(--sector-ink) !important;
  border-color: rgba(255,255,255,.72) !important;
}

.treemap-sector:hover,
.treemap-sector:focus-visible {
  filter: saturate(1.08) brightness(1.06);
  z-index: 4;
}

.treemap-sector.active-chart-filter {
  outline: 4px solid #173e52 !important;
  outline-offset: -4px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.92);
  z-index: 5;
}

.progressive-section {
  margin-top: 18px;
  padding: 19px 20px 20px;
  border: 1px solid color-mix(in srgb, var(--sector-color) 32%, #dce7ec);
  border-top: 4px solid var(--sector-color);
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 11px 28px rgba(33,69,87,.055);
  animation: progressiveReveal .32s ease both;
}

@keyframes progressiveReveal {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.progressive-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 14px;
}

.progressive-heading h2 {
  margin: 4px 0 4px;
  color: #183f53;
  font-size: clamp(1.05rem, 1.9vw, 1.42rem);
  letter-spacing: -.018em;
}

.progressive-heading p {
  margin: 0;
  color: #718894;
  font-size: .82rem;
  line-height: 1.45;
}

.hierarchy-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px;
}

.hierarchy-card {
  min-height: 62px;
  padding: 13px 15px;
  border: 1px solid color-mix(in srgb, var(--sector-color) 42%, #d4e0e5);
  border-radius: 12px;
  background: var(--sector-soft);
  color: #244c60;
  font: inherit;
  font-size: .8rem;
  font-weight: 680;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

.hierarchy-card span {
  display: block;
}

.hierarchy-card:hover,
.hierarchy-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--sector-color);
  box-shadow: 0 8px 18px rgba(31,66,83,.10);
  outline: none;
}

.hierarchy-card.active {
  background: var(--sector-color);
  border-color: var(--sector-color);
  color: var(--sector-ink);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--sector-color) 26%, transparent);
}

.technology-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.technology-choice {
  min-height: 70px;
  font-size: .81rem;
}

.progressive-profile {
  margin-top: 19px;
  border-top: 5px solid var(--sector-color);
  animation: progressiveReveal .34s ease both;
}

.profile-section-label {
  margin-bottom: 13px;
  color: var(--sector-color);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.profile-classification-section {
  margin-top: 17px !important;
  padding-top: 0 !important;
  border: 0 !important;
}

.profile-classification-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.profile-classification-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dce7ec;
  border-radius: 13px;
  background: #f2f6f8;
}

.profile-classification-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.profile-classification-head > div > .info-term {
  display: block;
  margin-bottom: 3px;
}

.profile-classification-head > div strong {
  display: block;
  color: #234c60;
  font-size: .78rem;
  line-height: 1.35;
}

.profile-classification-card > p {
  margin: 11px 0 0;
  padding-top: 10px;
  border-top: 1px solid #dce7ec;
  color: #5d7785;
  font-size: .72rem;
  line-height: 1.48;
}

.profile-classification-card > p b {
  color: #3c6071;
}

.profile-classification-guide {
  margin-top: 10px;
  border: 1px solid #dce7ec;
  border-radius: 12px;
  background: #fbfcfd;
}

.profile-classification-guide summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 11px 13px;
  cursor: pointer;
  color: #31596c;
  font-size: .76rem;
  font-weight: 750;
  list-style: none;
}

.profile-classification-guide summary::-webkit-details-marker {
  display: none;
}

.profile-classification-guide summary small {
  color: #879aa4;
  font-size: .64rem;
  font-weight: 650;
}

.profile-classification-guide > p {
  margin: 0;
  padding: 0 13px 10px;
  color: #78909c;
  font-size: .7rem;
}

.profile-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  padding: 0 13px 13px;
}

.profile-guide-grid section {
  padding: 11px;
  border-radius: 10px;
  background: #f0f5f7;
}

.profile-guide-grid h4 {
  margin: 0 0 8px;
  color: #31596c;
  font-size: .69rem;
}

.profile-guide-grid section p {
  margin: 0;
  color: #607b88;
  font-size: .68rem;
  line-height: 1.5;
}

.profile-guide-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-top: 7px;
  color: #607b88;
  font-size: .66rem;
  line-height: 1.3;
}

.profile-guide-item .classification-icon {
  width: 32px;
  height: 32px;
}

.profile-guide-item .classification-icon svg {
  width: 15px;
  height: 15px;
}

.profile-guide-item .classification-code {
  font-size: .46rem;
}

.method-section.atlas-references details:not([open]) {
  padding-bottom: 0;
}

@media (max-width: 1080px) {
  .profile-classification-grid,
  .profile-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .progressive-section {
    padding: 16px;
  }

  .hierarchy-card-grid,
  .technology-card-grid,
  .profile-classification-grid,
  .profile-guide-grid {
    grid-template-columns: 1fr;
  }

  .hierarchy-card {
    min-height: 56px;
  }
}


/* Atlas v29 — pedagogical orientation and section guidance */
.atlas-orientation-section {
  padding: 20px 0 5px;
  background: #f8fbfc;
}

.atlas-orientation-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 10px;
}

.atlas-orientation-heading h2 {
  margin: 3px 0 0;
  color: #173e52;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  letter-spacing: -.018em;
}

.atlas-orientation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #cfdde4;
  border-bottom: 1px solid #cfdde4;
}

.atlas-orientation-grid details {
  min-width: 0;
  border-left: 1px solid #cfdde4;
  background: transparent;
}

.atlas-orientation-grid details:first-child {
  border-left: 0;
}

.atlas-orientation-grid summary,
.section-guide summary {
  position: relative;
  cursor: pointer;
  list-style: none;
}

.atlas-orientation-grid summary::-webkit-details-marker,
.section-guide summary::-webkit-details-marker {
  display: none;
}

.atlas-orientation-grid summary {
  min-height: 67px;
  padding: 17px 38px 15px 16px;
  color: #244d61;
  font-size: .84rem;
  font-weight: 760;
  line-height: 1.35;
}

.atlas-orientation-grid summary::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 15px;
  color: #73909f;
  font-size: 1.1rem;
  font-weight: 400;
}

.atlas-orientation-grid details[open] summary::after {
  content: "–";
}

.atlas-orientation-grid details[open] {
  background: #eef4f7;
  box-shadow: inset 0 3px 0 #2c6e91;
}

.atlas-orientation-grid p {
  margin: 0;
  padding: 0 16px 17px;
  color: #5d7886;
  font-size: .76rem;
  line-height: 1.55;
}

.atlas-orientation-grid p a {
  color: #255f7c;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.atlas-orientation-grid p a:hover,
.atlas-orientation-grid p a:focus-visible {
  color: #173e52;
}

.atlas-start-section {
  margin-bottom: 18px;
  padding: 18px 20px 20px;
  border: 1px solid #d5e2e8;
  border-top: 4px solid #173e52;
  background: rgba(255,255,255,.88);
}

.atlas-start-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 13px;
}

.atlas-start-heading h2 {
  margin: 4px 0 0;
  color: #173e52;
  font-size: clamp(1.02rem, 1.8vw, 1.34rem);
  letter-spacing: -.016em;
}

.section-guide {
  width: min(390px, 100%);
  border: 1px solid #d3e0e6;
  background: #f4f8fa;
}

.section-guide summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 9px 11px;
  color: #31596d;
  font-size: .72rem;
  font-weight: 760;
}

.section-guide summary::after {
  content: "+";
  flex: 0 0 auto;
  margin-left: 4px;
  color: #78919e;
  font-size: .92rem;
  font-weight: 400;
}

.section-guide[open] summary::after {
  content: "–";
}

.section-guide summary small {
  margin-left: auto;
  color: #879aa4;
  font-size: .59rem;
  font-weight: 650;
  letter-spacing: .04em;
}

.section-guide[open] {
  border-left: 3px solid #2c6e91;
  background: #edf4f7;
}

.section-guide p {
  margin: 0;
  padding: 0 11px 11px;
  color: #607b89;
  font-size: .69rem;
  line-height: 1.5;
}

.taxonomy-guide {
  width: 100%;
  margin: 0 0 11px;
}

.progressive-guide {
  width: 100%;
  margin: 0 0 12px;
  border-color: color-mix(in srgb, var(--sector-color) 28%, #d3e0e6);
  background: color-mix(in srgb, var(--sector-color) 7%, #f6f9fa);
}

.progressive-guide[open] {
  border-left-color: var(--sector-color);
  background: color-mix(in srgb, var(--sector-color) 11%, #f5f8fa);
}

.profile-reading-guide {
  width: 100%;
  margin: 0 0 15px;
  border-color: color-mix(in srgb, var(--sector-color) 30%, #d3e0e6);
}

.profile-reading-guide[open] {
  border-left-color: var(--sector-color);
}

/* Atlas v30 — contextual definitions and a visible profile-reading step */
.public-step-guide {
  width: 100%;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--sector-color) 32%, #d3e0e6);
  border-left: 4px solid var(--sector-color);
  background: color-mix(in srgb, var(--sector-color) 7%, #f7fafb);
}

.public-step-guide-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.public-step-guide-heading > span {
  color: #274f63;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.public-step-guide-heading small {
  flex: 0 0 auto;
  color: #7a909b;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.public-step-guide > p {
  max-width: 1020px;
  margin: 8px 0 0;
  color: #56727f;
  font-size: .74rem;
  line-height: 1.62;
}

.info-term {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.info-term-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 0;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px dotted currentColor;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: help;
}

.profile-classification-head .info-term-trigger {
  color: #607b88;
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.aspect-card-heading .info-term-trigger {
  color: inherit;
  font-size: inherit;
}

.info-term-trigger i {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .59rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  opacity: .72;
}

.info-term-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 11px);
  z-index: 80;
  width: max-content;
  max-width: min(320px, 76vw);
  padding: 12px 13px;
  border: 1px solid #b9cad2;
  color: #eef5f7 !important;
  background: #173e52;
  box-shadow: 0 14px 32px rgba(17, 41, 53, .22);
  font-size: .72rem !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  line-height: 1.52 !important;
  text-align: left;
  text-transform: none !important;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 5px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  pointer-events: none;
}

.info-term:hover .info-term-popover,
.info-term[data-open="true"] .info-term-popover {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.info-term-trigger:focus-visible {
  outline: 2px solid #2c6e91;
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .public-step-guide-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .info-term-popover {
    left: 0;
    max-width: min(290px, 78vw);
    transform: translate(0, 5px);
  }

  .info-term:hover .info-term-popover,
  .info-term[data-open="true"] .info-term-popover {
    transform: translate(0, 0);
  }
}

/* Remove soft card shadows so the square system reads as deliberate. */
.atlas-page .data-panel,
.atlas-page .progressive-section,
.atlas-page .atlas-start-section,
.atlas-page .kpi-card,
.atlas-page .hierarchy-card,
.atlas-page .aspect-card,
.atlas-page .profile-classification-card,
.atlas-page .raw-material-overview article,
.atlas-page .technology-map-panel {
  box-shadow: none !important;
}

@media (max-width: 840px) {
  .atlas-orientation-grid {
    grid-template-columns: 1fr;
  }

  .atlas-orientation-grid details,
  .atlas-orientation-grid details:first-child {
    border-left: 0;
    border-top: 1px solid #cfdde4;
  }

  .atlas-orientation-grid details:first-child {
    border-top: 0;
  }

  .atlas-start-heading {
    flex-direction: column;
  }

  .section-guide {
    width: 100%;
  }
}

/* Atlas v28 — native multilingual technical datasets and source traceability */
.implementation-requirements-section,
.technical-sources-section {
  margin-top: 18px !important;
  padding-top: 0 !important;
  border: 0 !important;
}

.implementation-requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #d7e3e8;
  background: #f5f8fa;
}

.implementation-requirements-grid .aspect-subindex {
  min-width: 0;
  border-right: 1px solid rgba(29,67,84,.08);
}

.implementation-requirements-grid .aspect-subindex:nth-child(2n) {
  border-right: 0;
}

.technical-sources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.technical-source-card {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid #d7e3e8;
  background: #f4f8fa;
}

.technical-source-card > span,
.analytical-note > span {
  display: block;
  margin-bottom: 8px;
  color: #173e52;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.technical-source-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.technical-source-card a {
  display: inline-flex;
  padding: 6px 8px;
  border: 1px solid #c8d9e1;
  color: #245a73;
  background: #fff;
  font-size: .72rem;
  font-weight: 720;
  text-decoration: none;
}

.technical-source-card a:hover,
.technical-source-card a:focus-visible {
  border-color: #2c6e91;
  color: #173e52;
}

.technical-source-card div > span {
  color: #708896;
  font-size: .76rem;
  line-height: 1.45;
}

.analytical-note {
  margin-top: 10px;
  padding: 14px 15px;
  border-left: 3px solid var(--sector-color, #2c6e91);
  background: color-mix(in srgb, var(--sector-color, #2c6e91) 7%, #f7fafb);
}

.analytical-note p {
  margin: 0;
  color: #526f7e;
  font-size: .78rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .technical-sources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .implementation-requirements-grid,
  .technical-sources-grid { grid-template-columns: 1fr; }
  .implementation-requirements-grid .aspect-subindex { border-right: 0; }
}


/* Atlas v31 — visible popovers for Hardware, Software and Orgware */
.integrated-aspects-section,
.aspect-grid-integrated,
.aspect-card-expanded,
.aspect-card-heading {
  overflow: visible;
}

.aspect-card-expanded {
  isolation: auto;
  z-index: 1;
}

.aspect-card-expanded:hover,
.aspect-card-expanded:focus-within,
.aspect-card-expanded:has(.info-term:hover),
.aspect-card-expanded:has(.info-term[data-open="true"]) {
  z-index: 120;
}

.aspect-card-heading .info-term-popover {
  top: calc(100% + 10px);
  right: auto;
  bottom: auto;
  left: 0;
  width: min(330px, calc(100vw - 64px));
  max-width: none;
  padding: 14px 15px;
  border-color: rgba(184, 205, 214, .9);
  background: rgba(23, 62, 82, .98);
  box-shadow: 0 18px 38px rgba(17, 41, 53, .24);
  font-size: .76rem !important;
  line-height: 1.58 !important;
  transform: translate(0, -5px);
}

.aspect-card-heading .info-term-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(184, 205, 214, .9);
  border-left: 1px solid rgba(184, 205, 214, .9);
  background: #173e52;
  transform: rotate(45deg);
}

.aspect-card-expanded:nth-child(2) .aspect-card-heading .info-term-popover {
  left: 50%;
  transform: translate(-50%, -5px);
}

.aspect-card-expanded:nth-child(2) .aspect-card-heading .info-term-popover::before {
  left: calc(50% - 5px);
}

.aspect-card-expanded:nth-child(3) .aspect-card-heading .info-term-popover {
  right: 0;
  left: auto;
}

.aspect-card-expanded:nth-child(3) .aspect-card-heading .info-term-popover::before {
  right: 20px;
  left: auto;
}

.aspect-card-heading .info-term:hover .info-term-popover,
.aspect-card-heading .info-term[data-open="true"] .info-term-popover {
  transform: translate(0, 0);
}

.aspect-card-expanded:nth-child(2) .aspect-card-heading .info-term:hover .info-term-popover,
.aspect-card-expanded:nth-child(2) .aspect-card-heading .info-term[data-open="true"] .info-term-popover {
  transform: translate(-50%, 0);
}

@media (max-width: 1050px) {
  .aspect-card-expanded:nth-child(2) .aspect-card-heading .info-term-popover,
  .aspect-card-expanded:nth-child(3) .aspect-card-heading .info-term-popover {
    right: auto;
    left: 0;
    transform: translate(0, -5px);
  }

  .aspect-card-expanded:nth-child(2) .aspect-card-heading .info-term-popover::before,
  .aspect-card-expanded:nth-child(3) .aspect-card-heading .info-term-popover::before {
    right: auto;
    left: 20px;
  }

  .aspect-card-expanded:nth-child(2) .aspect-card-heading .info-term:hover .info-term-popover,
  .aspect-card-expanded:nth-child(2) .aspect-card-heading .info-term[data-open="true"] .info-term-popover,
  .aspect-card-expanded:nth-child(3) .aspect-card-heading .info-term:hover .info-term-popover,
  .aspect-card-expanded:nth-child(3) .aspect-card-heading .info-term[data-open="true"] .info-term-popover {
    transform: translate(0, 0);
  }
}
