/* 1.36.43 MyDoctor Care on phones (inc/addon_care143.php): number boxes visible in light and dark mode, optional emergency contact,
   Steps cards in dark mode, Family & caretakers edit rows. */
.pc .pc-tel{display:flex;gap:8px;align-items:stretch;flex-wrap:nowrap;width:100%}
.pc .pc-tel>.pc-cc,.pc .pc-tel>span,.pc .pc-tel>select{flex:0 0 auto;width:auto;min-width:4.6rem;max-width:6.6rem;margin:0;border:1px solid var(--line-2,#cdd6db);border-radius:10px;background:var(--card-2,#f4f8f8);color:var(--ink,#13232c);font-weight:700;padding:0 10px;font-size:16px}
.pc .pc-tel>span{display:grid;place-items:center}
.pc .pc-tel>select{display:block;min-height:46px;-webkit-appearance:menulist;appearance:auto}
.pc .pc-tel>input{flex:1 1 auto;min-width:0;width:auto;margin:0}
.pc .pc-ok{display:flex;align-items:flex-start;gap:8px;margin:.5rem 0 0;font-weight:500}
.pc .pc-ok input{flex:0 0 auto;margin-top:2px}
.pc-opt{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;vertical-align:middle;background:var(--brand-l,#e3f2f3);color:var(--brand-ink,#0a5f67)}
.pc-ec-help{margin:-.2rem 0 .7rem}
.ev-field small.muted{display:block;margin-top:2px}

/* Steps: the light green cards follow dark mode */
:root[data-theme="dark"] .st-hero{background:linear-gradient(135deg,#0f2f27,#0f2a2d)}
:root[data-theme="dark"] .st-k{color:#6ee7b7}
:root[data-theme="dark"] .st-today b,:root[data-theme="dark"] .st-week b{color:#a7f3d0}
:root[data-theme="dark"] .st-today span,:root[data-theme="dark"] .st-week span,:root[data-theme="dark"] .st-live span{color:var(--ink-2,#b3c3ca)}
:root[data-theme="dark"] .st-bar{background:#14513d}
:root[data-theme="dark"] .st-live{background:#0f2f27}
:root[data-theme="dark"] .st-live b{color:#86efac}
@media (prefers-color-scheme:dark){
  :root[data-theme="system"] .st-hero{background:linear-gradient(135deg,#0f2f27,#0f2a2d)}
  :root[data-theme="system"] .st-k{color:#6ee7b7}
  :root[data-theme="system"] .st-today b,:root[data-theme="system"] .st-week b{color:#a7f3d0}
  :root[data-theme="system"] .st-today span,:root[data-theme="system"] .st-week span,:root[data-theme="system"] .st-live span{color:var(--ink-2,#b3c3ca)}
  :root[data-theme="system"] .st-bar{background:#14513d}
  :root[data-theme="system"] .st-live{background:#0f2f27}
  :root[data-theme="system"] .st-live b{color:#86efac}
}

/* Family & caretakers: each person with Change and Remove */
.fc-list{display:flex;flex-direction:column;gap:10px;margin:.4rem 0 .6rem}
.fc-row{border:1px solid var(--line,#e2e8eb);border-radius:14px;padding:10px 12px;background:var(--card,#fff)}
.fc-row summary{list-style:none;cursor:pointer;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.fc-row summary::-webkit-details-marker{display:none}
.fc-row summary b{font-size:1.02rem}
.fc-row summary .fc-edit{margin-left:auto;font-weight:700;color:var(--brand-ink,#0a5f67);font-size:.9rem}
.fc-row[open] summary .fc-edit{visibility:hidden}
.fc-tags{display:flex;flex-wrap:wrap;gap:6px}
.fc-tag{font-size:.75rem;font-weight:700;padding:1px 8px;border-radius:999px;background:var(--card-2,#f4f8f8);color:var(--ink-2,#44545e);border:1px solid var(--line,#e2e8eb)}
.fc-tag.em{background:var(--bad-l,#fce8e6);color:var(--bad,#c0362c);border-color:transparent}
.fc-tag.ok{background:var(--ok-l,#e3f4ea);color:var(--ok,#1c8a4e);border-color:transparent}
.fc-sub{width:100%;color:var(--ink-3,#5b6b75);font-size:.9rem;overflow-wrap:anywhere}
.fc-form{margin-top:.7rem}
.fc-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:.4rem}
.ph134 .ph134-cc,.ph134a select{background:var(--input-bg,#fff);color:var(--ink,#13232c)}

/* Health & Wellness Score, Steps sync link, Premium lock tags: dark mode (they were light boxes with light text) */
:root[data-theme="dark"] .st-token,:root[data-theme="dark"] .wh-cap,:root[data-theme="dark"] .xp-soon,:root[data-theme="dark"] .wh-steps{background:#3a2a12;border-color:#6b4f1d;color:var(--ink,#e6eef1)}
:root[data-theme="dark"] .wh-steps.ok,:root[data-theme="dark"] .wh-m.lv0{background:#12321f;border-color:#1f5e3a;color:var(--ink,#e6eef1)}
:root[data-theme="dark"] .wh-m.lv1{background:#352710;border-color:#6b4f1d;color:var(--ink,#e6eef1)}
:root[data-theme="dark"] .wh-m.lv2{background:#3a1916;border-color:#7a2e28;color:var(--ink,#e6eef1)}
:root[data-theme="dark"] .wh-m.lv3{background:#4a1714;border-color:#b4413a;color:var(--ink,#e6eef1)}
:root[data-theme="dark"] .wh-m.lvx{background:#1c2b31;color:var(--ink,#e6eef1)}
:root[data-theme="dark"] .st-chart span.none{background:#2a3a41}
:root[data-theme="dark"] .prm-st.locked{background:#3a2a12;color:#fdba74;border-color:#7c4a1a}
:root[data-theme="dark"] .prm-tag.free{background:#334155;color:#e2e8f0}
@media (prefers-color-scheme:dark){
  :root[data-theme="system"] .st-token,:root[data-theme="system"] .wh-cap,:root[data-theme="system"] .xp-soon,:root[data-theme="system"] .wh-steps{background:#3a2a12;border-color:#6b4f1d;color:var(--ink,#e6eef1)}
  :root[data-theme="system"] .wh-steps.ok,:root[data-theme="system"] .wh-m.lv0{background:#12321f;border-color:#1f5e3a;color:var(--ink,#e6eef1)}
  :root[data-theme="system"] .wh-m.lv1{background:#352710;border-color:#6b4f1d;color:var(--ink,#e6eef1)}
  :root[data-theme="system"] .wh-m.lv2{background:#3a1916;border-color:#7a2e28;color:var(--ink,#e6eef1)}
  :root[data-theme="system"] .wh-m.lv3{background:#4a1714;border-color:#b4413a;color:var(--ink,#e6eef1)}
  :root[data-theme="system"] .wh-m.lvx{background:#1c2b31;color:var(--ink,#e6eef1)}
  :root[data-theme="system"] .st-chart span.none{background:#2a3a41}
  :root[data-theme="system"] .prm-st.locked{background:#3a2a12;color:#fdba74;border-color:#7c4a1a}
  :root[data-theme="system"] .prm-tag.free{background:#334155;color:#e2e8f0}
}
