/* Segment stylesheet: logprog. Owned by the logprog segment; shared tokens and components live in /static/gw.css.
   Colours only via var(--gw-*) tokens. */

/* ============================ /log ============================ */
/* Two zones: "Today" (quick tiles + one card per form) and "History" */
.lp-history{margin-top:8px;padding-top:24px;border-top:1px solid var(--gw-line)}
.lp-zone>.gw-h2{margin-bottom:-4px}

/* Form card */
.lp-card{display:flex;flex-direction:column;gap:14px;background:var(--gw-surface);border:1px solid var(--gw-line);border-radius:var(--gw-r-box);padding:16px;box-shadow:var(--gw-shadow-card);scroll-margin-top:16px}
.lp-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap}
.lp-card-title{margin:0;font-family:var(--gw-font-display);font-weight:600;font-size:20px;line-height:26px;color:var(--gw-ink)}
.lp-status{display:inline-flex;align-items:center;gap:4px;min-height:26px;padding:3px 10px 3px 8px;border-radius:999px;background:var(--gw-pos-bg);color:var(--gw-pos-fg);font-size:13px;line-height:18px;font-weight:700;white-space:nowrap;animation:lp-pop .32s var(--gw-ease-out) both}
.lp-status .gw-icon{width:14px;height:14px;stroke-width:2.4}
.lp-status.is-quiet{background:var(--gw-bg-deep);color:var(--gw-muted);padding-left:10px}
.lp-hint{margin:0;font-size:14px;line-height:20px;color:var(--gw-muted)}
.lp-form{gap:14px}
.lp-form .gw-field-label{font-size:15px;line-height:20px;margin-bottom:6px}
.lp-note{min-height:52px;resize:vertical}
.lp-weight{font-size:22px;line-height:26px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.01em}

/* Dose: helper line, then Taken / Skipped as a full-width submit pair */
.lp-savepair{display:flex;flex-direction:column;gap:8px}
.lp-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.lp-pair-btn{min-height:48px;padding:0 12px;width:100%}
.lp-pair-btn .gw-icon{width:18px;height:18px;stroke-width:2.4}
.lp-pair-btn.gw-btn--ghost.is-on{background:var(--gw-tint);border-color:var(--gw-accent-ink)}

/* Feeling: chips, "Nothing to report" spans both columns */
/* Unit choice uses the chip but reads as a radio (round ring) */
.lp-radio::before{border-radius:50%}
.lp-radio:has(:checked)::before{-webkit-mask:none;mask:none;background:var(--gw-surface);border:6px solid var(--gw-accent)}

/* Inline field errors (shared .gw-field-error + aria-invalid styles in gw.css) */
.lp-field-error{font-size:14px;line-height:20px}
.lp-field-error .gw-icon{flex:none}
.lp-errlink a{font-weight:700;white-space:nowrap}
.lp-pair:has(+ .lp-field-error) .lp-pair-btn.gw-btn--ghost{border-color:var(--gw-warn-rule)}

/* Off-day prompt */
.lp-prompt{display:flex;flex-direction:column;gap:16px;padding:16px;border-radius:var(--gw-r-card);background:var(--gw-hero-teal);border:1px solid var(--gw-line);box-shadow:var(--gw-shadow-card);animation:gw-rise .42s var(--gw-ease) both}
.lp-prompt-head{display:flex;gap:12px;align-items:flex-start}
.lp-prompt-head>.gw-chip{background:var(--gw-surface);box-shadow:inset 0 0 0 1px var(--gw-line)}
.lp-prompt-head>div{flex:1;min-width:0}
.lp-prompt-q{font-family:var(--gw-font-display);font-weight:600;font-size:20px;line-height:26px;color:var(--gw-ink);margin:0}
.lp-prompt-why{display:block;margin:4px 0 0;font-size:15px;line-height:22px;color:var(--gw-muted)}
.lp-prompt-actions{display:flex;flex-direction:column;gap:12px}
.lp-prompt-actions .gw-btn{min-height:52px}

