/*
  Identidad CADEELI. La interfaz usa la paleta oficial como color de marca
  y conserva blancos y tintes derivados para mantener lectura y contraste.
*/

:root {
  --cadeeli-mist: #83b9dc;
  --cadeeli-sky: #36b6fd;
  --cadeeli-cyan: #0cc1df;
  --cadeeli-blue: #004aac;
  --cadeeli-indigo: #1801ac;
  --cadeeli-periwinkle: #5170ff;
  --ink: #10224f;
  --muted: #536b90;
  --surface: #f8fcff;
  --panel: #eaf6fc;
  --line: #b9d8ea;
  --orange: var(--cadeeli-cyan);
  --orange-dark: var(--cadeeli-blue);
  --green: var(--cadeeli-sky);
  --green-dark: var(--cadeeli-blue);
  --jade: var(--cadeeli-indigo);
  --gold: var(--cadeeli-mist);
  --danger: #b4234b;
  --shadow: 0 24px 70px rgba(0, 74, 172, .2);
  --shadow-soft: 0 10px 30px rgba(0, 74, 172, .1);
  --radius: 14px;
}

body.site-page {
  padding-top: calc(64px + var(--header-inset));
  background: radial-gradient(circle at 12% 18%, rgba(12, 193, 223, .13), transparent 29rem), linear-gradient(145deg, #f9fdff, #eaf6fc 58%, #e5efff);
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: rgba(81, 112, 255, .48); }
input:focus, select:focus, textarea:focus { border-color: var(--cadeeli-periwinkle); box-shadow: 0 0 0 3px rgba(81, 112, 255, .16); }

/* Cabecera y navegación. */
.site-header {
  height: calc(64px + var(--header-inset));
  min-height: calc(64px + var(--header-inset));
  padding-top: var(--header-inset);
  padding-bottom: 0;
  padding-left: max(.85rem, env(safe-area-inset-left, 0px));
  padding-right: max(.85rem, env(safe-area-inset-right, 0px));
  border: 0;
  background: linear-gradient(118deg, var(--cadeeli-indigo), #12059b 46%, var(--cadeeli-blue));
  box-shadow: 0 8px 30px rgba(24, 1, 172, .25);
  box-sizing: border-box;
}
.site-header::before { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--cadeeli-mist), var(--cadeeli-sky), var(--cadeeli-cyan), var(--cadeeli-periwinkle)); }
.brand { gap: .8rem; }
.brand img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 4px 9px rgba(0,0,0,.25)); }
.brand strong { color: #fff; font-size: 1.42rem; line-height: 1; }
.brand small { margin-top: .27rem; color: #c9eaff; letter-spacing: .13em; }
.text-link { color: #d9efff; }
.text-link:hover { color: #fff; }
.connection-pill { border-color: rgba(131,185,220,.55); border-radius: 10px; background: rgba(0,0,0,.16); }
.connection-pill small { color: #cae9fc; }
.connection-pill > span { background: var(--cadeeli-mist); box-shadow: 0 0 0 3px rgba(131,185,220,.2); }
.connection-pill.online > span { background: var(--cadeeli-cyan); box-shadow: 0 0 0 3px rgba(12,193,223,.2); }
.connection-pill.offline > span { background: var(--cadeeli-periwinkle); box-shadow: 0 0 0 3px rgba(81,112,255,.22); }
.connection-pill.has-queue { border-color: var(--cadeeli-cyan); }
.lang-picker { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(131,185,220,.48); border-radius: 10px; background: rgba(0,0,0,.2); box-shadow: inset 0 1px 3px rgba(0,0,0,.25); }
.lang-btn { border: 0; border-radius: 7px; background: transparent; padding: .32rem .58rem; color: #cae9fc; font-size: .66rem; font-weight: 800; letter-spacing: .06em; transition: background .2s, color .2s, box-shadow .2s; }
.lang-btn:hover { color: #fff; background: rgba(255,255,255,.1); }
.lang-btn.active { background: linear-gradient(135deg, var(--cadeeli-cyan), var(--cadeeli-sky)); color: #07164d; box-shadow: 0 2px 9px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.45); }
.button { border-radius: 10px; box-shadow: none; }
.button-primary { border-color: var(--cadeeli-cyan); background: linear-gradient(135deg, var(--cadeeli-cyan), var(--cadeeli-sky)); color: #07164d; box-shadow: 0 8px 22px rgba(12,193,223,.28); }
.button-primary:hover { background: linear-gradient(135deg, #20cae6, #55c0fd); }
.button-secondary { background: linear-gradient(135deg, var(--cadeeli-blue), var(--cadeeli-periwinkle)); color: #fff; }
.button-ghost { border-color: rgba(218,239,255,.82); box-shadow: none; }
.button-quiet { color: var(--cadeeli-blue); box-shadow: none; }

/* Archivo y filtros. */
.atlas-shell { height: calc(100dvh - (64px + var(--header-inset))); border: 0; background: #d9eaf5; }
.explorer-panel { padding-top: 1.8rem; border-right: 1px solid var(--line); background: radial-gradient(circle at 15% 2%, rgba(255,255,255,.94), transparent 18rem), linear-gradient(180deg, rgba(131,185,220,.2), transparent 34%), var(--surface); box-shadow: 10px 0 34px rgba(0,74,172,.08); scrollbar-color: var(--cadeeli-mist) transparent; }
.explorer-panel::before, .method-section::before { content: ''; display: block; width: 104px; height: 8px; margin-bottom: 1rem; border-radius: 99px; background: linear-gradient(90deg, var(--cadeeli-mist) 0 18%, transparent 18% 23%, var(--cadeeli-sky) 23% 43%, transparent 43% 48%, var(--cadeeli-cyan) 48% 68%, transparent 68% 73%, var(--cadeeli-periwinkle) 73%); }
.eyebrow { color: var(--cadeeli-blue); font-size: .69rem; letter-spacing: .18em; }
.explorer-panel h1 { max-width: 315px; margin: .5rem 0 .8rem; color: var(--cadeeli-indigo); font-size: clamp(2.25rem,3.25vw,3.15rem); line-height: .93; letter-spacing: -.025em; text-wrap: balance; }
.intro { color: var(--muted); }
.atlas-pulse { border: 1px solid #a8cfe7; border-radius: 12px; background: #a8cfe7; box-shadow: 0 9px 26px rgba(0,74,172,.1); }
.atlas-pulse div { padding: .72rem .6rem; background: rgba(248,252,255,.94); }
.atlas-pulse strong { color: var(--cadeeli-blue); font-size: 1.28rem; }
.atlas-pulse span { letter-spacing: .07em; text-transform: uppercase; }
.search-box, input, select, textarea, .advanced-filters, .segmented { border-color: var(--line); background-color: rgba(255,255,255,.92); }
.search-box { border-radius: 12px; box-shadow: 0 6px 18px rgba(0,74,172,.07); }
.segmented { border-radius: 10px; background: #e3f2fa; }
.segmented button { border-radius: 7px; }
.segmented button.active { background: #fff; color: var(--cadeeli-indigo); box-shadow: 0 4px 12px rgba(0,74,172,.12), inset 0 -2px 0 var(--cadeeli-cyan); }
.advanced-filters { border-radius: 11px; }
.advanced-filters summary { color: var(--cadeeli-blue); }
.advanced-filters summary span { background: var(--cadeeli-cyan); color: #07164d; }
.language-filter-list span { border-color: var(--line); background: #fff; }
.language-filter-list input:checked + span { border-color: var(--cadeeli-blue); background: var(--cadeeli-blue); color: #fff; }
.mobile-filter-toggle { border-color: var(--line); border-radius: 10px; background: rgba(255,255,255,.9); }
.results-heading { background: rgba(248,252,255,.95); box-shadow: 0 11px 16px rgba(248,252,255,.94); }
.result-card { border-color: var(--line); border-left: 4px solid var(--marker-color,var(--cadeeli-blue)); border-radius: 11px; background: rgba(255,255,255,.92); box-shadow: 0 7px 20px rgba(0,74,172,.07); }
.result-card:hover, .result-card.active { border-color: var(--marker-color,var(--cadeeli-cyan)); background: #eefaff; box-shadow: 0 12px 28px rgba(0,74,172,.14); }
.result-card-photo { border-radius: 8px; }
.result-card-title { color: var(--cadeeli-indigo); }
.result-photo-count, .result-languages span, .popup-languages { border-color: rgba(0,74,172,.25); background: rgba(54,182,253,.11); color: var(--cadeeli-blue); }
.result-skeleton { border-radius: 11px; }

/* Mapa, marcadores y controles. */
.map-stage { background: #d8eaf5; box-shadow: inset 0 0 0 1px rgba(0,74,172,.12); }
.map-stage::after { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; box-shadow: inset 14px 0 28px rgba(0,74,172,.05); }
.map-status, .map-legend, .map-reset, .map-scope, .map-tools, .explorer-toggle { border-color: rgba(0,74,172,.2); border-radius: 10px; background: rgba(248,252,255,.93); box-shadow: 0 11px 28px rgba(0,74,172,.15); backdrop-filter: blur(14px) saturate(1.1); }
.map-tools button { color: var(--cadeeli-blue); }
.map-tools button:hover { background: #eefaff; color: var(--cadeeli-indigo); }
.map-tools button.active { background: var(--cadeeli-indigo) !important; color: #fff !important; }
.map-tools button.active svg { stroke: #fff !important; }
.map-scope { color: var(--muted); }
.map-reset, .explorer-toggle { color: var(--cadeeli-blue); }
.maplibregl-ctrl-group { border: 1px solid rgba(0,74,172,.2) !important; border-radius: 10px !important; box-shadow: 0 11px 28px rgba(0,74,172,.15) !important; }
.map-cluster-marker .cluster-symbol { border-radius: 9px; background: var(--cadeeli-cyan); box-shadow: 0 0 0 2px rgba(54,182,253,.72); }
.map-cluster-marker .cluster-symbol i { background: var(--cadeeli-indigo); }
.map-cluster-marker strong { background: var(--cadeeli-blue); color: #fff; }
.maplibregl-popup-content { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 22px 55px rgba(0,74,172,.22); }
.marker-popup { background: var(--surface); }
.marker-popup > div { border-top: 3px solid var(--cadeeli-cyan); }
.marker-popup small { color: var(--cadeeli-blue); }
.legend-marker.absent, .maya-marker.absent span { border-color: var(--cadeeli-mist); }
.maya-marker.absent span, .legend-marker.absent { background: #fff; }
.maya-marker.absent span i { background: var(--cadeeli-mist); }
.user-location-dot { background: var(--cadeeli-periwinkle); box-shadow: 0 0 12px rgba(81,112,255,.6), 0 4px 14px rgba(24,1,172,.28); }
.user-location-dot::before { background: rgba(54,182,253,.28); }
.user-location-dot::after { border-color: rgba(81,112,255,.48); }

/* Ficha, formularios y metodología. */
.detail-panel { border-left: 1px solid var(--line); background: radial-gradient(circle at 90% 8%, rgba(54,182,253,.13), transparent 20rem), var(--surface); box-shadow: -24px 0 60px rgba(24,1,172,.2); }
.icon-button, .modal-close { border-color: var(--line); background: rgba(255,255,255,.96); color: var(--cadeeli-indigo); }
.detail-body h2 { color: var(--cadeeli-indigo); font-size: clamp(2rem,3vw,2.8rem); line-height: .98; }
.badge { border-color: #bfddef; border-radius: 7px; background: #e3f3fb; color: var(--cadeeli-blue); }
.detail-section { border-color: var(--line); }
.detail-section h3 { color: var(--cadeeli-blue); }
.cluster-detail-list button { border-color: var(--line); border-radius: 11px; background: #fff; box-shadow: 0 7px 18px rgba(0,74,172,.08); }
.cluster-detail-list img, .cluster-detail-placeholder { border-radius: 8px; }
.detail-gallery-expand, .detail-gallery-arrow, .detail-gallery-status { background: rgba(24,1,172,.78); }
.method-section { position: relative; overflow: hidden; border-top: 6px solid var(--cadeeli-cyan); background: radial-gradient(circle at 8% 14%, rgba(54,182,253,.18), transparent 24rem), linear-gradient(145deg, rgba(255,255,255,.04), transparent 38%), linear-gradient(145deg, var(--cadeeli-indigo), #090568 75%); }
.method-section::before { position: absolute; top: clamp(3.5rem,7vw,6rem); left: clamp(1.25rem,6vw,6rem); margin: 0; }
.method-section::after { content: ''; position: absolute; width: 380px; height: 380px; right: -230px; bottom: -245px; border: 46px double rgba(81,112,255,.2); transform: rotate(45deg); }
.method-intro { padding-top: 1.6rem; }
.method-intro h2 { color: #fff; font-size: clamp(2.35rem,4.6vw,3.9rem); line-height: .95; letter-spacing: -.025em; }
.method-intro > p { color: #cbeaff; }
.method-principle { border: 1px solid rgba(131,185,220,.3); border-left: 4px solid var(--cadeeli-cyan); border-radius: 0 10px 10px 0; background: rgba(0,0,0,.14); }
.method-flow { border-color: rgba(131,185,220,.28); background: rgba(0,0,0,.13); }
.method-grid { gap: 10px; padding: 0; background: transparent; }
.method-grid li { border: 1px solid rgba(131,185,220,.24); border-radius: 10px; background: rgba(9,5,104,.68); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.method-grid span { color: var(--cadeeli-cyan); }
.method-grid h3 { color: #fff; }
.method-grid p { color: #cbe5f7; }
.method-definitions { gap: 10px; background: transparent; }
.method-definitions article { border: 1px solid rgba(131,185,220,.22); border-top: 4px solid var(--cadeeli-periwinkle); border-radius: 9px; background: rgba(9,5,104,.75); }
.modal-card { border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(circle at 10% 5%, rgba(54,182,253,.12), transparent 20rem), var(--surface); box-shadow: 0 30px 90px rgba(24,1,172,.3); }
.modal::backdrop { background: rgba(8,5,70,.78); backdrop-filter: blur(5px); }
.wizard-header, .wizard-footer { border-color: var(--line); background: rgba(227,243,251,.78); }
.stepper { border-color: var(--line); background: #e1f1fa; }
.stepper li::before { background: #fff; }
.stepper li.active { border-color: var(--cadeeli-periwinkle); }
.wizard-progress-label { color: var(--cadeeli-blue); }
.wizard-step fieldset, .review-card, .quality-checks article, .offline-item, .account-request, .stats-kpis div { border-color: var(--line); border-radius: 10px; background: rgba(255,255,255,.88); }
.drop-zone { border-color: var(--cadeeli-mist); border-radius: 12px; background: rgba(131,185,220,.16); }
.stats-bars b { background: linear-gradient(90deg, var(--cadeeli-blue), var(--cadeeli-cyan), var(--cadeeli-periwinkle)); }
.stats-note, .offline-summary { border-left-color: var(--cadeeli-cyan); background: #e2f4fc; }
.toast { border: 1px solid var(--cadeeli-sky); border-left: 5px solid var(--cadeeli-cyan); border-radius: 10px; background: var(--cadeeli-indigo); color: #fff; }
.mobile-fab { border: 1px solid var(--cadeeli-cyan); border-radius: 999px; background: linear-gradient(135deg, var(--cadeeli-cyan), var(--cadeeli-sky)); color: #07164d; }
.site-footer { position: relative; border-top: 5px solid var(--cadeeli-cyan); background: #090568; }
.site-footer::before { content: ''; position: absolute; inset: -5px 0 auto; height: 5px; background: linear-gradient(90deg, var(--cadeeli-mist), var(--cadeeli-sky), var(--cadeeli-cyan), var(--cadeeli-blue), var(--cadeeli-indigo), var(--cadeeli-periwinkle)); }
.site-footer { color: #cbe5f7; }
.site-footer .footer-logo {
  display: block;
  width: 148px;
  height: 148px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 26px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}
.site-footer strong { color: #fff; }
.site-footer small { color: #a8d9f7; }
.site-footer a { color: var(--cadeeli-cyan); }

@media (max-width: 900px) { .explorer-panel h1 { font-size: 2.4rem; } }
@media (max-width: 820px) {
  body.site-page { padding-top: calc(56px + var(--header-inset)); }
  .site-header { height: calc(56px + var(--header-inset)); min-height: calc(56px + var(--header-inset)); padding-top: var(--header-inset); }
  .atlas-shell { height: calc(100svh - (56px + var(--header-inset))); }
  .site-header::before { height: 5px; }
  .brand img { width: 34px; height: 34px; }
  .explorer-panel { border: 0; border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; box-shadow: 0 -18px 48px rgba(0,74,172,.18); }
  .explorer-panel::before { display: none; }
  .detail-panel { border: 0; border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; }
  .mobile-sheet-toolbar { background: linear-gradient(180deg, var(--surface) 78%, rgba(248,252,255,0)); }
  .mobile-view-switch { border-color: var(--line); background: #e2f2fa; }
  .mobile-view-switch button.active { background: var(--cadeeli-blue); color: #fff; }
  .filter-drawer { border-bottom: 1px solid var(--line); }
  .result-card { box-shadow: 0 7px 20px rgba(0,74,172,.08); }
  .method-section::before { top: 3rem; left: 1rem; }
  .method-grid { gap: 8px; }
  .wizard-footer { border-top: 1px solid var(--line); background: #e8f5fb; }
}

/* Navegación principal por espacios de trabajo. */
body.site-page { --app-nav-width: 168px; }
.app-navigation {
  position: fixed;
  z-index: 45;
  top: calc(64px + var(--header-inset));
  bottom: 0;
  left: 0;
  width: var(--app-nav-width);
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.2rem .75rem;
  border-right: 1px solid rgba(131,185,220,.24);
  background: #0b087f;
  color: white;
  box-shadow: 12px 0 30px rgba(24,1,172,.12);
  transition: transform .2s ease, visibility .2s ease;
}
.app-nav-toggle {
  position: absolute;
  left: max(16px, env(safe-area-inset-left, 0px));
  min-height: 44px;
  width: 44px;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .45rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(131,185,220,.3);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #ccecff;
  font-size: .7rem;
  font-weight: 800;
  white-space: nowrap;
}
.app-nav-toggle:hover { background: rgba(54,182,253,.15); color: #fff; }
.app-nav-toggle svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.app-nav-item {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: .72rem;
  padding: .75rem;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #ccecff;
  font-size: .8rem;
  font-weight: 800;
  text-align: left;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.app-nav-item svg { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-nav-item:hover { background: rgba(54,182,253,.12); color: white; }
.app-nav-item.active { border-left-color: var(--cadeeli-cyan); background: rgba(54,182,253,.17); color: white; }
.app-nav-contribute { margin-top: .55rem; color: white; }
.app-nav-contribute svg { color: var(--cadeeli-cyan); }
.site-header { padding-left: max(76px, calc(var(--app-nav-width) + 1rem), env(safe-area-inset-left, 0px)); transition: padding-left .2s ease; }
body.site-page main, body.site-page > .site-footer { margin-left: var(--app-nav-width); transition: margin-left .2s ease; }
@media (min-width: 821px) {
  body.site-page.nav-collapsed { --app-nav-width: 0px; }
  body.nav-collapsed .app-navigation { width: 168px; transform: translateX(-100%); visibility: hidden; pointer-events: none; }
}
.app-view-panel[hidden], .site-footer[hidden] { display: none !important; }

body.app-view-archive .atlas-shell { display: block; overflow-y: auto; background: var(--surface); }
body.app-view-archive .atlas-shell .map-stage { display: none; }
body.app-view-archive .explorer-panel {
  width: 100%;
  min-height: 100%;
  padding: clamp(1.5rem,3vw,2.5rem);
  overflow: visible;
  border: 0;
  box-shadow: none;
}
body.app-view-archive .explorer-panel h1 { max-width: 720px; }
body.app-view-archive .explorer-panel .intro { max-width: 760px; }
body.app-view-archive .atlas-pulse { max-width: 760px; }
body.app-view-archive .search-box { max-width: 760px; }
body.app-view-archive .filter-drawer { display: grid; grid-template-columns: minmax(360px,760px); }
body.app-view-archive .results-heading { position: static; margin-top: 2rem; box-shadow: none; }
body.app-view-archive .result-list { grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: .85rem; }
body.app-view-archive .result-card { min-height: 118px; }
body.app-view-archive .detail-panel { position: fixed; }
.method-section.app-view-panel { min-height: calc(100dvh - (64px + var(--header-inset))); }

@media (min-width: 821px) and (max-width: 1100px) {
  body.site-page { --app-nav-width: 92px; }
  body.site-page.nav-collapsed { --app-nav-width: 0px; }
  .app-navigation { padding-inline: .5rem; }
  .app-nav-item { min-height: 62px; flex-direction: column; justify-content: center; gap: .3rem; padding: .55rem .25rem; font-size: .65rem; text-align: center; }
}

@media (max-width: 820px) {
  body.site-page, body.site-page.nav-collapsed { --app-nav-width: 0px; }
  body.site-page { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  body.site-page main, body.site-page > .site-footer { margin-left: 0; }
  .app-navigation {
    top: auto;
    right: 0;
    width: auto;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
    padding: .35rem max(.35rem,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(.35rem,env(safe-area-inset-left,0px));
    border-top: 1px solid #a8cfe7;
    border-right: 0;
    background: rgba(248,252,255,.97);
    color: var(--cadeeli-blue);
    box-shadow: 0 -10px 28px rgba(0,74,172,.15);
    backdrop-filter: blur(16px);
  }
  .app-nav-toggle { display: none; }
  .app-nav-item { width: 25%; min-height: 56px; flex-direction: column; justify-content: center; gap: .2rem; padding: .3rem .2rem; border: 0; border-radius: 8px; color: var(--muted); font-size: .62rem; text-align: center; }
  .app-nav-item svg { width: 20px; height: 20px; }
  .app-nav-item:hover { background: transparent; color: var(--cadeeli-blue); }
  .app-navigation .app-nav-item:not([aria-current="page"]) { background: transparent; }
  .app-navigation .app-nav-item[aria-current="page"] { border: 0; background: #e2f4fc; color: var(--cadeeli-indigo); }
  .app-nav-contribute { margin-top: 0; }
  .site-header { padding-left: max(.7rem, env(safe-area-inset-left,0px)); }
  .atlas-shell { height: calc(100svh - (56px + var(--header-inset)) - 66px); }
  .mobile-fab { display: none; }
  body.app-view-archive .atlas-shell { height: auto; min-height: calc(100svh - 122px); }
  body.app-view-archive .explorer-panel { position: static; max-height: none; padding: 1.1rem .8rem 1.5rem; border-radius: 0; }
  body.app-view-archive .explorer-panel .eyebrow, body.app-view-archive .explorer-panel h1, body.app-view-archive .explorer-panel .intro { display: block; }
  body.app-view-archive .explorer-panel .atlas-pulse { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.app-view-archive .explorer-panel h1 { font-size: 2rem; }
  body.app-view-archive .mobile-sheet-toolbar { display: none; }
  body.app-view-archive .result-list { display: grid; grid-template-columns: 1fr; overflow-x: visible; }
  body.app-view-archive .result-card { width: 100%; min-width: 0; }
  body.app-view-archive .filter-drawer { display: none; }
  body.app-view-archive .explorer-panel.filters-open .filter-drawer { display: block; }
  .method-section.app-view-panel { min-height: calc(100svh - 122px); padding-bottom: calc(3rem + env(safe-area-inset-bottom,0px)); }
  .site-footer { padding-bottom: calc(1.2rem + env(safe-area-inset-bottom,0px)); }
}

@media (max-width: 580px) {
  .contribution-modal:not([open]) { display: none !important; }
}
