.daily-devotional{padding:16px 18px;margin:0 0 16px;border:1px solid #317fc3;border-left:5px solid #ff7a00;border-radius:14px;background:linear-gradient(115deg,#0b3c78,#082756);color:#fff}
.daily-devotional .devotional-date{color:#ffb365;font-size:.8rem;font-weight:800;letter-spacing:.06em;margin:0 0 5px}
.daily-devotional h2,.daily-devotional .devotional-text{color:#fff;margin:0 0 5px}
.devotional-intro{margin:0 0 12px;color:#33506f}.devotional-counter{font-weight:800;color:#0a3d91}
.devotional-study{background:#fff;border:1px solid #cbd8e7;border-radius:12px;margin:12px 0;padding:12px 16px;color:#162d50}
.devotional-study summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none}
.devotional-study summary::-webkit-details-marker{display:none}.devotional-study summary:before{content:'⌄';color:#e96806;font-weight:900}
.devotional-study[open] summary:before{content:'⌃'}.devotional-study summary strong{flex:1}
.devotional-status{font-size:.8rem;font-weight:700;color:#135292}.devotional-reference{font-weight:800;color:#a3480a}
.devotional-study li{margin:6px 0}.devotional-study label{display:block;font-weight:700;color:#17365c}
.devotional-study textarea{display:block;width:100%;margin-top:6px;resize:vertical}
.devotional-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}
.devotional-actions button{min-height:40px}.devotional-actions button:first-child{background:#144b85;color:#fff}
@media(max-width:540px){.devotional-study summary{align-items:flex-start}.devotional-actions button{width:100%}}

.monthly-study-editor{display:grid;gap:14px;max-width:640px;padding:16px}.monthly-study-editor label{display:grid;gap:6px;min-width:0}.monthly-study-editor input,.monthly-study-editor textarea,.monthly-study-editor select{width:100%;max-width:100%;box-sizing:border-box}.monthly-study-editor button{min-height:44px}dialog:has(.monthly-study-editor){max-width:calc(100vw - 24px);max-height:90dvh;overflow-y:auto}

.devotional-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;max-width:620px;margin:16px 0 22px}.devotional-weekday{text-align:center;font-size:.78rem;font-weight:700}.devotional-day{min-width:0;min-height:44px;padding:8px 2px;border:1px solid #adc5df;border-radius:8px;background:#eff5fc;color:#123d6b;font-weight:800;font-size:16px}.devotional-day.is-complete{background:#e3f4e8;border-color:#438957;color:#185d30}.devotional-day.is-complete:after{content:' ✓';font-size:10px}.devotional-day:disabled{opacity:.55;cursor:default}.devotional-legacy{margin-top:24px;padding:14px;border:1px solid #ccd8e5;border-radius:10px}.devotional-legacy>summary{cursor:pointer;font-weight:700}.devotional-reflection{white-space:pre-line}.devotional-study{scroll-margin-top:130px}@media(max-width:420px){.devotional-day-grid{gap:4px}.devotional-day{font-size:14px}.devotional-day.is-complete:after{display:block}}
