:root {
  color-scheme: dark;
  --bg: #06262d;
  --bg-soft: #0a343a;
  --surface: #0d3d43;
  --surface-raised: #124a4e;
  --surface-quiet: #082f35;
  --ink: #f6f4ec;
  --text-secondary: #c3d2cc;
  --text-muted: #8fa9a7;
  --border: #2c5a5e;
  --border-strong: #4d7a7b;
  --teal: #24ad97;
  --blue: #2b7ba7;
  --wine: #8c2647;
  --orange: #e3822d;
  --yellow: #e6b74c;
  --on-teal: #062723;
  --focus: #f3c455;
  --content-max: 1280px;
  --reading-max: 740px;
  --radius-control: 4px;
  --radius-panel: 8px;
  --shadow: 0 18px 42px rgb(0 20 24 / 20%);
  /* Não use tempos soltos: controles e trocas de rota precisam parecer parte do mesmo portal. */
  --motion-xs: 120ms;
  --motion-sm: 180ms;
  --motion-md: 300ms;
  --motion-lg: 480ms;
  --motion-xl: 680ms;
  --motion-press: 160ms;
  --motion-feedback: 220ms;
  --motion-structure: 440ms;
  --motion-emphasis: 620ms;
  --motion-hero: 820ms;
  --motion-page: 520ms;
  --motion-stagger: 90ms;
  --motion-instant: var(--motion-xs);
  --motion-fast: var(--motion-sm);
  --motion-base: var(--motion-md);
  --motion-medium: var(--motion-lg);
  --motion-slow: var(--motion-xl);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);
  --ease-enter: var(--ease-out);
  --ease-exit: var(--ease-in);
  --ease-emphasized: cubic-bezier(.22, 1, .36, 1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f1e8;
  --bg-soft: #e6ece7;
  --surface: #fbfaf4;
  --surface-raised: #ffffff;
  --surface-quiet: #eaf1ed;
  --ink: #12363d;
  --text-secondary: #48666a;
  --text-muted: #6c8585;
  --border: #b8cfca;
  --border-strong: #87a9a4;
  --teal: #087d6d;
  --blue: #17688e;
  --wine: #8a2445;
  --orange: #bf601f;
  --yellow: #a97814;
  --on-teal: #ffffff;
  --focus: #8b5e05;
  --shadow: 0 16px 38px rgb(18 55 61 / 10%);
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scrollbar-color: var(--border-strong) var(--bg); }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--bg); font-family: Inter, Arial, sans-serif; line-height: 1.55; }
body.dialog-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { color: #06262d; background: var(--yellow); }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 9px 13px; color: #06262d; background: var(--yellow); font-weight: 800; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.topbar { position: sticky; z-index: 20; top: 0; display: grid; grid-template-columns: minmax(142px, 1fr) auto minmax(142px, 1fr); align-items: center; gap: 18px; min-height: 70px; padding: 9px clamp(16px, 3.5vw, 54px); border-bottom: 1px solid var(--border); background: var(--bg); }
.document-progress { position: fixed; z-index: 25; top: 0; left: 0; width: 100%; height: 3px; background: var(--teal); opacity: 0; pointer-events: none; transform: scaleX(0); transform-origin: left; transition: opacity var(--motion-fast) var(--ease-standard); }
.document-route .document-progress { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .document-route .document-progress {
    animation: simitec-document-progress linear both;
    animation-timeline: scroll(root block);
  }
}
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; color: var(--ink); font-family: Outfit, Inter, sans-serif; text-decoration: none; }
.brand img { width: 42px; height: 42px; background: var(--surface); }
.brand span { display: grid; }
.brand strong { font-size: 1.04rem; font-weight: 900; letter-spacing: .01em; }
.brand small { display: none; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.4vw, 22px); }
.main-nav a { position: relative; display: inline-flex; min-height: 43px; align-items: center; gap: 6px; color: var(--text-secondary); font-size: .84rem; font-weight: 800; text-decoration: none; }
.main-nav a svg { display: none; }
.main-nav a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; background: var(--teal); content: ""; transform: scaleX(0); transform-origin: left; transition: transform var(--motion-feedback) var(--ease-out); }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active::after, .main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.button, .icon-button, .menu-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border); border-radius: var(--radius-control); color: var(--ink); background: transparent; font-weight: 800; text-decoration: none; transition: border-color var(--motion-feedback) var(--ease-standard), background var(--motion-feedback) var(--ease-standard), color var(--motion-feedback) var(--ease-standard), transform var(--motion-feedback) var(--ease-out); }
.button { min-height: 44px; padding: 0 15px; }
.button:hover { transform: translateY(-1px); }
.button.primary { border-color: var(--teal); color: var(--on-teal); background: var(--teal); }
.button.primary:hover { border-color: var(--yellow); background: var(--yellow); color: #1d2a27; }
.button.secondary:hover, .icon-button:hover, .menu-button:hover { border-color: var(--blue); background: var(--surface); }
.button:disabled { cursor: not-allowed; color: var(--text-muted); opacity: .72; transform: none; }
.button.small { min-height: 44px; padding: 0 12px; font-size: .85rem; }
.button svg, .icon-button svg, .menu-button svg { width: 17px; height: 17px; }
.icon-button, .menu-button { width: 44px; height: 44px; padding: 0; }
.menu-button { display: none; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; width: fit-content; color: var(--ink); font-size: .95rem; font-weight: 800; text-decoration: none; }
.text-link svg { width: 18px; height: 18px; transition: transform var(--motion-feedback) var(--ease-out); }
.text-link:hover { color: var(--blue); }
.text-link:hover svg { transform: translate(2px, -2px); }

main { min-height: 58vh; }
@supports (overflow: clip) { main { overflow-x: clip; } }
.app-loading .footer { display: none; }
.content { width: min(var(--content-max), calc(100% - 40px)); margin: 0 auto; }
.content-band { padding: clamp(62px, 8vw, 118px) 0; }
.noscript-message { width: min(var(--content-max), calc(100% - 40px)); margin: 30px auto; border-block: 1px solid var(--border-strong); padding: 16px 0; background: var(--surface); }
.not-found-content { display: grid; justify-items: start; gap: 22px; max-width: 620px; color: var(--text-secondary); font-size: 1.04rem; line-height: 1.65; }
h1, h2, h3 { margin: 0; font-family: Outfit, Inter, sans-serif; font-weight: 800; line-height: 1.04; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 10vw, 6.4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 6vw, 3.9rem); }
h3 { font-size: 1.16rem; }
p { margin: 0; text-wrap: pretty; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.credits-photo figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: grid; gap: 2px; padding: 12px 14px; color: #fff; background: rgb(6 30 34 / 90%); font-size: .73rem; }

.page-heading { border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.page-heading-grid { display: grid; gap: 24px; padding: clamp(50px, 7vw, 86px) 0 clamp(38px, 5vw, 66px); }
.page-heading h1 { max-width: 860px; font-size: clamp(2.7rem, 7vw, 4.5rem); }
.page-heading-note { display: grid; gap: 9px; max-width: 510px; border-top: 1px solid var(--border-strong); padding-top: 14px; color: var(--text-secondary); }
.page-heading-note span { color: var(--teal); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.page-heading--editorial { background: var(--surface-quiet); }

.faq-group + .faq-group { margin-top: 50px; }
.faq-group h2 { margin-bottom: 12px; font-size: clamp(1.45rem, 4.5vw, 2rem); }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-question { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; border: 0; padding: 20px 0; color: var(--ink); background: transparent; font-weight: 800; text-align: left; }
.faq-question:hover { color: var(--blue); }
.faq-question svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--teal); transition: transform var(--motion-feedback) var(--ease-out); }
.faq-question[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-answer { max-width: 780px; padding: 0 42px 23px 0; color: var(--text-secondary); }
.support-page { border-top: 1px solid var(--border); background: var(--bg); }
.support-layout { display: grid; gap: clamp(38px, 5vw, 76px); padding: clamp(48px, 6.3vw, 82px) 0 clamp(44px, 5.5vw, 72px); }
.support-intro { max-width: 540px; }
.support-intro h1 { max-width: 520px; color: var(--ink); font-size: clamp(2.9rem, 5.1vw, 5rem); }
.support-lead { max-width: 480px; margin-top: 17px; color: var(--text-secondary); font-size: clamp(1rem, 1.22vw, 1.12rem); line-height: 1.62; }
.support-intro .button { margin-top: 26px; }
.support-chat-note { display: flex; gap: 8px; max-width: 480px; margin-top: 18px; color: var(--text-muted); font-size: .86rem; line-height: 1.52; }
.support-chat-note svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; color: var(--teal); }
.support-chat-status { max-width: 480px; margin: 12px 0 0; color: var(--text-secondary); font-size: .9rem; }
[data-open-support][aria-busy="true"] { cursor: wait; opacity: .72; transform: none; }
.support-topics { min-width: 0; }
.support-topics > .eyebrow { margin-bottom: 13px; }
.support-topic-list { display: grid; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.support-topic-list li { min-width: 0; border-bottom: 1px solid var(--border); }
.support-topic-list a, .support-topic-list button { display: grid; grid-template-columns: minmax(0, 1fr) 20px; width: 100%; align-items: center; gap: 16px; border: 0; padding: 18px 0; color: var(--ink); background: transparent; text-align: left; text-decoration: none; transition: color var(--motion-feedback) var(--ease-standard), transform var(--motion-structure) var(--ease-out), background-color var(--motion-feedback) var(--ease-standard); }
.support-topic-list span { display: grid; gap: 4px; min-width: 0; }
.support-topic-list strong { color: var(--ink); font-family: Outfit, Inter, sans-serif; font-size: 1.06rem; font-weight: 800; line-height: 1.2; }
.support-topic-list small { color: var(--text-secondary); font-size: .84rem; line-height: 1.48; }
.support-topic-list svg { width: 17px; height: 17px; color: var(--teal); transition: transform var(--motion-feedback) var(--ease-out), color var(--motion-feedback) var(--ease-standard); }
.support-other-toggle { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; margin-top: 15px; border: 0; padding: 0; color: var(--blue); background: transparent; font-size: .9rem; font-weight: 800; }
.support-other-toggle svg { width: 17px; height: 17px; transition: transform var(--motion-sm) var(--ease-out); }
.support-other-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.support-other-topics { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows var(--motion-structure) var(--ease-out), opacity var(--motion-feedback) var(--ease-standard); }
.support-other-topics.is-expanded { grid-template-rows: 1fr; opacity: 1; }
.support-other-topics-inner { min-height: 0; overflow: hidden; }
.support-topic-list--secondary { margin-top: 15px; }
.support-email-band { border-top: 1px solid var(--border); padding: clamp(28px, 3.5vw, 44px) 0 clamp(38px, 4vw, 52px); background: var(--surface-quiet); outline: 0; }
.support-email-layout { display: grid; gap: 24px; }
.support-email-layout h2 { margin: 6px 0 9px; font-size: clamp(1.55rem, 3vw, 2.35rem); }
.support-email-layout > div:first-child > p:not(.eyebrow) { max-width: 480px; color: var(--text-secondary); font-size: .93rem; }
.support-email-actions { display: grid; align-content: end; gap: 13px; }
.support-email-actions .text-link { color: var(--blue); font-size: 1rem; overflow-wrap: anywhere; }
.support-email-actions > p { color: var(--text-muted); font-size: .79rem; }
.support-email-actions > p a { color: var(--text-secondary); font-weight: 800; text-underline-offset: 3px; overflow-wrap: anywhere; }

.credits-band { background: var(--surface-quiet); }
.credits-layout { display: grid; gap: 32px; }
.credits-photo { position: relative; min-height: 280px; margin: 0; overflow: hidden; background: var(--surface); }
.credits-photo img { width: 100%; min-height: 280px; height: 100%; object-fit: cover; }
.credits-logo { width: 72px; margin: 0 0 20px; }
.credits-layout h2 { max-width: 650px; }
.credits-layout > div > p:not(.eyebrow) { max-width: 680px; margin-top: 17px; color: var(--text-secondary); }
.credits-layout .text-link { margin-top: 22px; color: var(--blue); }

.footer { padding: 56px max(20px, calc((100vw - 1280px) / 2)); color: #b8cdca; background: #04242b; }
.footer-grid { display: grid; gap: 29px; }
.footer section { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-brand { max-width: 360px; }
.footer-logo { width: 52px; height: 52px; margin-bottom: 4px; }
.footer h2 { color: #f6f4ec; font-family: Inter, Arial, sans-serif; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-brand h2 { font-family: Outfit, Inter, sans-serif; font-size: 1.2rem; letter-spacing: 0; text-transform: none; }
.footer p, .footer a { font-size: .88rem; }
.footer a { display: inline-flex; min-height: 44px; align-items: center; color: #e2eeeb; text-decoration: none; }
.footer a:hover { color: #f4c556; text-decoration: underline; }
.copyright { max-width: var(--content-max); margin: 38px auto 0; border-top: 1px solid rgb(217 238 231 / 22%); padding-top: 17px; font-size: .78rem; }

.dialog { width: min(540px, calc(100% - 28px)); max-height: calc(100vh - 28px); overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-panel); padding: 0; color: var(--ink); background: var(--surface-raised); box-shadow: var(--shadow); }
.dialog::backdrop, .lightbox::backdrop { background: rgb(0 16 20 / 72%); }
body.dialog-open::after { position: fixed; z-index: 79; inset: 0; background: rgb(0 16 20 / 72%); content: ""; }
.dialog.dialog-fallback, .lightbox.dialog-fallback { position: fixed; z-index: 80; top: 50%; left: 50%; display: block; margin: 0; transform: translate(-50%, -50%); }
.dialog-card { position: relative; padding: clamp(22px, 5vw, 34px); }
.dialog-card > p { margin-top: 15px; color: var(--text-secondary); }
.dialog-heading { display: flex; align-items: center; gap: 13px; padding-right: 28px; }
.dialog-heading p, .status-card > p:first-of-type { margin: 0; color: var(--teal); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dialog-heading h2, .status-card h2 { font-size: 1.7rem; }
.dialog-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid var(--teal); border-radius: 50%; color: var(--teal); }
.dialog-icon svg { width: 21px; height: 21px; }
.check-card { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 11px; margin-top: 10px; border-top: 1px solid var(--border); padding: 14px 2px; cursor: pointer; }
.check-card:last-of-type { border-bottom: 1px solid var(--border); }
.check-card input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); }
.check-card span { display: grid; gap: 2px; }
.check-card small { color: var(--text-secondary); }
.check-card a { width: fit-content; color: var(--blue); font-size: .84rem; font-weight: 800; }
.dialog-note { display: flex; align-items: flex-start; gap: 8px; font-size: .87rem; }
.dialog-note svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; color: var(--teal); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 23px; }
.close-button { position: absolute; top: 10px; right: 10px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--border); border-radius: 4px; color: var(--text-muted); background: transparent; }
.lightbox { width: min(1080px, calc(100% - 28px)); max-height: calc(100vh - 28px); border: 0; padding: 0; color: #fff; background: #03151a; }
.lightbox img { width: 100%; max-height: calc(100vh - 125px); object-fit: contain; }
.lightbox p { margin: 0; padding: 13px 58px; color: #d9e8e3; font-size: .86rem; text-align: center; }
.lightbox .close-button, .lightbox-nav { border-color: rgb(255 255 255 / 38%); color: #fff; background: rgb(0 0 0 / 45%); }
.lightbox-nav { position: absolute; top: 50%; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid; border-radius: 50%; transform: translateY(-50%); }
.lightbox-nav.previous { left: 13px; }
.lightbox-nav.next { right: 13px; }
.back-to-top { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 10; display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--ink); background: var(--surface-raised); box-shadow: var(--shadow); }
.back-to-top.visible { display: grid; }
:root[data-support-widget="ready"] .back-to-top { bottom: max(88px, calc(env(safe-area-inset-bottom) + 70px)); }
@media (min-width: 651px) and (max-width: 1023px) {
  .support-layout { grid-template-columns: .82fr 1.18fr; }
  .support-intro { position: sticky; top: 92px; }
  .credits-layout { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .content { width: min(100% - 30px, var(--content-max)); }
  .topbar { grid-template-columns: auto 1fr auto; gap: 8px; min-height: 66px; padding: max(8px, env(safe-area-inset-top)) max(15px, env(safe-area-inset-right)) 8px max(15px, env(safe-area-inset-left)); }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: .98rem; }
  .menu-button { display: grid; order: 2; }
  .main-nav { position: absolute; top: calc(100% + 7px); right: 14px; left: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--border); padding: 8px 14px; background: var(--surface-raised); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { min-height: 43px; }
  .main-nav a::after { right: auto; bottom: 4px; width: 35px; }
  .header-actions { margin-left: auto; }
  .icon-button, .menu-button { width: 44px; height: 44px; }
  .content-band { padding: 62px 0; }
  h1 { font-size: clamp(3rem, 17vw, 4.65rem); }
  h2 { font-size: clamp(1.95rem, 10vw, 2.9rem); }
  .page-heading-grid { gap: 20px; padding: 47px 0 38px; }
  .page-heading h1 { font-size: clamp(2.55rem, 12vw, 3.65rem); }
  .faq-answer { padding-right: 4px; }
  .support-layout { gap: 36px; }
  .credits-photo, .credits-photo img { min-height: 230px; }
  .footer { padding: 47px 22px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .dialog-actions { display: grid; grid-template-columns: 1fr; }
  .dialog-actions .button { width: 100%; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-nav.previous { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}

@media (max-width: 370px) {
  .topbar { gap: 6px; padding-right: 10px; padding-left: 10px; }
  .brand { gap: 6px; }
  .brand strong { font-size: .91rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .topbar, .footer, .back-to-top, .skip-link, .button, .icon-button, .menu-button { display: none !important; }
  html, body { color: #111; background: #fff; }
  .page-heading { color: #111; background: #fff; }
  .content { width: 100%; max-width: none; }
  a { color: #111; text-decoration: underline; }
}

:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0c1a2c;
  --surface: #101c2e;
  --surface-raised: #16253a;
  --surface-quiet: #091525;
  --ink: #f4f8ff;
  --text-secondary: #b6c6d6;
  --text-muted: #7f96aa;
  --border: #29445e;
  --border-strong: #426987;
  --teal: #20d6a2;
  --blue: #1bb7f0;
  --wine: #d55b78;
  --orange: #f29b4a;
  --yellow: #f6c453;
  --on-teal: #04130e;
  --focus: #f6c453;
  --shadow: 0 18px 42px rgb(0 0 0 / 35%);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eef4f7;
  --bg-soft: #e6f1f5;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-quiet: #f4f8fa;
  --ink: #172f43;
  --text-secondary: #587083;
  --text-muted: #708899;
  --border: #c7dce5;
  --border-strong: #8bb7c8;
  --teal: #16836b;
  --blue: #0b7ca6;
  --wine: #bd4058;
  --orange: #b8750d;
  --yellow: #b8750d;
  --on-teal: #ffffff;
  --focus: #0b7ca6;
  --shadow: 0 16px 34px rgb(21 66 88 / 12%);
}

body {
  background: radial-gradient(circle at 92% -14%, rgb(27 183 240 / 12%), transparent 34rem), var(--bg);
}

.topbar {
  min-height: 76px;
  border-bottom-color: rgb(27 183 240 / 32%);
  background: linear-gradient(100deg, #0a292b 0%, #0b1629 50%, #091629 100%);
  box-shadow: 0 12px 32px rgb(0 0 0 / 24%);
}

.brand {
  gap: 10px;
  border: 1px solid rgb(27 183 240 / 34%);
  border-radius: 24px;
  padding: 6px 13px 6px 7px;
  color: #f4f8ff;
  background: rgb(6 24 39 / 70%);
  box-shadow: 0 8px 20px rgb(0 0 0 / 18%);
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgb(32 214 162 / 48%);
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
}

.brand strong { font-size: 1.08rem; }
.brand small { display: block; color: #a9c5d4; font-family: Inter, Arial, sans-serif; font-size: .67rem; font-weight: 700; }

.main-nav {
  gap: 2px;
  border: 1px solid rgb(27 183 240 / 34%);
  border-radius: 9px;
  padding: 5px;
  background: rgb(4 16 30 / 58%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
}

.main-nav a {
  min-height: 38px;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 12px;
  color: #d8e6f1;
  font-size: .83rem;
}

.main-nav a svg { display: block; width: 17px; height: 17px; color: #bfe8f6; }
.main-nav a::after { right: 12px; bottom: 4px; left: 12px; height: 2px; background: var(--teal); }
.main-nav a:hover, .main-nav a.active { border-color: rgb(27 183 240 / 45%); color: #fff; background: linear-gradient(135deg, rgb(27 183 240 / 23%), rgb(32 214 162 / 20%)); }
.main-nav a.active::after, .main-nav a:hover::after { transform: scaleX(1); }

.icon-button, .menu-button, .button.secondary {
  border-color: rgb(182 211 229 / 34%);
  color: #edf7fb;
  background: rgb(48 65 88 / 76%);
}

.icon-button:hover, .menu-button:hover, .button.secondary:hover { border-color: var(--blue); color: #fff; background: rgb(27 183 240 / 22%); }
.button.primary { border-color: #20d6a2; color: #04130e; background: #20d6a2; box-shadow: 0 8px 20px rgb(0 0 0 / 16%); }
.button.primary:hover { border-color: var(--yellow); color: #101820; background: #f6c453; }

.page-heading { position: relative; overflow: hidden; border-color: rgb(27 183 240 / 26%); background: linear-gradient(120deg, #0b1b30, #103653); }
.page-heading::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0 72%, rgb(255 255 255 / 4%) 72% 100%); content: ""; pointer-events: none; }
.page-heading-grid { position: relative; z-index: 1; }
.page-heading h1 { color: #fff; text-shadow: 0 12px 26px rgb(0 0 0 / 20%); }
.page-heading .eyebrow, .page-heading-note span { color: #8de9d3; }
.page-heading-note { border-color: var(--teal); color: #d3e2ed; }
.credits-band { background: var(--bg); }
.support-intro h2, .credits-layout h2 { color: var(--ink); }
.support-intro > p, .legal-document p, .credits-layout p { color: var(--text-secondary); }
.faq-question:hover, .faq-question[aria-expanded="true"] { color: var(--teal); background: rgb(27 183 240 / 8%); }

.faq-compact, .gallery-compact { padding: clamp(48px, 5vw, 72px) 0; background: var(--bg); }
.faq-compact .content, .gallery-compact .content { max-width: 1120px; }
.faq-compact-heading, .gallery-compact-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--border); padding-bottom: 18px; }
.faq-compact-heading h1, .gallery-compact-heading h1 { color: var(--ink); font-size: clamp(1.9rem, 3.1vw, 2.75rem); }
.faq-compact-heading p, .gallery-compact-heading p { max-width: 360px; color: var(--text-secondary); font-size: .95rem; line-height: 1.55; text-align: right; }
.faq-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.faq-columns > div { min-width: 0; }
.faq-compact .faq-group + .faq-group { margin-top: 32px; }
.faq-compact .faq-group h2 { margin-bottom: 8px; color: var(--teal); font-size: 1.06rem; }
.faq-compact .faq-question { padding: 16px 0; font-size: .95rem; }
.faq-compact .faq-answer { padding: 0 20px 17px 0; font-size: .92rem; line-height: 1.6; }
.gallery-year-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.gallery-year-tabs a { min-height: 34px; border-bottom: 2px solid transparent; padding: 7px 9px; color: var(--text-muted); font-size: .84rem; font-weight: 800; text-decoration: none; }
.gallery-year-tabs a:hover, .gallery-year-tabs a.active { border-color: var(--teal); color: var(--ink); }
.gallery-year-previews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.gallery-year-preview { display: grid; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
.gallery-year-preview figure { position: relative; overflow: hidden; margin: 0; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); aspect-ratio: 1.18; }
.gallery-year-preview picture, .gallery-year-preview img { display: block; width: 100%; height: 100%; }
.gallery-year-preview img { object-fit: cover; transition: transform var(--motion-feedback) var(--ease-out); }
.gallery-year-preview:hover img, .gallery-year-preview:focus-visible img { transform: scale(1.03); }
.gallery-year-preview > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gallery-year-preview strong { color: var(--teal); font-family: Outfit, Inter, sans-serif; font-size: 1.15rem; font-weight: 900; }
.gallery-year-preview em { display: inline-flex; align-items: center; gap: 4px; color: var(--text-secondary); font-size: .78rem; font-style: normal; font-weight: 800; }
.gallery-year-preview em svg { width: 15px; height: 15px; color: var(--blue); }
.gallery-back { display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: var(--text-secondary); font-size: .85rem; font-weight: 800; text-decoration: none; }
.gallery-back:hover { color: var(--teal); }
.gallery-back svg { width: 16px; height: 16px; }
.gallery-edition .gallery-compact-heading > div { display: grid; gap: 10px; }
.gallery-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 340px)); justify-content: start; gap: 22px; }
.gallery-detail-card { margin: 0; }
.gallery-detail-card button { display: block; width: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: 6px; padding: 0; background: var(--surface); aspect-ratio: 1.12; }
.gallery-detail-card picture, .gallery-detail-card img { display: block; width: 100%; height: 100%; }
.gallery-detail-card img { object-fit: cover; transition: transform var(--motion-feedback) var(--ease-out); }
.gallery-detail-card button:hover img, .gallery-detail-card button:focus-visible img { transform: scale(1.025); }
.lightbox-nav:disabled { opacity: 0; pointer-events: none; }

.footer { border-top: 1px solid rgb(27 183 240 / 44%); background: linear-gradient(110deg, #071a2b, #0b536e 58%, #126653); }
.footer h2, .footer-brand h2, .footer a { color: #fff; }
.footer p { color: #c6dce7; }
.footer a:hover { color: #9ce5cf; }

:root[data-theme="light"] body { background: linear-gradient(180deg, #f6fafb, #eaf2f5); }
:root[data-theme="light"] .topbar { background: linear-gradient(100deg, #fff, #eaf6f8 58%, #edf8f3); box-shadow: inset 0 -1px 0 rgb(11 124 166 / 18%), 0 8px 24px rgb(25 61 83 / 10%); }
:root[data-theme="light"] .brand { border-color: #b8d8e3; color: #17364a; background: rgb(255 255 255 / 88%); box-shadow: 0 4px 14px rgb(21 66 88 / 8%); }
:root[data-theme="light"] .brand small { color: #5c7384; }
:root[data-theme="light"] .main-nav { border-color: #c6dbe4; background: #edf5f8; box-shadow: inset 0 1px 0 #fff; }
:root[data-theme="light"] .main-nav a { color: #526b7d; }
:root[data-theme="light"] .main-nav a svg { color: #0b7ca6; }
:root[data-theme="light"] .main-nav a:hover, :root[data-theme="light"] .main-nav a.active { border-color: #0b7ca6; color: #fff; background: linear-gradient(135deg, #0b7ca6, #16836b); }
:root[data-theme="light"] .main-nav a:hover svg, :root[data-theme="light"] .main-nav a.active svg { color: #fff; }
:root[data-theme="light"] .icon-button, :root[data-theme="light"] .menu-button, :root[data-theme="light"] .button.secondary { border-color: #bdd4df; color: #25465b; background: #fff; }
:root[data-theme="light"] .credits-band { background: #f4f8fa; }
:root[data-theme="light"] .faq-compact,
:root[data-theme="light"] .gallery-compact { background: #f4f8fa; }
:root[data-theme="light"] .gallery-year-preview figure,
:root[data-theme="light"] .gallery-detail-card button { border-color: #c9dde5; background: #fff; box-shadow: 0 8px 20px rgb(21 66 88 / 7%); }

@media (min-width: 651px) and (max-width: 1023px) {
  .topbar { grid-template-columns: auto 1fr auto; gap: 12px; padding-right: 22px; padding-left: 22px; }
  .brand small { display: none; }
  .menu-button { display: grid; order: 2; }
  .main-nav { position: absolute; top: calc(100% + 7px); right: 22px; left: 22px; display: none; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--border-strong); padding: 8px 14px; background: #0b1b30; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { min-height: 44px; }
  .main-nav a::after { right: auto; bottom: 4px; width: 35px; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 650px) {
  .faq-compact-heading, .gallery-compact-heading { display: grid; gap: 8px; margin-bottom: 25px; padding-bottom: 15px; }
  .faq-compact-heading h1, .gallery-compact-heading h1 { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .faq-compact-heading p, .gallery-compact-heading p { max-width: none; font-size: .9rem; text-align: left; }
  .faq-columns { grid-template-columns: 1fr; gap: 28px; }
  .faq-compact .faq-group + .faq-group { margin-top: 28px; }
  .faq-compact .faq-question { padding: 15px 0; }
  .gallery-year-tabs { justify-content: flex-start; }
  .gallery-year-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .gallery-year-preview figure { aspect-ratio: 1.12; }
  .gallery-year-preview > span { display: grid; gap: 2px; }
  .gallery-year-preview em { font-size: .72rem; }
  .gallery-detail-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-detail-card button { aspect-ratio: 1.2; }
}

#app { view-transition-name: simitec-content; }

::view-transition-old(root),
::view-transition-new(root) { animation: none; }
::view-transition-old(simitec-content) { animation: simitec-route-out var(--motion-feedback) var(--ease-in) both; }
::view-transition-new(simitec-content) { animation: simitec-route-in var(--motion-page) var(--ease-out) both; }

.topbar {
  transition: border-color var(--motion-md) var(--ease-standard), box-shadow var(--motion-md) var(--ease-standard), background-color var(--motion-md) var(--ease-standard);
}
.topbar.is-scrolled {
  border-bottom-color: var(--border-strong);
  box-shadow: 0 12px 30px rgb(0 14 25 / 22%);
}
.topbar.is-scrolled .brand { transform: scale(.94); transform-origin: left center; }
.brand { transition: color var(--motion-sm) var(--ease-standard), transform var(--motion-sm) var(--ease-out); }

.motion-ready body:not(.motion-started) .topbar { opacity: 0; transform: translateY(-20px); }
.motion-ready body.motion-started .topbar { animation: simitec-header-in var(--motion-structure) var(--ease-out) both; }

.main-nav a {
  transition: color var(--motion-sm) var(--ease-standard), background-color var(--motion-sm) var(--ease-standard), border-color var(--motion-sm) var(--ease-standard), transform var(--motion-sm) var(--ease-out);
}
.main-nav a::after { transform-origin: left; transition: transform var(--motion-structure) var(--ease-out); }
.main-nav a:hover { transform: translateY(-2px); }

.button,
.icon-button,
.menu-button,
.close-button,
.lightbox-nav,
.back-to-top {
  transition: color var(--motion-sm) var(--ease-standard), background-color var(--motion-sm) var(--ease-standard), border-color var(--motion-sm) var(--ease-standard), box-shadow var(--motion-sm) var(--ease-standard), transform var(--motion-sm) var(--ease-out), opacity var(--motion-sm) var(--ease-standard);
}
.button:not(:disabled):active,
.icon-button:active,
.menu-button:active,
.close-button:active,
.back-to-top:active { transform: translateY(1px) scale(.96); }
.button.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgb(0 0 0 / 22%);
}
.button.secondary:hover { transform: translateY(-2px); }
.button svg, .text-link svg, .gallery-back svg { transition: transform var(--motion-sm) var(--ease-out); }
.button:hover .lucide-arrow-up-right, .button:hover .lucide-external-link, .text-link:hover svg { transform: translate(2px, -2px); }

.text-link, .gallery-back { position: relative; text-decoration: none; }
.text-link::after, .gallery-back::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-sm) var(--ease-out);
}
.text-link:hover::after, .text-link:focus-visible::after, .gallery-back:hover::after, .gallery-back:focus-visible::after { transform: scaleX(1); }
.gallery-back:hover svg { transform: translateX(-2px); }

.back-to-top {
  display: grid;
  visibility: hidden;
  opacity: 0;
  transform: translateY(16px) scale(.94);
  pointer-events: none;
}
.back-to-top.visible { visibility: visible; opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

html.theme-switching body,
html.theme-switching .topbar,
html.theme-switching .brand,
html.theme-switching .main-nav,
html.theme-switching .main-nav a,
html.theme-switching .button,
html.theme-switching .icon-button,
html.theme-switching .menu-button,
html.theme-switching .page-heading,
html.theme-switching .content-band,
html.theme-switching .gallery-year-preview figure,
html.theme-switching .gallery-detail-card button,
html.theme-switching .dialog {
  transition: color var(--motion-structure) var(--ease-standard), background-color var(--motion-structure) var(--ease-standard), border-color var(--motion-structure) var(--ease-standard), box-shadow var(--motion-structure) var(--ease-standard);
}

#themeButton svg { transition: transform var(--motion-structure) var(--ease-out), opacity var(--motion-xs) var(--ease-standard); }
html.theme-switching #themeButton svg { animation: simitec-theme-icon var(--motion-structure) var(--ease-out) both; }

.faq-compact-heading, .gallery-compact-heading { position: relative; }
.faq-compact-heading::after, .gallery-compact-heading::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: clamp(58px, 9vw, 118px);
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
}
.faq-compact-heading.is-revealed::after, .gallery-compact-heading.is-revealed::after { animation: simitec-line-in var(--motion-lg) var(--ease-out) 70ms both; }

.faq-question { transition: color var(--motion-feedback) var(--ease-standard), background-color var(--motion-feedback) var(--ease-standard), transform var(--motion-structure) var(--ease-out); }
.faq-question:hover, .faq-question:focus-visible { transform: translateX(14px); }
.faq-question svg { transition: transform var(--motion-structure) var(--ease-out), color var(--motion-feedback) var(--ease-standard); }
.faq-question[aria-expanded="true"] svg { transform: rotate(135deg); }
.faq-answer, .faq-compact .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 20px 0 0;
  transition: grid-template-rows var(--motion-structure) var(--ease-out);
}
.faq-answer > div { overflow: hidden; }
.faq-answer p {
  padding-bottom: 17px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity var(--motion-feedback) var(--ease-standard), transform var(--motion-structure) var(--ease-out);
}
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }
.faq-question[aria-expanded="true"] + .faq-answer p { opacity: 1; transform: translateY(0); }

.gallery-year-tabs a { position: relative; transition: color var(--motion-feedback) var(--ease-standard), border-color var(--motion-feedback) var(--ease-standard), transform var(--motion-feedback) var(--ease-out); }
.gallery-year-tabs a:hover { transform: translateY(-2px); }
.gallery-year-preview figure, .gallery-detail-card button {
  transition: border-color var(--motion-feedback) var(--ease-standard), box-shadow var(--motion-structure) var(--ease-standard), transform var(--motion-structure) var(--ease-out);
}
.gallery-year-preview figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgb(2 18 28 / 48%));
  content: "";
  opacity: 0;
  transition: opacity var(--motion-structure) var(--ease-standard);
  pointer-events: none;
}
.gallery-year-preview img, .gallery-detail-card img { transition: transform var(--motion-emphasis) var(--ease-out); }
.gallery-year-preview > span { transition: transform var(--motion-feedback) var(--ease-out); }
.gallery-year-preview em { opacity: .8; transform: translateY(9px); transition: color var(--motion-feedback) var(--ease-standard), opacity var(--motion-feedback) var(--ease-standard), transform var(--motion-structure) var(--ease-out); }
.gallery-year-preview:hover figure::after, .gallery-year-preview:focus-visible figure::after { opacity: 1; }
.gallery-year-preview:hover figure, .gallery-year-preview:focus-visible figure, .gallery-detail-card button:hover, .gallery-detail-card button:focus-visible { transform: translateY(-5px); box-shadow: 0 18px 32px rgb(0 10 20 / 24%); }
.gallery-year-preview:hover img, .gallery-year-preview:focus-visible img, .gallery-detail-card button:hover img, .gallery-detail-card button:focus-visible img { transform: scale(1.07); }
.gallery-year-preview:hover > span, .gallery-year-preview:focus-visible > span { transform: translateY(-5px); }
.gallery-year-preview:hover em, .gallery-year-preview:focus-visible em { color: var(--blue); opacity: 1; transform: translateY(0); }

.dialog[open]::backdrop, .lightbox[open]::backdrop { animation: simitec-backdrop-in var(--motion-feedback) var(--ease-standard) both; }
.dialog[open] .dialog-card, .lightbox[open] { animation: simitec-dialog-in var(--motion-structure) var(--ease-out) both; }
.dialog[data-closing]::backdrop, .lightbox[data-closing]::backdrop { animation: simitec-backdrop-out var(--motion-feedback) var(--ease-in) both; }
.dialog[data-closing] .dialog-card, .lightbox[data-closing] { animation: simitec-dialog-out var(--motion-feedback) var(--ease-in) both; }
.dialog[open] .check-card { animation: simitec-dialog-item var(--motion-feedback) var(--ease-out) both; }
.dialog[open] .check-card:nth-of-type(2) { animation-delay: var(--motion-stagger); }
.check-card input:checked { animation: simitec-check-in var(--motion-xs) var(--ease-out) both; }
#consentForm button[type="submit"] { transition: color var(--motion-sm) var(--ease-standard), background-color var(--motion-sm) var(--ease-standard), border-color var(--motion-sm) var(--ease-standard), opacity var(--motion-sm) var(--ease-standard), transform var(--motion-sm) var(--ease-out); }
.footer-grid > * { transition: transform var(--motion-sm) var(--ease-out); }
.footer a { position: relative; text-decoration: none; }
.footer a::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-sm) var(--ease-out);
}
.footer a:hover::after, .footer a:focus-visible::after { transform: scaleX(1); }

.motion-ready [data-hero-motion], .motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--motion-emphasis) var(--ease-out), transform var(--motion-emphasis) var(--ease-out);
}
.motion-ready [data-hero-motion="photo"], .motion-ready [data-reveal="image"] { transform: scale(1.075); transition-duration: var(--motion-hero); }
.motion-ready [data-reveal="left"] { transform: translateX(-42px); }
.motion-ready [data-reveal="right"] { transform: translateX(42px); }
.motion-ready [data-hero-motion].is-revealed, .motion-ready [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
.motion-ready [data-hero-motion="photo"].is-revealed, .motion-ready [data-reveal="image"].is-revealed { transform: scale(1); }
.motion-ready [data-reveal="left"].is-revealed, .motion-ready [data-reveal="right"].is-revealed { transform: translateX(0); }
.motion-ready [data-hero-motion="copy"].is-revealed > * { animation: simitec-hero-copy-in var(--motion-hero) var(--ease-out) both; }
.motion-ready [data-hero-motion="copy"].is-revealed > :nth-child(1) { animation-delay: 120ms; }
.motion-ready [data-hero-motion="copy"].is-revealed > :nth-child(2) { animation-delay: 230ms; }
.motion-ready [data-hero-motion="copy"].is-revealed > :nth-child(3) { animation-delay: 340ms; }
.motion-ready [data-hero-motion="copy"].is-revealed > :nth-child(4) { animation-delay: 450ms; }
.motion-ready [data-hero-motion="copy"].is-revealed > :nth-child(5) { animation-delay: 560ms; }
.motion-ready [data-hero-motion="copy"].is-revealed > .home-poster-copy { opacity: 1; transform: none; animation: none; }
.motion-ready [data-hero-motion="copy"].is-revealed > .home-poster-copy > * { animation: simitec-hero-copy-in var(--motion-hero) var(--ease-out) both; }
.motion-ready [data-hero-motion="copy"].is-revealed > .home-poster-copy > :nth-child(1) { animation-delay: 100ms; }
.motion-ready [data-hero-motion="copy"].is-revealed > .home-poster-copy > :nth-child(2) { animation-delay: 210ms; }
.motion-ready [data-hero-motion="copy"].is-revealed > .home-poster-copy > :nth-child(3) { animation-delay: 320ms; }
.motion-ready [data-hero-motion="copy"].is-revealed > .home-poster-copy > :nth-child(4) { animation-delay: 430ms; }
.motion-ready [data-hero-motion="copy"].is-revealed > .home-poster-copy > :nth-child(5) { animation-delay: 540ms; }
.motion-ready [data-hero-motion="copy"].is-revealed > .home-poster-meta { animation-delay: 620ms; }
.motion-ready [data-reveal="heading"].is-revealed :is(.eyebrow, h1, h2),
.motion-ready [data-reveal="heading"].is-revealed > p:not(.eyebrow),
.motion-ready [data-reveal="heading"].is-revealed .page-heading-note { animation: simitec-editorial-in var(--motion-emphasis) var(--ease-out) both; }
.motion-ready [data-reveal="heading"].is-revealed h1, .motion-ready [data-reveal="heading"].is-revealed h2 { animation-delay: 90ms; }
.motion-ready [data-reveal="heading"].is-revealed > p:not(.eyebrow), .motion-ready [data-reveal="heading"].is-revealed .page-heading-note { animation-delay: 180ms; }
.motion-ready [data-reveal="heading"].is-revealed .button { animation: simitec-editorial-in var(--motion-emphasis) var(--ease-out) 270ms both; }
.motion-ready [data-reveal="stagger"] > * { opacity: 0; transform: translateY(22px); transition: opacity var(--motion-emphasis) var(--ease-out) var(--reveal-delay, 0ms), transform var(--motion-emphasis) var(--ease-out) var(--reveal-delay, 0ms); }
.motion-ready [data-reveal="stagger"].is-revealed > * { opacity: 1; transform: translateY(0); }
.motion-ready [data-reveal="footer"].is-revealed > * { animation: simitec-editorial-in var(--motion-emphasis) var(--ease-out) both; }
.motion-ready [data-reveal="footer"].is-revealed > :nth-child(2) { animation-delay: var(--motion-stagger); }
.motion-ready [data-reveal="footer"].is-revealed > :nth-child(3) { animation-delay: 180ms; }
.motion-ready [data-reveal="footer"].is-revealed > :nth-child(4) { animation-delay: 270ms; }

@keyframes simitec-header-in { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes simitec-route-out { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: .08; transform: translateY(-18px) scale(.992); } }
@keyframes simitec-route-in { from { opacity: 0; transform: translateY(28px) scale(.996); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes simitec-hero-copy-in { from { opacity: 0; transform: translateY(38px); } to { opacity: 1; transform: translateY(0); } }
@keyframes simitec-editorial-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes simitec-line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes simitec-scroll-cue { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); } }
@keyframes simitec-photo-wipe { from { transform: scaleX(1); transform-origin: left; } to { transform: scaleX(0); transform-origin: right; } }
@keyframes simitec-theme-icon { from { opacity: .35; transform: rotate(-18deg) scale(.82); } to { opacity: 1; transform: rotate(0) scale(1); } }
@keyframes simitec-document-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes simitec-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes simitec-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes simitec-dialog-in { from { opacity: 0; transform: translateY(28px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes simitec-dialog-out { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes simitec-dialog-item { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes simitec-check-in { from { transform: scale(.76); } to { transform: scale(1); } }
@media (hover: hover) and (pointer: fine) {
  .brand:hover { transform: translateY(-1px); }
  .support-topic-list a:hover, .support-topic-list button:hover { transform: translateX(10px); color: var(--teal); background: rgb(27 183 240 / 6%); }
  .support-topic-list a:hover svg, .support-topic-list button:hover svg { transform: translate(4px, -4px); }
  .lightbox-nav:not(:disabled):hover { transform: translateY(-50%) scale(1.14); border-color: var(--teal); background: rgb(3 28 35 / 78%); }
}

@media (max-width: 1100px) {
  .main-nav {
    display: flex !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px) scale(.985);
    pointer-events: none;
    transition: opacity var(--motion-feedback) var(--ease-standard), transform var(--motion-structure) var(--ease-out), visibility 0s linear var(--motion-structure);
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition-delay: 0s;
  }
  .main-nav.open a { animation: simitec-menu-link-in var(--motion-feedback) var(--ease-out) both; }
  .main-nav.open a:nth-child(2) { animation-delay: 50ms; }
  .main-nav.open a:nth-child(3) { animation-delay: 100ms; }
  .main-nav.open a:nth-child(4) { animation-delay: 150ms; }
  .main-nav.open a:nth-child(5) { animation-delay: 200ms; }
  .main-nav.open a:nth-child(6) { animation-delay: 250ms; }
  .menu-scrim {
    position: fixed;
    z-index: 19;
    inset: 0;
    background: rgb(0 17 24 / 26%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--motion-sm) var(--ease-standard), visibility 0s linear var(--motion-sm);
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .menu-scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .menu-glyph { position: relative; display: grid; width: 18px; height: 14px; align-content: space-between; }
  .menu-glyph span { display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transform-origin: center; transition: transform var(--motion-sm) var(--ease-out), opacity var(--motion-xs) var(--ease-standard); }
  .menu-button.is-open .menu-glyph span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button.is-open .menu-glyph span:nth-child(2) { opacity: 0; transform: scaleX(.5); }
  .menu-button.is-open .menu-glyph span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

.scroll-sentinel { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
.scroll-sentinel--header { top: 18px; }
.scroll-sentinel--return { top: 480px; }

@keyframes simitec-menu-link-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 650px) {
  .motion-ready [data-hero-motion], .motion-ready [data-reveal] { transform: translateY(18px); }
  .motion-ready [data-hero-motion="photo"], .motion-ready [data-reveal="image"] { transform: scale(1.045); }
  .motion-ready [data-reveal="left"], .motion-ready [data-reveal="right"] { transform: translateY(18px); }
  .motion-ready [data-reveal="left"].is-revealed, .motion-ready [data-reveal="right"].is-revealed { transform: translateY(0); }
  .motion-ready [data-reveal="stagger"] > * { transform: translateY(15px); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .document-progress { display: none !important; }
  .motion-ready [data-hero-motion], .motion-ready [data-reveal], .motion-ready [data-reveal="stagger"] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .motion-ready [data-hero-motion="copy"].is-revealed > .home-poster-copy > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .main-nav, .topbar, .dialog, .lightbox, .button, .icon-button, .menu-button, .gallery-year-preview img, .gallery-detail-card img { transition-duration: .01ms !important; animation: none !important; }
}

.registration-page { border-top: 1px solid var(--border); background: var(--bg); }
.registration-hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); align-items: center; gap: clamp(30px, 5vw, 76px); padding: clamp(38px, 4.8vw, 62px) 0 clamp(34px, 4.2vw, 54px); }
.registration-intro { display: grid; justify-items: start; align-content: center; min-width: 0; padding-inline: 2px; }
.registration-intro h1 { max-width: 640px; color: var(--ink); font-size: clamp(2.7rem, 4.8vw, 4.7rem); }
.registration-intro-lead { max-width: 560px; margin-top: 15px; color: var(--text-secondary); font-size: clamp(.98rem, 1.15vw, 1.08rem); line-height: 1.62; }
.registration-intro-action { display: grid; justify-items: start; gap: 14px; margin-top: 25px; }
.registration-legal-note { max-width: 400px; color: var(--text-muted); font-size: .82rem; line-height: 1.52; }
.registration-legal-note a { color: var(--blue); font-weight: 800; text-underline-offset: 3px; }
.registration-hero-photo { position: relative; min-width: 0; margin: 0; background: var(--surface-quiet); }
.registration-hero-photo::after { position: absolute; inset: 0 0 27px; background: var(--teal); content: ""; transform: scaleX(1); transform-origin: right; transition: transform var(--motion-lg) var(--ease-out) 90ms; pointer-events: none; }
.registration-hero-photo.is-revealed::after { transform: scaleX(0); }
.registration-hero-photo picture { display: block; width: 100%; height: clamp(360px, 30vw, 460px); overflow: hidden; }
.registration-hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.025); transition: transform var(--motion-xl) var(--ease-out) 110ms; }
.registration-hero-photo.is-revealed img { transform: scale(1); }
.registration-hero-photo figcaption { padding-top: 9px; color: var(--text-muted); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

/* Port nativo do Stepper "With inline titles and descriptions" (Origin UI, via 21st.dev, MIT). */
.registration-flow { grid-column: 1 / -1; min-width: 0; border-block: 1px solid var(--border-strong); padding-block: clamp(22px, 2.6vw, 32px); }
.registration-flow-summary { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: clamp(24px, 3vw, 34px); }
.registration-flow h2 { max-width: 460px; color: var(--ink); font-size: clamp(1.75rem, 2.35vw, 2.45rem); }
.registration-flow-status { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--text-muted); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.registration-flow-status span { color: var(--teal); }
.registration-flow-status strong { display: inline-flex; align-items: center; min-height: 25px; border-left: 1px solid var(--border); padding-left: 9px; color: var(--ink); font-size: .74rem; }
.registration-stepper { display: flex; margin: 0; padding: 0; list-style: none; }
.registration-stepper-item { position: relative; display: flex; min-width: 0; flex: 1 1 0; align-items: flex-start; }
.registration-stepper-trigger { display: flex; min-width: 0; align-items: flex-start; gap: 12px; }
.registration-stepper-trigger > div { min-width: 0; }
.registration-stepper-indicator { position: relative; z-index: 1; display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border: 1px solid var(--border-strong); color: var(--teal); background: var(--bg); font-family: Outfit, Inter, sans-serif; font-size: .68rem; font-weight: 900; transition: border-color var(--motion-feedback) var(--ease-standard), color var(--motion-feedback) var(--ease-standard), background var(--motion-feedback) var(--ease-standard); }
.registration-stepper-title { display: block; max-width: 170px; color: var(--ink); font-size: .9rem; line-height: 1.28; }
.registration-stepper-description { max-width: 205px; margin-top: 5px; color: var(--text-secondary); font-size: .78rem; line-height: 1.46; }
.registration-stepper-separator { height: 1px; min-width: 26px; flex: 1 1 auto; margin: 15px clamp(12px, 2vw, 28px); background: var(--border-strong); transform: scaleX(0); transform-origin: left; transition: transform var(--motion-structure) var(--ease-out); }
.registration-flow.is-revealed .registration-stepper-separator { transform: scaleX(1); }
.registration-stepper-item:hover .registration-stepper-indicator { border-color: var(--teal); color: var(--on-teal); background: var(--teal); }
.registration-guidance { border-top: 1px solid var(--border); background: var(--surface-quiet); }
.registration-guidance-layout { padding: clamp(32px, 4vw, 48px) 0; }
.registration-guidance-heading { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); align-items: end; gap: clamp(28px, 5vw, 70px); }
.registration-guidance-heading h2 { color: var(--ink); font-size: clamp(1.7rem, 2.5vw, 2.45rem); }
.registration-guidance-heading > p { max-width: 620px; color: var(--text-secondary); font-size: .96rem; line-height: 1.58; }
.registration-boundaries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.registration-boundaries p { display: grid; gap: 6px; min-height: 94px; align-content: center; padding: 16px clamp(18px, 2.7vw, 38px) 16px 0; }
.registration-boundaries p + p { border-left: 1px solid var(--border); padding-left: clamp(18px, 2.7vw, 38px); }
.registration-boundaries strong { color: var(--ink); font-family: Outfit, Inter, sans-serif; font-size: 1rem; font-weight: 850; }
.registration-boundaries span { max-width: 300px; color: var(--text-secondary); font-size: .86rem; line-height: 1.5; }
.registration-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-top: 20px; }
.registration-help p { display: grid; gap: 3px; color: var(--text-secondary); font-size: .9rem; }
.registration-help strong { color: var(--ink); font-size: .95rem; }
.registration-help > div { display: flex; flex-wrap: wrap; gap: 18px; }
.registration-help .text-link { border: 0; padding: 0; background: transparent; font-size: .86rem; }
.registration-help .text-link svg { color: var(--teal); }

@media (max-width: 900px) {
  .registration-hero { grid-template-columns: minmax(0, .9fr) minmax(330px, 1.1fr); gap: 30px; }
  .registration-hero-photo picture { height: 320px; }
  .registration-stepper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
  .registration-stepper-item { padding-right: 0; }
  .registration-stepper-separator { display: none; }
  .registration-stepper-description { max-width: 260px; }
}

@media (max-width: 650px) {
  .registration-hero { width: min(100% - 24px, var(--content-max)); grid-template-columns: 1fr; gap: 27px; padding: 30px 0 32px; }
  .registration-intro h1 { font-size: clamp(2.45rem, 11.5vw, 3.25rem); }
  .registration-intro-lead { margin-top: 11px; font-size: .94rem; }
  .registration-intro-action { width: 100%; gap: 12px; margin-top: 21px; }
  .registration-intro-action .button { width: 100%; }
  .registration-legal-note { font-size: .79rem; }
  .registration-hero-photo { grid-row: 2; }
  .registration-hero-photo picture { height: min(240px, calc((100vw - 24px) / 1.58)); }
  .registration-flow { grid-row: 3; padding-block: 22px; }
  .registration-flow-summary { display: grid; align-items: start; justify-content: start; gap: 9px; margin-bottom: 23px; }
  .registration-flow h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .registration-stepper { position: relative; grid-template-columns: 1fr; gap: 19px; }
  .registration-stepper::before { position: absolute; top: 15px; bottom: 15px; left: 14px; width: 1px; background: var(--border-strong); content: ""; }
  .registration-stepper-trigger { gap: 13px; }
  .registration-stepper-indicator { width: 29px; height: 29px; flex-basis: 29px; }
  .registration-stepper-title, .registration-stepper-description { max-width: none; }
  .registration-stepper-description { margin-top: 3px; font-size: .78rem; }
  .registration-guidance-layout { width: min(100% - 24px, var(--content-max)); padding: 30px 0 34px; }
  .registration-guidance-heading { grid-template-columns: 1fr; align-items: start; gap: 8px; }
  .registration-guidance-heading h2 { font-size: clamp(1.62rem, 7.5vw, 2.15rem); }
  .registration-guidance-heading > p { font-size: .87rem; }
  .registration-boundaries { grid-template-columns: 1fr; margin-top: 20px; }
  .registration-boundaries p { min-height: 0; padding: 15px 0; }
  .registration-boundaries p + p { border-top: 1px solid var(--border); border-left: 0; padding-left: 0; }
  .registration-help { align-items: flex-start; margin-top: 18px; }
  .registration-help > div { display: flex; gap: 16px; }
}

:root[data-theme="light"] .registration-page { background: #f4f9f8; }
:root[data-theme="light"] .registration-guidance { background: #e9f3f2; }
:root[data-theme="light"] .registration-stepper-indicator { background: #f4f9f8; }
:root[data-theme="light"] .registration-stepper-item:hover .registration-stepper-indicator { background: var(--teal); }

@media (prefers-reduced-motion: reduce) {
  .registration-hero-photo::after { display: none; }
  .registration-hero-photo img { transform: none !important; transition: none !important; }
  .registration-stepper-separator { transform: none !important; transition: none !important; }
}

body[data-route="/inscricao"] .footer { padding-top: 20px; padding-bottom: 20px; }
body[data-route="/inscricao"] .footer-grid { display: none; }
body[data-route="/inscricao"] .copyright { margin-top: 0; border-top: 0; padding-top: 0; }

/* Port estrutural do Calendar Planner (Ruixen UI, MIT): fluxo vertical, sem grade. */
.schedule-detail { min-height: 62vh; border-top: 1px solid var(--border); padding-block: clamp(28px, 4vw, 48px); background: var(--surface-quiet); }
.schedule-planner { margin-block: 0; }
.schedule-planner-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding: 0 2px clamp(21px, 2.4vw, 28px); }
.schedule-planner-heading > div { display: grid; gap: 7px; }
.schedule-planner-heading .eyebrow { margin: 0; }
.schedule-planner-heading h1 { font-size: clamp(2.15rem, 3.7vw, 3rem); }
.schedule-planner-heading > div > p:last-child { max-width: 610px; color: var(--text-secondary); font-size: .88rem; }
.schedule-planner-heading .text-link { font-size: .85rem; }
.schedule-planner-heading .text-link svg { color: var(--teal); }
.schedule-planner-layout { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-panel); background: var(--surface); }
.schedule-tabs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--border); background: var(--surface-quiet); }
.schedule-tab { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) 26px; min-width: 0; min-height: 74px; align-items: center; gap: 10px; border: 0; padding: 11px clamp(12px, 1.7vw, 22px); color: var(--text-muted); background: transparent; text-align: left; transition: color var(--motion-feedback) var(--ease-standard), background-color var(--motion-feedback) var(--ease-standard); }
.schedule-tab::before { position: absolute; right: 14px; bottom: 0; left: 14px; height: 3px; background: var(--teal); content: ""; opacity: 0; transform: scaleX(.35); transition: opacity var(--motion-feedback) var(--ease-standard), transform var(--motion-feedback) var(--ease-out); }
.schedule-tab + .schedule-tab { border-left: 1px solid var(--border); }
.schedule-tab-index { color: var(--teal); font-family: Outfit, Inter, sans-serif; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.schedule-tab-copy { display: grid; min-width: 0; gap: 3px; }
.schedule-tab-copy strong { color: currentColor; font-family: Outfit, Inter, sans-serif; font-size: .92rem; font-weight: 800; line-height: 1.15; }
.schedule-tab-copy small { overflow: hidden; color: var(--text-muted); font-size: .69rem; line-height: 1.3; text-overflow: ellipsis; }
.schedule-tab-count { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--text-muted); font-size: .67rem; font-weight: 800; }
.schedule-tab:hover { color: var(--ink); background: rgb(36 173 151 / 7%); background: color-mix(in srgb, var(--teal) 7%, transparent); }
.schedule-tab:active { background: rgb(36 173 151 / 12%); background: color-mix(in srgb, var(--teal) 12%, transparent); }
.schedule-tab[aria-selected="true"] { color: var(--ink); background: rgb(36 173 151 / 10%); background: color-mix(in srgb, var(--teal) 10%, transparent); }
.schedule-tab[aria-selected="true"]::before { opacity: 1; transform: scaleX(1); }
.schedule-tab[aria-selected="true"] .schedule-tab-count { border-color: var(--teal); color: var(--on-teal); background: var(--teal); }
.schedule-panels { min-width: 0; }
.schedule-panel { --schedule-accent: var(--teal); scroll-margin-top: calc(var(--topbar-height, 70px) + 92px); padding: clamp(22px, 3.2vw, 36px); }
.schedule-panel--2 { --schedule-accent: var(--blue); }
.schedule-panel--3 { --schedule-accent: var(--orange); }
.schedule-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 19px; }
.schedule-panel-heading > div { display: grid; gap: 5px; min-width: 0; }
.schedule-panel-heading > div > p { color: var(--schedule-accent); font-size: .65rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.schedule-panel-heading h2 { max-width: 650px; color: var(--ink); font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.1; }
.schedule-panel-status { display: inline-flex; min-height: 32px; flex: 0 0 auto; align-items: center; gap: 7px; color: var(--text-muted); font-size: .75rem; font-weight: 800; }
.schedule-panel-status svg { width: 16px; height: 16px; color: var(--schedule-accent); }
.schedule-activities { border-block: 1px solid var(--border-strong); }
.schedule-activity { position: relative; }
.schedule-activity + .schedule-activity { border-top: 1px solid var(--border); }
.schedule-activity::before { position: absolute; z-index: 1; top: 26px; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--schedule-accent); content: ""; opacity: 0; transform: scale(.5); transition: opacity var(--motion-feedback) var(--ease-standard), transform var(--motion-feedback) var(--ease-out); }
.schedule-activity[open]::before { opacity: 1; transform: scale(1); }
.schedule-activity summary { display: grid; grid-template-columns: 66px minmax(0, 1fr) 24px; min-height: 58px; align-items: center; gap: 16px; padding: 8px 8px 8px 14px; color: var(--ink); cursor: pointer; list-style: none; transition: color var(--motion-feedback) var(--ease-standard), background-color var(--motion-feedback) var(--ease-standard); }
.schedule-activity summary::-webkit-details-marker { display: none; }
.schedule-activity summary::marker { content: ""; }
.schedule-activity summary:hover { color: var(--schedule-accent); background: rgb(36 173 151 / 6%); background: color-mix(in srgb, var(--schedule-accent) 6%, transparent); }
.schedule-activity time { color: var(--schedule-accent); font-family: Outfit, Inter, sans-serif; font-size: .9rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.schedule-activity summary > span { display: grid; min-width: 0; gap: 2px; }
.schedule-activity strong { min-width: 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(.91rem, 1.05vw, 1rem); font-weight: 750; line-height: 1.3; }
.schedule-activity summary small { color: var(--text-muted); font-size: .65rem; font-weight: 700; letter-spacing: .02em; }
.schedule-activity summary svg { width: 17px; height: 17px; color: var(--text-muted); transition: transform var(--motion-sm) var(--ease-out), color var(--motion-feedback) var(--ease-standard); }
.schedule-activity[open] summary { background: rgb(36 173 151 / 5%); background: color-mix(in srgb, var(--schedule-accent) 5%, transparent); }
.schedule-activity[open] summary small, .schedule-activity[open] summary svg { color: var(--schedule-accent); }
.schedule-activity[open] summary svg { transform: rotate(180deg); }
.schedule-activity-content { overflow: hidden; }
.schedule-activity-content > p { max-width: 720px; padding: 0 44px 17px 96px; color: var(--text-secondary); font-size: .84rem; line-height: 1.55; }

/* Nesta rota, o rodapé continua completo sem repetir a altura do cronograma. */
body[data-route="/cronograma"] .footer { padding-top: 20px; padding-bottom: 20px; }
body[data-route="/cronograma"] .footer-grid { display: none; }
body[data-route="/cronograma"] .copyright { margin-top: 0; border-top: 0; padding-top: 0; }

@media (min-width: 1024px) {
  :root { --topbar-height: 76px; }
}

@media (max-width: 1023px) {
  :root { --topbar-height: 70px; }
}

@media (max-width: 860px) {
  .schedule-tab { grid-template-columns: 24px minmax(0, 1fr) 25px; min-height: 66px; gap: 7px; padding: 9px 10px; }
  .schedule-tab::before { right: 10px; left: 10px; }
}

@media (max-width: 650px) {
  body[data-route="/atendimento"] .support-topic-list a, body[data-route="/atendimento"] .support-topic-list button { padding-right: 68px; }
  body[data-route="/atendimento"] .support-email-actions { padding-right: 68px; }
  .schedule-detail { padding-block: 22px 26px; }
  .schedule-planner { width: min(100% - 24px, var(--content-max)); }
  .schedule-planner-heading { grid-template-columns: 1fr auto; align-items: start; gap: 12px; padding: 0 4px 18px; }
  .schedule-planner-heading h1 { font-size: clamp(2rem, 11vw, 2.7rem); }
  .schedule-planner-heading > div > p:last-child { font-size: .79rem; line-height: 1.45; }
  .schedule-planner-heading .text-link { width: 44px; min-height: 44px; justify-content: center; font-size: 0; }
  .schedule-planner-heading .text-link svg { width: 19px; height: 19px; }
  .schedule-tab { grid-template-columns: 1fr; min-height: 55px; justify-items: center; padding: 7px 4px; text-align: center; }
  .schedule-tab-index, .schedule-tab-count, .schedule-tab-copy small { display: none; }
  .schedule-tab-copy strong { font-size: .78rem; }
  .schedule-panel { scroll-margin-top: calc(var(--topbar-height, 70px) + 65px); padding: 19px 14px 22px; }
  .schedule-panel-heading { align-items: start; gap: 12px; padding-bottom: 15px; }
  .schedule-panel-heading h2 { max-width: 270px; font-size: clamp(1.35rem, 6.8vw, 1.78rem); }
  .schedule-panel-status { min-height: 25px; font-size: 0; }
  .schedule-panel-status svg { width: 17px; height: 17px; }
  .schedule-activity summary { grid-template-columns: 48px minmax(0, 1fr) 19px; min-height: 55px; gap: 9px; padding: 7px 5px 7px 10px; }
  .schedule-activity time { font-size: .8rem; }
  .schedule-activity strong { font-size: .83rem; line-height: 1.25; }
  .schedule-activity summary small { font-size: .61rem; }
  .schedule-activity-content > p { padding: 0 27px 15px 67px; font-size: .78rem; line-height: 1.5; }
  body[data-route="/cronograma"] .footer { padding: 18px 20px; }
}

:root[data-theme="light"] .schedule-detail { background: #edf5f5; }
:root[data-theme="light"] .schedule-planner-layout { background: #fbfaf4; }
:root[data-theme="light"] .schedule-tabs { background: #eef4f0; }

@media (prefers-reduced-motion: reduce) {
  .schedule-tab::before, .schedule-activity::before, .schedule-activity summary svg { transition: none !important; }
}

.topbar {
  min-height: 72px;
  background: #071827;
  box-shadow: inset 0 -1px 0 rgb(42 213 189 / 24%);
}
.brand { gap: 10px; border: 0; border-radius: 0; padding: 0; color: #f5f9fc; background: transparent; box-shadow: none; }
.brand img { width: 43px; height: 43px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / 18%); }
.brand small { display: none; }
.main-nav { gap: clamp(12px, 1.7vw, 26px); border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
.main-nav a { min-height: 46px; gap: 0; border: 0; border-radius: 0; padding: 0; color: #bfd0dd; background: transparent; text-decoration: none; text-decoration-line: none; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a:visited { text-decoration: none; text-decoration-line: none; }
.main-nav a svg { display: none; }
.main-nav a::after { right: 0; bottom: 5px; left: 0; height: 2px; background: #35d6bd; }
.main-nav a:hover, .main-nav a.active { border-color: transparent; color: #fff; background: transparent; }
.icon-button, .menu-button { border-color: rgb(180 215 230 / 25%); color: #ecf5fa; background: rgb(255 255 255 / 5%); }
.icon-button:hover, .menu-button:hover { border-color: #22c9b0; color: #fff; background: rgb(34 201 176 / 14%); }

:root[data-theme="light"] .topbar { border-bottom-color: #b8d5df; background: #f8fcfc; box-shadow: inset 0 -1px 0 rgb(16 126 137 / 18%); }
:root[data-theme="light"] .brand { color: #12364b; }
:root[data-theme="light"] .main-nav a { color: #527087; }
:root[data-theme="light"] .main-nav a:hover, :root[data-theme="light"] .main-nav a.active { border-color: transparent; color: #113d54; background: transparent; }
:root[data-theme="light"] .icon-button, :root[data-theme="light"] .menu-button { border-color: #b9d2dc; color: #1b4a60; background: #fff; }

@media (max-width: 1100px) {
  .main-nav { border: 1px solid rgb(68 174 192 / 34%); padding: 9px 16px; background: #091a2b; box-shadow: 0 18px 34px rgb(0 0 0 / 24%); }
  .main-nav a { min-height: 42px; }
  :root[data-theme="light"] .main-nav { border-color: #bfd6df; background: #f8fcfc; box-shadow: 0 16px 30px rgb(26 68 82 / 13%); }
}

@media (max-width: 1023px) {
  .topbar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; min-height: 70px; padding: 10px clamp(16px, 3vw, 28px); }
  .header-actions { gap: 8px; }
  .menu-button { display: grid; order: 2; }
  .main-nav {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: clamp(16px, 3vw, 28px);
    left: clamp(16px, 3vw, 28px);
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgb(68 174 192 / 34%);
    border-radius: 8px;
    padding: 8px 14px;
    background: #091a2b;
    box-shadow: 0 18px 34px rgb(0 0 0 / 24%);
  }
  .main-nav a { min-height: 44px; padding: 0 2px; }
  .main-nav a::after { right: auto; bottom: 5px; left: 2px; width: 36px; }
  :root[data-theme="light"] .main-nav { border-color: #bfd6df; background: #f8fcfc; box-shadow: 0 16px 30px rgb(26 68 82 / 13%); }
  :root[data-theme="light"] .main-nav a:hover, :root[data-theme="light"] .main-nav a.active { color: #113d54; }
}

@media (max-width: 1023px) {
  .main-nav { max-height: 70vh; max-height: min(70dvh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 10px; }
  .main-nav a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 52px;
    gap: 10px;
    border-radius: 4px;
    padding: 0 12px;
    touch-action: manipulation;
  }
  .main-nav a svg { display: block; width: 19px; height: 19px; color: #74e6d3; }
  .main-nav a::after { top: 10px; bottom: 10px; left: 0; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; }
  .main-nav a:hover { transform: none; }
  .main-nav a.active { color: #fff; background: rgb(56 222 195 / 10%); }
  .main-nav a.active::after { transform: scaleY(1); }
  :root[data-theme="light"] .main-nav a svg { color: #087d75; }
  :root[data-theme="light"] .main-nav a.active { color: #113d54; background: rgb(8 125 117 / 10%); }
}

.support-email-actions, .footer a, .dialog-note a { overflow-wrap: anywhere; }
