/* Morning Desk: Tasks and Brain dump */
.desk-extras{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px;margin-top:18px;align-items:start}
@media(max-width:900px){.desk-extras{grid-template-columns:minmax(0,1fr)}}
.xt-card,.xn-card{min-width:0}
.xt-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.xt-head .eyebrow{margin:0}
.xt-count{font-size:.74rem;color:var(--muted,#6f675f);font-weight:500}
.xt-form{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.xt-form #xt-input{flex:1 1 180px;min-width:0}
.xt-form input,.xn-form textarea,.xn-filter,.xt-edit,.xn-edit{border:1px solid var(--line,#e2dcd2);border-radius:10px;background:#fff;padding:10px 12px;font:inherit;font-size:.88rem;color:inherit;box-sizing:border-box}
.xt-form input[type=date]{flex:0 0 auto;font-size:.82rem}
.xt-form .btn{flex:0 0 auto}
.xt-list,.xn-list{list-style:none;margin:0;padding:0}
.xt-task{display:flex;align-items:center;gap:10px;padding:9px 2px;border-top:1px solid var(--line,#e2dcd2)}
.xt-task:first-child{border-top:0}
.xt-check{flex:0 0 auto;width:22px;height:22px;border-radius:50%;border:1.5px solid #8a7f72;background:#fff;padding:0;cursor:pointer;display:grid;place-items:center}
.xt-check span{width:10px;height:10px;border-radius:50%;background:transparent}
.xt-check:hover span{background:#cbbfb1}
.is-done .xt-check{background:#000;border-color:#000}
.is-done .xt-check span{background:#f2f1eb;width:8px;height:8px}
.xt-title{flex:1 1 auto;min-width:0;border:0;background:transparent;padding:2px 0;text-align:left;font:inherit;font-size:.9rem;color:inherit;cursor:text;overflow-wrap:anywhere}
.is-done .xt-title{text-decoration:line-through;color:var(--muted,#6f675f)}
.xt-edit{flex:1 1 auto;min-width:0;padding:6px 10px}
.xt-due-wrap{position:relative;flex:0 0 auto}
.xt-due{border:1px solid var(--line,#e2dcd2);background:#fff;border-radius:999px;padding:4px 10px;font:inherit;font-size:.72rem;cursor:pointer;color:#4a4540;white-space:nowrap}
.xt-due.none{color:var(--muted,#6f675f);border-style:dashed;background:transparent}
.xt-due.today{background:#000;border-color:#000;color:#f2f1eb}
.xt-due.soon{background:#cbbfb1;border-color:#cbbfb1;color:#000}
.xt-due.overdue{background:#f6e3df;border-color:#e3b9b1;color:#9b3a2e;font-weight:600}
.xt-date{position:absolute;right:0;top:100%;width:1px;height:1px;opacity:0;pointer-events:none;border:0;padding:0}
.xt-del{flex:0 0 auto;width:26px;height:26px;border:0;background:transparent;border-radius:50%;font-size:1.15rem;line-height:1;color:var(--muted,#6f675f);cursor:pointer;opacity:.55}
.xt-task:hover .xt-del,.xt-del:focus{opacity:1;background:#eee9e1}
@media(hover:none){.xt-del{opacity:1}}
.xt-empty{margin:6px 0 2px;font-size:.84rem;line-height:1.55;color:var(--muted,#6f675f)}
.xt-error{margin:0 0 8px;padding:9px 12px;border-radius:10px;background:#f6e3df;color:#9b3a2e;font-size:.82rem}
.xt-donebar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line,#e2dcd2)}
.xt-link{border:0;background:transparent;padding:0;font:inherit;font-size:.78rem;font-weight:600;color:#4a4540;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.xt-link:hover{color:#000}
.xt-danger{color:#9b3a2e}
.xn-form textarea{display:block;width:100%;resize:vertical;line-height:1.5;min-height:84px}
.xn-formbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 14px}
.xn-filter{width:100%;margin-bottom:10px;padding:8px 12px}
.xn-note{padding:12px 0;border-top:1px solid var(--line,#e2dcd2)}
.xn-note:first-child{border-top:0}
.xn-text{margin:0 0 8px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;line-height:1.55}
.xn-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.xn-meta time{font-size:.72rem;color:var(--muted,#6f675f)}
.xn-actions{display:flex;gap:12px;flex-wrap:wrap}
.xn-edit{display:block;width:100%;min-height:110px;resize:vertical;line-height:1.5;margin-bottom:8px}
.xn-list{max-height:520px;overflow-y:auto;padding-right:4px}
.xt-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#000;color:#f2f1eb;padding:10px 16px;border-radius:10px;font-size:.82rem;z-index:99}

.xside{display:grid;gap:18px;min-width:0}
