/* Morning brief / evening wrap-up: same dark frosted glass as "Your day", folds to one quiet line once seen. */
.bf-slot{margin-bottom:8px}
.bf-wrap[hidden]{display:none}
.bf{position:relative;padding:12px 10px 12px 16px;border-radius:26px;background:rgba(14,14,22,.34);backdrop-filter:blur(24px) saturate(1.2);-webkit-backdrop-filter:blur(24px) saturate(1.2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 18px 40px -24px rgba(0,0,0,.6);color:#fff;animation:bfIn .45s var(--ease) backwards}
@keyframes bfIn{from{opacity:0;transform:translateY(6px)}}
.bf.open{padding-bottom:16px}

/* the one-line head (the whole card when folded) */
.bf-top{display:flex;align-items:center;gap:4px}
.bf-toggle{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:2px 0;text-align:left;font:inherit;color:inherit;background:none}
.bf-eye{flex:none;display:flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.62);font-weight:550}
.bf-eye b{font-weight:inherit}
.bf:not(.open) .bf-full,.bf:not(.open) .bf-eye em,.bf.open .bf-short{display:none}
.bf-eye em{font-style:normal;letter-spacing:0;text-transform:none;font-weight:450;font-size:11.5px;color:rgba(255,255,255,.45);font-variant-numeric:tabular-nums}
.bf-sun{width:8px;height:8px;border-radius:50%;background:#ffd58a;box-shadow:0 0 0 3px rgba(255,213,138,.18)}
.eve .bf-sun{background:#c9b8ff;box-shadow:0 0 0 3px rgba(201,184,255,.18)}
.bf-line{flex:1;min-width:0;font-size:14px;color:rgba(255,255,255,.85);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .25s}
.bf.open .bf-line{opacity:0}
.bf-chev{flex:none;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:rgba(255,255,255,.6)}
.bf-chev svg,.bf-x svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .4s var(--ease)}
.bf.open .bf-chev svg{transform:rotate(180deg)}
.bf-x{flex:none;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:rgba(255,255,255,.55);background:rgba(255,255,255,.06)}
.bf-x:active{transform:scale(.9)}

/* the fold */
.bf-fold{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--ease)}
.bf.open .bf-fold{grid-template-rows:1fr}
.bf-in{min-height:0;overflow:hidden;padding-right:6px;opacity:0;transition:opacity .3s}
.bf.open .bf-in{opacity:1}
.bf-greet{margin:6px 0 0;font-family:var(--f-display);font-weight:400;font-size:25px;line-height:1.12;letter-spacing:-.015em}
.bf-headline{margin:4px 0 0;font-size:14.5px;line-height:1.4;color:rgba(255,255,255,.78);text-wrap:pretty}

/* sections */
.bf-sec{margin-top:12px}
.bf-sec h4{margin:0 0 2px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:rgba(255,255,255,.55)}
.bf-sec ul{list-style:none;margin:0;padding:0}
.bf-it{display:grid;grid-template-columns:18px 1fr auto;align-items:start;gap:0 10px;padding:5px 0;font-size:14.5px;line-height:1.35}
.bf-it+.bf-it{border-top:1px solid rgba(255,255,255,.06)}
.bf-it span{min-width:0;overflow-wrap:anywhere}
.bf-it time{font-size:12px;line-height:19px;color:rgba(255,255,255,.55);font-variant-numeric:tabular-nums;white-space:nowrap}
.bf-g{width:18px;height:19px;display:grid;place-items:center}
.bf-g svg{width:13px;height:13px;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.g-done svg{stroke:#9be3a9}.g-slip svg{stroke:#ffb36b}
.g-dot::before{content:"";width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.5)}
.g-dot.t-good::before{background:#9be3a9}.g-dot.t-warn::before{background:#ffb36b}.g-dot.t-bad::before{background:#ff8a7a}
.bf-it.t-bad span{color:#ffc4bb}
.m-done .bf-it span{color:rgba(255,255,255,.72)}

/* tomorrow's first thing */
.bf-first{display:grid;grid-template-columns:1fr auto;gap:2px 10px;margin-top:14px;padding:10px 12px 11px;border-radius:16px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.bf-first span{grid-column:1/-1;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:#c9b8ff}
.bf-first b{font-weight:550;font-size:15px;line-height:1.3;min-width:0;overflow-wrap:anywhere}
.bf-first time{font-size:12.5px;line-height:20px;color:rgba(255,255,255,.6);font-variant-numeric:tabular-nums}
.bf-note{margin:10px 0 0;font-size:12.5px;color:rgba(255,255,255,.5)}

@media (prefers-reduced-motion:reduce){.bf,.bf-fold,.bf-in,.bf-chev svg{animation:none;transition:none}}
