/* Prowl (js/prowl-app.js): the approved demo's styles, scoped under .pw by
   the port script. Re-port rather than editing by hand. */

/* Prowl, laid out like Todoist: a sidebar of views and projects, a calm centered list, everything you open comes up as a centered pop-up. */
.pw {
  /* Mythril Version 1 (11/11/26): Prowl reads the portal's own colours from
     css/design-system.css (--canvas, --surface, --surface-2, --text-*, --rule,
     --rule-strong, --gold, --gold-faint), so light and dark follow the rest
     of the portal. Only the names Prowl adds, or reads differently, are set
     here. --gold-dark, --green, --red and --amber are text colours in Prowl. */
  --raise: var(--surface); --side: var(--sidebar-bg); --ctl-border: var(--border-btn);
  --gold-dark: var(--gold-ink); --gold-pale: color-mix(in oklab, var(--gold) 30%, transparent); --side-sel: var(--gold-faint);
  --green: var(--green-ink); --red: var(--red-ink); --amber: var(--amber-ink); --violet: var(--text-body);
  --hover: color-mix(in oklab, var(--text-strong) 5%, transparent);
  --act: color-mix(in oklab, var(--text-strong) 8%, transparent);
  --lane: color-mix(in oklab, var(--text-strong) 3.5%, transparent);
  --line: color-mix(in oklab, var(--text-strong) 7%, transparent);
  --p1: #d63b3b; --p1-wash: rgba(214,59,59,.08);
  --p2: #ea7a26; --p2-wash: rgba(234,122,38,.09);
  --p3: #e2ad16; --p3-wash: rgba(226,173,22,.12);
  --tk-date: rgba(31,122,73,.13); --tk-prio: rgba(214,59,59,.12); --tk-where: rgba(197,165,90,.24); --tk-who: rgba(43,48,64,.10); --tk-rem: rgba(138,90,17,.12); --tk-label: rgba(197,165,90,.16);
  --sb-bg: var(--sidebar-bg); --sb-active: var(--sidebar-active); --sb-hover: var(--sidebar-hover); --sb-text: var(--sidebar-text); --sb-strong: var(--sidebar-text-strong); --sb-muted: var(--sidebar-muted); --sb-border: var(--sidebar-border);
  --scrim: rgba(13,18,32,.42);
  --shadow-pop: var(--my-pop-shadow);
  --shadow-card: 0 1px 2px rgba(15,19,30,.06), 0 0 0 .5px rgba(15,19,30,.08);
  --f-title: var(--font-serif);
  --f-text: var(--font-sans);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pw {
  --raise: #1e2745;
  --p1: #ec6b6b; --p1-wash: rgba(236,107,107,.14);
  --p2: #f29452; --p2-wash: rgba(242,148,82,.14);
  --p3: #e9c14b; --p3-wash: rgba(233,193,75,.14);
  --tk-date: rgba(70,176,116,.22); --tk-prio: rgba(236,107,107,.2); --tk-where: rgba(197,165,90,.26); --tk-who: rgba(255,255,255,.10); --tk-rem: rgba(219,162,74,.2); --tk-label: rgba(197,165,90,.18);
  --scrim: rgba(4,7,15,.6);
  --shadow-card: 0 0 0 .5px rgba(255,255,255,.08), 0 2px 6px -2px rgba(0,0,0,.4);
  color-scheme: dark;
} }
:root[data-theme="dark"] .pw {
  --raise: #1e2745;
  --p1: #ec6b6b; --p1-wash: rgba(236,107,107,.14);
  --p2: #f29452; --p2-wash: rgba(242,148,82,.14);
  --p3: #e9c14b; --p3-wash: rgba(233,193,75,.14);
  --tk-date: rgba(70,176,116,.22); --tk-prio: rgba(236,107,107,.2); --tk-where: rgba(197,165,90,.26); --tk-who: rgba(255,255,255,.10); --tk-rem: rgba(219,162,74,.2); --tk-label: rgba(197,165,90,.18);
  --scrim: rgba(4,7,15,.6);
  --shadow-card: 0 0 0 .5px rgba(255,255,255,.08), 0 2px 6px -2px rgba(0,0,0,.4);
  color-scheme: dark;
}

.pw * { box-sizing: border-box; }
.pw, .pw { background: var(--canvas); margin: 0; height: 100%; }
.pw [hidden] { display: none !important; }
.pw { color: var(--text-body); font-family: var(--f-text); font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow: hidden; }
.pw button, .pw input, .pw textarea, .pw select { font: inherit; color: inherit; }
.pw button { cursor: pointer; background: none; border: 0; padding: 0; }
.pw :focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-radius: 5px; }
.pw ::selection { background: var(--gold-faint); }
.pw svg { flex: none; display: block; }
.pw .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pw kbd { font: 500 11px/1 var(--f-text); color: var(--text-faint); border: 1px solid var(--rule-strong); border-radius: 4px; padding: 2px 5px; background: var(--surface); }

/* App frame */
.pw .app { display: flex; height: 100vh; height: 100dvh; }
.pw .side { width: 280px; flex: none; background: var(--side); display: flex; flex-direction: column; padding: 10px 10px 8px; overflow: hidden; transition: margin-left .28s cubic-bezier(.3,.8,.3,1); }
.pw .app.collapsed .side { margin-left: -280px; }
.pw .main { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; }
.pw .icon-btn { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 6px; color: var(--text-muted); }
.pw .icon-btn:hover { background: var(--hover); color: var(--text-strong); }

