.hotel-points-page {
  --hp-ink: #18352d;
  --hp-muted: #5e6d67;
  --hp-line: #d8ddce;
  --hp-paper: #fffdf7;
  --hp-accent: #d85e41;
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 82px) 0 96px;
  color: var(--hp-ink);
}
.hotel-points-page * { box-sizing: border-box; }
.hotel-points-page [hidden] { display: none !important; }
.hotel-points-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: clamp(28px, 7vw, 88px); align-items: end; padding-bottom: clamp(42px, 7vw, 78px); border-bottom: 1px solid var(--hp-line); }
.hotel-points-hero h1 { max-width: 13ch; margin: 0 0 20px; font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1.08; letter-spacing: -.03em; }
.hotel-points-hero > div > p { max-width: 64ch; color: var(--hp-muted); font-size: 1.08rem; line-height: 1.75; }
.hotel-points-guide-link { display: inline-flex; gap: 18px; align-items: center; margin-top: 22px; padding-bottom: 5px; border-bottom: 2px solid var(--hp-accent); font-weight: 800; }
.hotel-points-hero aside { padding: 24px 0 4px 24px; border-left: 1px solid var(--hp-line); }
.hotel-points-hero aside h2 { margin: 0; font-size: 1rem; }
.hotel-points-hero aside ol { margin: 15px 0 0; padding-left: 1.2em; color: var(--hp-muted); line-height: 1.65; }
.hotel-points-calculator, .hotel-points-promotions { padding: clamp(58px, 8vw, 100px) 0; }
.hotel-points-calculator > header, .hotel-points-promotions > header { display: grid; grid-template-columns: minmax(170px, .42fr) minmax(0, 1.58fr); column-gap: clamp(24px, 5vw, 70px); margin-bottom: 34px; border-top: 1px solid var(--hp-ink); padding-top: 18px; }
.hotel-points-calculator h2, .hotel-points-promotions h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.04em; }
.hotel-points-calculator > header p, .hotel-points-promotions > header p { max-width: 68ch; margin-top: 0; color: var(--hp-muted); line-height: 1.7; }
.hotel-points-calculator form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding: clamp(24px, 4vw, 48px); background: var(--hp-ink); color: white; }
.hotel-points-calculator label, .ratio-fields { display: grid; gap: 8px; min-width: 0; }
.hotel-points-calculator label span, .ratio-fields legend { font-size: .8rem; font-weight: 800; letter-spacing: .025em; }
.hotel-points-calculator label small, .ratio-fields small { color: #cdd8d3; font-weight: 500; }
.hotel-points-calculator input, .hotel-points-calculator select { width: 100%; min-height: 48px; border: 1px solid #6a7d76; border-radius: 0; padding: 9px 12px; background: #fffef9; color: #172e27; font: inherit; }
.hotel-points-calculator input:focus-visible, .hotel-points-calculator select:focus-visible { outline: 3px solid #f29a78; outline-offset: 2px; }
.hotel-points-calculator .wide { grid-column: 1 / -1; }
.ratio-fields { grid-template-columns: 1fr auto 1fr; align-items: end; margin: 0; border: 0; padding: 0; }
.ratio-fields legend { grid-column: 1 / -1; margin-bottom: 8px; }
.ratio-fields b { padding-bottom: 14px; }
.hotel-points-calculator button[type="submit"] { grid-column: 1 / -1; min-height: 52px; margin-top: 10px; border: 0; background: var(--hp-accent); color: white; font: inherit; font-weight: 850; cursor: pointer; }
.calculator-result { margin-left: clamp(0px, 6vw, 90px); padding: 30px clamp(22px, 5vw, 56px); border: 1px solid var(--hp-line); border-top: 0; background: var(--hp-paper); }
.calculator-result h3 { margin-top: 0; }
.calculator-result dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hp-line); }
.calculator-result dl div { padding: 18px; background: white; }
.calculator-result dt { color: var(--hp-muted); font-size: .75rem; text-transform: uppercase; }
.calculator-result dd { margin: 4px 0 0; font-size: 1.45rem; font-weight: 850; }
.result-error { color: #9d2f24; font-weight: 750; }
.hotel-points-promotions { border-top: 1px solid var(--hp-line); }
.source-health { margin-bottom: 22px; border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); padding: 20px 0; }
.source-health h3 { margin: 0 0 12px; font-size: 1rem; }
.source-health ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.source-health li { display: grid; gap: 4px; border-left: 3px solid #87968e; padding-left: 12px; }
.source-health li[data-health="ok"] { border-color: #317258; }
.source-health li[data-health="degraded"] { border-color: var(--hp-accent); }
.source-health li span, .source-health li small { color: var(--hp-muted); font-size: .78rem; }
.inbox-controls { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(220px, auto) auto; gap: 24px; align-items: end; margin-bottom: 22px; padding: 22px; background: #eef1e7; }
.inbox-controls h3 { margin: 0 0 10px; }
.inbox-controls p { max-width: 70ch; margin: 8px 0 0; color: var(--hp-muted); font-size: .86rem; }
.inbox-sync-status { min-height: 1.4em; margin: -10px 0 18px; color: var(--hp-muted); font-size: .86rem; }
.interest-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.interest-filters label { display: grid; gap: 4px; color: var(--hp-muted); font-size: .76rem; font-weight: 750; }
.interest-filters select { min-height: 40px; border: 1px solid var(--hp-ink); border-radius: 0; padding: 0 30px 0 9px; background: white; color: var(--hp-ink); font: inherit; }
.inbox-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.inbox-filters button, .promotion-actions button { min-height: 40px; border: 1px solid var(--hp-ink); padding: 0 14px; background: transparent; color: var(--hp-ink); font: inherit; font-weight: 750; cursor: pointer; }
.inbox-filters button[aria-pressed="true"] { background: var(--hp-ink); color: white; }
.promotion-list { border-top: 1px solid var(--hp-ink); }
.promotion-item { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr) auto; gap: 26px; align-items: center; padding: 28px 4px; border-bottom: 1px solid var(--hp-line); }
.promotion-item.is-unread::before { position: absolute; top: 32px; left: -15px; width: 8px; height: 8px; border-radius: 50%; background: var(--hp-accent); content: ""; }
.promotion-item > div:first-child > p { margin: 0 0 7px; color: var(--hp-muted); font-size: .78rem; font-weight: 750; text-transform: uppercase; }
.promotion-item h3 { margin: 0; font-size: 1.3rem; }
.promotion-scope { grid-column: 1; align-self: start; }
.promotion-scope p { margin: 8px 0 0; color: var(--hp-muted); font-size: .82rem; line-height: 1.45; }
.promotion-item > dl { grid-column: 2; grid-row: 1 / span 2; }
.promotion-item dl { margin: 0; }
.promotion-item dl div { display: grid; grid-template-columns: minmax(90px, .38fr) minmax(0, 1fr); gap: 12px; margin-bottom: 5px; }
.promotion-item dt { min-width: 55px; color: var(--hp-muted); font-size: .78rem; }
.promotion-item dd { margin: 0; font-size: .86rem; }
.promotion-actions { display: grid; gap: 7px; }
.promotion-actions a { padding-bottom: 4px; border-bottom: 1px solid var(--hp-accent); font-weight: 800; text-align: center; }
.promotion-empty { padding: 48px 20px; color: var(--hp-muted); text-align: center; }
.hotel-points-back { margin-bottom: 34px; }
.hotel-points-guide { width: min(100%, 780px); margin: 0 auto; font-size: 1.02rem; line-height: 1.82; }
.hotel-points-guide figure { margin: 34px 0; }
.hotel-points-guide figure img { display: block; width: 100%; height: auto; }
.hotel-points-guide figcaption { margin-top: 9px; color: var(--hp-muted); font-size: .82rem; }
.hotel-points-guide h1 { margin: 0 0 30px; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.05; }
.hotel-points-guide h2 { margin: 2.2em 0 .65em; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.2; }
.hotel-points-guide nav { margin: 34px 0; padding: 22px; border: 1px solid var(--hp-line); }
.hotel-points-guide a { text-decoration: underline; text-decoration-color: var(--hp-accent); text-underline-offset: 3px; }
.hotel-points-guide .table-scroll { max-width: 100%; overflow-x: auto; }
.hotel-points-guide table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .92rem; }
.hotel-points-guide th, .hotel-points-guide td { padding: 13px; border: 1px solid var(--hp-line); text-align: left; vertical-align: top; }
.hotel-points-guide th { background: #eef1e7; }
@media (max-width: 760px) {
  .hotel-points-page { width: min(calc(100% - 28px), 1180px); padding-top: 28px; }
  .hotel-points-hero, .hotel-points-calculator > header, .hotel-points-promotions > header { grid-template-columns: 1fr; }
  .hotel-points-hero aside { border-top: 1px solid var(--hp-ink); border-left: 0; padding: 20px 0 0; }
  .hotel-points-calculator form { grid-template-columns: 1fr; padding: 22px 16px; }
  .hotel-points-calculator .wide, .hotel-points-calculator button[type="submit"] { grid-column: auto; }
  .calculator-result { margin-left: 0; }
  .calculator-result dl { grid-template-columns: 1fr; }
  .source-health ul, .inbox-controls, .promotion-item { grid-template-columns: 1fr; }
  .promotion-scope, .promotion-item > dl { grid-column: auto; grid-row: auto; }
  .interest-filters { grid-template-columns: 1fr; }
  .inbox-filters { align-self: stretch; }
  .inbox-filters button { flex: 1; }
  .promotion-actions { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .hotel-points-page * { scroll-behavior: auto !important; } }