/* History: section micro-heads + grouped list rows */
.lp-subhead{margin:4px 0 0 4px;font-size:13px;line-height:16px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gw-subtle)}
.lp-rows .gw-list-row{min-height:56px}
.lp-rows .lp-date{font-size:15px;line-height:20px;font-weight:600;color:var(--gw-ink)}
.lp-rows .gw-list-main small{text-wrap:pretty}
.lp-val{font-size:17px;line-height:22px;font-weight:700;color:var(--gw-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.lp-tag{flex:none;display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;background:var(--gw-pos-bg);color:var(--gw-pos-fg);font-size:13px;line-height:18px;font-weight:700;white-space:nowrap}
.lp-tag.is-skipped{background:var(--gw-bg-deep);color:var(--gw-muted)}
.lp-dose{align-items:center}
.lp-dose.is-done .gw-tick{background:var(--gw-accent);border-color:var(--gw-accent)}
.lp-dose.is-done .gw-tick svg{opacity:1}
.lp-link{color:var(--gw-accent-ink)!important;font-weight:700;min-height:52px}
.lp-link .gw-list-main{font-size:15px}
.lp-link>.gw-icon:last-child{color:var(--gw-accent)!important}

/* "Show all (N)" inside the list */
.lp-more>summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:48px;padding:0 16px;cursor:pointer;font-size:15px;line-height:20px;font-weight:700;color:var(--gw-accent-ink);-webkit-tap-highlight-color:transparent}
.lp-more>summary::-webkit-details-marker{display:none}
.lp-more>summary>span{flex:1}
.lp-more>summary>.gw-icon{width:18px;height:18px;color:var(--gw-subtle);transition:transform .24s var(--gw-ease)}
.lp-more[open]>summary>.gw-icon{transform:rotate(180deg)}
.lp-more[open]>summary>span{color:var(--gw-subtle)}
.lp-more-rows{margin:0;padding:0;list-style:none}
.lp-more-rows>li{position:relative}
.lp-more-rows>li::before{content:"";position:absolute;top:0;left:16px;right:0;height:1px;background:var(--gw-line)}
.lp-more[open] .lp-more-rows{animation:gw-rise .32s var(--gw-ease) both}

/* Side-effect calendar: card + 44px cells + severity legend */
.lp-calcard{background:var(--gw-surface);border:1px solid var(--gw-line);border-radius:var(--gw-r-box);padding:12px 12px 14px;box-shadow:var(--gw-shadow-card)}
.lp-cal .gw-cal-day{height:44px}
.lp-cal .gw-cal-day.is-today{border-width:2px}
.lp-legend{margin-top:12px;gap:6px 16px;font-size:13px;line-height:16px;color:var(--gw-subtle)}

/* Empty states with spot art */
.lp-empty{padding:20px 20px 22px;gap:4px}
.lp-empty .gw-spot{margin-bottom:8px}

/* ============================ /progress ============================ */
.lp-chartframe{container-type:inline-size}
.lp-chartframe .gw-chartframe-head{flex-wrap:wrap}
.lp-chartframe .gw-chartframe-head .lp-change{max-width:none;white-space:nowrap;text-align:left}
.lp-chartframe.is-empty{padding:8px 16px 16px}
.lp-chartframe.is-empty .gw-empty{padding:20px 8px 8px;background:none}
.lp-chartframe.is-empty .gw-title{font-family:var(--gw-font-display);font-weight:600;font-size:22px;line-height:28px}
/* Large text: keep the first and last date only so ticks never collide */
@container (max-width:17em){.lp-chartframe .gw-chart-x span:not(:first-child):not(:last-child){visibility:hidden}}

/* Line draws in once; latest point pops after it */
.lp-draw{stroke-dasharray:1;stroke-dashoffset:1;animation:lp-draw .7s var(--gw-ease-out) forwards}
.lp-latest-halo,.lp-latest-dot{transform-box:fill-box;transform-origin:center;animation:lp-pop .24s var(--gw-ease-out) .3s both}
.lp-chartframe.is-single .lp-latest-halo,.lp-chartframe.is-single .lp-latest-dot{animation-delay:0s}
.lp-latest-dot{stroke:var(--gw-surface);stroke-width:2}
.lp-curve-grid{stroke:var(--gw-line)}
@keyframes lp-draw{to{stroke-dashoffset:0}}
@keyframes lp-pop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}

