:root { color-scheme: light; font: 14px/1.45 'Segoe UI', system-ui, sans-serif; color: #15171a; background: #eeeef0; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { width: min(900px, 100% - 44px); margin: 26px auto; }
header, .toolbar, .actions, #account { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header { margin-bottom: 16px; }
h1, h2 { margin: 0; line-height: 1.2; }
h1 { font-size: 26px; }
h2 { font-size: 16px; }
#account, small { color: #545b64; }
button, input, select { font: inherit; }
button { min-height: 32px; padding: 4px 11px; background: #fff; color: inherit; border: 1px solid #d6d8dc; border-radius: 7px; cursor: pointer; }
button:hover { background: #f4f4f5; }
button:disabled { cursor: default; opacity: .55; }
button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #1769c1; outline-offset: 2px; }
.primary, .switch [aria-pressed='true'] { color: #fff; background: #151618; border-color: #151618; }
.primary:hover, .switch [aria-pressed='true']:hover { background: #393b3e; }
.switch { display: flex; gap: 5px; }
section h2 { margin: 17px 0 6px; font-size: 13px; }
ul { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid #dedfe2; border-radius: 9px; }
li { display: flex; align-items: center; padding: 3px 9px; gap: 8px; }
li + li { border-top: 1px solid #eeeef0; }
li input { width: 17px; height: 17px; accent-color: #25282c; }
.task-link { text-align: left; border-color: transparent; flex: 1; min-width: 0; display: grid; gap: 1px; overflow-wrap: anywhere; }
.task-title { font-weight: 600; }
small:empty { display: none; }
#status, #editor-status { color: #a31b2e; }
#list > p { margin-top: 14px; }
details { margin-top: 16px; }
summary { cursor: pointer; padding-bottom: 6px; }
dialog, #login { width: min(440px, 100% - 24px); padding: 18px; border: 1px solid #d6d8dc; border-radius: 12px; background: #fff; }
dialog::backdrop { background: #14151a63; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 4px; min-width: 0; }
label input, select { min-height: 33px; min-width: 0; width: 100%; color: inherit; background: #fff; border: 1px solid #cfd1d5; border-radius: 6px; padding: 4px 7px; }
.dates { display: grid; grid-template-columns: 1fr 1.6fr; gap: 9px; }
.actions { justify-content: flex-end; }
@media (max-width: 460px) { main { width: calc(100% - 20px); margin: 14px auto; } .dates { grid-template-columns: 1fr; } }
