/* Coordina — Tema Base 1.0: editorial, mobile-first, no third-party fonts/assets. */
:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --paper-raised: #ffffff;
  --ink: #19253c;
  --ink-muted: #657080;
  --navy: #152640;
  --navy-deep: #0d1930;
  --lilac: #d5c9fb;
  --lilac-deep: #8e83d5;
  --blue: #d9e6ef;
  --line: #e5e4df;
  --accent: #cbd7ad;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(22,34,52,.08);
  --shell: 1216px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101b2d;
  --paper-raised: #1a2940;
  --ink: #f0f1f5;
  --ink-muted: #b7c1d1;
  --navy: #111c30;
  --navy-deep: #0c1729;
  --line: #334258;
  --accent: #cbd7ad;
  --shadow: 0 18px 50px rgba(0,0,0,.25);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:120px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button{cursor:pointer}
a,button,summary{outline-offset:4px}
:focus-visible{outline:3px solid #9b8bd8;outline-offset:4px}
button, .button{touch-action:manipulation}
img,svg{max-width:100%}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{line-height:1.11;letter-spacing:-.035em}
h1 em,h2 em{font-family:var(--serif);font-weight:400}
.shell{width:min(var(--shell),calc(100% - 44px));margin-inline:auto}
.demo-ribbon{background:#d8ebdf;color:#264b42;display:flex;gap:4px;justify-content:center;align-items:center;padding:8px 16px;font-size:11px;letter-spacing:.01em;text-align:center;min-height:34px}
.ribbon-dot{width:6px;height:6px;border-radius:50%;background:#42775d;display:inline-block;margin-right:5px;flex:none}
.site-header{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:1px solid var(--line)}
.nav-shell{height:82px;display:flex;align-items:center;gap:24px;justify-content:space-between}
.brand{display:inline-flex;align-items:center;gap:12px;flex:none}
.brand-mark{position:relative;display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:13px;background:#213856;color:#fff}
.brand-mark-core{font-family:var(--serif);font-size:28px;font-weight:700;line-height:1;transform:translateY(-1px)}
.brand-star{position:absolute;color:#d7ddab;font-size:18px;right:-6px;top:-9px}
.brand-copy{display:flex;flex-direction:column;gap:0;line-height:1}
.brand-copy strong{font-size:24px;letter-spacing:-.065em;font-weight:780}
.brand-copy small{font-size:8px;letter-spacing:.19em;font-weight:800;color:var(--ink-muted);margin-top:5px}
.brand-dot{color:#9486da}
.site-nav{display:flex;align-items:center;gap:21px;justify-content:center}
.site-nav a{position:relative;font-size:12px;font-weight:650;color:var(--ink-muted);white-space:nowrap;padding:10px 0;transition:color .18s ease}
.site-nav a:hover,.site-nav a[aria-current="page"]{color:var(--ink)}
.site-nav a[aria-current="page"]::after{content:"";width:5px;height:5px;position:absolute;bottom:1px;left:calc(50% - 2px);border-radius:50%;background:#9383c7}
.nav-actions{display:flex;align-items:center;gap:10px}
.icon-button{width:39px;height:39px;border:1px solid var(--line);background:var(--paper-raised);border-radius:50%;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;transition:background .2s ease}
.icon-button:hover{background:var(--line)}
.nav-cta{display:inline-flex;align-items:center;gap:9px;padding:11px 13px;border-radius:8px;background:#243956;color:white;font-size:11px;font-weight:700;white-space:nowrap;transition:transform .2s ease,background .2s}
.nav-cta:hover{background:#324c72;transform:translateY(-2px)}
.menu-toggle{display:none}
.skip-link{position:absolute;z-index:100;top:-99px;left:12px;padding:12px 18px;background:#fff;color:#12243b}
.skip-link:focus{top:8px}
.hero{position:relative;overflow:hidden;background:linear-gradient(116deg,#1c3150 0%,#192c48 55%,#26385e 100%);color:#fff}
.hero::before{content:"";position:absolute;left:-22%;top:-35%;width:740px;height:740px;opacity:.33;background:radial-gradient(circle,rgba(151,170,206,.24),transparent 67%);pointer-events:none}
.hero-inner{display:grid;grid-template-columns:1.07fr .93fr;min-height:635px;gap:36px;align-items:center;padding-block:70px 82px}
.hero-copy{position:relative;z-index:3;padding-block:9px}
.eyebrow{display:flex;align-items:center;gap:11px;font-size:10px;letter-spacing:.23em;font-weight:820;color:#8278b4;margin-bottom:19px;text-transform:uppercase;line-height:1.4}
.eyebrow-line{width:26px;height:1px;background:currentColor;display:inline-block;flex:none}
.light-eyebrow{color:#c7d4ef}
.hero h1{font-size:clamp(49px,5.45vw,78px);letter-spacing:-.058em;line-height:1.05;font-weight:680;max-width:680px;margin:0 0 29px}
.hero h1 em{color:#d9d4fe;letter-spacing:-.047em}
.hero-copy>p{font-size:16px;max-width:445px;color:#cdd7e7;line-height:1.88;margin-bottom:32px}
.hero-actions{display:flex;flex-wrap:wrap;gap:13px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:16px;padding:14px 20px;border-radius:9px;font-size:12px;font-weight:750;line-height:1.2;transition:transform .2s,background .2s,color .2s}
.button:hover{transform:translateY(-3px)}
.button-light{background:#f2f0ee;color:#1c2c45}
.button-light:hover{background:#fff}
.button-outline{border:1px solid #70809b;color:#eff1f8;background:transparent}
.button-outline:hover{background:rgba(255,255,255,.09)}
.button-dark{background:#1c3150;color:#fff}
.button-dark:hover{background:#344c70}
.hero-caption{display:flex;align-items:center;gap:10px;color:#adbcd5;font-size:11px;margin-top:58px}
.caption-spark{color:#d8d9a9;font-size:21px}
.hero-art{height:510px;position:relative;isolation:isolate;min-width:0}
.art-halo{position:absolute;inset:55px 35px 30px;border:1px solid rgba(222,231,255,.23);border-radius:50%;transform:rotate(-24deg)}
.halo-two{inset:112px -10px 65px 65px;transform:rotate(37deg);border-color:rgba(219,224,249,.12)}
.art-halo::after{content:"";position:absolute;width:9px;height:9px;background:#e9dfbd;border-radius:50%;top:13%;right:18%}
.art-big-letter{position:absolute;left:18%;top:10%;font-family:var(--serif);font-style:italic;font-size:clamp(270px,33vw,450px);line-height:1;letter-spacing:-.17em;font-weight:700;color:#a4a8d9;opacity:.92;text-shadow:15px 18px 0 rgba(0,0,0,.08);transform:rotate(-8deg)}
.art-star{position:absolute;color:#d8e4ac;z-index:4;line-height:1}
.art-star-one{left:18%;top:17%;font-size:45px}
.art-star-two{right:9%;bottom:27%;font-size:21px}
.floating-card{position:absolute;z-index:5;box-shadow:0 15px 35px rgba(8,17,38,.22)}
.card-top{top:61px;right:1%;padding:24px 27px 20px;width:219px;border-radius:13px;background:#eae9f1;color:#203047;transform:rotate(7deg)}
.float-label{font-size:8px;letter-spacing:.19em;font-weight:850;color:#77869d}
.card-top strong{display:block;font-size:19px;line-height:1.3;margin-top:14px;letter-spacing:-.04em}
.card-top strong span{color:#8b79bb}
.card-bottom{display:flex;align-items:center;gap:13px;left:1%;bottom:78px;padding:14px 18px;min-width:287px;border-radius:12px;background:#fff;color:#203047;transform:rotate(-4deg)}
.card-bottom .float-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#d6e5d3;color:#5c856b;font-size:22px}
.card-bottom div{display:flex;flex-direction:column;gap:1px;flex:1}
.card-bottom small{font-size:8px;letter-spacing:.16em;color:#8590a0;font-weight:750}
.card-bottom strong{font-size:12px;letter-spacing:-.015em}
.card-bottom>span:last-child{font-size:18px;color:#818fa3}
.art-side-text{position:absolute;right:-31px;bottom:32px;writing-mode:vertical-rl;font-size:9px;color:#8093b1;letter-spacing:.25em}
.hero-bottom-line{position:absolute;bottom:0;left:0;right:0;height:6px;background:linear-gradient(90deg,#d8dabb,#b2b6e6 55%,#f0d6c4)}
.intro-strip{border-bottom:1px solid var(--line);background:var(--paper-raised)}
.intro-strip-inner{display:flex;align-items:center;gap:35px;padding-block:23px}
.strip-label{color:var(--ink-muted);font-size:9px;font-weight:850;letter-spacing:.18em;white-space:nowrap}
.intro-strip p{flex:1;margin:0;text-align:center;font-size:16px;letter-spacing:-.023em;font-weight:600}
.intro-strip em{font-family:var(--serif);font-weight:400}
.strip-symbol{font-size:26px;color:#9187c1}
.section{padding-block:99px 20px}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:36px}
.section-heading h2,.about-lead h2,.feature-copy h2,.contact-text h2{font-size:clamp(35px,4.3vw,56px);font-weight:650;letter-spacing:-.055em;margin:0 0 13px}
.section-heading h2 em,.about-lead h2 em,.contact-text h2 em{color:#8e80c4}
.section-heading p{color:var(--ink-muted);margin:0;max-width:610px;font-size:14px}
.text-link{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:780;white-space:nowrap;padding-bottom:5px;border-bottom:1px solid currentColor;transition:gap .2s}
.text-link:hover{gap:15px}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px}
.news-card{min-width:0}
.news-visual{position:relative;display:block;overflow:hidden;border-radius:13px;aspect-ratio:1.28;isolation:isolate}
.visual-lilac{background:linear-gradient(138deg,#e2e1f4,#c5c4e7 54%,#b0aed8)}
.visual-peach{background:linear-gradient(145deg,#f6dfd0,#ecc7b4 70%,#ddb6ad)}
.visual-sage{background:linear-gradient(143deg,#e1eadc,#bed5ce 70%,#9db9af)}
.news-visual::before{content:"";position:absolute;width:68%;height:90%;top:9%;left:22%;border-radius:48% 49% 40% 45%;border:1px solid rgba(255,255,255,.7);transform:rotate(-29deg)}
.news-visual::after{content:"";position:absolute;inset:auto -20% -62% 6%;height:100%;border-radius:50%;border:25px solid rgba(255,255,255,.23)}
.visual-orbit{position:absolute;left:8%;top:15%;width:60%;height:70%;border:1px solid rgba(43,53,78,.12);border-radius:50%;transform:rotate(26deg)}
.visual-glyph{position:absolute;top:46%;left:50%;transform:translate(-50%,-50%);font-size:clamp(90px,13vw,190px);font-family:var(--serif);color:#394d7c;line-height:1;opacity:.67;transition:transform .4s ease}
.news-visual:hover .visual-glyph{transform:translate(-50%,-50%) rotate(12deg) scale(1.09)}
.visual-peach .visual-glyph{color:#a7675e}
.visual-sage .visual-glyph{color:#537d73}
.visual-index{position:absolute;bottom:17px;left:19px;font-size:9px;font-weight:800;letter-spacing:.18em;color:#34425d}
.news-meta{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:730;color:#8584a3;letter-spacing:.03em;margin-top:23px}
.news-card h3{font-size:20px;letter-spacing:-.037em;font-weight:670;margin:10px 0 10px;line-height:1.33}
.news-card h3 a:hover{color:#8e80c4}
.news-card p{font-size:13px;color:var(--ink-muted);line-height:1.85;margin-bottom:16px}
.card-more{display:inline-flex;align-items:center;gap:11px;font-weight:800;font-size:11px;color:var(--ink);transition:gap .2s}
.card-more:hover{gap:17px}
.feature-band{background:#ecece6;margin-top:107px;color:#172b45;overflow:hidden}
.feature-inner{min-height:455px;display:grid;grid-template-columns:.94fr 1.06fr;gap:80px;align-items:center}
.feature-emblem{position:relative;min-height:455px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.feature-emblem::before{content:"";width:335px;height:335px;border-radius:50%;background:#d2d9b6;box-shadow:0 0 0 52px rgba(203,209,177,.22),0 0 0 103px rgba(203,209,177,.16)}
.feature-emblem::after{content:"";position:absolute;width:330px;height:330px;border:1px solid #aebaa7;border-radius:50%;transform:scaleX(1.35) rotate(20deg)}
.feature-emblem span{position:absolute;font-size:240px;font-family:var(--serif);color:#7b987d;line-height:1}
.feature-copy{padding:68px 0}
.feature-copy .eyebrow{color:#718b79}
.feature-copy h2{font-size:clamp(42px,5vw,64px)}
.feature-copy h2 em{color:#75937d}
.feature-copy p{font-size:14px;line-height:1.9;max-width:450px;color:#58677a;margin:17px 0 27px}
.announcements-section{padding-top:107px}
.announcements-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}
.note-card{min-height:244px;border:1px solid var(--line);background:var(--paper-raised);border-radius:13px;padding:23px;position:relative;overflow:hidden}
.note-featured{background:#263d58;border-color:#263d58;color:#fff}
.note-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.note-badge{border-radius:30px;padding:5px 10px;border:1px solid var(--line);font-size:9px;font-weight:850;letter-spacing:.07em}
.note-featured .note-badge{border-color:#8a9bb4}
.note-top small{font-size:10px;color:var(--ink-muted)}
.note-featured .note-top small{color:#bfcbd7}
.note-card h3{font-size:19px;margin:21px 0 9px;max-width:260px}
.note-card p{font-size:12px;line-height:1.8;color:var(--ink-muted);max-width:285px;margin:0}
.note-featured p{color:#d1d9e6}
.note-number{position:absolute;right:20px;bottom:15px;font-family:var(--serif);font-size:47px;line-height:1;opacity:.12}
.agenda-section{padding-top:108px}
.events-list{border-top:1px solid var(--line)}
.event-row{display:grid;grid-template-columns:100px 1fr 30px;gap:33px;padding:29px 6px;border-bottom:1px solid var(--line);align-items:center;scroll-margin-top:130px}
.event-date{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:12px;background:var(--paper-raised);border:1px solid var(--line);min-height:92px}
.event-date strong{font-family:var(--serif);font-size:38px;line-height:1.1;font-weight:500}
.event-date span{font-size:10px;font-weight:850;letter-spacing:.18em;color:#9182bd;margin-top:5px}
.micro-label{font-size:9px;font-weight:830;letter-spacing:.18em;text-transform:uppercase;color:#8d83b6}
.event-details h3{font-size:22px;margin:7px 0 6px}
.event-details>p{margin:0 0 9px;font-size:12px;color:var(--ink-muted)}
.event-facts{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--ink-muted)}
.event-facts>span:first-child{display:flex;align-items:center;gap:6px}
.event-arrow{color:#a79ac6}
.contact-banner{padding-top:109px;padding-bottom:105px}
.contact-banner-inner{background:#263c5d;color:#fff;min-height:285px;border-radius:16px;display:flex;align-items:center;justify-content:space-between;padding:45px clamp(30px,6vw,80px);position:relative;overflow:hidden}
.contact-banner-inner::after{content:"✳";position:absolute;left:58%;top:-135px;color:rgba(255,255,255,.065);font-size:430px;font-family:var(--serif);pointer-events:none}
.contact-banner h2{font-size:clamp(35px,4.7vw,58px);font-weight:620;margin:0;position:relative;z-index:1}
.contact-banner h2 em{color:#d6cffc}
.round-arrow{border-radius:50%;width:75px;height:75px;background:#d8dcac;color:#273c48;display:flex;align-items:center;justify-content:center;z-index:1;flex:none;transition:transform .2s}
.round-arrow:hover{transform:rotate(35deg)}
.site-footer{background:var(--navy-deep);color:#e5eafa}
.site-footer .brand-copy strong{color:#fff}
.site-footer .brand-mark{background:#344764}
.site-footer .brand-copy small{color:#aab8cf}
.footer-top{display:grid;grid-template-columns:1.8fr 1fr 1fr;gap:30px;padding-top:65px;padding-bottom:58px}
.footer-top p{font-size:12px;color:#aeb9c9;line-height:1.9;margin:25px 0 0}
.footer-links{display:flex;flex-direction:column;gap:10px}
.footer-links>span{font-weight:820;font-size:10px;letter-spacing:.16em;color:#a1b1cc;margin-bottom:10px}
.footer-links a{font-size:12px;color:#c6d0de}
.footer-links a:hover{color:#fff;text-decoration:underline}
.footer-bottom{border-top:1px solid #344258;padding:23px 0 27px;display:flex;justify-content:space-between;align-items:center;gap:24px;font-size:10px;color:#a5b4c8}
.footer-motto{color:#fff;font-weight:700}
.footer-motto span{color:#d6dcaf;margin-left:5px}
.page-intro{position:relative;padding-top:91px;padding-bottom:74px;border-bottom:1px solid var(--line);overflow:hidden}
.page-intro h1,.article-intro h1{font-size:clamp(50px,6.3vw,84px);font-weight:640;letter-spacing:-.061em;max-width:940px;margin:0 0 22px}
.page-intro h1 em{color:#9882bb}
.page-intro>p{color:var(--ink-muted);font-size:16px;max-width:635px;line-height:1.85;margin:0}
.intro-decoration{font-size:220px;position:absolute;right:1%;top:40px;color:#c1b5dd;opacity:.29;line-height:1;pointer-events:none}
.page-intro>*:not(.intro-decoration){position:relative;z-index:1}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.about-lead h2 em{color:#9082bc}
.about-text p{font-size:17px;color:var(--ink-muted);line-height:1.95}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.team-card{border:1px solid var(--line);border-radius:15px;padding:18px;background:var(--paper-raised)}
.team-avatar{height:210px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:23px;position:relative;overflow:hidden}
.team-avatar::after{content:"";border:1px solid rgba(255,255,255,.6);width:140px;height:140px;border-radius:50%;position:absolute;transform:scale(1.4)}
.team-avatar span{font-family:var(--serif);font-style:italic;font-size:80px;color:#43566c;position:relative;z-index:1}
.team-card h3{font-size:22px;margin:10px 0}
.team-card p{color:var(--ink-muted);font-size:13px;margin:0;line-height:1.8}
.article-intro{padding-top:64px}
.breadcrumb{color:#9082b8;font-size:13px;display:inline-block;margin-bottom:44px;font-weight:700}
.article-lead{font-size:20px;line-height:1.6;color:var(--ink-muted);max-width:820px}
.article-meta{font-size:11px;color:var(--ink-muted);margin:27px 0}
.article-cover{height:320px;border-radius:15px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.article-cover::after{content:"";position:absolute;width:400px;height:300px;border:1px solid rgba(255,255,255,.6);border-radius:50%;transform:rotate(33deg)}
.article-cover span{font-size:220px;color:#51617b;opacity:.6;line-height:1}
.article-body{max-width:780px;padding-top:53px;padding-bottom:110px}
.article-body>p{font-size:17px;color:var(--ink-muted);line-height:2}
.article-end{display:flex;gap:22px;align-items:center;border-top:1px solid var(--line);margin-top:45px;padding-top:25px}
.article-end>span{font-size:32px;color:#8b82b7}
.procedures-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.procedure-card{background:var(--paper-raised);padding:28px;border:1px solid var(--line);border-radius:16px;position:relative}
.procedure-index{position:absolute;right:23px;top:18px;font-size:11px;color:var(--ink-muted)}
.procedure-icon{width:55px;height:55px;border-radius:13px;background:#e3dfef;color:#695c93;display:flex;align-items:center;justify-content:center;margin-bottom:25px}
.procedure-card h3{font-size:22px;margin:11px 0}
.procedure-card>p{font-size:13px;color:var(--ink-muted);min-height:77px}
.procedure-card details{border-top:1px solid var(--line);padding-top:13px;margin-top:25px}
.procedure-card summary{cursor:pointer;display:flex;justify-content:space-between;gap:9px;align-items:center;font-weight:730;font-size:11px;list-style:none}
.procedure-card summary::-webkit-details-marker{display:none}
.procedure-card details p{font-size:12px;color:var(--ink-muted);line-height:1.75}
.disclaimer-panel{display:flex;align-items:flex-start;gap:14px;background:var(--paper-raised);border:1px solid var(--line);padding:20px 23px;border-radius:11px;margin-top:25px;color:var(--ink-muted)}
.disclaimer-panel svg{flex:none;color:#8e84b8}
.disclaimer-panel p{margin:0;font-size:12px;line-height:1.7}
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px}
.contact-text>p{max-width:510px;font-size:15px;color:var(--ink-muted);line-height:1.9}
.contact-quote{border-top:1px solid var(--line);padding-top:25px;margin-top:55px;display:flex;align-items:start;gap:15px}
.contact-quote span{color:#8e83b1;font-size:27px}
.contact-quote p{font-family:var(--serif);font-size:23px;font-style:italic;max-width:360px}
.contact-details{background:var(--paper-raised);border:1px solid var(--line);border-radius:17px;padding:34px}
.contact-method{display:flex;gap:20px;padding:23px 0;border-bottom:1px solid var(--line)}
.contact-method svg{color:#9083b9;flex:none}
.contact-method div{display:flex;flex-direction:column;gap:5px}
.contact-method strong{font-size:13px}
.contact-method span{font-size:12px;color:var(--ink-muted);overflow-wrap:anywhere}
.demo-form{margin-top:28px}
.demo-form label{display:flex;flex-direction:column;font-size:11px;font-weight:750;margin-top:15px;gap:6px}
.demo-form input,.demo-form textarea{border:1px solid var(--line);background:var(--paper);color:var(--ink-muted);border-radius:9px;padding:12px;opacity:1;resize:vertical}
.demo-form input:disabled,.demo-form textarea:disabled{opacity:.75;cursor:not-allowed}
.form-hint{font-size:11px;color:var(--ink-muted);margin:13px 0 0}
.simple-message{padding-block:40px 130px}
.boot-fallback,.noscript{min-height:180px;padding:50px 24px;text-align:center}
.boot-fallback p{color:var(--ink-muted)}
.noscript{background:#ffefdd;color:#553921}
@media(max-width:1160px){
  .site-nav{gap:13px}
  .site-nav a{font-size:11px}
  .nav-cta{display:none}
  .hero-art{height:470px}
  .hero-inner{min-height:575px}
}
@media(max-width:930px){
  .nav-shell{height:72px}
  .site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper-raised);border-bottom:1px solid var(--line);padding:18px 22px 23px;box-shadow:var(--shadow);flex-direction:column;gap:0;align-items:stretch}
  .site-nav.is-open{display:flex}
  .site-nav a{font-size:14px;padding:11px 16px;border-radius:8px}
  .site-nav a[aria-current="page"]{background:var(--paper)}
  .site-nav a[aria-current="page"]::after{display:none}
  .menu-toggle{display:flex}
  .hero-inner{grid-template-columns:1fr .7fr;gap:0}
  .hero-art{height:430px}
  .hero h1{font-size:clamp(46px,6vw,65px)}
  .floating-card.card-top{right:-12px}
  .card-bottom{min-width:235px;left:-12%;bottom:65px}
  .feature-inner{gap:20px}
}
@media(max-width:700px){
  .shell{width:min(var(--shell),calc(100% - 36px))}
  .demo-ribbon{font-size:9px;padding:7px 12px}
  .demo-ribbon span:last-child{display:none}
  .brand-copy strong{font-size:22px}
  .nav-shell{height:68px}
  .hero-inner{display:flex;flex-direction:column;align-items:stretch;gap:0;padding-top:59px;padding-bottom:36px}
  .hero h1{font-size:clamp(44px,11vw,65px);max-width:630px;line-height:1.06}
  .hero-copy>p{font-size:14px;line-height:1.75}
  .hero-caption{margin-top:32px}
  .hero-art{height:355px;margin-top:10px}
  .art-big-letter{font-size:325px;left:20%;top:0}
  .art-halo{inset:15px 15px 12px}
  .halo-two{inset:45px 0 40px}
  .card-top{top:30px;right:0;width:170px;padding:17px 19px}
  .card-top strong{font-size:15px}
  .card-bottom{left:0;bottom:28px;min-width:230px}
  .art-side-text{display:none}
  .intro-strip-inner{gap:12px;padding-block:20px}
  .intro-strip .strip-label{display:none}
  .intro-strip p{text-align:left;font-size:14px}
  .section{padding-top:65px}
  .section-heading{align-items:flex-start;flex-direction:column;gap:17px;margin-bottom:27px}
  .section-heading h2{font-size:40px}
  .news-grid,.announcements-grid,.team-grid,.procedures-grid{grid-template-columns:1fr}
  .news-grid{gap:42px}
  .news-visual{aspect-ratio:1.48}
  .visual-glyph{font-size:150px}
  .feature-band{margin-top:70px}
  .feature-inner{grid-template-columns:1fr;gap:0}
  .feature-emblem{min-height:265px}
  .feature-emblem::before{width:200px;height:200px}
  .feature-emblem::after{width:220px;height:220px}
  .feature-emblem span{font-size:160px}
  .feature-copy{padding:12px 0 65px}
  .announcements-section,.agenda-section{padding-top:70px}
  .note-card{min-height:194px}
  .event-row{grid-template-columns:73px 1fr 0;gap:16px;position:relative;padding:22px 0}
  .event-date{min-height:75px}
  .event-date strong{font-size:30px}
  .event-details h3{font-size:19px}
  .event-details>p{font-size:11px}
  .event-arrow{display:none}
  .contact-banner{padding-top:72px;padding-bottom:72px}
  .contact-banner-inner{min-height:236px;padding:36px 25px}
  .contact-banner h2{font-size:38px}
  .round-arrow{width:49px;height:49px}
  .round-arrow svg{width:21px}
  .footer-top{grid-template-columns:1fr 1fr;gap:35px 25px}
  .footer-top>div:first-child{grid-column:span 2}
  .footer-bottom{flex-wrap:wrap;gap:12px}
  .footer-bottom span:last-child{width:100%}
  .page-intro{padding-top:65px;padding-bottom:60px}
  .page-intro h1{font-size:clamp(45px,11vw,64px)}
  .page-intro>p{font-size:14px}
  .intro-decoration{font-size:160px;top:90px;right:-22px}
  .about-grid,.contact-layout{grid-template-columns:1fr;gap:29px}
  .team-avatar{height:220px}
  .article-intro h1{font-size:44px}
  .article-cover{height:240px}
  .article-lead{font-size:17px}
  .article-body>p{font-size:15px}
  .contact-details{padding:26px}
  .procedure-card>p{min-height:0}
}
@media(max-width:375px){
  .shell{width:calc(100% - 28px)}
  .brand-mark{width:36px;height:36px}
  .brand-copy strong{font-size:20px}
  .hero h1{font-size:42px}
  .hero-actions .button{width:100%}
  .hero-art{height:320px}
  .art-big-letter{font-size:260px}
  .card-bottom{transform:rotate(-3deg) scale(.9);transform-origin:left bottom}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* Portal Demo — revisión de diseño público, octubre 2026.
   Aspecto editorial e institucional: componentes útiles antes que ornamentos. */
.demo-ribbon { background:#e5e9e4; color:#3d5050; min-height:38px; letter-spacing:.01em; }
.ribbon-dot { background:#3b726c; }
.brand { gap:10px; }
.brand-mark { width:37px; height:37px; border-radius:9px; background:#25445b; }
.brand-mark-core { font-family:var(--sans); font-size:22px; font-weight:800; }
.brand-star {display:none;}
.brand-copy strong { font-family:var(--sans); font-size:18px; letter-spacing:-.04em; font-weight:770; line-height:1.15; }
.brand-copy small { font-size:9px; font-weight:650; letter-spacing:.03em; margin-top:4px; }
.brand-dot {display:none;}
.hero { background:#203950; color:#fff; }
.hero::before {display:none;}
.hero-inner { min-height:530px; grid-template-columns:1.05fr .95fr; gap:72px; padding-block:70px; }
.hero h1 { font-size:clamp(45px,5.1vw,69px); font-weight:690; letter-spacing:-.048em; max-width:670px; }
.hero h1 em { color:#d3dce3; font-family:var(--serif); letter-spacing:-.055em; }
.hero-copy>p { max-width:470px; margin-bottom:29px; }
.hero-caption { margin-top:44px; color:#bccbd6; font-size:11px; letter-spacing:.035em; }
.caption-dash {display:block;width:22px;height:1px;background:#9fb8c3;}
.hero-board { border:1px solid #60768b; background:#f7f7f2; color:#253b4a; border-radius:5px; min-height:365px; align-self:center; box-shadow:14px 14px 0 rgba(6,21,37,.18); overflow:hidden; }
.board-head {display:flex;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid #d7ddd8;color:#596d75;font-size:10px;font-weight:760;letter-spacing:.12em;}
.board-main {display:grid;grid-template-columns:88px 1fr;gap:17px;padding:33px 26px 38px;}
.board-stamp {font-size:52px;font-family:var(--serif);line-height:1.1;letter-spacing:-.06em;color:#344f61;}
.board-stamp small {display:block;font:700 11px var(--sans);letter-spacing:.18em;margin-top:6px;}
.board-kicker {font-size:10px;letter-spacing:.14em;color:#617980;font-weight:800;margin:5px 0 12px;}
.board-main h2 {font-size:clamp(22px,2.2vw,31px);font-weight:680;line-height:1.2;letter-spacing:-.04em;color:#21374a;margin-bottom:14px;}
.board-main p {font-size:12px;line-height:1.7;color:#576b75;margin-bottom:19px;}
.board-main a {font-size:11px;font-weight:760;border-bottom:1px solid currentColor;display:inline-flex;gap:9px;align-items:center;padding-bottom:3px;}
.board-bottom {background:#e4e9e8;border-top:1px solid #d7ddd8;display:flex;align-items:center;gap:14px;padding:17px 25px;color:#2f4c58;}
.board-bottom span {font-size:9px;font-weight:800;letter-spacing:.11em;white-space:nowrap;}
.board-bottom strong {font-size:12px;flex:1;}
.board-bottom:hover {background:#dce4e1;}
.hero-bottom-line {display:none;}
.intro-strip {background:var(--paper-raised);}
.quick-links {padding-block:0;display:grid;grid-template-columns:1fr repeat(3,1.2fr);align-items:center;gap:0;min-height:84px;}
.quick-links .strip-label {text-align:left; font-size:10px; letter-spacing:.13em;}
.quick-links a {min-height:52px;padding:13px 19px;border-left:1px solid var(--line);font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:10px;transition:background .2s;}
.quick-links a:hover {background:var(--paper);}
.quick-links svg {color:#768997;flex:none;}
.section-heading h2,.feature-copy h2,.about-lead h2,.contact-text h2 {font-size:clamp(36px,3.9vw,52px);}
.eyebrow {color:#687c85;letter-spacing:.145em;font-weight:800;}
.light-eyebrow {color:#d4e0e7;}
.section-heading h2 em,.about-lead h2 em,.contact-text h2 em,.page-intro h1 em {color:#617e88;font-style:italic;}
.news-visual {aspect-ratio:1.55;border-radius:5px;}
.news-visual::before,.news-visual::after,.visual-orbit {display:none;}
.visual-lilac {background:linear-gradient(145deg,#dee5e6,#c4d3d8);}
.visual-peach {background:linear-gradient(145deg,#e8e4dd,#cfcbc3);}
.visual-sage {background:linear-gradient(145deg,#dce4dd,#c0d0c3);}
.visual-glyph {font:400 clamp(86px,13vw,155px) var(--serif);letter-spacing:-.11em;color:#728e9d;opacity:.67;top:46%;left:47%;transform:translate(-50%,-50%);}
.visual-peach .visual-glyph {color:#a68f79;}
.visual-sage .visual-glyph {color:#748f7a;}
.news-visual:hover .visual-glyph {transform:translate(-50%,-50%) scale(1.04);}
.visual-index {font-size:10px;letter-spacing:.065em;font-weight:720;bottom:17px;left:19px;color:#3e5864;}
.news-card h3 {font-size:19px;line-height:1.35;}
.news-card p {font-size:13px;}
.feature-band {background:#e9eeeb;color:#253b4a;}
.feature-inner {min-height:355px;grid-template-columns:.85fr 1.15fr;gap:76px;}
.feature-note {padding:38px 0;border-top:2px solid #6d8a86;border-bottom:1px solid #b6c9c3;}
.feature-note span:first-child {display:block;font-size:10px;letter-spacing:.16em;font-weight:790;color:#55756f;margin-bottom:23px;}
.feature-note strong {display:block;font-size:clamp(25px,3vw,39px);line-height:1.22;font-weight:660;letter-spacing:-.04em;max-width:390px;}
.feature-note p {font-size:13px;color:#627b78;max-width:320px;margin:20px 0 0;line-height:1.75;}
.feature-copy {padding-block:72px;}
.feature-copy .eyebrow {color:#50736c;}
.feature-copy h2 {font-size:clamp(37px,4.3vw,56px);}
.feature-copy h2 em {color:#47736b;}
.feature-copy p {margin-top:12px;max-width:485px;color:#58706c;}
.feature-copy .button {border-radius:5px;}
.note-card {border-radius:6px;min-height:230px;}
.note-featured {background:#24475a;border-color:#24475a;}
.event-date {border-radius:6px;}
.contact-banner-inner {background:#234556;border-radius:6px;min-height:242px;}
.contact-banner-inner::after {display:none;}
.contact-banner h2 {font-size:clamp(34px,4vw,51px);}
.contact-banner h2 em {color:#c9deda;}
.contact-banner p {font-size:14px;color:#c4d9de;margin:16px 0 0;}
.round-arrow {background:#d0e1dc;}
.page-intro {padding-block:85px 72px;}
.intro-decoration {display:none;}
.team-avatar {height:160px;border-radius:5px;}
.team-avatar span {font:600 58px var(--sans);letter-spacing:-.05em;color:#37546b;}
.team-avatar::after {display:none;}
.team-card {border-radius:6px;}
.article-cover {height:265px;border-radius:5px;}
.article-cover span {font:600 clamp(18px,3vw,35px) var(--sans);color:#385767;opacity:.75;letter-spacing:.06em;text-transform:uppercase;}
.article-cover::after {display:none;}
.article-end>span {font-size:28px;}
.procedure-card,.contact-details {border-radius:6px;}
.contact-quote p {font-size:21px;}
.contact-footnote {background:var(--paper);margin-top:26px;padding:20px;border-left:3px solid #88a9a7;}
.contact-footnote strong {font-size:13px;}
.contact-footnote p {font-size:12px;color:var(--ink-muted);margin:7px 0 0;line-height:1.7;}
.footer-demo-label {display:inline-block;font-size:11px;color:#aebcca;margin-top:15px;}
.site-footer .brand-copy strong {color:#fff;}
.site-footer .brand-mark {background:#38536a;}
.site-footer .brand-copy small {color:#c0cad7;}
html[data-theme="dark"] .hero-board {background:#253950;color:#e9eff3;border-color:#667e8e;}
html[data-theme="dark"] .board-head {color:#b4c6d0;border-color:#506777;}
html[data-theme="dark"] .board-main h2 {color:#f0f4f5;}
html[data-theme="dark"] .board-main p {color:#bfccd4;}
html[data-theme="dark"] .board-stamp {color:#dce7ed;}
html[data-theme="dark"] .board-kicker {color:#b2c6d1;}
html[data-theme="dark"] .board-bottom {background:#304c61;color:#e5eff2;border-color:#506777;}
html[data-theme="dark"] .board-bottom:hover {background:#37576b;}
html[data-theme="dark"] .feature-band {background:#263b3d;color:#edf3ef;}
html[data-theme="dark"] .feature-copy p,html[data-theme="dark"] .feature-note p {color:#c4d1c9;}
html[data-theme="dark"] .feature-note strong {color:#f1f4f0;}
html[data-theme="dark"] .feature-note {border-color:#5c7976;}
html[data-theme="dark"] .feature-copy h2 em {color:#bddad0;}
html[data-theme="dark"] .section-heading h2 em,html[data-theme="dark"] .page-intro h1 em {color:#a9c7cc;}
html[data-theme="dark"] .quick-links a:hover {background:#26394c;}
@media(max-width:930px) {
  .hero-inner {grid-template-columns:1fr 0.92fr;gap:30px;}
  .board-main {grid-template-columns:60px 1fr;gap:12px;padding:24px 18px 26px;}
  .board-stamp {font-size:40px;}
  .board-main h2 {font-size:22px;}
  .board-head,.board-bottom {padding-inline:17px;}
  .feature-inner {gap:30px;}
}
@media(max-width:700px) {
  .demo-ribbon {padding-inline:8px;}
  .demo-ribbon span:last-child {display:inline;font-size:9px;}
  .nav-shell {height:69px;}
  .brand-copy strong {font-size:16px;}
  .brand-copy small {font-size:8px;letter-spacing:0;}
  .brand-mark {width:34px;height:34px;}
  .hero-inner {display:flex;flex-direction:column;align-items:stretch;gap:32px;padding-top:53px;padding-bottom:47px;}
  .hero h1 {font-size:clamp(39px,10vw,58px);max-width:600px;}
  .hero-copy>p {margin-bottom:26px;}
  .hero-caption {margin-top:29px;}
  .hero-board {width:100%;min-height:unset;box-shadow:7px 7px 0 rgba(6,21,37,.2);}
  .board-main {grid-template-columns:61px 1fr;gap:16px;padding:26px 20px;}
  .board-main h2 {font-size:24px;}
  .quick-links {grid-template-columns:1fr;min-height:unset;padding-block:13px;}
  .quick-links .strip-label {display:block;margin:8px 0 4px;}
  .quick-links a {border-left:0;border-bottom:1px solid var(--line);padding:10px 3px;min-height:45px;}
  .feature-inner {display:flex;flex-direction:column;align-items:stretch;gap:8px;padding-block:47px;}
  .feature-note {padding:24px 0;}
  .feature-copy {padding:20px 0 0;}
  .feature-copy h2 {font-size:39px;}
  .section-heading h2 {font-size:37px;}
  .news-visual {aspect-ratio:1.65;}
  .visual-glyph {font-size:116px;}
  .contact-banner h2 {font-size:35px;}
  .contact-banner-inner {padding:33px 24px;gap:12px;}
  .footer-bottom {font-size:10px;}
}


/* Tema Base 1.0 — curvas suaves, microinteracciones y superficies legibles. */
:root { --radius:22px; --soft-border:rgba(54,87,103,.11); --soft-shadow:0 13px 40px rgba(23,47,67,.06); }
html[data-theme="dark"] { --soft-border:rgba(198,216,225,.14); --soft-shadow:0 13px 40px rgba(0,0,0,.17); }
.brand-mark {border-radius:13px;}
.icon-button,.nav-cta,.profile-access,.button {border-radius:14px;transition:transform .24s ease,background-color .24s ease,border-color .24s ease,box-shadow .24s ease;}
.icon-button:hover,.nav-cta:hover,.profile-access:hover {transform:translateY(-2px);}
.site-nav a {transition:color .24s ease,transform .24s ease;}
.site-nav a:hover {transform:translateY(-1px);}
.nav-shell {gap:17px;}
.site-nav {gap:15px;}
.nav-actions {gap:9px;}
.profile-access {height:39px;padding:0 13px;display:inline-flex;align-items:center;gap:9px;background:var(--paper-raised);border:1px solid var(--line);font-size:11px;font-weight:750;color:var(--ink);white-space:nowrap;box-shadow:0 2px 9px rgba(11,40,51,.025);}
.profile-access[aria-current="page"]{border-color:#86aaa7;background:rgba(142,179,167,.12);}
.nav-actions .nav-cta {display:none;}
.hero {background:linear-gradient(126deg,#263d54 0%,#294559 57%,#375a69 100%);}
.hero-board {border-radius:22px;box-shadow:0 23px 56px rgba(13,29,42,.18);border-color:rgba(255,255,255,.29);transition:transform .34s ease,box-shadow .34s ease;}
.hero-board:hover {transform:translateY(-5px);box-shadow:0 28px 65px rgba(9,22,39,.22);}
.board-bottom {border-radius:0 0 22px 22px;}
.hero h1 {font-weight:670;}
.hero-copy {position:relative;}
.hero-notification {position:absolute;right:10px;top:-19px;z-index:25;}
.hero-bell {width:54px;height:54px;border-radius:19px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.31);color:#f7ffff;display:flex;align-items:center;justify-content:center;position:relative;backdrop-filter:blur(10px);box-shadow:0 10px 24px rgba(11,27,45,.15);transition:transform .26s,background .26s,border-color .26s;}
.hero-bell:hover,.hero-bell[aria-expanded="true"] {transform:translateY(-3px);background:rgba(255,255,255,.24);border-color:rgba(255,255,255,.5);}
.bell-count {position:absolute;top:-6px;right:-6px;min-width:22px;height:22px;border-radius:99px;background:#b0d8c8;color:#203d43;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:850;border:2px solid #365467;}
.bell-count[hidden]{display:none;}
.notification-popover {position:absolute;right:0;top:67px;width:min(347px,calc(100vw - 42px));background:#fff;color:#273e4e;border:1px solid rgba(22,54,67,.12);border-radius:20px;box-shadow:0 24px 75px rgba(5,19,31,.28);overflow:hidden;z-index:30;}
.notification-popover[hidden]{display:none;}
.notification-heading {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:20px 22px 14px;}
.notification-heading strong{font-size:15px;}
.notification-heading span{font-size:10px;color:#78919a;}
.notification-items {padding:0 11px;}
.notification-entry {padding:12px 9px;display:flex;align-items:flex-start;gap:12px;border-radius:12px;transition:background .2s;}
.notification-entry:hover {background:#eff5f2;}
.notification-entry>span:last-child {display:flex;flex-direction:column;gap:4px;}
.notification-entry strong {font-size:12px;}
.notification-entry small {color:#697d86;font-size:11px;line-height:1.4;}
.notification-dot {width:8px;height:8px;margin-top:6px;background:#82bca7;border-radius:50%;flex:none;box-shadow:0 0 0 4px #e4f1ea;}
.notification-dot.is-read {background:#bdc6c7;box-shadow:none;}
.notification-read {display:block;width:calc(100% - 32px);border:0;background:#e7f0ed;color:#315a52;border-radius:11px;margin:9px 16px 6px;padding:11px;font-size:12px;font-weight:750;}
.notification-read:hover:not(:disabled){background:#d5e7df;}
.notification-read:disabled {cursor:default;opacity:.7;}
.notification-popover>p {font-size:10px;text-align:center;color:#83939a;margin:9px 14px 17px;}
.quick-links a {border-radius:13px;transition:background .23s,transform .23s;}
.quick-links a:hover {transform:translateY(-2px);}
.news-visual,.team-avatar,.article-cover {border-radius:19px;transition:transform .32s ease,box-shadow .32s;}
.news-visual:hover {box-shadow:var(--soft-shadow);transform:translateY(-4px);}
.news-card {transition:transform .3s ease;}
.news-card:hover {transform:translateY(-3px);}
.note-card,.team-card,.procedure-card,.contact-details,.contact-banner-inner,.disclaimer-panel,.event-date {border-radius:20px;}
.note-card,.team-card,.procedure-card {transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;}
.note-card:hover,.team-card:hover,.procedure-card:hover {transform:translateY(-5px);box-shadow:var(--soft-shadow);border-color:rgba(126,165,159,.3);}
.feature-note {border-radius:3px;}
.contact-banner-inner {background:linear-gradient(110deg,#29485a,#365c69);}
.round-arrow {transition:transform .28s ease,background .28s,box-shadow .28s;}
.round-arrow:hover {transform:translateY(-3px) rotate(12deg);box-shadow:0 10px 23px rgba(12,29,36,.14);}
.procedure-icon {border-radius:17px;}
.procedure-card details[open] summary svg {transform:rotate(90deg);}
.procedure-card details summary svg {transition:transform .2s ease;}
.contact-footnote {border-radius:0 13px 13px 0;}
.page-intro h1 {letter-spacing:-.05em;}
.event-row {transition:background .2s ease;}
.event-row:hover {background:rgba(140,175,167,.04);}
html[data-theme="dark"] .notification-popover {background:#1c3042;color:#eff6f5;border-color:#4b6571;}
html[data-theme="dark"] .notification-entry:hover {background:#294558;}
html[data-theme="dark"] .notification-entry small,html[data-theme="dark"] .notification-heading span,html[data-theme="dark"] .notification-popover>p {color:#aec0c9;}
html[data-theme="dark"] .notification-read {background:#38574f;color:#e5f4ef;}

/* Demo de perfil: ninguna entrada requiere una cuenta o un envío de datos. */
.demo-profile-page {padding-block:82px 112px;}
.demo-profile-heading {display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:30px;}
.demo-profile-heading h1 {font-size:clamp(43px,5.5vw,69px);font-weight:650;line-height:1.08;margin:0 0 12px;}
.demo-profile-heading h1 em {font-family:var(--serif);font-weight:400;color:#708b94;}
.demo-profile-heading p {color:var(--ink-muted);font-size:15px;margin:0;}
.demo-heading-tag {padding:9px 13px;border-radius:99px;background:rgba(131,168,158,.13);border:1px solid rgba(131,168,158,.25);font-size:10px;font-weight:800;color:var(--ink-muted);letter-spacing:.09em;white-space:nowrap;}
.demo-data-alert {padding:16px 21px;background:rgba(145,184,171,.11);border:1px solid rgba(121,168,151,.25);border-radius:17px;color:var(--ink-muted);font-size:12px;line-height:1.8;margin-bottom:28px;}
.demo-data-alert strong {color:var(--ink);}
.demo-profile-grid {display:grid;grid-template-columns:minmax(225px,290px) minmax(0,1fr);align-items:start;gap:24px;}
.demo-profile-aside,.demo-profile-main {border-radius:23px;background:var(--paper-raised);border:1px solid var(--soft-border);box-shadow:var(--soft-shadow);overflow:hidden;}
.demo-profile-aside {position:sticky;top:115px;}
.demo-identity {text-align:center;padding:36px 24px 25px;border-bottom:1px solid var(--line);}
.demo-avatar {width:94px;height:94px;margin:0 auto 18px;border-radius:32px;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:700;letter-spacing:-.05em;box-shadow:inset 0 1px 0 rgba(255,255,255,.65);}
.color-blue {background:#d4e3ec;color:#416277;}
.color-mint {background:#d8e9d9;color:#3f735b;}
.color-lilac {background:#e4dcf1;color:#70618e;}
.color-coral {background:#f2dfd5;color:#9b6555;}
.demo-identity h2 {font-size:22px;letter-spacing:-.035em;margin:9px 0 4px;}
.demo-identity p {color:var(--ink-muted);font-size:12px;margin:0;}
.demo-identity-tag {display:inline-block;border-radius:99px;background:var(--paper);font-size:10px;font-weight:750;color:var(--ink-muted);padding:6px 12px;margin-top:18px;}
.demo-profile-nav {padding:17px 14px;display:flex;flex-direction:column;gap:5px;}
.demo-profile-nav button {width:100%;border:0;background:transparent;text-align:left;padding:13px 15px;border-radius:12px;display:flex;justify-content:space-between;color:var(--ink-muted);font-size:13px;font-weight:750;transition:background .22s,transform .22s,color .22s;}
.demo-profile-nav button:hover {background:var(--paper);color:var(--ink);transform:translateX(2px);}
.demo-profile-nav button[aria-current="page"] {background:rgba(138,180,170,.14);color:var(--ink);}
.demo-profile-nav button span {opacity:.35;}
.demo-aside-note {border-top:1px solid var(--line);margin:0;padding:19px 22px;color:var(--ink-muted);font-size:11px;line-height:1.7;}
.demo-profile-main {min-height:580px;padding:clamp(24px,4vw,43px);}
.demo-panel-heading {padding-bottom:26px;border-bottom:1px solid var(--line);margin-bottom:24px;}
.demo-panel-heading h2 {font-size:clamp(29px,3.6vw,42px);font-weight:650;margin:7px 0 10px;}
.demo-panel-heading p {font-size:13px;color:var(--ink-muted);margin:0;}
.demo-feedback {border-radius:13px;border:1px solid rgba(106,166,134,.29);background:rgba(110,183,138,.1);color:var(--ink);padding:11px 14px;font-size:12px;margin-bottom:23px;}
.demo-stats {display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:38px;}
.demo-stats>div {padding:22px 15px;display:flex;flex-direction:column;gap:5px;background:var(--paper);border-radius:17px;border:1px solid var(--line);}
.demo-stats strong {font-size:32px;line-height:1.2;letter-spacing:-.05em;}
.demo-stats span {font-size:10px;color:var(--ink-muted);}
.demo-subhead {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 13px;}
.demo-subhead h3 {font-size:17px;margin:0;}
.demo-subhead button,.demo-subhead a {border:0;background:none;color:#577e77;font-size:11px;font-weight:800;padding:6px;cursor:pointer;}
.demo-facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.demo-facts>div {background:var(--paper);border-radius:13px;padding:15px;display:flex;flex-direction:column;gap:7px;}
.demo-facts span {font-size:10px;color:var(--ink-muted);}
.demo-facts strong {font-size:12px;overflow-wrap:anywhere;font-weight:700;}
.demo-activity-list {display:flex;flex-direction:column;gap:11px;}
.demo-activity {display:flex;align-items:center;gap:15px;padding:15px;border:1px solid var(--line);border-radius:13px;transition:transform .2s,border-color .2s,background .2s;}
.demo-activity:hover {transform:translateX(3px);border-color:#98b4ad;background:var(--paper);}
.demo-activity-date {font-size:11px;font-weight:800;min-width:53px;color:#577f77;}
.demo-activity>span:nth-child(2) {flex:1;display:flex;flex-direction:column;gap:3px;}
.demo-activity strong {font-size:12px;}
.demo-activity small {font-size:10px;color:var(--ink-muted);}
.demo-activity>span:last-child {color:var(--ink-muted);}
.demo-form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.demo-field {display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:750;color:var(--ink);}
.demo-field.field-full {grid-column:1/-1;}
.demo-field input,.demo-field textarea {padding:13px 15px;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:13px;font-size:13px;font-weight:500;outline:none;width:100%;transition:border-color .2s,box-shadow .2s;resize:vertical;}
.demo-field input:focus,.demo-field textarea:focus {border-color:#8bafa6;box-shadow:0 0 0 3px rgba(108,172,147,.16);}
.demo-colors {padding:0;border:0;margin:29px 0 23px;}
.demo-colors legend {font-size:12px;font-weight:750;margin-bottom:12px;}
.demo-colors>div {display:flex;gap:13px;flex-wrap:wrap;}
.demo-color {cursor:pointer;text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;}
.demo-color input {position:absolute;opacity:0;width:1px;height:1px;}
.demo-color>span {width:53px;height:53px;border-radius:17px;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:750;border:2px solid transparent;transition:transform .2s;}
.demo-color:hover>span {transform:translateY(-3px);}
.demo-color input:checked+span {border-color:#598c7e;box-shadow:0 0 0 3px rgba(89,140,126,.16);}
.demo-color input:focus-visible+span {outline:3px solid #59988b;outline-offset:4px;}
.demo-color small {font-size:10px;color:var(--ink-muted);}
.demo-form-actions {display:flex;gap:12px;flex-wrap:wrap;}
.demo-secondary {background:var(--paper);border:1px solid var(--line);color:var(--ink);}
.demo-mini-note {font-size:11px;line-height:1.7;color:var(--ink-muted);margin:22px 0 0;}
.demo-preferences {display:flex;flex-direction:column;gap:11px;}
.demo-preference {cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px;border:1px solid var(--line);border-radius:16px;position:relative;}
.demo-preference>span:first-child {display:flex;flex-direction:column;gap:6px;}
.demo-preference strong {font-size:13px;}
.demo-preference small {font-size:11px;color:var(--ink-muted);}
.demo-preference input {opacity:0;position:absolute;right:21px;width:44px;height:24px;cursor:pointer;}
.demo-switch {width:43px;height:25px;border-radius:99px;background:#c0cace;transition:background .2s;flex:none;position:relative;}
.demo-switch:after {content:"";position:absolute;left:3px;top:3px;width:19px;height:19px;border-radius:50%;background:white;box-shadow:0 1px 3px rgba(0,0,0,.14);transition:transform .2s;}
.demo-preference input:checked+.demo-switch {background:#6b9b8c;}
.demo-preference input:checked+.demo-switch:after {transform:translateX(18px);}
.demo-preference input:focus-visible+.demo-switch {outline:3px solid #598c7e;outline-offset:3px;}
.demo-saved-list {display:flex;flex-direction:column;gap:13px;}
.demo-saved {padding:18px;border:1px solid var(--line);border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:20px;}
.demo-saved h3 {font-size:16px;margin:7px 0 9px;line-height:1.35;}
.demo-saved a {font-size:11px;font-weight:750;color:#608e81;}
.demo-saved button {border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:99px;padding:10px 15px;font-size:11px;font-weight:750;white-space:nowrap;}
.demo-saved button[aria-pressed="true"] {background:rgba(119,176,147,.18);border-color:rgba(119,176,147,.31);}
html[data-theme="dark"] .demo-heading-tag {color:#d2e2dd;}
html[data-theme="dark"] .demo-subhead button,html[data-theme="dark"] .demo-subhead a,html[data-theme="dark"] .demo-saved a {color:#9dcdbb;}
html[data-theme="dark"] .demo-activity-date {color:#a0cebd;}
@keyframes softRise {from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes softAppear {from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy,.hero-board,.page-intro,.demo-profile-heading {animation:softRise .68s cubic-bezier(.16,1,.3,1) both;}
  .hero-board {animation-delay:.11s;}
  .news-card,.note-card,.team-card,.procedure-card,.demo-profile-aside,.demo-profile-main {animation:softRise .58s cubic-bezier(.16,1,.3,1) both;}
  .news-card:nth-child(2),.note-card:nth-child(2),.team-card:nth-child(2) {animation-delay:.07s;}
  .news-card:nth-child(3),.note-card:nth-child(3),.team-card:nth-child(3) {animation-delay:.14s;}
  .notification-popover:not([hidden]) {animation:softAppear .2s ease both;}
}
@media(max-width:1140px) {.nav-shell{gap:12px}.site-nav{gap:12px}.profile-access{padding-inline:10px}.profile-access span{display:none;}}
@media(max-width:930px) {.profile-access span{display:inline}.nav-actions{gap:7px}.hero-notification{top:-18px;right:1px;}}
@media(max-width:700px) {
 .profile-access span{display:none;}
 .hero-copy>.eyebrow{max-width:calc(100% - 68px);}
 .hero-notification{right:3px;top:-9px;}
 .hero-bell{width:47px;height:47px;border-radius:15px;}
 .notification-popover {top:58px;width:min(330px,calc(100vw - 32px));}
 .demo-profile-page{padding-block:58px 83px;}
 .demo-profile-heading{align-items:flex-start;flex-direction:column;gap:14px;}
 .demo-profile-heading h1{font-size:43px;}
 .demo-profile-grid{grid-template-columns:1fr;}
 .demo-profile-aside{position:static;}
 .demo-identity{padding:24px 18px;}
 .demo-avatar{width:75px;height:75px;border-radius:25px;}
 .demo-profile-nav{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:8px;padding:13px;scrollbar-width:thin;}
 .demo-profile-nav button {width:auto;flex:none;padding:11px 13px;white-space:nowrap;}
 .demo-profile-nav button span{display:none;}
 .demo-aside-note{padding:13px 17px;}
 .demo-profile-main{min-height:420px;padding:24px 19px;}
 .demo-stats{gap:8px;}
 .demo-stats>div{padding:17px 11px;}
 .demo-stats strong{font-size:26px;}
 .demo-form-grid{grid-template-columns:1fr;}
 .demo-saved{flex-direction:column;align-items:flex-start;}
}
@media(max-width:370px) {.demo-profile-heading h1{font-size:36px}.demo-stats>div{padding-inline:7px}.demo-activity{gap:10px}.profile-access{padding-inline:9px}}
@media(prefers-reduced-motion:reduce){
  .hero-copy,.hero-board,.page-intro,.demo-profile-heading,.news-card,.note-card,.team-card,.procedure-card,.demo-profile-aside,.demo-profile-main,.notification-popover {animation:none!important;}
}

/* Colores únicamente en la muestra del avatar, no en la etiqueta del radio. */
.demo-color.color-blue,.demo-color.color-mint,.demo-color.color-lilac,.demo-color.color-coral {background:transparent;color:var(--ink);}
.demo-color.color-blue>span {background:#d4e3ec;color:#416277;}
.demo-color.color-mint>span {background:#d8e9d9;color:#3f735b;}
.demo-color.color-lilac>span {background:#e4dcf1;color:#70618e;}
.demo-color.color-coral>span {background:#f2dfd5;color:#9b6555;}


/* Portal Demo: navegación reducida a cinco entradas con secundarios accesibles. */
.site-nav { position: relative; }
.nav-primary { display:flex; align-items:center; gap:15px; }
.nav-more { position:relative; color:var(--ink-muted); font-size:12px; font-weight:650; }
.nav-more summary { display:flex; align-items:center; gap:5px; min-height:44px; cursor:pointer; list-style:none; }
.nav-more summary::-webkit-details-marker { display:none; }
.nav-more[open] summary,.nav-more summary:hover { color:var(--ink); }
.nav-more summary svg { transform:rotate(90deg); }
.nav-more-links { position:absolute; z-index:51; top:100%; right:0; min-width:190px; display:flex; flex-direction:column; padding:9px; border:1px solid var(--line); border-radius:14px; background:var(--paper-raised); box-shadow:var(--shadow); }
.site-nav .nav-more-links a { display:block; padding:11px 12px; border-radius:9px; }
.site-nav .nav-more-links a:hover { background:var(--paper); }
.nav-mobile-extras { display:none; }
.site-nav .nav-primary a { min-height:44px; display:inline-flex; align-items:center; }
.site-nav a[aria-current="page"] { font-weight:780; }
@media(max-width:1160px) { .nav-primary {gap:12px;} }
@media(max-width:930px) {
  .nav-primary,.nav-mobile-extras {display:flex; flex-direction:column; align-items:stretch; width:100%;}
  .nav-more {display:none;}
  .site-nav .nav-primary a,.site-nav .nav-mobile-extras a {min-height:44px;display:flex;align-items:center;padding:10px 16px;font-size:14px;}
  .nav-mobile-extras {border-top:1px solid var(--line);padding-top:8px;margin-top:8px;}
  .site-nav .nav-mobile-extras a[aria-current="page"] {background:var(--paper);}
  .site-nav.is-open {max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain;}
}
/* Tres paletas controladas dentro del mismo tema base; ninguna es premium. */
html[data-portal-palette="sage"] { --lilac-deep:#587e73; --accent:#bfdec4; }
html[data-portal-palette="plum"] { --lilac-deep:#9373b3; --accent:#e2d2f0; }
html[data-portal-palette="sage"] .hero { background:linear-gradient(125deg,#1c393a,#315e53); }
html[data-portal-palette="plum"] .hero { background:linear-gradient(125deg,#292843,#4c456e); }
html[data-portal-palette="sage"] .brand-mark {background:#27564b;}
html[data-portal-palette="plum"] .brand-mark {background:#493d70;}
html[data-portal-palette="sage"] .section-heading h2 em {color:#527b6e;}
html[data-portal-palette="plum"] .section-heading h2 em {color:#9373b3;}
html[data-theme="dark"][data-portal-palette="sage"] .section-heading h2 em {color:#b0dcca;}
html[data-theme="dark"][data-portal-palette="plum"] .section-heading h2 em {color:#d0c1ed;}
@media(prefers-reduced-motion:reduce) {
  .nav-more summary svg,.nav-more-links a {transition:none!important;}
}

/* Lectura editorial superpuesta, hover ampliado y equipo rotativo. */
.news-visual .story-thumb,.article-cover .story-thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.75,.3,1)}
.article-cover{position:relative;overflow:hidden}
.news-visual .visual-glyph,.news-visual .visual-index{display:none}
.news-visual:hover .story-thumb,.news-visual:focus-visible .story-thumb{transform:scale(1.08)}
.news-card:hover{transform:translateY(-8px)}
.news-card h3 a{transition:color .2s}
.note-card{padding-bottom:68px}
.note-card-hit{position:absolute;inset:0;z-index:2;width:100%;height:100%;border:0;border-radius:inherit;background:transparent;cursor:pointer}
.note-card-hit:focus-visible{outline:3px solid #94b8d0;outline-offset:-5px}
.note-card:hover,.note-card:focus-within{transform:translateY(-9px);box-shadow:0 20px 50px rgba(24,44,62,.16)}
.note-more{position:absolute;bottom:20px;left:23px;display:flex;align-items:center;gap:8px;font-weight:700;font-size:12px}
.story-dialog{width:min(960px,calc(100vw - 28px));max-height:86dvh;padding:0;border:1px solid var(--line);border-radius:24px;background:var(--paper-raised);color:var(--ink);box-shadow:0 35px 110px rgba(8,20,34,.35);overflow:auto;overscroll-behavior:contain}
.story-dialog:not([open]){display:none}
.story-dialog::backdrop{background:rgba(9,23,38,.75);backdrop-filter:blur(7px)}
.story-dialog-panel{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);min-height:440px}
.story-dialog-image{grid-column:1;grid-row:1;position:relative;min-height:440px;background:linear-gradient(135deg,#b3cccb,#436878)}
.story-dialog-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.story-dialog-image span{position:absolute;bottom:17px;left:17px;background:rgba(10,29,41,.78);color:#fff;padding:8px 12px;border-radius:9px;font-size:11px}
.story-dialog-close{grid-column:2;grid-row:1;justify-self:end;align-self:start;margin:15px 15px -58px;position:sticky;top:15px;z-index:3;border:1px solid var(--line);border-radius:50%;width:42px;height:42px;background:var(--paper-raised);color:var(--ink);display:grid;place-items:center;transition:transform .25s}
.story-dialog-close:hover{transform:rotate(90deg)}
.story-dialog-body{grid-column:2;grid-row:1;padding:72px 44px 40px;min-width:0}
.story-dialog-date{color:var(--ink-muted);font-size:12px;margin:10px 0 15px}
.story-dialog-body h2{font-size:clamp(27px,3vw,40px);margin:0 0 18px}
.story-dialog-lead{font-size:15px;line-height:1.65;font-weight:620}
.story-dialog-paragraphs p{font-size:13px;line-height:1.8;color:var(--ink-muted);margin:0 0 15px}
.story-dialog-footnote{border-top:1px solid var(--line);padding-top:15px;font-size:11px;color:var(--ink-muted);margin-top:24px}
.team-carousel{--team-gap:20px;--team-visible:3}
.team-carousel-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}
.team-carousel-top>span{font-size:12px;font-weight:700;color:var(--ink-muted)}
.team-carousel-controls{display:flex;gap:9px}
.team-carousel-controls button{height:44px;width:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--paper-raised);color:var(--ink);transition:transform .25s,background .25s}
.team-carousel-controls button:first-child svg{transform:rotate(180deg)}
.team-carousel-controls button:hover:not(:disabled){transform:scale(1.09);background:var(--line)}
.team-carousel-controls button:disabled{opacity:.43;cursor:default}
.team-viewport{overflow:hidden;padding:15px 7px 28px;margin:-15px -7px -12px}
.team-track{position:relative;display:flex;gap:var(--team-gap);transition:transform .7s cubic-bezier(.18,.8,.3,1);will-change:transform}
.team-track .team-card{flex:0 0 calc((100% - 2 * var(--team-gap))/3);min-width:0;position:relative;z-index:1;transform-origin:center}
.team-track .team-card:hover,.team-track .team-card:focus-within{transform:translateY(-7px) scale(1.065);box-shadow:0 25px 53px rgba(23,50,70,.22);z-index:5}
.team-carousel-status{font-size:11px;text-align:center;min-height:16px;color:var(--ink-muted);margin-top:15px}
@media(max-width:930px){.team-carousel{--team-visible:2}}
@media(max-width:600px){.team-carousel{--team-visible:1}.story-dialog-panel{display:block}.story-dialog-image{height:225px;min-height:225px}.story-dialog-body{padding:35px 24px 26px}.story-dialog-close{float:right;margin:14px 14px -56px}.team-track .team-card:hover{transform:translateY(-5px) scale(1.035)}}
@media(prefers-reduced-motion:no-preference){.story-dialog[open]{animation:storyEnter .3s cubic-bezier(.2,.8,.3,1) both}.story-dialog[open]::backdrop{animation:storyFade .3s ease both}}
@keyframes storyEnter{from{opacity:0;transform:translateY(24px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes storyFade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.story-dialog,.story-dialog::backdrop,.story-thumb,.team-track,.team-track .team-card,.note-card{animation:none!important;transition:none!important}}

/* Ancho determinista para navegadores que no soportan aritmética CSS tipada. */
@media(max-width:930px){.team-track .team-card{flex-basis:calc((100% - var(--team-gap))/2)}}
@media(max-width:600px){.team-track .team-card{flex-basis:100%}}


/* Bell moved into the shared header, immediately before the demo profile. */
.nav-notification{position:relative;z-index:3;flex:none;}
.nav-notification .hero-bell{width:39px;height:39px;border-radius:14px;background:var(--paper-raised);border:1px solid var(--line);color:var(--ink);box-shadow:none;backdrop-filter:none;transition:transform .24s ease,background-color .24s ease,border-color .24s ease;}
.nav-notification .hero-bell:hover,.nav-notification .hero-bell[aria-expanded="true"]{transform:translateY(-2px);background:var(--line);border-color:var(--line);}
.nav-notification .bell-count{top:-7px;right:-7px;border-color:var(--paper-raised);}
.nav-notification .notification-popover{top:49px;right:0;z-index:80;}
/* Keep the popover wholly on-screen on narrow devices. */
@media(max-width:700px){
  .nav-notification .hero-bell{width:39px;height:39px;border-radius:13px;}
  .nav-notification .notification-popover{position:fixed;top:calc(38px + 69px + 10px);right:16px;left:16px;width:auto;max-height:calc(100dvh - 133px);overflow-y:auto;}
}

/* Equipo ficticio de la demo: fotografía real de banco de imágenes, nombre, cargo y descripción. */
.team-avatar{height:225px;isolation:isolate;background:#d6e2e3}
.team-avatar .team-portrait{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%;z-index:2;transition:transform .48s cubic-bezier(.2,.8,.25,1),filter .35s ease}
.team-card:hover .team-portrait,.team-card:focus-within .team-portrait{transform:scale(1.07);filter:saturate(1.08)}
.team-avatar .portrait-caption{position:absolute;left:12px;bottom:12px;z-index:3;background:rgba(18,38,50,.78);color:white;font-size:9px;font-weight:720;letter-spacing:.045em;padding:7px 9px;border-radius:8px;pointer-events:none}
.team-card-details{padding:1px 4px 5px}
.team-card-details h3{font-size:19px;line-height:1.25;letter-spacing:-.02em;margin:5px 0 8px;overflow-wrap:anywhere}
.team-card-details .team-role{display:block;font-size:11px;line-height:1.4;letter-spacing:.025em;color:#4d7d80;font-weight:780;text-transform:uppercase;margin-bottom:12px}
.team-card-details p{font-size:12.5px;line-height:1.7}
.team-identity-disclaimer{margin:0 0 17px;color:var(--ink-muted);font-size:12px;line-height:1.55;max-width:760px}
html[data-theme="dark"] .team-card-details .team-role{color:#a0cfce}
@media(max-width:600px){.team-avatar{height:260px}.team-card-details h3{font-size:21px}}
@media(prefers-reduced-motion:reduce){.team-avatar .team-portrait{transition:none!important}.team-card:hover .team-portrait{transform:none}}


/* Local demo brand: logo in header, footer, public introduction and first-visit splash. */
.brand-mark[data-portal-logo],.hero-brand-mark,.intro-brand-mark,.splash-brand-mark{overflow:hidden}
.demo-custom-logo{width:100%;height:100%;display:block;object-fit:contain;object-position:center}
[data-portal-logo] .brand-mark-core[hidden]{display:none}
.hero-brand-mark,.intro-brand-mark{width:29px;height:29px;flex:none;border-radius:9px;background:rgba(255,255,255,.18);color:#fff;display:flex;align-items:center;justify-content:center;font:750 19px var(--sans)}
.intro-brand-mark{background:#294a60;color:#fff;width:26px;height:26px;font-size:16px}
.hero-brand-mark .demo-custom-logo,.intro-brand-mark .demo-custom-logo{border-radius:7px;background:#fff;padding:2px}
.brand-mark .demo-custom-logo{background:var(--paper-raised);border-radius:inherit}
.brand-customize{flex:none;position:relative}
.demo-brand-dialog{width:min(490px,calc(100vw - 30px));max-height:90dvh;overflow:auto;padding:0;border:1px solid var(--line);border-radius:22px;background:var(--paper-raised);color:var(--ink);box-shadow:0 30px 90px #0005}
.demo-brand-dialog::backdrop{background:rgba(7,21,34,.72);backdrop-filter:blur(7px)}
.demo-brand-panel{padding:32px;position:relative}
.demo-brand-panel h2{font-size:29px;margin:8px 0 13px}
.demo-brand-panel p{font-size:13px;color:var(--ink-muted);line-height:1.7}
.demo-brand-close{position:absolute;right:18px;top:18px;width:35px;height:35px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);display:grid;place-items:center}
.demo-brand-label{display:block;font-size:12px;font-weight:760;margin-top:24px;margin-bottom:9px}
.demo-brand-panel input[type="file"]{width:100%;max-width:100%;font-size:12px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.demo-brand-status{min-height:24px;margin:10px 0}
.demo-brand-buttons{display:flex;flex-wrap:wrap;gap:10px}
.portal-splash{position:fixed;inset:0;z-index:200;background:linear-gradient(130deg,#13283e,#2b5664);color:#fff;align-items:center;justify-content:center;text-align:center;padding:30px}
.portal-splash[hidden]{display:none!important}
.portal-splash:not([hidden]){display:flex}
.portal-splash-inner{display:flex;align-items:center;flex-direction:column;gap:10px}
.splash-brand-mark{width:84px;height:84px;border-radius:23px;background:#34596c;color:white;display:flex;align-items:center;justify-content:center;font-size:47px;font-weight:790;margin-bottom:10px;box-shadow:0 17px 40px #0004}
.splash-brand-mark .demo-custom-logo{background:#fff;border-radius:inherit;padding:5px}
.portal-splash-inner>strong{font-size:clamp(24px,4vw,36px);letter-spacing:-.035em}
.portal-splash-inner>p{color:#c2d7df;font-size:13px}
.splash-progress{width:154px;height:3px;border-radius:3px;background:#ffffff3d;overflow:hidden;margin-top:16px}
.splash-progress>span{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:#b2e0d0;animation:firstEnterProgress 1.1s ease-out forwards}
@keyframes firstEnterProgress{to{transform:scaleX(1)}}
@media(max-width:700px){.brand-customize{width:37px;height:37px}.nav-actions{gap:6px}.demo-brand-panel{padding:28px 22px}}
@media(prefers-reduced-motion:reduce){.splash-progress>span{animation:none;transform:scaleX(1)}.demo-brand-dialog{animation:none!important}}


/* Portada: marca institucional activa en vez de panel de agenda. */
.hero-copy{padding-top:0}
.hero-identity{position:relative;isolation:isolate;align-self:center;display:grid;place-items:center;width:100%;min-height:435px;border-radius:30px;overflow:hidden;background:linear-gradient(150deg,rgba(255,255,255,.075),rgba(141,185,187,.10));border:1px solid rgba(234,247,255,.19);box-shadow:0 29px 65px rgba(6,19,32,.19)}
.hero-identity::before{content:"";position:absolute;inset:11% 13%;border:1px solid rgba(214,238,246,.18);border-radius:50%;pointer-events:none}
.hero-identity::after{content:"";position:absolute;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(177,223,216,.11),transparent 72%);pointer-events:none}
.hero-identity-orbit{position:absolute;border:1px solid rgba(207,227,236,.14);width:115%;height:64%;border-radius:50%;pointer-events:none}
.hero-identity-orbit-one{transform:rotate(-28deg)}
.hero-identity-orbit-two{transform:rotate(29deg)}
.hero-identity-plaque{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:42px 20px;gap:13px;max-width:100%}
.hero-identity-mark{display:flex;align-items:center;justify-content:center;width:clamp(170px,19vw,262px);height:clamp(170px,19vw,262px);border-radius:34px;background:rgba(255,255,255,.97);padding:22px;box-shadow:0 23px 68px rgba(0,12,29,.28);overflow:hidden;transition:transform .45s cubic-bezier(.18,.72,.3,1),box-shadow .45s}
.hero-identity-mark:hover{transform:translateY(-6px) scale(1.04);box-shadow:0 31px 85px rgba(0,12,29,.33)}
.hero-identity-mark .brand-mark-core{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.hero-identity-mark .hero-default-emblem{display:block;width:100%;height:100%;object-fit:contain}
.hero-identity-mark .demo-custom-logo{max-width:100%;max-height:100%;object-fit:contain;background:#fff;border-radius:15px}
.hero-identity-name{font-size:clamp(18px,2.1vw,25px);font-weight:780;letter-spacing:-.035em;color:#f7f9fb;margin-top:10px}
.hero-identity-description{margin:0;font-size:12px;color:#b9d0de}
html[data-theme="dark"] .hero-identity{background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(152,204,215,.09))}
@media(max-width:930px){.hero-identity{min-height:350px}.hero-identity-mark{width:175px;height:175px;border-radius:28px}}
@media(max-width:700px){.hero-identity{min-height:300px}.hero-identity-mark{width:164px;height:164px}.hero-identity-plaque{padding:30px 18px}}
@media(prefers-reduced-motion:reduce){.hero-identity-mark{transition:none}.hero-identity-mark:hover{transform:none}}

/* Guía de Nuevo Ingreso: contenido informativo, sin formularios ni enlaces oficiales simulados. */
.entry-overview{display:grid;grid-template-columns:1.08fr .92fr;gap:clamp(24px,5vw,70px);align-items:center;padding-block:70px 45px}
.entry-overview h2,.entry-rules-heading h2{font-size:clamp(33px,4vw,55px);max-width:600px;letter-spacing:-.048em;margin-bottom:22px}
.entry-overview h2 em,.entry-rules-heading h2 em{font-family:var(--serif);font-weight:400}
.entry-overview p{font-size:14px;line-height:1.9;color:var(--ink-muted);max-width:610px}
.entry-jump-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:27px}
.entry-jump-links a{display:flex;align-items:center;gap:12px;min-height:43px;padding:11px 15px;background:var(--paper-raised);border:1px solid var(--line);border-radius:12px;font-size:12px;font-weight:700;transition:transform .22s,background .22s}
.entry-jump-links a:hover{transform:translateY(-3px);background:var(--line)}
.entry-overview-aside{background:linear-gradient(140deg,#193a50,#284e5e);color:#fff;border-radius:24px;padding:38px 34px;min-height:280px;box-shadow:var(--shadow)}
.entry-overview-aside>span{font-size:10px;letter-spacing:.14em;color:#b5dfd9;font-weight:780}
.entry-overview-aside>strong{font-size:clamp(26px,3.2vw,39px);line-height:1.16;display:block;margin:22px 0 16px;letter-spacing:-.045em}
.entry-overview-aside p{color:#d0dce3;font-size:13px}
.entry-mini-stats{display:flex;gap:35px;margin-top:22px;border-top:1px solid #ffffff36;padding-top:18px}
.entry-mini-stats div{display:flex;flex-direction:column;gap:0}
.entry-mini-stats strong{font-size:26px}
.entry-mini-stats small{font-size:11px;color:#c2d0d7}
.entry-section{scroll-margin-top:135px}
.entry-section-heading{margin-bottom:28px}
.entry-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.entry-step{min-width:0;background:var(--paper-raised);border:1px solid var(--line);border-radius:19px;padding:26px 22px;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}
.entry-step:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.entry-step-num{font:400 40px var(--serif);color:#557d83}
.entry-step h3{font-size:19px;margin:20px 0 13px}
.entry-step p{font-size:12px;line-height:1.8;color:var(--ink-muted);margin-bottom:22px}
.entry-step-route{margin-top:auto;border-top:1px solid var(--line);padding-top:15px;display:flex;align-items:center;gap:9px;font-size:11px;font-weight:750;color:var(--ink);overflow-wrap:anywhere}
.entry-step-route svg{flex:none}
.entry-rules-band{background:linear-gradient(125deg,#173049,#264f60);color:#fff;padding:75px 0;margin-top:40px}
.entry-rules-layout{display:grid;grid-template-columns:.72fr 1.28fr;gap:clamp(24px,5vw,72px)}
.entry-rules-heading p{font-size:13px;line-height:1.9;color:#c8d7e0;max-width:420px}
.entry-rules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.entry-rule{display:flex;align-items:flex-start;gap:14px;padding:18px;border:1px solid #ffffff2c;background:#ffffff0d;border-radius:14px}
.entry-rule>span{font:400 22px var(--serif);color:#b1d9ce;flex:none}
.entry-rule h3{font-size:14px;margin:2px 0 9px;color:#f3f8fa}
.entry-rule p{font-size:11.5px;line-height:1.65;color:#c5d5dc;margin:0}
.entry-faq-grid{columns:2;column-gap:20px}
.entry-faq{break-inside:avoid;display:block;margin:0 0 13px;border:1px solid var(--line);background:var(--paper-raised);border-radius:16px;transition:border-color .2s,box-shadow .2s}
.entry-faq:hover,.entry-faq[open]{border-color:rgba(108,155,156,.65);box-shadow:0 11px 35px rgba(15,38,51,.06)}
.entry-faq summary{list-style:none;cursor:pointer;padding:21px 23px;position:relative;display:flex;flex-direction:column;gap:8px;padding-right:55px}
.entry-faq summary::-webkit-details-marker{display:none}
.entry-faq-category{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#62838b;font-weight:800}
.entry-faq summary strong{font-size:15px;line-height:1.5}
.entry-faq-symbol{position:absolute;right:20px;top:27px;font-size:25px;font-weight:300;line-height:1;transition:transform .2s}
.entry-faq[open] .entry-faq-symbol{transform:rotate(45deg)}
.entry-faq-answer{padding:0 23px 21px}
.entry-faq-answer p{font-size:12.5px;line-height:1.85;color:var(--ink-muted);margin:0}
.entry-site-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.entry-site{display:flex;gap:17px;padding:20px;background:var(--paper-raised);border:1px solid var(--line);border-radius:16px}
.entry-site-icon{width:43px;height:43px;flex:none;display:grid;place-items:center;background:#e2efec;border-radius:12px;color:#365e61}
.entry-site h3{font-size:17px;margin:0 0 7px}
.entry-site strong{font-size:12px;display:block;color:#52777f;margin-bottom:9px;overflow-wrap:anywhere}
.entry-site p{font-size:12px;line-height:1.65;color:var(--ink-muted);margin:0}
.entry-disclaimer{display:flex;align-items:flex-start;gap:15px;border:1px solid var(--line);border-radius:16px;padding:19px 22px;margin-top:26px;background:var(--paper-raised)}
.entry-disclaimer svg{color:#648687;flex:none}
.entry-disclaimer p{font-size:12px;color:var(--ink-muted);line-height:1.75;margin:0}
.entry-disclaimer strong{color:var(--ink)}
@media(max-width:1100px){.entry-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-rules-layout{grid-template-columns:1fr}.entry-rules-heading p{max-width:680px}}
@media(max-width:700px){.entry-overview{grid-template-columns:1fr;padding-block:48px 18px}.entry-overview-aside{padding:30px 24px;min-height:unset}.entry-steps,.entry-rules-grid,.entry-site-grid{grid-template-columns:1fr}.entry-faq-grid{columns:1}.entry-rules-band{padding:54px 0}.entry-rule{padding:17px}.entry-site{padding:17px}}
@media(prefers-reduced-motion:reduce){.entry-jump-links a,.entry-step,.entry-faq,.entry-faq-symbol{transition:none!important}.entry-step:hover{transform:none}}

/* Identidad cromática de visitante: dos colores seleccionables con texto de contraste calculado. */
html[data-custom-colors="true"] {
  --demo-primary-readable:var(--demo-primary-link-light);
  --demo-secondary-readable:var(--demo-secondary-link-light);
  --demo-primary-soft:color-mix(in srgb,var(--demo-primary) 10%,var(--paper));
  --demo-secondary-soft:color-mix(in srgb,var(--demo-secondary) 14%,var(--paper));
  --demo-decorative-border:color-mix(in srgb,var(--demo-primary) 28%,var(--line));
  accent-color:var(--demo-secondary-readable);
}
html[data-theme="dark"][data-custom-colors="true"] {
  --demo-primary-readable:var(--demo-primary-link-dark);
  --demo-secondary-readable:var(--demo-secondary-link-dark);
}
html[data-custom-colors="true"] body {background:color-mix(in srgb,var(--paper) 98%,var(--demo-primary));}
html[data-custom-colors="true"] :focus-visible {outline-color:var(--demo-secondary-readable);}
html[data-custom-colors="true"] .hero {background:var(--demo-primary);color:var(--demo-on-primary);}
html[data-custom-colors="true"] .hero h1,html[data-custom-colors="true"] .hero h1 em,
html[data-custom-colors="true"] .hero-copy>p,html[data-custom-colors="true"] .hero-caption,
html[data-custom-colors="true"] .hero-identity-name,html[data-custom-colors="true"] .hero-identity-description {color:var(--demo-on-primary);}
html[data-custom-colors="true"] .hero-identity {border-color:color-mix(in srgb,var(--demo-on-primary) 31%,transparent);background:color-mix(in srgb,var(--demo-on-primary) 8%,transparent);}
html[data-custom-colors="true"] .hero-identity::before,html[data-custom-colors="true"] .hero-identity-orbit {border-color:color-mix(in srgb,var(--demo-on-primary) 24%,transparent);}
html[data-custom-colors="true"] .hero-identity::after {background:radial-gradient(circle,color-mix(in srgb,var(--demo-secondary) 24%,transparent),transparent 75%);}
html[data-custom-colors="true"] .hero-identity-mark {box-shadow:0 24px 64px rgba(0,0,0,.17);}
html[data-custom-colors="true"] .hero-identity-mark:hover {box-shadow:0 29px 80px rgba(0,0,0,.22);}
html[data-custom-colors="true"] .site-nav a[aria-current="page"]::after {background:var(--demo-secondary-readable);}
html[data-custom-colors="true"] .brand-mark,html[data-custom-colors="true"] .nav-cta,
html[data-custom-colors="true"] .button-dark {background:var(--demo-primary);color:var(--demo-on-primary);}
html[data-custom-colors="true"] .nav-cta:hover,html[data-custom-colors="true"] .button-dark:hover {background:var(--demo-primary);filter:brightness(.94);}
html[data-custom-colors="true"] .button-light,html[data-custom-colors="true"] .round-arrow {background:var(--demo-secondary);color:var(--demo-on-secondary);}
html[data-custom-colors="true"] .button-light:hover,html[data-custom-colors="true"] .round-arrow:hover {background:var(--demo-secondary);filter:brightness(.95);}
html[data-custom-colors="true"] .button-outline {border-color:var(--demo-on-primary);color:var(--demo-on-primary);background:transparent;}
html[data-custom-colors="true"] .button-outline:hover {background:color-mix(in srgb,var(--demo-on-primary) 12%,transparent);}
html[data-custom-colors="true"] .section-heading h2 em,
html[data-custom-colors="true"] .about-lead h2 em,html[data-custom-colors="true"] .page-intro h1 em,
html[data-custom-colors="true"] .demo-profile-heading h1 em,html[data-custom-colors="true"] .entry-overview h2 em,
html[data-custom-colors="true"] .intro-brand-mark,html[data-custom-colors="true"] .team-role,
html[data-custom-colors="true"] .entry-site strong,html[data-custom-colors="true"] .entry-faq-category,
html[data-custom-colors="true"] .micro-label,html[data-custom-colors="true"] .breadcrumb,
html[data-custom-colors="true"] .news-card h3 a:hover,html[data-custom-colors="true"] .card-more:hover,
html[data-custom-colors="true"] .demo-subhead button,html[data-custom-colors="true"] .demo-subhead a,
html[data-custom-colors="true"] .contact-method svg,html[data-custom-colors="true"] .event-date span,
html[data-custom-colors="true"] .event-arrow,html[data-custom-colors="true"] .entry-step-num,
html[data-custom-colors="true"] .entry-disclaimer svg {color:var(--demo-secondary-readable);}
html[data-custom-colors="true"] .intro-brand-mark {background:var(--demo-primary);color:var(--demo-on-primary);}
html[data-custom-colors="true"] .entry-site-icon,html[data-custom-colors="true"] .procedure-icon {background:var(--demo-secondary-soft);color:var(--demo-secondary-readable);}
html[data-custom-colors="true"] .entry-faq:hover,html[data-custom-colors="true"] .entry-faq[open],
html[data-custom-colors="true"] .note-card:hover,html[data-custom-colors="true"] .team-card:hover,
html[data-custom-colors="true"] .procedure-card:hover {border-color:var(--demo-decorative-border);}
html[data-custom-colors="true"] .feature-band {background:var(--demo-secondary-soft);color:var(--ink);}
html[data-custom-colors="true"] .feature-note {border-color:var(--demo-decorative-border);}
html[data-custom-colors="true"] .feature-note span:first-child,html[data-custom-colors="true"] .feature-copy .eyebrow,
html[data-custom-colors="true"] .feature-copy h2 em {color:var(--demo-secondary-readable);}
html[data-custom-colors="true"] .feature-note strong,html[data-custom-colors="true"] .feature-copy h2 {color:var(--ink);}
html[data-custom-colors="true"] .feature-note p,html[data-custom-colors="true"] .feature-copy p {color:var(--ink-muted);}
html[data-custom-colors="true"] .note-featured,html[data-custom-colors="true"] .contact-banner-inner,
html[data-custom-colors="true"] .entry-rules-band,html[data-custom-colors="true"] .entry-overview-aside,
html[data-custom-colors="true"] .site-footer,html[data-custom-colors="true"] .portal-splash {background:var(--demo-primary);color:var(--demo-on-primary);}
html[data-custom-colors="true"] .note-featured h3,html[data-custom-colors="true"] .note-featured p,
html[data-custom-colors="true"] .note-featured .note-top small,html[data-custom-colors="true"] .note-featured .note-more,
html[data-custom-colors="true"] .contact-banner h2,html[data-custom-colors="true"] .contact-banner h2 em,
html[data-custom-colors="true"] .contact-banner p,html[data-custom-colors="true"] .entry-rules-heading h2,
html[data-custom-colors="true"] .entry-rules-heading p,html[data-custom-colors="true"] .entry-rules-heading .eyebrow,
html[data-custom-colors="true"] .entry-rule h3,html[data-custom-colors="true"] .entry-rule p,
html[data-custom-colors="true"] .entry-rule>span,html[data-custom-colors="true"] .entry-overview-aside>span,
html[data-custom-colors="true"] .entry-overview-aside>strong,html[data-custom-colors="true"] .entry-overview-aside p,
html[data-custom-colors="true"] .entry-mini-stats small,html[data-custom-colors="true"] .site-footer .brand-copy strong,
html[data-custom-colors="true"] .site-footer .brand-copy small,html[data-custom-colors="true"] .site-footer .footer-links>span,
html[data-custom-colors="true"] .site-footer .footer-links a,html[data-custom-colors="true"] .site-footer .footer-bottom,
html[data-custom-colors="true"] .site-footer .footer-motto,html[data-custom-colors="true"] .portal-splash-inner>p {color:var(--demo-on-primary);}
html[data-custom-colors="true"] .entry-rule {background:color-mix(in srgb,var(--demo-on-primary) 6%,transparent);border-color:color-mix(in srgb,var(--demo-on-primary) 24%,transparent);}
html[data-custom-colors="true"] .entry-mini-stats {border-color:color-mix(in srgb,var(--demo-on-primary) 24%,transparent);}
html[data-custom-colors="true"] .contact-banner-inner::after {color:color-mix(in srgb,var(--demo-on-primary) 8%,transparent);}
html[data-custom-colors="true"] .site-footer .brand-mark {background:var(--demo-secondary);color:var(--demo-on-secondary);}
html[data-custom-colors="true"] .site-footer .footer-bottom {border-color:color-mix(in srgb,var(--demo-on-primary) 24%,transparent);}
html[data-custom-colors="true"] .notification-read,html[data-custom-colors="true"] .demo-profile-nav button[aria-current="page"] {background:var(--demo-secondary-soft);color:var(--demo-secondary-readable);}
html[data-custom-colors="true"] .bell-count {background:var(--demo-secondary);color:var(--demo-on-secondary);border-color:var(--paper-raised);}
html[data-custom-colors="true"] .notification-dot,.demo-palette-field input[type="color"] {accent-color:var(--demo-secondary-readable);}
html[data-custom-colors="true"] .notification-dot {background:var(--demo-secondary-readable);box-shadow:0 0 0 4px var(--demo-secondary-soft);}
html[data-custom-colors="true"] .entry-site,.entry-faq,.entry-step,.procedure-card,.news-card,.team-card {border-color:var(--line);}
html[data-custom-colors="true"] .entry-step:hover {border-color:var(--demo-decorative-border);}
html[data-custom-colors="true"] .entry-rules-band .eyebrow {color:var(--demo-on-primary);}
html[data-custom-colors="true"] .splash-progress>span {background:var(--demo-secondary);}
html[data-custom-colors="true"] .entry-site strong {font-weight:800;}
/* Color selection shares the existing local logo customization dialog. */
.demo-palette-editor {border-top:1px solid var(--line);margin-top:30px;padding-top:24px;}
.demo-palette-editor h3 {font-size:20px;margin:0 0 8px;}
.demo-palette-editor>p {font-size:12px;line-height:1.65;color:var(--ink-muted);}
.demo-palette-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:19px 0;}
.demo-palette-field {display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--line);background:var(--paper);border-radius:14px;min-width:0;}
.demo-palette-field>span {font-size:12px;font-weight:800;color:var(--ink);}
.demo-palette-field input[type="color"] {cursor:pointer;display:block;width:100%;height:58px;border:1px solid var(--line);background:var(--paper-raised);border-radius:10px;padding:4px;}
.demo-palette-field input[type="color"]:focus-visible {outline-color:var(--demo-secondary-readable,var(--ink));}
.demo-palette-field small {font-size:10px;line-height:1.5;color:var(--ink-muted);}
.demo-palette-status {min-height:22px;margin:0 0 10px;font-size:11px;font-weight:700;color:var(--ink);}
@media(max-width:430px){.demo-palette-grid{grid-template-columns:1fr;}.demo-palette-field input[type="color"]{height:45px;}}
@media(prefers-reduced-motion:reduce){html[data-custom-colors="true"] .hero,html[data-custom-colors="true"] .contact-banner-inner {transition:none!important;}}


/* Exhaustive text adaptation on colored surfaces when a visitor selects a very pale brand. */
html[data-custom-colors="true"] .site-footer .footer-top p,
html[data-custom-colors="true"] .site-footer .footer-demo-label,
html[data-custom-colors="true"] .site-footer .footer-bottom span,
html[data-custom-colors="true"] .site-footer .footer-motto span,
html[data-custom-colors="true"] .site-footer .footer-links a:hover,
html[data-custom-colors="true"] .site-footer .brand-copy small,
html[data-custom-colors="true"] .entry-mini-stats strong,
html[data-custom-colors="true"] .entry-mini-stats small,
html[data-custom-colors="true"] .entry-rules-heading h2 em,
html[data-custom-colors="true"] .entry-rules-heading .eyebrow,
html[data-custom-colors="true"] .contact-banner p,
html[data-custom-colors="true"] .contact-banner h2 em {
  color:var(--demo-on-primary);
}
html[data-custom-colors="true"] .demo-ribbon {
  background:var(--demo-secondary-soft);
  color:var(--ink);
}
html[data-custom-colors="true"] .ribbon-dot {background:var(--demo-secondary-readable);}
html[data-custom-colors="true"] .nav-notification .hero-bell[aria-expanded="true"],
html[data-custom-colors="true"] .profile-access[aria-current="page"] {
  border-color:var(--demo-decorative-border);
  background:var(--demo-secondary-soft);
}
html[data-custom-colors="true"] .entry-faq[open] .entry-faq-symbol {color:var(--demo-secondary-readable);}
html[data-custom-colors="true"] .site-footer .footer-links a:hover {text-decoration:underline;}


/* Demostración institucional: selector de contextos y módulos configurados por datos. */
.demo-ribbon { flex-wrap:wrap; column-gap:6px; row-gap:4px; }
.demo-institution-picker { display:inline-flex; align-items:center; gap:8px; margin-left:16px; font-size:11px; font-weight:700; }
.demo-institution-picker select { max-width:min(290px,80vw); min-height:32px; border:1px solid #8cac9e; border-radius:8px; padding:4px 26px 4px 8px; color:#264b42; background:#f5faf6; font-size:11px; }
.demo-institution-picker select:focus-visible { outline:3px solid #254b70; }
.home-entry { display:grid; grid-template-columns:1.2fr .8fr; align-items:center; gap:45px; padding:65px 0; border-top:1px solid var(--line); }
.home-entry h2 { font-size:clamp(34px,4vw,54px); max-width:600px; }
.home-entry p { color:var(--ink-muted); max-width:560px; }
.home-entry .button { margin-top:12px; }
.home-entry-steps { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.home-entry-steps span { background:var(--paper-raised); border:1px solid var(--line); border-radius:16px; padding:20px; font-weight:700; font-size:12px; box-shadow:var(--shadow); }
.home-service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.home-service-grid article { background:var(--paper-raised); border:1px solid var(--line); border-radius:18px; padding:25px; min-width:0; }
.home-service-grid h3 { font-size:20px; margin:12px 0; }
.home-service-grid p { color:var(--ink-muted); font-size:13px; }
.home-service-grid a { font-size:12px; font-weight:780; color:var(--ink); display:inline-flex; gap:7px; align-items:center; }
.demo-catalog-tools { display:flex; flex-wrap:wrap; align-items:end; gap:15px; margin:0 0 26px; }
.demo-catalog-tools label { display:flex; flex-direction:column; gap:6px; color:var(--ink-muted); font-size:12px; font-weight:700; flex:1 1 215px; }
.demo-catalog-tools input,.demo-catalog-tools select { width:100%; min-height:46px; padding:10px 13px; border:1px solid var(--line); border-radius:12px; background:var(--paper-raised); color:var(--ink); font:inherit; }
.demo-catalog-tools [data-catalog-count] { font-size:12px; color:var(--ink-muted); padding-bottom:12px; }
[data-catalog-card][hidden], [data-catalog-empty][hidden] { display:none!important; }
[data-catalog-card] { min-width:0; }
[data-demo-catalog] .news-grid>[data-catalog-card]>.news-card { height:100%; }
.catalog-empty { border:1px dashed var(--line); background:var(--paper-raised); border-radius:14px; padding:30px; text-align:center; color:var(--ink-muted); }
.event-more { padding:0 0 15px; grid-column:2 / -1; color:var(--ink); }
.event-more summary { font-size:12px; font-weight:750; cursor:pointer; padding:8px 0; }
.event-more[open] summary { margin-bottom:10px; }
.event-more p { color:var(--ink-muted); font-size:12px; margin:5px 0; }
.event-more small { color:var(--ink-muted); }
.entry-checklist { display:grid; grid-template-columns:1fr 1.1fr; gap:26px; background:var(--paper-raised); border:1px solid var(--line); border-radius:22px; padding:28px; margin-top:30px; }
.entry-checklist h3 { font-size:23px; margin:10px 0; }
.entry-checklist p { font-size:13px; color:var(--ink-muted); }
.entry-checklist progress { width:100%; height:12px; accent-color:var(--demo-primary,var(--navy)); }
.entry-checklist-items { display:grid; gap:11px; }
.entry-checklist-items label { display:flex; align-items:center; gap:12px; border:1px solid var(--line); border-radius:12px; padding:11px 15px; font-size:13px; font-weight:650; cursor:pointer; }
.entry-checklist-items input { width:18px; height:18px; accent-color:var(--demo-primary,var(--navy)); }
@media(max-width:930px) {
  .home-entry { grid-template-columns:1fr; gap:24px; }
  .home-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .entry-checklist { grid-template-columns:1fr; }
}
@media(max-width:600px) {
  .demo-ribbon { padding:8px 10px; }
  .demo-institution-picker { margin-left:0; width:100%; justify-content:center; }
  .demo-institution-picker select { max-width:min(260px,67vw); }
  .home-service-grid,.home-entry-steps { grid-template-columns:1fr; }
  .home-entry { padding-block:45px; }
  .entry-checklist { padding:19px; }
  .demo-catalog-tools { display:grid; grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce){
  .home-service-grid article,.home-entry-steps span { transition:none!important; animation:none!important; }
}


/* Las dos vistas comparten composición; la Facultad suma un único bloque con subsecciones. */
.faculty-careers { padding-block:65px 75px; }
.faculty-careers .section-heading { margin-bottom:28px; }
.faculty-careers-stack { display:grid; gap:15px; }
.faculty-career-subsection {
  display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);
  gap:30px; align-items:center; padding:28px 32px; border-radius:20px;
  border:1px solid var(--line); background:var(--paper-raised);
  box-shadow:var(--shadow);
}
.faculty-career-leading { display:grid; gap:12px; }
.faculty-career-number { font-size:11px; letter-spacing:.14em; color:var(--ink-muted); font-weight:750; }
.faculty-career-leading h3 { font-size:clamp(23px,2.8vw,34px); margin:0; }
.faculty-career-details { padding-left:28px; border-left:1px solid var(--line); }
.faculty-career-details p { font-size:14px; margin-bottom:14px; color:var(--ink-muted); }
.faculty-career-focus { font-size:12px; color:var(--ink); display:grid; gap:4px; }
.faculty-career-focus strong { font-size:10px; text-transform:uppercase; letter-spacing:.12em; color:var(--ink-muted); }
.faculty-careers-disclaimer { margin:17px 0 0; font-size:11px; color:var(--ink-muted); }
@media(max-width:700px) {
  .faculty-careers { padding-block:45px 55px; }
  .faculty-career-subsection { grid-template-columns:1fr; gap:14px; padding:21px; }
  .faculty-career-details { border-left:0; border-top:1px solid var(--line); padding:15px 0 0; }
}

/* Acceso directo a la sección Carreras exclusivo de la Web de Facultad. */
.site-nav .nav-careers-link,.site-nav .nav-schedule-link { font-weight:800; color:var(--ink); }
.faculty-careers { scroll-margin-top:118px; }
@media(min-width:931px) and (max-width:1050px) {
  .nav-primary { gap:7px; }
  .nav-cta { display:none; }
}


/* Transparent custom logos must not inherit the opaque fallback-brand plaque.
   The raster normalization already writes PNG with its original alpha channel.
   Scope these overrides to a logo actually chosen by the visitor. */
[data-portal-logo].has-custom-logo,
html[data-custom-colors="true"] [data-portal-logo].has-custom-logo,
html[data-custom-colors="true"] .site-footer [data-portal-logo].has-custom-logo {
  background:transparent!important;
  background-image:none!important;
}
[data-portal-logo].has-custom-logo .demo-custom-logo,
html[data-custom-colors="true"] [data-portal-logo].has-custom-logo .demo-custom-logo {
  display:block;
  object-fit:contain;
  background:transparent!important;
  background-image:none!important;
  padding:0!important;
  border-radius:0;
}
.hero-identity-mark.has-custom-logo,
html[data-custom-colors="true"] .hero-identity-mark.has-custom-logo {
  padding:0;
  box-shadow:none;
  border-radius:0;
}
.hero-identity-mark.has-custom-logo:hover,
html[data-custom-colors="true"] .hero-identity-mark.has-custom-logo:hover {
  box-shadow:none;
}
.splash-brand-mark.has-custom-logo {
  box-shadow:none;
}


/* Career demo: semester/parallel timetable, deliberately confined to one public route. */
.timetable-page{padding-top:45px;padding-bottom:90px}
.timetable-controls{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:24px;padding:25px;background:var(--paper-raised);border:1px solid var(--line);border-radius:18px}
.timetable-controls label{display:flex;flex-direction:column;gap:8px;min-width:170px;font-size:12px;font-weight:750;color:var(--ink)}
.timetable-controls select{height:44px;padding:0 36px 0 13px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);font:inherit;font-size:13px}
.timetable-selection{margin-left:auto;max-width:300px;font-size:12px;line-height:1.6;font-weight:700;color:var(--ink-muted)}
.timetable-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:18px;background:var(--paper-raised)}
.timetable-scroll:focus-visible,.calendar-scroll:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.timetable-grid{width:100%;min-width:940px;border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:left}
.timetable-grid caption{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
.timetable-grid thead th{padding:19px 12px;border-bottom:1px solid var(--line);background:var(--paper);color:var(--ink);font-size:12px;font-weight:760}
.timetable-grid thead th:first-child{width:110px}
.timetable-grid tbody th{background:var(--paper);border-bottom:1px solid var(--line);vertical-align:top;padding:18px 12px;color:var(--ink);font-size:12px}
.timetable-grid tbody th strong,.timetable-grid tbody th span{display:block}
.timetable-grid tbody th span{margin-top:5px;color:var(--ink-muted);font-size:11px}
.timetable-grid td{border-bottom:1px solid var(--line);border-left:1px solid var(--line);padding:7px;vertical-align:top}
.timetable-grid tbody tr:last-child th,.timetable-grid tbody tr:last-child td{border-bottom:0}
.timetable-class{min-height:114px;padding:14px 12px;border-radius:12px;background:color-mix(in srgb,var(--ink) 5%,var(--paper-raised));display:flex;flex-direction:column;gap:7px}
.timetable-class strong{color:var(--ink);font-size:12px;line-height:1.38;overflow-wrap:anywhere}
.timetable-class span,.timetable-class small{color:var(--ink-muted);font-size:11px;line-height:1.4}
.timetable-class small{margin-top:auto}
.timetable-note,.calendar-note{font-size:12px;line-height:1.75;color:var(--ink-muted);margin:17px 0 0}

/* Reusable public Agenda: a true month grid, filters and a native accessible dialog. */
.calendar-page{padding-top:46px;padding-bottom:95px}
.calendar-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;flex-wrap:wrap;margin-bottom:24px}
.calendar-month-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.calendar-month-controls h2{font-size:clamp(22px,3vw,33px);font-weight:780;line-height:1.25;min-width:188px;margin:0 5px;text-transform:capitalize;color:var(--ink)}
.calendar-month-controls button{display:grid;place-items:center;width:39px;height:39px;border:1px solid var(--line);border-radius:11px;background:var(--paper-raised);color:var(--ink);cursor:pointer}
.calendar-month-controls [data-calendar-prev] svg{transform:rotate(180deg)}
.calendar-month-controls .calendar-today{width:auto;padding:0 15px;font-size:12px;font-weight:750}
.calendar-month-controls button:hover,.calendar-month-controls button:focus-visible{border-color:var(--ink)}
.calendar-filters{display:flex;gap:11px;flex-wrap:wrap}
.calendar-filters label{display:flex;flex-direction:column;gap:6px;color:var(--ink-muted);font-size:11px;font-weight:750}
.calendar-filters input,.calendar-filters select{height:40px;min-width:170px;max-width:240px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:var(--paper-raised);color:var(--ink);font-size:12px}
.calendar-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:20px;background:var(--paper-raised)}
.calendar-grid{min-width:750px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));}
.calendar-weekday{padding:14px 6px;text-align:center;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted);background:var(--paper);border-bottom:1px solid var(--line)}
.calendar-date{min-height:111px;padding:11px 8px;display:flex;align-items:flex-start;flex-direction:column;gap:7px;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
.calendar-date:nth-child(7n){border-right:0}
.calendar-date.is-outside{background:color-mix(in srgb,var(--ink) 2%,var(--paper-raised))}
.calendar-date.is-outside .calendar-day-number{opacity:.35}
.calendar-day-number{font-size:12px;font-weight:800;color:var(--ink);padding-left:4px}
.calendar-date.has-events .calendar-day-number{color:var(--ink);border-radius:7px}
.calendar-event{width:100%;border:1px solid transparent;border-radius:8px;padding:7px 8px;text-align:left;background:color-mix(in srgb,var(--ink) 10%,var(--paper-raised));color:var(--ink);font-size:11px;line-height:1.35;font-weight:700;cursor:pointer;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}
.calendar-event:hover,.calendar-event:focus-visible{border-color:var(--ink);background:color-mix(in srgb,var(--ink) 14%,var(--paper-raised))}
.calendar-agenda-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:34px 0 15px}
.calendar-agenda-heading h3{font-size:22px;margin:0}
.calendar-agenda-heading span{font-size:12px;font-weight:750;color:var(--ink-muted)}
.calendar-agenda-list{display:grid;gap:10px}
.calendar-agenda-item{width:100%;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:18px;text-align:left;border:1px solid var(--line);background:var(--paper-raised);border-radius:15px;padding:14px 18px;cursor:pointer;color:var(--ink)}
.calendar-agenda-item:hover,.calendar-agenda-item:focus-visible{border-color:var(--ink);transform:translateY(-1px)}
.calendar-agenda-day{display:grid;place-items:center;width:56px;height:56px;background:var(--paper);border-radius:12px;font-size:24px;font-weight:800}
.calendar-agenda-item strong{display:block;font-size:14px;margin-bottom:6px}
.calendar-agenda-item small{display:block;color:var(--ink-muted);font-size:11px;line-height:1.4}
.calendar-agenda-kind{border:1px solid var(--line);border-radius:999px;padding:7px 11px;font-size:11px;color:var(--ink-muted);white-space:nowrap}
.calendar-no-events{padding:25px;border:1px dashed var(--line);border-radius:14px;color:var(--ink-muted);font-size:13px}
.calendar-info-dialog{width:min(550px,calc(100vw - 28px));max-height:88dvh;padding:0;border:1px solid var(--line);border-radius:22px;background:var(--paper-raised);color:var(--ink);box-shadow:0 25px 90px rgba(0,0,0,.32);overflow:auto}
.calendar-info-dialog:not([open]){display:none}
.calendar-info-dialog::backdrop{background:rgba(5,17,28,.72);backdrop-filter:blur(4px)}
.calendar-info-panel{position:relative;padding:35px}
.calendar-info-panel h2{font-size:clamp(25px,3vw,36px);line-height:1.2;margin:16px 0 23px;color:var(--ink)}
.calendar-info-panel>p{color:var(--ink-muted);font-size:14px;line-height:1.75;margin:20px 0}
.calendar-info-panel>small{display:block;border-top:1px solid var(--line);padding-top:15px;color:var(--ink-muted);font-size:11px}
.calendar-info-close{position:absolute;top:19px;right:19px;display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);cursor:pointer}
.calendar-info-facts{display:grid;gap:12px;margin:0}
.calendar-info-facts>div{border:1px solid var(--line);border-radius:11px;padding:12px 14px}
.calendar-info-facts dt{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.11em;color:var(--ink-muted);margin-bottom:6px}
.calendar-info-facts dd{margin:0;font-size:13px;font-weight:700;line-height:1.55;overflow-wrap:anywhere}
@media(max-width:760px){
 .timetable-page,.calendar-page{padding-top:24px;padding-bottom:60px}
 .timetable-controls{padding:18px;gap:12px}
 .timetable-selection{margin-left:0;width:100%}
 .calendar-month-controls{width:100%}
 .calendar-month-controls h2{min-width:0;flex:1;text-align:center}
 .calendar-filters,.calendar-filters label{width:100%}
 .calendar-filters input,.calendar-filters select{width:100%;max-width:none}
 .calendar-agenda-item{grid-template-columns:50px minmax(0,1fr);padding:12px;gap:12px}
 .calendar-agenda-kind{grid-column:2;justify-self:start}
 .calendar-agenda-day{width:47px;height:47px;font-size:19px}
 .calendar-info-panel{padding:27px 23px}
}
@media(prefers-reduced-motion:reduce){.calendar-agenda-item,.calendar-month-controls button{transition:none!important;transform:none!important}}

/* View switching: an explicit, keyboard-accessible link supplements the selector. */
.demo-ribbon .demo-view-switch{display:inline-flex;align-items:center;gap:5px;margin-left:9px;padding:6px 10px;border:1px solid #8cac9e;border-radius:8px;color:#24433c;background:#f5faf6;font-size:11px;font-weight:780;text-decoration:none}
.demo-ribbon .demo-view-switch:hover,.demo-ribbon .demo-view-switch:focus-visible{border-color:#24433c;outline-offset:3px}
@media(max-width:650px){.demo-ribbon .demo-view-switch{margin-left:0;font-size:10px}}

/* 2026: calm motion language across both public demo variants. */
.hero-immersive{position:relative;isolation:isolate;overflow:hidden;background-size:170% 170%;animation:portalAmbientGradient 28s ease-in-out infinite alternate;}
.hero-immersive .hero-inner{position:relative;z-index:1}
.hero-atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.hero-glow{position:absolute;display:block;width:min(65vw,700px);aspect-ratio:1;border-radius:50%;filter:blur(28px);opacity:.24;will-change:transform;animation:portalAmbientFloat 24s ease-in-out infinite alternate}
.hero-glow-one{top:-53%;left:-18%;background:radial-gradient(circle,rgba(157,221,210,.38),transparent 67%)}
.hero-glow-two{bottom:-77%;right:-10%;background:radial-gradient(circle,rgba(120,155,224,.29),transparent 65%);animation-delay:-12s;animation-direction:alternate-reverse}
.hero-light-trace{position:absolute;left:46%;top:-65%;height:230%;width:1px;background:linear-gradient(180deg,transparent,rgba(255,255,255,.12),transparent);transform:rotate(22deg);opacity:.55}
.hero-identity-orbit-one{animation:heroOrbitalOne 30s ease-in-out infinite alternate}
.hero-identity-orbit-two{animation:heroOrbitalTwo 34s ease-in-out infinite alternate-reverse}
.hero-identity-entrance{animation:heroLogoArrival 1.05s cubic-bezier(.17,.84,.3,1) both;animation-delay:.25s}
.hero-stagger{animation:heroTextEntrance .8s cubic-bezier(.2,.78,.25,1) both}
.hero-stagger-title{animation-delay:.08s}
.hero-stagger-lead{animation-delay:.2s}
.hero-stagger-actions{animation-delay:.34s}
.hero-stagger-caption{animation-delay:.47s}
.hero-identity-mark:not(.has-custom-logo){transition:transform .5s cubic-bezier(.17,.78,.28,1),box-shadow .5s}
.hero-identity-mark:not(.has-custom-logo):hover{transform:translateY(-6px) scale(1.035) rotate(-1deg)}
@keyframes portalAmbientGradient{from{background-position:0 30%}to{background-position:100% 75%}}
@keyframes portalAmbientFloat{from{transform:translate3d(-3%,1%,0) scale(.95)}to{transform:translate3d(13%,-8%,0) scale(1.09)}}
@keyframes heroOrbitalOne{from{transform:rotate(-28deg) scale(.98)}to{transform:rotate(-19deg) scale(1.08)}}
@keyframes heroOrbitalTwo{from{transform:rotate(29deg) scale(1)}to{transform:rotate(37deg) scale(.95)}}
@keyframes heroLogoArrival{from{opacity:0;transform:translateY(25px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes heroTextEntrance{from{opacity:0;transform:translateY(19px)}to{opacity:1;transform:translateY(0)}}
html[data-custom-colors="true"] .hero-glow-one{background:radial-gradient(circle,color-mix(in srgb,var(--demo-secondary) 34%,transparent),transparent 67%)}
html[data-custom-colors="true"] .hero-glow-two{background:radial-gradient(circle,color-mix(in srgb,var(--demo-on-primary) 18%,transparent),transparent 68%)}
#app.portal-route-animate>main{animation:portalPageEnter .35s ease-out both}
@keyframes portalPageEnter{from{opacity:.78;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.motion-reveal{transition:opacity .65s ease,transform .7s cubic-bezier(.16,.8,.28,1);opacity:0;transform:translateY(23px)}
.motion-reveal.motion-inview{opacity:1;transform:translateY(0)}

/* Editorial cards: one clear lead article with supporting news at its side. */
.news-grid-editorial{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:stretch}
.news-grid-editorial>.news-card-featured,.news-grid-editorial>[data-catalog-card].catalog-featured{grid-row:span 2}
.news-grid-editorial>[data-catalog-card]{min-width:0}
.news-grid-editorial .news-card{height:100%}
.news-grid-editorial .news-card-featured{background:var(--paper-raised);border:1px solid var(--line);border-radius:19px;padding-bottom:19px;overflow:hidden}
.news-card-featured .news-visual{min-height:265px;height:clamp(265px,30vw,392px)}
.news-card-featured h3{font-size:clamp(22px,2.3vw,31px);line-height:1.28;letter-spacing:-.03em}
.news-featured-flag{position:absolute;top:16px;left:15px;background:rgba(12,36,48,.84);color:white;font-size:10px;font-weight:800;letter-spacing:.09em;border-radius:6px;padding:7px 10px;z-index:4}
.news-card-featured .news-meta,.news-card-featured h3,.news-card-featured>p,.news-card-featured .card-more{margin-inline:20px}
.news-card .story-thumb{transition:transform .55s cubic-bezier(.17,.77,.26,1),filter .45s ease}
.news-card:hover .story-thumb,.news-card:focus-within .story-thumb{transform:scale(1.065);filter:saturate(1.07)}
.news-card,.note-card{transition:transform .35s cubic-bezier(.2,.75,.3,1),box-shadow .35s ease,border-color .25s}
.note-card::after{content:"";position:absolute;inset:auto 18px 12px;height:1px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--ink) 22%,transparent),transparent);opacity:0;transition:opacity .3s}
.note-card:hover::after,.note-card:focus-within::after{opacity:1}
.story-dialog[open] .story-dialog-body{animation:portalPageEnter .3s ease-out both}

/* Faculty: three visual personalities with native expand/collapse cards. */
.faculty-career-subsection{display:block;padding:0;overflow:hidden;transition:box-shadow .3s,transform .3s,border-color .25s}
.faculty-career-subsection:hover{transform:translateY(-4px);box-shadow:0 18px 52px rgba(7,29,43,.1)}
.career-design-1{--career-accent:#447b8b;--career-wash:rgba(68,123,139,.15)}
.career-design-2{--career-accent:#8765a5;--career-wash:rgba(135,101,165,.15)}
.career-design-3{--career-accent:#b27f46;--career-wash:rgba(178,127,70,.15)}
.career-accordion{width:100%}
.career-accordion-summary{list-style:none;display:grid;grid-template-columns:95px minmax(0,1fr) auto;gap:22px;align-items:center;padding:29px;cursor:pointer;min-width:0}
.career-accordion-summary::-webkit-details-marker{display:none}
.career-accordion-summary:focus-visible{outline:3px solid var(--career-accent);outline-offset:-4px}
.career-symbol{display:grid;place-items:center;min-width:74px;height:85px;border-radius:17px;background:var(--career-wash);color:var(--career-accent);font-size:42px;font-weight:520}
.career-summary-description{display:block;color:var(--ink-muted);font-size:13px;line-height:1.55;max-width:650px}
.career-duration{display:inline-flex;margin-top:3px;width:max-content;padding:6px 12px;border-radius:999px;background:var(--career-wash);color:var(--ink);font-size:11px;font-weight:800}
.career-expand-label{font-size:11px;font-weight:790;color:var(--ink-muted);display:flex;gap:10px;align-items:center}
.career-expand-label>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;font-size:18px;transition:transform .3s,background .3s}
.career-accordion[open] .career-expand-label>span{transform:rotate(45deg);background:var(--career-wash)}
.career-expanded-content{display:grid;grid-template-columns:1fr 1.15fr;gap:30px;border-top:1px solid var(--line);padding:29px;animation:careerReveal .35s ease-out both}
.career-expanded-content .faculty-career-details{border-left:3px solid var(--career-accent);padding-left:19px}
.career-curriculum h4{margin:0 0 5px;font-size:19px;color:var(--ink)}
.career-curriculum>p{margin:0 0 16px;font-size:11px;line-height:1.5;color:var(--ink-muted)}
.career-curriculum ol{padding:0;margin:0;list-style:none;display:grid;gap:8px}
.career-curriculum li{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:11px;background:var(--paper);padding:11px 13px}
.career-curriculum li>span{color:var(--career-accent);font-size:11px;font-weight:800}
.career-curriculum li>strong{color:var(--ink);font-size:12px;font-weight:700;line-height:1.4}
@keyframes careerReveal{from{opacity:.3;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}

/* Career: subject tones, clickable cells and a detail panel. */
.timetable-grid .timetable-class{width:100%;min-height:114px;text-align:left;border:1px solid transparent;cursor:pointer;transition:transform .25s,border-color .25s,box-shadow .25s}
.timetable-class[data-subject-tone="1"]{--course-tint:#538b8c}
.timetable-class[data-subject-tone="2"]{--course-tint:#8070b8}
.timetable-class[data-subject-tone="3"]{--course-tint:#b9784d}
.timetable-class[data-subject-tone="4"]{--course-tint:#6489b5}
.timetable-class[data-subject-tone="5"]{--course-tint:#7e9d62}
.timetable-class[data-subject-tone="6"]{--course-tint:#b47296}
.timetable-grid .timetable-class{border-left:4px solid var(--course-tint);background:color-mix(in srgb,var(--course-tint) 12%,var(--paper-raised))}
.timetable-class:hover,.timetable-class:focus-visible{transform:translateY(-3px);border-color:var(--course-tint);box-shadow:0 8px 18px rgba(10,30,43,.12);outline-offset:2px}
.timetable-refresh .timetable-class{animation:timetableCellReveal .32s cubic-bezier(.17,.8,.3,1) both}
.timetable-refresh tr:nth-child(2) .timetable-class{animation-delay:.05s}
.timetable-refresh tr:nth-child(3) .timetable-class{animation-delay:.1s}
.timetable-refresh tr:nth-child(4) .timetable-class{animation-delay:.15s}
@keyframes timetableCellReveal{from{opacity:.45;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.class-info-dialog{width:min(510px,calc(100vw - 24px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:23px;background:var(--paper-raised);color:var(--ink);box-shadow:0 30px 95px rgba(0,0,0,.3);padding:0}
.class-info-dialog:not([open]){display:none}
.class-info-dialog::backdrop{background:rgba(7,19,33,.7);backdrop-filter:blur(5px)}
.class-info-panel{padding:37px;position:relative}
.class-info-panel h2{font-size:clamp(26px,3vw,36px);margin:17px 40px 25px 0;line-height:1.2}
.class-info-close{position:absolute;right:22px;top:21px;display:grid;place-items:center;width:39px;height:39px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);cursor:pointer}
.class-info-panel dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:0 0 20px}
.class-info-panel dl>div{border:1px solid var(--line);border-radius:12px;padding:14px}
.class-info-panel dt{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-muted)}
.class-info-panel dd{margin:6px 0 0;color:var(--ink);font-size:13px;font-weight:750}
.class-info-panel p{font-size:11px;line-height:1.7;color:var(--ink-muted)}

/* Shared events: identifiable category hues, accessible today and immersive details. */
.calendar-date.is-today{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--ink) 48%,transparent);background:color-mix(in srgb,var(--ink) 5%,var(--paper-raised))}
.calendar-date.is-today .calendar-day-number{border-radius:50%;background:var(--ink);color:var(--paper);width:27px;height:27px;display:grid;place-items:center}
.tone-participation{--event-accent:#368a85;--event-soft:rgba(54,138,133,.16)}
.tone-orientation{--event-accent:#6e80b8;--event-soft:rgba(110,128,184,.16)}
.tone-community{--event-accent:#a4774c;--event-soft:rgba(164,119,76,.16)}
.tone-neutral{--event-accent:#74858d;--event-soft:rgba(116,133,141,.14)}
.calendar-event{background:var(--event-soft);border-left:3px solid var(--event-accent);color:var(--ink)}
.calendar-event:hover,.calendar-event:focus-visible{background:color-mix(in srgb,var(--event-accent) 25%,var(--paper-raised))}
.calendar-agenda-item{border-left:4px solid var(--event-accent)}
.calendar-agenda-kind{background:var(--event-soft);border:0;color:var(--ink);font-weight:750}
.calendar-refresh{animation:calendarMonthReveal .32s ease-out both}
@keyframes calendarMonthReveal{from{opacity:.6;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.calendar-info-panel{padding:0 32px 31px}
.calendar-info-art{height:155px;margin:0 -32px 29px;position:relative;overflow:hidden;background:linear-gradient(125deg,#18364e,#477c87 55%,#b1bab6)}
.calendar-info-dialog[data-event-tone="orientation"] .calendar-info-art{background:linear-gradient(125deg,#202f5a,#7388bc,#a6bed7)}
.calendar-info-dialog[data-event-tone="community"] .calendar-info-art{background:linear-gradient(125deg,#4c3a35,#a97d57,#d3b899)}
.calendar-info-art::before{content:"";position:absolute;left:-8%;top:-70%;width:300px;height:300px;border:1px solid #ffffff55;border-radius:50%}
.calendar-art-ring{position:absolute;right:-70px;bottom:-160px;width:330px;height:330px;border:1px solid #ffffff55;border-radius:50%;box-shadow:0 0 0 34px #ffffff13,0 0 0 80px #ffffff0c}
.calendar-art-glyph{position:absolute;top:21px;right:30px;color:#ffffffbe;font-size:65px}
.calendar-art-label{position:absolute;bottom:19px;left:30px;color:#fff;font-size:10px;font-weight:800;letter-spacing:.17em}
.calendar-info-panel .calendar-info-close{top:17px;right:17px;background:rgba(255,255,255,.94);color:#1e3045;z-index:2}
.calendar-download{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;border:1px solid var(--line);border-radius:11px;padding:13px 17px;background:var(--ink);color:var(--paper);font-size:12px;font-weight:800;cursor:pointer;margin:22px 0 12px}
.calendar-download:hover,.calendar-download:focus-visible{filter:brightness(1.16)}
@media(max-width:900px){
 .news-grid-editorial{grid-template-columns:repeat(2,minmax(0,1fr))}
 .career-accordion-summary{grid-template-columns:70px 1fr auto;gap:14px;padding:22px}
 .career-symbol{min-width:62px;height:72px;font-size:36px}
}
@media(max-width:650px){
 .news-grid-editorial{grid-template-columns:minmax(0,1fr)}
 .news-grid-editorial>.news-card-featured,.news-grid-editorial>[data-catalog-card].catalog-featured{grid-row:auto}
 .news-card-featured .news-visual{min-height:240px;height:260px}
 .career-accordion-summary{grid-template-columns:55px 1fr;gap:12px;padding:18px}
 .career-symbol{min-width:49px;height:60px;font-size:30px}
 .career-expand-label{grid-column:2;justify-self:start}
 .career-expanded-content{grid-template-columns:1fr;gap:22px;padding:20px}
 .class-info-panel{padding:27px 23px}
 .class-info-panel dl{grid-template-columns:1fr}
 .calendar-info-panel{padding:0 22px 23px}
 .calendar-info-art{margin:0 -22px 23px}
}
@media(prefers-reduced-motion:reduce){
 .hero-immersive,.hero-glow,.hero-identity-orbit,.hero-identity-entrance,.hero-stagger,.portal-route-animate>main,
 .motion-reveal,.news-card,.note-card,.timetable-refresh .timetable-class,.calendar-refresh,.career-expanded-content,
 .hero-identity-mark,.timetable-class,.calendar-agenda-item{animation:none!important;transition:none!important;transform:none!important}
 .motion-reveal{opacity:1!important}
}

/* Identidad editorial por audiencia: mantiene el logo y los colores personalizados. */
html[data-portal-audience="faculty"]{--audience-accent:#c0a271;--audience-soft:rgba(192,162,113,.16)}
html[data-portal-audience="career"]{--audience-accent:#4cc7c4;--audience-soft:rgba(76,199,196,.14)}
html[data-portal-audience="faculty"]:not([data-custom-colors="true"]) .hero{background:linear-gradient(127deg,#17283d 1%,#283e55 53%,#5d5660 100%);background-size:175% 175%}
html[data-portal-audience="career"]:not([data-custom-colors="true"]) .hero{background:linear-gradient(125deg,#092e42 0%,#15576b 48%,#217d78 100%);background-size:170% 170%}
html[data-portal-audience="faculty"] .hero-glow-one{background:radial-gradient(circle,rgba(241,195,113,.38),transparent 67%)}
html[data-portal-audience="career"] .hero-glow-one{background:radial-gradient(circle,rgba(94,236,216,.33),transparent 67%)}
html[data-portal-audience="faculty"] .hero-identity{border-color:rgba(219,192,147,.33)}
html[data-portal-audience="career"] .hero-identity{border-color:rgba(121,226,219,.28)}
html[data-portal-audience="faculty"] .hero-identity-orbit{border-color:rgba(228,202,152,.31)}
html[data-portal-audience="career"] .hero-identity-orbit{border-color:rgba(99,218,208,.29)}
html[data-portal-audience="faculty"] .hero-caption .caption-dash{background:#e3c88c}
html[data-portal-audience="career"] .hero-caption .caption-dash{background:#79e4d7}
html[data-portal-audience="faculty"] .brand-mark{outline:1px solid rgba(192,162,113,.23);outline-offset:2px}
html[data-portal-audience="career"] .brand-mark{outline:1px solid rgba(76,199,196,.25);outline-offset:2px}
html[data-portal-audience="faculty"] .site-nav a[aria-current="page"]::after{background:#a78451}
html[data-portal-audience="career"] .site-nav a[aria-current="page"]::after{background:#148c93}
html[data-portal-audience="faculty"] .page-intro{background:linear-gradient(120deg,var(--paper),color-mix(in srgb,#d4bd94 8%,var(--paper)))}
html[data-portal-audience="career"] .page-intro{background:linear-gradient(120deg,var(--paper),color-mix(in srgb,#4cc7c4 9%,var(--paper)))}
html[data-portal-audience="faculty"] .page-intro h1 em{color:#b28d58}
html[data-portal-audience="career"] .page-intro h1 em{color:#21999a}
html[data-theme="dark"][data-portal-audience="career"] .page-intro h1 em{color:#78cfcb}
html[data-theme="dark"][data-portal-audience="faculty"] .page-intro h1 em{color:#dfc490}
html[data-portal-audience] .feature-note{border-top:3px solid var(--audience-accent)}
html[data-portal-audience] .feature-band .eyebrow{letter-spacing:.13em}
html[data-portal-audience="faculty"] .hero h1{letter-spacing:-.052em}
html[data-portal-audience="career"] .hero h1{letter-spacing:-.064em}
html[data-portal-audience="career"] .hero .hero-actions .button-light{background:#e0faf5;color:#113f46}
html[data-portal-audience="faculty"] .hero .hero-actions .button-light{background:#f8f0df;color:#273b4d}
html[data-custom-colors="true"] .hero .hero-actions .button-light{background:var(--demo-on-primary);color:var(--demo-primary)}
/* Search in shared navigation; dialog doesn't rely on external services. */
.portal-search-trigger{display:flex;align-items:center;gap:7px;flex:none;min-height:39px;padding:0 10px;border:1px solid var(--line);background:var(--paper-raised);border-radius:11px;color:var(--ink);font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}
.portal-search-trigger:hover,.portal-search-trigger:focus-visible{border-color:var(--ink);box-shadow:0 5px 19px rgba(19,40,55,.1)}
.portal-search-trigger kbd{border:1px solid var(--line);padding:4px 5px;border-radius:5px;color:var(--ink-muted);font:600 10px var(--sans);background:var(--paper)}
.portal-search-dialog{width:min(680px,calc(100vw - 22px));max-height:min(88dvh,760px);padding:0;background:var(--paper-raised);color:var(--ink);border:1px solid var(--line);border-radius:21px;box-shadow:0 28px 100px rgba(4,20,32,.35);overflow:auto}
.portal-search-dialog:not([open]){display:none}
.portal-search-dialog::backdrop{background:rgba(3,18,32,.7);backdrop-filter:blur(5px)}
.portal-search-panel{padding:24px 26px 20px}
.portal-search-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.portal-search-heading button{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;border:1px solid var(--line);background:var(--paper);color:var(--ink);cursor:pointer}
.portal-search-panel h2{font-size:clamp(23px,4vw,34px);letter-spacing:-.045em;margin:12px 0 20px}
.portal-search-field{display:flex;align-items:center;gap:11px;border:1px solid var(--line);background:var(--paper);border-radius:13px;padding:0 14px;min-height:54px;color:var(--ink-muted)}
.portal-search-field:focus-within{outline:2px solid var(--ink);outline-offset:2px}
.portal-search-field input{border:0;outline:0;background:transparent;flex:1;min-width:0;height:52px;color:var(--ink);font:500 14px var(--sans)}
.portal-search-summary{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:15px 0 13px;color:var(--ink-muted);font-size:11px}
.portal-search-summary small{font-size:10px}
.portal-search-results{display:grid;gap:16px;max-height:380px;overflow:auto;overscroll-behavior:contain;padding:2px}
.portal-search-group h3{color:var(--ink-muted);font-size:10px;text-transform:uppercase;letter-spacing:.13em;margin:9px 0 7px}
.portal-search-result{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 13px;border-radius:12px;color:var(--ink);text-decoration:none;transition:background .2s,transform .2s}
.portal-search-result:hover,.portal-search-result:focus-visible{background:var(--paper);transform:translateX(3px)}
.portal-search-result>span:first-child{display:grid;gap:5px;min-width:0}
.portal-search-result strong{font-size:13px;line-height:1.4}
.portal-search-result small{color:var(--ink-muted);font-size:11px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.portal-result-arrow{flex:none;color:var(--ink-muted)}
.portal-search-empty{padding:30px 13px;color:var(--ink-muted);font-size:13px}
.portal-search-disclaimer{border-top:1px solid var(--line);margin:16px 0 0;padding-top:14px;font-size:10px;line-height:1.55;color:var(--ink-muted)}
/* Campus tour: large editorial photography alternating with narrative stages. */
.tour-page{padding-top:36px;padding-bottom:86px}
.tour-intro{display:grid;grid-template-columns:1.4fr .65fr;gap:55px;align-items:center;padding-block:35px 55px}
.tour-intro h2{font-size:clamp(30px,4vw,48px);letter-spacing:-.05em;line-height:1.14;margin:15px 0 12px;color:var(--ink)}
.tour-intro p{color:var(--ink-muted);max-width:660px;line-height:1.75;font-size:14px}
.tour-intro-aside{display:grid;gap:16px;border-left:3px solid var(--audience-accent);padding-left:25px}
.tour-intro-aside span{color:var(--ink-muted);font-size:11px;text-transform:uppercase;font-weight:750;letter-spacing:.1em}
.tour-intro-aside strong{font-size:18px;line-height:1.5;color:var(--ink)}
.tour-stages{display:grid;gap:42px}
.tour-stage{display:grid;grid-template-columns:1.17fr .83fr;align-items:center;gap:clamp(25px,5vw,80px);min-height:340px}
.tour-stage-reverse .tour-image-action{order:2}
.tour-stage-reverse .tour-stage-copy{order:1}
.tour-image-action{position:relative;display:block;width:100%;aspect-ratio:1.5/1;overflow:hidden;border:0;border-radius:24px;background:var(--line);cursor:pointer;padding:0;text-align:left}
.tour-image-action img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.16,.8,.3,1),filter .4s}
.tour-image-action:hover img,.tour-image-action:focus-visible img{transform:scale(1.045);filter:saturate(1.1)}
.tour-image-action:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.tour-image-badge{position:absolute;top:15px;left:15px;border-radius:8px;background:rgba(12,28,41,.74);color:#fff;padding:9px 11px;font-size:9px;font-weight:790;letter-spacing:.1em}
.tour-image-expand{position:absolute;right:16px;bottom:16px;padding:12px 16px;border-radius:11px;background:rgba(252,252,250,.93);color:#1a3244;font-size:12px;font-weight:780}
.tour-stage-kicker{display:inline-flex;color:var(--ink-muted);font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.tour-stage-copy h3{color:var(--ink);font-size:clamp(28px,3.6vw,46px);line-height:1.18;letter-spacing:-.045em;margin:15px 0 18px}
.tour-stage-copy p{font-size:14px;line-height:1.75;color:var(--ink-muted)}
.tour-stage-copy .tour-stage-detail{font-size:12px;line-height:1.8}
.tour-stage-link{display:inline-flex;align-items:center;gap:9px;border:0;background:none;border-bottom:1px solid var(--audience-accent);padding:10px 0;font-size:12px;font-weight:800;color:var(--ink);cursor:pointer}
.tour-stage-link:hover,.tour-stage-link:focus-visible{gap:14px}
.tour-endnote{margin-top:53px;border-top:1px solid var(--line);padding-top:24px;display:flex;gap:30px;align-items:center}
.tour-endnote strong{font-size:14px;color:var(--ink);min-width:175px}
.tour-endnote p{font-size:12px;color:var(--ink-muted);line-height:1.6;max-width:720px}
.tour-dialog{padding:0;border:1px solid var(--line);background:var(--paper-raised);color:var(--ink);border-radius:23px;width:min(920px,calc(100vw - 24px));max-height:90dvh;overflow:auto;box-shadow:0 25px 100px rgba(0,0,0,.38)}
.tour-dialog:not([open]){display:none}
.tour-dialog::backdrop{background:rgba(4,18,31,.8);backdrop-filter:blur(5px)}
.tour-dialog-layout{display:grid;grid-template-columns:1.1fr .9fr;min-height:400px;position:relative}
.tour-dialog-photo{position:relative;min-height:380px;background:var(--line)}
.tour-dialog-photo img{width:100%;height:100%;display:block;object-fit:cover;position:absolute;inset:0}
.tour-dialog-photo>span{position:absolute;bottom:16px;left:15px;color:#fff;background:rgba(9,27,40,.8);border-radius:7px;padding:8px 10px;font-size:9px;font-weight:780;letter-spacing:.07em}
.tour-dialog-copy{padding:47px 37px;display:flex;flex-direction:column;justify-content:center}
.tour-dialog-copy h2{font-size:clamp(27px,4vw,41px);letter-spacing:-.05em;line-height:1.18;margin:15px 0 12px}
.tour-dialog-copy p{font-size:13px;line-height:1.75;color:var(--ink-muted);margin:10px 0}
.tour-dialog-copy small{font-size:10px;margin-top:18px;border-top:1px solid var(--line);padding-top:14px;color:var(--ink-muted)}
.tour-dialog-close{position:absolute;z-index:3;top:17px;right:17px;width:39px;height:39px;border-radius:50%;border:1px solid var(--line);background:var(--paper);color:var(--ink);cursor:pointer;display:grid;place-items:center}
/* Make the existing mobile menu a composed navigation drawer without losing controls. */
@media(max-width:1100px){.portal-search-trigger kbd{display:none}.portal-search-trigger>span{display:none}.portal-search-trigger{width:39px;justify-content:center;padding:0}}
@media(max-width:930px){
  .nav-shell{position:relative;min-height:72px;height:auto;padding-block:9px}
  .site-nav{position:absolute;top:100%;left:0;right:0;z-index:60;max-height:min(75dvh,740px);overflow:auto;border-radius:0 0 22px 22px;padding:20px 18px;background:var(--paper-raised);box-shadow:0 20px 48px rgba(8,28,42,.2)}
  .site-nav.is-open{display:flex}
  .site-nav .nav-primary a,.site-nav .nav-mobile-extras a{border-radius:10px;min-height:49px;padding:13px 17px;font-weight:720;font-size:14px}
  .site-nav .nav-primary a[aria-current="page"],.site-nav .nav-mobile-extras a[aria-current="page"]{background:var(--audience-soft);border-left:3px solid var(--audience-accent)}
  .nav-mobile-extras{border-top:1px solid var(--line);margin-top:12px;padding-top:13px}
  .site-nav .nav-primary,.site-nav .nav-mobile-extras{gap:3px}
  .tour-intro{gap:23px}
  .tour-stage{gap:25px}
}
@media(max-width:650px){
  .shell{width:calc(100% - 28px)}
  .nav-shell{gap:7px;min-height:64px}
  .brand-copy strong{font-size:clamp(12px,3.8vw,15px);max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .brand-copy small{display:none}
  .nav-actions{gap:3px}
  .nav-actions .icon-button,.nav-actions .hero-bell,.portal-search-trigger{width:34px;height:35px;min-height:35px;padding:0}
  .brand-mark{width:34px;height:34px;flex:none}
  .profile-access{width:34px;min-height:35px;padding:0;justify-content:center}
  .profile-access span{display:none}
  .demo-ribbon{gap:5px 8px;padding:7px 10px}
  .demo-institution-picker{width:auto;max-width:100%;margin:0}
  .demo-institution-picker select{max-width:190px;font-size:10px;min-height:33px}
  .demo-ribbon .demo-view-switch{font-size:10px;min-height:32px;margin:0}
  .hero-inner{padding-top:46px;padding-bottom:35px}
  .hero-copy h1{font-size:clamp(39px,10vw,56px);line-height:1.11}
  .hero-copy>p{font-size:14px;line-height:1.65}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:12px}
  .hero-actions .button{width:100%;justify-content:center}
  .hero-identity{min-height:240px}
  .hero-identity-mark{width:125px;height:125px}
  .hero-identity-name{font-size:17px}
  .page-intro{padding-top:45px;padding-bottom:42px}
  .page-intro h1{font-size:clamp(36px,10vw,55px)}
  .section{padding-top:54px;padding-bottom:52px}
  .section-heading{gap:15px;align-items:start}
  .section-heading h2{font-size:clamp(29px,8vw,39px)}
  .news-grid-editorial,.announcements-grid{gap:16px}
  .news-card .news-visual{min-height:205px}
  .calendar-scroll{overflow-x:visible}
  .calendar-grid{min-width:0!important;grid-template-columns:repeat(7,minmax(0,1fr))}
  .calendar-weekday{font-size:9px;padding:9px 0}
  .calendar-date{min-height:62px;padding:6px 2px;gap:5px;align-items:center}
  .calendar-day-number{font-size:11px}
  .calendar-event{font-size:0!important;width:12px;height:12px;min-height:12px;max-height:12px;padding:0;border-radius:50%;border:2px solid var(--event-accent);background:var(--event-accent);overflow:hidden}
  .calendar-date.is-today .calendar-day-number{width:24px;height:24px}
  .calendar-agenda-heading{margin-top:25px}
  .tour-page{padding-top:5px;padding-bottom:52px}
  .tour-intro{grid-template-columns:1fr;gap:18px;padding-block:24px 30px}
  .tour-intro-aside{padding-left:17px;gap:8px}
  .tour-stages{gap:32px}
  .tour-stage{display:flex;flex-direction:column;gap:18px;min-height:0;align-items:stretch}
  .tour-stage .tour-image-action{order:0;aspect-ratio:1.4/1;border-radius:17px}
  .tour-stage .tour-stage-copy{order:1}
  .tour-image-expand{font-size:11px;padding:9px 11px}
  .tour-stage-copy h3{font-size:29px;margin:9px 0}
  .tour-stage-copy p{font-size:12px}
  .tour-endnote{display:block;margin-top:39px;padding-top:18px}
  .tour-dialog-layout{grid-template-columns:1fr}
  .tour-dialog-photo{min-height:260px;height:270px}
  .tour-dialog-copy{padding:25px 22px}
  .portal-search-dialog{width:calc(100vw - 14px);max-height:91dvh;border-radius:15px}
  .portal-search-panel{padding:18px 15px}
  .portal-search-results{max-height:56dvh}
}
@media(max-width:390px){
 .brand-copy strong{max-width:100px;font-size:12px}
 .nav-actions .nav-notification{display:none}
 .demo-institution-picker select{max-width:150px}
 .tour-image-badge{font-size:8px;padding:7px 8px}
}
@media(prefers-reduced-motion:reduce){
 .tour-image-action img,.portal-search-result,.tour-stage-link{animation:none!important;transition:none!important;transform:none!important}
}

.audience-showcase{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,.8fr);gap:20px;align-items:stretch;padding-block:56px 30px}
.audience-showcase-main{position:relative;padding:clamp(26px,4vw,47px);border-radius:24px;overflow:hidden;background:var(--paper-raised);border:1px solid var(--line)}
.audience-showcase-main::before{content:"";position:absolute;right:-56px;top:-100px;width:250px;height:250px;border:1px solid var(--audience-accent);opacity:.35;border-radius:50%;pointer-events:none}
.audience-showcase-main h2{font-size:clamp(30px,3.2vw,44px);letter-spacing:-.05em;line-height:1.15;margin:18px 0;color:var(--ink)}
.audience-showcase-main h2 em{color:var(--audience-accent);font-style:normal}
.audience-showcase-main p{color:var(--ink-muted);font-size:13px;line-height:1.8;max-width:520px;margin-bottom:24px}
.audience-showcase-main .button{position:relative}
.audience-showcase-link{position:relative;display:flex;flex-direction:column;justify-content:end;gap:15px;padding:33px;border-radius:24px;background:linear-gradient(147deg,#22394c,#142839);text-decoration:none;color:#fff!important;min-height:250px;overflow:hidden;transition:transform .3s ease}
html[data-portal-audience="career"] .audience-showcase-link{background:linear-gradient(138deg,#10465a,#176b72)}
html[data-portal-audience="faculty"] .audience-showcase-link{background:linear-gradient(138deg,#27354c,#544955)}
.audience-showcase-link::before{content:"";position:absolute;right:-30%;top:-60%;height:360px;width:360px;border-radius:50%;border:1px solid rgba(255,255,255,.23);box-shadow:0 0 0 48px rgba(255,255,255,.04)}
.audience-showcase-link span{position:relative;font-size:10px;font-weight:800;letter-spacing:.16em;color:#f0e8d8}
.audience-showcase-link strong{position:relative;font-size:clamp(24px,2.5vw,31px);letter-spacing:-.045em;line-height:1.2}
.audience-showcase-link small{position:relative;font-size:11px;font-weight:750;color:#d4e5eb}
.audience-showcase-link:hover,.audience-showcase-link:focus-visible{transform:translateY(-5px)}
.timetable-mobile-view{display:none}
.timetable-mobile-view label{display:grid;gap:10px;margin:0 0 18px;color:var(--ink);font-size:12px;font-weight:750}
.timetable-mobile-view select{height:43px;padding:0 13px;border-radius:10px;border:1px solid var(--line);color:var(--ink);background:var(--paper-raised);font:inherit}
.timetable-day-list{display:grid;gap:10px}
.timetable-day-card{width:100%;display:grid;grid-template-columns:75px minmax(0,1fr) 20px;align-items:center;gap:11px;text-align:left;min-height:80px;padding:14px 13px;border-radius:14px;border:1px solid var(--line);border-left:4px solid var(--course-tint,#6b8995);color:var(--ink);background:color-mix(in srgb,var(--course-tint,#6b8995) 8%,var(--paper-raised));cursor:pointer}
.timetable-day-card:hover,.timetable-day-card:focus-visible{border-color:var(--course-tint);box-shadow:0 8px 20px rgba(6,27,40,.1)}
.timetable-day-card .timetable-day-hour{font-size:10px;font-weight:800;line-height:1.65;color:var(--ink-muted)}
.timetable-day-card .timetable-day-copy{display:grid;gap:7px;min-width:0}
.timetable-day-card strong{font-size:13px;line-height:1.4}
.timetable-day-card small{font-size:11px;line-height:1.5;color:var(--ink-muted)}
.timetable-day-card[data-subject-tone="1"]{--course-tint:#538b8c}
.timetable-day-card[data-subject-tone="2"]{--course-tint:#8070b8}
.timetable-day-card[data-subject-tone="3"]{--course-tint:#b9784d}
.timetable-day-card[data-subject-tone="4"]{--course-tint:#6489b5}
.timetable-day-card[data-subject-tone="5"]{--course-tint:#7e9d62}
.timetable-day-card[data-subject-tone="6"]{--course-tint:#b47296}
@media(max-width:930px){.audience-showcase{grid-template-columns:1fr;gap:15px}}
@media(max-width:700px){
 .audience-showcase{padding-top:22px;padding-bottom:12px}
 .audience-showcase-main{padding:25px 22px}
 .audience-showcase-link{min-height:200px;padding:26px}
 .timetable-scroll{display:none}
 .timetable-mobile-view{display:block}
 .timetable-controls{margin-bottom:17px}
}
@media(max-width:390px){
 .nav-actions .nav-notification{display:block}
 .nav-actions .profile-access{display:none}
}
@media(prefers-reduced-motion:reduce){.audience-showcase-link,.timetable-day-card{transition:none!important;transform:none!important}}

/* A failed remote photograph becomes a stable, locally hosted illustration. */
.photo-fallback-used{object-fit:cover!important;object-position:center!important;background:#dbe7e6}
.team-avatar .photo-fallback-used{object-position:center!important}
.tour-image-action .photo-fallback-used,.tour-dialog-photo .photo-fallback-used,
.news-visual .photo-fallback-used,.story-dialog-image .photo-fallback-used{filter:none}
