#todo-toggle{position:fixed;top:calc(40% + 60px);transform:translateY(-50%);right:env(safe-area-inset-right,0px);z-index:22;display:grid;place-items:center;width:44px;height:52px;border:1px solid #6941b3;border-right:0;border-radius:14px 0 0 14px;background:#6941b3;color:#fff;padding:0}
#todo-toggle svg{width:21px;height:21px}#todo-toggle:hover,#todo-toggle[aria-expanded=true]{background:#4d2478}#todo-count{position:absolute;left:-5px;top:-5px;min-width:18px;padding:2px 4px;border-radius:10px;background:#f4e5a1;color:#4d2478;font-size:10px;line-height:14px;font-weight:700}
#todo-panel{position:fixed;z-index:23;top:50%;right:max(54px,env(safe-area-inset-right));width:min(380px,calc(100vw - 72px));max-height:calc(100dvh - 40px);overflow:auto;padding:22px;background:#fdfbf9;border:1px solid #dfd1eb;border-radius:16px;box-shadow:-8px 16px 48px #1b163020;transform:translate(calc(100% + 64px),-50%);opacity:0;visibility:hidden;transition:transform .32s cubic-bezier(.22,1,.36,1),opacity .22s,visibility .32s;overscroll-behavior:contain;scrollbar-width:thin}
#todo-panel.is-open{transform:translate(0,-50%);opacity:1;visibility:visible}.todo-heading{display:flex;align-items:center;gap:10px}.todo-heading h2{margin:0;flex:1;font-family:Georgia,serif;font-size:23px;font-weight:400}.todo-heading button{border:0;background:transparent;color:#75568f;width:36px;height:36px;border-radius:8px;font-size:24px;flex-shrink:0}
#todo-empty,#todo-benefit{font-size:12px;line-height:1.6;color:#72617d;margin:14px 0}#todo-items{list-style:none;padding:0;margin:8px 0 16px;counter-reset:todo}#todo-items>li{counter-increment:todo;border-bottom:1px solid #e6ddeb;padding:16px 0}#todo-items h3{font-size:14px;line-height:1.45;margin:4px 0 8px;color:#442563;overflow-wrap:anywhere}#todo-items h3::before{content:counter(todo) '. ';color:#8d6ba7}.todo-kind{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#775a8e}.todo-brief{font-size:12px;line-height:1.6;margin:0 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}.todo-branch{display:block;margin-bottom:10px;color:#72617d;font-size:11px}
.todo-outcome{border-left:2px solid #b7a2ff;background:#f2ebf9;padding:9px 11px;border-radius:0 9px 9px 0}.todo-outcome strong{font-size:11px;font-weight:600;color:#6941b3}.todo-outcome p{font-size:12px;line-height:1.5;margin:4px 0 0}.todo-remove{border:0;background:transparent;color:#7b677f;font-size:11px;min-height:32px;padding:6px 0;margin-top:6px}
#todo-download{border:0;border-radius:10px;background:#6941b3;color:#fff;min-height:42px;padding:9px 15px;font-size:13px;font-weight:600;width:100%}#todo-account{display:block;text-align:center;font-size:12px;margin-top:12px;color:#6941b3;text-decoration:underline;text-underline-offset:3px}#todo-error,#todo-output-error{color:#864b3f;font-size:12px;line-height:1.5}#todo-error:empty,#todo-output-error:empty{display:none}
#guest-idea-shelf .rethink-carousel-card{position:relative}#guest-idea-shelf .rethink-carousel-card h3{padding-right:26px}#guest-idea-shelf .rethink-carousel-card>.guest-save-idea{position:absolute;right:7px;top:6px;display:grid;place-items:center;width:28px;min-height:28px;height:28px;padding:0;margin:0;border:1px solid #cbb5e5;background:#fff8;color:#6941b3;border-radius:8px}#guest-idea-shelf .guest-save-idea svg{width:16px;height:16px}
#todo-output-dialog{width:min(560px,calc(100vw - 30px));max-height:calc(100dvh - 30px);padding:20px;overflow:auto}#todo-output-dialog h2{font-size:25px}#todo-output-name{font-size:13px;line-height:1.5;color:#75568f;margin:8px 0 16px}#todo-output-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#todo-output-options button{text-align:left;display:flex;flex-direction:column;gap:6px;padding:12px;border:1px solid #dfd1eb;border-radius:12px;background:#f3ecfa;color:#442563}#todo-output-options strong{font-size:13px}#todo-output-options span{font-size:11px;line-height:1.5;font-weight:400;color:#72617d}
@media(max-width:480px){#todo-panel{padding:16px}#todo-output-options{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#todo-panel{transition:none}}
