:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e5e7eb;background:transparent}*{box-sizing:border-box}body{margin:0;min-width:320px;color:#e5e7eb}.bg-pattern{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#e8f6ff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cdefs%3E%3Cpattern id='p' width='100' height='100' patternUnits='userSpaceOnUse' patternTransform='scale(0.25)'%3E%3Ccircle data-color='outline' fill='none' stroke='%23828D99' stroke-width='25' cx='50' cy='50' r='.5'%3E%3C/circle%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23p)' width='100%25' height='100%25'%3E%3C/rect%3E%3C/svg%3E");background-size:cover;background-position:center center;background-repeat:repeat;opacity:.08}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh;min-height:100svh;min-height:100dvh;padding:0}.legacy-shell{position:relative;min-height:100vh;min-height:100svh;min-height:100dvh;overflow:hidden;background:#e8f6ff;padding-bottom:env(safe-area-inset-bottom,0px)}.legacy-loading{position:absolute;top:0;right:0;bottom:0;left:0;background:#e8f6ff;z-index:1}.legacy-frame{display:block;width:100%;min-height:100vh;min-height:100svh;min-height:100dvh;height:100vh;height:100svh;height:100dvh;border:0;background:#e8f6ff}.panel{background:#0f172ac7;border:1px solid rgba(148,163,184,.18);border-radius:16px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 16px 40px #02061747}.auth-card{max-width:420px;margin:64px auto 0;padding:24px;background:#0f172ad9;border:1px solid rgba(148,163,184,.18);border-radius:16px}.auth-screen{position:relative;min-height:100vh;min-height:100svh;min-height:100dvh;display:grid;place-items:center;padding:28px;padding-bottom:calc(28px + env(safe-area-inset-bottom,0px));overflow:hidden}.auth-bg-pattern{z-index:0}.auth-card-minimal{position:relative;z-index:1;width:min(860px,100%);margin:0;padding:clamp(24px,5vw,48px);border-radius:24px;border:3px solid #373534;background:#f9f3e5;box-shadow:8px 8px #373534}.auth-brand-block{display:grid;justify-items:center;text-align:center;gap:0;margin-bottom:clamp(28px,6vw,44px)}.auth-logo{width:240px;height:auto;display:block;margin-bottom:20px}.auth-subtitle{margin:0;color:#5f5b59;font-size:clamp(1rem,2vw,1.2rem);max-width:28ch;font-weight:600}.auth-form{margin:0 auto;display:grid;gap:12px;padding:0;width:min(760px,100%)}input,select,textarea{width:100%;border-radius:12px;border:3px solid #373534;background:#fff;color:#373534;padding:10px 12px}textarea{resize:vertical}.btn{border:3px solid #373534;border-radius:12px;padding:9px 12px;cursor:pointer;color:#373534}.btn.primary{background:#b6ece4;color:#373534}.btn.secondary{background:#1e293bf2;color:#e2e8f0}.btn:disabled{opacity:.65;cursor:not-allowed}.link-btn{margin:10px 18px 18px;background:none;border:none;color:#373534;cursor:pointer;padding:0;text-decoration:underline}.error-text{color:#991b1b;margin:14px auto 0;width:min(760px,100%);background:#fef2f2;border:1px solid #fecaca;border-radius:14px;padding:10px 12px}.google-signin-btn{width:100%;min-height:74px;border-radius:16px;border:3px solid #373534;background:#d0f4f0;color:#373534;display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:16px 20px;font-size:clamp(1.05rem,2vw,1.25rem);font-weight:600;cursor:pointer;transition:background-color .15s ease,transform .15s ease,box-shadow .15s ease;box-shadow:4px 4px #373534}.google-signin-btn:hover:not(:disabled){background:#bceee8}.google-signin-btn:active:not(:disabled){transform:translate(2px,2px);box-shadow:2px 2px #373534}.google-signin-btn:disabled{opacity:.7;cursor:progress}.google-g{font-weight:800;font-size:1.8rem;line-height:1;background:linear-gradient(45deg,#ea4335 0,#ea4335 25%,#fbbc05 25%,#fbbc05 50%,#34a853 50%,#34a853 75%,#4285f4 75%,#4285f4);-webkit-background-clip:text;background-clip:text;color:transparent}.auth-legal{margin:clamp(28px,6vw,40px) auto 0;width:min(760px,100%);text-align:center;color:#5f5b59;font-size:clamp(.95rem,1.8vw,1.05rem);line-height:1.4}.auth-legal a{color:#373534;text-underline-offset:2px}.auth-legal a:hover{color:#373534}@media (max-width: 640px){.auth-card-minimal{border-radius:18px;padding:22px 16px;box-shadow:6px 6px #373534}.google-signin-btn{min-height:62px;border-radius:16px;font-size:1rem;gap:10px}.google-g{font-size:1.5rem}.auth-logo{width:min(180px,62vw);margin-bottom:16px}}.todo-layout{display:grid;grid-template-columns:1.2fr 340px;gap:16px}.composer{grid-column:1 / -1;padding:16px}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.panel-header h2{margin:0}.stats{display:flex;flex-wrap:wrap;gap:8px}.stats span{background:#1e293bcc;border:1px solid rgba(148,163,184,.18);padding:6px 10px;border-radius:999px;font-size:.85rem}.composer-form{margin-top:14px;display:grid;grid-template-columns:minmax(0,1fr) 165px 180px auto;gap:10px}.toolbar{margin-top:14px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.segmented{display:flex;gap:6px;flex-wrap:wrap}.auth-mode-switch{padding:14px 18px 0}.segmented button,.project-filters button{background:#f0f0f0;color:#373534;border:2px solid #373534;border-radius:10px;padding:8px 10px;cursor:pointer}.segmented button.active,.project-filters button.active{background:#e4bfd1;border-color:#373534;color:#373534}.legacy-btn{box-shadow:3px 3px #373534}.toolbar-actions{display:flex;flex-wrap:wrap;gap:8px}.sidebar{padding:14px;align-self:start;position:sticky;top:12px}.sidebar h3{margin:0 0 10px}.project-filters{display:grid;gap:8px}.project-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.ghost-danger{border:1px solid rgba(248,113,113,.25);background:#7f1d1d40;color:#fca5a5;border-radius:8px;padding:0 10px;cursor:pointer}.project-form{margin-top:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.todo-list-panel{padding:14px}.todo-list{display:grid;gap:12px}.todo-card{border:1px solid rgba(148,163,184,.18);border-radius:14px;padding:12px;background:#0f172aa6}.todo-card.done h4{text-decoration:line-through;color:#94a3b8}.todo-main{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px}.check-wrap{padding-top:3px}.check-wrap input{width:18px;height:18px}.todo-content{min-width:0}.todo-title-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.todo-title-row h4{margin:0;font-size:1rem;min-width:0}.tag{border-radius:999px;font-size:.75rem;padding:4px 8px;background:#1e293be6;border:1px solid rgba(148,163,184,.18);color:#cbd5e1}.tag.danger{color:#fecaca;border-color:#f8717133;background:#7f1d1d3d}.todo-desc{margin:8px 0 0;color:#cbd5e1;white-space:pre-wrap}.todo-actions{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap}.todo-editor{display:grid;gap:8px}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.inline-check{display:flex;align-items:center;gap:8px;color:#cbd5e1}.inline-check input{width:16px;height:16px}.empty-state{border:1px dashed rgba(148,163,184,.2);border-radius:14px;padding:24px;text-align:center;color:#94a3b8}@media (max-width: 1040px){.todo-layout{grid-template-columns:1fr}.sidebar{position:static}}@media (max-width: 780px){.app-shell{padding:0}.composer-form{grid-template-columns:1fr}.panel-header{flex-direction:column;align-items:flex-start}}
