:root {
  color-scheme: light;
  --ink: #17191d;
  --muted: #6f747c;
  --quiet: #9ca1a9;
  --paper: #ffffff;
  --canvas: #f4f5f7;
  --soft: #f7f8fa;
  --line: #e7e9ed;
  --line-strong: #d8dce2;
  --primary: #ff5548;
  --primary-hover: #eb4439;
  --primary-soft: #fff0ee;
  --green: #12876f;
  --green-soft: #eaf7f3;
  --yellow: #f6c75b;
  --dark: #22262d;
  --shadow: 0 12px 32px rgba(25, 29, 36, 0.08);
  --shadow-strong: 0 24px 60px rgba(25, 29, 36, 0.14);
  --sidebar-width: 224px;
  --context-width: 300px;
  font-family:
    "Nanum Gothic", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Noto Sans KR", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
  height: 20px;
  width: 20px;
}

:focus-visible {
  outline: 3px solid rgba(255, 85, 72, 0.28);
  outline-offset: 3px;
}

::selection {
  background: rgba(255, 85, 72, 0.16);
}

.app-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 760px) var(--context-width);
  justify-content: center;
  min-height: 100vh;
}

.desktop-sidebar,
.desktop-context {
  align-self: start;
  height: 100vh;
  position: sticky;
  top: 0;
}

.desktop-sidebar {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
}

.app-brand,
.mobile-brand {
  align-items: center;
  display: inline-flex;
  font-size: 20px;
  font-weight: 800;
  gap: 10px;
}

.brand-symbol {
  align-items: center;
  background: var(--primary);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-family: "Nanum Gothic", sans-serif;
  font-size: 18px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.side-nav {
  display: grid;
  gap: 6px;
  margin-top: 46px;
}

.side-nav__item {
  align-items: center;
  background: transparent;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  font-weight: 650;
  gap: 14px;
  min-height: 48px;
  padding: 0 14px;
  text-align: left;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 120ms ease;
  width: 100%;
}

.side-nav__item:hover,
.side-nav__item.is-active {
  background: var(--paper);
  color: var(--ink);
}

.side-nav__item:active {
  transform: scale(0.98);
}

.side-nav__item.is-active svg {
  color: var(--primary);
}

.sidebar-support {
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding: 22px 10px 4px;
}

.sidebar-support p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 9px;
}

.sidebar-support a {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: space-between;
}

.sidebar-support svg {
  height: 17px;
  width: 17px;
}

.app-frame {
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 100vh;
  min-width: 0;
}

.app-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 74px;
  justify-content: space-between;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.mobile-brand {
  display: none;
}

.page-heading {
  display: grid;
}

.page-heading strong {
  font-size: 17px;
}

.page-heading span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.icon-button,
.avatar-button,
.save-button {
  align-items: center;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  position: relative;
  transition:
    background-color 160ms ease,
    transform 120ms ease;
}

.icon-button {
  height: 42px;
  width: 42px;
}

.icon-button:hover,
.save-button:hover {
  background: var(--soft);
}

.icon-button:active,
.avatar-button:active,
.save-button:active {
  transform: scale(0.94);
}

.notification-dot {
  background: var(--primary);
  border: 2px solid white;
  border-radius: 50%;
  height: 8px;
  position: absolute;
  right: 9px;
  top: 8px;
  width: 8px;
}

.avatar-button,
.context-avatar {
  background: var(--dark);
  color: white;
  font-size: 13px;
  font-weight: 750;
  height: 36px;
  width: 36px;
}

.avatar-button {
  border-radius: 50%;
}

.app-main {
  min-height: calc(100vh - 74px);
}

.app-view {
  display: none;
  padding: 42px 36px 88px;
}

.app-view.is-active {
  display: block;
}

.home-intro {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 22px 0 44px;
}

.section-kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 750;
  margin: 0 0 9px;
}

.home-intro h1,
.view-intro h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0;
}

