:root {
  --navy: #001436;
  --navy-2: #061d45;
  --gold: #d49900;
  --gold-soft: #fff7e3;
  --white: #ffffff;
  --soft: #f5f7fb;
  --soft-blue: #edf2f8;
  --border: rgba(0, 20, 54, 0.16);
  --muted: #61708c;
  --ink: #22314b;
  --success: #145a22;
  --success-bg: #eef9f0;
  --danger: #b00020;
  --radius: 16px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  color-scheme: light;
  font-family: Ubuntu, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 22px 12px;
  background: radial-gradient(circle at 15% 8%, rgba(212, 153, 0, 0.13), transparent 28rem), linear-gradient(180deg, var(--navy), var(--navy-2));
  color: var(--navy);
  font-size: 16px;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(212, 153, 0, 0.5); outline-offset: 3px; }
.hidden { display: none !important; }
.nas-test-notice { display: none; }
.pre-trip-only { display: none; }
body[data-pre-trip] .pre-trip-only { display: revert; }
body[data-pre-trip] #planning-link,
body[data-pre-trip] #crew-contact,
body[data-pre-trip] #guest-messages,
body[data-pre-trip] #guest-services-heading,
body[data-pre-trip] .service-grid,
body[data-pre-trip] [data-i18n="loginServices"],
body[data-pre-trip] [data-i18n="deviceOnlyHelp"] { display: none !important; }
body[data-standalone-test] .nas-test-notice { display: block; max-width: 780px; margin: 0 auto 16px; padding: 16px 20px; border-radius: 16px; background: var(--gold-soft); color: var(--navy); font-size: 0.85rem; line-height: 1.5; }
body[data-standalone-test] #planning-link,
body[data-standalone-test] #guest-services-heading,
body[data-standalone-test]:not([data-test-mini-apps]) .last-day-services,
body[data-standalone-test] .service-grid,
body[data-standalone-test] .access-note { display: none !important; }
body[data-test-mini-apps] #guest-services-heading { display: block !important; }
body[data-test-mini-apps] .service-grid { display: grid !important; }
body:not([data-test-mini-apps]) .nas-miniapps-notice,
body[data-test-mini-apps] .nas-standalone-notice { display: none; }

