/* roles.css: the role pages (fellows, attendings, CRNAs) and pricing. Loaded after folio.css on those pages only.
   Adds a paper "sheet" for the PDFs the app makes, the two NBE counters, a row of choices, and the plan cards. */

/* a page of a PDF the app makes, drawn small */
.sheet { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); padding: 26px 26px 22px; font-size: 12px; color: var(--ink); max-width: 460px; margin-inline: auto; transform: rotate(-0.6deg); }
.sheet .eyebrow { font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.sheet .ttl { font-family: var(--serif); font-size: 22px; line-height: 1.15; margin: 4px 0 2px; }
.sheet .who { font-size: 11px; color: var(--dim); padding-bottom: 10px; border-bottom: 1.5px solid var(--accent); }
.sheet .lbl { font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 700; margin: 14px 0 5px; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 11px; }
.sheet th { text-align: left; font-weight: 600; color: var(--dim); font-size: 9.5px; padding: 0 0 4px; border-bottom: 1px solid var(--line); }
.sheet td { padding: 5px 0; border-bottom: 0.5px solid var(--line); }
.sheet td + td, .sheet th + th { padding-left: 8px; }
.sheet .r { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet .m { color: var(--dim); }
.sheet .cap { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 2px 0 6px; background: var(--line); }
.sheet .cap i { display: block; height: 100%; }
.sheet .capkey { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 10.5px; color: var(--ink-wet); }
.sheet .capkey b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.sheet .capkey span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; background: var(--k); vertical-align: -0.5px; }
.sheet .foot { margin-top: 14px; font-size: 9.5px; color: var(--dim); font-style: italic; }
.sheet .stamp { display: inline-block; margin-top: 8px; font-size: 9.5px; color: var(--accent-ink); border: 1px dashed var(--accent); border-radius: 5px; padding: 2px 7px; }
.sheet-note { text-align: center; font-size: 12.5px; color: var(--dim); margin-top: 14px; }

/* the NBE's two TEE numbers, as the fellow sees them */
.tee2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 4px; }
.tee2 > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.tee2 .k { font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.tee2 .v { font-family: var(--mono); font-size: 22px; line-height: 1.2; }
.tee2 .v small { font-size: 12px; color: var(--dim); }
.tee2 .bar { margin-top: 6px; }

/* choices the app offers, in a row */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.chips .opt { font-size: 13px; padding: 5px 12px; }
.say { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.35; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--capture); border-radius: 10px; padding: 12px 16px; margin: 0; }
.notice { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 8px; padding: 6px 11px; }

/* a feature grid of short cards */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.feats > div { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.feats h3 { font-size: 20px; margin: 0 0 6px; }
.feats p { margin: 0; font-size: 14.5px; color: var(--ink-wet); }
.feats .pro { display: inline-block; font-size: 10px; letter-spacing: 0.12em; font-weight: 700; color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 5px; padding: 0 5px; margin-left: 6px; vertical-align: 3px; font-family: var(--sans); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; display: flex; flex-direction: column; }
.plan.pro { border-color: var(--accent); box-shadow: var(--shadow); }
.plan .who { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.plan h2 { font-size: 26px; margin: 6px 0 2px; }
.plan .amt { font-family: var(--serif); font-size: 40px; line-height: 1.1; margin-top: 6px; }
.plan .amt small { font-family: var(--sans); font-size: 14px; color: var(--dim); }
.plan .alt { font-size: 14px; color: var(--ink-wet); min-height: 1.6em; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; flex: 1; }
.plan li { padding: 8px 0 8px 24px; border-top: 1px solid var(--line); font-size: 14.5px; position: relative; }
.plan li::before { content: "\2713"; position: absolute; left: 2px; color: var(--accent); font-weight: 600; }
.plan li.plus::before { content: "+"; }
.plan .ctas { margin-top: 18px; }
.cmp { margin-top: 26px; }
.cmp td.y, .cmp td.no { text-align: center; width: 18%; font-size: 15px; }
.cmp td.y { color: var(--accent-ink); font-weight: 600; }
.cmp td.no { color: var(--dim); }
.cmp th.c { text-align: center; }

@media (max-width: 900px) {
  .feats, .plans { grid-template-columns: minmax(0, 1fr); }
  .sheet { transform: none; padding: 20px 16px 18px; }
}

/* the plan comparison on a phone: the feature on its own line, then the three plans, each labeled */
@media (max-width: 560px) {
  .cmp tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp td.mname { grid-column: 1 / -1; padding-bottom: 2px; }
  .cmp td.y, .cmp td.no { width: auto; padding: 4px 8px 12px; font-size: 14px; }
  .cmp td.y::before, .cmp td.no::before { display: block; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
  .cmp td:nth-child(2)::before { content: "Residents & fellows"; }
  .cmp td:nth-child(3)::before { content: "Attendings, free"; }
  .cmp td:nth-child(4)::before { content: "Pro"; }
}

/* privacy: what leaves the phone, drawn as lanes out of one phone */
.flowmap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 28px; margin-top: 26px; align-items: stretch; }
.flowmap .src { position: sticky; top: calc(var(--hdr, 66px) + 16px); align-self: start; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 22px 18px; box-shadow: var(--shadow); text-align: center; }
.flowmap .src .k { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.flowmap .src .d { font-family: var(--serif); font-size: 24px; line-height: 1.15; margin: 6px 0 10px; }
.flowmap .src p { font-size: 13.5px; color: var(--ink-wet); margin: 0; }
.lanes { display: grid; gap: 10px; }
.lane { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 4px 18px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--tick, var(--accent)); border-radius: 12px; padding: 14px 16px; }
.lane::before { content: ""; position: absolute; left: -32px; top: 50%; width: 28px; border-top: 1.5px dashed var(--faint); }
.lane .to { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.lane .to small { display: block; font-family: var(--sans); font-size: 12px; color: var(--dim); margin-top: 3px; }
.lane .what, .lane .when { font-size: 14px; color: var(--ink-wet); }
.lane .what b, .lane .when b { display: block; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 2px; }
.lane.opt { border-style: dashed; border-left-style: solid; }
.never { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.never div { border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; color: var(--ink-wet); background: transparent; }
.never div::before { content: "\2715"; color: var(--behind); font-weight: 700; margin-right: 8px; }
@media (max-width: 900px) {
  .flowmap { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .flowmap .src { position: static; }
  .lane::before { display: none; }
  .lane { grid-template-columns: minmax(0, 1fr); }
  .never { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* what's new: a dated timeline */
.timeline { list-style: none; padding: 0; margin: 24px 0 0; border-left: 2px solid var(--line); }
.timeline > li { position: relative; padding: 0 0 22px 24px; }
.timeline > li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.timeline > li.big::before { background: var(--accent); }
.timeline .ver { font-family: var(--mono); font-size: 15px; color: var(--ink); }
.timeline .ver time { font-family: var(--sans); font-size: 13px; color: var(--dim); margin-left: 10px; }
.timeline h2 { font-size: 21px; margin: 4px 0 6px; }
.timeline p { margin: 0; color: var(--ink-wet); font-size: 15.5px; }
.timeline .notes { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-top: 8px; }
.timeline .notes ul { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; }
.timeline .notes li { padding-left: 18px; position: relative; font-size: 15px; color: var(--ink); }
.timeline .notes li::before { content: "~"; position: absolute; left: 2px; color: var(--accent); }
.pace-stat { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; }
.pace-stat div { font-size: 14px; color: var(--dim); }
.pace-stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--ink); line-height: 1.1; }
