/* Cockpit Marge : onglet ToDo (04/11/2026). Proto : Claude outputs/Cockpit - Proto ToDo.html. Tout est scopé sous #tab-todo et les ids todo-*. */
#tab-todo { --soft: var(--ink-soft); --rouge: #C2410C; --vert: #3F7D3A; --jaune-soft2: rgba(242,180,26,.16);
  --d-Marge: #F2B41A; --d-Seuil: #3F7D3A; --d-Largo: #2B2820; --d-Perso: #2E7D8C; font-size: 15px; line-height: 1.45; }
#tab-todo button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
#tab-todo [hidden] { display: none !important; }
/* En-tête de vue : le gabarit commun vient de ui.css (.tab > .subnav) ; ici la date en Cardo et la capture à droite */
#tab-todo .subnav h1 { font-size: var(--fs-h1); line-height: 1.15; letter-spacing: -.012em; }
#tab-todo .capture { margin-left: auto; display: flex; gap: 8px; align-items: center; position: relative; z-index: 3; width: min(420px, 45%); }
#tab-todo .capture textarea { flex: 1; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; font: inherit; font-size: var(--fs-body); color: inherit; }
#tab-todo .capture textarea:focus, #todo-sheet textarea:focus { outline: none; border-color: var(--jaune); box-shadow: var(--focus); }
#tab-todo .kbd, .todo-pop .kbd { font: 600 11px 'JetBrains Mono', monospace; background: rgba(14,14,12,.06); border-radius: 5px; padding: 2px 6px; color: var(--ink-soft); }

/* tuiles */
#tab-todo .grid { display: flex; gap: 18px; align-items: flex-start; }
#tab-todo .tile.today { flex: 1.25 1 0; min-width: 0; }
#tab-todo .col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
#tab-todo .tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: box-shadow .15s, background .15s; }
#tab-todo .tile.over { box-shadow: inset 0 0 0 2px var(--jaune); background: #FFFCF2; }
#tab-todo .th { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
#tab-todo .tile.empty { padding: 11px 18px; gap: 0; }
#tab-todo .tile.empty .th b { font-size: 16px; }
#tab-todo .th b { font: 700 20px 'Cardo', serif; }
#tab-todo .th .n { font: 700 11px 'JetBrains Mono', monospace; color: var(--muted); }
#tab-todo .tile.empty .th .n { text-transform: none; letter-spacing: 0; font: 500 12.5px 'Inter Tight', sans-serif; }
#tab-todo .tile.ibx.empty .th b::before, #tab-todo .tile.crm.empty .th b::before { content: "✓ "; color: var(--vert); }
#tab-todo .th .r { margin-left: auto; display: flex; gap: 8px; align-items: center; }
#tab-todo .lk { font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: underline; }
#tab-todo .lk:hover { color: var(--ink); }

/* charge du jour */
#tab-todo .load { display: flex; flex-direction: column; gap: 6px; }
#tab-todo .load .lt { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; flex-wrap: wrap; }
#tab-todo .load .lt b.ok { color: var(--vert); } #tab-todo .load .lt b.ko { color: var(--rouge); }
#tab-todo .load .lt .cap { margin-left: auto; font: 500 11.5px 'JetBrains Mono', monospace; color: var(--muted); cursor: help; }
#tab-todo .bar { height: 14px; border-radius: 8px; background: rgba(14,14,12,.07); overflow: hidden; display: flex; }
#tab-todo .bar i { display: block; height: 100%; border-right: 1.5px solid #fff; transition: width .2s; cursor: help; }
#tab-todo .bar i:hover { filter: brightness(.92); }
#tab-todo .bar i:last-child { border-right: 0; }
#tab-todo .bar i.rdv { background: var(--ink); }
#tab-todo .bar i.q { background: var(--jaune); }
#tab-todo .bar i.b { background: #D9C58F; }
#tab-todo .bar i.free { background: rgba(63,125,58,.35); }
#tab-todo .bar i.over { background: repeating-linear-gradient(-45deg, var(--rouge) 0 5px, rgba(194,65,12,.45) 5px 10px); }
#tab-todo .legend { display: flex; gap: 12px; flex-wrap: wrap; font: 500 11px 'JetBrains Mono', monospace; color: var(--muted); margin-top: 2px; }
#tab-todo .legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
#todo-tip { position: fixed; z-index: 210; background: var(--ink); color: #fff; font: 600 12px 'Inter Tight', sans-serif; padding: 5px 9px; border-radius: 8px; pointer-events: none; transform: translate(-50%, -130%); white-space: nowrap; display: none; }