.home-intro p:not(.section-kicker),
.view-intro > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 16px;
  margin: 15px 0 0;
  max-width: 520px;
}

.home-intro__actions {
  align-items: stretch;
  display: flex;
  flex: 0 0 210px;
  flex-direction: column;
  gap: 8px;
}

.primary-button,
.outline-button,
.small-primary-button,
.text-button,
.plain-link {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 120ms ease;
}

.primary-button {
  background: var(--primary);
  border-radius: 8px;
  color: white;
  gap: 9px;
  min-height: 50px;
  padding: 0 20px;
}

.primary-button:hover {
  background: var(--primary-hover);
}

.primary-button:active,
.outline-button:active,
.small-primary-button:active,
.text-button:active {
  transform: scale(0.98);
}

.text-button,
.plain-link {
  background: transparent;
  color: var(--muted);
}

.text-button {
  font-size: 13px;
  min-height: 38px;
}

.plain-link {
  font-size: 14px;
  gap: 2px;
}

.plain-link svg {
  height: 17px;
  width: 17px;
}

.profile-progress {
  align-items: center;
  background: var(--dark);
  border-radius: 8px;
  color: white;
  display: flex;
  gap: 36px;
  justify-content: space-between;
  min-height: 210px;
  overflow: hidden;
  padding: 32px 34px;
  position: relative;
}

.profile-progress::after {
  border: 34px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
  height: 110px;
  position: absolute;
  right: -44px;
  top: -58px;
  width: 110px;
}

.status-label {
  background: var(--primary);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
}

.profile-progress h2 {
  font-size: 23px;
  line-height: 1.35;
  margin: 13px 0 0;
}

.profile-progress p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  margin: 10px 0 0;
}

