/* AICC office · Claude Style (illustrated room v1).
   Rules are scoped to .pixel-office.oil-office and .oil-*; Codex Style and the archived code-native
   Claude Style (.ocl-*) are untouched. Art: one 1536x1024 room painting, eight 5-frame cast strips
   (idle, walk-left, walk-right, seated, report) and eight 2-frame back-view strips (back-idle, back-sit),
   all 200x280 cells with 16 px transparent margins. Positions are
   art pixels expressed through --oil-u (one art pixel of the current board width). Motion exists only on
   classes the shared controller sets for recorded work, walking between observed scenes and clearly
   decorative rest props, and all of it stops with motion off, reduced motion, offline/hidden and a
   paused replay (end of file). */
.oil-probe{--oil-ready:1}
@property --oil-z{syntax:'<integer>';inherits:true;initial-value:0}

/* Cast strips: one file per identity. --oil-report-dx re-centres the report frame on its feet. */
.oil-cast-leader{background-image:url('office-illustrated-cast-leader-v1.png');--oil-report-dx:4.1}
.oil-cast-astra{background-image:url('office-illustrated-cast-astra-v1.png');--oil-report-dx:5.4}
.oil-cast-sol{background-image:url('office-illustrated-cast-sol-v1.png');--oil-report-dx:4.7}
.oil-cast-opus{background-image:url('office-illustrated-cast-opus-v1.png');--oil-report-dx:1.8}
.oil-cast-sonnet{background-image:url('office-illustrated-cast-sonnet-v1.png');--oil-report-dx:5.6}
.oil-cast-luna{background-image:url('office-illustrated-cast-luna-v1.png');--oil-report-dx:3.6}
.oil-cast-haiku{background-image:url('office-illustrated-cast-haiku-v1.png');--oil-report-dx:5.2}
.oil-cast-guest{background-image:url('office-illustrated-cast-guest-v1.png');--oil-report-dx:5.8}
.oil-avatar,.oil-portrait,.oil-mini-person{background-repeat:no-repeat;background-color:transparent}
.po-actor>.oil-prop{display:none}

