*{box-sizing:border-box} :root{font-family:Inter,"Pretendard","Noto Sans KR","Segoe UI",sans-serif;color:#272a2d;background:#fff;font-size:14px;--line:#e8e9ec;--muted:#7a8189;--accent:#457665}body{margin:0;line-height:1.6}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:transparent;color:inherit;border-radius:10px;padding:9px 13px}button:hover{background:#f0f2f3}button:disabled{opacity:.42;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a6cfc0;outline-offset:3px}a{color:inherit;text-decoration:none}input,textarea,select{width:100%;border:1px solid #dfe2e5;border-radius:10px;padding:11px;background:white;color:#272a2d}textarea{resize:vertical}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.6px}small{font-size:12px}[hidden]{display:none!important}.muted{color:var(--muted)}.primary{background:#2d5548;color:white;font-weight:600;padding:11px 17px}.primary:hover{background:#396b5b}.secondary{border:1px solid var(--line)}.sidebar{position:fixed;inset:0 auto 0 0;width:216px;padding:26px 15px 16px;background:#f7f8f9;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:11px;padding:0 12px 27px;align-items:center}.brand-icon{font-size:31px;line-height:1;width:35px;height:40px;background:#e1eee8;border-radius:13px;color:#376452;text-align:center;font-family:Georgia,serif;font-style:italic}.brand strong{font-size:22px;letter-spacing:-1px}.brand strong span{display:block;font-size:10px;color:#818a87;letter-spacing:0;font-weight:400}.new-task{border:1px solid #dddfe3;background:white;box-shadow:0 2px 3px #00000003;text-align:left;font-weight:600;margin-bottom:19px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav{text-align:left;font-size:13px;padding:11px 15px}.nav.active{background:#e9eeeb;color:#315d4e;font-weight:600}.sidebar-label{display:flex;justify-content:space-between;align-items:center;color:#8e959b;font-size:11px;margin:24px 12px 6px}.sidebar-label button{padding:1px 5px;font-size:16px}.history{flex:1;overflow:auto}.history>p{font-size:11px;padding:12px}.history button{width:100%;text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;padding:10px 12px;color:#667077}.history button.current{background:#e9eeeb;color:#315d4e}.sidebar-bottom{display:flex;gap:9px;align-items:center;border-top:1px solid var(--line);border-radius:0;text-align:left;padding:17px 5px 0;margin-top:14px}.sidebar-bottom b{display:block;font-size:12px}.sidebar-bottom small{color:#8b9399;font-size:10px}.avatar-mini{display:grid;place-items:center;width:32px;height:32px;background:#e4eee8;border-radius:50%;color:#4b7563}.dot{width:7px;height:7px;border-radius:50%;background:#b4b9bd;margin-left:auto}.dot.connected{background:#65a58a}.workspace{margin-left:216px}header{height:67px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--line);font-size:13px}header>div{display:flex;align-items:center;gap:18px}.private-label{font-size:11px;color:#9ba1a5}.pill{border:1px solid var(--line);font-size:11px;border-radius:20px;padding:6px 12px;color:#6c7672}.mobile-brand,.mobile-tabs{display:none}.work-grid{display:grid;grid-template-columns:minmax(360px,.95fr) minmax(400px,1.3fr);min-height:calc(100vh - 67px)}.conversation-pane{padding:26px 31px 20px;min-width:0}.companion{display:flex;align-items:center;gap:15px;min-height:73px}.companion b{font-size:15px}.companion p{font-size:11px;color:#8c9392;margin-top:3px}.pet{width:59px;height:56px;position:relative;background:#d7e8de;border-radius:45% 45% 43% 43%;flex-shrink:0;transition:background .3s,transform .3s}.ear{position:absolute;top:-5px;width:20px;height:24px;background:inherit;border-radius:70% 50%;z-index:-1}.ear-left{left:3px;transform:rotate(-18deg)}.ear-right{right:3px;transform:rotate(18deg)}.face{position:relative;display:flex;gap:15px;justify-content:center;align-items:center;height:46px;padding-top:5px}.eye{height:5px;width:5px;border-radius:50%;background:#355747}.mouth{position:absolute;width:9px;height:5px;border:1.5px solid #355747;border-top:0;border-radius:0 0 8px 8px;left:25px;top:33px}.pet-spark{position:absolute;right:-11px;top:-10px;color:#7f9c8b;font-size:19px}.pet.working{animation:petBreathe 1.6s ease-in-out infinite}.pet.needs_approval{background:#f3dfb7}.pet.needs_approval .pet-spark{color:#ad874a}.pet.error{background:#edcfc9}.pet.error .mouth{transform:rotate(180deg)}.pet.success{background:#c6e3d1;transform:rotate(-3deg)}.pet.success .eye{height:3px;border-radius:5px;transform:rotate(-8deg)}@keyframes petBreathe{50%{transform:translateY(-5px);box-shadow:0 9px 20px #6e947c22}}.welcome{padding:49px 6px 35px}.eyebrow{font-size:11px;color:#8c9690}.welcome h1{font-size:35px;font-weight:550;line-height:1.48;letter-spacing:-1.5px;margin-top:14px}.welcome p{color:#8c9298;font-size:13px;margin-top:17px}.suggestions{display:flex;flex-direction:column;gap:9px;margin-top:29px;max-width:320px}.suggestions button{border:1px solid var(--line);font-size:12px;text-align:left;padding:11px 14px}.suggestions span{float:right;color:#8d9892}.composer{border:1px solid #dce1dd;border-radius:19px;padding:5px 7px 8px;background:white;box-shadow:0 8px 28px #223b2b05;margin-top:17px}.composer:focus-within{border-color:#90b19f}.composer textarea{border:0;background:transparent;border-radius:13px;padding:14px;min-height:105px;font-size:14px;outline:none}.composer-bottom{display:flex;align-items:center;gap:9px;padding:0 4px}.composer-bottom small{font-size:9px;color:#9b9fa2;flex:1}.composer-bottom .primary{font-size:12px;padding:9px 13px}.composer-bottom .primary span{margin-left:9px}.attach-button{display:flex;gap:6px;color:#8b9690;cursor:pointer;font-size:11px;align-items:center;padding:7px}.attach-button>span:first-of-type{font-size:22px;line-height:1}.task-strip{display:flex;gap:8px;justify-content:space-between;font-size:10px;color:#909895;padding:12px 3px;align-items:center}.task-strip button{font-size:10px;border:1px solid #e4e6e6;padding:5px 8px;white-space:nowrap}.messages{display:flex;flex-direction:column;gap:22px;padding:28px 0 5px;max-height:calc(100vh - 390px);overflow:auto;scrollbar-width:thin}.message{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.message .role{display:block;font-size:10px;color:#99a19b;margin-bottom:6px}.message.user{margin-left:28px;border-radius:15px 15px 3px 15px;background:#f0f4f1;padding:12px 16px}.message.assistant{padding:0 5px 0 2px}.message.pending{color:#8a938c}.result-pane{background:#fafbfa;border-left:1px solid var(--line);min-width:0;display:flex;flex-direction:column}.result-heading{height:65px;padding:23px 27px 15px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.result-heading .muted{font-size:10px}.result-tabs{padding:0 23px;border-bottom:1px solid var(--line);display:flex;gap:19px}.result-tabs button{font-size:12px;color:#8d9494;border-radius:0;padding:9px 4px 13px}.result-tabs button.selected{color:#345b49;border-bottom:2px solid #6c9381}.result-body{padding:28px;overflow:auto;max-height:calc(100vh - 180px)}.empty-result{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:450px;color:#a0a8a3}.empty-icon{font-size:36px;color:#c3cfc7;margin-bottom:21px}.empty-result h2{font-size:15px;font-weight:500;color:#7f8d85}.empty-result p{font-size:12px;line-height:1.9;margin-top:12px}.result-prose{font-size:14px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}.result-meta{color:#86938b;font-size:11px;margin-bottom:17px}.event{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.event time{color:#9a9f9a;font-size:10px;display:block}.event details{margin-top:5px;color:#7a847c}.event pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px}.file-card,.collection-card{border:1px solid var(--line);background:white;border-radius:13px;padding:17px;margin-bottom:12px;overflow-wrap:anywhere}.file-card h3,.collection-card h3{font-size:13px}.file-card p,.collection-card p{font-size:11px;color:#8c9391;margin:7px 0}.file-card button,.collection-card button{border:1px solid var(--line);font-size:11px;padding:6px 10px}.approvals:empty{display:none}.approval{border:1px solid #e5d3b5;background:#fffcf5;padding:16px;border-radius:13px;margin:12px 0;font-size:12px}.approval pre{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;color:#7c715f;max-height:180px;overflow:auto}.approval button{margin:5px 5px 0 0}.collection-heading{display:flex;align-items:center;justify-content:space-between;padding:32px 0 22px}.collection-heading h1{font-size:24px}.collection-heading button{font-size:12px}.attachment-chips{display:flex;gap:7px;flex-wrap:wrap;padding:0 14px}.attachment-chips button{font-size:10px;background:#eef4ef;padding:4px 8px}.notice{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);padding:12px 21px;border-radius:12px;background:#344b40;color:white;box-shadow:0 6px 25px #0002;z-index:30;max-width:min(90vw,650px);font-size:12px}dialog{border:1px solid var(--line);border-radius:19px;width:min(470px,90vw);max-height:85vh;padding:25px;box-shadow:0 15px 80px #0002}dialog::backdrop{background:#20372e35;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.dialog-heading h2{font-size:22px}.dialog-heading button{font-size:23px;padding:0 5px}dialog label{display:block;font-size:12px;margin-top:17px}dialog input,dialog select,dialog textarea{margin-top:6px}.helper{font-size:10px;color:#929b95;margin-top:8px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}#disconnectButton{font-size:12px;color:#8b8f8d}#providerList{margin-top:18px;font-size:11px;color:#7d877f}#profileForm{border-top:1px solid var(--line);margin-top:18px;padding-top:17px}#profileForm h3{font-size:13px}#profileForm button{margin-top:14px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1600px){.conversation-pane{padding:32px 48px}.work-grid{grid-template-columns:minmax(400px,.85fr) minmax(600px,1.4fr)}.welcome{padding-top:60px}.result-body{padding:38px 44px}}
@media(max-width:1100px){.sidebar{width:185px;padding-left:11px;padding-right:11px}.workspace{margin-left:185px}.work-grid{grid-template-columns:minmax(310px,1fr) minmax(320px,1fr)}.conversation-pane{padding:24px 21px}.welcome h1{font-size:30px}.composer-bottom small{display:none}.result-body{padding:23px}}
@media(max-width:780px){.sidebar{transform:translateX(-100%);width:230px;box-shadow:10px 0 30px #0001;transition:transform .2s}.sidebar.open{transform:none}.workspace{margin-left:0}header{height:57px;padding:0 20px}.mobile-brand{display:inline;font-size:19px;font-weight:650;margin-right:8px}.private-label{display:none}#conversationTitle{font-size:11px;color:#8a948e}.mobile-tabs{display:flex;border-bottom:1px solid var(--line);padding:6px 15px;background:white;gap:5px}.mobile-tabs button{font-size:12px}.mobile-tabs .selected{background:#eaf0ec;color:#315d4e}.mobile-tabs button:last-child{margin-left:auto}.work-grid{display:block;min-height:calc(100vh - 110px)}.conversation-pane{padding:25px 23px;max-width:650px;margin:auto}.welcome{padding:40px 6px 30px}.welcome h1{font-size:33px}.companion{min-height:65px}.result-pane{display:none;min-height:calc(100vh - 110px);border-left:0}.workspace.show-results .conversation-pane{display:none}.workspace.show-results .result-pane{display:flex}.messages{max-height:calc(100dvh - 430px);min-height:70px}.result-body{max-height:calc(100dvh - 220px)}.empty-result{min-height:420px}.task-strip{font-size:10px}.composer textarea{min-height:90px}.notice{bottom:16px}.collection-heading h1{font-size:24px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.speech-player{margin-top:30px;padding-top:20px;border-top:1px solid var(--line)}.speech-player audio{display:block;width:100%;max-width:520px}.speech-player .helper{font-size:12px;margin-top:10px}

.pet-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin:10px 0 17px 71px}.pet-actions button{padding:5px 9px;font-size:11px;background:#f3f6f4;border:1px solid #e8eeea}.pet-actions small{flex-basis:100%;font-size:10px;color:#87938d;margin-top:3px}.pet.mood-playful{background:#cbe6d5;transform:rotate(-4deg)}.pet.mood-sleepy .eye{height:2px;border-radius:0;transform:translateY(2px)}

/* Personal workspace controls retain the request/progress/result layout. */
.sidebar nav{max-height:46vh;overflow:auto}.parity-toolbar,.action-row{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.parity-form{display:grid;gap:12px;background:#f7f9f8;border:1px solid #e5eae7;border-radius:16px;padding:18px;margin:16px 0}.parity-form label{display:grid;gap:6px;font-size:14px}.parity-form input,.parity-form textarea,.parity-form select{width:100%;max-width:100%;padding:10px;border:1px solid #d7dfda;border-radius:9px;background:white;box-sizing:border-box}.parity-form textarea{min-height:100px}.parity-form .helper{margin:0}.parity-data{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;max-height:400px;overflow:auto}.workspace-shot{max-width:100%;border-radius:10px;border:1px solid #dce3de}.parity-badge{display:inline-block;padding:3px 8px;border-radius:9px;background:#eef4ef;font-size:12px}.collection-card .action-row button{margin:0}.sidebar .nav{font-size:13px;padding-top:9px;padding-bottom:9px}.sidechat-note{background:#eef4ef;padding:12px;border-radius:10px}.parity-toggle{display:flex!important;grid-template-columns:22px 1fr;align-items:center}.parity-toggle input{width:auto!important}@media(max-width:800px){.sidebar nav{max-height:52vh}.parity-form{padding:12px}.parity-toolbar button{font-size:12px}}

.document-table{border-collapse:collapse;width:100%}.document-table td{border:1px solid #d7dfda;padding:10px;vertical-align:top}.profile-avatar{width:64px;height:64px;object-fit:cover;border-radius:18px}.parity-form h3{margin:0}.collection-card .parity-data{padding:6px 0}

.webapp-frame{width:100%;min-height:65vh;border:1px solid #d7dfda;border-radius:14px;background:white}.collection-card .collection-card{margin-top:12px}.parity-form input[type=password]{font-family:inherit}

.browser-advanced{margin-top:14px}.browser-advanced summary{cursor:pointer;color:#456557;font-size:14px}.result-body>.workspace-shot{width:100%;max-height:75vh;object-fit:contain;object-position:top;background:#f4f6f5}.task-strip{flex-wrap:wrap}.task-strip button{font-size:12px}

.webapp-shot{display:block;width:100%;height:auto;border:1px solid #d7dfda;border-radius:12px;cursor:pointer}.webapp-shot[hidden]{display:none}.result-body .browser-advanced{margin-top:12px}

.avatar-preview{display:block;width:min(100%,320px);max-height:420px;object-fit:contain;border-radius:16px;margin:12px 0;background:#f4f6f5}

/* Server-backed memory and focus controls. */
.focus-nav-badge{margin-left:5px;display:inline-flex;min-width:20px;justify-content:center;padding:1px 5px;border-radius:10px;background:#d9eadc;color:#27533d;font-size:11px}.focus-inbox-notice{display:flex;gap:15px;align-items:center;margin:16px 0;padding:15px 17px;border:1px solid #dce9db;border-radius:14px;background:#f1f6ed}.focus-inbox-notice strong{font-size:13px}.focus-inbox-notice p{font-size:12px;color:#647660;margin:4px 0 0}.focus-inbox-notice button{margin-left:auto;white-space:nowrap;font-size:12px;color:#2f6548}.active-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.active-section{padding:21px;border:1px solid #e2e9e2;background:#fff;border-radius:16px;margin:0 0 18px;min-width:0}.active-section h2{font-size:18px;line-height:1.5;margin:0 0 10px;letter-spacing:-.5px}.active-description{font-size:14px;line-height:1.8;color:#65776a;margin:0 0 17px}.active-meta{font-size:12px;line-height:1.8;color:#6b7a6d;margin:10px 0;overflow-wrap:anywhere}.active-state{display:inline-block;padding:4px 9px;border-radius:8px;background:#f0f2ef;color:#6b766b;font-size:12px;margin:2px 7px 10px 0}.active-state.is-on{background:#e3f0e1;color:#306239}.active-toggle{display:block;border:1px solid #dbe6d9;color:#356745;background:#f7faf5;font-size:12px;margin:4px 0 14px}.active-config-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.active-config-form label{display:grid;gap:7px;font-size:13px;min-width:0}.active-config-form input,.active-search input,.active-edit-form textarea{width:100%;min-width:0;padding:11px 12px;background:#fff;border:1px solid #d5dfd3;border-radius:10px;font:inherit;font-size:14px;color:#253e2d}.active-config-form button{align-self:end;justify-self:start;font-size:13px}.active-search{display:flex;gap:9px;align-items:center;margin:17px 0}.active-search button{flex-shrink:0;font-size:13px;border:1px solid #dce5d9}.active-memory-card,.active-focus-card{padding:17px;border:1px solid #e1e7dd;border-radius:13px;margin:12px 0;background:#fbfcfa;overflow-wrap:anywhere}.active-memory-card h3,.active-focus-card h3{font-size:15px;line-height:1.7;margin:0 0 10px}.active-memory-value,.active-focus-body{font-size:14px;white-space:pre-wrap;line-height:1.9;margin:0;color:#3d5140}.active-memory-card .action-row button,.active-focus-card .action-row button{font-size:12px;padding:7px 10px;border:1px solid #dce5d8}.active-delete{color:#8a5350}.active-edit-form{margin:15px 0;padding-top:15px;border-top:1px solid #e0e7db}.active-edit-form label{display:block;font-size:13px}.active-edit-form textarea{display:block;min-height:110px;margin-top:8px;resize:vertical}.active-edit-form .primary{font-size:12px}.active-empty{font-size:13px;color:#6c7b6b;line-height:1.8;margin:12px 0}.active-source-box{border-top:1px solid #e0e6dc;margin-top:16px;padding-top:14px}.active-source-kind{font-size:12px;color:#537348;margin:0 0 8px}.active-quote{margin:10px 0;padding:10px 13px;border-left:3px solid #b5ccb0;background:#f1f5ed;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px;color:#50664b}.active-evidence{margin:14px 0}.active-evidence summary{cursor:pointer;color:#436943;font-size:13px;line-height:1.7}.active-source-ids{font-size:11px;color:#7b8876}.active-source-ids dt{font-weight:600;margin-top:8px}.active-source-ids dd{margin:3px 0;overflow-wrap:anywhere;font-family:monospace}.active-activity{padding:0 0 0 18px}.active-activity li{margin:15px 0;font-size:13px;color:#51654e}.active-activity strong{font-weight:600}.active-activity .active-meta{margin:4px 0}.active-section button:focus-visible,.active-section input:focus-visible,.active-section textarea:focus-visible{outline:3px solid #b6cdb2;outline-offset:2px}
@media(max-width:1100px){.active-overview{grid-template-columns:1fr}}
@media(max-width:780px){.active-section{padding:18px;margin-bottom:15px}.active-section h2{font-size:17px}.active-config-form{gap:13px}.active-config-form label{font-size:12px}.active-config-form input{padding:10px 9px;font-size:13px}.active-description{font-size:13px}.active-meta{font-size:11px}.active-memory-card,.active-focus-card{padding:14px}.active-memory-value,.active-focus-body{font-size:13px}.active-search{gap:7px}.active-search input{font-size:12px;padding:11px 9px}.active-search button{font-size:12px;padding:9px 10px}.focus-inbox-notice{padding:13px}.focus-inbox-notice button{font-size:11px}.active-overview{gap:0}}
