/* Comma, to Michael's mockup (v2, 2026-09-30): warm paper, a serif wordmark and card titles (Libre Caslon),
   clean sans task titles (IBM Plex Sans), typewriter labels and dates (IBM Plex Mono), three tinted cards. */
:root {
  --paper: #f8f1e8; --ink: #1f1c19; --body: #3d3833; --muted: #8b847c; --rule: #d9cfc3;
  --now: #fbe6df; --now-line: #efc9bd; --long: #fcf3e1; --long-line: #ecdcb8; --late: #e4eaf3; --late-line: #c9d4e4;
  --row: rgba(255, 255, 255, .55); --row-line: rgba(0, 0, 0, .06);
  --orange: #d9822b; --red: #d0453a; --sage: #8fb0a1; --lav: #d9d8f2;
  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); font: 400 16px/1.45 var(--sans); -webkit-font-smoothing: antialiased;
  /* faint paper grain */
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
input, textarea, select, button { font: inherit; color: inherit; }

/* Masthead */
.masthead { position: relative; padding: 18px 28px 0; }
.wordmark { display: inline-block; font: 400 112px/.9 var(--serif); letter-spacing: -.035em; }
.motto { margin: 2px 0 14px 84px; font: 400 17px var(--mono); color: var(--body); }
.clock { position: absolute; top: 22px; right: 28px; font: 400 16px var(--mono); word-spacing: .6em; }
body.compact .wordmark { font-size: 56px; }
body.compact .motto { margin-left: 42px; font-size: 13px; }

