/* Customer web app styles, mobile-first (D123, C1b).
   Palette: pre-dawn sky and sunrise amber; one colour per report pillar.
   Font: Be Vietnam Pro (SIL OFL 1.1, fonts/OFL.txt), self-hosted because the page loads nothing from outside. */

/* Google Sans Medium, only for the Google sign-in button (D142); OFL, files from @fontsource/google-sans 5.3.2. */
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/google-sans-vietnamese-500-normal.woff2") format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/google-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/be-vietnam-pro-vietnamese-400-normal.woff2") format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/be-vietnam-pro-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/be-vietnam-pro-vietnamese-600-normal.woff2") format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/be-vietnam-pro-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/be-vietnam-pro-vietnamese-800-normal.woff2") format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/be-vietnam-pro-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --sky: #eaf0f6;
  --paper: #ffffff;
  --ink: #16233a;
  --muted: #4f5d73;
  --line: #d4dde8;
  --sun: #e9a23b;
  --sun-ink: #16233a;
  --politics: #a23b46;
  --economy: #1e7a62;
  --tech: #2e5faa;
  --premium-tint: #fdf3e2;
  --radius-sheet: 14px;
  --radius-control: 999px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sky: #0f1726;
    --paper: #172235;
    --ink: #e6ecf4;
    --muted: #a7b3c6;
    --line: #2a3850;
    --sun: #f0b04f;
    --sun-ink: #16233a;
    --politics: #e07a84;
    --economy: #5cc3a3;
    --tech: #7fa6e8;
    --premium-tint: #2a2618;
  }
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 16px;
  z-index: 10;
  background: var(--paper);
  padding: 8px 12px;
}

h1, h2 {
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0;
}

h2 { font-size: 1.5rem; }

/* Top bar */
.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: color-mix(in srgb, var(--sky) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 30px;
  height: 30px;
  flex: none;
}

.bar-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.bar-nav a { text-decoration: none; }

.bar-nav a:not(.bar-cta) { display: none; }

.bar-cta {
  padding: 6px 14px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-control);
  font-weight: 600;
}

/* Hero */
.hero {
  display: grid;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 16px 48px;
}

.hero h1 {
  font-size: clamp(2rem, 8.5vw, 3.4rem);
  max-width: 16ch;
}

.lede {
  color: var(--muted);
  max-width: 34em;
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-control);
  background: var(--sun);
  color: var(--sun-ink);
  font-weight: 600;
  text-decoration: none;
}

.button-quiet {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

/* The sample sheet: the one bold element of the page */
.sheet {
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius-sheet);
  border-top: 6px solid var(--sun);
  box-shadow: 0 18px 40px -24px rgba(22, 35, 58, 0.45);
  padding: 20px 18px 16px;
}

.sheet-head {
  display: grid;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sheet-title {
  font-weight: 800;
  font-size: 1.15rem;
}

.sheet-parts {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.part {
  display: grid;
  gap: 2px;
  padding: 10px 0 10px 14px;
  border-left: 4px solid var(--part, var(--line));
  margin: 8px 0;
}

.part b { font-weight: 600; }

.part span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.part-summary { --part: var(--sun); }
.part-politics { --part: var(--politics); }
.part-economy { --part: var(--economy); }
.part-tech { --part: var(--tech); }
.part-action { --part: var(--ink); }

.sheet-listen {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-control);
  background: var(--sky);
}

.play {
  flex: none;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--ink);
  margin-left: 4px;
}