/* Sidebar */
.pw .side-top { display: flex; align-items: center; gap: 2px; padding: 0 2px 6px; }
.pw .acct { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; font-weight: 600; color: var(--text-strong); margin-right: auto; }
.pw .acct:hover { background: var(--hover); }
.pw .av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; flex: none; letter-spacing: .02em; }
.pw .av.sm { width: 20px; height: 20px; font-size: 9px; }
.pw .av.lg { width: 30px; height: 30px; font-size: 11px; }
.pw .bell { position: relative; }
.pw .bell .dot { position: absolute; top: 5px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--side); }
.pw .side-scroll { flex: 1; overflow-y: auto; margin: 0 -4px; padding: 0 4px; scrollbar-width: thin; }
.pw .nav-a { display: flex; align-items: center; gap: 8px; width: 100%; height: 34px; padding: 0 8px; border-radius: 6px; color: var(--text-strong); text-align: left; position: relative; text-decoration: none; }
.pw .nav-a:hover { background: var(--hover); }
.pw .nav-a[aria-current="page"] { background: var(--side-sel); color: var(--gold-dark); font-weight: 500; }
.pw .nav-a[aria-current="page"] .ni { color: var(--gold-dark); }
.pw .nav-a .ni { width: 22px; display: grid; place-items: center; color: var(--text-muted); }
.pw .nav-a .cnt { margin-left: auto; font-size: 12px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.pw .nav-a .more { margin-left: auto; opacity: 0; }
.pw .nav-a:hover .more, .pw .nav-a:focus-within .more { opacity: 1; }
.pw .nav-a:hover .more + .cnt { display: none; }
.pw .nav-a.add { color: var(--gold-dark); font-weight: 600; margin-bottom: 2px; }
.pw .nav-a.add .ni { color: #fff; }
.pw .nav-a.add .ni span { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: #1f2533; }
.pw .nav-a.drop-hot { background: var(--side-sel); box-shadow: inset 0 0 0 1.5px var(--gold); }
.pw .side-h { display: flex; align-items: center; height: 34px; padding: 0 8px; margin-top: 14px; font-weight: 600; font-size: 13.5px; color: var(--text-muted); border-radius: 6px; }
.pw .side-h:hover { background: var(--hover); }
.pw .side-h .h-acts { margin-left: auto; display: flex; opacity: 0; }
.pw .side-h:hover .h-acts, .pw .side-h:focus-within .h-acts { opacity: 1; }
.pw .side-h .icon-btn { width: 24px; height: 24px; }
.pw .hash { font-weight: 500; font-size: 16px; line-height: 1; width: 22px; text-align: center; }
.pw .side-foot { padding-top: 6px; }
.pw .side-foot .nav-a { color: var(--text-muted); font-size: 13px; }


/* The portal around Prowl: its sidebar (as in index.html) and the bell at the top right */

/* Prowl's own head: its name, its tabs, search and Add task */
.pw .phead { flex: none; display: flex; align-items: center; gap: 14px; padding: 14px 64px 12px 32px; border-bottom: 1px solid var(--rule); background: var(--canvas); }
.pw .phead .pname { font-family: var(--f-title); font-weight: 600; font-size: 19px; color: var(--text-head); padding-right: 14px; border-right: 1px solid var(--rule-strong); line-height: 22px; }
.pw .ptabs { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.pw .ptabs::-webkit-scrollbar { display: none; }
.pw .ptab { white-space: nowrap; padding: 0 12px; height: 32px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid transparent; color: var(--text-muted); font-weight: 500; font-size: 13.5px; }
.pw .ptab:hover { color: var(--text-head); background: var(--surface); }
.pw .ptab[aria-current="page"] { color: var(--text-head); background: var(--gold-faint); border-color: var(--gold-pale); font-weight: 600; }
.pw .ptab .n { color: var(--text-faint); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.pw .phead .grow { flex: 1; }
.pw .psearch { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 12px; min-width: 220px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--surface); color: var(--text-faint); font-size: 13px; }
.pw .psearch:hover { border-color: var(--ctl-border); color: var(--text-muted); }
.pw .psearch kbd { margin-left: auto; }
.pw .phead .btn-gold { height: 34px; }
.pw .subnav { position: relative; display: flex; gap: 2px; border-bottom: 1px solid var(--rule); margin: 0 0 18px; }
.pw .subnav button { padding: 9px 12px 10px; color: var(--text-muted); font-weight: 500; font-size: 13.5px; position: relative; display: inline-flex; gap: 6px; align-items: baseline; white-space: nowrap; }
.pw .subnav button:hover { color: var(--text-strong); }
.pw .subnav button[aria-current="page"] { color: var(--text-head); font-weight: 600; }
.pw .subnav button[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--gold); border-radius: 2px; }
.pw .subnav .n { color: var(--text-faint); font-size: 12px; font-weight: 500; }
.pw .ttl { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; }
.pw .ttl h1 { margin-top: 0; flex: 1; min-width: 0; }
.pw .tacts { display: flex; align-items: center; gap: 2px; padding-top: 2px; }
.pw .crumb2 { font-size: 13px; color: var(--text-muted); margin-top: 18px; }
.pw .crumb2 button:hover { color: var(--text-strong); text-decoration: underline; }
.pw .crumb2 + .ttl { margin-top: 4px; }

/* Top bar of the main area */
.pw .mtop { height: 50px; flex: none; display: flex; align-items: center; gap: 4px; padding: 0 14px 0 12px; }
.pw .crumb { color: var(--text-muted); font-size: 13px; display: flex; align-items: center; gap: 4px; min-width: 0; }
.pw .crumb button:hover { color: var(--text-strong); text-decoration: underline; }
.pw .mtop .grow { flex: 1; }
.pw .tbtn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px; border-radius: 6px; color: var(--text-muted); font-size: 13px; }
.pw .tbtn:hover, .pw .tbtn[aria-expanded="true"] { background: var(--hover); color: var(--text-strong); }
.pw .tbtn .dotn { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.pw .scroll { flex: 1; overflow: auto; }
.pw .page { max-width: 860px; margin: 0 auto; padding: 0 55px 120px; }
.pw .page.wide { max-width: none; padding: 0 40px 40px; }
.pw h1 { font-family: var(--f-title); font-size: 25px; font-weight: 600; color: var(--text-head); margin: 12px 0 2px; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.pw h1 .ed { border-radius: 6px; padding: 0 4px; margin-left: -4px; outline: none; }
.pw h1 .ed:hover { background: var(--hover); }
.pw .psub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); margin-bottom: 14px; min-height: 20px; }
.pw .psub .chkc { color: var(--text-faint); }
.pw .mpick { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--text-strong); font-size: 14px; padding: 4px 6px; margin-left: -6px; border-radius: 6px; }
.pw .mpick:hover { background: var(--hover); }

/* Week strip (Upcoming) */
.pw .week { display: flex; align-items: center; border-bottom: 1px solid var(--rule); margin: 8px 0 18px; position: sticky; top: 0; background: var(--canvas); z-index: 4; padding-top: 4px; }
.pw .week .days { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); }
.pw .week .d { padding: 8px 0 10px; text-align: center; font-size: 12.5px; color: var(--text-muted); border-radius: 6px 6px 0 0; position: relative; }
.pw .week .d b { font-weight: 500; }
.pw .week .d:hover { background: var(--hover); }
.pw .week .d.past { color: var(--text-faint); opacity: .6; }
.pw .week .d.on { color: var(--text-strong); font-weight: 600; }
.pw .week .d.on::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 2px; background: var(--gold); border-radius: 2px; }
.pw .week .d .num { display: inline-grid; place-items: center; min-width: 22px; height: 20px; border-radius: 5px; padding: 0 4px; margin-left: 4px; }
.pw .week .d.today .num { background: var(--gold); color: #1f2533; font-weight: 700; }
.pw .wnav { display: flex; align-items: center; border: 1px solid var(--rule-strong); border-radius: 6px; margin-left: 10px; height: 28px; }
.pw .wnav button { height: 26px; padding: 0 8px; color: var(--text-muted); font-size: 12.5px; }
.pw .wnav button:hover { color: var(--text-strong); background: var(--hover); }
.pw .wnav button + button { border-left: 1px solid var(--rule-strong); }

/* Sections and groups */
.pw .grp { margin-bottom: 22px; }
.pw .ghead { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--rule); padding: 0 0 6px; margin-left: -28px; padding-left: 28px; position: relative; }
.pw .ghead .tog { position: absolute; left: 2px; top: -1px; width: 24px; height: 24px; color: var(--text-faint); opacity: 0; transition: transform .2s; }
.pw .ghead:hover .tog, .pw .ghead .tog:focus-visible { opacity: 1; }
.pw .grp.shut .ghead .tog { transform: rotate(-90deg); opacity: 1; }
.pw .ghead h2 { font-size: 14px; font-weight: 700; color: var(--text-strong); margin: 0; display: flex; gap: 6px; align-items: baseline; }
.pw .ghead h2 .gsub { font-weight: 400; color: var(--text-muted); }
.pw .ghead .gn { color: var(--text-faint); font-size: 12.5px; font-weight: 400; }
.pw .ghead .gend { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.pw .ghead .gmore { opacity: 0; }
.pw .ghead:hover .gmore, .pw .ghead .gmore:focus-visible, .pw .ghead .gmore[aria-expanded="true"] { opacity: 1; }
.pw .linkbtn { color: var(--gold-dark); font-size: 13px; font-weight: 600; padding: 2px 4px; border-radius: 4px; }
.pw .linkbtn:hover { text-decoration: underline; }
.pw .grp.shut .gbody { display: none; }
.pw .gbody.drop-hot { background: var(--gold-faint); border-radius: 6px; }
.pw .sec-add { position: relative; height: 22px; margin: -10px 0 10px; }
.pw .sec-add button { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; color: var(--gold-dark); font-weight: 600; font-size: 13px; opacity: 0; transition: opacity .15s; }
.pw .sec-add button::before, .pw .sec-add button::after { content: ""; flex: 1; height: 1px; background: var(--gold); }
.pw .sec-add:hover button, .pw .sec-add button:focus-visible { opacity: 1; }

/* Task rows */
.pw .row { display: flex; gap: 8px; padding: 8px 0 8px; border-bottom: 1px solid var(--rule); position: relative; cursor: pointer; background: var(--canvas); }
.pw .row .grip { position: absolute; left: -26px; top: 8px; width: 22px; height: 22px; color: var(--text-faint); opacity: 0; cursor: grab; display: grid; place-items: center; border-radius: 4px; }
.pw .row:hover .grip { opacity: 1; }
.pw .row .grip:hover { background: var(--hover); color: var(--text-strong); }
.pw .row.sub { margin-left: 30px; }
.pw .row .caret { position: absolute; left: -46px; top: 8px; width: 20px; height: 22px; color: var(--text-faint); transition: transform .2s; }
.pw .row .caret.shut { transform: rotate(-90deg); }
.pw .row.focus { box-shadow: inset 0 0 0 1px var(--gold); border-radius: 6px; }
.pw .ring { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--text-faint); flex: none; margin-top: 2px; display: grid; place-items: center; color: transparent; position: relative; }
.pw .ring:hover, .pw .ring:focus-visible { color: var(--text-faint); }
.pw .ring.p1 { border: 2px solid var(--p1); background: var(--p1-wash); }
.pw .ring.p1:hover { color: var(--p1); }
.pw .ring.p2 { border: 2px solid var(--p2); background: var(--p2-wash); }
.pw .ring.p2:hover { color: var(--p2); }
.pw .ring.p3 { border: 2px solid var(--p3); background: var(--p3-wash); }
.pw .ring.p3:hover { color: var(--p3); }
.pw .ring.on { background: var(--text-faint); border-color: var(--text-faint); color: #fff; }
.pw .ring.on.p1 { background: var(--p1); border-color: var(--p1); } .pw .ring.on.p2 { background: var(--p2); border-color: var(--p2); } .pw .ring.on.p3 { background: var(--p3); border-color: var(--p3); }
.pw .rbody { flex: 1; min-width: 0; }
.pw .rt { color: var(--text-strong); font-size: 14px; line-height: 1.45; word-wrap: break-word; }
.pw .done-row .rt { text-decoration: line-through; color: var(--text-faint); }
.pw .rd { color: var(--text-muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.pw .rm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 3px; font-size: 12px; color: var(--text-muted); min-height: 0; }
.pw .rm:empty { display: none; }
.pw .rm span { display: inline-flex; align-items: center; gap: 3px; }
.pw .rm .dt { color: var(--text-muted); }
.pw .rm .dt.today { color: var(--green); } .pw .rm .dt.tomorrow { color: var(--amber); } .pw .rm .dt.soon { color: var(--text-body); } .pw .rm .dt.late { color: var(--red); }
.pw .rm .lab { color: var(--text-muted); }
.pw .rm .dl { color: var(--text-muted); }
.pw .rm .dl.late { color: var(--red); }
.pw .rside { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 2px; flex: none; max-width: 40%; }
.pw .rwhere { font-size: 12px; color: var(--text-faint); display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; margin-top: auto; }
.pw .rwhere .wn { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pw .rwhere .hash { font-size: 13px; width: auto; color: var(--gold); }
.pw .racts { position: absolute; right: 0; top: 4px; display: flex; gap: 1px; opacity: 0; background: var(--canvas); padding-left: 6px; }
.pw .row:hover .racts, .pw .row:focus-within .racts, .pw .row.focus .racts { opacity: 1; }
.pw .racts .icon-btn { width: 28px; height: 28px; }
.pw .row.ghost-src { opacity: .35; }
.pw .ph { height: 40px; border-radius: 6px; background: var(--gold-faint); border: 1.5px dashed var(--gold); margin: 2px 0; }
.pw .ghost { position: fixed; z-index: 90; pointer-events: none; background: var(--raise); box-shadow: var(--shadow-pop); border-radius: 8px; padding: 8px 12px; font-size: 14px; color: var(--text-strong); max-width: 360px; transform: rotate(-1.5deg); display: flex; gap: 8px; align-items: center; }
.pw .empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.pw .empty h3 { font-family: var(--f-title); color: var(--text-head); font-size: 17px; margin: 14px 0 4px; }
.pw .empty svg { margin: 0 auto; color: var(--gold); }

/* Add task line and the inline editor */
.pw .addline { display: flex; align-items: center; gap: 10px; height: 36px; width: 100%; color: var(--text-muted); font-size: 14px; }
.pw .addline .plus { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-dark); }
.pw .addline:hover { color: var(--gold-dark); }
.pw .addline:hover .plus { background: var(--gold); color: #1f2533; }
.pw .editor { border: 1px solid var(--rule-strong); border-radius: 10px; margin: 8px 0; background: var(--surface); }
.pw .editor:focus-within { border-color: var(--text-faint); }
.pw .e-in { padding: 10px 10px 4px; }
.pw .fld { position: relative; }
.pw .fld .mir, .pw .fld input { font-size: 14px; font-weight: 600; line-height: 22px; padding: 0; width: 100%; letter-spacing: 0; }
.pw .fld .mir { position: absolute; inset: 0; color: transparent; white-space: pre; overflow: hidden; pointer-events: none; }
.pw .fld input { position: relative; border: 0; outline: 0; background: transparent; color: var(--text-strong); }
.pw .fld input::placeholder { color: var(--text-faint); font-weight: 500; }
.pw .fld mark { color: transparent; border-radius: 3px; background: var(--c); box-shadow: 0 0 0 1px var(--c); }
.pw mark.tk-date { --c: var(--tk-date); } .pw mark.tk-prio { --c: var(--tk-prio); } .pw mark.tk-where { --c: var(--tk-where); } .pw mark.tk-who { --c: var(--tk-who); } .pw mark.tk-rem { --c: var(--tk-rem); } .pw mark.tk-label { --c: var(--tk-label); }
.pw .e-desc { width: 100%; border: 0; outline: 0; background: transparent; font-size: 13px; color: var(--text-body); resize: none; padding: 2px 0 0; min-height: 20px; line-height: 1.45; }
.pw .e-desc::placeholder { color: var(--text-faint); }
.pw .chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 6px; }
.pw .chip { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 8px; border: 1px solid var(--rule-strong); border-radius: 6px; font-size: 13px; color: var(--text-muted); }
.pw .chip:hover { background: var(--hover); }
.pw .chip.set { color: var(--text-strong); }
.pw .chip.set.today { color: var(--green); } .pw .chip.set.tomorrow { color: var(--amber); } .pw .chip.set.soon { color: var(--violet); } .pw .chip.set.late { color: var(--red); }
.pw .chip .x { margin-left: 2px; border-radius: 3px; color: var(--text-faint); }
.pw .chip .x:hover { color: var(--text-strong); background: var(--rule); }
.pw .chip.icon-only { width: 28px; padding: 0; justify-content: center; }
.pw .e-foot { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--rule); padding: 8px 10px; }
.pw .e-foot .proj { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border-radius: 6px; font-size: 13px; color: var(--text-strong); font-weight: 500; margin-right: auto; max-width: 60%; }
.pw .e-foot .proj:hover { background: var(--hover); }
.pw .e-foot .proj span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw .btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 6px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.pw .btn-gold { background: var(--gold); color: #1f2533; }
.pw .btn-gold:hover { filter: brightness(.96); }
.pw .btn-gold[disabled] { opacity: .5; cursor: not-allowed; }
.pw .btn-soft { background: var(--hover); color: var(--text-strong); }
.pw .btn-soft:hover { background: var(--rule-strong); }
.pw .btn-line { border: 1px solid var(--rule-strong); color: var(--text-strong); }
.pw .btn-line:hover { background: var(--hover); }
.pw .btn-red { color: var(--red); }

/* Board */
.pw .board { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 20px; min-height: 60vh; }
.pw .col { width: 280px; flex: none; }
.pw .col-h { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 4px 0 6px; }
.pw .col-h h2 { font-size: 14px; font-weight: 700; margin: 0; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw .col-h .gn { color: var(--text-faint); font-size: 12.5px; }
.pw .col-h .gend { margin-left: auto; display: flex; }
.pw .col-body { display: flex; flex-direction: column; gap: 8px; min-height: 40px; border-radius: 10px; padding: 2px; }
.pw .col-body.drop-hot { background: var(--gold-faint); }
.pw .kc { background: var(--surface); border-radius: 8px; box-shadow: var(--shadow-card); padding: 10px 10px 8px; display: flex; gap: 8px; cursor: pointer; position: relative; }
.pw .kc:hover { box-shadow: var(--shadow-card), 0 3px 10px rgba(0,0,0,.06); }
.pw .kc .rt { font-size: 13.5px; }
.pw .kc .racts { top: 6px; right: 6px; background: var(--surface); border-radius: 6px; }
.pw .kc:hover .racts { opacity: 1; }
.pw .kc .av.sm { position: absolute; right: 10px; bottom: 8px; }
.pw .kc.ghost-src { opacity: .35; }
.pw .col .addline { padding-left: 6px; }
.pw .col-new { width: 280px; flex: none; }
.pw .col-new button { display: flex; align-items: center; gap: 8px; height: 38px; width: 100%; padding: 0 10px; border-radius: 8px; color: var(--text-muted); background: var(--surface-2); }
.pw .col-new button:hover { color: var(--gold-dark); }
.pw .kph { height: 56px; border-radius: 8px; border: 1.5px dashed var(--gold); background: var(--gold-faint); }

/* Calendar */
.pw .calv { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.pw .calv .ch { padding: 6px 8px; font-size: 12px; color: var(--text-muted); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pw .calv .cd { min-height: 112px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 4px; display: flex; flex-direction: column; gap: 3px; position: relative; }
.pw .calv .cd.out { background: var(--surface-2); }
.pw .calv .cd .n { font-size: 12px; color: var(--text-muted); padding: 2px 4px; display: flex; align-items: center; }
.pw .calv .cd.today .n b { background: var(--gold); color: #1f2533; border-radius: 5px; padding: 0 5px; }
.pw .calv .cd .n .icon-btn { margin-left: auto; width: 22px; height: 22px; opacity: 0; }
.pw .calv .cd:hover .n .icon-btn { opacity: 1; }
.pw .calv .cd.drop-hot { background: var(--gold-faint); }
.pw .ce { display: flex; align-items: center; gap: 5px; font-size: 12px; padding: 2px 5px; border-radius: 4px; color: var(--text-strong); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--rule); cursor: pointer; white-space: nowrap; overflow: hidden; }
.pw .ce:hover { background: var(--hover); }
.pw .ce .ring { width: 12px; height: 12px; margin: 0; border-width: 1px; }
.pw .ce.ghost-src { opacity: .35; }
.pw .ce span { overflow: hidden; text-overflow: ellipsis; }

/* Filters and labels, completed, requests, action center, scheduled */
.pw .fl-row { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--rule); color: var(--text-strong); cursor: pointer; border-radius: 0; }
.pw .fl-row:hover { background: var(--hover); }
.pw .fl-row .ico { width: 22px; display: grid; place-items: center; }
.pw .fl-row .cnt { margin-left: auto; font-size: 12px; color: var(--text-faint); }
.pw .fl-row .q { color: var(--text-faint); font-size: 12.5px; margin-left: 6px; }
.pw .act { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: flex-start; }
.pw .act .what { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text-body); }
.pw .act .what b { color: var(--text-strong); font-weight: 600; }
.pw .act .when { font-size: 12px; color: var(--text-faint); margin-top: 2px; display: flex; gap: 8px; }
.pw .act .acts { display: flex; gap: 6px; flex: none; align-items: center; }
.pw .act .ring { margin-top: 0; }
.pw .tabs2 { display: flex; gap: 2px; border-bottom: 1px solid var(--rule); margin-bottom: 14px; position: relative; }
.pw .tabs2 button { padding: 8px 12px; color: var(--text-muted); font-weight: 500; font-size: 13.5px; position: relative; }
.pw .tabs2 button[aria-selected="true"] { color: var(--text-strong); }
.pw .tabs2 button[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--gold); border-radius: 2px; }
.pw .sw { width: 34px; height: 20px; border-radius: 10px; background: var(--rule-strong); position: relative; flex: none; transition: background .2s; }
.pw .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .22s cubic-bezier(.3,1.4,.5,1); }
.pw .sw[aria-checked="true"] { background: var(--gold); }
.pw .sw[aria-checked="true"]::after { transform: translateX(14px); }

/* Floating menus */
.pw .pop { position: fixed; z-index: 80; width: 280px; max-width: calc(100vw - 24px); background: var(--raise); border-radius: 10px; box-shadow: var(--shadow-pop); border: 1px solid var(--rule-strong); padding: 6px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; }
.pw .pop-input { width: 100%; height: 34px; border: 1px solid var(--rule-strong); border-radius: 6px; background: transparent; padding: 0 10px; outline: none; margin-bottom: 4px; font-size: 13.5px; }
.pw .pop-input:focus { border-color: var(--text-faint); }
.pw .mi { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 32px; padding: 5px 8px; border-radius: 5px; text-align: left; color: var(--text-strong); font-size: 13.5px; }
.pw .mi:hover, .pw .mi:focus-visible, .pw .mi.on { background: var(--hover); outline: none; }
.pw .mi .end { margin-left: auto; color: var(--text-faint); font-size: 12px; }
.pw .mi .chk { margin-left: auto; color: var(--gold-dark); }
.pw .mi.danger { color: var(--red); } .pw .mi.danger .mi-ico { color: var(--red); }
.pw .mi.indent { padding-left: 28px; }
.pw .mi-ico { width: 18px; display: inline-grid; place-items: center; color: var(--text-muted); }
.pw .mi-h { padding: 8px 8px 4px; font-size: 12px; font-weight: 600; color: var(--text-strong); display: flex; align-items: center; }
.pw .mi-h .end { margin-left: auto; color: var(--text-faint); font-weight: 400; }
.pw .qrow { display: flex; gap: 2px; padding: 2px 4px 6px; }
.pw .qrow button { width: 34px; height: 30px; border-radius: 6px; display: grid; place-items: center; color: var(--text-muted); }
.pw .qrow button:hover { background: var(--hover); }
.pw .qrow button.sel { box-shadow: inset 0 0 0 1px var(--text-faint); }
.pw .sep { height: 1px; background: var(--rule); margin: 5px 4px; }
.pw .pop-note { padding: 6px 8px 8px; font-size: 12px; color: var(--text-muted); line-height: 1.45; }
.pw .cal-head { display: flex; align-items: center; padding: 4px 4px 2px 8px; }
.pw .cal-head strong { font-weight: 600; color: var(--text-head); font-size: 13.5px; }
.pw .cal-head .nav { margin-left: auto; display: flex; }
.pw .cal-head .icon-btn { width: 28px; height: 28px; }
.pw .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; padding: 0 4px 4px; text-align: center; }
.pw .cal .dow { font-size: 11px; color: var(--text-faint); padding: 2px 0; }
.pw .cal button { height: 30px; border-radius: 50%; font-size: 12.5px; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.pw .cal button:hover { background: var(--hover); }
.pw .cal button.out, .pw .cal button.past { color: var(--text-faint); }
.pw .cal button.today { color: var(--gold-dark); font-weight: 700; }
.pw .cal button.sel { background: var(--gold); color: #1f2533; font-weight: 600; }
.pw .row-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px 4px 2px; border-top: 1px solid var(--rule); margin-top: 4px; }
.pw .row-pair .mi { justify-content: center; color: var(--text-head); font-weight: 500; border: 1px solid var(--ctl-border); }
.pw .times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pw .times .mi { justify-content: center; }
.pw .disp { padding: 4px; }
.pw .disp .seg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--surface-2); border-radius: 8px; padding: 3px; margin: 2px 4px 6px; }
.pw .disp .seg3 button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border-radius: 6px; font-size: 12px; color: var(--text-muted); }
.pw .disp .seg3 button[aria-pressed="true"] { background: var(--raise); color: var(--text-strong); box-shadow: var(--shadow-card); }
.pw .disp .seg3 button[disabled] { opacity: .4; cursor: not-allowed; }
.pw .drow { display: flex; align-items: center; gap: 8px; padding: 4px 8px; font-size: 13px; color: var(--text-strong); min-height: 34px; }
.pw .drow .dsel { margin-left: auto; height: 28px; min-width: 120px; border: 1px solid var(--rule-strong); border-radius: 6px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--text-strong); font-size: 12.5px; }
.pw .drow .dsel:hover { background: var(--hover); }
.pw .reset { display: block; width: 100%; text-align: center; color: var(--red); font-size: 12.5px; padding: 8px; border-radius: 6px; font-weight: 500; }
.pw .reset:hover { background: var(--hover); }

