/* Shared finishing rules for utility screens. Theme colors remain user controlled. */
html[data-design="refined"] .phoneShell :is(button,input,select,textarea){font-family:var(--r-sans,"Nunito",sans-serif)}
html[data-design="refined"] .phoneShell :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--luma-link,#a74d71)!important;outline-offset:3px!important}
html[data-design="refined"] .phoneShell .appScreen :is(.hubSection,.settingsList){min-width:0;max-width:100%;box-sizing:border-box}
html[data-design="refined"] .phoneShell :is(.hubSection,.settingsList) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),select,textarea){box-sizing:border-box;min-width:0;max-width:100%;font-size:16px;line-height:1.5;color:var(--luma-text);background:var(--luma-surface-card);border:1px solid var(--luma-border);border-radius:15px;padding:12px 14px;min-height:48px}
html[data-design="refined"] .phoneShell .utilityDisclosure{margin:16px 0;padding:0!important;border:1px solid var(--luma-border)!important;border-radius:20px!important;background:var(--luma-surface-card)!important;overflow:visible!important}
html[data-design="refined"] .phoneShell .utilityDisclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:17px 18px!important;margin:0!important;font:700 14px/1.5 var(--r-sans)!important;color:var(--luma-text-heading)!important;list-style:none;cursor:pointer;text-align:left!important}
html[data-design="refined"] .phoneShell .utilityDisclosure>summary::-webkit-details-marker{display:none}
html[data-design="refined"] .phoneShell .utilityDisclosure>summary::after{content:none!important}
html[data-design="refined"] .phoneShell .utilityDisclosure>summary>span{transition:transform .18s;flex:0 0 auto}
html[data-design="refined"] .phoneShell .utilityDisclosure[open]>summary>span{transform:rotate(180deg)}
html[data-design="refined"] .phoneShell .utilityDisclosure>:not(summary){margin:0 16px 16px!important}
html[data-design="refined"] .phoneShell .utilityHint{font:400 12px/1.6 var(--r-sans);color:var(--luma-text-muted)}
html[data-design="refined"] .phoneShell #clinicalReportScreen #reportSectionToggles{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
html[data-design="refined"] .phoneShell #clinicalReportScreen :is(#reportSectionToggles .toggleRow,#reportDoctorQuestions label){display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;gap:12px!important;min-height:48px!important;height:auto!important;padding:13px!important;border:1px solid var(--luma-border)!important;border-radius:14px!important;background:var(--luma-surface-inset)!important;color:var(--luma-text)!important;font:600 13px/1.5 var(--r-sans)!important;text-align:left!important;white-space:normal!important;overflow:visible!important}
html[data-design="refined"] .phoneShell #clinicalReportScreen input[type="checkbox"]{flex:0 0 20px!important;width:20px!important;height:20px!important;margin:0!important;accent-color:var(--luma-link)}
html[data-design="refined"] .phoneShell #clinicalReportPreview{box-sizing:border-box;margin:18px 0!important;padding:20px!important;max-height:440px!important;overflow:auto!important;border:1px solid var(--luma-border)!important;border-radius:20px!important;background:var(--luma-surface-card)!important;color:var(--luma-text)!important;white-space:pre-wrap!important;overflow-wrap:anywhere;font:400 13px/1.8 var(--r-sans)!important}
html[data-design="refined"] .phoneShell #reportDoctorQuestions{display:grid;gap:8px}
html[data-design="refined"] .phoneShell #wearablesHubContent .utilityHero{padding:0 0 18px!important;margin:0 0 16px!important;border:0!important;background:transparent!important;box-shadow:none!important}
html[data-design="refined"] .phoneShell #wearablesHubContent .utilityHero h2{font:600 29px/1.16 var(--r-display)!important;margin:10px 0!important}
html[data-design="refined"] .phoneShell #wearablesHubContent .utilityHero p:last-child{font:400 13px/1.7 var(--r-sans)!important;color:var(--luma-text-muted)!important}
html[data-design="refined"] .phoneShell #wearablesHubContent #wearableManualImport{margin:18px 0 0!important;padding:18px!important;border:1px solid var(--luma-border)!important;border-radius:22px!important;background:var(--luma-surface-card)!important}
html[data-design="refined"] .phoneShell #wearablesHubContent .manualImportHero h3{font:600 24px/1.2 var(--r-display)!important}
html[data-design="refined"] .phoneShell #wearablesHubContent .manualImportHero p{font-weight:400!important;font-size:13px!important;line-height:1.65!important}
html[data-design="refined"] .phoneShell #wearablesHubContent .importChoiceGrid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
html[data-design="refined"] .phoneShell #wearablesHubContent .field{display:grid;gap:7px;margin:18px 0!important;font-size:13px}
html[data-design="refined"] .phoneShell #wearablesHubContent .field :is(select,textarea){width:100%}
html[data-design="refined"] .phoneShell #wearablesHubContent #healthKitPanel{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html[data-design="refined"] .phoneShell #medicationsScreen .medEmptyState{padding:20px!important;border:1px solid var(--luma-border)!important;border-radius:22px!important}
html[data-design="refined"] .phoneShell #medicationsScreen .medEmptyState h2{font:600 28px/1.16 var(--r-display)!important;margin:9px 0!important}
html[data-design="refined"] .phoneShell #medicationsScreen :is(.medQuickChip,.medicationRow button){min-height:44px!important;white-space:normal!important;line-height:1.4!important}
html[data-design="refined"] .phoneShell #medicationsScreen .medFormGrid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
html[data-design="refined"] .phoneShell #medicationsScreen .field :is(input,select){width:100%;min-height:48px!important;font-size:16px!important}
html[data-design="refined"] .phoneShell #profileScreen.youPage #notificationsHub{height:auto!important;max-height:none!important;overflow:visible!important}
html[data-design="refined"] .phoneShell #profileScreen.youPage #notificationsHub>summary{height:auto!important;min-height:78px!important;white-space:normal!important}
html[data-design="refined"] .phoneShell #profileScreen.youPage #notificationsHub>summary :is(strong,small,span){min-width:0;overflow-wrap:anywhere}
html[data-design="refined"] .phoneShell #lumaSheetOverlay.lumaChatRedesign :is(.lumaSheetHeaderActions>button,.lumaChatOptions>summary,.lumaSheetClose){width:40px!important;min-width:40px!important;min-height:44px!important;height:44px!important}
html[data-design="refined"] .phoneShell #lumaSheetOverlay.lumaChatRedesign .lumaSheetHeader{gap:6px!important}
html[data-design="refined"] .phoneShell #lumaSheetOverlay.lumaChatRedesign .lumaHeaderBloom{flex:0 0 30px;width:30px;height:34px;font-size:23px}
html[data-design="refined"] .phoneShell #lumaSheetOverlay.lumaChatRedesign .lumaMessageControls{display:flex;flex-wrap:wrap;gap:4px}
html[data-design="refined"] .phoneShell #lumaSheetOverlay.lumaChatRedesign .lumaMessageControls button{min-height:40px!important;font-size:12px!important;padding:8px!important}
html[data-design="refined"] .phoneShell .appScreen.active{scroll-padding-bottom:110px;padding-bottom:calc(112px + env(safe-area-inset-bottom))}
html[data-design="refined"] .phoneShell input[type="checkbox"]{accent-color:var(--luma-link);width:18px;height:18px}
@media(max-width:360px){html[data-design="refined"] .phoneShell #lumaSheetOverlay.lumaChatRedesign .lumaHeaderBloom{display:none!important}html[data-design="refined"] .phoneShell #lumaSheetOverlay.lumaChatRedesign .lumaSheet{padding-inline:12px!important}}
@media(prefers-reduced-motion:reduce){html[data-design="refined"] .phoneShell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
html[data-design="refined"] .phoneShell #lumaSheetOverlay.lumaChatRedesign .lumaChatMenu .lumaConcierge{display:block!important;padding:12px 0 4px!important;margin:8px 4px 2px!important;border:0!important;border-top:1px solid var(--luma-border)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
html[data-design="refined"] .phoneShell #lumaSheetOverlay.lumaChatRedesign .lumaChatMenu .lumaConcierge::before,html[data-design="refined"] .phoneShell #lumaSheetOverlay.lumaChatRedesign .lumaChatMenu .lumaConcierge::after{content:none!important}
html[data-design="refined"] .phoneShell #homeFertilityConfidenceCard .fertilityConfidenceMeter{display:none!important}
html[data-design="refined"] .phoneShell #fertilityConfidenceScore{font:600 26px/1.2 var(--r-display)!important;letter-spacing:-.02em}
html[data-design="refined"] .phoneShell #homeFertilityConfidenceCard .fertilityConfidenceScoreRow{display:grid!important;gap:6px!important;text-align:left!important}
