/* Aging Well uses the existing FrenchieOS palette and type system. */
.aging-entry { width: 100%; min-height: 108px; padding: 15px; border: 1px solid rgba(20,184,166,.45); border-radius: 22px; background: radial-gradient(circle at 100% 0,rgba(20,184,166,.26),transparent 48%),linear-gradient(135deg,#0f2d50,#17476a); color: #fff; display: grid; grid-template-columns: 39px minmax(0,1fr); align-items: center; gap: 12px; text-align: left; box-shadow: 0 11px 23px rgba(15,45,80,.13); }
.aging-entry-mark { width: 39px; height: 39px; border-radius: 13px; background: rgba(255,255,255,.14); color: #aaf4e7; display: grid; place-items: center; font-size: 24px; }
.aging-entry-copy { min-width: 0; display: grid; gap: 4px; }
.aging-entry-copy small,.aging-hero-copy small,.aging-stage small,.aging-section-head small,.aging-path small,.aging-article-lead small,.aging-habit-offer small,.aging-question-action small,.aging-source small { font-size: 10px; font-weight: 800; line-height: 1.3; letter-spacing: .08em; }
.aging-entry-copy small { color: #a8e9e1; font-size: 9px; }
.aging-entry-copy strong { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 21px; font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.aging-entry-copy strong span { font-size: 19px; }
.aging-entry-copy em { color: #e2f0f2; font-size: 12px; font-style: normal; line-height: 1.35; }
.aging-entry-copy b { margin-top: 7px; color: #fff; font-size: 12px; font-weight: 800; }
.aging-entry-copy b span { margin-left: 4px; }
.health-setup { padding: 13px 14px; border: 1px solid #c4dedc; border-radius: 18px; background: #fff; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; }
.health-setup small { display: block; color: var(--teal-deep); font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.health-setup strong { display: block; margin-top: 3px; color: var(--navy); font-size: 14px; font-weight: 800; line-height: 1.2; }
.health-setup p { margin: 4px 0 0; color: var(--muted-brand); font-size: 12px; line-height: 1.35; }
.health-setup button { min-height: 44px; padding: 7px 11px; border: 0; border-radius: 11px; background: var(--teal-wash); color: var(--navy); font-size: 12px; font-weight: 800; }
.health-setup button span { display: block; font-size: 16px; }
.health-recent { padding: 11px 13px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; }
.health-recent div { min-width: 0; }
.health-recent small { font-size: 9px; }
.health-recent strong { font-size: 13px; line-height: 1.3; }
.health-recent button { min-height: 44px; padding: 8px 10px; white-space: nowrap; }
.health-more > div > small { margin-top: 5px; color: var(--teal-deep); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.health-more > div > small:not(:first-child) { margin-top: 12px; }
.aging-hero { position: relative; min-height: 216px; padding: 23px; border-radius: 29px; background: radial-gradient(circle at 95% 15%,rgba(20,184,166,.55),transparent 37%),linear-gradient(135deg,#0a223d,#0f2d50 65%,#11595e); color: #fff; overflow: hidden; box-shadow: 0 16px 30px rgba(15,45,80,.17); }
.aging-hero::before { content: ""; position: absolute; width: 175px; height: 175px; right: -48px; bottom: -71px; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.055),0 0 0 56px rgba(255,255,255,.035); }
.aging-hero-art { position: absolute; right: 17px; bottom: 20px; width: 100px; height: 100px; padding: 4px; border-radius: 28px; background: rgba(255,255,255,.88); transform: rotate(7deg); box-shadow: 0 12px 24px rgba(0,0,0,.17); }
.aging-hero-art img { width: 100%; height: 100%; border-radius: 24px; object-fit: cover; }
.aging-hero-copy { position: relative; z-index: 1; max-width: 72%; }
.aging-hero-copy small { color: #b7f0e8; }
.aging-hero-copy h2 { margin: 12px 0 10px; font: 800 clamp(26px,7vw,38px)/1.05 var(--font-ui); letter-spacing: -.055em; }
.aging-hero-copy h2 span { margin-left: 5px; color: var(--coral); font-size: 22px; vertical-align: top; }
.aging-hero-copy p { max-width: 26ch; margin: 0; color: #e5f2f3; font-size: 13px; line-height: 1.5; }
.aging-stage { padding: 15px; border: 1px solid #bde6df; border-radius: 21px; background: #e5f7f3; color: var(--navy); display: flex; align-items: flex-start; gap: 12px; }
.aging-stage-icon { width: 38px; height: 38px; border-radius: 13px; background: #fff; color: var(--teal-deep); display: grid; place-items: center; flex: 0 0 38px; font-size: 27px; }
.aging-stage small { color: var(--teal-deep); }
.aging-stage strong { display: block; margin: 3px 0 4px; font-size: 18px; font-weight: 800; line-height: 1.15; }
.aging-stage p { margin: 0; color: #425d66; font-size: 12px; line-height: 1.4; }
.aging-section-head { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.aging-section-head small { color: var(--teal-deep); }
.aging-section-head h2 { margin: 4px 0 0; color: var(--navy); font: 800 22px/1.1 var(--font-ui); letter-spacing: -.04em; }
.aging-section-head button { min-height: 40px; padding: 0 9px; border: 0; border-radius: 11px; background: var(--teal-wash); color: var(--navy); font-size: 11px; font-weight: 800; white-space: nowrap; }
.aging-paths { display: grid; gap: 9px; }
.aging-path { width: 100%; min-height: 94px; padding: 14px; border: 1px solid var(--line-brand); border-radius: 21px; background: #fff; display: grid; grid-template-columns: 48px minmax(0,1fr) 18px; align-items: center; gap: 12px; text-align: left; color: var(--navy); box-shadow: 0 7px 19px rgba(15,45,80,.055); }
.aging-path:first-child { border-color: #93d8cc; box-shadow: 0 9px 23px rgba(20,184,166,.1); }
.aging-path-icon { width: 48px; height: 48px; border-radius: 16px; background: var(--teal-wash); color: var(--teal-deep); display: grid; place-items: center; font-size: 27px; font-weight: 700; }
.aging-path:nth-child(2) .aging-path-icon { background: var(--coral-wash); color: #a84739; }
.aging-path:nth-child(3) .aging-path-icon { background: var(--navy-wash); color: var(--navy); }
.aging-path:nth-child(4) .aging-path-icon { background: #f5ecd9; color: #76602c; }
.aging-path small { display: block; color: var(--teal-deep); }
.aging-path strong { display: block; margin: 4px 0 2px; font-size: 15px; font-weight: 800; line-height: 1.15; }
.aging-path em { color: var(--muted-brand); font-size: 11px; font-style: normal; line-height: 1.3; }
.aging-path b { font-size: 22px; font-weight: 600; }
.aging-saved { padding: 18px; border: 1px solid var(--line-brand); border-radius: 25px; background: #fff; }
.aging-saved-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 15px; }
.aging-saved-grid button { min-height: 91px; padding: 12px; border: 0; border-radius: 17px; background: var(--navy-wash); color: var(--navy); display: flex; align-items: center; gap: 10px; text-align: left; }
.aging-saved-grid button:last-child { background: var(--teal-wash); }
.aging-saved-grid strong { font-size: 28px; font-weight: 800; }
.aging-saved-grid span { font-size: 12px; font-weight: 800; line-height: 1.2; }
.aging-saved-grid small { display: block; margin-top: 5px; font-size: 10px; font-weight: 700; }
.aging-saved > p { margin: 13px 1px 0; color: var(--muted-brand); font-size: 11px; line-height: 1.4; }
.aging-article { padding: 20px; border: 1px solid var(--line-brand); border-radius: 25px; background: #fff; box-shadow: 0 8px 22px rgba(15,45,80,.055); }
.aging-article-lead { padding-bottom: 18px; border-bottom: 1px solid var(--line-brand); }
.aging-article-lead > span { width: 52px; height: 52px; margin-bottom: 16px; border-radius: 17px; background: var(--teal-wash); color: var(--teal-deep); display: grid; place-items: center; font-size: 30px; }
.aging-article-lead small { color: var(--teal-deep); }
.aging-article-lead h2 { margin: 8px 0 0; color: var(--navy); font: 800 23px/1.18 var(--font-ui); letter-spacing: -.04em; }
.aging-age-note { margin-top: 17px; padding: 13px 14px; border-left: 4px solid var(--teal); border-radius: 12px; background: var(--teal-wash); }
.aging-age-note small { color: var(--teal-deep); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.aging-age-note p { margin: 5px 0 0; color: var(--navy); font-size: 12px; font-weight: 700; line-height: 1.45; }
.aging-article section { padding: 19px 0 0; }
.aging-article h3 { margin: 0 0 7px; color: var(--navy); font-size: 16px; font-weight: 800; line-height: 1.25; }
.aging-article section p,.aging-article-context { margin: 0; color: #354957; font-size: 14px; line-height: 1.65; }
.aging-article-context { margin-top: 18px; padding: 13px; border-radius: 13px; background: var(--teal-wash); }
.aging-source { margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line-brand); }
.aging-source small { display: block; color: var(--teal-deep); }
.aging-source a { display: inline-block; margin-top: 6px; color: var(--navy); font-size: 12px; font-weight: 800; line-height: 1.4; }
.aging-source a + a { display: block; }
.aging-habit-offer { padding: 18px; border: 1px solid #bce4de; border-radius: 22px; background: var(--teal-wash); }
.aging-habit-offer small { color: var(--teal-deep); }
.aging-habit-offer h2 { margin: 5px 0 5px; color: var(--navy); font-size: 18px; line-height: 1.2; }
.aging-habit-offer p { margin: 0; color: #3d5661; font-size: 12px; line-height: 1.45; }
.aging-habit-offer button,.aging-question-action button { width: 100%; min-height: 48px; margin-top: 14px; padding: 9px 14px; border: 0; border-radius: 13px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; }
.aging-habit-offer button:disabled { background: #fff; color: var(--teal-deep); }
.aging-question-action { padding: 16px; border: 1px solid #bacbcf; border-radius: 21px; background: var(--off-white); box-shadow: 0 8px 22px rgba(15,45,80,.08); }
.aging-question-action small { color: var(--teal-deep); }
.aging-question-action p { margin: 6px 0 0; color: var(--navy); font-size: 13px; font-weight: 700; line-height: 1.4; }
.aging-question-action button { margin-top: 10px; background: var(--teal-deep); }
.aging-question-action button[aria-pressed="true"] { background: #fff; color: var(--teal-deep); border: 1px solid var(--teal-deep); }
.aging-disclaimer { margin: -5px 4px 8px; color: var(--muted-brand); font-size: 11px; line-height: 1.45; }
.science-guide { display: grid; gap: 14px; }
.science-guide-hero { min-height: 170px; padding: 20px; border: 1px solid #214c70; border-radius: 24px; background: radial-gradient(circle at 100% 0,rgba(20,184,166,.23),transparent 43%),linear-gradient(140deg,#0f2d50,#173f60); color: #fff; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.science-guide-hero > div { max-width: 410px; }
.science-guide-hero small,.science-section-heading small { color: #a9e9df; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.science-guide-hero h2 { margin: 8px 0; font: 800 25px/1.1 var(--font-ui); letter-spacing: -.045em; }
.science-guide-hero p { margin: 0; color: #e0edf2; font-size: 13px; line-height: 1.5; }
.science-guide-hero > span { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 13px; background: rgba(255,255,255,.12); color: #a9e9df; display: grid; place-items: center; font-size: 23px; }
.science-study-card,.science-explainer,.science-today { padding: 17px; border: 1px solid var(--line-brand); border-radius: 21px; background: #fff; box-shadow: 0 7px 19px rgba(15,45,80,.045); }
.science-study-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.science-study-top > div > small,.science-known-unknown small { color: var(--teal-deep); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.science-study-top h2 { margin: 5px 0 0; color: var(--navy); font-size: 19px; font-weight: 800; line-height: 1.15; }
.science-status-pill { flex: 0 0 auto; min-height: 27px; padding: 6px 8px; border: 1px solid #ead5a4; border-radius: 999px; background: #fff7e6; color: #70551b; display: inline-flex; align-items: center; gap: 6px; font-size: 8px; font-weight: 800; letter-spacing: .04em; }
.science-status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #d49c2d; }
.science-source-date { margin: 8px 0 0; color: var(--muted-brand); font-size: 10px; line-height: 1.35; }
.science-status-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.science-status-grid > div { min-height: 86px; padding: 10px; border: 1px solid #dbe5e5; border-radius: 14px; background: #f8faf8; display: grid; align-content: start; gap: 3px; }
.science-status-grid small { color: var(--muted-brand); font-size: 8px; font-weight: 800; letter-spacing: .05em; }
.science-status-grid strong { color: var(--navy); font-size: 15px; font-weight: 800; }
.science-status-grid span { color: #4a5f69; font-size: 10px; line-height: 1.35; }
.science-study-summary,.science-explainer > p { margin: 12px 0 0; color: #354957; font-size: 12px; line-height: 1.55; }
.science-inline-link { display: inline-block; min-height: 42px; margin-top: 5px; padding: 12px 0 0; color: var(--navy); font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.science-dog-context { padding: 14px; border: 1px solid #b8ded8; border-radius: 18px; background: linear-gradient(120deg,#e7f7f3,#fff); display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: start; gap: 9px; }
.science-dog-context > span { width: 32px; height: 32px; border-radius: 11px; background: #fff; color: var(--teal-deep); display: grid; place-items: center; font-size: 19px; }
.science-dog-context small { color: var(--teal-deep); font-size: 8px; font-weight: 800; letter-spacing: .055em; line-height: 1.4; }
.science-dog-context p { margin: 5px 0 0; color: var(--navy); font-size: 11px; font-weight: 650; line-height: 1.45; }
.science-dog-context .science-study-range { padding-top: 7px; border-top: 1px solid #c8e2dc; color: #4b5f67; font-size: 10px; font-weight: 500; }
.science-section-heading h2 { margin: 4px 0 0; color: var(--navy); font-size: 19px; font-weight: 800; line-height: 1.2; }
.science-section-heading p { margin: 5px 0 0; color: var(--muted-brand); font-size: 11px; line-height: 1.4; }
.science-explainer-callout { margin-top: 12px; padding: 12px; border-left: 3px solid var(--coral); border-radius: 0 12px 12px 0; background: #fff4ef; display: grid; gap: 5px; }
.science-explainer-callout strong { color: var(--navy); font-size: 11px; font-weight: 800; }
.science-explainer-callout span { color: #4b555a; font-size: 11px; line-height: 1.45; }
.science-known-unknown { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.science-known-unknown article { min-width: 0; padding: 13px; border: 1px solid var(--line-brand); border-radius: 17px; background: #fff; }
.science-known-unknown article:last-child { border-color: #f0c3b8; background: #fff8f4; }
.science-known-unknown article:last-child small { color: #9b4b40; }
.science-known-unknown h3 { margin: 6px 0; color: var(--navy); font-size: 13px; font-weight: 800; line-height: 1.25; }
.science-known-unknown p { margin: 0; color: #465a64; font-size: 10px; line-height: 1.45; }
.science-today .science-section-heading small { color: var(--teal-deep); }
.science-care-links { margin-top: 11px; display: grid; gap: 7px; }
.science-care-links button { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid #d5e3e1; border-radius: 12px; background: #f8fbfa; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; font-size: 11px; font-weight: 800; }
.science-care-links button span { color: var(--teal-deep); font-size: 17px; }
.science-question { margin-top: 0; }
.science-sources { margin-top: 0; padding: 14px; border: 1px solid var(--line-brand); border-radius: 17px; background: #fff; }
.science-sources a { display: block; }
.science-guide button:focus-visible,.science-guide a:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.dental-guide { display: grid; gap: 16px; }
.dental-guide-intro { min-height: 146px; padding: 20px; border: 1px solid #b8ded8; border-radius: 24px; background: radial-gradient(circle at 100% 0,rgba(20,184,166,.18),transparent 44%),linear-gradient(135deg,#fff,#eef8f5); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dental-guide-intro > div { max-width: 420px; }
.dental-guide-intro small,.dental-section-heading small { color: var(--teal-deep); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.dental-guide-intro h2 { margin: 7px 0 8px; color: var(--navy); font: 800 23px/1.16 var(--font-ui); letter-spacing: -.04em; }
.dental-guide-intro p { margin: 0; color: #41545e; font-size: 13px; line-height: 1.5; }
.dental-guide-intro > span { flex: 0 0 43px; width: 43px; height: 43px; border-radius: 14px; background: #fff; color: var(--coral); display: grid; place-items: center; font-size: 26px; box-shadow: 0 5px 14px rgba(15,45,80,.08); }
.dental-guide > .aging-age-note { margin-top: 0; }
.dental-section-heading { margin-bottom: 11px; }
.dental-section-heading h2 { margin: 5px 0 4px; color: var(--navy); font: 800 20px/1.17 var(--font-ui); letter-spacing: -.035em; }
.dental-section-heading p { margin: 0; color: var(--muted-brand); font-size: 12px; line-height: 1.45; }
.dental-step-list { display: grid; gap: 12px; }
.dental-step { overflow: hidden; border: 1px solid var(--line-brand); border-radius: 22px; background: #fff; box-shadow: 0 7px 18px rgba(15,45,80,.055); }
.dental-photo-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #ece8df; color: #fff; text-align: left; cursor: zoom-in; }
.dental-photo-open img { display: block; width: 100%; height: clamp(178px,53vw,246px); object-fit: cover; object-position: center 48%; }
.dental-photo-open > span { position: absolute; right: 11px; bottom: 11px; min-height: 34px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.7); border-radius: 11px; background: rgba(15,45,80,.88); color: #fff; font-size: 11px; font-weight: 800; }
.dental-photo-open:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; }
.dental-step-copy { padding: 15px 16px 16px; }
.dental-step-copy > small { color: var(--teal-deep); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.dental-step-copy h3 { margin: 5px 0 6px; color: var(--navy); font-size: 18px; font-weight: 800; line-height: 1.2; }
.dental-step-copy > p { margin: 0; color: #354957; font-size: 13px; line-height: 1.55; }
.dental-step-copy aside { margin-top: 11px; padding: 10px 11px; border-left: 3px solid var(--teal); border-radius: 0 11px 11px 0; background: var(--teal-wash); display: grid; gap: 3px; }
.dental-step-copy aside strong { color: var(--teal-deep); font-size: 11px; font-weight: 800; }
.dental-step-copy aside span { color: var(--navy); font-size: 12px; line-height: 1.4; }
.dental-faq details { border: 1px solid var(--line-brand); border-radius: 15px; background: #fff; }
.dental-faq details + details { margin-top: 8px; }
.dental-faq summary { min-height: 54px; padding: 13px 14px; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 800; line-height: 1.35; }
.dental-faq summary::-webkit-details-marker { display: none; }
.dental-faq summary > span { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 8px; background: var(--teal-wash); color: var(--teal-deep); display: grid; place-items: center; font-size: 17px; transition: transform .18s ease; }
.dental-faq details[open] summary > span { transform: rotate(45deg); }
.dental-faq details > p { margin: 0; padding: 0 14px 15px; color: #41545e; font-size: 13px; line-height: 1.55; }
.dental-vet-note { padding: 16px; border: 1px solid #f3c7b6; border-radius: 20px; background: linear-gradient(130deg,#fff4ed,#fff); display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 11px; }
.dental-vet-note > span { width: 38px; height: 38px; border-radius: 13px; background: var(--coral-wash); color: #a84739; display: grid; place-items: center; font-size: 22px; }
.dental-vet-note h2 { margin: 1px 0 6px; color: var(--navy); font-size: 16px; font-weight: 800; line-height: 1.22; }
.dental-vet-note p { margin: 0; color: #41545e; font-size: 12px; line-height: 1.5; }
.dental-source-link { min-height: 42px; margin-top: 8px; padding: 0; border: 0; background: transparent; color: var(--teal-deep); font: 800 12px/1.3 var(--font-ui); text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.dental-sources { margin: 0 2px 5px; }
.dental-sources a { display: block; margin-top: 7px; }
.dental-guide button:focus-visible,.dental-guide summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.mobility-guide { display: grid; gap: 16px; }
.mobility-guide-intro { min-height: 145px; padding: 20px; border: 1px solid #c5d2e1; border-radius: 24px; background: radial-gradient(circle at 100% 0,rgba(20,184,166,.15),transparent 45%),linear-gradient(135deg,#fff,#f0f5f9); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mobility-guide-intro > div { max-width: 420px; }
.mobility-guide-intro small,.mobility-section-heading small { color: var(--teal-deep); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.mobility-guide-intro h2 { margin: 7px 0 8px; color: var(--navy); font: 800 22px/1.17 var(--font-ui); letter-spacing: -.04em; }
.mobility-guide-intro p { margin: 0; color: #41545e; font-size: 13px; line-height: 1.5; }
.mobility-guide-intro > span { flex: 0 0 43px; width: 43px; height: 43px; border-radius: 14px; background: #fff; color: var(--teal-deep); display: grid; place-items: center; font-size: 27px; box-shadow: 0 5px 14px rgba(15,45,80,.08); }
.mobility-guide > .aging-age-note { margin-top: 0; }
.mobility-section-heading { margin-bottom: 11px; }
.mobility-section-heading h2 { margin: 5px 0 4px; color: var(--navy); font: 800 20px/1.17 var(--font-ui); letter-spacing: -.035em; }
.mobility-section-heading p { margin: 0; color: var(--muted-brand); font-size: 12px; line-height: 1.45; }
.mobility-sign-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.mobility-sign-grid > div { min-height: 72px; padding: 11px; border: 1px solid var(--line-brand); border-radius: 15px; background: #fff; display: flex; align-items: flex-start; gap: 8px; }
.mobility-sign-grid > div > span { flex: 0 0 23px; width: 23px; height: 23px; border-radius: 8px; background: var(--teal-wash); color: var(--teal-deep); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.mobility-sign-grid strong { align-self: center; color: var(--navy); font-size: 12px; font-weight: 800; line-height: 1.3; }
.mobility-step-list { display: grid; gap: 12px; }
.mobility-step { overflow: hidden; border: 1px solid var(--line-brand); border-radius: 22px; background: #fff; box-shadow: 0 7px 18px rgba(15,45,80,.055); }
.mobility-photo-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #ece8df; color: #fff; text-align: left; cursor: zoom-in; }
.mobility-photo-open img { display: block; width: 100%; height: clamp(178px,53vw,246px); object-fit: cover; object-position: center 50%; }
.mobility-photo-open > span { position: absolute; right: 11px; bottom: 11px; min-height: 34px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.7); border-radius: 11px; background: rgba(15,45,80,.88); color: #fff; font-size: 11px; font-weight: 800; }
.mobility-photo-open:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; }
.mobility-step-copy { padding: 15px 16px 16px; }
.mobility-step-copy > small { color: var(--teal-deep); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.mobility-step-copy h3 { margin: 5px 0 6px; color: var(--navy); font-size: 18px; font-weight: 800; line-height: 1.2; }
.mobility-step-copy > p { margin: 0; color: #354957; font-size: 13px; line-height: 1.55; }
.mobility-step-copy aside { margin-top: 11px; padding: 10px 11px; border-left: 3px solid var(--teal); border-radius: 0 11px 11px 0; background: var(--teal-wash); display: grid; gap: 3px; }
.mobility-step-copy aside strong { color: var(--teal-deep); font-size: 11px; font-weight: 800; }
.mobility-step-copy aside span { color: var(--navy); font-size: 12px; line-height: 1.4; }
.mobility-log-action { width: 100%; min-height: 78px; padding: 13px; border: 1px solid #9bd6cd; border-radius: 19px; background: linear-gradient(120deg,#e1f6f2,#fff); color: var(--navy); display: grid; grid-template-columns: 40px minmax(0,1fr) 18px; align-items: center; gap: 10px; text-align: left; }
.mobility-log-action > span:first-child { width: 40px; height: 40px; border-radius: 13px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 25px; font-weight: 500; }
.mobility-log-action > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.mobility-log-action small { color: var(--teal-deep); font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.mobility-log-action strong { font-size: 15px; font-weight: 800; line-height: 1.2; }
.mobility-log-action em { color: #49606b; font-size: 11px; font-style: normal; line-height: 1.35; }
.mobility-log-action > b { font-size: 22px; font-weight: 600; }
.mobility-urgent-note { padding: 14px; border: 1px solid #f0b3a7; border-radius: 18px; background: var(--coral-wash); display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: start; gap: 9px; }
.mobility-urgent-note > span { width: 30px; height: 30px; border-radius: 10px; background: #fff; color: #9a372f; display: grid; place-items: center; font-size: 18px; font-weight: 800; }
.mobility-urgent-note strong { color: #71332c; font-size: 13px; font-weight: 800; }
.mobility-urgent-note p { margin: 5px 0 0; color: #71332c; font-size: 12px; line-height: 1.5; }
.mobility-home-note { padding: 15px; border: 1px solid var(--line-brand); border-radius: 18px; background: #fff; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: start; gap: 9px; }
.mobility-home-note > span { width: 34px; height: 34px; border-radius: 11px; background: var(--navy-wash); color: var(--navy); display: grid; place-items: center; font-size: 19px; }
.mobility-home-note h2 { margin: 1px 0 5px; color: var(--navy); font-size: 15px; font-weight: 800; line-height: 1.25; }
.mobility-home-note p { margin: 0; color: #41545e; font-size: 12px; line-height: 1.5; }
.mobility-sources { margin: 0 2px 5px; }
.mobility-sources a { display: block; margin-top: 7px; }
.mobility-guide button:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
@media (min-width: 700px) {
  .dental-step-list { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; }
  .dental-step { display: flex; flex-direction: column; }
  .dental-step-copy { flex: 1; }
  .dental-photo-open img { height: 210px; }
}
.aging-care { padding: 17px; border: 1px solid #bce4de; border-radius: 23px; background: #fff; }
.aging-care > p,.aging-vet-topics > p { margin: 9px 0 6px; color: var(--muted-brand); font-size: 11px; line-height: 1.4; }
.aging-care-row { min-height: 75px; padding: 12px 0; border-top: 1px solid var(--line-brand); display: grid; grid-template-columns: 35px minmax(0,1fr) 27px; align-items: start; gap: 5px 9px; }
.aging-care-row:first-of-type { margin-top: 8px; }
.aging-care-check { grid-column: 1; grid-row: 1 / 3; width: 35px; height: 35px; padding: 0; border: 2px solid var(--teal-deep); border-radius: 11px; background: #fff; color: #fff; font-size: 18px; font-weight: 800; }
.aging-care-check[aria-pressed="true"] { background: var(--teal-deep); }
.aging-care-row > div { grid-column: 2; grid-row: 1; }
.aging-care-row strong { display: block; color: var(--navy); font-size: 12px; font-weight: 800; line-height: 1.22; }
.aging-care-row small { display: block; margin-top: 3px; color: var(--muted-brand); font-size: 10px; line-height: 1.3; }
.aging-care-row label { grid-column: 2; grid-row: 2; }
.aging-care-row select { max-width: 100px; min-height: 33px; padding: 0 6px; border: 1px solid var(--line-brand); border-radius: 9px; background: var(--off-white); color: var(--navy); font-size: 10px; font-weight: 800; }
.aging-care-remove,.aging-vet-row > button { grid-column: 3; grid-row: 1; width: 27px; height: 35px; padding: 0; border: 0; background: transparent; color: var(--muted-brand); font-size: 23px; line-height: 1; }
.aging-vet-topics { padding: 16px; border: 1px solid #bce4de; border-radius: 19px; background: #fff; }
.aging-vet-topics h2 { margin: 0; color: var(--navy); font-size: 17px; line-height: 1.2; }
.aging-vet-topics > button { min-height: 42px; margin-top: 7px; padding: 0 12px; border: 0; border-radius: 11px; background: var(--teal-wash); color: var(--navy); font-size: 11px; font-weight: 800; }
.aging-vet-row { padding: 11px 0; border-top: 1px solid var(--line-brand); display: flex; align-items: center; gap: 7px; }
.aging-vet-row label { min-width: 0; display: flex; align-items: flex-start; gap: 9px; flex: 1; }
.aging-vet-row input { margin-top: 3px; accent-color: var(--teal-deep); }
.aging-vet-row label span { min-width: 0; }
.aging-vet-row small { display: block; margin-bottom: 4px; color: var(--teal-deep); font-size: 10px; font-weight: 800; }
.aging-vet-row strong { color: var(--navy); font-size: 12px; font-weight: 700; line-height: 1.35; }
.aging-vet-preview { margin-top: 10px; padding-top: 10px; border-top: 1px solid #bfcbcf; }
.aging-vet-preview b { font-size: 12px; }
.aging-vet-preview p { margin: 8px 0 0; }
.body-guide-entry { width: 100%; min-height: 96px; padding: 16px; border: 1px solid #a8ded6; border-radius: 23px; background: linear-gradient(125deg,#e4f8f3,#fff 75%); display: grid; grid-template-columns: 45px minmax(0,1fr) 20px; align-items: center; gap: 11px; color: var(--navy); text-align: left; box-shadow: 0 8px 20px rgba(15,45,80,.07); }
.body-guide-entry > span:first-child { width: 45px; height: 45px; border-radius: 15px; background: #fff; color: var(--teal-deep); display: grid; place-items: center; font-size: 31px; }
.body-guide-entry small,.body-guide-section-heading small,.body-guide-step small,.body-guide-hero small { color: var(--teal-deep); font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.body-guide-entry strong { display: block; margin: 4px 0 2px; font-size: 17px; font-weight: 800; line-height: 1.15; }
.body-guide-entry em { color: #49606b; font-size: 12px; font-style: normal; line-height: 1.3; }
.body-guide-entry > b { font-size: 23px; }
.weight-hub { display: grid; gap: 14px; }
.weight-hub-summary { padding: 19px; border: 1px solid #bdd2e0; border-radius: 23px; background: linear-gradient(140deg,#0f2d50,#164865); color: #fff; box-shadow: 0 10px 24px rgba(15,45,80,.1); }
.weight-hub-copy > small,.weight-hub-heading small { color: #a9e9df; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.weight-hub-copy h2 { max-width: 450px; margin: 7px 0; font: 800 23px/1.12 var(--font-ui); letter-spacing: -.04em; }
.weight-hub-copy p { max-width: 450px; margin: 0; color: #e2edf2; font-size: 13px; line-height: 1.45; }
.weight-hub-metrics { margin-top: 17px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.weight-hub-metrics > div { min-width: 0; display: grid; align-content: start; gap: 3px; }
.weight-hub-metrics > div + div { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.22); }
.weight-hub-metrics small { color: #a9e9df; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.weight-hub-metrics strong { color: #fff; font-size: 19px; font-weight: 800; line-height: 1.2; }
.weight-hub-metrics span { color: #d2e0e7; font-size: 10px; line-height: 1.3; }
.weight-hub-age { margin-top: 0; }
.weight-hub-visual { padding: 16px; border: 1px solid var(--line-brand); border-radius: 22px; background: #fff; }
.weight-hub-heading h2 { margin: 4px 0; color: var(--navy); font-size: 18px; font-weight: 800; line-height: 1.2; }
.weight-hub-heading p { margin: 0; color: var(--muted-brand); font-size: 11px; line-height: 1.4; }
.weight-hub-heading small { color: var(--teal-deep); }
.weight-hub-photo-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.weight-hub-photo-grid > div { min-width: 0; overflow: hidden; border: 1px solid var(--line-brand); border-radius: 14px; background: #fbfaf7; }
.weight-hub-photo-grid .body-guide-open img { height: clamp(74px,23vw,118px); object-fit: cover; }
.weight-hub-photo-grid .body-guide-open > span { min-height: 24px; padding: 5px 2px; font-size: 9px; }
.weight-hub-photo-grid > div > strong,.weight-hub-photo-grid > div > small { display: block; padding: 0 7px; }
.weight-hub-photo-grid > div > strong { margin-top: 8px; color: var(--navy); font-size: 11px; font-weight: 800; line-height: 1.2; }
.weight-hub-photo-grid > div > small { min-height: 30px; padding-top: 3px; color: var(--muted-brand); font-size: 9px; line-height: 1.3; }
.weight-hub-guide-cta { width: 100%; min-height: 82px; padding: 13px; border: 1px solid #9bd6cd; border-radius: 19px; background: linear-gradient(120deg,#e1f6f2,#fff); color: var(--navy); display: grid; grid-template-columns: 42px minmax(0,1fr) 20px; align-items: center; gap: 10px; text-align: left; box-shadow: 0 7px 18px rgba(15,45,80,.055); }
.weight-hub-guide-cta > span:first-child { width: 42px; height: 42px; border-radius: 14px; background: #fff; color: var(--teal-deep); display: grid; place-items: center; font-size: 28px; }
.weight-hub-guide-cta > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.weight-hub-guide-cta small { color: var(--teal-deep); font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.weight-hub-guide-cta strong { font-size: 14px; font-weight: 800; line-height: 1.2; }
.weight-hub-guide-cta em { color: #49606b; font-size: 10px; font-style: normal; line-height: 1.3; }
.weight-hub-guide-cta > b { font-size: 21px; }
.weight-hub-history-link { min-height: 76px; background: #fff; box-shadow: none; }
.weight-hub-history-link > span:first-child { background: var(--navy-wash); color: var(--navy); }
.weight-hub-sources { margin: 0 3px; }
.weight-hub button:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.body-guide-hero { min-height: 170px; padding: 22px; border-radius: 26px; background: radial-gradient(circle at 93% 15%,#207072 0 50px,transparent 52px),linear-gradient(135deg,#0f2d50,#185068); color: #fff; display: flex; align-items: flex-start; gap: 10px; overflow: hidden; }
.body-guide-hero div { max-width: 290px; }
.body-guide-hero small { color: #aff0e7; }
.body-guide-hero h2 { margin: 8px 0 8px; font-size: clamp(23px,6vw,30px); font-weight: 800; letter-spacing: -.045em; line-height: 1.1; }
.body-guide-hero p { margin: 0; color: #e4f2f4; font-size: 13px; line-height: 1.4; }
.body-guide-hero > span { align-self: flex-end; color: var(--coral); font-size: 49px; }
.body-guide-steps { display: grid; gap: 10px; }
.body-guide-step { min-height: 145px; padding: 14px; border: 1px solid var(--line-brand); border-radius: 20px; background: #fff; display: grid; grid-template-columns: 114px minmax(0,1fr); align-items: center; gap: 11px; }
.body-guide-illustration { width: 114px; border-radius: 16px; background: #fff2e9; overflow: hidden; }
.body-guide-open { width: 100%; padding: 0; border: 0; background: #fff2e9; color: var(--navy); cursor: zoom-in; text-align: center; }
.body-guide-open img { display: block; width: 100%; height: 91px; object-fit: cover; }
.body-guide-open > span { display: block; min-height: 28px; padding: 6px 2px; background: #e7f6f2; color: var(--navy); font-size: 10px; font-weight: 800; line-height: 1.3; }
.body-guide-open:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: -3px; }
.body-guide-dialog-open { overflow: hidden; }
.body-guide-dialog { width: min(580px, calc(100% - 24px)); max-width: none; max-height: none; height: min(92dvh, 820px); margin: auto; padding: 0; border: 0; border-radius: 24px; background: var(--warm, #f8f5ee); color: var(--navy); box-shadow: 0 24px 80px rgba(5, 25, 50, .35); overflow: hidden; }
.body-guide-dialog::backdrop { background: rgba(6, 24, 45, .78); }
.body-guide-dialog[open] { display: flex; flex-direction: column; }
.body-guide-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: #fff; }
.body-guide-dialog-header small { display: block; color: var(--teal-deep); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.body-guide-dialog-header h2 { margin: 3px 0 0; color: var(--navy); font-size: 21px; line-height: 1.2; }
.body-guide-dialog-header button,.body-guide-zoom-controls button { min-width: 48px; min-height: 48px; border: 1px solid #bdd1d4; border-radius: 15px; background: #fff; color: var(--navy); font-size: 25px; font-weight: 600; }
.body-guide-image-viewport { min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; background: #f4ecdf; }
.body-guide-image-viewport:not(.is-zoomed) { display: flex; align-items: center; }
.body-guide-image-viewport img { display: block; width: 100%; max-width: none; height: auto; margin: 0 auto; }
.body-guide-dialog-footer { padding: 12px 18px max(12px, env(safe-area-inset-bottom)); background: #fff; }
.body-guide-dialog-footer p { margin: 0 0 10px; color: #41545e; font-size: 13px; line-height: 1.4; }
.body-guide-zoom-controls { display: flex; align-items: center; justify-content: center; gap: 18px; }
.body-guide-zoom-controls output { min-width: 56px; color: var(--navy); font-size: 15px; font-weight: 800; text-align: center; }
.body-guide-zoom-controls button:disabled { opacity: .45; }
.body-guide-dialog button:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.body-guide-step h2 { margin: 4px 0 5px; color: var(--navy); font-size: 18px; line-height: 1.15; }
.body-guide-step p { margin: 0; color: #41545e; font-size: 12px; line-height: 1.45; }
.body-guide-form-card,.body-guide-history,.body-weight-chart-card { padding: 19px; border: 1px solid var(--line-brand); border-radius: 24px; background: #fff; }
.body-guide-section-heading h2 { margin: 5px 0; color: var(--navy); font-size: 22px; font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.body-guide-section-heading p,.body-guide-history > p,.body-weight-chart-card > p { margin: 4px 0 0; color: var(--muted-brand); font-size: 12px; line-height: 1.4; }
.body-guide-form-card form { margin-top: 18px; display: grid; gap: 14px; }
.body-form-more { border: 1px solid #d5e3e1; border-radius: 14px; background: #f8fbfa; }
.body-form-more summary { min-height: 48px; padding: 13px 14px; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 800; list-style: none; }
.body-form-more summary::-webkit-details-marker { display: none; }
.body-form-more summary span { color: var(--teal-deep); font-size: 19px; line-height: 1; transition: transform .18s ease; }
.body-form-more[open] summary span { transform: rotate(45deg); }
.body-form-more-content { padding: 0 12px 13px; display: grid; gap: 12px; }
.body-guide-habit { margin-top: 0; }
.body-guide-habit h2 { font-size: 17px; }
.body-guide-form-card button:focus-visible,.body-form-more summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.body-guide-form-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.body-guide-form-card legend { margin-bottom: 9px; color: var(--navy); font-size: 14px; font-weight: 800; }
.body-rib-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.body-rib-options label { position: relative; min-height: 86px; cursor: pointer; }
.body-rib-options input { position: absolute; opacity: 0; }
.body-rib-options label > span { height: 100%; padding: 12px; border: 1.5px solid #cfdfde; border-radius: 15px; background: #f9fcfa; display: block; }
.body-rib-options strong { display: block; color: var(--navy); font-size: 13px; line-height: 1.2; }
.body-rib-options small { display: block; margin-top: 6px; color: #49606b; font-size: 11px; line-height: 1.35; }
.body-rib-options input:checked + span { border-color: var(--teal-deep); background: var(--teal-wash); box-shadow: inset 0 0 0 1px var(--teal-deep); }
.body-rib-options input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.body-form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.body-form-row label,.body-notes-label,.body-photo-label { min-width: 0; display: grid; gap: 6px; color: var(--navy); font-size: 12px; font-weight: 800; }
.body-form-row label > span,.body-notes-label > span,.body-photo-label > span { color: var(--muted-brand); font-weight: 500; }
.body-form-row input,.body-form-row select,.body-notes-label textarea,.body-photo-label input { min-width: 0; width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid #bfcfce; border-radius: 11px; background: #fff; color: var(--navy); font: 500 13px/1.3 var(--font-ui); }
.body-form-row select { padding-right: 2px; }
.body-notes-label textarea { resize: vertical; }
.body-weight-input { display: flex; align-items: center; border: 1px solid #bfcfce; border-radius: 11px; }
.body-weight-input input { border: 0; }
.body-weight-input > span { padding-right: 11px; color: var(--muted-brand); font-size: 12px; }
.body-photo-label small { color: var(--muted-brand); font-size: 11px; font-weight: 500; line-height: 1.35; }
.body-form-error { margin: 0; color: #9a372f; font-size: 12px; line-height: 1.3; }
.body-save-button { width: 100%; min-height: 49px; padding: 11px; border: 0; border-radius: 13px; background: var(--teal-deep); color: #fff; font-size: 14px; font-weight: 800; }
.body-save-button:disabled { opacity: .6; }
.body-guide-history { display: grid; gap: 11px; }
.body-note-row { padding-top: 11px; border-top: 1px solid var(--line-brand); display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 11px; align-items: start; }
.body-note-row img,.body-note-mark { width: 54px; height: 54px; border-radius: 13px; object-fit: cover; }
.body-note-mark { background: var(--teal-wash); color: var(--teal-deep); display: grid; place-items: center; font-size: 30px; }
.body-note-row small { color: var(--teal-deep); font-size: 10px; font-weight: 800; }
.body-note-row strong { display: block; margin-top: 4px; color: var(--navy); font-size: 13px; line-height: 1.3; }
.body-note-row p,.body-comparison { margin: 5px 0 0; color: #485c67; font-size: 12px; line-height: 1.4; }
.body-comparison { margin: 0; padding: 11px 12px; border-radius: 12px; background: var(--teal-wash); }
.body-guide-history button { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 12px; background: var(--navy-wash); color: var(--navy); font-size: 12px; font-weight: 800; text-align: left; }
.body-guide-footnote { margin: 0 3px; color: var(--muted-brand); font-size: 11px; line-height: 1.45; }
.body-guide-sources { padding: 0 3px; display: grid; gap: 5px; }
.body-guide-sources small { color: var(--teal-deep); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.body-guide-sources a { color: var(--navy); font-size: 12px; font-weight: 700; }
.body-weight-bars { height: 175px; margin-top: 17px; padding: 0 3px; border-bottom: 1px solid #bacbcf; display: flex; align-items: end; justify-content: space-around; gap: 6px; }
.body-weight-bars > div { min-width: 0; height: 100%; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; }
.body-weight-bars strong { flex: 0 0 auto; color: var(--navy); font-size: 10px; font-weight: 800; line-height: 1; white-space: nowrap; }
.body-weight-bars > div > span { flex-shrink: 1; max-height: 72%; width: min(100%,34px); border-radius: 8px 8px 2px 2px; background: linear-gradient(#14b8a6,#0d807e); }
.body-weight-bars > div:nth-child(2n) > span { background: linear-gradient(#ffae96,#ff7f6e); }
.body-weight-bars small { flex: 0 0 26px; max-width: 100%; color: var(--muted-brand); font-size: 9px; font-weight: 800; text-align: center; white-space: nowrap; }
@media (max-width: 355px) {
  .aging-hero-copy { max-width: 70%; }
  .aging-hero-art { width: 80px; height: 80px; right: 12px; }
  .aging-care-row { grid-template-columns: 33px minmax(0,1fr) 27px; }
  .body-guide-step { grid-template-columns: 92px minmax(0,1fr); }
  .body-guide-illustration { width: 92px; }
  .body-form-row { grid-template-columns: 1fr; }
}
@media print {
  .aging-vet-topics { display: none !important; }
}