/* Centered pop-ups */
.pw .scrim { position: fixed; inset: 0; z-index: 60; background: var(--scrim); display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px 16px; overflow-y: auto; }
/* A window on its way out lets clicks through to the list behind it. */
.pw .scrim.out { pointer-events: none; }
.pw .sheet { background: var(--raise); border-radius: 12px; box-shadow: var(--shadow-pop); width: min(560px, 100%); }
.pw .sheet.qa { width: min(560px, 100%); }
.pw .sheet.qa .editor { margin: 0; border: 0; }
.pw .sheet.tcard { width: min(864px, 100%); height: min(760px, calc(100vh - 10vh - 16px)); height: min(760px, calc(100dvh - 10vh - 16px)); display: flex; flex-direction: column; overflow: hidden; }
.pw .tc-top { display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--rule); flex: none; }
.pw .tc-top .crumb { margin-right: auto; }
.pw .tc-main { flex: 1; display: flex; min-height: 0; }
.pw .tc-left { flex: 1; overflow-y: auto; padding: 16px 20px 24px 16px; min-width: 0; }
.pw .tc-right { width: 260px; flex: none; background: var(--surface-2); padding: 12px 16px; overflow-y: auto; }
.pw .tc-title { display: flex; gap: 10px; align-items: flex-start; }
.pw .tc-title .ring { margin-top: 5px; }
.pw .tc-t { font-size: 20px; font-weight: 700; color: var(--text-strong); outline: none; flex: 1; border-radius: 6px; padding: 1px 4px; margin-left: -4px; line-height: 1.4; font-family: var(--f-title); letter-spacing: -.01em; }
.pw .tc-t:hover, .pw .tc-t:focus { background: var(--hover); }
.pw .tc-d { margin: 4px 0 0 28px; font-size: 13.5px; color: var(--text-body); outline: none; border-radius: 6px; padding: 3px 4px; min-height: 26px; white-space: pre-wrap; }
.pw .tc-d:empty::before { content: "Description"; color: var(--text-faint); }
.pw .tc-d:hover, .pw .tc-d:focus { background: var(--hover); }
.pw .tc-sec { margin: 18px 0 0 28px; }
.pw .tc-sh { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--text-strong); height: 30px; border-bottom: 1px solid var(--rule); }
.pw .tc-sh .gn { color: var(--text-faint); font-weight: 400; }
.pw .tc-sh .tog { width: 22px; height: 22px; color: var(--text-faint); margin-left: -26px; transition: transform .2s; }
.pw .tc-sec.shut .tog { transform: rotate(-90deg); }
.pw .tc-sec.shut .tc-sb { display: none; }
.pw .prog { flex: 1; max-width: 120px; height: 4px; border-radius: 2px; background: var(--rule); overflow: hidden; margin-left: 6px; }
.pw .prog i { display: block; height: 100%; background: var(--gold); border-radius: 2px; transition: width .4s; }
.pw .cm { display: flex; gap: 10px; padding: 12px 0 4px; }
.pw .cm .who { font-weight: 600; color: var(--text-strong); font-size: 13px; }
.pw .cm .when { color: var(--text-faint); font-size: 12px; margin-left: 6px; font-weight: 400; }
.pw .cm .tx { font-size: 13.5px; color: var(--text-body); margin-top: 2px; white-space: pre-wrap; }
.pw .cm .att { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 10px; border-radius: 6px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--rule); font-size: 12.5px; color: var(--text-strong); }
.pw .cm .reacts { display: flex; gap: 4px; margin-top: 6px; }
.pw .cm .reacts button { height: 24px; padding: 0 8px; border-radius: 12px; font-size: 12px; box-shadow: inset 0 0 0 1px var(--rule-strong); display: inline-flex; align-items: center; gap: 4px; }
.pw .cm .reacts button.mine { box-shadow: inset 0 0 0 1px var(--gold); background: var(--gold-faint); }
.pw .composer { border: 1px solid var(--rule-strong); border-radius: 10px; margin-top: 14px; padding: 8px 10px; }
.pw .composer:focus-within { border-color: var(--text-faint); }
.pw .composer textarea { width: 100%; border: 0; outline: 0; resize: none; background: transparent; font-size: 13.5px; min-height: 22px; }
.pw .composer .cf { display: flex; align-items: center; gap: 2px; margin-top: 6px; }
.pw .composer .cf .grow { flex: 1; }
.pw .composer .files { display: flex; flex-direction: column; gap: 4px; }
.pw .composer .files span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; background: var(--surface-2); font-size: 12.5px; color: var(--text-strong); }
.pw .prop { border-bottom: 1px solid var(--rule); padding: 8px 0 10px; }
.pw .prop .pl { font-size: 12px; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; height: 22px; }
.pw .prop .pl .icon-btn { margin-left: auto; width: 24px; height: 24px; }
.pw .prop .pv { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-strong); padding: 4px 6px; margin: 2px -6px 0; border-radius: 6px; width: calc(100% + 12px); text-align: left; min-height: 28px; flex-wrap: wrap; }
.pw .prop .pv:hover { background: var(--hover); }
.pw .prop .pv.today { color: var(--green); } .pw .prop .pv.tomorrow { color: var(--amber); } .pw .prop .pv.soon { color: var(--violet); } .pw .prop .pv.late { color: var(--red); }
.pw .prop .pv .faint { color: var(--text-faint); }
.pw .lchip { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; color: var(--text-body); }
.pw .form { padding: 18px 20px 6px; }
.pw .form h2 { font-family: var(--f-title); font-size: 18px; color: var(--text-head); margin: 0 0 14px; }
.pw .form label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-strong); margin: 12px 0 5px; }
.pw .form input[type=text], .pw .form select, .pw .form textarea { width: 100%; height: 36px; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--surface); padding: 0 10px; outline: none; font-size: 13.5px; }
.pw .form textarea { height: 70px; padding: 8px 10px; resize: vertical; }
.pw .form input:focus, .pw .form select:focus, .pw .form textarea:focus { border-color: var(--text-faint); }
.pw .form .hint2 { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.pw .form .swrow { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13.5px; color: var(--text-strong); }
.pw .form-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px 16px; }
.pw .people { margin-top: 10px; }
.pw .people .p { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; color: var(--text-strong); }
.pw .people .p .r { margin-left: auto; color: var(--text-faint); font-size: 12.5px; }


/* Leo, as the portal draws him (css/leo.css on main): the turning rim, the lion mark,
   the Ask Leo pill, and the window that grows out of it in its corner. */
