/* ============================================================
   SERO HEALTH — account, Hims-style shell with Manual-style results
   Loaded after account.css.
   ============================================================ */

.acct-body{ background:#F6F5F2; --card-r:20px; }
.acct-top{ background:#fff; border-bottom:1px solid var(--line); }
.acct-top .btn{ border-radius:999px; }
.acct-body .card{ background:#fff; border:0; border-radius:var(--card-r); box-shadow:none; padding:clamp(20px,3vw,32px); }

/* side nav, Manual layout with Hims finish */
.acct-nav a{ border-radius:12px; font-weight:600; color:var(--ink); }
.acct-nav a[aria-current]{ background:#EAE8E3; box-shadow:none; }
.acct-nav a[aria-current] svg{ stroke:var(--ink); }

/* pills */
.acct-body .pill-btn{
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 1.25rem;
  border-radius:999px; background:var(--ink); color:#fff; border:1.5px solid var(--ink);
  font-weight:600; font-size:.92rem; white-space:nowrap; cursor:pointer; font-family:inherit;
}
.acct-body .pill-btn.ghost{ background:#fff; color:var(--ink); }
.acct-body .pill-btn.ghost:hover{ background:var(--ink); color:#fff; }
.acct-body .btn{ border-radius:999px; }

/* greeting, tasks, progress */
.hello{ font-family:var(--display); font-weight:500; letter-spacing:-.035em; font-size:clamp(2rem,3.4vw,2.6rem); line-height:1.1; margin:0 0 8px; }
.card-h{ font-family:var(--display); font-weight:500; letter-spacing:-.03em; font-size:1.5rem; margin:0 0 20px !important; }
.task{ display:flex; align-items:center; gap:16px; padding:16px 20px; border-radius:14px; }
.task b{ display:block; font-size:1.05rem; }
.task small{ display:block; font-size:.85rem; color:var(--ink-2); margin-top:2px; }
.task.done{ background:linear-gradient(100deg,#D7F1EC 0%,#E3F6D6 60%,#ECF8C9 100%); }
.task.todo{ background:#FBEBDD; }
.task.todo .arw{ margin-left:auto; font-size:1.2rem; }
.task-ic{ width:40px; height:40px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; flex:none; font-weight:700; }
.task-ic svg{ width:18px; height:18px; fill:none; stroke:#fff; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.expect{ border:1px solid var(--line); border-radius:14px; padding:clamp(24px,4vw,40px); text-align:center; display:flex; flex-direction:column; align-items:center; }
.expect-ic{ width:72px; height:72px; border-radius:50%; background:#E6EEE8; display:grid; place-items:center; font-weight:700; font-size:1.3rem; margin-bottom:16px; }
.expect h3{ font-size:1.15rem; font-weight:700; margin:0 0 8px; }
.expect p{ color:var(--ink-2); font-size:.95rem; max-width:52ch; margin:0; }

/* results header */
.r-top{ display:flex; gap:16px; align-items:flex-start; }
.r-back{ width:48px; height:48px; border-radius:50%; background:#EAE8E3; display:grid; place-items:center; flex:none; font-size:1.2rem; margin-top:12px; }
.r-date{ font-size:.82rem; color:var(--ink-3); margin:0 0 4px; }
.r-h{ font-family:var(--display); font-weight:500; letter-spacing:-.035em; font-size:clamp(1.8rem,3vw,2.4rem); line-height:1.15; margin:0; }
.r-mark{ padding:0 .3em; border-radius:6px; background:#DDF3E8; color:#1F8A5B; }
.r-mark.warn{ background:#FBE3D3; color:#B0532A; }
.r-sub{ color:var(--ink-2); margin:8px 0 0; }

.r-bar{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; }
.seg{ display:grid; grid-template-columns:1fr 1fr; flex:1 1 420px; background:#fff; border:1.5px solid var(--line); border-radius:12px; overflow:hidden; }
.seg a{ display:grid; place-items:center; min-height:48px; font-weight:600; font-size:.92rem; }
.seg a[aria-selected="true"]{ box-shadow:inset 0 0 0 2px var(--ink); border-radius:12px; }
.exp{ display:flex; gap:8px; }

/* summary grid */
.r-grid{ display:grid; gap:12px; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
.r-card{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:18px 20px; display:flex; flex-direction:column; justify-content:space-between; gap:28px; min-height:150px; transition:border-color .2s var(--ease), transform .2s var(--ease); }
.r-card:hover{ border-color:var(--ink); transform:translateY(-2px); }
.r-n{ font-weight:700; font-size:1.05rem; }
.r-foot{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
.r-foot > span:first-child{ display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.r-v{ margin:0; color:var(--ink-2); font-size:.9rem; }
.r-v b{ font-size:1.5rem; color:var(--ink); font-weight:700; letter-spacing:-.02em; }
.r-i{ width:22px; height:22px; border:1.5px solid var(--ink-3); border-radius:50%; display:grid; place-items:center; font-size:.72rem; font-weight:700; color:var(--ink-2); }

/* detailed list, Manual style */
.r-list{ display:flex; flex-direction:column; }
.r-item{ padding:24px 0; border-top:1px solid var(--line); display:flex; flex-direction:column; align-items:flex-start; }
.r-item:first-of-type{ border-top:0; padding-top:4px; }
.r-item-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; width:100%; }
.r-item h3{ font-size:1.05rem; font-weight:700; margin:0 0 2px; }
.r-item .r-v b{ font-size:1rem; }
.r-say{ color:var(--ink-2); font-size:.95rem; line-height:1.6; margin:12px 0 0 !important; max-width:68ch; }
.r-item .zb{ width:100%; margin-top:8px; }
.r-item .pill-btn{ margin-top:8px; border-radius:10px; }

/* range bar: Manual's orange and green */
.acct-body .z-r,.acct-body .z-a{ background:#F2905F; }
.acct-body .z-g{ background:#2BB083; }
.acct-body .zb-track{ height:4px; gap:4px; }
.acct-body .zb-pin b{ background:#0F3B33; border-radius:4px; }
.acct-body .zb-pin::after{ width:8px; height:8px; background:#0F3B33; margin-top:12px; }

/* status chips, softer */
.acct-body .st{ border-radius:4px; }
.acct-body .st-optimal{ background:#E2F4EC; color:#1F8A5B; }

/* print / export */
.print-only{ display:none; }
@media print{
  .acct-top,.acct-nav,.r-bar,.test-pick,.r-back,.acct-legal,.r-grid,.r-list:not(.print-only .r-list),.linkish,.pill-btn{ display:none !important; }
  .print-only{ display:block; }
  .acct{ display:block; padding:0; }
  .acct-body{ background:#fff; }
  .acct-body .card{ padding:0; }
  .r-item{ break-inside:avoid; }
  .zb-track i,.zb-pin b,.zb-pin::after,.st,.r-mark{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}

@media(max-width:700px){
  .r-top{ gap:12px; }
  .r-back{ width:44px; height:44px; margin-top:4px; }
  .exp{ width:100%; }
  .exp .pill-btn{ flex:1; }
  .seg{ flex-basis:100%; }
}
.acct-body .zb-ticks span{ font-family:var(--sans); font-size:.7rem; }

/* green and yellow brand pass */
.acct-body .pill-btn{ background:#0F3B2E; border-color:#0F3B2E; }
.acct-body .pill-btn.ghost{ background:#fff; color:#0F3B2E; }
.acct-body .pill-btn.ghost:hover{ background:#0F3B2E; color:#fff; }
.task-ic{ background:#0F3B2E; }
.task.todo{ background:#F6F1C7; }
.task.done{ background:linear-gradient(100deg,#DDF0E2 0%,#EAF5C8 60%,#F4F3B8 100%); }
.seg a[aria-selected="true"]{ box-shadow:inset 0 0 0 2px #0F3B2E; }
.acct-nav a[aria-current]{ background:#E6EDDF; }
/* avatar: brand colours, never an empty black dot */
.acct-body .avatar{ width:40px; height:40px; background:#E4F46B; color:#0F3B2E; font-family:var(--sans); font-weight:700; font-size:1rem; }
.acct-body .avatar:empty::before{ content:""; width:18px; height:18px; background:#0F3B2E; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8.5' r='3.6'/%3E%3Cpath d='M4.8 19.5c1.3-3.4 4-5.2 7.2-5.2s5.9 1.8 7.2 5.2'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8.5' r='3.6'/%3E%3Cpath d='M4.8 19.5c1.3-3.4 4-5.2 7.2-5.2s5.9 1.8 7.2 5.2'/%3E%3C/svg%3E") center/contain no-repeat; }
.acct-body .pill-btn,.acct-body .btn,.acct-top .btn{ border-radius:10px; }