.connection-status { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 12px; padding: 7px 10px 7px 12px; border: 1px solid #e9cf8a; border-radius: 10px; background: var(--gold-soft); color: #714d00; font-size: .78rem; line-height: 1.4; font-weight: 750; }
.connection-status button { min-height: 36px; flex: 0 0 auto; background: var(--white); }
.connection-status button:disabled { opacity: .55; cursor: wait; }
.connection-retry { width:100%; margin-top:10px; }
.more-information { margin:16px 0 0; }
.more-information .information-grid { margin:0; padding:0 12px 12px; }
[data-service][aria-disabled="true"] { cursor:pointer; }
[data-service][aria-disabled="true"] .service-status { background:#eef1f5; color:#536078; }
[data-service][aria-disabled="true"] .service-status i { background:#8993a3; }
[data-service][aria-disabled="true"] .card-arrow { color:#8993a3; }

.card {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.card.narrow { max-width: 560px; }
.portal-card, .profile-card { max-width: 840px; }

.header {
  position: relative;
  padding: 28px 24px 25px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.header::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); content: ""; }
.logo-img { display: block; width: 213px; max-width: 78%; height: auto; margin: 0 auto 22px; }
.eyebrow, .card-kicker { color: var(--gold); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.header .eyebrow { margin-bottom: 7px; }
h1 { margin: 0 0 7px; color: var(--white); font-size: clamp(1.55rem, 4vw, 1.9rem); line-height: 1.16; }
h2 { color: var(--navy); }
.meta { min-height: 1.3em; color: rgba(255, 255, 255, 0.86); font-size: 0.875rem; line-height: 1.4; }
.content { padding: 24px; background: var(--white); }
.activation-content { padding-top: 26px; }
.login-language-field { display: flex; justify-content: flex-end; margin: -8px 0 16px; }
.login-language-wrap { position: relative; display: inline-flex; align-items: center; }
.login-language-icon { position: absolute; left: 10px; z-index: 1; font-size: 12px; pointer-events: none; }
.login-language-field select { min-height: 34px; max-width: 100%; padding: 7px 12px 7px 29px; border: 0; border-radius: 999px; appearance: none; background: #eef1f5; color: var(--navy); cursor: pointer; font-size: 0.78rem; font-weight: 800; }

.intro-block { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.intro-block h2 { margin: 1px 0 5px; font-size: 1.18rem; line-height: 1.3; }
.intro { margin: 0; color: var(--ink); font-size: 0.95rem; line-height: 1.55; }
.step-number { display: inline-grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: 0.83rem; font-weight: 800; }
.field-label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 0.9rem; font-weight: 750; }

.code-field { display: flex; align-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.code-field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 153, 0, 0.16); }
.code-field input { min-width: 0; width: 100%; min-height: 48px; border: 0; outline: 0; padding: 11px 12px; background: transparent; color: var(--navy); font-size: 1rem; font-weight: 650; }
.code-field button { align-self: stretch; border: 0; padding: 0 14px; background: #eef1f5; color: var(--navy); cursor: pointer; font-size: 0.8rem; font-weight: 800; }

.primary-button { width: 100%; min-height: 48px; margin-top: 14px; border: 0; border-radius: var(--radius); padding: 12px 16px; background: var(--gold); color: var(--navy); cursor: pointer; font-weight: 800; }
.primary-button:hover { filter: brightness(1.05); }
.primary-button:disabled { cursor: wait; opacity: 0.65; }
.form-error { margin: 12px 0 0; padding: 11px 13px; border: 1px solid #efb4b2; border-radius: 11px; background: #fff0ef; color: var(--danger); font-size: 0.86rem; font-weight: 700; line-height: 1.4; }

.access-note { display: flex; gap: 11px; margin-top: 20px; padding: 13px; border: 1px solid #c9d3e1; border-radius: 12px; background: var(--soft-blue); color: var(--ink); font-size: 0.84rem; line-height: 1.45; }
.access-note > span { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--success-bg); color: var(--success); font-weight: 900; }
.access-note p { margin: 0; }
.help-copy, .footer-note { margin: 18px 0 0; color: rgba(92, 102, 122, 0.82); font-size: 0.75rem; line-height: 1.45; text-align: center; }
.footer-note a { margin-inline-start: 8px; color: inherit; text-underline-offset: 2px; }

.dashboard-header { padding-top: 25px; }
.dashboard-header .logo-img { margin-bottom: 18px; }
.sign-out { position: absolute; top: 16px; right: 16px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 7px 11px; background: rgba(255, 255, 255, 0.08); color: var(--white); cursor: pointer; font-size: 0.75rem; font-weight: 700; }
.dashboard-content { padding-top: 22px; }

.welcome-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "guest planning actions" "trip trip trip"; align-items: center; gap: 10px 14px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--soft); }
.welcome-identity { grid-area: guest; min-width: 0; }
.welcome-actions { grid-area: actions; justify-self: end; min-width: 0; max-width: 100%; }
.label, .trip-facts dt { margin-bottom: 5px; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.welcome-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.welcome-panel h2 { margin: 0; font-size: 1.35rem; line-height: 1.25; overflow-wrap: anywhere; }
.welcome-cabin { display: inline-flex; align-items: baseline; gap: 4px; color: var(--muted); font-size: .78rem; }
.welcome-cabin strong { color: var(--navy); }
.welcome-actions .login-language-field { margin: 0; }
.welcome-actions .login-language-wrap { max-width: 100%; }
.welcome-actions .login-language-field select { max-width: min(100%, 176px); text-overflow: ellipsis; }
.planning-button { grid-area: planning; justify-self: center; display: inline-flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 7px; min-height: 42px; padding: 7px 13px; border: 1px solid #b78400; border-radius: 10px; background: var(--gold-soft); color: var(--navy); font-size: .82rem; font-weight: 800; text-align: center; text-decoration: none; }
.planning-button:hover { background: #ffe9a9; }
.welcome-shortcuts { grid-area: planning; display:flex; flex-wrap:wrap; justify-content:center; gap:6px; }
#unread-message-shortcut { background:var(--gold); }
.planning-button .service-status { position: static; white-space: normal; }
.signed-in-badge, .service-status { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--success-bg); color: var(--success); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.signed-in-badge { padding: 7px 10px; white-space: nowrap; }
.signed-in-badge i, .service-status i { width: 6px; height: 6px; border-radius: 50%; background: #2a9440; }
.profile-link { border: 0; padding: 0; background: transparent; color: var(--navy); cursor: pointer; font-size: 0.78rem; font-weight: 800; text-decoration: none; }
.profile-link span { color: var(--gold); font-size: 1rem; }
.profile-setup-card, .guest-message-card.is-unread { position: relative; border: 1px solid rgba(212, 153, 0, 0.72); border-radius: var(--radius); background: linear-gradient(135deg, #fff9e8 0%, #fff4cf 100%); color: var(--navy); box-shadow: 0 6px 16px rgba(0, 20, 54, 0.06); }
.profile-setup-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 12px; padding: 16px; text-decoration: none; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.profile-setup-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 9px 22px rgba(0, 20, 54, 0.1); }
.profile-setup-card .card-kicker { color: #8b6500; }
.profile-setup-card .service-copy small { max-width: 440px; }
@media (prefers-reduced-motion: no-preference) {
  .profile-setup-card::after, .guest-message-card.is-unread::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px #d49900, inset 0 0 18px rgba(212, 153, 0, 0.23); pointer-events: none; opacity: 0; animation: profileSetupGlow 2.4s ease-in-out infinite; }
  @keyframes profileSetupGlow { 50% { opacity: 0.85; } }
}

.trip-facts { grid-area: trip; display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 0; padding-top: 8px; border-top: 1px solid var(--border); }
.trip-facts div { min-width: 0; }
.trip-facts dt { margin: 0 0 3px; }
.trip-facts dd { margin: 0; color: var(--navy); font-size: .86rem; font-weight: 800; overflow-wrap: anywhere; }

.service-card { color: var(--navy); text-decoration: none; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.service-card:hover { transform: translateY(-2px); border-color: rgba(212, 153, 0, 0.55); box-shadow: 0 8px 20px rgba(0, 20, 54, 0.09); }
.embarkation-day { margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.embarkation-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 12px 14px; background: var(--gold-soft); }
.embarkation-heading h2 { margin: 0; font-size: 1rem; line-height: 1.3; }
#embarkation-progress { color: #714d00; font-size: .75rem; font-weight: 750; }
.embarkation-task { border-top: 1px solid var(--border); }
.embarkation-task summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 1rem; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; list-style: none; color: var(--navy); font-size: .82rem; cursor: pointer; }
.embarkation-task summary::-webkit-details-marker { display: none; }
.embarkation-task summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.embarkation-task summary[aria-disabled="true"] { cursor: default; }
.embarkation-task summary[aria-disabled="true"] .details-arrow { visibility: hidden; }
.task-mark { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid #8695ac; border-radius: 50%; font-size: .7rem; }
.task-status { color: var(--muted); font-size: .69rem; text-align: end; }
.embarkation-task[data-state="complete"] .task-mark { border-color: transparent; background: var(--success-bg); color: var(--success); }
.embarkation-task[data-state="complete"] .task-status { color: var(--success); }
.embarkation-task > .profile-setup-card, .embarkation-task > .service-card { margin: 0 10px 10px; }
.embarkation-task > .profile-setup-card, .embarkation-task > .service-card, .dashboard-content > .billing-card { min-height: 0; padding: 10px 12px; }
.embarkation-task > .service-card { padding-inline-end: 60px; }
.embarkation-task .profile-setup-card .card-kicker { display: none; }
.liability-card { padding: 4px 14px 12px; }
.liability-card > label { display: block; margin: 0 0 7px; color: var(--ink); font-size: 0.76rem; font-weight: 800; }
.liability-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.liability-select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--border); border-radius: 11px; padding: 9px 11px; background: var(--soft); color: var(--navy); font: inherit; font-size: 0.82rem; font-weight: 700; }
.liability-select:focus { border-color: var(--gold); background: var(--white); outline: 0; box-shadow: 0 0 0 3px rgba(212, 153, 0, 0.14); }
.liability-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; border-radius: 11px; padding: 9px 13px; background: var(--navy); color: var(--white); font-size: 0.75rem; font-weight: 800; text-decoration: none; }
.liability-link span { color: var(--gold); }
.liability-link.disabled { cursor: not-allowed; opacity: 0.45; }
.liability-card > p { margin: 9px 1px 0; color: var(--muted); font-size: 0.7rem; line-height: 1.4; }
.liability-done-button { width: 100%; min-height: 42px; margin-top: 11px; border: 1px solid rgba(0, 20, 54, 0.2); border-radius: 11px; padding: 9px 13px; background: var(--white); color: var(--navy); cursor: pointer; font-size: 0.76rem; font-weight: 800; }
.liability-done-button:disabled { cursor: not-allowed; opacity: 0.45; }
.inline-status { margin-top: 10px; border: 1px solid #b8d9bd; border-radius: 10px; padding: 9px 11px; background: var(--success-bg); color: var(--success); font-size: 0.76rem; font-weight: 750; line-height: 1.4; }
.inline-status.error { border-color: #efb4b2; background: #fff0ef; color: var(--danger); }
.service-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: var(--navy); color: var(--gold); font-size: 1.15rem; font-weight: 900; }
.icon-svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-kicker { display: block; margin-bottom: 3px; font-size: 0.65rem; }
.service-copy { display: block; min-width: 0; }
.service-copy strong { display: block; color: var(--navy); font-size: 1rem; line-height: 1.3; }
.service-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.open-label { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 10px; background: var(--gold); color: var(--navy); font-size: 0.72rem; font-weight: 800; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 28px 0 12px; }
.section-heading .eyebrow { margin-bottom: 4px; }
.section-heading h2 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.section-heading p { margin: 0 0 2px; color: var(--muted); font-size: 0.78rem; }
.information-heading { margin-top: 24px; }
.information-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.information-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.information-card-heading, .dashboard-disclosure > summary { display: grid; align-items: center; gap: 12px; padding: 15px; }
.information-card-heading { grid-template-columns: auto minmax(0, 1fr); }
.information-card-heading h2 { margin: 0; font-size: 1rem; line-height: 1.3; }
.dashboard-disclosure > summary { grid-template-columns: auto minmax(0, 1fr) auto; cursor: pointer; list-style: none; }
.dashboard-disclosure > summary::-webkit-details-marker { display: none; }
.dashboard-disclosure > summary:focus-visible { outline-offset: -3px; }
.details-arrow { color: var(--gold); font-size: 1.15rem; font-weight: 900; transition: transform 0.16s ease; }
details[open] > summary .details-arrow { transform: rotate(180deg); }
.information-details { display: grid; gap: 8px; border-top: 1px solid var(--border); padding: 12px 15px 15px; background: var(--soft); }
.information-topic { display: block; border-radius: 9px; padding: 10px 11px; background: var(--white); color: inherit; text-decoration: none; }
.information-details strong { display: block; color: var(--navy); font-size: 0.72rem; }
.information-topic-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 30px; }
.information-topic-heading > [aria-hidden] { color: #936900; font-weight: 800; }
.information-page-link[href]:hover { background: #fff9e9; }
.information-page-link[href]:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.information-page-link:not([href]) .information-topic-heading > [aria-hidden] { display: none; }
.information-details p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.information-topic.missing p { font-style: italic; }
.information-freshness { margin: 0 13px 12px; color: #7b6530; font-size: 0.7rem; font-weight: 750; }
.dashboard-disclosure { overflow: hidden; border: 1px solid rgba(212, 153, 0, 0.42); border-radius: var(--radius); background: var(--gold-soft); }
.crew-contact-card { margin-top: 12px; }
.guest-message-inbox { padding: 0 12px 12px; }
#guest-message-list { display: grid; gap: 8px; }
.guest-message-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; padding: 12px; }
.guest-message-inbox .guest-message-card.is-unread { grid-template-columns: auto minmax(0, 1fr) auto; }
.guest-message-card.is-read { padding: 6px 10px; border: 1px solid var(--border); border-radius: 9px; background: var(--soft); }
.crew-reply { margin-top: 8px; }
.guest-message-copy .crew-request-heading { flex-wrap: wrap; gap: 2px 10px; }
.guest-message-copy strong { overflow-wrap: anywhere; }
.guest-message-copy time { white-space: nowrap; }
.guest-message-card.is-unread .guest-message-copy strong { font-size: .88rem; }
.guest-message-body { margin: 4px 0 0; color: var(--ink); font-size: .84rem; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.guest-message-card.is-read .guest-message-body { margin-top: 2px; font-size: .75rem; }
.guest-message-original { margin: 4px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.phone-notifications { margin-bottom: 10px; }
.guest-message-translation-credit { display: inline-block; margin-top: 2px; color: var(--muted); font-size: .7rem; }
.guest-message-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 5px; }
.guest-message-card.is-read .secondary-button, .guest-message-actions .guest-message-delete { min-height: 34px; padding: 5px 8px; font-size: .68rem; }
.guest-message-actions .guest-message-delete { border-color: transparent; background: transparent; color: var(--muted); }
.guest-message-actions .guest-message-delete:hover { border-color: var(--danger); color: var(--danger); }
@media (max-width: 620px) {
  .guest-message-card { grid-template-columns: minmax(0, 1fr); }
  .guest-message-inbox .guest-message-card.is-unread { grid-template-columns: auto minmax(0, 1fr); }
  .guest-message-actions { grid-column: 1 / -1; }
}
#guest-message-unread { color: var(--navy); font-weight: 700; }
.crew-contact-form { display: grid; gap: 7px; border-top: 1px solid rgba(212, 153, 0, 0.3); padding: 15px; background: var(--white); }
.crew-contact-form label { margin-top: 5px; color: var(--ink); font-size: 0.76rem; font-weight: 800; }
.crew-contact-form select, .crew-contact-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 11px; padding: 10px 11px; background: var(--soft); color: var(--ink); font-size: 0.82rem; line-height: 1.4; }
.crew-contact-form textarea { min-height: 92px; resize: vertical; }
.crew-contact-form #crew-contact-message { text-transform: uppercase; }
.crew-contact-form #crew-contact-message::placeholder { text-transform: none; }
.crew-contact-form label.is-next-step { color: #8a6200; }
.crew-contact-form select.is-next-step, .crew-contact-form textarea.is-next-step { border: 2px solid var(--gold); padding: 9px 10px; background: #fff9e7; box-shadow: 0 0 0 3px rgba(212, 153, 0, 0.14); }
.crew-contact-form select:focus, .crew-contact-form textarea:focus { border-color: var(--gold); background: var(--white); outline: 0; box-shadow: 0 0 0 3px rgba(212, 153, 0, 0.14); }
.crew-contact-form > p { margin: 2px 1px; color: var(--muted); font-size: 0.69rem; line-height: 1.45; }
.crew-contact-form .emergency-note { border-radius: 9px; padding: 8px 10px; background: #fff0ef; color: var(--danger); }
.crew-message-button { min-height: 43px; margin-top: 5px; border: 0; border-radius: 11px; padding: 10px 13px; background: var(--navy); color: var(--white); cursor: pointer; font-size: 0.78rem; font-weight: 800; }
.crew-message-button:disabled { cursor: wait; opacity: 0.6; }
.crew-request-history { margin-top: 10px; border-top: 1px solid var(--border); padding-top: 13px; }
.crew-request-history h3 { margin: 0 0 9px; color: var(--navy); font-size: 0.82rem; }
.crew-request-empty { margin: 0 !important; border-radius: 10px; padding: 10px 11px; background: var(--soft); color: var(--muted) !important; font-style: italic; }
#crew-request-list { display: grid; gap: 8px; }
.crew-request { border: 1px solid var(--border); border-radius: 11px; padding: 11px; background: var(--soft); scroll-margin-block: 48px; }
.crew-request:focus { outline: 2px solid var(--gold); outline-offset: 3px; }
.resolved-request-notices { display: grid; gap: 8px; margin-top: 12px; }
.resolved-request-notice { display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid #b8d9bd; border-radius: 13px; padding: 15px 17px; background: #f0f8f1; color: var(--navy); font: inherit; text-align: left; cursor: pointer; }
.resolved-request-notice:hover { background: #e5f2e7; }
.resolved-request-notice:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.resolved-request-icon { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: #dcefe0; color: var(--success); font-weight: 900; }
.resolved-request-copy { display: grid; gap: 4px; flex: 1; min-width: 0; }
.resolved-request-copy strong { font-size: 0.83rem; }
.resolved-request-preview { overflow: hidden; color: var(--muted); font-size: 0.73rem; text-overflow: ellipsis; white-space: nowrap; }
.resolved-request-action { flex-shrink: 0; color: var(--success); font-size: 0.72rem; font-weight: 800; }
.delete-ticket-button { display: block; margin: 9px 0 0 auto; border: 1px solid var(--border); border-radius: 7px; padding: 5px 9px; background: white; color: var(--muted); font: inherit; font-size: 0.68rem; cursor: pointer; }
.delete-ticket-button:hover { border-color: var(--danger); color: var(--danger); }
.delete-ticket-button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.crew-request-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.crew-request-heading strong { color: var(--navy); font-size: 0.76rem; }
.crew-request-heading time, .crew-request > small { color: var(--muted); font-size: 0.64rem; }
.crew-request > small { display: block; margin-top: 3px; }
.crew-request-timing { display: table; margin-top: 7px; border-radius: 7px; padding: 5px 8px; background: #e5eaf2; color: var(--navy); font-size: 0.68rem; font-weight: 750; }
.crew-request-timing.is-urgent { background: #fff0ef; color: var(--danger); }
.crew-request > p { margin: 8px 0 !important; color: var(--ink) !important; font-size: 0.74rem !important; white-space: pre-wrap; }
.crew-request-message { font-weight: 800; text-transform: uppercase; overflow-wrap: anywhere; }
.crew-request-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.crew-request-progress span { position: relative; border-radius: 999px; padding: 5px 4px; background: #e5e9ef; color: #778198; font-size: 0.58rem; font-weight: 800; text-align: center; }
.crew-request-progress span.complete { background: #dcefe0; color: var(--success); }
.crew-request-progress b { border-radius: 999px; padding: 6px 8px; background: #fff0ef; color: var(--danger); font-size: 0.62rem; text-align: center; }
.crew-request-progress.status-queued b { grid-column: 1 / -1; background: #fff4d4; color: #7d5700; }
#crew-contact-status { scroll-margin-top: 48px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.last-day-services { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.last-day-services h3 { margin: 0 0 10px; color: var(--navy); font-size: 0.9rem; }
.service-card { position: relative; display: grid; min-height: 116px; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 16px 76px 16px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.service-card-wide { grid-column: 1 / -1; }
.service-card[data-availability="direct"] { padding-inline-end: 38px; }
.service-status { position: absolute; top: 13px; right: 13px; padding: 5px 8px; }
.card-arrow { position: absolute; right: 17px; bottom: 15px; color: var(--gold); font-size: 1.05rem; font-weight: 900; }

.dashboard-message { margin-top: 14px; padding: 11px 13px; border: 1px solid rgba(212, 153, 0, 0.45); border-radius: 12px; background: var(--gold-soft); color: #735000; font-size: 0.86rem; font-weight: 700; }
.tripadvisor-review-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 16px; border: 1px solid rgba(52, 149, 74, 0.38); border-radius: var(--radius); padding: 16px; background: #effaf1; color: var(--navy); text-decoration: none; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.tripadvisor-review-card:hover { transform: translateY(-2px); border-color: rgba(52, 149, 74, 0.65); box-shadow: 0 8px 20px rgba(0, 20, 54, 0.09); }
.tripadvisor-review-card .service-icon { background: #075f2b; color: var(--white); }
.tripadvisor-review-card .card-kicker { color: #18723a; }
.review-link-label { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 8px 11px; background: #075f2b; color: var(--white); font-size: 0.72rem; font-weight: 800; white-space: nowrap; }
.session-access-note { margin-top: 14px; border-top: 1px solid #e8ebf0; color: var(--muted); }
.session-access-note summary { display: flex; align-items: center; gap: 7px; min-height: 36px; padding: 5px 2px; list-style: none; cursor: pointer; font-size: 0.68rem; font-weight: 500; line-height: 1.4; }
.session-access-note summary::-webkit-details-marker { display: none; }
.session-access-note summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.session-access-icon { display: inline-flex; flex: 0 0 auto; }
.session-access-icon .icon-svg { width: 13px; height: 13px; }
.session-access-chevron { margin-left: auto; font-size: 0.8rem; }
.session-access-note[open] .session-access-chevron { transform: rotate(180deg); }
.session-access-note p { margin: 0; padding: 0 2px 8px 22px; font-size: 0.68rem; line-height: 1.5; }
@media (pointer: coarse) { .session-access-note summary { min-height: 44px; } }

.profile-header { padding-top: 25px; }
.profile-header .logo-img { margin-bottom: 18px; }
.back-button { position: absolute; top: 16px; left: 16px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 7px 11px; background: rgba(255, 255, 255, 0.08); color: var(--white); cursor: pointer; font-size: 0.75rem; font-weight: 700; text-decoration: none; }
.profile-content { padding-top: 22px; }
.profile-identity { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 17px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--soft); }
.profile-avatar { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: 1.2rem; font-weight: 900; letter-spacing: 0.03em; }
.profile-name { min-width: 0; }
.profile-name h2 { margin: 0; overflow: hidden; font-size: 1.35rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.profile-name p { margin: 4px 0 0; color: var(--muted); font-size: 0.8rem; }
.profile-name .profile-cabin-label { display: inline-flex; align-items: baseline; gap: 5px; }
.profile-cabin-label strong { color: var(--navy); font-weight: 800; }
.profile-section-heading { margin-top: 27px; }
.profile-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; gap: 12px; }
.profile-details div { min-width: 0; padding: 15px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.profile-details dt, .profile-trip-grid dt { margin-bottom: 6px; color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.profile-details dd, .profile-trip-grid dd { margin: 0; overflow: hidden; color: var(--navy); font-size: 0.92rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.profile-trip { margin-top: 16px; overflow: hidden; border: 1px solid rgba(212, 153, 0, 0.42); border-radius: var(--radius); background: var(--gold-soft); }
.profile-trip-heading { display: flex; align-items: center; gap: 13px; padding: 16px; }
.profile-trip-heading h2 { margin: 1px 0 0; font-size: 1.05rem; }
.profile-trip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid rgba(212, 153, 0, 0.28); background: rgba(255, 255, 255, 0.48); }
.profile-trip-grid div { min-width: 0; padding: 13px 15px; border-left: 1px solid rgba(212, 153, 0, 0.24); }
.profile-trip-grid div:first-child { border-left: 0; }
.preference-heading { align-items: center; margin-bottom: 12px; }
.profile-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.preference-field { padding: 15px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.preference-field > label, .profile-answer-editor > label, .preference-title { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 11px; color: var(--navy); }
.preference-field > label, .profile-answer-editor > label { cursor: pointer; }
.preference-field > label > span:last-child, .profile-answer-editor > label > span:last-child, .preference-title > *:last-child { min-width: 0; }
.preference-field strong, .preference-field small { display: block; }
.preference-field strong { font-size: 0.92rem; line-height: 1.3; }
.preference-field small { margin-top: 3px; color: var(--muted); font-size: 0.75rem; font-weight: 500; line-height: 1.4; }
.preference-title label { cursor: pointer; }
.preference-icon { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: var(--navy); color: var(--gold); font-size: 0.85rem; font-weight: 900; }
.preference-icon .icon-svg { width: 18px; height: 18px; stroke-width: 1.9; }
.preference-field textarea { display: block; width: 100%; resize: vertical; min-height: 82px; border: 1px solid var(--border); border-radius: 11px; padding: 11px 12px; background: var(--soft); color: var(--ink); font-size: 0.86rem; line-height: 1.45; }
.preference-field textarea::placeholder { color: #8793a7; }
.profile-answer-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 38px; }
.profile-answer-summary[hidden], .profile-answer-editor[hidden] { display: none; }
.profile-answer-copy { min-width: 0; align-self: center; color: var(--navy); font-size: .84rem; line-height: 1.5; overflow-wrap: anywhere; }
.profile-answer-copy strong { display: inline; font-size: inherit; line-height: inherit; }
.profile-answer-copy > span { white-space: pre-wrap; }
.profile-answer-edit { flex: 0 0 auto; min-height: 38px; padding: 8px 11px; border: 1px solid var(--border); border-radius: 8px; background: var(--soft); color: var(--navy); font: inherit; font-size: .76rem; font-weight: 700; cursor: pointer; }
.profile-answer-edit:hover { border-color: var(--gold); background: var(--gold-soft); }
.profile-answer-edit:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.preference-field textarea:focus, .profile-select:focus, .profile-input:focus { border-color: var(--gold); background: var(--white); outline: 0; box-shadow: 0 0 0 3px rgba(212, 153, 0, 0.14); }
.profile-select, .profile-input { display: block; width: 100%; min-height: 44px; border: 1px solid var(--border); border-radius: 11px; padding: 10px 12px; background: var(--soft); color: var(--navy); font-size: 0.86rem; font-weight: 650; }
.profile-select { cursor: pointer; }
.other-language-field { margin-top: 12px; padding: 12px; border-radius: 11px; background: var(--gold-soft); }
.other-language-field small { margin: 7px 1px 0; }
.subfield-label, .preference-group legend { display: block; margin: 14px 0 7px; color: var(--ink); font-size: 0.78rem; font-weight: 800; }
.allergy-section { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 1px; }
.allergy-section > small { display: block; margin: -2px 0 8px; }
.dive-style-field .subfield-label { margin-top: 2px; }
.preference-group { min-width: 0; margin: 15px 0 0; border: 0; border-top: 1px solid var(--border); padding: 0; }
.preference-group legend { padding: 13px 8px 0 0; }
.meal-preferences, .menu-alternatives { min-width: 0; margin: 0; padding: 0; border: 0; }
.menu-alternatives { margin-inline-start: 10px; }
.food-choice-help { margin: 0 0 8px; color: var(--muted); font-size: .79rem; line-height: 1.45; }
.food-choice-list { display: grid; gap: 5px; }
.food-choice-inline { display: flex; flex-wrap: wrap; gap: 6px; }
.food-choice-list label { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; color: var(--ink); background: var(--soft); font-size: .8rem; line-height: 1.35; cursor: pointer; }
.food-choice-list label:has(input:checked) { border-color: #b68413; background: var(--gold-soft); }
.food-choice-list input { flex: 0 0 auto; margin: 0; accent-color: #926700; }
.food-required { color: var(--danger); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice-chip, .pace-options label { position: relative; display: block; margin: 0; cursor: pointer; }
.choice-chip input, .pace-options input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice-chip span, .pace-options span { display: grid; min-height: 42px; place-items: center; border: 1px solid var(--border); border-radius: 10px; padding: 8px 9px; background: var(--soft); color: var(--ink); font-size: 0.75rem; font-weight: 700; line-height: 1.25; text-align: center; transition: border-color 0.16s ease, background 0.16s ease; }
.choice-chip input:checked + span, .pace-options input:checked + span { border-color: rgba(212, 153, 0, 0.75); background: var(--gold-soft); color: var(--navy); box-shadow: inset 0 0 0 1px rgba(212, 153, 0, 0.18); }
.choice-chip input:focus-visible + span, .pace-options input:focus-visible + span { outline: 3px solid rgba(212, 153, 0, 0.5); outline-offset: 2px; }
.pace-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cross-options { grid-template-columns: 2fr 1fr 1fr; }
.retention-card { position: relative; border: 1px solid rgba(212, 153, 0, 0.42); border-radius: 14px; padding: 16px; background: var(--gold-soft); }
.retention-card h3 { margin: 0 74px 11px 0; color: var(--navy); font-size: 1rem; line-height: 1.35; }
.retention-card p { margin: 9px 0 0 35px; color: var(--muted); font-size: 0.74rem; line-height: 1.5; }
.retention-card .retention-intro { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.62); color: var(--ink); font-size: 0.78rem; }
.retention-card .retention-consent-intro { margin: 0 0 11px; color: var(--ink); }
.retention-badge { position: absolute; top: 14px; right: 14px; border-radius: 999px; padding: 5px 8px; background: var(--white); color: #735000; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.consent-choice { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 11px; margin: 0; color: var(--ink); cursor: pointer; font-size: 0.8rem; line-height: 1.5; }
.consent-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.consent-check { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid rgba(0, 20, 54, 0.3); border-radius: 7px; background: var(--white); color: transparent; font-weight: 900; transition: background 0.16s ease, color 0.16s ease; }
.consent-choice input:checked + .consent-check { border-color: var(--navy); background: var(--navy); color: var(--gold); }
.consent-choice input:focus-visible + .consent-check { outline: 3px solid rgba(212, 153, 0, 0.5); outline-offset: 2px; }
.retention-choices { display: grid; gap: 8px; }
.retention-choices .consent-choice { border: 1px solid rgba(0, 20, 54, 0.12); border-radius: 11px; padding: 11px; background: rgba(255, 255, 255, 0.58); }
.retention-choices strong, .retention-choices small { display: block; }
.retention-choices strong { color: var(--navy); font-size: 0.8rem; }
.retention-choices small { margin-top: 2px; color: var(--muted); font-size: 0.7rem; line-height: 1.42; }
.retention-details { margin: 14px 0 0 35px; border-top: 1px solid rgba(0, 20, 54, 0.12); padding-top: 4px; }
.retention-details p { margin: 8px 0 0; }
.retention-details strong { color: var(--navy); }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: 13px 0 0 35px; }
.privacy-actions a { color: #604500; font-size: 0.72rem; font-weight: 800; line-height: 1.35; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.privacy-status-card { border: 1px solid #c9d3e1; border-radius: 14px; padding: 16px; background: var(--soft-blue); }
.privacy-status-heading h3 { margin: 3px 0 0; color: var(--navy); font-size: 1rem; }
.privacy-status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 13px 0 0; }
.privacy-status-grid div { min-width: 0; border-radius: 10px; padding: 10px; background: rgba(255, 255, 255, 0.75); }
.privacy-status-grid dt { color: var(--muted); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.privacy-status-grid dd { margin: 4px 0 0; color: var(--navy); font-size: 0.78rem; font-weight: 800; line-height: 1.35; }
.privacy-status-card > p { margin: 11px 1px 0; color: var(--ink); font-size: 0.76rem; line-height: 1.45; }
.privacy-control-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.secondary-button, .danger-button { min-height: 40px; border-radius: 10px; padding: 9px 12px; cursor: pointer; font-size: 0.74rem; font-weight: 800; }
.secondary-button { border: 1px solid rgba(0, 20, 54, 0.22); background: var(--white); color: var(--navy); }
.danger-button { border: 1px solid #bc4744; background: #fff0ef; color: var(--danger); }
.secondary-button:disabled, .danger-button:disabled { cursor: not-allowed; opacity: 0.5; }
.profile-dialog { width: min(92vw, 480px); border: 0; border-radius: 18px; padding: 24px; background: var(--white); color: var(--ink); box-shadow: 0 24px 70px rgba(0, 20, 54, 0.32); }
.profile-dialog::backdrop { background: rgba(0, 13, 35, 0.72); backdrop-filter: blur(2px); }
.profile-dialog.dialog-fallback-open { display: block; position: fixed; z-index: 1001; inset: 50% auto auto 50%; max-height: calc(100vh - 32px); margin: 0; overflow: auto; transform: translate(-50%, -50%); }
body.dialog-open { overflow: hidden; }
body.dialog-open::before { content: ""; position: fixed; z-index: 1000; inset: 0; background: rgba(0, 13, 35, 0.72); backdrop-filter: blur(2px); }
.profile-dialog form { padding: 0; }
.dialog-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #fff0ef; color: var(--danger); font-weight: 900; }
.profile-dialog h2 { margin: 13px 0 7px; font-size: 1.16rem; }
.profile-dialog p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.55; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.profile-sharing-note { margin: 1px 2px 0; color: var(--muted); font-size: 0.74rem; line-height: 1.45; }
.profile-save-status { padding: 11px 13px; border: 1px solid #b8d9bd; border-radius: 11px; background: var(--success-bg); color: var(--success); font-size: 0.82rem; font-weight: 750; line-height: 1.4; }
.profile-save-status.error { border-color: #efb4b2; background: #fff0ef; color: var(--danger); }
.profile-save-status.pending { border-color: rgba(212, 153, 0, 0.48); background: var(--gold-soft); color: #765200; }
.profile-save-button { margin-top: 1px; }
.profile-note { display: flex; gap: 11px; margin-top: 18px; padding: 14px; border: 1px solid #c9d3e1; border-radius: 12px; background: var(--soft-blue); color: var(--ink); font-size: 0.84rem; line-height: 1.45; }
.profile-note > span { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: Georgia, serif; font-weight: 900; }
.profile-note p { margin: 0; }
.profile-footer { margin-top: 18px; color: var(--muted); text-align: center; }
.profile-footer a { display: inline-block; padding: 8px 12px; color: inherit; font-size: .82rem; font-weight: 700; text-decoration: none; }
.profile-footer a:hover { text-decoration: underline; }
.loading-shell { width: min(100%, 560px); margin: 18vh auto 0; padding: 28px; border-radius: 20px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.86); text-align: center; }
.spinner { display: inline-block; width: 30px; height: 30px; border: 3px solid rgba(255, 255, 255, 0.2); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  body { padding: 10px; }
  .card { border-radius: 20px; }
  .header { padding: 26px 20px 22px; }
  .logo-img { width: 190px; max-width: 72%; margin-bottom: 19px; }
  .content { padding: 20px; }
  .dashboard-content { padding-top: 18px; }
  .dashboard-header { padding:20px 16px 17px; }
  .dashboard-header .logo-img { width:160px; margin-bottom:12px; }
  .dashboard-header h1 { font-size:1.4rem; }
  .dashboard-header .meta { font-size:.78rem; max-width:290px; margin:auto; }
  .dashboard-header .sign-out { top:10px; right:10px; min-height:32px; padding:6px 8px; font-size:.68rem; }
  .dashboard-content { padding:14px; }
  .welcome-panel { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "guest actions" "planning planning" "trip trip"; padding:10px 12px; }
  .welcome-row { column-gap: 8px; }
  .welcome-panel h2 { font-size:1.15rem; }
  .welcome-panel .label { font-size:.62rem; }
  .more-information { margin-top: 12px; }
  .dashboard-content .service-copy strong { font-size:.91rem; }
  .dashboard-content .card-kicker { font-size:.6rem; letter-spacing:.1em; }
  .dashboard-content .service-icon { width:38px; height:38px; }
  .dashboard-content .section-heading { margin:18px 0 10px; }
  .service-card { min-height:86px; padding:13px; grid-template-columns:auto minmax(0,1fr); gap:10px; }
  .service-card .service-status { position:static; grid-column:2; justify-self:start; margin-top:-3px; padding:4px 7px; }
  .service-card .card-arrow { right:13px; bottom:13px; }
  .service-card .service-copy { padding-right:14px; }
  .service-grid { gap:9px; }
  .liability-controls { grid-template-columns: 1fr; }
  .trip-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip-facts > div:first-child { grid-column: 1 / -1; }
  .liability-link { width: 100%; }
  .embarkation-task > .service-card { padding-inline-end: 12px; }
  .profile-setup-card { grid-template-columns: auto minmax(0, 1fr); }
  .profile-setup-card .open-label { grid-column: 1 / -1; justify-content: center; }
  .sign-out { top: 12px; right: 12px; }
  .back-button { top: 12px; left: 12px; }
  .section-heading p { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .information-grid { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: auto; }
  .tripadvisor-review-card { grid-template-columns: auto minmax(0, 1fr); }
  .review-link-label { grid-column: 1 / -1; justify-content: center; }
  .profile-details { grid-template-columns: 1fr; }
  .profile-trip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-trip-grid div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(212, 153, 0, 0.24); }
  .profile-trip-grid div:nth-child(4) { border-top: 1px solid rgba(212, 153, 0, 0.24); }
}

@media (max-width: 420px) {
  .profile-name h2, .profile-trip-grid dd { white-space: normal; overflow-wrap: anywhere; }
  .welcome-shortcuts { flex-wrap: nowrap; }
  .welcome-shortcuts .planning-button { min-width: 0; padding-inline: 8px; font-size: .77rem; }
  .resolved-request-notice { flex-wrap: wrap; }
  .resolved-request-action { width: 100%; padding-left: 42px; }
  .trip-facts dt { font-size: 0.62rem; }
  .open-label { display: none; }
  .service-icon { width: 39px; height: 39px; }
  .service-status { top: 12px; right: 10px; padding: 4px 6px; font-size: 0.58rem; }
  .card-arrow { right: 14px; bottom: 14px; }
  .profile-header .logo-img { width: 164px; }
  .profile-identity { grid-template-columns: auto minmax(0, 1fr); }
  .profile-identity .signed-in-badge { display: none; }
  .profile-avatar { width: 48px; height: 48px; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pace-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cross-options { grid-template-columns: 1fr; }
  .privacy-status-grid { grid-template-columns: 1fr; }
  .privacy-control-buttons > * { width: 100%; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions > * { width: 100%; }
}

@media (max-width: 360px) {
  .welcome-actions .login-language-field select { max-width: 116px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
