/* My desk: Lesson of the Day beside the Idea card (Dr Shah 27-Oct-2026: "I was expecting this on 'My desk'!"; mydesk.php mydesk_lesson_html).
   Lane l4's own stylesheet (mod_l4.json css). Two columns: Idea | Lesson on top, Tasks | Birthdays below; one column on a phone. */
.mydesk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mdlesson { background: linear-gradient(180deg, #FFF8EC, #fff 60%); border-color: #f1dcb4; }
.mdlesson h3 { margin: 2px 0 8px; font-size: 19px; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 700; }
.mdlesson .mdact { border-color: #e6c27a; } .mdlesson .mdact b { color: #8a5300; }
.mdlbl { display: block; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: #8a5300; margin-bottom: 2px; font-weight: 600; }
.mdev { flex: none; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.mdev-strong { color: #166534; background: #ecfdf3; border-color: #bbe5c8; } .mdev-moderate { color: #8a5300; background: #fff7e6; border-color: #f1dcb4; }
.mdev-weak { color: #475569; background: #f1f5f9; border-color: #dbe3ec; }
.mdhook { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: #8a5300; } .mdhook::before { content: '\201C'; } .mdhook::after { content: '\201D'; }
.mdsrc { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.mdrecall { margin-top: 12px; padding-top: 10px; border-top: 1px solid #f1e4cc; font-size: 13.5px; line-height: 1.5; }
.mdrecall p { margin: 0; } .mdrecall p b { display: block; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: #8a5300; margin-bottom: 2px; overflow-wrap: anywhere; }
.mdrecall summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 600; color: #0B5F58; }
.mdrecall details p { padding: 8px 12px; background: #fff; border: 1px dashed #e6c27a; border-radius: 10px; }
@media (max-width: 1024px) { .mydesk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .mdidea { grid-column: auto; } }
@media (max-width: 600px) { .mydesk { grid-template-columns: 1fr; } }
/* 29-Oct-2026 Step 1 UX (research/RESEARCH_l4_desk_ux.md §7 Step 1): the task app is drawn before this strip.
   The read-only "Tasks" copy is folded — one tap on its line opens it (mydesk.php). */
.mdtasks > summary { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; flex-wrap: wrap; }
.mdtasks > summary::-webkit-details-marker { display: none; }
.mdtasks > summary::after { content: '\25BE'; color: var(--muted); }
.mdtasks[open] > summary::after { content: '\25B4'; }
.mdtasks > summary .mdsum { margin: 0; flex: 1; }
/* zero counts: one grey line, not big buttons (UX-04; desk.js paintStrip) */
.dkzero { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14px; }
.dkstrip:has(.dktile) .dkzero { margin-top: 2px; }
/* the keys for a keyboard, inside the Add box (desk.js frame); not on a touch screen or a phone */
.dkkeys { flex: none; color: var(--muted); font-size: 13px; white-space: nowrap; }
.dkkeys kbd { font: 12px/1 ui-monospace, Menlo, monospace; padding: 2px 5px; border: 1px solid #cbd5e1; border-radius: 4px; background: #f8fafc; color: #334155; }
@media (pointer: coarse) { .dkkeys { display: none; } }
@media (max-width: 600px) { .dkkeys { display: none; } }
/* the task title grows to show all of it (desk.js paintDetail) */
.dkftitle textarea.dktitlein { resize: none; overflow: hidden; line-height: 1.35; min-height: 44px; width: 100%; }
.mdbday .mdlist li { display: flex; align-items: center; gap: 10px; } .mdbday .mdt { flex: 1; min-width: 0; }
/* F24 Wish on WhatsApp beside each birthday: full 44 px tap target on every screen (UX-M1) */
.mdwish { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 14px;
  color: #fff; background: #1D8649; text-decoration: none; } .mdwish:hover, .mdwish:focus-visible { background: #17723e; }

/* Dashboard Today: the birthdays card sits inside its own panel (home.js #dbday) — no second frame or heading (Dr Shah 01-Nov-2026) */
.dbday .mdcard { border: 0; padding: 0; margin: 0; box-shadow: none; background: transparent; } .dbday .mdcard > header { display: none; }
/* My desk pane (desk.js data-mode="pane", 01-Nov-2026): short — the full task app is /?solo=todo */
.dkpane .dknav, .dkpane .dkadd, .dkpane .dkparse, .dkpane .dkviewhead, .dkpane .dkkeys { display: none; }
.dkpane .dkbody { display: block; } .dkpane .dkmain { width: 100%; }
.dkpanehead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 18px 0 6px; } .dkpanehead h2 { margin: 0; font-size: 17px; }
.dkpanehead a, .dkpmore a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.dkpmore { margin: 6px 0 0; color: var(--muted); }
.dklold { margin-top: 10px; } .dklold > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
/* lane 4 (13-Nov-2026): overdue follow-up tasks from his prescriptions (vtasks.php) — drawn only when any is overdue */
.mdfut { border-color: #d33; background: #fff6f6; }
.mdfut .late { color: #a40000; font-weight: 600; }
