
  body{--mwarn:var(--warn);--mwarn-soft:var(--warn-bg)}
  /* ⚠ IT WAS INVISIBLE UNTIL HOVER — `color:transparent`. A control nobody can see is a
     control nobody knows exists, which is exactly why it was reported missing. Quiet is fine;
     absent is not. It sits faint, and comes up on hover as before. */
  /* ⚠ --rule-strong IS THE EDGE OF A CONTROL, worn here as text. At night that is
     #474239 on #22211e — 1.6:1, an invisible ×. --ink-ghost is the faintest ink and is
     still a text colour; the hover already steps up from it. */
  .mtg-del{border:none;background:none;color:var(--ink-ghost);cursor:pointer;font-size:15px;line-height:1;padding:0 4px;transition:color .15s}
  .mtg-row:hover .mtg-del{color:var(--ink-faint)}
  .mtg-del:hover{color:var(--accent)}
  .mtg-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px;flex-wrap:wrap}
  .mtg-srch{position:relative;flex:1;min-width:210px;max-width:340px}
  .mtg-srch input{width:100%;border:1px solid var(--rule);background:var(--surface);border-radius:8px;padding:9px 12px 9px 34px;font-family:'Inter',sans-serif;font-size:13px;color:var(--ink);outline:none}
  .mtg-srch input:focus{border-color:var(--ink-faint)}
  .mtg-srch svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:14px;height:14px;stroke:var(--ink-faint);stroke-width:2;fill:none}
  .mtg-tools-r{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
  .mtg-chip{font-family:'Inter',sans-serif;font-size:13px;border:1px solid var(--rule);background:var(--surface);color:var(--ink-soft);border-radius:999px;padding:6px 13px;cursor:pointer;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
  .mtg-chip b{font-family:var(--num);font-variant-numeric:tabular-nums;font-size:13px;font-weight:500}
  .mtg-chip:hover{border-color:var(--ink-faint)}
  .mtg-chip.on{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent)}
  .mtg-seg{display:flex;background:var(--surface);border:1px solid var(--rule);border-radius:8px;overflow:hidden}
  .mtg-seg button{font-family:'Inter',sans-serif;font-size:13px;border:none;background:none;color:var(--ink-soft);padding:7px 13px;cursor:pointer}
  .mtg-seg button+button{border-left:1px solid var(--rule)}
  .mtg-seg button.on{background:var(--ink);color:var(--on-ink)}
  .mtg-group{margin-bottom:26px}
  .mtg-ghead{display:flex;align-items:baseline;gap:10px;margin-bottom:9px}
  .mtg-glabel{font-weight:600;font-size:15px;font-weight:500}
  .mtg-gcount{font-family:var(--num);font-variant-numeric:tabular-nums;font-size:13px;color:var(--ink-faint)}
  .mtg-gline{flex:1;height:1px;background:var(--rule);margin-left:4px}
  .mtg-panel{background:var(--surface);border:1px solid var(--rule);border-radius:10px;overflow:hidden}
  .mtg-row{display:flex;align-items:center;gap:14px;padding:12px 16px;cursor:pointer;transition:background .12s}
  .mtg-row+.mtg-row{border-top:1px solid var(--rule-soft)}
  .mtg-row:hover{background:var(--paper)}
  .mtg-rdate{font-family:var(--num);font-variant-numeric:tabular-nums;font-size:13px;color:var(--ink-faint);width:62px;flex-shrink:0}
  .mtg-rmain{flex:1;min-width:0}
  .mtg-rcust{font-size:15px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  /* ⚠ ON A PHONE THE NAME GETS TWO LINES. At 375px "PT. ALIA DIGITAL PRINTEX" lost
     37px of itself, and the row is the only place that name appears in the list. */
  @media(max-width:760px){
    .mtg-rcust{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;
      -webkit-box-orient:vertical;overflow:hidden}
  }
  .mtg-rsnip{font-family:'Inter',sans-serif;font-size:13px;color:var(--ink-faint);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  /* the note's title — short, so unlike the excerpt it survives on mobile */
  .mtg-rtitle{font-family:'Inter',sans-serif;font-size:13px;color:var(--ink-soft);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mtg-rtitle.none{color:var(--ink-faint);font-style:italic}
  .mtg-rmeta{display:flex;align-items:center;gap:10px;flex-shrink:0}
  .mtg-avs{display:flex}
  .mtg-av{width:23px;height:23px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:'Inter',sans-serif;font-size:10.5px;font-weight:600;color:var(--on-dark);border:1.5px solid var(--surface)}
  .mtg-av+.mtg-av{margin-left:-7px}
  /* ⚠ QUIETER THAN THE FOLLOW-UP PILL ON PURPOSE. The follow-up is a thing to DO and
     earns its colour; this only says who can read the note, and a second coloured pill
     on every private row would fight it. Outline, no fill, the faint ink. */
  .mtg-seen{font-family:'Inter',sans-serif;font-size:12px;font-weight:600;padding:2px 8px;
    border-radius:999px;white-space:nowrap;color:var(--ink-faint);border:1px solid var(--rule)}
  .mtg-fu{font-family:'Inter',sans-serif;font-size:13px;font-weight:600;padding:3px 9px;border-radius:999px;white-space:nowrap}
  .mtg-fu.over{background:var(--accent-soft);color:var(--accent)}
  .mtg-fu.soon{background:var(--mwarn-soft);color:var(--mwarn)}
  .mtg-fu.later{background:var(--rule-soft);color:var(--ink-faint)}
  .mtg-empty{font-family:'Inter',sans-serif;font-size:13px;color:var(--ink-faint);padding:26px;text-align:center;background:var(--surface);border:1px solid var(--rule);border-radius:10px}
  @media(max-width:760px){
    /* ⚠ NO STARTING A BOARD ON A PHONE. board.html says it itself — "The drawing
       board is desktop-only by design" — and its phone mode is read, pan, add a
       sticky, tick a task, with no drawing at all. The list still offered a New
       board tile and a whole picker of templates, which walked you into a board you
       could not then draw on. Reading and opening the ones that exist is untouched.
       "didnt you said cannot make boards in mobile?", 18 Sep 2026. */
    .bd-card.bd-new{display:none}
    /* ⚠ 18px WIDE, measured. It was padded 4px either side of a single character and
       nothing set its width, so the box a thumb had to land in was the glyph itself. */
    .mtg-del{padding:0 12px}
    .mtg-rsnip{display:none}
    .mtg-rdate{width:52px}
    .mtg-toolbar{gap:10px}
    .mtg-srch{max-width:none}
  }
