/* The paid path (js/billing.js, KB 37): the trial offer, the trial countdown, Your plan and Billing. Built on the
   Settings kit (css/settings.css): white cards on the page grey, one Ember action, Jade for what is running. */
.st .bill-sub { font-size: 16px; line-height: 24px; margin: 8px 0 0; }
.st.bill-page h1 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }

/* The plan picker: a radio per plan, its limits in one muted line, the price right. */
.st .bill-plans { border: 0; margin: 0; padding: 0; min-width: 0; }
.st .bill-plans legend { padding: 0; margin: 0 0 4px; }
.st .bill-plan { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.st .bill-plan:last-child { border-bottom: 0; }
.st .bill-plan input { accent-color: var(--ember-fill); width: 22px; height: 22px; flex: none; margin: 0; }
.st .bill-plan-copy { flex: 1; min-width: 0; }
.st .bill-plan-copy strong { display: block; font-size: 16px; line-height: 22px; font-weight: 600; }
.st .bill-plan-copy span { display: block; color: var(--muted); font-size: 13px; line-height: 19px; margin-top: 2px; overflow-wrap: anywhere; }
.st .bill-price { flex: none; text-align: right; font-size: 17px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.st .bill-price small { display: block; color: var(--muted); font-size: 12px; line-height: 16px; font-weight: 500; }
.st .bill-plan:has(input:checked) .bill-plan-copy strong { color: var(--ember); }

/* What happens when: dates on the left, what happens on the right, a hairline between. */
.st .bill-steps { list-style: none; margin: 0; padding: 0; }
.st .bill-steps li { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.st .bill-steps li:last-child { border-bottom: 0; }
.st .bill-when { font-weight: 600; font-variant-numeric: tabular-nums; }
.st .bill-what { color: var(--muted); }

/* The one action, full width, and the lock line under it. */
.st .bill-act { display: grid; gap: 10px; margin: 24px 0 8px; }
.st .bill-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 12px 18px; border-radius: 999px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); font-size: 16px; line-height: 24px; font-weight: 600; text-align: center; }
.st .bill-btn.primary { background: var(--ember-fill); border-color: transparent; color: #FFFFFF; min-height: 54px; }
.st .bill-btn.primary .ic { width: 20px; height: 20px; }
.st .bill-btn.danger { color: var(--error); border-color: transparent; background: none; }
.st .bill-btn[hidden] { display: none; }
.st .bill-card + .bill-btn, .st .bill-plans + .bill-btn { margin-top: 12px; }
.st .bill-lock { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 20px; margin: 4px 4px 0; }
.st .bill-lock .ic { width: 16px; height: 20px; flex: none; }
.st .bill-cancel { margin: 16px 0 0; font-size: 15px; }
.st .bill-rule { margin: 0; font-size: 15px; line-height: 23px; }

/* The trial countdown: seven marks, made ones Jade, the next one ringed. */
.st .bill-trial { padding: 20px 16px; }
.st .bill-count { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.st .bill-count i { display: block; height: 10px; border-radius: 999px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
.st .bill-count i.made { background: var(--jade-fill); box-shadow: none; }
.st .bill-count i.next { box-shadow: inset 0 0 0 2px var(--jade-fill); }
.st .bill-next { margin: 14px 0 0; font-size: 15px; line-height: 22px; }

/* A state that needs reading: on hold (red), ending (amber). Words in ink, the soft tint behind. */
.st .bill-note { display: grid; gap: 4px; }
.st .bill-note strong { font-size: 16px; line-height: 22px; font-weight: 600; }
.st .bill-note span { color: var(--muted); font-size: 14px; line-height: 21px; }
.st .bill-note.bad { background: #FBEDEF; box-shadow: inset 0 0 0 1px rgba(180, 35, 54, .18); }
.st .bill-note.bad strong { color: var(--error); }
.st .bill-note.warn { background: var(--warning-soft); }
.st .bill-note.warn strong { color: var(--warning); }

/* Trial on: a Jade tick above the headline. */
.st .bill-done { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--jade-fill); color: #FFFFFF; margin: 8px 0 16px; }
.st .bill-done .ic { width: 32px; height: 32px; }

/* The cancel sheet. */
.bill-sheet { display: grid; gap: 12px; padding: 4px 2px 8px; }
.bill-sheet h3 { margin: 0 0 4px; font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.02em; }
.bill-sheet .bill-checks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.bill-sheet .bill-checks li { display: flex; gap: 10px; font-size: 15.5px; line-height: 23px; }
.bill-sheet .bill-checks .ic { width: 20px; height: 22px; color: var(--ok, #1F7A45); flex: none; }
.bill-sheet .bill-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border-radius: 999px; border: 1px solid transparent; font: 600 16px/24px Manrope, sans-serif; cursor: pointer; }
.bill-sheet .bill-btn.primary { background: #B44744; color: #FFFFFF; }
.bill-sheet .bill-btn.danger { background: none; color: var(--alert, #B42336); }
.bill-sheet .bill-btn:focus-visible { outline: 2px solid #B44744; outline-offset: 2px; }
/* One sheet for every plan limit (owner, 25 Oct 2026): what brings it, then its one tap; Not now steps back. */
.bill-up .bill-up-words { margin: 0 0 6px; font-size: 16px; line-height: 24px; color: var(--ink, #141413); }
.bill-up .bill-btn:not(.primary) { background: none; color: var(--graphite, #5C6068); font-weight: 500; }

/* The end of a first report: the trial is the one Ember action, Share steps back to a white pill. */
.reader.one .end .bill-end { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 54px; margin-top: 20px; border-radius: 999px;
  background: var(--ember); color: var(--white); font-size: 16px; font-weight: 600; }
.reader.one .end .bill-end + .blk { margin-top: 10px; background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 1024px) {
  .reader.one .end:has(.bill-end) { grid-template-areas: "check trial" "heading share" "line pills"; }
  .reader.one .end .bill-end { grid-area: trial; margin-top: 0; align-self: end; }
  .reader.one .end .bill-end + .blk { grid-area: share; margin-top: 10px; align-self: start; }
}
:root[data-theme="dark"] .st .bill-note.bad { background: rgba(180, 35, 54, .2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .st .bill-note.bad { background: rgba(180, 35, 54, .2); } }
/* The free week's "Write to us" is a mail link styled as the banner's pill. */
a.gp-st-pill { display: inline-flex; align-items: center; text-decoration: none; }

/* Approved trial board, 28 Oct: native comparison strip and explicit Free choice. */
.st { --trial-edge: #E9B7AC; --trial-error-soft: #FBE9EB; }
:root[data-theme="dark"] .st { --trial-edge: #92514D; --trial-error-soft: #45292F; }
@media(prefers-color-scheme:dark) { :root:not([data-theme="light"]) .st { --trial-edge: #92514D; --trial-error-soft: #45292F; } }
.trial-page { --trial-card-width: 300px; max-width: 100%; overflow: hidden; }
.st.trial-page h1 { font-size: 25px; line-height: 31px; letter-spacing: -.03em; }
.st.trial-page .bill-sub { font-size: 15px; line-height: 21px; }
.st.trial-page .st-heading { margin-bottom: 8px; }
.st.trial-page .st-heading > .st-note { margin-top: 6px; }
.trial-tabs { display: flex; gap: 6px; padding: 12px 0; }
.trial-tabs button { border: 1px solid var(--line); border-radius: 999px; min-height: 44px; padding: 7px 12px; background: var(--card, #fff); color: var(--ink); font-size: 13px; font-weight: 600; }
.trial-tabs button[aria-selected="true"] { background: var(--ink); color: var(--card, #fff); }
.trial-strip { position: relative; display: flex; gap: 12px; margin-inline: -20px; padding: 2px max(20px, calc((100% - var(--trial-card-width)) / 2 + 20px)) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.trial-strip::-webkit-scrollbar { display: none; }
.trial-card { position: relative; flex: 0 0 var(--trial-card-width); min-width: 0; scroll-snap-align: center; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 22px; padding: 16px 16px 14px; box-shadow: 0 2px 10px #1112140c; }
.trial-card.recommended { border-color: var(--trial-edge); box-shadow: 0 8px 26px #b447441c; }
.trial-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.trial-card:has(.trial-radio:focus-visible) { outline: 2px solid var(--orchid); outline-offset: 2px; }
.trial-card-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.trial-card h2 { margin: 0; font-size: 21px; line-height: 28px; font-weight: 600; }
.trial-tag { font-size: 10px; line-height: 14px; color: var(--jade); background: var(--jade-soft); border-radius: 999px; padding: 3px 6px; }
.trial-price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.trial-price strong { font-size: 34px; line-height: 42px; font-weight: 700; letter-spacing: -.03em; }
.trial-price span { font-size: 13px; color: var(--muted); }
.trial-for { color: var(--muted); font-size: 12.5px; line-height: 18px; margin: 2px 0 0; }
.trial-card ul { list-style: none; margin: 10px 0 0; padding: 6px 0 0; border-top: 1px solid var(--line); }
.trial-card li { display: flex; align-items: center; gap: 8px; padding: 4.5px 0; min-height: 29px; font-size: 13px; line-height: 18px; }
.trial-card li small { font-size: 11px; line-height: 16px; color: var(--muted); margin-inline-start: auto; text-align: end; }
.trial-check { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--jade-soft); color: var(--jade); }
.trial-check .ic { width: 12px; height: 12px; }
.trial-card .missing, .trial-card .missing small, .trial-losses { color: var(--error, #B42336); }
.trial-card .missing .trial-check, .trial-losses .trial-check { color: var(--error, #B42336); background: var(--trial-error-soft); }
.st .trial-card .trial-pay.ti-primary { --ti-btn-h:48px; width: 100%; font-size: 14px; margin-top: 10px; justify-content:center; }
.st .trial-card .ti-primary-label, .st .trial-free .ti-primary-label { flex:0 1 auto; }
.trial-card:not(.selected) .trial-pay::before { background: var(--line); }
.trial-under { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.trial-under .bill-promo { flex: 1; min-width: 0; }
.trial-text { background: none; color: var(--ink); font: 500 13px/20px Manrope, sans-serif; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 6px 0; border: 0; }
.trial-group { color: var(--muted); }
.trial-plan-sheet .sheethead { justify-content:flex-end; margin:0; padding:0 16px; }
.trial-plan-sheet .sheethead > h3 { display:none; }
.trial-plan-sheet .trial-page { padding: 8px 20px 20px; min-height:0; }
.trial-plan-sheet .trial-page .st-heading { margin-bottom: 0; }
#sheet.st .trial-free { padding:0 18px 16px; }
.trial-competitors legend { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.trial-free h3 { font-size: 22px; line-height: 28px; font-weight: 600; margin: 4px 0; }
.trial-lede { font-size: 14px; line-height: 20px; color: var(--muted); margin: 4px 0 8px; }
.trial-competitors { border: 0; padding: 0; margin: 0; min-width: 0; }
.trial-comp { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); min-height: 52px; }
.trial-comp:first-of-type { border: 0; }
.trial-comp input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.trial-face { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--orchid); display: grid; place-items: center; font-size: 12px; flex: none; overflow: hidden; }
.trial-face img { width: 100%; height: 100%; object-fit: cover; }
.trial-comp-name { min-width: 0; flex: 1; font-size: 14px; line-height: 20px; }
.trial-comp-name b { font-weight: 500; overflow-wrap: anywhere; }
.trial-comp-name small { display: flex; gap: 6px; color: var(--muted); margin-top: 2px; }
.trial-comp-name .ic { width: 13px; height: 13px; }
.trial-comp.paused .trial-comp-name b { text-decoration: line-through; color: var(--muted); }
.trial-comp.paused .trial-face { border-color: var(--line); color: var(--muted); }
.trial-paused { font-size: 11px; border-radius: 999px; background: var(--fill); color: var(--muted); padding: 3px 8px; }
.trial-free h4 { font-size: 11px; line-height: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 12px 0 4px; }
.trial-losses { list-style: none; padding: 0; margin: 0; }
.trial-losses li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; padding: 4px 0; }
.trial-losses small { font-size: 12px; }
.trial-history { display: flex; gap: 9px; background: var(--ember-soft); color: var(--ember); padding: 11px 13px; border-radius: 14px; font-size: 13px; line-height: 19px; margin: 12px 0; }
.trial-history .ic { width: 17px; height: 20px; flex: none; }
.st .trial-free > .ti-primary.ti-primary { --ti-btn-h:52px; width: 100%; font-size: 14px; justify-content:center; }
.trial-confirm { display: block; width: 100%; font-size: 13px; }
.trial-confirm b { font-weight: 500; }
.trial-free-error { color: var(--error); font-size: 14px; }
.trial-reminder .gp-st-copy strong { font-size: 14px; }
.trial-reminder .gp-st-copy > span { font-size: 12px; line-height: 17px; }
.rcover .trial-reminder { margin:14px 14px 0; border-radius:18px; gap:10px; padding:10px 12px; background:var(--panel); }
.rcover .trial-reminder.last { box-shadow:inset 0 0 0 1.5px var(--ember); }
.rcover .trial-reminder .gp-st-tile { flex-basis:30px; height:30px; border-radius:50%; background:var(--ember-soft); color:var(--ember-ink); }
.rcover .trial-reminder .gp-st-pill.ti-primary.ti-primary { --ti-btn-h:44px; padding-inline:12px; font-size:12px; }
.trial-reminder .gp-st-copy .trial-dots { display:flex; gap:4px; margin-top:5px; }
.trial-dots i { width:12px; height:4px; border-radius:2px; background:var(--line); }
.trial-dots i.made { background:var(--ember); }
/* Keep the approved last-report sub on two balanced phone lines. */
.rcover .trial-reminder.last { margin-inline:0; gap:8px; }
.trial-reminder.last .gp-st-copy > span:not(.trial-dots) { text-wrap:balance; }
.rcover .free-report-reminder { margin:14px 14px 0; border-radius:18px; padding:10px 12px; gap:10px; background:var(--panel); }
.free-report-reminder .gp-st-tile { flex-basis:24px; height:24px; color:var(--muted); background:transparent; }
.free-report-reminder .gp-st-copy strong { font-size:13px; }
.free-report-reminder .gp-st-copy > span { font-size:12px; line-height:17px; }
.free-report-reminder .gp-st-pill { min-height:44px; font-size:12px; padding-inline:10px; }
@media(min-width:1024px) { .st.trial-page { max-width: 1160px; } .trial-strip { --trial-card-width: 300px; } }