/* récompense */
#tab-todo .win { margin-top: 8px; border-radius: 16px; padding: 34px 20px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(242,180,26,.35), rgba(242,180,26,.06) 60%, transparent); display: flex; flex-direction: column; align-items: center; gap: 6px; }
#tab-todo .win .wk { width: 54px; height: 54px; border-radius: 50%; background: var(--jaune); display: grid; place-items: center; font-size: 24px; color: var(--ink); box-shadow: 0 10px 24px rgba(242,180,26,.4); margin-bottom: 8px; animation: todo-ckpop .6s cubic-bezier(.3,1.5,.5,1); }
#tab-todo .win b { font: 700 28px 'Cardo', serif; }
#tab-todo .win span { color: var(--muted); font-size: 14px; }

/* quêtes et cartes */
#tab-todo .qlab { font: 700 10.5px 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
#tab-todo .slot { display: flex; gap: 10px; align-items: center; border: 1px dashed rgba(14,14,12,.25); border-radius: var(--r-sm); padding: 8px 12px; min-height: 42px; color: var(--muted); font-size: 13px; transition: background .15s; }
#tab-todo .slot .rk { opacity: .4; }
#tab-todo .slot.over { background: var(--jaune-soft2); border-color: var(--jaune); }
#tab-todo .list { display: flex; flex-direction: column; gap: 7px; }
#tab-todo .card { width: 100%; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 10px 9px 12px; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; flex: none; }
#tab-todo .card:hover, #tab-todo .card.hov { box-shadow: var(--sh-2); }
#tab-todo .card.hov { outline: 1.5px solid rgba(14,14,12,.35); outline-offset: 1px; }
#tab-todo .card .top { display: flex; gap: 9px; align-items: flex-start; }
#tab-todo .card .t { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
#tab-todo .card .t.lnk { cursor: pointer; text-decoration: underline dotted rgba(14,14,12,.35); text-underline-offset: 3px; }
#tab-todo .card .t.lnk:hover { text-decoration-color: var(--ink); }
#tab-todo .card.q { border-color: rgba(14,14,12,.3); padding: 11px 36px 11px 12px; min-height: 66px; display: flex; align-items: center; position: relative; }
#tab-todo .card.q .top { align-items: center; flex-wrap: wrap; width: 100%; }
#tab-todo .card.q .t { flex: 1 1 0; min-width: 120px; }
#tab-todo .card.q .pen { position: absolute; right: 8px; top: 50%; margin-top: -12px; }
#tab-todo .meta.inl { margin: 0; margin-left: auto; flex: 0 1 auto; min-width: 0; max-width: 100%; flex-wrap: wrap; justify-content: flex-end; } /* 07/11 : elle rétrécit et replie Claude/Snooze au lieu de déborder de la carte */
#tab-todo .card.q1 .t { font-size: 16px; line-height: 1.25; } /* la quête n°1 se distingue par la taille, pas par une autre police (Charles, 05/11) */
#tab-todo .rk { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); font: 700 11px 'JetBrains Mono', monospace; display: grid; place-items: center; flex: none; background: #fff; }
#tab-todo .card.q1 .rk { background: var(--jaune); border-color: var(--jaune); }
#tab-todo .card.isdone { opacity: .5; } #tab-todo .card.isdone .t { text-decoration: line-through; }
#tab-todo .card.q.over, #tab-todo .card.q .over { box-shadow: inset 0 0 0 2px var(--jaune); }
#tab-todo .meta { display: flex; gap: 7px; align-items: center; margin-top: 7px; flex-wrap: wrap; }
#tab-todo .meta .ml { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; min-width: 0; flex: 1 1 auto; }
#tab-todo .acts { display: flex; gap: 5px; margin-left: auto; flex: none; justify-content: flex-end; }
/* .act : ui.css */
#tab-todo .raw { font-size: 12.5px; color: var(--muted); margin-top: 3px; border-left: 2px solid var(--line); padding-left: 8px; }
#tab-todo .chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; background: var(--off-white); }
#tab-todo .chip:hover { border-color: var(--ink-soft); }
#tab-todo .chip.doubt { border: 1.5px dashed var(--rouge); }
#tab-todo .chip.doubt::after { content: "?"; font: 700 11px 'JetBrains Mono', monospace; color: var(--rouge); }
#tab-todo .gl { font: 700 10.5px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
#tab-todo .crm .deal { font: 500 11px 'JetBrains Mono', monospace; color: var(--muted); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: underline dotted; text-underline-offset: 3px; }
#tab-todo .crm .deal:hover { color: var(--ink); }
#tab-todo .bform { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12.5px; }
#tab-todo .bform label { display: inline-flex; gap: 6px; align-items: center; color: var(--ink-soft); }
#tab-todo .bform input { font: inherit; font-size: 13px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 120px; }
#tab-todo .bform input[type="text"] { min-width: 220px; flex: 1; }
#tab-todo .zero { text-align: center; color: var(--muted); padding: 18px 10px; font-size: 13.5px; }