/* Single point: dot swatch + label above the point */
.gw-chart-key .k-dot{width:10px;height:10px;border-radius:50%;background:var(--gw-accent);box-shadow:0 0 0 2px var(--gw-surface),0 0 0 3px var(--gw-mint)}
.lp-first{position:absolute;transform:translate(-50%,calc(-100% - 14px));padding:2px 8px;border-radius:999px;background:var(--gw-surface);border:1px solid var(--gw-line);font-size:13px;line-height:18px;font-weight:700;color:var(--gw-accent-ink);white-space:nowrap;pointer-events:none}

/* By dose: fixed tag column so every rate starts at the same x */
.lp-progress .gw-dosesum li{display:grid;grid-template-columns:5.25em minmax(0,1fr);column-gap:12px;align-items:center;min-height:64px}
.lp-progress .gw-dosesum-tag{justify-self:start;max-width:100%;min-width:0;box-sizing:border-box;white-space:nowrap}
.lp-progress .gw-dosesum-main small{text-wrap:pretty}
.lp-notes{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.lp-notes p{display:flex;gap:8px;align-items:flex-start;margin:0;font-size:14px;line-height:20px;color:var(--gw-subtle);text-wrap:pretty}
.lp-notes .gw-icon{flex:none;width:16px;height:16px;margin-top:2px;color:var(--gw-subtle)}

.lp-table .gw-table{margin-top:0}
.lp-table{overflow-x:auto}
.lp-remove{min-height:44px;flex:none}
.lp-progress .lp-hint{margin-top:-2px}

@media (prefers-reduced-motion:reduce){
  .lp-draw{animation:none;stroke-dasharray:none;stroke-dashoffset:0}
  .lp-latest-halo,.lp-latest-dot,.lp-status,.lp-prompt,.lp-more[open] .lp-more-rows{animation:none}
  .lp-more>summary>.gw-icon{transition:none}
}

/* Optional extras (note / another day / update weight) fold away: one thumb, fewer fields */
.lp-extra>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:44px;margin:-4px 0;padding:0 2px;cursor:pointer;font-size:15px;line-height:20px;font-weight:700;color:var(--gw-accent-ink);border-radius:var(--gw-r-chip);-webkit-tap-highlight-color:transparent}
.lp-extra>summary::-webkit-details-marker{display:none}
.lp-extra>summary>span{flex:1;min-width:0}
.lp-extra>summary>.gw-icon{width:18px;height:18px;flex:none}
.lp-extra>summary>.gw-icon:first-child{color:var(--gw-accent)}
.lp-extra>summary>.gw-icon:last-child{color:var(--gw-subtle);transition:transform .24s var(--gw-ease)}
.lp-extra[open]>summary>.gw-icon:last-child{transform:rotate(180deg)}
.lp-extra-body{display:flex;flex-direction:column;gap:14px;padding-top:12px}
.lp-extra[open] .lp-extra-body{animation:gw-rise .32s var(--gw-ease) both}
.lp-extra--solo{margin-top:-4px}
/* Strength only matters once a symptom is picked ("Nothing to report" submits the default) */
.lp-fxform:not(:has(.lp-fx input:checked:not([value="none"]))) .lp-sev{display:none}
/* Severity tags in history use the shared severity tokens, never the positive teal */
.lp-tag.gw-sev-1{background:var(--gw-sev-1-bg);color:var(--gw-sev-1-fg)}
.lp-tag.gw-sev-2{background:var(--gw-sev-2-bg);color:var(--gw-sev-2-fg)}
.lp-tag.gw-sev-3{background:var(--gw-sev-3-bg);color:var(--gw-sev-3-fg)}
@media (prefers-reduced-motion:reduce){.lp-extra>summary>.gw-icon:last-child{transition:none}.lp-extra[open] .lp-extra-body{animation:none}}
/* Protein: one tick, so one row (wraps under large text) */
.lp-card--row{flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px 16px}
.lp-row-text{flex:1 1 140px;min-width:0;display:flex;flex-direction:column;gap:2px}
.lp-protein{flex:1 1 168px;max-width:100%}
.lp-protein button{white-space:nowrap;padding:0 8px}
.lp-protein button{min-height:44px}
.lp-protein button{font-weight:500;color:var(--gw-muted)}
.lp-protein button[aria-pressed="true"]{background:var(--gw-surface);color:var(--gw-accent-ink);font-weight:700;box-shadow:var(--gw-shadow-1)}
/* Large text: one chip per row so symptom names never break mid-word */
.lp-fxform{container-type:inline-size}
@container (max-width:16em){.lp-fx{grid-template-columns:1fr}}
.lp-fx .gw-chip-toggle>span{overflow-wrap:break-word}

