/* Cineground home: a launcher for every app. Everything else (header, buttons, pills) comes from the shared kit. */
.welcome{margin-bottom:6px}
.welcome h2{font-size:clamp(34px,5.2vw,56px);line-height:1.05;letter-spacing:-.03em;font-weight:700}
.welcome p{color:var(--muted);margin-top:8px;font-size:16px}
/* the greeting, date, clock and weather sit above a divider, with room before the tiles */
.welcome.hero{margin-bottom:20px;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px}
.today{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
/* coming soon: present, greyed, not clickable */
.coming{margin-top:26px;padding-top:22px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
.coming .welcome h2{font-size:18px}
.coming .welcome p{margin-top:4px;font-size:14px}
.tile.locked.soon{cursor:not-allowed;opacity:1;border:2px dashed color-mix(in srgb,var(--fg) 38%,transparent);background:repeating-linear-gradient(135deg,transparent 0 8px,color-mix(in srgb,var(--fg) 9%,transparent) 8px 9px);user-select:none}
.tile.locked.soon .ico{background:var(--surface-2);color:var(--muted);filter:grayscale(1)}
.tile.locked.soon h2,.tile.locked.soon .desc{color:var(--muted)}
.soonbadge{display:inline-block;padding:2px 10px;border:1px solid color-mix(in srgb,var(--fg) 38%,transparent);border-radius:999px;background:var(--surface);color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.coming .tiles{grid-template-columns:repeat(auto-fill,minmax(160px,190px));gap:10px}
.coming .tile{padding:10px 12px;gap:5px}
.coming .tile .ico{width:28px;height:28px;border-radius:8px}
.coming .tile .ico svg{width:18px;height:18px}
.coming .tile h2{font-size:13px}
.coming .tile .desc{font-size:11.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.coming .soonbadge{font-size:10px;padding:1px 8px}
.clock{color:var(--fg);font-weight:600;font-variant-numeric:tabular-nums;padding-left:14px;border-left:1px solid var(--line)}
.wx{display:inline-flex;align-items:center;gap:7px;padding-left:14px;border-left:1px solid var(--line)}
.nbd[hidden]{display:none}
.nbd b{color:var(--fg);font-weight:600}
.nbd span:first-child{color:var(--muted);text-transform:uppercase;font-size:11px;letter-spacing:.06em;font-weight:600}
.wx svg{width:20px;height:20px;color:var(--accent-ink);flex:none}
.wx b{color:var(--fg);font-weight:600}
/* the "Public sites" title is a sub-section: the big size is only for the greeting at the top */
.publicsites .welcome h2{font-size:18px;line-height:1.25;letter-spacing:-.005em}
.publicsites .welcome p{margin-top:4px;font-size:14px}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.tile{display:flex;flex-direction:column;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:14px;text-decoration:none;color:var(--fg);min-height:0;transition:border-color .15s,transform .15s,box-shadow .15s}
a.tile:hover{border-color:var(--accent);transform:translateY(-1px);box-shadow:0 6px 16px var(--shadow);color:var(--fg)}
.tile .ico{width:38px;height:38px;border-radius:10px;background:var(--accent-soft);display:grid;place-items:center;color:var(--accent-ink)}
.tile .ico svg{width:24px;height:24px}
.tile h2{font-size:15px}
.tile .desc{color:var(--muted);flex:1;font-size:13px;line-height:1.35}
.tile .foot{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}
.tile .open{color:var(--accent-ink);font-weight:600}
.tile.locked{background:transparent;border-style:dashed;opacity:.75}
.tile.locked .ico{background:var(--surface-2);color:var(--muted)}
.tile.locked h2{color:var(--muted)}
.signedout-hero{display:grid;place-items:center;gap:18px;text-align:center;padding:12vh 0 4vh}
.signedout-hero img{width:128px;height:auto}
.signedout-hero p{color:var(--muted)}
@media (prefers-reduced-motion:reduce){.tile{transition:none}a.tile:hover{transform:none}}
.publicsites{margin-top:26px;padding-top:22px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
/* public sites: small rectangular rows, they matter less than the apps but must stay easy to reach */
.sitegrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:8px}
.sitecard{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:8px 10px;min-width:0}
.sitecard .ico{width:30px;height:30px;border-radius:8px;flex:none;background:var(--accent-soft);display:grid;place-items:center;color:var(--accent-ink)}
.sitecard .ico svg{width:19px;height:19px}
.sbody{display:flex;flex-direction:column;min-width:0;flex:1}
.sbody b{font-size:13.5px;line-height:1.25}
.sdesc{color:var(--muted);font-size:12px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sact{display:flex;align-items:center;gap:10px;flex:none;font-size:12px}
.sact .open{color:var(--accent-ink);font-weight:600;text-decoration:none}

/* Needs you */
.allclear{color:var(--muted)}
/* The panel is only as wide as what it holds (not the whole page): one app waiting is one narrow column, more apps sit side by side. */
.needs-slot > .panel{width:fit-content;max-width:100%}
.needs{display:flex;flex-wrap:wrap;gap:14px 32px}
.need-group{display:flex;flex-direction:column;gap:8px;width:320px;max-width:100%;min-width:0}
.need-head{display:flex;align-items:center;gap:8px;text-decoration:none;color:inherit;border-radius:8px}
.need-head b{font-size:15px}
.need-open{margin-left:auto;font-size:12px;font-weight:600;color:var(--crit-ink)}
.need-head:hover .need-open,.need-head:focus-visible .need-open{text-decoration:underline}
.need-group .list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.need-group .list li{padding:0;border:0}
.need-item{display:flex;align-items:center;gap:8px;text-decoration:none;color:inherit;background:var(--surface);border:1px solid color-mix(in srgb,var(--crit) 30%,transparent);border-radius:10px;padding:8px 10px}
.need-txt{min-width:0;flex:1}
.need-go{flex:none;font-size:20px;line-height:1;color:var(--crit-ink)}
.need-item:hover,.need-item:focus-visible,.need-more:hover,.need-more:focus-visible{border-color:var(--crit);box-shadow:0 1px 4px var(--shadow)}
.need-item:hover .need-txt>div:first-child{color:var(--crit-ink)}
.need-more{display:flex;align-items:center;justify-content:space-between;gap:8px;text-decoration:none;font-size:13px;font-weight:600;color:var(--crit-ink);border:1px dashed color-mix(in srgb,var(--crit) 55%,transparent);border-radius:10px;padding:7px 10px}

/* A big, faint G in the bottom right corner, cut by the window edge: only part of it shows. Behind everything, never in the way. */
body::before{content:"";position:fixed;right:clamp(-220px,-12vw,-90px);bottom:clamp(-260px,-16vw,-110px);width:clamp(420px,46vw,820px);aspect-ratio:1/1.02;background:url("/ui/v1/assets/symbol.svg") center/contain no-repeat;opacity:.035;filter:var(--logo-filter);pointer-events:none;z-index:0}
body.signedout::before{opacity:.05}
.page{position:relative;z-index:1}

/* Widgets live under their app tile: a strip tucked under it (peek) that opens on hover, focus or tap (more) */
.tiles{align-items:start}
.stk{position:relative;display:flex;flex-direction:column}
.stk>.tile{position:relative;z-index:2;height:156px}   /* every app tile has the same height */
.stk>.tile .desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:none;min-height:2.7em}
.stk>.tile .foot{margin-top:auto}
.pk{position:relative;z-index:1;margin:-10px 10px 0;padding:15px 10px 6px;display:flex;align-items:center;justify-content:space-between;gap:8px;font:inherit;font-size:12px;color:var(--muted);text-align:left;white-space:nowrap;overflow:hidden;cursor:pointer;text-decoration:none;background:var(--surface-2);border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px}
a.pk:hover{color:var(--muted)}
.pk[hidden]{display:none}
.pk b{color:var(--fg);font-weight:600}
.pk:hover,.pk:focus-visible,.stk.open .pk{border-color:var(--line-strong)}
.pk:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.mo{position:absolute;left:10px;right:10px;top:100%;margin-top:3px;z-index:4;display:none;padding:10px 14px 12px;font-size:12.5px;background:var(--surface);border:1px solid var(--line-strong);border-radius:14px;box-shadow:0 14px 34px var(--shadow);transform-origin:50% 0}
.mo::before{content:"";position:absolute;left:0;right:0;top:-6px;height:6px}   /* keeps the detail open while the mouse crosses the gap */
@keyframes moin{from{opacity:0;transform:translateY(-8px) scale(.96)}60%{opacity:1}to{opacity:1;transform:none}}
.pk:hover+.mo,.pk:focus-visible+.mo,.mo:hover,.stk.open .mo{display:block;animation:moin .22s cubic-bezier(.2,.8,.25,1) both}
@media (prefers-reduced-motion:reduce){.pk:hover+.mo,.pk:focus-visible+.mo,.mo:hover,.stk.open .mo{animation:none}}
.mgo{display:block;margin-top:8px;font-size:12px;font-weight:600;color:var(--accent-ink);text-decoration:none}
.mgo:hover{text-decoration:underline}
.mrow{display:flex;justify-content:space-between;gap:10px;padding:2px 0}
.mrow span{color:var(--muted);text-align:right}
.mnote{margin-top:6px;padding-top:6px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.pct{font-variant-numeric:tabular-nums}
.pct.warn{color:var(--warn)}
.pct.crit{color:var(--crit-ink)}
.wflag{font-size:10.5px;font-weight:600;padding:0 7px;border-radius:999px}
.wflag.crit{background:var(--crit);color:var(--on-accent)}
.wflag.warn{background:var(--warn-soft);color:var(--warn)}

/* the messages for Bolt (administrators) */
.inboxbar{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin:14px 0}
.inboxbar label{display:flex;flex-direction:column;gap:3px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.inboxbar select{font-size:13px;text-transform:none;letter-spacing:0;color:var(--fg)}
.kind{display:inline-block;border-radius:999px;padding:1px 10px;font-size:11.5px;font-weight:600;white-space:nowrap}
.kind.bug{background:var(--crit-soft);color:var(--crit-ink)}
.kind.idea{background:var(--accent-soft);color:var(--accent-ink)}
.kind.improvement{background:var(--warn-soft);color:var(--warn)}
.seg{display:inline-flex;border:1px solid var(--line-strong);border-radius:8px;overflow:hidden}
.seg button{border:0;background:var(--surface);color:var(--muted);font:500 12px var(--font-text);padding:4px 10px;cursor:pointer}
.seg button+button{border-left:1px solid var(--line-strong)}
.seg button.on{background:var(--accent-soft);color:var(--accent-ink);font-weight:600}
/* Bolt's thank-you: a small window over the Hub, once, when something the person asked for was done */
.th-veil{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:16px;background:rgba(20,25,30,.45)}
.th-box{width:min(100%,340px);max-height:calc(100vh - 32px);overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px 22px 16px;text-align:center;box-shadow:0 18px 40px var(--shadow-lg)}
.th-box h3{margin:8px 0 4px;font-size:18px}
.th-lead{margin:0 0 12px;font-size:13.5px;color:var(--muted)}
.th-box ul{list-style:none;margin:0 0 6px;padding:0;text-align:left;border-top:1px solid var(--line)}
.th-box li{padding:9px 2px;border-bottom:1px solid var(--line);font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.th-box li small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.th-go{margin-top:12px;width:100%;background:var(--fg);color:var(--surface);border:0;border-radius:10px;padding:9px;font:600 14px var(--font-text);cursor:pointer}
.th-go:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.th-bolt{display:block;margin:0 auto;width:64px;height:64px;image-rendering:pixelated;animation:th-hop 1.1s ease-in-out infinite}
@keyframes th-hop{0%,100%{transform:translateY(0)}35%{transform:translateY(-10px)}60%{transform:translateY(0)}75%{transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.th-bolt{animation:none}}

/* the inbox: the list on the left, the selected message on the right */
.ib-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:16px;align-items:start}
.ib-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.ib-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 12px;text-align:left;font:inherit;color:inherit;background:transparent;border:0;border-top:1px solid var(--line);padding:11px 14px;cursor:pointer}
.ib-row:first-child{border-top:0}
.ib-row:hover{background:var(--surface-2)}
.ib-row.sel{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}
.ib-row.fin{opacity:.6}
.ib-row .dot{grid-row:1/3;width:9px;height:9px;border-radius:50%;background:var(--crit);align-self:center}
.ib-row .dot.seen{background:#3f7fc4}
:root[data-theme="dark"] .ib-row .dot.seen{background:#5a9bdc}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .ib-row .dot.seen{background:#5a9bdc}}
.ib-row .dot.done{background:var(--good)}
.ib-t{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ib-m{font-size:12px;color:var(--muted)}
.ib-empty{padding:14px}
.ib-detail{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:16px 18px;min-width:0}
.ib-who{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:13px;color:var(--muted);margin-bottom:10px}
.ib-who b{color:var(--fg)}
.ib-txt{font-size:16px;line-height:1.55;margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}
.ib-detail details{font-size:12px;color:var(--muted);margin-bottom:12px}
.ib-reply{border-top:1px solid var(--line);padding-top:14px;display:grid;gap:8px}
.ib-reply label{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600}
.ib-reply textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--fg);font:14px/1.4 var(--font-text);padding:8px 10px;resize:vertical}
.ib-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ib-hint{font-size:12px;margin:0}
@media (max-width:820px){.ib-split{grid-template-columns:1fr}}


/* Under the greeting a band (Heads up + the festival on now); then two columns: the apps in families in the middle, "Needs you" on the right. One column on small screens, "Needs you" first. */
.band{display:flex;gap:16px;align-items:flex-start;margin:0 0 24px}
.band>.headsup{flex:1.6 1 0;min-width:0}
.band>.festivals{flex:1 1 0;min-width:0;margin:0}
.band>[hidden]{display:none}
.dash{display:grid;grid-template-columns:minmax(0,1fr);gap:34px;align-items:start}
.dash.has-needs{grid-template-columns:minmax(0,1fr) clamp(300px,26vw,360px)}
.dash-main{min-width:0}
.needs-slot{min-width:0}
.needs-slot[hidden]{display:none}
@media (max-width:1100px){
  .band{flex-direction:column;gap:8px;margin-bottom:16px}
  .band>.headsup,.band>.festivals{flex:none;width:100%}
  .dash,.dash.has-needs{grid-template-columns:minmax(0,1fr);gap:0}
  .needs-slot{order:-1;margin-bottom:16px}
}

/* "Next birthday" next to the weather, and the birthday wall */
.nbd{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;padding-left:14px;border-left:1px solid var(--line);color:inherit;text-decoration:none}
a.nbd:hover b{color:var(--accent-ink)}
.wall-next{display:flex;align-items:baseline;gap:10px;margin:0 0 16px;padding:10px 14px;background:var(--surface);border:1.5px solid var(--accent);border-radius:10px}
.wall-tag{font-size:11px;letter-spacing:.06em;text-transform:uppercase;font-weight:600;color:var(--accent-ink)}
.wall{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
@media (max-width:900px){.wall{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.wall{grid-template-columns:repeat(2,minmax(0,1fr))}}
.wall-month{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 14px 12px;min-height:112px}
.wall-month.past{opacity:.55}
.wall-month.now{border:1.5px solid var(--accent)}
.wall-month h3{font-size:12px;letter-spacing:.06em;text-transform:uppercase;font-weight:600;color:var(--muted);margin:0 0 6px}
.wall-month.now h3{color:var(--accent-ink)}
.wall-month ul{list-style:none;margin:0;padding:0}
.wall-month li{display:flex;gap:10px;align-items:baseline;font-size:15px;line-height:1.7}
.wall-month li .d{width:22px;text-align:right;flex:none;font:12px var(--font-mono);color:var(--muted)}
.wall-month li.td{color:var(--accent-ink);font-weight:600}
.wall-month li.td .d{color:var(--accent-ink)}
.wall-none{color:var(--muted);font-size:13px;margin:0}
.wall-cake{position:absolute;right:4px;bottom:2px;width:72px;height:72px;image-rendering:pixelated}

/* Heads up: notes for the whole team between the greeting and the apps. Every date tile is the same size and shape, dated or not. */
.headsup{margin:0 0 32px;display:flex;flex-direction:column;gap:12px}
.hu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.hu-grid:empty{display:none}
.hu-card{position:relative;overflow:hidden;min-height:104px;display:flex;gap:12px;min-width:0;background:var(--warn-soft);border:1px solid color-mix(in srgb,var(--warn) 30%,transparent);border-radius:12px;padding:12px;box-shadow:0 1px 2px var(--shadow)}   /* a post-it tint: notes are not alerts */
.hu-card.soon{border-color:var(--warn)}
.hu-big{position:absolute;right:2px;bottom:-14px;font-size:100px;font-weight:500;line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--crit-ink);opacity:.14;pointer-events:none;user-select:none}   /* the day, huge and faint, behind the text */
.hu-d{text-transform:uppercase;margin:0 0 4px;font-size:12px;font-weight:600;letter-spacing:.04em;color:var(--crit-ink)}
.hu-body{position:relative;min-width:0;flex:1}
.hu-t{font-size:14px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.hu-s{margin-top:2px;font-size:13px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.hu-m{margin-top:6px;display:flex;flex-wrap:wrap;gap:2px 8px;font-size:11.5px;color:var(--muted)}
.hu-rel{color:var(--warn);font-weight:600}
.hu-card{flex-wrap:wrap}
.hu-pic{position:relative;flex:0 0 100%;display:block;padding:0;border:1px solid color-mix(in srgb,var(--warn) 30%,transparent);border-radius:8px;overflow:hidden;background:var(--surface);cursor:zoom-in;height:120px}
.hu-pic img{display:block;width:100%;height:100%;object-fit:cover}
.hu-pic:focus-visible{outline:2px solid var(--warn);outline-offset:2px}
.hu-lb{position:fixed;inset:0;z-index:95;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:2vh 2vw;background:rgba(10,12,15,.88);cursor:zoom-out}
.hu-lb img{max-width:96vw;max-height:90vh;object-fit:contain;border-radius:6px;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.hu-lb-cap{margin:0;max-width:90vw;font-size:13px;color:#e8eaed;text-align:center;overflow-wrap:anywhere}
.hu-lb-x{position:absolute;top:10px;right:14px;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:1;width:40px;height:40px;border-radius:50%;cursor:pointer}
.hu-lb-x:hover,.hu-lb-x:focus-visible{background:rgba(255,255,255,.28)}
.hu-dlg{text-align:left}
.hu-dlg h3{margin:0 0 8px}
.hu-dlg-n{margin:0 0 4px;font-weight:600;overflow-wrap:anywhere}
.hu-dlg-s{margin:0 0 14px;font-size:13px;color:var(--muted)}
.hu-photo-ctl{display:flex;flex-wrap:wrap;align-items:center;gap:8px;text-transform:none;letter-spacing:0}
.hu-prev{height:56px;width:auto;max-width:120px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}
.hu-prev[hidden],.hu-photo-ctl [hidden]{display:none}
/* The composer: one line always there; the rest opens when you start typing. Lists have rows with a box, like the cards. */
.hu-form{display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px dashed color-mix(in srgb,var(--warn) 55%,transparent);border-radius:12px;padding:6px 6px 6px 12px;min-width:0}
.hu-form.open{border-style:solid;border-color:var(--warn);padding:10px 12px;gap:10px;box-shadow:0 1px 2px var(--shadow)}
.hu-quick{display:flex;align-items:center;gap:6px;min-width:0}
.hu-form input[type=text]{min-width:0}
.hu-title{flex:1;min-width:0;border:0;background:transparent;color:var(--fg);font:inherit;font-size:14px;font-weight:600;padding:6px 0;outline:0}
.hu-title::placeholder{color:var(--muted);font-weight:400}
.hu-form.open .hu-title{border-bottom:1px solid var(--line);border-radius:0}
.hu-more{display:flex;flex-direction:column;gap:10px;min-width:0}
.hu-fh{margin:0;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--warn)}
.hu-fh[hidden]{display:none}
.hu-when{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.hu-lab{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-right:2px}
.hu-chip{height:26px;padding:0 10px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--fg);font:inherit;font-size:12px;cursor:pointer}
.hu-chip:hover,.hu-chip:focus-visible{border-color:var(--warn)}
.hu-chip[aria-pressed=true]{background:var(--warn-soft);border-color:var(--warn);color:var(--warn);font-weight:600}
.hu-date{width:auto;max-width:100%;font-size:12px}
.hu-time{width:auto;font-size:12px}
.hu-extras{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.hu-extras [hidden]{display:none}
.hu-hint{align-self:center;margin-left:auto;font-size:11px;color:var(--muted)}
@media (hover:none){.hu-hint{display:none}}
.hu-photo-ctl{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hu-photo-ctl [hidden]{display:none}
.hu-act{flex-wrap:wrap}
.hu-more[hidden],.hu-time[hidden]{display:none}
.hu-tools{display:flex;gap:4px}
.hu-tool{min-width:30px;height:28px;padding:0 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--fg);font:inherit;font-size:13px;line-height:1;cursor:pointer}
.hu-tool.b{font-weight:700}.hu-tool.i{font-style:italic}
.hu-tool:hover,.hu-tool:focus-visible{border-color:var(--warn);color:var(--warn)}
.hu-text{width:100%;min-height:72px;max-height:280px;resize:vertical;font:13px/1.45 var(--font-text);color:var(--fg);background:var(--surface-2);border:1px solid var(--line);border-radius:8px;padding:8px 10px}
/* the stack: every note folded to its title; one opens on a click */
.hu-grid{display:flex;flex-direction:column;gap:6px}
.hu-card{display:block;min-height:0;padding:0}
.hu-head{position:relative;z-index:1;width:100%;display:flex;align-items:center;gap:8px;padding:9px 12px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:12px}
.hu-head:hover{background:color-mix(in srgb,var(--warn) 10%,transparent)}
.hu-head:focus-visible{outline:2px solid var(--warn);outline-offset:-2px}
.hu-hmain{flex:1;min-width:0;display:flex;flex-direction:column}
.hu-hmain .hu-d{margin:0 0 1px;font-size:10.5px}
.hu-pc{flex:none;font-size:11px;font-variant-numeric:tabular-nums;padding:1px 7px;border-radius:9px;background:color-mix(in srgb,var(--warn) 18%,transparent);color:var(--warn);font-weight:600}
.hu-pc.all{background:var(--good-soft);color:var(--good)}
.hu-pc[hidden]{display:none}
.hu-hp{flex:none;font-size:12px;color:var(--muted)}
.hu-chev{flex:none;font-size:12px;color:var(--muted);transition:transform .15s}
.hu-card.open .hu-chev{transform:rotate(180deg)}
.hu-card:not(.open) .hu-big{display:none}
.hu-full{position:relative;padding:0 12px 12px;display:flex;flex-direction:column;gap:2px}
.hu-full[hidden]{display:none}
.hu-bd{display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.45}
.hu-bd p{margin:0;overflow-wrap:anywhere}
.hu-bh{font-weight:700;font-size:14px;margin-top:4px!important}
.hu-bl{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:2px}
.hu-bl li{overflow-wrap:anywhere}
.hu-acts{position:static;opacity:1;margin-top:10px;display:flex;gap:6px}
@media (hover:none){.hu-acts{opacity:1}}
/* a list on a card */
.hu-list{margin-top:8px}
.hu-prog{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.hu-bar{flex:1;height:5px;border-radius:3px;background:color-mix(in srgb,var(--warn) 22%,transparent);overflow:hidden}
.hu-bar i{display:block;height:100%;background:var(--warn);border-radius:3px;transition:width .2s}
.hu-count{flex:none;font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.hu-list.all .hu-bar i{background:var(--good)}
.hu-list.all .hu-count{color:var(--good);font-weight:600}
.hu-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.hu-items label{display:flex;align-items:flex-start;gap:8px;padding:3px 0;font-size:13px;line-height:1.35;cursor:pointer}
.hu-items input{flex:none;width:15px;height:15px;margin:1px 0 0;accent-color:var(--warn);cursor:pointer}
.hu-it-t{min-width:0;overflow-wrap:anywhere}
.hu-items li.done .hu-it-t{color:var(--muted);text-decoration:line-through}
.hu-err{color:var(--crit-ink);font-size:13px}
.hu-err[hidden]{display:none}
.hu-act{display:flex;gap:8px}

.hu-links{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}
.hu-link{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}
.hu-link-rows{display:flex;flex-direction:column;gap:6px;text-transform:none;letter-spacing:0}
.hu-link-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:6px;align-items:center}
.hu-link-x{border:0;background:none;color:var(--muted);font-size:19px;line-height:1;cursor:pointer;padding:4px 8px;border-radius:6px}
.hu-link-x:hover,.hu-link-x:focus-visible{color:var(--fg);background:var(--line)}
@media (max-width:520px){.hu-link-row{grid-template-columns:minmax(0,1fr) auto}.hu-link-row .hu-ln{grid-column:1}}
.hu-rx-row{margin-top:8px;display:flex;flex-wrap:wrap;gap:4px}
.hu-rx{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px;border:1px solid color-mix(in srgb,var(--warn) 35%,transparent);border-radius:12px;background:var(--surface);color:var(--muted);font:inherit;font-size:12px;line-height:1;cursor:pointer}
.hu-rx b{font-weight:600;font-variant-numeric:tabular-nums}
.hu-rx:hover,.hu-rx:focus-visible{border-color:var(--warn);color:var(--fg)}
.hu-rx.mine{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink)}
.hu-rx.pick{padding:0 6px;font-size:14px}
.hu-rx-add{opacity:0}
.hu-card:hover .hu-rx-add,.hu-card:focus-within .hu-rx-add,.hu-rx-row:has(.mine,.hu-rx:not(.hu-rx-add)) .hu-rx-add{opacity:1}
@media (hover:none){.hu-rx-add{opacity:1}}

/* Needs you: red = late, amber = due within three days */
.need-item.tone-soon{border-color:color-mix(in srgb,var(--warn) 45%,transparent)}
.need-item.tone-soon:hover,.need-item.tone-soon:focus-visible{border-color:var(--warn)}
.need-item.tone-soon .sub{color:var(--warn)}
.need-item.tone-late .sub{color:var(--crit-ink);font-weight:600}
/* The light bulb: new messages for Bolt, for the people who read them */

/* Festivals: small cards at the top of the apps column, with a quick editor open to everyone */
.festivals{display:flex;flex-direction:column;gap:8px;margin:0 0 22px}
.fe-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.fe-bar h3,.sec-title{font-size:15px;font-weight:600}
.sec-title{margin:0 0 8px}
.fe-edit{display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:6px;background:none;color:var(--muted);cursor:pointer;padding:0}
.fe-edit:hover,.fe-edit.on{color:var(--accent-ink)}
.fe-ico{display:inline-flex}
.fe-bar .muted{font-size:12px}
.fe-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}   /* the same columns as the app tiles below */
.fe-cards:empty{display:none}
.fe-card{display:flex;flex-direction:column;gap:2px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:8px 10px;min-width:0}
.fe-card.on{border-color:var(--accent)}
a.fe-card{color:inherit;text-decoration:none;transition:border-color .15s,transform .15s,box-shadow .15s}
a.fe-card:hover{border-color:var(--accent);transform:translateY(-1px);box-shadow:0 6px 16px var(--shadow)}
.fe-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.fe-when{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.fe-card.on .fe-when{color:var(--accent-ink)}
.fe-films{font-size:11px;font-weight:600;color:var(--accent-ink);white-space:nowrap}
.fe-name{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:14px}
.fe-name b{font-weight:600}
.fe-dates{font-size:12px;color:var(--muted)}
.fe-bar2{height:3px;border-radius:2px;background:var(--line);overflow:hidden;margin-top:5px}
.fe-bar2 i{display:block;height:100%;background:var(--accent)}
.fe-p{font-size:10.5px;font-weight:600;padding:0 7px;border-radius:999px;background:var(--surface-2);color:var(--muted)}
.fe-p.yes{background:var(--accent-soft);color:var(--accent-ink)}
/* the editor: a quiet list, fields look like text until you touch them */

.sitegroups{display:contents}

/* Apps: icon first, name under it, nothing else. The widget strip (.pk) is a small chip on the icon; its detail (.mo) still opens on hover. */
.dash-main .tiles{gap:14px 12px}
.stk>.tile{height:auto;position:relative;align-items:center;gap:9px;background:none;border:0;border-radius:0;padding:4px 0}
a.tile:hover{transform:none;box-shadow:none}
.stk>.tile .ico{width:84px;height:84px;border-radius:22px;background:var(--surface);border:1px solid var(--line);transition:transform .15s,border-color .15s,box-shadow .15s}
.stk>.tile .ico svg{width:46px;height:46px}
.stk>.tile:hover .ico,.stk>.tile:focus-visible .ico{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 8px 18px var(--shadow)}
.stk>.tile h2{font-size:13px;font-weight:500;text-align:center;line-height:1.25}
.tbadge{position:absolute;top:-4px;right:calc(50% - 54px);min-width:26px;height:26px;padding:0 8px;border-radius:999px;background:var(--crit);color:var(--on-accent);font-size:14px;font-weight:700;display:grid;place-items:center;border:2.5px solid var(--bg)}
.stk>.mo{left:50%;right:auto;width:230px;margin-left:-115px}
@media (prefers-reduced-motion:reduce){.stk>.tile .ico{transition:none}}

/* Storage: a triangle with ! on the icon, only when a server needs watching */
  .stk>.pk{position:absolute;z-index:3;margin:0;left:auto;right:calc(50% - 54px);top:-4px;transform:none;padding:0;border:0;background:none;border-radius:0;overflow:visible;display:block;line-height:0}
.wtri{display:inline-block;width:26px;height:26px}
.wtri svg{width:100%;height:100%;display:block;filter:drop-shadow(0 0 0 var(--bg)) drop-shadow(0 1px 2px var(--shadow))}
.wtri.crit{color:var(--crit)}
.wtri.warn{color:var(--warn)}
/* Tools and public sites: the same icon tiles; a small copy-link button on the icon */
.publicsites{gap:8px}
.sitetile>.tile{height:auto}
.copylink{position:absolute;z-index:3;left:50%;top:0;transform:translateX(26px);width:28px;height:28px;border-radius:50%;border:1px solid var(--line-strong,var(--line));background:var(--surface);color:var(--muted);font-size:15px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0;opacity:0;transition:opacity .15s}
.sitetile:hover .copylink,.copylink:focus-visible{opacity:1}
.copylink:hover{color:var(--accent-ink);border-color:var(--accent)}
@media (hover:none){.copylink{opacity:1}}
.publicsites .tiles{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}

/* Dials: thin red ring with a dashed inner ring (lens / gasket). Fills red on hover. Number and warning triangle sit on the ring. */
.stk>.tile .ico{width:92px;height:92px;border-radius:50%;background:var(--surface);border:2px solid var(--accent);color:var(--accent);position:relative}
.stk>.tile .ico:before{content:"";position:absolute;inset:6px;border-radius:50%;border:1px dashed var(--accent);opacity:.45}
.stk>.tile .ico{transition:transform .18s cubic-bezier(.2,.8,.25,1),background .15s,color .15s,box-shadow .18s}
.stk>.tile .ico svg{width:44px;height:44px}
.stk>.tile:hover .ico,.stk>.tile:focus-visible .ico{background:var(--accent);border-color:var(--accent);color:var(--on-accent,#fff);transform:scale(1.08);box-shadow:0 8px 18px var(--shadow)}
.stk>.tile:hover .ico:before,.stk>.tile:focus-visible .ico:before{border-color:var(--on-accent,#fff)}
.tbadge{background:var(--accent);color:var(--on-accent,#fff);border:3px solid var(--bg);box-shadow:none;min-width:30px;height:30px;font-size:14px;right:calc(50% - 47px);top:2px}
.stk>.pk{right:calc(50% - 46px);top:3px}
.wtri.crit{color:var(--accent)}
.wtri.crit svg path:nth-child(2){stroke:#fff}
.wtri.crit svg circle{fill:#fff}
.wtri{width:28px;height:28px}
.wtri svg{filter:drop-shadow(2px 0 0 var(--bg)) drop-shadow(-2px 0 0 var(--bg)) drop-shadow(0 2px 0 var(--bg)) drop-shadow(0 -2px 0 var(--bg))}
.wtri.warn{color:var(--warn-bright,#f2b233)}
.wtri.warn svg path:nth-child(2){stroke:#3a2a00}
.wtri.warn svg circle{fill:#3a2a00}

/* Birthday cake: always in the header, opens the wall. Lit + words in the week before a birthday, quiet grey otherwise. */
.nbd{align-items:center;flex-wrap:nowrap}
.nbd .cake{width:24px;height:24px;flex:none;color:var(--accent-ink)}
.nbd.idle .cake{color:var(--muted)}
.nbd.idle:hover .cake{color:var(--accent-ink)}
.nbd .l{color:var(--muted);text-transform:uppercase;font-size:11px;letter-spacing:.06em;font-weight:600}
.nbd .flame{fill:var(--warn-bright,#f2b233);stroke:none;transform-origin:center bottom;animation:flick 1.4s ease-in-out infinite alternate}
@keyframes flick{from{transform:scale(1) rotate(-4deg)}to{transform:scale(1.15,1.25) rotate(4deg)}}
@media (prefers-reduced-motion:reduce){.nbd .flame{animation:none}}
.hu-full .hu-pic{flex:none}


/* ---------- Hub, 16 Nov 2026: greeting line, band, families, lit dials, Needs you list ---------- */
.welcome.hero h2{font-size:clamp(28px,4vw,40px);line-height:1;letter-spacing:-.03em}
.welcome.hero p.today{margin:0;font-size:14px}
.today .nbd{padding-left:14px;gap:6px}
.nbd .cake{width:20px;height:20px}
.nbd .bd-day{color:var(--muted)}
.nbd b{font-weight:600}
@media (max-width:700px){.welcome.hero{margin-bottom:12px}.welcome.hero p.today{font-size:12.5px;gap:4px 10px}.today .nbd{padding-left:0;border-left:0}}

/* the band: Heads up as a card, with its title and count */
.band>.headsup,.band>.festivals{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.hu-h{margin:0 0 8px;font-size:13px;display:flex;align-items:center;gap:8px}
.hu-count-n{background:var(--accent);color:var(--on-accent,#fff);border-radius:999px;font-size:11px;padding:0 7px;line-height:19px}
.hu-count-n[hidden]{display:none}
.band .hu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;align-items:start}
.band .hu-grid>[hidden],.hu-rest[hidden]{display:none}
.hu-rest{margin:8px 0 0;border:0;background:none;padding:0;font:inherit;font-size:12px;font-weight:600;color:var(--accent-ink);cursor:pointer}
.band .hu-form{margin-top:8px}
.band .fe-bar{display:none}
.band .fe-cards{grid-template-columns:minmax(0,1fr);gap:8px}
.band .fe-card{border-color:var(--line);background:none;border:0;padding:0}
.band .fe-card.on .fe-when{font-size:11px}
.band .fe-name{font-size:14px}
.band .festivals::before{content:"";display:none}
@media (max-width:700px){.band .hu-grid{grid-template-columns:minmax(0,1fr)}.band>.headsup,.band>.festivals{padding:10px 12px}}

/* apps in families */
.fam{margin:0 0 22px}
.fam>h4{margin:0 0 12px;font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:10px}
.fam>h4::after{content:"";flex:1;height:1px;background:var(--line)}
.dash-main .fam .tiles{grid-template-columns:repeat(auto-fill,minmax(104px,104px));gap:10px}
.dash-main .stk>.tile{gap:7px}
.stk>.tile .ico{width:70px;height:70px;background:var(--surface);border:1.6px solid color-mix(in srgb,var(--accent) 70%,transparent);color:var(--accent-ink);transition:transform .15s,box-shadow .15s,background .15s}
.stk>.tile .ico:before{inset:5px;border:1px dashed color-mix(in srgb,var(--accent) 28%,transparent);opacity:1}
.stk>.tile .ico svg{width:30px;height:30px}
.stk>.tile:hover .ico,.stk>.tile:focus-visible .ico{background:var(--surface);color:var(--accent-ink);border-color:var(--accent);transform:translateY(-2px);box-shadow:0 6px 16px var(--shadow)}
.stk>.tile:hover .ico:before,.stk>.tile:focus-visible .ico:before{border-color:color-mix(in srgb,var(--accent) 28%,transparent)}
.stk>.tile h2{font-size:13px}
/* it waits for you: tinted fill and a soft halo, red when something is late */
.stk>.tile.lit .ico{background:var(--accent-soft);border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 12%,transparent)}
.stk>.tile.lit.late .ico{background:var(--crit-soft);border-color:var(--crit);color:var(--crit-ink);box-shadow:0 0 0 4px color-mix(in srgb,var(--crit) 14%,transparent)}
.stk>.tile.lit:hover .ico{background:var(--accent-soft);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 12%,transparent),0 6px 16px var(--shadow)}
.stk>.tile.lit.late:hover .ico{background:var(--crit-soft)}
.tbadge{position:absolute;top:-3px;right:-3px;left:auto;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:var(--accent);color:var(--on-accent,#fff);font-size:11.5px;font-weight:700;display:grid;place-items:center;border:2px solid var(--bg)}
.stk>.tile.late .tbadge{background:var(--crit)}
.stk>.tile.admin .ico{border-style:dashed;background:transparent}
.stk>.pk{right:calc(50% - 38px);top:0}
.wtri{width:24px;height:24px}
.stk>.tile.locked .ico{border-style:dashed;border-color:var(--line-strong);color:var(--muted)}
.stk>.tile.locked .ico:before{display:none}
.stk>.tile.locked{cursor:not-allowed;opacity:.75}
.fam.coming .tiles{opacity:1}
@media (max-width:700px){
  .dash-main .fam .tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 4px}
  .stk>.tile .ico{width:56px;height:56px}
  .stk>.tile .ico svg{width:25px;height:25px}
  .stk>.tile h2{font-size:11.5px}
  .fam{margin-bottom:14px}
  .stk>.pk{right:calc(50% - 32px)}
  .wtri{width:20px;height:20px}
}

/* tools and public sites: small chips with a copy button */
.fam.extras{margin-top:4px;padding-top:0;border-top:0;gap:0;display:block}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:13px;padding:0 4px 0 12px}
.chip>a{display:inline-flex;align-items:center;gap:7px;padding:6px 6px 6px 0;color:var(--fg);text-decoration:none}
.chip>a:hover{color:var(--accent-ink)}
.chip i{width:7px;height:7px;border-radius:50%;background:var(--accent-ink);opacity:.7}
.chip .copylink{position:static;transform:none;opacity:.55;width:24px;height:24px;border:0;background:none;color:var(--muted);cursor:pointer;border-radius:50%;font-size:13px;padding:0}
.chip:hover .copylink,.chip .copylink:focus-visible{opacity:1}
.chip .copylink:hover{color:var(--accent-ink)}
@media (hover:none){.chip .copylink{opacity:1}}

/* Needs you: one sorted list */
.needs-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.needs-card>h3{margin:0 0 10px;font-size:13px;display:flex;align-items:center;gap:8px}
.needs-card .n{background:var(--crit);color:#fff;border-radius:999px;font-size:11px;padding:0 7px;line-height:19px}
.needs-card.clear .allclear{margin:0}
.needs-fold{display:none;margin-left:auto;border:0;background:none;padding:0;font:inherit;font-size:12px;font-weight:500;color:var(--accent-ink);cursor:pointer}
.needs-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.needs-list li{border-top:1px solid var(--line)}
.needs-list li:first-child{border-top:0}
.needs-list a{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:2px 10px;align-items:baseline;padding:8px 0;color:inherit;text-decoration:none}
.needs-list li:first-child a{padding-top:2px}
.needs-list a:hover .t,.needs-list a:focus-visible .t{color:var(--accent-ink)}
.needs-list .dot{width:8px;height:8px;border-radius:50%;background:var(--line-strong);transform:translateY(-1px)}
.needs-list .tone-late .dot{background:var(--crit)}
.needs-list .tone-soon .dot{background:var(--warn)}
.needs-list .t{font-size:13.5px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.needs-list .a{font-size:11px;color:var(--muted);white-space:nowrap}
.needs-list .d{grid-column:2 / 4;font-size:12.5px;color:var(--muted)}
.needs-list .tone-late .d{color:var(--crit-ink);font-weight:600}
.needs-list .tone-soon .d{color:var(--warn)}
.needs-more{margin:8px 0 0;font-size:12.5px;color:var(--muted)}
.needs-more a{color:var(--accent-ink);font-weight:600;text-decoration:none}
@media (max-width:1100px){
  .needs-fold{display:inline}
  .needs-card .needs-list li:nth-child(n+4){display:none}
}
.hu-rest{display:block;text-align:left}
.band{margin-bottom:18px}
.band .hu-form{margin-top:8px;padding-top:2px;padding-bottom:2px}
.fam{margin-bottom:18px}
.fam>h4{margin-bottom:10px}
/* phone: a compact band, so Needs you and the apps stay in the first screen */
@media (max-width:700px){
  .band>.headsup{position:relative}
  .hu-rest{position:absolute;top:11px;right:14px;margin:0;display:inline}
  .hu-h{margin-bottom:6px}
  .band .hu-head{padding:7px 10px}
  .band .hu-form{margin-top:6px}
  .band .fe-dates,.band .fe-films{display:none}
  .band .fe-name{font-size:13.5px}
  .band .fe-bar2{margin-top:4px}
  .band>.festivals{padding:8px 12px}
}
.hu-add{display:none}
@media (max-width:700px){
  .hu-add{display:inline-block;margin-left:auto;margin-right:calc(var(--rest-w,0px));border:1px dashed var(--line-strong);border-radius:999px;background:none;color:var(--accent-ink);font:inherit;font-size:12px;padding:1px 10px;cursor:pointer}
  .band .hu-form:not(.show):not(.open){display:none}
  .hu-rest{position:static;display:block;margin:6px 0 0}
  .band>.headsup{padding-bottom:10px}
  .band .fe-card{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px}
  .band .fe-top{display:contents}
  .band .fe-when{order:1}
  .band .fe-name{order:2}
  .band .fe-bar2{order:3;flex:0 0 100%}
  .needs-list .li-plain .d,.needs-list li:not(.tone-late):not(.tone-soon) .d{display:none}
  .needs-list a{padding:6px 0}
  .needs-card{padding:10px 14px}
}
.band>.headsup{margin:0}
@media (max-width:700px){.band{margin-bottom:12px}.needs-slot{margin-bottom:12px}}

.hu-h .hu-rest{margin:0 0 0 4px;display:inline}
.hu-h .hu-rest[hidden]{display:none}
.hu-h .hu-add{margin-left:auto}
@media (min-width:701px){.hu-add{display:inline-block;margin-left:auto;border:1px dashed var(--line-strong);border-radius:999px;background:none;color:var(--accent-ink);font:inherit;font-size:12px;padding:1px 10px;cursor:pointer}}
@media (max-width:700px){.hu-h .hu-rest{position:static;margin:0 0 0 4px}}
@media (max-width:700px){
  .needs-list a{padding:4px 0}
  .needs-list .d{font-size:12px}
  .needs-card>h3{margin-bottom:6px}
  .band>.festivals{padding:6px 12px}
  .welcome.hero{margin-bottom:10px}
  .fam>h4{margin-bottom:8px}
}
.stk>.tile.locked.soon{border:0;background:none;padding:4px 0;opacity:.8}
.stk>.tile.locked.soon h2{color:var(--muted)}

/* a note opens in a window over the page: the band only shows its title line */
.hu-note-box{position:relative;width:min(560px,calc(100vw - 32px));max-height:86vh;overflow:auto;text-align:left;padding:18px 20px 16px}
.hu-note-t{margin:0 28px 10px 0;font-size:18px;line-height:1.3;overflow-wrap:anywhere}
.hu-note-box .hu-d{margin:0 0 2px}
.hu-note-box .hu-full{padding:0}
.hu-note-x{position:absolute;top:10px;right:12px;width:32px;height:32px;border:0;border-radius:50%;background:none;color:var(--muted);font-size:24px;line-height:1;cursor:pointer}
.hu-note-x:hover,.hu-note-x:focus-visible{background:var(--line);color:var(--fg)}
.hu-head .hu-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Heads up: "Heads up (n) | + Add a note"; the writing line only shows once it is clicked */
.hu-h .hu-add{display:inline-block;margin:0;border:0;border-radius:0;background:none;padding:0;color:var(--accent-ink);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.hu-h .hu-add:hover{text-decoration:underline}
.hu-bar-sep{color:var(--line-strong);font-weight:400}
.band .hu-form:not(.show):not(.open){display:none}
.hu-h .hu-rest{margin-left:auto}
.nbd:not(.idle) .cake{margin-right:0}

/* The right column: one "Today" card (Needs you, Heads up, the festival), sections split by thin lines; the apps stay on the left */
.band.today-card{display:flex;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:2px 16px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.band.today-card>section,.band.today-card>.needs-slot{flex:none;width:100%;margin:0;padding:12px 0;background:none;border:0;border-top:1px solid var(--line);border-radius:0}
.band.today-card>:first-child,.band.today-card>.needs-slot[hidden]+section{border-top:0}
.today-card .needs-card{background:none;border:0;border-radius:0;padding:0}
.today-card .needs-card>h3{margin-bottom:6px}
.today-card .needs-list li:nth-child(n+5){display:none}
.today-card .needs-card.over .needs-fold{display:inline}
.today-card .hu-grid{grid-template-columns:minmax(0,1fr)}
.headsup.empty .hu-h{margin:0}
.headsup.empty .hu-grid{display:none}
.headsup.empty:has(.hu-form.show) .hu-h,.headsup.empty:has(.hu-form.open) .hu-h{margin-bottom:8px}
.needs-box .needs-list li:nth-child(n){display:list-item}
.needs-box .hu-note-t .n{margin-left:8px;font-size:11px;vertical-align:middle}
.needs-box .n{background:var(--crit);color:#fff;border-radius:999px;padding:0 7px;line-height:19px}
@media (max-width:1100px){
  .band.today-card{gap:0}
  .dash>.today-card{order:-1;margin-bottom:16px}
}
@media (max-width:700px){.today-card .needs-list li:nth-child(n+4){display:none}.needs-box .needs-list li:nth-child(n){display:list-item}}

/* "See all" sits under the list; a festival in the card does not lift or throw a shadow on hover, only its name turns red */
.today-card .needs-fold{margin:8px 0 0;font-weight:600}
.today-card .needs-fold:hover{text-decoration:underline}
.band a.fe-card:hover{transform:none;box-shadow:none;border-color:transparent}
.band a.fe-card:hover .fe-name,.band a.fe-card:focus-visible .fe-name{color:var(--accent-ink)}

/* Tools and public sites: the same icon tiles as the apps; the copy-link button sits on the icon's corner */
.sitetile .copylink{left:calc(50% + 14px);top:-2px;transform:none;width:24px;height:24px;font-size:13px}
.sitetile>.tile{height:auto}

/* three sections, each with its own title: the festivals get one too, and a line between each festival */
.today-card .fe-h{margin:0 0 10px}
.today-card .fe-cards{gap:0}
.today-card .fe-card{padding:10px 0;border-top:1px solid var(--line)}
.today-card .fe-card:first-child{padding-top:0;border-top:0}
.today-card .fe-card:last-child{padding-bottom:0}
.band.today-card>section,.band.today-card>.needs-slot{padding:16px 0}
.band.today-card>section:first-child,.band.today-card>.needs-slot:first-child{padding-top:14px}
.band.today-card>section:last-child{padding-bottom:16px}
.headsup.empty{padding-top:14px;padding-bottom:14px}

/* three separate blocks (Needs you, Heads up, Festivals), each its own card */
.band.today-card{gap:12px;padding:0;background:none;border:0;border-radius:0}
.band.today-card>section,.band.today-card>.needs-slot,.band.today-card>section:first-child,.band.today-card>section:last-child,.band.today-card>.needs-slot:first-child{padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.band.today-card>.needs-slot[hidden]{display:none}
.band.today-card>.needs-slot>.needs-card{background:none;border:0;padding:0}
.today-card .needs-slot .needs-card.clear{padding:0}
.headsup.empty{padding:10px 16px}