/* pièces */
#tab-todo .ck { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-soft); flex: none; display: grid; place-items: center; background: #fff; position: relative; padding: 0; }
#tab-todo .ck:hover { background: var(--jaune-soft2); }
#tab-todo .ck.on { background: var(--ink); border-color: var(--ink); }
#tab-todo .ck.on::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
#tab-todo .pen { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: var(--muted); flex: none; margin: -2px -2px 0 0; opacity: 0; }
#tab-todo .card:hover .pen { opacity: 1; }
#tab-todo .pen:hover { background: rgba(14,14,12,.07); color: var(--ink); }
#tab-todo .pen svg { width: 14px; height: 14px; }
#tab-todo .src { display: inline-flex; align-items: center; font: 700 10px/1 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; border-radius: 5px; padding: 4px 6px; white-space: nowrap; border: 1px solid; flex: none; }
#tab-todo .src.Cold { background: #E4EBF7; border-color: #A9BFE3; color: #1D3D78; }
#tab-todo .src.CRM { background: var(--jaune); border-color: #D99E0E; color: var(--ink); }
#tab-todo .src.Fonds, #tab-todo .src.Club { background: var(--ink); border-color: var(--ink); color: #fff; }
#tab-todo .src.Mail { background: #F1E9F7; border-color: #CDB4E0; color: #55276F; }
#tab-todo .src.WhatsApp { background: #E3F3E7; border-color: #A8D5B3; color: #1C5A2C; }
#tab-todo .src.Plaud { background: #F8E7DE; border-color: #E4BBA6; color: #843511; }
#tab-todo .src.Claude { background: var(--ink); border-color: var(--ink); color: var(--jaune); }
#tab-todo .src.Manuel { background: #fff; border-color: rgba(14,14,12,.35); color: var(--ink); }
#tab-todo .src.Vocal { background: #FFF4D6; border-color: #E8CC7A; color: #5E4300; }
#tab-todo .dom { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 600; }
#tab-todo .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
#tab-todo .dur { display: inline-flex; align-items: center; gap: 2px; font: 700 11px 'JetBrains Mono', monospace; border: 1px solid var(--line); border-radius: 999px; padding: 1px 4px; background: var(--off-white); color: var(--ink-soft); cursor: ew-resize; touch-action: none; -webkit-user-select: none; user-select: none; white-space: nowrap; }
#tab-todo .dur b { font-weight: 700; padding: 2px 2px; min-width: 50px; text-align: center; }
#tab-todo .dur button { padding: 2px 5px; border-radius: 999px; color: var(--muted); font-weight: 700; line-height: 1; }
#tab-todo .dur button:hover { background: rgba(14,14,12,.08); color: var(--ink); }
#tab-todo .dur:hover, #tab-todo .dur.live, #tab-todo .dur:focus-visible { border-color: var(--jaune); background: var(--jaune-soft2); outline: none; }
#tab-todo .dur.live { transform: scale(1.12); }
#tab-todo .cnt { font: 700 11px 'JetBrains Mono', monospace; color: var(--muted); }
#tab-todo .cnt.hot { color: var(--rouge); }
#tab-todo .latel { font-size: 11.5px; font-weight: 700; color: var(--rouge); }
#tab-todo .due { font-size: 12px; color: var(--muted); white-space: nowrap; }
#tab-todo .edit { width: 100%; font: inherit; border: 0; border-bottom: 2px solid var(--jaune); background: transparent; padding: 0; color: inherit; }
#tab-todo .edit:focus { outline: none; }
body > .ghost { position: fixed; z-index: 100; pointer-events: none; opacity: .94; transform: rotate(-1.5deg); box-shadow: var(--sh-3); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; font-size: 14px; } /* le fantôme du glisser, posé sur body ; « body .ghost » attrapait aussi les boutons .btn.ghost des autres vues (07/11) */
body.todo-dragging, body.todo-dragging * { cursor: grabbing !important; }

