/* V28 — mobile, quotidien et spiritualité */
.v28-objectives,.v28-hadith-card,.v28-push,.v28-library{color:#264c39}.v28-task{display:flex;align-items:center;gap:6px;border-bottom:1px solid #d6d7c577;padding:8px 0}.v28-task label{display:flex;align-items:center;gap:10px;flex:1;min-width:0;font-size:14px}.v28-task input,.v28-push input[type=checkbox]{width:20px;height:20px;accent-color:#397357;flex:none}.v28-task button{border:0;background:#e6eadc;color:#285b42;border-radius:10px;min-width:33px;min-height:36px;font-size:18px}.v28-add{display:flex;gap:8px;margin:12px 0}.v28-add input{flex:1;min-width:0}.v28-add button,.v28-chips button,.v28-hadith-actions button{border:1px solid #c5d5bd;background:#dce7d3;color:#285840;border-radius:12px;padding:8px;font-weight:650;min-height:38px}.v28-chips{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.v28-chips label{display:flex;gap:6px;align-items:center;padding:8px;border-radius:10px;background:#e7ebdd}.v28-objectives summary,.v28-push summary,.v28-privacy summary{cursor:pointer;font-weight:650;color:#397357;padding:9px 0}.v28-objectives>small{font-size:11px;color:#686b5c}.v28-hadith-card{background:linear-gradient(145deg,#e4ead9,#f9eedb);border:1px solid #fff9;border-radius:23px;padding:16px;margin:0 0 12px;box-shadow:0 5px 18px #3b503013}.v28-hadith-card .h253-heading button{font-size:25px;min-width:40px}.v28-kicker{font-size:12px;letter-spacing:1px;font-weight:750;color:#456745}.v28-ar{font:24px/1.9 Georgia,serif;text-align:center;margin:14px 0}.v28-quote{font-size:16px;text-align:center;line-height:1.55}.v28-hadith-card small{display:block;text-align:center;color:#5a6456;font-size:11px}.v28-hadith-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-top:12px}.v28-hadith-actions a{font-size:12px;color:#397357}.v28-library{display:grid;gap:12px}.v28-library input,.v28-library select{width:100%;margin:7px 0}.v28-push{display:grid;gap:12px}.v28-push label{display:flex;align-items:center;gap:8px}.v28-push input[type=time]{width:auto;margin-left:auto}.v28-ramadan{display:block;position:relative;width:100%;overflow:hidden;border:1px solid #fff;border-radius:22px;background:#efeadf;color:#285840;margin:14px 0;padding:0;box-shadow:0 5px 20px #77563c19}.v28-ramadan video{display:block;width:100%;max-height:210px;object-fit:contain;background:#eeebe2}.v28-ramadan>span{display:flex;justify-content:space-between;padding:13px 15px;font-weight:750;background:#fff9}.v28-deen-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));position:sticky;bottom:0;z-index:8;gap:4px;padding:5px;background:#fff9eede;border:1px solid #fff;border-radius:17px;backdrop-filter:blur(14px);margin:12px 0}.v28-deen-tabs button{font-size:12px!important;min-height:43px!important;color:#285840!important;background:#f0e7d5!important;border-radius:12px!important}.v28-deen-tabs button.active{background:#d9e8d0!important;color:#20573c!important}.v28-privacy .panel{border:none!important;box-shadow:none!important;padding:0!important;background:none!important}.v28-profile-links{margin-top:12px}.v28-reduce .v28-ramadan video{animation:none}
@media(max-width:760px){.shell .main,body[data-page=faith] .shell .main{padding-bottom:calc(145px + env(safe-area-inset-bottom))!important}.v28-deen-tabs{bottom:calc(131px + env(safe-area-inset-bottom));margin:12px 8px}.shell #nav button.active span{background:#d9e8d0!important;color:#20573c!important}.shell #nav button.active svg{color:#20573c!important}}
@media(prefers-reduced-motion:reduce){.v28-ramadan video{display:none}.v28-ramadan{min-height:48px}}

@media(max-width:760px){}

/* V28.1 — personnage immobile, dans une zone réservée au-dessus des onglets. */
@media(max-width:760px){
 .shell .side{padding-top:7px!important;gap:0!important;}
 .shell .main,body[data-page=faith] .shell .main{padding-bottom:calc(145px + env(safe-area-inset-bottom))!important;}
 .v28-deen-tabs{bottom:calc(131px + env(safe-area-inset-bottom));}
}
@media(max-width:760px){
 body .shell .side,body[data-page=faith] .shell .side{box-sizing:border-box!important;border-width:1px!important;padding:7px 8px!important;height:108px!important;min-height:108px!important;max-height:108px!important;gap:0!important;justify-content:flex-start!important;}
}

/* V28.2 — vraie zone de lecture indépendante de la navigation. */
@media (max-width:760px){
 html:has(body .shell:not([hidden])),body:has(.shell:not([hidden])){height:100%;min-height:0!important;overflow:hidden!important;overscroll-behavior:none;}
 body .shell:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"content" "dock";height:100vh;height:100dvh;min-height:0!important;max-height:100dvh;width:100%;max-width:100%;overflow:hidden;gap:0;box-sizing:border-box;padding-bottom:max(6px,env(safe-area-inset-bottom));}
 body .shell:not([hidden]) .main,body[data-page=faith] .shell:not([hidden]) .main{grid-area:content;min-height:0!important;height:100%;max-height:100%;align-self:stretch!important;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-padding-top:12px;scroll-padding-bottom:12px;margin:0 auto!important;padding-bottom:18px!important;}
 body .shell:not([hidden]) .side,body[data-page=faith] .shell:not([hidden]) .side{grid-area:dock;position:relative!important;inset:auto!important;margin:4px 10px 0!important;align-self:end;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;padding:4px 8px 5px!important;background:linear-gradient(130deg,#fffdf5,#f1e7d6)!important;box-shadow:0 2px 12px #5d4c311a!important;z-index:10;}
 .shell .side #nav{width:100%;margin:0 auto!important;flex:none;}
 .shell .side #nav button{min-height:48px!important;}
 .shell .side .v28-deen-tabs{order:-2;position:static!important;inset:auto!important;margin:0 0 3px!important;width:100%;flex:none;z-index:auto;}
 .shell .side .v28-deen-tabs button{min-height:38px!important;}
 .shell .main .v28-deen-tabs{position:static!important;bottom:auto!important;}
 body:has(.shell:not([hidden])) .toast{bottom:calc(100px + env(safe-area-inset-bottom))!important;z-index:110;}
 body[data-page=faith]:has(.shell:not([hidden])) .toast{bottom:calc(150px + env(safe-area-inset-bottom))!important;}
 .shell[hidden]{display:none!important;}
}
@media(max-width:760px) and (max-height:420px){
 .shell .side #nav button{min-height:43px!important;}
}

/* V28.13 — objectifs, finition minimaliste */
.v28-objectives .h253-bar{height:6px;border-radius:20px;overflow:hidden}
.v28-objectives .h253-bar i{border-radius:20px}
.v28-objectives .v28-task{padding:10px 0;border-bottom:1px solid var(--v286-soft,#dedfd4)}
.v28-objectives .v28-task button{background:transparent;color:var(--v286-ink,#526557);border:0;min-width:36px;min-height:44px}
.v28-objectives .v28-objective-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0 8px}
.v28-objectives .v28-objective-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 15px;border-radius:12px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;box-shadow:none}
.v28-objectives .v28-objective-actions svg{width:17px;height:17px;flex:none;pointer-events:none}
.v28-objectives .v28-objective-actions .v2813-save{flex:1;background:var(--v286-main,#397357);color:#fff;border:1px solid transparent}
.v28-objectives .v28-objective-actions .v2813-reset{flex:1;background:transparent;color:var(--v286-ink,#526557);border:1px solid transparent}
.v28-objectives .v28-objective-actions button:focus-visible{outline:2px solid var(--v286-main,#397357);outline-offset:3px}
.v28-objectives>small{display:block;font-size:11px;line-height:1.5;color:var(--v286-ink,#526557)}

.v2814-success{display:grid;gap:5px;padding:12px;margin:10px 0;border:1px solid currentColor;border-radius:12px;color:inherit;background:rgba(120,150,110,.09);font-size:.9rem}.v2814-success small{font-weight:600}

/* V30.11 — rappels personnalisables, palette du thème actif */
.v311-notif-intro,.v311-notif-option{display:grid;gap:8px;padding:13px;border:1px solid var(--v286-soft,#dedfd4);border-radius:16px;background:rgba(120,150,110,.06)}
.v311-notif-intro small,.v311-notif-option small{font-size:12px;line-height:1.55;color:inherit;opacity:.88}.v311-notif-option label:first-child{min-height:44px}.v311-notif-option input[type=time]{max-width:45%;min-width:100px}
