/* Pocket Town extension: contained pixel illustration, semantic controls. */
.office-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.office-heading .page-heading{margin-bottom:0}.office-back{min-height:44px;white-space:normal;flex:none}
.office-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:24px;align-items:start}.office-room,.office-desk{background:#fff;border:1px solid #c6dce9;border-radius:12px;overflow:hidden}.office-room-top{display:flex;align-items:center;gap:12px;padding:16px 20px;font-weight:600;font-size:13px}.office-room-tag{margin-left:auto;font-size:11px;color:#526a7c;font-weight:400}.office-scene{position:relative;background:#d5e8f4}.office-scene>img{display:block;width:100%;height:auto;image-rendering:pixelated}
.office-character{position:absolute;left:42%;top:68%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:4px;min-height:100px;min-width:112px;padding:8px;border:0;background:transparent;box-shadow:none;border-radius:8px}.office-character>img{width:48px;height:72px;image-rendering:pixelated}.office-character>.office-nameplate{display:block;background:#fff;padding:6px 12px;border:2px solid #7399ae;box-shadow:0 3px 0 #b1c7d3;font-size:13px;font-weight:700;color:#232629;border-radius:5px}.office-character small{display:block;font-size:10px;font-weight:400;margin-top:2px}.office-character:hover{background:rgba(255,255,255,.22);border:0}.office-character:focus-visible{outline:3px solid #123e75;outline-offset:2px}
.office-caption{padding:12px 20px;margin:0;font-size:11px;line-height:1.6;color:#526a7c}.office-desk{padding:24px}.office-identity{display:flex;align-items:center;gap:20px;margin:12px 0 20px}.office-identity img,.office-profile-heading img{image-rendering:pixelated;flex:none}.office-identity h2{font-size:32px;line-height:1.2;margin:0 0 6px}.office-identity p{margin:0;font-size:13px;color:#526a7c}.office-summary{font-size:14px;line-height:1.8;margin:20px 0}.office-next{padding:16px;background:#eff7fd;border-left:3px solid #91b9d6;border-radius:4px;margin-bottom:20px}.office-next p:last-child{font-size:13px;line-height:1.65;margin:8px 0 0}.office-desk>.primary{width:100%;min-height:44px}.office-desk>.fine{margin:14px 0 0;line-height:1.6}
.office-ground-rules{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}.office-ground-rules h3{font-size:14px;margin-bottom:8px}.office-ground-rules p{font-size:12px;line-height:1.7;color:#526a7c;max-width:50ch}.office-profile-heading{display:flex;align-items:center;gap:20px;margin-bottom:20px}.office-profile-heading h3{font-size:17px;line-height:1.5;margin:0 0 12px}.max-profile>p{line-height:1.75;font-size:13px}.office-evidence{margin:20px 0 24px}.office-evidence>div{padding:12px 0;border-bottom:1px solid #d9e6ee}.office-evidence dt{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#526a7c}.office-evidence dd{margin:6px 0 0;font-size:13px;line-height:1.65}.max-profile>h3{font-size:15px}.office-rules{padding-left:20px;margin:12px 0 20px;font-size:12px;line-height:1.8}.office-rules li{margin-bottom:8px}.office-profile-actions{display:flex;flex-direction:column;gap:10px;margin-top:20px}.office-profile-actions button{min-height:44px;white-space:normal;text-align:left}.office-profile-actions button:disabled{opacity:1;color:#627588;background:#f4f7fa;border-color:#d7e1e8;cursor:not-allowed}
@media(max-width:1000px){.office-layout{grid-template-columns:minmax(0,1fr)}.office-desk{display:block}.office-summary{max-width:55ch}}
@media(max-width:720px){.office-heading{flex-direction:column;gap:12px}.office-heading h1{font-size:27px}.office-layout{gap:16px}.office-room-top{padding:12px;gap:8px}.office-room-tag{font-size:10px}.office-character{min-width:100px;min-height:88px;padding:4px}.office-character>img{width:40px;height:60px}.office-character>.office-nameplate{font-size:12px;padding:5px 10px}.office-character small{font-size:10px}.office-caption{padding:12px;font-size:11px}.office-desk{padding:20px}.office-ground-rules{grid-template-columns:1fr;gap:16px}.office-profile-heading{gap:16px;align-items:flex-start}.office-profile-heading h3{font-size:15px}.office-evidence dd{overflow-wrap:anywhere}.office-back{width:100%;text-align:left}}

/* Ambient pixel character. Footpoint routes avoid the desk, chair and sofa. */
.office-room{box-shadow:0 8px 30px rgba(48,82,107,.06)}.office-room-top{border-bottom:1px solid #c6dce9}.office-room-tag{letter-spacing:.09em;font-size:10px}.office-wall-logo{position:absolute;left:45%;top:12.94%;width:18.75%;height:5.88%;pointer-events:none}.office-wall-logo .brand-logo{width:100%;height:100%;padding:6px;border:0;border-radius:0}.office-wall-logo .brand-logo img{object-fit:contain}
.office-character{left:52.5%;top:78.37%;width:88px;height:80px;min-width:88px;min-height:80px;transform:translate(-50%,-100%);padding:0;border-radius:8px;justify-content:flex-end;z-index:2;touch-action:manipulation;cursor:pointer}.office-sprite{display:block;flex:none;width:48px;height:72px;background:url('/assets/max-walk.svg') 0 0/144px 72px no-repeat;image-rendering:pixelated;pointer-events:none}.office-character[data-facing="left"] .office-sprite{transform:scaleX(-1)}.office-character[data-walking="true"] .office-sprite{animation:office-step .48s steps(1,end) infinite}.office-character>.office-nameplate{position:absolute;left:50%;top:100%;transform:translateX(-50%);padding:5px 10px;white-space:nowrap;pointer-events:none;border-color:#769db5;background:#fff;box-shadow:0 2px 0 #adc6d6;line-height:1.25}.office-character:hover{background:rgba(255,255,255,.25)}.office-character:hover .office-sprite,.office-character:focus-within .office-sprite{animation-play-state:paused}.office-character:active .office-nameplate{border-color:#ff5e24}.office-room-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;border-top:1px solid #c6dce9;background:#fbfdff}.office-room-footer .office-caption{padding:0;line-height:1.7}.office-motion{min-height:44px;font-size:11px;white-space:normal;flex:none;max-width:150px}.office-motion:disabled{opacity:1;color:#526a7c;cursor:default}.office-utility-links{margin-top:14px}.office-utility-links button{min-height:44px;font-size:12px;white-space:normal;padding-left:0}.office-desk .badge{white-space:normal;line-height:1.6}.office-back:focus-visible,.office-motion:focus-visible{outline:3px solid #123e75;outline-offset:3px}
@keyframes office-step{0%,100%{background-position:0 0}25%{background-position:-48px 0}50%{background-position:0 0}75%{background-position:-96px 0}}
@media(max-width:720px){.office-character{width:60px;height:56px;min-width:60px;min-height:56px}.office-sprite{width:32px;height:48px;background-size:96px 48px}.office-character[data-walking="true"] .office-sprite{animation-name:office-step-small}.office-character>.office-nameplate{font-size:11px;padding:4px 8px}.office-character>.office-nameplate small{font-size:9px}.office-room-footer{align-items:flex-start;padding:12px;gap:10px}.office-room-footer .office-caption{font-size:10px}.office-motion{font-size:10px;max-width:118px;padding:8px 10px}.office-wall-logo .brand-logo{padding:3px}}
@keyframes office-step-small{0%,100%{background-position:0 0}25%{background-position:-32px 0}50%{background-position:0 0}75%{background-position:-64px 0}}
@media(prefers-reduced-motion:reduce){.office-character .office-sprite{animation:none!important}.office-character,.office-nameplate{transition:none!important}}

/* Existing-task navigation only. */
.office-desk > .primary + .primary { margin-top: 10px; }
.office-desk a.primary, .office-profile-actions a.primary, .sheet-content a.primary { display: block; padding: 13px 18px; min-height: 44px; border-radius: 12px; text-decoration: none; background: #c94c29; color: white; font-size: 13px; font-weight: 600; line-height: 1.5; }
.office-desk a.primary:focus-visible, .sheet-content a.primary:focus-visible { outline: 3px solid #2465a0; outline-offset: 3px; }
.sheet-content code, .office-desk code { overflow-wrap: anywhere; }

.office-staff-desks{display:grid;gap:20px}.sam-character .office-sprite{background-image:url('/assets/sam-walk.svg')}.sam-character .office-nameplate{border-color:#5a81b4}.sam-character{left:66.25%;top:89.71%}.max-character{top:47.94%}.sam-desk .office-next{border-color:#79a5cd}