.pw { --hairline: #e2e2e8; --gold-ink: #7a6222; --gold-pill-border: #d8c089; --border-btn: #c8c8cf; --sidebar-bg: #2b3040; --sidebar-deep: #1f2533; --gold-soft: #d6bc78; --green-ink: #1e7a46;
  --ds-shadow-card: 0 8px 28px -14px rgba(43,48,64,.28), 0 4px 16px -10px rgba(197,165,90,.32); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pw { --hairline: #2e333f; --gold-ink: #d8bd7e; --gold-pill-border: #5c5132; --border-btn: #3a414f; --sidebar-bg: #1b1f29; --sidebar-deep: #11141b; --green-ink: #6fd39b; --ds-shadow-card: 0 8px 28px -14px rgba(0,0,0,.55), 0 4px 16px -10px rgba(197,165,90,.22); } }
:root[data-theme="dark"] .pw { --hairline: #2e333f; --gold-ink: #d8bd7e; --gold-pill-border: #5c5132; --border-btn: #3a414f; --sidebar-bg: #1b1f29; --sidebar-deep: #11141b; --green-ink: #6fd39b; --ds-shadow-card: 0 8px 28px -14px rgba(0,0,0,.55), 0 4px 16px -10px rgba(197,165,90,.22); }
@property --leo-angle { syntax: '<angle>'; inherits: true; initial-value: 315deg; }
@property --leo-glow-a { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --leo-glow-blur { syntax: '<length>'; inherits: true; initial-value: 12px; }
@property --lx1 { syntax: '<percentage>'; inherits: true; initial-value: 14%; }
@property --ly1 { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
@property --lx2 { syntax: '<percentage>'; inherits: true; initial-value: 86%; }
@property --ly2 { syntax: '<percentage>'; inherits: true; initial-value: 100%; }
@property --lx3 { syntax: '<percentage>'; inherits: true; initial-value: 52%; }
@property --ly3 { syntax: '<percentage>'; inherits: true; initial-value: 100%; }
@property --leo-mk-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.pw {
  --leo-rim-stops: #e5d29e, #dcc485 16%, #ccb98e 27%, #b4b9cb 38%, #a6acc0 50%, #b4b9cb 62%, #ccb98e 73%, #dcc485 84%, #e5d29e;
  --leo-clouds: radial-gradient(ellipse 68% 135% at var(--lx1) var(--ly1), rgb(232 210 154 / .95) 0%, transparent 68%) border-box, radial-gradient(ellipse 68% 135% at var(--lx2) var(--ly2), rgb(132 146 196 / .88) 0%, transparent 68%) border-box, radial-gradient(ellipse 58% 120% at var(--lx3) var(--ly3), rgb(214 188 120 / .9) 0%, transparent 65%) border-box;
  --leo-e-out: cubic-bezier(.22, 1, .36, 1); --leo-e-soft: cubic-bezier(.2, .7, .3, 1);
}
.pw .leo-edge { position: relative; --leo-glow-a: 0; --leo-glow-blur: 12px; animation: pw-leo-orbit 18s linear infinite; transition: --leo-glow-a 260ms var(--leo-e-soft), --leo-glow-blur 260ms var(--leo-e-soft); }
@keyframes pw-leo-orbit {
  0%    { --leo-angle: 315deg; box-shadow: -3px -3px var(--leo-glow-blur) -2px rgb(232 210 154 / var(--leo-glow-a)),  3px  3px var(--leo-glow-blur) -2px rgb(124 136 180 / var(--leo-glow-a)), var(--leo-shadow, 0 0 #0000); --lx1: 12%; --ly1: 0%;   --lx2: 88%; --ly2: 100%; --lx3: 52%; --ly3: 100%; }
  25%   { --leo-angle: 405deg; box-shadow:  3px -3px var(--leo-glow-blur) -2px rgb(232 210 154 / var(--leo-glow-a)), -3px  3px var(--leo-glow-blur) -2px rgb(124 136 180 / var(--leo-glow-a)), var(--leo-shadow, 0 0 #0000); --lx1: 82%; --ly1: 8%;   --lx2: 18%; --ly2: 92%;  --lx3: 96%; --ly3: 32%; }
  50%   { --leo-angle: 495deg; box-shadow:  3px  3px var(--leo-glow-blur) -2px rgb(232 210 154 / var(--leo-glow-a)), -3px -3px var(--leo-glow-blur) -2px rgb(124 136 180 / var(--leo-glow-a)), var(--leo-shadow, 0 0 #0000); --lx1: 86%; --ly1: 100%; --lx2: 14%; --ly2: 0%;   --lx3: 24%; --ly3: 0%; }
  75%   { --leo-angle: 585deg; box-shadow: -3px  3px var(--leo-glow-blur) -2px rgb(232 210 154 / var(--leo-glow-a)),  3px -3px var(--leo-glow-blur) -2px rgb(124 136 180 / var(--leo-glow-a)), var(--leo-shadow, 0 0 #0000); --lx1: 18%; --ly1: 92%;  --lx2: 82%; --ly2: 8%;   --lx3: 14%; --ly3: 88%; }
  100%  { --leo-angle: 675deg; box-shadow: -3px -3px var(--leo-glow-blur) -2px rgb(232 210 154 / var(--leo-glow-a)),  3px  3px var(--leo-glow-blur) -2px rgb(124 136 180 / var(--leo-glow-a)), var(--leo-shadow, 0 0 #0000); --lx1: 12%; --ly1: 0%;   --lx2: 88%; --ly2: 100%; --lx3: 52%; --ly3: 100%; }
}
.pw .leo-edge-on { --leo-glow-a: .34; } .pw .leo-edge-on:hover { --leo-glow-a: .48; } .pw .leo-edge-on:focus-within { --leo-glow-a: .62; --leo-glow-blur: 15px; }
:root[data-theme="dark"] .pw .leo-edge-on { --leo-glow-a: .44; } :root[data-theme="dark"] .pw .leo-edge-on:focus-within { --leo-glow-a: .72; }
.pw .leo-thinking .leo-edge-on, .pw .leo-edge.leo-thinking { --leo-glow-a: .7; --leo-glow-blur: 15px; }
/* the mark: the lion, flat gold, in a navy circle with a soft gold and steel glow */
.pw .leo-mk { --s: 32px; position: relative; display: inline-block; width: var(--s); height: var(--s); flex: 0 0 auto; vertical-align: middle; }
.pw .leo-mk > span { position: absolute; inset: 0; display: block; }
.pw .leo-mk-ring { inset: -22% !important; border-radius: 50%; background: conic-gradient(from var(--leo-mk-a), rgb(232 210 154 / .9), rgb(124 136 180 / .75) 50%, rgb(232 210 154 / .9)); -webkit-mask: radial-gradient(closest-side, #000 52%, transparent 100%); mask: radial-gradient(closest-side, #000 52%, transparent 100%); filter: blur(calc(var(--s) * .07)); opacity: .35; transition: opacity 400ms ease; }
.pw .leo-mk-tile { border-radius: 50%; background: radial-gradient(circle at 30% 25%, #2b3040, #1f2533 70%); box-shadow: 0 0 0 max(1px, calc(var(--s) * .012)) rgb(232 210 154 / .28); }
.pw .leo-mk-lion { inset: 19% !important; background: linear-gradient(180deg, #e8d29a, #d6bc78 60%); -webkit-mask: url(../assets/leo-lion-mask.png) center / contain no-repeat; mask: url(../assets/leo-lion-mask.png) center / contain no-repeat; }
.pw .leo-thinking .leo-mk-ring { opacity: .95; animation: pw-leo-mk-spin 2.8s linear infinite, pw-leo-mk-breathe 1.8s ease-in-out infinite; }
.pw .leo-answered .leo-mk-ring { animation: pw-leo-mk-flare 1s var(--leo-e-out) 1; }
@keyframes pw-leo-mk-spin { to { --leo-mk-a: 360deg; } }
@keyframes pw-leo-mk-breathe { 50% { transform: scale(1.12); } }
@keyframes pw-leo-mk-flare { 0% { opacity: 1; transform: scale(1.15); } 100% { opacity: .35; transform: none; } }
/* the Ask Leo pill: the rim is its border, the surface its fill; no light at rest */
/* the window: a chat panel that grows out of the pill and sits in its corner */
.pw .leo-bloom { position: absolute; left: 0; right: 0; top: 0; height: 170px; z-index: 0; pointer-events: none; overflow: hidden; opacity: .12; transition: opacity 700ms ease; -webkit-mask: linear-gradient(#000 0%, rgb(0 0 0 / .55) 45%, transparent 100%); mask: linear-gradient(#000 0%, rgb(0 0 0 / .55) 45%, transparent 100%); }
.pw .leo-bloom i { position: absolute; top: -70%; width: 60%; height: 150%; border-radius: 50%; filter: blur(30px); opacity: .9; }
.pw .leo-bloom i:nth-child(1) { left: -12%; background: radial-gradient(closest-side, rgb(232 210 154 / .95), rgb(232 210 154 / 0)); animation: pw-leo-bx1 7s ease-in-out infinite alternate paused; }
.pw .leo-bloom i:nth-child(2) { left: 24%; background: radial-gradient(closest-side, rgb(124 136 180 / .85), rgb(124 136 180 / 0)); animation: pw-leo-bx2 8.5s ease-in-out infinite alternate paused; }
.pw .leo-bloom i:nth-child(3) { left: 56%; background: radial-gradient(closest-side, rgb(170 186 240 / .8), rgb(170 186 240 / 0)); animation: pw-leo-bx3 6.2s ease-in-out infinite alternate paused; }
.pw .leo-bloom i:nth-child(4) { left: 78%; background: radial-gradient(closest-side, rgb(240 200 150 / .75), rgb(240 200 150 / 0)); animation: pw-leo-bx1 9s ease-in-out infinite alternate-reverse paused; }
.pw .leo-thinking > .leo-bloom { opacity: 1; } .pw .leo-thinking > .leo-bloom i { animation-play-state: running; }
.pw .leo-answered > .leo-bloom { animation: pw-leo-bloom-done 2.2s var(--leo-e-out) both; }
@keyframes pw-leo-bx1 { from { translate: -8% 0; } to { translate: 22% 6%; } }
@keyframes pw-leo-bx2 { from { translate: 12% 4%; } to { translate: -16% -2%; } }
@keyframes pw-leo-bx3 { from { translate: -14% -4%; } to { translate: 14% 4%; } }
@keyframes pw-leo-bloom-done { 0% { opacity: 1; filter: brightness(1.25) saturate(1.2); } 35% { opacity: 1; } 100% { opacity: .12; filter: none; } }
.pw .leo-msg { display: flex; gap: 9px; margin-bottom: 12px; align-items: flex-start; }
.pw .leo-msg.user { flex-direction: column; align-items: flex-end; gap: 4px; }
.pw .leo-say { max-width: 100%; font-size: 13.5px; line-height: 1.68; color: var(--text-body); min-width: 0; flex: 1; }
.pw .leo-say b, .pw .leo-say strong { color: var(--text-head); font-weight: 600; }
.pw .leo-say ul { margin: 4px 0 0; padding-left: 18px; } .pw .leo-say ul.leo-plan { padding: 0; margin: 2px 0 0; } .pw .leo-say li { margin: 2px 0; }
.pw .leo-say small { color: var(--text-muted); }
.pw .leo-say .lk { color: var(--gold-ink); font-weight: 500; text-align: left; padding: 0; }
.pw .leo-say .lk:hover { text-decoration: underline; }
.pw .leo-bubble { max-width: 88%; font-size: 13px; padding: 9px 12px; border-radius: 16px; background: var(--rule); color: var(--text-strong); line-height: 1.55; white-space: pre-wrap; }
.pw .leo-msg-in { animation: pw-leo-msg-in 260ms var(--leo-e-out) both; }
@keyframes pw-leo-msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pw .leo-next { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; margin-top: 6px; }
.pw .leo-next button { color: var(--gold-ink); font-weight: 500; font-size: 13px; padding: 3px 0; text-align: left; }
.pw .leo-next button:hover { color: var(--text-head); text-decoration: underline; }
.pw .leo-skel { display: grid; gap: 7px; padding-top: 6px; width: 100%; }
.pw .leo-skel i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(100deg, var(--rule) 0%, var(--rule) 38%, var(--gold-faint) 50%, var(--rule) 62%, var(--rule) 100%); background-size: 230% 100%; animation: pw-leo-shimmer 1.5s linear infinite; }
.pw .leo-skel i:nth-child(1) { width: 94%; } .pw .leo-skel i:nth-child(2) { width: 99%; } .pw .leo-skel i:nth-child(3) { width: 47%; }
@keyframes pw-leo-shimmer { from { background-position: 130% 0; } to { background-position: -30% 0; } }
/* a proposal: the lifted paper card with the rim, its kind in plain words, and one filled button */
.pw .leo-props { display: grid; gap: 12px; margin: 10px 0 4px; }
.pw .leo-prop { padding: 13px 15px; border: 1px solid transparent; border-radius: 10px; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--leo-clouds), linear-gradient(125deg, #d6bc78, #c2b089, #9aa0b2, #d6bc78) border-box; box-shadow: -2px -2px 12px -4px rgb(232 210 154 / .28), 2px 2px 12px -4px rgb(124 136 180 / .24), var(--ds-shadow-card); }
.pw .leo-prop.arriving { animation: pw-leo-art-in 340ms var(--leo-e-out) both; }
@keyframes pw-leo-art-in { from { opacity: 0; transform: translateY(10px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.pw .leo-prop.resolved { border-color: var(--border-btn); background: var(--surface); box-shadow: none; }
.pw .leo-prop-head { margin-bottom: 8px; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--text-muted); }
.pw .leo-plan { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 10px; }
.pw .leo-plan-item { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; align-items: start; cursor: pointer; }
.pw .leo-plan-pick { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--text-head); cursor: pointer; }
:root[data-theme="dark"] .pw .leo-plan-pick { accent-color: var(--gold); }
.pw .leo-plan-title { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--text-head); }
.pw .leo-plan-meta { margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
.pw .leo-plan-item.is-out .leo-plan-title, .pw .leo-plan-item.is-out .leo-plan-meta { color: var(--text-muted); text-decoration: line-through; }
.pw .leo-prop-draft { background: var(--surface-2); border-radius: 6px; padding: 8px 11px; margin: 9px 0; font-size: 13px; line-height: 1.6; color: var(--text-body); white-space: pre-wrap; }
.pw .leo-prop-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pw .leo-prop-ok, .pw .leo-prop-no { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 7px; border: 1px solid var(--border-btn); background: var(--surface); color: var(--text-body); font-size: 13px; font-weight: 500; white-space: nowrap; }
.pw .leo-prop-ok { padding: 0 14px 0 12px; border-color: var(--text-head); background: var(--text-head); color: var(--surface); font-weight: 600; }
.pw .leo-prop-ok:hover { border-color: var(--sidebar-bg); background: var(--sidebar-bg); }
:root[data-theme="dark"] .pw .leo-prop-ok { border-color: var(--gold); background: var(--gold); color: var(--sidebar-deep); }
:root[data-theme="dark"] .pw .leo-prop-ok:hover { border-color: var(--gold-soft); background: var(--gold-soft); }
.pw .leo-prop-no:hover { border-color: var(--gold); background: var(--gold-faint); color: var(--text-head); }
.pw .leo-prop-done { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--green-ink); }
/* the composer: the rim turns, the light rides it */
.pw .leo-composer.leo-edge { position: relative; border: 1.5px solid transparent; border-radius: 22px; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--leo-clouds), conic-gradient(from var(--leo-angle), var(--leo-rim-stops)) border-box; }
.pw .leo-composer-inner { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 15px; border-radius: 20.5px; }
.pw .leo-editor { flex: 1 1 auto; min-width: 0; border: 0; outline: none; resize: none; background: transparent; font: inherit; font-size: 13.5px; line-height: 24px; padding: 4px 0; min-height: 32px; max-height: 96px; color: var(--text-strong); }
.pw .leo-editor::placeholder { color: var(--text-muted); }
.pw .leo-composer-send { width: 32px; height: 32px; flex: none; border-radius: 999px; background: #2b3040; display: grid; place-items: center; transition: filter 180ms ease; }
.pw .leo-composer-send:hover { filter: brightness(1.18); }
/* the rail's Leo: its own button toward the foot of the rail, inside Leo's rim */
@media (prefers-reduced-motion: reduce) { .pw .leo-edge { animation: none; } .pw .leo-mk-ring, .pw .leo-bloom, .pw .leo-bloom i, .pw .leo-msg-in, .pw .leo-prop.arriving { animation: none !important; } }

/* Search and commands */
.pw .sheet.cmd { width: min(620px, 100%); overflow: hidden; }
.pw .cmd-in { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--rule); }
.pw .cmd-in input { flex: 1; height: 50px; border: 0; outline: 0; background: transparent; font-size: 15px; }
.pw .cmd-list { max-height: 60vh; overflow-y: auto; padding: 6px; }
.pw .cmd-list .mi { min-height: 36px; }
.pw .cmd-list .mi small { color: var(--text-faint); font-size: 12px; margin-left: 6px; }
.pw .keys { padding: 6px 20px 20px; }
.pw .keys h3 { font-size: 12.5px; color: var(--text-muted); margin: 16px 0 6px; font-weight: 600; }
.pw .keys .k { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13.5px; color: var(--text-strong); border-bottom: 1px solid var(--rule); }
.pw .keys .k span:last-child { display: flex; gap: 4px; }

/* Toast, phone bar, add button */
.pw .toast { position: fixed; left: 16px; bottom: 16px; z-index: 95; display: flex; align-items: center; gap: 16px; background: #282828; color: #fff; padding: 10px 10px 10px 16px; border-radius: 8px; box-shadow: var(--shadow-pop); font-size: 13.5px; max-width: calc(100vw - 32px); }
.pw .toast button { color: var(--gold); font-weight: 600; padding: 4px 6px; border-radius: 4px; }
.pw .toast button:hover { background: rgba(255,255,255,.08); }
.pw .toast .tx { color: #aaa; }
.pw .fab { display: none; }
.pw .side-x { display: none; }
@media (max-width: 760px) {
  .pw .phead { padding: 10px 16px; gap: 8px; flex-wrap: wrap; }
  .pw .phead .pname { display: none; }
  .pw .ptabs { order: 3; width: 100%; margin: 0 -16px; padding: 0 16px; width: calc(100% + 32px); }
  .pw .psearch { min-width: 0; flex: 1; }
  .pw .phead .btn-gold { display: none; }
  .pw .subnav { overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 8px; }
  .pw .side { position: fixed; inset: 0; width: auto; z-index: 70; margin: 0 !important; padding: max(10px, env(safe-area-inset-top, 0px)) 12px 12px; }
  .pw .side-x { display: inline-grid; }
  .pw .mtop { padding-top: env(safe-area-inset-top, 0px); height: calc(50px + env(safe-area-inset-top, 0px)); }
  .pw .page { padding: 0 16px 120px; }
  .pw .page.wide { padding: 0 16px 30px; }
  .pw .row .grip, .pw .row .caret { display: none; }
  .pw .row.sub { margin-left: 22px; }
  .pw .ghead { margin-left: 0; padding-left: 0; }
  .pw .ghead .tog { display: none; }
  .pw .racts { display: none; }
  .pw .rside { max-width: 34%; }
  .pw .sheet.leo { height: 88vh; }
  .pw .fab { display: grid; place-items: center; position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: #1f2533; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 50; }
  .pw .scrim { padding: 0; align-items: flex-end; }
  .pw .sheet { border-radius: 14px 14px 0 0; width: 100% !important; }
  .pw .sheet.tcard { height: 92vh; }
  .pw .tc-main { flex-direction: column; overflow-y: auto; }
  .pw .tc-left { overflow: visible; padding: 14px 16px; }
  .pw .tc-right { width: auto; overflow: visible; }
  .pw .tc-sec { margin-left: 0; }
  .pw .tc-d { margin-left: 24px; }
  .pw .tc-sh .tog { margin-left: 0; }
  .pw .week .d { font-size: 11px; padding: 6px 0 8px; }
  .pw .week .d .num { display: block; margin: 2px auto 0; width: 24px; }
  .pw .wnav .wtoday { display: none; }
  .pw .calv .cd { min-height: 70px; }
  .pw .calv .ce span { display: none; }
  .pw .col { width: 82vw; }
  .pw .board { scroll-snap-type: x mandatory; }
  .pw .col { scroll-snap-align: start; }
  .pw .mtop .tbtn .lbl { display: none; }
  .pw .toast { left: 12px; right: 12px; bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .pw * { transition: none !important; } }

/* Leo recommendations */
.pw .ptab.leo-tab { padding-left: 10px; padding-right: 10px; } .pw .ptab.leo-tab .leo-mk-ring { opacity: .2; } .pw .ptab.leo-tab[aria-current] .leo-mk-ring, .pw .ptab.leo-tab:hover .leo-mk-ring { opacity: .7; }
.pw .rec-h1 { display: flex; align-items: center; gap: 10px; }
.pw .tbtn.on { color: var(--text-head); background: var(--gold-faint); }
.pw .qf-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin: 10px 0 2px; }
.pw .qf-line b { color: var(--text-head); font-weight: 600; }
.pw .qf-line .linkbtn { margin-left: 4px; }
.pw .fm-row { display: flex; align-items: center; gap: 2px; border-radius: 7px; }
.pw .fm-row .mi { flex: 1; min-width: 0; }
.pw .fm-row .fm-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.pw .fm-row .fm-c { color: var(--text-faint); font-size: 12px; min-width: 16px; text-align: right; display: inline-flex; justify-content: flex-end; }
.pw .fm-row.on .fm-n { color: var(--text-head); font-weight: 600; } .pw .fm-row.on .fm-c { color: var(--gold-dark); }
.pw .fm-row .fm-more { opacity: 0; width: 28px; height: 28px; } .pw .fm-row:hover .fm-more, .pw .fm-row .fm-more:focus-visible { opacity: 1; }
.pw .fm-new { color: var(--text-muted); } .pw .fm-new:hover { color: var(--text-head); }
/* sub-tasks open under their task; the arrow sits in the gutter so every ring stays lined up */
.pw .row .caret { position: relative; left: auto; top: auto; width: 20px; height: 22px; margin-left: -26px; margin-right: -4px; flex: none; display: grid; place-items: center; border-radius: 5px; color: var(--text-muted); align-self: center; }
.pw .row .caret:hover { background: var(--hover); color: var(--text-head); }
.pw .row .caret svg { transition: transform .22s cubic-bezier(.2,.7,.3,1); }
.pw .row .caret.shut svg { transform: rotate(-90deg); } .pw .row .caret.shut { transform: none; }
.pw .row:has(> .caret) > .grip { display: none; }
/* Leo's tab: Leo front and center, one ask box, a conversation that grows on the page, three next moves */
.pw .lh { position: relative; padding-top: 34px; }
.pw .lh > :not(.lh-next):not(.leo-bloom) { max-width: 760px; margin-inline: auto; }
.pw .lh > :not(.leo-bloom) { position: relative; z-index: 1; }
.pw .lh-bloom { height: 240px; top: -30px; left: -120px; right: -120px; opacity: .1; -webkit-mask: radial-gradient(ellipse 60% 100% at 50% 0%, #000 20%, transparent 75%); mask: radial-gradient(ellipse 60% 100% at 50% 0%, #000 20%, transparent 75%); }
.pw .lh-hi { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pw .lh-hi h1 { font-family: var(--f-title); font-size: 24px; font-weight: 700; color: var(--text-head); margin: 0; letter-spacing: -.01em; }
.pw .lh-hi p { margin: 3px 0 0; color: var(--text-muted); font-size: 13.5px; line-height: 1.5; }
.pw .lh-ask .leo-composer-inner { padding: 9px 9px 9px 18px; }
.pw .lh-ask .leo-editor { font-size: 15px; min-height: 40px; line-height: 28px; max-height: 200px; }
.pw .lh-ask .leo-composer-send { width: 38px; height: 38px; }
.pw .lh-ask .leo-composer.leo-edge { border-radius: 26px; --leo-shadow: var(--ds-shadow-card); box-shadow: var(--ds-shadow-card); }
.pw .lh-starts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0 6px; }
.pw .lh-starts button { color: var(--gold-ink); font-size: 13px; font-weight: 500; padding: 2px 0; }
.pw .lh-starts button:hover { color: var(--text-head); text-decoration: underline; }
.pw .lh-log { margin-top: 26px; display: grid; gap: 4px; }
.pw .lh-log .leo-msg.leo { gap: 12px; }
.pw .lh-log .leo-msg.leo > .leo-mk { margin-top: 1px; }
.pw .lh-log .leo-say { font-size: 14px; max-width: 64ch; }
.pw .lh-log .leo-bubble { font-size: 14px; }
.pw .lh-log .leo-props { max-width: 560px; }
.pw .lh-log .leo-skel { max-width: 420px; }
.pw .lh-earlier { justify-self: center; font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px; }
.pw .lh-earlier:hover { color: var(--text-head); text-decoration: underline; }
.pw .lh-logend { display: flex; justify-content: flex-end; margin-top: 2px; }
.pw .lh-logend .linkbtn { font-size: 12.5px; color: var(--text-muted); }
.pw .lh-next { margin-top: 34px; padding-bottom: 50px; }
.pw .lh-nh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pw .lh-nh h2 { font-size: 14px; font-weight: 600; color: var(--text-head); margin: 0; }
.pw .lh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pw .lh-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface); border-bottom: 1px solid var(--hairline); }
.pw .lh-card:hover { border-color: var(--gold-pill-border); }
.pw .lh-ct { display: flex; align-items: center; gap: 2px; margin-bottom: 2px; }
.pw .lh-ct .grow { flex: 1; }
.pw .lh-ct .icon-btn { width: 28px; height: 28px; opacity: .5; } .pw .lh-card:hover .lh-ct .icon-btn { opacity: 1; }
.pw .lh-title { font-size: 14px; font-weight: 600; color: var(--text-head); line-height: 1.4; }
.pw .lh-why { font-size: 13px; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.pw .lh-acts { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.pw .lh-acts .leo-prop-ok { height: 30px; font-size: 12.5px; padding: 0 12px; }
.pw .lh-acts .lk { color: var(--gold-ink); font-size: 13px; font-weight: 500; }
.pw .lh-acts .lk:hover { text-decoration: underline; }
.pw .lh-more { margin-top: 12px; color: var(--text-muted); font-size: 13px; }
.pw .lh-more:hover { color: var(--text-head); text-decoration: underline; }
.pw .leo-prop-done .lk { margin-left: 10px; color: var(--gold-ink); font-weight: 500; }
.pw .lh-nh .grow { flex: 1; } .pw .lh-nh { gap: 4px; }
.pw .lh-title { text-align: left; padding: 0; font-size: 14px; font-weight: 600; color: var(--text-head); line-height: 1.4; } .pw .lh-title:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.pw .recs-sheet { width: min(720px, 100%); max-height: 84vh; display: flex; flex-direction: column; overflow: hidden; }
.pw .rs-head { display: flex; align-items: center; gap: 12px; padding: 16px 14px 12px 18px; border-bottom: 1px solid var(--rule); flex: none; }
.pw .rs-t { flex: 1; min-width: 0; } .pw .rs-t b { display: block; font-family: var(--f-title); font-size: 17px; color: var(--text-head); } .pw .rs-t span { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 1px; }
.pw .rs-body { overflow-y: auto; padding: 0 18px 4px; }
.pw .rs-body .rgroup:first-child { margin-top: 12px; }
@media (max-width: 760px) { .pw .recs-sheet { max-height: 92dvh; border-radius: 14px 14px 0 0; } .pw .ttl .tacts .lbl { display: none; } }
.pw .lh-done { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.pw .lh-next + .lh-sched { margin-top: 6px; }
.pw .lh-next:has(+ .lh-sched) { padding-bottom: 18px; }
.pw .lh-sub { margin: -6px 0 14px; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.pw .lh-sub .lk { color: var(--gold-ink); font-weight: 500; } .pw .lh-sub .lk:hover { text-decoration: underline; }
.pw .lh-card.sc .lh-why { -webkit-line-clamp: 1; flex: none; color: var(--text-body, var(--text-head)); }
.pw .lh-card.sc .sw { margin-right: 4px; }
.pw .lh-meta { font-size: 12.5px; color: var(--text-muted); margin-top: auto; padding-top: 4px; }
.pw .lh-card.sc.off .lh-title, .pw .lh-card.sc.off .lh-why, .pw .lh-card.sc.off .rec-ico { opacity: .5; }
.pw .lh-addc { align-items: flex-start; justify-content: center; text-align: left; border-style: dashed; color: var(--text-muted); min-height: 128px; cursor: pointer; }
.pw .lh-addc span { font-size: 14px; font-weight: 600; color: var(--text-head); }
.pw .lh-addc small { font-size: 12.5px; }
.pw .lh-addc:hover { color: var(--gold-ink); }
.pw .ce .fu-ico { display: inline-grid; place-items: center; color: var(--bc); flex: none; }
@media (max-width: 760px) {
  .pw .lh { padding-top: 18px; }
  .pw .lh-hi h1 { font-size: 20px; }
  .pw .lh-cards { grid-template-columns: 1fr; }
  .pw .lh-ct .icon-btn { opacity: 1; }
}
/* Calendar tab: tasks wear their board's colour; the subscribe card */
.pw .ce[style*="--bc"] { box-shadow: inset 0 0 0 1px var(--bc); }
.pw .cbx { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--bc); display: grid; place-items: center; color: #fff; }
.pw .cbx.on { background: var(--bc); }
.pw .csub { display: grid; gap: 6px; padding: 4px; }
.pw .csub-h { display: flex; gap: 10px; align-items: flex-start; padding: 6px 6px 8px; color: var(--gold-dark); }
.pw .csub-h b { display: block; color: var(--text-head); font-size: 14px; margin-bottom: 2px; }
.pw .csub-h span { display: block; color: var(--text-muted); font-size: 12.5px; line-height: 1.45; }
.pw .seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 6px; }
.pw .seg2 button { height: 32px; border-radius: 7px; border: 1px solid var(--rule); font-size: 12.5px; color: var(--text-body); }
.pw .seg2 button[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-faint); color: var(--text-head); font-weight: 600; }
.pw .csub-apps { display: grid; gap: 4px; padding: 8px 6px 4px; }
.pw .csub-app { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--rule); font-size: 13.5px; font-weight: 500; color: var(--text-head); text-align: left; }
.pw .csub-app:hover { border-color: var(--gold); background: var(--gold-faint); }
.pw .csub-ico { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; }
.pw .csub-link { display: flex; gap: 6px; padding: 0 6px; }
.pw .csub-link .pop-input { flex: 1; min-width: 0; font-size: 12px; color: var(--text-muted); }
.pw .csub .pop-note { padding: 4px 6px 2px; font-size: 12px; color: var(--text-muted); line-height: 1.45; }
.pw .csub .pop-note .linkbtn { font-size: 12px; padding: 0; }
/* sections: grab the header to move one; a quiet line at the end adds one */
.pw .ghead[data-secdrag] h2, .pw .col-h[data-secdrag] h2 { cursor: grab; }
.pw .ghead .sgrip { display: grid; place-items: center; width: 22px; height: 24px; color: var(--text-faint); opacity: 0; cursor: grab; transition: opacity .15s; }
.pw .ghead:hover .sgrip { opacity: 1; }
.pw .sec-ghost { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; font-size: 14px; }
.pw .sec-ghost b { color: var(--text-head); } .pw .sec-ghost span { color: var(--text-faint); font-size: 12.5px; }
.pw .ph.sph { height: 44px; margin: 14px 0; }
.pw .sec-end { display: flex; align-items: center; gap: 8px; margin: 8px 0 24px; height: 36px; color: var(--text-muted); font-size: 13.5px; font-weight: 500; }
.pw .sec-end:hover { color: var(--gold-dark); }
.pw .sec-add:has(+ .sec-end) { display: none; }
/* the arrow: small, thin, centred on the task's circle, quiet until you point at it */
.pw #view .row > .caret { top: 0; left: 0; width: 18px; height: 18px; margin-left: -24px; margin-right: -4px; border-radius: 5px; color: var(--text-faint); opacity: .75; transition: opacity .15s, background-color .15s, color .15s; }
.pw #view .row:hover > .caret, .pw #view .row > .caret:focus-visible { opacity: 1; color: var(--text-muted); }
.pw #view .row > .caret:hover { background: var(--hover); color: var(--text-head); }
@media (max-width: 760px) { .pw #view .row > .caret { display: grid; margin-left: -8px; margin-right: -6px; align-self: flex-start; margin-top: 2px; } .pw .subnav .tacts .lbl { display: none; } .pw .subnav .tacts .tbtn { padding: 0 6px; } }
.pw .rec-sub .leo-mk { margin-right: 8px; vertical-align: -4px; }
.pw .rec-sub { gap: 8px; }
.pw .rgroup { margin-top: 22px; }
.pw .rg-h { font-family: var(--f-title); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--text-strong); display: flex; align-items: baseline; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); margin: 0; }
.pw .rg-h .cnt { font-family: var(--f-body, inherit); font-size: 12px; font-weight: 400; color: var(--text-faint); }
.pw .rec { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: flex-start; }
.pw .rec-ico { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--gold-ink); background: color-mix(in srgb, var(--gold) 14%, transparent); }
.pw .rec-main { flex: 1; min-width: 0; }
.pw .rec-t { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--text-strong); text-align: left; padding: 0; }
.pw .rec-t svg { color: var(--text-faint); transition: transform .25s cubic-bezier(.2,.9,.3,1); }
.pw .rec.open .rec-t svg { transform: rotate(180deg); }
.pw .rec-why { font-size: 13.5px; color: var(--text-body); margin-top: 2px; max-width: 70ch; }
.pw .rec-more { overflow: hidden; }
.pw .rec-chg { font-size: 12px; color: var(--text-faint); margin: 10px 0 2px; }
.pw .rec-more ul { margin: 0 0 6px; padding-left: 18px; font-size: 13px; color: var(--text-body); }
.pw .rec-more li { margin: 2px 0; }
.pw .rec-more .lk { font-size: 13px; color: var(--gold-ink); font-weight: 500; padding: 0; }
.pw .rec-more .lk:hover { text-decoration: underline; }
.pw .rec-acts { display: flex; gap: 2px; align-items: center; flex: none; }
.pw .rec-acts .icon-btn { opacity: .55; }
.pw .rec:hover .rec-acts .icon-btn, .pw .rec-acts .icon-btn:focus-visible { opacity: 1; }
.pw .rec-go { margin-left: 6px; color: var(--gold-ink); font-weight: 600; white-space: nowrap; }
.pw .rec-foot { font-size: 12.5px; color: var(--text-faint); margin: 22px 0 40px; }
.pw .rec.scan .rec-why, .pw .lh-card.scan .lh-why { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold) 18%, transparent), transparent) no-repeat; background-size: 40% 100%; animation: pw-scan 1s ease-in-out; }
@keyframes pw-scan { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.pw #view { position: relative; }
.pw .exit-ghost { position: absolute !important; margin: 0 !important; pointer-events: none; z-index: 3; background: var(--canvas); }
@media (max-width: 760px) {
  .pw .rec { flex-wrap: wrap; }
  .pw .rec-acts { width: 100%; padding-left: 40px; }
  .pw .rec-acts .icon-btn { opacity: 1; }
  .pw .rec-go { margin-left: auto; }
}

/* ===== Nov 6 refresh: a floating work surface, tighter spacing, one-line rows on wide screens ===== */
@media (min-width: 761px) {
  .pw .app { background: var(--sb-bg); }
  .pw .main { --canvas: var(--surface); background: var(--surface); margin: 8px 8px 8px 0; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 8px 30px -18px rgba(0,0,0,.35); }
  :root[data-theme="dark"] .pw .main { box-shadow: 0 0 0 1px rgba(255,255,255,.05); }
  .pw .phead { padding: 9px 58px 9px 24px; gap: 12px; }
  .pw .phead .pname { font-size: 17px; padding-right: 12px; }
  .pw .ptab { height: 30px; padding: 0 10px; font-size: 13px; }
  .pw .psearch { height: 32px; min-width: 200px; }
  .pw .phead .btn-gold { height: 32px; }
  .pw .page { max-width: none; padding: 0 32px 120px; }
  .pw .page.wide { padding: 0 32px 40px; }
  .pw .subnav { margin: 0 0 6px; align-items: center; position: sticky; top: 0; z-index: 5; background: var(--canvas); padding-top: 6px; }
  .pw .subnav button { padding: 9px 10px 10px; font-size: 13px; }
  .pw .subnav .grow { flex: 1; }
  .pw .subnav .tacts { padding: 0; align-self: center; }
  .pw .ghead { border-bottom: 0; }
  .pw .ghead + .gbody > .row:first-child, .pw .ghead + .gbody > :first-child { border-top: 1px solid var(--rule); }
  .pw .ttl { margin-top: 14px; }
  .pw h1 { font-size: 21px; margin: 8px 0 2px; }
  .pw .crumb2 { margin-top: 14px; font-size: 12.5px; }
  .pw .psub { margin-bottom: 8px; font-size: 12.5px; }
  .pw .psub:empty { min-height: 4px; margin: 0; }
  .pw .grp { margin-bottom: 14px; }
  .pw .grp:first-child, .pw .page.my .grp:first-of-type { margin-top: 10px; }
  .pw .ghead { padding-bottom: 5px; padding-top: 6px; position: sticky; top: 43px; z-index: 3; background: var(--canvas); }
  .pw .page:not(.my) .ghead { top: 0; }
  .pw .ghead h2 { font-size: 13px; font-weight: 600; }
  /* rows: one line, details on the right */
  .pw .row { align-items: center; padding: 0; min-height: 40px; gap: 10px; }
  .pw .row .grip, .pw .row .caret { top: 9px; }
  .pw .row .ring { margin-top: 0; }
  .pw .row > .rbody { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .pw .row .rt { flex: 0 1 auto; min-width: 60px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; line-height: 40px; }
  .pw .row .rd { flex: 1 1 0; min-width: 0; margin: 0; font-size: 12.5px; color: var(--text-faint); }
  .pw .row .rm { flex: none; flex-wrap: nowrap; margin: 0 0 0 auto; gap: 12px; font-size: 12px; }
  .pw .row .rd + .rm, .pw .row .rt + .rm { margin-left: auto; }
  .pw .row > .rside { flex-direction: row-reverse; align-items: center; justify-content: flex-start; gap: 12px; width: 220px; max-width: 30%; }
  .pw .row .rwhere { margin: 0; }
  .pw .racts { top: 50%; transform: translateY(-50%); right: 0; padding-left: 10px; }
  .pw .row.sub { margin-left: 28px; }
  .pw .addline { height: 36px; font-size: 13px; }
  .pw .tcard .row { min-height: 36px; }
  .pw .tcard .rt { line-height: 36px; }
  .pw .tcard .rside { width: auto; }
  .pw .rec { padding: 10px 0; }
  .pw .rgroup { margin-top: 16px; }
}
.pw .exit-ghost { background: var(--canvas); }

@media (max-width: 760px) {
  .pw .phead { flex-wrap: nowrap; padding: 8px 12px 8px 16px; }
  .pw .ptabs { order: 0; flex: 1; width: auto; margin: 0 -4px 0 -16px; padding: 0 4px 0 16px; }
  .pw .ptab { height: 32px; padding: 0 10px; font-size: 13.5px; }
  .pw .psearch { flex: none; width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 50%; }
  .pw .psearch span, .pw .psearch kbd, .pw .phead .grow { display: none; }
  .pw .subnav button { padding: 9px 10px 10px; }
}

/* sliding tab highlights */
.pw .ptabs { position: relative; }
.pw .tind { position: absolute; left: 0; top: 0; height: 30px; border-radius: 999px; background: var(--gold-faint); border: 1px solid var(--gold-pale); pointer-events: none; z-index: 0; opacity: 0; will-change: transform, width; }
.pw .ptab { position: relative; z-index: 1; transition: color .25s ease; }
.pw .ptab[aria-current="page"] { background: transparent; border-color: transparent; }
.pw .ptab:hover { background: transparent; }
.pw .subnav .sind { position: absolute; left: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); pointer-events: none; opacity: 0; will-change: transform, width; }
.pw .subnav button[aria-current="page"]::after { display: none; }
.pw .subnav button { transition: color .25s ease; }
.pw .page-out { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 2; }
/* ===== the calendar: Day, Week, Month ===== */
.pw .page.calp { padding-top: 14px; padding-bottom: 24px; }
.pw .cv-bar { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; flex-wrap: wrap; }
.pw .cv-bar .cv-today { border: 1px solid var(--rule-strong); color: var(--text-strong); font-weight: 500; height: 30px; }
.pw .cv-bar .cv-nav { margin-left: 0; height: 30px; }
.pw .cv-title { margin: 0 6px 0 4px; font-size: 17px; font-weight: 600; color: var(--text-head); letter-spacing: -.01em; white-space: nowrap; }
.pw .cv-seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--rule); gap: 2px; }
.pw .cv-seg button { height: 26px; padding: 0 10px; border-radius: 6px; font-size: 12.5px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pw .cv-seg button:hover { color: var(--text-strong); }
.pw .cv-seg button[aria-pressed="true"] { background: var(--surface); color: var(--text-head); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08), inset 0 0 0 1px var(--rule-strong); }
.pw .cv-seg .sw-dot, .pw .gpop .sw-dot { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.pw .cv-src button svg { color: var(--gold-dark); }
.pw .cv-tacts { display: flex; gap: 0; }
.pw .cv-tacts .tbtn .lbl { display: none; }
.pw .cv-tacts .tbtn { padding: 0 7px; }
/* Smart is Leo: the Leo rim (gold into periwinkle) and the soft orbiting glow, no lion */
.pw .cv-seg button.cv-leo { position: relative; border: 1px solid transparent; border-radius: 999px; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, conic-gradient(from var(--leo-angle), var(--leo-rim-stops)) border-box; color: var(--text-strong); }
.pw .cv-seg button.cv-leo span { background: linear-gradient(100deg, #b8963e, #8a93b8); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.pw .cv-seg button.cv-leo svg { color: #b8963e; }
.pw .cv-seg button.cv-leo[aria-pressed="true"] { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--leo-clouds), conic-gradient(from var(--leo-angle), var(--leo-rim-stops)) border-box; box-shadow: none; }
.pw .cv-smart { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 16px; margin: 4px 2px 12px; border-radius: 999px; border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--leo-clouds), conic-gradient(from var(--leo-angle), var(--leo-rim-stops)) border-box; color: #b8963e; }
:root[data-theme="dark"] .pw .cv-seg button.cv-leo span { background-image: linear-gradient(100deg, #e5d29e, #a6acc0); }
:root[data-theme="dark"] .pw .cv-seg button.cv-leo svg, :root[data-theme="dark"] .pw .cv-smart { color: #e5d29e; }
.pw .cv-smart input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13.5px; color: var(--text-strong); }
.pw .cv-said { margin: -4px 0 10px; }
.pw .cv-said svg { color: #b8963e; }
.pw .cv-grid { border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: var(--surface); }
.pw .cv-head, .pw .cv-allday, .pw .cv-cols { display: grid; }
.pw .cv-head { border-bottom: 1px solid var(--rule); }
.pw .cv-dh { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-left: 1px solid var(--rule); color: var(--text-muted); }
.pw .cv-dh small { font-size: 12px; }
.pw .cv-dh b { font-size: 14px; font-weight: 600; color: var(--text-head); min-width: 24px; height: 24px; padding: 0 4px; display: grid; place-items: center; border-radius: 12px; }
.pw .cv-dh:hover b { background: var(--hover); }
.pw .cv-dh.today b { background: var(--gold); color: #1f2533; }
.pw .cv-dh.today small { color: var(--gold-dark); font-weight: 600; }
.pw .cv-dh.past b { color: var(--text-faint); font-weight: 500; }
.pw .cv-allday { border-bottom: 1px solid var(--rule-strong); }
.pw .cv-l { font-size: 10.5px; color: var(--text-faint); padding: 6px 6px 0 0; text-align: right; }
.pw .cv-ad { border-left: 1px solid var(--rule); padding: 2px; display: flex; flex-direction: column; gap: 2px; min-width: 0; min-height: 24px; }
.pw .cv-ad .ce, .pw .calv .ce { flex: none; height: 20px; font-size: 11.5px; padding: 0 5px 0 6px; gap: 4px; }
.pw .cv-body { height: max(420px, calc(100vh - 252px)); height: max(420px, calc(100dvh - 252px)); overflow-y: auto; position: relative; }
.pw .cv-hours { position: relative; }
.pw .cv-hours span { position: absolute; right: 7px; transform: translateY(-50%); font-size: 10.5px; color: var(--text-faint); white-space: nowrap; }
.pw .cv-day { position: relative; border-left: 1px solid var(--rule); background-image: linear-gradient(to bottom, var(--rule) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--rule) 45%, transparent) 1px, transparent 1px); background-size: 100% 40px, 100% 20px; background-position: 0 0, 0 20px; cursor: copy; }
.pw .cv-day.today { background-color: color-mix(in srgb, var(--gold) 4%, transparent); }
.pw .cv-day.hov { background-color: color-mix(in srgb, var(--gold) 5%, transparent); }
/* timeframes: bars across days with draggable ends, blocks with draggable edges */
.pw .cv-adl { border-left: 1px solid var(--rule); pointer-events: none; }
.pw .cv-allday { grid-auto-rows: minmax(24px, auto); row-gap: 2px; padding: 2px 0; }
.pw .cv-allday .cv-ad { border-left: 0; }
.pw .cv-span { position: relative; z-index: 1; height: 22px; margin: 0 3px; padding: 0 10px 0 6px; font-size: 11.5px; cursor: grab; touch-action: none; }
.pw .cv-span.cut-l { border-top-left-radius: 4px; border-bottom-left-radius: 4px; margin-left: 0; }
.pw .cv-span.cut-r { border-top-right-radius: 4px; border-bottom-right-radius: 4px; margin-right: 0; }
.pw .cv-span .sp-end { margin-left: auto; padding-left: 8px; display: inline-flex; align-items: center; gap: 3px; color: var(--text-muted); font-size: 11px; flex: none; }
.pw .cv-span.lift, .pw .cv-span.sizing { z-index: 6; box-shadow: 0 6px 18px rgba(0,0,0,.16); cursor: grabbing; }
.pw .rz { position: absolute; z-index: 3; display: block; }
.pw .rz-l, .pw .rz-r { top: 0; bottom: 0; width: 9px; cursor: ew-resize; }
.pw .rz-l { left: 0; } .pw .rz-r { right: 0; }
.pw .rz-t, .pw .rz-b { left: 6px; right: 6px; height: 7px; cursor: ns-resize; }
.pw .rz-t { top: -1px; } .pw .rz-b { bottom: -1px; }
.pw .rz::after { content: ''; position: absolute; border-radius: 2px; background: color-mix(in srgb, var(--bc) 70%, var(--text-strong)); opacity: 0; transition: opacity .12s; }
.pw .rz-l::after, .pw .rz-r::after { top: 5px; bottom: 5px; width: 3px; left: 3px; }
.pw .rz-t::after, .pw .rz-b::after { left: calc(50% - 10px); width: 20px; height: 3px; top: 2px; }
.pw .tev:hover .rz::after, .pw .cv-span:hover .rz::after, .pw .sizing .rz::after { opacity: .6; }
.pw .tev.sizing { z-index: 9; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.pw .tev.short .rz-t, .pw .tev.short .rz-b { height: 5px; }
.pw .tf-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; margin: 4px 4px 8px; border-radius: 8px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--rule); }
.pw .tf-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; border-radius: 6px; font-size: 12.5px; color: var(--text-muted); }
.pw .tf-seg button[aria-pressed="true"] { background: var(--surface); color: var(--text-head); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08), inset 0 0 0 1px var(--rule-strong); }
.pw .tf-sum { padding-top: 2px; }
.pw .tf-lbl { font-size: 12px; font-weight: 600; color: var(--text-muted); padding: 8px 8px 4px; }
.pw .tf-durs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0 4px; }
.pw .tf-durs button { height: 28px; border-radius: 999px; font-size: 12px; color: var(--text-strong); box-shadow: inset 0 0 0 1px var(--ctl-border); }
.pw .tf-durs button:hover { background: var(--hover); }
.pw .tf-durs button.sel { background: var(--gold); color: #1f2533; font-weight: 600; box-shadow: none; }
.pw .cal button.tf-start { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold-dark); font-weight: 700; }
.pw .cal button.tf-in { background: var(--gold-faint); border-radius: 6px; }
.pw .cal button:disabled { color: var(--text-faint); opacity: .45; cursor: default; }
.pw .cal button:disabled:hover { background: none; }
.pw .cv-span.sidev { height: 12px; line-height: 12px; margin-top: 0; padding: 0 8px 0 7px; font-size: 9.5px; font-weight: 500; color: var(--text-muted); background: color-mix(in srgb, var(--bc) 9%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bc) 22%, transparent); }
.pw .cv-span.sidev .ev-t, .pw .cv-span.sidev .sp-end { flex: 0 1 auto; height: 12px; line-height: 12px; font-size: 9.5px; }
.pw .cv-span.sidev .ev-t { flex: 1 1 auto; } .pw .cv-span.sidev .sp-end svg { width: 9px; height: 9px; }
.pw .cv-span.sidev:hover { color: var(--text-strong); background: color-mix(in srgb, var(--bc) 16%, var(--surface)); }
.pw .ce.mrange.cont-l { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -3px; }
.pw .ce.mrange.cont-r { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: -3px; }
.pw .calv .ce.sidev { height: 12px; line-height: 12px; font-size: 9.5px; color: var(--text-muted); background: color-mix(in srgb, var(--bc) 15%, var(--surface)); }
/* Timeline: tasks down the side, days across, one bar per task */
.pw .tl-bar { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.pw .tl-title { font-size: 14px; color: var(--text-head); }
.pw .tl-hint { margin-left: auto; font-size: 12px; color: var(--text-faint); }
.pw .tl { border: 1px solid var(--rule); border-radius: 10px; background: var(--surface); overflow-x: auto; }
.pw .tl-in { min-width: calc(220px + var(--nd) * var(--dw)); }
.pw .tl-row { display: grid; grid-template-columns: 220px calc(var(--nd) * var(--dw)); min-height: 34px; border-top: 1px solid var(--rule); }
.pw .tl-row:first-child { border-top: 0; }
.pw .tl-name { position: sticky; left: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; background: var(--surface); border-right: 1px solid var(--rule); min-width: 0; font-size: 13px; }
.pw .tl-name .ring { margin: 0; }
.pw .tl-t { flex: 1; min-width: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-strong); }
.pw .tl-t:hover { color: var(--gold-dark); }
.pw .tl-g { min-height: 30px; background: var(--surface-2); }
.pw .tl-g .tl-name { background: var(--surface-2); font-weight: 600; color: var(--text-head); font-size: 12.5px; }
.pw .tl-g .gn { color: var(--text-faint); font-weight: 500; margin-left: 4px; }
.pw .tl-days { position: relative; display: flex; }
.pw .tl-track { background-image: linear-gradient(to right, color-mix(in srgb, var(--rule) 70%, transparent) 1px, transparent 1px); background-size: var(--dw) 100%; cursor: default; }
.pw .tl-head { min-height: 54px; position: sticky; top: 0; z-index: 4; background: var(--surface); }
.pw .tl-d { position: relative; width: var(--dw); flex: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 5px; font-size: 11px; color: var(--text-muted); }
.pw .tl-d small { font-size: 10px; color: var(--text-faint); } .pw .tl-d b { font-weight: 600; color: var(--text-strong); font-size: 12px; }
.pw .tl-d.wk { background: color-mix(in srgb, var(--rule) 30%, transparent); }
.pw .tl-d.today b { background: var(--gold); color: #1f2533; border-radius: 999px; padding: 0 6px; }
.pw .tl-d i { position: absolute; top: 4px; left: 4px; font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--gold-dark); white-space: nowrap; }
.pw .tl-now { position: absolute; top: 0; bottom: 0; width: var(--dw); background: color-mix(in srgb, var(--gold) 7%, transparent); pointer-events: none; }
.pw .tl-b { position: absolute; top: 6px; height: 22px; display: flex; align-items: center; padding: 0 10px; border-radius: 999px; background: color-mix(in srgb, var(--bc) 22%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bc) 40%, transparent); font-size: 11.5px; font-weight: 600; color: var(--text-strong); cursor: grab; touch-action: none; overflow: hidden; white-space: nowrap; }
.pw .tl-b span { overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.pw .tl-b.one { padding: 0; background: var(--bc); box-shadow: none; height: 12px; top: 11px; border-radius: 999px; }
.pw .tl-b.sidev { height: 10px; top: 12px; font-size: 0; background: color-mix(in srgb, var(--bc) 30%, var(--surface)); }
.pw .tl-b.lift { cursor: grabbing; z-index: 5; box-shadow: 0 6px 16px rgba(0,0,0,.16); }
.pw .tl-b:hover .rz::after { opacity: .6; }
.pw .tl-b.done-row { opacity: .5; }
.pw .tl-off { position: absolute; top: 8px; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--text-muted); padding: 1px 7px; border-radius: 999px; background: var(--surface-2); }
.pw .tl-off.l { left: 6px; } .pw .tl-off.r { right: 6px; }
.pw .tl-off:hover { color: var(--text-strong); }
.pw #pop .mi .end { white-space: nowrap; }
.pw .tf-side { display: flex; align-items: center; gap: 8px; padding: 8px; font-size: 13px; color: var(--text-strong); }
.pw .tf-side .faint { font-size: 11.5px; color: var(--text-faint); }
@media (max-width: 760px) { .pw .tl-row { grid-template-columns: 140px calc(var(--nd) * var(--dw)); } .pw .tl-in { min-width: calc(140px + var(--nd) * var(--dw)); } .pw .tl-hint { display: none; } }
.pw .cv-ghost { position: absolute; left: 2px; right: 3px; z-index: 1; display: flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: 8px; border: 1.5px dashed color-mix(in srgb, var(--gold) 70%, transparent); background: color-mix(in srgb, var(--gold) 12%, var(--surface)); color: var(--gold-dark); font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; pointer-events: none; transition: top 70ms ease-out; }
.pw .cv-ghost.held { border-style: solid; border-color: var(--gold); background: color-mix(in srgb, var(--gold) 22%, var(--surface)); box-shadow: 0 4px 14px rgba(0,0,0,.12); z-index: 5; }
@media (prefers-reduced-motion: reduce) { .pw .cv-ghost { transition: none; } }
.pw .cv-now { position: absolute; left: -1px; right: 0; height: 2px; background: var(--red); z-index: 3; pointer-events: none; }
.pw .cv-now::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.pw .tev { position: absolute; z-index: 2; border-radius: 8px; padding: 3px 7px; overflow: hidden; cursor: pointer; touch-action: none;
  background: color-mix(in srgb, var(--bc) 15%, var(--surface)); box-shadow: 0 0 0 1px var(--surface); color: var(--text-strong); font-size: 11.5px; line-height: 1.3; }
.pw .tev:hover { background: color-mix(in srgb, var(--bc) 23%, var(--surface)); z-index: 4; }
.pw .tev.short { border-radius: 999px; }
.pw .tev[data-src="google"] { cursor: default; }
.pw .tev.short { display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
.pw .tev.lift { z-index: 9; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.pw .tev.done-row .ev-t, .pw .ce.done-row .ev-t { text-decoration: line-through; color: var(--text-muted); }
.pw .tev-t { display: flex; align-items: center; gap: 4px; font-weight: 600; min-width: 0; }
.pw .tev-s { color: var(--text-muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 17px; }
.pw .ev-ico { display: inline-grid; place-items: center; color: var(--bc); flex: none; width: 12px; }
.pw .ev-ring.ring { width: 12px; height: 12px; margin: 0; border-width: 1.5px; flex: none; display: grid; place-items: center; }
.pw .ev-ring.ring.fu { border-color: var(--bc); }
.pw .ev-ring.ring svg { opacity: 0; }
.pw .ev-ring.ring:hover svg, .pw .ev-ring.ring.on svg { opacity: 1; }
.pw .ev-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pw .ev-t b { font-weight: 600; color: var(--text-muted); }
.pw .ce[data-src] { box-shadow: none; border-radius: 999px; background: color-mix(in srgb, var(--bc) 13%, var(--surface)); padding: 0 8px 0 5px; }
.pw .ce[data-src]:hover { background: color-mix(in srgb, var(--bc) 21%, var(--surface)); }
.pw .ce[data-src="google"] { cursor: default; }
.pw .calv .cd { height: calc((100vh - 290px) / 6); height: calc((100dvh - 290px) / 6); min-height: 112px; gap: 2px; padding: 3px; overflow: hidden; }
.pw .calv .cd .n { padding: 0 2px; }
.pw .calv .cd .n .dnum { font-size: 12px; color: var(--text-muted); min-width: 22px; height: 20px; border-radius: 10px; }
.pw .calv .cd .n .dnum:hover { background: var(--hover); color: var(--text-strong); }
.pw .calv .cd.today .n .dnum { background: var(--gold); color: #1f2533; font-weight: 600; }
.pw .cv-more { font-size: 11px; text-align: left; padding: 0 5px; height: 16px; }
.pw .gpop { padding: 6px; display: grid; gap: 6px; }
.pw .gpop-h { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-head); }
.pw .gpop-r { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-body); }
.pw .gpop-r.faint { color: var(--text-muted); font-size: 12.5px; }
.pw .gpop-a { display: flex; justify-content: flex-end; padding-top: 4px; }
@media (max-width: 1180px) { .pw .cv-src button { padding: 0 8px; } }
@media (max-width: 760px) {
  .pw .page.calp { padding-top: 8px; }
  .pw .cv-title { font-size: 15px; }
  .pw .cv-src { order: 6; width: 100%; overflow-x: auto; }
  .pw .cv-views { order: 5; flex: 1; }
  .pw .cv-views button { flex: 1; justify-content: center; }
  .pw .cv-tacts { order: 4; margin-left: auto; }
  .pw .cv-body { height: calc(100vh - 300px); height: calc(100dvh - 300px); }
  .pw .cv-hours span { font-size: 10px; right: 4px; }
}
.pw .tsug { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 2px; }
.pw .tsug-l { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-right: 2px; }
.pw .tsug-l .leo-mk { --s: 14px; }
.pw .tsug-p { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px 0 6px; border-radius: 999px; font-size: 12.5px; color: var(--text-body); border: 1px dashed var(--rule-strong); background: transparent; }
.pw .tsug-p:hover { border-style: solid; border-color: var(--gold); background: var(--gold-faint); color: var(--text-head); }
.pw .e-sug .tsug { margin: 2px 0 0; padding: 0 2px; }
.pw .tsug-slot .tsug { margin-top: -4px; padding-bottom: 8px; }
/* Scheduled on Leo's tab: the board, in Prowl's rows. Columns line up, a quiet
   header, groups by spacing, hairlines between rows, dots for progress. */
.pw .fu-digest { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; font-size: 13.5px; color: var(--text-body); }
.pw .fu-digest .lk { color: var(--gold-ink); font-weight: 500; } .pw .fu-digest .lk:hover { text-decoration: underline; }
.pw .fu .tabs2 { margin-bottom: 0; overflow-x: auto; scrollbar-width: none; }
.pw .fu .tabs2 button { white-space: nowrap; }
/* Scheduled is a table (Mythril Version 1, the Pipeline board): each group is
   its own sheet under a 46px tinted band, then the table with its head row.
   Cells are centred, text columns are left, one line a row, a divider between
   columns and a line under every row but the last. */
.pw .fu-group { --gc: var(--royal); --fu-band: color-mix(in oklab, var(--gc) 13%, var(--surface)); --fu-ink: color-mix(in oklab, var(--gc) 40%, var(--text-strong)); --fu-ink-2: color-mix(in oklab, var(--gc) 26%, var(--text-muted));
  margin-top: 16px; background: var(--surface); border-radius: 14px; box-shadow: var(--ds-shadow-card); overflow: hidden; }
:root[data-theme="dark"] .pw .fu-group { --fu-band: color-mix(in oklab, var(--gc) 14%, var(--surface)); --fu-ink: color-mix(in oklab, var(--gc) 26%, var(--text-strong)); --fu-ink-2: color-mix(in oklab, var(--gc) 22%, var(--text-muted)); }
.pw .fu-gh { display: flex; align-items: center; gap: 10px; height: 46px; background: var(--fu-band); color: var(--fu-ink); cursor: pointer; user-select: none; transition: box-shadow .15s ease-out; }
.pw .fu-gh:hover { box-shadow: inset 0 0 0 200px color-mix(in oklab, var(--gc) 7%, transparent); }
.pw .fu-gh:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.pw .fu-gh .chev { width: 46px; height: 46px; margin-right: -10px; display: grid; place-items: center; color: var(--fu-ink-2); flex: none; transition: transform .3s var(--my-ease-out, ease-out); }
.pw .fu-group.closed .fu-gh .chev { transform: rotate(-90deg); }
.pw .fu-gh h3 { margin: 0; font: 600 16.5px/1.2 var(--font-serif); letter-spacing: -.01em; color: var(--fu-ink); white-space: nowrap; }
.pw .fu-gh .cnt { font-size: 12.5px; color: var(--fu-ink-2); white-space: nowrap; }
.pw .fu-gh .grow { flex: 1; min-width: 12px; }
.pw .fu-gh .end { flex: none; padding-right: 16px; font-size: 12.5px; color: var(--fu-ink-2); white-space: nowrap; }
.pw .fu-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--my-sheet, ease), opacity .3s; }
.pw .fu-body > div { min-height: 0; overflow: hidden; }
.pw .fu-group.closed .fu-body { grid-template-rows: 0fr; opacity: 0; }
.pw .fu-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--hairline) transparent; }
.pw .fu-t { width: 100%; min-width: 1080px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 14px; color: var(--text-strong); }
/* the same columns in every group, so the sheets line up one under another */
.pw .fu-t .c-next { width: 168px; } .pw .fu-t .c-proj { width: 19%; } .pw .fu-t .c-for { width: 11%; } .pw .fu-t .c-to { width: 16%; } .pw .fu-t .c-prog { width: 330px; }
.pw .fu-t td { overflow: hidden; text-overflow: ellipsis; }
.pw .fu-t th, .pw .fu-t td { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--hairline); text-align: center; vertical-align: middle; white-space: nowrap; }
.pw .fu-t th:last-child, .pw .fu-t td:last-child { border-right: 0; }
.pw .fu-t tbody tr:last-child td { border-bottom: 0; }
.pw .fu-t thead th { height: 34px; padding: 0 10px; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-muted); background: var(--surface); border-bottom-color: var(--rule-strong); }
.pw .fu-t td { height: 40px; padding: 0 12px; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--text-body); transition: background .15s ease-out; }
.pw .fu-t .left { text-align: left; }
.pw .fr { cursor: pointer; }
.pw .fr:hover td { background: var(--hover); }
.pw .fr:hover .fc-proj .fname { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.pw .fr:focus-visible { outline: none; }
.pw .fr:focus-visible td { background: var(--hover); box-shadow: inset 0 2px 0 var(--gold), inset 0 -2px 0 var(--gold); }
.pw .fc-next { color: var(--text-head); font-weight: 500; }
.pw .fc-next .fn-off { color: var(--text-faint); font-weight: 400; }
.pw .fn-date { display: inline-flex; align-items: center; gap: 7px; }
.pw .fn-date .late { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.pw .fname { color: var(--text-head); font-weight: 600; }
.pw .fwho { display: inline-flex; align-items: center; gap: 8px; }
.pw .fwho .fsub { font-size: 12.5px; color: var(--text-muted); }
.pw .fav { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 600; color: var(--text-strong); background: var(--hover); }
.pw .fprog { display: inline-flex; align-items: center; gap: 10px; }
.pw .fdots { display: inline-flex; align-items: center; gap: 5px; height: 14px; }
.pw .fd { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--text-muted) 55%, transparent); background: transparent; flex: none; box-sizing: border-box; }
.pw .fd-done { background: var(--text-muted); border-color: var(--text-muted); }
.pw .fd-now { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-faint); }
.pw .fd-held { border-color: var(--amber); border-style: dashed; }
.pw .fd-stuck { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.pw .fdots.big { gap: 7px; height: 18px; } .pw .fdots.big .fd { width: 12px; height: 12px; border-width: 2px; }
.pw .fp-l { font-size: 13px; color: var(--text-body); } .pw .fp-l b { color: var(--text-head); font-weight: 600; }
.pw .fp-l2 { color: var(--text-muted); }
.pw .fu-red { color: var(--red) !important; }
.pw .fu-mine { color: var(--gold-ink) !important; }
.pw .fu-empty { padding: 22px 0; color: var(--text-muted); font-size: 13.5px; }
/* the card */
.pw .fu-to { font-size: 13px; color: var(--text-muted); margin: -8px 0 18px; }
.pw .fu-to .lk { color: var(--gold-ink); font-weight: 500; margin-left: 4px; } .pw .fu-to .lk:hover { text-decoration: underline; }
.pw .fu-state { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pw .fu-sw { display: flex; flex-direction: column; gap: 2px; }
.pw .fu-sw b { font-size: 15px; font-weight: 600; color: var(--text-head); }
.pw .fu-sw span { font-size: 12.5px; color: var(--text-muted); }
.pw .fu-say { display: flex; gap: 10px; margin-top: 16px; }
.pw .fu-say > :first-child { flex: none; margin-top: 2px; }
.pw .fu-say p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-body); }
.pw .fu-say small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--text-muted); }
.pw .fu-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.pw .fu-acts .grow { flex: 1; }
.pw .fu-stop { color: var(--red); }
.pw .fu-sec { display: flex; align-items: baseline; gap: 10px; margin: 24px 0 8px; font-size: 13px; font-weight: 600; color: var(--text-strong); }
.pw .fu-sec span { font-weight: 400; color: var(--text-muted); font-size: 12.5px; }
.pw .fu-subj { font-size: 14px; font-weight: 600; color: var(--text-head); margin-bottom: 4px; }
.pw .fu-body { font-size: 14px; color: var(--text-body); line-height: 1.6; white-space: pre-wrap; }
.pw .form textarea.fu-edit { height: auto; min-height: 110px; line-height: 1.55; font-size: 14px; }
.pw .fu-pace { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--text-strong); }
.pw .form .fu-pace select { width: auto; height: 32px; padding: 0 8px; }
.pw .fu-hist { list-style: none; margin: 0; padding: 0 0 0 4px; }
.pw .fu-hist li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 0 0 10px 18px; font-size: 13px; color: var(--text-muted); }
.pw .fu-hist li::before { content: ""; position: absolute; left: 0; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--rule-strong); }
.pw .fu-hist li::after { content: ""; position: absolute; left: 3.5px; top: 15px; bottom: -1px; width: 1px; background: var(--rule); }
.pw .fu-hist li:last-child::after { display: none; } .pw .fu-hist li:last-child { padding-bottom: 0; }
.pw .fu-hist li.now { color: var(--text-strong); } .pw .fu-hist li.now::before { background: var(--gold); }
@media (max-width: 760px) {
  /* On a phone each row is a short card in its sheet: who and when, the
     project and what for, then progress. Asking for is in the card. */
  .pw .fu-t thead { display: none; }
  .pw .fu-t, .pw .fu-t tbody { display: block; min-width: 0; }
  .pw .fr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "to next" "proj for" "prog prog"; column-gap: 12px; row-gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
  .pw .fu-t tbody .fr:last-child { border-bottom: 0; }
  .pw .fu-t .fr td { display: block; height: auto; padding: 0; border: 0; white-space: normal; background: none; }
  .pw .fr:hover { background: var(--hover); }
  .pw .fc-to { grid-area: to; } .pw .fc-next { grid-area: next; text-align: right; } .pw .fc-proj { grid-area: proj; padding-left: 30px; } .pw .fc-proj .fname { font-weight: 500; color: var(--text-body); }
  .pw .fu-t .fr td.fc-stage { grid-area: for; text-align: right; color: var(--text-muted); font-size: 12.5px; }
  .pw .fu-t .fr td.fc-ask { display: none; }
  .pw .fc-prog { grid-area: prog; padding-left: 30px; } .pw .fprog { flex-wrap: wrap; row-gap: 4px; }
  .pw .fu-gh .end { display: none; }
  .pw .fu-acts .grow { display: none; }
  .pw .fu-state { flex-direction: column; align-items: flex-start; gap: 10px; }
}
.pw #scroll { overflow-x: hidden; }
@media (min-width: 761px) { .pw .fu .tabs2 { overflow-x: visible; flex-wrap: wrap; } }
/* Leo and Scheduled share one pill in Prowl's tabs: the lion, then the clock */
.pw .leo-pair { display: inline-flex; align-items: center; flex: none; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--gold-pale); }
.pw .leo-pair .ptab { border-radius: 999px; }
.pw .leo-pair .leo-sub { padding: 0 10px 0 8px; color: var(--text-muted); }
.pw .leo-pair .leo-sub::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 1px; background: var(--gold-pale); }
.pw .leo-pair .leo-sub[aria-current]::before, .pw .leo-pair .leo-tab[aria-current] + .leo-sub::before { opacity: 0; }
.pw .leo-pair .leo-sub:hover, .pw .leo-pair .leo-sub[aria-current] { color: var(--gold-ink); }
.pw .leo-sub-dot { position: absolute; top: 6px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--bg, var(--surface)); }
.pw .fu-page .fu-digest { margin: 0 0 12px; }

/* ---- in the portal ---- */
#prowlScreen .pw { height: 100%; position: relative; }
.pw .app { height: 100%; flex-direction: row; }
/* .main is the column that holds the bar and the scroller. min-height 0 keeps it
   at the screen's height so .scroll scrolls; without it a long list grows .main
   past the screen and .pw clips it, and nothing scrolls. */
.pw .main { min-height: 0; }
.pw .pw-host > section { margin-top: 4px; }
.pw .pw-wait { display: grid; gap: 14px; padding: 40px 0; }
.pw .pw-wait-bar { display: block; height: 14px; border-radius: 7px; background: var(--hover); animation: pw-wait 1.2s ease-in-out infinite alternate; }
.pw .pw-wait-bar:nth-child(2) { width: 80%; animation-delay: .15s; }
.pw .pw-wait-bar:nth-child(3) { width: 60%; animation-delay: .3s; }
@keyframes pw-wait { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pw .pw-wait-bar { animation: none; } }

/* ---- Sales > Calendar: the same calendar, without Prowl's own header ---- */
.pw.pw-embed { height: calc(100vh - 150px); height: calc(100dvh - 150px); min-height: 520px; position: relative; }
.pw.pw-embed #phead, .pw.pw-embed #fab { display: none; }
.pw.pw-embed .app { background: transparent; }
.pw.pw-embed .main { margin: 0; border-radius: 0; box-shadow: none; background: transparent; }
/* The portal's phone rule gives every button 40px; Prowl sizes its own. */
@media (max-width: 820px) { .pw button { min-height: 0; } }
/* Scheduled (p-sched.js): the bits only the live board has */
.pw .fd-more { font-size: 11px; color: var(--text-muted); line-height: 1; margin-left: 1px; }
.pw .fu-who { margin: 0; font-size: 13.5px; color: var(--text-body); }
.pw .fu-who span { color: var(--text-muted); margin-left: 6px; }
.pw .fu-ask { gap: 10px; }
.pw .fu-ask > span:first-child { font-size: 13.5px; color: var(--text-strong); }
.pw .fu-why { flex: 1; min-width: 200px; height: 32px; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--surface); padding: 0 10px; font-size: 13.5px; color: var(--text-strong); }
.pw .fu-why:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ===== Mythril Version 1 (11/11/26): Prowl's coat of paint =====
   Looks only. Every view, control and shortcut is the same; these rules move
   Prowl onto the portal's shared parts (css/design-system.css: .my-bar,
   .my-tab, .my-btn, .my-field, .my-menu, .my-dialog, .my-toast) by pointing
   Prowl's own class names at the same tokens. No white sheet: the page sits
   on the portal's scene, the head is a glass bar, rows are soft rounded
   strips, checks are rounded squares, a board is soft lanes of lifted cards,
   menus and windows are solid. Rounded squares everywhere, circles only for
   Leo and avatars; no underline or side stripes; one gold fill per view
   (Add task). */
.pw, #prowlScreen .pw, .pw .app, .pw .main { background: transparent; }
@media (min-width: 761px) {
  .pw .app { background: transparent; }
  .pw .main { --canvas: inherit; background: transparent; margin: 0; border-radius: 0; box-shadow: none; overflow: visible; }
  :root[data-theme="dark"] .pw .main { box-shadow: none; }
}
/* Sticky strips over the scene are frosted, so what scrolls under them blurs. */
.pw .week, .pw .subnav, .pw .ghead, .pw .exit-ghost {
  background: color-mix(in oklab, var(--canvas) 30%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3);
}
@media (min-width: 761px) { .pw .subnav, .pw .ghead { background: color-mix(in oklab, var(--canvas) 30%, transparent); } }
.pw .ghead { border-radius: 10px; }
.pw .racts { background: color-mix(in oklab, var(--canvas), var(--text-strong) 5%); border-radius: 10px; padding: 0 2px 0 6px; }
.pw .kc .racts { background: var(--surface); }

/* ---- the head: a glass bar with Prowl's name, its tabs, search and Add task ---- */
.pw .phead {
  margin: calc(var(--bell-top, 22px) + var(--bell-size, 42px) / 2 - 30px) var(--bar-end, 32px) 4px 24px; padding: 0 var(--bell-dock, 63px) 0 16px; min-height: 60px; gap: 12px;
  border: 1px solid var(--my-glass-line); border-radius: var(--my-r-lg);
  background: var(--my-glass); box-shadow: var(--my-glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  position: relative; z-index: 6;
}
@media (min-width: 761px) { .pw .phead { padding: 0 var(--bell-dock, 63px) 0 16px; gap: 12px; } }
.pw .phead .pname { font-family: var(--font-serif); font-size: 18px; font-weight: 600; letter-spacing: -.01em; border-right: 0; padding-right: 4px; }
.pw .ptab { height: 36px; padding: 0 14px; border: 0; border-radius: 10px; font: 500 14px/1 var(--font-sans); color: var(--text-body); transition: color .2s, transform .3s var(--my-spring); }
.pw .ptab:hover { color: var(--text-strong); background: transparent; }
.pw .ptab:active { transform: scale(.96); }
.pw .ptab[aria-current="page"] { color: var(--royal-ink); font-weight: 600; background: transparent; border-color: transparent; }
.pw .ptab .n { color: inherit; opacity: .7; font-size: 12.5px; }
/* the current tab: clear tinted glass that slides between tabs (js moves it) */
.pw .tind {
  border: 0; border-radius: 10px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--royal) 13%, transparent), color-mix(in oklab, var(--royal) 8%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--royal) 26%, transparent), inset 0 1px 0 rgba(255,255,255,.7), 0 6px 14px -8px color-mix(in oklab, var(--royal) 55%, transparent);
}
:root[data-theme="dark"] .pw .ptab[aria-current="page"] { color: #f3e2b3; }
:root[data-theme="dark"] .pw .tind {
  background: linear-gradient(180deg, rgba(226,194,122,.2), rgba(226,194,122,.1));
  box-shadow: inset 0 0 0 1px rgba(226,194,122,.34), inset 0 1px 0 rgba(255,255,255,.14), 0 6px 16px -8px rgba(226,194,122,.5);
}
/* Leo and Scheduled share one rounded square, the lion then the clock */
.pw .leo-pair, .pw .leo-pair .ptab { border-radius: 10px; }
.pw .leo-pair { box-shadow: inset 0 0 0 1px var(--line); }
.pw .leo-pair .leo-sub::before { background: var(--line); }
.pw .leo-pair .leo-sub[aria-current] { color: var(--royal-ink); }
:root[data-theme="dark"] .pw .leo-pair .leo-sub[aria-current] { color: #f3e2b3; }
.pw .psearch {
  height: 38px; min-width: 220px; padding: 0 10px 0 12px; border: 0; border-radius: 10px;
  background: color-mix(in oklab, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--hairline);
  color: var(--text-faint); font-size: 14px; transition: box-shadow .2s, background .2s;
}
.pw .psearch:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--text-muted); }
@media (min-width: 761px) { .pw .psearch { height: 38px; min-width: 220px; } .pw .phead .btn-gold { height: 36px; } }
.pw kbd { border: 0; border-radius: 6px; background: var(--act); color: var(--text-muted); }

