*{box-sizing:border-box} :root{color-scheme:dark;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#171717;color:#eee}body{margin:0;font-size:15px}button,input,textarea{font:inherit}button,a,summary{cursor:pointer}button{color:inherit;background:transparent;border:0;border-radius:10px;padding:10px 14px}button:hover{background:#303030}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #9cbaff}textarea:focus{outline:none}a{color:inherit;text-decoration:none}[hidden]{display:none!important}main{min-height:100dvh;display:flex;flex-direction:column}header{height:72px;padding:16px 24px;display:flex;align-items:center;gap:12px}header>div{flex:1}header strong{font-size:17px;letter-spacing:.06em}header small{display:block;color:#8f8f8f;font-size:11px;margin-top:4px}.secondary{color:#999;font-size:13px}#sidebar{position:fixed;inset:0 auto 0 0;width:280px;background:#111;z-index:5;padding:28px 18px;display:none;box-shadow:8px 0 30px #0008}#sidebar.open{display:block}#sidebar.open~main #menu{position:relative;z-index:6;margin-left:265px}.brand{display:flex;gap:12px;align-items:center;margin-bottom:30px}.brand small,.aside-bottom{display:none}.mark{font-size:28px}.primary{background:#ececec;color:#171717}#history{display:grid;gap:5px;max-height:65vh;overflow:auto}#history button{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#aaa}#history .active{background:#292929;color:#fff}.label{color:#777;font-size:11px;margin:26px 10px 12px}#messages{width:min(760px,100%);margin:0 auto;padding:25px 24px;flex:1}.empty-chat #messages{flex:0;margin-top:clamp(40px,16vh,180px);padding-bottom:30px}.welcome{text-align:center}.welcome h1{font-size:clamp(28px,5vw,38px);font-weight:500;letter-spacing:-1px;margin:0}.message{line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 30px}.message.user{background:#303030;border-radius:22px;padding:14px 20px;margin-left:auto;max-width:85%;width:fit-content}.author{display:block;color:#888;font-size:11px;margin-bottom:6px}.message.user .author{display:none}footer{width:min(760px,100%);margin:0 auto;padding:0 24px 28px}#composer{background:#262626;border:1px solid #383838;border-radius:24px;padding:16px}#prompt{display:block;width:100%;resize:none;max-height:200px;min-height:64px;border:0;color:#eee;background:transparent;line-height:1.5;padding:3px 4px;font-size:16px}#prompt::placeholder{color:#999}.composer-actions{display:flex;align-items:center;gap:8px}.attach{color:#a0a0a0;padding:7px;font-size:13px}.composer-actions #voice-status{flex:1;color:#aaa;font-size:12px}#send{background:#eee;color:#171717;font-size:24px;width:38px;height:38px;border-radius:50%;padding:0}#microphone{width:38px;height:38px;padding:8px}#microphone.recording{background:#963637;color:white}#activity{padding:26px 5px;color:#aaa;font-size:13px;line-height:1.6}.activity-heading{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#666;margin-bottom:8px}#current-tasks p{margin:6px 0}#recurring{margin-top:20px;color:#777}#recurring summary{width:fit-content}#recurring-tasks p{margin:8px 0}#working,#error{width:min(712px,calc(100% - 48px));margin:0 auto 16px;color:#aaa;font-size:13px}#error{color:#ffb5b5}#tasks-panel,#status-panel{width:min(712px,calc(100% - 48px));margin:12px auto 24px;padding:24px;background:#222;border:1px solid #333;border-radius:20px;line-height:1.6}#tasks-panel h2,#status-panel h2{font-size:20px}#tasks-panel p,#status-panel p{color:#aaa;font-size:13px}#agent-task{width:100%;padding:12px;border:1px solid #444;border-radius:12px;background:#171717;color:#eee}#agent-results article{border-top:1px solid #363636;padding:16px 0}#agent-results small{color:#888}#task-board{max-height:300px;overflow:auto}#attachment{font-size:12px;color:#aaa;margin-bottom:10px}.remove-file{font-size:12px}.pulse{display:inline-block;width:6px;height:6px;border-radius:50%;background:#ccc;margin-right:7px}body:not(.empty-chat) footer{position:sticky;bottom:0;background:#171717}body:not(.empty-chat) #activity{padding-top:14px;padding-bottom:0}body:not(.empty-chat) #recurring{margin-top:8px}@media(max-width:600px){header{padding:12px;height:64px}header small{max-width:170px}header .secondary{padding:8px}.empty-chat #messages{margin-top:15vh}footer{padding:0 14px 20px}#messages{padding:24px 18px}#tasks-panel,#status-panel{padding:18px}.attach{font-size:12px}#sidebar.open~main #menu{margin-left:230px}#sidebar{width:250px}}

#attachment{display:flex;flex-wrap:wrap;gap:8px}.attachment-chip{display:flex;align-items:center;gap:8px;background:#333;padding:6px 10px;border-radius:12px;max-width:100%}.attachment-chip span{overflow:hidden;text-overflow:ellipsis;max-width:240px}.attachment-chip img{width:42px;height:42px;object-fit:cover;border-radius:6px}.message-file{display:block;font-size:13px;color:#bbb;margin-top:12px;overflow-wrap:anywhere}.message-file img{display:block;max-width:min(320px,100%);max-height:260px;border-radius:12px;margin-bottom:7px}