@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/Archivo-normal-100-900.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/GeistMono.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/InstrumentSerif-italic-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/InstrumentSerif-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/Inter-normal-300-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------------------------------------------------------------- tokens */
:root {
  --bg: #0b0b0e;
  --bg-2: #121217;
  --bg-3: #191920;
  --ink: #f2f1ee;
  --ink-2: #cfcdc7;
  --dim: #9a9993;
  --faint: #5f5f66;
  --visited: #8e8c87;
  --rule: #24242b;
  --rule-2: #35353e;
  --up: #6fd6a0;
  --down: #ff7a70;
  --warn: #ffc14d;
  --accent: #ffffff;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Archivo', 'Inter', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --gutter: 16px;
  --max: 1380px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* Stories you have opened fade, so the unread ones stand out. */
.story h3 a:visited, .lead-h a:visited, .hn a:visited, .otd a:visited { color: var(--visited); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
p { margin: 0 0 .8em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.dim { color: var(--dim); }
.tiny { font-size: 12px; }
.small { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.warn { color: var(--warn); }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--dim); }
.arw { font-style: normal; font-size: .72em; margin-right: 3px; vertical-align: 1px; }
.label {
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
  color: var(--dim); margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--rule);
}
.label:first-child { margin-top: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--ink); color: var(--bg); padding: 8px 12px; font-size: 12px; }
.skip:focus { left: 8px; }
.totop { color: var(--dim); }
.totop:hover { color: var(--ink); }

/* ------------------------------------------------------------- top strip */
.strip { border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--ink-2); letter-spacing: .06em; }
.strip-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.ednav { display: flex; gap: 14px; align-items: center; }
.ednav a { padding: 6px 0; }
.strip-right { display: flex; align-items: center; gap: 16px; }
.strip-wx { display: inline-flex; align-items: center; gap: 6px; }
.wxi-s { width: 18px; height: 18px; }
.logout { margin: 0; }
.logout button {
  font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--ink);
  background: transparent; border: 1px solid var(--rule-2); padding: 9px 11px; cursor: pointer;
}
.logout button:hover { background: var(--ink); color: var(--bg); }
.banner { margin: 14px 0 0; padding: 10px 14px; font-size: 12px; border: 1px solid var(--rule-2); background: var(--bg-2); color: var(--ink-2); }
.banner.warn { color: var(--warn); border-color: rgba(255, 193, 77, .4); }
.banner a { color: var(--ink); text-decoration: underline; }

/* -------------------------------------------------------------- masthead */
.masthead { text-align: center; padding: 44px var(--gutter) 28px; }
.mast-mark { width: 72px; height: 72px; color: var(--accent); display: block; margin: 0 auto 14px; }
.wordmark {
  font-family: var(--display); font-weight: 800; font-stretch: 125%;
  letter-spacing: -.01em; line-height: .9; color: var(--accent); font-size: 40px;
}
.wordmark.big { font-size: clamp(54px, 12.5vw, 176px); letter-spacing: -.025em; }
.tagline { font: italic 400 clamp(21px, 2.6vw, 31px)/1.25 var(--serif); color: var(--ink-2); margin: 18px auto 10px; max-width: 900px; }
.mast-meta { font-size: 12px; letter-spacing: .1em; margin: 0; }

/* ----------------------------------------------------------------- index */
.index { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 5; background: rgba(11, 11, 14, .95); backdrop-filter: blur(8px); }
.index-in { display: flex; gap: 4px 20px; overflow-x: auto; scrollbar-width: none; min-height: 46px; align-items: center; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.index-in::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .index-in { flex-wrap: wrap; justify-content: center; padding-top: 6px; padding-bottom: 6px; -webkit-mask-image: none; mask-image: none; } }
.index a { color: var(--dim); padding: 8px 0; }
.index a b { color: var(--faint); font-weight: 500; margin-right: 4px; }
.index a:hover { color: var(--ink); text-decoration: none; }

/* ------------------------------------------------------------- sections */
.sec { padding: 60px 0 8px; border-bottom: 1px solid var(--rule); }
.shead { margin-bottom: 28px; }
.shead-line { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid var(--rule-2); margin-bottom: 18px; }
.stitle { font-family: var(--display); font-weight: 700; font-stretch: 112%; font-size: clamp(34px, 5.4vw, 68px); line-height: .98; letter-spacing: -.02em; }
.stitle .dot { color: var(--faint); }
.sintro { font: italic 400 22px/1.35 var(--serif); color: var(--ink-2); margin: 12px 0 0; max-width: 820px; }
.kicker { font-size: 12px; letter-spacing: .1em; color: var(--dim); margin-bottom: 12px; }
.h2 { font-family: var(--display); font-stretch: 108%; font-weight: 650; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.14; letter-spacing: -.012em; margin-bottom: 12px; }
.lede { font-size: 17.5px; line-height: 1.62; color: var(--ink-2); max-width: 70ch; }

