:root {
  color-scheme: light;
  --ink: #164e63;
  --muted: #526b73;
  --line: #cde7ed;
  --panel: #ffffff;
  --page: #ecfeff;
  --accent: #0891b2;
  --accent-strong: #0e7490;
  --warm: #f97316;
  --rose: #c65f5f;
  --blue: #22d3ee;
  --green-soft: #dcfce7;
  --orange-soft: #ffedd5;
  --shadow: 0 18px 42px rgba(21, 94, 117, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

button,
textarea,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.workspace {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  background: #083344;
  color: #f4fbf9;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--warm);
  color: #112024;
  font-weight: 800;
}

.brand span,
.app-list-item small,
.version-list span {
  display: block;
  color: #b9cccf;
  font-size: 12px;
  margin-top: 3px;
}

.app-list {
  display: grid;
  gap: 8px;
}

.app-list-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  border-radius: 8px;
  padding: 12px;
  text-align: left;
}

.app-list-item.active {
  background: #155e75;
  border-color: rgba(34, 211, 238, 0.72);
}

.version-list h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #dbe8e8;
}

.version-list ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.version-list li {
  border-left: 3px solid var(--warm);
  padding-left: 10px;
  font-size: 13px;
}

.generated-history {
  min-height: 0;
}

.generated-history ol {
  max-height: 330px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.generated-history li {
  border-left-color: rgba(34, 211, 238, 0.72);
  padding-left: 0;
}

.history-app-button {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(34, 211, 238, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  padding: 10px;
  text-align: left;
}

.history-app-button strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-app-button.active {
  background: #155e75;
  border-color: rgba(34, 211, 238, 0.72);
}

.history-app-button:hover {
  background: rgba(255, 255, 255, 0.09);
}

.history-empty {
  border-left-color: rgba(255, 255, 255, 0.16);
}

.builder {
  padding: 24px;
  display: grid;
  gap: 20px;
  align-content: start;
}

.publish-result {
  border: 1px solid #b5d8d2;
  border-radius: 8px;
  background: #e9f7f4;
  color: #123934;
  padding: 12px 14px;
}

.publish-result a {
  color: var(--accent-strong);
  font-weight: 800;
}

.demo-qr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.demo-qr-card img {
  width: 116px;
  height: 116px;
  flex: 0 0 116px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.demo-qr-card div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.demo-qr-card span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.demo-qr-card code,
.deployment-error code {
  overflow-wrap: anywhere;
}

.deployment-error {
  color: #9f1239;
}

.demo-qr-card.compact {
  align-items: flex-start;
  margin-top: 6px;
  padding: 10px;
}

.demo-qr-card.compact img {
  width: 88px;
  height: 88px;
  flex-basis: 88px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.workflow-steps button {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "number label"
    "number meta";
  gap: 2px 10px;
  align-items: center;
  padding: 12px;
  text-align: left;
}

.workflow-steps button span {
  grid-area: number;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e0f2fe;
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.workflow-steps button strong {
  grid-area: label;
  line-height: 1;
}

.workflow-steps button small {
  grid-area: meta;
  color: var(--muted);
  font-weight: 800;
}

.workflow-steps button.selected {
  border-color: var(--accent);
  background: #f0fdff;
  box-shadow: 0 12px 28px rgba(14, 116, 144, 0.12);
}

.workflow-steps button.selected span {
  background: var(--accent);
  color: #ffffff;
}

.workflow-steps button.locked {
  background: #f7fbfb;
}

.topbar,
.prompt-heading,
.panel-header,
.prompt-actions,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar h1,
.prompt-panel h2,
.panel-header h2 {
  margin: 0;
}

.topbar h1 {
  font-size: 26px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.prompt-panel,
.proposal-panel,
.preview-panel,
.manifest-panel,
.generated-panel,
.activity-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.prompt-panel,
.proposal-panel {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.prompt-panel {
  max-width: 980px;
}

.prompt-panel p {
  margin: 4px 0 0;
  color: var(--muted);
}

.original-prompt-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.original-prompt-note[hidden] {
  display: none;
}

.proposal-panel[hidden] {
  display: none;
}

.proposal-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 14px;
}

.proposal-grid h3 {
  font-size: 13px;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--muted);
}

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  min-height: 112px;
}

.primary-button,
.secondary-button,
.icon-button,
.tabs button,
.filter-chip,
.view-select {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
}

.primary-button {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  font-weight: 700;
}

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

.secondary-button:hover,
.icon-button:hover {
  background: #eef5f3;
}

.icon-button {
  width: 40px;
  padding: 0;
  font-weight: 800;
}

.tabs,
.filter-row,
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.editor-toolbar {
  margin-top: 12px;
}

.advanced-editor {
  margin-top: 10px;
}

.advanced-editor summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.advanced-tabs {
  margin-top: 10px;
}

.build-details {
  display: grid;
  gap: 6px;
}

.build-details summary {
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 800;
}

.tabs button.selected {
  background: #155e75;
  color: white;
  border-color: #155e75;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 20px;
}

.preview-panel,
.manifest-panel,
.generated-panel,
.activity-panel {
  padding: 18px;
  min-width: 0;
}

.ai-change-panel {
  display: grid;
  gap: 10px;
  margin: 16px 0 14px;
  padding: 14px;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fdff 0%, #ecfeff 100%);
}

.ai-change-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.ai-change-panel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.ai-change-panel textarea {
  min-height: 84px;
  resize: vertical;
}

.status-pill {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--accent-strong);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.phone-preview {
  position: relative;
  margin: 18px auto 0;
  width: 100%;
  max-width: 430px;
  height: min(760px, calc(100vh - 180px));
  min-height: 560px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fdfbf7;
  padding: 0;
  box-shadow: none;
}

.phone-status-bar {
  display: none;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  color: #08133f;
  font-size: 11px;
  font-weight: 900;
}

.phone-top {
  display: none;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  color: #6e6a60;
}

.phone-top strong {
  color: #08133f;
}

.preview-view-tabs {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 10;
  min-height: 64px;
  display: flex;
  justify-content: space-around;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e1e8f8;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  margin: 0;
  padding: 8px;
  box-shadow: 0 22px 38px rgba(10, 25, 47, 0.16);
}

.rn-view-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: #6e6a60;
  padding: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 800;
}

.rn-view-tab.active {
  color: #045ff4;
}

.rn-view-tab > .rn-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #0d1c32;
  display: grid;
  place-items: center;
}

.rn-view-tab.active > .rn-icon {
  background: #045ff4;
  color: #fff;
}

.rn-view-tab > span:last-child {
  max-width: 62px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-component-list {
  display: grid;
  align-content: start;
  gap: 18px;
  height: 100%;
  overflow-y: auto;
  padding: 0 16px 96px;
  scrollbar-width: thin;
}

.rn-component-wrap {
  min-width: 0;
}

.rn-header,
.rn-section {
  display: grid;
  gap: 16px;
}

.rn-home-hero {
  gap: 16px;
}

.rn-home-appbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -16px;
  padding: 14px 16px;
  background: var(--rn-surface, #fff);
  box-shadow: var(--rn-shadow, 0 20px 30px rgba(10, 25, 47, 0.08));
}

.rn-home-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rn-home-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--rn-surface-alt, #e8eeff);
  color: var(--rn-ink, #0d1c32);
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 700;
}

.rn-home-identity h1 {
  margin: 0;
  color: var(--rn-ink, #0d1c32);
  font-family: "Noto Serif", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}

.rn-service-button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--rn-primary, #0058bc);
}

.rn-welcome-section {
  display: grid;
  gap: 4px;
  padding-top: 14px;
}

.rn-welcome-section h2 {
  margin: 0;
  color: var(--rn-ink, #0d1c32);
  font-family: "Noto Serif", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.rn-welcome-section p {
  margin: 0;
  color: var(--rn-muted, #414755);
  font-size: 14px;
  line-height: 20px;
}

.rn-header-top-row,
.rn-card-header,
.rn-option-copy,
.rn-alert-meta-row,
.rn-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rn-welcome-text {
  display: block;
  color: #08133f;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.rn-location-text,
.rn-eyebrow {
  display: block;
  color: #6e6a60;
  font-size: 11px;
  font-weight: 900;
  margin-top: 4px;
  text-transform: uppercase;
}

.rn-header-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(8, 19, 63, 0.12);
  border-radius: 999px;
  background: #bff7f3;
  color: #071656;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
}

.rn-hero-card,
.rn-reward-card,
.rn-alert-summary,
.rn-profile-hero {
  border-radius: 22px;
  background: #ffffff;
  color: #0d1c32;
  padding: 18px;
  border: 1px solid #d6e3ff;
  box-shadow: 0 20px 30px rgba(10, 25, 47, 0.08);
}

.rn-stay-card {
  overflow: hidden;
  border: 1px solid var(--rn-line, #d6e3ff);
  border-radius: 12px;
  background: var(--rn-surface, #ffffff);
  box-shadow: 0 20px 30px rgba(10, 25, 47, 0.08);
}

.rn-stay-media {
  position: relative;
  isolation: isolate;
  min-height: 192px;
  background-size: cover;
  background-position: center;
  background-color: #dce8ff;
  background-image:
    radial-gradient(circle at 18% 82%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(135deg, #e9c176 0%, #95d7e8 52%, #ffffff 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px;
}

.rn-stay-media-img,
.rn-option-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.rn-stay-media-img,
.rn-option-media-img,
.rn-trip-hero-img {
  opacity: 0;
  pointer-events: none;
}

.rn-stay-media-copy {
  color: #fff;
  display: grid;
  gap: 5px;
  position: relative;
  z-index: 1;
}

.rn-stay-media-copy span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.rn-stay-media-copy strong {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 28px;
}

.rn-weather-pill {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0d1c32;
  padding: 7px 12px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-stay-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.rn-stay-title {
  margin: 0;
  color: #0d1c32;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}

.rn-primary-cta {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: #0058bc;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-booking-meta {
  margin-top: -8px;
  text-transform: uppercase;
}

.rn-stay-ribbon {
  display: inline-block;
  border-radius: 999px;
  background: rgba(254, 212, 136, 0.28);
  color: #775a19;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-trip-summary {
  display: grid;
  gap: 18px;
}

.rn-trip-appbar {
  margin-bottom: 2px;
}

.rn-trip-hero {
  position: relative;
  isolation: isolate;
  min-height: 256px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(7, 22, 86, 0.04), rgba(7, 22, 86, 0.66)),
    linear-gradient(135deg, #95d7e8, #fffaf0);
  background-position: center;
  background-size: cover;
  box-shadow: var(--rn-shadow, 0 20px 30px rgba(10, 25, 47, 0.08));
}

.rn-trip-hero-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rn-trip-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 22, 86, 0), rgba(7, 22, 86, 0.68));
}

.rn-trip-hero-copy {
  display: grid;
  gap: 6px;
  padding: 22px;
  color: #fff;
}

.rn-trip-hero-copy span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.rn-trip-hero-copy strong {
  max-width: 320px;
  color: #fff;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 34px;
}

.rn-trip-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 20px;
}

.rn-trip-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.rn-trip-card {
  border: 1px solid var(--rn-line, #d6e3ff);
  border-radius: 12px;
  background: var(--rn-surface, #ffffff);
  box-shadow: var(--rn-shadow, 0 20px 30px rgba(10, 25, 47, 0.08));
  padding: 22px;
}

.rn-room-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rn-trip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.rn-trip-primary,
.rn-trip-secondary {
  min-height: 38px;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.rn-trip-primary {
  border: 0;
  background: var(--rn-primary, #0058bc);
  color: #fff;
}

.rn-trip-secondary {
  border: 1px solid var(--rn-ink, #0d1c32);
  background: transparent;
  color: var(--rn-ink, #0d1c32);
}

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

.rn-check-cell {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 8px 12px;
  text-align: center;
}

.rn-check-cell + .rn-check-cell {
  border-left: 1px solid var(--rn-line, #d6e3ff);
}

.rn-check-cell span,
.rn-check-cell small {
  color: var(--rn-muted, #414755);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-check-cell strong {
  color: var(--rn-primary, #0058bc);
  font-size: 24px;
  font-weight: 900;
  line-height: 28px;
}

.rn-title {
  margin: 12px 0 0;
  color: #0d1c32;
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
}

.rn-purpose,
.rn-alert-summary p {
  margin: 8px 0 0;
  color: #414755;
  font-size: 15px;
  line-height: 22px;
}

.rn-hero-divider {
  height: 1px;
  margin: 14px 0 2px;
  background: rgba(255, 255, 255, 0.32);
}

.rn-meta-row,
.rn-detail-grid,
.rn-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin-top: 12px;
}

.rn-stay-body > .rn-meta-row {
  margin-top: 0;
  padding: 12px 0;
  border-top: 1px solid var(--rn-line, #d6e3ff);
  border-bottom: 1px solid var(--rn-line, #d6e3ff);
}

.rn-meta-cell span {
  display: block;
  color: #6e6a60;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-meta-cell strong {
  display: block;
  color: #08133f;
  font-size: 14px;
  font-weight: 800;
  margin-top: 5px;
}

.rn-meta-cell.inverted span {
  color: rgba(255, 250, 240, 0.64);
}

.rn-meta-cell.inverted strong {
  color: #bff7f3;
}

.rn-section-title {
  margin: 0;
  color: #08133f;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.rn-section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.rn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: var(--rn-primary, #0058bc);
  font-size: 11px;
  font-weight: 900;
}

.rn-view-all .rn-icon {
  width: 14px;
  height: 14px;
}

.rn-card,
.rn-feature-card,
.rn-option-card,
.rn-metric-card {
  border: 1px solid #ded5bf;
  border-radius: 16px;
  background: #fffaf0;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(20, 32, 39, 0.12);
}

.rn-feature-card {
  border-radius: 18px;
  padding: 18px;
}

.rn-card-title,
.rn-card strong {
  color: #071656;
  font-size: 17px;
  font-weight: 900;
  line-height: 21px;
}

.rn-card-body {
  margin: 8px 0 0;
  color: #6e6a60;
  font-size: 13px;
  line-height: 19px;
}

.rn-card-meta {
  display: block;
  margin-top: 6px;
  color: #6e6a60;
  font-size: 12px;
  font-weight: 800;
}

.rn-carousel,
.rn-category-tabs,
.rn-filters {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 16px 3px 0;
}

.rn-option-card {
  width: 280px;
  flex: 0 0 280px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--rn-surface, #fff);
  border-color: var(--rn-line, #d6e3ff);
}

.rn-option-card.compact {
  width: 100%;
  flex-basis: 100%;
  min-height: 0;
}

.rn-option-media,
.rn-media-tile {
  position: relative;
  isolation: isolate;
  height: 160px;
  border-radius: 0;
  background: #bff7f3;
  color: #071656;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  overflow: hidden;
}

.rn-option-media::before,
.rn-option-media::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.rn-option-media::before {
  right: -18px;
  top: -24px;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.58);
}

.rn-option-media::after {
  left: 24px;
  bottom: 26px;
  width: 180px;
  height: 13px;
  border-radius: 999px;
  background: rgba(7, 22, 86, 0.18);
  transform: rotate(-12deg);
}

.rn-option-media.visual-dining {
  background: linear-gradient(135deg, #f4d7a9, #d9a657);
}

.rn-option-media.visual-water {
  background: linear-gradient(135deg, #95d7e8, #045ff4);
}

.rn-option-media.visual-spa {
  background: linear-gradient(135deg, #d7c3e8, #8f73a8);
}

.rn-option-media.visual-guide {
  background: linear-gradient(135deg, #dce8c7, #8fb965);
}

.rn-option-media.visual-resort {
  background: linear-gradient(135deg, #bff7f3, #c8a95e);
}

.rn-option-media.has-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.rn-option-media.has-image::before {
  opacity: 0;
}

.rn-option-media.has-image::after {
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(7, 22, 86, 0), rgba(7, 22, 86, 0.18));
  transform: none;
}

.rn-option-media {
  color: #071656;
}

.rn-option-media-text {
  color: var(--rn-navy, #071656);
  font-size: 26px;
  font-weight: 900;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.rn-option-copy {
  align-items: flex-start;
  padding: 16px 16px 0;
}

.rn-option-text-block {
  flex: 1;
  min-width: 0;
}

.rn-card-kicker {
  display: inline-block;
  width: fit-content;
  border-radius: 999px;
  background: rgba(254, 212, 136, 0.28);
  color: var(--rn-accent, #775a19);
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.rn-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: currentColor;
  flex: 0 0 auto;
}

.rn-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rn-quick-action {
  min-height: 88px;
  border: 0;
  border-radius: 16px;
  background: #045ff4;
  color: #fff;
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 12px;
  text-align: left;
  box-shadow: 0 12px 28px rgba(20, 32, 39, 0.12);
}

.rn-quick-action strong {
  font-size: 15px;
  font-weight: 900;
}

.rn-quick-action span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.rn-category-tabs {
  gap: 12px;
  border-bottom: 0;
  margin-right: -16px;
}

.rn-category-tab {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--rn-surface-alt, #f0f3ff);
  color: var(--rn-muted, #414755);
  padding: 0 18px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-category-tab.active {
  color: #fff;
  background: var(--rn-primary, #0058bc);
}

.rn-secondary-action,
.rn-action-button {
  width: 100%;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rn-secondary-action {
  margin-top: 16px;
  border: 1px solid #045ff4;
  background: transparent;
  color: #045ff4;
}

.rn-action-button {
  border: 0;
  background: #045ff4;
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 32, 39, 0.12);
}

.rn-map {
  position: relative;
  overflow: hidden;
  border: 1px solid #ded5bf;
  border-radius: 18px;
  background: #eef5ed;
  box-shadow: 0 12px 28px rgba(20, 32, 39, 0.14);
}

.rn-map-water,
.rn-map-garden,
.rn-map-path-primary,
.rn-map-path-secondary {
  position: absolute;
  pointer-events: none;
}

.rn-map-water {
  right: -48px;
  top: -20px;
  width: 160px;
  height: 150px;
  border-radius: 72px 0 0 90px;
  background: #95d7e8;
  transform: rotate(-12deg);
}

.rn-map-garden {
  left: 20px;
  top: 74px;
  width: 140px;
  height: 92px;
  border: 1px solid rgba(85, 151, 90, 0.2);
  border-radius: 22px;
  background: #dce8c7;
  transform: rotate(-8deg);
}

.rn-map-path-primary {
  left: 24px;
  top: 58%;
  width: 78%;
  height: 9px;
  border-radius: 999px;
  background: rgba(116, 103, 80, 0.34);
  transform: rotate(-12deg);
}

.rn-map-path-secondary {
  left: 88px;
  top: 84px;
  width: 150px;
  height: 8px;
  border-radius: 999px;
  background: rgba(116, 103, 80, 0.22);
  transform: rotate(34deg);
}

.rn-marker {
  position: absolute;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #045ff4;
  color: #fff;
  font-weight: 900;
  z-index: 2;
}

.rn-map-provider,
.rn-map-attribution {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #08133f;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-map-provider {
  left: 10px;
  top: 10px;
}

.rn-map-attribution {
  right: 10px;
  bottom: 8px;
  border-radius: 6px;
}

.rn-filter {
  min-height: 36px;
  border: 1px solid #ded5bf;
  border-radius: 8px;
  background: #fffaf0;
  color: #08133f;
  padding: 0 12px;
  font-weight: 800;
}

.rn-filter.active {
  border-color: #071656;
  background: #071656;
  color: #fff;
}

.rn-warning {
  border-radius: 999px;
  background: #f4ded9;
  color: #8f3f3f;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.rn-metric-card strong {
  display: block;
  color: #071656;
  font-size: 32px;
  font-weight: 900;
}

.rn-metric-card span {
  color: #6e6a60;
  font-size: 12px;
  font-weight: 800;
}

.rn-timeline-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
}

.rn-timeline-time {
  color: #045ff4;
  font-weight: 900;
  padding-top: 12px;
}

.rn-itinerary-section {
  gap: 14px;
}

.rn-itinerary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rn-date-pill {
  max-width: 46%;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rn-primary, #0058bc), transparent 88%);
  color: var(--rn-primary, #0058bc);
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.rn-itinerary-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
}

.rn-itinerary-time {
  color: var(--rn-primary, #045ff4);
  font-size: 12px;
  font-weight: 900;
}

.rn-itinerary-body {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--rn-line, #d6e3ff);
  border-radius: 12px;
  background: var(--rn-surface, #ffffff);
  padding: 14px;
  box-shadow: var(--rn-shadow, 0 14px 32px rgba(20, 32, 39, 0.1));
}

.rn-itinerary-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rn-highlight, #bff7f3);
  color: var(--rn-navy, #071656);
}

.rn-itinerary-copy {
  min-width: 0;
}

.rn-itinerary-copy strong {
  display: block;
  overflow: hidden;
  color: var(--rn-ink, #0d1c32);
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-itinerary-copy p {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--rn-muted, #414755);
  font-size: 12px;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-itinerary-badge {
  max-width: 74px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(254, 212, 136, 0.28);
  color: var(--rn-accent, #775a19);
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.rn-search-bar {
  min-height: 48px;
  border: 1px solid #ded5bf;
  border-radius: 999px;
  background: #fffaf0;
  color: #6e6a60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 800;
}

.rn-media-tile {
  min-width: 208px;
  min-height: 150px;
  align-content: end;
  justify-items: start;
  padding: 14px;
  font-size: 16px;
}

.rn-media-tile span {
  color: #6e6a60;
  font-size: 12px;
  font-weight: 800;
}

.rn-reward-card h3,
.rn-alert-summary h3,
.rn-profile-hero h3 {
  margin: 8px 0 0;
  color: #fff7df;
  font-size: 28px;
  line-height: 32px;
  font-weight: 900;
}

.rn-reward-card p,
.rn-profile-hero p {
  margin: 4px 0 0;
  color: rgba(191, 247, 243, 0.72);
}

.rn-profile-avatar {
  width: 76px;
  height: 76px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: #bff7f3;
  color: #071656;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
}

.rn-profile-row {
  border-bottom: 1px solid #ded5bf;
  padding: 18px 0;
}

.rn-profile-row strong {
  flex: 1;
  color: #08133f;
  font-size: 17px;
  font-weight: 500;
}

.rn-profile-icon,
.rn-alert-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 2px solid #045ff4;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.rn-alert-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #ded5bf;
  border-radius: 16px;
  background: #fffaf0;
  padding: 14px;
}

.rn-alert-copy {
  flex: 1;
  min-width: 0;
}

.rn-alert-copy small {
  display: block;
  color: #6e6a60;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.rn-alert-copy strong {
  display: block;
  color: #08133f;
  font-size: 16px;
  font-weight: 900;
  margin-top: 5px;
}

.rn-alert-copy p {
  margin: 5px 0 0;
  color: #6e6a60;
  font-size: 12px;
  line-height: 17px;
}

.rn-rewards-screen,
.rn-profile-screen,
.rn-alerts-screen {
  display: grid;
  gap: 16px;
}

.rn-guest-screen-appbar {
  margin-bottom: 2px;
}

.rn-rewards-hero {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--rn-navy, #071656);
  color: #fff;
  padding: 20px;
  box-shadow: var(--rn-shadow, 0 20px 30px rgba(10, 25, 47, 0.08));
}

.rn-rewards-kicker {
  display: block;
  color: var(--rn-muted, #414755);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.rn-rewards-hero .rn-rewards-kicker,
.rn-profile-upgrade .rn-rewards-kicker {
  color: rgba(255, 250, 240, 0.7);
}

.rn-rewards-hero h3 {
  margin: 4px 0 0;
  color: #fff;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
}

.rn-rewards-tier {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--rn-accent, #c5a059);
  text-transform: uppercase;
}

.rn-rewards-tier .rn-icon {
  width: 34px;
  height: 34px;
}

.rn-rewards-tier strong {
  color: var(--rn-accent, #c5a059);
  font-size: 10px;
  font-weight: 900;
}

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

.rn-rewards-stat-card,
.rn-rewards-activity,
.rn-reward-benefit-row,
.rn-profile-group-list,
.rn-profile-summary,
.rn-alert-card {
  border: 1px solid var(--rn-line, #d6e3ff);
  border-radius: 12px;
  background: var(--rn-surface, #fff);
  box-shadow: var(--rn-shadow, 0 20px 30px rgba(10, 25, 47, 0.08));
}

.rn-rewards-stat-card {
  padding: 16px;
}

.rn-rewards-stat-card span,
.rn-rewards-stat-card small {
  color: var(--rn-muted, #414755);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-rewards-stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--rn-primary, #0058bc);
  font-size: 24px;
  font-weight: 900;
  line-height: 28px;
}

.rn-rewards-stat-card small {
  display: block;
  margin-top: 4px;
  text-transform: none;
}

.rn-rewards-activity {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.rn-rewards-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rn-rewards-activity-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rn-rewards-activity-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rn-primary, #0058bc), transparent 90%);
  color: var(--rn-primary, #0058bc);
}

.rn-rewards-activity-body strong {
  color: var(--rn-ink, #0d1c32);
  font-size: 20px;
  font-weight: 900;
}

.rn-rewards-activity-body p {
  margin: 3px 0 0;
  color: var(--rn-muted, #414755);
  font-size: 12px;
}

.rn-rewards-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rn-primary, #0058bc), transparent 88%);
}

.rn-rewards-progress span {
  display: block;
  width: 76%;
  height: 100%;
  border-radius: inherit;
  background: var(--rn-primary, #0058bc);
}

.rn-rewards-benefits {
  display: grid;
  gap: 10px;
}

.rn-reward-benefit-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  padding: 13px;
}

.rn-reward-benefit-row strong,
.rn-profile-row-copy strong {
  display: block;
  color: var(--rn-ink, #0d1c32);
  font-size: 14px;
  font-weight: 900;
}

.rn-reward-benefit-row p,
.rn-profile-row-copy p {
  margin: 3px 0 0;
  color: var(--rn-muted, #414755);
  font-size: 11px;
  line-height: 16px;
}

.rn-rewards-offer {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 10px;
  border-radius: 12px;
  background: #fff0d8;
  color: var(--rn-accent, #775a19);
  padding: 22px;
  text-align: center;
}

.rn-rewards-offer::after,
.rn-profile-upgrade::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border: 8px solid rgba(7, 22, 86, 0.13);
  border-radius: 999px;
}

.rn-rewards-offer > * {
  position: relative;
  z-index: 1;
}

.rn-rewards-offer > .rn-icon {
  width: 34px;
  height: 34px;
}

.rn-rewards-offer strong {
  color: var(--rn-accent, #775a19);
  font-family: "Noto Serif", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
}

.rn-rewards-offer p {
  max-width: 260px;
  margin: 0;
  color: color-mix(in srgb, var(--rn-accent, #775a19), #0d1c32 20%);
  font-size: 12px;
  line-height: 17px;
}

.rn-profile-summary {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 22px;
  text-align: center;
}

.rn-profile-avatar-wrap {
  position: relative;
  margin-bottom: 4px;
}

.rn-profile-summary .rn-profile-avatar {
  width: 82px;
  height: 82px;
  border: 4px solid var(--rn-surface, #fff);
  box-shadow: var(--rn-shadow, 0 20px 30px rgba(10, 25, 47, 0.08));
}

.rn-profile-tier-badge {
  position: absolute;
  right: -12px;
  bottom: 0;
  border-radius: 999px;
  background: var(--rn-accent, #c5a059);
  color: #fff;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-profile-summary h3 {
  margin: 0;
  color: var(--rn-ink, #0d1c32);
  font-family: "Noto Serif", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
}

.rn-profile-summary p {
  margin: 0;
  color: var(--rn-muted, #414755);
  font-size: 12px;
}

.rn-profile-group {
  display: grid;
  gap: 10px;
}

.rn-profile-group > h3,
.rn-previous-alerts > h3 {
  margin: 0 0 0 4px;
  color: var(--rn-muted, #414755);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.rn-profile-group-list {
  overflow: hidden;
}

.rn-profile-group-list .rn-profile-row {
  border: 0;
  box-shadow: none;
  padding: 15px;
}

.rn-profile-group-list .rn-profile-row + .rn-profile-row {
  border-top: 1px solid var(--rn-line, #d6e3ff);
}

.rn-profile-row-copy {
  flex: 1;
  min-width: 0;
}

.rn-profile-row-badge {
  border-radius: 999px;
  background: #fff0d8;
  color: var(--rn-accent, #775a19);
  padding: 4px 7px;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-profile-upgrade {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  border-radius: 12px;
  background: var(--rn-navy, #071656);
  color: #fff;
  padding: 20px;
}

.rn-profile-upgrade strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
}

.rn-profile-upgrade .rn-rewards-progress {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.2);
}

.rn-profile-upgrade .rn-rewards-progress span {
  background: var(--rn-accent, #c5a059);
}

.rn-alerts-heading {
  display: grid;
  gap: 5px;
  padding: 2px 0 10px;
}

.rn-alerts-heading h3 {
  margin: 0;
  color: var(--rn-ink, #0d1c32);
  font-family: "Noto Serif", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}

.rn-alerts-heading i {
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--rn-accent, #c5a059);
}

.rn-alert-card {
  border-left: 4px solid var(--rn-accent, #c5a059);
  padding: 16px;
}

.rn-alert-card-1 {
  border-left-color: var(--rn-highlight, #008094);
}

.rn-alert-card-2 {
  border-left-color: var(--rn-primary, #0058bc);
}

.rn-alert-card.previous {
  opacity: 0.58;
}

.rn-alert-card .rn-alert-icon {
  border: 0;
  background: color-mix(in srgb, var(--rn-primary, #0058bc), transparent 90%);
}

.rn-alert-card .rn-alert-meta-row strong {
  margin: 0;
  color: var(--rn-ink, #0d1c32);
  font-size: 16px;
}

.rn-alert-card .rn-alert-meta-row small {
  border-radius: 999px;
  background: var(--rn-background, #f4eedf);
  padding: 3px 7px;
  color: var(--rn-muted, #414755);
}

.rn-alert-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.rn-alert-actions .rn-trip-primary,
.rn-alert-actions .rn-trip-secondary {
  min-height: 32px;
  border-radius: 8px;
}

.rn-alert-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--rn-primary, #0058bc);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rn-alert-link .rn-icon {
  width: 14px;
  height: 14px;
}

.rn-previous-alerts {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.phone-preview {
  background: var(--rn-background, #f4eedf);
}

.phone-status-bar,
.phone-top strong,
.rn-view-tab.active,
.rn-welcome-text,
.rn-section-title,
.rn-meta-cell strong,
.rn-filter,
.rn-alert-copy strong,
.rn-profile-row strong {
  color: var(--rn-ink, #08133f);
}

.phone-top,
.rn-view-tab,
.rn-location-text,
.rn-eyebrow,
.rn-card-body,
.rn-card-meta,
.rn-meta-cell span,
.rn-metric-card span,
.rn-alert-copy small,
.rn-alert-copy p,
.rn-media-tile span {
  color: var(--rn-muted, #6e6a60);
}

.preview-view-tabs,
.rn-category-tabs,
.rn-card,
.rn-feature-card,
.rn-option-card,
.rn-metric-card,
.rn-map,
.rn-filter,
.rn-search-bar,
.rn-profile-row,
.rn-alert-card {
  border-color: var(--rn-line, #ded5bf);
}

.rn-view-tab.active,
.rn-category-tab.active {
  border-bottom-color: var(--rn-primary, #045ff4);
}

.rn-header-mark,
.rn-option-media,
.rn-media-tile,
.rn-profile-avatar {
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(135deg, var(--rn-highlight, #bff7f3), color-mix(in srgb, var(--rn-highlight, #bff7f3), var(--rn-primary, #045ff4) 22%));
  color: var(--rn-navy, #071656);
}

.rn-hero-card,
.rn-reward-card,
.rn-alert-summary,
.rn-profile-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--rn-radius, 22px);
  border: 1px solid var(--rn-line, #d6e3ff);
  background: var(--rn-surface, #ffffff);
  box-shadow: var(--rn-shadow, 0 20px 30px rgba(10, 25, 47, 0.08));
}

.rn-hero-card::after,
.rn-profile-hero::after,
.rn-alert-summary::after {
  content: none;
}

.rn-hero-card > *,
.rn-profile-hero > *,
.rn-alert-summary > * {
  position: relative;
  z-index: 1;
}

.rn-stay-ribbon,
.rn-meta-cell.inverted strong {
  color: var(--rn-accent, #775a19);
}

.rn-card,
.rn-feature-card,
.rn-option-card,
.rn-metric-card,
.rn-alert-card,
.rn-filter,
.rn-search-bar {
  background: var(--rn-surface, #fffaf0);
}

.rn-card,
.rn-feature-card,
.rn-option-card,
.rn-metric-card,
.rn-map,
.rn-quick-action,
.rn-action-button {
  box-shadow: var(--rn-shadow, 0 14px 32px rgba(20, 32, 39, 0.14));
}

.rn-feature-card,
.rn-option-card,
.rn-map,
.rn-alert-card {
  border-radius: var(--rn-card-radius, 18px);
}

.rn-card-title,
.rn-card strong,
.rn-metric-card strong {
  color: var(--rn-navy, #071656);
}

.rn-option-card {
  width: 284px;
  flex: 0 0 284px;
  min-height: 244px;
}

.rn-option-card.variant-image-featured,
.rn-option-card.style-large-image {
  width: 292px;
  flex-basis: 292px;
}

.rn-option-card.variant-image-featured .rn-option-media,
.rn-option-card.style-large-image .rn-option-media {
  height: 132px;
  background-size: cover;
  background-position: center;
}

.rn-option-arrow,
.rn-secondary-action,
.rn-profile-icon,
.rn-alert-icon {
  border-color: var(--rn-primary, #045ff4);
  color: var(--rn-primary, #045ff4);
}

.rn-quick-action,
.rn-action-button,
.rn-marker {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--rn-primary, #045ff4), #fff 8%), var(--rn-primary, #045ff4));
}

.rn-quick-action {
  position: relative;
  overflow: hidden;
  align-content: space-between;
  background: var(--rn-surface, #fffaf0);
  border: 1px solid var(--rn-line, #ded5bf);
  color: var(--rn-ink, #08133f);
}

.rn-quick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rn-quick-action {
  width: 47%;
  min-height: 96px;
  justify-content: space-between;
}

.rn-quick-action::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rn-highlight, #bff7f3), transparent 30%);
}

.rn-quick-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rn-highlight, #bff7f3);
  color: var(--rn-navy, #071656);
  font-size: 13px;
  font-weight: 900;
}

.rn-quick-action strong,
.rn-quick-action span {
  position: relative;
  z-index: 1;
}

.rn-quick-action strong {
  color: var(--rn-ink, #08133f);
}

.rn-quick-action > span:not(.rn-quick-icon) {
  color: var(--rn-muted, #6e6a60);
}

.rn-category-tab.active,
.rn-timeline-time {
  color: var(--rn-primary, #045ff4);
}

.rn-filter.active {
  border-color: var(--rn-navy, #071656);
  background: var(--rn-navy, #071656);
}

.rn-warning {
  background: var(--rn-danger-soft, #f4ded9);
  color: var(--rn-danger, #8f3f3f);
}

.manifest-output {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.manifest-block,
.diff-item,
.review-gate {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfdfc;
}

.component-card {
  display: grid;
  gap: 12px;
}

.component-controls,
.prop-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prop-field {
  display: grid;
  gap: 4px;
  min-width: 150px;
}

.prop-field span,
.prop-field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.prop-field input,
.prop-field textarea,
.prop-field select,
.component-type {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: var(--ink);
}

.prop-field textarea {
  min-height: 74px;
  padding: 10px;
  resize: vertical;
  width: 100%;
}

.manifest-block div,
.diff-item div,
.review-gate div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.manifest-block .data-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.manifest-block .data-field {
  min-width: 0;
}

.manifest-block .data-field-wide,
.manifest-block .raw-data-field {
  grid-column: 1 / -1;
}

.manifest-block span,
.diff-item span,
.review-gate span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.manifest-block .prop-field span {
  color: var(--muted);
}

.manifest-block p,
.diff-item p,
.review-gate p {
  margin: 8px 0 0;
  color: var(--muted);
}

.diff-list,
.review-gates,
.generated-list,
.activity-list {
  display: grid;
  gap: 8px;
}

.generated-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfdfc;
  display: grid;
  gap: 6px;
}

.activity-panel {
  align-self: start;
}

.activity-list {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.activity-item {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fbfdfc;
  padding: 10px 12px;
}

.activity-item.success {
  border-left-color: #16a34a;
}

.activity-item.error {
  border-left-color: var(--rose);
  background: #fff8f8;
}

.activity-item div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.activity-item strong {
  color: var(--ink);
}

.activity-item span {
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
}

.activity-item p {
  color: var(--muted);
  line-height: 1.45;
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}

.generated-item code {
  color: var(--accent-strong);
  overflow-wrap: anywhere;
}

.review-hero {
  border: 1px solid #bae6fd;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #ecfeff 100%);
  padding: 18px;
  display: grid;
  gap: 16px;
}

.review-hero h3 {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
}

.review-hero p {
  color: var(--muted);
  line-height: 1.55;
  margin: 8px 0 0;
}

.review-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

.readiness-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  display: grid;
  gap: 4px;
}

.readiness-card strong {
  color: var(--accent-strong);
  font-size: 24px;
  line-height: 1;
}

.readiness-card span {
  color: var(--ink);
  font-weight: 800;
}

.readiness-card small {
  color: var(--muted);
}

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

.review-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.review-group-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.review-group h3 {
  font-size: 16px;
  margin: 0;
}

.review-row {
  border: 1px solid #e5f3f6;
  border-radius: 8px;
  background: #f8fdff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.review-row strong {
  display: block;
  color: var(--ink);
}

.review-row p,
.review-empty {
  color: var(--muted);
  line-height: 1.45;
  margin: 4px 0 0;
}

.review-row span {
  align-self: flex-start;
  border-radius: 999px;
  background: var(--orange-soft);
  color: #9a3412;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 8px;
  white-space: nowrap;
}

.review-warning {
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
  padding: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
  }

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

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

  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .readiness-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .builder,
  .sidebar {
    padding: 16px;
  }

  .topbar,
  .prompt-heading,
  .panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .actions,
  .prompt-actions {
    width: 100%;
  }

  .primary-button,
  .secondary-button {
    flex: 1;
  }
}
