/* AlltagsPilot V15.3 – kompakter Modus, keine Änderung an App-Daten oder Server. */
.ap153-modebar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:2px 0 14px;padding:13px 15px;background:#14273b;border:1px solid #355064;border-radius:16px;color:#eaf5fa}
.ap153-modebar div{display:flex;flex-direction:column;gap:2px;min-width:0}
.ap153-modebar strong{font-size:14px;letter-spacing:-.2px;font-weight:760}
.ap153-modebar span{font-size:12px;color:#adc1d0;line-height:1.35}
#ap153-mode-toggle{border:1px solid #3d746e;background:#1e4544;color:#a2eee0;border-radius:12px;min-height:43px;padding:9px 12px;font-size:12px;font-weight:750;flex:0 0 auto;touch-action:manipulation}
#ap153-mode-toggle:focus-visible{outline:3px solid #a4f4e4;outline-offset:3px}
#day>.ap153-modebar{order:2}
#day>.ap12-section-heading{order:3}
#day>.v11-quick{order:4}
#day>.v8-stats{order:5}
#day>.v8-layout{order:6}
/* Standard: Nur Begrüßung, Sofortaktionen, Tageszahlen und nächste Aufgabe. */
html:not(.ap153-all) #day>.ap125-shortcuts,
html:not(.ap153-all) #day>.ap15-intro,
html:not(.ap153-all) #day>.ap151-home,
html:not(.ap153-all) #day>.ap152-home,
html:not(.ap153-all) #day>.ap12-firststart,
html:not(.ap153-all) #day>.v10-cloud-strip,
html:not(.ap153-all) #day>.ap13-home,
html:not(.ap153-all) #day>.ap14-home,
html:not(.ap153-all) #day>.ap126-center,
html:not(.ap153-all) #day>.ap124-layout-heading,
html:not(.ap153-all) #day>#ap124-customize-panel,
html:not(.ap153-all) #day>.v8-note,
html:not(.ap153-all) #day>.install-banner,
html:not(.ap153-all) #day>.v8-layout>div:nth-child(2){display:none!important}
html:not(.ap153-all) #day>.v8-layout{display:block!important}
html:not(.ap153-all) #day>.v8-layout>div:first-child{width:100%;max-width:none;min-width:0}
html:not(.ap153-all) .day-hello .ap12-focusline{display:none}
html:not(.ap153-all) #day .day-hello{padding:20px 21px!important;margin-bottom:12px!important}
html:not(.ap153-all) #day .day-hello h2{margin-top:6px!important;margin-bottom:6px!important}
html:not(.ap153-all) #day .day-hello p{margin-bottom:0!important}
html:not(.ap153-all) #day .v8-stats{margin-bottom:13px}
/* Ablenkungsfreie Startseite ohne Inhalts-/Feature-Werbung. */
html:not(.ap153-all) main.app > .hero{display:none!important}
/* Gruppiertes Mehr-Menü – alle bisherigen Funktionen bleiben erreichbar. */
.v9-more-grid.ap153-categorized{display:block!important}
.ap153-group{border:1px solid #38536a;border-radius:15px;margin:0 0 10px;overflow:hidden;background:rgba(12,27,43,.48)}
.ap153-group summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;padding:15px 16px;color:#f1f8fb;font-size:14px;font-weight:780;min-height:49px;touch-action:manipulation}
.ap153-group summary::-webkit-details-marker{display:none}
.ap153-group summary:after{content:'+';font-size:19px;color:#90e1cf;font-weight:500}
.ap153-group[open] summary:after{content:'−'}
.ap153-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:2px 12px 12px}
.ap153-group .ap153-group-grid button{min-width:0;min-height:48px}
html[data-v8-theme="light"] .ap153-modebar{background:#ecf6f7;color:#173c43;border-color:#bedcdb}
html[data-v8-theme="light"] .ap153-modebar span{color:#527279}
html[data-v8-theme="light"] #ap153-mode-toggle{background:#e2f5ef;color:#166358}
html[data-v8-theme="light"] .ap153-group{background:#edf4fa;border-color:#cddbe8}
html[data-v8-theme="light"] .ap153-group summary{color:#18344c}
@media(max-width:440px){
  .ap153-modebar{padding:12px;gap:10px;margin-bottom:12px}
  .ap153-modebar strong{font-size:13px}
  .ap153-modebar span{font-size:11px}
  #ap153-mode-toggle{padding:8px 10px;font-size:11px;min-height:42px}
}
@media(max-width:355px){.ap153-modebar{align-items:flex-start;flex-direction:column}#ap153-mode-toggle{width:100%}}
@media(prefers-reduced-motion:reduce){.ap153-modebar,.ap153-group{transition:none}}
