/* wall.css -- the wall (calendar, meter, weather, ideas). Shared by the
   signed-in page (/) and the display link page (/display/). Uses the
   Toolshed tokens from /styles.css. */
.wall { --ok:#2f9e6b; --warn:#e8a317; --bad:#d9463b; --h:44px; font-size:14px; }
.wall button { font:inherit; color:inherit; cursor:pointer; }
.wall .top { display:flex; flex-wrap:wrap; gap:12px; align-items:stretch; justify-content:space-between; margin-bottom:12px; }
.wall .brand { min-width:200px; }
.wall .brand h1 { font-size:24px; margin:0; line-height:1.2; }
.wall .status { border:0; background:none; padding:0; color:var(--text-dim); font-size:13px; text-align:left; }
.wall .status.err { color:var(--bad); font-weight:600; }
.wall .box { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:10px 14px; }
.wall .meter { flex:1 1 320px; max-width:520px; }
.wall .lbl { font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--text-dim); }
.wall .mrow { display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.wall .mstat { font-weight:700; font-size:16px; }
.wall .bar { height:10px; border-radius:99px; background:var(--line); margin:7px 0 5px; overflow:hidden; position:relative; }
.wall .bar i { display:block; height:100%; border-radius:99px; transition:width .4s, background .4s; }
.wall .bar b { position:absolute; top:-2px; bottom:-2px; width:2px; left:85%; background:var(--text); opacity:.35; }
.wall .meter small { color:var(--text-dim); font-variant-numeric:tabular-nums; }
.wall .wx { display:flex; gap:4px; }
.wall .wx div { text-align:center; min-width:54px; padding:2px 4px; border-radius:8px; font-size:12px; line-height:1.3; }
.wall .wx div.today { background:var(--accent-sf); }
.wall .wx .ic { font-size:20px; display:block; }
.wall .wx a { font-size:10px; color:var(--text-dim); display:block; text-align:right; }
.wall .side { display:flex; flex-direction:column; align-items:flex-end; justify-content:space-between; gap:6px; }
.wall .clock { font-weight:700; font-size:20px; font-variant-numeric:tabular-nums; }
.wall .acts { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.wall .b { border:1px solid var(--line); background:var(--surface); border-radius:9px; padding:7px 12px; }
.wall .b.p { background:var(--accent); border-color:var(--accent); color:#fff; }
.wall .grid { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:14px; align-items:start; }
.wall.panels-off .grid { grid-template-columns:minmax(0,1fr); }
.wall.panels-off .ideas { display:none; }
@media (max-width:1000px) { .wall .grid { grid-template-columns:minmax(0,1fr); } }
.wall .pane { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:12px; min-width:0; }
.wall .toolbar { display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:space-between; margin-bottom:10px; }
.wall .nav { display:flex; align-items:center; gap:6px; }
.wall .nav button { border:1px solid var(--line); background:var(--bg); border-radius:8px; padding:7px 12px; }
.wall .nav h3 { font-size:15px; margin:0 0 0 4px; min-width:150px; }
.wall .seg { display:inline-flex; border:1px solid var(--line); border-radius:9px; overflow:hidden; }
.wall .seg button { border:0; background:transparent; padding:8px 14px; }
.wall .seg button[aria-pressed=true] { background:var(--accent); color:#fff; }
.wall .people { display:flex; flex-wrap:wrap; gap:6px; }
.wall .chip { display:inline-flex; align-items:center; gap:6px; padding:6px 11px; border-radius:99px; border:1px solid var(--line); background:var(--bg); }
.wall .chip[aria-pressed=false] { opacity:.45; }
.wall .dot { width:9px; height:9px; border-radius:50%; flex:none; display:inline-block; }
.wall .cal { overflow-x:auto; }
.wall .week { display:grid; min-width:660px; }
.wall .week.one { min-width:0; }
.wall .wh { font-size:12px; color:var(--text-dim); padding:4px 6px; border-bottom:1px solid var(--line); }
.wall .wh.today { color:var(--accent); font-weight:700; }
.wall .ad { border-bottom:1px solid var(--line); padding:2px; display:flex; flex-direction:column; gap:2px; min-height:6px; min-width:0; }
.wall .ad div { font-size:11px; border-radius:5px; padding:1px 5px; background:color-mix(in srgb, var(--c) 22%, var(--surface)); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:pointer; }
.wall .hours div { height:var(--h); font-size:11px; color:var(--text-dim); text-align:right; padding-right:6px; transform:translateY(-6px); font-variant-numeric:tabular-nums; }
.wall .col { position:relative; border-left:1px solid var(--line); background-image:linear-gradient(var(--line) 1px, transparent 1px); background-size:100% var(--h); }
.wall .col.over, .wall .mc.over { background-color:color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.wall .now { position:absolute; left:0; right:0; height:2px; background:var(--bad); z-index:3; pointer-events:none; }
.wall .ev { position:absolute; border-radius:7px; padding:3px 6px; font-size:11.5px; line-height:1.25; overflow:hidden; z-index:2;
  background:color-mix(in srgb, var(--c) 18%, var(--surface)); border:1.5px solid var(--c); cursor:pointer; }
.wall .ev.local { cursor:grab; touch-action:none; }
.wall .ev.masked { background:repeating-linear-gradient(45deg, color-mix(in srgb, var(--c) 8%, var(--surface)) 0 6px, var(--surface) 6px 12px); }
.wall .ev.masked strong { color:var(--text-dim); font-weight:500; }
.wall .ev.work { background:repeating-linear-gradient(45deg, color-mix(in srgb, var(--c) 10%, var(--surface)) 0 6px, var(--surface) 6px 12px); }
.wall .ev.clash { box-shadow:0 0 0 2px var(--bad); }
.wall .ev.new { animation:mcpop .5s; }
@keyframes mcpop { from { transform:scale(.9); opacity:.3; } }
@media (prefers-reduced-motion:reduce) { .wall .ev.new { animation:none; } .wall .bar i { transition:none; } }
.wall .ev strong { display:block; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wall .ev .who { display:flex; gap:2px; margin-top:2px; }
.wall .ev .who i { width:7px; height:7px; border-radius:50%; }
.wall .buf { position:absolute; border-radius:0 0 7px 7px; pointer-events:none; z-index:1;
  background:repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--text-dim) 25%, transparent) 4px 6px); }
.wall .drv { position:absolute; border-radius:7px 7px 0 0; z-index:1; overflow:hidden; font-size:10.5px; line-height:1.2; padding:1px 4px;
  color:var(--text-dim); border:1px dashed color-mix(in srgb, var(--c) 60%, transparent); border-bottom:0;
  background:repeating-linear-gradient(90deg, color-mix(in srgb, var(--c) 12%, transparent) 0 8px, transparent 8px 14px); white-space:nowrap; }
.wall .month { display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.wall .month .dn { background:var(--surface); font-size:11px; color:var(--text-dim); padding:6px; text-transform:uppercase; letter-spacing:.06em; }
.wall .mc { background:var(--surface); min-height:96px; padding:5px; font-size:11px; display:flex; flex-direction:column; gap:2px; min-width:0; }
.wall .mc.dim { opacity:.45; }
.wall .mc.today .n { color:#fff; background:var(--accent); border-radius:99px; padding:0 6px; align-self:flex-start; }
.wall .mc .n { font-weight:700; font-variant-numeric:tabular-nums; }
.wall .mc .e { border-left:3px solid var(--c); padding-left:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:pointer; }
.wall .ideas h2 { font-size:16px; margin:0 0 4px; }
.wall .hint { font-size:12px; color:var(--text-dim); margin:0 0 10px; }
.wall .recs { display:flex; flex-direction:column; gap:8px; max-height:calc(100vh - 300px); overflow:auto; }
.wall .rec { border:1px solid var(--line); border-radius:10px; padding:10px; background:var(--bg); cursor:grab; touch-action:none; }
.wall .rec h4 { margin:0 0 3px; font-size:14px; font-weight:600; }
.wall .rec .why { color:var(--text-dim); font-size:12.5px; }
.wall .rec .why a { color:var(--text-dim); }
.wall .rec .row { display:flex; justify-content:space-between; align-items:center; margin-top:8px; gap:6px; }
.wall .rec .who { display:flex; gap:3px; }
.wall .rec .who i { width:9px; height:9px; border-radius:50%; }
.wall .rec .ra { display:flex; gap:4px; }
.wall .rec .ra button { border:1px solid var(--line); background:var(--surface); border-radius:7px; padding:5px 9px; font-size:12px; }
.wall .rec .ra .add { background:var(--accent); color:#fff; border-color:var(--accent); }
.wall .learn { border-top:1px solid var(--line); margin-top:12px; padding-top:10px; font-size:12.5px; }
.wall .learn ul { padding:0; margin:4px 0 0; list-style:none; display:flex; flex-direction:column; gap:4px; }
.wall .srcs { font-size:11.5px; color:var(--text-dim); margin-top:10px; }
.wall .srcs a { color:var(--text-dim); }
.mc-ghost { position:fixed; z-index:50; pointer-events:none; opacity:.92; box-shadow:0 8px 24px #0003; top:0; left:0; }
.mc-toast { position:fixed; bottom:16px; left:50%; transform:translateX(-50%); background:var(--text); color:var(--surface); padding:9px 15px; border-radius:9px; font-size:13px; opacity:0; transition:opacity .25s; pointer-events:none; z-index:60; max-width:90vw; }
.mc-toast.on { opacity:1; }
.mc-pop { position:fixed; z-index:40; background:var(--surface); color:var(--text); border:1px solid var(--line); border-radius:12px; box-shadow:0 10px 30px #0003; padding:14px; width:min(340px, 92vw); font-size:13.5px; }
.mc-pop h4 { margin:0 0 4px; font-size:16px; }
.mc-pop .meta { color:var(--text-dim); margin-bottom:8px; }
.mc-pop .opts { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.mc-pop .opts button { border:1px solid var(--line); background:var(--bg); border-radius:8px; padding:6px 10px; font:inherit; color:inherit; cursor:pointer; }
.mc-pop .opts button[aria-pressed=true] { background:var(--accent); border-color:var(--accent); color:#fff; }
.mc-modal { position:fixed; inset:0; background:#0006; z-index:45; display:flex; align-items:center; justify-content:center; padding:16px; }
.mc-modal .mc-dialog { position:static; width:min(460px, 100%); max-height:90vh; overflow:auto; }
.mc-dialog label { display:block; font-size:12.5px; color:var(--text-dim); margin-top:8px; }
.mc-dialog input, .mc-dialog textarea { width:100%; margin-top:3px; padding:8px 10px; border:1px solid var(--line); border-radius:8px; background:var(--bg); color:var(--text); font:inherit; }
.mc-dialog .vrow { display:grid; grid-template-columns:1.3fr 1fr .8fr; gap:8px; }
.mc-dialog .vx { font-size:12.5px; margin-top:4px; padding:4px 8px; border-radius:6px; background:color-mix(in srgb, var(--warn, #e8a317) 18%, transparent); }
.mc-dialog .vx.missing, .mc-dialog .vx.check { background:color-mix(in srgb, var(--bad, #d9463b) 16%, transparent); }
.mc-dialog .opts button .dot { width:8px; height:8px; border-radius:50%; display:inline-block; }

.wall main.pane { position:relative; }
.wall .mic-fab { position:absolute; right:18px; bottom:18px; width:68px; height:68px; border-radius:50%; border:0; z-index:6;
  background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer;
  box-shadow:0 6px 18px color-mix(in srgb, var(--accent) 45%, transparent); transition:transform .2s, box-shadow .2s; }
.wall .mic-fab svg { width:34px; height:34px; fill:currentColor; }
.wall .mic-fab:hover { transform:scale(1.06); }
.wall .mic-fab.live { transform:scale(1.25); animation:micglow 1.2s ease-in-out infinite; z-index:50; position:fixed; right:28px; bottom:28px; }
@keyframes micglow {
  0%,100% { box-shadow:0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent), 0 0 24px 6px color-mix(in srgb, var(--accent) 50%, transparent); }
  50%     { box-shadow:0 0 0 18px color-mix(in srgb, var(--accent) 0%, transparent), 0 0 46px 16px color-mix(in srgb, var(--accent) 65%, transparent); } }
@media (prefers-reduced-motion:reduce) { .wall .mic-fab.live { animation:none; box-shadow:0 0 0 6px color-mix(in srgb, var(--accent) 50%, transparent); } }

/* Wall readability: bigger type, fewer lines, clearer contrast */
.wall { font-size:15px; }
.wall .top { margin-bottom:10px; gap:10px; }
.wall .brand h1 { font-size:28px; }
.wall .clock { font-size:30px; }
.wall .mstat { font-size:20px; }
.wall .bar { height:14px; }
.wall .wx div { min-width:64px; font-size:14px; font-weight:600; }
.wall .wx .ic { font-size:26px; }
.wall .wx .rain { display:block; font-size:12px; font-weight:500; color:var(--text-dim); }
.wall .wx .rain.hi { color:#2b6fd6; font-weight:700; }
.wall .wh { font-size:14px; font-weight:600; color:var(--text); padding:6px; }
.wall .wh.today { color:#fff; background:var(--accent); border-radius:8px 8px 0 0; }
.wall .hours div { font-size:12px; }
.wall .col { background-image:linear-gradient(color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px); }
.wall .ev { font-size:13px; padding:3px 7px; border-width:2px; border-radius:8px; }
.wall .ev strong { font-size:13.5px; }
.wall .ad div { font-size:12.5px; padding:2px 6px; }
.wall .chip { font-size:14px; padding:7px 13px; }
.wall .pane { padding:10px 12px; }
.wall .toolbar { margin-bottom:8px; }
.wall .rec h4 { font-size:15px; }
.wall .drv { font-size:11.5px; font-weight:600; }

/* One-row header */
.wall .top { flex-wrap:nowrap; align-items:center; }
.wall .brand { min-width:0; flex:0 1 220px; }
.wall .brand h1 { font-size:22px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wall .meter { flex:1 1 300px; min-width:220px; padding:6px 12px; }
.wall .box[data-r="wx"] { padding:4px 6px; flex:0 0 auto; }
.wall .side { flex:0 0 auto; flex-direction:row; align-items:center; gap:10px; }
.wall .clock { font-size:24px; white-space:nowrap; }
.wall .b.i { width:38px; height:38px; padding:0; display:inline-flex; align-items:center; justify-content:center; font-size:17px; }
@media (max-width:1100px) { .wall .top { flex-wrap:wrap; } }
/* Now line + countdown */
.wall .now { height:2px; overflow:visible; }
.wall .now::before { content:""; position:absolute; left:-5px; top:-4px; width:10px; height:10px; border-radius:50%; background:var(--bad); }
.wall .now .next { position:absolute; left:8px; top:-11px; white-space:nowrap; font-size:11.5px; font-weight:700; color:#fff;
  background:var(--bad); border-radius:99px; padding:1px 8px; box-shadow:0 1px 4px #0003; }

/* Layout v3: wider, cleaner header, full-height ideas */
.app.wide { max-width:none !important; padding-left:14px !important; padding-right:14px !important; }
.wall .grid { grid-template-columns:minmax(0,1fr) 360px; }
.wall .top { display:grid; grid-template-columns:1fr minmax(320px,560px) 1fr; align-items:center; gap:16px; }
.wall .brand { display:flex; align-items:baseline; gap:14px; flex-wrap:wrap; max-width:none; }
.wall .brand h1 { font-size:24px; }
.wall .brand .clock { font-size:22px; font-weight:600; color:var(--text-dim); }
.wall .brand .status:empty { display:none; }
.wall .meter { justify-self:stretch; text-align:left; }
.wall .wxbox { justify-self:end; }
@media (max-width:1100px) { .wall .top { grid-template-columns:1fr; } .wall .wxbox { justify-self:start; } }
.wall .ideas { display:flex; flex-direction:column; height:calc(100vh - 118px); position:sticky; top:8px; }
.wall .recs { flex:1 1 auto; max-height:none !important; min-height:0; }
.wall .rec { padding:9px 10px; }
.wall .rec .why { font-size:12px; line-height:1.35; }
.wall .ideas-foot { display:flex; gap:6px; justify-content:space-between; align-items:center; border-top:1px solid var(--line); padding-top:8px; margin-top:8px; }
.wall .ideas-foot .b:first-child { flex:1; }
.wall.panels-off .ideas { display:flex; position:fixed; left:14px; bottom:14px; height:auto; width:auto; padding:6px; z-index:7; }
.wall.panels-off .ideas > :not(.ideas-foot) { display:none; }
.wall.panels-off .ideas-foot { border:0; margin:0; padding:0; }
.wall .seg button[data-a="panels"] { border-right:1px solid var(--line); }
/* time already gone today and on earlier days */
.wall .past { position:absolute; left:0; right:0; top:0; pointer-events:none; z-index:0;
  background:repeating-linear-gradient(135deg, color-mix(in srgb, var(--text-dim) 9%, transparent) 0 5px, transparent 5px 11px); }

/* Full event text: titles wrap instead of being cut off */
.wall .ev strong { white-space:normal; overflow:hidden; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; line-height:1.2; }
.wall .ev { line-height:1.2; }

/* ---------- fun decorations ---------- */
.wall .ev .fun { position:absolute; right:4px; bottom:2px; pointer-events:none; font-size:15px; line-height:1; }
.wall.fun-off .ev .fun, .fun-off ~ .critter { display:none; }
.wall .fun b { position:relative; display:inline-block; font-weight:400; }
.wall .fun.bee { position:absolute; inset:0; overflow:visible; }
.wall .fun.bee .drip { position:absolute; top:-1px; left:18%; width:7px; height:10px; background:#f2b705; border-radius:0 0 50% 50%; animation:drip 3.2s ease-in infinite; opacity:.85; }
.wall .fun.bee .drip.d2 { left:62%; animation-delay:1.4s; width:5px; }
.wall .fun.bee .buzz { position:absolute; right:6px; bottom:4px; animation:buzz 4.7s ease-in-out infinite; }
.wall .fun.bee .buzz.b2 { right:30px; bottom:12px; font-size:12px; animation-duration:6.3s; animation-delay:-2s; }
@keyframes drip { 0% { height:4px; } 70% { height:16px; } 85% { height:16px; opacity:.85; } 100% { height:20px; opacity:0; transform:translateY(6px); } }
@keyframes buzz { 0%,100% { transform:translate(0,0) rotate(0); } 20% { transform:translate(-14px,-8px) rotate(-12deg); } 45% { transform:translate(-26px,2px) rotate(8deg); } 70% { transform:translate(-8px,-12px) rotate(-6deg); } }
.wall .fun.piano .keys { display:inline-flex; gap:1px; margin-right:4px; vertical-align:bottom; }
.wall .fun.piano .keys i { width:5px; height:12px; background:#fff; border:1px solid #333; border-radius:0 0 2px 2px; animation:key 2.4s infinite; }
.wall .fun.piano .keys i:nth-child(2) { animation-delay:.3s } .wall .fun.piano .keys i:nth-child(3) { animation-delay:.6s }
.wall .fun.piano .keys i:nth-child(4) { animation-delay:.9s } .wall .fun.piano .keys i:nth-child(5) { animation-delay:1.2s }
.wall .fun.piano .keys i:nth-child(6) { animation-delay:1.5s } .wall .fun.piano .keys i:nth-child(7) { animation-delay:1.8s }
@keyframes key { 0%,12%,100% { background:#fff; transform:none; } 6% { background:var(--c); transform:translateY(1px); } }
.wall .fun.piano .note { animation:float 3s ease-in-out infinite; }
@keyframes float { 0%,100% { transform:translateY(0); opacity:1; } 50% { transform:translateY(-10px); opacity:.6; } }
.wall .fun .bounce { animation:bounce 1.6s cubic-bezier(.3,0,.7,1) infinite; }
@keyframes bounce { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-9px) rotate(180deg); } }
.wall .fun.swim .wave { position:absolute; right:-4px; bottom:-2px; width:60px; height:6px; border-radius:6px; background:repeating-linear-gradient(90deg,#4aa3df 0 8px,#7cc3ef 8px 16px); animation:wave 2s linear infinite; opacity:.7; }
@keyframes wave { to { background-position:16px 0; } }
.wall .fun .bob { animation:float 2.4s ease-in-out infinite; }
.wall .fun .pop { animation:float 2.8s ease-in-out infinite; } .wall .fun .pop.p2 { animation-delay:-1.3s; }
.wall .fun .stomp { animation:stomp 1.2s steps(2) infinite; }
@keyframes stomp { 50% { transform:translateY(-3px) rotate(-6deg); } }
.wall .fun .wiggle { animation:wiggle 2.2s ease-in-out infinite; }
@keyframes wiggle { 0%,100% { transform:rotate(0); } 25% { transform:rotate(-14deg); } 75% { transform:rotate(14deg); } }
.wall .fun .roll { animation:roll 3s ease-in-out infinite alternate; }
@keyframes roll { from { transform:translateX(0); } to { transform:translateX(-20px); } }
.critter { position:fixed; left:0; z-index:44; pointer-events:none; font-size:42px; white-space:nowrap; }
.critter span { display:inline-block; animation:hop .5s ease-in-out infinite alternate; }
.critter.ltr { animation:runltr linear forwards; } .critter.ltr span { transform:scaleX(-1); }
.critter.rtl { animation:runrtl linear forwards; }
@keyframes runltr { from { transform:translateX(-120px); } to { transform:translateX(calc(100vw + 20px)); } }
@keyframes runrtl { from { transform:translateX(calc(100vw + 20px)); } to { transform:translateX(-160px); } }
@keyframes hop { to { margin-bottom:8px; } }
@media (prefers-reduced-motion:reduce) { .wall .fun * { animation:none !important; } .critter { display:none; } }

/* Layout v4: one screen, no page scroll. Header columns match the grid,
   so the weather is exactly as wide as Ideas and the panes line up. */
.wall { height:calc(100dvh - 16px); display:flex; flex-direction:column; overflow:hidden; }
.wall .top { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:14px; align-items:stretch; margin-bottom:10px; flex:none; }
.wall .topl { display:flex; align-items:center; gap:12px; min-width:0; }
.wall .topl .meter { flex:1 1 auto; max-width:560px; margin-left:auto; }
.wall .wxbox { justify-self:stretch; width:auto; }
.wall .wxbox .wx { justify-content:space-between; }
.wall .wxbox .wx div { min-width:0; flex:1; }
.wall .grid { flex:1 1 auto; min-height:0; align-items:stretch; grid-template-columns:minmax(0,1fr) 360px; }
.wall .grid > .pane { display:flex; flex-direction:column; min-height:0; }
.wall .cal, .wall .lists { flex:1 1 auto; min-height:0; overflow:hidden; }
.wall .ideas { height:auto !important; position:static !important; }
.wall .month { height:100%; grid-auto-rows:auto; grid-template-rows:auto; }
.wall .mc { min-height:0; overflow:hidden; }
.wall .sos { font-size:20px; padding:4px 12px; background:color-mix(in srgb, var(--bad) 12%, var(--surface)); border-color:color-mix(in srgb, var(--bad) 40%, var(--line)); }
.wall .modes button { padding:7px 12px; }
@media (max-width:1000px) { .wall { height:auto; overflow:visible; } .wall .top, .wall .grid { grid-template-columns:minmax(0,1fr); } .wall .cal { min-height:70vh; } }

/* Past events: dimmed, no fun */
.wall .ev.gone, .wall .ad .gone, .wall .mc .e.gone { opacity:.45; filter:grayscale(.7); }
.wall .ev.gone .fun { display:none; }

/* Ideas filter + plain summary */
.wall .ideas-head { display:flex; flex-direction:column; gap:6px; margin-bottom:6px; }
.wall .seg.mini button { padding:4px 8px; font-size:12px; }
.wall .rec .sum { font-size:12.5px; line-height:1.35; margin:2px 0 3px; }

/* Lists */
.wall .lgrid { display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:10px; height:calc(100% - 30px); overflow:auto; align-content:start; }
.wall .lhead { font-weight:700; display:flex; align-items:center; gap:6px; margin-bottom:6px; }
.wall .lcard { border:1px solid var(--line); border-radius:10px; padding:8px; margin-bottom:8px; background:var(--bg); }
.wall .ltitle { font-weight:600; margin-bottom:4px; } .wall .ltitle small { color:var(--text-dim); font-weight:400; }
.wall .lcard ul { list-style:none; margin:0; padding:0; }
.wall .lcard li button { display:flex; gap:8px; align-items:center; width:100%; border:0; background:none; padding:6px 2px; text-align:left; font-size:15px; }
.wall .lcard li .box { width:20px; height:20px; border:2px solid var(--line); border-radius:6px; display:inline-grid; place-items:center; flex:none; font-size:13px; }
.wall .lcard li.done button { color:var(--text-dim); text-decoration:line-through; }
.wall .lcard li.done .box { background:var(--ok); border-color:var(--ok); color:#fff; }
.wall .lcard li.empty { color:var(--text-dim); font-size:12px; padding:4px 0; }
.wall .lacts { display:flex; gap:4px; margin-top:6px; } .wall .lacts button { border:1px solid var(--line); background:var(--surface); border-radius:7px; padding:3px 8px; font-size:12px; }
.wall .lacts button.sure { background:var(--bad); color:#fff; border-color:var(--bad); }
.wall .lhint { margin:6px 0 0; }

/* Contacts modal */
.ctl { display:flex; flex-direction:column; gap:6px; margin:8px 0; }
.ct { display:grid; grid-template-columns:1fr auto; gap:0 10px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; text-decoration:none; color:inherit; }
.ct span { color:var(--text-dim); } .ct .ph { grid-column:2; grid-row:1 / span 2; align-self:center; font-weight:700; font-size:17px; color:var(--accent); }
.ct small { grid-column:1; color:var(--text-dim); }

/* Listening stage: sound flowing into the core */
.vx-stage { position:fixed; inset:0; z-index:60; background:radial-gradient(circle at 50% 42%, #2a1a12 0, #0d0a09 70%); color:#fff; animation:vxin .3s ease-out; --lvl:0; }
.vx-stage.out { animation:vxout .25s ease-in forwards; }
@keyframes vxin { from { opacity:0; transform:scale(1.04); } } @keyframes vxout { to { opacity:0; transform:scale(.97); } }
.vx-stage canvas { position:absolute; inset:0; width:100%; height:100%; }
.vx-core { position:absolute; left:50%; top:42%; width:16vmin; height:16vmin; transform:translate(-50%,-50%) scale(calc(1 + var(--lvl) * .18)); border-radius:50%;
  background:radial-gradient(circle at 40% 35%, #ffb27a, #C2571F 60%, #6e2a0c); box-shadow:0 0 calc(30px + var(--lvl) * 90px) color-mix(in srgb, #ff8a3d 70%, transparent); display:grid; place-items:center; transition:transform .08s; }
.vx-core svg { width:45%; fill:#fff; }
.vx-text { position:absolute; left:50%; bottom:8vh; transform:translateX(-50%); width:min(720px, 92vw); text-align:center; }
.vx-hint { opacity:.75; font-size:16px; } .vx-heard { font-size:26px; font-weight:600; min-height:1.4em; margin:10px 0 16px; }
.vx-text input { width:100%; font-size:18px; padding:10px 12px; border-radius:10px; border:1px solid #fff4; background:#0008; color:#fff; margin-bottom:12px; }
.vx-btns { display:flex; gap:10px; justify-content:center; } .vx-btns button { font:inherit; font-size:16px; padding:10px 20px; border-radius:99px; border:1px solid #fff5; background:#fff1; color:#fff; cursor:pointer; }
.vx-btns button[data-done] { background:#C2571F; border-color:#C2571F; }
@media (prefers-reduced-motion:reduce) { .vx-stage, .vx-core { animation:none; transition:none; } }
.mic-again { white-space:nowrap; }

/* v5: header, SOS, list columns, tentative */
.wall .brand { flex-direction:column; align-items:flex-start; gap:0; }
.wall .brand h1 { font-size:30px; line-height:1.1; }
.wall .brand .clock { font-size:26px; font-weight:700; color:var(--text); }
.wall .topl { gap:16px; }
.wall .sos { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; min-width:72px; padding:6px 12px; border-radius:12px;
  border:2px solid #d9463b; background:#d9463b; color:#fff; box-shadow:0 0 0 0 #d9463b66; animation:sosp 3s infinite; }
.wall .sos b { font-size:20px; letter-spacing:.08em; line-height:1; } .wall .sos small { font-size:11px; opacity:.9; }
@keyframes sosp { 70% { box-shadow:0 0 0 8px #d9463b00; } }
@media (prefers-reduced-motion:reduce) { .wall .sos { animation:none; } }
.wall .lgrid { gap:0; }
.wall .lcol { padding:0 12px; border-left:1px solid var(--line); min-height:100%; }
.wall .lcol:first-child { border-left:0; }
.wall .lhead { padding-bottom:6px; border-bottom:3px solid var(--line); }
.wall .lcard li .tick { width:22px; height:22px; border:2px solid var(--text-dim); border-radius:6px; display:inline-grid; place-items:center; flex:none; font-size:14px; line-height:1; box-sizing:border-box; }
.wall .lcard li.done .tick { background:var(--ok); border-color:var(--ok); color:#fff; }
.wall .feeds { flex:1 1 auto; min-height:0; overflow:hidden; }
.wall .fcard .fsum { font-size:14px; line-height:1.35; } .wall .fcard.urgent { border-color:var(--bad); }
.wall .ev.tent { opacity:.7; border-style:dashed; background:repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 14%, var(--surface)) 0 5px, var(--surface) 5px 10px); }
.wall .ev.tent strong::after { content:" ?"; color:var(--text-dim); font-weight:400; }

/* v6: mode tiles, timers, alarm */
.wall .topl { align-items:stretch; }
.wall .brand { justify-content:center; min-width:230px; flex:none; }
.wall .tnext { font-size:15px; color:var(--accent); font-variant-numeric:tabular-nums; margin-top:2px; }
.wall .tnext small { color:var(--text-dim); }
.wall .modes { display:flex; gap:10px; flex:none; }
.wall .modes .tile { width:86px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding:8px 6px; font-size:13px; font-weight:600; cursor:pointer; }
.wall .modes .tile span { font-size:28px; line-height:1; }
.wall .modes .tile[aria-pressed=true] { border-color:var(--accent); box-shadow:inset 0 0 0 2px var(--accent); color:var(--accent); background:var(--accent-sf); }
.wall .topl .meter { max-width:none; margin-left:0; }
.wall .sos { flex:none; }
.wall .timer-fab { right:auto; left:18px; background:var(--surface); color:var(--accent); border:2px solid var(--accent); }
.wall .tmark { position:absolute; left:0; right:0; z-index:4; height:0; border-top:2px dotted var(--accent); pointer-events:none; }
.wall .tmark span { position:absolute; right:2px; top:-11px; font-size:10.5px; font-weight:700; background:var(--accent); color:#fff; border-radius:99px; padding:1px 7px; white-space:nowrap; }
.alarm { position:fixed; inset:0; z-index:70; display:grid; place-items:center; background:#0009; animation:vxin .25s; }
.alarm-in { background:#1b120d; color:#fff; border-radius:24px; padding:36px 48px; text-align:center; box-shadow:0 0 0 6px #C2571F, 0 0 80px #ff8a3d88; }
.alarm-in h2 { font-size:34px; margin:8px 0 4px; } .alarm-in p { opacity:.75; margin:0 0 20px; }
.alarm .bell { font-size:96px; display:inline-block; animation:ringb .5s ease-in-out infinite; transform-origin:50% 8%; }
@keyframes ringb { 0%,100% { transform:rotate(0); } 25% { transform:rotate(18deg); } 75% { transform:rotate(-18deg); } }
.alarm .vx-btns button[data-stop] { background:#C2571F; border-color:#C2571F; font-size:20px; padding:14px 34px; }
@media (prefers-reduced-motion:reduce) { .alarm .bell { animation:none; } }
.ct { grid-template-columns:1fr auto; }

/* v7: compact idea tiles, tappable timers */
.wall .rec.c { padding:7px 9px; }
.wall .rec.c .rt { display:flex; justify-content:space-between; gap:6px; align-items:baseline; }
.wall .rec.c h4 { font-size:13.5px; line-height:1.25; margin:0; }
.wall .rec.c .rt a { color:var(--text-dim); text-decoration:none; font-size:12px; flex:none; }
.wall .rec.c .sum { font-size:12px; color:var(--text-dim); margin:2px 0 0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.wall .rec.c .row { margin-top:5px; }
.wall .rec.c .meta { font-size:11.5px; color:var(--text-dim); display:flex; align-items:center; gap:6px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wall .rec.c .meta .who { display:inline-flex; gap:2px; flex:none; }
.wall .rec.c .ra button { padding:3px 8px; }
.wall .recs { gap:6px !important; }
.wall .tmark { pointer-events:none; }
.wall .tmark button { pointer-events:auto; position:absolute; right:2px; top:-11px; font-size:10.5px; font-weight:700; background:var(--accent); color:#fff; border:0; border-radius:99px; padding:1px 7px; white-space:nowrap; cursor:pointer; }
.wall .tnext { border:0; background:none; padding:0; text-align:left; cursor:pointer; font:inherit; font-size:15px; color:var(--accent); }
.tlist { display:flex; flex-direction:column; gap:6px; margin:8px 0; }
.trow { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:8px 10px; border:1px solid var(--line); border-radius:10px; }
.trow small { display:block; color:var(--text-dim); }
.trow button { border:1px solid var(--bad, #d9463b); color:var(--bad, #d9463b); background:none; border-radius:8px; padding:6px 10px; font:inherit; cursor:pointer; }

/* ---------- UI pass 2026-11-10 ---------- */
/* Now line: the countdown sits in the hour gutter so it never covers an event;
   the arrow nudges down to show the line moves with the clock. */
.wall .hours { position:relative; }
.wall .now::before { left:-5px; }
.wall .nowtag { position:absolute; left:0; right:4px; transform:translateY(-50%); z-index:4; pointer-events:none; }
.wall .nowtag .next { display:block; position:relative; left:auto; top:auto; text-align:center; font-size:10.5px; line-height:1.15; font-weight:700; color:#fff;
  background:var(--bad); border-radius:8px; padding:3px 2px 3px 2px; box-shadow:0 1px 4px #0003; white-space:nowrap; }
.wall .nowtag .arw { position:absolute; right:-7px; top:50%; transform:translateY(-50%) rotate(-90deg); font-size:9px; color:var(--bad); animation:nowarw 2.4s ease-in-out infinite; }
@keyframes nowarw { 0%,100% { margin-top:-2px; } 50% { margin-top:2px; } }
@media (prefers-reduced-motion:reduce) { .wall .nowtag .arw { animation:none; } }

/* Family name: the app's orange, a bit bigger */
.wall .brand h1 { color:var(--accent); font-size:30px; font-weight:700; }

/* Settings gear: easy to spot */
.wall .ideas-foot [data-a="settings"] { background:var(--accent); border-color:var(--accent); color:#fff; font-size:22px; width:44px; height:44px;
  box-shadow:0 0 14px color-mix(in srgb, var(--accent) 45%, transparent); }

/* Timer and mic buttons: same filled style, soft orange glow */
.wall .mic-fab, .wall .timer-fab { background:var(--accent); color:#fff; border:0;
  box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent), 0 6px 22px color-mix(in srgb, var(--accent) 55%, transparent); }
.wall .mic-fab.live { transform:scale(1.08); position:absolute; right:18px; bottom:18px; z-index:6;
  animation:micsoft 1.8s ease-in-out infinite; }
@keyframes micsoft { 0%,100% { box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent), 0 0 18px 4px color-mix(in srgb, var(--accent) 40%, transparent); }
  50% { box-shadow:0 0 0 8px color-mix(in srgb, var(--accent) 15%, transparent), 0 0 28px 8px color-mix(in srgb, var(--accent) 50%, transparent); } }

/* Listening: a small card above the mic instead of a full-screen takeover */
.vx-stage { inset:auto; right:24px; bottom:100px; width:min(420px, calc(100vw - 48px)); border-radius:18px; padding:20px 20px 16px;
  background:var(--surface, #1b120d); color:var(--text, #222); border:1px solid color-mix(in srgb, #C2571F 35%, transparent);
  box-shadow:0 12px 36px #0004, 0 0 30px color-mix(in srgb, #C2571F 25%, transparent); animation:vxcard .2s ease-out; z-index:60; }
@keyframes vxcard { from { opacity:0; transform:translateY(8px); } }
.vx-stage.out { animation:vxcardout .18s ease-in forwards; } @keyframes vxcardout { to { opacity:0; transform:translateY(8px); } }
.vx-core { position:relative; left:auto; top:auto; margin:0 auto 12px; width:64px; height:64px; transform:scale(calc(1 + var(--lvl) * .08));
  box-shadow:0 0 calc(10px + var(--lvl) * 26px) color-mix(in srgb, #ff8a3d 55%, transparent); transition:transform .15s, box-shadow .15s; }
.vx-text { position:static; transform:none; width:auto; }
.vx-hint { font-size:14px; opacity:.7; } .vx-heard { font-size:19px; margin:6px 0 12px; }
.vx-text input { color:inherit; background:color-mix(in srgb, var(--text, #222) 6%, transparent); border-color:var(--line, #ccc); }
.vx-btns button { color:inherit; border-color:var(--line, #ccc); background:transparent; font-size:14px; padding:8px 16px; }
.vx-btns button[data-done] { color:#fff; }

/* ---------- UI pass 2 (2026-11-10) ---------- */
/* Who it's with: initials, always shown (top-right on short blocks) */
.wall .ev .who i { width:16px; height:16px; display:inline-grid; place-items:center; font-style:normal; font-size:9.5px; font-weight:700; color:#fff; text-shadow:0 0 2px #0006; }
.wall .ev .who.inl { position:absolute; right:4px; top:3px; margin:0; }
.wall .ev:has(.who.inl) strong { padding-right:calc(18px * 3); }

/* Now line reaches back to the hour gutter */
.wall .now.lead { background:none; border-top:2px dashed color-mix(in srgb, var(--bad) 55%, transparent); height:0; }
.wall .now.lead::before { display:none; }

/* Family name: higher, nothing clipped */
.wall .brand h1 { line-height:1.25; padding-bottom:3px; margin-top:-8px; overflow:visible; text-overflow:clip; }

/* Gear: big orange icon on a plain button */
.wall .ideas-foot [data-a="settings"] { background:var(--surface); color:var(--accent); border:2px solid var(--accent); font-size:26px; box-shadow:none; }
.wall .ideas-foot [data-a="settings"]:hover { background:var(--accent-sf); }

/* Listening card: centred, warm, gently glowing rings */
.vx-stage { left:50%; top:50%; right:auto; bottom:auto; transform:translate(-50%,-50%); width:min(460px, calc(100vw - 48px)); padding:28px 24px 20px;
  background:radial-gradient(circle at 50% 30%, #3a2216 0, #1b120d 75%); color:#fff; border:1px solid #C2571F66; border-radius:22px;
  box-shadow:0 0 0 100vmax #0003, 0 20px 50px #0006, 0 0 50px #ff8a3d40; animation:vxpop .22s ease-out; }
@keyframes vxpop { from { opacity:0; transform:translate(-50%,-48%) scale(.97); } }
.vx-stage.out { animation:vxdrop .18s ease-in forwards; } @keyframes vxdrop { to { opacity:0; transform:translate(-50%,-48%) scale(.97); } }
.vx-core { width:84px; height:84px; margin:4px auto 16px; position:relative; }
.vx-core::before, .vx-core::after { content:""; position:absolute; inset:-10px; border-radius:50%; border:2px solid #ff8a3d88;
  transform:scale(calc(1 + var(--lvl) * .35)); opacity:calc(.35 + var(--lvl) * .6); transition:transform .12s, opacity .12s; animation:vxring 2.6s ease-in-out infinite; }
.vx-core::after { inset:-22px; border-color:#ff8a3d44; animation-delay:-1.3s; }
@keyframes vxring { 0%,100% { filter:blur(0); } 50% { filter:blur(1.5px); } }
.vx-hint { color:#fff; opacity:.75; } .vx-heard { color:#fff; }
.vx-text input { color:#fff; background:#0006; border-color:#fff3; }
.vx-btns button { color:#fff; border-color:#fff5; background:#fff1; }
@media (prefers-reduced-motion:reduce) { .vx-core::before, .vx-core::after { animation:none; transition:none; } }

/* December: a string of lights along the top */
.wall.xmas .top { position:relative; }
.wall.xmas .top::before { content:""; position:absolute; left:0; right:0; top:-10px; height:8px; pointer-events:none;
  background:radial-gradient(circle, #e53935 0 3px, transparent 3.5px) 0 0/48px 8px, radial-gradient(circle, #43a047 0 3px, transparent 3.5px) 16px 0/48px 8px, radial-gradient(circle, #fbc02d 0 3px, transparent 3.5px) 32px 0/48px 8px;
  animation:xlights 2s steps(2) infinite; }
@keyframes xlights { 50% { filter:brightness(.6); } }
.wall.fun-off.xmas .top::before { display:none; }
/* Who chips: always top-right, never clipped */
.wall .ev .who.inl { position:absolute; right:4px; top:4px; margin:0; display:flex; gap:2px; z-index:1; }
.wall .ev .who i.all { width:auto; padding:0 6px; border-radius:99px; background:var(--accent); font-size:9.5px; }
.wall .ev:has(.who.inl) strong { padding-right:44px; }
.wall .fcard.action { border-color:var(--accent); box-shadow:inset 3px 0 0 var(--accent); }
.wall .fcard small { display:block; color:var(--text-dim); margin-top:4px; }
.wall .fdone { margin-top:6px; border:1px solid var(--line); background:var(--surface); border-radius:7px; padding:4px 10px; font-size:12.5px; cursor:pointer; }
.wall .fgroup { font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-dim); margin:10px 0 4px; font-weight:700; }
.wall .fcard.digest { border-color:var(--accent); background:color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.wall .fbul { margin:4px 0 0; padding-left:18px; font-size:14px; line-height:1.4; } .wall .fbul li { margin:2px 0; }
.wall .fbar { display:flex; justify-content:flex-end; margin-top:8px; }

/* ---------- Tablets (Galaxy Tab etc., ~1100-1400 px wide) ---------- */
@media (max-width:1500px) {
  .wall .top, .wall .grid { grid-template-columns:minmax(0,1fr) 300px; }
  .wall.panels-off .grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:1300px) {
  .wall { font-size:13px; }
  .wall .top { gap:10px; margin-bottom:6px; }
  .wall .topl { gap:8px; }
  .wall .brand h1 { font-size:24px; }
  .wall .brand .clock { font-size:20px; }
  .wall .modes .tile { width:64px; padding:6px 4px; font-size:11.5px; }
  .wall .modes .tile span { font-size:22px; }
  .wall .meter .lbl, .wall .meter small { font-size:10.5px; }
  .wall .mstat { font-size:16px; }
  .wall .sos { font-size:16px; padding:2px 8px; }
  .wall .wxbox .wx div { font-size:12px; } .wall .wxbox .wx .ic { font-size:20px; }
  .wall .wh { font-size:12.5px; padding:4px; }
  .wall .mic-fab { width:56px; height:56px; } .wall .mic-fab svg { width:28px; height:28px; }
}
/* Narrow day columns: every bit of width goes to the title. */
.wall .col { container-type:inline-size; }
@container (max-width:150px) {
  .ev { font-size:11.5px !important; padding:2px 4px !important; }
  .ev strong { font-size:12px !important; -webkit-line-clamp:4 !important; }
  .ev:has(.who.inl) strong { padding-right:0 !important; }
  .ev .who.inl { top:auto !important; bottom:2px; right:3px !important; opacity:.95; }
  .ev .who i { width:13px !important; height:13px !important; font-size:8px !important; }
  .ev .who i.all { padding:0 4px !important; }
  .ev .fun { display:none; }
  .drv { font-size:10px !important; }
}
/* Feeds top bar: Make digest now sits top-right, above the columns */
.wall .feeds { display:flex; flex-direction:column; min-height:0; }
.wall .feeds .fbar { display:flex; align-items:center; gap:10px; justify-content:flex-end; margin:0 0 8px; flex:none; }
.wall .feeds .fbar .hint { margin:0 auto 0 0; }
.wall .feeds .fnow { margin-top:0; padding:6px 14px; font-weight:600; border-color:var(--accent); color:var(--accent); }
.wall .feeds .lgrid { flex:1 1 auto; min-height:0; height:auto; }
.wall .feeds[hidden] { display:none; }
/* Idea tiles: the finger scrolls the list up/down; a sideways pull drags a tile to the calendar */
.wall .rec { touch-action:pan-y; }
.wall.mode-lists .rec .ra .add, .wall.mode-feeds .rec .ra .add { opacity:.4; }
/* Voice: pulse bars under the mic */
.vx-bars { display:flex; justify-content:center; align-items:center; gap:5px; height:34px; margin:-4px auto 10px; }
.vx-bars i { width:5px; height:100%; border-radius:3px; background:linear-gradient(#ffb27a, #C2571F); transform:scaleY(.25); transform-origin:50% 50%; transition:transform .08s linear; }
@media (prefers-reduced-motion:reduce) { .vx-bars i { transition:none; } }
.mc-install { position:fixed; left:50%; top:12px; transform:translateX(-50%); z-index:65; font:inherit; font-size:15px; font-weight:600;
  padding:10px 18px; border-radius:99px; border:0; background:#C2571F; color:#fff; box-shadow:0 6px 20px #C2571F66; cursor:pointer; }
/* Voice buttons by view: Lists keeps the mic (add to a list), Feeds has neither */
.wall.mode-lists .timer-fab, .wall.mode-feeds .timer-fab, .wall.mode-feeds .mic-fab { display:none; }

/* Meter: just the word, the bar and its percent (no hours text). Clashes only when there are some. */
.wall .meter { display:flex; flex-direction:column; justify-content:center; }
.wall .meter .bar { height:18px; margin:6px 0 2px; }
.wall .meter .bar .mpct { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:11.5px; font-weight:700; color:var(--text); font-variant-numeric:tabular-nums; }
.wall .meter .mclash { color:var(--bad); font-weight:600; text-align:center; }
.wall .meter .mclash:empty { display:none; }
/* Lists and Feeds: no Today / This week / This month (they only mean something on the calendar) */
.wall.mode-lists .seg[data-r="views"] button[data-v], .wall.mode-feeds .seg[data-r="views"] button[data-v] { display:none; }
.wall.mode-lists .seg[data-r="views"] button[data-a="panels"], .wall.mode-feeds .seg[data-r="views"] button[data-a="panels"] { border-right:0; }
/* Ideas collapsed: the Sync / ✨ / ⛶ buttons drop to a small bar at the bottom-left of the screen
   (not a full-width box). On the calendar they sit just right of the timer button. */
.wall.panels-off .ideas { position:fixed !important; left:max(28px, env(safe-area-inset-left)); top:auto !important; bottom:24px; width:auto !important; height:auto !important; padding:6px; z-index:7; box-shadow:0 4px 14px #0002; }
.wall.panels-off:not(.mode-lists):not(.mode-feeds) .ideas { left:110px; }
.wall.panels-off .ideas-foot .b:first-child { flex:none; }

/* v7: people filter on the date row; header collapses to one slim row (name, clock,
   meter bar, icon-only modes, SOS) so the calendar gets the room. */
.wall .toolbar { flex-wrap:nowrap; gap:10px; }
.wall .toolbar .nav, .wall .toolbar .seg { flex:none; }
.wall .toolbar .people { flex:1 1 auto; min-width:0; justify-content:center; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
.wall .toolbar .people::-webkit-scrollbar { display:none; }
.wall .toolbar .people .chip { flex:none; }
.wall.mode-lists .toolbar .nav, .wall.mode-feeds .toolbar .nav { display:none; }
@media (max-width:1000px) { .wall .toolbar { flex-wrap:wrap; } .wall .toolbar .people { order:3; flex-basis:100%; justify-content:flex-start; } }
.wall .tcol { flex:none; align-self:center; width:34px; height:34px; border-radius:50%; border:1px solid var(--line); background:var(--bg); color:var(--text-dim); font-size:16px; line-height:1; padding:0; cursor:pointer; }
.wall.top-min .top { grid-template-columns:minmax(0,1fr); margin-bottom:6px; }
.wall.top-min .wxbox { display:none; }
.wall.top-min .topl { align-items:center; gap:10px; }
.wall.top-min .brand { flex-direction:row; align-items:baseline; gap:10px; min-width:0; }
.wall.top-min .brand h1 { font-size:18px; }
.wall.top-min .brand .clock { font-size:16px; }
.wall.top-min .meter { padding:4px 10px; flex-direction:row; align-items:center; gap:10px; }
.wall.top-min .meter .mrow .lbl, .wall.top-min .meter .mclash { display:none; }
.wall.top-min .meter .mrow { flex:none; }
.wall.top-min .meter .mstat { font-size:12px; white-space:nowrap; }
.wall.top-min .meter .bar { flex:1 1 auto; height:12px; margin:0; }
.wall.top-min .modes { gap:6px; }
.wall.top-min .modes .tile { width:auto; padding:4px 8px; font-size:0; gap:0; }
.wall.top-min .modes .tile span { font-size:20px; }
.wall.top-min .sos { min-width:0; padding:3px 10px; flex-direction:row; gap:6px; }
.wall.top-min .sos small { display:none; } .wall.top-min .sos b { font-size:14px; }
.wall .toolbar .people { justify-content:safe center; gap:5px; }
.wall .toolbar .people .chip { font-size:13px; padding:5px 10px; gap:5px; }
.wall .toolbar .seg button { padding:8px 11px; }
.wall .toolbar .nav h3 { min-width:0; white-space:nowrap; }

/* ===================== Phone (narrow screens) =====================
   Essentials only: Day / 3 days / Week (a list), Lists, people filter, voice.
   Left out on a phone: Ideas, weather, Month, Feeds, timers, the meter, SOS,
   the header shrink button and the decorations. */
.wall .pbar { display:none; }
.wall .agenda { height:100%; overflow-y:auto; -webkit-overflow-scrolling:touch; padding-bottom:12px; }
.wall .ag-day { margin:0 0 14px; }
.wall .ag-day h4 { position:sticky; top:0; z-index:1; margin:0 0 6px; padding:6px 2px; font-size:14px; background:var(--surface); border-bottom:1px solid var(--line); }
.wall .ag-day.today h4 { color:var(--accent); }
.wall .ag-day.gone { opacity:.55; }
.wall .ag-ev { display:flex; align-items:center; gap:10px; padding:10px 10px; margin:0 0 6px; border-radius:10px; border-left:5px solid var(--c);
  background:color-mix(in srgb, var(--c) 12%, var(--surface)); cursor:pointer; }
.wall .ag-ev.gone { opacity:.5; }
.wall .ag-t { flex:none; width:58px; font-size:13px; font-weight:700; font-variant-numeric:tabular-nums; }
.wall .ag-n { flex:1 1 auto; min-width:0; font-size:15px; font-weight:600; overflow-wrap:anywhere; }
.wall .ag-n small { display:block; font-weight:500; color:var(--text-dim); font-size:12px; }
.wall .ag-ev .who { flex:none; display:flex; gap:2px; }
.wall .ag-ev .who i { width:18px; height:18px; border-radius:50%; display:inline-grid; place-items:center; color:#fff; font-size:10px; font-style:normal; font-weight:700; }
.wall .ag-ev .who i.all { width:auto; padding:0 6px; border-radius:99px; background:var(--accent); }
.wall .ag-none { color:var(--text-dim); font-size:13px; margin:2px 4px 8px; }

.wall.phone { height:calc(100dvh - var(--phone-top, 0px)); padding:0; overflow:hidden; display:flex; flex-direction:column; }
.wall.phone .top { display:flex !important; align-items:center; margin:0 0 6px; padding:0 2px; gap:8px; }
.wall.phone .topl { flex:1 1 auto; min-width:0; }
.wall.phone .brand { flex-direction:row !important; align-items:baseline; gap:8px; min-width:0 !important; flex:1 1 auto; }
.wall.phone .brand h1 { font-size:17px !important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wall.phone .brand .clock { font-size:14px !important; font-weight:600; color:var(--text-dim) !important; white-space:nowrap; }
.wall.phone .brand .status { font-size:12px; }
.wall.phone .modes, .wall.phone .meter, .wall.phone .sos, .wall.phone .tcol, .wall.phone .wxbox,
.wall.phone .ideas, .wall.phone .timer-fab, .wall.phone .mic-fab, .wall.phone .critter, .wall.phone .fun,
.wall.phone [data-v="month"], .wall.phone [data-a="panels"], .wall.phone [data-addedonly], .wall.phone .tnext { display:none !important; }
.wall.phone .grid { display:flex !important; flex-direction:column; flex:1 1 auto; min-height:0; gap:0; }
.wall.phone .grid > .pane { border-radius:12px; padding:8px; flex:1 1 auto; min-height:0; display:flex; flex-direction:column; }
.wall.phone .toolbar { flex-wrap:wrap !important; gap:6px; margin-bottom:6px; }
.wall.phone .toolbar .nav { flex:1 1 auto; gap:4px; }
.wall.phone .toolbar .nav button { padding:6px 10px; }
.wall.phone .toolbar .nav h3 { font-size:14px; }
.wall.phone .toolbar .seg { flex:1 1 100%; display:flex; }
.wall.phone .toolbar .seg button { flex:1; padding:8px 4px; font-size:14px; }
.wall.phone .toolbar .people { order:3; flex:1 1 100%; justify-content:flex-start !important; overflow-x:auto; }
.wall.phone .toolbar .people .chip { padding:6px 11px; font-size:13.5px; }
.wall.phone.mode-lists .toolbar .seg { display:none; }
.wall.phone .cal { flex:1 1 auto; min-height:0 !important; overflow-x:hidden; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.wall.phone .week { min-width:0; }
.wall.phone .week .wh { font-size:12px; padding:4px 2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wall.phone .hours div { font-size:10.5px; }
.wall.phone .ev strong { font-size:12px; }
.wall.phone .nowtag .next { display:none; }
/* Phone events: the title gets the full width, who-chips sit bottom-right */
.wall.phone .ev { padding:2px 4px; }
.wall.phone .ev:has(.who.inl) strong { padding-right:0 !important; -webkit-line-clamp:4; overflow-wrap:anywhere; }
.wall.phone .ev .who.inl { top:auto !important; bottom:2px; right:3px !important; }
.wall.phone .ev .who i { width:13px; height:13px; font-size:8px; }
.wall.phone .ev .fun { display:none; }
/* Lists: one column, stacked, scrolls */
.wall.phone .lists { flex:1 1 auto; min-height:0; overflow-y:auto !important; -webkit-overflow-scrolling:touch; }
.wall.phone .lists .lgrid { display:block !important; height:auto !important; }
.wall.phone .lists .lcol { width:auto !important; min-width:0 !important; border:0 !important; padding:0 !important; margin:0 0 14px; }
.wall.phone .lists .lcard li button { padding:10px 6px; font-size:16px; }
/* Bottom bar: Calendar · mic · Lists */
.wall.phone .pbar { display:flex; flex:none; align-items:center; justify-content:space-around; gap:8px; padding:6px 10px calc(6px + env(safe-area-inset-bottom));
  margin-top:6px; background:var(--surface); border:1px solid var(--line); border-radius:16px; }
.wall.phone .pbar button { flex:1; display:flex; flex-direction:column; align-items:center; gap:2px; border:0; background:none; font:inherit; font-size:12px; font-weight:600; color:var(--text-dim); padding:4px; cursor:pointer; }
.wall.phone .pbar button span { font-size:22px; line-height:1; }
.wall.phone .pbar button[aria-pressed=true] { color:var(--accent); }
.wall.phone .pbar .pmic { flex:none; width:62px; height:62px; margin-top:-26px; border-radius:50%; background:var(--accent); color:#fff; justify-content:center; box-shadow:0 6px 18px color-mix(in srgb, var(--accent) 45%, transparent); }
.wall.phone .pbar .pmic svg { width:30px; height:30px; fill:currentColor; }
/* Event details as a bottom sheet; dialogs full width */
.wall.phone ~ .mc-pop, body:has(.wall.phone) .mc-pop { left:8px !important; right:8px !important; top:auto !important; bottom:calc(92px + env(safe-area-inset-bottom)); width:auto; max-height:60vh; overflow:auto; }
body:has(.wall.phone) .mc-modal { padding:8px; align-items:flex-end; }
body:has(.wall.phone) .mc-modal .mc-dialog { width:100%; max-height:88vh; }
body:has(.wall.phone) .mc-dialog .vrow { flex-wrap:wrap; }
/* Phone turned sideways: no header, one toolbar row, menu as a rail on the right */
@media (orientation:landscape) {
  .wall.phone .top { display:none !important; }
  .wall.phone .grid { flex-direction:row !important; gap:6px; }
  .wall.phone .toolbar { flex-wrap:nowrap !important; }
  .wall.phone .toolbar .nav { flex:none; }
  .wall.phone .toolbar .seg { flex:none; }
  .wall.phone .toolbar .seg button { flex:none; padding:6px 10px; }
  .wall.phone .toolbar .people { order:0; flex:1 1 auto; min-width:0; flex-wrap:nowrap; }
  .wall.phone .toolbar .people .chip { flex:none; }
  .wall.phone .pbar { flex-direction:column; margin:0; padding:8px 4px; width:64px; justify-content:space-evenly; }
  .wall.phone .pbar button { flex:none; }
  .wall.phone .pbar .pmic { width:52px; height:52px; margin:0; }
  body:has(.wall.phone) .mc-pop { bottom:8px !important; right:78px !important; max-height:80vh; }
}
/* Signed-in page on a phone: a slim top bar */
@media (max-width:700px), (max-height:520px) and (pointer:coarse) {
  .app.wide { padding:6px 8px 0 !important; }
  .app > header.bar { padding:4px 2px !important; margin-bottom:6px !important; gap:6px; }
  .app > header.bar .tool, .app > header.bar #who, .app > header.bar #ver { display:none !important; }
  .app > header.bar .tabs button { padding:6px 10px; font-size:13px; }
}

/* Depth pass -- 2026-11-14. On a white screen the white boxes and pale lines
   ran together: every section now has a warm outline, a soft drop shadow
   and an orange glow (the brand accent), on every screen. Lines inside the
   calendar are a step darker (works in light and dark). */
.wall { --line:color-mix(in srgb, var(--text) 16%, var(--surface));
  --edge:color-mix(in srgb, var(--accent) 32%, var(--line));
  --glow:0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent), 0 2px 4px rgb(0 0 0 / .06), 0 8px 22px rgb(0 0 0 / .07), 0 0 24px color-mix(in srgb, var(--accent) 18%, transparent);
  --lift:0 1px 2px rgb(0 0 0 / .07), 0 4px 12px rgb(0 0 0 / .06), 0 0 12px color-mix(in srgb, var(--accent) 12%, transparent); }
.wall .pane, .wall .box { border:1px solid var(--edge); box-shadow:var(--glow); }
.wall .lcard, .wall .rec, .wall .ag-day { border:1px solid var(--edge); box-shadow:var(--lift); }
.wall .seg, .wall .nav button, .wall .chip { border-color:var(--edge); box-shadow:0 1px 3px rgb(0 0 0 / .06); }
.wall .chip[aria-pressed=true] { box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 0 10px color-mix(in srgb, var(--accent) 22%, transparent); }
.wall .wh { border-bottom:2px solid var(--edge); }
.mc-pop { border-color:var(--edge, var(--line)); box-shadow:0 10px 30px #0003, 0 0 28px color-mix(in srgb, var(--accent) 22%, transparent); }
.wall.phone .grid > .pane { box-shadow:var(--lift); }

/* Lists: a clear divider between people; tap a column's open space to make
   it the mic's target (glows in that person's colour, "🎤 adds here"). */
.wall .lists .lgrid { align-content:stretch; }   /* columns run to the bottom, so the open space is tappable */
.wall .lists .lcol { border-left:2px solid var(--edge); border-radius:12px; cursor:pointer; transition:box-shadow .2s, background-color .2s; padding-bottom:12px; }
.wall .lists .lcol:first-child { border-left:0; }
.wall .lists .lcol + .lcol { border-top-left-radius:0; border-bottom-left-radius:0; }
.wall .lists .lcol.target { background-color:color-mix(in srgb, var(--c) 8%, transparent);
  box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--c) 75%, transparent), 0 0 20px color-mix(in srgb, var(--c) 35%, transparent); }
.wall .lists .lcol.target .lhead { border-bottom-color:var(--c); }
.wall .ltag { margin-left:auto; font-size:11px; font-weight:700; color:#fff; background:var(--c); border-radius:99px; padding:2px 8px; white-space:nowrap; }
.wall .lists .lcard { cursor:default; }
.wall .feeds .lcol { border-left:2px solid var(--edge); }
.wall .feeds .lcol:first-child { border-left:0; }

/* Critters: now on a slanted, wandering path from any edge (wall.js critters()). */
.critter.fly { top:0; bottom:auto; animation:none; will-change:transform; }
.critter.fly span { transform:none; }
.critter.fly.ltr span { transform:scaleX(-1); }

/* Beehive (hive.js): top-left of the calendar, built through the day, drops at 5pm. */
.wall .hive-layer { position:absolute; inset:0; pointer-events:none; overflow:hidden; z-index:6; border-radius:inherit; }
.wall .hive-layer[hidden] { display:none; }
.wall .hive { position:absolute; width:80px; height:104px; filter:drop-shadow(0 3px 4px rgb(0 0 0 / .18)); transform-origin:50% 4px; }
.wall .hive svg { width:100%; height:100%; display:block; overflow:visible; }
.wall .hive .band { transform-box:fill-box; transform-origin:center; }
.wall .hive .band.new { animation:hband 1.1s ease-out; }
@keyframes hband { 0% { transform:scale(.2); opacity:.2; } 60% { transform:scale(1.12); } 100% { transform:scale(1); } }
.wall .hive .drip { animation:hdrip 4s ease-in infinite; transform-box:fill-box; transform-origin:top; }
@keyframes hdrip { 0%,60% { transform:scaleY(.4); } 85% { transform:scaleY(1.4); } 100% { transform:scaleY(.4); } }
.wall .hbee { position:absolute; left:0; top:0; font-size:15px; line-height:1; transition:transform 1.3s cubic-bezier(.45,.05,.3,1); will-change:transform; }
.wall .hbee.flip { scale:-1 1; }
.wall .hbee.scatter { transition:transform 1.5s ease-in, opacity 1.5s ease-in; opacity:0; }
.wall .honey-pool { position:absolute; width:140px; height:26px; border-radius:50%;
  background:radial-gradient(ellipse at 50% 35%, #ffd977, #eeac1f 55%, #c4840a); box-shadow:0 2px 6px rgb(0 0 0 / .15); animation:hpool .5s ease-out; }
@keyframes hpool { from { transform:scale(.1, .3); } }
.wall .honey-drop { position:absolute; margin:-6px 0 0 -6px; border-radius:50% 50% 45% 55%; background:#f0b429; box-shadow:inset -2px -2px 0 #c4840a; }
.wall .bear-arm { position:absolute; left:0; width:260px; height:90px; filter:drop-shadow(0 4px 6px rgb(0 0 0 / .25)); }
.wall .bear-arm svg { width:100%; height:100%; display:block; }
.wall.fun-off .hive-layer, .wall.phone .hive-layer { display:none; }
@media (prefers-reduced-motion:reduce) { .wall .hbee { transition:none; } .wall .hive .band.new, .wall .hive .drip { animation:none; } }

/* Bees always hover (hive.js drifts them; this is the wing-flutter bob). */
.wall .hbee { transition:transform 2.2s cubic-bezier(.45,.05,.4,.95); }
.wall .hbee i { display:inline-block; font-style:normal; animation:hhover 2s ease-in-out infinite; }
@keyframes hhover { 0%,100% { transform:translate(0,0) rotate(-6deg); } 25% { transform:translate(3px,-4px) rotate(4deg); } 50% { transform:translate(0,-6px) rotate(-3deg); } 75% { transform:translate(-3px,-3px) rotate(5deg); } }
@media (prefers-reduced-motion:reduce) { .wall .hbee i { animation:none; } }

/* Header pass 2026-11-14: collapse arrow on the far right, bigger and easy to spot;
   SOS gets a phone icon; roomier name filters; larger list names. */
.wall .top { grid-template-columns:minmax(0,1fr) 360px 52px; align-items:center; }
.wall .top > .wxbox { align-self:stretch; }
@media (max-width:1500px) { .wall .top { grid-template-columns:minmax(0,1fr) 300px 52px; } }
@media (max-width:1000px) { .wall .top { grid-template-columns:minmax(0,1fr) 52px; } .wall .top > .wxbox { grid-column:1; } .wall .top > .tcol { grid-row:1; grid-column:2; } }
.wall.top-min .top { grid-template-columns:minmax(0,1fr) 52px; }
.wall .tcol { width:46px; height:46px; justify-self:end; align-self:center; border-radius:50%; border:2px solid var(--accent); background:var(--surface);
  color:var(--accent); font-size:24px; font-weight:700; line-height:1; display:grid; place-items:center;
  box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent), 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent); transition:transform .15s, background .15s; }
.wall .tcol:hover { background:var(--accent-sf); transform:scale(1.06); }
.wall.top-min .tcol { width:40px; height:40px; font-size:20px; }
.wall .sos .sos-ic { width:18px; height:18px; fill:currentColor; margin-bottom:2px; }
.wall.top-min .sos .sos-ic { width:15px; height:15px; margin:0; }
.wall .people { gap:9px; }
.wall .chip { padding:8px 16px; gap:8px; font-size:15px; }
.wall .toolbar { gap:12px; }
.wall .lhead { font-size:19px; }
.wall .ltitle { font-size:17px; }
.wall .lcard li button { font-size:16.5px; }
.wall .fcard .ltitle { font-size:16px; }
.wall.phone .chip { padding:6px 12px; font-size:14px; }

/* Spend tile: another site's wall kiosk, full pane. */
.wall .spendpane { position:relative; flex:1 1 auto; min-height:320px; height:100%; border-radius:var(--radius); overflow:hidden; background:var(--surface); }
.wall .spendpane[hidden] { display:none; }
.wall .spendpane iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.wall .spendpane .spendwait { position:absolute; inset:0; display:grid; place-items:center; text-align:center; padding:20px; }
.wall .spendpane.ok .spendwait { display:none; }
.wall .modes .tile b { font-weight:600; }
.wall.mode-spend .toolbar, .wall.mode-spend .ideas, .wall.mode-spend .mic-fab, .wall.mode-spend .timer-fab { display:none !important; }
.wall.mode-spend .grid { grid-template-columns:minmax(0,1fr) !important; }
.wall.mode-spend main.pane { padding:8px; }
.wall.phone .modes [data-mode="spend"] { display:none; }

/* Tablet header pass 2026-11-17: with 5 screen tiles (Spend added) the top row
   overflowed on a Galaxy Tab -- SOS slid under the weather. Tighter tiles and
   gaps, a narrower weather box, and the meter takes whatever is left. */
.wall .topl { min-width:0; }
.wall .topl .meter { min-width:0; flex:1 1 160px; }
.wall .modes .tile b, .wall .modes .tile { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:1500px) {
  .wall .modes { gap:8px; }
  .wall .modes .tile { width:72px; }
}
@media (max-width:1300px) {
  .wall .top { grid-template-columns:minmax(0,1fr) 250px 46px; gap:8px; }
  .wall .topl { gap:8px; }
  .wall .brand { min-width:0; flex:0 1 auto; }
  .wall .brand h1 { font-size:22px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .wall .brand .clock { font-size:17px; white-space:nowrap; }
  .wall .modes { gap:6px; }
  .wall .modes .tile { width:58px; padding:6px 2px; font-size:11px; gap:3px; }
  .wall .modes .tile span { font-size:20px; }
  .wall .meter { padding:6px 10px; }
  .wall .meter .mstat { font-size:14px; }
  .wall .sos { min-width:58px; padding:4px 8px; }
  .wall .sos b { font-size:16px; }
  .wall .wxbox { padding:4px 6px; }
  .wall .wxbox .wx { gap:2px; }
  .wall .wxbox .wx div { font-size:11px; }
  .wall .wxbox .wx .ic { font-size:17px; }
  .wall .tcol { width:40px; height:40px; font-size:20px; }
}
@media (max-width:1100px) {
  .wall .meter .mrow .lbl { display:none; }   /* the bar and "Room to breathe" say it */
}
.wall .meter .mrow { flex-wrap:nowrap; gap:8px; min-width:0; }
.wall .meter .mrow .lbl { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
.wall .meter .mstat { white-space:nowrap; }
.wall .wxbox .wx div { white-space:nowrap; }
@media (max-width:1500px) {
  .wall .brand { min-width:0; }
  .wall .wxbox .wx div { font-size:12px; }
}
@media (max-width:1300px) {
  .wall .top { grid-template-columns:minmax(0,1fr) 262px 46px; }
  .wall .wxbox .wx div { font-size:10.5px; letter-spacing:-.01em; }
}
.wall .brand { flex:none !important; }
@media (min-width:1301px) and (max-width:1500px) { .wall .modes .tile { width:64px; font-size:12px; } .wall .modes .tile span { font-size:24px; } }
@media (max-width:1100px) { .wall .modes .tile { width:52px; } .wall .meter .mstat { font-size:12px; } }