/* ---- buttons: quiet by default, gold for the one main action ---- */
.pw .btn { height: 36px; padding: 0 14px; border-radius: 10px; font-weight: 600; font-size: 14px; transition: background .15s var(--my-ease-std), color .15s, transform .3s var(--my-spring), box-shadow .15s; }
.pw .btn:active { transform: scale(.96); }
.pw .btn-gold { background: var(--gold); color: #1f2533; padding: 0 15px; }
.pw .btn-gold:hover { background: var(--gold-dark); filter: none; }
:root .pw .btn-gold:hover { background: color-mix(in oklab, var(--gold) 86%, #000); }
.pw .btn-soft { background: var(--act); }
.pw .btn-soft:hover { background: color-mix(in oklab, var(--text-strong) 12%, transparent); }
.pw .btn-line { border: 0; box-shadow: inset 0 0 0 1px var(--border-btn); font-weight: 500; }
.pw .btn-line:hover { background: none; box-shadow: inset 0 0 0 1.5px var(--gold); }
.pw .btn-red:hover { background: var(--red-bg); }
.pw .icon-btn { border-radius: 8px; transition: background .15s, color .15s, transform .3s var(--my-spring); }
.pw .icon-btn:active { transform: scale(.92); }
.pw .tbtn { border-radius: 8px; height: 32px; padding: 0 10px; }
.pw .tbtn.on { background: var(--act); color: var(--text-head); }
.pw .linkbtn { border-radius: 6px; }
.pw :focus-visible { outline: 2px solid color-mix(in oklab, var(--gold-ink) 80%, var(--text-strong)); outline-offset: 2px; border-radius: 8px; }

/* ---- My Work's tabs: soft rounded squares, the current one filled (js slides it) ---- */
.pw .subnav { border-bottom: 0; gap: 2px; align-items: center; padding: 6px 0 10px; }
.pw .subnav > button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; position: relative; z-index: 1; transition: background-color .15s ease-out, color .15s ease-out; }
@media (min-width: 761px) { .pw .subnav > button { padding: 0 12px; height: 34px; } }
.pw .subnav > button:not([aria-current]):hover { background: var(--hover); }
.pw .subnav > button[aria-current="page"] { color: var(--text-head); font-weight: 600; }
.pw .subnav > button::after { display: none !important; }
.pw .subnav .sind { top: 6px; bottom: auto; height: 34px; background: none; border-radius: 10px; z-index: 0; }
.pw .subnav .sind::before { content: ""; position: absolute; inset: 0 -10px; border-radius: 10px; background: var(--act); }
.pw .tabs2 { border-bottom: 0; gap: 2px; }
.pw .tabs2 button { height: 32px; padding: 0 12px; border-radius: 10px; transition: background-color .15s, color .15s; }
.pw .tabs2 button:hover { background: var(--hover); color: var(--text-strong); }
.pw .tabs2 button[aria-selected="true"] { background: var(--act); font-weight: 600; }
.pw .tabs2 button[aria-selected="true"]::after { display: none; }

/* ---- titles ---- */
.pw h1 { font-family: var(--font-serif); letter-spacing: -.015em; }
@media (min-width: 761px) { .pw h1 { font-size: 24px; } }
.pw .ghead h2 { font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: var(--text-head); }
@media (min-width: 761px) { .pw .ghead h2 { font-size: 14.5px; } .pw .ghead { padding-top: 12px; } }

/* ---- rows: soft rounded strips, one quiet line between them ---- */
.pw .row { border-bottom: 0; border-radius: 12px; margin: 0 -8px; padding-left: 8px; padding-right: 8px; box-shadow: 0 1px 0 var(--line); background: transparent; transition: background-color .15s ease-out, box-shadow .15s ease-out; }
@media (min-width: 761px) { .pw .row { padding-left: 8px; padding-right: 8px; } }
.pw .row:hover { background: var(--hover); box-shadow: none; }
.pw .row.sub { margin-left: 22px; }
@media (min-width: 761px) { .pw .ghead + .gbody > .row:first-child, .pw .ghead + .gbody > :first-child { border-top: 0; } }
.pw .row.focus { box-shadow: inset 0 0 0 1.5px var(--gold); border-radius: 12px; }
.pw .racts { right: 8px; }
.pw .grip { border-radius: 6px; }
.pw .ph { border-radius: 12px; }
.pw .gbody.drop-hot { border-radius: 12px; }
/* checks are rounded squares that give a little when pressed */
.pw .ring { border-radius: 5.5px; transition: transform .3s var(--my-spring), background-color .15s ease-out; }
.pw .ring:hover { transform: scale(1.08); }
.pw .ring:active { transform: scale(.88); }
.pw .ce .ring, .pw .ev-ring.ring { border-radius: 3.5px; }
/* today is marked in the accent's clear tint, so Add task stays the one gold fill */
.pw .cv-dh.today b, .pw .calv .cd.today .n .dnum, .pw .calv .cd.today .n b, .pw .week .d.today .num, .pw .tl-d.today b {
  background: color-mix(in oklab, var(--royal) 14%, transparent); color: var(--royal-ink); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--royal) 26%, transparent); border-radius: 7px; }