/* ---- round 2 ---- */
/* Today tiles on /log: one compact row (72px), the cards below carry the detail */
.lp-log .gw-qlog button{min-height:72px;gap:4px;padding:8px 2px;font-size:13px;line-height:16px}
.lp-log .gw-qlog button>.gw-icon{padding:6px}

/* All four logged: a quiet moment above the tiles */
.lp-done{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 16px 16px;text-align:center;border-radius:var(--gw-r-box);background:var(--gw-hero-sand);border:1px solid var(--gw-line)}
.lp-done .gw-spot--wide{width:200px;margin-bottom:4px}
.lp-done-t{margin:0;font-family:var(--gw-font-display);font-weight:600;font-size:20px;line-height:26px;color:var(--gw-ink)}

/* Feeling: two primary answers side by side; the symptom form opens under them */
.lp-fxwrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px}
.lp-fxnone{grid-column:1;grid-row:1;align-self:start;z-index:1;margin:0}
.lp-fxmore{grid-column:1/-1;grid-row:1}
.lp-fxbtn{width:100%;min-height:48px;padding:6px 10px;gap:6px;font-size:15px;line-height:20px;text-align:center}
.lp-fxbtn .gw-icon{width:18px;height:18px;flex:none;color:var(--gw-accent)}
.lp-fxmore>summary{list-style:none;margin-left:calc(50% + 4px);width:calc(50% - 4px);box-sizing:border-box;cursor:pointer}
.lp-fxmore>summary::-webkit-details-marker{display:none}
.lp-fxmore[open]>summary{background:var(--gw-tint);border-color:var(--gw-accent-ink)}
.lp-fxmore>.lp-fxform{padding-top:14px}
.lp-fxmore[open]>.lp-fxform{animation:gw-rise .32s var(--gw-ease) both}
/* At large text the two answers stack */
.lp-card{container-type:inline-size}
@container (max-width:17em){
  .lp-fxwrap{grid-template-columns:1fr;row-gap:8px}
  .lp-fxnone{grid-row:1}.lp-fxmore{grid-row:2;grid-column:1}
  .lp-fxmore>summary{margin-left:0;width:100%}
}
.lp-card .lp-extra--solo{margin:-6px 0 -8px}

/* Protein: status + the same "Tap one to save." helper as the dose card */
.lp-row-text .lp-card-head{margin-bottom:2px}
.lp-hint--save{font-size:13px;line-height:18px;color:var(--gw-subtle)}

/* Weight error: border + message are enough; no tinted fill */
.lp-log .gw-input[aria-invalid="true"]{background:var(--gw-surface);border-width:1.5px}
.lp-units .gw-chip-toggle{min-height:48px;white-space:nowrap}

/* Calendar: Mild gets a real step above empty cells + a dot so severity never rests on colour alone */
.lp-cal .gw-cal-day.sev-1{background:color-mix(in srgb,var(--gw-sev-1-bg) 76%,var(--gw-sev-1-border))}
.lp-legend i.sev-1{background:color-mix(in srgb,var(--gw-sev-1-bg) 76%,var(--gw-sev-1-border))}
.lp-cal .gw-cal-day{position:relative}
.lp-cal .gw-cal-day:is(.sev-1,.sev-2,.sev-3)::after{content:"";position:absolute;bottom:5px;left:50%;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:currentColor;opacity:.7}
.lp-legend{margin-top:8px;gap:6px 16px}
/* Empty side-effects line: inside the calendar card, under the legend */
.lp-calempty{display:flex;align-items:flex-start;gap:8px;margin:12px 0 0;font-size:14px;line-height:20px;color:var(--gw-muted);text-wrap:pretty}
.lp-calempty .gw-icon{flex:none;width:16px;height:16px;margin-top:2px;color:var(--gw-accent)}

