/* CreteUnlocked product direction v16 — brand-led, native, and review-ready. */
:root {
  --brand: #0b5cad;
  --brand-dark: #073f78;
  --brand-ink: #062e57;
  --brand-soft: #e8f3ff;
  --sky: #70b0e9;
  --sky-strong: #5e9ed8;
  --teal: #67bfbf;
  --teal-soft: #e7f5f5;
  --mint: #9be2dd;
  --sun: #f2a93b;
  --sun-soft: #fff3db;
  --ink: #172845;
  --slate: #4e5e68;
  --muted: #71818c;
  --line: #d9e7ef;
  --line-strong: #c5d7e1;
  --surface: #f5fbfe;
  --warm: #fbf8f2;
  --white: #ffffff;
  --display: "Lora", Georgia, serif;
  --ui: "Montserrat", "Avenir Next", Avenir, sans-serif;
  --shadow-sm: 0 8px 24px rgba(23, 63, 110, 0.08);
  --shadow-md: 0 16px 38px rgba(23, 63, 110, 0.13);
  --shadow-lg: 0 30px 80px rgba(5, 39, 68, 0.22);
  --device-scale: 1;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #edf4f7;
  font-family: var(--ui);
}

.app-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* Fixed-height prototype workspace: the document never scrolls. */
.prototype-workbench {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  grid-template-columns: 300px minmax(430px, 1fr) 306px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(112, 176, 233, 0.24), transparent 31%),
    radial-gradient(circle at 43% 88%, rgba(103, 191, 191, 0.16), transparent 30%),
    linear-gradient(135deg, #f3f7f5, #e9f2f7 54%, #f7f3eb);
}

.prototype-panel,
.device-stage,
.review-panel {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}

.prototype-panel {
  background: rgba(252, 254, 255, 0.97);
  border-right-color: rgba(197, 215, 225, 0.76);
  box-shadow: 14px 0 42px rgba(23, 63, 110, 0.06);
}

.prototype-panel__header {
  padding: 22px 22px 13px;
}

.prototype-logo {
  width: 126px;
  height: 54px;
  margin: -3px 0 -2px;
  object-fit: contain;
  object-position: left center;
}

.prototype-panel__header p {
  font-size: 11px;
}

.prototype-kicker {
  color: var(--brand);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.prototype-search {
  min-height: 48px;
  margin-right: 18px;
  margin-left: 18px;
  border-color: var(--line);
  border-radius: 15px;
  box-shadow: 0 5px 16px rgba(23, 63, 110, 0.04);
}

.prototype-search input {
  font-size: 12px;
}

.prototype-quick-actions {
  padding-right: 18px;
  padding-left: 18px;
}

.mini-button {
  min-height: 40px;
  border-color: var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 700;
}

.mini-button:hover {
  border-color: var(--sky);
  background: var(--brand-soft);
}

.prototype-routes {
  min-height: 0;
  padding-right: 12px;
  padding-left: 12px;
}

.prototype-route {
  min-height: 42px;
  border-radius: 12px;
}

.prototype-route:hover {
  background: var(--brand-soft);
}

.prototype-route.is-active {
  background: linear-gradient(135deg, var(--brand-soft), #eef8fb);
  color: var(--brand-dark);
  box-shadow: inset 3px 0 0 var(--brand);
}

.prototype-route__icon {
  background: rgba(112, 176, 233, 0.13);
  color: var(--brand);
}

.prototype-route__title {
  font-size: 11px;
  font-weight: 500;
}

.prototype-route.is-active .prototype-route__title {
  font-weight: 700;
}

.device-stage {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 50px 34px;
}

.device {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--device-scale));
  transform-origin: center;
  border-color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(145deg, #334c58, #080d10 68%, #29414c);
  box-shadow:
    0 0 0 2px #8ca0aa,
    0 0 0 5px #304650,
    0 32px 75px rgba(7, 49, 77, 0.24);
}

.device-context {
  top: 17px;
  color: rgba(23, 63, 110, 0.52);
}

.device-help {
  bottom: 13px;
  color: rgba(23, 63, 110, 0.52);
}

/* Colleague feedback stays outside the product being reviewed. */
.review-panel {
  position: relative;
  z-index: 18;
  overflow: hidden;
  border-left: 1px solid rgba(197, 215, 225, 0.8);
  background: rgba(251, 253, 254, 0.97);
  box-shadow: -14px 0 42px rgba(23, 63, 110, 0.05);
  backdrop-filter: blur(22px);
}

.review-panel__scroll {
  height: 100%;
  overflow-y: auto;
  padding: 24px 20px 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.review-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.review-panel__header h2 {
  margin: 7px 0 4px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.review-panel__header p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.review-close,
.mobile-screens-action,
.review-mobile-trigger {
  display: none;
}

.review-progress {
  display: grid;
  gap: 8px;
  padding: 17px 0;
}

.review-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--slate);
  font-size: 10px;
}

.review-progress strong {
  color: var(--brand-dark);
  font-size: 11px;
}

.review-progress__track {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #e6eef2;
}

.review-progress__track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  transition: width 180ms ease;
}

