/* Motion reinforces existing controls; the approved layout and brand stay intact. */
:root{--ui-duration:180ms;--ui-ease:cubic-bezier(.2,.7,.3,1)}
main :is(.button,.category-card,.product-quote){transition:transform var(--ui-duration) var(--ui-ease),background-color var(--ui-duration),box-shadow var(--ui-duration)}
main :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--green);outline-offset:4px}
main :is(input,textarea,select){transition:border-color var(--ui-duration),box-shadow var(--ui-duration)}
main :is(input,textarea,select):focus{border-color:var(--green);box-shadow:0 0 0 3px #075c4314}
@media(hover:hover) and (pointer:fine){main .category-card:hover{transform:translateY(-2px)}main .button:hover{box-shadow:0 4px 12px #102c2518}}
main .button:active{transform:translateY(1px)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}main *,main *::before,main *::after{animation:none!important;transition:none!important}main .category-card:hover,main .button:active{transform:none!important}}
/* One readable route through the season; no autoplay or hidden milestones. */
.season-roadmap{padding:64px 0;background:#edf2ed;border-block:1px solid #d9e2da}
.roadmap-heading{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:38px}.roadmap-heading h2{margin:0;font-size:clamp(28px,3vw,42px);line-height:1.15}.roadmap-heading>p{max-width:370px;margin:0;color:#52645b}
.roadmap-stages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;padding:0;margin:0;gap:0}.roadmap-stages li{position:relative;padding:0 22px 0 0;min-width:0}.roadmap-stages li::before{content:"";position:absolute;top:23px;left:0;right:0;height:2px;background:#bdcec2}.roadmap-stages li:last-child::before{display:none}.roadmap-marker{position:relative;display:flex;width:48px;height:48px;border:2px solid #075c43;border-radius:50%;align-items:center;justify-content:center;background:#edf2ed;color:#075c43;font-weight:700;font-size:16px;margin-bottom:22px}.roadmap-stages h3{font-size:19px;line-height:1.25;margin:8px 0 12px}.roadmap-stages p{font-size:14px;line-height:1.65}.roadmap-stages .roadmap-tag{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#52645b;margin:0}.roadmap-stages a{display:inline-block;padding:8px 0;font-size:14px}.roadmap-note{font-size:13px;color:#52645b;border-top:1px solid #cbd8ce;padding-top:18px;margin:28px 0 0}
.season-calendar-intro{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;padding-block:40px 64px}.season-calendar-intro>img{width:100%;height:300px;object-fit:cover;border-radius:4px}.season-calendar-intro h2{font-size:clamp(26px,3vw,38px);line-height:1.2}.season-calendar-intro p{max-width:520px}
.workspace-main,.workspace-top>div,.dashboard-grid>*,.fields>*,.panel{min-width:0}.workspace :is(p,small,td,dd,.profile){overflow-wrap:anywhere}.progress-heading{display:flex;gap:20px;align-items:center;justify-content:space-between}.team-progress li.current{background:#edf2ed;border-color:#075c43}.team-progress li.current>span{outline:2px solid #075c43;outline-offset:3px}.team-progress li small{font-size:13px}.table-wrap:focus-visible{outline:3px solid #075c43;outline-offset:3px}.header :is(a,summary,button):focus-visible{outline:3px solid #075c43;outline-offset:4px}.sidebar a{min-height:44px}.sidebar .profile button{font-size:14px!important;min-height:44px}
@media(max-width:800px){.season-roadmap{padding:36px 0}.roadmap-heading{display:block;margin-bottom:28px}.roadmap-heading>p{margin-top:16px}.roadmap-stages{display:block}.roadmap-stages li{padding:0 0 30px 68px;min-height:130px}.roadmap-marker{position:absolute;left:0;top:0;margin:0}.roadmap-stages li::before{top:0;bottom:0;left:23px;width:2px;height:auto;right:auto}.roadmap-stages li:last-child{padding-bottom:0}.roadmap-stages h3{margin-top:4px}.roadmap-stages p{margin-block:0 8px}.season-calendar-intro{grid-template-columns:1fr;gap:24px;padding-block:24px 36px}.season-calendar-intro>img{height:230px}.workspace-top{flex-wrap:wrap}.workspace-top>.button{max-width:100%}.toolbar{flex-wrap:wrap}.toolbar>*{max-width:100%}.progress-heading{display:block}.progress-heading>a{display:inline-block;margin-bottom:16px}.workspace .form-actions{flex-wrap:wrap}.workspace .button{white-space:normal}.team-progress ol{grid-template-columns:1fr}.team-progress li{min-width:0}.workspace .wizard-steps{flex-wrap:wrap}.workspace .table-wrap{max-width:100%;overflow-x:auto}}
@media(prefers-reduced-motion:no-preference){.roadmap-stages a{transition:color 180ms ease}.roadmap-stages a:hover{color:#172f26}}

.portal-footer{padding:22px;text-align:center;font-size:14px;background:#edf2ed}.portal-footer a{color:#075c43;text-decoration:underline}.nav>button{font:inherit;min-height:44px}.season-admin .requests-list{overflow-wrap:anywhere}

dialog :is(button,input,select,textarea,a):focus-visible{outline:3px solid #075c43;outline-offset:3px}dialog .close{min-width:44px;min-height:44px}.wizard-steps>div{font-size:14px}.wizard-steps b{font-size:14px}

/* Material preparation is part of the season, with a direct purchase route. */
.roadmap-icon{width:44px;height:44px;display:block;margin-bottom:18px;fill:none;stroke:#075c43;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.roadmap-stages li>a{display:table;margin-bottom:4px}
.material-callout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:40px;align-items:center;padding:32px;margin-top:40px;background:#fff;border:1px solid #d0ded5;border-radius:8px}.material-visual img{width:100%;height:auto;border-radius:4px}.material-callout h3{font-size:clamp(25px,3vw,36px);line-height:1.15}.material-callout p{font-size:15px}.material-callout .eyebrow{margin-top:0}.material-callout .hero-buttons{display:flex;flex-wrap:wrap;gap:12px}

@media(max-width:800px){.roadmap-icon{width:36px;height:36px;margin-bottom:12px}.material-callout{grid-template-columns:1fr;padding:22px;gap:24px}.material-visual{max-width:480px}.material-callout .button{width:100%}}
/* Nearby map pins overlap at phone widths; use the country/year controls there. */

/* Button 28: preserve responsive sizing and the site's typography. */
:root .button, :root button.primary, :root .button.light, :root .button.lime {
  appearance: none;
  background: transparent;
  border: 2px solid #1a1a1a;
  border-radius: 15px;
  box-sizing: border-box;
  color: #3b3b3b;
  cursor: pointer;
  min-height: 48px;
  padding: 12px 20px;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  transition: transform 300ms cubic-bezier(.23,1,.32,1), background-color 300ms, color 300ms, box-shadow 300ms;
  touch-action: manipulation;
}
:root .button.small { min-height: 44px; padding: 10px 15px; }
:root .button:focus-visible, :root button.primary:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  :root .button:not(:disabled):hover, :root button.primary:not(:disabled):hover {
    color: #fff;
    background: #006847;
    border-color: #006847;
    box-shadow: 0 8px 15px rgb(0 0 0 / 25%);
    transform: translateY(-2px);
  }
}
:root .button:not(:disabled):active, :root button.primary:not(:disabled):active {
  color: #fff;
  background: #006847;
  box-shadow: none;
  transform: translateY(0);
}
:root .button:disabled, :root button.primary:disabled { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }
:root .header-actions .button { min-height: 44px; padding: 8px 14px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  :root .button, :root button.primary { transition: none !important; transform: none !important; }
}

@media (min-width: 761px) {
  /* Keep the dropdown touching its trigger so the pointer cannot fall into a gap. */
  .nav details > div { top: 100%; }
  .nav details[open] > div { animation: nav-open 160ms ease-out; }
}
@keyframes nav-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* Secondary actions share the primary action footprint while retaining their color. */
:root main .text-link:not(p .text-link):not(li .text-link), :root .article a.source-button {
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 20px;
  line-height: 1.4;
  border-radius: 15px;
}
@media (prefers-reduced-motion: no-preference) {
  :root :is(button:not(.primary,.button), .text-link, .source-button, .category-button) {
    transition-property: translate, background-color, color, box-shadow;
    transition-duration: 180ms;
  }
  @media (hover: hover) and (pointer: fine) {
    :is(button:not(.primary,.button), .text-link, .source-button, .category-button):not(:disabled):hover { translate: 0 -1px; }
  }
  :is(button:not(.primary,.button), .text-link, .source-button, .category-button):not(:disabled):active { translate: 0 1px; }
}

.welcome-hero:has(.welcome-film){background:#142d3b;min-height:clamp(640px,85svh,820px);justify-content:center}
.welcome-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.welcome-hero:has(.welcome-film)::before{display:block;inset:0;width:auto;clip-path:none;z-index:1;pointer-events:none;background:linear-gradient(90deg,#081822e8,#08182299 58%,#08182226)}
.welcome-film + .welcome-panel{position:relative;z-index:2;pointer-events:none;padding-bottom:88px}
.welcome-film + .welcome-panel>div{width:min(100%,590px);max-width:100%}
.welcome-film + .welcome-panel :is(h1,em,p,strong){color:white}
.welcome-film + .welcome-panel h1{font-size:clamp(44px,6vw,84px)}
.welcome-film + .welcome-panel a{pointer-events:auto}
.welcome-film + .welcome-panel .button{background:white;border-color:white;color:#173c30}
.welcome-film + .welcome-panel .button:hover{color:white;background:#006847}
@media(max-width:760px){.welcome-hero:has(.welcome-film)::before{background:#081822ad}.welcome-film + .welcome-panel{padding:48px 24px 84px}}

@media (hover:hover) and (pointer:fine){:root .welcome-hero .welcome-panel .welcome-copy .hero-buttons a:hover{background:#006847;color:white;border-color:#006847}}
:root .welcome-hero .welcome-panel .welcome-copy .hero-buttons a:active{background:#006847;color:white;border-color:#006847}

/* Category directory: a compact badge beside each category name. */
.article .source-six:has(>a.category-button){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:12px}
.article .source-six>a.category-button,.article .source-six>a.category-button:hover{display:flex;flex-direction:row;align-items:center;gap:14px;padding:12px;border-radius:12px;min-width:0}
.article .source-six>a.category-button .source-card{display:grid;place-items:center;flex:0 0 72px;width:72px;height:72px;padding:0;background:#182226;border-radius:10px;overflow:hidden}
.article .source-six>a.category-button img.category-mark{display:block;width:72px;height:72px;min-height:0;max-height:72px;box-sizing:border-box;padding:9px;object-fit:contain;background:transparent}
.article .source-six>a.category-button .category-label{padding:0;font-size:16px;line-height:1.3;text-align:left}

/* The clear surface receives mouse moves above the native playback controls. */
@media (hover:hover) and (pointer:fine){
  .welcome-hero:has(.welcome-film)::after{content:"";position:absolute;inset:0 0 56px;z-index:1}
}

@media screen {
  #app > .topline { position: sticky; top: 0; z-index: 31; }
  #app > .header { position: sticky; top: 10px; z-index: 30; }
  html { scroll-padding-top: 108px; }
}
@media screen and (max-width: 760px) { html { scroll-padding-top: 92px; } }

.season-year{padding-block:24px}.season-months{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin:16px 0 24px}
.season-months section{background:white;border:1px solid var(--line);border-radius:12px;padding:16px}
.season-months h2{font-size:20px;margin:0 0 12px}.season-months h2::first-letter{text-transform:uppercase}
.season-days{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;line-height:2;font-variant-numeric:tabular-nums}
.season-days span{font-size:12px;color:var(--muted)}.season-days [aria-current=date]{border-radius:8px;background:#006847;color:white;font-weight:700}

/* Photography and type shared by the public interior routes. */
.interior-page{--cover-photo:url('/assets/encuentro/dsc04336.webp');--cover-tint:linear-gradient(100deg,#10271ff5 0%,#10271ed4 42%,#10271e36 100%)}
.interior-page[data-public-route="/categorias/"]{--cover-photo:url('/assets/encuentro/dsc04410.webp')}
.interior-page.blog-page{--cover-photo:url('/assets/publico.webp')}
.interior-page[data-public-route="/contactanos/"]{--cover-photo:url('/assets/innovators-presentacion.webp')}
.interior-page[data-public-route="/portal/guia/"]{--cover-photo:url('/assets/roadmap/paso-2.webp')}
.interior-page[data-public-route="/cronograma/"],.interior-page[data-public-route*="sedes"]{--cover-photo:url('/assets/encuentro/dsc05041.webp')}
.interior-page h1,.interior-page h2{text-wrap:balance;letter-spacing:-.035em}
.interior-page .breadcrumb{font-size:.85rem;line-height:1.5}
.interior-page h1.interior-cover{display:flex;align-items:flex-end;box-sizing:border-box;min-height:clamp(150px,17vw,250px);width:100%;max-width:none;margin:0 0 20px;padding:clamp(20px,3.5vw,56px);border-radius:5px;color:white;background:var(--cover-tint),var(--cover-photo) center 43%/cover;font-size:clamp(36px,5.8vw,78px);line-height:1.04}
.interior-page .categories-page .notice{color:#143c30;background:#eaf1eb;border-left:3px solid #19724f;max-width:85ch;padding:12px 18px;font-size:clamp(14px,1.2vw,17px);line-height:1.5}
.interior-page :is(a,button,summary):focus-visible,.workspace :is(a,button,summary):focus-visible{outline:3px solid #c88113;outline-offset:3px}
.workspace .workspace-main h1{letter-spacing:-.04em;text-wrap:balance}
.workspace .workspace-main .panel{border-top-color:#97bcaa}
@media(prefers-reduced-motion:no-preference){.interior-page .category-button:is(:hover,:focus-visible) .category-sculpture{transform:translateY(-4px) rotate(-8deg) skewY(-3deg)}.interior-page h1.interior-cover{animation:interior-enter .3s ease-out both}@keyframes interior-enter{from{transform:translateY(5px);opacity:.85}to{transform:none;opacity:1}}}

/* The registration photograph identifies real teams by discipline. */
.registration-hero figure:has(.registration-photo-caption){position:relative;isolation:isolate;overflow:hidden;border-radius:6px;background:#10271e}
.registration-hero .registration-photo-caption{position:absolute;inset:auto 0 0;display:flex;align-items:flex-end;gap:12px;margin:0;padding:38px 18px 16px;color:white;background:linear-gradient(0deg,#10271efa,#10271ed9 55%,transparent);pointer-events:none}
.registration-photo-caption .category-sculpture{flex:none;width:clamp(54px,6vw,86px);margin-left:auto}
.registration-hero .registration-photo-caption strong{display:block;font-size:clamp(19px,2vw,30px);line-height:1.2}
.registration-hero figure:has(.registration-photo-caption)>img{display:block;width:100%}

/* A single filmstrip joins the five stages; each icon identifies its scene. */
.season-roadmap{background:#10271e;color:#f2f6ef;border:0}
.roadmap-heading{padding-bottom:24px;border-bottom:1px solid #97b5a46b;margin-bottom:22px}
.roadmap-heading h2{font-size:clamp(36px,4.8vw,72px);letter-spacing:-.05em;line-height:1.02;color:white}
.season-roadmap .roadmap-heading .eyebrow,.roadmap-heading>p,.roadmap-stages p,.season-roadmap .roadmap-note{color:#d6e6da}
.roadmap-stages{--stage-gap:clamp(14px,1.6vw,24px)}
.roadmap-stages li{padding-right:0}
.roadmap-stages li::before{display:none}
.roadmap-stages .roadmap-moment{position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:space-between;overflow:hidden;height:clamp(135px,13vw,210px);padding:12px;margin-bottom:20px;background:#214433}
.roadmap-moment img,.roadmap-moment::after{position:absolute;inset:0;width:100%;height:100%;z-index:-1;object-fit:cover}
.roadmap-moment::after{content:"";background:linear-gradient(0deg,#081c15e0,transparent 70%)}
.roadmap-stages .roadmap-marker{position:static;width:auto;height:auto;margin:0;border:0;background:none;color:white;font-size:clamp(26px,3vw,44px);line-height:1;letter-spacing:-.06em}
.roadmap-moment .roadmap-icon{width:32px;height:32px;margin:0;stroke:#fff}
.roadmap-stages li>:is(p,h3,a){margin-right:var(--stage-gap)}
.roadmap-stages li .roadmap-tag{color:#a9d5b9}
.roadmap-stages h3,.roadmap-stages a,.roadmap-stages a:hover{color:white}
.season-roadmap .material-callout{background:#ecf2ec;color:#142d22;border-radius:6px}
.season-roadmap .roadmap-note{border-color:#7b9987}
.season-roadmap a:focus-visible{outline:3px solid #ecbd6d;outline-offset:3px}
@media(min-width:801px){.roadmap-stages li:first-child .roadmap-moment{border-radius:6px 0 0 6px}.roadmap-stages li:last-child .roadmap-moment{border-radius:0 6px 6px 0}}
@media(max-width:800px){
 .roadmap-stages li{display:flow-root;padding:0 0 28px clamp(110px,31vw,190px);min-height:156px}
 .roadmap-stages .roadmap-moment{position:absolute;inset:0 auto 0 0;height:100%;width:clamp(96px,27vw,165px);margin:0;align-items:center;flex-direction:column;padding:15px 8px}
 .roadmap-stages li:last-child{padding-bottom:18px}
 .roadmap-stages li>:is(p,h3,a){margin-right:0}
 .roadmap-heading{padding-bottom:18px}
}
@media(prefers-reduced-motion:no-preference){
 .roadmap-moment img{transition:transform .3s var(--ui-ease)}
 .roadmap-stages li:is(:hover,:focus-within) .roadmap-moment img{transform:scale(1.045)}
 @supports(animation-timeline:view()){
  .roadmap-moment,.public-reviewed :is(.material-callout,.home-about .story,.home-mexico .story,.category-detail .category-visual,.blog-story,.guide-steps>li){animation:section-arrive linear both;animation-timeline:view();animation-range:entry 0% entry 75%}
  @keyframes section-arrive{from{opacity:.82;translate:0 12px}to{opacity:1;translate:0 0}}
  .roadmap-stages{view-timeline-name:--roadmap}
  .roadmap-moment::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:3px;background:#a9d5b9;transform-origin:left;animation:roadmap-trace linear both;animation-timeline:--roadmap;animation-range:entry 10% entry 100%}
  @keyframes roadmap-trace{from{transform:scaleX(0)}to{transform:scaleX(1)}}
 }
}
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 .roadmap-stages li:nth-child(1) .roadmap-moment::before{animation-range:entry 10% entry 28%}
 .roadmap-stages li:nth-child(2) .roadmap-moment::before{animation-range:entry 28% entry 46%}
 .roadmap-stages li:nth-child(3) .roadmap-moment::before{animation-range:entry 46% entry 64%}
 .roadmap-stages li:nth-child(4) .roadmap-moment::before{animation-range:entry 64% entry 82%}
 .roadmap-stages li:nth-child(5) .roadmap-moment::before{animation-range:entry 82% entry 100%}
}

.interior-page .categories-page h1.interior-cover{display:block;background:none;color:#123b2e;min-height:0;padding:0;margin:0 0 .35em;font-size:clamp(44px,6vw,84px);letter-spacing:-.055em}
.category-picker{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);background:#f0f4ed;border:1px solid #d3dfd5;border-radius:8px;overflow:hidden}
.category-picker .category-preview{position:relative;min-width:0;margin:0;background:#10271e}
.category-picker .category-preview img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:0;margin:0}
.category-preview figcaption{position:absolute;inset:auto 0 0;color:white;background:linear-gradient(transparent,#0a251ded);padding:60px 24px 22px;font-size:clamp(23px,3vw,40px);font-weight:700;letter-spacing:-.035em}
.interior-page .category-picker .source-six:has(>a.category-button){display:grid;grid-template-columns:1fr;gap:0;margin:0;padding:0}
.interior-page .category-picker .source-six>a.category-button{display:grid;grid-template-columns:52px 1fr auto;grid-template-rows:auto auto;gap:3px 16px;align-content:center;min-height:80px;margin:0;padding:12px 18px;border:0;border-bottom:1px solid #d4dfd5;border-radius:0;background:transparent;color:#143d2e;text-align:left;box-shadow:none;transform:none}
.interior-page .category-picker .source-six>a.category-button.previewed{background:white;box-shadow:inset 4px 0 #08714e}
.interior-page .category-picker .source-six>a.category-button:focus-visible{outline-offset:-4px}
.interior-page .category-picker .source-six>a.category-button .source-card{display:none}
.interior-page .category-picker .category-button .category-sculpture{grid-area:1/1/3/2;width:46px;align-self:center}
.interior-page .category-picker .category-button .category-label{grid-area:1/2;font-size:clamp(17px,1.5vw,22px);color:#123c2e;line-height:1.12}
.category-picker .category-summary{grid-area:2/2;font-weight:400;color:#3e594c;font-size:14px;line-height:1.4}
.category-picker .category-button::after{content:'→';grid-area:1/3/3/4;align-self:center;color:#276c50}
.interior-page .categories-page .category-picker+.notice{margin:18px 0;max-width:none}
@media(max-width:720px){.category-picker{grid-template-columns:1fr}.category-picker .category-preview{aspect-ratio:2.25}.category-picker .category-preview img{object-position:50% 42%}.category-preview figcaption{padding:30px 16px 10px}.interior-page .category-picker .source-six>a.category-button{padding:12px 14px;gap:2px 10px}}

/* The heading and the competition photograph form a single opening spread. */
.categories-page .discipline-profile .category-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:clamp(20px,3vw,44px);align-items:start}
.categories-page .discipline-profile .category-visual{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.2fr;align-items:stretch;background:#103c2e;color:white;border-radius:8px;overflow:hidden}
.discipline-profile .category-visual>div:has(.category-mark){display:none}
.discipline-heading{box-sizing:border-box;display:grid;align-content:center;justify-items:start;gap:10px;padding:clamp(20px,3vw,42px);background:linear-gradient(120deg,#10271e,#15523b)}
.discipline-heading .category-sculpture{grid-area:auto;width:clamp(50px,6vw,84px);margin-bottom:4px;filter:drop-shadow(1px 2px 0 #a59f92) drop-shadow(2px 3px 0 #938f83)}
.categories-page .discipline-heading h2{font-size:clamp(34px,4.3vw,66px);line-height:1.02;letter-spacing:-.045em;color:white;margin:0}
.categories-page .discipline-heading p{margin:0;color:#d5e9dc;font-size:clamp(13px,1.2vw,17px);line-height:1.4}
.categories-page .discipline-profile .category-visual img.competition-photo{grid-area:1/2;width:100%;max-width:none;height:100%;min-height:220px;max-height:340px;aspect-ratio:1.9;object-fit:cover;object-position:50% 42%;margin:0;border-radius:0}
.discipline-profile .discipline-field{margin:0;min-width:0}
.categories-page .discipline-field img.category-scene{display:block;width:100%;height:auto;aspect-ratio:1.55;object-fit:cover;border-radius:5px}
.discipline-field figcaption{margin:8px 0 0;font-size:13px;line-height:1.5;color:#476453}
.discipline-profile .category-body p{line-height:1.6}
.discipline-profile .category-body p:first-child{margin-top:0}
@media(max-width:700px){
 .categories-page .discipline-profile .category-layout{grid-template-columns:minmax(0,1fr);gap:18px}
 .categories-page .discipline-profile .category-visual{grid-template-columns:minmax(0,1fr)}
 .discipline-heading{grid-template-columns:minmax(0,1fr) 54px;gap:6px 12px;padding:18px}
 .discipline-heading .category-sculpture{grid-area:1/2/3/3;width:48px;align-self:center}
 .categories-page .discipline-heading h2,.categories-page .discipline-heading p{grid-column:1}
 .categories-page .discipline-profile .category-visual img.competition-photo{grid-area:2/1;height:auto;min-height:0;max-height:none;aspect-ratio:1.85}
 .discipline-profile .discipline-field{grid-row:3}
}

/* A discipline reads as one chapter from the first photograph through its documents. */
.categories-page section.discipline-profile,.categories-page section.discipline-profile.selected-section{padding:0;margin:clamp(30px,5vw,70px) 0;border:0;scroll-margin-top:112px}
.categories-page .discipline-profile .category-layout{overflow:hidden;border:1px solid #cbdacf;border-radius:10px;background:#f0f4ed;column-gap:clamp(18px,3vw,42px);row-gap:0}
.categories-page .discipline-profile .category-visual{position:relative;isolation:isolate;border-radius:0;grid-template-columns:1fr 1fr;background:#133728}
.categories-page .discipline-profile .discipline-heading{position:relative;z-index:1;background:transparent}
.categories-page .discipline-profile .category-visual img.competition-photo{position:absolute;inset:0 0 0 auto;width:65%;height:100%;grid-area:auto;min-height:0;max-height:none;mask-image:linear-gradient(90deg,transparent,#000 32%)}
.discipline-profile .discipline-field,.discipline-profile .category-body{padding-block:clamp(18px,2.4vw,34px)}
.discipline-profile .discipline-field{padding-left:clamp(18px,2.4vw,34px)}
.discipline-profile .category-body{padding-right:clamp(18px,2.4vw,34px)}
.discipline-profile .category-actions ul:has(a[download]){list-style:none;padding:0;border-top:1px solid #c6d7ca}
.discipline-profile .category-actions ul:has(a[download]) li{margin:0;border-bottom:1px solid #c6d7ca}
.discipline-profile .category-actions ul a[download]{display:block;padding:12px 0;background:transparent}
@media(max-width:700px){.categories-page section.discipline-profile{scroll-margin-top:84px}.categories-page .discipline-profile .category-visual{grid-template-columns:1fr}.categories-page .discipline-profile .discipline-heading{grid-template-columns:minmax(0,1fr) 50px;align-self:end;padding-top:105px;background:linear-gradient(0deg,#10271efc 10%,#10271ee0 50%,transparent 100%)}.categories-page .discipline-profile .category-visual img.competition-photo{width:100%;mask-image:none}.discipline-profile .discipline-field,.discipline-profile .category-body{padding:18px}.discipline-profile .discipline-field{padding-top:0}}

.categories-page .reading-index{position:sticky;top:var(--index-top,98px);z-index:5;display:flex;justify-content:space-around;gap:3px;align-items:center;padding:6px;background:#113a2e;color:white;border-radius:6px;box-shadow:0 3px 12px #10271e26}
.categories-page .reading-index a{display:block;padding:12px 9px;border-radius:4px;color:white;font-weight:600;font-size:14px;text-decoration:none}
.categories-page .reading-index a[aria-current]{background:#e3f2dd;color:#12392b}
.categories-page .reading-index label{display:none}
.categories-page .reading-index a:focus-visible,.categories-page .reading-index select:focus-visible{outline:3px solid #ffcf74;outline-offset:0}
.categories-page section.discipline-profile,.categories-page section.discipline-profile.selected-section{scroll-margin-top:var(--index-height,55px)}
@media(max-width:900px){.categories-page .reading-index{display:block;padding:6px 12px}.categories-page .reading-index a{display:none}.categories-page .reading-index label{display:flex;align-items:center;gap:12px;font-weight:600}.categories-page .reading-index select{min-width:0;flex:1;width:auto;min-height:44px;padding:6px;color:#14372c;background:#f4f8ef;border:0;border-radius:4px}}

/* Technical illustrations retain their edges; portraits use the same composition axes. */
.categories-page #FE .discipline-field img.category-scene,.category-picker .category-preview img[src$="warehouse-field.webp"]{object-fit:contain;background:white}
.categories-page .discipline-profile .discipline-field{padding-right:0}
.categories-page .discipline-profile .category-body{min-width:0;align-self:start}
.categories-page .discipline-profile .discipline-heading h2{text-wrap:balance}
.categories-page .discipline-profile :is(.category-actions,.category-archive) ul.warehouse-downloads{display:grid;width:100%;gap:6px;padding:0;margin:16px 0 0;border:0;list-style:none}
.categories-page .discipline-profile :is(.category-actions,.category-archive) ul.warehouse-downloads li{list-style:none;border:0;padding:0;margin:0}
.categories-page .discipline-profile ul.warehouse-downloads a.source-button{box-sizing:border-box;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:48px;width:100%;padding:11px 15px;margin:0;border:1px solid #bdcec1;border-radius:5px;text-align:left;color:#153c2d;background:white;line-height:1.35}
.warehouse-downloads svg{order:-1;color:#387058}
.warehouse-downloads small{letter-spacing:.05em;font-size:11px;color:#496154}
.categories-page .discipline-profile ul.warehouse-downloads a.source-button:is(:hover,:focus-visible){background:#e2eee4;border-color:#42775f}
@media(min-width:701px){
 .categories-page .discipline-profile .category-layout{--field-width:42%;grid-template-columns:var(--field-width) minmax(0,1fr)}
 .categories-page .discipline-profile .category-visual{grid-template-columns:var(--field-width) minmax(0,1fr)}
 .categories-page .discipline-profile .category-body>div:has(.warehouse-downloads),.categories-page .discipline-profile .category-actions>div:has(.warehouse-downloads){width:100%}
}

.category-archive{margin-top:20px;border-top:1px solid #bfcec2;padding-top:14px}
.category-archive summary{cursor:pointer;font-weight:700;color:#144431;min-height:44px;padding:8px 0}
.category-archive>p{font-size:14px}
.categories-page .discipline-profile .category-levels{gap:8px}
.categories-page .discipline-profile .category-levels .source-card{padding:12px;border:0;border-left:2px solid #b1cbb9;border-radius:0;background:transparent}
/* Keep the photograph, age groups and resources in a shared two-column rhythm. */
.categories-page .discipline-profile .category-body p{max-width:none}
.discipline-aside{min-width:0;padding:clamp(18px,2.4vw,34px) 0 clamp(18px,2.4vw,34px) clamp(18px,2.4vw,34px)}
.categories-page .discipline-aside .discipline-field{padding:0;margin:0}
.discipline-facts{margin-top:20px;padding-top:16px;border-top:1px solid #c6d7ca}
.categories-page .discipline-facts h3{margin:0 0 6px;font-size:15px;color:#496154}
.categories-page .discipline-facts>p{margin:0;font-size:16px;font-weight:650;color:#193c2e}
.categories-page .discipline-facts .category-levels{display:grid;grid-template-columns:1fr;margin:14px 0 0}
.categories-page .discipline-facts .category-levels h4{margin:0 0 4px}
.categories-page .discipline-facts .category-levels p{margin:0;font-size:14px}
.category-archive summary{box-sizing:border-box}
@media(max-width:700px){.discipline-aside{padding:18px}.categories-page .discipline-profile .category-body{padding-top:0}.categories-page .discipline-profile .category-visual{grid-row:1}.discipline-aside{grid-row:2}.discipline-profile .category-body{grid-row:3}}

.grouped-resources .category-layout>.category-archive{grid-column:1/-1;margin:0 clamp(18px,2.4vw,34px) clamp(18px,2.4vw,34px)}
.resource-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}
.categories-page .resource-groups .resource-group{margin:0;padding:0;border:0;min-width:0}
.resource-group:first-child{grid-column:1/-1}
.categories-page .resource-group h4{margin:0;font-size:17px;color:#153c2d}
.categories-page .discipline-profile .resource-group:first-child ul.warehouse-downloads{grid-template-columns:repeat(3,minmax(0,1fr))}
.categories-page .discipline-profile .resource-group:first-child ul.warehouse-downloads:has(>li:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}
.categories-page .resource-groups ul.warehouse-downloads{margin-top:10px}
.categories-page .resource-groups li{display:flex}
.categories-page .resource-groups a.source-button{height:100%}
.categories-page .resource-group>p{font-size:12px;line-height:1.5;margin:6px 0 10px;color:#496154}
@media(min-width:701px) and (max-width:1099px){#FI .resource-groups{grid-template-columns:1fr}}
.grouped-resources .category-body .category-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}
.grouped-resources .category-levels h4{font-size:14px;margin:0 0 6px}
.grouped-resources .category-levels p{font-size:13px;margin:0}
@media(max-width:700px){.resource-groups{grid-template-columns:1fr}.categories-page .discipline-profile .resource-group:first-child ul.warehouse-downloads,.categories-page .discipline-profile .resource-group:first-child ul.warehouse-downloads:has(>li:nth-child(4)){grid-template-columns:1fr}.grouped-resources .category-body .category-levels{grid-template-columns:1fr}.grouped-resources .category-layout>.category-archive{grid-row:4}}

/* A neutral loading surface replaces partial image decoding without shifting the layout. */
img.media-pending{object-position:-100000px -100000px!important;color:transparent;background:#eaf0ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='48'%3E%3Ctext x='90' y='29' text-anchor='middle' font-family='sans-serif' font-size='14' fill='%23516b5b'%3ECargando imagen…%3C/text%3E%3C/svg%3E") center/180px 48px no-repeat}
.categories-page .discipline-field img.category-scene{object-fit:contain;background-color:white}
.welcome-hero:has(.welcome-film){background:#142d3b url('/assets/wro-hero/mexico-recap-2025-from45-finalcut.webp') center/cover no-repeat}
:is(.category-visual,.category-card) img.media-pending{background:#143d2e}
.categories-page :is(#RM,#FE) .category-visual img.competition-photo{object-position:50% 30%}
@media(min-width:701px){.categories-page .discipline-profile .category-visual{min-height:360px}}

/* November review: a compact introduction and a continuous, readable route. */
.header .wrap{gap:clamp(18px,2.5vw,36px)}
.nav{gap:clamp(20px,2.3vw,34px)}
.nav> a,.nav details>summary{font-size:clamp(16px,1.45vw,19px);font-weight:600;min-height:44px;display:flex;align-items:center}
.welcome-hero:has(.welcome-film){min-height:0;height:clamp(360px,53vw,520px)}
.welcome-film+.welcome-panel{padding-block:44px 74px}
.welcome-hero .welcome-panel h1 img{width:min(245px,56vw)!important;margin-bottom:20px!important}
.race-sequence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;background:var(--dark)}
.race-sequence .race-frame{position:relative;top:auto;height:390px;min-width:0}
.race-sequence .race-frame figcaption{padding:28px;width:100%;animation:none}
.race-sequence .race-frame h2{font-size:clamp(25px,2.7vw,38px)}
.race-sequence .race-frame p{font-size:16px;line-height:1.5}
.home-mexico .story>img{height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;align-self:center}
.partners{display:flex;justify-content:center;align-items:center;gap:clamp(32px,7vw,100px)}
.partners img{width:min(35%,260px);height:160px;object-fit:contain}
.season-milestones{list-style:none;padding:0;margin:0 0 36px;display:grid;gap:0}
.season-milestones li{display:grid;grid-template-columns:240px 1fr;gap:24px;padding:24px 0;border-bottom:1px solid var(--line);align-items:center}
.season-milestones time{font-weight:700;color:var(--green)}
.season-milestones h2{font-size:22px;margin:0}
.season-days time.season-event-day{background:#d7e8d8;color:#103d2e;font-weight:700;border-radius:4px}
.competition-routes{display:grid;gap:24px;margin:40px 0}
.competition-routes>section{padding:28px;border:1px solid var(--line);background:#edf3ed;border-radius:14px}
.route-marks{display:flex;gap:16px}.route-marks img{object-fit:contain}
.competition-routes h2{font-size:clamp(24px,3vw,36px)}
.competition-routes ol{display:flex;list-style:none;padding:0;gap:16px;counter-reset:stage}
.competition-routes li{flex:1;padding:18px;background:var(--dark);color:white;border-radius:6px;counter-increment:stage}
.competition-routes li::before{content:'0' counter(stage) ' · ';color:#d7c48b;font-weight:bold}
.ethics-files,.track-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ethics-files article{padding:24px;background:var(--mint);border-radius:12px}
.ethics-downloads{margin-block:40px}.ethics-files h3{font-size:24px}
.track-examples figure{margin:0;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.track-examples img{width:100%;height:270px;object-fit:contain;padding:16px}
.track-examples figcaption{padding:20px}.track-examples figcaption span{display:block;color:var(--muted);margin-top:6px}
.result-stages{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0}.result-stages a{padding:12px 18px;border:1px solid var(--line);border-radius:6px}.result-stages [aria-current=page]{background:var(--dark);color:white}
.institution-other[hidden],.event-end-date[hidden]{display:none!important}
@media(max-width:760px){
 .header .wrap{gap:12px}.nav{gap:0}.nav>a,.nav details>summary{font-size:17px}
 .welcome-hero:has(.welcome-film){height:380px;display:flex;justify-content:center}
 .welcome-film+.welcome-panel{padding:32px 24px 70px}
 .race-sequence{grid-template-columns:1fr}.race-sequence .race-frame{height:330px}
 .season-milestones li{grid-template-columns:1fr;gap:8px;padding-block:20px}
 .ethics-files,.track-examples{grid-template-columns:1fr}
 .competition-routes>section{padding:20px}.competition-routes ol{flex-direction:column;gap:8px}
 .partners{gap:28px}.partners img{height:130px;width:42%}
}

.password-control{position:relative;display:block}.password-control input{width:100%;padding-right:52px}.password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--green)}.password-toggle:hover{background:var(--mint)}.password-toggle .eye-slash{display:none}.password-toggle[aria-pressed="true"] .eye-slash{display:block}

.categories-page #RM .category-visual img[src$="robomission-primaria-mesa-2026.jpg"]{object-position:50% 85%}

.roadmap-moment img[src$="roadmap/categorias.jpg"]{object-fit:contain;background:#10352a}

.team-members summary{cursor:pointer;white-space:nowrap}.team-members p{margin:10px 0;font-size:13px}.team-members span{font-family:monospace}.team-members summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.table-wrap:has(.team-members) table{min-width:1550px}.table-wrap:has(.team-members) td{min-width:110px;overflow-wrap:normal;word-break:normal}.table-wrap:has(.team-members) td:first-child{min-width:190px}.team-members span{white-space:nowrap}

.mail-recipients{max-height:35vh;overflow:auto;overflow-wrap:anywhere}

.institution-summary table{min-width:760px}.institution-summary td{overflow-wrap:normal;word-break:normal;min-width:130px}

/* Traditional countdown over an existing WRO event photograph. */
.rules-countdown{grid-column:1/-1;position:relative;display:grid;grid-template-columns:1fr 1.2fr;align-items:center;gap:40px;overflow:hidden;min-height:290px;padding:46px 42px;color:white;border-radius:16px;text-align:left;background:#102c25;background-image:linear-gradient(90deg,rgba(4,22,19,.91),rgba(4,22,19,.66)),url('/assets/robomission-primaria-mesa-2026.jpg');background-size:cover;background-position:center 65%;font-family:"Avenir Next","Segoe UI",Arial,sans-serif;box-shadow:0 16px 34px #092f2710}
.rules-countdown .rules-countdown-kicker{margin:0 0 14px;font-size:10px;font-weight:600;letter-spacing:.19em;color:#e0ebe5;line-height:1.5}
.rules-countdown h3{margin:0;color:white;font-size:clamp(27px,3vw,38px);font-weight:600;line-height:1.15;letter-spacing:-.035em}
.rules-countdown .rules-countdown-status{font-size:13px;color:#e0ebe5;margin:14px 0 0;line-height:1.7;max-width:280px}
.rules-countdown-digits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.rules-countdown-unit{text-align:center;padding:0 7px;min-width:0}
.rules-countdown-unit+.rules-countdown-unit{border-left:1px solid #ffffff40}
.rules-countdown-unit strong{display:block;color:#fff;font-size:clamp(34px,4.7vw,66px);font-weight:500;font-style:normal;letter-spacing:-.055em;line-height:1.15;font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}
.rules-countdown-unit span{display:block;color:#e1ebe6;font-size:10px;letter-spacing:.04em;margin-top:9px}
.rules-countdown .rules-countdown-date{margin:25px 0 0;text-align:center;color:white;font-size:13px;font-weight:600;line-height:1.8}
.rules-countdown-date time span{display:block;color:#e0ebe5;font-weight:400;font-size:12px}
@media(max-width:700px){.rules-countdown{grid-template-columns:minmax(0,1fr);gap:30px;padding:30px 18px;min-height:330px;border-radius:14px;background-image:linear-gradient(180deg,rgba(4,22,19,.72),rgba(4,22,19,.86)),url('/assets/robomission-primaria-mesa-2026.jpg');background-position:43% center}.rules-countdown h3{font-size:29px}.rules-countdown-unit{padding:0 4px}.rules-countdown-unit strong{font-size:clamp(30px,9vw,45px)}.rules-countdown-unit span{font-size:9px;letter-spacing:0}.rules-countdown .rules-countdown-date{font-size:12px;margin-top:23px}}

/* November review: retain the existing palette and typography for the new content. */
.world-events{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:0;list-style:none;margin:28px 0 56px}.world-events li{display:flex;gap:16px;padding:20px;border:1px solid #d6dfd9;border-radius:8px}.world-events h3{font-size:18px;margin:8px 0}.world-events p{margin:0}.world-flag{font-size:32px}.world-map{width:100%;max-height:360px;object-fit:contain;background:#eaf1eb;border-radius:8px;margin:24px 0}.world-countries{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.world-countries li{padding:8px}.world-countries span{font-size:24px}.catalog-everyone{grid-column:1/-1;margin:0}.catalog-everyone img{width:100%;max-height:420px;object-fit:cover;border-radius:8px}.catalog-everyone figcaption{padding-top:10px;color:#52675d}
@media(max-width:900px){.world-events{grid-template-columns:repeat(2,minmax(0,1fr))}.world-countries{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.world-events{grid-template-columns:1fr}.world-countries{grid-template-columns:repeat(2,minmax(0,1fr));font-size:14px}}