/* Chart: tighter head, short single-point plot */
.lp-chartframe .gw-chartframe-head{margin-bottom:8px}
.lp-chart--single .gw-chart-grid line{stroke-dasharray:2 5}
.lp-first{transform:translate(-50%,calc(-100% - 12px));box-shadow:var(--gw-shadow-1)}

/* Dose bands: one fill per dose, shared by plot, plot chip and By-dose tag */
.gw-chart-band{fill-opacity:1}
.gw-chart-dose{color:var(--gw-ink);display:inline-flex;align-items:center;gap:5px}
.gw-chart-dose::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--sw);box-shadow:inset 0 0 0 1px var(--sw-edge)}
.lp-sw-1{--sw:var(--gw-band-1);--sw-edge:var(--gw-band-1-edge)}
.lp-sw-2{--sw:var(--gw-band-2);--sw-edge:var(--gw-band-2-edge)}
.lp-sw-3{--sw:var(--gw-band-3);--sw-edge:var(--gw-band-3-edge)}
.lp-dosetag{color:var(--gw-ink)}
/* Legend swatch: the shared 20x12 chip; one band = that band's fill, several = the bands side by side in plot order */
.gw-chart-key i.gw-legend-swatch{width:20px;height:12px;border-radius:3px}
.gw-chart-key i.lp-kband--2{width:24px;background:linear-gradient(90deg,var(--gw-band-1) 50%,var(--gw-band-2) 50%);box-shadow:inset 0 0 0 1px var(--gw-band-2-edge)}
.gw-chart-key i.lp-kband--3{width:30px;background:linear-gradient(90deg,var(--gw-band-1) 33.4%,var(--gw-band-2) 33.4% 66.6%,var(--gw-band-3) 66.6%);box-shadow:inset 0 0 0 1px var(--gw-band-2-edge)}

/* By dose at large text: tag, rate, meta stacked */
.lp-progress .gw-dosesum{container-type:inline-size}
@container (max-width:18em){
  .lp-progress .gw-dosesum li{grid-template-columns:1fr;row-gap:4px;padding-block:12px}
}

@media (prefers-reduced-motion:reduce){.lp-fxmore[open]>.lp-fxform{animation:none}}
/* Expired /progress: shared compact renew card + the address spelled out once */


/* ---- round 3 ---- */
/* History empty states stay compact (spot art capped at 80px tall) */
.lp-history .lp-empty{display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:14px;row-gap:2px;align-items:center;align-content:center;padding:12px 16px;text-align:left;justify-items:start}
.lp-history .lp-empty .gw-spot{grid-row:1/span 2;width:80px;height:64px;margin:0;object-fit:contain}
.lp-history .lp-empty .gw-body{margin:0;font-size:15px;line-height:21px}
.lp-history .lp-empty .gw-body:not(:has(b)){color:var(--gw-muted);font-size:14px;line-height:20px}
.lp-history .lp-empty .gw-body:only-of-type{grid-row:1/span 2}

/* Dose "extras" summary: full label normally; short label under large text (full one kept for screen readers) */
.lp-sum-short{display:none}
@container (max-width:20em){
  .lp-sum-long{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .lp-sum-short{display:inline}
}

/* Calendar at large text: drop the severity dot (fill + border carry it), smaller tabular digits */
.lp-calcard{container-type:inline-size}
@container (max-width:22em){
  .lp-cal .gw-cal-day{font-size:.85em;font-variant-numeric:tabular-nums;padding:0 2px;overflow:hidden}
  .lp-cal .gw-cal-day:is(.sev-1,.sev-2,.sev-3)::after{display:none}
}

/* Single point: label above the top gridline, dashed leader down to the dot */
.lp-first{transform:translate(-50%,-100%)}
.lp-leader{stroke:var(--gw-accent);stroke-width:1.25;stroke-dasharray:2 3;stroke-opacity:.7}

/* By dose notes: one quiet panel; safety line visible, counting note folds */
.lp-notes{gap:0;margin-top:4px;padding:4px 14px;border-radius:var(--gw-r-chip);background:var(--gw-bg-deep)}
.lp-notes .lp-note-safe{padding:10px 0;color:var(--gw-muted)}
.lp-notes .lp-note-safe .gw-icon{color:var(--gw-accent-ink)}
.lp-fine{border-top:1px solid var(--gw-line)}
.lp-fine>summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:14px;line-height:20px;font-weight:700;color:var(--gw-accent-ink);-webkit-tap-highlight-color:transparent}
.lp-fine>summary::-webkit-details-marker{display:none}
.lp-fine>summary>span{flex:1}
.lp-fine>summary>.gw-icon{width:16px;height:16px;flex:none;transition:transform .24s var(--gw-ease)}
.lp-fine[open]>summary>.gw-icon{transform:rotate(180deg)}
.lp-notes .lp-fine p{display:block;padding:0 0 12px}
@media (prefers-reduced-motion:reduce){.lp-fine>summary>.gw-icon{transition:none}}

