:root{color-scheme:dark;--bg:#08090d;--surface:#12141b;--line:#292c36;--text:#f7f7f9;--muted:#a2a5b2;--red:#e50914}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 90% 0%,#261018 0%,transparent 35%),var(--bg);font-family:Inter,system-ui,Segoe UI,Arial,sans-serif;color:var(--text);line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}.top{height:70px;display:flex;align-items:center;gap:14px;padding:0 max(20px,calc((100vw - 1180px)/2));border-bottom:1px solid var(--line);background:#0b0c12}.wordmark{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:900;letter-spacing:1px}.wordmark img{width:42px;height:36px;object-fit:contain}.product{color:var(--muted);font-size:12px;font-weight:800;letter-spacing:1px}.top #signOut{margin-left:auto}.shell{max-width:1180px;padding:50px 20px;margin:auto}.intro{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:25px}.intro h1,.welcome h1{font-size:clamp(2.3rem,5vw,4rem);letter-spacing:-.06em;margin:8px 0}.intro p{margin:0}.eyebrow{font-size:11px;font-weight:900;letter-spacing:2px;color:#ff5760}.muted,.small,.hint{color:var(--muted)}.small{font-size:13px}.hint{font-size:12px;margin-bottom:0}.sync{font-size:12px;color:#babdcc}.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:25px}.capture>label{font-weight:750;font-size:18px}.capture textarea{width:100%;border:0;border-bottom:1px solid var(--line);padding:15px 0;background:transparent;color:var(--text);outline:none;resize:vertical;min-height:110px}.capture textarea:focus{border-color:var(--red)}.capture-bottom{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-top:15px}.fields{display:flex;gap:12px;flex-wrap:wrap}.fields label{font-size:12px;color:var(--muted);display:grid;gap:4px}.fields select,.fields input,#search{padding:11px;border-radius:9px;border:1px solid #424653;background:#191c26;color:var(--text);max-width:100%}.primary{background:var(--red);color:white;border:1px solid var(--red);font-weight:800;padding:12px 19px;border-radius:10px}.primary:hover{background:#bb0811}.ghost,.small-button,.filter{color:#e6e6ea;background:transparent;border:1px solid var(--line);border-radius:9px;padding:10px}.ghost:hover,.small-button:hover,.filter:hover{background:#222531}.workspace{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;margin-top:20px}.workspace h2{font-size:18px;margin:0 0 13px}.filters{display:grid;gap:6px}.filter{text-align:left;border-color:transparent}.filter.active{background:#32161c;border-color:#773039}.export{margin-top:22px;width:100%;font-size:12px}.feed-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.feed-header p{margin:0}.feed-header h2{margin-bottom:1px}.feed-header h2 span{color:var(--muted)}#search{min-width:210px}.items{display:grid;gap:12px;margin-top:22px}.item{background:#181b25;border:1px solid #30333f;border-radius:13px;padding:18px;overflow-wrap:anywhere}.item-meta,.item-controls{display:flex;gap:10px;flex-wrap:wrap}.item-meta{font-size:11px;color:#b5b8c6;font-weight:750;letter-spacing:.6px}.item-body{white-space:pre-wrap;margin:12px 0 16px}.item-body.done{text-decoration:line-through;opacity:.6}.small-button{font-size:12px;padding:6px 10px}.empty{padding:35px 10px;color:var(--muted);text-align:center}.error{color:#ff8289}.welcome{max-width:760px;margin:9vh auto}.welcome p{font-size:17px;color:var(--muted)}.welcome .primary{margin-top:20px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:750px){.top{padding:0 14px}.product{font-size:10px}.wordmark span{display:none}.shell{padding:30px 14px}.panel{padding:18px}.intro,.capture-bottom,.feed-header{align-items:stretch;flex-direction:column}.workspace{grid-template-columns:1fr}.filters{grid-template-columns:repeat(2,1fr)}#search{width:100%}}

.signin-form{display:grid;gap:9px;max-width:420px;margin-top:24px}.signin-form label{font-size:13px;color:var(--muted)}.signin-form input{color:var(--text);background:#191c26;border:1px solid #424653;border-radius:9px;padding:12px;min-width:0}.signin-form .primary{margin-top:8px}.signin-form p{font-size:13px;margin:0}


/* In-card editing — no browser prompt */
.inline-editor{display:block;width:100%;min-height:125px;margin:12px 0;padding:14px;background:#101218;color:var(--text);border:1px solid var(--red);border-radius:10px;outline:none;resize:vertical;line-height:1.6}
.inline-editor:focus{border-color:#ff4b55;box-shadow:0 0 0 2px rgba(229,9,20,.16)}
.inline-edit-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.inline-edit-actions button{min-width:100px}
.item-body[hidden],.item-controls[hidden]{display:none}

/* Batch 2: fast capture, tag navigation, and task organization */
.capture:focus-within{border-color:#5b3038}.capture textarea{font-size:16px}.capture textarea::placeholder{color:#828694}
.tags-section{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.tags-section h3{margin:0 0 10px;font-size:14px}
.tag-filters{display:flex;flex-wrap:wrap;gap:7px}.tag-chip{font-size:12px;padding:5px 9px;border:1px solid #444653;border-radius:20px;background:#1b1e28;color:#f3f3f6}.tag-chip.active{background:#4a1c23;border-color:#f04b55}
.item-meta{align-items:center}.item-tag{border-radius:18px;border:1px solid #424653;background:#222633;color:#e2e2e8;font-size:11px;padding:3px 8px}.item-tag:hover{border-color:#ff5863}.item.done-item{opacity:.75}.item-body{line-height:1.65}.item:focus-within{border-color:#6c3038}
.item-controls button[aria-pressed="true"]{color:#ffe4a0;border-color:#987a2b}.item-controls button[data-action="done"]{border-color:#46604b}.item-controls button[data-action="delete"]:hover{border-color:#e50914;color:#ffb9bc}
#summary{margin-top:4px}.feed-header{flex-wrap:wrap}#search:focus,.signin-form input:focus,.fields select:focus,.fields input:focus{outline:2px solid #b21e29;outline-offset:1px}
.item-controls [disabled],.inline-edit-actions [disabled]{opacity:.5}.empty{line-height:1.6}.filter.active{font-weight:750}
@media(max-width:750px){.item{padding:15px}.item-controls{gap:7px}.small-button{min-height:38px}.capture-bottom .primary{width:100%}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.feed-header input{min-width:0}.tag-chip{min-height:34px}}

/* Batch 3: named checklists and repeating reminders */
.checklist-panel{margin-top:20px}.checklist-panel h2{font-size:18px;margin:0}.checklist-panel .small{margin:4px 0 0}.list-create{display:flex;gap:10px;margin:16px 0}.list-create input,.list-add input,.list-rename input,.inline-edit-actions input{min-width:0;flex:1;padding:11px;border:1px solid #424653;border-radius:9px;background:#191c26;color:var(--text)}
.list-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:12px}.list-card{padding:16px;background:#181b25;border:1px solid #30333f;border-radius:13px}.list-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.list-header h3{font-size:17px;margin:0;overflow-wrap:anywhere}.list-header .small{margin-top:2px}.list-actions{display:flex;flex-wrap:wrap;gap:5px}.list-actions .small-button{padding:6px 9px}.list-items{list-style:none;margin:14px 0;padding:0;display:grid;gap:7px}.list-items li{display:flex;align-items:center;gap:9px;min-height:32px}.list-items input[type=checkbox]{width:19px;height:19px;accent-color:var(--red);flex:0 0 auto}.list-items .checked{text-decoration:line-through;color:var(--muted)}.list-items .list-text{flex:1;overflow-wrap:anywhere}.list-items .small-button{padding:4px 8px}.list-add{display:flex;gap:8px;margin-top:12px}.list-add button{white-space:nowrap}.list-rename{display:flex;gap:7px;margin-bottom:10px}.list-card button:focus-visible,.item-tag:focus-visible{outline:2px solid #ff7078;outline-offset:2px}
.repeat-days{border:1px solid var(--line);border-radius:12px;padding:9px 12px;margin:14px 0}.repeat-days legend{font-size:12px;color:var(--muted)}.repeat-days label{display:inline-flex;align-items:center;gap:3px;margin:4px 11px 4px 0;font-size:13px}.repeat-days input{accent-color:var(--red)}.repeat-pill{border:1px solid #6c3038;color:#ffc1c5;padding:2px 8px;border-radius:12px}.overdue{color:#ff9b9f}.due-today{color:#ffe3a1}.list-card .error{font-size:12px}
@media(max-width:750px){.list-create,.list-add{flex-direction:column}.list-create .primary,.list-add .primary{width:100%}.list-actions{justify-content:flex-end}.list-header{flex-wrap:wrap}}

.list-toggle{min-width:29px;border:0;background:transparent;color:#ff6470;font-size:24px;line-height:1;padding:2px;cursor:pointer}.list-toggle:hover{color:#fff}.list-items .list-toggle{padding:2px}.list-toggle:focus-visible{outline:2px solid #ff6470}

.editor-reminder-settings{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.editor-reminder-settings>label{display:grid;gap:5px;font-size:12px;color:var(--muted)}.editor-reminder-settings input[type=datetime-local],.editor-reminder-settings select{border:1px solid #424653;background:#191c26;color:var(--text);border-radius:9px;padding:9px}.editor-weekdays{width:100%;display:flex;flex-wrap:wrap;gap:9px}.editor-weekdays label{font-size:12px}.editor-weekdays input{accent-color:var(--red)}

/* Batch 4 — capture-first workspace. Existing controls and data behavior preserved. */
html{scroll-behavior:smooth}body{background:radial-gradient(ellipse at 100% 0%,#250e17 0%,transparent 40%),#08090d}.shell{max-width:1240px;padding-top:35px}.intro{margin-bottom:20px}.intro h1{font-size:clamp(2.6rem,5vw,4rem);line-height:1.08;margin:7px 0 12px}.brand-dot{color:var(--red)}.intro-actions{display:flex;align-items:center;gap:16px}.quick-link{font-size:13px;white-space:nowrap}.intro .eyebrow{color:#ff7079}.overline{font-weight:850;font-size:10px;letter-spacing:2px;color:#ff606b}.capture{padding:28px 30px;border-color:#4b2830;background:linear-gradient(150deg,#191920,#101117 75%);box-shadow:0 18px 60px rgba(0,0,0,.18)}.capture-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.capture-top label{display:block;font-size:21px;font-weight:790;margin-top:6px}.capture textarea{border-bottom:0;padding:18px 0 10px;min-height:106px;font-size:18px;line-height:1.5}.capture textarea::placeholder{color:#7e828f}.capture-bottom{margin:9px 0 0;align-items:center}.capture-type-switch{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.type-chip{background:#232530;color:#d8d9e0;border:1px solid #383b47;border-radius:25px;padding:8px 14px;font-size:13px;font-weight:650}.type-chip.selected{color:#fff;border-color:#a63a48;background:#45212b}.type-chip:hover{border-color:#ff6470}.capture-options{margin-top:12px;border-top:1px solid #303039;padding-top:10px}.capture-options summary{cursor:pointer;font-size:13px;color:#c4c5cf;list-style:none;display:flex;gap:10px;align-items:center}.capture-options summary::before{content:'+';color:#ff6b75;font-weight:900;font-size:18px}.capture-options[open] summary::before{content:'−'}.capture-options .fields{margin-top:14px}.capture-tip{margin:12px 0 0;color:#9295a1;font-size:12px}.capture-tip kbd,.search-wrap kbd{padding:1px 5px;border:1px solid #474957;border-radius:4px;font:inherit}.capture-tip strong{color:#e2c1c5}.workspace{margin-top:23px;grid-template-columns:205px minmax(0,1fr);gap:16px}.sidebar{padding:18px;background:#101118}.side-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.sidebar h2{margin:0;font-size:15px}.filters{gap:4px}.filter{font-size:14px;padding:9px 12px;border-radius:9px}.tags-section{margin-top:18px}.sidebar .hint{line-height:1.5}.sidebar .export{margin-top:10px}.feed{background:#101118;padding:25px 28px}.feed-header h2{font-size:22px;margin:5px 0}.feed-header h2 span{font-size:14px;font-weight:650}.search-wrap{display:flex;gap:8px;align-items:center;background:#191c26;border:1px solid #3c404b;padding:0 14px;border-radius:12px;margin-top:18px}.search-wrap>span{font-size:24px;color:#ff606b}.search-wrap input{flex:1;width:100%;min-width:0;border:0!important;background:transparent!important;padding:15px 0!important;outline:none!important}.search-wrap kbd{color:#9295a1;font-size:12px}.items{margin-top:20px}.item{background:#191b24;border-color:#30313a;border-radius:14px;transition:border-color .15s}.item:hover{border-color:#655059}.item-body{font-size:15px}.item-controls{margin-top:13px}.item-meta{color:#a7a8b4}.checklist-panel{margin-top:24px;background:#101118;scroll-margin-top:20px}.feed{scroll-margin-top:20px}.capture{scroll-margin-top:20px}.checklist-panel .feed-header h2{margin:4px 0}.small-button,.filter,.ghost{transition:background-color .15s,border-color .15s}.type-chip:focus-visible,.quick-link:focus-visible,.filter:focus-visible{outline:2px solid #ff7781;outline-offset:2px}
@media(max-width:850px){.workspace{grid-template-columns:1fr}.sidebar{padding:15px}.sidebar .filters{display:flex;overflow-x:auto;gap:5px;padding-bottom:5px;scrollbar-width:thin}.sidebar .filter{flex:0 0 auto;white-space:nowrap}.side-heading{margin-bottom:8px}.sidebar .tags-section{margin-top:10px;border-top:1px solid #242631;padding-top:12px}.sidebar .export{width:auto;margin-right:8px}.sidebar .hint{display:none}.intro-actions{flex-wrap:wrap;justify-content:flex-end}.feed{padding:20px}}
@media(max-width:600px){.shell{padding-top:22px}.intro{align-items:flex-start;gap:8px}.intro h1{font-size:2.5rem}.intro-actions{align-items:flex-end;gap:7px}.intro-actions .quick-link{font-size:12px;padding:7px}.capture{padding:19px}.capture-top .small{display:none}.capture textarea{min-height:90px}.capture-bottom{flex-direction:column;align-items:stretch}.capture-type-switch{justify-content:flex-start}.type-chip{padding:8px 12px}.capture-bottom .primary{width:100%}.feed-header{align-items:stretch}.search-wrap{margin-top:13px}.search-wrap input{min-width:0}.feed-header h2{font-size:20px}.checklist-panel{padding:19px}}