.wave {
  flex: 1;
  height: 18px;
  background: repeating-linear-gradient(90deg, var(--muted) 0 2px, transparent 2px 6px);
  mask: linear-gradient(180deg, transparent 0 20%, #000 20% 80%, transparent 80%);
  opacity: 0.55;
}

.listen-label {
  flex: none;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */
.morning,
.plans,
.devices,
.signup {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 16px;
  border-top: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.steps li {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 12px;
  align-items: baseline;
}

.steps time {
  font-weight: 800;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.steps p {
  margin: 0;
  color: var(--muted);
  max-width: 40em;
}

.plan-table {
  margin-top: 22px;
  font-size: 0.92rem;
  background: var(--paper);
  border-radius: 10px;
  overflow: hidden;
}

.row {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.row:last-child { border-bottom: 0; }

.row > span {
  padding: 12px 8px;
}

.row-head > span {
  font-weight: 800;
  font-size: 0.95rem;
}

.row > span[role="rowheader"] { font-weight: 600; padding-left: 14px; }

.col-premium { background: var(--premium-tint); }

.no { color: var(--muted); }

.note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40em;
  margin: 16px 0 0;
}

.devices p,
.signup p {
  color: var(--muted);
  max-width: 40em;
  margin: 14px 0 0;
}

.foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.foot p { margin: 4px 0; max-width: 48em; }

.foot-brand { font-weight: 800; color: var(--ink); }

@media (min-width: 880px) {
  .bar { padding: 12px 32px; }
  .bar-nav a:not(.bar-cta) { display: inline; }
  .hero {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 56px;
    padding: 72px 32px 80px;
  }
  .sheet { padding: 24px 26px 20px; }
  .morning, .plans, .devices, .signup { padding: 56px 32px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; gap: 6px; }
  .plan-table { font-size: 1rem; }
  .row > span { padding: 14px 16px; }
  .foot { padding: 32px; }
}

/* Sign-in, devices and account pages (C3a) */
.panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 16px 48px;
}

.panel h1 { font-size: clamp(1.7rem, 6vw, 2.3rem); }

.panel h2 {
  font-size: 1.2rem;
  margin-top: 32px;
}

.panel-app { text-align: center; }

.panel-app .lede { margin-left: auto; margin-right: auto; }

.stack {
  display: grid;
  gap: 12px;
  max-width: 340px;
  margin: 28px auto 0;
}

/* "Sign in with Google" button (D142): Google's branding guidelines, light theme; dark theme on dark devices. */
.gsi-button {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #747775;
  border-radius: 20px;
  background: #ffffff;
  color: #1f1f1f;
  font-family: "Google Sans", "Be Vietnam Pro", system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.25px;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
}

.gsi-button:hover { background: #f8f9fa; }
.gsi-icon { display: block; width: 20px; height: 20px; margin-right: 10px; flex: none; }
.gsi-icon img { display: block; width: 20px; height: 20px; }
.stack .gsi-button { justify-content: center; }

/* Same button scaled by 1.2 (sizes, padding, icon and type), for the home page's large calls to action. */
.gsi-large { height: 48px; padding: 0 14.4px; border-radius: 24px; font-size: 16.8px; line-height: 24px; letter-spacing: 0.3px; }
.gsi-large .gsi-icon, .gsi-large .gsi-icon img { width: 24px; height: 24px; }
.gsi-large .gsi-icon { margin-right: 12px; }

button.button {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.muted { color: var(--muted); }

.banner,
.status {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--paper);
  border-left: 4px solid var(--economy);
}

.status span { color: var(--muted); }

.status .button { justify-self: start; margin-top: 6px; }

.status-warn,
.banner { border-left-color: var(--sun); }

.device-list {
  list-style: none;
  margin: 16px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.device-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--paper);
  border-radius: 10px;
}

.device-list li div { display: grid; }

.device-list li span {
  color: var(--muted);
  font-size: 0.9rem;
}

.device-list .button { padding: 8px 16px; }

/* Account deletion (C3b) */
.delete-form fieldset {
  border: 0;
  margin: 20px 0 0;
  padding: 0;
}

.delete-form legend { font-weight: 600; margin-bottom: 8px; }

.choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
}

.choice input { margin-top: 6px; accent-color: var(--ink); }

.field {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}

.stack-left { margin: 20px 0 0; max-width: 340px; }

.button-danger {
  background: var(--politics);
  color: #ffffff;
  border: 0;
}

.plain-steps { padding-left: 1.2em; }

.plain-steps li { margin: 6px 0; }

/* Report reader (C3c) */
.reader {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.reader .banner { display: block; margin: 0 0 20px; }

.reader-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.reader-kicker { color: var(--muted); font-size: 0.9rem; }

.reader-date { font-weight: 800; font-variant-numeric: tabular-nums; }

.players {
  display: grid;
  gap: 12px;
  margin: 18px 0 8px;
}

.players label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.players audio { width: 100%; }

/* Text of the report: not selectable (copy protection on the web has honest limits: screenshots stay possible). */
.report {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.report h1 { font-size: 1.6rem; margin: 24px 0 12px; }
.report h1 .report-logo { width: 1.75rem; height: 1.75rem; margin-right: 10px; vertical-align: -0.3rem; }

.report h2 { font-size: 1.3rem; margin: 28px 0 10px; }

.report h3 { font-size: 1.1rem; margin: 22px 0 8px; }

.report li { margin: 6px 0; }

.report table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }

.report th,
.report td { border: 1px solid var(--line); padding: 6px 8px; }

.report .sources {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 24px;
}

.mark {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: right;
}

@media print {
  .report { display: none; }
}

/* User menu top right (D134): Google picture or initial, label, menu without JavaScript (<details>) */
.user-menu { position: relative; }

.user-menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  padding: 3px 12px 3px 3px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-control);
  font-weight: 600;
  font-size: 0.95rem;
}

.user-menu summary::-webkit-details-marker { display: none; }

/* Avatar (D138): initials circle underneath, Google picture on top; a picture that fails leaves the initials. */
.avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

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

.avatar-large { width: 64px; height: 64px; font-size: 1.4rem; }
.avatar-tone-0 { background: #16233a; }
.avatar-tone-1 { background: #1e7a62; }
.avatar-tone-2 { background: #2e5faa; }
.avatar-tone-3 { background: #a23b46; }
.avatar-tone-4 { background: #c62820; }
.avatar-tone-5 { background: #000000; }

.account-who { display: flex; align-items: center; gap: 16px; }
.account-who .lede { margin: 0; }

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 240px;
  display: grid;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px -24px rgba(22, 35, 58, 0.45);
  z-index: 20;
}

.bar-nav .menu-panel a,
.menu-panel button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.bar-nav .menu-panel a:hover,
.menu-panel button:hover { background: var(--sky); }

.menu-panel form { margin: 0; border-top: 1px solid var(--line); padding-top: 4px; margin-top: 4px; }

.menu-who {
  display: grid;
  margin: 4px 12px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.menu-who span { color: var(--muted); font-size: 0.85rem; overflow-wrap: anywhere; }

@media (max-width: 420px) {
  .user-label { display: none; }
  .user-menu summary { padding: 3px; }
}

.stars { display: flex; flex-wrap: wrap; gap: 4px 16px; }

.stars legend { width: 100%; }

.field input[type="text"] {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  max-width: 200px;
}

.feedback-link { margin-top: 24px; }

/* Follow the voice (D134): button shown when the reader scrolled by hand during the full recording */
.follow-voice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 15;
  box-shadow: 0 10px 30px -12px rgba(22, 35, 58, 0.55);
}

@media (prefers-color-scheme: dark) {
  .gsi-button { background: #131314; border-color: #8e918f; color: #e3e3e3; }
  .gsi-button:hover { background: #1f1f20; }
}

/* S3 (D145): the reports a reader may open, as a row of day and period links. */
.shelf { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.shelf-item { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.shelf-item:hover { border-color: var(--ink); }
.shelf-item.is-current { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 600; }
.shelf-period { font-weight: 600; }

/* R5 (D147): spoken reminder before the summary, with a skip button. */
.reminder-voice { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; font-size: 0.95rem; }
.reminder-voice audio { display: none; }
.row-price span[role="cell"] { font-variant-numeric: tabular-nums; }

/* E3 (D149): legal pages and the footer links. */
.legal h2 { margin-top: 28px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }
.seller { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 8px 0 16px; }
.seller dt { font-weight: 600; }
.seller dd { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.foot-links a { color: inherit; }
@media (max-width: 480px) { .seller { grid-template-columns: 1fr; } .seller dd { margin-bottom: 6px; } }

/* Payment page (C4b-2, D150): QR code and transfer facts side by side on wide screens */
.pay-box {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding: 18px;
  background: var(--paper);
  border-radius: 10px;
}

.pay-qr { margin: 0; justify-self: center; text-align: center; }
.pay-qr svg { display: block; width: min(260px, 70vw); height: auto; background: #ffffff; border-radius: 6px; }
.pay-qr figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

.pay-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-content: center; }
.pay-facts dt { color: var(--muted); }
.pay-facts dd { margin: 0; font-variant-numeric: tabular-nums; }

.pay-wait { margin-top: 18px; font-weight: 600; }

.buy-form { margin: 0; }
.buy-form .button { font: inherit; font-weight: 600; cursor: pointer; }
.buy-form .button:not(.button-quiet) { border: 1.5px solid var(--sun); }
.row-buy > span { display: flex; align-items: center; }
.account-buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

@media (min-width: 640px) {
  .pay-box { grid-template-columns: auto 1fr; }
}

/* D160: official announcements (banner, /thong-bao) and upcoming prices in the price table. */
.notice-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  margin: 0;
  padding: 10px 16px;
  background: var(--premium-tint);
  color: var(--ink);
  border-bottom: 3px solid var(--sun);
  font-size: 0.95rem;
}

.notice-bar a { font-weight: 600; }

.next-price {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
}

.notice {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.notice h2 { margin: 0 0 4px; font-size: 1.15rem; }

.notice-number {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  border-radius: var(--radius-control);
  background: var(--sun);
  color: var(--sun-ink);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Consent at sign-in (C5.2, D179): two separate boxes, one per purpose. */
.consent-form { display: grid; gap: 1rem; margin: 1.25rem 0; }
.consent-item { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; line-height: 1.5; }
.consent-item input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; }
.consent-form .button { justify-self: start; }
