/* HawaiiGuide Today - /today daily companion.
   Scoped under .hg-today-app. px font sizes per site rules
   (html{font-size:62.5%} makes rem values render tiny). Mobile-first. */

.hg-today-app {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 8px 38px;
  color: #2d342f;
}

/* Hero */
.hg-today-hero {
  margin-bottom: 16px;
  padding: 18px;
  color: #24302b;
  background: linear-gradient(180deg, #fbfcf8 0%, #f4f7f1 100%);
  border: 1px solid #dfe7dd;
  border-top: 4px solid var(--hgt-accent, #1a6b4a);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(25, 45, 34, 0.08);
}
.hgt-hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.hgt-hero-copy { min-width: 0; }
.hg-today-hero .hgt-kicker {
  margin: 0 0 5px;
  color: var(--hgt-accent-dark, #146b50);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hg-today-hero h1 {
  margin: 0 0 6px;
  color: #1f2a24;
  font-size: 31px;
  line-height: 1.12;
}
.hg-today-hero .hgt-sub {
  margin: 0;
  color: #5f6b63;
  font-size: 16px;
  line-height: 1.4;
}
.hgt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.hgt-hero-meter {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 126px;
  min-height: 116px;
  padding: 14px;
  color: #354039;
  background: #fff;
  border: 1px solid #e1e7e2;
  border-top: 4px solid var(--hgt-accent, #1a6b4a);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(30, 45, 35, 0.07);
}
.hgt-hero-meter .hgt-meter-label,
.hgt-hero-meter .hgt-meter-caption {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #68736c;
}
.hgt-hero-meter strong {
  display: block;
  margin: 2px 0;
  color: var(--hgt-accent, #1a6b4a);
  font-size: 42px;
  line-height: 1;
}
.hgt-hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}
.hgt-hero-stat {
  min-width: 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #e2e9df;
  border-radius: 8px;
}
.hgt-hero-stat span {
  display: block;
  color: #6c776f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.hgt-hero-stat strong {
  display: block;
  margin-top: 2px;
  color: #27342d;
  font-size: 15px;
  line-height: 1.25;
}
.hg-today-hero .hgt-progress {
  margin-top: 14px;
  height: 7px;
  overflow: hidden;
  background: #dfe7dd;
  border-radius: 999px;
}
.hg-today-hero .hgt-progress span {
  display: block;
  height: 100%;
  background: var(--hgt-accent, #1a6b4a);
  border-radius: 999px;
}

@media (min-width: 700px) {
  .hgt-hero-body { grid-template-columns: minmax(0, 1fr) auto; }
  .hgt-hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Island switcher pills */
.hgt-island-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.hgt-island-pills button {
  min-height: 36px;
  padding: 7px 14px;
  color: #3f4943;
  background: #fff;
  border: 1px solid #ccd7cf;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.hgt-island-pills button.active {
  color: #fff;
  background: var(--hgt-accent, #1a6b4a);
  border-color: var(--hgt-accent, #1a6b4a);
}

/* Cards */
.hgt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}
@media (min-width: 820px) {
  .hgt-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hgt-card-wide { grid-column: 1 / -1; }
}
.hgt-card {
  box-sizing: border-box;
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #e0e6e1;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(30, 45, 35, 0.06);
}
.hgt-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #2f3732;
  font-size: 19px;
  line-height: 1.2;
}
.hgt-card h2 i {
  color: var(--hgt-accent, #1a6b4a);
  font-size: 16px;
}
.hgt-card h3 {
  margin: 2px 0 8px;
  color: #2f3732;
  font-size: 18px;
  line-height: 1.25;
}
.hgt-card-kicker {
  margin: -4px 0 4px;
  color: var(--hgt-accent-dark, #146b50);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.hgt-muted {
  margin: 0;
  color: #68736c;
  font-size: 14px;
  line-height: 1.5;
}

/* Prep checklist */
.hgt-prep-card {
  background: linear-gradient(180deg, #fff 0%, #f9fbf8 100%);
}
.hgt-prep-progress {
  margin: 16px 0 12px;
}
.hgt-prep-progress strong {
  display: block;
  margin: 0 0 7px;
  color: #354039;
  font-size: 14px;
}
.hgt-prep-track {
  height: 8px;
  overflow: hidden;
  background: #e7eee8;
  border-radius: 999px;
}
.hgt-prep-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--hgt-accent, #1a6b4a);
  border-radius: 999px;
  transition: width 0.2s ease;
}
.hgt-prep-list {
  display: grid;
  gap: 8px;
}
.hgt-prep-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e4eae5;
  border-radius: 8px;
}
.hgt-prep-item input {
  width: 20px;
  height: 20px;
  accent-color: var(--hgt-accent, #1a6b4a);
}
.hgt-prep-copy {
  min-width: 0;
  cursor: pointer;
}
.hgt-prep-copy strong {
  display: block;
  color: #2d342f;
  font-size: 15px;
  line-height: 1.25;
}
.hgt-prep-copy span {
  display: block;
  margin-top: 2px;
  color: #69746d;
  font-size: 13px;
  line-height: 1.35;
}
.hgt-prep-action {
  white-space: nowrap;
  color: var(--hgt-accent-dark, #146b50) !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.hgt-prep-action:hover { text-decoration: underline; }

/* Plan */
.hgt-period { margin: 0 0 12px; }
.hgt-period:last-child { margin-bottom: 0; }
.hgt-period-label {
  margin: 0 0 5px;
  color: #6d7770;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hgt-plan-item {
  display: block;
  margin: 0 0 7px;
  padding: 9px 12px;
  color: #303832;
  background: #f6f8f4;
  border-left: 4px solid var(--hgt-accent, #1a6b4a);
  border-radius: 0 8px 8px 0;
  font-size: 16px;
  text-decoration: none;
}
a.hgt-plan-item:hover { background: #eef4ef; }
.hgt-plan-item .hgt-dining-tag {
  margin-right: 6px;
  color: #95651f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Conditions */
.hgt-cond-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}
.hgt-cond-tile {
  min-width: 0;
  min-height: 86px;
  padding: 11px;
  background: #f8faf7;
  border: 1px solid #e3e9e4;
  border-radius: 8px;
}
.hgt-cond-tile-top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.hgt-cond-tile-top i {
  color: var(--hgt-accent, #1a6b4a);
  font-size: 14px;
}
.hgt-cond-label {
  color: #69746d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hgt-cond-value {
  display: block;
  margin-top: 9px;
  color: #26312b;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}
.hgt-cond-value.hgt-green { color: #1a6b4a; }
.hgt-cond-value.hgt-amber { color: #9b6516; }
.hgt-cond-value.hgt-red { color: #b3261e; }

@media (min-width: 380px) {
  .hgt-cond-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Legacy condition rows, retained for compatibility with any future reuse. */
.hgt-cond-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
  padding: 9px 0;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
}
.hgt-cond-row:last-child { border-bottom: none; }
.hgt-cond-row .hgt-cond-label {
  flex: 0 0 auto;
  color: #777;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.hgt-cond-row .hgt-cond-value {
  margin-top: 0;
  text-align: right;
}

/* Events */
.hgt-event {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #edf1ed;
  text-decoration: none;
}
.hgt-event:last-child { border-bottom: none; }
.hgt-event .hgt-event-name {
  margin: 0;
  color: #303832;
  font-size: 16px;
  font-weight: 800;
}
.hgt-event .hgt-event-meta {
  margin: 3px 0 0;
  color: #6d7770;
  font-size: 13px;
}
.hgt-events-empty {
  padding: 12px;
  background: #f8faf7;
  border: 1px dashed #cfd9d1;
  border-radius: 8px;
}
.hgt-events-empty strong {
  display: block;
  margin-bottom: 4px;
  color: #354039;
  font-size: 15px;
}

/* Alert strip */
.hgt-alert {
  display: block;
  margin: 0 0 16px;
  padding: 12px 16px;
  color: #7c2d12;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid #ea580c;
  border-radius: 8px;
  font-size: 15px;
  text-decoration: none;
}
.hgt-alert strong {
  display: block;
  font-size: 16px;
}

/* Briefing / audio */
.hgt-briefing audio {
  width: 100%;
  margin-top: 12px;
}

/* Buttons */
.hgt-btn,
.hgt-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.hgt-btn {
  color: #fff !important;
  background: var(--hgt-accent, #1a6b4a);
  border: 1px solid var(--hgt-accent, #1a6b4a);
}
.hgt-btn-outline {
  color: var(--hgt-accent-dark, #146b50) !important;
  background: #fff;
  border: 1px solid var(--hgt-accent, #1a6b4a);
}
.hgt-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* Empty / setup state */
.hgt-setup-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hgt-setup-list li {
  padding: 12px 0;
  border-bottom: 1px solid #edf1ed;
  font-size: 16px;
}
.hgt-setup-list li:last-child { border-bottom: none; }
.hgt-setup-list .hgt-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  color: #fff;
  background: var(--hgt-accent, #1a6b4a);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 520px) {
  .hg-today-app { padding: 0 6px 32px; }
  .hg-today-hero { padding: 16px; }
  .hg-today-hero h1 { font-size: 26px; }
  .hgt-hero-meter {
    min-width: 112px;
    min-height: 94px;
  }
  .hgt-hero-meter strong { font-size: 35px; }
  .hgt-prep-item {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .hgt-prep-action {
    grid-column: 2;
    justify-self: start;
  }
}

/* Scenic visual layer. Keeps the utility-first component states above intact. */
.hg-today-app {
  max-width: none;
  padding: 0 0 34px;
  --hgt-paper: #fffdf8;
  --hgt-ink: #24312f;
  --hgt-muted: #66706d;
  --hgt-line: #e7e0d3;
  --hgt-soft: #f7f1e6;
  --hgt-hero-image: url("/files/images/hawaiian-islands-hawaiiguide-2025.jpg");
}
.hgt-content {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 8px;
  box-sizing: border-box;
}

/* The hero is injected client-side. Target it directly on this page so its
   shell-edge treatment does not depend on the runtime wrapper ancestry. */
body.hg-site-shell--app .hg-today-hero {
  width: auto;
  margin:
    calc(var(--hg-shell-edge) - var(--hg-shell-content-pad) - 10px)
    calc(var(--hg-shell-edge) - var(--hg-shell-content-pad))
    0 !important;
  border-radius:
    calc(var(--hg-shell-radius) - var(--hg-shell-edge))
    calc(var(--hg-shell-radius) - var(--hg-shell-edge))
    0 0 !important;
  clip-path: inset(
    0 round
    calc(var(--hg-shell-radius) - var(--hg-shell-edge))
    calc(var(--hg-shell-radius) - var(--hg-shell-edge))
    0 0
  ) !important;
}

body.hg-site-shell--app .hg-today-app > .hg-site-shell-hero-wave {
  position: relative;
  z-index: 3;
  width: auto;
  margin:
    -32px
    calc(var(--hg-shell-edge) - var(--hg-shell-content-pad))
    22px;
  color: var(--hg-shell-hero-surface, #fffdf9);
  line-height: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  body.hg-site-shell--app .hg-today-app > .hg-site-shell-hero-wave {
    margin-top: -24px !important;
  }
}

.hg-today-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 78px max(24px, calc((100% - 1040px) / 2 + 24px)) 34px;
  box-sizing: border-box;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(4, 24, 29, 0.9) 0%, rgba(8, 38, 44, 0.7) 52%, rgba(8, 38, 44, 0.3) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.5) 100%),
    var(--hgt-hero-image);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 22px 50px rgba(22, 38, 42, 0.24);
}
.hgt-hero-back {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  color: #fff !important;
  background: rgba(6, 31, 35, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}
.hgt-hero-back:hover {
  color: #fff;
  background: rgba(6, 31, 35, 0.82);
  transform: translateY(-1px);
}
.hg-today-hero::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 0;
  left: 24px;
  height: 4px;
  background: linear-gradient(90deg, #f5c75e, #fb8756 36%, var(--hgt-accent, #1a6b4a) 72%, rgba(255, 255, 255, 0));
  border-radius: 999px 999px 0 0;
}
.hgt-hero-body,
.hgt-hero-stats,
.hg-today-hero .hgt-progress {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}
.hg-today-hero .hgt-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(8px);
}
.hg-today-hero h1 {
  max-width: 680px;
  margin-bottom: 8px;
  color: #fff;
  font-size: 38px;
  line-height: 1.08;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}
.hg-today-hero .hgt-sub {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}
.hgt-hero-meter {
  color: #fff;
  background: rgba(8, 35, 39, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-top: 4px solid #f5c75e;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}
.hgt-hero-meter .hgt-meter-label,
.hgt-hero-meter .hgt-meter-caption {
  color: rgba(255, 255, 255, 0.82);
}
.hgt-hero-meter strong { color: #ffe18c; }
.hgt-hero-stat {
  background: rgba(8, 35, 39, 0.62);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(7px);
}
.hgt-hero-stat span { color: rgba(255, 255, 255, 0.72); }
.hgt-hero-stat strong { color: #fff; }
.hg-today-hero .hgt-progress {
  height: 9px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.18);
}
.hg-today-hero .hgt-progress span {
  background: linear-gradient(90deg, #fff4b8, #f9c74f 48%, #fb8f5a);
  box-shadow: 0 0 18px rgba(255, 244, 184, 0.56);
}

.hgt-island-pills {
  gap: 0;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--hgt-line);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(42, 58, 54, 0.08);
}
.hgt-island-pills button {
  flex: 1 1 auto;
  min-width: 92px;
  color: #46524f;
  background: transparent;
  border-color: transparent;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.hgt-island-pills button:hover {
  color: var(--hgt-ink);
  background: var(--hgt-soft);
}
.hgt-island-pills button.active {
  box-shadow: 0 8px 18px rgba(25, 49, 44, 0.18);
}

.hgt-grid { gap: 18px; }
.hgt-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: linear-gradient(180deg, #fff 0%, var(--hgt-paper) 100%);
  border-color: var(--hgt-line);
  box-shadow: 0 14px 34px rgba(45, 55, 51, 0.08);
}
.hgt-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hgt-accent, #1a6b4a), rgba(245, 199, 94, 0.86));
}
.hgt-card h2 { color: var(--hgt-ink); }
.hgt-prep-card { background: linear-gradient(180deg, #fff 0%, #f8fbf7 100%); }
.hgt-prep-track span {
  background: linear-gradient(90deg, var(--hgt-accent, #1a6b4a), #f5c75e);
}
.hgt-prep-item,
.hgt-cond-tile {
  border-color: #ece5d9;
  box-shadow: 0 7px 18px rgba(55, 63, 58, 0.05);
}

.hgt-period {
  position: relative;
  margin-bottom: 14px;
  padding-left: 18px;
}
.hgt-period::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: -8px;
  left: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--hgt-accent, #1a6b4a), rgba(245, 199, 94, 0.24));
}
.hgt-period-label {
  position: relative;
  margin-bottom: 8px;
  color: var(--hgt-accent-dark, #114a33);
  font-size: 13px;
}
.hgt-period-label::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -18px;
  width: 10px;
  height: 10px;
  background: var(--hgt-accent, #1a6b4a);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(26, 107, 74, 0.14);
}
.hgt-plan-item {
  margin-bottom: 8px;
  padding: 11px 13px;
  color: var(--hgt-ink);
  background: #fff;
  border: 1px solid #ece5d9;
  border-left: 4px solid var(--hgt-accent, #1a6b4a);
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(55, 63, 58, 0.06);
}
a.hgt-plan-item:hover {
  background: #fffaf0;
  border-color: rgba(26, 107, 74, 0.32);
  transform: translateY(-1px);
}
.hgt-cond-tile { background: #fff; }
.hgt-event:hover .hgt-event-name { color: var(--hgt-accent-dark, #114a33); }
.hgt-alert {
  margin-bottom: 18px;
  background: linear-gradient(90deg, #fff7ed, #fffaf4);
  box-shadow: 0 10px 24px rgba(124, 45, 18, 0.09);
}

.hgt-briefing {
  min-height: 208px;
  padding-right: 176px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 253, 248, 0.96));
}
.hgt-briefing::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 126px;
  aspect-ratio: 1;
  background: url("/files/images/aloha-today-cover.jpg") center / cover;
  border-radius: 8px;
  box-shadow: 0 18px 30px rgba(16, 40, 52, 0.24);
  transform: translateY(-50%) rotate(2deg);
}
.hgt-briefing audio {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}
.hgt-btn { box-shadow: 0 10px 20px rgba(26, 107, 74, 0.18); }
.hgt-btn:hover,
.hgt-btn-outline:hover { transform: translateY(-1px); }

@media (max-width: 620px) {
  .hgt-content { padding-right: 3px; padding-left: 3px; }
  .hg-today-hero {
    min-height: 420px;
    padding: 70px 18px 28px;
    background-position: center;
  }
  .hgt-hero-back {
    top: 16px;
    left: 16px;
  }
  .hg-today-hero h1 { font-size: 31px; line-height: 1.1; }
  .hgt-hero-body { gap: 14px; }
  .hgt-hero-meter {
    width: 100%;
    min-height: 82px;
    box-sizing: border-box;
  }
  .hgt-briefing {
    padding-right: 20px;
    padding-bottom: 160px;
  }
  .hgt-briefing::after {
    top: auto;
    right: auto;
    bottom: 20px;
    left: 20px;
    transform: none;
  }
}

/* ── Your flight card (structured idents from Trip Details) ── */
.hgt-flight-box { margin: 4px 0 0; }
.hgt-flight-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(20, 48, 74, 0.12);
  font-size: 14px;
}
.hgt-flight-row span { color: #5b6b7b; }
.hgt-flight-row strong { color: #14304a; text-align: right; }

/* Truth-pass additions: stale-flight provenance + plan-scope note */
.hgt-flight-stale {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #92500a;
  background: #fef3c7;
  border-radius: 8px;
  padding: 7px 10px;
}
.hgt-plan-scope-note {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #5b6b7b;
  font-style: italic;
}

/* ── Welcome-home mode ── */
.hgt-post-card {
  padding: clamp(22px, 4vw, 38px);
  background:
    radial-gradient(circle at top right, rgba(245, 199, 94, 0.2), transparent 35%),
    linear-gradient(180deg, #fff 0%, #f7fbf8 100%);
}
.hgt-post-lede {
  max-width: 760px;
  margin: 4px 0 16px;
  color: #334943;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}
.hgt-post-note {
  max-width: 760px;
  margin: 0 0 18px;
  padding: 12px 14px;
  color: #425750;
  background: rgba(26, 107, 74, 0.07);
  border-left: 4px solid var(--hgt-accent, #1a6b4a);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.55;
}
.hgt-post-continue {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--hgt-line);
}
.hgt-post-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.hgt-post-link {
  display: inline-flex;
  align-items: center;
  color: var(--hgt-accent-dark, #114a33);
  font-weight: 700;
  text-decoration: none;
}
.hgt-post-link::after {
  content: "→";
  margin-left: 6px;
}
.hgt-post-link:hover { text-decoration: underline; }

@media (max-width: 420px) {
  .hgt-post-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hgt-post-actions .hgt-btn,
  .hgt-post-actions .hgt-btn-outline {
    box-sizing: border-box;
    justify-content: center;
    width: 100%;
  }
}
