:root{--paper:#f8f5ee;--white:#fffdf8;--ink:#25352c;--muted:#8b8d7e;--green:#24593c;--line:#e7e5da;--safe:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html,body{height:100%;margin:0}body{font:14px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--paper);color:var(--ink)}button,input,textarea,select{font:inherit;color:inherit}button{border:0;cursor:pointer;background:none;touch-action:manipulation;min-height:44px}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #6eac80;outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-.8px}h2{font-size:18px}h3{font-size:14px}input,select,textarea{border:1px solid var(--line);border-radius:10px;background:white;width:100%;padding:12px;outline:none}input:focus,textarea:focus,select:focus{border-color:#6b9c78;box-shadow:0 0 0 2px #6b9c7817}textarea{resize:vertical;line-height:1.55}.hidden{display:none!important}.primary{padding:11px 17px;color:#fff;background:var(--green);border-radius:11px;font-size:12px;font-weight:600;box-shadow:0 2px 3px #152a1310}.primary:hover{background:#34734e}.secondary{padding:10px 14px;border:1px solid #dce0d1;background:#fffdf8;border-radius:10px;font-size:12px}.secondary:hover{background:#f0f1e8}.text-button{font-size:11px;color:var(--green);padding:9px}.icon-button{font-size:21px;width:44px;min-width:44px;border-radius:10px}.icon-button:hover{background:#eceee3}.full{width:100%;margin-top:12px}.error{color:#b45440!important}.eyebrow{font-size:8px;letter-spacing:1.7px;font-weight:600;color:#8b917c}.app{display:grid;height:100dvh;grid-template-columns:82px minmax(0,1fr) 340px;grid-template-rows:72px minmax(0,1fr);overflow:hidden}.topbar{grid-column:1/-1;display:flex;align-items:center;gap:17px;padding:0 24px;background:#fffdf8f5;border-bottom:1px solid var(--line);z-index:30}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand strong{font-size:19px;letter-spacing:-.6px}.mark{color:#3d7449;font-size:29px;display:inline-grid;place-items:center;width:31px;height:31px;background:#edf1e6;border-radius:11px}.brand-sub{font-size:10px;color:#a0a38e;border-left:1px solid #dddcca;padding-left:12px}.connection{margin-left:auto;font-size:10px;display:flex;align-items:center;gap:6px;color:#78916c;white-space:nowrap}.connection:before{content:'';width:7px;height:7px;background:#58a468;border-radius:50%}.connection.connecting{color:#b68e49}.connection.connecting:before{background:#d6ad5f}.connection.offline{color:#a65b48}.connection.offline:before{background:#b76550}.meeting-top{margin-left:8px}.navrail{background:#faf9f3;border-right:1px solid var(--line);padding:20px 10px;display:flex;flex-direction:column;gap:9px;z-index:20}.navrail button{position:relative;padding:11px 2px;border-radius:15px;font-size:9px;color:#898e7d;display:flex;flex-direction:column;align-items:center;gap:6px;min-height:65px}.navrail button>span{font-size:25px;line-height:1.1}.navrail button.active{background:#e5eddf;color:#275c3a}.navrail b{position:absolute;top:7px;right:6px;background:#c58d41;color:white;border-radius:10px;padding:1px 4px;font-size:8px}.navrail b:empty{display:none}.rail-bottom{margin-top:auto;text-align:center;font-size:8px;color:#a3a78f;line-height:1.6}main{min-width:0;min-height:0;overflow:hidden}.office-view{height:100%;display:flex;flex-direction:column;background:#e9dfc6}.scene-viewport{min-height:0;flex:1;position:relative;overflow:hidden;background:#d5bc92;isolation:isolate;touch-action:none;user-select:none}.scene-viewport canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}.agent-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.agent-label{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;display:flex;flex-direction:column;align-items:center;gap:3px;z-index:2;padding:0;min-height:44px;justify-content:flex-end;white-space:nowrap}.agent-label>span{display:flex;align-items:center;gap:5px;background:#fffdf5f5;color:#2c4430;padding:5px 9px;border-radius:8px;font-size:11px;font-weight:600;box-shadow:0 2px 9px #30240025;border:1px solid #dfd5bd}.agent-label.selected>span{border-color:#366b43;box-shadow:0 0 0 2px #fff9}.agent-label i{width:6px;height:6px;border-radius:50%;background:#a1ad91;display:inline-block}.agent-label.running i{background:#4a9d61}.agent-label.waiting i{background:#d6a83e}.agent-label.queued i{background:#9d88b8}.agent-label.error i,.agent-label.offline i{background:#b86c5c}.agent-label small{font-size:8px;background:#fff9dfed;padding:3px 5px;border-radius:4px;max-width:145px;overflow:hidden;text-overflow:ellipsis}.unread{background:#bd8141;color:white;font-size:9px;padding:1px 4px;border-radius:10px}.scene-welcome{position:absolute;top:23px;left:26px;background:#2b3a2bd9;border:1px solid #fffffd20;box-shadow:0 4px 15px #1324091f;color:#fff8df;padding:18px 23px;border-radius:3px;pointer-events:none;max-width:235px}.scene-welcome h1{font-family:Georgia,serif;font-weight:400;font-size:26px;line-height:1.3;margin-top:8px;letter-spacing:0}.scene-welcome .eyebrow{font-size:6px;color:#e0dfbe}.scene-tools{position:absolute;right:15px;bottom:16px;display:flex;background:#fffdf6f5;border-radius:11px;box-shadow:0 3px 14px #33240825;padding:2px}.scene-tools button{width:44px;font-size:22px}.scene-footnote{position:absolute;bottom:18px;left:18px;font-size:9px;background:#fffbedeb;border-radius:7px;padding:10px;color:#716c51;max-width:65%}.award-wall{position:absolute;right:15px;top:16px;background:#fff8e9ed;border:1px solid #d6b16b88;border-radius:11px;max-width:180px;padding:10px 13px;box-shadow:0 3px 12px #3224051a;font-size:10px}.award-wall:empty{display:none}.award-wall strong{display:block;font-size:12px;margin:4px 0}.award-wall small{font-size:8px;color:#9e8c60}.network-banner{position:absolute;top:12px;left:50%;transform:translateX(-50%);padding:10px 16px;border-radius:9px;background:#fff0dc;color:#a45c40;font-size:11px;max-width:90%;z-index:12}.people-strip{display:flex;align-items:center;gap:8px;padding:11px 16px;background:#fffdf9;border-top:1px solid #e4ddcb;overflow-x:auto;flex-shrink:0;scrollbar-width:thin}.person-chip{display:flex;align-items:center;gap:7px;min-width:max-content;background:#f6f4ec;border:1px solid #eae6d8;border-radius:30px;padding:3px 12px 3px 3px;min-height:46px;font-size:10px;text-align:left}.person-chip.selected{background:#edf1e6;border-color:#8da37c}.person-chip small{display:block;font-size:8px;color:#91957e;margin-top:2px}.portrait{background-image:url('/assets/team-v2.webp');background-size:500% 200%;background-position:0 0;flex-shrink:0;border-radius:15px;width:60px;height:60px;background-color:#f0e7d6}.person-chip .portrait{height:38px;width:38px;border-radius:50%}.office-bottom{background:#faf8ef;padding:10px 16px;display:flex;align-items:center;gap:12px;flex-shrink:0}.office-bottom p{font-size:10px;color:#8b8f79;margin-right:auto}.office-bottom button{font-size:10px;min-height:44px;padding:8px 12px}.chat-panel{border-left:1px solid var(--line);background:var(--white);min-height:0;display:flex;flex-direction:column;z-index:25;box-shadow:-5px 0 20px #292e1510}.chat-heading{padding:22px 20px 17px;display:flex;align-items:center;gap:11px;flex-shrink:0}.chat-heading-copy{min-width:0;flex:1}.chat-heading h2{font-size:21px;letter-spacing:-.5px;overflow:hidden;text-overflow:ellipsis}.chat-heading p{font-size:10px;color:#92947e;line-height:1.4;margin-top:5px}.chat-heading .icon-button{width:30px;min-width:30px;font-size:19px}#closeChat,#expandChat{display:none}.agent-status{background:#eaf0e1;margin:0 20px 12px;border-radius:10px;padding:11px 12px;font-size:11px;color:#547449;line-height:1.5}.agent-status small{display:block;font-size:9px;color:#879779;margin-top:4px}.agent-status.waiting{background:#fbf0d9;color:#ad873b}.agent-status.error,.agent-status.offline{background:#f9eae0;color:#a26653}.chat-tabs{display:flex;gap:18px;margin:0 20px;flex-shrink:0;border-bottom:1px solid var(--line)}.chat-tabs button{font-size:10px;color:#92977e;padding:10px 2px;min-height:39px;border-bottom:2px solid transparent}.chat-tabs button.active{color:var(--green);border-color:var(--green)}.chat-messages{overflow:auto;flex:1;min-height:0;padding:20px 18px;scrollbar-width:thin;overscroll-behavior:contain}.message{margin-bottom:18px;display:flex;gap:8px;align-items:flex-start}.message .portrait{width:28px;height:28px;border-radius:9px}.message-content{max-width:calc(100% - 35px);min-width:0}.message-author{font-size:9px;color:#797e69;margin-bottom:5px;display:block}.bubble{padding:12px 13px;background:#f0ede4;border-radius:3px 13px 13px 13px;font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{justify-content:flex-end}.message.user .bubble{background:#e6eedf;border-radius:13px 3px 13px 13px}.message.user .message-content{max-width:89%}.message-meta{font-size:8px;color:#a3a68e;display:flex;align-items:center;gap:7px;margin-top:5px}.play-answer{font-size:9px;color:#53754b;padding:4px 8px;min-height:44px;min-width:44px;background:#f2f4eb;border-radius:7px}.empty-chat{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:170px;color:#8e927d;line-height:1.7;font-size:12px;padding:20px}.empty-chat .empty-icon{font-size:32px;opacity:.6;margin-bottom:12px}.empty-chat strong{color:#52734c;font-weight:550}.typing-status{font-size:10px;color:#8d987c;padding:10px 4px;line-height:1.6}.typing-status span{display:inline-block;animation:pulse 1.5s infinite}.composer{padding:12px 16px max(15px,var(--safe));border-top:1px solid var(--line);flex-shrink:0;background:#fffdf7}.composer-top{display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#899178;margin-bottom:8px;gap:5px}.audio-toggle{display:flex;align-items:center;gap:4px;font-size:8px;white-space:nowrap}.audio-toggle input{width:13px;height:13px;accent-color:var(--green);padding:0}.composer-entry{display:flex;gap:7px;align-items:center}.composer textarea{font-size:12px;min-height:52px;max-height:130px;padding:11px 12px;border-radius:11px;resize:none;background:#fbfaf4}.send-button{width:44px;min-width:44px;background:var(--green);color:#fff;border-radius:50%;font-size:20px}.voice-button{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;background:#24593c;color:#fff;border-radius:12px;font-size:12px;font-weight:550;min-height:49px;margin-top:9px}.mic-icon{font-size:25px}.voice-button i{height:6px;width:6px;background:#90c29a;border-radius:50%;margin-left:4px}.voice-button.recording{background:#a65342}.voice-button.recording i{background:#ffdbb5;animation:pulse 1s infinite}.delivery-state{font-size:8px;color:#a4a78f;text-align:center;margin-top:7px;min-height:12px}.voice-state{padding:11px 18px;background:#fff0dc;font-size:10px;color:#a4753e;line-height:1.6;border-top:1px solid #ead8b3;flex-shrink:0}.voice-state>div{display:flex;justify-content:space-between}.voice-state button{font-size:9px}.about-agent{padding:20px;overflow:auto;flex:1;font-size:12px;line-height:1.8}.about-agent h3{margin:15px 0 8px}.award-note{background:#fff3db;padding:15px;border-radius:10px;margin-top:15px}.approval-box{background:#fff0d6;padding:12px 18px;font-size:11px;line-height:1.6;max-height:250px;overflow:auto}.approval-box button{margin:6px 5px 0 0}.approval-box pre{font-size:9px;white-space:pre-wrap;max-height:80px;overflow:auto}.page-view{overflow:auto;height:100%;padding:32px;scrollbar-width:thin}.page-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:30px}.page-heading h1{margin:9px 0}.page-heading p{font-size:12px;color:#949681;line-height:1.7}.page-heading button{white-space:nowrap}.team-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:15px}.team-card{background:#fffdf8;border:1px solid var(--line);border-radius:16px;padding:20px;text-align:left;box-shadow:0 3px 8px #32240504}.team-card .portrait{width:75px;height:80px;margin-bottom:13px}.team-card h2{font-size:20px}.team-card p{font-size:11px;color:#92947f;margin-top:5px;line-height:1.6}.team-card .character-note{font-size:10px;color:#939780;margin:13px 0}.status-tag{font-size:9px;padding:5px 8px;background:#edf0e2;color:#82916b;border-radius:6px;display:inline-block}.status-tag.running{color:#44804b;background:#e3eddd}.status-tag.waiting,.status-tag.review{color:#ab873e;background:#fff0d0}.status-tag.error,.status-tag.failed,.status-tag.interrupted{color:#aa6651;background:#f9e9df}.status-tag.queued{color:#9b84a5;background:#eee8f4}.tasks-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.task-lane{background:#f0efe5;border-radius:14px;padding:15px}.task-lane h2{font-size:12px;color:#82896e;margin-bottom:15px}.task-lane h2 span{float:right;font-size:10px}.task-card{display:block;width:100%;text-align:left;background:#fffdf7;padding:15px;border-radius:10px;margin-bottom:10px;border:1px solid #e7e5d7}.task-card strong{display:block;font-size:12px;line-height:1.6;margin:8px 0}.task-card small{font-size:9px;color:#9ca083}.lane-empty{padding:35px 12px;text-align:center;color:#a7aa93;font-size:11px}.section-heading{margin:30px 0 14px;font-size:17px}.meeting-card{background:#fffdf8;border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:10px;display:flex;align-items:center;gap:12px;width:100%;text-align:left}.meeting-card span{font-size:24px}.meeting-card strong{display:block;font-size:13px}.meeting-card small{font-size:10px;color:#969a81}.task-result{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8;max-height:50dvh;overflow:auto;background:#f5f3e9;padding:16px;border-radius:10px;margin:15px 0}.task-actions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.task-actions button{font-size:11px}.sheet-handle{display:none}.login{position:fixed;inset:0;z-index:100;background:linear-gradient(125deg,#f7f4e9,#e9eddf);display:grid;place-items:center;padding:24px}.login form{width:100%;max-width:370px;background:#fffdf8;border:1px solid #e2e4d5;border-radius:22px;padding:32px;box-shadow:0 20px 60px #3447210b}.login h1{font-size:26px;margin:22px 0 12px}.login p{font-size:12px;color:#91977c;line-height:1.7}.login button{width:100%;margin-top:6px}.login label{margin:25px 0 15px;display:block;font-size:11px}.login input{margin-top:8px}dialog{width:min(490px,94vw);border:1px solid #e4e4d5;border-radius:18px;padding:27px;background:#fffdf7;box-shadow:0 20px 100px #23381240;color:var(--ink);max-height:90dvh;overflow:auto}dialog::backdrop{background:#18291d66;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-head h2{font-size:22px;letter-spacing:-.5px}.dialog-head button{font-size:27px;width:44px;min-width:44px;color:#93977d}dialog p{font-size:12px;color:#90967a;line-height:1.7;margin:12px 0}dialog label{font-size:11px;display:block;margin:17px 0}dialog input,dialog select,dialog textarea{display:block;margin-top:7px}dialog h3{margin:24px 0 12px}.participants{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:20px 0}.participants label{display:flex;align-items:center;gap:8px;padding:8px;background:#f3f4e9;border-radius:8px;margin:0;min-height:48px}.participants input,.check-row input{display:inline-block;width:17px;height:17px;margin:0;accent-color:var(--green)}.check-row{display:flex!important;align-items:center;gap:10px}.archive-item{font-size:11px;padding:12px 0;border-top:1px solid var(--line);line-height:1.7}.archive-item small{display:block;color:#93977c;font-size:9px}.toast{position:fixed;bottom:calc(25px + var(--safe));left:50%;transform:translateX(-50%);z-index:200;background:#24452f;color:#fffcf0;border-radius:12px;box-shadow:0 4px 20px #20351a30;padding:13px 22px;max-width:90vw;font-size:12px;line-height:1.6}#voicePlayer{max-width:100%;height:36px;width:100%;flex-shrink:0}.reduce-motion *{animation:none!important;transition:none!important}@keyframes pulse{50%{opacity:.45}}
@media(min-width:1500px){.app{grid-template-columns:88px minmax(0,1fr) 360px}.bubble{font-size:12px}}
@media(max-width:1170px){.app{grid-template-columns:70px minmax(0,1fr) 310px}.brand-sub{display:none}.topbar{padding:0 16px;gap:10px}.scene-welcome{padding:13px 16px;left:16px;top:16px;max-width:200px}.scene-welcome h1{font-size:21px}.scene-footnote{display:none}.office-bottom p{display:none}.office-bottom{justify-content:space-between}.chat-heading{padding:18px 15px 14px;gap:8px}.chat-heading .portrait{width:50px;height:55px}.chat-heading h2{font-size:20px}.chat-tabs{margin:0 15px}.agent-status{margin:0 15px 12px}.page-view{padding:25px 20px}.tasks-board{gap:10px}.page-heading{align-items:flex-start}.page-heading h1{font-size:26px}.people-strip{padding:9px 12px}.scene-welcome .eyebrow{display:none}}
@media(max-width:1023px){.app{grid-template-columns:72px minmax(0,1fr);grid-template-rows:65px minmax(0,1fr)}.chat-panel{display:none;position:fixed;top:65px;bottom:0;right:0;width:350px;box-shadow:-12px 0 70px #21351d30}.chat-panel.open{display:flex}#closeChat,#expandChat{display:block}.scene-welcome{max-width:230px}.scene-welcome h1{font-size:24px}.scene-welcome .eyebrow{display:block}.people-strip{padding:12px 18px}.office-bottom p{display:block}.scene-footnote{display:block}.page-view{padding:30px}.chat-panel.expanded{width:min(650px,calc(100vw - 72px))}}
@media(max-width:767px){.app{display:grid;grid-template-columns:1fr;grid-template-rows:58px minmax(0,1fr) calc(62px + var(--safe));height:100dvh}.topbar{padding:0 13px;gap:7px}.brand{gap:6px}.brand strong{font-size:16px}.mark{width:25px;height:27px;font-size:23px}.connection{font-size:8px;max-width:100px;overflow:hidden}.connection:before{width:6px;height:6px}.topbar .meeting-top{display:none}.topbar .icon-button{width:34px;min-width:34px;font-size:19px}.navrail{grid-row:3;grid-column:1;display:flex;flex-direction:row;justify-content:space-around;padding:4px 12px calc(4px + var(--safe));border-right:0;border-top:1px solid #e3e4d5;background:#fffdf7;gap:8px}.navrail button{flex:1;min-height:50px;padding:5px;gap:3px;font-size:9px;border-radius:12px}.navrail button>span{font-size:22px}.navrail button#awards,.rail-bottom{display:none}main{grid-column:1;grid-row:2}.scene-welcome{top:13px;left:12px;padding:10px 13px;max-width:170px}.scene-welcome h1{font-size:18px;margin-top:0;line-height:1.3}.scene-welcome .eyebrow{display:none}.award-wall{max-width:135px;right:10px;top:13px;padding:8px 10px;font-size:8px}.award-wall strong{font-size:10px}.scene-tools{right:11px;bottom:12px}.scene-tools button{width:44px;font-size:20px}.scene-footnote{display:none}.people-strip{padding:9px 10px;gap:7px;scrollbar-width:none}.person-chip{padding-right:10px;font-size:10px;min-height:44px}.person-chip .portrait{width:34px;height:36px}.person-chip small{font-size:7px}.office-bottom{padding:8px 11px;gap:7px}.office-bottom p{display:none}.office-bottom .primary{flex:1;font-size:11px}.office-bottom .secondary{font-size:10px}.chat-panel{position:fixed;top:auto;left:0;right:0;bottom:calc(62px + var(--safe));width:100%;height:min(72dvh,680px);border-radius:24px 24px 0 0;border:1px solid #dddccb;box-shadow:0 -10px 70px #28341b30;padding-bottom:0;z-index:29}.chat-panel.expanded{top:58px;height:auto;width:100%;border-radius:0;bottom:calc(62px + var(--safe))}.sheet-handle{display:block;width:38px;height:4px;background:#d3d7c4;border-radius:10px;margin:8px auto 0;flex-shrink:0}.chat-heading{padding:11px 16px 9px;gap:10px}.chat-heading .portrait{width:49px;height:50px;border-radius:13px}.chat-heading h2{font-size:19px}.chat-heading p{font-size:9px;margin-top:3px}.chat-heading .icon-button{width:38px;min-width:38px;font-size:22px}.agent-status{margin:0 16px 7px;padding:8px 11px;font-size:10px}.agent-status small{font-size:8px;margin-top:2px}.chat-tabs{margin:0 16px;gap:18px}.chat-tabs button{font-size:10px;min-height:36px;padding:6px 2px}.chat-messages{padding:14px 15px}.message{margin-bottom:14px}.bubble{font-size:12px;padding:10px 12px;line-height:1.6}.composer{padding:8px 13px 10px}.composer-top{font-size:8px;margin-bottom:5px}.composer textarea{font-size:16px;min-height:44px;max-height:110px;padding:8px 11px;line-height:1.4}.voice-button{min-height:45px;margin-top:6px;font-size:12px}.delivery-state{font-size:7px;margin-top:4px}.page-view{padding:23px 16px}.page-heading{gap:10px;margin-bottom:24px}.page-heading h1{font-size:25px}.page-heading p{font-size:10px}.page-heading button{padding:10px;font-size:10px}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.team-card{padding:15px 12px;border-radius:13px}.team-card .portrait{width:64px;height:66px}.team-card h2{font-size:18px}.team-card p{font-size:10px}.team-card .character-note{font-size:9px;line-height:1.6}.tasks-board{grid-template-columns:1fr}.task-lane{padding:13px}.task-card{padding:13px}.participants{gap:5px}.participants label{font-size:10px;padding:7px}.toast{bottom:calc(77px + var(--safe));font-size:11px}dialog{padding:21px;max-height:88dvh}dialog input,dialog textarea,dialog select{font-size:16px}.network-banner{font-size:10px;top:75px;width:90%;text-align:center}.login form{padding:27px}.login input{font-size:16px}.about-agent{padding:15px}.voice-state{padding:8px 14px;font-size:10px}}
@media(max-height:520px) and (orientation:landscape){.app{grid-template-columns:62px minmax(0,1fr);grid-template-rows:48px minmax(0,1fr)}.topbar{height:48px;padding-left:max(15px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))}.navrail{grid-column:1;grid-row:2;flex-direction:column;padding:5px;justify-content:flex-start;border-right:1px solid var(--line);border-top:0}.navrail button{flex:0;min-height:57px}.navrail button>span{font-size:20px}main{grid-column:2;grid-row:2}.office-bottom{display:none}.people-strip{padding:4px 9px}.person-chip{min-height:44px}.scene-welcome{display:none}.chat-panel,.chat-panel.expanded{top:48px;bottom:0;left:auto;right:env(safe-area-inset-right,0px);height:auto;width:min(360px,70vw);border-radius:0}.chat-heading{padding:8px 12px}.chat-heading .portrait{width:38px;height:38px}.chat-tabs{display:none}.agent-status{padding:6px 10px;margin-bottom:3px}.composer{padding:5px 10px}.composer textarea{font-size:16px;min-height:40px;max-height:70px}.voice-button{min-height:44px}.composer-top,.delivery-state{display:none}.chat-messages{padding:10px 12px}.sheet-handle{display:none}.toast{bottom:12px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Readable controls, with the same scene and full controls at narrow widths. */
.person-chip{font-size:12px}.person-chip small{font-size:10px}.bubble{font-size:13px}.message-author,.message-meta{font-size:11px}.chat-heading p,.agent-status,.chat-tabs button{font-size:12px}.agent-status small,.composer-top,.audio-toggle,.delivery-state{font-size:11px}.team-card p,.team-card .character-note{font-size:12px}.status-tag,.task-card small{font-size:11px}.scene-welcome{padding:12px 16px;max-width:210px}.scene-welcome h1{font-size:23px}.agent-label{min-width:44px}.chat-heading .icon-button{min-width:44px;width:44px;flex-shrink:0}.chat-tabs button{min-height:44px}.scene-tools button{min-width:44px}.connection{font-size:11px}.person-chip small,.composer-top,.chat-heading p,.message-author,.message-meta{color:#63715c}.scene-welcome .eyebrow{font-size:8px}.audio-toggle{min-height:44px}.audio-toggle input{width:17px;height:17px}.agent-status{flex-shrink:0}
@media(max-width:767px){.composer-top,.audio-toggle{font-size:10px}.audio-toggle{min-height:30px}.composer{padding-top:5px}.delivery-state{font-size:10px}.chat-heading .portrait{width:40px;height:42px}.chat-heading{gap:7px}.chat-heading h2{font-size:18px}.chat-heading p{font-size:10px}.scene-welcome{max-width:165px;padding:10px 12px}.scene-welcome h1{font-size:18px}.connection{font-size:10px;max-width:112px}.person-chip small{font-size:10px}.chat-panel{height:min(78dvh,720px)}.message-meta{font-size:10px}.voice-state button{font-size:11px}.chat-heading-copy{overflow:hidden}.agent-status small{font-size:10px}.brand strong{font-size:15px}.brand .mark{display:none}.team-card .character-note{font-size:11px}}
@media(max-height:520px) and (orientation:landscape){.composer-top,.delivery-state{display:none}.chat-heading{padding:4px 10px}.agent-status{font-size:11px;padding:4px 9px}.agent-status small{max-height:28px;overflow:auto;font-size:10px}.voice-state{max-height:85px;overflow:auto}.chat-heading p{font-size:10px}}
@media(max-width:767px){.app{height:var(--visible-height,100dvh)}.chat-panel{height:min(64dvh,680px);bottom:calc(62px + var(--safe) + var(--keyboard-offset,0px));max-height:calc(var(--visible-height,100dvh) - 120px - var(--safe))}.chat-panel.expanded{bottom:calc(62px + var(--safe) + var(--keyboard-offset,0px))}.empty-chat{min-height:100px;padding:12px}.empty-chat .empty-icon{margin-bottom:5px}}
@media(max-height:520px) and (orientation:landscape){.chat-panel,.chat-panel.expanded{max-height:calc(var(--visible-height,100dvh) - 48px);bottom:var(--keyboard-offset,0px);height:auto}.app{height:var(--visible-height,100dvh)}}
@media(max-width:767px){.topbar .icon-button{width:44px;min-width:44px}}
@media(max-height:520px) and (orientation:landscape){.chat-panel.expanded{width:calc(100vw - 62px - env(safe-area-inset-right,0px))}}

.recognition-link{margin-top:0;margin-bottom:18px;text-align:left}

.attachment-list{display:flex;gap:6px;overflow-x:auto;max-height:88px}.file-chip{display:flex;align-items:center;gap:6px;padding:6px;border:1px solid #d9dfcf;border-radius:10px;background:#f4f6ef;min-width:125px;max-width:230px;font-size:11px}.file-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-chip small{display:block;color:#72806e}.file-chip img{width:36px;height:36px;object-fit:cover;border-radius:5px}.file-chip button{border:0;background:transparent;padding:8px;font-size:18px}.message-file{display:flex;flex-direction:column;gap:5px;margin-top:8px;color:inherit;font-size:12px;overflow-wrap:anywhere}.message-file img{max-height:190px;max-width:100%;object-fit:contain;border-radius:9px}.attach-button{flex-shrink:0;align-self:center;font-size:27px;width:38px}

.board-open{position:absolute;top:14px;left:14px;z-index:3;padding:9px 13px;background:#fffdf3ee;border:1px solid #e2dcc9;border-radius:12px;font-size:11px;box-shadow:0 3px 12px #33270d12}.board-open span{display:block;color:#76816b;font-size:9px;margin-top:3px}#boardForm label{display:block;margin-top:12px}#boardForm p{font-size:12px;line-height:1.5;margin-top:10px}#boardForm input,#boardForm textarea,#boardForm select{margin-top:6px}.cat-touch{position:absolute;z-index:4;background:transparent;border:0;width:58px;height:64px;min-height:44px;transform:translate(-50%,-100%);border-radius:50%;cursor:pointer}.cat-touch:focus-visible{outline:3px solid #eadb9e}.cat-touch .cat-speech{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);background:#fffdf4;border:1px solid #d9c89e;border-radius:14px;padding:9px 14px;font-size:15px;font-weight:700;box-shadow:0 3px 10px #33270d25;white-space:nowrap}
/* Keep the board editor away from the actual chalkboard text. */
.board-open{left:auto;right:14px}.award-wall{top:78px}
