/* Mobile hierarchy: actions first, optional explanations on demand. */
.quick-reminder-info>summary,.shop-search-details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--accent)}
.quick-reminder-info>summary::before,.shop-search-details>summary::before{content:'›';font-size:1.2rem}
.quick-reminder-info[open]>summary::before,.shop-search-details[open]>summary::before{content:'⌄'}
.quick-reminder-info>summary:focus-visible,.shop-search-details>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(min-width:761px){.shop-search-details:not([open])>.shop-search-order{display:grid}.shop-search-details>summary{display:none}}
@media(max-width:760px){
 .calm-shell .main{padding-left:14px;padding-right:14px}
 .calm-shell .topbar{margin-bottom:14px;gap:8px;padding-top:16px;padding-bottom:0}
 .calm-shell .topbar h1{font-size:1.5rem;line-height:1.2}
 .calm-shell .app-footer,.calm-shell .topbar-date{display:none}
 .calm-shell input:not([type=checkbox]):not([type=radio]),.calm-shell select,.calm-shell textarea{font-size:16px}
 .calm-shell .quick-reminder-card{padding:16px;margin:0 0 16px;gap:10px}
 .calm-shell .quick-reminder-heading{margin:0 0 12px;gap:10px}
 .calm-shell .quick-reminder-heading h2{font-size:1.1rem;margin:0}
 .calm-shell .quick-reminder-heading p,.calm-shell .reminder-art{display:none}
 .calm-shell #quick-reminder{gap:10px}
 .calm-shell #quick-reminder label{margin:0;gap:5px;font-size:.8rem;line-height:1.4}
 .calm-shell #quick-reminder input{min-height:46px;padding:10px 12px}
 .calm-shell .reminder-presets{gap:5px;margin:0}
 .calm-shell .reminder-presets button{min-height:44px;padding:8px;font-size:.75rem}
 .calm-shell #quick-reminder button[type=submit]{min-height:46px;margin:0}
 .calm-shell .quick-reminder-status:empty{display:none}
 .calm-shell .quick-reminder-info{margin:0}
 .calm-shell .quick-reminder-info .quick-reminder-help{margin:0 0 8px;line-height:1.5}
 .calm-shell .home-reminders{margin:0;padding:0;list-style:none}
 .calm-shell .home-reminders li{padding:8px 0}
 .calm-shell .reminder-organize-link{min-height:44px;margin:0;padding:8px;font-size:.8rem}
 .calm-shell .organize-sections,.calm-shell .profile-sections{margin-bottom:12px;padding:3px;border-radius:14px}
 .calm-shell .organize-sections button,.calm-shell .profile-sections button{min-height:44px;padding:8px 4px}
 .calm-shell .family-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:3px;gap:2px;margin:0 0 12px}
 .calm-shell .family-tabs button{min-width:0;min-height:58px;padding:5px 2px;font-size:.7rem;line-height:1.3;display:flex;flex-direction:column;gap:5px;justify-content:center}
 .calm-shell .family-tabs:has(>button:only-child){display:none}
 .calm-shell .organizer-hub>.section-medals,.calm-shell .well-space>.well-section-medals{display:none}
 .calm-shell .organizer-context{margin-bottom:10px;padding:8px 10px}
 .calm-shell .organizer-controls{margin-bottom:10px}
 .calm-shell .organizer-compact-filters{margin:8px 0}
 .calm-shell .organizer-compact-filters>summary{min-height:44px;padding:10px 12px;line-height:1.4}
 .calm-shell .organizer-views{margin:10px 0;padding:3px}
 .calm-shell .organizer-views button{min-height:44px;padding:7px 5px}
 .calm-shell .tools-intro{display:none}
 .calm-shell .tool-niches{gap:6px;margin:10px 0}
 .calm-shell .tool-niches button{min-height:44px;padding:8px 10px}
 .calm-shell .tool-library{padding:10px;margin-bottom:12px}
 .calm-shell .tool-library summary{min-height:44px;padding:8px}
 .calm-shell .tool-workspace-header{margin:10px 0;padding:0}
 .calm-shell .tool-workspace-header h2{font-size:1.3rem}
 .calm-shell .tool-inputs,.calm-shell .tool-output{padding:14px}
 .calm-shell .tool-jump{position:static;margin:10px 0;min-height:44px}
 .calm-shell .well-top{margin:0 0 10px}
 .calm-shell .well-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:10px 0 16px}
 .calm-shell .well-tabs button{width:auto;min-width:0;min-height:70px;font-size:.7rem;padding:7px 3px;line-height:1.3}
 .calm-shell .well-hero{padding-top:0;margin-top:0}
 .calm-shell .well-hero h2{font-size:1.2rem;margin:8px 0 12px}
 .calm-shell .settings-intro{display:none}
 .calm-shell .simple-settings{gap:8px}
 .calm-shell .simple-settings>a,.calm-shell .simple-settings>button{padding:14px;min-height:74px}
 .calm-shell .shop-summary{margin:10px 0 6px;gap:8px}
 .calm-shell .shop-summary>div{padding:10px;gap:2px;border-radius:12px}
 .calm-shell .shop-summary strong{font-size:1.15rem}
 .calm-shell .shop-summary span{font-size:.73rem;line-height:1.35}
 .calm-shell .shop-unknown{font-size:.75rem;margin:6px 0}
 .calm-shell .shop-filters{padding:12px;margin:10px 0;border-radius:16px}
 .calm-shell .shop-filter-heading{gap:5px}
 .calm-shell .shop-filter-heading h2{font-size:.95rem}
 .calm-shell .shop-filter-heading button{min-height:44px;padding:8px;font-size:.73rem}
 .calm-shell .shop-store-chips{padding:8px 0}
 .calm-shell .shop-filters .life-tabs{margin:4px 0}
 .calm-shell .shop-filters .life-tabs button{min-height:44px}
 .calm-shell .shop-search-order{margin-top:6px}
 .calm-shell .schedule-filter-row{margin:8px 0 4px}
 .calm-shell .schedule-zone{font-size:.7rem;margin:6px 0 10px}
 .calm-shell .schedule-mode-month .calendar{grid-auto-rows:minmax(70px,auto)}
 .calm-shell .schedule-mode-month .calendar-day{min-height:70px}
 .calm-shell .schedule-mode-month .schedule-event.compact .schedule-event-time{display:none}
 .calm-shell .schedule-mode-month .schedule-event.compact strong{font-size:.68rem;line-height:1.25}
 .calm-shell .schedule-mode-month .schedule-event.compact{min-height:32px}
 .calm-shell .schedule-home{padding:14px;margin:14px 0}
}
@media(max-width:760px){.calm-shell .topbar{padding-top:0}.calm-shell .well-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.calm-shell .well-tabs button{min-height:62px;font-size:.78rem;white-space:normal;overflow-wrap:anywhere}.calm-shell .quick-reminder-info,.calm-shell .shop-search-details{padding:0;border:0;margin:4px 0;background:transparent}.calm-shell .quick-reminder-info>summary,.calm-shell .shop-search-details>summary{padding:6px 0;min-height:44px;line-height:1.4}.calm-shell .quick-reminder-card .home-reminders{padding:0;margin:0}}
@media(max-width:760px){dialog input:not([type=checkbox]):not([type=radio]),dialog select,dialog textarea{font-size:16px}dialog input:not([type=checkbox]):not([type=radio]),dialog select{min-height:44px}}