.review-field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.review-field > span,
.review-rating legend {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.review-field small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.review-field input,
.review-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.5;
}

.review-field input {
  height: 44px;
  padding: 0 12px;
}

.review-field textarea {
  min-height: 104px;
  padding: 11px 12px;
  resize: vertical;
}

.review-field input:focus,
.review-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 92, 173, 0.1);
}

.review-rating {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.review-rating__buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-top: 9px;
}

.review-rating__buttons button {
  display: grid;
  min-width: 0;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.review-rating__buttons button:hover {
  border-color: var(--sky);
  background: var(--brand-soft);
}

.review-rating__buttons button.is-selected {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 7px 15px rgba(11, 92, 173, 0.2);
}

.review-rating__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
}

.review-save-status {
  display: flex;
  min-height: 32px;
  align-items: center;
  padding: 7px 9px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 9px;
  font-weight: 600;
}

.review-save-status.is-error {
  background: var(--red-soft);
  color: var(--red);
}

.status-dot--error {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(196, 62, 62, 0.1);
}

.review-screen-nav,
.review-export-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.review-primary-action {
  min-height: 42px;
  border: 1px solid var(--brand);
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.review-primary-action:hover {
  background: var(--brand-dark);
}

.review-presentation-action {
  display: grid;
  width: 100%;
  gap: 2px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.review-presentation-action span {
  font-size: 10px;
  font-weight: 700;
}

.review-presentation-action small {
  color: var(--muted);
  font-size: 8px;
}

.review-disclaimer {
  margin: 13px 2px 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.presentation-exit {
  position: fixed;
  z-index: 500;
  top: 18px;
  right: 18px;
  display: none;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(7, 63, 120, 0.88);
  box-shadow: var(--shadow-sm);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(14px);
  cursor: pointer;
}

body.is-presentation .prototype-workbench {
  grid-template-columns: 1fr;
}

body.is-presentation .prototype-panel,
body.is-presentation .review-panel,
body.is-presentation .device-context,
body.is-presentation .device-help,
body.is-presentation .prototype-mobile-trigger,
body.is-presentation .review-mobile-trigger {
  display: none;
}

body.is-presentation .device-stage {
  padding: 24px;
}

body.is-presentation .presentation-exit {
  display: inline-flex;
  align-items: center;
}

/* Consumer app visual system: CreteUnlocked colors in native structures. */
.app-screen,
.app-scroll {
  background: var(--surface);
}

.app-screen--white,
.app-screen--white .app-scroll {
  background: #fff;
}

.topbar {
  border-bottom: 1px solid rgba(217, 231, 239, 0.72);
  background: rgba(245, 251, 254, 0.94);
}

.topbar--white {
  background: rgba(255, 255, 255, 0.96);
}

.topbar--overlay {
  border-bottom: 0;
  background: linear-gradient(to bottom, rgba(6, 46, 87, 0.58), transparent);
}

.topbar__title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.topbar--overlay .topbar__title {
  color: #fff;
}

.icon-button,
.topbar__action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-dark);
}

.topbar--overlay .topbar__action,
.topbar__action--glass {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(7, 63, 120, 0.38);
  color: #fff;
}

.page {
  padding-right: 20px;
  padding-left: 20px;
}

.eyebrow {
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.display-title,
.processing-screen h1,
.state-screen h1 {
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.display-title {
  font-size: 32px;
  line-height: 1.08;
}

.page-title {
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.page-subtitle,
.detail-section p,
.detail-section li,
.state-screen > p,
.processing-screen p {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.55;
}

.section-heading h2,
.section-heading h3,
.detail-section h2 {
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-heading p {
  color: var(--muted);
  font-size: 12px;
}

.primary-button,
.secondary-button,
.quiet-button,
.danger-button {
  min-height: 54px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.primary-button,
.welcome-screen .primary-button--sun {
  border-color: var(--brand);
  background: linear-gradient(135deg, var(--brand), #1473c6);
  box-shadow: 0 12px 24px rgba(23, 63, 110, 0.18);
  color: #fff;
}

.primary-button:hover,
.welcome-screen .primary-button--sun:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.primary-button:disabled {
  border-color: #cfdde4;
  background: #cfdde4;
  color: #7e8c94;
  box-shadow: none;
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--brand-dark);
}

.quiet-button,
.text-button {
  color: var(--brand);
}

.search-field,
.field input,
.field textarea,
.field select {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
}

.search-field {
  border-radius: 17px;
}

.search-field button {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.choice-card,
.summary-card,
.trip-card,
.profile-card,
.menu-section,
.calendar,
.price-list,
.payment-method,
.review-card,
.qr-card,
.lab-section {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 18px rgba(23, 63, 110, 0.045);
}

.choice-card.is-selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(11, 92, 173, 0.16);
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
}

.chip.is-selected,
.chip--active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.fact {
  border: 1px solid var(--line);
  background: #fff;
}

.category-tile {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 5px 14px rgba(23, 63, 110, 0.045);
}

.category-tile span {
  background: var(--brand-soft) !important;
  color: var(--brand) !important;
}

.category-tile:nth-child(2) span {
  background: var(--teal-soft) !important;
  color: #277d7d !important;
}

.category-tile:nth-child(3) span {
  background: var(--sun-soft) !important;
  color: #956217 !important;
}

.category-tile:nth-child(4) span {
  background: #edf0fb !important;
  color: #5c5ba5 !important;
}

.tour-card,
.place-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.support-card {
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(155, 226, 221, 0.38), transparent 36%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
  box-shadow: var(--shadow-md);
}

.support-card h3 {
  font-family: var(--ui);
  font-size: 20px;
  font-weight: 700;
}

.support-card p {
  font-size: 12px;
}

.support-card button {
  color: var(--brand-dark);
  font-size: 12px;
}

.alert-card button {
  color: var(--brand-dark);
}

.tour-info-sheet__list {
  display: grid;
  gap: 9px;
  margin: 4px 0 18px;
}

.tour-info-sheet__list > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.tour-info-sheet__list > div > span:first-child {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: var(--teal-soft);
  color: #277d7d;
}

.tour-info-sheet__list > div > span:first-child svg {
  width: 17px;
  height: 17px;
}

.tour-info-sheet__list > div > span:last-child {
  display: grid;
  gap: 2px;
}

.tour-info-sheet__list strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.tour-info-sheet__list small {
  color: var(--slate);
  font-size: 10px;
  line-height: 1.4;
}

.home-header {
  padding-top: 7px;
  padding-bottom: 15px;
  background: var(--surface);
}

.home-greeting small {
  color: var(--muted);
  font-size: 11px;
}

.home-greeting strong,
.home-greeting h1 {
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.location-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 4px 12px rgba(23, 63, 110, 0.045);
}

.home-priority {
  border: 1px solid #d7e8f4;
  background: linear-gradient(135deg, #fff, #f2f8fc);
  box-shadow: 0 7px 18px rgba(23, 63, 110, 0.055);
}

.home-priority strong {
  font-size: 14px;
  font-weight: 700;
}

.home-priority small {
  color: var(--slate);
  font-size: 11px;
}

.home-priority__icon {
  background: var(--brand-soft);
  color: var(--brand);
}

.home-priority__icon--time {
  background: var(--sun-soft);
  color: #926017;
}

/* The home recommendation is an app card, not a marketing banner. */
.today-card {
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.today-card::after {
  content: none;
}

.today-card__media {
  position: relative;
  height: 176px;
  overflow: hidden;
  background: var(--brand-soft);
}

.today-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.today-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 63, 120, 0.1), transparent 48%, rgba(7, 63, 120, 0.16));
  content: "";
  pointer-events: none;
}

.today-card__weather {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
}

.today-card__weather span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(7, 63, 120, 0.12);
  backdrop-filter: blur(12px);
}

.today-card__weather svg {
  width: 16px;
  height: 16px;
  color: var(--sun);
}

.today-card__content {
  position: relative;
  display: block;
  min-height: 0;
  padding: 17px;
  color: var(--ink);
}

.today-card__copy .eyebrow {
  margin-bottom: 6px;
  font-size: 9px;
}

.today-card__copy h2 {
  max-width: none;
  margin: 0 0 5px;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.today-card__copy > p {
  max-width: none;
  margin: 0;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.45;
}

.today-card__meta {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.today-card__meta svg {
  width: 15px;
  height: 15px;
  margin-top: -1px;
  color: var(--brand);
}

.today-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.today-card__price span,
.today-card__price small,
.today-card__price strong {
  display: block;
}

.today-card__price small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.today-card__price strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.today-card__price em {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
}

.today-card__action {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 9px 13px;
  border: 1px solid var(--brand);
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(11, 92, 173, 0.17);
}

.today-card__action svg {
  width: 16px;
  height: 16px;
}

.detail-content {
  margin-top: -20px;
  border-radius: 26px 26px 0 0;
  background: var(--surface);
}

.detail-title-row h1 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.detail-rating {
  margin: 10px 0 12px;
  color: var(--slate);
  font-size: 12px;
}

.detail-rating .star {
  color: var(--sun);
}

/* Compact, explicit trust signal. Standard icons can never expand into artwork. */
.trust-line {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 10px 0 20px;
  padding: 11px 12px;
  border: 1px solid #cbe5e5;
  border-radius: 16px;
  background: var(--teal-soft);
  color: var(--ink);
}

.trust-line__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}

.trust-line__icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.4;
}

.trust-line > span:last-child {
  display: grid;
  gap: 2px;
}

.trust-line strong {
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 700;
}

.trust-line small {
  color: var(--slate);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
}

.bottom-nav {
  height: 76px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -9px 24px rgba(23, 63, 110, 0.055);
}

.bottom-nav__item {
  position: relative;
  color: #7c8b94;
  font-size: 10px;
  font-weight: 600;
}

.bottom-nav__item.is-active {
  background: transparent;
  color: var(--brand);
}

.bottom-nav__item.is-active::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 0 0 5px 5px;
  background: var(--brand);
  content: "";
}

.sticky-cta {
  border-top-color: var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -10px 26px rgba(23, 63, 110, 0.07);
}

.sticky-cta__price strong {
  color: var(--ink);
}

.splash-screen {
  background:
    radial-gradient(circle at 18% 16%, rgba(112, 176, 233, 0.46), transparent 30%),
    linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 48%, var(--sky) 100%);
}

.splash-screen .status-bar {
  background: transparent;
}

.splash-mark--wordmark {
  width: 184px;
  height: 92px;
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 50px rgba(6, 46, 87, 0.28);
}

.splash-mark--wordmark img {
  width: 156px;
  height: 80px;
  object-fit: contain;
}

.splash-content p {
  margin-top: 19px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 500;
}

.splash-loader span {
  background: var(--mint);
}

/* Welcome: official logo once, authentic Crete image, branded bottom sheet. */
.welcome-screen {
  background: var(--surface);
  color: var(--ink);
}

.welcome-screen .status-bar {
  position: absolute;
  z-index: 6;
  top: 0;
  right: 0;
  left: 0;
  background: transparent;
  color: #fff;
}

.welcome-screen::after {
  content: none;
}

.welcome-visual {
  position: absolute;
  inset: 0 0 auto;
  height: 490px;
  overflow: hidden;
  background: var(--brand-dark);
}

.welcome-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(6, 46, 87, 0.2), transparent 45%),
    linear-gradient(to top, rgba(7, 63, 120, 0.28), transparent 40%);
  content: "";
}