/* ---- round 4 ---- */
/* Dose bands: every band keeps its hairline edge in the plot, so adjacent periods never merge (band-3 = clay token) */
.gw-chart-band{stroke-width:1;vector-effect:non-scaling-stroke}
.gw-chart-band.gw-fill-band-1{stroke:var(--gw-band-1-edge)}
.gw-chart-band.gw-fill-band-2{stroke:var(--gw-band-2-edge)}
.gw-chart-band.gw-fill-band-3{stroke:var(--gw-band-3-edge)}
/* In-plot dose chip dot: the edge colour reads at 8px where the pale fill would vanish */
.gw-chart-dose::before{background:var(--sw-edge);box-shadow:none}
.gw-chart-key i.lp-kband--3{box-shadow:inset 0 0 0 1px var(--gw-band-3-edge)}

/* By-dose notes: a neutral note surface (paper + hairline), never a band fill */
.lp-progress .lp-notes{margin-top:16px;padding:4px 16px;border-radius:var(--gw-r-box);background:var(--gw-bg);border:1px solid var(--gw-line)}
.lp-notes .lp-note-safe{padding:12px 0 10px}
.lp-notes .lp-note-safe .gw-icon{color:var(--gw-muted)}
.lp-fine>summary{min-height:44px}

/* Estimates-only chart: no area fill (template), dotted 2px line, open dots */
.gw-chart-line.is-approx{stroke-width:2;stroke-opacity:1}
.gw-chart-dot.is-approx{fill:var(--gw-surface);stroke-width:2}
.lp-estcap{display:flex;align-items:center;gap:12px;margin-top:12px}
.lp-estcap .gw-chartframe-cap{margin:0;flex:1;min-width:0;text-wrap:pretty}
.lp-chartframe svg.lp-estart{flex:none;width:72px;height:54px;overflow:hidden}
@container (max-width:16em){.lp-chartframe svg.lp-estart{display:none}}

/* From-your-signup rows: the value is the heaviest text; Remove is a quiet text action */
.lp-estrow{align-items:flex-start}
.lp-estrow .gw-list-main{padding-top:2px}
.lp-estrow form{margin:0}
.lp-progress .lp-remove{min-width:44px;min-height:44px;margin:-6px -8px -6px 0;padding:0 8px;font-size:14px;line-height:20px;font-weight:600;color:var(--gw-muted)!important;text-decoration:none}
.lp-progress .lp-remove:hover,.lp-progress .lp-remove:focus-visible{color:var(--gw-accent-ink)!important;text-decoration:underline;text-underline-offset:3px}

/* Protein pressed: the shared .gw-seg check (gw.css) already precedes the label; nothing local */
.lp-weight::placeholder{color:var(--gw-subtle);font-weight:500;opacity:1}

/* ---- round 5 ---- */
/* Estimates-only change pill: shared dashed estimate pill (gw.css), never the positive fill */
.lp-chartframe .lp-change--approx{background:transparent;color:var(--gw-muted);font-weight:600}
.lp-change--approx small{font-size:inherit;font-weight:500;color:var(--gw-subtle)}
/* Estimates-only x labels sit on their own dots: first label starts 6px left of its dot, last ends 6px right */
.gw-chart-x .lp-xest.is-start{transform:translateX(-6px)}
.gw-chart-x .lp-xest.is-end{transform:translateX(calc(-100% + 6px))}
/* Protein: unpressed answers read as live choices, not disabled text (pressed keeps the shared .gw-seg check) */
.lp-protein button{color:var(--gw-ink);font-weight:600}
.lp-protein button[aria-pressed="true"]{color:var(--gw-accent-ink);font-weight:700}
