.pixel-office{--po-ink:#173b40;--po-paper:#f5ead0;color:var(--po-ink);background:#f5ead8;border:3px solid #173b40;font:14px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif;max-width:100%;min-width:0;isolation:isolate}
.pixel-office *{box-sizing:border-box}.po-header{display:flex;height:auto;gap:12px;align-items:center;justify-content:space-between;background:#173b40;color:#fff3db;padding:16px 18px}.po-heading{min-width:0}.po-eyebrow{font-size:12px;letter-spacing:2px;color:#b0e4d2}.pixel-office .po-title{font:700 18px/1.4 system-ui,sans-serif;margin:4px 0 0;overflow-wrap:anywhere}.pixel-office button{font:inherit;cursor:pointer}.pixel-office button:disabled{cursor:default;opacity:.6}.pixel-office button:focus-visible,.po-viewport:focus-visible,.po-replay-scrub:focus-visible{outline:3px solid #b86e08;outline-offset:3px}.pixel-office .po-close{flex-shrink:0;background:#28545b;border:1px solid #91b9ae;color:#fff7e5;padding:6px 9px}.po-status{margin:0;padding:9px 18px;background:#d7e9d8;border-bottom:2px solid #47685b;font-size:13px;overflow-wrap:anywhere}.po-offline .po-status{background:#efdbad}
.po-viewport{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;background:#9c7b59}.po-board{position:relative;min-width:720px;width:100%;height:560px;overflow:hidden;background-color:#c5a87d;background-image:repeating-linear-gradient(0deg,transparent 0 39px,#8a634542 39px 41px),repeating-linear-gradient(90deg,transparent 0 119px,#f6e2b82b 119px 121px);box-shadow:inset 8px 0 #806044,inset -8px 0 #806044,inset 0 -8px #806044}.po-wall{position:absolute;inset:0 0 auto;height:91px;background:#9eaf9d;border-bottom:10px solid #5e7062;box-shadow:0 6px #314c4226;display:flex;justify-content:space-around;align-items:center}.po-window{width:110px;height:60px;background:linear-gradient(145deg,#bfe0df 0 47%,#d5eeeb 48% 64%,#a8cfcc 65%);border:6px solid #f2e6c9;box-shadow:3px 4px #536c61}.po-window:before{content:'';display:block;height:100%;width:5px;background:#f2e6c9;margin:auto}.po-wall-sign{font-size:14px;letter-spacing:3px;font-weight:800;background:#eae2bd;padding:9px;color:#385849;box-shadow:3px 3px #4e6a54}.po-door{position:absolute;bottom:4px;left:3%;width:84px;height:39px;background:#755840;border:6px solid #e5c895;border-bottom:0}.po-rug{position:absolute;left:36%;top:285.6px;width:28%;height:95.2px;background:#638f87;border:8px solid #8eb5a4;box-shadow:0 0 0 3px #48746c;opacity:.8}
.po-furniture{position:absolute;pointer-events:none;display:flex;justify-content:center;align-items:center;width:132px;height:110px;transform:translate(-50%,-50%);z-index:4}.po-furniture-code{left:43%;top:26%}.po-furniture-git{left:75%;top:23%}.po-furniture-build{left:22%;top:59%}.po-furniture-server{left:83%;top:58%}.po-furniture-plan{left:15%;top:22%}.po-furniture-wait{left:53%;top:83%;width:170px}.po-furniture-label{position:absolute;top:0;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:12px;color:#3c4736;background:#f2e4c6b0;padding:0 5px}.po-sprite{display:block;background-image:url('/static/pixel-office-atlas.png');background-repeat:no-repeat;background-size:400% 200%;image-rendering:pixelated}.po-prop{width:126px;height:126px;clip-path:inset(4% 0 0)}.po-prop-code{background-position:0 100%}.po-prop-git{background-position:33.3333% 100%}.po-prop-build{background-position:66.6667% 100%}.po-prop-server{background-position:100% 100%}.po-whiteboard{position:absolute;top:15px;left:24px;border:5px solid #526f61;background:#eff0ce;padding:4px 12px;font-size:12px;font-weight:bold;box-shadow:3px 3px #8f815e;letter-spacing:2px}.po-table{position:absolute;width:120px;height:45px;left:4px;top:64px;background:#967149;border:5px solid #604b36;box-shadow:0 7px #604b36,4px 12px #644a362f}.po-bench{width:111px;height:43px;border:7px solid #476d66;background:#80a28d;box-shadow:0 8px #36594f,5px 14px #634d3522}.po-plant{position:absolute;right:0;top:19px;display:block;width:24px;height:30px;background:#4a8865;box-shadow:-8px -9px #659775,7px -6px #3d7757,0 14px #9f724c}
.pixel-office .po-actor{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;width:116px;min-height:114px;padding:0;background:transparent;border:0;color:#173b40;border-radius:0;box-shadow:none;white-space:normal;line-height:1.3}.pixel-office .po-actor:hover,.pixel-office .po-actor[aria-pressed=true]{background:transparent}.po-actor:after{content:'';position:absolute;width:52px;height:12px;border-radius:50%;top:76px;background:#4a463b35;z-index:-1}.po-actor[aria-pressed=true]:after{background:#dbeabc;box-shadow:0 0 0 3px #366757}.po-avatar{width:88px;height:88px;position:relative;background-image:url('/static/pixel-office-characters-v2.png');background-size:600% 400%;background-position-x:0}.po-avatar-orchestrator{background-position-y:0}.po-avatar-development{background-position-y:33.3333%}.po-avatar-server{background-position-y:66.6667%}.po-avatar-content{background-position-y:100%}.po-avatar-unknown{background-image:none;background:#6a8178;width:36px;height:46px;margin:21px 26px;box-shadow:5px 4px #36564e}.po-automation .po-avatar{background-image:none;width:44px;height:44px;margin:22px;background:#718f8b;border:5px solid #345851;box-shadow:4px 4px #173c3544}.po-automation .po-avatar:after{content:'⚙';position:absolute;inset:-3px 0;font-size:25px;text-align:center;color:#f3ebc7}.po-actor-name,.po-actor-state{display:block;background:#fcf4e3eb;padding:1px 5px;max-width:116px;font-size:12px;overflow-wrap:anywhere}.po-actor-name{font-weight:700}.po-actor-state{color:#48594e}.po-action-bubble{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);background:#fffae9;border:2px solid #627f69;box-shadow:2px 3px #57453124;color:#264b44;padding:4px 7px;font-size:12px;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}.po-action-bubble:after{content:'';position:absolute;left:50%;bottom:-6px;width:8px;height:8px;background:#fffae9;border-right:2px solid #627f69;border-bottom:2px solid #627f69;transform:rotate(45deg)}.po-action-bubble[hidden]{display:none}.po-working .po-avatar{animation:po-work 650ms steps(1,end) infinite}.po-walking .po-avatar{animation:po-walk 400ms steps(1,end) infinite}.po-actor.po-completed .po-avatar{background-position-x:100%}.po-face-left .po-avatar{scale:-1 1}.po-station-active:after{content:'';position:absolute;right:30px;top:35px;width:8px;height:8px;background:#a8fbc3;border:2px solid #32694d;box-shadow:0 0 0 4px #cef2a74d;animation:po-signal 900ms steps(2,end) infinite}.po-offline .po-avatar,.po-offline .po-furniture:after{animation:none}.po-offline .po-furniture:after{display:none}.po-empty{position:absolute;z-index:100;top:44%;left:50%;transform:translate(-50%,-50%);text-align:center;padding:16px;background:#fff4db;border:2px solid #8b795d;width:70%}.po-empty[hidden]{display:none}
.po-replay{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 18px;background:#e5e9d5;border-top:2px solid #708571}.pixel-office .po-replay button{background:#fff9e8;color:#254c44;border:1px solid #688574;border-radius:4px;padding:7px 10px;font-size:13px}.po-replay-label{font-size:13px;font-weight:700;color:#304b4f}.po-replay-scrub{flex:1 1 150px;accent-color:#356f67;min-width:120px}.po-replay [hidden]{display:none}.po-replaying .po-status{background:#ead9b0;color:#513f19}.po-summary{padding:14px 18px;background:#f8f0dd}.pixel-office .po-summary h4,.pixel-office .po-details h4{font-size:14px;margin:0 0 8px}.pixel-office .po-summary-row{display:grid;grid-template-columns:minmax(110px,auto) 1fr;gap:4px 12px;width:100%;text-align:left;padding:10px 0;border:0;border-bottom:1px solid #b9b7a1;background:transparent;color:#244a44;border-radius:0}.po-summary-row strong{font-size:14px}.po-summary-outcome{font-size:13px;justify-self:end}.po-summary-trace{font-size:13px;grid-column:1/-1;overflow-wrap:anywhere}.po-summary-row small{font-size:12px;grid-column:1/-1;color:#58614b}.po-details{padding:13px 18px;border-top:1px solid #b9b7a1;background:#f5ecd7;overflow-wrap:anywhere;min-height:52px}.po-details>p{margin:0;font-size:14px;color:#56665a}.po-facts{display:grid;grid-template-columns:64px minmax(0,1fr);gap:5px 12px;margin:9px 0 14px;font-size:13px}.po-facts dt{color:#59644f}.po-facts dd{margin:0}.po-history{margin:8px 0 0;padding-left:22px;font-size:13px}.po-history li{padding:5px 0}.po-history time{color:#5a6353;margin-right:10px}.po-history-state{color:#58634f;margin-left:10px}.po-note{margin:0;padding:9px 18px 13px;color:#56665a;font-size:12px}.po-dialog{padding:0;border:0;background:transparent;width:min(1080px,calc(100vw - 32px));max-width:calc(100vw - 24px);max-height:90vh;overflow:auto}.po-dialog::backdrop{background:#102b35b8;backdrop-filter:blur(3px)}
.pixel-office .po-actor-open{background:#285b52;color:#fff8e6;border:1px solid #285b52;border-radius:4px;padding:8px 12px;margin:0 0 14px}
.po-motion-controls{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;padding:10px 18px;background:#eee5cc;border-bottom:1px solid #9d9d82}.pixel-office .po-motion-toggle{background:#fff7e3;color:#28534a;border:1px solid #647e66;border-radius:4px;padding:7px 10px;font-size:13px}.po-motion-status{font-size:12px;color:#455b4e;flex:1 1 220px}.pixel-office.po-motion-disabled .po-avatar,.pixel-office.po-motion-disabled .po-furniture:after{animation:none}
/* Each model owns an isolated one-row strip with verified transparent gutters. */
.po-avatar{background-size:600% 100%;background-position-y:0;background-image:none}
.po-avatar-leader{background-image:url('/static/pixel-office-leader-v3.png')}
.po-avatar-astra{background-image:url('/static/pixel-office-astra-v3.png')}
.po-avatar-sol{background-image:url('/static/pixel-office-sol-v3.png')}
.po-avatar-luna{background-image:url('/static/pixel-office-luna-v3.png')}
.po-avatar-opus{background-image:url('/static/pixel-office-opus-v3.png')}
.po-avatar-sonnet{background-image:url('/static/pixel-office-sonnet-v3.png')}
.po-avatar-haiku{background-image:url('/static/pixel-office-haiku-v3.png')}
.po-avatar-fable{background-image:url('/static/pixel-office-fable-v3.png')}
.pixel-office .po-actor{width:176px}
.po-actor-name,.po-actor-state{max-width:176px}
.po-action-bubble{width:190px;max-width:190px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.4;padding:7px 9px;border-radius:10px;text-align:left;overflow-wrap:anywhere}
.po-actor:hover .po-action-bubble,.po-actor[aria-pressed=true] .po-action-bubble{border-color:#244b40;background:#fffcef}
.po-actor:hover,.po-actor[aria-pressed=true]{z-index:2000!important}
/* Speech popup: the bubble is clickable; its keyboard proxy is announced but drawn as a focus ring on the bubble. */
.pixel-office .po-action-bubble{cursor:pointer}
/* A sentence the Agent itself sent: labelled with its source; the recorded state speech is not. */
.pixel-office:not(.oil-office) .po-action-bubble.po-say-agent{border-left-width:5px;border-left-color:#2f6f60}
.pixel-office:not(.oil-office) .po-action-bubble.po-say-agent:before{content:'Agent 진행 설명';display:block;margin-bottom:2px;font-size:12px;font-weight:700;color:#2f5c52}
.pixel-office .po-speech-open{position:absolute;width:1px;height:1px;padding:0;margin:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;opacity:0;pointer-events:none}
.pixel-office .po-speech-open[hidden]{display:none}
.pixel-office .po-speech-focus .po-action-bubble{visibility:visible;outline:3px solid #b86e08;outline-offset:2px}
.pixel-office .po-speech-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:18px 20px;border:3px solid #173b40;border-radius:12px;background:#fffaf0;color:#173b40;font:15px/1.6 system-ui,-apple-system,'Segoe UI','Apple SD Gothic Neo','Malgun Gothic',sans-serif}
.pixel-office .po-speech-dialog::backdrop{background:#102b35b8}
.pixel-office .po-speech-title{margin:0 0 6px;font-size:17px;line-height:1.4;overflow-wrap:anywhere}
.pixel-office .po-speech-kind{margin:0 0 12px;color:#3f5248}
.pixel-office .po-speech-facts{display:grid;grid-template-columns:minmax(88px,auto) minmax(0,1fr);gap:8px 14px;margin:0 0 12px}
.pixel-office .po-speech-facts dt{color:#3f5248;font-weight:600}
.pixel-office .po-speech-facts dd{margin:0;min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}
.pixel-office .po-speech-goals{margin:0;padding-left:20px}
.pixel-office .po-speech-partial{margin:6px 0;padding:6px 10px;border-left:3px solid #a8742a;background:#f6e7c8;color:#3d2c10}
.pixel-office .po-speech-body .po-note{padding:8px 0 0;background:transparent;color:#3f5248;font-size:13px}
.pixel-office .po-speech-close{margin-top:12px;padding:8px 14px;border:1px solid #285b52;border-radius:6px;background:#285b52;color:#fff8e6}
.pixel-office .po-speech-dialog :focus-visible{outline:3px solid #b86e08;outline-offset:3px}
@media(max-width:650px){.pixel-office .po-speech-dialog{padding:14px}.pixel-office .po-speech-facts{grid-template-columns:minmax(0,1fr);gap:2px}.pixel-office .po-speech-facts dd{margin-bottom:8px}}
@keyframes po-work{0%,100%{background-position-x:60%}50%{background-position-x:80%}}@keyframes po-walk{0%,100%{background-position-x:20%}50%{background-position-x:40%}}@keyframes po-signal{0%,100%{opacity:1}50%{opacity:.35}}
@media(max-width:650px){.po-header{padding:12px;align-items:flex-start;flex-wrap:wrap}.pixel-office .po-title{font-size:16px}.po-eyebrow{letter-spacing:1px}.pixel-office .po-close{font-size:12px;padding:6px}.po-status{padding:8px 12px}.po-replay,.po-summary,.po-details{padding:12px}.po-facts{grid-template-columns:60px minmax(0,1fr);gap:5px 8px}.po-note{padding:9px 12px}.po-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px)}.po-viewport:after{content:'사무실을 좌우로 밀어 다른 담당자를 볼 수 있습니다.';display:block;position:sticky;left:0;width:100%;padding:7px 10px;font-size:12px;background:#e7dbbd;color:#3d594b}}
@media(prefers-reduced-motion:reduce){.pixel-office:not(.po-motion-enabled) .po-avatar,.pixel-office:not(.po-motion-enabled) .po-furniture:after{animation:none}}