.pw .cv-dh.today small { color: var(--royal-ink); }
.pw .cv-dh b, .pw .calv .cd .n .dnum { border-radius: 7px; }
.pw .cv-day.today { background-color: color-mix(in oklab, var(--royal) 3%, transparent); }
:root[data-theme="dark"] .pw :is(.cv-dh.today b, .calv .cd.today .n .dnum, .calv .cd.today .n b, .week .d.today .num, .tl-d.today b) { background: rgba(226,194,122,.16); color: #f3e2b3; box-shadow: inset 0 0 0 1px rgba(226,194,122,.34); }
:root[data-theme="dark"] .pw .cv-dh.today small { color: #f3e2b3; }
.pw .addline:hover .plus { background: var(--act); color: var(--gold-ink); }
.pw .addline { border-radius: 10px; padding: 0 8px; margin: 0 -8px; width: calc(100% + 16px); transition: background-color .15s ease-out, color .15s; }
.pw .addline:hover { background: var(--hover); }
.pw .addline .plus { border-radius: 7px; }
.pw .sec-add button::before, .pw .sec-add button::after { background: var(--gold-pale); }

/* ---- the inline editor and its quick-pick buttons ---- */
.pw .editor { border: 0; border-radius: var(--my-r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-card); }
.pw .editor:focus-within { box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--text-strong) 34%, transparent), var(--shadow-card); }
.pw .sheet .editor, .pw .sheet.qa .editor { box-shadow: none; }
.pw .chip { border: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--hairline); transition: background .15s; }
.pw .chip .x { border-radius: 5px; }
.pw .e-foot { border-top: 0; box-shadow: 0 -1px 0 var(--line); }
.pw .e-foot .proj, .pw .mpick, .pw h1 .ed, .pw .tc-t, .pw .tc-d { border-radius: 8px; }

