:root {
  color-scheme: light;
  --blue: #004b77; --ink: #073d5b; --yellow: #ffd300; --teal: #008a97;
  --paper: #fbf8f1; --card: #fffefa; --line: #deded4; --muted: #506671;
  font: 400 15px/1.55 Prompt, "Segoe UI", sans-serif; color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #008a97; outline-offset: 3px; }
i[data-ico] { display: inline-flex; font-style: normal; align-items: center; }
svg { width: 1.25em; height: 1.25em; flex: none; }
[hidden] { display: none !important; }
.wrap { width: min(1184px, calc(100% - 88px)); margin-inline: auto; }
.site-header { background: #fffdf7; border-bottom: 1px solid var(--line); }
.header-inner, .brand, nav, .nav-item, .profile-trigger { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 74px; gap: 20px; }
.brand { gap: 15px; font-size: 16px; font-weight: 700; letter-spacing: -.6px; }
.brand img { width: 72px; height: auto; }
.brand-rule { height: 27px; width: 1px; background: #ccd5d5; }
nav { gap: 24px; align-self: stretch; }
.nav-item { position: relative; gap: 8px; font-size: 13px; font-weight: 500; }
.nav-item.active { color: var(--blue); font-weight: 650; }
.nav-item.active::after { content: ''; height: 3px; background: var(--yellow); position: absolute; bottom: 12px; left: 0; right: 0; border-radius: 3px; }
.nav-item { align-self: stretch; }
.profile-trigger { background: var(--blue); color: #fff; gap: 9px; padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 550; }
.profile-trigger:hover, .primary:hover { background: #003d60; }
.ticket-hero { position: relative; isolation: isolate; margin-top: 28px; min-height: 253px; display: flex; align-items: center; border-radius: 16px; overflow: hidden; background: var(--blue); color: #fff; }
.hero-copy { position: relative; z-index: 1; margin: 28px 0 30px 39px; width: 53%; }
.hero-kicker, .trip-eyebrow, .pocket-label, .stub-label, .phrase-label, .result-context { font-size: 10px; line-height: 1.4; font-weight: 650; letter-spacing: 1.55px; text-transform: uppercase; }
.hero-kicker { display: flex; align-items: center; gap: 9px; color: #ffe255; font-size: 10.5px; letter-spacing: 2.1px; }
.hero-kicker span { width: 24px; height: 2px; background: var(--yellow); }
h1, h2, h3, p { margin: 0; }
.hero-copy h1 { font-size: clamp(48px,5.6vw,79px); line-height: 1.14; font-weight: 800; letter-spacing: -.055em; margin: 4px 0 4px -3px; }
.hero-copy h1 em { color: var(--yellow); font-style: normal; display: inline-block; transform: skewX(-9deg); }
.hero-copy p { font-size: 15px; font-weight: 400; color: #eff7f8; }
.search-box { display: flex; align-items: center; gap: 11px; margin-top: 21px; width: min(455px,100%); min-height: 47px; padding: 0 14px; color: var(--blue); background: #fffefa; border-radius: 8px; box-shadow: 0 2px 0 #003957; }
.search-box:focus-within { outline: 3px solid var(--yellow); outline-offset: 2px; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font-size: 13px; height: 46px; padding: 0; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box input::placeholder { color: #62747a; opacity: 1; }
.search-box kbd { border: 1px solid #dae0df; border-radius: 4px; padding: 1px 7px; color: #62747a; font: 12px/18px ui-monospace, monospace; }
.search-box button { display: grid; place-items: center; padding: 4px; }
.hero-art { position: absolute; inset: 0 52px 0 40%; pointer-events: none; z-index: -1; }
.route-lines { position: absolute; width: 100%; height: 100%; right: 0; top: 0; mask-image: linear-gradient(90deg, transparent 0%, #000 10%); }
.case-art { position: absolute; height: 87%; width: 65%; object-fit: contain; bottom: 5%; right: 4%; transform: rotate(-6deg); filter: drop-shadow(0 5px 2px #002d4960); }
.ticket-stub { position: absolute; inset: 0 0 0 auto; width: 54px; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 18px; color: #fff5d4; border-left: 2px dashed #77a7ab; background: #003e62; }
.ticket-stub::before, .ticket-stub::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; left: -10px; background: var(--paper); }
.ticket-stub::before { top: -9px; }.ticket-stub::after { bottom: -9px; }
.ticket-stub span { writing-mode: vertical-rl; font: 600 8px/1.2 Prompt,sans-serif; letter-spacing: 2px; }
.barcode { display: block; width: 67px; height: 22px; background: repeating-linear-gradient(90deg,currentColor 0 1px,transparent 1px 3px,currentColor 3px 5px,transparent 5px 7px,currentColor 7px 8px,transparent 8px 10px,currentColor 10px 13px,transparent 13px 15px); }
.ticket-stub .barcode { width: 22px; height: 30px; background-size: auto; opacity: .85; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,32%); gap: 28px; margin-top: 29px; align-items: start; scroll-margin: 14px; }
.content-grid:focus { outline: 0; }
.view-heading { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 0 0 15px; }
.view-heading h2 { font-size: clamp(23px,2.4vw,32px); line-height: 1.25; letter-spacing: -1.4px; font-weight: 700; }
.total { flex: none; color: #45606b; font-size: 11px; display: flex; gap: 6px; align-items: center; }
.total svg { width: 15px; }
.category-list, .phrase-list { display: grid; gap: 9px; }
.category { background: #fffefa; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 2px 0 #3d473607; overflow: hidden; }
.category-toggle { width: 100%; text-align: left; padding: 11px 17px 11px 13px; display: flex; gap: 15px; align-items: center; }
.category-toggle:hover, .category.expanded .category-toggle { background: #fffdf3; }
.scene-icon { width: 52px; height: 52px; display: grid; place-items: center; flex: none; background: #e0eff4; border-radius: 10px; }
.scene-icon svg { width: 85%; height: 85%; }
.aviao { background: #deefea; } .hotel { background: #fff0cb; } .rua { background: #e3eee3; } .restaurante { background: #fbe6d6; }
.category-info { flex: 1; min-width: 0; display: grid; gap: 1px; }
.category-title { display: flex; align-items: baseline; gap: 9px; font-size: 20px; line-height: 1.25; font-weight: 650; letter-spacing: -.7px; }
.category-number { font: 600 10px/1.6 ui-monospace,Consolas,monospace; letter-spacing: .3px; color: #56737e; }
.category-desc { color: var(--muted); font-size: 12px; }
.round-arrow { width: 28px; height: 28px; display: grid; flex: none; place-items: center; border-radius: 50%; background: #f3f3ec; }
.round-arrow svg { width: 15px; transition: transform .18s; }.expanded .round-arrow svg { transform: rotate(180deg); }
.subgroups { margin: 0 18px 9px 80px; padding: 3px 0; border-top: 1px dashed var(--line); }
.subgroups a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 3px; font-size: 13px; }
.subgroups a:hover { color: #00747e; text-decoration: underline; }
.subgroups small { margin-left: auto; color: var(--muted); }.subgroups svg { width: 15px; }
aside { display: grid; gap: 17px; }
.trip-card { position: relative; overflow: hidden; background: #fff1bf; border: 1px solid #e6cd85; border-radius: 12px; }
.trip-card::before { content: ''; position: absolute; width: 57px; height: 57px; top: 13px; right: 14px; background: url("assets/dont-forget.webp") center / contain no-repeat; transform: rotate(9deg); pointer-events: none; }
.trip-body { padding: 21px 23px 18px; }
.trip-eyebrow, .pocket-label { display: flex; gap: 7px; align-items: center; }
.trip-eyebrow { color: #715820; }.trip-eyebrow svg, .pocket-label svg { width: 16px; height: 16px; }
.trip-card h2 { margin: 12px 0 4px; font-size: 26px; letter-spacing: -1.2px; line-height: 1.25; }
.trip-card p { color: #4d5959; font-size: 13px; max-width: 34ch; overflow-wrap: anywhere; }
.trip-card .primary { margin-top: 16px; }
.primary { border-radius: 7px; background: var(--blue); color: white; padding: 9px 13px; font-weight: 550; font-size: 12px; display: inline-flex; align-items: center; gap: 15px; }
.primary svg { width: 16px; }
.ticket-bottom { position: relative; border-top: 1px dashed #b5a771; display: flex; justify-content: space-between; align-items: center; padding: 11px 23px; color: #7a703e; }
.ticket-bottom::before,.ticket-bottom::after { content: ''; width: 13px; height: 13px; border: 1px solid #dbcc9a; background: var(--paper); position: absolute; top: -7px; border-radius: 50%; }
.ticket-bottom::before { left: -8px; }.ticket-bottom::after { right: -8px; }
.stub-label { font: 600 9px/1.3 ui-monospace,Consolas,monospace; letter-spacing: 1.7px; }
.ticket-bottom .barcode { width: 64px; height: 15px; color: #6d673d; }
.pocket-card { border-radius: 12px; padding: 19px 22px 17px; border: 1px solid #b9d9d8; background: #e7f3ef; }
.pocket-label { color: #176766; }
.pocket-card h3 { font-size: 21px; letter-spacing: -.65px; font-weight: 600; line-height: 1.35; margin: 13px 0 4px; }
.pocket-card p { font-size: 12px; color: #436767; }
.pocket-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.listen { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border: 1px solid #bfd6d2; border-radius: 6px; font-size: 12px; font-weight: 550; background: #f8fffb; color: #155d64; }
.listen:hover, .listen.is-playing { background: #cbe7df; }
.back { display: inline-flex; gap: 7px; align-items: center; margin: 0 0 13px; color: #46646e; font-size: 12px; }
.back:hover { text-decoration: underline; }
.back svg { width: 15px; }
.phrase-card, .empty { border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 18px 19px; min-width: 0; overflow-wrap: anywhere; }
.phrase-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.result-context { color: var(--muted); font-size: 9px; letter-spacing: 1px; }.result-context:hover { text-decoration: underline; }
.phrase-label { color: #557076; font-size: 9px; letter-spacing: 1.3px; }
.save-phrase, .audio-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 7px; }
.save-phrase { margin-left: auto; }
.save-phrase:hover { background: #f6f1de; }.save-phrase[aria-pressed=true] svg { fill: #ffd300; }
.speech-row { display: flex; align-items: flex-start; gap: 14px; justify-content: space-between; }
.speech-row > div { min-width: 0; }
.speech-row h3, .speech-row .english { font-size: 18px; font-weight: 600; line-height: 1.42; letter-spacing: -.4px; }
.speech-row .translation { color: var(--muted); font-size: 13px; margin-top: 2px; }
.audio-icon { flex: none; background: #eaf3f4; color: var(--blue); }
.audio-icon:hover, .audio-icon.is-playing { background: #d1e8e7; }
.response-block { margin-top: 15px; border-top: 1px dashed var(--line); padding-top: 13px; }.response-block .phrase-label { margin-bottom: 5px; }
.short-answer { background: #fff2b8; border-radius: 7px; padding: 9px 12px; margin-top: 14px; }
.short-answer .speech-row .english { font-size: 15px; }.short-answer .audio-icon { background: #ffe699; }
.fill-data { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--blue); font-weight: 600; border-bottom: 1px solid #b9cbd2; padding: 4px 0; margin-top: 9px; }
.fill-data svg { width: 14px; }.field-gap { border-radius: 4px; padding: 0 2px; background: #fff0ae; }
.empty { padding: 29px; }.empty svg { width: 27px; height: 27px; color: var(--teal); }
.empty h3 { font-size: 18px; margin: 8px 0 3px; }.empty p { font-size: 13px; color: var(--muted); }
footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 30px; padding: 17px 0 22px; font-size: 10px; color: #62727a; } footer b { margin: 0 4px; }
.toast { position: fixed; z-index: 5; bottom: 18px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 24px); width: max-content; border-radius: 9px; background: #073d5b; box-shadow: 0 5px 18px #00203e30; color: white; padding: 11px 16px; font-size: 13px; }.toast:empty { display: none; }
.sr-only,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 3px; left: 3px; padding: 6px 12px; z-index: 3; background: white; }
@media (min-width: 1500px) { .ticket-hero { margin-top: 37px; } }
@media (max-width: 930px) {
  .wrap { width: calc(100% - 48px); }.hero-copy { margin-left: 27px; }.content-grid { gap: 20px; grid-template-columns: minmax(0,1fr) minmax(248px,31%); }
  .trip-body, .pocket-card { padding-inline: 17px; } .category-toggle { gap: 10px; }
  .trip-card::before { width: 40px; height: 40px; top: 10px; right: 8px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }.header-inner { min-height: 61px; gap: 8px; }
  .brand { gap: 8px; font-size: 14px; }.brand img { width: 53px; }.brand-rule { height: 20px; }
  nav { gap: 13px; }.nav-item { font-size: 12px; }.nav-item.active::after { bottom: 7px; }
  .profile-trigger { padding: 8px 10px; font-size: 12px; gap: 5px; }
  .ticket-hero { min-height: 233px; margin-top: 18px; }.hero-copy { width: 64%; margin: 23px 0 22px 21px; }
  .hero-copy h1 { font-size: 48px; }.hero-copy p { font-size: 13px; }
  .ticket-stub { width: 29px; }.ticket-stub span { font-size: 7px; }.ticket-stub .barcode { width: 15px; }
  .hero-art { right: 25px; left: 52%; }.case-art { right: 1%; width: 95%; height: 72%; bottom: 13%; }
  .search-box { margin-top: 17px; }.content-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; } aside { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trip-card h2 { font-size: 23px; }.pocket-card h3 { font-size: 19px; }
}
@media (max-width: 535px) {
  .header-inner { width: calc(100% - 24px); }.site-header nav { gap: 8px; }.brand,.profile-trigger { white-space: nowrap; }.nav-item span { display: none; }.nav-item { padding: 0 3px; }.nav-item svg { width: 20px; height: 20px; }
  .nav-item.active::after { bottom: 9px; }.brand { font-size: 13px; gap: 7px; }.brand img { width: 48px; }
  .profile-trigger { font-size: 11px; padding: 9px; }.profile-trigger svg { width: 15px; height: 15px; }
  .ticket-hero { min-height: 224px; align-items: flex-start; border-radius: 12px; }
  .hero-copy { position: static; width: 100%; margin: 21px 18px; }
  .hero-kicker { font-size: 8px; gap: 5px; letter-spacing: 1.25px; }.hero-kicker span { width: 14px; }
  .hero-copy h1 { width: 66%; font-size: clamp(34px,8.5vw,45px); line-height: 1.14; letter-spacing: -.06em; margin: 10px 0 4px -1px; }
  .hero-copy p { width: 57%; font-size: 12px; line-height: 1.5; }
  .ticket-stub { display: none; }.hero-art { left: 55%; right: 1%; bottom: 51px; top: 3px; }.case-art { height: 80%; bottom: 7%; }
  .search-box { position: absolute; left: 16px; right: 16px; bottom: 16px; min-height: 43px; width: auto; padding: 0 11px; }.search-box input { height: 43px; font-size: 14px; }.search-box kbd { display: none; }
  .content-grid { margin-top: 20px; }.view-heading { margin-bottom: 11px; }.view-heading h2 { font-size: 25px; }.total { font-size: 10px; }
  .category-toggle { padding: 10px 11px; gap: 12px; }.scene-icon { width: 46px; height: 46px; }.category-title { font-size: 18px; gap: 6px; }.category-desc { font-size: 11px; line-height: 1.45; }.round-arrow { width: 25px; height: 25px; }
  aside { grid-template-columns: 1fr; }.subgroups { margin-left: 28px; }.phrase-card { padding: 14px; }.phrase-head { margin-bottom: 3px; }
}
@media (max-width: 365px) { .wrap { width: calc(100% - 20px); }.brand-rule,.brand>span:last-child { display: none; }.hero-copy h1 { font-size: 30px; }.category-desc { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { transition: none !important; scroll-behavior: auto !important; } }