/* ---------- Shell ---------- */
.pixel-office.oil-office{--oil-ink:#2b2118;--oil-soft:#5e4b3a;--oil-paper:#fbf4e6;--oil-card:#fffaf0;--oil-line:#3a2618;--oil-clay:#a4492a;--oil-sage:#55704b;color:var(--oil-ink);background:var(--oil-paper);border:3px solid var(--oil-line);font:14px/1.55 system-ui,-apple-system,'Segoe UI','Apple SD Gothic Neo','Malgun Gothic',sans-serif}
.pixel-office.oil-office .po-header{background:#2f241d;color:#fbf1de;border-bottom:3px solid #c4643f;padding:16px 18px}
.pixel-office.oil-office .po-eyebrow{font:600 12px/1.4 ui-monospace,Menlo,Consolas,monospace;letter-spacing:.16em;color:#f2b79b}
.pixel-office.oil-office .po-title{color:#fbf1de}
.pixel-office.oil-office .po-close{background:#2f241d;color:#fbf1de;border:2px solid #e9d7bd;border-radius:8px;padding:6px 12px}
.pixel-office.oil-office .po-close:hover{background:#4a3a2e}
.pixel-office.oil-office button:focus-visible,.pixel-office.oil-office .po-viewport:focus-visible,.pixel-office.oil-office .po-replay-scrub:focus-visible{outline:3px solid #a4492a;outline-offset:3px}
.pixel-office.oil-office .po-header button:focus-visible{outline-color:#f2b79b}
.pixel-office.oil-office .po-status{background:#efe3cc;color:var(--oil-ink);border-bottom:2px solid var(--oil-line);border-left:6px solid var(--oil-sage)}
.pixel-office.oil-office.po-offline .po-status{background:#f3dcb0;border-left-color:#8a8178}
.pixel-office.oil-office.po-replaying .po-status{background:#ead9c4;border-left-color:var(--oil-clay)}
.pixel-office.oil-office .po-motion-controls{background:#f6eddd;border-bottom:1px dashed #b89a74}
.pixel-office.oil-office .po-motion-toggle,.pixel-office.oil-office .po-style-option{background:var(--oil-card);color:var(--oil-ink);border:2px solid var(--oil-line);border-radius:8px;padding:6px 10px}
.pixel-office.oil-office .po-style-option[aria-pressed=true]{background:var(--oil-clay);color:#fffaf0}
.pixel-office.oil-office .po-motion-status,.pixel-office.oil-office .po-style-note{color:var(--oil-soft)}

/* ---------- The room: one painting, measured in art pixels ---------- */
.pixel-office.oil-office .po-viewport{background:#24180f}
.pixel-office.oil-office .po-board.po-room{min-width:760px;height:auto!important;aspect-ratio:3/2;container-type:inline-size;--oil-u:calc(100cqw / 1536);background:#24180f;box-shadow:none;overflow:hidden}
.oil-room,.oil-occluder{position:absolute;inset:0;pointer-events:none;background:url('office-illustrated-room-v1.png') 0 0/100% 100% no-repeat}
.oil-room{z-index:0}
.pixel-office.oil-office.po-offline .oil-room,.pixel-office.oil-office.po-offline .oil-occluder{filter:saturate(.6) brightness(.95)}
.pixel-office.oil-office.po-replaying .oil-room,.pixel-office.oil-office.po-replaying .oil-occluder{filter:sepia(.18) saturate(.92)}
.pixel-office.oil-office .oil-lamp{position:absolute;width:calc(30 * var(--oil-u));height:calc(30 * var(--oil-u));transform:translate(-50%,-50%);z-index:2;border-radius:50%;background:radial-gradient(circle,#fff1c4 0 18%,#ffd36e99 34%,#ffd36e00 70%);opacity:0;pointer-events:none}
.pixel-office.oil-office .oil-lamp:after{content:none}
.pixel-office.oil-office .oil-lamp.po-station-active{opacity:1}

/* ---------- People: a sprite box anchored at the feet; depth follows the feet (--oil-z) ---------- */
.pixel-office.oil-office .po-actor,.pixel-office.oil-office .po-actor:hover,.pixel-office.oil-office .po-actor[aria-pressed=true]{position:absolute;display:block;transform:none;width:calc(100 * var(--oil-u));height:calc(140 * var(--oil-u));min-height:0;padding:0;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:var(--oil-ink);z-index:auto!important;--oil-head:13;--oil-flipdx:1}
.pixel-office.oil-office .po-actor[data-frame="3"],.pixel-office.oil-office .po-actor[data-frame="6"]{--oil-head:35}
.pixel-office.oil-office .po-actor.po-automation{--oil-head:92}
.pixel-office.oil-office .po-actor.oil-flip{--oil-flipdx:-1}
.pixel-office.oil-office .po-actor:focus-visible{outline:none}
.pixel-office.oil-office .po-actor:after{content:none}
/* Floor shadow for standing people; chairs already carry their own shadows. */
.pixel-office.oil-office .po-actor:before{content:'';position:absolute;left:calc(27 * var(--oil-u));top:calc(126 * var(--oil-u));width:calc(46 * var(--oil-u));height:calc(12 * var(--oil-u));border-radius:50%;background:#3a261840;z-index:calc(var(--oil-z) - 1)}
.pixel-office.oil-office .po-actor.oil-seated:before,.pixel-office.oil-office .po-actor.po-automation:before{content:none}
.pixel-office.oil-office .oil-avatar{position:absolute;inset:0;display:block;z-index:var(--oil-z);background-size:500% 100%;background-position:calc(var(--oil-frame,0) * 25%) 0}
.pixel-office.oil-office .po-actor[data-frame="4"] .oil-avatar{translate:calc(var(--oil-report-dx,0) * var(--oil-flipdx) * var(--oil-u)) 0}
.pixel-office.oil-office .oil-flip .oil-avatar{scale:-1 1}
.pixel-office.oil-office .po-walking .oil-avatar{scale:none;translate:none}
/* Back views (data-frame 5 back-idle, 6 back-sit) on spots that face the table, the team lead or the
   workbench. The painted back faces up-right; .oil-flip mirrors it up-left. Hips and feet sit on the
   same cell points as the front frames, so seats keep their measured contacts. --oil-back-k scales a
   back strip around the feet to its identity's front standing height (front rows were normalized per
   row; every back strip stands 240 px). Walking always shows the front strip, and props stay hidden in
   front of a body seen from behind. */
.pixel-office.oil-office .po-actor.oil-back:not(.po-walking) .oil-avatar{background-size:200% 100%;background-position:0% 0;transform-origin:50% 94.2857%;scale:calc(var(--oil-back-k,1) * var(--oil-flipdx,1)) var(--oil-back-k,1)}
.pixel-office.oil-office .po-actor.oil-back[data-frame="6"]:not(.po-walking) .oil-avatar{background-position:100% 0}
.pixel-office.oil-office .po-actor.oil-back:not(.po-walking) .oil-cast-leader{background-image:url('office-illustrated-back-leader-v1.png')}
.pixel-office.oil-office .po-actor.oil-back:not(.po-walking) .oil-cast-astra{background-image:url('office-illustrated-back-astra-v1.png');--oil-back-k:.954}
.pixel-office.oil-office .po-actor.oil-back:not(.po-walking) .oil-cast-sol{background-image:url('office-illustrated-back-sol-v1.png')}
.pixel-office.oil-office .po-actor.oil-back:not(.po-walking) .oil-cast-opus{background-image:url('office-illustrated-back-opus-v1.png');--oil-back-k:.9}
.pixel-office.oil-office .po-actor.oil-back:not(.po-walking) .oil-cast-sonnet{background-image:url('office-illustrated-back-sonnet-v1.png')}
.pixel-office.oil-office .po-actor.oil-back:not(.po-walking) .oil-cast-luna{background-image:url('office-illustrated-back-luna-v1.png');--oil-back-k:.9}
.pixel-office.oil-office .po-actor.oil-back:not(.po-walking) .oil-cast-haiku{background-image:url('office-illustrated-back-haiku-v1.png');--oil-back-k:.975}
.pixel-office.oil-office .po-actor.oil-back:not(.po-walking) .oil-cast-guest{background-image:url('office-illustrated-back-guest-v1.png')}
.pixel-office.oil-office .oil-actor.oil-back>.oil-prop{display:none}
.pixel-office.oil-office .po-actor[data-tone=stale] .oil-avatar{filter:grayscale(.65);opacity:.88}
.pixel-office.oil-office .po-actor[data-tone=cancelled] .oil-avatar{filter:grayscale(.55)}
.pixel-office.oil-office .po-actor[data-tone=before] .oil-avatar{opacity:.5}
.pixel-office.oil-office .oil-machine{background:none}
.pixel-office.oil-office .po-automation .oil-machine:after{content:'\2699';position:absolute;left:50%;top:calc(96 * var(--oil-u));width:24px;height:24px;margin-left:-12px;border-radius:50%;background:#2f3a3a;color:#bff5d8;border:2px solid #fbf1de;font:700 14px/20px system-ui,sans-serif;text-align:center}
/* Status badge beside the head; the visible state text stays the source of truth. */
.pixel-office.oil-office .po-actor:after{position:absolute;left:calc(64 * var(--oil-u));top:calc(var(--oil-head) * var(--oil-u) - 6px);z-index:calc(var(--oil-z) + 2);width:20px;height:20px;border:2px solid #3a2618;border-radius:50%;background:var(--oil-card);color:#2b2118;font:700 12px/16px system-ui,sans-serif;text-align:center}
.pixel-office.oil-office .po-actor[data-tone=attention]:after{content:'!';background:#f0b453}
.pixel-office.oil-office .po-actor[data-tone=failed]:after{content:'\00D7';background:#9e2f2f;color:#fffaf0}
.pixel-office.oil-office .po-actor[data-tone=stale]:after{content:'?';background:#d8d0c6}
.pixel-office.oil-office .po-actor[data-mode=dependency]:after{content:'\23F3';background:#e8dcc4;font-size:12px}
.pixel-office.oil-office .po-actor[data-mode=resting]:after,.pixel-office.oil-office .po-actor[data-mode=team-wait]:after{content:'\2713';background:var(--oil-sage);color:#fffaf0}

/* Hand-held props, drawn in the room's ink and placed at the frame's measured hand position. */
.pixel-office.oil-office .oil-actor>.oil-prop{display:block;position:absolute;pointer-events:none;z-index:calc(var(--oil-z) + 1);width:calc(20 * var(--oil-u));height:calc(20 * var(--oil-u));left:calc(45 * var(--oil-u));top:calc(79 * var(--oil-u));background-repeat:no-repeat;background-position:center;background-size:contain}
.pixel-office.oil-office .oil-actor[data-frame="3"]>.oil-prop{left:calc(44 * var(--oil-u));top:calc(87 * var(--oil-u))}
.pixel-office.oil-office .oil-actor.oil-flip>.oil-prop{left:calc(35 * var(--oil-u))}
.pixel-office.oil-office .oil-actor.oil-flip[data-frame="3"]>.oil-prop{left:calc(36 * var(--oil-u))}
.pixel-office.oil-office .oil-actor>.oil-prop:not([class*=oil-prop-]),.pixel-office.oil-office .po-walking>.oil-prop{display:none}
.oil-prop-coffee{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 6h9v8a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3z' fill='%23f3e6cf' stroke='%233a2618' stroke-width='1.4'/%3E%3Cpath d='M14 8h1.5a2 2 0 0 1 0 4H14' fill='none' stroke='%233a2618' stroke-width='1.4'/%3E%3Cpath d='M6 7.5h7' stroke='%237a4a2a' stroke-width='1.6'/%3E%3C/svg%3E")}
.oil-prop-book{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M1.5 6 10 8l8.5-2v9L10 17l-8.5-2z' fill='%23fbf4e6' stroke='%233a2618' stroke-width='1.3'/%3E%3Cpath d='M10 8v9' stroke='%233a2618' stroke-width='1.1'/%3E%3Cpath d='M1 15.5 10 17.6l9-2.1' fill='none' stroke='%2355704b' stroke-width='1.6'/%3E%3Cpath d='M3.5 9.5l4 1M3.5 12l4 1M12.5 10.5l4-1M12.5 13l4-1' stroke='%23b89a74' stroke-width='.8'/%3E%3C/svg%3E")}
.oil-prop-hourglass{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 2.5h10M5 17.5h10' stroke='%233a2618' stroke-width='1.8'/%3E%3Cpath d='M6 3c0 5 4 5 4 7s-4 2-4 7h8c0-5-4-5-4-7s4-2 4-7z' fill='%23f6eddd' stroke='%233a2618' stroke-width='1.2'/%3E%3Cpath d='M7.5 16.5h5L10 13.5z' fill='%23d39b2f'/%3E%3C/svg%3E")}
.oil-prop-note{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 3h9l3 3v11H4z' fill='%23fffaf0' stroke='%233a2618' stroke-width='1.3'/%3E%3Cpath d='M6.5 8h7M6.5 11h7M6.5 14h4' stroke='%23a4492a' stroke-width='1'/%3E%3C/svg%3E")}

/* ---------- Name tag, state tag and speech slip ---------- */
.pixel-office.oil-office .po-actor-name,.pixel-office.oil-office .po-actor-state{position:absolute;left:50%;transform:translateX(calc(-50% + var(--oil-tag-shift,0px)));display:block;max-width:none;white-space:nowrap;overflow-wrap:normal;z-index:calc(2000 + var(--oil-z));font:600 12px/1.35 system-ui,-apple-system,'Segoe UI','Apple SD Gothic Neo','Malgun Gothic',sans-serif;padding:1px 7px;border-radius:7px;pointer-events:auto}
.pixel-office.oil-office .po-actor-name{top:calc(133 * var(--oil-u) + 2px);background:#3a2618;color:#fbf1de}
.pixel-office.oil-office .po-actor-state{top:calc(133 * var(--oil-u) + 21px);background:var(--oil-card);color:#3a2618;border:1px solid #3a2618;font-weight:500}
.pixel-office.oil-office .oil-tag-above .po-actor-name{top:auto;bottom:calc(100% - var(--oil-head) * var(--oil-u) + 23px)}
.pixel-office.oil-office .oil-tag-above .po-actor-state{top:auto;bottom:calc(100% - var(--oil-head) * var(--oil-u) + 4px)}
.pixel-office.oil-office .oil-tag-quiet:not(:hover):not(:focus-visible):not([aria-pressed=true]):not(.po-speech-focus) :is(.po-actor-name,.po-actor-state){visibility:hidden}
.pixel-office.oil-office .po-actor[aria-pressed=true] .po-actor-name{background:var(--oil-clay);color:#fffaf0}
.pixel-office.oil-office .po-actor:focus-visible .po-actor-name{outline:3px solid #f2b04a;outline-offset:2px}
.pixel-office.oil-office .po-actor[data-mode=resting] .po-actor-state,.pixel-office.oil-office .po-actor[data-mode=team-wait] .po-actor-state{background:#e5eedb;border-color:var(--oil-sage)}
.pixel-office.oil-office .po-actor[data-mode=dependency] .po-actor-state,.pixel-office.oil-office .po-actor[data-mode=queued] .po-actor-state{background:#f6e7c8;border-color:#a8742a}
.pixel-office.oil-office .po-action-bubble{position:absolute;left:50%;top:auto;bottom:calc(100% - var(--oil-head) * var(--oil-u) + 8px + var(--oil-lift,0px) + var(--oil-raise,0px));transform:translateX(calc(-50% + var(--oil-shift,0px)));z-index:calc(3200 + var(--oil-z));display:flex;flex-direction:column;gap:2px;width:max-content;max-width:228px;min-width:0;padding:6px 9px 7px;background:var(--oil-card);color:var(--oil-ink);border:2px solid #3a2618;border-radius:12px;box-shadow:2px 3px 0 #3a261833;font:13px/1.4 system-ui,-apple-system,'Segoe UI','Apple SD Gothic Neo','Malgun Gothic',sans-serif;text-align:left;white-space:normal;overflow:visible;overflow-wrap:anywhere}
.pixel-office.oil-office .oil-tag-above .po-action-bubble{--oil-lift:40px}
.pixel-office.oil-office .po-action-bubble:after{content:'';position:absolute;left:clamp(16px,calc(50% - var(--oil-shift,0px)),calc(100% - 16px));bottom:-7px;width:10px;height:10px;margin-left:-5px;background:var(--oil-card);border-right:2px solid #3a2618;border-bottom:2px solid #3a2618;transform:rotate(45deg);top:auto}
.pixel-office.oil-office .po-action-bubble[hidden]{display:none}
.pixel-office.oil-office .oil-say-now{font-weight:600}
.pixel-office.oil-office .oil-say-goal{color:var(--oil-soft);font-size:12px}
.pixel-office.oil-office .oil-say-icon{display:none}
/* A sentence the Agent itself sent: a small source label; the recorded state speech has none. */
.pixel-office.oil-office .oil-say-agent{font-weight:500}
.pixel-office.oil-office .oil-say-agent:before{content:'Agent 진행 설명';display:block;font-size:12px;font-weight:700;color:#5b3a22}
.pixel-office.oil-office .po-actor[data-tone=working] .po-action-bubble{border-color:#a4492a}
.pixel-office.oil-office .po-actor[data-tone=attention] .po-action-bubble{border-color:#b9791c;background:#fff4dc}
.pixel-office.oil-office .po-actor[data-tone=failed] .po-action-bubble{border-color:#9e2f2f}
.pixel-office.oil-office .po-actor[data-tone=stale] .po-action-bubble{background:#f4efe8;color:#3d332b}
/* Crowded rooms: low-priority slips shrink to an icon; hover, focus and selection open them on top. */
.pixel-office.oil-office .oil-compact .po-action-bubble{padding:1px 7px;border-radius:11px;font-size:13px;line-height:1.35}
.pixel-office.oil-office .oil-compact .po-action-bubble .oil-say-now,.pixel-office.oil-office .oil-compact .po-action-bubble .oil-say-goal{display:none}
.pixel-office.oil-office .oil-compact .po-action-bubble .oil-say-icon{display:block}
.pixel-office.oil-office .oil-quiet:not(:hover):not(:focus-visible):not([aria-pressed=true]):not(.po-speech-focus) .po-action-bubble{visibility:hidden}
.pixel-office.oil-office .oil-compact:is(:hover,:focus-visible,[aria-pressed=true],.po-speech-focus) .po-action-bubble{padding:6px 9px 7px;border-radius:12px;--oil-raise:0px}
.pixel-office.oil-office .oil-compact:is(:hover,:focus-visible,[aria-pressed=true],.po-speech-focus) .po-action-bubble .oil-say-now,.pixel-office.oil-office .oil-compact:is(:hover,:focus-visible,[aria-pressed=true],.po-speech-focus) .po-action-bubble .oil-say-goal{display:block}
.pixel-office.oil-office .oil-compact:is(:hover,:focus-visible,[aria-pressed=true],.po-speech-focus) .po-action-bubble .oil-say-icon{display:none}
.pixel-office.oil-office .po-actor:is(:hover,:focus-visible,[aria-pressed=true],.po-speech-focus) .po-action-bubble{z-index:5200}
.pixel-office.oil-office .po-actor:is(:hover,:focus-visible,[aria-pressed=true],.po-speech-focus) :is(.po-actor-name,.po-actor-state){z-index:5100}
/* The bubble's keyboard proxy is focused: mark the bubble itself (the speech popup opens on Enter/Space). */
.pixel-office.oil-office .po-speech-focus .po-action-bubble{outline:3px solid #a4492a;outline-offset:2px}
.pixel-office.oil-office .po-empty{background:var(--oil-card);border:2px solid #3a2618;color:var(--oil-ink);z-index:6000}

/* ---------- Replay, ledger and actor card ---------- */
.pixel-office.oil-office .po-replay{background:#efe3cc;border-top:2px solid var(--oil-line)}
.pixel-office.oil-office .po-replay button{background:var(--oil-card);color:var(--oil-ink);border:2px solid var(--oil-line);border-radius:8px;padding:6px 11px}
.pixel-office.oil-office .po-replay .po-replay-start{background:var(--oil-clay);color:#fffaf0}
.pixel-office.oil-office .po-replay-label{color:var(--oil-ink)}
.pixel-office.oil-office .po-replay-scrub{accent-color:var(--oil-clay)}
.pixel-office.oil-office .po-summary{background:var(--oil-paper);border-top:2px solid var(--oil-line);padding:16px 18px}
.pixel-office.oil-office .po-summary-row{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"face name outcome" "face trace trace" "face place place" "face note note";align-items:center;gap:2px 12px;padding:10px 4px;border-bottom:1px dashed #c9b79a;color:var(--oil-ink)}
.pixel-office.oil-office .po-summary-row:hover{background:#f3e8d6}
.pixel-office.oil-office .po-summary-row strong{grid-area:name}
.pixel-office.oil-office .po-summary-outcome{grid-area:outcome;justify-self:end;font-size:12px;padding:1px 8px;border:1px solid var(--oil-line);border-radius:8px;background:var(--oil-card)}
.pixel-office.oil-office .po-summary-trace{grid-area:trace;color:#4a3a2c}
.pixel-office.oil-office .po-summary-place{grid-area:place;color:#3f5a36;font-size:12px}
.pixel-office.oil-office .po-summary-row small:not(.po-summary-place){grid-area:note;color:var(--oil-soft)}
.pixel-office.oil-office .oil-portrait{grid-area:face;align-self:start;display:block;width:40px;height:40px;border:2px solid var(--oil-line);border-radius:50%;background-color:#efe3cc;background-size:364px 102px;background-position:-16px -6px}
.pixel-office.oil-office .oil-portrait.oil-machine{background:#2f3a3a}
.pixel-office.oil-office .po-details{background:var(--oil-card);border-top:2px solid var(--oil-line);box-shadow:inset 0 5px 0 #c4643f;padding:18px 18px 14px}
.pixel-office.oil-office .po-details>p,.pixel-office.oil-office .po-facts dt,.pixel-office.oil-office .po-history time,.pixel-office.oil-office .po-history-state{color:var(--oil-soft)}
.pixel-office.oil-office .po-history-event{display:block;margin-left:0;color:#3f5a36;font-size:12px}
.pixel-office.oil-office .po-actor-open{background:var(--oil-clay);color:#fffaf0;border:2px solid var(--oil-line);border-radius:8px}
.pixel-office.oil-office .po-note{background:var(--oil-paper);color:var(--oil-soft)}
#task-office:has(.oil-office){border-color:#c4643f;background:#2f241d}
#task-office:has(.oil-office)>summary{color:#f2b79b}
/* The painted room needs a wider office column beside the conversation on desktop widths. */
@media(min-width:1101px){.office-workspace-layout:has(.oil-office){grid-template-columns:minmax(0,1.75fr) minmax(320px,1fr)}}

/* ---------- Gallery miniature and settings preview ---------- */
.office-room-mini.oil-mini{background:#24180f url('office-illustrated-room-v1.png') 50% 38%/118% auto no-repeat;border:4px solid #3a2618;border-bottom-width:8px;border-radius:8px}
.oil-mini-person{position:absolute;z-index:2;width:36px;height:50px;top:64px;background-size:500% 100%;background-position:0 0}
.oil-mini-ended{background-position-x:0}
.oil-mini-slot-0{left:44%;top:30px}.oil-mini-slot-1{left:24%;top:58px}.oil-mini-slot-2{left:62%;top:58px}.oil-mini-slot-3{left:36%;top:84px}.oil-mini-slot-4{left:54%;top:84px}
.office-room-card:has(.oil-mini):hover{border-color:#e08a62}

/* ---------- Motion: recorded work, observed walking and decorative rest only ---------- */
.pixel-office.oil-office:not(.po-motion-disabled):not(.po-offline):not(.po-replay-paused) .po-working .oil-avatar{animation:oil-work 1.2s steps(2,end) infinite}
.pixel-office.oil-office:not(.po-motion-disabled):not(.po-offline):not(.po-replay-paused) .po-walking .oil-avatar{animation:oil-step .36s steps(2,end) infinite}
.pixel-office.oil-office:not(.po-motion-disabled):not(.po-offline):not(.po-replay-paused) .oil-rest>.oil-prop-coffee{animation:oil-sip 3.6s ease-in-out infinite}
.pixel-office.oil-office:not(.po-motion-disabled):not(.po-offline):not(.po-replay-paused) .oil-rest>.oil-prop-book{animation:oil-page 4.2s steps(1,end) infinite}
.pixel-office.oil-office:not(.po-motion-disabled):not(.po-offline):not(.po-replay-paused) .oil-lamp.po-station-active{animation:oil-glow 1.6s ease-in-out infinite}
.pixel-office.oil-office.po-motion-disabled *,.pixel-office.oil-office.po-motion-disabled *:before,.pixel-office.oil-office.po-motion-disabled *:after,.pixel-office.oil-office.po-offline *,.pixel-office.oil-office.po-offline *:before,.pixel-office.oil-office.po-offline *:after,.pixel-office.oil-office.po-replay-paused *,.pixel-office.oil-office.po-replay-paused *:before,.pixel-office.oil-office.po-replay-paused *:after{animation:none!important}
@keyframes oil-work{0%,100%{top:0}50%{top:calc(-1.5 * var(--oil-u))}}
@keyframes oil-step{0%,100%{top:0}50%{top:calc(-2 * var(--oil-u))}}
@keyframes oil-sip{0%,70%,100%{translate:0 0}80%,90%{translate:0 calc(-5 * var(--oil-u))}}
@keyframes oil-page{0%,100%{rotate:0deg}50%{rotate:-4deg}}
@keyframes oil-glow{0%,100%{opacity:1}50%{opacity:.45}}
@media(max-width:650px){.pixel-office.oil-office .po-viewport:after{background:#efe3cc;color:#2b2118}}
@media(prefers-reduced-motion:reduce){.pixel-office.oil-office:not(.po-motion-enabled) *,.pixel-office.oil-office:not(.po-motion-enabled) *:before,.pixel-office.oil-office:not(.po-motion-enabled) *:after{animation:none!important;transition:none!important}}
