html[data-awaya-theme="forest-sage"] body.awaya-ui {
  margin: 0;
  color: var(--awaya-color-ink);
  background: var(--awaya-color-paper);
  font: var(--awaya-font-body-weight) var(--awaya-font-body-size) / var(--awaya-font-body-leading) var(--awaya-font-family);
  font-synthesis: none;
  caret-color: var(--awaya-color-primary);
  scrollbar-color: var(--awaya-color-muted) var(--awaya-color-paper);
}

html[data-awaya-theme="forest-sage"] body.awaya-ui *,
html[data-awaya-theme="forest-sage"] body.awaya-ui *::before,
html[data-awaya-theme="forest-sage"] body.awaya-ui *::after { box-sizing: border-box; }

html[data-awaya-theme="forest-sage"] body.awaya-ui ::selection { color: var(--awaya-color-ink); background: var(--awaya-color-soft); }
html[data-awaya-theme="forest-sage"] body.awaya-ui :where(button, input, select, textarea) { font: inherit; }
html[data-awaya-theme="forest-sage"] body.awaya-ui :where(button, summary) { touch-action: manipulation; }
html[data-awaya-theme="forest-sage"] body.awaya-ui :where(a, button) { -webkit-tap-highlight-color: transparent; }
html[data-awaya-theme="forest-sage"] body.awaya-ui a { color: var(--awaya-color-primary); text-underline-offset: 4px; }
html[data-awaya-theme="forest-sage"] body.awaya-ui :where(a, button, input, select, textarea, summary):focus-visible {
  outline: var(--awaya-focus-width) solid var(--awaya-color-primary);
  outline-offset: var(--awaya-focus-offset);
}
html[data-awaya-theme="forest-sage"] body.awaya-ui :where(h1, h2, h3) {
  margin: 0;
  font-weight: var(--awaya-font-heading-weight);
  letter-spacing: var(--awaya-font-heading-tracking);
  text-wrap: balance;
}
html[data-awaya-theme="forest-sage"] body.awaya-ui h1 { font-size: var(--awaya-font-h1-size); line-height: var(--awaya-font-h1-leading); }
html[data-awaya-theme="forest-sage"] body.awaya-ui h2 { font-size: var(--awaya-font-h2-size); line-height: var(--awaya-font-h2-leading); }
html[data-awaya-theme="forest-sage"] body.awaya-ui h3 { font-size: var(--awaya-font-h3-size); line-height: var(--awaya-font-h3-leading); }
html[data-awaya-theme="forest-sage"] body.awaya-ui p { margin: 0 0 var(--awaya-space-16); }
html[data-awaya-theme="forest-sage"] body.awaya-ui img { display: block; max-width: 100%; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-muted { color: var(--awaya-color-muted); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-caption { color: var(--awaya-color-muted); font-size: var(--awaya-font-caption-size); line-height: var(--awaya-font-caption-leading); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-stack { display: grid; gap: var(--awaya-space-20); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--awaya-space-12); }

html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--awaya-space-12);
  min-height: var(--awaya-action-min-height);
  max-width: 100%;
  padding: var(--awaya-action-padding);
  border: 1px solid var(--awaya-color-primary);
  border-radius: var(--awaya-radius-pill);
  background: var(--awaya-color-primary);
  color: var(--awaya-color-surface);
  font-size: var(--awaya-font-control-size);
  font-weight: var(--awaya-font-control-weight);
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--awaya-action-transition), box-shadow var(--awaya-action-transition);
}
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-button:hover:not(:disabled) { box-shadow: var(--awaya-action-hover-shadow); filter: brightness(.94); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-button:active:not(:disabled) { transform: translateY(1px); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-button:disabled { opacity: var(--awaya-disabled-opacity); cursor: not-allowed; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-button--secondary { background: transparent; color: var(--awaya-color-primary); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-button--secondary:hover:not(:disabled) { background: var(--awaya-color-soft); filter: none; box-shadow: none; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-button--text { padding: 10px 0; border-color: transparent; border-radius: 0; background: transparent; color: var(--awaya-color-primary); font-size: var(--awaya-font-label-size); text-align: left; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-button--text:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 4px; filter: none; box-shadow: none; }

html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-panel {
  min-width: 0;
  padding: var(--awaya-space-24);
  border: 1px solid transparent;
  border-radius: var(--awaya-radius-panel);
  background: var(--awaya-color-surface);
}
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-panel[data-selected="true"] { border-color: var(--awaya-color-primary); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-panel > :last-child { margin-bottom: 0; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-selection { color: var(--awaya-color-primary); font-size: var(--awaya-font-label-size); font-weight: var(--awaya-font-control-weight); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-facts { margin: 0; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-fact-row { display: flex; justify-content: space-between; gap: var(--awaya-space-16); padding: var(--awaya-space-12) 0; border-bottom: 1px solid var(--awaya-color-line); font-size: var(--awaya-font-label-size); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-fact-row:last-child { border-bottom: 0; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-fact-row dt { color: var(--awaya-color-muted); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-fact-row dd { margin: 0; font-weight: var(--awaya-font-heading-weight); text-align: right; overflow-wrap: anywhere; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-price { font-size: var(--awaya-font-price-size); line-height: var(--awaya-font-price-leading); letter-spacing: var(--awaya-font-price-tracking); font-weight: var(--awaya-font-control-weight); font-variant-numeric: tabular-nums; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-currency-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--awaya-space-16); padding: var(--awaya-space-12) 0; border-top: 1px solid var(--awaya-color-line); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-currency-row > :last-child { text-align: right; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-time { font-variant-numeric: tabular-nums; white-space: nowrap; }

html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-disclosure { margin-top: var(--awaya-space-22); border-top: 1px solid var(--awaya-color-line); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-disclosure summary { min-height: var(--awaya-action-min-height); padding: var(--awaya-space-12) 0; color: var(--awaya-color-primary); font-size: var(--awaya-font-label-size); font-weight: var(--awaya-font-heading-weight); cursor: pointer; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-disclosure p { color: var(--awaya-color-muted); font-size: var(--awaya-font-caption-size); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-checkrow { display: flex; align-items: flex-start; gap: var(--awaya-space-12); min-height: var(--awaya-action-min-height); padding: var(--awaya-space-16) 0; border-top: 1px solid var(--awaya-color-line); cursor: pointer; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-checkrow input { width: 21px; height: 21px; flex: none; margin: 2px 0; accent-color: var(--awaya-color-primary); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-checkrow strong { display: block; font-size: var(--awaya-font-control-size); font-weight: var(--awaya-font-heading-weight); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-checkrow small { display: block; margin-top: 3px; color: var(--awaya-color-muted); font-size: var(--awaya-font-caption-size); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-checkrow:has(input:checked) strong { color: var(--awaya-color-muted); text-decoration: line-through; }

html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-airline { display: flex; align-items: center; gap: var(--awaya-space-12); min-height: 36px; font-size: var(--awaya-font-label-size); font-weight: var(--awaya-font-control-weight); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-airline-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 80px; min-height: 36px; padding: 4px; border-radius: 5px; background: var(--awaya-color-surface); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-airline-logo img { width: 72px; max-height: 25px; object-fit: contain; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-airline-logo--singapore { background: #061b39; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-airline-logo--singapore img { width: 63px; height: 25px; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-photo { margin: 0; overflow: hidden; border-radius: var(--awaya-radius-photo); background: var(--awaya-color-soft); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-photo img { width: 100%; height: auto; aspect-ratio: var(--awaya-photo-ratio); object-fit: cover; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-photo--contain img { object-fit: contain; }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-photo figcaption { padding: var(--awaya-space-12) var(--awaya-space-16); color: var(--awaya-color-muted); font-size: var(--awaya-font-caption-size); }
html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-image-state { display: grid; place-content: center; aspect-ratio: var(--awaya-photo-ratio); padding: var(--awaya-space-20); border-radius: var(--awaya-radius-photo); background: var(--awaya-color-soft); color: var(--awaya-color-muted); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html[data-awaya-theme="forest-sage"] body.awaya-ui *,
  html[data-awaya-theme="forest-sage"] body.awaya-ui *::before,
  html[data-awaya-theme="forest-sage"] body.awaya-ui *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html[data-awaya-theme="forest-sage"] body.awaya-ui .awaya-button:active:not(:disabled) { transform: none; }
}