/* --------------------------------------------------------------- pictures */
.ph { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92); transition: filter .2s, transform .4s; }
.ph-link { display: block; }
.ph-link:hover .ph img { filter: saturate(1.05); transform: scale(1.015); }
.ph.art { color: var(--faint); background: linear-gradient(160deg, #15151b, #0e0e12); }
.ph.art svg, .book svg { display: block; width: 100%; height: 100%; }
.art-src { font: 500 11px var(--mono); letter-spacing: .12em; fill: var(--ink-2); }
.art-lbl { font: 500 10px var(--mono); letter-spacing: .14em; fill: var(--dim); }

/* ---------------------------------------------------------------- front */
.front-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 44px; }
@media (min-width: 1000px) { .front-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 0; } .lead { padding-right: 40px; border-right: 1px solid var(--rule); } .brief { padding-left: 32px; } }
.lead-h { font-family: var(--display); font-weight: 700; font-stretch: 110%; font-size: clamp(32px, 4.6vw, 62px); line-height: 1.03; letter-spacing: -.022em; margin-bottom: 16px; }
.dek { font: italic 400 clamp(20px, 2.1vw, 26px)/1.35 var(--serif); color: var(--ink-2); margin-bottom: 22px; max-width: 46ch; }
.lead-ph { margin: 0 0 22px; aspect-ratio: 16 / 8.5; }
.lead-body { font-size: 17.5px; line-height: 1.7; color: var(--ink-2); max-width: 68ch; }
.readon { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-top: 14px; }
.brief ol { list-style: none; }
.brief li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.brief li:last-child { border-bottom: 0; }
.brief .n { color: var(--faint); font-size: 12px; padding-top: 3px; }
.brief li p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.src { font-size: 12px; color: var(--dim); white-space: nowrap; }
.wx { margin-top: 22px; }
.wx-now { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.wxi-l { width: 46px; height: 46px; color: var(--ink); }
.wx-t { font-family: var(--display); font-weight: 300; font-size: 52px; line-height: 1; }
.wx-now .mono { font-size: 12px; }
.wx-days { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); font-size: 12px; }
.wx-day { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border-right: 1px solid var(--rule); text-align: center; }
.wx-day:last-child { border-right: 0; }
.wx-day .wxi { width: 26px; height: 26px; color: var(--ink-2); }
.wx-day i { font-style: normal; }
.inside { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule-2); margin-top: 34px; }
@media (min-width: 720px) { .inside { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.inside a { display: flex; flex-direction: column; padding: 18px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 720px) { .inside a { border-bottom: 0; border-right: 1px solid var(--rule); padding: 18px 20px; } .inside a:first-child { padding-left: 0; } .inside a:last-child { border-right: 0; padding-right: 0; } }
.inside a:hover { text-decoration: none; }
.inside a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.inside .label { border: 0; padding: 0; margin: 12px 0 6px; }
.inside b { display: block; font-family: var(--display); font-stretch: 106%; font-weight: 600; font-size: 18px; line-height: 1.25; margin-bottom: 6px; }
.in-g { height: 98px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.in-g svg { width: 100%; height: 72px; }
.in-ph { aspect-ratio: auto; height: 92px; }

/* -------------------------------------------------------------- charts */
.spark { width: 100%; height: 34px; display: block; overflow: visible; }
.spark polyline { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spark.up polyline { stroke: var(--up); } .spark.down polyline { stroke: var(--down); }
.spark .base { stroke: var(--faint); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.spark .open { stroke: var(--rule-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.legend { margin: 8px 0 0; }
.lg-base, .lg-open { display: inline-block; width: 18px; height: 0; border-top: 1px dashed var(--faint); vertical-align: middle; margin-right: 4px; }
.lg-open { width: 0; height: 12px; border-top: 0; border-left: 1px solid var(--rule-2); margin: 0 4px 0 2px; }
.bars14 { display: block; width: 100%; height: auto; }
.bars14 rect { fill: var(--faint); }
.bars14 rect.today { fill: var(--ink); }
.bars14 .ax, .bars14 .mx { font: 9px var(--mono); fill: var(--dim); }
.bars14 .ax { text-anchor: middle; }
.bars14 .val { font: 500 8px var(--mono); fill: var(--ink-2); text-anchor: middle; }
.bars14 .val.now { fill: var(--ink); font-weight: 600; }
.ichart { display: block; width: 100%; height: auto; margin: 4px 0 10px; background: var(--bg); border: 1px solid var(--rule); }
.ichart .px { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.ichart .zone-risk { fill: rgba(255, 122, 112, .14); }
.ichart .zone-reward { fill: rgba(111, 214, 160, .13); }
.ichart line { stroke-width: 1; }
.ichart line.lv-e { stroke: var(--ink-2); stroke-dasharray: 4 3; }
.ichart line.lv-s { stroke: var(--down); stroke-dasharray: 2 3; }
.ichart line.lv-t { stroke: var(--up); stroke-dasharray: 2 3; }
.ichart line.open { stroke: var(--rule-2); }
.ichart text { font: 500 9.5px var(--mono); }
.ichart text.lv-e { fill: var(--ink); } .ichart text.lv-s { fill: var(--down); } .ichart text.lv-t { fill: var(--up); }
.ichart text.tk { fill: var(--faint); font-size: 8px; letter-spacing: .1em; }

/* -------------------------------------------------------------- markets */
.tape { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
@media (min-width: 720px) { .tape { grid-template-columns: repeat(5, 1fr); } }
.tick { padding: 12px 12px 10px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 12px; min-width: 0; }
.tick-h, .tick-f { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; }
.tick-h b { font-weight: 600; font-size: 14px; }
.tick .spark { margin: 8px 0 6px; }
.tick-f .dim { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mood { padding: 2px 6px; border: 1px solid currentColor; }
.mood-risk-on { color: var(--up); } .mood-risk-off { color: var(--down); } .mood-mixed, .mood-choppy { color: var(--warn); }
.mk-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding: 30px 0 44px; }
@media (min-width: 1000px) { .mk-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 0; } .mk-main { padding-right: 40px; border-right: 1px solid var(--rule); } .mk-side { padding-left: 32px; } }
.howto { margin: -2px 0 16px; font-size: 14px; color: var(--ink-2); }
.howto summary { cursor: pointer; font-size: 12px; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; padding: 4px 0; }
.howto dl { display: grid; grid-template-columns: 96px 1fr; gap: 8px 14px; margin: 10px 0 4px; padding: 14px; background: var(--bg-2); border: 1px solid var(--rule); }
.howto dt { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.howto dd { margin: 0; }
.ideas { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ideas { grid-template-columns: 1fr 1fr; } }
.idea { border: 1px solid var(--rule-2); background: var(--bg-2); padding: 18px; font-size: 15px; line-height: 1.58; color: var(--ink-2); min-width: 0; }
.idea.long { border-top: 2px solid var(--up); } .idea.short { border-top: 2px solid var(--down); }
.idea-top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: 12px; flex-wrap: wrap; }
.idea .side { padding: 3px 7px; border: 1px solid currentColor; letter-spacing: .1em; font-weight: 600; }
.idea.long .side { color: var(--up); } .idea.short .side { color: var(--down); }
.idea .sym { font-size: 22px; color: var(--ink); font-family: var(--display); font-stretch: 115%; font-weight: 700; letter-spacing: 0; }
.idea .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 14em; }
.conv { margin-left: auto; color: var(--ink); letter-spacing: 1px; font-size: 12px; }
.conv i { font-style: normal; color: var(--faint); }
.setup { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.setup .mono { font-family: var(--mono); font-style: normal; font-size: 12px; }
.lv { width: 100%; border-collapse: collapse; margin-bottom: 8px; font-size: 13.5px; }
.lv th { text-align: left; font-weight: 400; color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.lv td { padding: 7px 0; color: var(--ink); font-weight: 500; }
.lv td.up { color: var(--up); } .lv td.down { color: var(--down); }
.trig { color: var(--ink-2); }
.inval { font-size: 14px; color: var(--dim); border-top: 1px dashed var(--rule-2); padding-top: 10px; margin: 10px 0 0; }
.inval .mono, .avoid .mono { font-size: 12px; letter-spacing: .1em; color: var(--down); margin-right: 6px; }
.avoid { margin-top: 22px; padding: 14px 16px; border-left: 2px solid var(--down); background: var(--bg-2); color: var(--ink-2); }
.disclaimer { margin-top: 16px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; color: var(--dim); font-weight: 400; font-size: 12px; padding: 5px 6px 5px 0; }
.tbl td { padding: 7px 6px 7px 0; border-top: 1px solid var(--rule); vertical-align: middle; }
.tbl td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.tbl tr.note td { border-top: 0; color: var(--dim); text-align: left; padding-top: 0; font-size: 12px; white-space: normal; }
.tbl .clip { max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movers td:first-child { max-width: 150px; }
.movers td:first-child b { display: block; }
.movers td:first-child .clip { display: block; font-size: 12px; }
.movers .sp { width: 64px; }
.movers .spark { height: 20px; }
.bars .barcell { width: 40%; }
.bar { display: block; height: 6px; background: var(--up); opacity: .8; margin-top: 2px; min-width: 2px; }
.bar.down { background: var(--down); }
.bar.neutral { background: var(--ink-2); opacity: .55; }
.bar.w0{width:0%}.bar.w5{width:5%}.bar.w10{width:10%}.bar.w15{width:15%}.bar.w20{width:20%}.bar.w25{width:25%}.bar.w30{width:30%}.bar.w35{width:35%}.bar.w40{width:40%}.bar.w45{width:45%}.bar.w50{width:50%}.bar.w55{width:55%}.bar.w60{width:60%}.bar.w65{width:65%}.bar.w70{width:70%}.bar.w75{width:75%}.bar.w80{width:80%}.bar.w85{width:85%}.bar.w90{width:90%}.bar.w95{width:95%}.bar.w100{width:100%}
.plain { list-style: none; } .plain li { padding: 8px 0; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--ink-2); }
.plain b { color: var(--ink); margin-right: 6px; }

/* -------------------------------------------------------- entangled text */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .tiles { grid-template-columns: repeat(8, 1fr); } }
.tile { padding: 16px 14px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tile .label { margin: 0; padding: 0; border: 0; }
.tile .bars14 { margin: 2px 0; }
.tv { font-family: var(--display); font-stretch: 110%; font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 30px 0 4px; }
@media (min-width: 720px) { .hist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .hist { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hist .label { margin: 0 0 10px; }
.hist .tiny { margin: 6px 0 0; }
.et-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding: 34px 0 12px; }
@media (min-width: 1000px) { .et-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } .et-col { padding: 0 28px; border-left: 1px solid var(--rule); } .et-col:first-child { padding-left: 0; border-left: 0; } .et-col:last-child { padding-right: 0; } }
.ticks { list-style: none; }
.ticks li { position: relative; padding: 9px 0 9px 18px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.ticks li::before { content: '—'; position: absolute; left: 0; color: var(--faint); }
.chips-h { margin: 10px 0 4px; letter-spacing: .1em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; font-size: 12px; }
.chips span { border: 1px solid var(--rule-2); padding: 4px 8px; color: var(--ink-2); }
.chips b { color: var(--ink); font-weight: 600; margin-left: 4px; }
.book { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule); align-items: start; }
.book > svg { width: 72px; height: 96px; color: var(--faint); background: linear-gradient(160deg, #18181f, #0e0e12); border: 1px solid var(--rule-2); }
.book .art-src, .book .art-lbl { display: none; }
.book-t { font-family: var(--display); font-stretch: 105%; font-weight: 600; font-size: 17px; line-height: 1.3; margin-bottom: 4px; }
.book .small { margin: 0; }
.prob { padding: 12px 0 12px 14px; border-left: 2px solid var(--rule-2); margin-bottom: 12px; }
.prob.sev-high { border-left-color: var(--down); } .prob.sev-medium { border-left-color: var(--warn); }
.prob .sev { letter-spacing: .12em; color: var(--dim); }
.sev-high .sev { color: var(--down); } .sev-medium .sev { color: var(--warn); }
.prob p { margin-bottom: 4px; }
.prob-t { font-weight: 600; font-size: 16px; }
.ev { font-style: italic; }
.actions { padding-left: 22px; } .actions li { padding: 6px 0; font-size: 15px; color: var(--ink-2); }
.actions li::marker { font-family: var(--mono); color: var(--dim); font-size: 12px; }
.opps { padding: 8px 0 44px; }
.opp-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .opp-grid { grid-template-columns: repeat(3, 1fr); } }
.opp { background: var(--bg-2); border: 1px solid var(--rule-2); padding: 0 0 18px; }
.opp > :not(.ph-link) { padding: 0 18px; }
.opp-ph { margin-bottom: 16px; aspect-ratio: 16 / 7; }
.opp-t { font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.2; margin-bottom: 8px; }
.opp a { color: var(--dim); }

/* ------------------------------------------------------------------ to-do */
.todo { margin: 34px 0 6px; padding: 24px; border: 1px solid var(--rule-2); background: var(--bg-2); scroll-margin-top: 64px; }
.todo-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 8px; }
.todo-h .h2 { margin: 0; }
.todo-h .dot { color: var(--faint); }
.todo-p { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-2); min-width: 220px; }
.todo-p .track { flex: 1; height: 6px; background: var(--rule-2); }
.todo-p .bar { height: 6px; margin: 0; background: var(--up); opacity: 1; }
.todo-p .bar.w0 { min-width: 0; width: 0; }
.todo-p::after { content: ''; }
.todo-list { list-style: none; display: grid; grid-template-columns: 1fr; column-gap: 32px; }
@media (min-width: 900px) { .todo-list { grid-template-columns: 1fr 1fr; } }
.todo-list li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 14px 10px 14px 6px; border-top: 1px solid var(--rule); transition: background .15s; }
.todo-list li.picked { background: rgba(255, 255, 255, .045); }
/* The to-do's five categories (19 Oct): a small rule-topped label above each group. */
.todo-cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 22px 0 2px; font-weight: 600; }
.todo-cat:first-of-type { margin-top: 10px; }
.pick { width: 20px; height: 20px; margin: 3px 0 0; accent-color: #f2f1ee; cursor: pointer; }
.todo-t { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; cursor: pointer; }
.todo-t .n { color: var(--faint); font-size: 12px; font-weight: 400; margin-right: 8px; }
.done .todo-t { color: var(--dim); text-decoration: line-through; text-decoration-color: var(--faint); }
.todo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 0 14px; position: sticky; top: 46px; z-index: 2; background: var(--bg-2); }
.sel-count { color: var(--ink-2); flex: 1; min-width: 140px; }
.btn { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--rule-2); background: transparent; color: var(--ink); cursor: pointer; display: inline-block; line-height: 1.2; }
.btn:hover { text-decoration: none; border-color: var(--ink-2); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }
.btn.primary:hover { background: #fff; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.done-btn { font: 500 12px var(--mono); letter-spacing: .06em; color: var(--dim); background: none; border: 0; border-bottom: 1px dotted var(--faint); padding: 0; cursor: pointer; }
.done-btn:hover { color: var(--ink); }
.done-btn.is-done { color: var(--up); border-bottom-color: transparent; }
.done-btn.del-btn:hover { color: var(--down); }
/* A done to-do item keeps its column but has no checkbox: only open tasks are picked. */
.pick-gap { display: block; width: 20px; height: 20px; }
.todo-b .small { margin-bottom: 6px; }
.todo .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--dim); margin: 0; }
.area { padding: 1px 6px; border: 1px solid currentColor; letter-spacing: .08em; }
.area-bug { color: var(--down); } .area-revenue { color: var(--up); } .area-cost, .area-support { color: var(--warn); }
.area-growth, .area-quality, .area-ops, .area-ux { color: var(--ink-2); }
.carried { color: var(--warn); }

/* ----------------------------------------------------------------- desks */
.stories { display: grid; grid-template-columns: 1fr; column-gap: 32px; padding-bottom: 36px; }
.story { padding: 20px 0; border-top: 1px solid var(--rule); min-width: 0; }
.story .ph-link { margin-bottom: 14px; }
.story .meta { font-size: 12px; letter-spacing: .08em; color: var(--dim); margin-bottom: 8px; }
.story h3 { font-family: var(--display); font-stretch: 104%; font-weight: 600; font-size: 19.5px; line-height: 1.26; letter-spacing: -.005em; margin-bottom: 8px; }
.story .ex { font-size: 15.5px; line-height: 1.62; color: var(--ink-2); margin-bottom: 6px; }
.why { font: italic 400 17.5px/1.35 var(--serif); color: var(--dim); margin: 0; }
@media (min-width: 720px) {
  .wide .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wide .story.first { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
  .wide .story.first .ph-link { margin: 0; }
  .wide .story.first h3 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; font-stretch: 110%; font-weight: 700; }
  .wide .story.first .ex { font-size: 17.5px; }
}
/* A story left alone on the last row takes the whole row, picture beside text. */
@media (min-width: 720px) and (max-width: 1099px) {
  .wide .story:not(.first):nth-child(2n):last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
  .wide .story:not(.first):nth-child(2n):last-child .ph-link { margin: 0; }
}
@media (min-width: 1100px) {
  .wide .stories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wide .story:not(.first):nth-child(3n+2):last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; align-items: start; }
  .wide .story:not(.first):nth-child(3n+2):last-child .ph-link { margin: 0; }
  .wide .story:not(.first):nth-child(3n+2):last-child h3 { font-size: 24px; }
}
.desk-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 720px) { .desk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1200px) { .desk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.narrow .stitle { font-size: clamp(28px, 3vw, 38px); }
.narrow .sintro { font-size: 18px; }
.narrow .story h3 { font-size: 18px; }
.narrow .story.compact .ex { font-size: 14.5px; }

/* ------------------------------------------------------------- misc/foot */
.misc-grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 48px; }
@media (min-width: 720px) { .misc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .misc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hn { padding-left: 24px; } .hn li { padding: 7px 0; font-size: 14.5px; line-height: 1.45; border-top: 1px solid var(--rule); }
.hn li::marker { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.word { font-family: var(--serif); font-size: 42px; line-height: 1; margin-bottom: 6px; }
.otd { list-style: none; } .otd li { padding: 8px 0; border-top: 1px solid var(--rule); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.otd b { color: var(--ink); margin-right: 6px; }
.meter { padding: 8px 0 10px; border-top: 1px solid var(--rule); font-size: 12px; }
.meter-h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: var(--ink-2); }
.meter .bar { margin: 0; }
.meter.hot .bar { background: var(--warn); opacity: 1; }
.meter.hot .meter-h span:last-child { color: var(--warn); }
.foot { padding: 48px 0 40px; font-size: 12px; color: var(--dim); line-height: 1.7; }
.foot h4 { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 10px; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1fr 2fr; } }
.archive { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.archive a.cur { color: var(--ink); text-decoration: underline; }
.foot details { margin-top: 10px; } .foot summary { cursor: pointer; color: var(--ink-2); }
.foot details ul { padding-left: 18px; margin-top: 6px; }
.foot-mark { display: flex; align-items: center; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); letter-spacing: .14em; color: var(--ink-2); }
.foot-mark .totop { margin-left: auto; letter-spacing: .06em; }
.foot-svg { width: 24px; height: 24px; color: var(--accent); }
@media (min-width: 720px) { .show-sm { display: none; } }
@media (max-width: 719px) { .hide-sm { display: none; } .ednav { gap: 18px; font-size: 15px; } .strip-right { gap: 12px; } .strip-date { text-align: center; } .shead-line > span.dim { font-size: 12px; } }

/* ---------------------------------------------------------------- login */
body.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(ellipse at 50% 0%, #17171e 0%, var(--bg) 60%); }
.login-card { width: 100%; max-width: 380px; text-align: center; }
.login-mark { width: 84px; height: 84px; color: var(--accent); display: block; margin: 0 auto 18px; }
.login-card .wordmark { font-size: 44px; margin-bottom: 8px; }
.login-card > .mono { font-size: 12px; letter-spacing: .14em; }
.login-card form { text-align: left; margin: 30px 0 22px; display: grid; gap: 8px; }
.login-card label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-top: 8px; }
.login-card input {
  width: 100%; font: 400 16px/1.2 var(--mono); color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--rule-2); border-radius: 0; padding: 14px 12px;
}
.login-card input:focus { border-color: var(--ink-2); outline: none; }
.login-card button {
  margin-top: 18px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 15px;
  background: var(--ink); color: var(--bg); border: 0; cursor: pointer; font-weight: 600;
}
.login-card button:hover { background: #fff; }
.login-card button:disabled, .login-card input:disabled { opacity: .45; cursor: not-allowed; }
.login-error { color: var(--down); font-size: 12px; margin-top: 18px; }
.empty { text-align: center; padding: 120px 16px; }
.empty .logout { display: inline-block; margin-top: 24px; }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ph img { transition: none; } .ph-link:hover .ph img { transform: none; } }

/* ----------------------------------------------------------------- print */
@media print {
  :root { --bg: #fff; --bg-2: #fff; --bg-3: #eee; --ink: #000; --ink-2: #222; --dim: #555; --faint: #999; --rule: #ccc; --rule-2: #999; --up: #0a7a40; --down: #b3261e; --accent: #000; }
  html, body { background: #fff; color: #000; }
  .index, .strip-right, .skip, .totop, .howto, .ph img { display: none !important; }
  .ph { aspect-ratio: auto; height: 0; }
  .sec { break-inside: avoid-page; padding-top: 24px; }
  .story, .idea, .prob { break-inside: avoid; }
  a { text-decoration: none; }
}

/* ---------------------------------------------------------- prompt page */
.prompt-page { padding: 40px var(--gutter) 64px; max-width: 980px; }
.prompt-page .lead-h { font-size: clamp(30px, 4vw, 48px); }
.prompt-page .dot { color: var(--faint); }
.prompt-tasks { padding-left: 22px; margin: 4px 0 24px; }
.prompt-tasks li { padding: 6px 0; font-size: 15.5px; border-top: 1px solid var(--rule); }
.prompt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.prompt-box { display: block; width: 100%; margin-top: 8px; padding: 16px; font: 400 13px/1.6 var(--mono); color: var(--ink); background: var(--bg-2); border: 1px solid var(--rule-2); resize: vertical; min-height: 420px; }
.prompt-box:focus { outline: 1px solid var(--ink-2); }
.howuse { margin-top: 28px; }
.howuse ol { padding-left: 22px; color: var(--ink-2); font-size: 15px; }
.howuse li { padding: 4px 0; }
.howuse code { font: 13px var(--mono); background: var(--bg-3); padding: 1px 5px; }

/* ================================================================ suite */
.suite { border-bottom: 1px solid var(--rule); background: #08080b; font-size: 12px; letter-spacing: .08em; position: relative; z-index: 6; }
.suite-in { display: flex; align-items: center; gap: 18px; min-height: 48px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; letter-spacing: .16em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 22px; height: 22px; color: var(--accent); }
.apps { display: flex; gap: 2px; flex: 1; }
.apps a { padding: 14px 12px 12px; color: var(--dim); text-transform: uppercase; border-bottom: 2px solid transparent; }
.apps a:hover { color: var(--ink); text-decoration: none; }
.apps a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 560px) { .brand span { display: none; } .suite-in { gap: 8px; } .apps a { padding: 14px 8px 12px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flash { margin: 12px 0; padding: 10px 14px; font-size: 12px; border: 1px solid var(--rule-2); background: var(--bg-2); color: var(--ink-2); }
.page-narrow { max-width: 900px; padding-top: 40px; padding-bottom: 60px; }
.tlink { color: var(--dim); white-space: nowrap; }
.tnote { display: inline-flex; align-items: center; gap: 5px; margin: 6px 14px 0 0; font-size: 12px; color: var(--ink-2); border-bottom: 1px dotted var(--faint); }
.tnote .ico { width: 14px; height: 14px; color: var(--dim); }
.tnote:hover { color: var(--ink); text-decoration: none; }

/* ================================================================ notes */
body.notes { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.notes-app { flex: 1; min-height: 0; display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.nlist { border-right: 1px solid var(--rule); display: flex; flex-direction: column; min-height: 0; padding: 14px 0 0; background: #0d0d11; }
.nlist > form, .nlist > .nfilters, .nlist > .nresult { margin: 0 14px 10px; }
.btn.wide { width: 100%; }
.nsearch input { width: 100%; font: 400 13px var(--mono); color: var(--ink); background: var(--bg); border: 1px solid var(--rule-2); padding: 9px 10px; }
.nsearch input:focus { outline: none; border-color: var(--ink-2); }
.nfilters { display: flex; gap: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.nfilters a { color: var(--dim); }
.nfilters a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--ink); }
.nitems { list-style: none; overflow-y: auto; flex: 1; margin: 0; padding: 0 0 20px; }
.note-item a { display: block; padding: 11px 14px; border-bottom: 1px solid var(--rule); border-left: 2px solid transparent; }
.note-item a:hover { background: var(--bg-2); text-decoration: none; }
.note-item.cur a { background: var(--bg-3); border-left-color: var(--ink); }
.ni-title { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.35; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ni-title .pin { font-style: normal; color: var(--warn); margin-right: 5px; }
.ni-title .pin .ico { width: 13px; height: 13px; vertical-align: -1px; }
.ni-head { display: block; font-size: 13px; color: var(--dim); line-height: 1.45; max-height: 2.9em; overflow: hidden; }
.ni-meta { display: block; font-size: 11.5px; color: var(--faint); margin-top: 5px; letter-spacing: .04em; }
.ni-meta b { color: var(--ink-2); font-weight: 500; }
.nempty { padding: 18px 14px; font-size: 12px; }
.neditor { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.nhead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 20px 10px; border-bottom: 1px solid var(--rule); }
.nback { display: none; font-size: 12px; color: var(--dim); }
.ntitle, .ntitle-static { flex: 1 1 280px; min-width: 0; font: 700 24px/1.2 var(--display); font-stretch: 108%; letter-spacing: -.01em; color: var(--ink); background: transparent; border: 0; padding: 4px 0; margin: 0; }
.ntitle:focus { outline: none; }
.ntitle::placeholder { color: var(--faint); }
.ntools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.ntools form { margin: 0; }
.nmode { font: 500 12px var(--mono); color: var(--ink); background: var(--bg-2); border: 1px solid var(--rule-2); padding: 7px 8px; max-width: 100%; }
.tbtn, .seg button { font: 500 12px var(--mono); letter-spacing: .04em; color: var(--ink-2); background: transparent; border: 1px solid var(--rule-2); padding: 7px 10px; cursor: pointer; }
.tbtn:hover, .seg button:hover { color: var(--ink); border-color: var(--ink-2); text-decoration: none; }
.tbtn[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tbtn.danger:hover { color: var(--down); border-color: var(--down); }
.seg { display: inline-flex; }
.seg button + button { border-left: 0; }
body.notes:not(.is-md) .md-only { display: none !important; }
.nlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px 20px; border-bottom: 1px solid var(--rule); background: #0d0d11; }
.lchip { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--rule-2); background: var(--bg-2); font-size: 13px; }
.lchip a { padding: 5px 8px; color: var(--ink); }
.lchip a { display: inline-flex; align-items: center; gap: 6px; }
.lchip a .ico { width: 15px; height: 15px; color: var(--warn); }
.lchip.done a { color: var(--dim); text-decoration: line-through; }
.lchip.done a .ico { color: var(--up); }
.lchip.gone a { color: var(--faint); }
.lchip form, .linkform { margin: 0; display: inline-flex; gap: 6px; align-items: center; }
.lbtn { font: 500 11.5px var(--mono); color: var(--dim); background: none; border: 0; border-left: 1px solid var(--rule-2); padding: 5px 8px; cursor: pointer; }
.lbtn:hover { color: var(--ink); }
.lbtn.x { font-size: 15px; line-height: 1; }
.linkform .lbtn { border: 1px solid var(--rule-2); padding: 7px 10px; }
.mdbar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 5px 14px; border-bottom: 1px solid var(--rule); }
.mdbar button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 30px; padding: 0; color: var(--ink-2); background: none; border: 1px solid transparent; cursor: pointer; transition: color .12s, background-color .12s, border-color .12s; }
.mdbar button:hover { border-color: var(--rule-2); background: var(--bg-2); color: var(--ink); }
.mdbar button:active { background: var(--bg-3); }
.mdbar button:focus-visible { outline: 2px solid var(--ink-2); outline-offset: -2px; color: var(--ink); }
.mdsep { width: 1px; height: 16px; margin: 0 6px; background: var(--rule-2); flex: none; }
.conflict { padding: 10px 20px; background: rgba(255, 122, 112, .12); color: var(--ink); font-size: 12px; border-bottom: 1px solid var(--down); }
.conflict button { font: 600 12px var(--mono); margin-left: 8px; padding: 5px 9px; background: var(--ink); color: var(--bg); border: 0; cursor: pointer; }
.workspace { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.workspace[data-view="split"] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.workspace[data-view="preview"] .editor-host { display: none; }
.workspace[data-view="edit"] .md-preview { display: none; }
.editor-host { min-height: 0; overflow: hidden; }
.editor-host .cm-editor { height: 100%; }
.md-preview { overflow-y: auto; padding: 22px 30px 60px; border-left: 1px solid var(--rule); font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.workspace[data-view="preview"] .md-preview { border-left: 0; max-width: 860px; }
.md-preview h1, .md-preview h2, .md-preview h3 { font-family: var(--display); color: var(--ink); margin: 1.3em 0 .5em; line-height: 1.2; }
.md-preview h1 { font-size: 28px; } .md-preview h2 { font-size: 22px; } .md-preview h3 { font-size: 18px; }
.md-preview > :first-child { margin-top: 0; }
.md-preview a { color: #82aaff; text-decoration: underline; }
.md-preview ul, .md-preview ol { padding-left: 24px; margin: 0 0 1em; }
.md-preview li:has(> input[type="checkbox"]) { list-style: none; margin-left: -20px; }
.md-preview input[type="checkbox"] { accent-color: #6fd6a0; margin-right: 8px; }
.md-preview blockquote { margin: 0 0 1em; padding: 4px 16px; border-left: 2px solid var(--rule-2); color: var(--dim); }
.md-preview code { font: 13px var(--mono); background: var(--bg-3); padding: 1px 5px; }
.md-preview pre { position: relative; background: #0e0e12; border: 1px solid var(--rule-2); padding: 14px 16px; overflow-x: auto; margin: 0 0 1em; }
.md-preview pre code { background: none; padding: 0; font-size: 13px; line-height: 1.6; color: #e9e7e2; }
.md-preview table { border-collapse: collapse; margin: 0 0 1em; font-size: 14px; }
.md-preview th, .md-preview td { border: 1px solid var(--rule-2); padding: 6px 10px; }
.md-preview hr { border: 0; border-top: 1px solid var(--rule-2); margin: 2em 0; }
.copy-code { position: absolute; top: 6px; right: 6px; font-size: 11px; color: var(--dim); background: var(--bg-2); border: 1px solid var(--rule-2); padding: 3px 7px; cursor: pointer; }
.copy-code:hover { color: var(--ink); }
.tok-keyword, .tok-operatorKeyword, .tok-modifier { color: #c792ea; }
.tok-string, .tok-string2 { color: #a5d6a7; }
.tok-number, .tok-bool, .tok-atom, .tok-null { color: #ffb86b; }
.tok-comment { color: #6b6b73; font-style: italic; }
.tok-variableName.tok-definition, .tok-propertyName.tok-definition { color: #f2f1ee; }
.tok-typeName, .tok-className, .tok-namespace { color: #ffcb6b; }
.tok-propertyName, .tok-attributeName { color: #89ddff; }
.tok-variableName2, .tok-self { color: #f78c6c; }
.tok-tagName, .tok-angleBracket { color: #f07178; }
.tok-operator, .tok-punctuation { color: #9a9993; }
.tok-function { color: #82aaff; }
.tok-invalid { color: #ff7a70; }
.nstatus { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 7px 20px; border-top: 1px solid var(--rule); font-size: 11.5px; color: var(--dim); background: #0d0d11; }
.save-status.ok { color: var(--up); } .save-status.bad { color: var(--down); } .save-status.busy { color: var(--warn); }
.keys { margin-left: auto; position: relative; }
.keys summary { cursor: pointer; list-style: none; }
.keys summary::-webkit-details-marker { display: none; }
.keys[open] dl { position: absolute; right: 0; bottom: 28px; z-index: 10; width: 420px; max-width: 90vw; display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; margin: 0; padding: 14px; background: var(--bg-3); border: 1px solid var(--rule-2); color: var(--ink-2); font-size: 12px; }
.keys dt { color: var(--ink); } .keys dd { margin: 0; }
.nblank { max-width: 560px; margin: 12vh auto 0; text-align: center; padding: 0 20px; }
.nblank .login-mark { width: 54px; height: 54px; }
.nblank p { margin: 12px 0 22px; }
.nreadonly { flex: 1; overflow: auto; margin: 0; padding: 20px; font: 13px/1.6 var(--mono); color: var(--dim); white-space: pre-wrap; }
@media (max-width: 899px) {
  .notes-app { grid-template-columns: 1fr; }
  body.has-note .nlist { display: none; }
  body:not(.has-note) .neditor { display: none; }
  .nback { display: inline; flex-basis: 100%; }
  .workspace[data-view="split"] { grid-template-columns: 1fr; }
  .workspace[data-view="split"] .md-preview { display: none; }
  .keys[open] dl { position: fixed; left: 10px; right: 10px; bottom: 44px; width: auto; }
}

/* ============================================================= history */
.vlist { list-style: none; padding: 0; margin: 24px 0 0; }
.vlist li { padding: 16px 0; border-top: 1px solid var(--rule); }
.vmeta { font-size: 12px; color: var(--dim); }
.vmeta b { color: var(--ink); }
.vtitle { font-weight: 600; margin: 6px 0; }
.vhead { font: 12.5px/1.55 var(--mono); color: var(--dim); white-space: pre-wrap; background: var(--bg-2); border: 1px solid var(--rule); padding: 10px 12px; margin: 0 0 10px; max-height: 9em; overflow: hidden; }

/* =============================================================== tasks */
.tasks-page { padding-top: 40px; padding-bottom: 64px; }
.addtask { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.addtask input { flex: 1 1 320px; font: 400 15px var(--sans); color: var(--ink); background: var(--bg-2); border: 1px solid var(--rule-2); padding: 11px 12px; }
.addtask input:focus, .addtask textarea:focus { outline: none; border-color: var(--ink-2); }
.adddetail { flex-basis: 100%; }
.adddetail summary { cursor: pointer; padding: 4px 0; }
.adddetail textarea { width: 100%; margin-top: 6px; font: 400 14px/1.5 var(--sans); color: var(--ink); background: var(--bg-2); border: 1px solid var(--rule-2); padding: 10px 12px; resize: vertical; }
.tgroup { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 22px 0 4px; font-weight: 500; }
.tlist li.nosel { grid-template-columns: 34px 1fr; }
.tdone { color: var(--up); font-size: 16px; padding-top: 2px; }
.tasks-page .todo { margin-top: 24px; }
.tlist li { scroll-margin-top: 120px; }
.tlist li:target { outline: 1px solid var(--warn); outline-offset: -1px; }

/* ============================================================== polish */
/* search box, next paper, help in the suite bar */
.gsearch { position: relative; display: flex; align-items: center; }
.gsearch input { width: 180px; font: 400 13px var(--mono); letter-spacing: .02em; color: var(--ink); background: var(--bg-2); border: 1px solid var(--rule-2); padding: 7px 28px 7px 10px; transition: width .15s, border-color .15s; }
.gsearch input:focus { outline: none; border-color: var(--ink-2); width: 260px; }
.gsearch input::placeholder { color: var(--faint); }
.gsearch kbd, .search-page kbd { font: 500 11px var(--mono); color: var(--dim); border: 1px solid var(--rule-2); padding: 0 5px; }
.gsearch kbd { position: absolute; right: 7px; pointer-events: none; }
.gsearch input:focus + kbd { display: none; }
.nextpaper { color: var(--faint); font-size: 11px; letter-spacing: .08em; white-space: nowrap; }
.helpbtn { font: 600 13px var(--mono); width: 30px; height: 30px; color: var(--dim); background: transparent; border: 1px solid var(--rule-2); cursor: pointer; }
.helpbtn:hover { color: var(--ink); border-color: var(--ink-2); }
@media (max-width: 1099px) { .nextpaper { display: none; } }
@media (max-width: 760px) { .gsearch input { width: 110px; } .gsearch input:focus { width: 150px; } .gsearch kbd, .helpbtn { display: none; } }
@media (max-width: 420px) { .suite .logout button { padding: 8px 7px; font-size: 11px; } .gsearch input { width: 84px; } }
.keysheet { background: var(--bg-3); color: var(--ink-2); border: 1px solid var(--rule-2); padding: 22px 24px; max-width: 520px; width: calc(100% - 32px); }
.keysheet::backdrop { background: rgba(0, 0, 0, .6); }
.keysheet h2 { font: 600 14px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.keysheet dl { display: grid; grid-template-columns: 130px 1fr; gap: 9px 14px; margin: 0 0 18px; font-size: 13px; }
.keysheet dt { color: var(--ink); }
.keysheet dd { margin: 0; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px);
  background: var(--ink); color: var(--bg); padding: 11px 12px 11px 16px; font-size: 13px; box-shadow: 0 8px 30px rgba(0, 0, 0, .5);
  animation: toastIn .18s ease-out, toastOut .4s ease-in 6s forwards; }
.toast.has-undo { animation: toastIn .18s ease-out, toastOut .4s ease-in 12s forwards; }
.toast:hover, .toast:focus-within { animation-play-state: paused; }
.toast form { margin: 0; }
.toast button { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.toast form button { color: var(--bg); background: transparent; border: 1px solid rgba(11, 11, 14, .4); padding: 5px 10px; }
.toast form button:hover { background: var(--bg); color: var(--ink); }
.toast-x { background: none; border: 0; color: rgba(11, 11, 14, .55); font-size: 18px !important; line-height: 1; padding: 0 4px; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes toastOut { to { opacity: 0; transform: translate(-50%, 10px); visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .toast { animation: toastOut .01s linear 8s forwards; } .toast.has-undo { animation: toastOut .01s linear 14s forwards; } }

/* note editor: tools fold into "More" and tasks into a summary on phones */
.more { position: relative; }
.more > summary { list-style: none; }
.more > summary::-webkit-details-marker { display: none; }
.more-body { display: flex; flex-wrap: wrap; gap: 8px; }
.more-body form { margin: 0; }
@media (min-width: 900px) { .more > summary { display: none; } }
@media (max-width: 899px) {
  .more[open] .more-body { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; flex-direction: column; min-width: 170px; padding: 8px; background: var(--bg-3); border: 1px solid var(--rule-2); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
  .more[open] .more-body .tbtn { width: 100%; text-align: left; }
  .nhead { padding: 10px 14px 8px; }
  .ntitle { font-size: 20px; flex-basis: 100%; }
  .seg button[data-view="split"] { display: none; }
  .mdbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 8px; }
  .mdbar::-webkit-scrollbar { display: none; }
  .mdbar button { flex: 0 0 auto; }
  .nstatus { padding: 6px 14px; gap: 4px 12px; }
  #word-count { display: none; }
}
.nlinks-d { border-bottom: 1px solid var(--rule); background: #0d0d11; }
.nlinks-d > summary { list-style: none; cursor: pointer; padding: 9px 20px; color: var(--dim); letter-spacing: .1em; }
.nlinks-d > summary::-webkit-details-marker { display: none; }
.nlinks-d > summary::after { content: ' ▾'; }
.nlinks-d[open] > summary::after { content: ' ▴'; }
.nlinks-d .nlinks { border-bottom: 0; padding-top: 0; }
@media (min-width: 900px) { .nlinks-d > summary { display: none; } .nlinks-d .nlinks { padding-top: 9px; } }
.ni-title.untitled { font-style: italic; font-weight: 500; color: var(--ink-2); }

/* tasks: filters and the folded done list */
.tfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.tfilters a { color: var(--dim); padding: 5px 9px; border: 1px solid var(--rule-2); }
.tfilters a:hover { color: var(--ink); text-decoration: none; border-color: var(--ink-2); }
.tfilters a[aria-current="page"] { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.tfilters a.area[aria-current="page"] { background: rgba(255, 255, 255, .08); border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.tsep { width: 1px; height: 20px; background: var(--rule-2); margin: 0 4px; }
.tclear { border: 0 !important; }
.donelist { margin-top: 20px; }
.donelist > summary { cursor: pointer; list-style: none; }
.donelist > summary::-webkit-details-marker { display: none; }
.donelist > summary::after { content: '  ▾ show'; color: var(--faint); }
.donelist[open] > summary::after { content: '  ▴ hide'; }
.markmany { margin-top: 18px; }

/* search */
.search-page { padding-top: 36px; padding-bottom: 64px; max-width: 980px; }
.bigsearch { display: flex; gap: 8px; margin-bottom: 14px; }
.bigsearch input { flex: 1; font: 400 18px var(--sans); color: var(--ink); background: var(--bg-2); border: 1px solid var(--rule-2); padding: 13px 14px; }
.bigsearch input:focus { outline: none; border-color: var(--ink-2); }
.sresults { list-style: none; padding: 0; margin: 0 0 10px; }
.sresults li { border-top: 1px solid var(--rule); }
.sresults li > a:first-child { display: flex; flex-direction: column; gap: 3px; padding: 12px 0 6px; }
.sresults li > a:first-child:hover { text-decoration: none; }
.sresults li > a:first-child:hover b { text-decoration: underline; text-underline-offset: 3px; }
.sresults b { font-weight: 600; font-size: 16px; color: var(--ink); }
.sresults li:not(:has(.sday)) > a:first-child { padding-bottom: 12px; }
.sday { display: inline-block; margin: 0 0 12px; color: var(--dim); }
mark { background: rgba(255, 193, 77, .28); color: inherit; padding: 0 1px; }

/* login password reveal; empty-state links */
.pw { position: relative; display: block; }
.pw input { padding-right: 64px !important; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); margin: 0 !important; padding: 6px 9px !important; font-size: 11px !important; letter-spacing: .08em; background: transparent !important; color: var(--dim) !important; border: 1px solid var(--rule-2) !important; }
.pw-toggle:hover { color: var(--ink) !important; }
.empty-links { margin-top: 18px; font-size: 13px; letter-spacing: .06em; }
.empty-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tfilters a.area-bug { color: var(--down); } .tfilters a.area-revenue { color: var(--up); }
.tfilters a.area-cost, .tfilters a.area-support { color: var(--warn); }
.tfilters a.area-growth, .tfilters a.area-quality, .tfilters a.area-ops, .tfilters a.area-ux { color: var(--ink-2); }
.suite .logout button { white-space: nowrap; }
.toast span { flex: 1 1 auto; min-width: 0; }
.toast { width: max-content; }
@media (max-width: 560px) {
  .toast { left: 12px; right: 12px; width: auto; max-width: none; transform: none; bottom: 14px; }
  @keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes toastOut { to { opacity: 0; transform: translateY(10px); visibility: hidden; } }
}
.apps-search { display: none; }
@media (max-width: 560px) {
  .gsearch { display: none; }
  .apps-search { display: inline; }
  .suite-in { gap: 6px; }
  .apps a { padding: 14px 7px 12px; letter-spacing: .04em; }
  .suite .logout button { padding: 7px 7px; font-size: 11px; letter-spacing: .04em; }
}

/* ============================================================== sidebar */
html { scroll-padding-top: 20px; }
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.page { min-width: 0; }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent;
  display: flex; flex-direction: column; gap: 4px; padding: 18px 0 0; background: #08080b; border-right: 1px solid var(--rule); font-size: 12.5px; z-index: 40; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 0 18px 10px; }
.sidebar .brand { font-size: 12px; }
.side-x { display: none; font-size: 22px; line-height: 1; color: var(--dim); padding: 2px 6px; }
.sidebar .gsearch { margin: 4px 14px 10px; }
.sidebar .gsearch input, .sidebar .gsearch input:focus { width: 100%; }
.side-sec { padding: 8px 0 6px; border-top: 1px solid var(--rule); }
.side-h { margin: 4px 18px 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.side-link { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 18px 6px 16px; border-left: 2px solid transparent; color: var(--ink-2); letter-spacing: .03em; text-align: left; }
.side-link:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.side-link[aria-current="page"], .side-link[aria-current="true"] { color: var(--ink); border-left-color: var(--ink); background: var(--bg-2); }
.side-l { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-n { color: var(--faint); font-size: 11px; white-space: nowrap; }
.side-link[aria-current] .side-n { color: var(--dim); }
.side-link.big { font-size: 13.5px; padding-top: 8px; padding-bottom: 8px; font-family: var(--sans); letter-spacing: 0; font-weight: 500; }
.side-ico { width: 18px; height: 18px; flex: 0 0 18px; color: var(--dim); }
.side-link[aria-current] .side-ico { color: var(--ink); }
.side-num { font-weight: 500; color: var(--faint); width: 20px; flex: 0 0 20px; }
.side-link.sub { padding-left: 34px; font-size: 12px; }
.side-link.sub .side-num { width: 14px; flex-basis: 14px; }
.side-link.more { color: var(--dim); }
.side-btn { font: inherit; background: none; border: 0; border-left: 2px solid transparent; cursor: pointer; }
.sidebar .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; flex: 0 0 8px; }
.sidebar .dot.area-growth, .sidebar .dot.area-quality, .sidebar .dot.area-ops, .sidebar .dot.area-ux { color: var(--ink-2); opacity: .55; }
.side-foot { margin-top: auto; position: sticky; bottom: 0; padding: 12px 18px 14px; border-top: 1px solid var(--rule); background: #08080b; display: flex; flex-direction: column; gap: 10px; }
.side-foot .nextpaper { font-size: 11px; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.side-foot-row { display: flex; gap: 8px; }
.side-foot .logout { margin: 0; flex: 1; }
.side-mini { width: 100%; font: 500 11.5px var(--mono); letter-spacing: .06em; color: var(--ink-2); background: transparent; border: 1px solid var(--rule-2); padding: 8px 8px; cursor: pointer; white-space: nowrap; }
.side-mini:hover { color: var(--ink); border-color: var(--ink-2); }
.side-foot-row > .side-mini { flex: 1; }
.mbar, .scrim { display: none; }
.nfilter-on, .tfilter-on { color: var(--warn); letter-spacing: .08em; margin: 4px 0 10px; }
.nlist > .nfilter-on { margin: 0 14px 10px; }
.nfilter-on a, .tfilter-on a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* the paper's own sticky to-do bar now has nothing above it on desktop */
.todo-bar { top: 0; }

/* Notes fills the screen beside the sidebar */
body.notes { height: auto; overflow: visible; display: block; }
body.notes .shell { height: 100vh; }
body.notes .page { display: flex; flex-direction: column; height: 100vh; min-height: 0; overflow: hidden; }
body.notes .notes-app { flex: 1; min-height: 0; }

/* ----------------------------------------------------------- phones: drawer */
@media (max-width: 899px) {
  html { scroll-padding-top: 64px; }
  .shell { display: block; }
  .mbar { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 30; height: 50px; padding: 0 12px; background: rgba(8, 8, 11, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
  .mbar .brand { flex: 1; }
  .mbtn { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--rule-2); }
  .mbtn span { display: block; height: 1.5px; background: var(--ink); }
  .mbar-search { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--ink-2); border: 1px solid var(--rule-2); }
  .mbar-search svg { width: 18px; height: 18px; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; height: auto; width: min(300px, 86vw); transform: translateX(-102%); transition: transform .2s ease; z-index: 60; box-shadow: 0 0 40px rgba(0, 0, 0, .6); }
  .sidebar:target, body.side-open .sidebar { transform: none; }
  .side-x { display: inline-block; }
  .scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .55); }
  .sidebar:target + .scrim, body.side-open .scrim { display: block; }
  body.side-open { overflow: hidden; }
  .side-link { padding-top: 9px; padding-bottom: 9px; }
  .todo-bar { top: 50px; }
  body.notes .shell { height: auto; }
  body.notes .page { height: calc(100dvh - 50px); }
}
@media (prefers-reduced-motion: reduce) { .sidebar { transition: none; } }
@media print { .sidebar, .mbar, .scrim { display: none !important; } .shell { display: block; } }
/* the sidebar keeps its search box and countdown at every width */
.sidebar .gsearch { display: flex !important; }
.sidebar .gsearch kbd { display: inline; }
.sidebar .nextpaper { display: block !important; }
@media (max-width: 899px) { .sidebar .gsearch kbd { display: none; } }

/* ======================================================= resizable sidebar */
.shell { grid-template-columns: var(--side-w, 248px) minmax(0, 1fr); }
.shell.sw-180 { --side-w: 180px; }
.shell.sw-190 { --side-w: 190px; }
.shell.sw-200 { --side-w: 200px; }
.shell.sw-210 { --side-w: 210px; }
.shell.sw-220 { --side-w: 220px; }
.shell.sw-230 { --side-w: 230px; }
.shell.sw-240 { --side-w: 240px; }
.shell.sw-250 { --side-w: 250px; }
.shell.sw-260 { --side-w: 260px; }
.shell.sw-270 { --side-w: 270px; }
.shell.sw-280 { --side-w: 280px; }
.shell.sw-290 { --side-w: 290px; }
.shell.sw-300 { --side-w: 300px; }
.shell.sw-310 { --side-w: 310px; }
.shell.sw-320 { --side-w: 320px; }
.shell.sw-330 { --side-w: 330px; }
.shell.sw-340 { --side-w: 340px; }
.shell.sw-350 { --side-w: 350px; }
.shell.sw-360 { --side-w: 360px; }
.shell.sw-370 { --side-w: 370px; }
.shell.sw-380 { --side-w: 380px; }
.shell.sw-390 { --side-w: 390px; }
.shell.sw-400 { --side-w: 400px; }
.shell.sw-410 { --side-w: 410px; }
.shell.sw-420 { --side-w: 420px; }
.shell.sw-430 { --side-w: 430px; }
.shell.sw-440 { --side-w: 440px; }
.side-grip { position: fixed; top: 0; bottom: 0; left: calc(var(--side-w, 248px) - 4px); width: 8px; cursor: col-resize; z-index: 45; touch-action: none; }
.side-grip::after { content: ''; position: absolute; left: 3px; top: 0; bottom: 0; width: 2px; background: transparent; transition: background .15s; }
.side-grip:hover::after, .side-grip:focus-visible::after, .side-grip.dragging::after { background: var(--ink-2); }
.side-grip:focus-visible { outline: none; }
body.resizing, body.resizing * { cursor: col-resize !important; user-select: none !important; }
@media (max-width: 899px) { .side-grip { display: none !important; } }

/* ========================================================= compact masthead */
.masthead { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 24px var(--gutter) 18px; }
.mast-mark { width: 38px; height: 38px; margin: 0; }
.wordmark.big { font-size: clamp(32px, 4vw, 54px); letter-spacing: -.015em; }
.masthead .tagline, .masthead .mast-meta { flex-basis: 100%; }
.masthead .tagline { font-size: clamp(17px, 1.7vw, 21px); margin: 6px auto 2px; }
@media (max-width: 719px) { .masthead { padding: 18px var(--gutter) 14px; } .mast-mark { width: 30px; height: 30px; } }
@media (min-width: 720px) { .mast-mark { width: 46px; height: 46px; } }

/* ---- Tasks: complete, archive (19 Oct 2026) ------------------------------
   The circle on the left completes a task; the box on the right only picks it
   for the Claude Code prompt. Before, the big box on the left read as "done"
   but only picked, and MARK DONE was a dotted label in the meta line. */
.tasks-page .todo-list li.sel { grid-template-columns: 34px minmax(0, 1fr) 30px; }
.tasks-page .todo-list li.nosel { grid-template-columns: 34px minmax(0, 1fr); }
.tcheck { width: 22px; height: 22px; margin: 2px 0 0; padding: 0; border-radius: 50%; border: 1.5px solid var(--faint); background: none; cursor: pointer; display: grid; place-items: center; transition: border-color .15s, background .15s; }
.tcheck svg { width: 14px; height: 14px; fill: none; stroke: transparent; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s; }
.tcheck:hover, .tcheck:focus-visible { border-color: var(--up); outline: none; }
.tcheck:hover svg, .tcheck:focus-visible svg { stroke: var(--up); }
.tcheck:focus-visible { box-shadow: 0 0 0 3px rgba(111, 214, 160, .25); }
.tcheck.is-done { background: var(--up); border-color: var(--up); }
.tcheck.is-done svg { stroke: var(--bg); }
.tcheck.is-done:hover { background: none; }
.tcheck.is-done:hover svg { stroke: var(--up); }
.todo-list li.completing .tcheck { background: var(--up); border-color: var(--up); }
.todo-list li.completing .tcheck svg { stroke: var(--bg); }
.todo-list li.completing .todo-t { text-decoration: line-through; color: var(--dim); }
.todo-list li.completing, .todo-list li.reopening { opacity: .55; transition: opacity .25s; }
.tpick { display: flex; justify-content: flex-end; padding-top: 3px; cursor: pointer; }
.tpick .pick { width: 17px; height: 17px; margin: 0; opacity: .5; transition: opacity .15s; }
.tpick:hover .pick, .tpick .pick:checked, .tpick .pick:focus-visible { opacity: 1; }
.tasks-page .todo-t { cursor: default; }
.tasks-page li.sel .todo-t { cursor: pointer; }
.donewhen { color: var(--up); }
.completed { margin-top: 28px; }
.tgroup-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.tgroup-row .tgroup { margin: 0; }
.tauto { margin: 6px 0 4px; }
.tarchive-link { margin: 22px 0 0; }
.tarchive-link a, .tback a { color: var(--dim); }
.tarchive-link a:hover, .tback a:hover { color: var(--ink); }
.tsearch { margin: 0 0 12px; }
.tsearch input { width: 100%; font: 400 15px var(--sans); color: var(--ink); background: var(--bg-2); border: 1px solid var(--rule-2); padding: 11px 12px; }
.tsearch input:focus { outline: none; border-color: var(--ink-2); }
.tback { margin-top: 24px; }
.shead-line a { color: inherit; }
.shead-line a:hover { color: var(--ink); }
[data-done-selected][hidden] { display: none; }

/* ---- attachments (20 Oct 2026): chips on notes, tasks and the paper's to-do ---- */
.files { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 3px 4px 3px 8px; border: 1px solid var(--rule-2); background: var(--bg-2); font: 500 12px var(--mono); }
.fchip .fname { color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fchip .fname:hover { text-decoration: underline; }
.fchip .fsize { color: var(--faint); white-space: nowrap; }
.fchip .fopen { color: var(--up); font-weight: 600; letter-spacing: .06em; text-decoration: none; border-bottom: 1px dotted var(--up); }
.fchip .fx { background: none; border: 0; color: var(--faint); font: 500 15px/1 var(--mono); padding: 0 4px; cursor: pointer; }
.fchip .fx:hover, .fchip .fx:focus-visible { color: var(--down); }
.fchip.has-thumb { padding-left: 3px; }
.fthumb img { display: block; height: 40px; width: auto; max-width: 96px; object-fit: cover; }
.fadd { cursor: pointer; }
.fin:focus-visible + .fadd, .fadd:focus-within { outline: 2px solid var(--ink-2); }
.fhint { flex-basis: 100%; }
.nfiles .files { margin-top: 0; }
.workspace.dropping, .nfiles-d.dropping { outline: 2px dashed var(--up); outline-offset: -4px; }

/* ---- sheet editor (20 Oct 2026): sheet.css is the library's; this is the dark skin ---- */
.wrap-wide { width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.sheet-main { padding-top: 14px; padding-bottom: 24px; }
.sheet-head .shead-line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; }
.sheet-head .shead-line a { color: var(--ink-2); }
.sheet-title { font-size: clamp(22px, 3vw, 32px); margin: 6px 0 10px; overflow-wrap: anywhere; }
.sheet-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 8px; }
.sheet-bar .save-status { margin-left: auto; font-size: 12px; }
.sheet-note { margin: 0 0 10px; }
.sheet-host { max-width: 100%; overflow: hidden; }
.sheet-page .jss_container { background: var(--bg); padding: 0; }
.sheet-page .jss_content { background: var(--bg); scrollbar-color: var(--rule-2) transparent; box-shadow: none; border: 1px solid var(--rule-2); }
.sheet-page .jss_worksheet { background: var(--bg); color: var(--ink); font: 13px/1.4 var(--mono); border-color: var(--rule); }
.sheet-page .jss_worksheet > thead > tr > td, .sheet-page .jss_worksheet > tbody > tr > td:first-child, .sheet-page .jss_worksheet .jss_selectall {
  background-color: var(--bg-3); color: var(--dim); border-color: var(--rule-2); }
.sheet-page .jss_worksheet > tbody > tr > td { background-color: var(--bg); color: var(--ink); border-color: var(--rule); }
.sheet-page .jss_worksheet > thead > tr > td.selected, .sheet-page .jss_worksheet > tbody > tr.selected > td:first-child { background-color: #24324a; color: var(--ink); }
.sheet-page .jss_worksheet > tbody > tr > td.highlight { background-color: rgba(130, 170, 255, .14); }
.sheet-page .jss_worksheet > tbody > tr > td.readonly { color: var(--faint); }
.sheet-page .jss_worksheet > tbody > tr > td > input, .sheet-page .jss_worksheet > tbody > tr > td > textarea,
.sheet-page .jss_worksheet .editor, .sheet-page .jss_textarea { background: var(--bg-2); color: var(--ink); caret-color: #fff; font: inherit; }
.sheet-page .jss_corner { background-color: var(--up); border-color: var(--bg); }
.sheet-page .jtabs .jtabs-headers > div:not(.jtabs-border):not(.jtabs-controls) { color: var(--dim); background: var(--bg-2); border-color: var(--rule-2); font: 500 12px var(--mono); }
.sheet-page .jtabs .jtabs-headers > div.jtabs-selected { color: var(--ink); background: var(--bg-3); }
.sheet-page .jtabs .jtabs-headers, .sheet-page .jtabs .jtabs-content { background: var(--bg); border-color: var(--rule-2); }
.sheet-page .jtabs .jtabs-controls div { color: var(--ink-2); }
.sheet-page .jcontextmenu { background: var(--bg-2); color: var(--ink); border: 1px solid var(--rule-2); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.sheet-page .jcontextmenu > div { color: var(--ink); font: 13px var(--sans); }
.sheet-page .jcontextmenu > div:hover, .sheet-page .jcontextmenu > div.jcontextmenu-selected { background: var(--bg-3); }
.sheet-page .jcontextmenu > div a span, .sheet-page .jcontextmenu > div span { color: var(--dim); }
.sheet-page .jcontextmenu hr { border-color: var(--rule-2); }

/* ---- line icons (21 Oct 2026): MurdokRender::ico(), the sidebar's drawing style ---- */
.ico { display: inline-block; width: 16px; height: 16px; flex: none; vertical-align: -3px; overflow: visible; }
.mdbar .mdi { width: 18px; height: 18px; }
.nm-ico { display: inline-flex; align-items: center; gap: 3px; }
.nm-ico .ico { width: 12px; height: 12px; vertical-align: 0; }
.ni-meta b.nm-ico { color: var(--ink-2); }
.fchip .fname { display: inline-flex; align-items: center; gap: 6px; }
.fchip .fname .ico { width: 15px; height: 15px; color: var(--dim); }
.fchip .fname:hover .ico { color: var(--ink-2); }

/* ---- new sign-ups (21 Oct 2026): who joined in the paper's window and what they did ---- */
.signups { margin: 18px 0 6px; padding: 24px; border: 1px solid var(--rule-2); background: var(--bg-2); scroll-margin-top: 64px; }
.su-mix { margin: 0; }
.su-list { list-style: none; display: grid; grid-template-columns: 1fr; column-gap: 32px; }
@media (min-width: 900px) { .su-list { grid-template-columns: 1fr 1fr; } }
.su { padding: 14px 0; border-top: 1px solid var(--rule); min-width: 0; }
.su-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.su-name { font: 600 15px var(--sans); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.su-name:hover { text-decoration: underline; }
.su-dn { font-size: 13px; color: var(--dim); }
.su-st { margin-left: auto; font-size: 11px; letter-spacing: .08em; padding: 1px 6px; border: 1px solid var(--rule-2); color: var(--dim); white-space: nowrap; }
.st-paid .su-st { color: var(--up); border-color: var(--up); }
.st-writing .su-st { color: var(--ink); border-color: var(--ink-2); }
.st-started .su-st { color: var(--warn); border-color: rgba(255, 193, 77, .5); }
.su-meta { margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--faint); }
.su-sum { margin: 0; color: var(--ink-2); }
.su-tail { margin: 6px 0 0; overflow-wrap: anywhere; }

/* ---- books (21 Oct 2026): the Goodreads library at /books ---- */
.books-page { padding-bottom: 40px; }
.btiles { margin: 6px 0 18px; }
.tv-s { font-size: .6em; color: var(--warn); }
.bstats { display: grid; grid-template-columns: 1fr; gap: 18px 40px; margin-bottom: 22px; }
@media (min-width: 900px) { .bstats { grid-template-columns: minmax(0, 420px) 1fr; } }
.bspread td:first-child { width: 1%; white-space: nowrap; padding-right: 14px; }
.bspread .stars { display: inline-block; vertical-align: middle; }
.byears { margin-top: 8px; }
.bcontrols { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 4px 0 10px; }
.bshelves { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--rule-2); }
.bshelves a { padding: 7px 12px; font-size: 12px; color: var(--ink-2); text-decoration: none; border-right: 1px solid var(--rule-2); }
.bshelves a:last-child { border-right: 0; }
.bshelves a b { font-weight: 500; color: var(--faint); margin-left: 4px; }
.bshelves a[aria-current] { background: var(--ink); color: var(--bg); }
.bshelves a[aria-current] b { color: var(--bg); opacity: .6; }
.bsearch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; flex: 1 1 320px; }
.bsearch input[type=search] { flex: 1 1 220px; min-width: 0; background: var(--bg-2); border: 1px solid var(--rule-2); color: var(--ink); padding: 8px 10px; font: 14px var(--sans); }
.bsearch input[type=search]:focus { outline: 2px solid var(--ink-2); outline-offset: -1px; }
.brated { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.brated input { accent-color: #f2f1ee; }
.bcount { margin: 0 0 6px; }
.btable-wrap { overflow-x: auto; border: 1px solid var(--rule-2); background: var(--bg-2); }
.btable { width: 100%; border-collapse: collapse; font-size: 14px; }
.btable th { position: sticky; top: 0; background: var(--bg-3); text-align: left; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--rule-2); white-space: nowrap; z-index: 1; }
.btable th a { display: flex; align-items: center; gap: 5px; padding: 10px 12px; color: var(--dim); text-decoration: none; }
.btable th a:hover, .btable th[aria-sort] a { color: var(--ink); }
.btable .sarr { width: 8px; height: 8px; opacity: 0; }
.btable th a:hover .sarr { opacity: .35; }
.btable th[aria-sort] .sarr { opacity: 1; }
.btable .sarr::before { content: ''; display: block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; margin-top: 2px; }
.btable th[aria-sort="ascending"] .sarr::before { border-top: 0; border-bottom: 5px solid currentColor; }
.btable td { padding: 9px 12px; border-top: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
.btable tbody tr:hover td { background: rgba(255, 255, 255, .025); }
.btable td.mono { font-size: 12.5px; white-space: nowrap; }
.btable .bc-title { min-width: 220px; max-width: 420px; }
.btable .bc-title > a { color: var(--ink); font-weight: 600; text-decoration: none; }
.btable .bc-title > a:hover { text-decoration: underline; }
.btable .bc-author { min-width: 140px; }
.btable .bc-avg, .btable .bc-pages, .btable .bc-year { text-align: right; }
.btable th.bc-avg a, .btable th.bc-pages a, .btable th.bc-year a { justify-content: flex-end; }
.bshelf-tags { display: block; margin-top: 3px; font-size: 11px; color: var(--faint); }
.breview { margin-top: 4px; }
.breview summary { cursor: pointer; color: var(--dim); list-style: none; }
.breview summary::-webkit-details-marker { display: none; }
.breview summary::before { content: '▸ '; }
.breview[open] summary::before { content: '▾ '; }
.breview p { margin: 6px 0 0; color: var(--ink-2); max-width: 60ch; }
.stars { width: 72px; height: 14px; display: block; overflow: visible; }
.stars use.on { fill: var(--warn); }
.stars use.off { fill: none; stroke: var(--faint); stroke-width: 1; }
.nostars { color: var(--faint); }
.bc-score { white-space: nowrap; }
.sresults .sstars { display: block; margin-top: 4px; }
.bimport { margin-top: 26px; border: 1px solid var(--rule-2); background: var(--bg-2); scroll-margin-top: 64px; }
.bimport > summary { cursor: pointer; padding: 12px 18px; color: var(--dim); letter-spacing: .1em; list-style: none; }
.bimport > summary::-webkit-details-marker { display: none; }
.bimport > summary::after { content: ' ▾'; }
.bimport[open] > summary::after { content: ' ▴'; }
.bimport .bimp-grid { padding: 0 18px 18px; }
.bimp-grid { display: grid; grid-template-columns: 1fr; gap: 20px 40px; }
@media (min-width: 900px) { .bimp-grid { grid-template-columns: 1fr 1fr; } }
.bform { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.bform form { margin: 0; }
.bform input[type=url], .bform input[type=file] { flex: 1 1 260px; min-width: 0; background: var(--bg); border: 1px solid var(--rule-2); color: var(--ink); padding: 8px 10px; font: 13px var(--mono); }
.bfeed { margin: 10px 0 0; padding: 8px 10px; border: 1px solid var(--rule-2); color: var(--ink-2); line-height: 1.6; }
.bfeed.bad { border-color: var(--down); color: var(--down); }
.bconnect { margin-top: 10px; }
@media (max-width: 719px) {
  .btable .bc-avg, .btable .bc-pages, .btable .bc-added, .btable .bc-shelf { display: none; }
  .btable .bc-title { min-width: 160px; }
  .btable .bc-author { min-width: 110px; }
  .bshelves { width: 100%; }
  .bshelves a { flex: 1 1 auto; text-align: center; }
}

/* ---- reading lists in Books (21 Oct 2026): /10 scores, Fit, details ---- */
.s10w { display: inline-flex; align-items: center; gap: 7px; }
.s10 { font-size: 11.5px; color: var(--dim); }
.btable .bc-fit { text-align: right; color: var(--ink); }
.btable th.bc-fit a { justify-content: flex-end; }
.bfmt { font-weight: 500; color: var(--ink-2); border: 1px solid var(--rule-2); padding: 0 4px; margin-right: 6px; letter-spacing: .06em; }
.bt-plain { color: var(--ink); font-weight: 600; }
.bdet p { margin: 6px 0 4px; color: var(--ink-2); max-width: 62ch; }
.bdl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 6px 0 2px; max-width: 62ch; }
.bdl dt { color: var(--faint); letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.bdl dd { margin: 0; color: var(--ink-2); }
@media (max-width: 719px) { .btable .bc-fit { display: none; } }

/* ---- books: Sync from Goodreads (21 Oct 2026) ---- */
.bsync { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; }
.bsync form { margin: 0; }
.bsync .btn[disabled] { opacity: .7; cursor: progress; }
.bsync-ico { display: inline-block; }
.bsync[data-busy="1"] .bsync-ico { animation: bspin 1s linear infinite; }
@keyframes bspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bsync[data-busy="1"] .bsync-ico { animation: none; } }
.bsync-st { margin: 0; color: var(--dim); max-width: 90ch; }
.bsync-st.busy { color: var(--ink-2); }
.bsync-st.bad { color: var(--down); }

/* ---- book details across the table (22 Oct 2026) ---- */
.bdet-toggle { display: inline-flex; gap: 5px; margin-top: 4px; color: var(--dim); text-decoration: none; border-bottom: 1px dotted var(--faint); }
.bdet-toggle:hover, .bdet-toggle[aria-expanded="true"] { color: var(--ink); }
.bdet-toggle i { font-style: normal; }
.btable tr.det-open td { background: rgba(255, 255, 255, .03); }
.btable .bdet-row { display: none; }
.btable .bdet-row:target, .btable .bdet-row.open { display: table-row; }
.btable .bdet-row[hidden] { display: none; }
.btable .bdet-row > td { padding: 0; border-top: 0; background: var(--bg); }
.bdet-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 36px; padding: 16px 18px 20px 18px; border-left: 2px solid var(--warn); }
/* On a phone the table scrolls sideways; the panel stays in view and wraps to the screen. */
@media (max-width: 899px) { .bdet-in { position: sticky; left: 0; box-sizing: border-box; width: calc(100vw - 2 * var(--gutter) - 2px); } }
@media (min-width: 900px) { .bdet-in { grid-template-columns: minmax(280px, 2fr) minmax(0, 3fr); } .bdet-in.one { grid-template-columns: minmax(0, 1fr); } }
.bd-sum { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); max-width: 70ch; }
.bd-h { margin: 14px 0 4px; color: var(--faint); letter-spacing: .08em; }
.bd-rev { margin: 0; color: var(--ink-2); line-height: 1.6; max-width: 70ch; }
.bd-open { margin-top: 14px; display: inline-flex; }
.bd-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 28px; margin: 0; align-content: start; }
.bd-f { min-width: 0; }
.bd-f.wide { grid-column: 1 / -1; }
.bd-f dt { color: var(--faint); letter-spacing: .08em; margin-bottom: 3px; }
.bd-f dd { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }

/* ================================================ one gutter beside the sidebar
   Every page next to the sidebar is full width with the same gutter as Notes:
   20px, 14px on phones, at the top as well as the sides. --gutter is set on
   .page so everything inside that measures from it stays aligned. */
.page { --gutter: 20px; }
@media (max-width: 719px) { .page { --gutter: 14px; } }
.page .wrap, .page .wrap-wide { max-width: none; margin: 0; }
.page .tasks-page, .page .search-page, .page .prompt-page, .page .page-narrow, .page .books-page, .page .sheet-main { padding-top: var(--gutter); }
/* Pages that are mostly reading keep a readable line length, anchored left. */
.page .search-page > *, .page .prompt-page > *, .page .page-narrow > * { max-width: 1100px; }
/* On a full-width page the 900px tagline would fit beside the wordmark; keep it on its own centered line. */
.masthead .tagline, .masthead .mast-meta { max-width: none; width: 100%; }

/* ---- sign-ups: where each person came from (22 Oct 2026) ---- */
.su-src { margin: 8px 0 0; display: grid; gap: 4px; }
.su-src > div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.su-src dt { color: var(--faint); letter-spacing: .06em; line-height: 1.5; }
.su-src dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; line-height: 1.45; }
@media (max-width: 480px) { .su-src > div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ---------------------------------------------------------- Work (22 Oct 2026)
   The monitor at /work. Every class is wk- (collisions bit twice before). */
.side-link.side-alarm .side-n { color: var(--down); }
.wk-dot { display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--faint); vertical-align: middle; }
.wk-dot.wk-up { background: var(--up); }
.wk-dot.wk-warn { background: var(--warn); }
.wk-dot.wk-down { background: var(--down); box-shadow: 0 0 0 3px rgba(255, 122, 112, .18); }
.wk-dot.wk-new { background: var(--faint); }
span.wk-up, b.wk-up { color: var(--up); } span.wk-warn { color: var(--warn); } span.wk-down { color: var(--down); }
.wk-state { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 12px 14px; border: 1px solid var(--rule-2); border-left-width: 3px; background: var(--bg-2); font-size: 13px; letter-spacing: .02em; }
.wk-state.wk-up { border-left-color: var(--up); }
.wk-state.wk-warn { border-left-color: var(--warn); }
.wk-state.wk-down { border-left-color: var(--down); color: var(--ink); }
.wk-tiles { margin-bottom: 8px; }
.wk-tiles .tv-s { font-size: .55em; color: var(--dim); font-weight: 500; }
.wk-tiles .tile.wk-bad .tv { color: var(--down); }
.wk-sec { margin-top: 38px; scroll-margin-top: 64px; }
.wk-sec .h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.wk-acct { font: 400 13px var(--mono); letter-spacing: .02em; }
.wk-scroll { overflow-x: auto; }
.wk-tbl { min-width: 860px; table-layout: fixed; }
.wk-tbl th { white-space: nowrap; }
.wk-sites th:nth-child(2) { width: 22%; } .wk-sites th:nth-child(3) { width: 15%; } .wk-sites th:nth-child(4) { width: 150px; }
.wk-sites th:nth-child(5) { width: 130px; } .wk-sites th:nth-child(6) { width: 90px; } .wk-sites th:nth-child(8) { width: 50px; }
.wk-servers { min-width: 1040px; }
.wk-servers th:nth-child(2) { width: 28%; } .wk-servers th:nth-child(4) { width: 150px; } .wk-servers th:nth-child(5) { width: 150px; } .wk-servers th:nth-child(6) { width: 120px; } .wk-servers th:nth-child(7) { width: 80px; }
.wk-cpucell { white-space: nowrap; }
/* entangledtext.com health (22 Oct 2026): one row per check, worst first. */
.wk-hnote { margin: -4px 0 12px; max-width: 1000px; }
.wk-health td { padding-top: 7px; padding-bottom: 7px; } .wk-health td:first-child { padding-top: 11px; }
.wk-health th:nth-child(2) { width: 22%; } .wk-health th:nth-child(4) { width: 150px; } .wk-health th:nth-child(5) { width: 120px; }
.wk-health .wk-name > span { line-height: 1.45; margin-top: 3px; }
.wk-health tr.wk-h-down td { background: rgba(255, 122, 112, .07); }
.wk-health tr.wk-h-warn td { background: rgba(255, 193, 77, .05); }
/* Mumara sending nodes (23 Oct 2026): a collapsible list, sorted and searched by DataTables. */
.wk-nodes { margin-top: 18px; border-top: 1px solid var(--rule); }
.wk-nodes > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; cursor: pointer; list-style: none; color: var(--ink-2); }
.wk-nodes > summary::-webkit-details-marker { display: none; }
.wk-nodes > summary:hover .wk-nodes-hint, .wk-nodes > summary:focus-visible .wk-nodes-hint { color: var(--ink); }
.wk-nodes > summary:focus-visible { outline: 1px solid var(--rule-2); outline-offset: 2px; }
.wk-nodes:not([open]) .wk-when-open, .wk-nodes[open] .wk-when-shut { display: none; }
.wk-nodetbl { min-width: 1100px; }
.wk-nodetbl td { vertical-align: top; padding-top: 8px; padding-bottom: 8px; }
.wk-nodetbl td:last-child { text-align: left; }
.wk-nodetbl .wk-name b { font-size: 13.5px; }
.wk-nodetbl .wk-name .wk-warn { display: block; margin-top: 2px; color: var(--warn); line-height: 1.4; }
.wk-nodetbl .wk-dot { margin-right: 6px; }
.wk-nodetbl .wk-off { color: var(--faint); text-decoration: line-through; }
.wk-nodetbl tr.wk-node-off td { opacity: .6; }
.wk-nodetbl .wk-test { min-width: 150px; line-height: 1.4; }
.wk-nodetbl .wk-test .wk-up { color: var(--up); }
.wk-morning { color: var(--ink-2); margin-top: -4px; }
.wk-morning .wk-warn { color: var(--warn); }
div.dt-container { color: var(--ink-2); font-size: 13px; }
div.dt-container .dt-layout-row { margin: 8px 0; }
div.dt-container .dt-search input, div.dt-container .dt-length select {
  background: var(--bg-2); color: var(--ink); border: 1px solid var(--rule-2); border-radius: 0; padding: 6px 9px; font: 13px var(--sans);
}
div.dt-container .dt-search input { width: min(340px, 70vw); margin-left: 0; }
div.dt-container .dt-search input:focus, div.dt-container .dt-length select:focus { outline: none; border-color: var(--dim); }
div.dt-container .dt-info { color: var(--dim); font: 12px var(--mono); }
div.dt-container .dt-paging .dt-paging-button { color: var(--ink-2) !important; border: 1px solid transparent; border-radius: 0; font: 12px var(--mono); padding: 4px 9px; }
div.dt-container .dt-paging .dt-paging-button.current, div.dt-container .dt-paging .dt-paging-button.current:hover { background: var(--bg-3); border-color: var(--rule-2); color: var(--ink) !important; }
div.dt-container .dt-paging .dt-paging-button:hover { background: var(--bg-2); border-color: var(--rule); color: var(--ink) !important; }
div.dt-container .dt-paging .dt-paging-button.disabled, div.dt-container .dt-paging .dt-paging-button.disabled:hover { color: var(--faint) !important; background: none; border-color: transparent; }
table.dataTable.wk-nodetbl > thead > tr > th { border-bottom: 1px solid var(--rule-2); color: var(--dim); font-weight: 400; font-size: 12px; padding: 6px 22px 6px 0; }
table.dataTable.wk-nodetbl > tbody > tr > td { border-top: 1px solid var(--rule); padding: 8px 10px 8px 0; }
table.dataTable.wk-nodetbl > tbody > tr { background: transparent; }
table.dataTable.wk-nodetbl > tbody > tr:hover > td { background: var(--bg-2); }
table.dataTable.wk-nodetbl thead > tr > th.dt-orderable-asc span.dt-column-order, table.dataTable.wk-nodetbl thead > tr > th.dt-orderable-desc span.dt-column-order { right: 6px; opacity: .7; }
table.dataTable.wk-nodetbl.no-footer { border-bottom: 1px solid var(--rule); }
table.dataTable.wk-nodetbl th.dt-type-numeric, table.dataTable.wk-nodetbl td.dt-type-numeric, table.dataTable.wk-nodetbl th.dt-type-date, table.dataTable.wk-nodetbl td.dt-type-date { text-align: left; }
table.dataTable.wk-nodetbl th.dt-type-numeric div.dt-column-header, table.dataTable.wk-nodetbl th.dt-type-date div.dt-column-header { flex-direction: row; }
.wk-cpu-now { display: inline-block; min-width: 38px; font-size: 13px; color: var(--ink); vertical-align: top; }
.wk-cpu { display: inline-block; width: 100px; height: 24px; vertical-align: top; }
.wk-cpu polyline { fill: none; stroke: var(--up); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.wk-cpu .wk-cpu-hi { stroke: var(--down); stroke-width: 1; stroke-dasharray: 2 3; opacity: .45; vector-effect: non-scaling-stroke; }
.wk-res { margin-top: 7px; line-height: 1.5; }
.wk-res .wk-warn { color: var(--warn); } .wk-res .wk-down { color: var(--down); }
.wk-cloudnote { margin: -4px 0 12px; max-width: 1000px; line-height: 1.6; }
.wk-sub { display: block; margin-top: 3px; white-space: normal; }
.wk-tbl th:first-child, .wk-tbl td:first-child { width: 18px; padding-right: 10px; }
.wk-tbl td { vertical-align: top; padding-top: 10px; padding-bottom: 10px; }
.wk-tbl td:first-child { padding-top: 14px; }
.wk-tbl tr.wk-paused td { opacity: .55; }
.wk-name b { display: block; font: 600 14.5px/1.3 var(--sans); color: var(--ink); }
.wk-name > a, .wk-name > span { display: block; margin-top: 2px; }
.wk-name > a { color: var(--dim); }
.wk-why { color: var(--ink-2); line-height: 1.45; }
.wk-strip { display: block; width: 132px; height: 22px; margin-top: 2px; }
.wk-strip rect.h-up { fill: var(--up); opacity: .75; }
.wk-strip rect.h-warn { fill: var(--warn); }
.wk-strip rect.h-down { fill: var(--down); }
.wk-strip rect.h-none { fill: var(--rule-2); }
.wk-chips { display: flex; flex-wrap: wrap; gap: 5px; max-width: 420px; }
.wk-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 3px 7px; border: 1px solid var(--rule-2); color: var(--ink-2); white-space: nowrap; }
.wk-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.wk-chip b { font-weight: 400; color: var(--dim); }
.wk-chip.wk-up::before { background: var(--up); }
.wk-chip.wk-warn { border-color: rgba(255, 193, 77, .5); } .wk-chip.wk-warn::before { background: var(--warn); }
.wk-chip.wk-down { border-color: var(--down); color: var(--ink); } .wk-chip.wk-down::before { background: var(--down); } .wk-chip.wk-down b { color: var(--down); }
.wk-acts { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.tbl td.wk-acts { display: table-cell; }
.wk-acts a { display: block; }
.wk-editlink { color: var(--dim); }
.wk-editrow { display: none; }
.wk-editrow:target { display: table-row; }
.wk-editrow > td { border-top: 0; padding: 0 0 14px; text-align: left; white-space: normal; }
.tbl tr.wk-editrow td:last-child { text-align: left; white-space: normal; }
.wk-edit { border: 1px solid var(--rule-2); background: var(--bg-2); padding: 16px; display: grid; gap: 16px; }
.wk-edit-h { display: flex; justify-content: space-between; gap: 12px; letter-spacing: .08em; }
.wk-edit-foot { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--rule); }
.wk-edit-foot form { margin: 0; }
.wk-del:hover { border-color: var(--down); color: var(--down); }
.wk-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin: 0; }
.wk-form label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 180px; min-width: 0; }
.wk-form label.wk-wide { flex-basis: 100%; }
.wk-form label > span { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.wk-form input:not([type=checkbox]), .wk-form select { width: 100%; background: var(--bg); border: 1px solid var(--rule-2); color: var(--ink); padding: 8px 10px; font: 13px var(--mono); border-radius: 0; }
.wk-form input:focus, .wk-form select:focus { outline: none; border-color: var(--ink-2); }
.wk-form label.wk-check { flex-direction: row; align-items: flex-start; gap: 8px; flex-basis: 100%; }
.wk-form label.wk-check > span { text-transform: none; letter-spacing: 0; font: 13px/1.4 var(--sans); color: var(--ink-2); }
.wk-form label.wk-check input { accent-color: #6fd6a0; margin-top: 3px; }
.wk-probes ul { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; gap: 6px; }
.wk-probes li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wk-probes li form { margin: 0 0 0 auto; }
.wk-probes p { letter-spacing: .08em; margin: 0; }
.wk-probes > form { margin-top: 10px; }
.wk-x { background: none; border: 0; color: var(--dim); cursor: pointer; padding: 2px 4px; letter-spacing: .06em; text-transform: uppercase; }
.wk-x:hover { color: var(--down); }
.wk-add { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 1000px) { .wk-add { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wk-card { align-content: flex-start; padding: 18px; border: 1px solid var(--rule-2); background: var(--bg-2); }
.wk-card h3 { flex-basis: 100%; letter-spacing: .1em; color: var(--ink-2); margin: 0 0 2px; }
.wk-card label { flex-basis: 100%; }
.wk-card p { flex-basis: 100%; margin: 0; }
.wk-events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.wk-events li { display: grid; grid-template-columns: 118px 76px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.wk-ev { letter-spacing: .08em; }
.wk-ev.wk-down { color: var(--down); } .wk-ev.wk-up { color: var(--up); }
.wk-foot { margin: 30px 0 10px; max-width: 900px; }
@media (max-width: 719px) {
  .wk-events li { grid-template-columns: 1fr auto; }
  .wk-events li > span:last-child { grid-column: 1 / -1; }
}

/* Work → AI spend by feature (23 Oct 2026), the sub-table under the health row. */
.wk-aif-row > td { border-top: 0; padding-top: 0; text-align: left; white-space: normal; }
.tbl tr.wk-aif-row td:last-child { text-align: left; white-space: normal; }
.wk-aif { width: 100%; max-width: 640px; border-collapse: collapse; margin: 0 0 6px; }
.wk-aif caption { text-align: left; padding: 0 0 4px; letter-spacing: .06em; text-transform: uppercase; }
.wk-aif th { text-align: left; color: var(--dim); font-weight: 400; padding: 3px 10px 3px 0; }
.wk-aif td { padding: 3px 10px 3px 0; border-top: 1px solid var(--rule); color: var(--ink-2); text-align: left; white-space: nowrap; }
.wk-aif td:first-child { white-space: normal; color: var(--ink); }
.wk-aif td:nth-child(2), .wk-aif td:nth-child(3), .wk-aif th:nth-child(2), .wk-aif th:nth-child(3) { text-align: right; }
.wk-aif-share { display: flex; align-items: center; gap: 8px; }
.wk-aif-track { display: inline-block; width: 100px; }
.wk-aif-track .bar { margin: 0; }
/* The health table's column widths (.wk-health th:nth-child) and cell padding reach into this nested table: set its own. */
.wk-tbl table.wk-aif { table-layout: fixed; }
.wk-tbl table.wk-aif th { width: auto; }
.wk-tbl table.wk-aif th:nth-child(2), .wk-tbl table.wk-aif th:nth-child(3) { width: 72px; }
.wk-tbl table.wk-aif th:nth-child(4) { width: 170px; }
.wk-tbl table.wk-aif td { padding: 3px 10px 3px 0; vertical-align: middle; background: none; }
/* The prompt page's "archived — put back" note (9 Nov 2026). */
.flash .markmany { margin-top: 8px; }