/* ---- board: each column a soft lane, each task a lifted card ---- */
.pw .board { gap: 14px; padding-top: 4px; }
.pw .board .col { background: var(--lane); border-radius: var(--my-r-lg); padding: 4px 8px 8px; }
.pw .board .col-h { padding: 10px 6px 8px; height: auto; border: 0; }
.pw .board .col-h h2 { font-size: 14.5px; font-weight: 600; color: var(--text-head); }
.pw .board .col-body { gap: 8px; padding: 0; border-radius: var(--my-r); }
.pw .board .kc { border: 0; border-radius: 14px; background: var(--surface); padding: 12px; box-shadow: var(--shadow-card); transition: transform .25s var(--my-ease-out), box-shadow .25s ease-out; }
.pw .board .kc:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(15,19,30,.25), 0 0 0 .5px rgba(15,19,30,.08); }
:root[data-theme="dark"] .pw .board .kc:hover { box-shadow: 0 0 0 .5px rgba(255,255,255,.12), 0 14px 26px -12px rgba(0,0,0,.7); }
.pw .board .kc .rt { font-weight: 500; line-height: 1.38; }
.pw .board .kc .rm { gap: 4px 10px; }
.pw .board .addline { margin: 4px 0 0; width: 100%; }
.pw .col-new button { border-radius: var(--my-r); background: var(--lane); }
.pw .col-new button:hover { background: var(--hover); }
.pw .kph { border-radius: 14px; }

