@font-face{font-family:"Newsreader";font-style:normal;font-weight:400 600;font-display:swap;src:url("../fonts/newsreader-latin.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:"Newsreader";font-style:italic;font-weight:400 600;font-display:swap;src:url("../fonts/newsreader-italic-latin.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:"Arimo";font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/arimo-latin.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}
/* Veedma Women account pages: the signed-out pages a link opens and the signed-in account.
   Tokens and type roles are the women's emails' (sources/website-widgets/womens-emails), so a page
   opened from an email looks like the email: Newsreader for titles, headings and buttons; Arimo at
   one size for everything she reads. Light only. Phones first; desktop rules start at 600 and 901px. */

.screen {
  --ground: #f5f8ef; --card: #ffffff; --panel: #f5f8ef; --mine: #e6eee1;
  --title: #102f29; --text: #0f2a22; --text-card: #2c3a34; --hint: #61625d; --bronze: #86672f;
  --green: #1f4d36; --btn-top: #27503f; --btn-bottom: #1a4234;
  --gold: #ab874a; --gold-border: #cfae6e;
  --check-1: #f4e1b6; --check-2: #d4b27a; --check-3: #b48d4f; --check-ring: #ecd9a8;
  --hairline: #e2e1d8; --chip-border: #d4d6cc; --muted-line: #b9bcb0;
  --field-border: #8c9184; --focus: #43593c; --error: #9b2c3f;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Arimo", Arial, Helvetica, sans-serif;

  /* Type: seven roles, nothing between them */
  --t-title: clamp(1.75rem, 7.6vw, 2.125rem);   /* Newsreader 400, the page title, one gold italic word */
  --t-head: 1.375rem;                         /* Newsreader 500, a card or section heading */
  --t-item: 1.1875rem;                         /* Newsreader 500, an item inside a card */
  --t-body: 1.125rem;                         /* Arimo 400, everything she reads */
  --t-small: 1rem;                        /* Arimo 400, dates and secondary lines, in --hint */
  --t-caps: 0.875rem;                         /* Arimo 600 capitals, bronze: labels and data fields */
  --t-button: 1.25rem;                       /* Newsreader 400 on the green pill */
  --pad: 20px; --gut: 16px; --r-card: 22px;

  background: var(--ground); color: var(--text);
  font-family: var(--body); font-size: var(--t-body); line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased; color-scheme: light;
}
@media (max-width: 371px) { .screen { --t-body: 1.0625rem; --t-button: 1.1875rem; --pad: 18px; } }
@media (min-width: 901px) { .screen { --t-title: 2.5rem; --pad: 28px; --gut: 40px; } }

.screen *, .screen *::before, .screen *::after { box-sizing: border-box; }
.screen p, .screen h1, .screen h2, .screen h3, .screen ul, .screen ol, .screen dl, .screen dd { margin: 0; }
.screen strong, .screen b { font-weight: 600; color: var(--text); }
.screen p, .screen li, .screen dd, .screen .info span { text-wrap: pretty; }
.screen a:focus-visible, .screen button:focus-visible, .screen input:focus-visible,
.screen select:focus-visible, .screen textarea:focus-visible, .screen summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.marks-on .ph { background-image: linear-gradient(90deg, var(--gold) 50%, transparent 50%); background-size: 6px 1.5px; background-repeat: repeat-x; background-position: 0 100%; padding-bottom: 1px; }

/* ---------- Header: the lockup, then the account's four tabs (signed in only) ---------- */
.hdr { background: #ffffff; border-bottom: 1px solid var(--hairline); }
.hdr-in { max-width: 1120px; margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.hdr-top { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-family: var(--body); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.01em; color: var(--green); white-space: nowrap; }
.brand img { display: block; width: 30px; height: 30px; flex: none; }
.brand em { font-family: var(--display); font-style: normal; font-weight: 500; font-size: 1.16em; letter-spacing: -0.005em; color: var(--gold); margin-left: -2px; }
.acct { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; font-weight: 600; font-size: 1rem; color: var(--text-card); text-decoration: none; }
.acct svg { width: 20px; height: 20px; color: var(--green); }
.acct[aria-current="page"] { color: var(--green); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.tabs { display: flex; justify-content: space-between; margin: 0 -10px; }
.tab { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 10px; font-weight: 600; font-size: 1rem; color: var(--text-card); text-decoration: none; white-space: nowrap; }
.tab[aria-current="page"] { color: var(--green); }
.tab[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--green); }
.tab-acct { display: none; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--green); color: #ffffff; font-size: 0.8125rem; font-weight: 700; line-height: 1; }
@media (min-width: 480px) { .tabs { justify-content: flex-start; gap: 24px; } }
@media (min-width: 901px) {
  .hdr-in { display: flex; align-items: center; justify-content: space-between; }
  .hdr-top { min-height: 72px; }
  .acct { display: none; }
  .tab-acct { display: inline-flex; }
  .tabs { gap: 24px; margin: 0; }
  .tab { min-height: 72px; padding: 0 4px; }
  .tab[aria-current="page"]::after { left: 4px; right: 4px; }
}

/* ---------- Footer ---------- */
.ftr { padding-block: 28px 36px; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); text-align: center; font-size: 0.875rem; line-height: 1.6; color: var(--hint); display: grid; gap: 6px; }
.screen .ftr a { color: var(--hint); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Signed-out pages: the email's white card, its centred title and gold rule ---------- */
/* Phones: the card runs edge to edge as in the emails, so the whole page is white and the footer sits under a hairline */
@media (max-width: 479px) { .screen.auth { background: var(--card); } .screen.auth .ftr { border-top: 1px solid var(--hairline); margin-top: 8px; } }
.amain { flex: 1; width: 100%; max-width: 600px; margin: 0 auto; }
.acard { background: var(--card); padding-block: 32px 28px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); display: grid; gap: 16px; }
.acard > * { margin: 0; }
@media (max-width: 371px) { .acard { padding-block: 28px 24px; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); } }
@media (min-width: 480px) {
  .amain { padding-block: 40px 8px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .acard { border-radius: 26px; padding: 36px 32px 32px; box-shadow: 0 14px 32px rgba(40,60,45,.1); border: 1px solid rgba(16,47,41,.06); }
}
.thead { display: grid; justify-items: center; gap: 16px; text-align: center; margin-bottom: 8px; }
.rule { width: 44px; height: 2px; border-radius: 2px; background: var(--gold-border); }
.screen h1 { font-family: var(--display); font-weight: 400; font-size: var(--t-title); line-height: 1.1; letter-spacing: -0.015em; color: var(--title); text-wrap: balance; }
.screen h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.acard p { color: var(--text-card); }
.acard .close { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--hairline); }

/* ---------- Signed-in pages ---------- */
.main { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding-block: 28px 40px; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.main.wide { max-width: 1120px; }
.ptitle { display: grid; gap: 12px; margin-bottom: 24px; }
.ptitle p { color: var(--text-card); }
@media (min-width: 901px) { .main { padding-top: 48px; } .ptitle { margin-bottom: 32px; } }

.stack { display: grid; gap: 16px; align-content: start; }
.card { background: var(--card); border-radius: var(--r-card); padding: var(--pad); border: 1px solid rgba(16,47,41,.06); box-shadow: 0 6px 18px rgba(40,60,45,.06); display: grid; gap: 16px; align-content: start; }
.card > * { margin: 0; }
.chead { display: grid; gap: 8px; }
.screen h2 { font-family: var(--display); font-weight: 500; font-size: var(--t-head); line-height: 1.2; letter-spacing: -0.01em; color: var(--title); text-wrap: balance; }
.screen h3 { font-family: var(--display); font-weight: 500; font-size: var(--t-item); line-height: 1.25; color: var(--title); }
.card p { color: var(--text-card); }
.caps { font-family: var(--body); font-weight: 600; font-size: var(--t-caps); letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); line-height: 1.25; }
.caps.alert { color: var(--error); }
.screen .hint { font-size: var(--t-small); line-height: 1.5; color: var(--hint); }
.sep { border-top: 1px solid var(--hairline); padding-top: 16px; }

/* Dashboard: one column on phones; from 901px the steps or treatment plan and the invite move to a side column */
.dash { display: grid; gap: 16px; align-items: start; }
.dash .side { display: grid; gap: 16px; }
@media (min-width: 901px) { .dash { grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; } .dash .main-col { display: grid; gap: 16px; } }
@media (max-width: 900px) { .dash .main-col { display: contents; } .dash .side { display: contents; } }
.two { display: grid; gap: 16px; align-items: start; }
@media (min-width: 901px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } .two > .col { display: grid; gap: 24px; align-content: start; } }
@media (max-width: 900px) { .two > .col { display: contents; } }