/* choix de date */
.todo-pop { position: fixed; z-index: 150; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-3); padding: 10px; display: flex; flex-direction: column; gap: 4px; min-width: 220px; font-family: var(--f-sans); }
.todo-pop button { text-align: left; padding: 7px 10px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; background: none; border: 0; color: inherit; cursor: pointer; }
.todo-pop button:hover, .todo-pop button.sel { background: rgba(242,180,26,.16); }
.todo-pop button small { font: 500 11px 'JetBrains Mono', monospace; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.todo-pop input { border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13px; width: 100%; margin-top: 4px; }
.todo-pop h4 { font: 700 10.5px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 2px 10px 4px; margin: 0; }
#todo-veil2 { position: fixed; inset: 0; z-index: 140; }

/* coche verte avec son */
@keyframes todo-ckpop { 0% { transform: scale(1); } 35% { transform: scale(1.18); } 70% { transform: scale(.96); } 100% { transform: scale(1); } }
@keyframes todo-ckfill { 0% { background: #fff; border-color: var(--ink-soft); } 100% { background: #3F7D3A; border-color: #3F7D3A; } }
@keyframes todo-ckhalo { 0% { box-shadow: 0 0 0 0 rgba(63,125,58,.45); } 100% { box-shadow: 0 0 0 14px rgba(63,125,58,0); } }
@keyframes todo-ckmark { 0% { width: 0; height: 0; opacity: 0; } 30% { opacity: 1; } 100% { width: 9px; height: 5px; opacity: 1; } }
#tab-todo .ck.zing { animation: todo-ckpop .5s cubic-bezier(.3,1.5,.5,1), todo-ckfill .25s ease-out forwards, todo-ckhalo .7s ease-out .1s; }
#tab-todo .ck.zing::after { content: ""; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); animation: todo-ckmark .3s ease-out .12s both; }
#todo-toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 8px); background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 16px; font: 600 13px 'Inter Tight', sans-serif; opacity: 0; transition: .2s; pointer-events: none; z-index: 200; max-width: calc(100vw - 32px); display: flex; gap: 14px; align-items: center; }
#todo-toast.on { opacity: 1; transform: translate(-50%, 0); }
#todo-toast.act { pointer-events: auto; }
#todo-toast button { color: var(--jaune); font: inherit; font-weight: 700; text-decoration: underline; white-space: nowrap; background: none; border: 0; cursor: pointer; }

/* badge Inbox sur l'onglet : .tb dans ui.css */

/* mobile : tuiles empilées, bouton + et feuille de capture */
#todo-fab, #todo-veil, #todo-sheet { display: none; }
@media (max-width: 980px) { #tab-todo .grid { flex-direction: column; align-items: stretch; } }
@media (max-width: 720px) {
  #tab-todo .subnav h1 { font-size: 24px; }
  #tab-todo .capture { display: none; }
  #tab-todo .tile { padding: 14px 14px 12px; }
  #tab-todo .pen { opacity: 1; }
  #tab-todo .card.q .pen { display: none; }
  #tab-todo .meta.inl { margin-left: 0; width: 100%; }
  #tab-todo .load .cap { display: none; }
  #tab-todo .th .r .lk { font-size: 12px; }
  body[data-tab="todo"].unlocked #todo-fab { display: grid; place-items: center; position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 28px; border: 0; box-shadow: 0 8px 20px rgba(14,14,12,.3); z-index: 7; cursor: pointer; }
  body[data-tab="todo"] #todo-veil { display: block; position: fixed; inset: 0; background: rgba(14,14,12,.35); opacity: 0; pointer-events: none; transition: .2s; z-index: 8; }
  body[data-tab="todo"] #todo-veil.on { opacity: 1; pointer-events: auto; }
  body[data-tab="todo"] #todo-sheet { display: block; position: fixed; left: 0; right: 0; bottom: 0; background: var(--off-white); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 18px var(--gutter) calc(20px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: .25s; z-index: 9; }
  body[data-tab="todo"] #todo-sheet.on { transform: none; }
  #todo-sheet h3 { font: 700 20px var(--f-serif); margin: 0 0 10px; }
  #todo-sheet textarea { width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 14px; font: inherit; font-size: 16px; }
  #todo-sheet button { width: 100%; margin-top: 10px; padding: 12px; border-radius: var(--r-md); font: inherit; font-weight: 700; font-size: 15px; background: var(--ink); color: #fff; border: 0; }
  #todo-toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* Outbound, ex Lot du jour (04/11 puis 05/11/2026) : les 9 du matin et les envois Cold dus. F masque la carte, « Parti » vient des Envoyés. */
#tab-todo .tile.lot { border-color: var(--jaune); }
#tab-todo .tile.lot.empty .th b::before { content: "· "; color: var(--muted); }
#tab-todo .ck.nock { border-style: dashed; border-color: var(--line); cursor: default; }
#tab-todo .ck.nock:hover { background: #fff; }
#tab-todo .ck.nock.on { border-style: solid; }
#tab-todo .lotc a.act { text-decoration: none; display: inline-flex; align-items: center; }
#tab-todo .lotc .okl { font-size: 12px; font-weight: 700; color: var(--vert); }
#tab-todo .lotc .wait { font-size: 12px; color: var(--muted); }
#tab-todo .lotc .wait.warn { color: var(--rouge, #b3261e); font-weight: 700; }
#tab-todo .lotc .raw { white-space: normal; }

/* le vrac (05/11/2026) : le champ est un textarea qui grandit avec le texte dicté ou collé */
#tab-todo .capture textarea, #todo-sheet textarea { resize: none; overflow-y: auto; line-height: 1.4; display: block; max-height: 240px; }
#tab-todo .capture .kbd { margin-top: 9px; }
/* clic sur le texte = modifier (05/11/2026) */
#tab-todo .t.ed { cursor: text; border-radius: 4px; transition: background .15s; }
#tab-todo .t.ed:hover { background: rgba(14,14,12,.05); box-shadow: 0 0 0 3px rgba(14,14,12,.05); }
#tab-todo .card .t.lnk.ed { text-decoration: none; cursor: text; }
#tab-todo .pen.go { opacity: 1; color: var(--ink); }
@media (max-width: 720px) { #tab-todo .card.q .pen.go { display: grid; position: static; margin: 0; } }

/* Reporter (05/11/2026) : la carte s'envole à droite, teintée de bleu, puis la place se referme */
#tab-todo .card.fly { animation: todo-fly .38s cubic-bezier(.5,0,.75,0) forwards; pointer-events: none; overflow: hidden; }
@keyframes todo-fly {
  0% { transform: none; opacity: 1; }
  25% { transform: translateX(-6px) rotate(-.6deg); background: #e8f1fd; border-color: #8db8ef; box-shadow: 0 0 0 4px rgba(66,133,244,.18); }
  100% { transform: translateX(115%) translateY(-14px) rotate(5deg); opacity: 0; background: #d6e7fc; border-color: #6aa3ea; box-shadow: 0 0 22px rgba(66,133,244,.45); height: 0; margin: 0; padding-top: 0; padding-bottom: 0; }
}
/* ‹ › autour de la date (05/11/2026) : remplace « Voir demain » */
#todo-date { display: flex; align-items: center; gap: 6px; }
#todo-date .dnav { font: 400 30px/1 'Cardo', serif; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 0 8px 4px; border-radius: 10px; }
#todo-date .dnav:hover:not(:disabled) { background: rgba(14,14,12,.06); }
#todo-date .dnav:disabled { opacity: .2; cursor: default; }
#todo-date .dlab[data-a] { cursor: pointer; }

/* Domaine cliquable (05/11/2026) */
#tab-todo button.dom { background: none; border: 1px solid transparent; border-radius: 999px; padding: 2px 7px 2px 5px; margin-left: -6px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; color: var(--muted); }
#tab-todo button.dom:hover { border-color: var(--line); color: var(--ink); background: #fff; }
#tab-todo button.dom.doubt { border: 1.5px dashed var(--rouge); margin-left: 0; }
#tab-todo button.dom.doubt::after { content: "?"; font: 700 11px 'JetBrains Mono', monospace; color: var(--rouge); }
.todo-pop .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.todo-pop button.cur { color: var(--ink); }
.todo-pop { --d-Marge: #F2B41A; --d-Seuil: #3F7D3A; --d-Largo: #2B2820; --d-Perso: #2E7D8C; }

/* Wrap up en pied de la tuile Aujourd'hui (05/11/2026) */
#tab-todo .wrapb { margin-top: 14px; width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: var(--r-md); border: 1px dashed var(--line); background: transparent; color: var(--ink-soft); cursor: pointer; font: inherit; transition: background .15s, border-color .15s, transform .15s; }
#tab-todo .wrapb:hover { border-style: solid; border-color: var(--ink); background: #fff; color: var(--ink); }
#tab-todo .wrapb .wk { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(242,180,26,.18); color: var(--ink); font-size: 15px; }
#tab-todo .wrapb .wt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#tab-todo .wrapb .wt b { font: 700 17px 'Cardo', serif; color: var(--ink); }
#tab-todo .wrapb .wt small { font-size: 12.5px; color: var(--muted); }
#tab-todo .wrapb .wg { margin-left: auto; width: 18px; height: 18px; flex: none; opacity: .5; }
#tab-todo .wrapb .wg svg { width: 18px; height: 18px; }
#tab-todo .wrapb.late { border: 0; background: var(--jaune); box-shadow: 0 8px 22px rgba(242,180,26,.35); }
#tab-todo .wrapb.late .wk { background: var(--ink); color: var(--jaune); }
#tab-todo .wrapb.late .wt small { color: var(--ink-soft); }
#tab-todo .wrapb.late .wg { opacity: .9; }
#tab-todo .wrapb.late:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(242,180,26,.45); }

/* Meetings (07/11/2026, Cockpit v2) : les RDV du jour affiché et leur page /prep, sous la barre de charge, avant les quêtes. Rien sans ligne. */
#tab-todo .meets { display: flex; flex-direction: column; gap: 6px; }
#tab-todo .qlab.mh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
#tab-todo .mh .mn { color: var(--ink); margin-left: 2px; }
#tab-todo .mh .mhint { font: 500 10.5px 'JetBrains Mono', monospace; letter-spacing: 0; text-transform: none; color: var(--muted); white-space: nowrap; }
#tab-todo .mlist { display: flex; flex-direction: column; gap: 6px; }
#tab-todo .meet { display: flex; align-items: center; gap: 10px; min-width: 0; background: var(--off-white); border: 1px solid var(--line); border-left: 3px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px 8px 11px; }
#tab-todo .meet.ready { border-left-color: var(--jaune); }
#tab-todo .meet.internal { background: #fff; }
#tab-todo .meet .mt { flex: none; min-width: 44px; font: 700 12px 'JetBrains Mono', monospace; color: var(--ink); }
#tab-todo .meet .mb { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; }
#tab-todo .meet .mtl { font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; text-align: left; padding: 0; }
#tab-todo .meet button.mtl { text-decoration: underline dotted rgba(14,14,12,.35); text-underline-offset: 3px; }
#tab-todo .meet button.mtl:hover { text-decoration-color: var(--ink); }
#tab-todo .meet .mwho { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
#tab-todo .meet .mchip { font: 700 10px/1 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 5px; padding: 4px 6px; color: var(--muted); background: #fff; white-space: nowrap; }
#tab-todo .meet .macts { flex: none; margin-left: auto; display: flex; gap: 5px; align-items: center; }
#tab-todo .meet .act:disabled { cursor: default; color: var(--muted); border-color: var(--line); background: var(--off-white); }
#tab-todo .meet .mno { font: 500 11px 'JetBrains Mono', monospace; color: var(--muted); white-space: nowrap; }
@media (max-width: 720px) {
  /* téléphone : heure et titre sur une ligne, l'action en dessous, alignée sous le titre */
  #tab-todo .meet { flex-wrap: wrap; row-gap: 6px; }
  #tab-todo .meet .mb { flex: 1 1 0; }
  #tab-todo .meet .macts { flex: 0 0 100%; margin-left: 0; padding-left: 54px; justify-content: flex-start; }
  #tab-todo .meet .macts .mno { padding: 0; }
}
