/* Customize Today (today-layout.js) */
.today-grid{position:relative;margin-top:2px}
.tg-item{position:absolute;min-width:0}
.tg-item>.tg-body>*{margin:0!important}
.tg-item .today-photo,.tg-item .today-photo>*{margin:0}
.today-grid.is-dragging .tg-item:not(.dragging){transition:left .18s ease,top .18s ease}
.tg-faith{margin:6px 0 20px;position:relative}
.tg-faith>.today-faith,.tg-faith>section{margin:0}
.tg-customize{display:flex;justify-content:center;margin:26px 0 4px}
.tg-customize .textbtn{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-weight:600}
.tg-customize .textbtn:hover{color:var(--primary,#0A60A2)}

/* Compact Family Faith */
.faith-compact .btw-moment{min-height:0!important;padding:16px 20px!important;flex-direction:row!important;align-items:center;justify-content:space-between;flex-wrap:wrap}
.faith-compact .btw-passage{font-size:16px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.faith-compact .btw-bubble{max-width:760px;padding:12px 16px}

/* Edit mode */
.tg-banner{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;background:#0F3554;color:#FBF7F0;border-radius:22px;padding:22px 24px;margin:4px 0 20px}
.tg-banner .eyebrow{color:#EBC35F!important}
.tg-banner h2{font:400 26px/1.2 'Young Serif',Georgia,serif;margin:4px 0 8px;color:#FBF7F0}
.tg-banner p{margin:0 0 6px;max-width:680px;color:#DCE6EF;font-size:14px;line-height:1.5}
.tg-banner p b{color:#fff}
.tg-banner .local-note{color:#A9BDD0}
.tg-banner-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.tg-banner-actions .textbtn{color:#EBC35F}
.today-grid.editing .tg-item,.tg-faith:has(.tg-pin){outline:2px dashed #C9B48E;outline-offset:4px;border-radius:22px}
.today-grid.editing .tg-body{pointer-events:none;user-select:none}
.tg-tools{position:absolute;z-index:3;top:-14px;right:10px;display:flex;gap:6px}
.tg-tools button,.tg-lock{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 12px;border-radius:999px;border:0;background:#0F3554;color:#fff;font:700 12.5px 'DM Sans',sans-serif;box-shadow:0 6px 14px -8px rgba(15,53,84,.6);cursor:pointer}
.tg-tools .tg-handle{cursor:grab;touch-action:none;background:#0A60A2}
.tg-tools .tg-hide{width:34px;padding:0;justify-content:center;background:#fff;color:#B4361B;font-size:18px;border:1px solid #EADFCB}
.tg-tools .tg-size{background:#fff;color:#0F3554;border:1px solid #EADFCB}
.tg-lock{background:#EBC35F;color:#0F3554;cursor:default}
.tg-item.dragging{z-index:10;transform:rotate(1.2deg) scale(1.02);box-shadow:0 26px 50px -24px rgba(15,53,84,.55);border-radius:22px;opacity:.95}
.tg-item.dragging .tg-handle{cursor:grabbing}
.tg-hidden{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:22px 0 0;padding:16px;border:2px dashed #E4D8C4;border-radius:18px}
.tg-hidden .outline{width:auto}
@media(prefers-reduced-motion:reduce){.today-grid.is-dragging .tg-item{transition:none}.tg-item.dragging{transform:none}}
@media(max-width:600px){.tg-banner-actions{align-items:stretch;width:100%}.tg-tools button span{display:none}}
.tg-tools .tg-handle{color:#fff!important}
.tg-banner-actions .textbtn{color:#EBC35F!important}
.tg-banner .local-note{color:#BFD0E0!important}
.today-grid[data-cols="1"] .tg-tools .tg-size{display:none}
.tg-item.is-wide .photo-board{height:380px}
.tg-item.is-wide .photo-board>img{height:100%!important;width:100%;object-fit:cover}
.today-grid.editing .music-slot{display:grid;place-items:center}
.today-grid.editing .music-slot::after{content:'♫ Player';font:700 14px 'DM Sans',sans-serif;color:#8C6D2A}