/* Filter bar */
.filters { display: flex; align-items: center; gap: 14px; margin: 0 26px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.filters label { font: 400 14px var(--mono); color: var(--muted); margin-left: 8px; }
.filters .divider { width: 1px; align-self: stretch; background: var(--rule); margin: 0 6px; }
.filters .sortl { margin-left: auto; }
.select { position: relative; display: inline-block; }
.select select { appearance: none; background: transparent; border: 1px solid #a9a097; border-radius: 6px; padding: 9px 44px 9px 16px; font: 400 15px var(--mono); min-width: 220px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.filters .who + .select select { min-width: 140px; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { font: 400 15px var(--mono); border: 1px solid #a9a097; border-radius: 99px; padding: 8px 20px; text-transform: capitalize; }
.pill:hover { background: rgba(255, 255, 255, .5); }
.pill.on { background: var(--lav); border-color: #a3a2d6; }

/* The three cards */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 18px 28px 22px; align-items: stretch; }
.card { border: 1px solid; padding: 10px 16px 18px; display: flex; flex-direction: column; min-height: 560px; }
.card.now { background: var(--now); border-color: var(--now-line); }
.card.long { background: var(--long); border-color: var(--long-line); }
.card.late { background: var(--late); border-color: var(--late-line); }
.cardhead { display: flex; align-items: baseline; justify-content: space-between; padding: 0 10px 14px; border-bottom: 1px solid rgba(0, 0, 0, .14); margin-bottom: 12px; }
.cardhead h2 { font: 400 64px/1.1 var(--serif); letter-spacing: -.03em; margin: 0; }
.count { font: 400 14px var(--mono); }
.items { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; }
.item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; }
.card.now .item, .card.late .item { background: var(--row); border-radius: 6px; margin-bottom: 10px; }
.card.long .item { border-bottom: 1px solid var(--row-line); }
.item:hover { background: rgba(255, 255, 255, .75); }
.box { margin: 3px 0 0; }
.box button { width: 20px; height: 20px; padding: 0; border: 1.5px solid #6d665f; border-radius: 2px; background: transparent; cursor: pointer; }
.box button:hover { background: #fff; }
.what { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.title { font: 400 18px/1.3 var(--sans); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 400 13px var(--mono); padding: 3px 12px; border-radius: 99px; background: #ecebe7; color: #5f5a54; text-transform: capitalize; }
.chip.lav { background: #dcdcf5; color: #3e3d70; }
.chip.sage { background: #e3e4cf; color: #5a5b39; }
.chip.peach { background: #fbdcc8; color: #9a5230; }
.chip.stone { background: #ebe8e4; color: #77706a; }
.chip.butter { background: #f6ebc8; color: #7a6326; }
.chip.sky { background: #dbe7f3; color: #35506e; }
.chip.client { text-transform: none; }
.chip.state { background: transparent; border: 1px dashed #b6aca2; color: #7a7169; text-transform: none; }
.aside { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.date { font: 400 14px var(--mono); color: var(--muted); white-space: nowrap; }
.date.now { color: var(--orange); }
.date.late { color: var(--red); }
.chev { font-size: 22px; line-height: 1; color: #77706a; }
.none { color: var(--muted); font: 400 14px var(--mono); padding: 14px 16px; }
.add { margin-top: 10px; padding: 0 12px; }
.add summary { list-style: none; cursor: pointer; font: 400 18px var(--sans); color: #5b6b80; display: flex; gap: 14px; align-items: center; }
.add summary span { font-size: 22px; }
.add summary::-webkit-details-marker { display: none; }
.add form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.add input[name=title] { flex: 1 1 100%; background: #fff; border: 1px solid #a9a097; border-radius: 6px; padding: 9px 12px; font: 400 16px var(--sans); }
.add .select select { min-width: 0; width: 100%; padding: 8px 40px 8px 12px; font-size: 13px; }
.add .select { flex: 1; }
button { background: var(--ink); color: var(--paper); border: 0; border-radius: 6px; padding: 9px 18px; cursor: pointer; font: 500 14px var(--mono); }

/* Today's Progress */
.progress { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr) 1.1fr 1.3fr; align-items: center; margin: 4px 26px 30px; padding-top: 18px; border-top: 1px solid var(--rule); }
.progress > * { padding: 0 22px; border-left: 1px solid #b9b0a5; min-height: 100px; display: flex; flex-direction: column; justify-content: center; }
.progress > :first-child { border-left: 0; padding-left: 20px; }
.today h3 { font: 400 30px/1 var(--serif); margin: 0 0 8px; }
.today p { margin: 0 0 12px; font: 400 14px var(--mono); }
.nudge { color: var(--muted); margin: 14px 0 0 !important; }
.bar { height: 16px; border: 1px solid #c9c0b5; border-radius: 99px; background: #efe9e1; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--sage); border-radius: 99px; }
.stat { display: grid !important; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-content: center; }
.stat .icon { font-size: 26px; line-height: 1; color: #4b4540; }
.stat b { font: 400 30px var(--mono); }
.stat small { grid-column: 2; font: 400 13px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .02em; }
.water { flex-direction: row !important; align-items: center; gap: 18px; justify-content: flex-start !important; }
.water .drop { background: none; border: 0; font-size: 28px; padding: 0; filter: grayscale(1) contrast(1.2); }
.water > div { flex: 1; }
.water b { font: 400 26px var(--mono); display: block; }
.water small { font: 400 13px var(--mono); text-transform: uppercase; display: block; margin-bottom: 8px; }
.ticks { display: flex; justify-content: space-between; font: 400 11px var(--mono); margin-top: 6px; }
.ticks i { font-style: normal; border-top: 1px solid #8b847c; padding-top: 6px; }
.music iframe { width: 100%; height: 100px; border: 0; border-radius: 10px; }

/* Task page */
.taskpage { padding: 16px 28px 60px; }
.back { font: 400 14px var(--mono); color: var(--muted); }
.taskview { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; margin-top: 14px; align-items: start; }
.card.paper { min-height: 0; padding: 26px 30px; background: #fffaf3; border-color: var(--rule); }
.edit { display: flex; flex-direction: column; gap: 8px; }
textarea, input[type=date], input[name=new_tag], input[name=estimate] { background: rgba(255, 255, 255, .7); border: 1px solid var(--rule); border-radius: 6px; padding: 9px 12px; }
.bigtitle { font: 400 40px/1.15 var(--serif); letter-spacing: -.02em; background: transparent !important; border-color: transparent !important; padding: 0; resize: none; overflow: hidden; }
.desc { min-height: 100px; resize: vertical; font: 400 16px var(--sans); color: var(--body); }
button.quiet { background: transparent; color: var(--muted); padding: 0; align-self: flex-start; }
.taskpage h3 { font: 400 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 30px 0 10px; }
.comments { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.comments li { background: rgba(255, 255, 255, .7); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 16px; }
.comments li.agent { background: var(--long); border-color: var(--long-line); }
.by { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 14px; }
.by time { font: 400 12px var(--mono); color: var(--muted); }
.body { overflow-wrap: anywhere; color: var(--body); }
.body a { text-decoration: underline; }
.mention { color: var(--orange); font-weight: 500; }
.comment { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.comment button { align-self: flex-start; }
.avatar { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c, #96682c); color: #fff; font: 500 12px var(--sans); overflow: hidden; flex: none; }
.avatar.llama { background: var(--paper); }
.avatar img { width: 100%; height: 100%; }
.fields { display: flex; flex-direction: column; gap: 18px; }
.fields form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.fields label, .fields legend { display: flex; flex-direction: column; gap: 6px; font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
legend { padding: 0; margin-bottom: 6px; }
.fields label.check { flex-direction: row; align-items: center; gap: 8px; font: 400 15px var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); }
.fields .select select { min-width: 0; width: 100%; font-size: 13px; padding: 8px 40px 8px 12px; }
input[type=checkbox], input[type=range] { accent-color: #6f8f80; }
.status { width: 100%; }
.status.completed { background: var(--sage); color: var(--ink); }
.small { font: 400 12px var(--mono); color: var(--muted); }

/* Sign-in */
main.login { display: grid; place-items: center; padding: 40px 16px; }
main.login .card { min-height: 0; align-items: center; text-align: center; gap: 14px; padding: 36px 44px; }
main.login img { width: 130px; height: 130px; border-radius: 50%; }
.button { background: var(--ink); color: var(--paper); padding: 11px 22px; border-radius: 6px; font: 500 14px var(--mono); }
.error { color: var(--red); }

@media (max-width: 1100px) {
  .board { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .progress { grid-template-columns: 1fr 1fr 1fr; row-gap: 20px; }
  .progress > * { border-left: 0; }
  .progress .today, .progress .water, .progress .music { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .masthead { padding: 14px 16px 0; }
  .wordmark { font-size: 64px; }
  .motto { margin-left: 46px; font-size: 13px; }
  .clock { position: static; margin: 0 0 8px; font-size: 13px; }
  .filters, .progress { margin-left: 16px; margin-right: 16px; }
  .filters .divider { display: none; }
  .filters .sortl { margin-left: 8px; }
  .select select { min-width: 0; }
  .board { padding: 14px 16px; }
  .cardhead h2 { font-size: 46px; }
  .taskpage { padding: 12px 16px 48px; }
  .taskview { grid-template-columns: 1fr; }
  .bigtitle { font-size: 30px; }
}

/* The open task: a panel over the board (mockup, 2026-09-30) */
.scrim { position: fixed; inset: 0; background: rgba(48, 42, 36, .38); z-index: 10; }
.panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(700px, 100%); z-index: 11; overflow-y: auto;
  background: #fbf7f1; box-shadow: -18px 0 40px rgba(0, 0, 0, .12); padding: 22px 34px 120px; display: flex; flex-direction: column; }
.panelbar { display: flex; justify-content: flex-end; align-items: center; gap: 30px; font: 400 15px var(--mono); word-spacing: .6em; }
.panelbar .x { font: 300 34px/1 var(--sans); }
.panelhead { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.panelhead .chips { flex: 1; }
.box.on button { background: var(--ink); color: var(--paper); border-color: var(--ink); font: 700 12px/1 var(--sans); }
.more { position: relative; }
.more summary { list-style: none; cursor: pointer; font-size: 20px; letter-spacing: 2px; color: var(--muted); padding: 0 6px; }
.more summary::-webkit-details-marker { display: none; }
.more[open] .settings, .more[open] > form:last-child { position: absolute; right: 0; z-index: 2; }
.more .settings { top: 30px; width: 280px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  display: flex; flex-direction: column; gap: 14px; }
.more .settings label, .more .settings legend { display: flex; flex-direction: column; gap: 6px; font: 400 12px var(--mono); text-transform: uppercase; color: var(--muted); }
.more .settings label.check { flex-direction: row; align-items: center; gap: 8px; text-transform: none; font: 400 14px var(--sans); color: var(--ink); }
.more .settings .select select { min-width: 0; width: 100%; font-size: 13px; padding: 7px 36px 7px 10px; }
.titlerow { display: flex; gap: 20px; align-items: flex-start; margin: 18px 0 8px; }
.titlerow .edit { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.panel .bigtitle { font: 400 46px/1.05 var(--serif); letter-spacing: -.03em; }
.panel .desc { border: 0; background: transparent; padding: 0; font: 400 15px/1.55 var(--mono); color: var(--body); min-height: 0; resize: none; }
.panel .desc:focus, .panel .bigtitle:focus { outline: none; background: rgba(255, 255, 255, .6) !important; }
.duepill { position: relative; display: flex; align-items: center; gap: 10px; border: 1px solid #e3b7ad; border-radius: 8px; padding: 9px 14px; white-space: nowrap;
  font: 400 15px var(--mono); color: var(--red); background: #fffaf6; margin-top: 10px; }
.duepill.now { color: var(--orange); border-color: #ecc39c; }
.duepill.long { color: var(--body); border-color: var(--rule); }
.duepill input[type=date] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.duepill input[type=date]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.duepill .cal { font-size: 16px; }
.duepill .caret { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.panel section { border-top: 1px solid var(--rule); margin-top: 22px; padding-top: 20px; }
.sechead { display: flex; align-items: baseline; gap: 18px; margin-bottom: 14px; }
.sechead h3 { font: 400 26px var(--serif); margin: 0; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.tally { font: 400 15px var(--mono); }
.addsub { margin-left: auto; position: relative; }
.addsub summary { list-style: none; cursor: pointer; font: 400 15px var(--mono); color: #5b6b80; }
.addsub summary::-webkit-details-marker { display: none; }
.addsub form { position: absolute; right: 0; top: 28px; z-index: 2; display: flex; gap: 6px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
.addsub input { width: 240px; border: 1px solid var(--rule); border-radius: 6px; padding: 8px 10px; font: 400 14px var(--mono); }
.subtasks { list-style: none; margin: 0; padding: 0; border: 1px solid var(--rule); border-radius: 8px; background: #fff; }
.subtasks li { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-top: 1px solid #efe8df; }
.subtasks li:first-child { border-top: 0; }
.subtasks .box { margin: 0; }
.stitle { flex: 1; font: 400 15px var(--mono); }
.subtasks li.done .stitle, .subtasks li.done .sdate { text-decoration: line-through; color: var(--muted); }
.sdate { font: 400 14px var(--mono); width: 56px; }
.avatar.sm { width: 28px; height: 28px; }
.avatar.lg { width: 46px; height: 46px; font-size: 18px; }
.avatar.empty { background: transparent; border: 1px dashed #9b928a; color: #9b928a; font-size: 12px; }
.panel .comments { gap: 20px; }
.panel .comments li { background: none; border: 0; padding: 0; display: flex; gap: 18px; }
.panel .comments li > div { flex: 1; min-width: 0; }
.panel .comments li.agent .body { background: var(--long); border-radius: 8px; padding: 8px 12px; margin-top: 4px; }
.panel .by { margin-bottom: 2px; }
.panel .by b { font: 500 15px var(--sans); }
.panel .by time { font: 400 14px var(--sans); }
.panel .body { font: 400 15px/1.55 var(--mono); color: var(--body); }
.file { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 10px 16px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; }
.file .ficon { width: 28px; height: 34px; display: grid; place-items: center; background: #e7e6f6; color: #7c7bb8; border-radius: 4px; font-size: 14px; }
.file b { display: block; font: 400 14px var(--sans); }
.file small { font: 400 12px var(--mono); color: var(--muted); }
.file .fmore { margin-left: auto; color: var(--muted); letter-spacing: 2px; }
.composer { position: sticky; bottom: -120px; margin: 26px -34px -120px; padding: 18px 34px 26px; background: #fbf7f1; border-top: 1px solid var(--rule);
  display: flex; align-items: center; gap: 16px; }
.composer .field { flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid #cfc5ba; border-radius: 26px; padding: 10px 18px; background: #fff; }
.composer textarea { flex: 1; border: 0; background: transparent; padding: 4px 0; resize: none; font: 400 15px var(--mono); max-height: 160px; }
.composer textarea:focus { outline: none; }
.clip { cursor: pointer; font-size: 20px; color: #6d665f; transform: rotate(-45deg); }
.picked { font: 400 12px var(--mono); color: var(--muted); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.send { width: 48px; height: 48px; border-radius: 50%; padding: 0; background: #a6a6dc; color: #fff; font: 400 22px var(--sans); flex: none; }
.send:hover { background: #8f8fd0; }
.quiet.danger { color: var(--red); margin-top: 8px; }
@media (max-width: 700px) {
  .panel { padding: 16px 18px 120px; }
  .panel .bigtitle { font-size: 34px; }
  .titlerow { flex-direction: column; gap: 6px; }
  .composer { margin: 26px -18px -120px; padding: 14px 18px 20px; }
}

/* Fit fixes */
.filters { flex-wrap: nowrap; gap: 10px; }
.filters label { margin-left: 4px; white-space: nowrap; }
.select select { min-width: 0; }
.filters > .select:first-of-type select { width: 210px; }
.filters .who + .select select { width: 130px; }
.filters .sortl + .select select { width: 236px; }
.pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 0 1 auto; }
.pill { padding: 8px 16px; white-space: nowrap; }
.panel { overflow-x: hidden; }
.titlerow .edit { min-width: 0; }
.titlerow textarea { width: 100%; }
.duepill { flex: none; }
.composer textarea { overflow: hidden; }
@media (max-width: 1100px) { .filters { flex-wrap: wrap; } }

/* "+ Add task" and the new-task screen (mockup 2026-09-30) */
.topright { position: absolute; top: 22px; right: 28px; display: flex; flex-direction: column; align-items: flex-end; gap: 26px; }
.topright .clock { position: static; }
.addtask { font: 400 17px var(--mono); color: #5d5750; display: flex; gap: 12px; align-items: center; }
.addtask span { font: 300 26px/1 var(--sans); }
.addtask:hover { color: var(--ink); }
main.compose { min-height: 560px; display: flex; align-items: center; padding: 30px 28px 40px 96px; }
.newtask { width: 100%; }
.newtask .line { display: flex; align-items: center; gap: 30px; }
.newtask .plus { font: 200 84px/1 var(--sans); color: #77706a; width: 70px; text-align: center; }
.newtask .caret { width: 2px; height: 130px; background: var(--ink); }
.newtask .huge { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 92px/1.1 var(--serif); letter-spacing: -.035em; color: var(--ink); padding: 0; }
.newtask .huge::placeholder { color: #9b8f82; }
.newtask .huge:focus { outline: none; }
.opts { display: flex; gap: 24px; margin: 14px 0 0 130px; flex-wrap: wrap; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; border: 1px solid #cdc3b8; border-radius: 99px; padding: 9px 22px; font: 400 15px var(--mono); color: #6d665f; cursor: pointer; background: transparent; }
.opt:hover { background: rgba(255, 255, 255, .5); }
.opt .ic { font-size: 16px; }
.opt.due input[type=date] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.opt.due input[type=date]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.opt.set { color: var(--ink); border-color: #a9a097; }
.tagsopt summary { list-style: none; display: flex; gap: 12px; align-items: center; }
.tagsopt summary::-webkit-details-marker { display: none; }
.tagsopt .pop { position: absolute; top: 50px; left: 0; z-index: 3; width: 260px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1); display: flex; flex-direction: column; gap: 8px; cursor: default; }
.tagsopt .pop .check { display: flex; gap: 8px; align-items: center; color: var(--ink); text-transform: capitalize; }
.tagsopt .pop input[name=new_tags] { border: 1px solid var(--rule); border-radius: 6px; padding: 7px 10px; font: 400 13px var(--mono); }
.opt.client .select.bare::after { display: none; }
.opt.client select { field-sizing: content; border: 0; padding: 0; min-width: 0; width: auto; font: 400 15px var(--mono); color: inherit; background: transparent; }
.hint { margin: 34px 0 0 130px; font: 400 13px var(--mono); color: #a59a8e; }
@media (max-width: 900px) {
  main.compose { padding: 30px 16px; min-height: 380px; }
  .newtask .plus { display: none; }
  .newtask .caret { height: 70px; }
  .newtask .huge { font-size: 46px; }
  .opts, .hint { margin-left: 32px; }
  .topright { position: static; flex-direction: row; justify-content: space-between; margin-bottom: 8px; }
}
.hiddensubmit { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); }
.chip.rose { background: #f7d9dd; color: #8a3a47; }
.pills { gap: 8px; }
.pill { padding: 7px 14px; font-size: 14px; }
.filters > .select:first-of-type select { width: 190px; }
.filters .sortl + .select select { width: 220px; }

/* Today's Progress, pinned to the bottom (Michael, 2026-09-30): a slim one-line strip that opens into the
   full strip when you scroll to the very bottom. */
.progress-spacer { height: 200px; }
.progress { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; margin: 0; padding: 10px 26px; background: rgba(248, 241, 232, .96);
  backdrop-filter: blur(6px); border-top: 1px solid var(--rule); box-shadow: 0 -6px 18px rgba(60, 45, 30, .06);
  max-height: 58px; overflow: hidden; transition: max-height .45s cubic-bezier(.2, .7, .2, 1), padding .45s cubic-bezier(.2, .7, .2, 1); }
.progress > * { min-height: 38px; transition: min-height .45s cubic-bezier(.2, .7, .2, 1); }
.progress .collapsible { transition: opacity .3s ease, max-height .45s cubic-bezier(.2, .7, .2, 1), margin .45s; max-height: 60px; }
/* Condensed */
.progress:not(.open) .today { flex-direction: row; align-items: center; gap: 14px; }
.progress:not(.open) .today h3 { font-size: 19px; margin: 0; white-space: nowrap; }
.progress:not(.open) .today p { margin: 0; font-size: 12px; white-space: nowrap; order: 3; }
.progress:not(.open) .today .bar { flex: 1; min-width: 60px; height: 8px; order: 2; }
.progress:not(.open) .collapsible { opacity: 0; max-height: 0; margin: 0 !important; overflow: hidden; }
.progress:not(.open) .stat { grid-template-rows: auto; }
.progress:not(.open) .stat .icon { font-size: 18px; }
.progress:not(.open) .stat b { font-size: 18px; }
.progress:not(.open) .water { gap: 10px; }
.progress:not(.open) .water .drop { font-size: 18px; }
.progress:not(.open) .water b { font-size: 16px; }
.progress:not(.open) .water .bar { height: 8px; }
.progress:not(.open) .music { display: none; }
/* Open: the full strip */
.progress.open { max-height: 240px; padding: 18px 26px 26px; }
.progress.open > * { min-height: 100px; }
@media (max-width: 1100px) {
  .progress:not(.open) { grid-template-columns: 1.6fr repeat(3, .5fr); }
  .progress:not(.open) .water { display: none; }
  .progress.open { max-height: 520px; }
  .progress-spacer { height: 420px; }
}
@media (max-width: 700px) {
  .progress:not(.open) .today p { display: none; }
  .progress { padding-left: 16px; padding-right: 16px; }
}

/* Radio (SomaFM), styled like the mockup's player */
.music { display: grid !important; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.music .art { width: 96px; height: 96px; object-fit: cover; border-radius: 2px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.player { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.np b { display: block; font: 500 14px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np span { display: block; font: 400 13px var(--sans); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track { height: 2px; background: #d9d0c5; border-radius: 2px; overflow: hidden; margin-top: 6px; }
.track span { display: block; height: 100%; width: 0; background: #6d665f; transition: width 1s linear; }
.times { display: flex; justify-content: space-between; font: 400 11px var(--mono); color: var(--muted); }
.controls { display: flex; align-items: center; justify-content: space-between; }
.ctl { background: none; color: var(--ink); padding: 2px 4px; font: 400 20px/1 var(--sans); border-radius: 4px; }
.ctl:hover { background: rgba(0, 0, 0, .05); }
.ctl.play { font-size: 24px; }
.stations { position: relative; }
.stations summary { list-style: none; cursor: pointer; font-size: 20px; padding: 2px 4px; }
.stations summary::-webkit-details-marker { display: none; }
.stations .pop { position: absolute; right: 0; bottom: 34px; width: 240px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12); display: flex; flex-direction: column; }
.stations .pop button { display: flex; gap: 10px; align-items: center; background: none; color: var(--ink); text-align: left; padding: 6px 8px; font: 400 13px var(--sans); border-radius: 6px; }
.stations .pop button:hover, .stations .pop button.on { background: var(--long); }
.stations .pop img { width: 28px; height: 28px; border-radius: 2px; }
.stations .pop small { display: block; color: var(--muted); font: 400 11px var(--mono); }
.stations .credit { font: 400 11px var(--mono); color: var(--muted); padding: 6px 8px 2px; }
/* Condensed strip: just the art and play/pause */
.progress:not(.open) .music { display: grid !important; grid-template-columns: 34px 1fr; gap: 10px; }
.progress:not(.open) .music .art { width: 34px; height: 34px; }
.progress:not(.open) .music .track, .progress:not(.open) .music .times, .progress:not(.open) .music .np span,
.progress:not(.open) .music [data-prev], .progress:not(.open) .music [data-next], .progress:not(.open) .music .stations { display: none; }
.progress:not(.open) .music .player { flex-direction: row; align-items: center; gap: 10px; }
.progress:not(.open) .music .np { min-width: 0; flex: 1; }
.progress:not(.open) .music .ctl.play { font-size: 18px; }
@media (max-width: 1100px) { .progress:not(.open) .music { display: none !important; } }
.progress.open { overflow: visible; }
/* LIVE: green, with a tiny 90s-style bouncing equalizer while the radio plays */
.live { display: inline-flex; align-items: center; gap: 5px; color: #2f9e57; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.eq { display: inline-flex; align-items: flex-end; gap: 1px; height: 9px; }
.eq b { width: 2px; height: 3px; background: #39c16c; image-rendering: pixelated; }
[data-radio].on .eq b { animation: eq .9s steps(4) infinite; }
[data-radio].on .eq b:nth-child(2) { animation-duration: .7s; animation-delay: -.2s; }
[data-radio].on .eq b:nth-child(3) { animation-duration: 1.1s; animation-delay: -.5s; }
[data-radio].on .eq b:nth-child(4) { animation-duration: .8s; animation-delay: -.35s; }
@keyframes eq { 0% { height: 2px; } 25% { height: 9px; } 50% { height: 4px; } 75% { height: 7px; } 100% { height: 2px; } }
[data-radio]:not(.on) .live { color: var(--muted); }
[data-radio]:not(.on) .eq b { background: #b9b0a5; }
/* Unread: a small red dot on status pills and on tasks with news */
.pill { position: relative; }
.pill .dot-unread { position: absolute; top: -2px; right: -2px; }
.dot-unread { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--paper); vertical-align: middle; }
.title .dot-unread { margin-right: 8px; transform: translateY(-2px); box-shadow: none; }
.wtitle { display: block; font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }

.stations .pop .credit { font: 400 11px var(--mono); color: var(--muted); margin: 6px 8px 2px; }
.progress:not(.open) .music .ctl.play { font-size: 18px; }

/* Mockup v3 (2026-09-30): header and three plain columns */
.motto { font: 400 16px var(--mono); letter-spacing: .32em; text-transform: uppercase; margin: 6px 0 14px 86px; color: #5d5750; }
.topright { gap: 18px; }
.addtask { border: 1px solid #b9b0a5; border-radius: 99px; padding: 12px 26px; gap: 16px; font-size: 16px; color: var(--ink); background: rgba(255, 255, 255, .25); }
.addtask:hover { background: rgba(255, 255, 255, .6); }
.addtask span { font-size: 28px; font-weight: 200; }
.board { gap: 0; padding: 24px 22px 22px; }
.board.single { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.col { padding: 0 24px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; min-width: 0; }
.col:first-child { border-left: 0; padding-left: 8px; }
.colhead { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.colhead h2 { font: 400 34px/1.1 var(--serif); letter-spacing: -.02em; margin: 0; }
.countpill { font: 400 14px var(--mono); background: #e9e1d6; border-radius: 99px; padding: 3px 13px; }
.seeall { margin-left: auto; font: 400 13px var(--mono); color: var(--muted); }
.seeall:hover { color: var(--ink); }
.col .items { background: rgba(255, 252, 247, .75); border: 1px solid #e3d9cc; border-radius: 6px; flex: none; }
.col .item { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 18px; align-items: center; gap: 18px; padding: 15px 16px 15px 18px;
  border-bottom: 1px solid #ece3d8; margin: 0; background: none !important; border-radius: 0; }
.col .item:last-child { border-bottom: 0; }
.col .item:hover { background: rgba(255, 255, 255, .7) !important; }
.ring { margin: 0; }
.ring button { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #b8aea3; background: transparent; padding: 0; cursor: pointer; }
.ring button:hover { border-color: var(--ink); background: #fff; }
.col .title { font: 400 16px/1.35 var(--mono); }
.col .chips { gap: 8px; }
.col .chip { font-size: 13px; padding: 3px 12px; text-transform: none; }
.when { font: 400 13px/1.5 var(--mono); text-align: right; white-space: nowrap; }
.when.today { color: #3f7a6b; }
.when.later { color: var(--red); }
.when.late { color: var(--red); font-weight: 500; }
.when.none { color: #b0a69b; }
.kebab { position: relative; }
.kebab summary { list-style: none; cursor: pointer; font-size: 18px; color: #8b847c; text-align: center; line-height: 1; padding: 4px 0; }
.kebab summary::-webkit-details-marker { display: none; }
.kebab .menu { position: absolute; right: 0; top: 26px; z-index: 4; width: 170px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 6px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .12); display: flex; flex-direction: column; }
.kebab .menu a, .kebab .menu button { display: block; width: 100%; text-align: left; background: none; color: var(--ink); font: 400 14px var(--sans); padding: 8px 10px; border-radius: 6px; }
.kebab .menu a:hover, .kebab .menu button:hover { background: var(--long); }
.kebab .menu form { margin: 0; }
.col .more { display: block; margin-top: 10px; font: 400 13px var(--mono); color: var(--muted); }
.col .none { padding: 16px 18px; }
.wtitle { margin: 8px 0 0; }
@media (max-width: 1100px) {
  .col { border-left: 0; padding: 0 0 26px; }
  .motto { margin-left: 46px; letter-spacing: .2em; }
}
.today p { white-space: nowrap; }
.wtitle { white-space: nowrap; }
.filters { gap: 8px; }
.filters label.who { display: none; }
.pill { padding: 6px 12px; font-size: 13px; }
.filters > .select:first-of-type select { width: 170px; }
.filters .who + .select select { width: 120px; }
.filters .sortl + .select select { width: 200px; }
/* "This time in history": one small line under the day meter; long ones scroll into view, then rest. */
.nudge { font: 400 11px/1.4 var(--mono) !important; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nudge .ticker { display: inline-block; }
.nudge.scrolling { text-overflow: clip; }
.nudge.scrolling .ticker { animation: ticker var(--dur, 14s) ease-in-out infinite; }
.nudge b { color: var(--body); font-weight: 500; }
@keyframes ticker { 0%, 4% { transform: translateX(0); } 70%, 88% { transform: translateX(var(--shift)); } 100% { transform: translateX(0); } }  /* starts scrolling almost at once */
.nudge.fade .ticker { opacity: 0; transition: opacity .4s; }
.nudge .ticker { transition: opacity .4s; }
.progress > .today { min-width: 0; overflow: hidden; }
.progress { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .7fr)) minmax(0, 1.1fr) minmax(0, 1.3fr); }
/* A task Comma is working on right now: a quick, clearly visible wash of warm color so it looks alive
   (faster and stronger per Michael, 2026-09-30). */
.col .item.is-working { background: linear-gradient(115deg, #f5c4aa, #fbe4b8, #d2d2f3, #cbe3d1, #f5c4aa) !important;
  background-size: 300% 300% !important; animation: alive 3.5s ease-in-out infinite; box-shadow: inset 3px 0 0 #c79a5b; }
.col .item.is-working .title::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: #c0703f; vertical-align: 2px; animation: blink .9s ease-in-out infinite; }
@keyframes alive { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes blink { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .col .item.is-working { animation: none; } }
/* The client: one uniform line under the status chips */
.clientname { font: 400 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
/* A task mirrored from Teamwork: read-only here */
.twnote { position: sticky; bottom: -120px; margin: 26px -34px -120px; padding: 18px 34px 26px; background: #fbf7f1; border-top: 1px solid var(--rule); font: 400 13px var(--mono); color: var(--muted); }
.twnote a { color: var(--ink); text-decoration: underline; margin-left: 6px; }
.panel.mirrored .more, .panel.mirrored .addsub, .panel.mirrored .subtasks .more { display: none; }
.panel.mirrored .duepill { pointer-events: none; }
.panel.mirrored .edit textarea { pointer-events: none; }  /* title and description only; the comment box stays usable  */
.ring.tw button { pointer-events: none; border-style: dashed; }
.progress > .today { overflow: visible; }
.progress:not(.open) .today h3 { flex: none; }
.progress:not(.open) .today p { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.progress:not(.open) .today .bar { flex: 0 1 120px; }
/* The wordmark at half size (Michael, 2026-09-30), typed in on load with a cursor that keeps blinking */
.wordmark { font-size: 56px; display: inline-flex; align-items: flex-end; }
.motto { margin-left: 43px; font-size: 12px; letter-spacing: .3em; margin-top: 4px; }
.caret { display: inline-block; width: 3px; height: .78em; margin: 0 0 .12em 4px; background: var(--ink); animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.topright { flex-direction: row; align-items: center; gap: 26px; top: 18px; }
.addtask { padding: 9px 20px; }
.addtask span { font-size: 22px; }
/* History line: the time stays fixed; the story scrolls beside it */
.nudge { display: flex; gap: 8px; align-items: baseline; text-overflow: clip; }
.nudge .htime { flex: none; color: var(--body); font-weight: 500; }
.nudge .hwrap { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nudge.scrolling .hwrap { text-overflow: clip; }  /* hard edges, no fade (Michael, 2026-09-30) */
/* Board layout (Michael, 2026-09-30): Do Now takes the left half; Scheduled Later sits on top of Long List on the right. */
@media (min-width: 1101px) {
  .board:not(.single) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; }
  .board:not(.single) .col.now { grid-column: 1; grid-row: 1 / span 2; }
  .board:not(.single) .col.later { grid-column: 2; grid-row: 1; }
  .board:not(.single) .col.long { grid-column: 2; grid-row: 2; padding-top: 34px; }
}
/* Condensed player: previous / next stay visible beside play. */
.progress:not(.open) .music [data-prev], .progress:not(.open) .music [data-next] { display: inline-flex; font-size: 13px; padding: 2px 3px; }
.progress:not(.open) .music .controls { gap: 4px; flex: none; }
/* The station list is long now: scroll it, with genre headings. */
.stations .pop { max-height: 60vh; overflow-y: auto; }
.stations .pop h4 { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 10px 8px 4px; }
.stations .pop h4:first-child { margin-top: 2px; }
/* Sign-in page: no clock or Add task; the wordmark is centered above the form. */
body.signin .masthead { display: flex; flex-direction: column; align-items: center; padding-top: 12vh; border: 0; }
body.signin .motto { margin: 6px 0 0; }
body.signin main.login { padding-top: 28px; }
/* Board rows (Michael, 2026-09-30): status chips sit above the due date on the far right, 40% smaller. */
.col .side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.col .side .chips { flex-wrap: nowrap; gap: 4px; justify-content: flex-end; }
.col .side .chip { font-size: 8px; padding: 2px 7px; letter-spacing: .02em; }
/* Commenting on a Teamwork task from here */
.composer .twto, .composer .cerror { flex-basis: 100%; margin: 0 0 8px; font: 400 12px var(--mono); color: var(--muted); }
.composer .twto a { color: var(--ink); text-decoration: underline; }
.composer .cerror { color: var(--red); }
.twsettings { max-width: 460px; }
.twsettings h2 { font: 400 32px var(--serif); margin: 0; }
.twsettings .hint { font: 400 12px var(--mono); color: var(--muted); }
.twsettings form { display: flex; gap: 8px; width: 100%; }
.twsettings input[name=key] { flex: 1; border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px; font: 400 14px var(--mono); background: #fff; }
.composer { flex-wrap: wrap; }
/* Task panel (Michael, 2026-09-30): the title shares its line with the due date; the description runs the full width below. */
.panel .titlerow { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 10px; align-items: start; }
.panel .titlerow .edit { display: contents; }
.panel .titlerow .bigtitle { grid-column: 1; grid-row: 1; }
.panel .titlerow .duepill { grid-column: 2; grid-row: 1; }
.panel .titlerow .desc { grid-column: 1 / -1; grid-row: 2; }
/* Radio favorites: an outline heart, filled when the station is a favorite */
.music .heart svg path { fill: none; stroke: currentColor; stroke-width: 2; }
.music .heart.on { color: var(--red); }
.music .heart.on svg path { fill: currentColor; }
.progress:not(.open) .music .heart { display: inline-flex; font-size: 13px; padding: 2px 3px; }
.stations .pop button.fav span::after { content: " ♥"; color: var(--red); font-size: 11px; }
/* The station's name under LIVE */
.music .liveblock { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.music .stname { font: 400 10px var(--mono); letter-spacing: .04em; color: var(--muted); white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
/* Client name on board rows: white on a dark charcoal-grey box (Michael, 2026-09-30) */
.col .clientname { align-self: flex-start; background: #4a4846; color: #fff; padding: 3px 8px 2px; border-radius: 2px; font-size: 11px; }
.col .clientname { padding: 5px 12px 4px; border-radius: 6px; font-size: 11px; letter-spacing: .08em; box-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
/* Task panel description at 11px so the comments show above the fold (Michael, 2026-09-30) */
.panel .desc { font-size: 11px; line-height: 1.55; }
.panel .desc { overflow: hidden; }
/* Status chips always in the row's top-right corner, 9px (Michael, 2026-09-30) */
.col .item { align-items: start; }
.col .item .ring, .col .item .kebab { align-self: center; }
.col .side { align-self: stretch; justify-content: space-between; }
.col .side .chip { font-size: 9px; }
/* Do Now quick add: invisible until hovered (a blinking cursor), then a plain line to type on */
.inlineadd { flex: 1; position: relative; align-self: stretch; display: flex; align-items: center; cursor: text; min-width: 0; }
.inlineadd input { width: 100%; border: 0; background: transparent; font: 400 18px var(--mono); color: var(--ink); padding: 4px 2px; outline: none; cursor: text; }
.inlineadd input::placeholder { color: transparent; }
.inlineadd input:focus::placeholder { color: #b0a69b; }
.inlineadd:hover:not(:focus-within)::after { content: ""; position: absolute; left: 3px; top: 50%; width: 2px; height: 26px; margin-top: -13px; background: var(--ink); animation: caret 1s steps(1) infinite; pointer-events: none; }
/* Attach files on new tasks */
.opt.attach { cursor: pointer; }
.inlineadd .clip { flex: none; cursor: pointer; font-size: 20px; color: #8b847c; padding: 0 4px; opacity: 0; transition: opacity .15s; }
.inlineadd:hover .clip, .inlineadd:focus-within .clip, .inlineadd .picked:not(:empty) + .clip { opacity: 1; }
.inlineadd .clip:hover { color: var(--ink); }
.inlineadd .picked { flex: none; font: 400 11px var(--mono); color: var(--muted); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Comment attachments: a paperclip, and chips for picked or pasted files */
.clip { transform: none; display: inline-flex; align-items: center; font-size: 20px; color: #6d665f; }
.clip:hover { color: var(--ink); }
.clipicon { display: block; }
.opt.attach .ic { display: inline-flex; align-items: center; }
.pickedfiles { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; padding-left: 64px; }
.pickedfiles:empty { display: none; }
.filechip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 4px 6px 4px 4px; font: 400 12px var(--mono); max-width: 260px; }
.filechip img { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; }
.filechip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filechip button { background: none; border: 0; color: var(--muted); font-size: 16px; line-height: 1; padding: 0 2px; cursor: pointer; }
.filechip button:hover { color: var(--red); }
form.dropping .field { border-color: var(--ink); background: #fffdf8; }
/* Unread dots: salmon (Michael, 2026-09-30) */
.dot-unread { background: #f2775a; }
/* "Needs input": a light, matte pink (Michael, 2026-09-30) */
.chip.blush { background: #f1e0df; color: #8e5d61; }
/* Condensed strip: a short date ("W 9/30") instead of the cut-off long one */
.dayshort { display: none; }
.progress:not(.open) .today .dayshort { display: inline; order: 3; flex: none; font: 400 12px var(--mono); color: var(--body); white-space: nowrap; }
.progress:not(.open) .today p { display: none; }
/* The client/status bar sticks to the top while the board scrolls (Michael, 2026-09-30). */
.filters { position: sticky; top: 0; z-index: 6; background: var(--paper); }  /* under the task panel (10–11) */
/* Task panel top bar: fixed while the panel scrolls; task / client / due date, cut off with an ellipsis */
.panel .panelbar { position: sticky; top: -22px; z-index: 4; margin: -22px -34px 0; padding: 14px 34px; background: #fbf7f1; border-bottom: 1px solid var(--rule);
  justify-content: space-between; gap: 18px; word-spacing: normal; }
.pbinfo { display: flex; align-items: baseline; gap: 12px; min-width: 0; font: 400 12px var(--mono); color: var(--muted); white-space: nowrap; }
.pbinfo b { font: 400 17px var(--serif); color: var(--ink); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pbinfo span { flex: none; }
.pbinfo span::before { content: "·"; margin-right: 12px; }
@media (max-width: 1100px) { .panel .panelbar { margin: -22px -18px 0; padding: 12px 18px; } }
/* Completed Tasks under Long List (Michael, 2026-09-30): today's, greyed out */
@media (min-width: 1101px) {
  .board:not(.single) { grid-template-rows: auto auto 1fr; }
  .board:not(.single) .col.now { grid-row: 1 / span 3; }
  .board:not(.single) .col.done { grid-column: 2; grid-row: 3; padding-top: 34px; }
}
.col .item.is-done { filter: grayscale(1); opacity: .5; }
.col .item.is-done .title { text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .35); }
.col .item.is-done:hover { opacity: .75; }
/* New-task screen: the drawn cursor shows only until the real one takes over, so there's never two. */
.newtask .line:focus-within .caret { display: none; }
/* Closing tasks from the board (Michael, 2026-09-30): a done task's ring is filled with a check */
.col .item.is-done .ring button { background: var(--ink); border-color: var(--ink); border-style: solid; position: relative; }
.col .item.is-done .ring button::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 14px; }