/* ---- calendar: one lifted sheet with its grid lines, rounded-square day marks ---- */
.pw .cv-grid { border: 0; border-radius: var(--my-r-lg); box-shadow: var(--ds-shadow-card); background: var(--surface); }
.pw .calv { border-radius: var(--my-r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--ds-shadow-card); border-top: 0; border-left: 0; }
.pw .calv .ch:last-child, .pw .calv .cd:nth-child(7n) { border-right: 0; }
.pw .ce { border-radius: 6px; }
.pw .ce[data-src] { border-radius: 7px; }
.pw .cv-bar .cv-today { border: 0; box-shadow: inset 0 0 0 1px var(--border-btn); border-radius: 10px; height: 32px; }
.pw .cv-seg { border-radius: 10px; padding: 3px; background: var(--act); box-shadow: none; }
.pw .cv-seg button { border-radius: 8px; height: 28px; }
.pw .cv-seg button[aria-pressed="true"] { box-shadow: 0 1px 2px rgba(15,19,30,.1), 0 0 0 .5px rgba(15,19,30,.08); }
.pw .wnav { border: 0; box-shadow: inset 0 0 0 1px var(--border-btn); border-radius: 10px; height: 32px; overflow: hidden; }
.pw .wnav button { height: 32px; }
.pw .wnav button + button { border-left: 0; box-shadow: -1px 0 0 var(--line); }
.pw .week { border-bottom: 0; border-radius: var(--my-r); }
.pw .week .d { border-radius: 10px; }
.pw .week .d.on { background: var(--act); }
.pw .week .d.on::after { display: none; }
.pw .week .d .num { border-radius: 6px; }
.pw .tev.short, .pw .tl-b, .pw .tl-b.one, .pw .tl-off { border-radius: 7px; }
.pw .tf-durs button, .pw .tsug-p { border-radius: 8px; }

/* ---- menus and pickers: solid, rounded, floating ---- */
.pw .pop { border: 0; border-radius: var(--my-r-lg); background: var(--raise); box-shadow: var(--my-pop-shadow); padding: 6px; transform-origin: 50% 0; }
.pw .pop-input { height: 36px; border: 0; border-radius: 10px; background: color-mix(in oklab, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--hairline); padding: 0 12px; }
.pw .pop-input:focus { box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--text-strong) 34%, transparent); }
.pw .mi { min-height: 34px; border-radius: 8px; }
.pw .mi:hover, .pw .mi:focus-visible, .pw .mi.on { background: color-mix(in oklab, var(--text-strong) 7%, transparent); }
.pw .qrow button { border-radius: 8px; }
.pw .sep { background: var(--line); }
.pw .cal button { border-radius: 8px; }
.pw .row-pair { border-top: 0; box-shadow: 0 -1px 0 var(--line); }
.pw .row-pair .mi { border: 0; box-shadow: inset 0 0 0 1px var(--border-btn); }
.pw .disp .seg3 { border-radius: 10px; background: var(--act); }
.pw .disp .seg3 button { border-radius: 8px; }
.pw .reset { border-radius: 8px; }
.pw .reset:hover { background: var(--red-bg); }

/* ---- fields and selects: the portal's field (.my-field), a chevron drawn in ---- */
.pw .form input[type=text], .pw .form select, .pw .form textarea, .pw .drow .dsel, .pw .form .fu-pace select {
  border: 0; border-radius: 10px; background-color: color-mix(in oklab, var(--surface) 70%, transparent);
  box-shadow: inset 0 0 0 1px var(--hairline); transition: box-shadow .2s, background-color .2s; }
.pw .form input[type=text], .pw .form select { height: 38px; padding: 0 12px; }
.pw .form select, .pw .drow .dsel, .pw .form .fu-pace select {
  -webkit-appearance: none; appearance: none; padding-right: 30px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23808799' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }
.pw .form :is(input[type=text], select, textarea):hover, .pw .drow .dsel:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.pw .form :is(input, select, textarea):focus, .pw .drow .dsel:focus { outline: none; background-color: var(--surface); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--text-strong) 34%, transparent); }
.pw .form :is(input, select, textarea):focus-visible, .pw .drow .dsel:focus-visible { outline: none; }
.pw .form h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.01em; }

/* ---- windows: a soft blurred scrim, solid rounded sheets ---- */
.pw .scrim { background: var(--scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pw .sheet { border-radius: var(--my-r-xl); box-shadow: var(--my-pop-shadow); }
.pw .tc-top { border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.pw .tc-right { background: color-mix(in oklab, var(--text-strong) 2.5%, var(--raise)); }
.pw .tc-sh { border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.pw .prop { border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.pw .tc-t { font-family: var(--font-serif); font-weight: 600; }
.pw .composer { border: 0; border-radius: var(--my-r); box-shadow: inset 0 0 0 1px var(--hairline); }
.pw .composer:focus-within { box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--text-strong) 34%, transparent); }
.pw .cm .att, .pw .composer .files span { border-radius: 8px; }
.pw .cm .reacts button { border-radius: 8px; }
.pw .cmd-in { border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
@media (max-width: 760px) { .pw .sheet { border-radius: var(--my-r-xl) var(--my-r-xl) 0 0; } }

/* ---- the toast: frosted, with Undo in the accent ---- */
.pw .toast {
  min-height: 44px; padding: 6px 8px 6px 16px; border-radius: 14px; gap: 14px;
  background: color-mix(in oklab, var(--surface) 90%, transparent); color: var(--text-strong); box-shadow: var(--my-pop-shadow);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); font: 500 14px/1.3 var(--font-sans);
}
.pw .toast .tx { color: var(--text-muted); }
.pw .toast button { color: var(--royal-ink); border-radius: 8px; padding: 6px 8px; }
:root[data-theme="dark"] .pw .toast button { color: #f3e2b3; }
.pw .toast button:hover { background: var(--act); }

/* ---- lists of filters, requests, recommendations: one quiet line per row ---- */
.pw .fl-row, .pw .act, .pw .rec { border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.pw .fl-row { border-radius: 10px; }
.pw .rec-ico { border-radius: 9px; }
.pw .lh-card { border: 0; border-radius: var(--my-r-lg); box-shadow: var(--shadow-card); transition: transform .25s var(--my-ease-out), box-shadow .25s ease-out; }
.pw .lh-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(15,19,30,.25), 0 0 0 .5px rgba(15,19,30,.08); }
.pw .sw { border-radius: 7px; }
.pw .sw::after { border-radius: 5px; }
.pw .fu-why { border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--hairline); }

/* ---- phone ---- */
@media (max-width: 760px) {
  .pw .phead { margin: 8px 12px 4px; padding: 6px 8px 6px 10px; min-height: 52px; }
  .pw .psearch { width: 38px; height: 38px; min-width: 0; padding: 0; justify-content: center; border-radius: 10px; }
  .pw .fab { border-radius: 16px; box-shadow: 0 10px 24px -8px rgba(31,37,51,.45); }
  .pw .toast { left: 12px; right: 12px; bottom: 84px; }
  .pw .row { margin: 0 -6px; padding-left: 6px; padding-right: 6px; }
  .pw .subnav { padding: 6px 12px 10px; }
}
/* Between a phone and 760px the shell's bell is already out (641px up): the
   compact bar sits on the bell's line and keeps the bell's dock clear. */
@media (min-width: 641px) and (max-width: 760px) {
  .pw .phead { margin: calc(var(--bell-top, 22px) + var(--bell-size, 42px) / 2 - 26px) var(--bar-end, 24px) 4px 12px; padding-right: var(--bell-dock, 63px); }
}
@media (prefers-reduced-motion: reduce) { .pw .ring, .pw .board .kc, .pw .lh-card, .pw .ptab, .pw .btn { transition: none !important; } .pw .board .kc:hover, .pw .lh-card:hover { transform: none; } }
/* A row's own yes (Accept a request) is the accent's clear tint, so Add task stays the one gold fill. */
.pw .act .btn-gold { color: var(--royal-ink); background: color-mix(in oklab, var(--royal) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--royal) 24%, transparent); }
.pw .act .btn-gold:hover { background: color-mix(in oklab, var(--royal) 18%, transparent); }
:root[data-theme="dark"] .pw .act .btn-gold { color: #f3e2b3; background: rgba(226,194,122,.14); box-shadow: inset 0 0 0 1px rgba(226,194,122,.32); }
