/* Light elevation, without increasing card height or weakening field contrast. */
body .home-focus .home-habitual-snapshot>.home-habitual-tile,
body .player-day-group,body .center-activity-group,body .player-day-card,
body .center-published-item,body .activity-source-criteria,body .chat-category-card,
body .home-focus .identity-section,body .availability-package,body .monthly-level-review,
body .activity-summary-dialog,body .chat-thread {
 box-shadow:none;
}
body .home-focus .home-habitual-snapshot>.home-habitual-tile{
 background:linear-gradient(145deg,#f1faff,#d7edff);border-color:#88bfe2;color:#173f5b;
 box-shadow:none;
}
body .home-focus .home-habitual-snapshot>.home-habitual-tile:hover{background:#d8eeff;border-color:#448bb9}
.activity-view-question{font-size:19px;line-height:1.3;margin:0 0 10px}
.activity-overview-counts{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px;font-size:13px;line-height:1.4}
.activity-overview-counts>span{display:inline-flex;gap:6px;padding:3px 8px;border-radius:7px;background:#edf2f6;color:#354b5d}
.activity-overview-counts .count-open{background:#fff0d0;color:#704700}
.activity-overview-counts .count-complete{background:#dcf3e7;color:#165b3c}
body .player-day-group>summary,body .center-activity-group>summary{flex-wrap:wrap;gap:6px 10px}
body .player-day-group>summary>.activity-overview-counts,body .center-activity-group>summary>.activity-overview-counts{margin:0;flex:1 0 100%;order:3}
.double-preference-receipt{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:8px 0}
.double-preference-receipt>div{display:grid;gap:3px}.double-preference-receipt small{color:#486173}
.double-preference-receipt button{flex-shrink:0}
.double-preference-dialog{width:min(440px,calc(100vw - 28px));max-height:85dvh;overflow:auto;border:1px solid #a9bdcc;border-radius:16px;padding:20px;box-shadow:none}
.double-preference-dialog::backdrop{background:#182b435c}.double-preference-dialog h2{font-size:21px;margin:0 0 12px}.double-preference-dialog p{font-size:15px;line-height:1.45}.double-preference-dialog .row-actions{justify-content:flex-end}
@media(max-width:420px){.double-preference-receipt{align-items:flex-start;flex-wrap:wrap}.activity-overview-counts{gap:5px}.activity-overview-counts>span{padding:3px 7px}}
body .activity-source-criteria{padding:12px}
body .activity-source-criteria .activity-view-question{margin:8px 0;font-size:18px}
body .activity-source-criteria p{margin:8px 0;line-height:1.4}
body .activity-source-criteria .activity-source-filters{gap:6px}

/* Welcome colour follows the player's LEVEL; availability uses a deeper azure. */
body .home-focus .identity-document-intro{border:1px solid var(--identity-level-color);border-left:5px solid var(--identity-level-color);background:linear-gradient(115deg,color-mix(in srgb,var(--identity-level-color) 42%,white) 0%,color-mix(in srgb,var(--identity-level-color) 8%,white) 92%);box-shadow:none;color:#203443}
body .home-focus .home-habitual-snapshot>.home-habitual-tile{background:linear-gradient(135deg,#e1f3ff 0%,#a8d4f2 65%,#83b9df 100%);border-color:#5894be;color:#173e59}
body .home-focus .home-habitual-snapshot>.home-habitual-tile:hover{background:linear-gradient(135deg,#e8f6ff,#96c9ed)}
