:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202b40;background:#f5f7fb;font-synthesis:none}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #7e8fe4;outline-offset:2px}.hidden{display:none!important}
main{max-width:1130px;margin:0 auto;padding:39px 29px 55px}.top{display:flex;align-items:center;justify-content:space-between;gap:18px}.top h1{font-size:39px;line-height:1.1;letter-spacing:-1.9px;margin:6px 0}.small-dot{color:#348b7e}.eyebrow{color:#8892a4;font-size:10px;font-weight:800;letter-spacing:2.3px}.top p{color:#7f8a9c;font-size:14px;margin:9px 0}.top-right{display:flex;align-items:center;gap:13px}.count-pill{padding:11px 14px;background:#fff;border:1px solid #e6eaf2;border-radius:25px;font-size:13px;font-weight:750;white-space:nowrap;box-shadow:0 3px 14px #22344c07}.lock-btn,.link-button{border:0;background:transparent;color:#748196;font-size:13px;font-weight:650;padding:8px}.lock-btn:hover,.link-button:hover{color:#1f2e46}
.progress-track{height:6px;border-radius:12px;background:#e7ebf1;margin:26px 0;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#34a091,#7ecab1);border-radius:12px;transition:width .22s;width:0}
.capture{background:#fff;border:1px solid #e5e9f1;border-radius:18px;padding:11px 12px;display:flex;align-items:center;gap:12px;box-shadow:0 9px 35px #1d33570a;margin:25px 0 23px}.plus-icon{font-size:25px;color:#92a0b4;padding-left:8px}.capture input{min-width:0;flex:1;border:0;padding:12px 6px;color:#263344;outline:none;font-size:15px}.capture input::placeholder{color:#9ca6b5}.capture select{background:#f7f9fc;border:1px solid #e7eaf2;border-radius:10px;padding:10px;color:#4c5a70;font-size:13px;outline:none}.add-btn,.primary{background:#222e46;color:#fff;border:0;border-radius:11px;padding:12px 19px;font-size:13px;font-weight:750}.add-btn:hover,.primary:hover{background:#354361}
.grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.panel{background:#fff;border:1px solid #e7ebf3;border-radius:19px;box-shadow:0 12px 38px #1d365609;overflow:hidden;min-width:0}.panel-head{padding:24px 24px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-title{display:flex;gap:10px;align-items:center}.panel-title h2{font-size:20px;margin:0;letter-spacing:-.5px}.panel-icon{width:29px;height:29px;display:flex;align-items:center;justify-content:center;border-radius:9px;font-weight:800;font-size:20px}.house-icon{background:#e7f5f2;color:#137d75}.business-icon{background:#eeedff;color:#6155c6}.pending-count{font-size:12px;color:#8892a5;white-space:nowrap}.tasks-scroll{height:350px;overflow-y:auto;overscroll-behavior:contain;padding:0 18px}.tasks-scroll::-webkit-scrollbar{width:7px}.tasks-scroll::-webkit-scrollbar-thumb{border-radius:9px;background:#e7eaf0}.task{display:flex;align-items:flex-start;gap:10px;border-bottom:1px solid #f0f2f6;padding:13px 5px 15px}.task:last-child{border-bottom:0}.task-check{flex:none;margin:3px 0 0;appearance:none;border:1.5px solid #aab5c4;border-radius:6px;width:19px;height:19px;cursor:pointer;position:relative}.task-check:checked{background:#258c7f;border-color:#258c7f}.task-check:checked:after{content:'✓';color:#fff;font-size:13px;position:absolute;left:3px;top:-1px}.task-text{font-size:14px;line-height:1.5;flex:1;min-width:0;overflow-wrap:anywhere;color:#35425a}.task-number{font-size:13px;color:#8e9aac;font-weight:750;margin-right:6px}.important{color:#b37b17;font-size:10px;font-weight:800;display:inline-block;white-space:nowrap;margin-left:5px}.task-action{border:0;background:transparent;color:#9ba5b4;min-width:22px;font-size:17px;padding:1px 3px}.task-action:hover{color:#485773}.panel-foot{border-top:1px solid #edf0f6;padding:15px 24px;font-size:12px;color:#96a0ae}.empty{padding:50px 15px 30px;text-align:center;color:#94a0ae;font-size:13px}.empty:before{content:'✓';display:block;font-size:25px;color:#6cb5a6;margin-bottom:10px}
.archive{margin-top:22px;display:grid;gap:9px}.archive details{background:#fff;border:1px solid #e8ebf3;border-radius:14px;overflow:hidden}.archive details summary{list-style:none;display:flex;gap:10px;align-items:center;padding:16px 18px;cursor:pointer}.archive details summary::-webkit-details-marker{display:none}.archive-label{font-weight:750;font-size:13px}.muted-label{color:#8290a2}.archive-count{font-size:12px;color:#9aa5b4}.chevron{margin-left:auto;color:#8995a6;font-size:20px;transition:transform .15s}details[open] .chevron{transform:rotate(180deg)}.archive-body{border-top:1px solid #eff2f7;padding:5px 18px 15px}.archive-item{display:flex;align-items:center;gap:11px;padding:12px 3px;border-bottom:1px solid #f1f3f7;line-height:1.4}.archive-item:last-child{border:0}.archive-item label{flex:1;font-size:13px;color:#788398;overflow-wrap:anywhere}.archive-item .task-number{color:#9ba5b2}.archive-item button{background:transparent;border:0;color:#73829b;padding:6px;font-size:12px}.archive-item button:hover{color:#24324b}.archive-item input{accent-color:#248b7e;width:17px;height:17px;cursor:pointer}.archive-item .group-name{font-size:10px;text-transform:uppercase;color:#a6aebb;font-weight:800;letter-spacing:1px}.archive-empty{color:#9ca5b2;font-size:13px;padding:15px 4px}
.bottom{display:flex;align-items:center;gap:14px;margin-top:20px;color:#9aa4b2}.sync-text{font-size:12px}.bottom-right{font-size:11px;margin-left:auto}.link-button{font-size:12px}
.gate{min-height:90vh;display:grid;place-items:center;padding:25px}.auth-card{background:white;border:1px solid #e7ebf3;border-radius:22px;box-shadow:0 16px 60px #21334f0e;padding:33px;width:min(100%,430px)}.brand-icon{width:45px;height:45px;border-radius:15px;background:#e7f5f0;color:#128678;font-size:25px;display:grid;place-items:center;font-weight:bold}.auth-card h1{font-size:30px;letter-spacing:-1px;margin:19px 0 5px}.subhead{margin:0 0 25px;color:#8b96a8;font-size:14px}.auth-card h2{font-size:17px;margin:0 0 4px}.auth-card p{color:#8490a0;font-size:13px;line-height:1.5}.auth-card label{display:block;margin:19px 0 7px;color:#536075;font-size:13px;font-weight:650}.auth-card input{display:block;width:100%;border:1px solid #dfe5ee;background:#fdfefe;padding:13px 14px;border-radius:10px;color:#26344a}.auth-card button{width:100%;margin-top:20px}.message{font-size:12px;color:#af4444;min-height:18px;margin-top:13px;line-height:1.4}
@media(max-width:720px){main{padding:23px 14px 48px}.top h1{font-size:32px}.eyebrow{font-size:9px}.top p{font-size:12px}.count-pill{font-size:12px;padding:9px}.top-right{gap:3px}.capture{flex-wrap:wrap;gap:7px}.capture input{flex:1 0 calc(100% - 50px);font-size:14px}.capture select{flex:1}.capture button{flex:1}.grid{grid-template-columns:1fr;gap:16px}.tasks-scroll{height:min(300px,38vh)}.panel-head{padding:19px 20px 14px}.panel-foot{padding:14px 20px}.bottom-right{display:none}}


/* Integrated task chat: deliberately compact and private */
.chat-shell{background:#fff;border:1px solid #dce7e9;border-radius:18px;margin:0 0 23px;box-shadow:0 9px 32px #24324b07;overflow:hidden}
.chat-top{display:flex;align-items:center;justify-content:space-between;padding:13px 18px 10px}
.chat-identity{display:flex;align-items:center;gap:9px;color:#26384c;font-size:13px}
.chat-spark{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:#e8f8f3;color:#16877a;font-weight:900;font-size:17px}
.chat-online{font-size:11px;color:#93a0ae;font-weight:500}
.chat-log{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:52px;max-height:190px;overflow-y:auto;padding:0 18px 12px;overscroll-behavior:contain}
.chat-bubble{font-size:13px;line-height:1.5;padding:10px 12px;border-radius:13px;max-width:95%;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-bubble.assistant{color:#496079;background:#f3f6fa;border-top-left-radius:5px}
.chat-bubble.user{color:#fff;background:#1c8278;align-self:flex-end;border-bottom-right-radius:5px}
.chat-bubble.error{color:#973e41;background:#fff1f0}
.chat-composer{display:flex;align-items:center;gap:10px;padding:11px 13px 13px;background:#fbfcfe;border-top:1px solid #eef1f6}
.chat-composer input{border:0;outline:0!important;background:transparent;min-width:0;flex:1;color:#26364d;padding:9px 5px;font-size:14px}
.chat-composer input::placeholder{color:#9aa4b4}
.chat-composer button{border:0;color:#fff;background:#1d897c;border-radius:11px;padding:11px 17px;font-size:12px;font-weight:760;white-space:nowrap}
.chat-composer button:hover{background:#116c62}
.chat-composer button:disabled{opacity:.48;cursor:wait}
@media(max-width:720px){.chat-identity{gap:7px}.chat-online{font-size:10px}.chat-log{max-height:150px;padding:0 12px 9px}.chat-composer{padding:8px 9px 10px;gap:4px}.chat-composer input{font-size:13px}.chat-composer button{padding:11px 12px}}


/* Chat-first Quicklist: no dashboard counters, no login-status chrome */
.top{padding-bottom:23px;align-items:flex-start}
.top h1{font-size:clamp(25px,3.2vw,38px);letter-spacing:-1.35px;max-width:730px;margin:9px 0 8px}
.top p{margin-top:0;font-size:13px;color:#8591a2}
.top .lock-btn{border-radius:10px;margin-top:4px;color:#8f9aac;font-size:12px;font-weight:600;white-space:nowrap;padding:8px 10px}
.top .lock-btn:hover{background:#e9eef3;color:#334155}
.chat-shell{border:1px solid #e1e8f0;border-radius:22px;margin:0 0 27px;box-shadow:0 14px 45px #1a2a4608}
.chat-top{padding:17px 21px 12px}
.chat-identity{font-size:13px;color:#334155;gap:10px}
.chat-online{margin-left:4px;color:#98a4b3;font-size:12px}
.chat-spark{width:30px;height:30px;border-radius:11px;font-size:19px}
.chat-log{min-height:235px;max-height:min(440px,50vh);padding:10px 22px 26px;gap:16px;scroll-behavior:smooth}
.chat-bubble{padding:13px 16px;max-width:min(86%,690px);font-size:14px;line-height:1.6;border-radius:16px}
.chat-bubble.assistant{background:#f4f6fa;color:#34435a;border-top-left-radius:5px}
.chat-bubble.user{background:#2b8c7f;color:#fff;border-bottom-right-radius:5px}
.chat-composer{background:#fbfcff;gap:9px;padding:12px 16px;border-top:1px solid #edf0f5}
.chat-composer textarea{border:0;outline:none!important;resize:none;background:transparent;min-height:42px;max-height:144px;overflow-y:auto;color:#22354c;flex:1;min-width:0;padding:11px 7px 8px;font:inherit;font-size:14px;line-height:1.35}
.chat-composer textarea::placeholder{color:#a0a9b8}
.chat-composer button{height:39px;min-width:39px;border-radius:13px;font-size:17px;padding:8px 10px}
.chat-composer .voice-btn{background:#eef4f5;color:#527477;font-size:18px}
.chat-composer .voice-btn:hover{background:#d9eae8}
.chat-composer .voice-btn.listening{background:#fff1eb;color:#bd5738;box-shadow:inset 0 0 0 1px #e5b2a8}
.chat-hint{padding:0 20px 14px;background:#fbfcff;color:#9ba7b5;font-size:10px;text-align:right}
.grid{margin-top:9px}
.panel-head{padding-top:19px}
.archive{margin-top:22px}
.bottom{margin-top:18px;min-height:24px}
.reset-hint{font-size:12px!important;margin:16px 0 0!important;color:#919cad!important}
@media(max-width:720px){
  main{padding:22px 14px 48px}
  .top{gap:8px;padding-bottom:16px}
  .top h1{font-size:25px;line-height:1.2;letter-spacing:-.8px}
  .top p{font-size:12px;max-width:250px;line-height:1.45}
  .top .lock-btn{padding:5px 6px;font-size:11px}
  .chat-top{padding:14px 14px 9px}
  .chat-online{font-size:10px}
  .chat-log{padding:6px 12px 17px;min-height:230px;max-height:43vh;gap:11px}
  .chat-bubble{max-width:94%;font-size:13px;padding:11px 13px}
  .chat-composer{padding:10px 11px;gap:6px}
  .chat-composer textarea{font-size:14px;padding:10px 4px 6px;min-height:38px}
  .chat-composer button{height:38px;min-width:38px;padding:7px 9px}
  .chat-hint{padding:0 12px 12px;font-size:9px}
}
