/* Compass prototype — Notion look, Coda-style live controls. */
:root{
  --bg:#fff;--side:#f7f7f5;--ink:#37352f;--ink2:rgba(55,53,47,.85);--muted:rgba(55,53,47,.65);--faint:rgba(55,53,47,.45);
  --line:rgba(55,53,47,.09);--line2:rgba(55,53,47,.16);--hover:rgba(55,53,47,.06);--press:rgba(55,53,47,.1);--callout:#f1f1ef;
  --blue:#2383e2;--blue-bg:#e7f3f8;--overlay:rgba(15,15,15,.25);
  --shadow:rgba(15,15,15,.05) 0 0 0 1px,rgba(15,15,15,.1) 0 3px 6px,rgba(15,15,15,.2) 0 9px 24px;
  --card-shadow:rgba(15,15,15,.1) 0 0 0 1px,rgba(15,15,15,.1) 0 2px 4px;
  --gray-bg:#f1f1ef;--brown-bg:#f4eeee;--orange-bg:#fbecdd;--yellow-bg:#fbf3db;--green-bg:#edf3ec;--purple-bg:#f6f3f9;--pink-bg:#faf1f5;--red-bg:#fdebec;
  --gray:#787774;--brown:#9f6b53;--orange:#d9730d;--yellow:#cb912f;--green:#448361;--bluet:#337ea9;--purple:#9065b0;--pink:#c14c8a;--red:#d44c47;
  --s5:#e16259;--s6:#e8954b;--s7:#e5c35c;--s8:#9cc3a3;--s9:#5e9c76;--s10:#3c7a5a;--empty:#ededeb;
  --font:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",Helvetica,"Apple Color Emoji",Arial,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#191919;--side:#202020;--ink:rgba(255,255,255,.81);--ink2:rgba(255,255,255,.72);--muted:rgba(255,255,255,.56);--faint:rgba(255,255,255,.38);
  --line:rgba(255,255,255,.094);--line2:rgba(255,255,255,.16);--hover:rgba(255,255,255,.055);--press:rgba(255,255,255,.09);--callout:#252525;--blue-bg:#143a4e;--overlay:rgba(0,0,0,.5);
  --shadow:rgba(255,255,255,.094) 0 0 0 1px,rgba(0,0,0,.5) 0 3px 6px,rgba(0,0,0,.6) 0 9px 24px;--card-shadow:rgba(255,255,255,.094) 0 0 0 1px;
  --gray-bg:#2f2f2f;--brown-bg:#4a3228;--orange-bg:#5c3b23;--yellow-bg:#564328;--green-bg:#243d30;--purple-bg:#3c2d49;--pink-bg:#4e2c3c;--red-bg:#522e2a;
  --gray:#9b9b9b;--brown:#ba856f;--orange:#c77d48;--yellow:#ca9849;--green:#529e72;--bluet:#379ad3;--purple:#9d68d3;--pink:#d15796;--red:#df5452;--empty:#2c2c2c;color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#191919;--side:#202020;--ink:rgba(255,255,255,.81);--ink2:rgba(255,255,255,.72);--muted:rgba(255,255,255,.56);--faint:rgba(255,255,255,.38);
  --line:rgba(255,255,255,.094);--line2:rgba(255,255,255,.16);--hover:rgba(255,255,255,.055);--press:rgba(255,255,255,.09);--callout:#252525;--blue-bg:#143a4e;--overlay:rgba(0,0,0,.5);
  --shadow:rgba(255,255,255,.094) 0 0 0 1px,rgba(0,0,0,.5) 0 3px 6px,rgba(0,0,0,.6) 0 9px 24px;--card-shadow:rgba(255,255,255,.094) 0 0 0 1px;
  --gray-bg:#2f2f2f;--brown-bg:#4a3228;--orange-bg:#5c3b23;--yellow-bg:#564328;--green-bg:#243d30;--purple-bg:#3c2d49;--pink-bg:#4e2c3c;--red-bg:#522e2a;
  --gray:#9b9b9b;--brown:#ba856f;--orange:#c77d48;--yellow:#ca9849;--green:#529e72;--bluet:#379ad3;--purple:#9d68d3;--pink:#d15796;--red:#df5452;--empty:#2c2c2c;color-scheme:dark}

*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:16px/1.5 var(--font);-webkit-font-smoothing:antialiased}
a{color:inherit}
button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;padding:0}
input,select,textarea{font:inherit;color:inherit}
::selection{background:rgba(35,131,226,.28)}
.app{min-height:100vh}
.muted{color:var(--muted)}
.small{font-size:13px}

/* ---------- sidebar ---------- */
.side{position:sticky;top:0;height:100vh;background:var(--side);padding:6px 0;font-size:14px;color:var(--ink2);display:flex;flex-direction:column;overflow-y:auto}
.ws{display:flex;align-items:center;gap:8px;margin:0 8px 4px;padding:6px 8px;border-radius:6px;font-weight:600;color:var(--ink)}
.ws .av{width:22px;height:22px;border-radius:5px;background:linear-gradient(135deg,#5e9c76,#2383e2);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700}
.si{display:flex;align-items:center;gap:8px;margin:1px 8px;padding:0 8px;height:30px;border-radius:6px;text-decoration:none;color:var(--ink2);font-weight:500;width:calc(100% - 16px);text-align:left;transition:background .12s}
.si:hover{background:var(--hover)}
.si:active{background:var(--press)}
.si.on{background:var(--hover);color:var(--ink);font-weight:600}
.si .i{width:20px;text-align:center;font-size:15px;flex:none}
.si kbd,.kbd{margin-left:auto;font:500 11px var(--font);color:var(--faint);border:1px solid var(--line2);border-radius:4px;padding:0 4px}
.sh{font-size:12px;font-weight:600;color:var(--muted);padding:14px 16px 4px}
.side .foot{margin-top:auto;padding:8px 0}
.side .note{padding:6px 16px 4px;font-size:12px;color:var(--faint)}

/* ---------- top bar ---------- */
.top{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(8px);height:45px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-size:14px}
.crumbs{display:flex;align-items:center;gap:2px;color:var(--ink2);min-width:0;overflow:hidden}
.crumbs a{padding:2px 6px;border-radius:4px;text-decoration:none;white-space:nowrap}
.crumbs a:hover,.tact:hover{background:var(--hover)}
.crumbs .sep{color:var(--faint)}
.tacts{display:flex;align-items:center;gap:2px;color:var(--ink2);white-space:nowrap}
.tact{padding:3px 8px;border-radius:4px}
.saved{color:var(--muted);font-size:13px;margin-right:6px;transition:opacity .4s}
.saved.flash{color:var(--green)}

/* ---------- page ---------- */
#view{animation:fade .18s ease}
@keyframes fade{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:none}}
.cover{height:26vh;max-height:210px;min-height:130px}
:root[data-theme="dark"] .cover{filter:brightness(.42) saturate(.8)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cover{filter:brightness(.42) saturate(.8)}}
.page{max-width:900px;margin:0 auto;padding:0 96px 140px}
.page.wide{max-width:1260px}
.icon{font-size:72px;line-height:1;margin-top:-38px;margin-bottom:6px;position:relative;width:max-content}
.page.nocover .icon{margin-top:64px}
h1.title{font-size:40px;font-weight:700;line-height:1.2;margin:4px 0 4px;letter-spacing:-.01em}
h2{font-size:1.4em;font-weight:600;line-height:1.3;margin:34px 0 6px}
h3{font-size:1.15em;font-weight:600;line-height:1.3;margin:22px 0 4px}
p{margin:2px 0;padding:3px 2px}
hr{border:0;border-top:1px solid var(--line);margin:16px 0}
.lede{color:var(--muted);margin:2px 0 12px}

/* properties */
.props{margin:12px 0 6px;font-size:14px}
.prop{display:flex;align-items:center;min-height:34px}
.prop .pk{width:150px;flex:none;display:flex;align-items:center;gap:6px;color:var(--muted);padding:0 6px}
.prop .pv{flex:1;padding:4px 8px;border-radius:4px;min-height:30px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}

/* tags */
.tag{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 6px;border-radius:3px;font-size:13px;line-height:1;white-space:nowrap;color:var(--ink)}
button.tag{cursor:pointer;transition:filter .12s}
button.tag:hover{filter:brightness(.95)}
.t-gray{background:var(--gray-bg)}.t-brown{background:var(--brown-bg)}.t-orange{background:var(--orange-bg)}.t-yellow{background:var(--yellow-bg)}
.t-green{background:var(--green-bg)}.t-blue{background:var(--blue-bg)}.t-purple{background:var(--purple-bg)}.t-pink{background:var(--pink-bg)}.t-red{background:var(--red-bg)}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:none}

/* callouts, quotes, layout */
.callout{display:flex;gap:10px;background:var(--callout);border-radius:6px;padding:14px 16px 14px 12px;margin:6px 0}
.callout .ci{font-size:20px;line-height:1.25}
.callout .cb{flex:1;min-width:0}
.quote{border-left:3px solid currentColor;padding:2px 14px;margin:6px 0}
.cols{display:grid;gap:12px;margin:6px 0}
.cols>*{min-width:0}
.c2{grid-template-columns:repeat(2,1fr)}.c3{grid-template-columns:repeat(3,1fr)}.c4{grid-template-columns:repeat(4,1fr)}
.card{background:var(--bg);box-shadow:var(--card-shadow);border-radius:8px;padding:14px 16px}
.click{cursor:pointer;transition:background .12s,box-shadow .12s,transform .12s}
.click:hover{background:var(--hover)}
.card.click:hover{box-shadow:var(--shadow)}
.stat .l{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:6px}
.stat .n{font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin-top:2px}
.stat .n small{font-size:14px;font-weight:500;color:var(--muted);margin-left:2px}
.stat .d{font-size:12.5px;margin-top:2px}
.good{color:var(--green)}.near{color:var(--yellow)}.bad{color:var(--red)}
.spark{display:block;margin-top:6px}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:6px;background:var(--blue);color:#fff;font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap;transition:filter .12s,transform .06s}
.btn:hover{filter:brightness(1.07)}
.btn:active{transform:translateY(1px)}
.btn.sec{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line2)}
.btn.sec:hover{background:var(--hover)}
.btn.sm{height:26px;font-size:13px;padding:0 9px}
.ghost{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:14px;padding:3px 6px;border-radius:4px}
.ghost:hover{background:var(--hover);color:var(--ink)}
.link{color:var(--muted);text-decoration:none;font-size:14px;border-bottom:1px solid var(--line2)}
.link:hover{color:var(--ink)}

/* ---------- Coda-style control bar ---------- */
.controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 10px}
.ctl-label{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-right:-2px}
.pill{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 11px;border-radius:999px;font-size:13px;box-shadow:inset 0 0 0 1px var(--line2);background:var(--bg);color:var(--ink2);transition:all .14s;white-space:nowrap}
.pill:hover{background:var(--hover)}
.pill.on{background:var(--ink);color:var(--bg);box-shadow:none}
.pill .x{opacity:.6}
.pill .dot{width:7px;height:7px}
.seg{display:inline-flex;background:var(--gray-bg);border-radius:8px;padding:2px;gap:2px}
.seg button{height:26px;padding:0 10px;border-radius:6px;font-size:13px;color:var(--muted);transition:all .14s}
.seg button:hover{color:var(--ink)}
.seg button.on{background:var(--bg);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.12);font-weight:500}
.toggle{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--ink2);cursor:pointer;user-select:none}
.toggle i{width:28px;height:16px;border-radius:999px;background:var(--line2);position:relative;transition:background .15s}
.toggle i::after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;transition:transform .15s;box-shadow:0 1px 2px rgba(0,0,0,.25)}
.toggle.on i{background:var(--blue)}
.toggle.on i::after{transform:translateX(12px)}
.sel{height:28px;border-radius:6px;border:0;box-shadow:inset 0 0 0 1px var(--line2);background:var(--bg);padding:0 8px;font-size:13px}
.search-in{height:28px;border-radius:6px;border:0;box-shadow:inset 0 0 0 1px var(--line2);background:var(--bg);padding:0 10px 0 28px;font-size:13px;outline:none;min-width:200px;background-image:radial-gradient(circle at 12px 13px,transparent 4px,var(--muted) 4.5px,var(--muted) 5.5px,transparent 6px);background-repeat:no-repeat}
.search-in:focus{box-shadow:inset 0 0 0 2px var(--blue)}
.spacer{flex:1}

/* ---------- database chrome ---------- */
.dbhead{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:14px;gap:10px;flex-wrap:wrap;margin-top:18px}
.views{display:flex;gap:2px}
.views button{display:flex;align-items:center;gap:6px;padding:6px 8px 7px;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;border-radius:4px 4px 0 0}
.views button:hover{color:var(--ink);background:var(--hover)}
.views button.on{color:var(--ink);border-color:var(--ink);font-weight:500}
.count{font-size:13px;color:var(--muted)}

/* tables */
.tw{overflow-x:auto}
table.nt{border-collapse:collapse;font-size:14px;width:100%}
.nt th{font-weight:500;color:var(--muted);text-align:left;padding:7px 8px;border-bottom:1px solid var(--line);white-space:nowrap;user-select:none}
.nt th.sort{cursor:pointer}
.nt th.sort:hover{background:var(--hover);color:var(--ink)}
.nt th .arr{font-size:10px;margin-left:3px;color:var(--ink)}
.nt td{padding:8px;border-bottom:1px solid var(--line);vertical-align:top}
.nt td+td,.nt th+th{border-left:1px solid var(--line)}
.nt tbody tr{transition:background .1s}
.nt tbody tr.click:hover td{background:var(--hover)}
.nt .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.nt .ttl{font-weight:500;white-space:nowrap}
.nt.notes{min-width:2100px}
.nt.notes td{width:200px;font-size:13px;line-height:1.45}
.nt.notes td:first-child{width:100px}
.clamp{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
mark{background:rgba(255,212,0,.4);color:inherit;border-radius:2px;padding:0 1px}
.empty{padding:30px;text-align:center;color:var(--muted);font-size:14px}

/* board */
.board{display:flex;gap:12px;overflow-x:auto;padding:12px 0 16px;align-items:flex-start}
.bcol{width:260px;flex:none;border-radius:8px;padding:6px;transition:background .12s}
.bcol.over{background:var(--blue-bg)}
.bh{display:flex;align-items:center;gap:8px;font-size:14px;margin:2px 2px 8px}
.bh .cnt{color:var(--muted)}
.bcard{background:var(--bg);box-shadow:var(--card-shadow);border-radius:6px;padding:9px 10px;margin-bottom:8px;font-size:14px;cursor:grab;transition:box-shadow .12s,transform .12s,opacity .12s}
.bcard:hover{box-shadow:var(--shadow)}
.bcard.dragging{opacity:.4;transform:rotate(1.5deg)}
.bcard .bt{font-weight:500;margin-bottom:7px;line-height:1.35}
.bcard .tags{display:flex;gap:4px;flex-wrap:wrap}
.addrow{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:14px;padding:6px 8px;border-radius:6px;width:100%}
.addrow:hover{background:var(--hover);color:var(--ink)}

/* gallery */
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;padding:14px 0}
.gcard{box-shadow:var(--card-shadow);border-radius:8px;overflow:hidden;background:var(--bg);display:flex;flex-direction:column}
.gcard .gp{height:112px;padding:12px 14px 0;font-size:13px;color:var(--ink2);overflow:hidden;position:relative;background:var(--side);border-bottom:1px solid var(--line)}
.gcard .gp .big{position:absolute;right:12px;bottom:6px;font-size:40px;font-weight:700;letter-spacing:-.03em}
.gcard .gb{padding:10px 12px 12px;font-size:14px;flex:1;display:flex;flex-direction:column;gap:6px}
.gcard .bt{font-weight:600;line-height:1.35}
.gcard .row{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:12px;flex-wrap:wrap}

/* year grid */
.weeks{display:grid;grid-template-columns:repeat(26,1fr);gap:4px;margin:10px 0 8px}
.wk{aspect-ratio:1;border-radius:3px;background:var(--empty);transition:transform .1s,box-shadow .1s}
.wk.has{cursor:pointer}
.wk.has:hover{transform:scale(1.3);box-shadow:0 2px 6px rgba(0,0,0,.2);z-index:2;position:relative}
.wk.now{box-shadow:0 0 0 2px var(--bg),0 0 0 3.5px var(--ink)}
.legend{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);flex-wrap:wrap}
.legend i{width:11px;height:11px;border-radius:2px;display:inline-block}

