/* PF Wellbeing — Supplements: Vits tab extras on top of pfwf.css. */

.pfwf-app .pfsp-slot { margin-bottom: 6px; }
.pfwf-app .pfsp-slot-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pfwf-app .pfsp-slot-head .pfwf-h2 { margin-bottom: 8px; }
.pfwf-app .pfsp-slot-head form { margin-bottom: 4px; }
.pfwf-app .pfsp-done { font-size: 13px; font-weight: 600; color: var(--pfwf-ok); }

.pfwf-app .pfsp-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pfwf-app .pfsp-item-main { flex: 1; min-width: 0; }
.pfwf-app .pfsp-item.is-taken { opacity: .6; }
.pfwf-app .pfsp-item.is-taken .pfwf-row-title { text-decoration: line-through; }
.pfwf-app .pfsp-item form { margin: 0; }
.pfwf-app .pfsp-take { min-width: 86px; }

/* As-needed cards: one big Take button each */
.pfwf-app .pfsp-prn { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.pfwf-app .pfsp-prn-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--pfwf-surface); border: 1px solid var(--pfwf-border); border-radius: var(--pfwf-radius); padding: 12px 14px; box-shadow: var(--pfwf-shadow); margin: 0; }
.pfwf-app .pfsp-prn-card.is-warn { border-color: #f0a000; }
.pfwf-app .pfsp-prn-main { flex: 1; min-width: 0; }
.pfwf-app .pfsp-prn-card .pfsp-take { min-width: 96px; min-height: 52px; font-size: 16px; }
.pfwf-app .pfsp-warn { color: #b35c00; font-weight: 600; }
.pfwf-app .pfsp-okay { color: var(--pfwf-ok); font-weight: 600; }

/* Medication cards: Take now + exact-time fold */
.pfwf-app .pfsp-med { background: var(--pfwf-surface); border: 1px solid var(--pfwf-border); border-radius: var(--pfwf-radius); box-shadow: var(--pfwf-shadow); }
.pfwf-app .pfsp-med.is-warn { border-color: #f0a000; }
/* Medication card: text block on top, full-width Take button underneath (a
   side-by-side button crushed the text into a sliver on a phone). */
.pfwf-app .pfsp-med .pfsp-prn-card { border: none; box-shadow: none; border-radius: var(--pfwf-radius) var(--pfwf-radius) 0 0; background: transparent; flex-direction: column; align-items: stretch; gap: 10px; }
.pfwf-app .pfsp-med .pfsp-prn-main { width: 100%; }
.pfwf-app .pfsp-med .pfsp-take { width: 100%; min-height: 56px; font-size: 18px; }
.pfwf-app .pfsp-take[disabled] { opacity: .45; cursor: not-allowed; }
.pfwf-app .pfsp-med-sched { font-size: 11px; opacity: .8; }
.pfwf-app .pfsp-med-guide { font-size: 12px; color: var(--pfwf-text); margin-top: 2px; }
.pfwf-app .pfsp-remind { display: block; padding: 10px 14px; border-top: 1px dashed var(--pfwf-border); font-size: 14px; font-weight: 600; color: var(--pfwf-accent); text-decoration: none; }
.pfwf-app .pfsp-med-at { border-top: 1px dashed var(--pfwf-border); padding: 6px 14px 8px; }
.pfwf-app .pfsp-med-at > summary { cursor: pointer; font-size: 13px; color: var(--pfwf-accent); font-weight: 600; list-style: none; }
.pfwf-app .pfsp-med-at > summary::-webkit-details-marker { display: none; }
.pfwf-app .pfsp-med-at-form { margin-top: 8px; }
.pfwf-app .pfsp-med-at-form .pfwf-label { margin-bottom: 8px; }
.pfwf-app .pfsp-hint { font-size: 12px; color: var(--pfwf-muted); margin: 8px 2px 0; }

/* "I just took…" */
.pfwf-app .pfsp-quick { border: 2px solid var(--pfwf-accent); }
.pfwf-app .pfsp-quick-row { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.pfwf-app .pfsp-quick-when { margin-bottom: 12px; }
.pfwf-app .pfsp-quick-when > summary { cursor: pointer; font-size: 13px; color: var(--pfwf-accent); font-weight: 600; list-style: none; }
.pfwf-app .pfsp-quick-when > summary::-webkit-details-marker { display: none; }
.pfwf-app .pfsp-quick-when .pfwf-label { margin-top: 8px; }
.pfwf-app .pfsp-quick-btn { font-size: 18px; min-height: 56px; }
