#agent-launcher{position:fixed;right:20px;bottom:92px;z-index:45}#agent-launcher button{box-shadow:0 5px 22px #453c2624;border:2px solid #a07443;background:#fffaf0;color:#513e26;font-size:18px;min-height:52px}#agent-panel{width:min(620px,calc(100vw - 20px));height:min(850px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #cab49a;border-radius:22px;color:#3c3026;background:#fffaf1;overflow:hidden}#agent-panel[open]{display:flex;flex-direction:column}#agent-panel::backdrop,.agent-memory-dialog::backdrop{background:#29271e75}.agent-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e4d6c4}.agent-head h2{margin:2px 0;font-size:26px}.agent-eyebrow{font-size:14px;color:#785d43}.agent-scroll{overflow:auto;overscroll-behavior:contain;flex:1;padding:18px 20px;min-height:80px}#agent-message{font-size:24px;line-height:1.65;white-space:pre-wrap;margin-top:0}.agent-selected,.agent-result,.agent-confirmation{background:#f4ebdc;border-radius:14px;padding:16px;margin:12px 0;overflow-wrap:anywhere}.agent-selected p,.agent-confirmation p{font-size:21px;line-height:1.65;white-space:pre-wrap}.agent-confirmation{border:2px solid #897043;background:#fff}#agent-details{margin:20px 0;font-size:16px}#agent-details summary{min-height:48px;display:flex;align-items:center;cursor:pointer}#agent-progress small{display:block;overflow-wrap:anywhere}.agent-compose{padding:10px 20px 16px;border-top:1px solid #e4d6c4;background:#fffaf1}.agent-compose label{font-size:16px;display:block;margin-bottom:6px}.agent-compose textarea{width:100%;box-sizing:border-box;font-size:22px;min-height:70px;max-height:160px;border:1px solid #a89276;border-radius:12px;padding:8px}.agent-controls,.agent-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}#agent-panel button,.agent-memory-dialog button{min-height:48px;font-size:18px;padding:10px 15px}#agent-panel [data-agent="stop"]{border:2px solid #963e33;color:#84372e;background:#fff}#agent-panel [data-agent="approve"]{background:#62513c;color:#fff}#agent-error{margin:0;color:#8d3129;font-size:16px}.agent-memory-dialog{width:min(600px,calc(100vw - 24px));max-height:85dvh;overflow:auto;padding:22px;border:1px solid #cab49a;border-radius:18px;background:#fffaf1}.agent-memory-dialog label{display:block;margin:14px 0;font-size:20px}.agent-member{min-height:48px;padding:10px;background:#eee7dc}.agent-member input{width:22px;height:22px;margin-right:14px}body[data-mode="family"] #agent-panel,body[data-mode="family"] .agent-compose{background:#f2f5f4;color:#33464a}body[data-mode="family"] #agent-message{font-size:20px}body[data-mode="family"] .agent-selected{background:#dfe8e7}button:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a36722;outline-offset:3px}@media(max-width:480px){#agent-launcher{right:12px;bottom:88px}#agent-panel{height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);width:calc(100vw - 12px);border-radius:16px}.agent-head{padding:10px 12px}.agent-compose{padding:8px 12px}.agent-scroll{padding:12px}.agent-selected p,.agent-confirmation p{font-size:20px}.agent-compose textarea{min-height:60px}.agent-controls button{flex:1;padding:8px!important;font-size:17px!important}.agent-shortcuts{display:none}}
.agent-reminder{max-width:300px;background:#fffaf1;border:1px solid #be9c76;border-radius:16px;padding:10px;box-shadow:0 6px 22px #30231020}.agent-reminder>div{display:flex;gap:6px;margin-top:8px}.agent-reminder>div button{font-size:14px!important;box-shadow:none!important;padding:6px!important;flex:1}
