/* October 2026 mobile card design. Existing IDs, forms and storage are retained. */
:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#10283f;background:#eaf2f8;font-size:16px;--card-line:#bfd5e7;--navy:#102d49;--red:#bc1730}
body{background:linear-gradient(155deg,#edf5fb,#e5eef7);min-height:100vh}.legacy-welcome,.screen-hidden{display:none!important}
header{position:sticky;top:0;z-index:50;background:linear-gradient(120deg,#10283f,#0c3459);padding:12px 14px;padding-top:max(12px,env(safe-area-inset-top));box-shadow:0 4px 14px #0b284521}
header .inner{display:grid;gap:12px;max-width:650px;align-items:center}.brand{font-size:1.15rem;line-height:1.3;letter-spacing:-.02em;position:relative;padding-right:90px}.brand small{font-size:.85rem;line-height:1.3;font-weight:500;color:#c1d2e3;margin-top:3px}.brand .area{position:absolute;right:0;top:2px;border:1px solid #7091af;max-width:85px;font-size:.75rem;border-radius:7px;padding:5px 8px;font-weight:500;color:#d3e2ee;line-height:1.25}
.header-actionbar{display:grid;grid-template-columns:50px minmax(0,1.25fr) minmax(0,1fr);gap:8px;align-items:stretch}.back-to-top{font:inherit!important;font-size:.8rem!important;min-height:48px!important;padding:5px!important;border:1px solid #547390!important;border-radius:10px!important;background:#173e61!important;color:#fff!important}.pinned-911{display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(120deg,#ca1733,#ae1430);color:white;text-decoration:none;border-radius:10px;border:1px solid #ff8597;min-height:48px;padding:8px}.pinned-911 strong{font-size:1.25rem;white-space:nowrap}.pinned-911 span{font-size:.8rem;font-weight:650}.header-alarm{margin:0;border:0;padding:0;max-width:none;display:flex;flex-direction:column;justify-content:center;align-items:stretch}.header-alarm button{border:1px solid #9bb1c7;background:#173b5d;border-radius:10px;font-size:.875rem;min-height:48px;padding:7px 6px}.header-alarm #alarm-status{font-size:.6875rem;margin:3px 0 0;text-align:center;line-height:1.2;color:#d2e1ec}.header-alarm #alarm-stop{background:#fff;color:#b21731}.header-alarm.is-sounding button{background:#ba1730;color:#fff}
main{max-width:680px;padding:16px 14px 28px;margin:0 auto}h2{font-size:1.6rem;line-height:1.18;letter-spacing:-.035em;color:#08203c}h3{letter-spacing:-.025em;line-height:1.3}.location,.card,.area-picker,.quick-sections{border:1px solid var(--card-line);background:#fafdff;border-radius:16px;box-shadow:0 4px 14px #16345106}.location{padding:18px;margin:12px 0}.location h2{margin-bottom:10px}.location p,.note{color:#465e74;font-size:1rem;line-height:1.45}.intro{font-size:.875rem;margin:12px 4px;color:#526b81}.area-picker{margin-top:0;border:1.5px solid #89accd;background:linear-gradient(155deg,#fff,#edf6ff)}.area-picker #locate{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin:14px 0;background:#102d49;border:0;border-radius:10px;font-weight:750;font-size:1.05rem}.area-picker #locate::before{content:'⌖';margin-right:9px;font-size:1.5rem}#current-area{font-weight:550;font-size:.95rem}label{color:#203951;font-weight:650}input,select,textarea{background:#fff;border:1px solid #b4c7db;border-radius:10px;min-height:48px;padding:12px;font-size:1rem}.zip-row{gap:8px}.zip-row button{border-radius:10px;padding:8px 14px;font-size:.9rem}.area-picker #save-choices{width:100%;border:0;min-height:48px;font-size:1rem}#choices-status{background:#ecf7f0;border-radius:9px;padding:9px 11px;color:#20613e;font-size:.875rem}#area-status{font-size:.875rem}.location-actions{gap:8px}.location-actions button,.location-actions a,.location button{border-radius:10px;border:1px solid #bccfe0;font-weight:750;min-height:46px}.location-actions button:not([data-saved=true]),.location-actions a{background:#102d49;color:#fff}.location-actions button[id*='clear'],.location-actions button[id*='cancel'],.location-actions button[id*='forget']{background:#edf4fa;color:#24445f}.location #clear-location{background:#edf4fa;color:#24445f}
.quick-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px;background:#fff;margin:16px 0}.quick-sections h2{grid-column:1/-1;font-size:1.1rem;margin:0 0 3px}.quick-sections a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px;padding:12px 6px;border:0;background:linear-gradient(140deg,#eef7ff,#e5f0fb);border-radius:13px;color:#102d49;font-size:.85rem;font-weight:750;text-align:center;line-height:1.25;text-decoration:none}.quick-sections a:hover{background:#d8eafa;color:#0d3965}.tile-icon{display:flex;color:#1265c7;width:30px;height:30px}.tile-icon svg{width:100%;height:100%}.tile-icon.fire,.tile-icon.medications,.tile-icon.crisis{color:#cb183c}.tile-icon.community,.tile-icon.community-services{color:#1767bd}
#directory>section{margin:0 0 18px}.section-title{border:0;padding:0;margin:8px 0 14px}.grid{grid-template-columns:1fr;gap:12px}.card,#directory .card{padding:17px;margin:0;border-radius:15px;box-shadow:none;background:linear-gradient(135deg,#fff,#f4f9ff);border:1px solid #a8c5df}.card h3,#directory .card h3{font-size:1.2rem;margin:0 0 7px;color:#102944}.card .note{font-size:.95rem;color:#526b81}.calls{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;align-items:stretch}.calls.single{grid-template-columns:1fr}.call{background:#102d49;color:#fff;border:0;border-radius:10px;min-height:64px;padding:10px;gap:4px;overflow-wrap:anywhere}.call strong{font-size:.8rem;font-weight:600;color:#dce8f3}.call span{font-size:1.05rem;font-weight:750}.call small{font-size:.75rem;color:#dce8f3}.call small:last-child{font-weight:750;color:#fff}.call.urgent{background:#b91c37;color:#fff;border:0}.call.urgent strong,.call.urgent small{color:#fff}.directions-action{display:flex;align-items:center;justify-content:center;text-decoration:none;min-height:64px;border:1px solid #a9c3db;background:#e7f1fb;color:#123f67;font-size:1.05rem;font-weight:750;border-radius:10px;padding:10px}.directions-action::before{content:'↗';margin-right:8px;font-size:1.25rem}.links{gap:10px;margin-top:10px;font-size:.8rem}.links a{color:#4d6c84}.links a.directions-link{background:#e8f2fc;color:#174776;border:1px solid #c0d4e7;border-radius:9px;font-size:1rem;font-weight:750;text-decoration:none;min-height:46px;padding:10px 14px}
.community-services{background:#fff;border:1px solid var(--card-line);border-radius:16px;padding:17px}.community-services>summary{font-size:1.5rem;font-weight:800;color:#10283f;min-height:46px}.community-section{border:1px solid #c1d5e5;border-radius:13px;padding:14px;background:#f6faff;margin:12px 0}.community-section>summary h2{font-size:1.15rem;margin:0}.community-section .section-title{margin:0 0 10px}.more-info,.settings,.alarm-help{font-size:.875rem}.more-info summary,.settings summary{min-height:44px;display:flex;align-items:center;font-weight:650}.personal-contacts .card{padding:16px;margin:12px 0;border-radius:14px}.personal-contacts .card h3{font-size:1.3rem;margin-bottom:4px}.personal-contacts .card .contact-meta{font-size:1rem;margin:0 0 4px;color:#4d657c}.personal-contacts .card .contact-number{font-size:1.12rem;margin:0 0 12px;color:#152f48;font-weight:650}.personal-contacts .calls{margin:0}.personal-contacts .call{min-height:48px;padding:12px}.personal-contacts .call strong{font-size:1rem;color:#fff}.personal-contacts details{margin-top:10px}.personal-contacts .card p[role=status]{font-size:.8rem}.personal-contacts .card label{font-size:.9rem}.personal-contacts input{margin-bottom:6px}.personal-contacts summary{color:#1762a2;font-weight:750}
#med-list .card{display:block;padding:16px;margin:12px 0;border-radius:14px;background:#fafdff}#med-list .card h3{font-size:1.2rem;margin-bottom:7px}#med-list .card p{font-size:.95rem;margin:5px 0;line-height:1.4}#med-list .card .saved-note{font-size:.8rem;color:#287349}#med-list .card .location-actions{margin-top:12px;justify-content:flex-end;flex-wrap:wrap}#med-list .card .location-actions button{font-size:.875rem;padding:8px 13px;min-height:44px}.schedule-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.schedule-chip{padding:7px 15px;border-radius:30px;font-size:.875rem;font-weight:800;background:#edf3f8;color:#214663}.schedule-chip.am{background:#d6efff;color:#064d7a}.schedule-chip.am::before{content:'☀';margin-right:6px}.schedule-chip.pm{background:#e6dfff;color:#483797}.schedule-chip.pm::before{content:'☾';margin-right:6px}.med-allergy-note{background:#fff0f3;border:1px solid #f0b5c1;border-radius:10px;padding:12px}.med-tabs{gap:8px}.med-tabs button{min-height:44px;border-radius:24px!important;padding:8px 14px!important}.med-tabs button[aria-pressed=true]{background:#102d49;color:#fff;outline:none!important;border-color:#102d49}#show-medications{width:100%;font-size:1rem}#med-print,#med-share{flex:1;font-size:.9rem}.medications #med-editor{border:1px solid #c4d7e6;border-radius:12px;padding:12px;margin-top:16px;background:#f1f7fc}.medications #med-editor summary{font-size:1rem;color:#164a75}.med-times{border:1px solid #bfd1e2;border-radius:10px}.med-times legend{font-size:.875rem}.med-times label{font-size:.9rem}
footer{margin-bottom:12px}.fixed{display:none!important}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #efb532!important;outline-offset:3px!important}main>section[id],main>details[id],#directory h2{scroll-margin-top:var(--app-header-offset,155px)}
@media(min-width:700px){header .inner{grid-template-columns:minmax(0,1fr) 350px;max-width:1000px}.brand{padding-right:90px;font-size:1.2rem}main{max-width:760px}.quick-sections a{min-height:106px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calls{grid-template-columns:1fr 1fr}.calls.single{grid-template-columns:1fr}.card h3{font-size:1.1rem}}
@media(max-width:370px){.pinned-911 span{display:none}.brand{font-size:1.05rem}.header-actionbar{grid-template-columns:44px minmax(0,1.1fr) minmax(0,1fr)}.quick-sections{gap:6px;padding:10px}.quick-sections a{font-size:.78rem}main{padding:12px 10px}.location{padding:14px}h2{font-size:1.4rem}}
@media(prefers-reduced-motion:no-preference){.call,.quick-sections a,.directions-action{transition:background .15s,transform .15s}.call:active,.quick-sections a:active{transform:scale(.985)}}

.home-tools{display:flex;gap:16px;flex-wrap:wrap;padding:4px 3px 10px;font-size:.8rem;color:#496c89}.home-tools a{min-height:36px;display:flex;align-items:center}
/* Match the approved screenshot: navy identity/alarm row, full-width red 911 card. */
header{padding:0;background:#0d2c46;box-shadow:0 3px 14px #0b284521}
header .inner{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:12px;max-width:680px;padding:16px 14px 10px;padding-top:max(16px,env(safe-area-inset-top));align-items:center}
.brand{padding:0;font-size:1.05rem;letter-spacing:-.03em;min-width:0}
.brand-home{font:inherit;font-weight:800;color:white;border:0;background:transparent;text-align:left;padding:0;min-height:32px;line-height:1.2;letter-spacing:-.035em;cursor:pointer}
.brand small{font-size:.85rem;margin-top:2px;line-height:1.3;color:#e0eaf3}.brand .area{display:none}
.header-alarm button{background:#dc0c30;border:1px solid #f48799;border-radius:7px;font-size:.9rem;font-weight:750;min-height:42px;padding:8px 4px}.header-alarm #alarm-status{font-size:.75rem;line-height:1.3;margin:4px 0 0;color:#eef4fa;white-space:nowrap}
.emergency-header{background:#f7fbff;padding:8px 10px 0;border-radius:9px 9px 0 0}
.pinned-911{display:flex;justify-content:space-between;gap:8px;max-width:652px;margin:0 auto;border:0;border-radius:11px;padding:12px;background:linear-gradient(120deg,#c41332,#ac0c2b);min-height:76px;color:white}
.pinned-911 strong{display:block;font-size:1.9rem;font-weight:800;line-height:1.1;letter-spacing:-.035em}.pinned-911 span{display:block;font-size:.875rem;font-weight:500;margin-top:5px;line-height:1.25}.pinned-911 b{font-size:1rem;border:1px solid #ef9eac;border-radius:8px;padding:10px;white-space:nowrap}
.dispatcher-note{max-width:652px;margin:0 auto;padding:8px 8px 10px;color:#4b6073;font-size:.875rem;line-height:1.3}
main{padding-top:0;background:#f7fbff;max-width:680px}.area-picker{padding:12px;border:1px solid #749abf;border-radius:12px;background:linear-gradient(140deg,#fff,#f0f7fd)}.area-picker h2{font-size:1.45rem;margin:0 0 6px}.area-picker .area-intro{margin:0;line-height:1.35;font-size:.95rem}.area-picker #locate{margin:12px 0 8px;min-height:44px;border-radius:7px}
#zip-form{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px;align-items:center;margin-top:6px}#zip-form label{margin:0;font-size:.95rem}.zip-row{display:block}.zip-row button{display:none}input,select{min-height:40px;padding:8px 10px;border-radius:7px}.city-row{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px;align-items:center;margin-top:8px}.city-row label{margin:0;font-size:.95rem}
.area-picker>.location-actions{margin:12px 0 6px}.area-picker #save-choices{min-height:44px;border-radius:7px}.area-picker #choices-status{margin:0;padding:10px;font-size:.875rem;text-align:center;font-weight:650;border-radius:7px}
.area-options{margin-top:8px;font-size:.8rem}.area-options summary{color:#476680;min-height:32px;display:flex;align-items:center}.area-options button{margin:6px 6px 0 0;background:#eef5fb;color:#183f61;font-size:.875rem}.area-options p{font-size:.875rem}
.quick-sections{padding:12px;gap:7px;border:1px solid #749abf;border-radius:12px;margin:12px 0}.quick-sections h2{font-size:1.2rem;margin-bottom:4px}.quick-sections a{flex-direction:row;gap:7px;text-align:left;justify-content:flex-start;min-height:55px;padding:8px;font-size:.8rem;border-radius:11px}.tile-icon{width:27px;height:27px;flex-shrink:0}
@media(max-width:370px){header .inner{padding-left:10px;padding-right:10px;grid-template-columns:minmax(0,1fr) 100px;gap:8px}.brand{font-size:.95rem}.brand small{font-size:.75rem}.pinned-911 strong{font-size:1.65rem}.pinned-911 span{display:block;font-size:.75rem}.pinned-911 b{font-size:.875rem;padding:9px}.quick-sections a{padding:6px;font-size:.75rem;gap:4px}.tile-icon{width:23px;height:23px}}
/* Shared screen and card layouts from all six approved references. */
#directory>section,.community-services,.personal-contacts,.medications,#location-section,.settings,.alarm-help,.directory-info{background:linear-gradient(135deg,#fff,#f3f9fe);border:1px solid #84a9c9;border-radius:12px;padding:14px;margin:0 0 14px}
#directory .section-title{margin:0 0 12px;padding:0;border:0}#directory h2,.location h2{font-size:1.5rem;line-height:1.2;letter-spacing:-.035em}.card,#directory .card{border:1px solid #a2bdd8;border-radius:10px;background:linear-gradient(130deg,#fff,#f4faff);padding:13px}.card h3,#directory .card h3{font-size:1.15rem;line-height:1.25;margin:0 0 5px}.grid{gap:10px}
.service-label,.service-address,.service-number{margin:3px 0;color:#395572;line-height:1.35}.service-label,.service-address{font-size:.95rem}.service-number{font-size:1.2rem;font-weight:750;color:#0d2b49;margin-bottom:8px}.calls{margin:8px 0 0;gap:8px}.calls .call,.directions-action{min-height:44px;padding:10px;border-radius:7px}.calls .call strong{font-size:1rem;color:#fff}.calls .call span{font-size:1rem}.directions-action{background:#0d2c46;color:#fff;border:0;font-size:1rem}.directions-action::before{content:none}.hospital-card .call{background:#d20b30}.service-info{margin-top:7px;font-size:.8rem}.service-info summary{min-height:28px;color:#53728b}.service-info p{margin-top:6px}.links{margin-top:4px;font-size:.75rem}.links a{min-height:28px}
.community-section{padding:12px;background:#f6fbff;border:1px solid #b4cce0;border-radius:10px}.community-services>summary{font-size:1.45rem;min-height:40px}.community-section>summary .section-title{margin:0!important}.community-section[open]>summary{margin-bottom:12px}.community-section .service-card:has(.calls.single){display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px}.community-section .service-card:has(.calls.single)>h3,.community-section .service-card:has(.calls.single)>.service-label,.community-section .service-card:has(.calls.single)>.service-number{grid-column:1}.community-section .service-card:has(.calls.single)>.calls{grid-column:2;grid-row:1/4;align-self:center;margin:0;max-width:108px}.community-section .service-card:has(.calls.single)>.service-info,.community-section .service-card:has(.calls.single)>.links{grid-column:1/-1}
.personal-contacts>.card{position:relative;padding:13px;margin:10px 0}.personal-contacts .has-contact h3{padding-right:50px}.personal-contacts .has-contact>details:not([open])>summary{position:absolute;top:13px;right:13px;list-style:none;min-height:32px;color:#076cd5}.personal-contacts .has-contact>details[open]{border-top:1px solid #c4d5e5;padding-top:10px}.personal-contacts .contact-number{font-size:1.05rem;margin:3px 0 9px}.personal-contacts .calls .call{min-height:44px}.personal-contacts .calls .call[href^='tel:'] strong::before{content:'☎';margin-right:8px}.personal-contacts .calls .call[href^='sms:'] strong::before{content:'●';margin-right:8px}.personal-contacts .card>p[role=status]:empty{display:none}.personal-contacts>.note{font-size:.9rem;margin:5px 0}
#show-medications{display:none}#med-count{font-size:.875rem;color:#4c647c;margin:6px 0}.med-filters{margin:8px 0;font-size:.875rem}.med-filters>summary{min-height:32px;color:#476780}#med-list .card{position:relative;min-height:96px;padding:13px 76px 13px 13px;margin:10px 0}#med-list .card h3{font-size:1.1rem}#med-list .card p{font-size:.9rem}#med-list .card .saved-note{display:none}#med-list .card>.location-actions{position:absolute;right:12px;top:18px;margin:0}#med-list .card>.location-actions button{font-size:.9rem;padding:8px 13px;border-radius:7px;min-height:42px}.med-remove{margin-top:8px;font-size:.8rem;color:#567087}.med-remove summary{min-height:24px}.med-remove button{margin-top:6px;font-size:.875rem}.schedule-chip{padding:6px 13px;font-size:.875rem}.med-allergy-note{font-size:.95rem;padding:12px;margin:12px 0;border-radius:8px}.medications #med-editor{padding:0;border:0;margin:10px 0;background:transparent}.medications #med-editor>summary{display:flex;align-items:center;justify-content:center;background:#0d2c46;color:white;border-radius:7px;min-height:44px;font-weight:750;list-style:none}.medications #med-editor[open]>summary{margin-bottom:12px}.medications #med-editor form{border:1px solid #b1c7da;border-radius:10px;padding:12px;background:#f6faff}.med-export-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.med-export-actions #med-print,.med-export-actions #med-share{background:#f5faff;color:#102d49;border:1px solid #102d49;border-radius:7px;min-height:44px;font-size:.95rem}.med-allergy-editor{border:1px solid #b4cadc;border-radius:10px;padding:10px;margin-top:12px}.med-allergy-editor summary{font-weight:750;min-height:32px;color:#194c75}.med-allergy-editor[open] summary{margin-bottom:10px}.more-info{font-size:.875rem}.more-info summary{color:#4d6d85}.settings>summary,.alarm-help>summary,.directory-info>summary{font-size:1.35rem;font-weight:800;color:#10283f;min-height:44px}.settings button{margin:5px 6px 5px 0;border-radius:7px}.settings p,.alarm-help p,.directory-info p{font-size:.95rem;line-height:1.4}.school-search,.private-school,.provider-picker,.water-picker{border-radius:10px!important;background:#f6fbff!important}.links a.directions-link{background:#0d2c46;color:white;border:0;border-radius:7px;min-height:44px;font-size:.95rem}.location-actions a{border-radius:7px}
@media(max-width:370px){.community-section .service-card:has(.calls.single){display:block}.community-section .service-card:has(.calls.single)>.calls{max-width:none;margin:8px 0 0}#directory>section,.personal-contacts,.medications,.community-services{padding:12px}.card,#directory .card{padding:11px}}
.schedule-chip.am{background:linear-gradient(120deg,#b8e8ff,#88d4ff);border:1px solid #7ecbf2;color:#07395f}.schedule-chip.pm{background:linear-gradient(120deg,#e1d5ff,#c8b7ff);border:1px solid #bcabf8;color:#251570}.schedule-chip.am::before,.schedule-chip.pm::before{font-size:1.05rem}.tile-icon.police svg path:first-child,.tile-icon.fire svg path{fill:currentColor}.tile-icon.police svg path:last-child{stroke:#fff}.tile-icon.medications svg path:last-child{fill:currentColor}.tile-icon.medications svg path:first-child{stroke:#fff}.tile-icon.personal-contacts svg circle,.tile-icon.community-services svg circle{fill:currentColor}
/* Quick access: complete icon set and labels that fit at phone widths. */
.quick-sections{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}.quick-sections a{min-width:0;max-width:100%;overflow:hidden;gap:7px;padding:10px 8px}.quick-sections .tile-label{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.3}.quick-sections .tile-icon{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px}.quick-sections .tile-icon svg{display:block;flex:none;width:28px;height:28px;fill:none;stroke:currentColor}.quick-sections .tile-icon svg path{fill:revert;stroke:revert}
@media(max-width:430px){.quick-sections a{flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;min-height:90px;gap:7px;padding:10px 6px;font-size:.875rem}.quick-sections .tile-label{width:100%;overflow-wrap:normal;word-break:normal;hyphens:none}.quick-sections .tile-icon{flex:0 0 28px}.quick-sections{gap:7px;padding:10px}}
@media(max-width:340px){.quick-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-sections a{min-height:86px}}
.quick-sections .tile-icon svg [fill='currentColor']{fill:currentColor}.quick-sections .tile-icon svg [fill='white']{fill:#fff}.quick-sections .tile-icon svg [stroke='none']{stroke:none}.quick-sections .tile-icon svg [stroke='white']{stroke:#fff}
.doctor-contacts{border-top:1px solid #b7cde0;padding-top:18px;margin-top:20px}.doctor-contacts>h2{font-size:1.4rem}.doctor-contacts>.note{font-size:.9rem;line-height:1.45;margin:8px 0 12px}.doctor-contacts .doctor-card{position:relative;margin:10px 0;padding:13px}.doctor-card .doctor-email,.doctor-card .doctor-address{overflow-wrap:anywhere;font-size:.95rem;line-height:1.4;color:#385872;margin:4px 0 8px}.doctor-card .doctor-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.doctor-card .doctor-actions .call{min-width:0;min-height:44px}.doctor-card .doctor-actions .call[href^='mailto:'] strong::before{content:'✉';margin-right:8px}.doctor-contacts .has-contact h3{padding-right:50px}.doctor-contacts .has-contact>details:not([open])>summary{position:absolute;top:13px;right:13px;list-style:none;min-height:32px;color:#076cd5}.doctor-contacts .has-contact>details[open]{border-top:1px solid #c4d5e5;padding-top:10px}.doctor-contacts .doctor-card>p[role=status]:empty{display:none}.doctor-contacts .doctor-card label{font-size:.9rem}.doctor-contacts .doctor-card input{margin-bottom:6px}

.backup-settings{border-top:1px solid #b7cde0;margin-top:18px;padding-top:15px}.backup-settings h2{font-size:1.3rem}.backup-settings .note{line-height:1.5}.backup-settings button{min-height:44px}.backup-settings #backup-status{overflow-wrap:anywhere}

.home-services{min-width:0}.home-services>h2{color:#082748}.home-services>p{line-height:1.5}.home-services select{width:100%;min-height:48px;margin:8px 0 16px}.home-service-category{border:1px solid #94b5d0;border-radius:14px;padding:12px;margin:12px 0;background:#f6faff}.home-service-category>summary{font-weight:700;color:#082748;min-height:34px;cursor:pointer}.home-service-card{margin-top:12px;padding:14px;min-width:0}.home-service-card h3{font-size:1.15rem;overflow-wrap:anywhere;margin:0 0 8px;color:#082748}.home-service-card p{overflow-wrap:anywhere}.home-service-badge{color:#076341;font-size:.9rem;font-weight:700}.home-service-rating{color:#805300;font-weight:700}.home-service-address{color:#385872;font-size:.95rem}.home-service-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.home-service-actions .call{min-width:0;min-height:44px;font-weight:700;text-align:center;white-space:normal;overflow-wrap:anywhere}.home-service-actions .call:last-child{grid-column:1/-1}.home-service-source{font-size:.85rem;line-height:1.5}.home-service-source summary{cursor:pointer;color:#385872;min-height:32px}.home-service-category>.note{margin:12px 0 0}

.home-service-explore,.home-service-contribute{margin:22px 0;padding:18px;border:1px solid #a8c5e1;border-radius:14px;background:#fff}.home-service-explore>summary{font-weight:800;cursor:pointer}.home-service-search-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-service-search-links .call{white-space:normal;overflow-wrap:anywhere;text-align:center;font-size:15px;padding:12px 8px}.home-service-contribute .home-service-actions{grid-template-columns:1fr}.home-service-contribute .call{white-space:normal;text-align:center}