/* ---------- Buttons and links ---------- */
.btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 11px 24px; border-radius: 999px; font-family: var(--display); font-weight: 400; font-size: var(--t-button); line-height: 1.2; text-decoration: none; text-align: center; text-wrap: balance; border: 0; cursor: pointer; color: #ffffff; background: linear-gradient(180deg, var(--btn-top), var(--btn-bottom)); box-shadow: 0 3px 8px rgba(26,66,52,.16); }
.btn-line { color: var(--green); background: #ffffff; border: 1.5px solid var(--green); box-shadow: none; }
.acard .btn { margin-top: 8px; }
.btns { display: grid; gap: 12px; }
@media (max-width: 371px) { .btn { padding-inline: 16px; } }
@media (min-width: 600px) {
  .card .btn { width: auto; min-width: 300px; justify-self: start; padding-inline: 32px; }
  .card .btns { display: flex; flex-wrap: wrap; gap: 12px; }
}
.screen p a, .screen .info a, .screen li a, .lnk { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lnk { font-weight: 600; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.solo { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }
.after { margin-top: -4px !important; }

/* ---------- Notes, panels, lists ---------- */
.info { display: flex; gap: 12px; align-items: flex-start; color: var(--text-card); }
.info .i { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.panel { background: var(--panel); border-radius: 18px; padding: 16px 20px; color: var(--text-card); }
.rows { display: grid; }
.rows > div { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.rows > div:first-child { border-top: 0; padding-top: 0; }
.rows > div:last-child { padding-bottom: 0; }
.rows dt { font-weight: 600; font-size: var(--t-caps); letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); line-height: 1.3; }
.rows dd { color: var(--text); overflow-wrap: anywhere; }
.rows dd .hint { display: block; }
.dots { list-style: none; padding: 0; display: grid; gap: 10px; }
.dots li { position: relative; padding-left: 34px; color: var(--text-card); }
.dots li::before { content: ""; position: absolute; left: 7px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.check { flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; border: 1.3px solid var(--check-ring); background: radial-gradient(circle at 35% 30%, var(--check-1) 0%, var(--check-2) 55%, var(--check-3) 100%); box-shadow: 0 2px 6px rgba(0,0,0,.18); display: grid; place-items: center; }
.incl { list-style: none; padding: 0; display: grid; gap: 12px; }
.incl li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-card); }

/* Cycle cases: the answer first, as in email 5 */
.cases { display: grid; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.cases > div { display: grid; gap: 4px; padding: 14px 0; }
.cases > div + div { border-top: 1px solid var(--hairline); }
.cases h3 { color: var(--green); }
.cases p { color: var(--text-card); }

/* Your steps: done (gold check), now (green ring), still to come (grey ring) */
.steps { list-style: none; padding: 0; display: grid; }
.steps li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 9px 0; }
.steps li + li::before { content: ""; position: absolute; left: 12px; top: -11px; height: 22px; width: 2px; background: var(--hairline); }
.steps li.lit::before { background: var(--gold-border); }
.steps .mk { width: 26px; height: 26px; border-radius: 50%; margin-top: 1px; position: relative; z-index: 1; }
.steps li.done .check { width: 26px; height: 26px; margin-top: 1px; }
.steps li.now .mk { border: 2px solid var(--green); background: #ffffff; display: grid; place-items: center; }
.steps li.now .mk::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.steps li.todo .mk { border: 1.5px solid var(--muted-line); background: #ffffff; }
.steps .nm { color: var(--text-card); }
.steps li.now .nm { font-weight: 600; color: var(--green); }
.steps li.todo .nm { color: var(--hint); }
.steps .sub { display: block; font-weight: 400; font-size: var(--t-small); color: var(--hint); line-height: 1.4; margin-top: 2px; }

/* Treatment plan: a product photo beside each medication */
.rx { display: grid; gap: 4px; }
.rx + .rx { padding-top: 16px; border-top: 1px solid var(--hairline); }
.rx .caps { margin: 0 0 2px; }                       /* when she takes it */
.rx h3 .dose { font-weight: 400; color: var(--hint); white-space: nowrap; }
.pnote { display: grid; gap: 12px; border-top: 1px solid var(--hairline); padding-top: 16px; }  /* her provider's note */
.who.sm { gap: 12px; }
.who.sm .avatar { width: 44px; height: 44px; font-size: 1.0625rem; }

/* A person: provider photo, name, role */
.who { display: flex; gap: 14px; align-items: center; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--mine); display: grid; place-items: center; font-family: var(--display); font-weight: 500; font-size: 1.25rem; color: var(--green); letter-spacing: .02em; }
img.avatar { display: block; object-fit: cover; }
.quote { margin: 0; padding-left: 14px; border-left: 2px solid var(--gold-border); }
.who b { display: block; font-family: var(--display); font-weight: 500; font-size: var(--t-item); line-height: 1.25; color: var(--title); }
.who div > span { font-size: var(--t-small); color: var(--hint); }

/* Notice: a compact card for something new that is not a task */
.notice { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.notice h3 { flex: 1 1 12rem; }

/* Invite */
.invite-link { display: block; width: 100%; font: 16px/1.4 var(--body); color: var(--text); background: var(--panel); border: 1px solid var(--chip-border); border-radius: 14px; padding: 13px 14px; }

/* ---------- Forms ---------- */
.fw { display: grid; gap: 8px; }
.lbl { font-weight: 600; font-size: 1rem; line-height: 1.35; color: var(--title); }
.field { display: block; width: 100%; font: inherit; font-size: 1.125rem; color: var(--text); background: #ffffff; border: 1px solid var(--field-border); border-radius: 14px; padding: 14px 16px; min-height: 56px; -webkit-appearance: none; appearance: none; }
.field:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--focus); }
select.field { padding-right: 44px; background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4d36' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
textarea.field { min-height: 136px; resize: vertical; line-height: 1.5; }
.field.bad { border: 2px solid var(--error); }
.err { color: var(--error); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.opt { font-weight: 400; color: var(--hint); }
.cbx { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; min-height: 44px; cursor: pointer; color: var(--text); }
.cbx input { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin: 0; border: 2px solid var(--field-border); border-radius: 8px; background: #ffffff; cursor: pointer; }
.cbx input:checked { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; border-color: var(--green); }

/* Upload */
.drop { display: grid; justify-items: center; gap: 12px; padding: 24px 16px; border: 1.5px solid var(--chip-border); border-radius: 18px; background: var(--panel); text-align: center; }
.drop .btn-line { width: auto; min-width: 200px; }
.file { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.file:last-child { border-bottom: 1px solid var(--hairline); }
.file .meta { display: block; font-size: var(--t-small); color: var(--hint); }
.file > div { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Messages ---------- */
.thread { display: grid; gap: 16px; }
.msg { background: var(--card); border-radius: 18px; padding: 16px 18px 18px; border: 1px solid rgba(16,47,41,.06); box-shadow: 0 4px 12px rgba(40,60,45,.05); display: grid; gap: 12px; }
.msg-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; }
.msg-h b { font-weight: 600; color: var(--title); }
.msg-h span { font-size: var(--t-small); color: var(--hint); }
.msg-role { display: block; width: 100%; font-size: var(--t-small); color: var(--hint); margin-top: -2px; }
.msg p { color: var(--text-card); }
.msg.mine { background: var(--mine); border-color: transparent; box-shadow: none; justify-self: end; max-width: 88%; }
.att { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 14px; background: #ffffff; text-decoration: none; color: var(--text); }
.att svg { flex: none; width: 26px; height: 26px; color: var(--green); }
.att b { display: block; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.att span { font-size: var(--t-small); color: var(--hint); }
.newdiv { display: flex; align-items: center; gap: 12px; }
.newdiv::before, .newdiv::after { content: ""; flex: 1; height: 1px; background: var(--gold-border); }
.compose { margin-top: 24px; }
.attach { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; justify-self: start; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font-family: var(--body); font-size: var(--t-body); cursor: pointer; }
.attach svg { width: 22px; height: 22px; }

/* ---------- Documents ---------- */
.docs { display: grid; }
.doc { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px 0; border-top: 1px solid var(--hairline); text-decoration: none; color: var(--text); }
.doc:first-child { border-top: 0; padding-top: 0; }
.doc:last-child { padding-bottom: 0; }
.doc > span:first-child { min-width: 0; display: grid; gap: 2px; }
.doc .meta { font-size: var(--t-small); color: var(--hint); }
.doc .open { flex: none; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.notes { display: grid; }
.note-d { border-top: 1px solid var(--hairline); }
.note-d:first-child { border-top: 0; }
.note-d summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px 0; cursor: pointer; }
.note-d:first-child summary { padding-top: 0; }
.note-d summary::-webkit-details-marker { display: none; }
.note-d summary > span:first-child { display: grid; gap: 2px; }
.note-d .meta { font-size: var(--t-small); color: var(--hint); }
.pm { flex: none; width: 22px; height: 22px; position: relative; }
.pm::before, .pm::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; border-radius: 2px; background: var(--hint); }
.pm::after { transform: rotate(90deg); transition: transform .2s; }
.note-d[open] .pm::after { transform: rotate(0deg); }
.note-body { display: grid; gap: 12px; padding: 0 0 16px; color: var(--text-card); }

/* ---------- Booking ---------- */
.days { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); margin: 0 calc(-1 * var(--pad)); padding: 2px var(--pad) 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; scroll-snap-align: start; width: clamp(64px, calc((100% - 40px) / 4.4), 84px); padding: 10px 0 12px; border-radius: 16px; border: 1px solid var(--chip-border); background: #ffffff; color: var(--text); display: grid; justify-items: center; gap: 2px; font-family: var(--body); cursor: pointer; }
.day .dw { font-weight: 600; font-size: 0.875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
.day .dn { font-family: var(--display); font-weight: 500; font-size: 1.625rem; line-height: 1.1; color: var(--title); }
.day .dm { font-size: 0.9375rem; color: var(--hint); }
.day[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.day[aria-pressed="true"] span { color: #ffffff; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 359px) { .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 600px) { .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.slot { min-height: 50px; border-radius: 999px; border: 1px solid var(--chip-border); background: #ffffff; font-family: var(--body); font-weight: 600; font-size: 1.0625rem; color: var(--green); font-variant-numeric: tabular-nums; cursor: pointer; }
.slot[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #ffffff; }
.chosen b { display: block; text-wrap: balance; }

/* ---------- Prep tips ---------- */
.tips { list-style: none; padding: 0; display: grid; }
.tips > li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px 14px; align-items: center; padding: 18px 0; border-top: 1px solid var(--hairline); }
.tips > li > p { grid-column: 1 / -1; color: var(--text-card); }
.tips > li:first-child { border-top: 0; padding-top: 0; }
.tips .n { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold-border); display: grid; place-items: center; font-family: var(--display); font-weight: 500; font-size: 1.125rem; color: var(--bronze); line-height: 1; }

/* ---------- Membership price ---------- */
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--body); font-weight: 600; font-size: 2.125rem; line-height: 1; letter-spacing: -0.01em; color: var(--title); }   /* the site's Membership card: Arimo 600 */
.price > span { font-size: var(--t-small); color: var(--hint); }

/* Account: Sign out closes the page; full width on phones like every button */
.signout { margin-top: 24px; }
@media (min-width: 600px) { .signout .btn { width: auto; min-width: 300px; } }
@media (min-width: 901px) { .dash .side .card .btn { width: 100%; min-width: 0; } }

/* ---------- The account as an app: a tab bar fixed to the bottom on phones (sticky in this mock) ---------- */
.tabbar { position: sticky; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #ffffff; border-top: 1px solid var(--hairline); box-shadow: 0 -6px 18px rgba(40,60,45,.06); padding-block: 4px calc(4px + env(safe-area-inset-bottom, 0px)); padding-left: max(2px, env(safe-area-inset-left, 0px)); padding-right: max(2px, env(safe-area-inset-right, 0px)); }
.tb { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 58px; padding: 4px 0; color: var(--text-card); text-decoration: none; }
.tb-ic { position: relative; display: grid; place-items: center; width: 56px; height: 30px; border-radius: 999px; }
.tb svg { width: 24px; height: 24px; }
.tb-l { font-family: var(--body); font-weight: 600; font-size: 0.8125rem; line-height: 1.15; white-space: nowrap; }
.tb[aria-current="page"] { color: var(--green); }
.tb[aria-current="page"] .tb-ic { background: var(--mine); }
.tb[aria-current="page"] svg { stroke-width: 2; }
.tb-badge { position: absolute; top: -3px; right: 8px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--green); color: #ffffff; font: 700 12px/19px var(--body); text-align: center; box-shadow: 0 0 0 2px #ffffff; }
.screen.app .hdr .tabs { display: none; }
@media (max-width: 359px) { .tb-l { font-size: 0.75rem; } .tb-ic { width: 48px; } }
@media (min-width: 901px) { .tabbar { display: none; } .screen.app .hdr .tabs { display: flex; } }

.back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: -8px 0 4px -6px; font-weight: 600; color: var(--green); text-decoration: none; }
.back svg { width: 22px; height: 22px; }

/* ---------- Labs ---------- */
.tally { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tally > div { display: grid; gap: 2px; }
.tally b { font-family: var(--body); font-weight: 600; font-size: 2.125rem; line-height: 1; color: var(--title); font-variant-numeric: tabular-nums; }
.tally > div > span { font-size: var(--t-small); color: var(--hint); }
.tally-bar { display: block; height: 8px; border-radius: 999px; background: var(--chip-bg-out); overflow: hidden; }
.tally-bar span { display: block; height: 100%; background: var(--green); border-radius: 999px 0 0 999px; }
.screen { --chip-bg: #e6eee1; --chip-bg-out: #f3e6cc; --chip-out: #6b4f1d; }
.bms, .grp-rows { display: grid; }
.bm { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--hairline); color: var(--text); text-decoration: none; }
.bms > .bm:first-child, .grp-rows > .bm:first-child { border-top: 0; padding-top: 4px; }
.bm:last-child { padding-bottom: 0; }
.bm-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bm-name { font-weight: 600; color: var(--title); min-width: 0; }
a.bm .bm-name { text-decoration: underline; text-decoration-color: var(--chip-border); text-underline-offset: 4px; }
.bm-val { flex: none; color: var(--hint); font-size: var(--t-small); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bm-val b { font-size: var(--t-body); color: var(--text); }
.bm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.rbar { position: relative; display: block; height: 10px; border-radius: 999px; background: #eef0ea; }
.band { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: #c9dcc4; }
.dot { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px #ffffff; }
.dot.out { background: var(--bronze); }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 999px; background: var(--chip-bg); color: var(--green); font-weight: 600; font-size: 1rem; line-height: 1.2; }
.chip.out { background: var(--chip-bg-out); color: var(--chip-out); }
.big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.big b { font-family: var(--body); font-weight: 600; font-size: 2.5rem; line-height: 1; color: var(--title); font-variant-numeric: tabular-nums; }
.big > span:not(.chip) { color: var(--hint); }
.big .chip { align-self: center; }
.grp { border-top: 1px solid var(--hairline); }
.grp:first-of-type { border-top: 0; }
.grp summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 10px 0; cursor: pointer; }
.grp summary::-webkit-details-marker { display: none; }
.grp summary > span:first-child { display: grid; gap: 2px; }
.grp-n { font-family: var(--display); font-weight: 500; font-size: var(--t-item); color: var(--title); }
.grp[open] .pm::after { transform: rotate(0deg); }
.grp-rows { padding-bottom: 12px; }
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--hint); pointer-events: none; }
.search .field { padding-left: 48px; }
.search .field::placeholder { color: var(--hint); opacity: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chart { display: block; width: 100%; height: auto; max-width: 100%; overflow: visible; }
.chart .c-v { font: 600 16px var(--body); fill: var(--title); }
.chart .c-d { font: 400 16px var(--body); fill: var(--hint); }
.chart .c-r { font: 400 14px var(--body); fill: #3f5c47; }

/* ---------- Add-ons ---------- */
.adds { display: grid; }
.add { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px 0; border-top: 1px solid var(--hairline); color: var(--text); text-decoration: none; }
.add:first-child { border-top: 0; padding-top: 0; }
.add > span:first-child { display: grid; gap: 2px; min-width: 0; }
.add b { font-weight: 600; color: var(--title); text-decoration: underline; text-decoration-color: var(--chip-border); text-underline-offset: 4px; }
.price-s { flex: none; font-weight: 600; color: var(--title); font-variant-numeric: tabular-nums; }
.howto { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 14px; }
.howto li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
.howto li::before { content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold-border); display: grid; place-items: center; font-family: var(--display); font-weight: 500; font-size: 1.125rem; color: var(--bronze); }
.howto b { color: var(--title); }
.legal-links { margin-top: 20px !important; font-size: 0.875rem; line-height: 1.7; color: var(--hint); }
.screen .legal-links a { color: var(--hint); }

/* Radio choices: the whole row is the target */
.radios { border: 0; margin: 0; padding: 0; display: grid; }
.rad { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; padding: 12px 0; min-height: 48px; border-top: 1px solid var(--hairline); cursor: pointer; color: var(--text); }
.rad:first-of-type { border-top: 0; padding-top: 0; }
.rad:last-child { padding-bottom: 0; }
.rad input { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin: 0; border: 2px solid var(--field-border); border-radius: 50%; background: #ffffff; cursor: pointer; }
.rad input:checked { border-color: var(--green); background: radial-gradient(circle, var(--green) 0 6px, #ffffff 7px); }
.rad .hint { display: block; }

/* ---------- The blood draw card: three steps as drop-downs, the cycle cases close each other ---------- */
.acc { display: grid; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.acc-i + .acc-i { border-top: 1px solid var(--hairline); }
.acc-i > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px 0; cursor: pointer; }
.acc-i > summary::-webkit-details-marker, .opt > summary::-webkit-details-marker { display: none; }
.acc-t { display: grid; gap: 4px; }
.acc-h { font-family: var(--display); font-weight: 500; font-size: var(--t-item); line-height: 1.25; color: var(--title); }
.acc-i[open] > summary .pm::after, .opt[open] > summary .pm::after { transform: rotate(0deg); }
.acc-b { display: grid; gap: 12px; padding: 0 0 20px; }
.acc-b > p { color: var(--text-card); }
.opts { display: grid; gap: 8px; }
.opt { border: 1px solid var(--chip-border); border-radius: 14px; background: #ffffff; }
.opt[open] { border-color: var(--green); }
.opt > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 14px; cursor: pointer; font-weight: 600; color: var(--green); }
.opt-b { display: grid; gap: 10px; padding: 0 14px 16px; color: var(--text-card); }
.ans { font-weight: 600; color: var(--green); }
.qas { display: grid; }
.qa-r { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.qas > .qa-r:first-child { border-top: 0; padding-top: 0; }
.acc-b > .qa-r { border-top: 1px solid var(--hairline); }
.qa-r p { color: var(--text-card); }
.acc-b .tips > li:first-child { padding-top: 4px; }

.women-account { margin: 0; }
.women-account .keyboard-open .tabbar, .women-account.keyboard-open .tabbar { display: none; }
.women-account [hidden] { display: none !important; }
.women-account .field-error { color: var(--error); }
.women-account input[type=date] { max-width: 100%; }
.women-account .schedule-nav { display: flex; justify-content: space-between; gap: 12px; }
.women-account .note-body, .women-account .msg-body { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.women-account .consent-copy { overflow-wrap: anywhere; }
.women-account .form-input, .women-account .form-select { font: inherit; color: var(--text); background: #fff; }
.women-account dialog { margin: auto; max-height: calc(100dvh - 2rem); overflow-y: auto; max-width: min(90vw, 480px); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--pad); background: #fff; color: var(--text); }
.women-account dialog::backdrop { background: rgba(15,42,34,.45); }
.women-account dialog .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* The mock uses sticky positioning; the shipping tab bar stays visible while scrolling. */
@media (max-width: 900px) {
  .women-account.app { padding-bottom: var(--tabbar-height, calc(67px + env(safe-area-inset-bottom, 0px))); }
  .women-account .tabbar { position: fixed; left: 0; right: 0; }
}
.women-account .card, .women-account .acard, .women-account .msg, .women-account .rows dd { min-width: 0; overflow-wrap: anywhere; }
.women-account #first-unread { scroll-margin-block: 100px; }

.women-account .tb-l { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.women-account form:has(input[type=file]:focus-visible) label.attach { outline: 3px solid var(--focus); outline-offset: 3px; }
/* Large text can wrap the wordmark without widening a narrow viewport. */
.women-account .brand { white-space: normal; }
.women-account .brand > span { min-width: 0; overflow-wrap: anywhere; }
.women-account .tb-l { white-space: normal; }
.women-account .fw, .women-account .field { min-width: 0; }
.women-account .tb { min-width: 0; grid-template-columns: minmax(0, 1fr); }


/* Keep keyboard focus clear of the mobile navigation without moving the normal layout. */
.women-account-root { scroll-padding-bottom: var(--tabbar-height, 0px); }
.women-account .tabbar { grid-template-columns: repeat(5, minmax(max-content, 1fr)); }
.women-account .tb-l { white-space: nowrap; overflow-wrap: normal; }
.women-account .ptitle, .women-account .thead { overflow-wrap: anywhere; }
.women-account .schedule-nav { flex-wrap: wrap; }
.women-account .schedule-nav .btn { flex: 1 1 0; min-width: max-content; width: auto; max-width: 100%; }
.women-account.large-text .slots { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10ch), 1fr)); }
@media (max-width: 900px) {
  .women-account.app.large-text { padding-bottom: 0; }
  .women-account.large-text .tabbar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .women-account.large-text .doc { flex-wrap: wrap; align-items: flex-start; gap: 8px; }
  .women-account.large-text .doc > span:first-child { flex: 1 1 100%; }
}
@media (forced-colors: active) {
  .women-account .rad input, .women-account .cbx input { appearance: auto; }
  .women-account .day[aria-pressed="true"], .women-account .slot[aria-pressed="true"] {
    border-style: double; border-width: 4px;
  }
}

.women-account.large-text .grid-cols-2 { grid-template-columns: minmax(0, 1fr); }
.women-account.large-text .form-input, .women-account.large-text .form-select { padding-inline: 16px; }
.women-account.large-text :is(h1, h2, h3, p, .doc) { hyphens: auto; }

/* Preserve reading space and control separation in the patient portal. */
.women-account form:has(#visit-date) { display: grid; gap: 20px; }
.women-account .main > p + .card, .women-account .main > .dash + .card, .women-account .main > .card + .dash { margin-top: 24px; }
.women-account .price { flex-wrap: wrap; }
.women-account .price > * { white-space: nowrap; }
/* Use the shared currentColor fill with an inset ring for one centered dot. */
.women-account .rad input::before, .women-account .rad input::after { content: none; }
.women-account .rad input:checked { color: var(--green); background-image: none; box-shadow: inset 0 0 0 5px #ffffff; }
.women-account .day { min-width: max-content; padding-inline: 10px; }
.women-account #schedule-form { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 600px) {
  .women-account.large-text .card { padding-inline: 12px; }
  .women-account.large-text #schedule-form .days { margin-inline: -12px; padding-inline: 12px; }
  .women-account.large-text .btn { padding-inline: 12px; hyphens: auto; }
  .women-account.large-text input[type=date] { padding-inline: 8px; }
}
@media (max-width: 359px) {
  .women-account .grid-cols-2 > :has(#address_country) { grid-column: 1 / -1; }
}