.welcome-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.welcome-top {
  top: 54px;
  right: 20px;
  left: 20px;
}

.welcome-brand {
  display: grid;
  width: 148px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(6, 46, 87, 0.16);
  backdrop-filter: blur(12px);
}

.welcome-brand img {
  width: 128px;
  height: 52px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.language-pill {
  min-width: 56px;
  min-height: 48px;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-dark);
  font-size: 10px;
  box-shadow: 0 10px 24px rgba(6, 46, 87, 0.13);
}

.language-pill svg {
  width: 18px;
  height: 18px;
}

.welcome-content {
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 414px;
  flex-direction: column;
  justify-content: center;
  padding: 30px 24px 27px;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(180deg, #fff, var(--warm));
  box-shadow: 0 -18px 40px rgba(6, 46, 87, 0.12);
}

.welcome-eyebrow {
  display: inline-flex;
  margin-bottom: 9px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.welcome-content h1 {
  margin: 0 0 12px;
  color: var(--brand-ink);
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.welcome-content h1 span {
  color: var(--brand);
}

.welcome-content > p {
  margin: 0 0 21px;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.55;
}

.welcome-sign-in {
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--slate);
  font-size: 11px;
  cursor: pointer;
}

.welcome-sign-in strong {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .prototype-workbench {
    grid-template-columns: minmax(0, 1fr) 292px;
  }

  .prototype-panel {
    position: fixed;
    z-index: 320;
    top: 0;
    bottom: 0;
    left: 0;
    width: 310px;
    transform: translateX(-105%);
    transition: transform 210ms cubic-bezier(0.22, 0.86, 0.28, 1);
  }

  .prototype-panel.is-open {
    transform: translateX(0);
  }

  .prototype-close {
    display: inline-grid;
  }

  .prototype-backdrop {
    position: fixed;
    z-index: 310;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(6, 46, 87, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 170ms ease;
  }

  .prototype-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .prototype-mobile-trigger {
    position: fixed;
    z-index: 250;
    bottom: 18px;
    left: 18px;
    display: inline-flex;
    width: auto;
    height: 42px;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 999px;
    background: rgba(7, 63, 120, 0.9);
    box-shadow: var(--shadow-md);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    opacity: 1;
    backdrop-filter: blur(14px);
  }

  .review-panel__scroll {
    padding-right: 17px;
    padding-left: 17px;
  }

  .device-context,
  .device-help {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .device-context,
  .device-help {
    display: none;
  }
}

@media (max-width: 760px) {
  .prototype-workbench {
    display: block;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    background: var(--surface);
  }

  .device-stage {
    display: block;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .device {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 100dvh;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .device::before,
  .device::after,
  .device-context,
  .device-help,
  .device-speaker {
    display: none;
  }

  .app-viewport {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }

  .presentation-exit,
  .prototype-mobile-trigger {
    display: none !important;
  }

  .review-panel {
    position: fixed;
    z-index: 360;
    inset: 0;
    display: block !important;
    width: 100%;
    height: 100dvh;
    transform: translateX(105%);
    visibility: hidden;
    border: 0;
    background: rgba(251, 253, 254, 0.99);
    box-shadow: -24px 0 60px rgba(6, 46, 87, 0.22);
    transition:
      transform 220ms cubic-bezier(0.22, 0.86, 0.28, 1),
      visibility 220ms;
  }

  .review-panel.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .review-panel__scroll {
    padding: calc(18px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));
  }

  .review-close {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--brand-dark);
    font-size: 24px;
    line-height: 1;
  }

  .mobile-screens-action {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0 0 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 11px;
    font-weight: 700;
  }

  body.is-review-mode .review-mobile-trigger {
    position: fixed;
    z-index: 250;
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(7, 63, 120, 0.92);
    box-shadow: 0 10px 26px rgba(6, 46, 87, 0.24);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(14px);
  }

  body.is-presentation .review-mobile-trigger {
    display: none !important;
  }

  .prototype-panel[aria-hidden="true"] {
    visibility: hidden;
  }

  .prototype-panel.is-open {
    visibility: visible;
  }

  .welcome-content {
    padding-bottom: calc(27px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 340px) {
  .welcome-visual {
    height: 455px;
  }

  .welcome-content {
    min-height: 420px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .welcome-content h1 {
    font-size: 35px;
  }

  .today-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .today-card__action {
    justify-content: center;
  }
}

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