.profile-progress__visual {
  display: grid;
  flex: 0 0 190px;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.profile-progress__visual > strong {
  font-size: 34px;
}

.progress-track {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  display: block;
  height: 7px;
  overflow: hidden;
}

.progress-track > span {
  background: var(--primary);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 300ms ease;
  width: 0;
}

.profile-progress__visual button {
  background: white;
  border-radius: 7px;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  min-height: 40px;
}

.content-section,
.how-it-works,
.review-preview,
.profile-preview {
  margin-top: 52px;
}

.section-title-row {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title-row h2 {
  font-size: 25px;
  line-height: 1.3;
  margin: 0;
}

.trip-list,
.discovery-list {
  display: grid;
  gap: 22px;
}

.trip-card,
.discovery-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.trip-card__image,
.discovery-card__media {
  background: var(--soft);
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.trip-card__image {
  aspect-ratio: 2 / 1;
}

.trip-card__image img,
.discovery-card__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
  width: 100%;
}

.trip-card:hover .trip-card__image img,
.discovery-card:hover .discovery-card__media img {
  transform: scale(1.025);
}

.trip-card__badge,
.trip-card__date,
.discovery-card__media > span {
  position: absolute;
}

.trip-card__badge {
  background: var(--primary);
  border-radius: 6px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  left: 16px;
  padding: 7px 10px;
  top: 16px;
}

.trip-card__badge--dark {
  background: var(--dark);
}

.trip-card__date {
  background: rgba(20, 22, 26, 0.76);
  border-radius: 6px;
  bottom: 14px;
  color: white;
  font-size: 12px;
  font-weight: 700;
  right: 14px;
  padding: 7px 10px;
}

.trip-card__body {
  padding: 21px 22px 23px;
}

.trip-card__topline,
.discovery-card__heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.trip-card__topline > span {
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
}

.save-button {
  color: var(--quiet);
  height: 38px;
  width: 38px;
}

.save-button.is-saved {
  background: var(--primary-soft);
  color: var(--primary);
}

.save-button.is-saved svg {
  fill: currentColor;
}

.trip-card__title {
  background: transparent;
  cursor: pointer;
  display: grid;
  padding: 4px 0 0;
  text-align: left;
  width: 100%;
}

.trip-card__title strong {
  font-size: 24px;
}

.trip-card__title span {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.reason-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.reason-list span {
  align-items: center;
  background: var(--soft);
  border-radius: 999px;
  color: #555b64;
  display: inline-flex;
  font-size: 12px;
  font-weight: 650;
  gap: 5px;
  padding: 7px 10px;
}

.reason-list span:first-child {
  background: var(--green-soft);
  color: var(--green);
}

.reason-list svg {
  height: 14px;
  width: 14px;
}

.price-row {
  align-items: end;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-top: 21px;
  padding-top: 18px;
}

.price-row > div {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.price-row del {
  color: var(--quiet);
  font-size: 12px;
  width: 100%;
}

.price-row strong {
  font-size: 20px;
}

.price-row span {
  color: var(--muted);
  font-size: 12px;
}

.small-primary-button {
  background: var(--dark);
  border-radius: 7px;
  color: white;
  font-size: 13px;
  min-height: 39px;
  padding: 0 16px;
}

.small-primary-button:hover {
  background: #363b44;
}

.how-it-works ol {
  border-bottom: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.how-it-works li {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  min-height: 86px;
  padding: 15px 4px;
}

.how-it-works li > span {
  align-items: center;
  background: var(--soft);
  border-radius: 50%;
  color: var(--primary);
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 13px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
}

.how-it-works strong {
  display: block;
  font-size: 15px;
}

.how-it-works p {
  color: var(--muted);
  font-size: 13px;
  margin: 3px 0 0;
}

.review-preview {
  background: var(--green-soft);
  border-radius: 8px;
  padding: 28px;
}

.review-preview h2 {
  font-size: 23px;
  margin: 0;
}

.review-preview > p:not(.section-kicker) {
  color: #4b6860;
  font-size: 14px;
  margin: 9px 0 16px;
  max-width: 520px;
}

.review-preview .plain-link {
  color: var(--green);
}

.view-intro {
  padding: 18px 0 35px;
}

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  min-height: 38px;
  padding: 0 15px;
}

.filter-chip.is-active {
  background: var(--dark);
  color: white;
}

.discovery-card__media {
  aspect-ratio: 16 / 8;
}

.discovery-card__media > span {
  background: rgba(20, 22, 26, 0.78);
  border-radius: 6px;
  bottom: 14px;
  color: white;
  font-size: 12px;
  font-weight: 750;
  left: 14px;
  padding: 7px 10px;
}

.discovery-card__content {
  padding: 22px;
}

.discovery-card__heading p {
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
  margin: 0 0 4px;
}

.discovery-card__heading h2 {
  font-size: 23px;
  margin: 0;
}

.trip-facts {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin: 19px 0;
  padding: 17px 0;
}

.trip-facts div {
  display: grid;
  font-size: 13px;
  gap: 14px;
  grid-template-columns: 48px minmax(0, 1fr);
}

.trip-facts dt {
  color: var(--quiet);
}

.trip-facts dd {
  font-weight: 650;
  margin: 0;
}

.outline-button {
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  min-height: 46px;
  padding: 0 17px;
  width: 100%;
}

.outline-button:hover {
  background: var(--soft);
  border-color: #c4c8cf;
}

.coming-card {
  align-items: end;
  background: var(--dark);
  border-radius: 8px;
  color: white;
  display: flex;
  justify-content: space-between;
  min-height: 220px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.coming-card::after {
  border: 40px solid rgba(246, 199, 91, 0.2);
  border-radius: 50%;
  content: "";
  height: 160px;
  position: absolute;
  right: -50px;
  top: -80px;
  width: 160px;
}

.coming-card > div {
  max-width: 340px;
  position: relative;
  z-index: 1;
}

.coming-card > div > span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

.coming-card h2 {
  font-size: 25px;
  margin: 8px 0;
}

.coming-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  margin: 0;
}

.outline-button--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  max-width: 150px;
  position: relative;
  z-index: 1;
}

.outline-button--light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

.empty-state {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 62px 30px;
  text-align: center;
}

.empty-state__icon {
  align-items: center;
  background: var(--primary-soft);
  border-radius: 50%;
  color: var(--primary);
  display: inline-flex;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.empty-state__icon svg {
  height: 28px;
  width: 28px;
}

.empty-state h2 {
  font-size: 21px;
  margin: 20px 0 7px;
}

.empty-state p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
  max-width: 390px;
}

.application-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.application-item__hero {
  align-items: end;
  background-position: center;
  background-size: cover;
  color: white;
  display: flex;
  min-height: 190px;
  padding: 22px;
  position: relative;
}

.application-item__hero::before {
  background: rgba(16, 18, 22, 0.46);
  content: "";
  inset: 0;
  position: absolute;
}

.application-item__hero > div {
  position: relative;
}

.application-item__hero span {
  background: var(--primary);
  border-radius: 6px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 9px;
}

.application-item__hero h2 {
  font-size: 24px;
  margin: 8px 0 0;
}

.application-item__body {
  padding: 23px;
}

.application-item__body > p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.application-timeline {
  display: grid;
  gap: 0;
}

.timeline-row {
  display: grid;
  gap: 13px;
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 64px;
  position: relative;
}

.timeline-row::after {
  background: var(--line);
  content: "";
  height: calc(100% - 22px);
  left: 8px;
  position: absolute;
  top: 20px;
  width: 2px;
}

.timeline-row:last-child::after {
  display: none;
}

.timeline-row > span {
  background: white;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  height: 18px;
  margin-top: 2px;
  position: relative;
  width: 18px;
  z-index: 1;
}

.timeline-row.is-done > span {
  background: var(--green);
  border-color: var(--green);
}

.timeline-row.is-current > span {
  border: 5px solid var(--primary);
}

.timeline-row strong {
  display: block;
  font-size: 14px;
}

.timeline-row small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.profile-header {
  align-items: center;
  display: flex;
  gap: 19px;
  padding: 16px 0 26px;
}

.profile-photo {
  align-items: center;
  background: var(--dark);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  flex: 0 0 76px;
  font-size: 24px;
  font-weight: 800;
  height: 76px;
  justify-content: center;
  overflow: hidden;
}

.profile-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.profile-header h1 {
  font-size: 26px;
  margin: 0;
}

.profile-header div > p:last-child {
  color: var(--muted);
  font-size: 14px;
  margin: 5px 0 0;
}

.profile-edit-card {
  align-items: center;
  background: var(--soft);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  min-height: 78px;
  padding: 16px 18px;
  text-align: left;
  width: 100%;
}

.profile-edit-card span {
  display: grid;
}

.profile-edit-card strong {
  font-size: 14px;
}

.profile-edit-card small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.profile-edit-card > svg {
  color: var(--quiet);
  height: 18px;
  width: 18px;
}

.profile-preview .section-title-row {
  margin-bottom: 14px;
}

.profile-preview .section-title-row h2 {
  font-size: 19px;
}

.profile-details {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.profile-details > p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.profile-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-detail-tags span {
  background: var(--soft);
  border-radius: 999px;
  color: #50555d;
  font-size: 12px;
  font-weight: 650;
  padding: 7px 10px;
}

.profile-intro-block {
  margin-top: 19px;
}

.profile-intro-block small {
  color: var(--quiet);
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}

.profile-intro-block p {
  font-size: 14px;
  margin: 0;
}

.profile-menu {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  margin-top: 46px;
}

.profile-menu > a,
.profile-menu > button {
  align-items: center;
  background: white;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: grid;
  gap: 13px;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  min-height: 78px;
  padding: 12px 4px;
  text-align: left;
  width: 100%;
}

.profile-menu > :last-child {
  border-bottom: 0;
}

.menu-icon {
  align-items: center;
  background: var(--soft);
  border-radius: 8px;
  color: var(--green);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.menu-icon svg {
  height: 19px;
  width: 19px;
}

.profile-menu span:nth-child(2) {
  display: grid;
}

.profile-menu strong {
  font-size: 14px;
}

.profile-menu small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.profile-menu > a > svg,
.profile-menu > button > svg {
  color: var(--quiet);
  height: 17px;
  width: 17px;
}

.back-button {
  align-items: center;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  margin-bottom: 20px;
  padding: 6px 0;
}

.back-button svg {
  height: 17px;
  width: 17px;
}

.detail-hero {
  border-radius: 8px;
  min-height: 330px;
  overflow: hidden;
  position: relative;
}

.detail-hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.detail-hero::after {
  background: linear-gradient(0deg, rgba(15, 17, 20, 0.76), rgba(15, 17, 20, 0.04) 65%);
  content: "";
  inset: 0;
  position: absolute;
}

.detail-hero__content {
  bottom: 0;
  color: white;
  left: 0;
  padding: 27px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.detail-hero__content span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

.detail-hero__content h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 7px 0 4px;
}

.detail-hero__content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  margin: 0;
}

.detail-section {
  border-bottom: 1px solid var(--line);
  padding: 30px 2px;
}

.detail-section h2 {
  font-size: 20px;
  margin: 0 0 16px;
}

.detail-section > p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.detail-schedule {
  display: grid;
  gap: 16px;
}

.detail-schedule li {
  display: grid;
  gap: 12px;
  grid-template-columns: 82px minmax(0, 1fr);
}

.detail-schedule span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.detail-schedule strong {
  display: block;
  font-size: 14px;
}

.detail-schedule p {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
}

.included-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.included-grid div {
  align-items: start;
  display: flex;
  gap: 9px;
}

.included-grid svg {
  color: var(--green);
  flex: 0 0 18px;
  height: 18px;
  margin-top: 2px;
  width: 18px;
}

.included-grid strong {
  display: block;
  font-size: 13px;
}

.included-grid small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-top: 2px;
}

.detail-price {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.detail-price del {
  color: var(--quiet);
  display: block;
  font-size: 12px;
}

.detail-price strong {
  font-size: 24px;
}

.detail-price small {
  color: var(--muted);
  display: block;
  font-size: 11px;
}

.detail-price .primary-button {
  flex: 0 0 190px;
}

.desktop-context {
  display: grid;
  gap: 14px;
  padding: 28px 0 28px 20px;
}

.context-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.context-profile {
  align-items: center;
  display: flex;
  gap: 11px;
  margin: 16px 0;
}

.context-avatar {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
}

.context-profile > div {
  display: grid;
}

.context-profile strong {
  font-size: 13px;
}

.context-profile span {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.context-card .progress-track {
  background: var(--line);
}

.context-card .outline-button {
  font-size: 12px;
  margin-top: 15px;
  min-height: 40px;
}

.context-card--plain {
  background: transparent;
  border: 0;
  padding: 10px 10px;
}

.context-list {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.context-list li {
  align-items: start;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 7px;
}

.context-list svg {
  color: var(--green);
  flex: 0 0 15px;
  height: 15px;
  margin-top: 1px;
  width: 15px;
}

.context-price {
  background: var(--green);
  border-radius: 8px;
  color: white;
  display: grid;
  padding: 20px;
}

.context-price span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.context-price strong {
  font-size: 24px;
  margin-top: 5px;
}

.context-price small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  margin-top: 4px;
}

.bottom-nav {
  display: none;
}

dialog {
  border: 0;
  padding: 0;
}

dialog::backdrop {
  background: rgba(17, 20, 25, 0.52);
}

.flow-dialog {
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  height: min(780px, calc(100vh - 40px));
  max-height: 780px;
  max-width: 480px;
  overflow: hidden;
  width: calc(100% - 32px);
}

.flow-shell {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.flow-topbar {
  align-items: center;
  background: white;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  height: 66px;
  padding: 0 12px;
  position: relative;
  z-index: 3;
}

.flow-progress-line {
  background: var(--line);
  border-radius: 999px;
  height: 5px;
  overflow: hidden;
}

.flow-progress-line > span {
  background: var(--primary);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 260ms ease;
  width: 0;
}

.flow-step {
  display: none;
  height: calc(100% - 66px);
  overflow-y: auto;
  padding: 29px 28px 110px;
}

.flow-step.is-active {
  display: block;
}

.flow-step--welcome {
  padding: 0 0 104px;
}

.flow-step--welcome > img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.flow-step--welcome > div:not(.flow-bottom) {
  padding: 26px 28px;
}

.flow-step--welcome h2 {
  font-size: 27px;
  line-height: 1.28;
  margin: 15px 0 9px;
}

.flow-step--welcome p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.flow-question {
  margin-bottom: 28px;
}

.question-number {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.flow-question h2 {
  font-size: 27px;
  line-height: 1.3;
  margin: 8px 0 8px;
}

.flow-question p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.field-stack,
.field-grid {
  display: grid;
  gap: 15px;
}

.field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-field {
  display: grid;
  gap: 7px;
}

.app-field > span,
.choice-field legend {
  color: #50555d;
  font-size: 12px;
  font-weight: 700;
}

.app-field small,
.choice-field small {
  color: var(--quiet);
  font-weight: 500;
}

.app-field input,
.app-field select,
.app-field textarea {
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 7px;
  outline: 0;
  padding: 0 14px;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
  width: 100%;
}

.app-field input,
.app-field select {
  height: 50px;
}

.app-field textarea {
  min-height: 104px;
  padding-bottom: 13px;
  padding-top: 13px;
  resize: vertical;
}

.app-field input:focus,
.app-field select:focus,
.app-field textarea:focus {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 85, 72, 0.12);
}

.app-field input[readonly] {
  color: var(--muted);
}

.choice-field {
  border: 0;
  margin: 20px 0;
  padding: 0;
}

.segmented-control {
  background: var(--soft);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
  padding: 4px;
}

.segmented-control input,
.choice-chips input,
.schedule-choices input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.segmented-control span {
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
}

.segmented-control input:checked + span {
  background: white;
  box-shadow: 0 2px 8px rgba(25, 29, 36, 0.08);
}

.range-fields {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.range-fields > span {
  color: var(--muted);
  font-size: 12px;
  padding-bottom: 17px;
}

.choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.choice-chips span {
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 650;
  padding: 9px 12px;
}

.choice-chips input:checked + span {
  background: var(--primary-soft);
  border-color: rgba(255, 85, 72, 0.32);
  color: var(--primary);
}

.photo-uploader {
  cursor: pointer;
  display: block;
  margin-bottom: 18px;
}

.photo-uploader > input {
  display: none;
}

.photo-preview {
  align-items: center;
  background: var(--soft);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 176px;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.photo-preview svg {
  color: var(--primary);
  height: 26px;
  margin-bottom: 9px;
  width: 26px;
}

.photo-preview strong {
  font-size: 14px;
}

.photo-preview small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.photo-preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.schedule-choices {
  border: 0;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.schedule-choices label > span {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 3px 13px;
  grid-template-columns: 40px minmax(0, 1fr);
  min-height: 82px;
  padding: 14px;
}

.schedule-choices svg {
  background: var(--soft);
  border-radius: 8px;
  color: var(--green);
  grid-row: 1 / 3;
  height: 40px;
  padding: 9px;
  width: 40px;
}

.schedule-choices strong {
  font-size: 14px;
}

.schedule-choices small {
  color: var(--muted);
  font-size: 12px;
}

.schedule-choices input:checked + span {
  background: var(--green-soft);
  border-color: rgba(18, 135, 111, 0.36);
}

.privacy-note {
  align-items: start;
  background: var(--soft);
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 9px;
  margin-top: 18px;
  padding: 13px;
}

.privacy-note svg {
  flex: 0 0 16px;
  height: 16px;
  margin-top: 1px;
  width: 16px;
}

.privacy-note p {
  margin: 0;
}

.flow-bottom {
  background: rgba(255, 255, 255, 0.96);
  bottom: 0;
  display: grid;
  gap: 3px;
  left: 0;
  padding: 14px 28px 20px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.application-trip-summary {
  background: var(--soft);
  border-radius: 8px;
  display: grid;
  gap: 11px;
  margin-bottom: 15px;
  padding: 18px;
}

.application-trip-summary span {
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.application-trip-summary strong {
  font-size: 19px;
}

.application-trip-summary dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.application-trip-summary dl div {
  display: flex;
  font-size: 12px;
  justify-content: space-between;
}

.application-trip-summary dt {
  color: var(--quiet);
}

.application-trip-summary dd {
  font-weight: 650;
  margin: 0;
}

.confirm-row,
.consent-list label {
  align-items: start;
  cursor: pointer;
  display: flex;
  gap: 10px;
}

.confirm-row {
  font-size: 13px;
}

.confirm-row input,
.consent-list input {
  accent-color: var(--primary);
  flex: 0 0 18px;
  height: 18px;
  margin: 1px 0 0;
  width: 18px;
}

.consent-list {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 17px;
  padding: 19px 0;
}

.consent-list label {
  color: #4e535a;
  font-size: 13px;
}

.policy-inline-link {
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  margin-top: 14px;
  padding: 6px 0;
  text-decoration: underline;
}

.policy-dialog {
  background: transparent;
  height: min(720px, calc(100vh - 40px));
  max-width: 600px;
  overflow: hidden;
  width: calc(100% - 32px);
}

.policy-sheet {
  background: white;
  border-radius: 8px;
  height: 100%;
  overflow: hidden;
}

.policy-sheet__header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 82px;
  padding: 15px 21px 15px 25px;
}

.policy-sheet__header .section-kicker {
  margin-bottom: 3px;
}

.policy-sheet__header h2 {
  font-size: 20px;
  margin: 0;
}

.policy-sheet__body {
  height: calc(100% - 82px);
  overflow-y: auto;
  padding: 25px;
}

.policy-sheet__body h3 {
  font-size: 16px;
  margin: 25px 0 8px;
}

.policy-sheet__body h3:first-child {
  margin-top: 0;
}

.policy-sheet__body p,
.policy-sheet__body li {
  color: var(--muted);
  font-size: 13px;
}

.policy-sheet__body ul {
  padding-left: 20px;
}

.policy-sheet__body .policy-callout {
  background: var(--soft);
  border-radius: 8px;
  color: #4e535a;
  font-weight: 650;
  padding: 14px;
}

.toast {
  background: var(--dark);
  border-radius: 8px;
  bottom: 28px;
  color: white;
  font-size: 13px;
  font-weight: 650;
  left: 50%;
  max-width: calc(100% - 32px);
  opacity: 0;
  padding: 12px 16px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  z-index: 100;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1220px) {
  .app-layout {
    grid-template-columns: var(--sidebar-width) minmax(0, 760px);
  }

  .desktop-context {
    display: none;
  }
}

@media (max-width: 900px) {
  .app-layout {
    display: block;
  }

  .desktop-sidebar {
    display: none;
  }

  .app-frame {
    border: 0;
    margin: 0 auto;
    max-width: 760px;
  }

  .mobile-brand {
    display: inline-flex;
  }

  .page-heading {
    display: none;
  }

  .app-header {
    height: 64px;
    padding: 0 20px;
  }

  .mobile-brand {
    font-size: 18px;
  }

  .mobile-brand .brand-symbol {
    font-size: 15px;
    height: 30px;
    width: 30px;
  }

  .app-main {
    min-height: calc(100vh - 64px);
  }

  .bottom-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: calc(66px + env(safe-area-inset-bottom));
    left: 0;
    padding: 5px max(12px, env(safe-area-inset-left)) env(safe-area-inset-bottom) max(12px, env(safe-area-inset-right));
    position: fixed;
    right: 0;
    z-index: 30;
  }

  .bottom-nav button {
    align-items: center;
    background: transparent;
    color: var(--quiet);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-size: 10px;
    font-weight: 650;
    gap: 3px;
    height: 56px;
    justify-content: center;
  }

  .bottom-nav button.is-active {
    color: var(--primary);
  }

  .bottom-nav svg {
    height: 21px;
    width: 21px;
  }
}

@media (max-width: 640px) {
  .app-view {
    padding: 24px 18px 94px;
  }

  .home-intro {
    align-items: stretch;
    display: grid;
    gap: 24px;
    padding: 8px 0 30px;
  }

  .home-intro h1,
  .view-intro h1 {
    font-size: 31px;
  }

  .home-intro p:not(.section-kicker),
  .view-intro > p:not(.section-kicker) {
    font-size: 14px;
  }

  .home-intro__actions {
    flex-basis: auto;
  }

  .profile-progress {
    align-items: stretch;
    display: grid;
    gap: 26px;
    min-height: 0;
    padding: 26px 23px;
  }

  .profile-progress__visual {
    flex-basis: auto;
  }

  .profile-progress__visual > strong {
    font-size: 27px;
  }

  .content-section,
  .how-it-works,
  .review-preview,
  .profile-preview {
    margin-top: 42px;
  }

  .section-title-row h2 {
    font-size: 22px;
  }

  .trip-card__image,
  .discovery-card__media {
    aspect-ratio: 4 / 3;
  }

  .trip-card__body,
  .discovery-card__content {
    padding: 18px;
  }

  .trip-card__title strong {
    font-size: 21px;
  }

  .price-row strong {
    font-size: 18px;
  }

  .coming-card {
    align-items: stretch;
    display: grid;
    gap: 26px;
    padding: 24px;
  }

  .outline-button--light {
    max-width: none;
  }

  .view-intro {
    padding-top: 4px;
  }

  .profile-header {
    align-items: start;
  }

  .profile-photo {
    flex-basis: 66px;
    height: 66px;
  }

  .detail-view {
    padding-left: 0;
    padding-right: 0;
    padding-top: 13px;
  }

  .detail-view .back-button {
    margin-left: 18px;
  }

  .detail-hero {
    border-radius: 0;
    min-height: 350px;
  }

  .detail-hero__content {
    padding: 25px 20px;
  }

  .detail-hero__content h1 {
    font-size: 28px;
  }

  .detail-section {
    margin: 0 18px;
  }

  .detail-price {
    align-items: stretch;
    display: grid;
    gap: 18px;
  }

  .detail-price .primary-button {
    flex-basis: auto;
  }

  .flow-dialog,
  .policy-dialog {
    border-radius: 0;
    height: 100dvh;
    max-height: none;
    max-width: none;
    width: 100%;
  }

  .flow-dialog {
    margin: 0;
  }

  .flow-step {
    padding-left: 22px;
    padding-right: 22px;
  }

  .flow-step--welcome {
    padding-left: 0;
    padding-right: 0;
  }

  .flow-bottom {
    padding-left: 22px;
    padding-right: 22px;
  }

  .flow-question h2 {
    font-size: 25px;
  }

  .policy-dialog {
    margin: 0;
  }

  .policy-sheet {
    border-radius: 0;
  }

  .toast {
    bottom: 82px;
  }
}

@media (max-width: 390px) {
  .app-view {
    padding-left: 15px;
    padding-right: 15px;
  }

  .app-header {
    padding-left: 15px;
    padding-right: 15px;
  }

  .header-actions {
    gap: 2px;
  }

  .home-intro h1,
  .view-intro h1 {
    font-size: 28px;
  }

  .profile-progress h2 {
    font-size: 21px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .included-grid {
    grid-template-columns: 1fr;
  }
}

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