.mt-entry{display:flex;justify-content:space-between;gap:12px;background:#171717;color:#fff;padding:20px;margin-bottom:18px;text-decoration:none;border-left:6px solid #82c341;flex-wrap:wrap}
.mt-entry strong{font-size:22px}.mt-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0 20px}.mt-heading h2{font-size:30px;line-height:1.15;margin:6px 0;letter-spacing:0}.mt-heading p{margin:5px 0}.mt-eyebrow{font-size:11px;font-weight:800;color:#555}.mt-heading .btn{flex-shrink:0}
.mt-progress{background:#171717;color:#fff;padding:20px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;border-left:6px solid #82c341}.mt-progress strong{font-size:22px}.mt-progress span{align-self:center;font-size:14px}.mt-progress progress{width:100%;height:10px;accent-color:#82c341}
.mt-controls{display:flex;gap:12px;margin:18px 0}.mt-controls .btn{min-height:48px;flex:1}.mt-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:2px solid #ddd;gap:4px}.mt-tabs button{border:0;border-bottom:4px solid transparent;background:transparent;font:inherit;font-weight:700;padding:14px 4px;cursor:pointer;color:#444}.mt-tabs button[aria-pressed=true]{border-bottom-color:#248e19;color:#111}
.mt-section-title{font-size:19px;margin:24px 0 10px}.mt-section-title span{color:#b42318}.mt-task{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;padding:20px 0;border-bottom:1px solid #d3d3d3}.mt-task h3,.mt-routine h3{margin:0 0 6px;font-size:19px;line-height:1.35;overflow-wrap:anywhere}.mt-check{width:48px;height:48px;border:2px solid #888;border-radius:8px;background:#fff;cursor:pointer;font-size:26px;color:#fff}.mt-check:focus-visible{outline:3px solid #1770c4;outline-offset:3px}.mt-done .mt-check{background:#247c22;border-color:#247c22}.mt-done h3{text-decoration:line-through;color:#666}.mt-meta{font-size:13px;color:#555;margin:4px 0;overflow-wrap:anywhere}.mt-notes{font-size:15px;margin:8px 0;white-space:pre-wrap}.mt-overdue{border-left:4px solid #b42318;padding-left:10px}.mt-blocked{color:#854a00;background:#fff1cc;padding:8px;font-size:14px;white-space:pre-wrap}
.mt-task-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.mt-task-actions .btn{min-height:40px}.mt-completed{margin-top:24px}.mt-completed summary{padding:16px 0;font-weight:700;cursor:pointer}.mt-empty{padding:24px 0;color:#555}.mt-routine{padding:20px 0;border-bottom:1px solid #ccc}.mt-dialog{width:480px;max-width:calc(100% - 24px);max-height:90dvh;box-sizing:border-box;border:0;border-radius:8px;padding:22px;background:#fff;color:#171717}.mt-dialog::backdrop{background:#0009}.mt-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.mt-dialog-head h2{font-size:23px;margin:0}.mt-dialog form{display:grid;gap:15px;margin-top:20px}.mt-dialog form>label{display:grid;gap:6px;font-weight:600;font-size:14px}.mt-dialog input,.mt-dialog select,.mt-dialog textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #888;border-radius:4px;font:inherit;min-width:0;color:#171717;background:white}.mt-days{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}.mt-days[hidden]{display:none}.mt-days legend{font-weight:600;font-size:14px;margin-bottom:8px}.mt-days label{display:flex;align-items:center;gap:4px;padding:8px 6px;background:#f0f0f0;font-size:13px}.mt-days input{width:18px;height:18px;padding:0;accent-color:#248e19}.mt-dialog button{min-height:44px}.mt-dialog [role=alert],#mt-message{color:#a21a16;overflow-wrap:anywhere}
@media(max-width:420px){.mt-heading{align-items:flex-start}.mt-heading h2{font-size:26px}.mt-heading .btn{font-size:12px;padding:10px}.mt-progress strong{font-size:20px}.mt-task{gap:10px}.mt-task h3{font-size:18px}.mt-dialog{padding:16px}}
.mt-schedule{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:18px;background:#247c22;color:white;border-color:#247c22;font-weight:750;text-decoration:none}
.mt-controls #mt-add{background:#247c22;color:white;border-color:#247c22;font-weight:750}.mt-task-actions a.btn{display:inline-flex;align-items:center;background:#fff;color:#1c5d18;text-decoration:none;border:1px solid #ccc;border-radius:6px;padding:8px 12px;font-weight:650}
[data-theme="dark"] .mt-eyebrow,[data-theme="dark"] .mt-meta,[data-theme="dark"] .mt-empty{color:#bdbdc5}
[data-theme="dark"] .mt-tabs button{color:#bdbdc5}[data-theme="dark"] .mt-tabs button[aria-pressed=true]{color:#fff}
.mt-projects{margin-top:28px;padding-top:20px;border-top:3px solid #f57814}
.mt-project-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.mt-project-heading h3{margin:0;font-size:20px}.mt-project-heading h3 span{font-size:15px;color:var(--ink-2)}
.mt-project-heading .btn{min-height:44px}