/* habits */
.hrow{display:grid;grid-template-columns:minmax(0,1fr) auto 92px 100px;gap:14px;align-items:center;padding:10px 6px;border-bottom:1px solid var(--line);font-size:14px;border-radius:4px}
.hrow:hover{background:var(--hover)}
.hrow .gt{font-weight:500;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.hrow .gs{color:var(--muted);font-size:12.5px;margin-top:2px}
.target{display:inline-flex;align-items:center;gap:2px;height:22px;padding:0 6px;border-radius:4px;background:var(--gray-bg);font-size:13px;font-weight:500}
.target:hover{box-shadow:inset 0 0 0 1px var(--blue)}
.target input{width:42px;border:0;background:transparent;outline:none;font-weight:600;text-align:center;padding:0}
.dots{display:flex;gap:3px;flex-wrap:wrap}
.dots i{width:12px;height:12px;border-radius:3px;background:var(--empty);cursor:pointer;transition:transform .1s}
.dots i:hover{transform:scale(1.3)}
.dots i.hit{background:var(--s9)}.dots i.near{background:var(--s7)}
.dots i.miss{background:var(--red-bg);box-shadow:inset 0 0 0 1px rgba(212,76,71,.3)}
.rate{white-space:nowrap;font-variant-numeric:tabular-nums}
.pbar{position:relative;height:8px;border-radius:4px;background:var(--empty)}
.pbar b{display:block;height:100%;border-radius:4px;background:var(--orange);transition:width .4s}
.pbar s{position:absolute;top:-4px;width:2px;height:16px;background:var(--ink);opacity:.45}

/* charts */
.chart-host{position:relative;width:100%}
.chart-host svg{display:block;width:100%;overflow:visible}
.chart-host text{font:11px var(--font);fill:var(--muted)}
.chart-empty{padding:40px 0;text-align:center;color:var(--muted);font-size:14px}
.tt{position:absolute;pointer-events:none;background:var(--bg);box-shadow:var(--shadow);border-radius:8px;padding:8px 10px;font-size:12.5px;min-width:130px;z-index:5;opacity:0;transition:opacity .1s;white-space:nowrap}
.tt.show{opacity:1}
.tt .th{font-weight:600;margin-bottom:4px}
.tt .tr{display:flex;align-items:center;gap:6px;justify-content:space-between}
.tt .tr span{display:flex;align-items:center;gap:6px;color:var(--muted)}
.tt .tr b{font-variant-numeric:tabular-nums}
.tt .hint{color:var(--faint);font-size:11px;margin-top:4px}
.chartbox{box-shadow:var(--card-shadow);border-radius:8px;padding:14px 16px 10px;margin:10px 0}
.chartbox .ch{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px}
.chartbox .ct{font-size:14px;font-weight:600;display:flex;align-items:center;gap:8px}
.chartbox .cs{font-size:12.5px;color:var(--muted)}
.minis{display:flex;gap:18px;flex-wrap:wrap;font-size:12.5px;color:var(--muted)}
.minis b{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.corr{display:grid;grid-template-columns:150px minmax(0,1fr) 54px;gap:12px;align-items:center;padding:8px 6px;border-bottom:1px solid var(--line);font-size:14px;border-radius:4px}
.corr:hover{background:var(--hover)}
.corr .cbar{height:10px;position:relative;background:var(--empty);border-radius:5px}
.corr .cbar b{position:absolute;top:0;height:100%;border-radius:5px}
.corr .cbar::after{content:"";position:absolute;left:50%;top:-3px;height:16px;border-left:1px solid var(--line2)}

/* roadmap (horizon) */
.ryear{margin-top:18px}
.ryh{display:flex;align-items:center;gap:10px;padding:6px 4px;border-radius:6px;cursor:pointer;user-select:none}
.ryh:hover{background:var(--hover)}
.ryh .yr{font-size:20px;font-weight:700;letter-spacing:-.01em}
.ryh .age{color:var(--muted);font-size:14px}
.ryh .mini{width:90px}
.ryh .chev{color:var(--faint);font-size:11px;transition:transform .15s;width:12px}
.ryear.closed .chev{transform:rotate(-90deg)}
.ryear.closed .rgoals{display:none}
.ryear.now .yr{color:var(--red)}
.rgoals{border-left:2px solid var(--line);margin-left:9px;padding-left:14px}
.grow{display:flex;align-items:flex-start;gap:10px;padding:7px 6px;border-radius:6px;font-size:15px}
.grow:hover{background:var(--hover)}
.grow .gtx{flex:1;min-width:0;outline:none;border-radius:3px;padding:0 2px;line-height:1.45}
.grow .gtx:focus{background:var(--bg);box-shadow:0 0 0 2px var(--blue)}
.grow.done .gtx{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--faint)}
.grow .gtags{display:flex;gap:4px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.grow .del{opacity:0;color:var(--faint);padding:0 4px;border-radius:3px}
.grow:hover .del{opacity:1}
.grow .del:hover{background:var(--press);color:var(--red)}
.check{width:18px;height:18px;border-radius:50%;flex:none;margin-top:2px;box-shadow:inset 0 0 0 1.5px var(--line2);display:grid;place-items:center;font-size:11px;color:#fff;transition:all .15s}
.check:hover{box-shadow:inset 0 0 0 1.5px var(--blue)}
.check.done{background:var(--green);box-shadow:none}
.check.progress{box-shadow:inset 0 0 0 1.5px var(--bluet);background:conic-gradient(var(--bluet) 0 50%,transparent 50%)}
.check.dropped{background:var(--red);box-shadow:none}
.today-line{display:flex;align-items:center;gap:10px;margin:20px 0 4px;color:var(--red);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}
.today-line::before,.today-line::after{content:"";height:2px;background:var(--red);flex:1;opacity:.5}
.signal{font-size:12px}

/* playbook */
.rule{display:flex;align-items:flex-start;gap:10px;padding:8px 6px;border-bottom:1px solid var(--line);font-size:15px;border-radius:4px}
.rule:hover{background:var(--hover)}
.rule .chk{color:var(--green);font-weight:700}
.rule .rt{flex:1;outline:none}
.rule .del{opacity:0;color:var(--faint);padding:0 4px;border-radius:3px}
.rule:hover .del{opacity:1}
.rule .del:hover{color:var(--red);background:var(--press)}
.inline-add{display:flex;gap:8px;padding:6px}
.inline-add input{flex:1;border:0;border-bottom:1px solid var(--blue);background:transparent;outline:none;font-size:15px;padding:4px 2px}

/* check-in */
.weeknav{display:flex;align-items:center;gap:4px}
.weeknav .ghost{font-size:18px;padding:0 8px}
.ci-head,.ci-row{display:grid;grid-template-columns:180px minmax(0,1fr) minmax(0,.8fr);gap:16px}
.ci-head{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;padding:14px 0 6px;border-bottom:1px solid var(--line);align-items:center}
.ci-row{padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}
.ci-label{font-weight:600;font-size:14px;padding-top:3px}
.ci-edit{min-height:26px;outline:none;padding:3px 6px;margin:-3px -6px;border-radius:4px;line-height:1.55;transition:background .12s}
.ci-edit:hover{background:var(--hover)}
.ci-edit:focus{background:var(--hover);box-shadow:0 0 0 1px var(--line2)}
.ci-edit:empty::before{content:attr(data-ph);color:var(--faint);white-space:pre-line}
.chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.chips:empty{display:none}
.chip{display:inline-flex;gap:4px;font-size:12px;background:var(--blue-bg);border-radius:3px;padding:1px 6px;animation:pop .2s ease}
@keyframes pop{from{transform:scale(.85);opacity:0}to{transform:none;opacity:1}}
.chip span{color:var(--muted)}
.ci-prev{color:var(--muted);font-size:14px;line-height:1.5}

/* ---------- peek drawer ---------- */
.scrim{position:fixed;inset:0;background:var(--overlay);opacity:0;pointer-events:none;transition:opacity .2s;z-index:40}
.scrim.show{opacity:1;pointer-events:auto}
.peek{position:fixed;top:0;right:0;bottom:0;width:min(560px,100vw);background:var(--bg);box-shadow:var(--shadow);z-index:41;transform:translateX(102%);transition:transform .24s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column}
.peek.show{transform:none}
.peek:not(.show){visibility:hidden;transition:transform .24s cubic-bezier(.2,.8,.2,1),visibility 0s .24s}   /* closed: its shadow showed as a strip on the right edge */
.peek-top{display:flex;align-items:center;gap:4px;padding:8px 10px;border-bottom:1px solid var(--line);font-size:14px}
.peek-body{overflow-y:auto;padding:22px 32px 60px;flex:1}
.peek h1{font-size:30px;font-weight:700;margin:4px 0 2px}
.psec{padding:10px 0;border-bottom:1px solid var(--line)}
.psec .pl{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px}
.psec .ptx{font-size:15px;line-height:1.55;white-space:pre-line}

/* ---------- command palette ---------- */
.pal{position:fixed;left:50%;top:12vh;transform:translate(-50%,-8px) scale(.98);width:min(640px,calc(100vw - 24px));background:var(--bg);box-shadow:var(--shadow);border-radius:12px;z-index:51;opacity:0;pointer-events:none;transition:all .16s;display:flex;flex-direction:column;max-height:72vh}
.pal.show{opacity:1;pointer-events:auto;transform:translate(-50%,0) scale(1)}
.pal-scrim{z-index:50}
.pal input{border:0;outline:none;background:transparent;font-size:17px;padding:16px 18px;border-bottom:1px solid var(--line)}
.pal-res{overflow-y:auto;padding:6px}
.pal-g{font-size:12px;font-weight:600;color:var(--muted);padding:10px 10px 4px}
.pal-i{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;cursor:pointer;font-size:14px}
.pal-i .pi{width:22px;text-align:center;flex:none}
.pal-i .pt{flex:1;min-width:0}
.pal-i .pt div:first-child{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pal-i .ps{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pal-i.on{background:var(--hover)}
.pal-foot{border-top:1px solid var(--line);padding:8px 14px;font-size:12px;color:var(--muted);display:flex;gap:14px}

/* ---------- menu & toast ---------- */
.menu{position:fixed;z-index:60;background:var(--bg);box-shadow:var(--shadow);border-radius:8px;padding:4px;min-width:180px;font-size:14px;animation:pop .12s ease}
.menu button{display:flex;align-items:center;gap:8px;width:100%;padding:6px 8px;border-radius:5px;text-align:left}
.menu button:hover,.menu button.on{background:var(--hover)}
.menu .mh{font-size:12px;color:var(--muted);padding:6px 8px 2px}
.toasts{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:70;display:flex;flex-direction:column;gap:8px;align-items:center}
.toast{background:#2f2f2f;color:#fff;border-radius:8px;padding:9px 14px;font-size:14px;display:flex;gap:14px;align-items:center;box-shadow:var(--shadow);animation:pop .18s ease}
.toast button{color:#7cc4ff;font-weight:600}

/* ---------- mobile ---------- */
.tabbar{display:none}
.only-mobile{display:none}
@media (max-width:860px){
  .app{grid-template-columns:minmax(0,1fr)}
  .side{display:none}
  .only-mobile{display:inline-flex}
  .page,.page.wide{padding:0 16px 120px}
  h1.title{font-size:30px}
  .icon{font-size:52px;margin-top:-28px}
  .page.nocover .icon{margin-top:24px}
  .c3,.c4{grid-template-columns:repeat(2,1fr)}.c2{grid-template-columns:1fr}
  .weeks{grid-template-columns:repeat(13,1fr)}
  .prop .pk{width:110px}
  .hrow{grid-template-columns:minmax(0,1fr) auto;row-gap:6px}
  .hrow .rate{display:none}
  .dots i{width:9px;height:9px}
  .ci-head{display:none}
  .ci-row{grid-template-columns:1fr;gap:4px}
  .ci-prev{border-left:2px solid var(--line);padding-left:10px;font-size:13px}
  .corr{grid-template-columns:110px minmax(0,1fr) 44px}
  .peek-body{padding:18px 18px 60px}
  .search-in{min-width:0;flex:1}
  .tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;background:var(--bg);border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom));justify-content:space-around;z-index:30}
  .tabbar a{display:flex;flex-direction:column;align-items:center;gap:1px;font-size:10px;color:var(--muted);text-decoration:none;flex:1}
  .tabbar a .i{font-size:19px;filter:grayscale(1);opacity:.6;transition:all .15s}
  .tabbar a.on{color:var(--ink)}.tabbar a.on .i{filter:none;opacity:1}
}

/* ================= v4: customizable workspaces ================= */
/* start screen */
.start{max-width:980px;margin:0 auto;padding:64px 24px 120px}
.start h1{font-size:44px;font-weight:700;letter-spacing:-.02em;margin:10px 0 6px}
.start .sub{font-size:18px;color:var(--muted);max-width:640px;margin-bottom:30px}
.tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.tcard{box-shadow:var(--card-shadow);border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:8px;background:var(--bg);cursor:pointer;transition:box-shadow .15s,transform .15s;text-align:left}
.tcard:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.tcard.picked{box-shadow:0 0 0 2px var(--blue),var(--shadow)}
.tcard .ti{font-size:30px}
.tcard .tn{font-size:17px;font-weight:600}
.tcard .td{font-size:14px;color:var(--muted);line-height:1.45}
.tcard .tf{display:flex;flex-wrap:wrap;gap:4px;margin-top:auto;padding-top:6px}
.tcard.feat{background:linear-gradient(135deg,var(--blue-bg),var(--bg) 70%)}
.setup{margin-top:22px;box-shadow:var(--card-shadow);border-radius:10px;padding:20px;animation:pop .18s ease}
.setup h3{margin-top:0}
.frm{display:grid;grid-template-columns:160px minmax(0,1fr);gap:10px 14px;align-items:center;max-width:620px;font-size:14px}
.frm label{color:var(--muted)}
.inp{height:32px;border-radius:6px;border:0;box-shadow:inset 0 0 0 1px var(--line2);background:var(--bg);padding:0 10px;font-size:14px;outline:none;width:100%}
.inp:focus{box-shadow:inset 0 0 0 2px var(--blue)}
.inp.sm{height:28px;font-size:13px;padding:0 8px}
.inp.num{width:90px;text-align:right}
textarea.inp{height:auto;padding:8px 10px;line-height:1.45;font-family:ui-monospace,Menlo,monospace;font-size:12.5px}
.welcome{background:var(--callout);border-radius:10px;padding:18px 20px;margin:10px 0 6px}
.welcome .steps{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.welcome .st{display:flex;align-items:center;gap:10px;font-size:15px;text-decoration:none;padding:4px 6px;border-radius:6px}
.welcome .st:hover{background:var(--hover)}
.welcome .st .check{margin-top:0}

/* section editor */
.cz{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:28px;align-items:start}
.cz .preview{position:sticky;top:60px;box-shadow:var(--card-shadow);border-radius:10px;padding:16px 18px;max-height:calc(100vh - 80px);overflow:auto}
.cz .preview .pt{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}
.frow{border-radius:8px;box-shadow:inset 0 0 0 1px var(--line);margin-bottom:8px;background:var(--bg);transition:box-shadow .15s}
.frow:hover{box-shadow:inset 0 0 0 1px var(--line2)}
.frow.open{box-shadow:inset 0 0 0 1px var(--line2),0 2px 8px rgba(0,0,0,.05)}
.frow.dragging{opacity:.4}
.frow.over{box-shadow:inset 0 2px 0 var(--blue)}
.fhead{display:flex;align-items:center;gap:6px;padding:6px 8px}
.handle{cursor:grab;color:var(--faint);padding:0 2px;font-size:14px;user-select:none}
.emo{font-size:18px;width:32px;height:30px;border-radius:6px;display:grid;place-items:center;flex:none}
.emo:hover{background:var(--hover)}
.flabel{flex:1;min-width:0;border:0;background:transparent;font-size:15px;font-weight:500;outline:none;padding:4px 6px;border-radius:4px}
.flabel:focus{background:var(--hover)}
.fbody{padding:6px 14px 14px 46px;display:flex;flex-direction:column;gap:10px;font-size:13.5px;border-top:1px solid var(--line)}
.fopt{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fopt>label{color:var(--muted);min-width:120px}
.mrow{display:grid;grid-template-columns:minmax(0,1fr) 70px auto auto 24px;gap:6px;align-items:center}
.example{font-size:12.5px;color:var(--muted);background:var(--callout);border-radius:6px;padding:6px 10px;font-family:ui-monospace,Menlo,monospace}
.emogrid{display:grid;grid-template-columns:repeat(8,32px);gap:2px;padding:4px}
.emogrid button{width:32px;height:32px;border-radius:6px;font-size:18px;display:grid;place-items:center;padding:0}
.emogrid button:hover{background:var(--hover)}
.typeitem{display:flex;flex-direction:column;align-items:flex-start!important;gap:0!important}
.typeitem small{color:var(--muted);font-size:12px}

/* check-in inputs per type */
.rate10{display:flex;gap:3px;flex-wrap:wrap}
.rate10 button{min-width:30px;height:28px;border-radius:6px;background:var(--gray-bg);font-size:13px;font-weight:500;transition:transform .08s}
.rate10 button:hover{transform:translateY(-1px);box-shadow:inset 0 0 0 1px var(--line2)}
.rate10 button.on{color:#fff}
/* 1–10 always on one row (10 wrapped on its own line on a laptop), and what the ends mean (2026-10-21) */
.rate10:not(.one){display:grid;grid-template-columns:repeat(10,minmax(26px,1fr));gap:3px;max-width:400px}
.numin input.bad{box-shadow:inset 0 0 0 1.5px var(--red)}
.rate-scale{display:flex;justify-content:space-between;max-width:400px;margin-top:4px}
.rate-mean{color:var(--ink2)}.rate-mean b{font-weight:600}
.numin{display:flex;align-items:center;gap:8px}
.numin input{width:110px;height:32px;border:0;border-radius:6px;box-shadow:inset 0 0 0 1px var(--line2);background:var(--bg);padding:0 10px;font-size:15px;font-weight:600;text-align:right;outline:none}
.numin input:focus{box-shadow:inset 0 0 0 2px var(--blue)}
.numin input::placeholder{color:var(--faint);font-weight:400}
.yn{display:inline-flex;gap:4px}
.yn button{height:28px;padding:0 12px;border-radius:6px;background:var(--gray-bg);font-size:13px}
.yn button.on{background:var(--green);color:#fff}
.yn button.on.no{background:var(--red)}
.exp-grid{display:grid;grid-template-columns:70px minmax(0,1fr);gap:6px 10px;align-items:center}
.exp-grid .k{font-size:13px;color:var(--muted);font-weight:500}
.exp-grid input{border:0;border-bottom:1px solid var(--line);background:transparent;outline:none;font-size:15px;padding:4px 0;width:100%}
.exp-grid input:focus{border-color:var(--blue)}
.note-ed{margin:8px 0 0;padding:9px 12px;min-height:46px;border:1px solid var(--line2);border-radius:8px;background:var(--hover)}   /* a visible box: it read as a caption, not a place to write (Jeroen, 2026-10-25) */
.note-ed:focus{background:var(--bg);box-shadow:0 0 0 2px var(--line2)}
@media (max-width:860px){
  .cz{grid-template-columns:1fr}
  .cz .preview{position:static;max-height:none}
  .frm{grid-template-columns:1fr}
  .fbody{padding-left:14px}
  .mrow{grid-template-columns:minmax(0,1fr) 60px auto 24px}
  .mrow .agg{display:none}
  .start{padding:32px 16px 100px}
  .start h1{font-size:32px}
}
.app.bare{grid-template-columns:minmax(0,1fr)}
.app.bare .side,.app.bare .top{display:none}
.app.bare~.tabbar{display:none!important}
.ws{border:0;background:transparent;cursor:pointer;text-align:left}
.faint{color:var(--faint)}

.cz{grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr)}
.fopt.stack{flex-direction:column;align-items:stretch;gap:6px}
.fopt.stack>label{min-width:0}
.mrow{grid-template-columns:minmax(140px,1fr) 70px 104px 104px 28px}
.pvrow{padding:9px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:5px}
.pv-box{font-size:13px;color:var(--faint);border-radius:6px;box-shadow:inset 0 0 0 1px var(--line);padding:6px 9px;line-height:1.45}
.pv-rate{display:flex;gap:3px;flex-wrap:wrap}
.pv-rate i{font-style:normal;width:22px;height:20px;border-radius:4px;background:var(--gray-bg);font-size:11px;display:grid;place-items:center;color:var(--muted)}
.pv-num{display:inline-block;width:70px;height:26px;border-radius:6px;box-shadow:inset 0 0 0 1px var(--line2);font-size:13px;color:var(--faint);text-align:right;padding:4px 8px}
@media (max-width:860px){.mrow{grid-template-columns:minmax(0,1fr) 60px 90px 28px}}

.paste{min-height:84px;border-radius:8px;box-shadow:inset 0 0 0 1.5px var(--line2);border:0;padding:14px;outline:none;font-size:14px;color:var(--muted);cursor:text;background:repeating-linear-gradient(135deg,transparent 0 10px,var(--hover) 10px 11px)}
.paste:focus{box-shadow:inset 0 0 0 2px var(--blue);background:var(--bg)}
.paste:empty::before{content:attr(data-ph);color:var(--faint);font-size:15px}
.tcard.import{width:100%;flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:14px}
.tcard.import .td{flex:1;min-width:240px}
.tcard.import .tf{width:100%;margin-top:0}

/* ================= line icons (Lucide) ================= */
svg.ic{width:1.05em;height:1.05em;vertical-align:-.17em;flex:none;stroke:currentColor}
h1 svg.ic,h2 svg.ic,h3 svg.ic{width:.9em;height:.9em;color:var(--muted);margin-right:.15em}
/* page icon: a tinted tile instead of a big emoji */
.icon{font-size:28px;width:60px;height:60px;border-radius:16px;display:grid;place-items:center;background:var(--blue-bg);color:var(--bluet);margin-top:-30px;margin-bottom:12px;box-shadow:0 0 0 4px var(--bg)}
.page.nocover .icon{margin-top:56px}
.icon svg.ic{width:30px;height:30px;vertical-align:0}
.ws{font-size:14px}
#ws-btn svg.ic{width:14px;height:14px;padding:4px;box-sizing:content-box;border-radius:6px;background:linear-gradient(135deg,#5e9c76,#2383e2);color:#fff;vertical-align:0}
.si .i{font-size:16px;color:var(--muted);display:grid;place-items:center}
.si.on .i{color:var(--ink)}
.tabbar a .i{font-size:20px;filter:none!important;opacity:1!important;color:var(--muted)}
.tabbar a.on .i{color:var(--blue)}
.callout .ci{font-size:20px;color:var(--muted)}
.prop .pk svg.ic{color:var(--faint)}
.views button svg.ic{width:15px;height:15px}
.tag svg.ic{width:12px;height:12px}
.btn svg.ic{width:15px;height:15px}
.pal-i .pi{font-size:17px;color:var(--muted)}
.ci-label svg.ic{color:var(--muted);margin-right:4px}
.emo{font-size:17px;color:var(--ink2)}
.emogrid button{font-size:17px;color:var(--ink2)}
.tcard .ti{font-size:22px;width:44px;height:44px;border-radius:12px;background:var(--blue-bg);color:var(--bluet);display:grid;place-items:center}
.tcard .ti svg.ic{vertical-align:0}
.start>div:first-child{font-size:30px!important;width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#5e9c76,#2383e2);color:#fff}
.peek-body>div:first-child{font-size:24px!important;width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:var(--gray-bg);color:var(--ink2)}
.stat .l svg.ic{color:var(--muted)}
.welcome .st svg.ic{color:var(--muted)}
.toast svg.ic{color:#9fd3b4}

/* ================= v5 layout: compact headers, overview grid, journal ================= */
.page{padding-top:28px}
.phead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.phead .pt{display:flex;align-items:center;gap:14px;min-width:0}
.picon{font-size:20px;width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:var(--blue-bg);color:var(--bluet);flex:none}
.picon svg.ic{vertical-align:0}
.phead h1.title{font-size:28px;margin:0;line-height:1.2}
.pdesc{color:var(--muted);font-size:14px;margin-top:2px}
.pact{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.st{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--ink2);white-space:nowrap}
.st::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--faint);flex:none}
.st-on::before{background:var(--green)}.st-risk::before{background:var(--yellow)}.st-off::before{background:var(--red)}.st-due::before{background:var(--blue)}
.qa{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px}
.qa-b{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px var(--line);font-size:13.5px;color:var(--ink2);text-decoration:none;transition:background .12s}
.qa-b:hover{background:var(--hover);color:var(--ink)}
.qa-b svg.ic{color:var(--muted)}
.ov{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;align-items:start}
.s3{grid-column:span 3}.s4{grid-column:span 4}.s8{grid-column:span 8}.s12{grid-column:span 12}
.box{background:var(--bg);box-shadow:var(--card-shadow);border-radius:12px;padding:14px 16px;min-width:0}
.box h4{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:500;color:var(--muted);margin:0 0 10px}
.box.kpi{text-decoration:none;color:inherit}
.box.kpi .n{font-size:24px;font-weight:700;letter-spacing:-.02em}
.box.kpi .d{font-size:12.5px;margin:2px 0 4px}
.rail{display:flex;flex-direction:column;gap:12px}
.hero-n{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.hero-n .n{font-size:34px;font-weight:700;letter-spacing:-.02em}
.hero-n .n small{font-size:15px;color:var(--muted);font-weight:500;margin-left:2px}
.hero-n .d{font-size:13px}
.att{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 6px;border-radius:6px;text-decoration:none;color:inherit;border-top:1px solid var(--line)}
.att:hover{background:var(--hover)}
.att .st{white-space:normal;font-size:14px;color:var(--ink)}
.mini-g{display:flex;align-items:flex-start;gap:9px;padding:5px 0;font-size:14px;line-height:1.4}
.mini-g .check{width:16px;height:16px}
.focus-ed{font-size:16px;line-height:1.5;min-height:48px}
.welcome .st-row{display:flex;align-items:center;gap:10px;font-size:14.5px;text-decoration:none;padding:4px 6px;border-radius:6px}
.welcome .st-row:hover{background:var(--hover)}
.welcome .st-row .check{margin-top:0}
.jr{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;margin-top:16px;align-items:start}
.jlist{position:sticky;top:56px;max-height:calc(100vh - 72px);overflow-y:auto;display:flex;flex-direction:column;gap:2px;padding-right:4px}
.jlist .search-in{margin-bottom:8px}
.jitem{display:flex;flex-direction:column;gap:2px;text-align:left;padding:8px 10px;border-radius:8px;transition:background .1s}
.jitem:hover{background:var(--hover)}
.jitem.on{background:var(--blue-bg)}
.jitem .jt{display:flex;align-items:center;gap:6px;font-size:14px}
.jitem .js{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jentry{min-width:0}
.jh{margin:2px 0 4px;font-size:24px}
.pill .x{margin-left:4px;opacity:.8;font-size:11px}
.menu{max-height:65vh;overflow-y:auto}
@media (max-width:1100px){.s3{grid-column:span 6}.s4,.s8{grid-column:span 12}.rail{display:grid;grid-template-columns:1fr 1fr}}
@media (max-width:860px){
  .page{padding-top:18px}
  .ov{grid-template-columns:minmax(0,1fr)}
  .s3,.s4,.s8,.s12{grid-column:auto}
  .rail{display:flex}
  .jr{grid-template-columns:minmax(0,1fr)}
  .jlist{position:static;max-height:240px}
  .phead h1.title{font-size:24px}
}

.page.wide .ov{max-width:1180px}
.box .spark{width:100%;height:28px}
.box.kpi .spark polyline{vector-effect:non-scaling-stroke}
.views{flex-wrap:wrap}
@media (max-width:860px){.qa{flex-wrap:nowrap;overflow-x:auto;margin-right:-16px;padding-right:16px}.qa-b{flex:none}}

.rvgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.box.rv{text-decoration:none;color:inherit}
.box.rv .n{font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.box.rv .d{font-size:12.5px;margin-top:2px}
.period{display:inline-flex;align-items:center;gap:2px;font-size:15px}
.period b{min-width:84px;text-align:center;font-weight:600}

/* overview: cards in a row share one height, so there are no ragged gaps */
.ov{align-items:stretch}
.ov>.box,.rail>.box{display:flex;flex-direction:column}
.rail>.box{flex:1}
.ov>.box.kpi .spark{margin-top:auto}

/* insights: use the width */
.chgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(460px,100%),1fr));gap:12px;margin:10px 0}
.chgrid .chartbox{margin:0}
.corrwrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.corrwrap .chartbox{margin:0}
@media (max-width:1100px){.corrwrap{grid-template-columns:minmax(0,1fr)}}
/* status explanations and rules */
button.why,button.signal{padding:2px 4px;margin:-2px -4px;border-radius:5px}
button.why:hover,button.signal:hover{background:var(--hover)}
.whytext{padding:6px 8px 10px;font-size:13.5px;line-height:1.5;max-width:320px;color:var(--ink2)}
.srules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.srule{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13.5px;margin-top:6px}
.srule .target input{width:34px}
@media (max-width:860px){.srules{grid-template-columns:1fr}}

/* learnings: experiments (left) flow into the playbook (right) */
.lgrid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;align-items:start}
.lhead{display:flex;justify-content:space-between;align-items:center;margin:18px 0 6px}
.lgrid>div>.lhead:first-child{margin-top:0}
.lhead h3{margin:0}
.exprun{box-shadow:inset 0 0 0 1.5px var(--blue),var(--card-shadow)}
.exprun.idle{box-shadow:inset 0 0 0 1px var(--line2)}
.exprun h4{color:var(--bluet)}
.xrun{font-size:16px;font-weight:600;margin-bottom:2px}
.xrow{display:grid;grid-template-columns:minmax(0,1fr) 130px 150px;gap:14px;align-items:center;padding:10px 6px;border-bottom:1px solid var(--line);border-radius:4px}
.xt{display:flex;flex-direction:column;min-width:0}
.xt b{font-weight:500;font-size:14.5px}
.xt span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xs{display:flex;align-items:center;gap:8px}
.sbar{flex:1;height:6px;border-radius:3px;background:var(--empty);overflow:hidden}
.sbar b{display:block;height:100%;border-radius:3px}
.xa{text-align:right;display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap}
.pbcard{margin-bottom:10px}
.prule{display:flex;align-items:flex-start;gap:8px;padding:5px 0;font-size:14px;line-height:1.45;border-top:1px solid var(--line)}
.prule:first-of-type{border-top:0}
.prule .chk{color:var(--green);font-weight:700}
.prule .rt{flex:1}
.prule .src{font-size:11.5px;color:var(--muted);background:var(--gray-bg);border-radius:4px;padding:1px 6px;white-space:nowrap}
.prule .src:hover{color:var(--ink)}
.prule .del{opacity:0;color:var(--faint);padding:0 4px}
.prule:hover .del{opacity:1}
.addrow.small{font-size:13px;padding:4px 6px}
/* overview goals band */
.hb{display:grid;grid-template-columns:minmax(0,1fr) auto 22px;gap:10px;align-items:center;padding:5px 0;border-top:1px solid var(--line)}
.hb:first-of-type{border-top:0}
.hb-n{font-size:13.5px;text-decoration:none;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hb .dots{flex-wrap:nowrap;gap:2px}
.hb .dots i{width:9px;height:9px;border-radius:2px}
.hb .st::before,.oc .st::before{width:9px;height:9px}
.oc{padding:6px 0 8px;border-top:1px solid var(--line)}
.oc:first-of-type{border-top:0}
.oc-t{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13.5px;margin-bottom:6px}
.oc .pbar{height:7px;margin-bottom:4px}
@media (max-width:1100px){.lgrid{grid-template-columns:minmax(0,1fr)}.xrow{grid-template-columns:minmax(0,1fr) 110px}.xa{grid-column:1/-1;text-align:left;justify-content:flex-start}}

.top{top:env(safe-area-inset-top,0px)}
#saved.bad{color:var(--red)}

/* ================= v6: full-width tabs, goals inside the overview ================= */
/* tabs as wide as their words, on the left (2026-10-28, Jeroen: stretched tabs made the stats under them look like two columns) */
.dbhead .views{flex:0 1 auto;gap:26px}
.dbhead .views button{flex:none;justify-content:center;padding:9px 0 10px}
.dbhead .views+*{margin:8px 0 2px auto}
.subtabs{margin-top:12px}
.goals-sec{margin-top:18px}
.sec-h{display:flex;align-items:baseline;gap:12px}
.sec-h h2{margin:0}
@media (max-width:860px){.dbhead .views button{padding:8px 4px;font-size:13px}}

/* ================= v7: top navigation, floating action dock ================= */
/* paper glass (2026-10-15): the tab bar and dock are the page's own paper, floating; white glass read as a sticker on paper */
:root{--glass:rgba(247,245,236,.76);--glass-line:rgba(31,36,48,.1);--glass-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 1px 2px rgba(31,36,48,.06),0 10px 30px rgba(31,36,48,.12);--pill:var(--blue-bg);--pill-ink:var(--bluet)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--glass:rgba(39,33,26,.76);--glass-line:rgba(214,203,179,.12);--glass-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 10px 30px rgba(0,0,0,.55)}}
:root[data-theme="dark"]{--glass:rgba(39,33,26,.76);--glass-line:rgba(214,203,179,.12);--glass-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 10px 30px rgba(0,0,0,.55)}
.glass,.dcard,.dfab,.top{-webkit-backdrop-filter:blur(18px) saturate(1.8);backdrop-filter:blur(18px) saturate(1.8)}

/* Top bar: workspace left, pages centred, tools right */
.top{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;height:56px;padding:0 16px;background:color-mix(in srgb,var(--bg) 80%,transparent);border-bottom:1px solid var(--line)}
.top .ws{justify-self:start;margin:0;height:36px;padding:0 10px 0 6px;border-radius:10px;max-width:260px;width:auto;gap:8px}
.top .ws:hover{background:var(--hover)}
.tnav{position:relative;display:flex;align-items:center;justify-self:center}
#nav{display:flex;gap:2px}
.tn{position:relative;z-index:1;display:flex;align-items:center;gap:7px;height:36px;padding:0 15px;border-radius:11px;text-decoration:none;color:var(--muted);font-size:14.5px;font-weight:500;white-space:nowrap;transition:color .2s}
.tn:hover{color:var(--ink)}
.tn.on{color:var(--pill-ink)}
.tn .i{display:grid;place-items:center}.tn svg.ic{width:16px;height:16px;vertical-align:0}
.tpill{position:absolute;left:0;top:50%;height:36px;margin-top:-18px;width:0;border-radius:11px;background:var(--pill);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pill-ink) 14%,transparent);opacity:0;pointer-events:none}
.tpill.ready{transition:transform .38s cubic-bezier(.3,1.25,.4,1),width .38s cubic-bezier(.3,1.25,.4,1),opacity .2s}
.tacts{justify-self:end;gap:4px}
.tact{display:inline-flex;align-items:center;gap:6px;height:34px;min-width:34px;justify-content:center;padding:0 9px;border-radius:10px;text-decoration:none;color:var(--ink2)}
.tact:hover,.tact.on{background:var(--hover);color:var(--ink)}
.tsearch{padding:0 8px 0 9px;color:var(--ink2);font-size:13.5px}
.tacts{position:relative}
.tacts .saved{position:absolute;right:100%;margin-right:10px;opacity:1}.tacts .saved.idle:not(.flash){opacity:0;pointer-events:none}
.tsearch kbd{margin-left:10px}
.tact svg.ic{width:16px;height:16px;vertical-align:0}
[id^="sec-"],#goals-sec{scroll-margin-top:72px}

/* Hover panel with a page's sections */
.navpanel{position:fixed;z-index:40;width:340px;padding:6px;border-radius:14px;background:var(--bg);box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .15s,transform .15s,visibility 0s .15s}
.navpanel.open{opacity:1;visibility:visible;transform:none;transition:opacity .15s,transform .2s cubic-bezier(.3,1.2,.5,1)}
.np{display:flex;gap:12px;align-items:flex-start;padding:9px 10px;border-radius:10px;text-decoration:none}
.np:hover{background:var(--hover)}
.npi{width:34px;height:34px;flex:none;border-radius:9px;display:grid;place-items:center;color:var(--bluet);box-shadow:inset 0 0 0 1px var(--line2);background:var(--bg)}
.npi svg.ic{width:17px;height:17px;vertical-align:0}
.np b{display:block;font-size:14px;font-weight:600;color:var(--ink)}
.np small{display:block;margin-top:1px;font-size:12.5px;line-height:1.35;color:var(--muted)}

/* Floating glass bar with the quick actions, bottom centre */
.dock{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:25;animation:dockIn .5s cubic-bezier(.3,1.2,.5,1) both}
@keyframes dockIn{from{opacity:0;transform:translate(-50%,16px)}}
.dcard{display:flex;align-items:center;gap:2px;padding:6px;border-radius:18px;background:var(--glass);border:1px solid var(--glass-line);box-shadow:var(--glass-shadow)}
.db{display:flex;align-items:center;gap:8px;height:40px;padding:0 13px 0 11px;border-radius:12px;color:var(--ink2);font-size:14px;font-weight:500;white-space:nowrap;text-decoration:none;transition:background .15s,color .15s,transform .15s}
.db:hover{background:var(--hover);color:var(--ink)}
.db:active{transform:scale(.95)}
.db.main{background:var(--ink);color:var(--bg);padding:0 15px 0 13px}
.db.main:hover{background:color-mix(in srgb,var(--ink) 86%,var(--bg))}
.di{display:grid;place-items:center}.db svg.ic{width:17px;height:17px;vertical-align:0}
.db:not(.main) svg.ic{color:var(--muted)}.db:hover svg.ic{color:var(--ink)}
.dsep{width:1px;height:22px;margin:0 8px 0 6px;background:var(--line2)}
.dnew{font-size:12px;font-weight:600;color:var(--faint);margin-right:2px;text-transform:uppercase;letter-spacing:.04em}
.dfab{display:none}
.app.bare~.dock{display:none}

/* Goals: one list for weekly goals and goals with a number */
.glist{border-top:1px solid var(--line)}
.gl{display:grid;grid-template-columns:10px minmax(0,1fr) 230px 150px 104px 56px;gap:14px;align-items:center;padding:11px 8px;border-bottom:1px solid var(--line);font-size:14px;border-radius:6px}
.gl:hover{background:var(--hover)}
.gl.open{background:var(--hover);border-bottom-color:transparent;border-radius:6px 6px 0 0}
.gdot{width:9px;height:9px;border-radius:50%;background:var(--faint)}
.gdot.st-on{background:var(--green)}.gdot.st-risk{background:var(--yellow)}.gdot.st-off{background:var(--red)}.gdot.st-none{background:var(--empty)}
.gl-t{font-weight:500;display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.gl-t .gtx{outline:none;border-radius:3px}.gl-t .gtx:focus{box-shadow:0 0 0 2px var(--blue-bg)}
.gl-u{color:var(--muted);font-weight:400;font-size:13px}
.gl-s{color:var(--muted);font-size:12.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gl-v .dots{flex-wrap:nowrap;gap:3px}.gl-v .dots i{width:11px;height:11px}
.gl-v .pbar{height:8px}
.gl-x{display:flex;flex-direction:column;line-height:1.3;white-space:nowrap;min-width:0}
.gl-x b{font-weight:600;font-size:13.5px;overflow:hidden;text-overflow:ellipsis}.gl-x span{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis}
.gl-a{display:flex;justify-content:flex-end;gap:2px;opacity:.55;transition:opacity .15s}
.gl:hover .gl-a,.gl.open .gl-a{opacity:1}
.gl-a .ghost{text-decoration:none}
.gl-chev{display:inline-grid;place-items:center;color:var(--muted)}.gl-chev svg{width:16px;height:16px}
.gl-more{padding:4px 12px 12px 32px;margin-bottom:6px;background:var(--hover);border-radius:0 0 6px 6px;border-bottom:1px solid var(--line)}
.gopts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.gopt{display:flex;gap:12px;align-items:flex-start;text-align:left;padding:14px;border-radius:10px;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line2);transition:box-shadow .15s,background .15s}
.gopt:hover{box-shadow:inset 0 0 0 1px var(--blue);background:color-mix(in srgb,var(--blue-bg) 40%,var(--bg))}
.gopt b{display:block;font-size:14px;font-weight:600}.gopt small{display:block;margin-top:2px;font-size:12.5px;line-height:1.4;color:var(--muted)}
@media (max-width:1100px){.gl{grid-template-columns:10px minmax(0,1fr) 170px 130px 100px 50px}.gl-v .dots i{width:8px;height:8px}.gl-v .dots{gap:2px}}

@media (max-width:860px){
  .top{grid-template-columns:minmax(0,1fr) auto;padding:0 10px}
  .tnav,#saved,.tsearch .tlabel,.tsearch kbd{display:none}
  .tsearch{box-shadow:none;padding:0 9px}
  .tabbar{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));padding:7px 4px;border:1px solid var(--glass-line);border-radius:22px;background:var(--glass);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:blur(18px) saturate(1.8);backdrop-filter:blur(18px) saturate(1.8)}
  .page,.page.wide{padding-bottom:150px}
  .dock{left:auto;right:16px;bottom:calc(86px + env(safe-area-inset-bottom));transform:none;animation:none}
  .dfab{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--ink);color:var(--bg);font-size:28px;line-height:1;box-shadow:0 8px 24px rgba(15,15,15,.25);transition:transform .25s cubic-bezier(.3,1.3,.5,1)}
  .dock.open .dfab{transform:rotate(45deg)}
  .dcard{position:absolute;right:0;bottom:66px;flex-direction:column;align-items:stretch;opacity:0;pointer-events:none;transform:translateY(10px) scale(.96);transform-origin:bottom right;transition:opacity .18s,transform .25s cubic-bezier(.3,1.2,.5,1)}
  .dock.open .dcard{opacity:1;pointer-events:auto;transform:none}
  .db{height:44px;gap:12px;padding:0 18px 0 12px;font-size:15px}
  .dsep{width:auto;height:1px;margin:4px 8px}
  .dnew{padding:4px 12px 2px}
  .gl{grid-template-columns:10px minmax(0,1fr) auto;row-gap:8px}
  .gl-v{grid-column:2;grid-row:2}.gl-x{grid-column:3;grid-row:2;align-items:flex-end}.gl-st{grid-column:3;grid-row:1}.gl-a{display:none}
  .gopts{grid-template-columns:1fr}
}

/* ================= v8: life map, goal side panel, goal line on review cards ================= */
.lmapw{overflow-x:auto;margin:4px -4px 0;padding:0 4px 6px}
.lmap{display:grid;min-width:760px;border-top:1px solid var(--line)}
.mh{display:flex;flex-direction:column;gap:1px;padding:10px 10px 8px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}
.mh b{font-size:15px;font-weight:600;color:var(--ink)}.mh span{font-size:12px;color:var(--muted)}
.mh.now{background:color-mix(in srgb,var(--blue-bg) 60%,transparent)}.mh.now b{color:var(--bluet)}
.mh-past{cursor:pointer;border-left:1px solid var(--line)}.mh-past:hover{background:var(--hover)}
.marea{display:flex;gap:10px;align-items:flex-start;padding:12px 12px 12px 4px;border-bottom:1px solid var(--line)}
.marea b{display:block;font-size:14px;font-weight:600}.marea span{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.marea .gap{color:var(--orange)}
.adot{width:10px;height:10px;border-radius:3px;flex:none;margin-top:5px}
.mcell{position:relative;display:flex;flex-direction:column;gap:6px;min-height:68px;padding:8px 6px 32px;border-bottom:1px solid var(--line);border-left:1px solid var(--line);transition:background .15s}
.mcell.now{background:color-mix(in srgb,var(--blue-bg) 60%,transparent)}
.mcell.over{background:var(--blue-bg);box-shadow:inset 0 0 0 2px var(--blue)}
.mcell.past{padding-bottom:8px}
.pastn{font-size:12.5px;font-weight:500;color:var(--green);padding:6px 4px}
.madd{position:absolute;left:6px;right:6px;bottom:5px;height:24px;border-radius:6px;font-size:15px;color:var(--faint);opacity:0;transition:opacity .15s,background .15s}
.mcell:hover .madd,.madd:focus-visible{opacity:1}.madd:hover{background:var(--hover);color:var(--ink)}
.mcard{display:flex;align-items:flex-start;gap:8px;padding:8px 9px 8px 11px;border-radius:8px;background:var(--bg);box-shadow:inset 3px 0 0 var(--ac),var(--card-shadow);font-size:13.5px;line-height:1.35;cursor:pointer;transition:transform .12s,box-shadow .12s}
.mcard:hover{transform:translateY(-1px);box-shadow:inset 3px 0 0 var(--ac),var(--shadow)}
.mcard.dragging{opacity:.4}
.mcard .check{margin-top:0}
.mcard .mt{flex:1;min-width:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mcard.done .mt,.mcard.dropped .mt{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--faint)}
.mcard .gdot,.grow .gdot{flex:none;margin-top:5px}
/* By year: goals grouped by area */
.rarea{display:flex;align-items:center;gap:8px;margin:12px 0 2px 6px;font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.rarea .adot{margin-top:0;width:8px;height:8px}
.gopen{flex:1;min-width:0;display:flex;flex-direction:column;text-align:left}
.gtt{font-weight:500}
.gmore{color:var(--muted);font-size:13px;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.grow.done .gtt{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--faint)}
/* Goal side panel */
.peek h1.gtitle-ed{outline:none;border-radius:4px;line-height:1.25}
.peek h1.gtitle-ed:empty::before{content:attr(data-ph);color:var(--faint)}
.gdetail{min-height:90px;font-size:15px;line-height:1.55}
/* Goal line on the review cards */
.gline{display:flex;align-items:center;gap:6px;color:var(--ink2);margin-top:4px}
.gline .gdot{flex:none}
.gset{color:var(--faint);opacity:0;transition:opacity .15s;padding:0}
.rv:hover .gset{opacity:1}.gset:hover{color:var(--bluet)}

@media (max-width:860px){
  .lmapw{overflow:visible;margin:0;padding:0}
  .lmap{display:block;min-width:0;border-top:0}
  .mh{display:none}
  .marea{padding:18px 0 6px;border-bottom:0}
  .mcell{min-height:0;padding:0 0 10px 20px;border:0;gap:6px}
  .mcell.empty,.mcell.past{display:none}
  .mcell.now{background:none}
  .mcell::before{content:attr(data-label);font-size:12px;font-weight:600;color:var(--muted)}
  .madd{display:none}
  .gset{opacity:1}
}

/* ================= v9: experiments with a start and an end ================= */
.xsec{display:flex;flex-direction:column;gap:10px}
.xcard{padding:10px 12px 12px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--line2);background:var(--bg)}
.xcard.run{box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--bluet) 55%,transparent)}
.xcard.due{box-shadow:inset 0 0 0 1.5px var(--orange);background:color-mix(in srgb,var(--orange-bg) 45%,var(--bg))}
.xcard.done{background:color-mix(in srgb,var(--green-bg) 45%,var(--bg))}
.xcard.past,.xcard.stopped{opacity:.75}
.xh{display:flex;align-items:center;gap:8px;margin-bottom:4px;font-size:12.5px;font-weight:600;color:var(--muted)}
.xcard.run .xh{color:var(--bluet)}.xcard.due .xh{color:var(--orange)}.xcard.done .xh{color:var(--green)}
.xh svg.ic{width:14px;height:14px}
.xtry{font-size:15px;font-weight:500;line-height:1.4}
.xaim{font-size:13.5px;color:var(--ink2);margin-top:2px}
.xe{outline:none;border-radius:3px}.xe[contenteditable="true"]:focus{box-shadow:0 0 0 2px var(--blue-bg)}
.xe:empty::before{content:attr(data-ph);color:var(--faint)}
.xout{margin-top:6px;font-size:13.5px;color:var(--ink2);border-left:2px solid var(--line2);padding-left:8px}
.xscore{font-size:12px;font-weight:600;color:#fff;padding:1px 7px;border-radius:10px}
.xdel{opacity:0;transition:opacity .15s}.xcard:hover .xdel{opacity:1}
.xfoot{display:flex;gap:8px;align-items:center;margin-top:6px;font-size:13px}
.xfoot .link{color:var(--muted)}.xfoot .link:hover{color:var(--ink)}
.xlog{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.xlog input{width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;outline:none;font-size:15px;padding:4px 0}
.xlog input:focus{border-color:var(--blue)}
.xworked{display:flex;align-items:center;gap:10px;margin-top:10px;flex-wrap:wrap}
.xworked .rate-mean{flex-basis:100%;max-width:none;margin-top:0}.xworked .rate-mean:empty,#jd-mean:empty{display:none}
.rate10.one{display:flex;flex-wrap:nowrap;gap:3px}
.rate10.one button{width:30px;height:28px;font-size:13px;border-radius:6px}
.xnew{padding:4px 0}
.exprun.due{box-shadow:inset 0 0 0 1.5px var(--orange),var(--card-shadow)}.exprun.due h4{color:var(--orange)}
@media (max-width:860px){.rate10.one{flex-wrap:wrap}.rate10.one button{width:28px}}
/* messages sit above the floating action bar (and above the tab bar and + button on phones) */
.toasts{bottom:calc(84px + env(safe-area-inset-bottom))}
@media (max-width:860px){.toasts{bottom:calc(150px + env(safe-area-inset-bottom))}}
/* running experiments on the overview */
.ovx{display:flex;flex-direction:column;gap:1px;padding:8px 10px;margin:0 -4px 6px;border-radius:8px;text-decoration:none;box-shadow:inset 3px 0 0 var(--bluet);background:color-mix(in srgb,var(--blue-bg) 45%,transparent)}
.ovx:hover{background:var(--blue-bg)}
.ovx.due{box-shadow:inset 3px 0 0 var(--orange);background:color-mix(in srgb,var(--orange-bg) 55%,transparent)}
.ovx-s{font-size:12px;font-weight:600;color:var(--bluet)}.ovx.due .ovx-s{color:var(--orange)}
.ovx-t{font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lhead .link{font-size:14px}
/* the score chart fills its card when the rail next to it is taller */
[data-chart="ov-score"]{flex:1;min-height:120px}

/* ================= v10: Home · Insights · Learnings, check-in as the weekly action ================= */
:root{--pill:color-mix(in srgb,var(--ink) 7%,transparent);--pill-ink:var(--ink)}
.tpill{box-shadow:inset 0 0 0 1px var(--line)}
.cibtn{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px 0 12px;margin-left:6px;border-radius:10px;background:var(--blue);color:#fff;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;box-shadow:0 1px 3px rgba(35,131,226,.35);transition:background .15s,transform .12s}
.cibtn:hover{background:color-mix(in srgb,var(--blue) 86%,#000)}
.cibtn:active{transform:scale(.97)}
.cibtn.done{background:var(--green-bg);color:var(--green);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--green) 35%,transparent)}
.cibtn.done:hover{background:color-mix(in srgb,var(--green-bg) 80%,var(--green))}
.cibtn.here{outline:2px solid var(--blue);outline-offset:2px}.cibtn.done.here{outline-color:var(--green)}
.cibtn svg.ic{width:16px;height:16px;vertical-align:0}
.cibtn .cis{display:none}
.pact .cibtn{margin-left:0}
/* Insights: start an experiment from a pattern */
.corr-r{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-variant-numeric:tabular-nums}
.trybtn{font-size:12.5px;font-weight:500;color:var(--bluet);padding:2px 6px;border-radius:6px;opacity:0;transition:opacity .15s,background .15s;white-space:nowrap}
.corr:hover .trybtn,.trybtn:focus-visible{opacity:1}.trybtn:hover{background:var(--blue-bg)}
.dnew{margin:0 4px 0 8px}
@media (max-width:1100px){#ci-btn .cil{display:none}#ci-btn .cis{display:inline}}
@media (max-width:860px){
  #ci-btn{display:none}
  .tabbar{align-items:center}
  .tabbar a.tci{flex:none;width:54px;height:54px;margin:-26px 4px 0;border-radius:50%;background:var(--blue);display:grid;place-items:center;box-shadow:0 6px 18px rgba(35,131,226,.38),0 0 0 4px var(--bg)}
  .tabbar a.tci .i{color:#fff!important;font-size:22px}.tabbar a.tci svg.ic{width:24px;height:24px}
  .tabbar a.tci.done{background:var(--green);box-shadow:0 6px 18px rgba(68,131,97,.35),0 0 0 4px var(--bg)}
  .trybtn{opacity:1}
  .dnew{margin:4px 12px 2px}
}
/* top bar: side groups never shrink below their content, so the pages can't be overlapped */
@media (min-width:861px){.top{grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr)}}
.tsearch kbd{margin-left:6px}
.saved{margin-right:4px;white-space:nowrap}
/* the Home rail (focus, experiments, coming up) sits side by side on mid-size screens without leaving one card alone */
@media (max-width:1100px) and (min-width:861px){.rail{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}

/* ================= workspace logo mark ================= */
.top .ws{gap:10px;padding:0 10px 0 4px;height:40px}
.wsmark{width:30px;height:30px;flex:none;border-radius:9px;display:grid;place-items:center;color:#fff;
  background:radial-gradient(120% 120% at 20% 0%,#3b5b8f 0%,#22355a 45%,#141f36 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 -1px 0 rgba(0,0,0,.25),0 1px 2px rgba(15,23,42,.25),0 4px 10px -2px rgba(20,31,54,.35)}
.wsmark svg{width:26px;height:26px;display:block}
.wsmark svg.ic{width:16px;height:16px;color:#fff;padding:0;background:none}
.wsmark .needle{transform-origin:16px 16px;transform:rotate(-28deg);transition:transform .7s cubic-bezier(.25,1.6,.4,1)}
.ws:hover .wsmark .needle{transform:rotate(0deg)}
.wsname{font-size:15px;font-weight:650;letter-spacing:-.01em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.wschev,.ws svg.wschev{width:14px;height:14px;color:var(--faint);flex:none;transition:color .15s}
.ws:hover .wschev{color:var(--muted)}
:root[data-theme="dark"] .wsmark{box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 0 1px rgba(255,255,255,.06),0 4px 12px -2px rgba(0,0,0,.6)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .wsmark{box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 0 1px rgba(255,255,255,.06),0 4px 12px -2px rgba(0,0,0,.6)}}
#ws-btn svg.wschev{padding:0;background:none;border-radius:0;color:var(--faint);width:14px;height:14px}
#ws-btn:hover svg.wschev{color:var(--muted)}
#ws-btn .wsmark svg.ic{padding:0;background:none;border-radius:0;width:16px;height:16px;color:#fff}

/* ================= v11: goal window, What now?, your own order ================= */
.st-paused::before{background:var(--faint)}.gdot.st-paused{background:var(--line2)}
.gl.paused .gl-n,.gl.paused .gl-v,.gl.paused .gl-x{opacity:.55}
.gl{grid-template-columns:14px 10px minmax(0,1fr) 230px 150px 118px 56px}
.grip{cursor:grab;color:var(--faint);font-size:15px;line-height:1;opacity:0;transition:opacity .15s;touch-action:none;user-select:none;text-align:center}
.gl:hover .grip{opacity:1}.grip:hover{color:var(--ink)}
body.gdragging,body.gdragging *{cursor:grabbing!important;user-select:none}
.gl.dragging,.hb-row.dragging{background:var(--hover);border-radius:10px;box-shadow:inset 0 0 0 1.5px var(--line2)}
.gl.dragging>*,.hb-row.dragging>*{visibility:hidden}
/* rows you can drag show a hand; ticks and buttons keep their own cursor */
@media (hover:hover){.habits-card [data-gid],.habits-card [data-gid] .hb-n,.habits-card [data-gid] .gl-n,.glist .gl{cursor:grab}.habits-card [data-gid] .tk,.habits-card [data-gid] .btn,.habits-card [data-gid] .ghost,.habits-card [data-gid] .why{cursor:pointer}}
.gl-ghost{position:fixed;z-index:60;margin:0;pointer-events:none;background:var(--bg);border-radius:10px;box-shadow:0 16px 36px -10px rgba(0,0,0,.35),0 0 0 1px var(--line2);transform:scale(1.02) rotate(-.4deg);cursor:grabbing}
.gl-st{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.nowbtn{font-size:12px;font-weight:600;color:var(--bluet);padding:1px 7px;border-radius:6px;background:var(--blue-bg)}
.nowbtn:hover{background:color-mix(in srgb,var(--blue-bg) 70%,var(--bluet) 18%)}
.needs{display:inline-flex;align-items:center;gap:7px;margin-left:auto;font-size:13px;font-weight:500;color:var(--ink2);padding:3px 10px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--line2)}
.needs:hover{background:var(--hover)}
@media (max-width:1100px){.gl{grid-template-columns:14px 10px minmax(0,1fr) 170px 130px 108px 50px}}

.gm-scrim{position:fixed;inset:0;z-index:38;background:var(--overlay);opacity:0;pointer-events:none;transition:opacity .2s;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.gm-scrim.show{opacity:1;pointer-events:auto}
.gmodal{position:fixed;z-index:39;left:50%;top:4vh;width:min(980px,calc(100vw - 32px));max-height:92vh;display:flex;flex-direction:column;background:var(--bg);border-radius:16px;box-shadow:var(--shadow);
  opacity:0;pointer-events:none;transform:translate(-50%,14px) scale(.985);transition:opacity .18s,transform .25s cubic-bezier(.2,1,.3,1)}
.gmodal.show{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.gm-top{display:flex;align-items:center;gap:4px;padding:8px 12px;border-bottom:1px solid var(--line);font-size:14px}
.gm-top button[disabled]{opacity:.3;pointer-events:none}
.gm-body{overflow-y:auto;padding:22px 32px 36px}
.gm-h{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px}
.gm-dot{width:12px;height:12px;border-radius:50%;margin-top:12px;flex:none;background:var(--faint)}
.gm-dot.st-on{background:var(--green)}.gm-dot.st-risk{background:var(--yellow)}.gm-dot.st-off{background:var(--red)}.gm-dot.st-paused{background:var(--line2)}
.gm-ht{flex:1;min-width:0}.gm-ht h2{margin:0 0 2px;font-size:26px;letter-spacing:-.01em}.gm-ht .gtx{outline:none;border-radius:4px}.gm-ht .gtx:focus{box-shadow:0 0 0 2px var(--blue-bg)}
.gm-nowlink{font-size:13.5px;color:var(--muted);margin:-6px 0 16px;display:inline-block}
.gm-now{border-radius:12px;padding:14px 16px 16px;margin-bottom:22px;background:color-mix(in srgb,var(--blue-bg) 45%,var(--bg));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--bluet) 22%,transparent)}
.gm-nowh{display:flex;align-items:baseline;gap:10px;margin-bottom:10px}.gm-nowh h3{margin:0;font-size:17px}
.gm-opts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gm-opt{background:var(--bg);border-radius:10px;padding:12px 14px;box-shadow:var(--card-shadow)}
.gm-opt>b{display:flex;align-items:center;gap:7px;font-size:14.5px}.gm-opt>b svg.ic{width:16px;height:16px;color:var(--bluet)}
.gm-opt p{margin:4px 0 0}.gm-opt .inp{width:100%;margin-top:8px}
.gm-opt .target input{width:56px}
#gm-prev{margin-top:6px;display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.gm-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-bottom:8px}
.gm-stat{padding:12px 14px;border-radius:10px;box-shadow:var(--card-shadow);display:flex;flex-direction:column;gap:2px;min-width:0}
.gm-stat span{font-size:12.5px;color:var(--muted)}.gm-stat b{font-size:20px;font-weight:700;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-stat small{font-size:12px;color:var(--muted)}
.gm-sec{margin-top:22px}.gm-sec h3{margin:0 0 4px;font-size:16px}
.gm-sech{display:flex;justify-content:space-between;align-items:center;gap:10px}
.gm-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
/* one grid for all rows, so the label column is as wide as the widest label ("10,800–12,200", "4+") */
.gm-dist{display:grid;grid-template-columns:max-content minmax(0,1fr) 28px;align-items:center;gap:5px 10px;margin-top:8px;font-size:13px}
.gm-bin{display:contents}
.gm-bin span{color:var(--muted);text-align:right;white-space:nowrap}.gm-bin i{height:14px;border-radius:4px;background:var(--red-bg);min-width:2px}.gm-bin.hit i{background:var(--s9)}.gm-bin b{font-weight:600;font-variant-numeric:tabular-nums}
.gm-pay{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0}
.gm-pay div{padding:12px;border-radius:10px;box-shadow:var(--card-shadow);display:flex;flex-direction:column;gap:2px}.gm-pay b{font-size:24px}.gm-pay span{font-size:12.5px;color:var(--muted)}
.gm-note{display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;padding:8px 10px;margin-top:4px;border-radius:8px;font-size:14px;line-height:1.45}
.gm-note:hover{background:var(--hover)}
.gm-x{display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--line);font-size:14px}.gm-xt{flex:1;min-width:0}
.gm-log>div{display:flex;gap:12px;padding:5px 0;font-size:14px}.gm-log>div span:first-child{width:120px;flex:none}
.gm-whatif{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px;font-size:14.5px}
.gm-whatif b{font-size:18px;min-width:70px}.gm-whatif input[type=range]{flex:1;min-width:200px;accent-color:var(--blue)}
.gm-wres{margin-top:8px;font-size:14.5px;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
@media (max-width:860px){
  .gl{grid-template-columns:14px 10px minmax(0,1fr) auto}
  .gl .grip{grid-row:1;grid-column:1;opacity:.5}.gl .gdot{grid-row:1;grid-column:2}.gl-n{grid-column:3;grid-row:1}
  .gl-v{grid-column:3;grid-row:2}.gl-x{grid-column:4;grid-row:2;align-items:flex-end}.gl-st{grid-column:4;grid-row:1;align-items:flex-end}.gl-a{display:none}
  .gmodal{top:0;left:0;width:100vw;max-height:100vh;height:100vh;border-radius:0;transform:translateY(16px)}.gmodal.show{transform:none}
  .gm-body{padding:16px 16px 40px}.gm-opts,.gm-cols{grid-template-columns:1fr}.gm-ht h2{font-size:21px}
}

/* v12 · Home: focus + score, then one "To do this week" list */
.ov>.focus-card{justify-content:flex-start}
.focus-card .focus-ed{font-size:19px;line-height:1.45;font-weight:500;letter-spacing:-.01em;min-height:56px}
.focus-prev{margin-top:auto;padding-top:12px}
.score-card .hero-n{margin-bottom:10px}
.scbars{display:flex;align-items:flex-end;gap:4px;height:56px;margin-bottom:6px}
.scb{flex:1;height:100%;display:flex;align-items:flex-end;cursor:pointer;border-radius:3px}
.scb i{display:block;width:100%;border-radius:3px;opacity:.75;transition:opacity .12s}
.scb:hover i,.scb.last i{opacity:1}
.todo-card h4{margin-bottom:4px}
.todo{display:flex;align-items:center;gap:12px;padding:9px 8px;margin:0 -8px;border-radius:8px;border-top:1px solid var(--line)}
.todo:first-of-type{border-top:0}
.todo:hover{background:var(--hover)}
.todo-i{width:28px;height:28px;flex:none;display:grid;place-items:center;border-radius:8px;background:var(--hover);font-size:15px}
.todo.due .todo-i{background:var(--orange-bg)}
.todo.warn .todo-i{background:var(--red-bg,var(--orange-bg))}
.todo-b{flex:1;min-width:0}
.todo-t{font-size:14.5px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.todo-s{font-size:12.5px;color:var(--muted);margin-top:1px}
.todo.due .todo-s{color:var(--orange)}
.todo.warn .todo-s{color:var(--red)}
.todo>.btn,.todo>a.ghost,.todo>button{flex:none}
.todo-x{opacity:0;transition:opacity .12s}
.todo:hover .todo-x{opacity:.7}
.todo-later{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);padding:10px 0 2px;border-top:1px solid var(--line);margin-top:4px}
.todo-add{margin:8px 0 2px}
.todo-empty{margin:4px 0}
@media (max-width:860px){.todo-t{white-space:normal}.todo-x{opacity:.6}.focus-card .focus-ed{font-size:17px}}
.btn.ghostbtn{background:transparent;color:var(--ink2);box-shadow:inset 0 0 0 1px var(--line)}.btn.ghostbtn:hover{background:var(--hover);filter:none}
.todo-later{flex-wrap:wrap;row-gap:2px}
/* v12b · compact score card so the focus card next to it stays short */
.sc-row{display:flex;align-items:flex-end;gap:16px}
.sc-l{display:flex;flex-direction:column;gap:2px;flex:none}
.sc-l .n{font-size:30px;font-weight:700;letter-spacing:-.02em;line-height:1}
.sc-l .n small{font-size:14px;color:var(--muted);font-weight:500;margin-left:2px}
.sc-l .d{font-size:12.5px;white-space:nowrap}
.sc-row .scbars{flex:1;height:40px;margin:0;min-width:0}
.focus-card .focus-ed{min-height:0}
.focus-prev{padding-top:8px}

/* v13 · This week's habits: tick off the day you did it */
.tick-card{padding-bottom:8px}
.tk-row{display:grid;grid-template-columns:minmax(130px,230px) repeat(7,34px) minmax(0,1fr);align-items:center;gap:4px;padding:5px 0;border-top:1px solid var(--line)}
.tk-row.tk-head{border-top:0;padding-top:0}
.tk-head h4{margin:0}
.tk-d{text-align:center;font-size:11.5px;color:var(--faint);font-weight:500}
.tk-d.today{color:var(--blue);font-weight:700}
.tk-name{font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tk-st{font-size:13px;white-space:nowrap;padding-left:14px}
.tk{justify-self:center;width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line2,var(--line));background:transparent;cursor:pointer;transition:transform .08s,background .12s,box-shadow .12s;position:relative}
.tk:hover:not(:disabled){box-shadow:inset 0 0 0 1.5px var(--green)}
.tk:active:not(:disabled){transform:scale(.88)}
.tk.on{background:var(--green);box-shadow:none}
.tk.on::after{content:"";position:absolute;left:8.5px;top:5px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.tk.today:not(.on){box-shadow:inset 0 0 0 2px var(--blue)}
.tk:disabled{cursor:default;opacity:.35;box-shadow:none;background:var(--hover);width:8px;height:8px}
.tk-row.hit .tk-name{color:var(--muted)}
.tickhint{font-size:12.5px;color:var(--green);margin-top:6px}
.tickhint:empty{display:none}
@media (max-width:860px){
  .tk-row{grid-template-columns:minmax(0,1fr) repeat(7,28px);row-gap:0}
  .tk-row .tk-st{grid-column:1/-1;text-align:left;font-size:12px;margin-top:-2px;padding-left:0}
  .tk-head .tk-st,.tk-name .faint{display:none}
  .tk{width:26px;height:26px}
  .tk.on::after{left:9.5px;top:5.5px}
}

/* v14 · number sections in the check-in: one box per number, notes below */
.ci-smart{grid-template-columns:180px minmax(0,1fr)}
.sm-form{max-width:720px}
.sm-row{display:grid;grid-template-columns:minmax(100px,160px) 140px minmax(0,1fr) 80px;align-items:center;gap:10px;padding:3px 0}
.sm-head{font-size:12px;color:var(--faint);font-weight:500;padding-bottom:4px}
.sm-head span:last-child,.sm-prev{text-align:right}
.sm-name{font-size:14.5px;color:var(--ink2);cursor:text}
.sm-in{display:flex;align-items:center;gap:6px}
.sm-in input{width:100px;height:30px;border:0;border-radius:6px;box-shadow:inset 0 0 0 1px var(--line2);background:var(--bg);padding:0 10px;font-size:15px;font-weight:600;text-align:right;outline:none;color:var(--ink);font-family:inherit}
.sm-in input:focus{box-shadow:inset 0 0 0 2px var(--blue)}
.sm-in input.ticked{color:var(--green);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--green) 45%,transparent);background:color-mix(in srgb,var(--green-bg) 60%,transparent)}
.sm-u{font-size:13px;color:var(--muted);min-width:20px}
.sm-st{display:flex;align-items:center;gap:4px 10px;font-size:12.5px;flex-wrap:wrap}
.sm-tick{color:var(--green)}
.sm-goal{display:inline-flex;align-items:center;gap:5px;color:var(--muted)}
.sm-goal i{width:7px;height:7px;border-radius:50%;background:var(--faint)}
.sm-goal.hit i{background:var(--green)}.sm-goal.near i{background:var(--s7)}.sm-goal.miss i{background:var(--red)}
.sm-prev{font-size:13.5px;color:var(--muted);white-space:nowrap}
.sm-notes{margin-top:10px!important;min-height:44px;box-shadow:inset 0 0 0 1px var(--line);padding:8px 10px!important;margin-left:0!important;margin-right:0!important;border-radius:8px}
.pv-sm{display:grid;grid-template-columns:auto 60px auto;gap:4px 8px;align-items:center;font-size:12.5px;margin-bottom:6px}
.pv-sm i{height:16px;border-radius:4px;box-shadow:inset 0 0 0 1px var(--line2)}
@media (max-width:860px){
  .ci-smart{grid-template-columns:1fr}
  .sm-row{grid-template-columns:minmax(0,1fr) 118px 52px;row-gap:0}
  .sm-st{grid-column:1/-1;order:5}
  .sm-st:empty{display:none}
  .sm-in input{width:76px}
  .sm-head span:nth-child(3){display:none}
}
/* v15 · experiments closed this week: one quiet line */
.xline{display:flex;align-items:flex-start;gap:10px;padding:6px 10px;margin:2px 0 8px;border-radius:8px;background:var(--hover);font-size:13.5px;min-width:0}
.xl-s{flex:none;display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-weight:500;font-size:12.5px}
.xl-s .xscore{font-size:11.5px}
.xl-t{flex:1;min-width:0;overflow:hidden;color:var(--ink2);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.xline .ghost{flex:none}
.xline .xl-s,.xline .ghost{margin-top:1px}

/* v16 · Vea OS: brand, user area, user menu, Account settings */
.brand{display:inline-flex;align-items:flex-start;gap:2px;font-weight:750;letter-spacing:-.035em;font-size:22px;color:var(--ink);line-height:1}
.brand-os{font-size:.42em;font-weight:700;letter-spacing:.06em;color:var(--blue);margin-top:.12em}
.start-brand .brand{font-size:44px}
#ws-btn{display:flex;align-items:center;gap:10px;padding:4px 10px 4px 4px;border-radius:999px;max-width:260px;min-width:0;transition:background .15s}
#ws-btn:hover,#ws-btn.on{background:var(--hover)}
.avatar{width:32px;height:32px;border-radius:50%;flex:none;object-fit:cover;display:grid;place-items:center;box-shadow:0 0 0 1px var(--line2)}
.avatar.ini{background:linear-gradient(135deg,#3a6ea5,#1d3557);color:#fff;font-size:12.5px;font-weight:650;letter-spacing:.02em;box-shadow:none}
.avatar.lg{width:40px;height:40px;font-size:14px}
.avatar.xl{width:72px;height:72px;font-size:24px}
.ws-t{display:flex;flex-direction:column;min-width:0;line-height:1.15;text-align:left}
#ws-btn .wsname{font-size:14px;font-weight:650}
.ws-sub{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.umenu{min-width:270px;padding:6px}
.umenu .um-head{display:flex;align-items:center;gap:12px;padding:8px 8px 12px;border-bottom:1px solid var(--line);margin-bottom:4px}
.umenu .um-head b{display:block;font-size:14.5px}
.umenu .um-head span{font-size:12.5px;color:var(--muted)}
.umenu button{display:flex;align-items:center;gap:10px;width:100%}
.umenu .um-l{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.umenu .um-ws{width:18px;text-align:center;flex:none}
.umenu .um-on{color:var(--blue);font-weight:700}
.umenu svg.ic{width:16px;height:16px;color:var(--muted);flex:none}
.umenu hr{margin:4px 0}
.umenu .um-look{display:flex;align-items:center;gap:10px;padding:6px 8px}
.umenu .um-seg{flex:none}.umenu .um-seg button{width:auto;height:24px;padding:0 9px;font-size:12.5px}
.umenu .um-foot{display:flex;justify-content:center;padding:10px 0 4px;border-top:1px solid var(--line);margin-top:4px;opacity:.55}
.umenu .um-foot .brand{font-size:15px}
.acct{max-width:640px;display:flex;flex-direction:column;gap:12px}
.acct-s{background:var(--bg);box-shadow:var(--card-shadow);border-radius:12px;padding:16px 18px}
.acct-s h3{margin:0 0 12px;font-size:15px}
.acct-me{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:16px;align-items:center;margin-bottom:14px}
.acct-me .avatar{grid-row:1/3}
.acct-note{margin:4px 0 0}
.acct-row{display:flex;gap:12px;align-items:flex-start;margin-bottom:8px}
.acct-ic{width:32px;height:32px;border-radius:8px;background:var(--hover);display:grid;place-items:center;flex:none}
.acct-brand{display:flex;flex-direction:column;align-items:center;gap:6px;margin:18px 0 6px;opacity:.8}
@media (max-width:860px){#ws-btn{max-width:200px;padding-right:6px}#ws-btn .ws-sub{display:none}}

/* v17 · veaos.app sign-in */
.signin{min-height:100vh;display:grid;place-items:center;padding:24px 16px;background:radial-gradient(1200px 600px at 50% -10%,color-mix(in srgb,var(--blue) 10%,transparent),transparent 70%)}
.signin-card{width:min(400px,100%);background:var(--bg);box-shadow:var(--card-shadow);border-radius:16px;padding:32px 28px 24px;display:flex;flex-direction:column}
.signin-brand .brand{font-size:40px}
.signin-tag{color:var(--muted);margin:8px 0 22px;font-size:14.5px}
.signin form{display:flex;flex-direction:column;gap:8px}
.signin label{font-size:13px;color:var(--muted);font-weight:500}
.signin .inp{height:40px;font-size:15px}
.signin-btn{height:40px;justify-content:center;margin-top:6px;font-size:15px}
.signin-msg{min-height:20px;margin:14px 0 0;font-size:13.5px;color:var(--muted)}
.signin-msg.good{color:var(--green)}.signin-msg.bad{color:var(--red)}
.signin-foot{margin:14px 0 0;text-align:center}
/* Sign in or Join: one card, two modes (2026-10-21) */
.signin-box:not(.joining) .join-only{display:none}
.signin-box.joining .signin-only,.signin-box.joining #signin-pk,.signin-box.joining .signin-or{display:none}
#invite-form{margin-top:12px}
.signin-msg{overflow-wrap:anywhere}
.start>div.start-brand{width:auto;height:auto;background:none;border-radius:0;display:block;color:var(--ink);font-size:inherit!important}   /* div.: beats the old icon tile rule .start>div:first-child, which drew a gradient square under the wordmark */
/* v18 · passkeys */
.signin-pk{gap:8px}
.signin-pk svg.ic{width:17px;height:17px;color:#fff}
.signin-or{display:flex;align-items:center;gap:10px;margin:16px 0 10px;color:var(--faint);font-size:12.5px}
.signin-or::before,.signin-or::after{content:"";flex:1;height:1px;background:var(--line)}
.btn.sec.signin-btn{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line2)}
.acct-s .pk{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.pk-h{display:flex;flex-direction:column;gap:2px}
#pk-list{width:100%}
.pk-row{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--line);width:100%;font-size:14px}
.pk-row svg.ic{width:16px;height:16px;color:var(--muted)}
/* v19 · Apple-style Home header */
.hero{margin:6px 0 22px}
.hero-day{font-size:13px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--red)}
.hero-week{font-size:40px;font-weight:750;letter-spacing:-.03em;line-height:1.05;margin:2px 0 8px}
.hero-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.hero-year{width:120px;height:6px;border-radius:3px;background:var(--line2);overflow:hidden;flex:none}
.hero-year i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,var(--blue),#7c6cf0)}
@media (max-width:860px){.hero-week{font-size:34px}.hero-year{width:90px}}
/* v20 · life goals: exact dates and bundles of weekly goals */
.gdate{font-size:11.5px;font-weight:600;color:var(--muted);background:var(--hover);border-radius:5px;padding:1px 6px;white-space:nowrap;flex:none}
.gbadge{font-size:11.5px;font-weight:650;color:var(--ink2);background:var(--hover);border-radius:5px;padding:1px 6px;flex:none}
.gdate-in{width:auto;max-width:170px}
.gbundle{margin:4px 0 14px;border:1px solid var(--line);border-radius:10px;padding:4px 8px}
.gb-row{display:flex;align-items:center;gap:9px;padding:7px 4px;border-bottom:1px solid var(--line);cursor:pointer;border-radius:6px;font-size:14px}
.gb-row:hover{background:var(--hover)}
.gb-n{flex:1;min-width:0}
.gb-x{opacity:0}.gb-row:hover .gb-x{opacity:.7}
.gbundle .addrow{margin:4px 0 2px}
/* v21 · Review cards as widgets */
.rv-head{display:flex;align-items:center;justify-content:space-between;margin:10px 0 6px}
.rv-w{display:flex;align-items:center;gap:8px;cursor:grab;min-height:64px;border:1.5px dashed var(--line2)}
.rv-w.over{box-shadow:inset 0 0 0 2px var(--blue)}
.rv-w b{flex:1;font-size:14.5px}
.rv-grip{color:var(--faint)}
.rv-add{display:grid;place-items:center;min-height:64px;color:var(--muted);border:1.5px dashed var(--line2);background:transparent;font-size:14px;cursor:pointer}
.rv-add:hover{color:var(--ink);background:var(--hover)}
/* v22 · daily quote */
.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px}
.hero-l{min-width:0;flex:none}
.hero-q{all:unset;cursor:pointer;max-width:430px;display:flex;flex-direction:column;gap:6px;text-align:right;padding:4px 0 2px;border-radius:8px;transition:opacity .2s}
.hero-q:hover .q-t{color:var(--ink)}
.q-t{font-size:15px;line-height:1.45;color:var(--ink2);font-style:italic;font-family:Georgia,'Iowan Old Style','Times New Roman',serif}
.q-by{font-size:12px;color:var(--faint)}
.acct-check{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:14px;cursor:pointer}
@media (max-width:860px){.hero{flex-direction:column;align-items:flex-start;gap:14px}.hero-q{text-align:left;max-width:none}}
/* v23 · end-to-end encryption */
.rc-code{font:600 18px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em;padding:14px 16px;border-radius:10px;background:var(--hover);margin:10px 0;user-select:all;word-break:break-word}
.e2ee-setup #rc-confirm{margin:6px 0 4px;font-family:ui-monospace,monospace}
.e2ee-list{margin:6px 0 10px 18px;padding:0}
.unlock-rc{margin:14px 0 6px;font-size:14px}
.unlock-rc summary{cursor:pointer;color:var(--muted)}
.unlock-rc form{margin-top:8px}
/* v24 · year as 52 week blocks */
.hero-weeks{display:grid;grid-auto-flow:column;grid-auto-columns:3px;gap:2px;height:12px;align-items:stretch;flex:none}
.hero-weeks i{border-radius:1.5px;background:var(--line2)}
.hero-weeks i.past{background:var(--red);opacity:.85}
.hero-weeks i.now{background:var(--red);box-shadow:0 0 0 1.5px color-mix(in srgb,var(--red) 35%,transparent);transform:scaleY(1.25)}
@media (max-width:860px){.hero-weeks{grid-auto-columns:2.5px;gap:1.5px}}
/* v25 · clearer encryption card */
.e2ee-ok{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:10px;background:color-mix(in srgb,var(--green-bg) 70%,transparent);margin-bottom:12px}
.e2ee-check{width:26px;height:26px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:700;flex:none}
.e2ee-tip{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px 14px;border-radius:10px;background:var(--blue-bg);margin-bottom:12px;font-size:14px}
.e2ee-rows{display:flex;flex-direction:column}
.e2ee-row{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--line)}
.e2ee-row>div{flex:1;min-width:0}
.e2ee-row .btn{flex:none}
@media (max-width:860px){.e2ee-row{flex-wrap:wrap}.e2ee-row .btn{margin-left:44px}}

/* ---------- v26: wider dashboards, Home in two columns, "This week" card ---------- */
/* Home: on smaller screens the two column wrappers dissolve into the normal grid, in this order */
.home-main,.home-side{display:contents}
/* phone order: focus, to do (time-sensitive, usually short), this week's habits, the score */
.home .week-card{order:1}.home .todo-card{order:2}.home .habits-card{order:3}.home .lookback-card{order:4}
@media (min-width:1320px){
  /* one width for every page: 1200px of content, so nothing jumps between tabs */
  .page.wide{max-width:1312px;padding-left:56px;padding-right:56px}
  .page.wide .ov{max-width:none}
}

/* "This week": the focus as a headline, the to-dos under it */
.week-card{padding:0;overflow:hidden}
.week-card .wc-focus{border-bottom:0}
a.todo{color:inherit;text-decoration:none}
.todo.soon .cu-c{color:var(--orange);font-weight:600}
.wc-focus{padding:20px 22px 18px;background:linear-gradient(135deg,color-mix(in srgb,var(--blue) 9%,transparent),color-mix(in srgb,var(--blue) 2%,transparent) 70%);border-bottom:1px solid var(--line)}
.wc-label{font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.wc-focus .wc-label{color:var(--blue)}
.week-card .focus-ed{font-size:24px;line-height:1.3;font-weight:600;letter-spacing:-.02em;margin-top:6px;min-height:0;outline:none}
.week-card .focus-ed:empty::before{color:var(--faint);font-weight:500}
.week-card .focus-prev{font-size:12.5px;color:var(--muted);margin-top:8px;padding:0}
.wc-todo{padding:12px 22px 10px}
.wc-head{display:flex;align-items:center;justify-content:space-between;min-height:28px;margin-bottom:2px}
.wc-todo .todo{margin:0 -10px;padding:9px 10px}
.wc-todo .todo:first-of-type{border-top:0}
.todo-acts{display:flex;gap:2px;flex:none}
.todo-acts .ghost{padding:2px 5px;font-size:12.5px;color:var(--muted)}
.todo-acts [data-act="todo-later"]{color:var(--blue)}
.todo-acts [data-act="todo-hide"]{color:var(--red)}
/* understated but visible: always there at half strength, full on hover */
.todo-acts.todo-x{opacity:.6}.todo:hover .todo-x,.todo-wrap:hover .todo-x{opacity:1}
.todo-wrap{display:flex;align-items:center;gap:4px}.todo-wrap .todo{flex:1;min-width:0}
.todo-wrap+.todo-wrap .todo,.todo+.todo-wrap .todo,.todo-wrap+.todo{border-top:1px solid var(--line)}
.todo-add{display:grid;grid-template-columns:minmax(0,1fr) 160px auto auto;gap:8px;align-items:center;margin:4px 0 8px;padding-top:8px;border-top:1px solid var(--line)}
.todo-add .inp{width:100%;margin:0}
.wc-todo .todo-later{margin-top:2px}
@media (max-width:860px){
  .wc-focus{padding:16px 16px 14px}.wc-todo{padding:10px 16px 8px}
  .week-card .focus-ed{font-size:20px}
  .todo-add{grid-template-columns:minmax(0,1fr) auto}.todo-add #dt-title{grid-column:1/-1}
}
/* Adjust the goal: your own target and date */
.gm-own{margin:12px 0 0}
.gm-ownf{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin-top:6px}
.gm-ownf label{display:flex;flex-direction:column;gap:3px}
.gm-ownf #gm-otv{width:110px}.gm-ownf #gm-odv{width:auto}

/* v27: Check-in sits next to the page tabs; saved, search and Customize in the top-right corner */
.tmid{display:flex;align-items:center;gap:14px;justify-self:center;min-width:0}
.tmid .cibtn{margin-left:0}
@media (max-width:860px){.tmid{display:none}}
/* Check in fills up with blue as the week goes by (Monday empty, Sunday night full) */
/* Top bar (2026-10-04): you + search left, pages centred, actions right: outlined New next to the blue Check in */
.tleft{display:flex;align-items:center;gap:8px;justify-self:start;min-width:0}
.top .tleft .ws{justify-self:auto}
.tleft .tsearch{height:32px;padding:0 8px 0 10px;gap:6px;border-radius:9px;background:color-mix(in srgb,var(--ink) 5%,transparent);color:var(--muted)}
.tleft .tsearch:hover{background:var(--hover);color:var(--ink2)}
.tleft .tsearch .tlabel{font-size:13.5px;margin-right:14px}
.tacts .tnew{height:34px;padding:0 12px 0 10px;border-radius:10px;color:var(--ink);font-weight:500;box-shadow:inset 0 0 0 1px var(--line2)}
.tacts .tnew:hover{background:var(--hover)}
.tacts .cibtn{min-width:124px;justify-content:center;margin-left:4px}

/* ---------- v28: one Habits card, Coming up, New in the top bar, Learnings on wide screens ---------- */
/* Insights / Learnings number cards fill the row */
.rvgrid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}

/* Coming up: key dates and dated life goals */
.coming-card h4{margin-bottom:4px}
.cu{display:flex;align-items:center;gap:10px;padding:8px 8px;margin:0 -8px;border-radius:8px;border-top:1px solid var(--line)}
.coming-card h4+.cu{border-top:0}
.cu.click:hover{background:var(--hover)}
.cu .todo-t{font-size:14px}
.cu-c{font-size:12.5px;color:var(--muted);white-space:nowrap}
.cu.soon .cu-c{color:var(--orange);font-weight:600}
.cu.click{cursor:pointer}.todo-add .danger{color:var(--red);justify-self:end}
.coming-card .todo-add{grid-template-columns:minmax(0,1fr) auto;border-top:0}
.coming-card .todo-add #dt-title{grid-column:1/-1}
.cu-more{display:block;padding-top:6px;color:var(--faint);text-decoration:none}.cu-more:hover{color:var(--muted)}


/* "What now?" shows when you point at a goal (always on touch screens) */
@media (hover:hover){
  .gl .nowbtn,.hb-row .nowbtn{opacity:0;transition:opacity .12s}
  .gl:hover .nowbtn,.hb-row:hover .nowbtn,.nowbtn:focus-visible{opacity:1}
}

/* New: a menu in the top bar on computers; phones keep the round ＋ */
.tnew{gap:4px;font-weight:500}
.tnew .tlabel{font-size:13.5px}
@media (min-width:861px){.dock{display:none}}
@media (max-width:860px){.tnew{display:none}}

/* Learnings on wide screens: the playbook in two columns */
@media (min-width:1320px){
  .lgrid{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}
  .pbgrid{columns:2;column-gap:12px}
  .pbgrid .pbcard{break-inside:avoid;margin:0 0 12px;display:block}
}
/* Goals on Home share the row with the side column: tighter number columns, more room for the title */
/* number goals on Home share the habit rows' columns: dot · name · bar · value · status (no grip, no actions) */
.home .gl{grid-template-columns:var(--hbc);column-gap:12px;row-gap:0;padding:0;margin:0;border-radius:0;border-bottom:0;border-top:1px solid var(--line);min-height:44px}
.home .gl .grip,.home .gl .gl-a{display:none}
.home .gl:hover{background:none}
/* the two kinds of row share widths: bars as wide as the seven circles, status and What now? centred in their column */
.hb-bar,.home .gl .gl-v{max-width:182px;width:100%}
.home .gl .gl-st{justify-content:center}
.habits-card .nowbtn{position:static;transform:none;white-space:nowrap}
.home .gl .gl-x span{white-space:normal;line-height:1.25}
.home .gl .gl-v .pbar{max-width:182px}
/* the Habits label lives on the column-header row */
.hb-cols .hb-h{grid-column:1/3;margin:0;font-size:11px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);align-self:center}
.hb-row.hb-cols{min-height:30px;border-bottom:1px solid var(--line);padding-bottom:4px}

/* ---------- v29: life roadmap across the full width ---------- */
.roadmap-sec{margin-top:34px}
.roadmap-sec .sec-h{margin-bottom:6px}

/* ---------- v30: Habits & goals card on one shared grid ---------- */
/* dot · name · this week (Mon–Sun or a bar) · value · last weeks · status */
.habits-card{--hbc:8px minmax(0,1fr) 206px 160px 120px;padding:16px 20px 10px}
.hb-part{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:30px}
.hb-part h4{margin:0;font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.hb-part h4 span{margin-left:8px;font-weight:400;letter-spacing:0;text-transform:none;font-size:12.5px;color:var(--faint)}
.hb-acts{display:flex;gap:2px}
.habits-card .glist+.hb-part,.habits-card .hb-row+.hb-part{margin-top:18px}
.hb-row{display:grid;grid-template-columns:var(--hbc);column-gap:12px;align-items:center;min-height:44px;border-top:1px solid var(--line)}
.hb-row.hb-cols{min-height:24px;border-top:0;font-size:11.5px;color:var(--faint)}
.hb-cols .tk-d{width:26px;text-align:center}
.hb-n{all:unset;cursor:pointer;display:flex;align-items:baseline;gap:7px;min-width:0;font-size:14.5px;border-radius:6px;padding:3px 6px;margin-left:-6px}
.hb-n:hover{background:var(--hover)}
.hb-l{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hb-t{white-space:nowrap;font-size:12.5px;color:var(--faint)}
.hb-7{display:flex;gap:4px;align-items:center}
.hb-7 .tk{width:26px;height:26px;flex:none}
.hb-typed{font-size:12.5px;color:var(--faint)}
.hb-w{font-size:13px;white-space:nowrap}
.hb-d.dots{flex-wrap:nowrap;gap:2px}.hb-d.dots i{width:7px;height:7px;border-radius:2px}
/* status as quiet coloured text (the dot before the name already shows the colour); "What now?" takes its place on hover */
.habits-card .st{background:none!important;padding:0;font-size:12.5px;font-weight:500}
.habits-card .st::before{display:none}
.habits-card .st-on{color:var(--green)}.habits-card .st-risk{color:var(--orange)}.habits-card .st-off{color:var(--red)}.habits-card .st-paused,.habits-card .st-none{color:var(--faint)}
.hb-st,.habits-card .gl-st{position:relative;display:flex;align-items:center;min-height:24px}
.habits-card .nowbtn{position:absolute;left:-4px;top:50%;transform:translateY(-50%);white-space:nowrap}
@media (hover:hover){
  .habits-card .nowbtn{opacity:0;pointer-events:none}
  .hb-row:hover .nowbtn,.habits-card .gl:hover .nowbtn{opacity:1;pointer-events:auto}
  .hb-row:hover .why:has(+.nowbtn),.habits-card .gl:hover .why:has(+.nowbtn){opacity:0}
}
/* goal rows use the same columns: the bar sits under the days, the numbers under value + last weeks */
@media (min-width:861px){
  .habits-card .gl{grid-template-columns:var(--hbc);column-gap:12px;gap:0 12px;padding:9px 0;margin:0;border-radius:0;border-bottom:0;border-top:1px solid var(--line);min-height:44px}
  .habits-card .gl .grip,.habits-card .gl .gl-a{display:none}
  .habits-card .gl-v .pbar{height:6px}
}
.habits-card .gl-t{font-size:14.5px}
.habits-card .gl-s{font-size:12.5px}
.habits-card .gl-x b{font-size:13.5px;font-weight:600}
.habits-card .gl-x span{font-size:12px}
.habits-card .gl:hover{background:none}
.habits-card .gl:hover .gl-t{text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:3px}
@media (max-width:860px){
  .habits-card{padding:14px 14px 8px}
  .hb-row{grid-template-columns:8px minmax(0,1fr) auto;row-gap:6px;padding:8px 0}
  .hb-row.hb-cols,.hb-st{display:none}
  .hb-7{grid-column:2/-1}
  .hb-7 .tk{width:30px;height:30px}.hb-7{justify-content:space-between}
  .hb-typed{justify-content:flex-start}
  .hb-row .hb-w{grid-row:1;grid-column:3}
}
.hb-7 .tk{position:relative}
.hb-7 .tk.later{box-shadow:inset 0 0 0 1.5px var(--line);opacity:.6}
.hb-7 .tk.on::after{left:50%;top:46%;transform:translate(-50%,-50%) rotate(45deg)}
.habits-card .why{padding:0;margin:0;background:none}.habits-card .st{margin:0}.habits-card .gl-st{flex-direction:row;gap:0;padding:0}

/* v31: closed panels are inert; one "Last 12 weeks" header over the dots and the status they decide */
.gmodal:focus,.peek:focus{outline:none}
.hb-std{font-size:11.5px;color:var(--faint);text-align:center}
.habits-card .hb-st{justify-content:center}
a.ghost{text-decoration:none}

/* Reminders (Account settings) */
.push-steps{margin:6px 0 2px 18px;padding:0;line-height:1.7}
.push-when{align-items:center;gap:8px}
.push-when .sel{width:auto}

/* Rest weeks: striped, not counted */
.dots i.rest{background:repeating-linear-gradient(135deg,var(--line2) 0 2px,var(--empty) 2px 4px)}
.wk.rest{box-shadow:inset 0 0 0 1.5px var(--line2);background-image:repeating-linear-gradient(135deg,rgba(128,128,128,.28) 0 2px,transparent 2px 5px)}
.rest-seg{display:inline-flex;margin-right:8px}
/* Calmer statuses (2026-10-03): a coloured dot carries the status, the words stay neutral; no red to-do */
.habits-card .st::before{display:inline-block}
.habits-card .st-on,.habits-card .st-risk,.habits-card .st-off{color:var(--ink2)}
.todo.warn .todo-i{background:var(--orange-bg)}
.todo.warn .todo-s{color:var(--muted)}
/* What goes with a good week: how sure each link is */
.corr.weak{opacity:.62}.corr.weak:hover{opacity:1}
.ev{font-weight:500}.ev-clear{color:var(--green)}.ev-likely{color:var(--blue)}.ev-weak{color:var(--faint)}
/* Check-in: the same week a year ago */
.ago{display:flex;align-items:center;gap:10px;width:100%;text-align:left;margin:4px 0 14px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--gray-bg);font-size:13.5px;color:var(--ink2)}
.ago:hover{background:var(--hover)}
.ago-l{color:var(--muted);white-space:nowrap;font-size:12.5px}
.ago-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Review: "In short" */
.story{margin:6px 0 14px;padding:12px 14px;border-left:3px solid var(--line2);background:var(--gray-bg);border-radius:0 8px 8px 0}
.story-l{display:block;font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.story p{margin:0;font-size:14.5px;line-height:1.6;color:var(--ink)}
/* Home: your life in weeks */
.lgwrap{overflow-x:auto}
.lifegrid{display:block;width:100%;max-width:820px;height:auto;margin:6px 0 4px}
.lifegrid .lg-open{stroke:var(--line);stroke-width:.8}
.lifegrid .lg-now{stroke:var(--ink);stroke-width:1.5;fill:var(--bg)}
.lifegrid .lg-w{cursor:pointer}.lifegrid .lg-w:hover{stroke:var(--ink);stroke-width:1}
.lifegrid text{font-size:8px;fill:var(--muted);font-family:inherit}
.lifegrid .lg-age.now{fill:var(--ink);font-weight:700}
.lifegrid .lg-goal{cursor:pointer}.lifegrid .lg-goal text{fill:var(--ink2)}.lifegrid .lg-goal:hover text{fill:var(--ink);text-decoration:underline}
.lg-sum{margin:2px 0 0}
/* Year in review */
.yr-nav{margin-top:0}
.yr-hero{padding:18px 0 6px}
.yr-big{font-size:72px;font-weight:800;letter-spacing:-.04em;line-height:1;color:var(--ink)}
.yr-hero p{color:var(--muted);font-size:15px;margin:8px 0 0}
.yr-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:16px 0 8px}
.yr-stat{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:10px}
.yr-stat span{font-size:12.5px;color:var(--muted)}.yr-stat b{font-size:26px;font-weight:700;letter-spacing:-.02em}.yr-stat small{font-size:12px;color:var(--muted)}
.yr-weeks{margin-top:14px}.yr-weeks h3{margin:0 0 6px}
.yr-week{display:flex;flex-direction:column;gap:3px;width:100%;text-align:left;padding:9px 11px;margin-bottom:6px;border:1px solid var(--line);border-radius:8px}
.yr-week:hover{background:var(--hover)}.yr-wh{font-weight:600;font-size:13.5px;display:flex;gap:8px;align-items:center}.yr-wt{font-size:13px;color:var(--ink2)}
.yr-goals{display:flex;flex-direction:column;gap:6px;margin:8px 0}
.yr-goal{display:grid;grid-template-columns:10px minmax(0,1.4fr) minmax(80px,1fr) 44px 70px;gap:10px;align-items:center;font-size:14px}
.yr-gn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yr-gbar{height:8px;background:var(--empty);border-radius:4px;overflow:hidden}.yr-gbar i{display:block;height:100%;background:var(--s9);border-radius:4px}
.yr-goal b{text-align:right;font-variant-numeric:tabular-nums}
.yr-rules{display:flex;flex-direction:column;gap:6px;margin:6px 0}.yr-rule{padding:8px 12px;border-radius:8px;background:var(--gray-bg);font-size:14px}
.yr-foot{margin-top:28px}
@media (max-width:600px){.yr-big{font-size:54px}.yr-goal{grid-template-columns:10px minmax(0,1fr) 44px;}.yr-gbar,.yr-goal .small{display:none}}
.yr-rule .ic{margin-right:6px;vertical-align:-2px}
/* Apple Health: a small heart on goals that fill in by themselves */
.hmark{display:inline-flex;margin-left:5px;vertical-align:-2px;color:#e16259}
.hmark .ic{width:13px;height:13px}

/* ================= phones and the iPhone app (2026-10-03) ================= */
.jh{display:flex;align-items:center;gap:4px}
.jnav{font-size:24px;line-height:1;padding:0 8px 3px;color:var(--muted);border-radius:6px}
.jnav:disabled{opacity:.2;cursor:default}
.jall{display:none}
html{-webkit-text-size-adjust:100%}
button,a,[data-act]{-webkit-tap-highlight-color:transparent}
@media (max-width:860px){
  /* The round + floated over content on every page: quick actions live in the top bar instead */
  .dock{display:none!important}
  .tnew{display:inline-flex!important}
  .tnew .tlabel{display:none}
  /* Everything can scroll above the tab bar */
  .page{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
  /* iPhone zooms into any box whose text is smaller than 16px */
  input,select,textarea,[contenteditable]{font-size:16px!important}
  /* Check-in: one week at a time (‹ ›); the list opens from "All weeks" */
  .jlist{display:none}
  .jr.show-list .jlist{display:flex;max-height:55vh;margin-bottom:16px}
  .jall{display:inline-flex}
  .jh{font-size:22px}
  .prop{flex-direction:column;align-items:stretch;min-height:0;padding:5px 0}
  .prop .pk{width:auto;padding:0 0 3px;font-size:12.5px}
  .prop .pv{padding:0;min-height:0}
  .rate10{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}
  .rate10 button{min-width:0;width:auto;height:36px}
  /* Segmented controls scroll sideways instead of wrapping or running off the screen */
  .seg{max-width:100%;overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap}
  .seg::-webkit-scrollbar{display:none}
  .seg button{white-space:nowrap;flex:none}
  /* Tiles two per row, not one per screen row */
  .rvgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
  .rvgrid .box{padding:10px 12px;margin:0}
  .rvgrid .n{font-size:22px}
  .yr-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* Chart cards: the numbers above a chart sit close together */
  .minis{row-gap:3px;column-gap:12px}
  /* What goes with a good week: name and number on top, bar and sentence underneath */
  .corr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name r" "bar bar";row-gap:6px;padding:10px 4px}
  .corr>div:nth-child(1){grid-area:name}
  .corr>div:nth-child(2){grid-area:bar}
  .corr>.corr-r{grid-area:r;flex-direction:row;align-items:center;gap:12px}
  .corr .trybtn{opacity:1}
  /* Customize: one column; the preview is hidden (your check-in is the preview); number rows wrap */
  .cz{grid-template-columns:minmax(0,1fr)!important;gap:12px}
  .cz .preview{display:none}
  .mrow{display:flex!important;flex-wrap:wrap;gap:6px;padding:8px 0;border-bottom:1px solid var(--line)}
  .mrow>*{min-width:0;width:auto!important}
  .mrow>input:first-child{flex:1 1 100%}
  .mrow>input:nth-child(2){flex:0 0 64px}
  .mrow>select{flex:0 0 104px}
  .mrow>.hsrc{flex:2 1 0}
  .mrow>button{flex:none}
  .fhead{flex-wrap:wrap}
  /* Check in: the same button as on a computer, in the top bar (no round pen sticking out of the tab bar) */
  .top{gap:8px;padding:0 12px;grid-template-columns:minmax(0,1fr) auto!important}
  #ci-btn{display:inline-flex!important}
  .tacts .cibtn{min-width:0;height:32px;padding:0 11px 0 9px;font-size:13.5px;gap:5px;border-radius:9px;margin-left:4px}
  .tacts .cibtn .cil{display:none}
  .tacts .cibtn .cis{display:inline}
  .tabbar a.tci{display:none!important}
  #ws-btn .wsname{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  /* Long explanations: a little smaller */
  .lede{font-size:14.5px;line-height:1.5}
}
/* Customize: an archived number, greyed */
.mrow.archived>input{opacity:.5}

/* Quick notes: "From your week" in the check-in, and the note composer */
.wnotes{margin:4px 0 16px;padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.wn-h{display:flex;align-items:center;justify-content:space-between;font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.wn-h .ghost{text-transform:none;letter-spacing:0;font-weight:500}
.wn{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:baseline;padding:6px 0;border-top:1px solid var(--line);font-size:14px}
.wn:first-of-type{border-top:0}
.wn-d{font-size:12px;color:var(--muted);white-space:nowrap}
.wn-t{white-space:pre-wrap;word-break:break-word}
.wn-x{opacity:.45}.wn:hover .wn-x{opacity:1}
.wn-empty{margin:6px 0 0}
.notebox-wrap{position:fixed;inset:0;z-index:60;background:rgba(15,15,15,.35);display:flex;align-items:flex-start;justify-content:center;padding:12vh 16px 16px}
.notebox{width:min(520px,100%);background:var(--bg);border-radius:12px;box-shadow:0 20px 50px rgba(0,0,0,.3);padding:14px 16px}
.nb-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.notebox textarea{width:100%;box-sizing:border-box;border:1px solid var(--line2);border-radius:8px;padding:10px;font:inherit;font-size:15px;background:var(--bg);color:var(--ink);resize:vertical}
@media (max-width:860px){.wn{grid-template-columns:minmax(0,1fr) auto}.wn-d{grid-column:1/-1}.notebox-wrap{padding-top:8vh}}
@media (max-width:860px){.tacts .tnew{padding:0;width:32px;height:32px;border-radius:9px;justify-content:center}.tleft{gap:4px}.tleft .tsearch{width:34px;padding:0;justify-content:center}}
/* Connections (Account settings): one row per connected app */
.conn{display:flex;gap:12px;align-items:center;padding:10px 12px;margin:4px 0 10px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--line)}
.conn .acct-ic svg.ic{width:17px;height:17px;color:var(--red)}
.conn-h{margin:18px 0 8px;font-size:11.5px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.conn-next .acct-ic svg.ic{width:16px;height:16px;color:var(--muted)}
.conn-ask{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.conn-ask .controls{margin:6px 0 2px}.conn-ask .inp{flex:1;max-width:340px}
.st-none::before{background:var(--faint)}
/* Finishing a week: the button at the end of a check-in, and the summary once it's finished */
.fin-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}
.fin-card{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;margin:0 0 16px;border-radius:10px;background:var(--green-bg);color:var(--ink)}
.fin-card .small{margin-top:3px;color:var(--ink2)}
.fin-ic{width:24px;height:24px;flex:none;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:700}
@media (max-width:520px){.cibtn .cip{display:none}}
/* The ⋮⋮ handle on each number in a check-in: drag to move, click to connect or move (2026-10-04) */
.nh{display:inline-flex;align-items:center;justify-content:center;width:18px;height:22px;margin:0 4px 0 -4px;padding:0;border:0;border-radius:4px;background:none;color:var(--faint);font-size:11px;letter-spacing:-2px;cursor:grab;opacity:0;vertical-align:1px;transition:opacity .15s}
.sm-row:hover .nh,.ci-row:hover .nh,.nh:focus-visible{opacity:1}.nh:hover{background:var(--hover);color:var(--ink2)}
@media (hover:none){.nh{opacity:.55;cursor:pointer}[data-ndrag]{-webkit-user-drag:none}}
.sm-row.over,.sm-form.over{box-shadow:inset 0 2px 0 var(--blue)}.sm-row.dragging,.ci-row.dragging{opacity:.45}
/* Row ending in a check-in: where the number comes from (click to change), and ⋯ for the rest (2026-10-04) */
.src{border:0;border-radius:6px;padding:2px 8px;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap;transition:opacity .15s,filter .15s}
.src:hover{filter:brightness(.94)}
.src-health{background:color-mix(in srgb,var(--muted) 12%,transparent);color:var(--ink2)}   /* neutral, not red: red means off track (2026-10-21, QA) */.src-ticks{background:var(--green-bg);color:var(--green)}
.src-typed{background:none;color:var(--muted);box-shadow:inset 0 0 0 1px var(--line2);opacity:0}
.sm-row:hover .src-typed,.ci-row:hover .src-typed,.src-typed:focus-visible{opacity:1}
.nmore{border:0;background:none;border-radius:6px;font:inherit;font-size:16px;line-height:1;padding:0 6px 4px;margin-left:auto;color:var(--muted);cursor:pointer;opacity:0;transition:opacity .15s}
.sm-row:hover .nmore,.ci-row:hover .nmore,.nmore:focus-visible{opacity:1}.nmore:hover{background:var(--hover);color:var(--ink)}
@media (hover:none){.nmore{opacity:.6}.src-typed{display:none}}
/* Check-in rows: the goal slot always takes the same width, so the source chips line up */
.sm-st{display:grid;grid-template-columns:84px max-content minmax(0,1fr);align-items:center;gap:6px}
.sm-goal.none{visibility:hidden}
.sm-st .nmore{justify-self:end}
.sm-later{margin:6px 0 2px}
.ci-later .nmore{margin-left:8px}
/* ＋ New pop-ups */
.nw-seg{margin:2px 0 12px}
.nw-grid{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px 12px;align-items:center}
.nw-grid label{font-size:13.5px;color:var(--muted)}
.nw-grid .inp,.nw-grid .sel{width:100%;margin:0}
.nw-row{display:flex;gap:8px}.nw-row .sel{width:auto}
@media (max-width:520px){.nw-grid{grid-template-columns:1fr;gap:4px}.nw-grid label{margin-top:6px}}
.nw-pick{display:flex;flex-direction:column;gap:6px;min-width:0}
.nw-new:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:6px}
.nw-row{align-items:center}
/* "Choose a number…" is a grey hint, not an option; a red outline when Add is pressed without choosing */
.nw-pick .sel.nw-empty{color:var(--faint)}.nw-pick .sel option,.nw-pick .sel optgroup{color:var(--ink)}
.nw-pick .sel.nw-bad{box-shadow:0 0 0 2px var(--red)}
.menu button.danger{color:var(--red)}
/* Calculated numbers: the chip, and the pop-up where you add numbers up */
.src-calc{background:color-mix(in srgb,var(--purple) 16%,transparent);color:var(--purple)}
.calc-rows{display:flex;flex-direction:column;gap:6px;margin-bottom:6px}
.calc-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto auto;gap:6px;align-items:center}
.calc-row .sel{width:100%;margin:0}
.sm-arch summary{cursor:pointer;list-style:none;display:inline}.sm-arch summary::-webkit-details-marker{display:none}
.sm-arch summary:hover{color:var(--muted);text-decoration:underline}.sm-arch[open] summary{margin-right:8px}
.nh-sp{visibility:hidden;cursor:default}  /* a second value of the same entry ("OSARI: €170 (5)") lines up with the rows that have a handle */
.ci-title{border-radius:4px;padding:0 2px;margin:0 -2px;outline:none;cursor:text}
.ci-title:hover{background:var(--hover)}.ci-title:focus{background:var(--hover);box-shadow:0 0 0 2px color-mix(in srgb,var(--blue) 45%,transparent)}
.anchor-ctl{margin:0 0 8px}.anchor-ctl .sel{width:auto}
/* ⋯ → Edit… */
.ed-h{margin:16px 0 6px;font-size:13px;color:var(--muted);font-weight:600}
.ed-goal{display:grid;grid-template-columns:60px 64px minmax(0,1fr) auto;gap:6px;align-items:center;margin-bottom:6px}
.ed-goal:has([data-otarget]){grid-template-columns:60px minmax(0,1fr) 150px auto}
.ed-goal .inp,.ed-goal .sel{width:100%;margin:0}.ed-gk{font-size:13px;color:var(--muted)}
.ed-src{justify-self:start}

/* experiments: judge pop-up, daily rows on Home, "from your experiment" in the New pop-up */
.jd-x{margin:0 0 12px;padding:8px 10px;border-radius:8px;background:var(--gray-bg)}
.jd-x .xtry{font-weight:600;margin-bottom:2px}
.nw-check{display:flex;align-items:center;gap:7px;font-size:13.5px;color:var(--muted);cursor:pointer}
.nw-check input{margin:0;accent-color:var(--blue)}
.nw-from{display:flex;align-items:center;gap:6px;margin:0 0 12px;padding:6px 10px;border-radius:8px;background:var(--blue-bg);color:var(--bluet);font-size:13px}
.nw-from .ic{width:14px;height:14px;flex:none}
.gdot.st-x{background:var(--bluet)}
.hb-x .hb-t{display:inline-flex;align-items:center;gap:3px;color:var(--bluet)}
.hb-x .hb-t .ic{width:12px;height:12px}
.hb-x .hb-n{text-decoration:none}

/* goal record: "was …", the finished list, the why line (2026-10-09) */
.gl-was{color:var(--faint);text-decoration:line-through;text-decoration-color:color-mix(in srgb,var(--faint) 60%,transparent)}
.gfins{margin:10px 0 0}
.gfin{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-top:1px solid var(--line)}
.gfin:first-of-type{margin-top:8px}
.gfin .tag{flex:none;margin-top:1px}
.gfin-b{flex:1;min-width:0}
.gfin-t{font-size:14px}
.gfin-why{font-size:13px;color:var(--muted);font-style:italic;margin-top:2px}
.gm-why{width:100%;margin:0 0 10px}
.habits-card .nowbtn.gl-wrap,.nowbtn.gl-wrap{position:static;opacity:1;pointer-events:auto;transform:none;margin-left:6px}

/* ---------- Phone layout (2026-10-11, Jeroen: "cluttered, chaotic and not sectioned" on the phone; the laptop stays as it is).
   One idea throughout: one line per thing, sections with a clear heading and space between them, no cards inside cards,
   explanations and handles that only make sense with a mouse hidden. ---------- */

/* ---------- v40 · the look (2026-10-14, Jeroen's mix: calm paper + clean data + a sprinkle of "life in weeks") ----------
   Two fonts: the serif (New York on Apple, Georgia elsewhere) for the week, page titles and the focus line, the sans for everything else.
   One way to show a number: name · circles or a thin bar · value, green on track / amber behind / red off / grey for experiments and
   still-growing totals. Paper, not cards: warm off-white (#f7f5ec since 2026-10-29, a little lighter and less yellow; #f5f0e5 from 2026-10-15, a quarter step darker so page, app, widget and icon share one paper), hairlines, quiet surfaces. Dark mode is the same design on dark paper. */
:root{
  --bg:#f7f5ec;--side:#f1eee3;--ink:#1f2430;--ink2:rgba(31,36,48,.86);--muted:rgba(31,36,48,.62);--faint:rgba(31,36,48,.42);
  --line:rgba(31,36,48,.1);--line2:rgba(31,36,48,.19);--hover:rgba(31,36,48,.055);--press:rgba(31,36,48,.1);--callout:#ede6d7;
  --blue:#2f5fb3;--blue-bg:#e3eaf7;--btn-ink:#fff;--overlay:rgba(31,36,48,.28);
  --card:rgba(255,255,255,.55);--card-shadow:0 0 0 1px rgba(31,36,48,.075);
  --shadow:rgba(31,36,48,.08) 0 0 0 1px,rgba(31,36,48,.08) 0 3px 6px,rgba(31,36,48,.16) 0 9px 24px;
  --gray-bg:#eae4d6;--orange-bg:#f6e8d0;--yellow-bg:#f6e8d0;--green-bg:#e4eee5;--red-bg:#f5e0db;--brown-bg:#f0e6e0;--purple-bg:#ede7f3;--pink-bg:#f5e6ec;
  --gray:#7a776e;--orange:#c9962f;--yellow:#c9962f;--green:#4f9a72;--red:#d2675a;--bluet:#3f6fb5;--purple:#8a66ad;--pink:#bc5a8c;--brown:#9a6e58;
  --s5:#d2675a;--s6:#dc8a52;--s7:#dcb552;--s8:#9fc4a4;--s9:#6aa884;--s10:#4f9a72;--empty:#e5decf;
  --serif:ui-serif,"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
  --glow:.15;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  /* dark paper (2026-10-14, Jeroen: "more papyrus instead of white"): a warm brown-grey page, dimmed cream ink, the light mode under lamp light */
  --bg:#27211a;--side:#2c261e;--ink:#d6cbb3;--ink2:rgba(214,203,179,.88);--muted:rgba(214,203,179,.64);--faint:rgba(214,203,179,.44);
  --line:rgba(214,203,179,.12);--line2:rgba(214,203,179,.21);--hover:rgba(214,203,179,.06);--press:rgba(214,203,179,.1);--callout:#332b22;
  --blue:#95b3f2;--blue-bg:#2d3a55;--btn-ink:#141720;--overlay:rgba(0,0,0,.55);
  --card:rgba(255,245,225,.035);--card-shadow:0 0 0 1px rgba(214,203,179,.11);
  --shadow:rgba(214,203,179,.11) 0 0 0 1px,rgba(0,0,0,.45) 0 3px 6px,rgba(0,0,0,.55) 0 9px 24px;
  --gray-bg:#383028;--orange-bg:#4a3b22;--yellow-bg:#4a3b22;--green-bg:#283f31;--red-bg:#4c302a;--brown-bg:#44342b;--purple-bg:#3b3147;--pink-bg:#4a2f3a;
  --gray:#a09b8f;--orange:#dcae55;--yellow:#dcae55;--green:#67b08b;--red:#de7a6e;--bluet:#8aa9e6;--purple:#ab8bd2;--pink:#d37fab;--brown:#bb8f78;
  --s5:#de7a6e;--s6:#e09a66;--s7:#dcb552;--s8:#8fb994;--s9:#6aa884;--s10:#67b08b;--empty:#3a3229;--glow:.5;}}
:root[data-theme="dark"]{
  /* dark paper (2026-10-14, Jeroen: "more papyrus instead of white"): a warm brown-grey page, dimmed cream ink, the light mode under lamp light */
  --bg:#27211a;--side:#2c261e;--ink:#d6cbb3;--ink2:rgba(214,203,179,.88);--muted:rgba(214,203,179,.64);--faint:rgba(214,203,179,.44);
  --line:rgba(214,203,179,.12);--line2:rgba(214,203,179,.21);--hover:rgba(214,203,179,.06);--press:rgba(214,203,179,.1);--callout:#332b22;
  --blue:#95b3f2;--blue-bg:#2d3a55;--btn-ink:#141720;--overlay:rgba(0,0,0,.55);
  --card:rgba(255,245,225,.035);--card-shadow:0 0 0 1px rgba(214,203,179,.11);
  --shadow:rgba(214,203,179,.11) 0 0 0 1px,rgba(0,0,0,.45) 0 3px 6px,rgba(0,0,0,.55) 0 9px 24px;
  --gray-bg:#383028;--orange-bg:#4a3b22;--yellow-bg:#4a3b22;--green-bg:#283f31;--red-bg:#4c302a;--brown-bg:#44342b;--purple-bg:#3b3147;--pink-bg:#4a2f3a;
  --gray:#a09b8f;--orange:#dcae55;--yellow:#dcae55;--green:#67b08b;--red:#de7a6e;--bluet:#8aa9e6;--purple:#ab8bd2;--pink:#d37fab;--brown:#bb8f78;
  --s5:#de7a6e;--s6:#e09a66;--s7:#dcb552;--s8:#8fb994;--s9:#6aa884;--s10:#67b08b;--empty:#3a3229;--glow:.5;}
::selection{background:color-mix(in srgb,var(--blue) 25%,transparent)}
/* type: the serif in three places, never bigger than it needs to be */
h1.title,.phead h1.title,.hero-week,.start h1{font-family:var(--serif);font-weight:500;letter-spacing:-.005em}
.hero-week{font-size:38px;margin:2px 0 4px}
.phead h1.title{font-size:30px}
.hero-day{color:var(--muted);font-weight:600;font-size:11.5px;letter-spacing:.09em}
.hero-meta{font-size:13.5px}
.hero-ci{color:var(--blue);border-bottom-color:transparent;font-weight:600}
.week-card .focus-ed{font:italic 400 17px/1.45 var(--serif);letter-spacing:0;margin-top:4px}
.week-card .focus-ed:empty::before{font-style:italic;font-weight:400}
.wc-focus{background:none;padding:16px 20px 14px}
.wc-focus .wc-label{color:var(--muted)}
/* the year strip under the week: 52 squares, this week in ink, the rest coloured by their score */
.hero{margin:14px 0 24px}
.hero-l{flex:1 1 auto;min-width:0}
.hero-strip{display:grid;grid-template-columns:repeat(52,1fr);gap:2px;width:100%;max-width:460px;margin:6px 0 10px;text-decoration:none}
.hero-strip i{display:block;height:7px;border-radius:1.5px;background:var(--empty);transition:transform .12s;margin-right:2px;box-sizing:border-box}
.hero-strip i:last-child{margin-right:0}
.hero-strip i.now{background:var(--ink)}   /* this week in the year strip: solid ink, the one marker of where you are (2026-10-16; blue read as a status) */
.hero-strip i.b5{background:var(--s5)}.hero-strip i.b6{background:var(--s6)}.hero-strip i.b7{background:var(--s7)}.hero-strip i.b8{background:var(--s8)}.hero-strip i.b9{background:var(--s9)}.hero-strip i.b10{background:var(--s10)}
.hero-strip i.lbjr{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:0}
.hero-strip i.lbjl{border-top-left-radius:0;border-bottom-left-radius:0}
/* a week still to come is hollow; a past week without a check-in stays a dull filled square */
.hero-strip i.fut,.lb-sq i.fut{background:transparent;box-shadow:inset 0 0 0 1px var(--line2)}
.hero-strip:hover i{transform:scaleY(1.35)}
/* surfaces: paper, quiet */
.box{background:var(--card);box-shadow:var(--card-shadow);border-radius:14px}
.box h4{font-size:12.5px}
.btn{color:var(--btn-ink)}
.cibtn{color:var(--btn-ink);box-shadow:none}
.callout{border-radius:10px}
.chip{background:var(--blue-bg)}
.hb-part h4,.wc-label{font-size:11px;letter-spacing:.09em}
/* the circles you tick: hollow, green when done, today ringed, the days to come faded */
.tk{box-shadow:inset 0 0 0 1.5px var(--line2)}
.hb-7 .tk{width:22px;height:22px}
.hb-cols .tk-d{width:22px}   /* the day letters step with the circles */
.tk.on{background:var(--green);box-shadow:none}
.tk.today:not(.on){box-shadow:inset 0 0 0 1.5px var(--line2),0 0 0 2px var(--bg),0 0 0 3.5px var(--ink)}
.hb-7 .tk.later{opacity:.35}
.hb-7 .tk.on::after{width:4px;height:8px;border-width:0 1.5px 1.5px 0}
@media (prefers-reduced-motion:no-preference){.tk.on{animation:tickin .22s cubic-bezier(.3,1.4,.5,1)}@keyframes tickin{from{transform:scale(.55)}to{transform:none}}}
/* the thin bar for numbers that fill themselves in: the same colours as the status */
.hb-bar{width:100%;max-width:150px;height:5px;border-radius:3px;background:var(--empty);overflow:hidden}
.hb-bar i{display:block;height:100%;border-radius:3px;background:var(--green);transition:width .4s}
.hb-bar.near i{background:var(--yellow)}.hb-bar.bad i{background:var(--red)}.hb-bar.grey i{background:var(--faint)}
.hb-row .good{color:var(--green)}.hb-row .near{color:var(--yellow)}.hb-row .bad{color:var(--red)}
.hb-w{font-variant-numeric:tabular-nums;font-weight:500;text-align:center}
.hb-cols .hb-w{text-align:center}
.home .gl .gl-x{text-align:center}
/* Home: paper, not cards. Each block is a label with a hairline above it, straight on the page */
/* Home sections are paper tiles (2026-10-28, Jeroen picked A: on one long column the label-and-hairline blocks melted together; the tile is the one Account settings and the goal panel use) */
.home .box{background:var(--card);box-shadow:var(--card-shadow);border-radius:14px;padding:16px 18px 14px;margin-bottom:12px}
.home .box h4,.home .hb-part h4,.home .wc-label{color:var(--ink);font-weight:650;letter-spacing:.1em;font-size:11.5px}
.home .hb-part h4 span{color:var(--faint);font-weight:400}
.home .box h4{font-size:11.5px;font-weight:650;letter-spacing:.1em;text-transform:uppercase}
.home .box h4 .link{text-transform:none;letter-spacing:0;font-weight:400}
.home .week-card{padding-top:16px}
.home .wc-focus{padding:0 0 2px}
.home .habits-card{padding:16px 18px 10px}
.home .box h4{margin-bottom:8px}
.home .todo{margin:0;padding:9px 0}
.home .todo:hover{background:none}
/* Home on the laptop: one column, the width of the header, so the sections line up */
.page.wide .ov.home,.hero{max-width:980px;margin-left:auto;margin-right:auto}   /* one column, centred: wide enough for the week rows, still a reading width */
.ov.home{row-gap:0}
.hint .link{margin-left:4px;white-space:nowrap}
/* the page menu under the top bar: paper, a hairline edge, plain rows with a small ink icon, no tiles */
.navpanel{width:300px;padding:6px 0;border-radius:12px;background:var(--bg);box-shadow:0 0 0 1px var(--line2),0 12px 32px -12px rgba(0,0,0,.35)}
.np{gap:12px;align-items:center;padding:10px 16px;border-radius:0}
.np+.np{border-top:1px solid var(--line)}
.np:hover{background:var(--hover)}
.npi{width:22px;height:22px;border-radius:0;box-shadow:none;background:none;color:var(--muted)}
.npi svg.ic{width:18px;height:18px}
.np b{font-size:14px;font-weight:500}
.np small{font-size:12.5px;color:var(--faint)}
.pdesc .link{font-size:13px;margin-left:4px}
.dbhead{margin:6px 0 18px}
.dbhead .views button{font-size:14.5px;padding:8px 0 9px}.dbhead .views button:hover{background:none}
.dbhead .views button.on{border-color:var(--ink)}
.views .sm{display:none}
@media (max-width:860px){.views .sm{display:inline}.views .lg,.views .tc{display:none}.dbhead .views{gap:22px}.dbhead .views button{font-size:14.5px;padding:9px 2px 10px;white-space:nowrap}}
/* first visit and what's new on Home */
.welcome{max-width:980px;margin:0 auto 18px;padding:14px 18px;border-radius:12px;background:var(--callout)}
.welcome-h{display:flex;justify-content:space-between;align-items:center;gap:10px}
.welcome-steps{margin:8px 0 6px;padding-left:20px;font-size:14px;line-height:1.5}
.welcome-steps li+li{margin-top:4px}
.hint{max-width:980px;margin-left:auto;margin-right:auto}
.acct-danger h3{color:var(--red)}
.danger-btn{background:var(--red)}
/* Last weeks on Home: chips, then one row of squares per weekly goal */
.lookback-card h4 .seg{margin:0}
.lb-chips{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 12px}
.lb-chip{font-size:13px;padding:3px 10px;border-radius:999px;background:var(--hover);white-space:nowrap}
.lb-chip b{font-weight:600}
.lb-note{font-size:12px;color:var(--faint);align-self:center;white-space:nowrap}.lb-chip .good{color:var(--green)}.lb-chip .bad{color:var(--red)}.lb-chip .faint{color:var(--faint)}
.lb-row{display:flex;align-items:center;gap:10px;margin:6px 0}
.lb-l{width:96px;flex:none;font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lb-sq{display:grid;gap:0;flex:1;min-width:0}
.lb-sq i{display:block;height:10px;border-radius:2px;background:var(--empty);margin-right:2px}
.lb-sq i:last-child{margin-right:0}
.lb-sq i[data-act]{cursor:pointer}
.lb-sq i.g{background:var(--green)}.lb-sq i.a{background:var(--yellow)}.lb-sq i.r{background:var(--red)}.lb-sq i.now{background:var(--ink)}   /* this week: solid ink, like the year strip (2026-10-16) */
.lb-sq i.b5{background:var(--s5)}.lb-sq i.b6{background:var(--s6)}.lb-sq i.b7{background:var(--s7)}.lb-sq i.b8{background:var(--s8)}.lb-sq i.b9{background:var(--s9)}.lb-sq i.b10{background:var(--s10)}
/* a run of the same colour joins into one bar; a glow, faint on paper and clear in dark mode (--glow) */
.lb-sq i.lbjr{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:0}
.lb-sq i.lbjl{border-top-left-radius:0;border-bottom-left-radius:0}
.lb-sq i.g,.lb-sq i.a,.lb-sq i.r,.lb-sq i.b5,.lb-sq i.b6,.lb-sq i.b7,.lb-sq i.b8,.lb-sq i.b9,.lb-sq i.b10{box-shadow:0 0 7px color-mix(in srgb,currentColor calc(var(--glow,0) * 100%),transparent)}
.lb-sq i.g,.lb-sq i.b9,.lb-sq i.b10{color:var(--green)}.lb-sq i.a,.lb-sq i.b7{color:var(--yellow)}.lb-sq i.r,.lb-sq i.b5{color:var(--red)}.lb-sq i.b6{color:var(--s6)}.lb-sq i.b8{color:var(--s8)}
.lb-sq i.rest{background:repeating-linear-gradient(45deg,var(--empty) 0 2px,var(--line2) 2px 4px)}
.hero-strip{all:unset;cursor:pointer;display:grid;grid-template-columns:repeat(52,1fr);gap:0;width:100%;margin:6px 0 10px;box-sizing:border-box}
@media (max-width:860px){.lb-l{width:72px;font-size:12px}.lb-sq i{height:9px}.lb-row{gap:8px}.lb-chip{font-size:12.5px;padding:2px 8px}}
/* number goals, one line */
.hb-sum{display:inline-block;margin-top:6px;padding:8px 0 2px;font-size:13px;color:var(--muted);text-decoration:none}
.hb-sum:hover{color:var(--ink)}
/* the score: one line */
.score-card .sc-l{flex-direction:row;align-items:baseline;gap:10px}
.score-card .sc-l .n{font-size:17px;font-weight:600;letter-spacing:0}
.score-card .sc-l .n small{font-size:13px}
.score-card .sc-l .d{font-size:13px}
.pbar{height:5px}.pbar b{background:var(--green)}
.gl.paused .pbar b{background:var(--faint)}
@media (max-width:860px){
  /* page headers: just the title (the icon and description repeat what the tab bar says) */
  .phead{margin-bottom:12px}.phead .picon,.phead .pdesc{display:none}
  .phead h1.title{font-size:26px}
  /* Home: one line for the day and the week; the quote and the year dots are laptop things */
  .hero-q,.hero-weeks{display:none}
  .hero{gap:4px;margin:18px 0 16px}
  .hero-week{font-size:30px;margin:0 0 2px}
  .hero-l{width:100%}
  .hero-strip{max-width:none;margin:8px 0 8px}
  .week-card .focus-ed{font-size:16px}
  .hero-meta{font-size:13px;gap:8px}
  /* the score: one line, the bars are on Insights */
  .score-card .scbars{display:none}
  .score-card .sc-l{flex-direction:row;align-items:baseline;gap:10px}
  .score-card .sc-l .n{font-size:24px}
  /* sections: a little more air between them, a little less inside */
  .box:not(.week-card){padding:14px 14px}
  .grid > .box + .box,.s12{margin-top:2px}
  /* to-do items are lines in the card, not cards in the card */
  .wc-todo{padding:10px 14px 6px}
  .wc-todo .todo,.todo{margin:0;padding:10px 0;border-radius:0;background:none;box-shadow:none}
  .cu{margin:0;padding:10px 0;border-radius:0}
  .todo .btn{flex:none}
  .todo-s{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  /* habits: a goal that fills itself in is one line (name · target · this week's value) */
  .hb-row:has(.hb-typed){grid-template-columns:8px minmax(0,1fr) auto;row-gap:0;padding:10px 0}
  .hb-row:has(.hb-typed) .hb-7{display:none}
  .hb-t{font-size:12.5px}
  /* goals: name and number on one line, the bar underneath; tap for the details and What now? */
  .habits-card .gl{display:grid;grid-template-columns:8px minmax(0,1fr) auto;grid-template-areas:"dot name num" ". bar bar";
    gap:6px 10px;padding:11px 0;margin:0;border-radius:0;border-bottom:0;border-top:1px solid var(--line);align-items:center}
  .habits-card .gl .grip,.habits-card .gl .gl-a,.habits-card .gl .gl-st,.habits-card .gl .gl-s{display:none}
  .habits-card .gl .gdot{grid-area:dot}
  .habits-card .gl .gl-n{grid-area:name;min-width:0}
  .habits-card .gl .gl-t{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14.5px;line-height:1.3}
  .habits-card .gl{grid-template-areas:"dot name num" ". bar sub"}
  .habits-card .gl .gl-x{display:contents}
  .habits-card .gl .gl-x b{grid-area:num;text-align:right;white-space:nowrap}
  .habits-card .gl .gl-x span{grid-area:sub;font-size:11.5px;color:var(--faint);text-align:right;white-space:nowrap}
  .habits-card .gl .gl-v{grid-area:bar}
  .habits-card .gl .gl-v .pbar{height:5px}
  .hb-part{margin-top:14px}
  /* the check-in: the week first, the settings in one quiet line */
  .jentry .props .pk{font-size:12px}
  .jentry .props .prop{padding:2px 0}
  .wn-empty{display:none}
  .wnotes{padding:10px 14px}
  /* a number in the check-in is one line: name · box · last week · ⋯; its goal and source go underneath only when it has them */
  .sm-row,.sm-row.sm-head{grid-template-columns:minmax(0,1fr) 108px 66px 22px;gap:2px 8px;padding:5px 0}
  .sm-row .sm-in{display:flex;align-items:center;gap:5px;min-width:0}
  .sm-row .sm-in input{flex:1;width:0;min-width:0}
  .sm-row .sm-u{font-size:12px;max-width:36px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--faint)}
  .sm-row .sm-st{display:contents}
  .sm-row .sm-st .nmore{grid-row:1;grid-column:4;opacity:1;justify-self:center}
  .sm-row .sm-st .sm-goal{grid-row:2;grid-column:1;font-size:11.5px}
  .sm-row .sm-st .sm-goal.none,.sm-row .sm-st .src-typed{display:none}
  .sm-row .sm-st .src:not(.src-typed){grid-row:2;grid-column:2/4;justify-self:start;font-size:11.5px}
  .sm-row .sm-prev{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
  .sm-row .sm-name{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sm-row .nh{display:none}                              /* dragging numbers is a laptop thing; ⋯ → Move up/down works here */
  /* Learnings: the four counts as one compact row, not four big tiles */
  .rvgrid:has(+ .lgrid){grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px}
  .rvgrid:has(+ .lgrid) .box.rv{padding:8px 8px}
  .rvgrid:has(+ .lgrid) .box.rv h4{font-size:11px;line-height:1.25;margin:0 0 2px;white-space:normal;min-height:28px;align-items:flex-start}
  .rvgrid:has(+ .lgrid) .box.rv .n{font-size:20px}
  .rvgrid:has(+ .lgrid) .box.rv .n small{display:none}
  /* long explanations above lists and charts: shorter, quieter */
  .lede{font-size:13.5px;line-height:1.45;color:var(--muted)}
}
.calc-row .calc-n{width:84px;margin:0}.calc-row .calc-n[hidden]{display:none}
.hb-today{display:block;font-size:11.5px;color:var(--faint);font-weight:400;line-height:1.2}
.chart-hint{margin:4px 0 0;text-align:center}
/* pop-ups scroll inside the visible screen when the keyboard is up (height set from visualViewport in app.js) */
.notebox-wrap{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
@media (max-width:860px){.notebox-wrap{padding-top:calc(env(safe-area-inset-top) + 12px);padding-bottom:24px}}
/* Home on the phone: sections on paper, no card padding */
@media (max-width:860px){.home .box,.home .box:not(.week-card){padding:20px 0 14px}.home .habits-card{padding:20px 0 8px}.home .wc-focus{padding:2px 0 12px}.home .wc-todo{padding:0}}
/* To do on the phone: the item and its button on one line, Later / Hide underneath, aligned with the text */
@media (max-width:860px){
  .todo,.todo-wrap{flex-wrap:wrap}
  .todo .todo-acts,.todo-wrap .todo-acts{flex-basis:100%;justify-content:flex-start;gap:14px;padding:2px 0 0 40px;opacity:1}
  .todo-wrap .todo{flex:1 1 100%}
  .todo-acts .ghost{padding:2px 0}
}
/* phone: the column header row stays hidden, but its "Habits" title shows, like "Targets" below it */
@media (max-width:860px){
  .habits-card .hb-row.hb-cols{display:flex;min-height:30px;padding:0 0 4px;align-items:center}
  .habits-card .hb-cols > :not(.hb-h){display:none}
}

/* what to track (2026-10-15): chips to pick, then one line per pick; the start screen and ＋ New → Things to track */
.tp{max-width:560px}
.tp-start .tp{margin:0 auto}.tp-start .start-brand{display:flex;justify-content:center}.tp-backlink{max-width:560px;margin:0 auto 10px}
.tp-step{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:650;margin:8px 0 8px}
.tp-h{font-family:var(--serif);font-weight:500;font-size:28px;line-height:1.15;margin:0 0 6px;letter-spacing:-.005em}
.tp-lead{font-size:14.5px;color:var(--muted);margin:0 0 14px;line-height:1.45}
.tp-grp{font-size:12px;color:var(--muted);margin:16px 0 8px;font-weight:600}
.tp-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tp-chip{border:1.5px solid var(--line2);border-radius:999px;padding:7px 13px;font-size:14px;background:none;color:var(--ink);transition:background .12s,color .12s,border-color .12s}
.tp-chip:hover{border-color:var(--ink)}
.tp-chip.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.tp-chip.have{opacity:.5;cursor:default}
.tp-own{display:inline-flex;gap:6px;align-items:center}.tp-own .inp{width:170px;height:34px;border-radius:999px;padding:0 13px}.tp-own .btn{height:34px;border-radius:999px}
.tp-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:26px;padding-top:14px;border-top:1px solid var(--line)}
.tp-foot .btn{padding:10px 22px;font-size:15px}
/* the way on stays in view while you pick (2026-10-21: Next sat below 30 chips) */
.tp-start .tp-foot{position:sticky;bottom:0;z-index:5;background:var(--bg);padding:12px 0 calc(12px + env(safe-area-inset-bottom))}
.tp-foot .btn:disabled{background:var(--hover);color:var(--muted);cursor:default}
.tp-row{border-top:1.5px solid var(--line2);padding:12px 0 10px}.tp-lead+.tp-row{border-top:0;padding-top:4px}
.tp-name{font-size:15.5px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tp-tag{font-size:11px;color:var(--green);border:1px solid color-mix(in srgb,var(--green) 40%,transparent);border-radius:999px;padding:1px 7px}
.tp-how{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:14px;color:var(--muted);flex-wrap:wrap}
.tp-box{padding:4px 8px;height:30px;font-size:14px;text-align:center;color:var(--ink)}
.tp-box[type=date]{text-align:left}
.tp-op{height:30px}
.tp-kind{margin-left:auto}
.tp-sum{margin-top:16px;font-size:13.5px}
@media (max-width:860px){.tp-h{font-size:24px}.tp-kind{margin-left:0;width:100%}.tp-foot .btn{flex:1;text-align:center}}
/* nothing to tick yet: an amber dot on ＋ New and before Suggestions in its menu (2026-10-15) */
.tnew{position:relative}
.tnew.nudge::after{content:"";position:absolute;top:-3px;right:-3px;width:8px;height:8px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 2px var(--bg)}
.um-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--yellow);margin-left:8px;vertical-align:middle}
.rtag{font-size:11px;color:var(--faint);margin-left:7px;white-space:nowrap}   /* your observation · tested once · held up 3 times */
.ci-short{margin:6px 0 10px}
.hb-left{margin:6px 0 2px;font-size:13px;color:var(--muted)}.hb-left b{font-weight:600;color:var(--ink)}
@media (max-width:860px){.hb-left{margin:8px 0 0}}
/* a better Sunday (2026-10-16) */
.sm-same{font-size:13.5px;color:var(--muted);white-space:nowrap;text-align:right;border-radius:6px;padding:2px 6px;margin:-2px -6px}
.sm-same:hover{background:var(--hover);color:var(--ink)}.sm-same svg.ic{width:12px;height:12px;vertical-align:-2px;margin-left:2px}
.num-same{white-space:nowrap}
.rulebox{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:10px 12px;border-radius:10px;background:var(--callout)}
.rulebox .rb-l{font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:650;color:var(--muted);margin-right:6px}
.rulebox .controls{margin:0;margin-left:auto}
.jd-evs{margin:0 0 12px}.jd-ev{display:flex;align-items:center;gap:8px;font-size:13.5px;padding:4px 0}.jd-ev b{font-weight:600}
@media (max-width:860px){.ci-rule .ci-label{display:none}.rulebox .controls{margin-left:0}}
.pairs{margin-top:14px}.pairs h4{margin:0 0 6px;font-size:11.5px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.pair{margin:4px 0;font-size:14px}
.gbadge.gb-none{background:var(--yellow-bg);color:var(--yellow);font-weight:500}

/* paper, not cards, on every page (2026-10-16, Jeroen: the white tiles on Goals and Learnings looked off on the darker paper):
   a section is a label with a hairline above, straight on the paper, like Home. Only tiles that sit side by side in a grid
   (Insights' review cards, the playbook categories, chart boxes) keep an edge, as paper tiles: the paper a notch lighter plus a hairline. */
:root{--card:rgba(255,255,255,.26)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--card:rgba(255,245,225,.03)}}
:root[data-theme="dark"]{--card:rgba(255,245,225,.03)}
.box{background:none;box-shadow:none;border-radius:0;padding:20px 0 14px;border-top:1.5px solid var(--line2)}
.box:not(.rv):not(.kpi):not(.pbcard)>h4{color:var(--ink);font-weight:650;letter-spacing:.1em;text-transform:uppercase;font-size:11.5px}
.rvgrid>.box,.pbgrid>.box,.chartbox{background:var(--card);box-shadow:var(--card-shadow);border-radius:12px;padding:14px 16px;border-top:0}
.ov>.box:first-child,.page>.box:first-child{border-top:0;padding-top:4px}
.mcard.mdate{--ac:var(--line2);cursor:pointer;align-items:center}.mcard.mdate svg.ic{width:14px;height:14px;color:var(--muted);flex:none}
.mcard.mdate .mt small{display:block;color:var(--muted);font-size:12px;margin-top:1px}
.mcell .todo-add{flex-direction:column;align-items:stretch}.mcell .todo-add .inp{width:100%}
/* life roadmap as chapters with the life strip (2026-10-16, Jeroen picked A+B from the mocks); the grid stays as a switch */
.lst{margin:4px 0 12px}.lst-l{display:flex;justify-content:space-between;font-size:11px;color:var(--faint);margin-bottom:4px}
.lst-g{display:grid;gap:1.5px}.lst-g i{height:9px;border-radius:1.5px;box-shadow:inset 0 0 0 1px var(--line2);display:block;cursor:pointer}
.lst-g i.has{box-shadow:none}.lst-g i.now{background:var(--ink);box-shadow:none}
.rch{border-top:1.5px solid var(--line2);padding:14px 0 10px}
.rch-h{display:flex;align-items:baseline;gap:8px;margin-bottom:4px}.rch-h b{font-family:var(--serif);font-weight:500;font-size:20px;line-height:1.1}.rch-h>span{font-size:12.5px;color:var(--muted);min-width:0}
.rch-h em{margin-left:auto;font-style:normal;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:650}.rch-h>.link{margin-left:auto;flex:none}
.rch-g{display:flex;align-items:center;gap:9px;padding:7px 0;font-size:14.5px;cursor:pointer;min-width:0}
.rch-g>i{width:8px;height:8px;border-radius:50%;flex:none}.rch-g svg.ic{width:13px;height:13px;color:var(--muted);flex:none}
.rch-t{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rch-g small{color:var(--muted);font-size:12px;white-space:nowrap}
.rch-g .st{flex:none;white-space:nowrap}
.rch-g.done .rch-t,.rch-g.dropped .rch-t,.rch-g.st-dropped .rch-t{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--faint)}
.rch-pr{flex:0 0 46px;height:4px;border-radius:2px;background:var(--empty);position:relative;overflow:hidden}.rch-pr b{position:absolute;left:0;top:0;bottom:0;border-radius:2px}
@media (hover:hover){.rch-g:hover .rch-t{text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:3px}}
.rch-add{display:flex;gap:14px;padding:4px 0 0 17px;flex-wrap:wrap}
.rch.fold .rch-h>span{color:var(--faint);white-space:normal;line-height:1.4}
.rch .todo-add{margin:6px 0 6px 17px}
/* running experiments on paper: no coloured box, the label carries the state (2026-10-16, the amber rectangle looked off) */
.xcard,.xcard.run,.xcard.due,.xcard.done{background:none;box-shadow:none;border-radius:0;border-top:1.5px solid var(--line2);padding:12px 0 10px}
.xcard.due .xh{color:var(--yellow)}.xcard.run .xh{color:var(--bluet)}.xcard.done .xh{color:var(--green)}
.exprun,.exprun.idle,.exprun.due{box-shadow:none}.box.exprun.due>h4{color:var(--yellow)}   /* Learnings → Running now: the label says it's time, no amber box */
.rch-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}.rch-chips .tp-chip{padding:4px 11px;font-size:13px;display:inline-flex;align-items:center;gap:6px}.rch-chips .tp-chip i{width:7px;height:7px;border-radius:50%;display:inline-block}
.rch-chips .tp-chip.on i{box-shadow:0 0 0 1.5px var(--bg)}
.rch-a{font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:650;color:var(--muted);margin:8px 0 0 17px}.rch-a:first-child{margin-top:2px}
@media (max-width:860px){.rch-chips{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -16px 12px;padding:0 16px 4px;scrollbar-width:none}.rch-chips::-webkit-scrollbar{display:none}.rch-chips .tp-chip{flex:none}}
.rch-chips .tp-done{margin-left:auto}@media (max-width:860px){.rch-chips .tp-done{margin-left:0}}
/* Learnings (2026-10-16, "doesn't look like one section"): a section is its small label with a hairline above, like Home;
   the experiments under it are rows separated by thin lines, not boxes with their own hairlines */
.lhead{border-top:1.5px solid var(--line2);padding-top:16px;margin:14px 0 2px}
.lhead h3{font-size:11.5px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;color:var(--ink)}
.box.exprun{border-top:0;padding:10px 0 12px}.box.exprun+.box.exprun{border-top:1px solid var(--line)}
.box.exprun>h4{font-size:11px;letter-spacing:.08em;margin:0 0 5px;color:var(--muted)}
.lgrid .box.exprun.due>h4{color:var(--yellow)}
/* roadmap rows (2026-10-16): one 16px mark column (area dot, or a quiet ring with a check for an achieved goal: ink, not green,
   since green means on track); the status in words right after the title; what's measured on the right */
.rch-g>i{flex:none}.rch-dot{width:8px;height:8px;border-radius:50%;margin:0 4px}
.rch-g svg.rch-ck{width:16px;height:16px;color:var(--muted);margin:0}   /* Lucide circle-check, like the rest of Vea's icons */
.rch-g svg.ic{width:14px;height:14px;margin:0 1px}
.rch-t{flex:0 1 auto}.rch-g .spacer{flex:1}
.rch-s{font-size:12.5px;color:var(--muted);white-space:nowrap}.rch-s.s-on{color:var(--green)}.rch-s.s-risk{color:var(--yellow)}.rch-s.s-off{color:var(--red)}
.rch-g.done .rch-t{text-decoration:none;color:var(--muted)}
@media (max-width:860px){.rch-g{flex-wrap:wrap;row-gap:2px}.rch-g .spacer{display:none}.rch-g small,.rch-pr{margin-left:auto}}
/* Learnings (2026-10-16): Running now and Results on the left, Your playbook on the right, as before; each of the three a
   small label with a hairline. The playbook's categories are quiet sub-headings inside that one section, not tiles. */
.lgrid>div>.lhead:first-child{margin-top:14px}
.pbgrid{display:block;columns:auto}
.pbgrid>.box{background:none;box-shadow:none;border-radius:0;padding:6px 0 4px;border-top:0;margin:0;display:block;break-inside:auto}
.pbgrid>.box>h4{font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:650;color:var(--muted);margin:6px 0 2px}
.pbgrid .prule{padding:6px 0}
/* Learnings: clearer boundaries between the three (2026-10-16): a vertical rule before the playbook column, more air between sections */
@media (min-width:1101px){.lgrid{gap:40px}.lgrid>div:last-child{border-left:1px solid var(--line2);padding-left:32px}}
.lhead{margin-top:28px;padding-top:18px}.lgrid>div>.lhead:first-child{margin-top:16px}
/* Learnings (2026-10-16, Jeroen: a box around each makes the three obvious): Running now, Results and Your playbook are paper tiles,
   the one exception the paper rule allows for things that sit side by side */
.lsec{background:var(--card);box-shadow:var(--card-shadow);border-radius:12px;padding:2px 16px 14px;margin:0 0 16px}
.lsec .lhead{border-top:0;margin:4px 0 2px;padding-top:12px}
.lsec .box.exprun{padding:10px 0 12px}
@media (min-width:1101px){.lgrid{gap:16px}.lgrid>div:last-child{border-left:0;padding-left:0}}
/* Learnings' four figures (2026-10-16, Jeroen: not boxes): a plain row on the paper, label above, number below, hairlines between */
.lstats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 18px}   /* full width, from the left card's edge to the right card's edge, each number centred in its quarter (2026-10-16, Jeroen) */
.lstats>.box{background:none;box-shadow:none;border-radius:0;padding:4px 12px;margin:0;border-right:1px solid var(--line2);text-align:center}
.lstats>.box:last-child{border-right:0}
.lstats>.box h4{margin:0 0 2px;justify-content:center}
@media (max-width:860px){.lstats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 0}.lstats>.box{padding:2px 10px}.lstats>.box:nth-child(even){border-right:0}}
/* roadmap rows read left to right as one line (2026-10-16): title · bar · count · status, nothing pushed to the far edge */
.rch-g .spacer{display:none}.rch-g small{margin-left:0}.rch-pr{margin:0 2px}
@media (max-width:860px){.rch-g small,.rch-pr{margin-left:0}}
/* roadmap rows on the phone (2026-10-16, "looks messy"): two lines, the mark and the title on the first (the title may wrap),
   the bar, count and status under the title on the second; on a wide screen everything stays on one line */
.rch-m{display:contents}
@media (max-width:860px){
  .rch-g{display:grid;grid-template-columns:16px minmax(0,1fr);column-gap:9px;row-gap:3px;align-items:start;padding:8px 0}
  .rch-g>i,.rch-g>svg.ic{grid-row:1;align-self:start;margin-top:6px}.rch-g>svg.ic{margin-top:2px}
  .rch-t{grid-column:2;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35}
  .rch-m{display:flex;grid-column:2;align-items:center;gap:8px;flex-wrap:wrap;min-height:0}
  .rch-m:empty{display:none}
  .rch-g.rch-d small{grid-column:2}
}
/* editable in place (2026-10-16): area names and goal titles on the roadmap; Customize → Areas drags to reorder */
.rch-a{display:flex;align-items:center;gap:7px}.rch-adot{width:8px;height:8px;border-radius:50%;flex:none;padding:0;cursor:pointer}
.rch-al[contenteditable]{cursor:text;border-radius:4px;padding:0 3px;margin:0 -3px}.rch-al[contenteditable]:hover{background:var(--hover)}
.rch-al:focus,.rch-t[contenteditable]:focus{outline:none;background:var(--hover);border-radius:4px;box-shadow:0 0 0 2px var(--blue-bg)}
.rch-t[contenteditable]{cursor:text;border-radius:4px;padding:0 3px;margin:0 -3px}
.arow .nh{cursor:grab;color:var(--faint);margin-right:2px}.arow.dragging{opacity:.4}.arow.over{box-shadow:inset 0 2px 0 var(--blue)}
.arow .ghost.small:disabled{opacity:.3}
/* roadmap on a laptop (2026-10-16, Jeroen: "looks messy"; mock option B): one mark column, a capped title column that wraps,
   one status column that starts at the same spot on every row (bar · status · count). The phone keeps its two-line rows. */
@media (min-width:861px){
  .rch-g{display:grid;grid-template-columns:16px minmax(0,55%) minmax(0,1fr);column-gap:9px;align-items:center}
  .rch-g>i,.rch-g>svg.ic,.rch-g>svg.rch-ck{justify-self:center;margin:0}
  .rch-t{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3}
  .rch-m{display:flex;align-items:center;gap:8px;white-space:nowrap;min-width:0}
  .rch-g.rch-d small{grid-column:3}
}
.rch-s.s-nm{color:var(--faint)}
/* the area name as a tinted block (2026-10-16, Jeroen picked it over a solid block and a full band): a light wash of the area's
   colour with the name in that colour, flush with the mark column; the dot is gone, the colour changes under Customize → Areas */
.rch-a{margin:14px 0 2px;color:var(--ac)}.rch-h+.rch-a{margin-top:18px}
/* air under the year line (2026-10-16, Jeroen): ~19px before the first area block or goal title, was 4px.
   margins collapse, so the block after the year sets its own 18px; a bare goal row gets 12px + its 7px padding */
.rch-h{margin-bottom:12px}
.rch-a .rch-al{display:inline-block;background:color-mix(in srgb,var(--ac) 15%,transparent);border-radius:4px;padding:5px 9px 4px;margin:0;line-height:1}
.rch-a .rch-al[contenteditable]:hover{background:color-mix(in srgb,var(--ac) 24%,transparent)}
.rch-a .rch-al:focus{background:color-mix(in srgb,var(--ac) 24%,transparent)}

/* "How it counts" on the new-target form (2026-10-16): the guess under the select, in words */
.nw-okind-why{display:block;margin-top:4px;line-height:1.35}
/* a goal measured with a number (targets merged into goals 2026-10-16): the toggle row on the form, the measure fields, the progress line in the goal panel */
.nw-chk{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--ink);cursor:pointer}.nw-chk input{margin:0;width:16px;height:16px;accent-color:var(--blue)}
.nw-mfields{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.gpro{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 4px;font-size:14px}.gpro b{font-weight:600}
/* an achieved goal is green all over (2026-10-16, Jeroen picked "whole row green" over a green mark only): check, title and "achieved" */
.rch-g.done svg.rch-ck,.rch-g.done .rch-t,.rch-g.done .rch-s{color:var(--green)}
/* Customize → Areas: the colour button is a swatch in the area's own colour (2026-10-16, Jeroen: a black dot on a tint "looks stupid") */
.cz-aswatch{width:22px;height:22px;border-radius:50%;background:var(--ac);border:0;padding:0;cursor:pointer;flex:none;box-shadow:0 0 0 2px var(--bg),0 0 0 3px color-mix(in srgb,var(--ac) 35%,transparent)}
.cz-aswatch:hover,.cz-aswatch:focus-visible{box-shadow:0 0 0 2px var(--bg),0 0 0 3.5px var(--ac);outline:none}
/* page headers: left-aligned; the icon is the top bar's line icon in ink, no square (2026-10-17, Jeroen: "same icons as here"; centred was tried and undone) */
.phead .pt{gap:10px;align-items:flex-start}.phead .picon{width:auto;height:36px;background:none;border-radius:0;color:var(--ink)}   /* 36px = the title line, so the icon sits on the title, not between title and line */
.phead .picon svg.ic{width:24px;height:24px;stroke-width:1.75}
/* Blueprints (2026-10-17, BLUEPRINTS.md): by topic, by person, and the person card in the side panel. Paper, not cards: rows and thin lines. */
.bp-h{font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:650;margin:22px 0 10px;color:var(--ink)}
.bp-lead{margin:-4px 0 12px}
.bp-topics{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:0;border-top:1px solid var(--line2)}
.bp-topic{display:flex;flex-direction:column;gap:3px;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);padding:12px 14px 12px 0;cursor:pointer;color:var(--ink)}
.bp-topic b{font-size:15px;font-weight:600}.bp-topic span{font-size:13px;color:var(--muted);line-height:1.4}
.bp-topic:hover b{text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:3px}
.bp-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:0;border-top:1px solid var(--line2)}
.bp-card{display:flex;flex-direction:column;gap:4px;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);padding:14px 16px 14px 0;cursor:pointer;color:var(--ink)}
.bp-cn{font-family:var(--serif);font-weight:500;font-size:20px;line-height:1.15}.bp-cw{font-size:13px;color:var(--muted);line-height:1.4}
.bp-cm{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;font-size:12.5px}
.bp-area{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:650;color:var(--ac);background:color-mix(in srgb,var(--ac) 15%,transparent);border-radius:4px;padding:3px 7px 2px;line-height:1}
.bp-on{color:var(--green)}
.bp-card:hover .bp-cn{text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:4px}
.bp-ask{margin:20px 0 6px;font-size:14px}.bp-ask .controls{margin-top:6px}.bp-ask .inp{max-width:320px}
.bp-title{margin:0}.bp-who{margin:4px 0 0}.bp-disc{margin:4px 0 0}.bp-sum{margin:12px 0 4px;color:var(--ink2)}
.bp-lines{border-top:1px solid var(--line2);margin-top:8px}
.bp-line{padding:12px 0;border-bottom:1px solid var(--line)}
.bp-lk{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:650;color:var(--faint);margin-bottom:3px}
.bp-lt{font-size:15px;line-height:1.35}.bp-num{color:var(--muted);font-size:13px;white-space:nowrap}
.bp-q{font-family:var(--serif);font-style:italic;color:var(--muted);font-size:14px;margin:4px 0 0}
.bp-lm{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:6px;font-size:12.5px;color:var(--muted)}
.bp-lm a{color:var(--muted);text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:3px}
.bp-tag{border:0;background:color-mix(in srgb,var(--bt) 14%,transparent);color:var(--bt);border-radius:4px;padding:2px 7px;font-size:12px;cursor:pointer;font-weight:500}
.bp-tag.bt-green{--bt:var(--green)}.bp-tag.bt-blue{--bt:var(--bluet)}.bp-tag.bt-yellow{--bt:var(--yellow)}.bp-tag.bt-gray{--bt:var(--muted)}
.bp-la{display:flex;gap:8px;margin-top:8px}.bp-added{color:var(--green);font-size:13px}
.bp-meas{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;font-size:14px}
.bp-src summary{cursor:pointer;color:var(--muted);font-size:13px}.bp-src ul{margin:6px 0 0;padding-left:18px;font-size:13px;line-height:1.5}.bp-src a{color:var(--ink2)}
.bp-aff{margin:14px 0 4px}
/* Blueprints as paper tiles (2026-10-17, Jeroen: "make by topic and by person clearer sections… cards like in learnings"):
   each section is a label with a hairline, its items are paper tiles side by side (the exception the paper rule allows) */
.bp-sh{border-top:1.5px solid var(--line2);margin:22px 0 12px;padding-top:14px}.bp-sh:first-child{margin-top:4px}
.bp-sh .bp-h{margin:0 0 4px}.bp-sh .bp-lead{margin:0}
.bp-topics,.bp-cards{display:grid;gap:12px;border-top:0}
.bp-topics{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.bp-cards{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.bp-topic,.bp-card{background:var(--card);box-shadow:var(--card-shadow);border-radius:12px;border:0;padding:14px 16px;height:100%}
.bp-topic em{font-style:normal;font-size:12.5px;color:var(--bluet);margin-top:auto;padding-top:8px}
.bp-cw{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bp-cm{margin-top:auto;padding-top:10px}
.bp-topic:hover,.bp-card:hover{box-shadow:var(--card-shadow),0 0 0 1px var(--line2)}
.bp-ask{border-top:1.5px solid var(--line2);margin-top:24px;padding-top:14px}
/* the landing page for signed-out visitors (2026-10-17): paper, serif headline, three steps with small mocks of the real rows,
   three short points, the sign-in card at the bottom. One column on a phone. */
.ld{max-width:1080px;margin:0 auto;padding:0 24px 40px;color:var(--ink)}
.ld-top{display:flex;align-items:center;justify-content:space-between;padding:20px 0}.ld-top .brand{font-size:26px}
.ld-hero{text-align:center;padding:56px 0 48px;max-width:760px;margin:0 auto}
.ld-h1{font-family:var(--serif);font-weight:500;font-size:clamp(36px,6vw,60px);line-height:1.06;letter-spacing:-.015em;margin:0 0 20px}
.ld-sub{font-size:clamp(16px,2vw,18.5px);line-height:1.55;color:var(--ink2);margin:0 auto 28px;max-width:620px}
.ld-cta{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.ld-cta .btn{height:44px;padding:0 22px;font-size:15.5px}
.ld-note{margin:14px 0 0}
.ld-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 48px}
.ld-step{background:var(--card);box-shadow:var(--card-shadow);border-radius:14px;padding:20px 20px 18px;display:flex;flex-direction:column}
.ld-n{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:650;color:var(--bluet)}
.ld-step h3,.ld-more h3{font-family:var(--serif);font-weight:500;font-size:22px;line-height:1.2;margin:6px 0 8px}
.ld-step p,.ld-more p{font-size:14.5px;line-height:1.55;color:var(--ink2);margin:0}
.ld-mock{margin-top:auto;border-top:1px solid var(--line);padding-top:14px;margin-top:18px;font-size:13.5px}
.ld-mk{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:650;color:var(--faint)}
.ld-mt{font-size:15px;margin:2px 0 6px}.ld-mm{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:12.5px}
.ld-tag{background:color-mix(in srgb,var(--green) 14%,transparent);color:var(--green);border-radius:4px;padding:2px 7px}
.ld-btn{display:inline-block;margin-top:10px;background:var(--blue);color:#fff;border-radius:8px;padding:5px 12px;font-size:13px;font-weight:600}
.ld-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 0}.ld-row>span:first-child{color:var(--ink2)}
.ld-tks{display:flex;gap:5px}.ld-tk{width:15px;height:15px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line2);display:block}
.ld-tk.on{background:var(--ink);box-shadow:none}.ld-g{color:var(--green)}
.ld-more{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;border-top:1.5px solid var(--line2);padding-top:28px;margin-bottom:48px}
.ld-h2{font-family:var(--serif);font-weight:500;font-size:26px;margin:0 0 14px}
.ld-foot{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:18px;font-size:13px;color:var(--muted)}
.ld-foot a{color:var(--muted)}
@media (max-width:860px){.ld{padding:0 16px 32px}.ld-hero{padding:28px 0 32px}.ld-steps,.ld-more{grid-template-columns:minmax(0,1fr)}.ld-more{gap:20px}}
/* the wordmark in the paper theme (2026-10-17, Jeroen: the bold sans with a blue OS "doesn't feel like the rest"): the serif of the
   page titles in ink, OS as small muted caps. One change, so the start screen, sign-in, account and menu all match. */
.brand{font-family:var(--serif);font-weight:500;letter-spacing:-.01em;align-items:baseline;gap:5px}
.brand-os{font-family:var(--font);font-size:.34em;font-weight:650;letter-spacing:.14em;color:var(--muted);margin-top:0}
/* landing: the year strip from Home (the coloured weeks), and ink buttons instead of the bright blue (2026-10-17) */
.ld-year{margin:40px auto 0;max-width:560px}.ld-year p{margin:10px 0 0}
.ld-strip{display:grid;grid-template-columns:repeat(52,1fr);gap:2px}
.ld-strip i{display:block;height:12px;border-radius:2px;background:var(--empty)}
.ld-strip i.b5{background:var(--s5)}.ld-strip i.b6{background:var(--s6)}.ld-strip i.b7{background:var(--s7)}.ld-strip i.b8{background:var(--s8)}.ld-strip i.b9{background:var(--s9)}.ld-strip i.b10{background:var(--s10)}
.ld-strip i.now{background:var(--ink)}.ld-strip i.fut{background:transparent;box-shadow:inset 0 0 0 1px var(--line2)}
.ld .btn:not(.sec){background:var(--ink);color:var(--bg);border-color:var(--ink)}
.ld .btn:not(.sec):hover{background:color-mix(in srgb,var(--ink) 86%,var(--bg))}
.ld .signin-pk svg.ic{color:var(--bg)}
.ld-btn{background:var(--ink);color:var(--bg)}
.ld-n{color:var(--muted)}
@media (max-width:860px){.ld-strip i{height:9px}.ld-strip{gap:1.5px}}
/* Blueprints woven in (2026-10-17): "from Matthew Walker" after anything added from a card, and goal ideas as small chips */
.bp-from{font-size:11.5px;color:var(--faint);margin-left:7px;white-space:nowrap;cursor:pointer;font-weight:400;letter-spacing:0;text-transform:none}
.bp-from:hover{color:var(--muted);text-decoration:underline;text-underline-offset:2px}
.nw-ideas{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:-2px 0 2px}
.nw-idea{border:1px solid var(--line2);background:none;border-radius:999px;padding:4px 10px;font-size:13px;color:var(--ink);cursor:pointer;margin:0 6px 6px 0}
.nw-idea:hover{border-color:var(--muted)}
/* Blueprints tiles show the card's topics in neutral grey, not the user's area names (2026-10-17); Customize → Areas has a "Counts as" select */
.bp-topic-tag{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:650;color:var(--muted);background:color-mix(in srgb,var(--muted) 12%,transparent);border-radius:4px;padding:3px 7px 2px;line-height:1}
.cz-akind{width:auto;max-width:150px;font-size:12.5px;color:var(--muted);margin:0 6px}
/* Blueprints (was Learnings, 2026-10-17): Experiments is one tile with Running now and Results as sub-labels */
.lsub{font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:650;color:var(--muted);margin:12px 0 6px}
.lsub-r{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:14px;margin-top:16px}
.lsub-r .seg{text-transform:none;letter-spacing:0;font-weight:400}
/* Blueprints → Inspiration (2026-10-18): one line saying these are other people's, and the By person / By topic switch */
.bp-ins{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0 4px}.bp-ins-l{margin:0}
/* the encryption switch says loudly what losing the keys means, and needs a tick (2026-10-18, before friends join) */
.e2ee-warn{background:color-mix(in srgb,var(--red) 10%,transparent);border-left:3px solid var(--red);border-radius:0 8px 8px 0;padding:10px 12px;font-size:13.5px;line-height:1.5;margin:12px 0 8px}
.e2ee-note{color:var(--ink2);margin:6px 0 4px}

/* Before the scripts run (2026-10-21, first-user test on slow 3G): the wordmark and "Loading…", without the app's empty bars */
.boot{min-height:70vh;display:grid;place-content:center;justify-items:center;gap:10px;color:var(--muted)}
.boot .brand{font-size:40px;color:var(--ink)}.boot p{margin:0;font-size:14px}
body:has(#view>.boot) :is(.top,.tabbar,.dock){display:none}

/* Phones: the daily tick circles and the 1–10 score keep their look but get a finger-sized tap area (2026-10-21) */
@media (max-width:860px){.tk:not(:disabled)::before{content:"";position:absolute;inset:-8px -4px}.rate10:not(.one) button{height:40px}}
/* the consent line above "Create my account" (2026-10-21, before the friends test) */
.signin-consent{margin:4px 0 2px;line-height:1.45}.signin-consent a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.ld-price{margin-top:4px}

/* phone: an empty To do moves below the habits, so right after setup the circles are on screen, not behind the tab bar (2026-10-21, QA) */
.home .todo-card.todo-none{order:3}
.home.home-new .week-card.focus-none{order:4}   /* a brand-new account: the empty focus prompt follows the habits on the phone, so the first circles are on screen */
/* toasts never take a tap: only their Undo button can be pressed (2026-10-21, QA: "Tap today's circle" sat on that circle);
   on phones they show at the top, under the top bar, instead of over the habits and the score legend */
.toasts,.toast{pointer-events:none}.toast button{pointer-events:auto}
@media (max-width:860px){.toasts{bottom:auto;top:calc(58px + env(safe-area-inset-top));width:calc(100% - 32px)}.toast{max-width:100%}}
.ld-price,.signin-consent{color:var(--ink2);font-size:14px}   /* readable: was 13px at 42% (QA: 2.4:1 contrast) */
.nowrap{white-space:nowrap}
.nowrap{white-space:nowrap}
/* phone tap targets of at least ~44px (2026-10-21, QA round 3: Got it 35×22, setup Back 32×22, top bar 34×32, kind of week 26px, week arrows 26×27).
   Text links grow their hit area with padding and a matching negative margin, so nothing moves. */
@media (max-width:860px){
  .hint [data-act="hint-off"],[data-act="track-back"],.signin-foot .link{display:inline-block;padding:11px 8px;margin:-11px -8px}
  .top .tact,.top .ws,.top .cibtn{min-height:44px}.top .tact{min-width:44px;justify-content:center}
  .rest-seg button{min-height:40px;padding-left:10px;padding-right:10px}
  [data-act="week-nav"],[data-act="peek-step"]{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}
/* Privacy · Terms once per screen: the landing has them in its footer, Join has them in the consent line (QA round 3) */
.ld .signin-legal,.joining .signin-legal{display:none}
.tp-box.nw-bad{box-shadow:0 0 0 2px var(--red)}
@media (max-width:860px){.tp-foot .btn{text-align:center;justify-content:center}}   /* "Set up my Vea" centred on phones (QA round 3) */
.signin-health{margin:8px 0 2px;font-size:14px;color:var(--ink);align-items:flex-start;gap:8px;line-height:1.4}.signin-health input{margin-top:3px;flex:none}

/* 2026-10-21 · health consent, asked once at the first health number (QA round 4) */
.hc-scrim{position:fixed;inset:0;z-index:60;background:var(--overlay);display:flex;align-items:center;justify-content:center;padding:16px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.hc-card{background:var(--bg);color:var(--ink);border-radius:12px;box-shadow:var(--shadow);max-width:440px;width:100%;padding:22px 22px 16px;max-height:calc(100vh - 32px);overflow:auto}
.hc-card h3{margin:0 0 10px;font-size:19px}
.hc-card p{margin:0 0 10px;line-height:1.5}
.hc-btns{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 8px}
.hc-btns .btn{min-height:44px}
/* QA round 4 · phone tap targets that round 3 missed (the welcome's Got it, the check-in's week arrows, Undo, kind of week),
   and padded text links draw their underline under the text, not under the padding */
@media (max-width:860px){
  [data-act="hint-off"]{display:inline-block;padding:11px 8px;margin:-11px -8px}
  .jnav,[data-act="review-step"]{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  #toasts .toast button{min-height:44px;min-width:44px;padding:0 12px}
  .rest-seg button{min-height:44px}
  [data-act="hint-off"],[data-act="track-back"],.signin-foot .link{border-bottom:0;text-decoration:underline;text-decoration-color:var(--line2);text-decoration-thickness:1px;text-underline-offset:4px}
}
@media (max-width:860px){.tp-start .tp-foot .link{flex:none;white-space:nowrap}}   /* the setup bar stays one line on phones (QA round 4: 110 px with the link on 4 lines) */
/* QA round 5 · the last small phone targets, and a disabled week arrow that looks disabled */
.jnav:disabled{opacity:.3;cursor:default}
@media (max-width:860px){
  [data-act="pick-template"]{display:inline-block;padding:11px 8px;margin:-11px -8px}
  #sec-consent .btn,.tp-foot .btn,.ld-top .btn{min-height:44px}
}
/* QA round 6 · the consent card above the toasts, equal-weight answers, and the sign-in and setup controls at 44 px on phones */
.hc-scrim{z-index:80}
.hc-btns .btn{min-width:72px}
@media (max-width:860px){
  .signin-card .inp,.signin-btn,.signin-card .btn{min-height:44px}.tp-chip{min-height:44px}.acct-s .btn.sm,.acct-s .inp,.acct-s .sel,.um-seg button,.conn .ghost,.conn .sel{min-height:44px}
  .inp.tp-box,.tp-box .sel,.tp-box input,#tp-own{min-height:44px}
  [data-act="focus-none"],[data-act="focus-keep"],.acct-s .link,.conn-ask .link{display:inline-block;padding:11px 8px;margin:-11px -8px}
  /* the check-in's number boxes and the day circles keep their size on purpose: the form is dense, and the circles already get an invisible 44 px tap area (see .tk::before) */
}

/* ===== Landing, rebuilt 2026-10-22 (ldx-*): the product on the page, one accent (the green of a good week), things that move ===== */
.ldx{--acc:var(--s9)}
.ldx-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:48px;align-items:center;padding:44px 0 36px}
.ldx-h1{font-family:var(--serif);font-weight:500;font-size:clamp(38px,5.2vw,62px);line-height:1.04;letter-spacing:-.02em;margin:0 0 18px}
.ldx-h1 em{font-style:normal;color:var(--acc)}
.ldx-sub{font-size:clamp(16px,1.9vw,19px);line-height:1.5;color:var(--ink2);margin:0 0 26px;max-width:520px}
.ldx-cta{display:flex;gap:10px;flex-wrap:wrap}.ldx-cta .btn{height:46px;padding:0 22px;font-size:15.5px}
.ld .btn.ldx-go{background:var(--acc);border-color:var(--acc);color:#fff}.ld .btn.ldx-go:hover{background:color-mix(in srgb,var(--acc) 85%,#000)}
.ldx-note{margin:14px 0 0;font-size:13.5px;color:var(--muted)}
/* the Home screen next to the headline */
.ldx-hero-m{display:flex;justify-content:center}
.ldx-app{width:min(100%,400px);background:color-mix(in srgb,var(--bg) 91%,var(--ink));outline:1px solid var(--line2);border-radius:18px;box-shadow:var(--shadow),0 30px 60px -20px rgba(0,0,0,.45);padding:16px 18px 14px;transform:rotate(-1.2deg);animation:ldx-rise .7s cubic-bezier(.2,.7,.2,1) both}
@keyframes ldx-rise{from{opacity:0;transform:translateY(18px) rotate(-1.2deg)}to{opacity:1;transform:rotate(-1.2deg)}}
.ldx-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.ldx-brand{font-family:var(--serif);font-size:20px}
.ldx-pill{font-size:12px;font-weight:600;background:var(--acc);color:#fff;border-radius:999px;padding:5px 10px}
.ldx-cap{font-size:12.5px;color:var(--muted);margin-bottom:10px}
.ldx-sec{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:650;color:var(--faint);margin:8px 0 4px}
.ldx-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:7px 0;border-top:1px solid var(--line);font-size:14px;animation:ldx-in .4s both;animation-delay:calc(.25s + var(--i)*90ms)}
.ldx-nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ldx-tks{display:flex;gap:4px}
.ldx-tk{display:block;width:17px;height:17px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line2);position:relative}
.ldx-tk.today{box-shadow:inset 0 0 0 1.5px var(--acc)}
.ldx-tk.on{background:var(--acc);box-shadow:none;animation:ldx-pop .3s both;animation-delay:calc(.5s + var(--i,0)*90ms + var(--k,0)*70ms)}
.ldx-tk.on::after{content:"";position:absolute;left:6px;top:3.5px;width:3.5px;height:7px;border:solid #fff;border-width:0 1.8px 1.8px 0;transform:rotate(45deg)}
@keyframes ldx-pop{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}
@keyframes ldx-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ldx-st{font-size:12.5px;color:var(--muted);font-weight:500;white-space:nowrap}
.ldx-ins{border-top:1px solid var(--line);padding-top:6px;font-size:14px}.ldx-ins .ldx-sec{margin-top:4px}
.ldx-dim{color:var(--faint);font-size:12.5px}
.ldx-year{margin-top:12px}.ldx-year .ld-strip{margin-bottom:6px}
.ldx .ld-strip i{animation:ldx-in .3s both;animation-delay:calc(.6s + var(--i)*14ms)}
/* Heard it: the live blueprint block */
.ldx-bp{padding:36px 0 8px}
.ldx-h2{font-family:var(--serif);font-weight:500;font-size:clamp(28px,3.6vw,40px);line-height:1.1;letter-spacing:-.015em;margin:6px 0 10px}
.ldx-lead{font-size:15.5px;line-height:1.55;color:var(--ink2);margin:0 0 18px;max-width:720px}
.ldx-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.ldx-chip{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:1.5px solid var(--line2);border-radius:12px;padding:8px 12px;background:none;color:var(--ink);cursor:pointer;min-height:44px;text-align:left;transition:border-color .15s,background .15s}
.ldx-chip b{font-weight:600;font-size:14px}.ldx-chip span{font-size:11.5px;color:var(--muted)}
.ldx-chip:hover{border-color:var(--muted)}.ldx-chip.on{border-color:var(--acc);background:color-mix(in srgb,var(--acc) 10%,transparent)}
.ldx-panel{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);gap:20px;align-items:start}
.ldx-person.in .ldx-who,.ldx-person.in .ldx-line{animation:ldx-in .35s both}.ldx-person .ldx-line{animation-delay:calc(60ms + var(--i)*70ms)}
.ldx-who{display:flex;flex-direction:column;gap:2px;margin-bottom:12px}.ldx-who b{font-family:var(--serif);font-weight:500;font-size:22px}.ldx-who span{font-size:13.5px;color:var(--muted)}
.ldx-lines{display:grid;gap:10px}
.ldx-line,.ldx-exp,.ldx-ins2,.ldx-rule{background:var(--card);box-shadow:var(--card-shadow);border-radius:12px;padding:14px 16px}
.ldx-k{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:650;color:var(--faint)}
.ldx-t{font-size:16px;margin:3px 0 8px;line-height:1.35}
.ldx-mm{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:12.5px;flex-wrap:wrap}
.ldx-src{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ldx-tag-blue{background:color-mix(in srgb,var(--bluet) 14%,transparent);color:var(--bluet)}.ldx-tag-yellow{background:color-mix(in srgb,var(--yellow) 16%,transparent);color:var(--yellow)}.ldx-tag-gray{background:var(--hover);color:var(--muted)}
.ldx-add{margin-top:10px;background:var(--ink);color:var(--bg);border:0;border-radius:8px;padding:8px 13px;font-size:13.5px;font-weight:600;cursor:pointer;min-height:40px}
.ldx-add:hover{background:color-mix(in srgb,var(--ink) 86%,var(--bg))}.ldx-add:disabled{background:color-mix(in srgb,var(--acc) 16%,transparent);color:var(--acc);cursor:default}
.ldx-mine{background:var(--card);box-shadow:var(--card-shadow);border-radius:12px;padding:14px 16px;position:sticky;top:16px}
.ldx-mine ul{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}
.ldx-mine li{display:flex;align-items:center;gap:8px;font-size:14.5px;animation:ldx-in .3s both}.ldx-mine li .ldx-tk{flex:none;width:16px;height:16px}.ldx-mine li .ldx-tk.on::after{left:5.5px;top:3px}
.ldx-mine li .bp-from{margin-left:auto}
.ldx-empty{color:var(--muted);font-size:14px}.ldx-mine-n{margin:12px 0 0}
/* Tried it · Kept it */
.ldx-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:28px 0 44px}
.ldx-card{background:var(--card);box-shadow:var(--card-shadow);border-radius:14px;padding:20px 20px 18px}
.ldx-card h3{font-family:var(--serif);font-weight:500;font-size:24px;line-height:1.2;margin:6px 0 8px}
.ldx-card p{font-size:14.5px;line-height:1.55;color:var(--ink2);margin:0}
.ldx-mock{margin-top:16px;display:grid;gap:10px}
.ldx-mock .ldx-row{border-top:0;padding:4px 0;animation:none}.ldx-mock .ldx-tk.on{animation:none}
.ldx-ok{color:var(--acc);font-weight:600}
.ldx-rule .ldx-t{margin-bottom:0}.ldx-ins2 .ldx-t{margin-bottom:2px}
@media (max-width:860px){
  .ldx-hero{grid-template-columns:minmax(0,1fr);gap:28px;padding:20px 0 28px}
  .ldx-app{transform:none;animation-name:ldx-rise-flat;width:100%}
  @keyframes ldx-rise-flat{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
  .ldx-panel,.ldx-two{grid-template-columns:minmax(0,1fr)}.ldx-mine{position:static}
  .ldx-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;scrollbar-width:none}.ldx-chip{flex:none}
}
.ldx-ins .ldx-sec{display:block}
/* the landing's logo (2026-10-22, Jeroen): the name on top, the app icon's three squares under it, centred */
.ldx-logo{display:inline-flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;color:var(--ink)}
.ldx-sq{display:inline-flex;gap:3px}.ldx-sq i{display:block;width:9px;height:9px;border-radius:2.5px}
.ldx-sq i:nth-child(1){background:#6f8f6a}.ldx-sq i:nth-child(2){background:#d2a23e}.ldx-sq i:nth-child(3){background:#c9653f}
.ldx-wm{font-family:var(--serif);font-size:22px;line-height:1;letter-spacing:-.01em}
.ldx-fine{font-size:12.5px;line-height:1.5;color:var(--muted);margin:14px 0 0;max-width:720px}.ldx-fine a{color:inherit}

/* QA round 8 · landing: contrast (the accent is the darker green of a great week in light mode), no motion when asked, the pill isn't a button,
   remove in the try-out list, an import note after a No, and the last 44 px targets */
.ldx{--acc:#3c7a5a}@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .ldx{--acc:#6fae8c}}:root[data-theme="dark"] .ldx{--acc:#6fae8c}
.ldx-pill{background:transparent;color:var(--acc);box-shadow:inset 0 0 0 1.5px var(--acc)}
.ldx .ld-n{color:var(--ink2)}.ldx-add:disabled{color:var(--ink)}
.ldx-mine li .ldx-rm{background:none;border:0;color:var(--muted);font-size:18px;line-height:1;padding:0 4px;cursor:pointer;min-width:28px}.ldx-mine li .ldx-rm:hover{color:var(--ink)}
.ldx-mine li .bp-from{margin-left:auto}.ldx-src{color:inherit}
@media (prefers-reduced-motion:reduce){.ldx *,.ldx *::after{animation:none!important;transition:none!important}.ldx-app{transform:none}}
.hc-import-note{background:color-mix(in srgb,var(--yellow) 12%,transparent);border-left:3px solid var(--yellow);border-radius:0 8px 8px 0;padding:8px 12px;margin:8px 0;line-height:1.5}
@media (max-width:860px){
  .ldx-mine{order:-1}.ldx-add{min-height:44px}.ld-foot a{display:inline-block;padding:12px 4px;margin:-12px -4px}
  .tp-op,.tp-own .inp,.tp-own .btn{min-height:44px}.acct-row .ghost,.conn .ghost{min-height:44px}button.link{padding:11px 6px;margin:-11px -6px;display:inline-block}
}
/* 2026-10-22, Jeroen: the name sits above the grid, so the cards and "Your blueprint" start on one line */
.ldx-who{margin:4px 0 14px}.ldx-who-row .ldx-who{animation:ldx-in .35s both}
.ldx-mine{top:16px}.ldx-mine li{align-items:center}.ldx-mine li>span:first-of-type{flex:1;min-width:0}
.ldx-sq{gap:4px}.ldx-sq i{width:10px;height:10px}   /* measured: the ink of "Vea" has no side bearings in this serif, so the box centre is the ink centre (±0.5 px) */
/* 2026-10-22: the squares span exactly the word's width (a grid column sized by "Vea"), so the two line up in every browser's font */
.ldx-logo{display:inline-grid;grid-template-columns:max-content;justify-items:stretch;gap:3px}
.ldx-wm{display:block;text-align:center;padding:0}
.ldx-sq{display:flex;justify-content:space-between;gap:0;width:100%}.ldx-sq i{width:calc((100% - 8px) / 3);height:auto;aspect-ratio:1;border-radius:2.5px}

/* 2026-10-22 · the logo as Jeroen drew it: wide tracking, grey-green ink, the squares spanning the word */
.ldx-wm{letter-spacing:.09em;margin-right:-.09em;color:#4b5046;font-size:23px}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .ldx-wm{color:#d6cbb3}}:root[data-theme="dark"] .ldx-wm{color:#d6cbb3}
.ldx-logo{padding:4px 2px;margin:-4px -2px;gap:4px;min-height:44px;justify-content:center}
.ldx-sq i{width:calc((100% - 10px) / 3);border-radius:22%}
/* "Your blueprint" grouped by topic; a next step once something is in it */
.ldx-mine .ldx-sec{list-style:none;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:650;color:var(--ink2);margin:6px 0 -2px;padding-top:6px;border-top:1px solid var(--line)}
.ldx-mine .ldx-sec:first-child{border-top:0;padding-top:0;margin-top:0}
.ldx-next{display:none;margin-top:12px;width:100%;justify-content:center}.ldx-next.show{display:inline-flex}
/* QA round 9 · contrast: dark buttons take ink text on the light green; faint labels become muted; tags darker in light mode */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .ld .btn.ldx-go{color:#1f2430}}:root[data-theme="dark"] .ld .btn.ldx-go{color:#1f2430}
.ldx-k,.ldx-dim,.ldx .bp-from,.ldx-mine-n{color:var(--muted)}
.ldx .ld-tag{color:color-mix(in srgb,var(--green) 72%,var(--ink))}.ldx .ldx-tag-blue{color:color-mix(in srgb,var(--bluet) 72%,var(--ink))}.ldx .ldx-tag-yellow{color:color-mix(in srgb,var(--yellow) 60%,var(--ink))}
.signin-msg.good{color:var(--s10)}
.ld-tag:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.hc-own{display:grid;gap:6px;margin:6px 0 4px}.hc-own .acct-check{min-height:44px;font-size:15px}
.tp-cut{display:block;width:100%;margin:2px 0 0}
@media (max-width:860px){
  button.link{padding:12px 6px;margin:-12px -6px}.tp-own .btn{min-width:44px}[data-act="track-back"]{padding:12px 8px;margin:-12px -8px}
  .ldx-mine li .ldx-rm{min-width:44px;min-height:44px}.ldx-src,.ldx-fine a{display:inline-block;padding:10px 0;margin:-10px 0}
  .acct-s .ghost,.setup .sel{min-height:44px}
}

/* 2026-10-22 · landing sign-in like the best product pages: a text link top-right, one button in the hero, the form on its own screen, the ask repeated at the end */
.ldx-signin{font-size:15px;color:var(--ink2);border-bottom:0;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--line2);min-height:44px;padding:0 8px}
.ldx-signin:hover{color:var(--ink);text-decoration-color:var(--ink)}
.ldx-have{margin:10px 0 0;font-size:14px;color:var(--muted)}.ldx-have .link{font-size:14px;color:var(--ink2)}
.ldx-end{text-align:center;padding:44px 0 48px;border-top:1px solid var(--line);margin-top:8px}
.ldx-end h2{font-family:var(--serif);font-weight:500;font-size:clamp(28px,4vw,44px);line-height:1.08;letter-spacing:-.015em;margin:0 0 18px}
.ldx-end .btn{height:46px;padding:0 22px;font-size:15.5px}
.ldx-cta-c{justify-content:center}
.ldx-ios{display:inline-flex;align-items:center;text-decoration:none}   /* the App Store link next to Start (2026-11-12) */
.signin-back{display:inline-block;margin:0 0 14px;color:var(--muted);font-size:14px;border-bottom:0;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line2);min-height:44px;padding:11px 8px;margin-left:-8px}
/* QA round 10 · contrast in light mode, own-picks step with a way back, the last 44 px items */
.signin-msg.good{color:#2f6a4c}.ldx-sec{color:var(--muted)}.ldx-k,.ldx .bp-from,.ldx-mine-n,.ldx-src{color:var(--ink2)}.ldx-cap,.ldx-dim{color:var(--muted)}
.ldx .ld-tag{color:color-mix(in srgb,var(--green) 55%,var(--ink))}.ldx .ldx-tag-blue{color:color-mix(in srgb,var(--bluet) 55%,var(--ink))}.ldx .ldx-tag-yellow{color:color-mix(in srgb,var(--yellow) 45%,var(--ink))}.ldx .ldx-tag-gray{color:var(--ink2)}
.ldx .ld-tag{min-height:28px;display:inline-flex;align-items:center}
@media (max-width:860px){button.link{padding:13px 6px;margin:-13px -6px}.tp-kind button{min-height:44px}.ldx .ld-tag{min-height:44px}.signin-card .signin-legal a,.ld-more a,.hc-card a{display:inline-block;padding:12px 2px;margin:-12px -2px}}
/* the logo as a 3-column grid: each letter sits centred over its own square (2026-10-22) */
.ldx-logo{display:inline-grid;grid-template-columns:repeat(3,16px);column-gap:4px;row-gap:3px;justify-items:center;align-items:end;padding:4px 2px;margin:-4px -2px}
.ldx-wm,.ldx-sq{display:contents}
.ldx-wm b{font-family:var(--serif);font-weight:400;font-size:23px;line-height:1;letter-spacing:0;color:#4b5046;text-align:center}
.ldx-sq i{width:12px;height:12px;border-radius:3px}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .ldx-wm b{color:#d6cbb3}}:root[data-theme="dark"] .ldx-wm b{color:#d6cbb3}
/* "+ N more from Walker": the rest of a person's lines slide in under the three (2026-10-22) */
.ldx-more{margin-top:10px;background:none;border:1.5px solid var(--line2);border-radius:999px;padding:0 14px;min-height:44px;font-size:14px;font-weight:600;color:var(--ink);cursor:pointer}
.ldx-more:hover{border-color:var(--muted)}.ldx-line.ldx-new{animation:ldx-in .35s both;animation-delay:calc(var(--i)*60ms)}

/* QA round 11 · contrast in both modes, the card's kept-lines note */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .signin-msg.good{color:#8fd0ad}}:root[data-theme="dark"] .signin-msg.good{color:#8fd0ad}
.signin-foot,.ldx-sec,.ldx-cap,.ldx-dim,.ldx-mine-n,.ldx-keep-n,.ldx-have,.signin-back{color:var(--ink2)}.ldx-sec{color:var(--ink2)}
.signin-kept{margin:-4px 0 12px;color:var(--ink2)}
/* tighter (2026-10-22, Jeroen): columns at the letters' own width, the squares right under them */
.ldx-logo{grid-template-columns:repeat(3,13px);column-gap:2px;row-gap:1px}
.ldx-sq i{width:11px;height:11px;border-radius:3px}
/* the empty "Your blueprint" shows its topic rows (2026-10-22, Jeroen) */
.ldx-mine-lead{margin:6px 0 4px}.ldx-mine .ldx-ph{color:var(--faint);font-size:13px;padding:2px 0 4px;list-style:none}
.ldx-mine .ldx-sec{margin-top:4px}

/* ===== Sign in / Join, option 2 (2026-10-22, Jeroen): nothing but the logo, a warm title, one box, one green button ===== */
.signin{background:none}
.signin-card{background:none;box-shadow:none;width:min(400px,100%);padding:24px 8px;text-align:center;align-items:stretch}
.signin-brand{display:flex;justify-content:center}.signin-brand .ldx-logo{grid-template-columns:repeat(3,19px);column-gap:3px;row-gap:2px}.signin-brand .ldx-wm b{font-size:34px}.signin-brand .ldx-sq i{width:16px;height:16px;border-radius:4px}
.signin-back{align-self:flex-start}
.sx-title{font-family:var(--serif);font-weight:500;font-size:38px;line-height:1.1;letter-spacing:-.015em;margin:22px 0 6px}
.sx-sub{color:var(--muted);margin:0 0 26px;font-size:15.5px}
.sx label{display:block;text-align:left;font-size:13px;color:var(--muted);margin:0 0 6px}
.sx-inp{width:100%;height:50px;font-size:17px;padding:0 14px;border-radius:10px;margin-bottom:12px;box-sizing:border-box}
.sx-go{width:100%;height:50px;border:0;border-radius:10px;background:#3c7a5a;color:#fff;font-size:16px;font-weight:600;justify-content:center;margin:0 0 4px}
.sx-go:hover{background:#346a4e}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .sx-go{background:#6fae8c;color:#1f2430}}:root[data-theme="dark"] .sx-go{background:#6fae8c;color:#1f2430}
.sx .signin-msg{min-height:0;margin:8px 0 0;font-size:14px}.sx .signin-msg:empty{display:none}
.sx-alt{margin:18px 0 0;font-size:14px;color:var(--muted);line-height:1.6}.sx-alt .link{font-size:14px;color:var(--ink2);border-bottom:0;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line2)}
.sx-legal{margin:26px 0 0;font-size:12.5px;color:var(--muted)}.sx-legal a{color:inherit}
.sx-mail .sx-ic{width:64px;height:64px;border-radius:50%;background:color-mix(in srgb,#3c7a5a 18%,transparent);display:grid;place-items:center;margin:8px auto 0}.sx-mail .sx-ic svg{width:28px;height:28px;color:var(--ink)}
.sx-mail p{color:var(--ink2);margin:0 0 8px;font-size:16px}.sx-mail .sx-title{margin-top:18px}
.signin-kept{margin:-16px 0 18px;color:var(--ink2)}
.signin-box.joining .signin-only,.signin-box:not(.joining) .join-only{display:none}
@media (max-width:860px){.sx-alt .link,.sx-legal a{display:inline-block;padding:10px 2px;margin:-10px -2px}}
@media (max-width:860px){.sx-alt .link,.sx-legal a{padding:13px 2px;margin:-13px -2px}}
/* the hero's Home card sits straight (2026-10-22, Jeroen: the tilt looked off) */
.ldx-app{transform:none;animation-name:ldx-rise-flat}
@keyframes ldx-rise-flat{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
/* the lines and "Your blueprint" are one row of equal height (2026-10-23, Jeroen) */
.ldx-panel{align-items:stretch}.ldx-mine{position:static;display:flex;flex-direction:column}.ldx-mine ul{flex:1}

/* Beta, next to the logo (2026-10-23, Jeroen: open to everyone, marked as beta) */
.ldx-brandrow{display:inline-flex;align-items:center;gap:10px}
.ldx-beta{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:650;color:var(--muted);border:1px solid var(--line2);border-radius:999px;padding:3px 8px 2px;line-height:1}
.signin-brand .ldx-beta{display:none}
/* the hero's circles are buttons now (2026-10-23): tap to tick, the count follows */
button.ldx-tk{border:0;padding:0;cursor:pointer;background:transparent;box-shadow:inset 0 0 0 1.5px var(--line2)}
button.ldx-tk.on{background:var(--acc);box-shadow:none}button.ldx-tk.today{box-shadow:inset 0 0 0 1.5px var(--acc)}button.ldx-tk.on.today{box-shadow:none}
button.ldx-tk:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.ldx-row.ldx-still,.ldx-row.ldx-still .ldx-tk.on{animation:none}
.ldx-st.ldx-hit{color:var(--acc)}
@media (max-width:860px){button.ldx-tk::before{content:"";position:absolute;inset:-8px -2px}button.ldx-tk{position:relative}}

/* ---------- Vea intelligence (2026-10-24): the gold mark says "the on-device model wrote this" ---------- */
.ai-mark{display:inline-block;width:8px;height:15px;border-radius:2.5px;background:linear-gradient(165deg,#e8c868,#b8862b);box-shadow:inset 0 0 0 .5px rgba(0,0,0,.08);flex:none}
.ai-line{display:flex;gap:10px;align-items:flex-start;margin:8px 2px 4px;font-size:13.5px;line-height:1.45;color:var(--ink2)}
.ai-line .ai-mark{margin-top:3px}
.ai-line.wait span{color:var(--faint)}
.wait .ai-mark{animation:ai-pulse 1.2s ease-in-out infinite}
@keyframes ai-pulse{0%,100%{opacity:.4}50%{opacity:1}}
.ai-review{padding:14px 16px;margin:0 0 14px}
.ai-head{display:flex;align-items:center;gap:10px;margin-bottom:8px;flex-wrap:wrap}
.ai-head b{font-family:var(--serif);font-weight:500;font-size:17px}
.ai-body p{margin:0 0 8px;font-size:14px;line-height:1.5;color:var(--ink2)}.ai-body p:last-child{margin:0}
.ai-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;align-items:center}
.ai-foot{font-size:11px;color:var(--faint);margin-top:8px}
#sec-ai .acct-ic{display:grid;place-items:center}

/* the goal panel's source line (2026-10-25) */


/* ---------- goal panel v2 (2026-10-27, Jeroen: "quite clunky"): a sheet on the phone, settings rows, three tabs ---------- */
.gmodal{width:min(760px,calc(100vw - 32px))}
.gm-top{padding:8px 10px 8px 12px;position:relative}
.gm-grab{display:none}
.gm-nav{font-size:13.5px;color:var(--muted);max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gm-x{width:30px;height:30px;padding:0;margin-left:10px;border-radius:50%;background:var(--hover);display:grid;place-items:center;flex:none;font-size:14px;line-height:1}
.gm-count{white-space:nowrap}
.gm-ht h2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.gm-chip{margin-left:2px}
.gm-hero{background:var(--card);box-shadow:var(--card-shadow);border-radius:14px;padding:14px 16px 12px;margin-top:4px}
.gm-k{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600}
.gm-big{display:flex;align-items:baseline;gap:8px;margin-top:2px;flex-wrap:wrap}.gm-big b{font-family:var(--serif);font-weight:500;font-size:34px;letter-spacing:-.01em}.gm-big span{font-size:13px;color:var(--muted)}
.gm-bar{height:7px;border-radius:4px;background:var(--empty);margin:10px 0 8px;overflow:hidden}.gm-bar i{display:block;height:100%;border-radius:4px;min-width:3px;transition:width .3s}
.gm-ticks{margin:10px 0 8px;gap:6px}.gm-ticks .tk{width:30px;height:30px}
.gm-hs{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;color:var(--muted)}
.gm-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 14px}
.gm-3 .gm-stat{padding:10px 12px}.gm-3 .gm-stat b{font-size:18px}
.gm-tabs{margin:0 0 14px;width:100%}.gm-tabs button{flex:1;text-align:center}
.gm-rows{background:var(--card);box-shadow:var(--card-shadow);border-radius:14px;overflow:hidden}
.gm-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 14px;border-top:1px solid var(--line);font-size:14.5px;color:var(--ink);background:none}
.gm-row:first-child{border-top:0}.gm-row:hover{background:var(--hover)}
.gm-ri{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--hover);flex:none;font-size:14px}.gm-ri svg.ic{width:15px;height:15px}
.gm-rt{flex:1;min-width:0}.gm-rt small{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.gm-rv{color:var(--muted);font-size:13.5px;text-align:right}.gm-rv .gm-hv{color:var(--ink);font-weight:500}.gm-rc{color:var(--faint);font-size:17px}
.gm-del{display:block;width:100%;text-align:center;color:var(--red);font-size:14px;padding:16px 0 4px;background:none}
.gm-subh{margin:-4px 0 6px}.gm-subt{margin:0 0 6px;font-size:21px}
.gm-radio{width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line2);flex:none}.gm-radio.on{box-shadow:none;background:var(--blue);position:relative}.gm-radio.on::after{content:"";position:absolute;inset:6px;border-radius:50%;background:#fff}
.gm-opt2.dis{opacity:.5}
@media (max-width:860px){
  .gmodal{top:auto;bottom:0;left:0;width:100vw;height:auto;max-height:92vh;border-radius:22px 22px 0 0;transform:translateY(100%);transition:transform .32s cubic-bezier(.2,.9,.3,1),opacity .2s}
  .gmodal.show{transform:none}
  .gm-top{padding-top:14px}.gm-grab{display:block;position:absolute;left:50%;top:6px;transform:translateX(-50%);width:36px;height:5px;border-radius:3px;background:var(--line2)}
  .gm-body{padding:14px 16px calc(28px + env(safe-area-inset-bottom))}
  .gm-nav{max-width:110px}.gm-count{display:none}
}

/* rows that unfold (What now merged into Overview, 2026-10-27) */
.gm-rw{border-top:1px solid var(--line)}.gm-rw:first-child{border-top:0}.gm-rw .gm-row{border-top:0}
.gm-rw.open .gm-row{background:var(--hover)}
.gm-rb{padding:4px 14px 14px 54px;font-size:14px}.gm-rb .gm-why{margin:4px 0 10px}.gm-rb .target input{width:60px}
.gm-nudge{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13.5px;color:var(--ink2);padding:8px 12px;margin:0 0 10px;border-radius:10px;background:color-mix(in srgb,var(--blue-bg) 45%,var(--bg))}
@media (max-width:860px){.gm-rb{padding-left:14px}}

/* Home header, option B (2026-10-28, Jeroen): "Week 44" and the day on one line, the strip as a timeline with Jan · N weeks left under it */
.hero-l{width:100%}
.hero-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.hero-top .hero-week{margin:0}
.hero-date{font-size:14px;color:var(--muted);white-space:nowrap}
.hero .hero-strip{margin:10px 0 0}.hero .hero-strip i{height:9px}
.hero-lbl{display:flex;justify-content:space-between;gap:10px;margin-top:6px;font-size:12px;color:var(--faint)}
.hero-lbl .hero-ci{margin-right:10px;font-size:12.5px}
@media (max-width:860px){.hero-date{font-size:13.5px}.hero .hero-strip{margin:8px 0 0}}

/* ---------- design review 2026-10-28 ---------- */
/* Home habits: one signal a row. The status dot showed the last 12 weeks next to this week's value (an amber dot beside "✓ Done"),
   so Home drops it; the 12-week view stays in the laptop's Last 12 weeks column and on Habits & Goals. Day letters once on the phone. */
.habits-card .gdot{display:none}
.habits-card{--hbc:minmax(0,1fr) 206px 160px 120px}
.hb-cols .hb-h{grid-column:auto}
.hb-days{display:none}
.tk-d.today,.hb-days .today{color:var(--ink);font-weight:700}
@media (max-width:860px){
  .hb-row,.hb-row:has(.hb-typed){grid-template-columns:minmax(0,1fr) auto}
  .hb-7{grid-column:1/-1}
  .hb-row .hb-w{grid-row:1;grid-column:2}
  .hb-days{display:flex;justify-content:space-between;grid-column:1/-1;margin:2px 0 -3px}
  .hb-days span{width:30px;text-align:center;font-size:10.5px;font-weight:600;letter-spacing:.04em;color:var(--faint)}
  .habits-card .gl{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name num" "bar sub"}
}
/* Home to-do rows: the row is the button, Later and Hide in ⋯, a quiet verb instead of a coloured button */
.tdx{display:flex;align-items:center;gap:6px;border-top:1px solid var(--line)}
.todo-card h4+.tdx{border-top:0}
.tdx-go{all:unset;box-sizing:border-box;cursor:pointer;flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:10px 0;color:var(--ink)}
.tdx-go:hover .tdx-t{text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:3px}
.tdx-go:focus-visible,.tdx-more:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:8px}
.tdx-b{flex:1;min-width:0;display:flex;flex-direction:column}
.tdx-t{font-size:14.5px;line-height:1.35}
.tdx-s{font-size:12.5px;color:var(--muted);margin-top:1px}
.tdx.due .tdx-s{color:var(--orange)}
.tdx.due .todo-i,.tdx.warn .todo-i{background:var(--orange-bg)}
.tdx-v{font-size:13px;color:var(--muted);white-space:nowrap}
.tdx-c{color:var(--faint);font-size:19px;line-height:1;margin-left:-4px}
.tdx-more{all:unset;cursor:pointer;width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:var(--muted);flex:none}
.tdx-more:hover{background:var(--hover);color:var(--ink)}
.tdx-more svg{width:16px;height:16px}
@media (max-width:860px){
  .tdx-v:not(.tdx-keep){display:none}
  .tdx-s{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .tdx-more{background:var(--hover)}
}
/* Check-in (review 2026-10-28): text sections look like a field, like the score's note (Jeroen, 2026-10-25) */
.ci-row>div>.ci-edit{padding:9px 12px;margin:0;min-height:46px;border:1px solid var(--line2);border-radius:8px;background:var(--hover)}
.ci-row>div>.ci-edit:focus{border-color:var(--blue)}
.p-dates .p-yr{margin-left:-6px}
.ci-last,.kw-pill,.cmp-pill{display:none}
.kw-pill,.cmp-pill{align-items:center;gap:4px;height:28px;padding:0 10px;border:0;border-radius:14px;box-shadow:inset 0 0 0 1px var(--line2);background:none;font:inherit;font-size:13px;color:var(--ink);cursor:pointer;white-space:nowrap}
.kw-pill svg,.cmp-pill svg{width:13px;height:13px;color:var(--muted)}
@media (max-width:860px){
  /* the week's settings on one line: dates · kind of week · compare with; Apple Health's state underneath when it's in use */
  .props{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:2px 0 12px}
  .props .prop{display:block;min-height:0;padding:0}
  .props .pk{display:none}
  .props .pv{padding:0;min-height:0}
  .p-dates .pv{font-size:13.5px;color:var(--muted)}
  .p-yr,.p-kind .rest-seg,.p-kind .pv>.faint,.p-cmp select,.p-health .p-why{display:none}
  .kw-pill,.cmp-pill{display:inline-flex}
  .props .p-health{order:3;flex-basis:100%;display:flex;flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:2px 6px;font-size:12.5px}.props .p-cmp{order:2}
  .props .p-health .pk{display:inline-flex;width:auto;padding:0;font-size:12.5px}.p-health .pv{display:contents}
  .wnotes:has(.wn-empty){display:none}
  /* a number section is one line: name · box · unit · last week · ⋯, where it comes from under the name */
  .ci-row.ci-num{grid-template-columns:minmax(0,1fr) 72px 22px 74px 20px;gap:1px 6px;align-items:center;padding:9px 0}
  .ci-num>div:nth-child(2),.ci-num .numin{display:contents}
  .ci-num .ci-label{grid-row:1;grid-column:1;min-width:0;padding:0;font-weight:500;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ci-num .nh{display:none}
  .ci-num .numin input{grid-row:1;grid-column:2;width:100%;height:36px}
  .ci-num .numin>.muted{grid-row:1;grid-column:3;font-size:13px}
  .ci-num .ci-prev{grid-row:1;grid-column:4;border:0;padding:0;text-align:right;font-size:12.5px;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ci-num .nmore{grid-row:1;grid-column:5;opacity:1;margin:0;padding:0 2px 4px;justify-self:center}
  .ci-num .src{grid-row:2;grid-column:1;justify-self:start;background:none;padding:0;font-size:11.5px}.ci-num .src svg{margin-right:3px;vertical-align:-2px}
  .ci-num .src-health{color:var(--muted)}.ci-num .src-typed{display:none}
  .ci-num .numin>.faint.small{grid-row:2;grid-column:2/-1;font-size:11px}
  .ci-num .sm-same{margin:0;padding:3px 8px;background:var(--hover);border-radius:12px;font-size:12.5px;color:var(--ink2)}
  /* the score: last week next to its name; the focus: this week's shows once */
  .ci-rate .ci-label{display:flex;align-items:baseline;gap:6px}
  .ci-last{display:inline;margin-left:auto;font-weight:400;font-size:12.5px;color:var(--faint)}
  .ci-rate .ci-prev,.ci-focus .ci-prev,.ci-row:not(.ci-num) .ci-prev.none{display:none}
  .ci-row:not(.ci-num):not(.ci-rate):not(.ci-focus) .ci-prev::before{content:"Last week: ";color:var(--faint)}
}
/* Habits list (review 2026-10-28): chips with counts and one ⋯; two lines a habit; the target as words you can tap */
.gl-ctl{gap:7px;margin:0 0 10px}.gl-ctl .spacer{display:none}
.fchip{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 12px;border:0;border-radius:15px;box-shadow:inset 0 0 0 1px var(--line2);background:none;font:inherit;font-size:13px;color:var(--ink2);cursor:pointer;white-space:nowrap}
.fchip span{color:var(--faint)}.fchip.on{background:var(--ink);color:var(--bg);box-shadow:none}.fchip.on span{color:color-mix(in srgb,var(--bg) 62%,transparent)}
.fmore{width:32px;height:32px;border:0;border-radius:8px;box-shadow:inset 0 0 0 1px var(--line2);background:none;display:grid;place-items:center;color:var(--muted);cursor:pointer;flex:none}
.fmore:hover{background:var(--hover);color:var(--ink)}.fmore svg{width:16px;height:16px}
.glist-h .gdot{display:none}
.glist-h .gl{grid-template-columns:14px minmax(0,1fr) 230px 150px 118px 56px}
.target.tgt-w{background:none;padding:0;height:auto;gap:3px;font-weight:400}
.target.tgt-w input{width:auto;min-width:2ch;text-align:left;font-weight:500;font-size:13px;color:var(--ink2);border-bottom:1px dashed var(--line2);border-radius:0;padding:0 1px}
.target.tgt-w input:focus{box-shadow:inset 0 0 0 1.5px var(--blue);border-bottom-color:transparent;border-radius:4px;background:var(--bg);padding:0 3px}
.glist-h .gl-x b{font-weight:500}
@media (max-width:860px){
  .glist-h .gl{grid-template-columns:14px minmax(0,1fr) auto;row-gap:5px}
  .glist-h .gl .grip{grid-row:1/3;grid-column:1;align-self:center}
  .glist-h .gl-n{grid-row:1;grid-column:2}
  .glist-h .gl-st{grid-row:1;grid-column:3}
  .glist-h .gl-v{grid-row:2;grid-column:2}
  .glist-h .gl-x{grid-row:2;grid-column:2/4;justify-self:end;flex-direction:row;gap:5px;align-items:baseline}
  .glist-h .gl-x b{font-weight:400;font-size:12.5px;color:var(--faint)}.glist-h .gl-x span{font-size:12.5px;color:var(--faint)}
  .glist-h .gl-x b+span::before{content:"· "}
  .gl-ctl{flex-wrap:nowrap;overflow-x:auto}
}
/* Insights → Trends (review 2026-10-28): one range switch and Options; one big number per chart; the average as the line */
.an-ctl{align-items:center}
.optbtn{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 11px;border:0;border-radius:8px;box-shadow:inset 0 0 0 1px var(--line2);background:none;font:inherit;font-size:13px;color:var(--ink2);cursor:pointer;white-space:nowrap}
.optbtn:hover{background:var(--hover);color:var(--ink)}.optbtn svg{width:15px;height:15px}
.chartbox .ct{font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:650;color:var(--ink2)}
.chartbox .ct .ct-g{font-weight:400;font-size:11px;letter-spacing:.04em;text-transform:none}
.an-big{display:flex;align-items:baseline;gap:8px;margin:4px 0 0}.an-big b{font-size:30px;font-weight:650;letter-spacing:-.02em;line-height:1.1}.an-big span{font-size:13px;color:var(--muted)}
.an-ex{font-size:12.5px;color:var(--faint);margin-top:2px}.an-ex b{font-weight:500;color:var(--muted)}.an-ex b.click{cursor:pointer}.an-ex b.click:hover{color:var(--ink)}
.an-ex b.good{color:var(--green)}.an-ex b.bad{color:var(--red)}
.an-leg{display:flex;gap:14px;font-size:11.5px;color:var(--faint);margin:2px 0 0 2px}.an-leg span{display:inline-flex;align-items:center;gap:5px}
.an-leg i{display:inline-block;width:14px;height:0;border-top:2.5px solid currentColor;color:var(--muted)}.an-leg i.d{width:6px;height:6px;border:0;border-radius:50%;background:var(--muted);opacity:.45}
.corr-s{font-size:13px;color:var(--muted);margin-top:4px;line-height:1.45}.corr-s b{color:var(--ink);font-weight:600}
/* Account settings (review 2026-10-28): rows like iPhone Settings, each opens its own page (#account?sub=…) */
.acct.acct-index{gap:0}
.acct-me-row{display:flex;align-items:center;gap:13px;padding:12px 14px;background:var(--card);box-shadow:var(--card-shadow);border-radius:14px;color:var(--ink);text-decoration:none}
.acct-me-row:hover{background:var(--hover)}
.acct-me-row .avatar{width:52px;height:52px;font-size:18px;flex:none}
.acct-me-t{flex:1;min-width:0;display:flex;flex-direction:column}.acct-me-t b{font-size:17px;font-weight:600}
.acct-me-t small{font-size:12.5px;color:var(--muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct-gl{font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:var(--muted);margin:22px 4px 7px}
a.gm-row{text-decoration:none}
.gm-ri.ri-h{background:var(--red-bg);color:var(--red)}.gm-ri.ri-g{background:var(--green-bg);color:var(--green)}.gm-ri.ri-b{background:var(--blue-bg);color:var(--blue)}.gm-ri.ri-y{background:var(--yellow-bg);color:var(--yellow)}
.acct-del{margin-top:22px}.acct-del .gm-row{justify-content:center;color:var(--red)}.acct-del .gm-rt{flex:none}
.acct-index .acct-brand{margin-top:26px}
.phead:has(.pback){flex-wrap:wrap;row-gap:2px}.pback{display:block;flex-basis:100%;width:max-content;margin:0 0 4px;color:var(--muted);text-decoration:none;font-size:14px}.pback:hover{color:var(--ink)}   /* a page inside a page: back to its list, above the title like iPhone */
.acct-sub .acct-s>h3:first-child{display:none}
/* Blueprints → Yours, empty (review 2026-10-28): one invitation, one button */
.bp-empty{text-align:center;padding:26px 18px 22px}
.bp-empty-i{width:54px;height:54px;border-radius:16px;background:var(--green-bg);color:var(--green);display:grid;place-items:center;margin:0 auto 12px}.bp-empty-i svg{width:26px;height:26px}
.bp-empty h3{margin:0 0 6px;font-size:18px;font-weight:620;letter-spacing:-.01em}
.bp-empty p{margin:0 auto 16px;color:var(--muted);font-size:14.5px;max-width:320px}
.bp-empty .bp-empty-b{background:var(--ink);color:var(--bg);height:36px;padding:0 16px;margin-bottom:12px}
.pbcard h4 svg.ic{margin-right:6px}
/* Across the app (review 2026-10-28) */
/* score tags: the score scale's colours (--s5…--s10), dark text reads on all of them in both looks */
.tag.sx-score{min-width:22px;text-align:center;font-weight:650;color:#1f2430}
.sx-s5{background:var(--s5)}.sx-s6{background:var(--s6)}.sx-s7{background:var(--s7)}.sx-s8{background:var(--s8)}.sx-s9{background:var(--s9)}.sx-s10{background:var(--s10)}
/* two heading styles: the serif for page titles and hero numbers, small capitals for sections */
.sx-h{font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:650;color:var(--ink2);margin:30px 0 12px;padding-top:16px;border-top:1.5px solid var(--line)}
.yr-weeks .sx-h,h2.sx-h#sec-drivers{border-top:0;padding-top:0}
h2.sx-h#sec-drivers{margin-top:34px}
.yr-big{font-family:var(--serif);font-weight:500;letter-spacing:-.01em}
/* dark mode: the main button stays a strong blue with white text (a pale blue with dark text read as switched off) */
:root{--btn-bg:var(--blue)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--btn-bg:#3f6cc4;--btn-ink:#fff}}
:root[data-theme="dark"]{--btn-bg:#3f6cc4;--btn-ink:#fff}
.btn{background:var(--btn-bg)}
.cibtn{background:var(--btn-bg)}.cibtn:hover{background:color-mix(in srgb,var(--btn-bg) 86%,#000)}
/* Insights on a narrow phone (2026-10-28, Jeroen's screenshot): the big number never breaks, the controls stay on one line */
.an-ctl{flex-wrap:nowrap}.an-ctl .seg{flex:none}
.an-big{flex-wrap:wrap;row-gap:0}.an-big b{white-space:nowrap}
@media (max-width:860px){.an-big b{font-size:26px}.an-ex{font-size:12px}}
/* Home tiles, the rest */
.home .hb-row.hb-cols{border-bottom:1px solid var(--line)}
.home .lb-note{display:none}
.home .focus-prev{padding-top:8px}
.ov.home{gap:0}
@media (max-width:860px){.home .box,.home .habits-card{padding:14px 16px 12px}.home .box:not(.week-card){padding:14px 16px 12px}.hero{margin-bottom:14px}.home .box h4{margin-bottom:8px}}
/* the landing's Home mock, like today's Home (2026-10-28) */
.ldx-cap2{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:4px}.ldx-cap2 b{font-family:var(--serif);font-weight:500;font-size:22px;color:var(--ink)}
.ldx-strip2{margin:0 0 12px}
.p-short{display:none;text-decoration:none}
@media (max-width:860px){.p-health .p-why{display:none}.p-short{display:inline}}
/* "What goes with a good week" (2026-10-28): one sentence holds the settings; the dot chart sits in the right column */
.an-q{font-size:15px;line-height:1.6;margin:2px 0 10px;color:var(--ink)}
.an-w{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:2px;font-weight:600;border-bottom:1.5px dashed var(--line2);padding-bottom:1px}
.an-w:hover{border-bottom-color:var(--ink)}.an-w svg.ic{width:13px;height:13px;color:var(--muted)}
.an-help{margin:4px 0 12px}.an-evq{margin:14px 0 0}.an-evq .link{font-size:13.5px}
.corr-right{display:flex;flex-direction:column;gap:14px}.corr-right .pairs{margin:0}
/* ---------- Style C (2026-10-28, Jeroen: "Go C"): grouped like iPhone Settings. The label sits above the card, the card holds only
   rows; one tile everywhere: the paper a notch lighter, a hairline, 14px corners (what Account settings already did). Chart and number
   tiles on Insights keep their title inside: they're pictures with a caption, not lists. ---------- */
:root{--tile-r:14px}
.tile-label,.home .box>h4,.home .week-card .wc-label,.home .habits-card .hb-h,.home .goals-card>.hb-part:first-child h4,.lsec>.lhead:first-child h3,.corr-right .pairs>h4{font-size:11.5px!important;font-weight:600!important;letter-spacing:.1em!important;text-transform:uppercase;color:var(--muted)!important}
/* Home */
.home .box{position:relative;margin:42px 0 0;padding:2px 16px 6px;border-radius:var(--tile-r)}
.home .week-card{overflow:visible}.home-main>.box:first-child{margin-top:30px}
@media (min-width:1320px){.home-side>.box:first-child{margin-top:30px}}
.home .box>h4,.home .week-card .wc-label,.home .habits-card .hb-h,.home .goals-card>.hb-part:first-child{position:absolute;left:4px;right:4px;top:-25px;margin:0;min-height:0}
.home .week-card{padding:10px 16px 12px}.home .wc-focus{padding:0}
.home .habits-card{padding:2px 16px 6px}.home .goals-card{padding:4px 16px 8px}.home .goals-card .glist{border-top:0}.home .goals-card .gl:first-child{border-top:0}
.home .hb-cols>.hb-7{grid-column:2}.home .hb-cols>.hb-w{grid-column:3}.home .hb-cols>.hb-std{grid-column:4}
.home .lookback-card{margin-top:54px;padding-top:12px}.home .lookback-card>h4{top:-38px;align-items:center}
.home .todo-card{padding-top:2px;padding-bottom:2px}.home .todo-card .tdx:first-of-type{border-top:0}
.home .hb-sum{padding:10px 0 6px}
@media (max-width:860px){
  .home .habits-card .hb-row.hb-cols{min-height:0;height:0;padding:0;border:0}
  .home .hb-cols+.hb-row,.home .hb-cols+.hb-left+.hb-row{border-top:0}
  .home .box,.home .box:not(.week-card),.home .habits-card{padding:2px 14px 6px}.home .week-card{padding:10px 14px 12px}.home .lookback-card{padding-top:12px}
}
/* Habits & Goals: the habit list is one card; each roadmap year is a card with its year above it */
.glist-h{background:var(--card);box-shadow:var(--card-shadow);border-radius:var(--tile-r);padding:0 16px;border-top:0!important}
.glist-h .gl:last-child{border-bottom:0}
.rch{position:relative;background:var(--card);box-shadow:var(--card-shadow);border-radius:var(--tile-r);border-top:0;padding:12px 16px 8px;margin:44px 0 0}
.rch>.rch-h{position:absolute;left:4px;right:4px;top:-32px;margin:0}
.rch.fold{margin-top:40px}
/* Blueprints */
.lsec{position:relative;border-radius:var(--tile-r);padding:6px 16px 12px;margin:36px 0 16px}
.lsec>.lhead:first-child{position:absolute;left:4px;right:4px;top:-27px;margin:0;padding:0;border:0}
/* Insights: the links are a card of rows; the pairs a card with its label above; the same corners for every tile */
.corrlist{background:var(--card);box-shadow:var(--card-shadow);border-radius:var(--tile-r);padding:0 14px}
.corrlist .corr:last-of-type{border-bottom:0}
.corr-right .pairs{position:relative;background:var(--card);box-shadow:var(--card-shadow);border-radius:var(--tile-r);border-top:0;padding:12px 16px;margin-top:28px}
.corr-right .pairs>h4{position:absolute;left:4px;right:4px;top:-26px;margin:0}
.chartbox,.rvgrid>.box,.gm-rows{border-radius:var(--tile-r)}
/* Style B with the label above (2026-10-28, Jeroen: "put it to style b but the label sits above the card"): Blueprints' card,
   12px corners, its tighter padding, cards 16px apart, the label in ink like Blueprints' labels */
:root{--tile-r:12px}
.tile-label,.home .box>h4,.home .week-card .wc-label,.home .habits-card .hb-h,.home .goals-card>.hb-part:first-child h4,.lsec>.lhead:first-child h3,.corr-right .pairs>h4{color:var(--ink2)!important;font-weight:650!important}
.home .box{margin-top:38px;padding:0 16px 4px}.home-main>.box:first-child{margin-top:28px}
.home .week-card{padding:10px 16px 10px}.home .goals-card{padding:2px 16px 6px}.home .lookback-card{margin-top:50px;padding-top:10px}
.lsec{padding:4px 16px 10px}.rch{padding:10px 16px 6px}.glist-h{padding:0 16px}.corrlist{padding:0 14px}.corr-right .pairs{padding:10px 16px}
@media (max-width:860px){.home .box,.home .box:not(.week-card),.home .habits-card{padding:0 14px 4px}.home .week-card{padding:10px 14px 10px}.home .lookback-card{padding-top:10px}}
.gm-rows{border-radius:var(--tile-r)}
/* the add links at the end of a card are plain text, not underlined (their underline sat on the card's edge, 2026-10-28) */
.rch-add .link,.bp-empty .link{border-bottom:0}.rch-add .link:hover,.bp-empty .link:hover{color:var(--ink)}
.rch{padding-bottom:10px}
/* Exactly Blueprints' tile (2026-10-28, Jeroen: "it doesn't look like the old blueprint tiles"): no 1.5px rule along the top edge
   (left from the paper-sections look), content 14px from every edge like .bp-card / the old .lsec, the label in ink */
.home .box,.home .box:not(.week-card),.home .habits-card,.home .goals-card,.lsec,.rch,.corr-right .pairs,.glist-h,.corrlist{border-top:0!important}
.home .week-card,.home .lookback-card{padding:14px 16px!important}
.home .todo-card{padding:4px 16px!important}
.home .habits-card{padding:6px 16px 6px!important}
.home .goals-card{padding:6px 16px 10px!important}
.lsec{padding:10px 16px 14px}.rch{padding:14px 16px}.corr-right .pairs{padding:14px 16px}
.home .box>h4,.home .week-card .wc-label,.home .habits-card .hb-h,.home .goals-card>.hb-part:first-child h4,.lsec>.lhead:first-child h3,.corr-right .pairs>h4{color:var(--ink)!important}
/* "No focus this week" alone in its card: no gap above it (the margin and padding are for the line under a written focus, 2026-10-28) */
.home .wc-nofocus .focus-prev{margin:0;padding:0}
/* Later / Earlier on the roadmap are a heading on the paper, not a card: their years are the cards (a card in a card stacked the
   see-through tile twice and looked whiter, 2026-10-28) */
.rch.fold{background:none;box-shadow:none;border-radius:0;padding:0;margin:40px 0 0}
.rch.fold>.rch-h{position:static;margin:0 4px 6px}
.rch.fold>.rch{margin-top:46px}.rch.fold>.rch-h+.rch{margin-top:56px}
/* the roadmap's filter line (2026-10-28): one Areas button, the Show achieved switch on the right */
.rch-bar{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;-webkit-mask-image:none!important;mask-image:none!important;overflow:visible!important;margin:0 0 12px!important;padding:0!important}
.rch-bar .optbtn.on{box-shadow:inset 0 0 0 1.5px var(--ink);color:var(--ink)}
.rch-adot{width:8px;height:8px;border-radius:50%;display:inline-block}
.rch-bar .toggle.on i{background:var(--ink)}
/* The check-in is one big tile (2026-10-28, Jeroen: "maybe for check in it's one big tile?"): the sections stay one form with
   hairlines between them; the week's settings above it and Finish below it stay on the paper */
.ci-card{background:var(--card);box-shadow:var(--card-shadow);border-radius:var(--tile-r,12px);padding:4px 16px 4px;margin:6px 0 0}
.ci-card>.ci-row:last-child,.ci-card>:last-child .ci-row:last-child{border-bottom:0}
.ci-card>.ci-head{padding-top:12px}
.ci-short{margin-bottom:12px}
@media (max-width:860px){.ci-card{padding:2px 14px}}
/* Links underline the text, not their box (2026-10-28): on touch screens links get a larger tap area (padding), and a border-bottom
   was drawn at the bottom of that area, a stray line under the text ("In a hurry?", "+ Add a goal", "Or take ideas") */
.link{border-bottom:0!important;text-decoration:underline;text-decoration-color:var(--line2);text-decoration-thickness:1px;text-underline-offset:4px}
.link:hover{text-decoration-color:currentColor}
.rch-add .link,.bp-empty .link{text-decoration:none}
/* The check-in's header like Home's (2026-10-28): the week in the serif with its dates, round arrows and All weeks on the right,
   then one row of pills (kind of week, compare, short version) on every width; Apple Health's state sits on its rows */
.ckh{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:6px 0 12px}
.ckh-t{display:flex;flex-direction:column;min-width:0}
.ckh-w{font-family:var(--serif);font-weight:500;font-size:34px;line-height:1.05;letter-spacing:-.005em;margin:0}
.ckh-d{font-size:13.5px;color:var(--muted);margin-top:5px}
.ckh-r{display:flex;align-items:center;gap:6px;padding-top:4px;flex:none}
.ckh-r .jnav{width:34px;height:34px;min-width:0;min-height:0;border-radius:50%;box-shadow:inset 0 0 0 1px var(--line2);font-size:20px;padding:0 0 2px;display:grid;place-items:center}
.ckh-r .jnav:disabled{opacity:.3}
.ckh-r .jall{height:34px;margin-left:4px}
.jentry .props{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 14px}
.jentry .props .prop{display:block;min-height:0;padding:0}
.jentry .props .pk,.jentry .p-kind .rest-seg,.jentry .p-kind .pv>.faint,.jentry .p-cmp select{display:none}
.jentry .props .pv{padding:0;min-height:0}
.jentry .kw-pill,.jentry .cmp-pill{display:inline-flex}
.sv-pill.on{box-shadow:inset 0 0 0 1.5px var(--ink);font-weight:550}
@media (max-width:860px){.ckh-w{font-size:30px}}
.jentry .props .prop{order:0!important}.jentry .props .p-short{order:9!important}
.ckh-t{flex:1}.ckh-d{white-space:nowrap}
.ci-row .numin{flex-wrap:wrap;min-width:0;row-gap:4px}
/* Compare with: the "Last week ▾" column header in the tile is the control (2026-10-28, Jeroen: no "vs week 43" pill by default) */
.ci-cmp{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:3px;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;border-radius:6px;padding:2px 4px;margin:-2px -4px}
.ci-cmp:hover{background:var(--hover);color:var(--ink)}.ci-cmp svg.ic{width:12px;height:12px}
.ci-cmp.on{color:var(--ink)}
@media (max-width:860px){
  .ci-card>.ci-head{display:flex;justify-content:flex-end;padding:10px 0 0;border-bottom:0;font-size:11px}
  .ci-card>.ci-head>div:not(:last-child){display:none}
  .ci-card>.ci-head+.ci-row{padding-top:2px}
}
/* No last-week column (2026-10-28, Jeroen: "I don't know if it adds value"): last week's number is the empty box's grey placeholder,
   and "Use 80.8 kg" shows under the box while you're in it */
.ci-card .ci-row:not(.ci-num)>.ci-prev,.sm-prev:not(.num-same),.ci-last,.ci-head[hidden]{display:none!important}
.ci-card .ci-num>.ci-prev{display:contents!important}
.num-same{display:none!important}
.ci-row:focus-within .num-same,.sm-row:focus-within .num-same{display:inline-flex!important;align-items:center;height:26px;padding:0 10px;margin:0;border:0;border-radius:13px;background:var(--hover);color:var(--ink);font:inherit;font-size:12.5px;cursor:pointer;white-space:nowrap}
/* where it goes: under the box */
.ci-row.ci-num .num-same{grid-row:2;grid-column:2/-1;justify-self:start}
.sm-row{grid-template-columns:minmax(100px,160px) 140px minmax(0,1fr)}
.sm-row .sm-same.num-same{grid-column:2/-1;justify-self:start}
@media (min-width:861px){.ci-head,.ci-row{grid-template-columns:180px minmax(0,1fr)}.ci-row.ci-num .numin{flex-wrap:wrap}}
@media (max-width:860px){
  .ci-row.ci-num{grid-template-columns:minmax(0,1fr) 92px 24px 22px}
  .ci-num .nmore{grid-column:4}
  .sm-row,.sm-row.sm-head{grid-template-columns:minmax(0,1fr) 108px 22px}
  .sm-row .sm-st .nmore{grid-column:3}
  .sm-row .sm-st .src:not(.src-typed){grid-column:2/-1}
}
/* the lighter paper (#f7f5ec, 2026-10-29) needs slightly whiter tiles to keep their edge */
:root:not([data-theme="dark"]){--card:rgba(255,255,255,.4);--card-shadow:0 0 0 1px rgba(31,36,48,.09)}   /* 40% (Jeroen, 2026-10-29: 55% was a bit too white) */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--card:rgba(255,245,225,.035);--card-shadow:0 0 0 1px rgba(214,203,179,.11)}}

/* habit reminders (2026-10-29): a small bell after a habit with a reminder on this iPhone */
.rem-bell{width:13px;height:13px;color:var(--muted);margin-left:5px;vertical-align:-1px;stroke-width:1.75}

/* To do on the phone: the second sentence of a row's explanation is left out, so nothing is cut mid-sentence (2026-11-09) */
@media (max-width:860px){.tdx-x{display:none}}

/* Check in button, quiet Monday to Saturday (2026-11-09): outlined like + New, blue again on Sunday or when last week waits */
.cibtn.quiet{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line2)}
.cibtn.quiet:hover{background:var(--hover)}
/* The phone check-in shows one title: the week (2026-11-09) */
@media (max-width:860px){.app[data-page="checkin"] .phead .pt{display:none}}
/* Insights: the strongest link above the charts (2026-11-09) */
.toplink{background:var(--card);box-shadow:var(--card-shadow);border-radius:var(--tile-r);padding:14px 16px;margin:0 0 16px}
.toplink-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.toplink-h .tile-label{font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:650;color:var(--ink2)}
.toplink-s{font-size:16px;line-height:1.45;margin:8px 0 6px;color:var(--ink2)}.toplink-s b{color:var(--ink);font-weight:650}
.toplink-f{display:flex;align-items:center;gap:12px}.toplink .trybtn{opacity:1}
.corr-more{display:block;margin:10px 6px 12px;font-size:13px}

.xr-acts{display:inline-flex;gap:14px;align-items:baseline}   /* Blueprints → Running now: Edit next to Judge it (2026-11-12) */
