body[data-route=kantoor] .route-intro{display:none}
body[data-route=kantoor] #view-root{max-width:none}
.office-page{--office-ink:var(--ink,#24313d);--office-muted:var(--ink-2,#728089);--office-surface:var(--surface,#fff);--office-line:var(--line,#dce2e2);color:var(--office-ink);width:100%;min-width:0;display:flex;flex-direction:column;gap:14px;letter-spacing:0;padding-top:20px}
.office-page *{box-sizing:border-box;letter-spacing:0}
.office-page [hidden]{display:none!important}
.office-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.office-header h1{font-size:24px;margin:2px 0;line-height:1.25}
.office-eyebrow{font-size:10px;color:var(--office-muted);margin:0}
.office-actions,.office-camera,.office-footer>div{display:flex;align-items:center;gap:6px}
.office-page button{font:inherit;font-size:12px;color:inherit;cursor:pointer;border:1px solid var(--office-line);background:var(--office-surface);border-radius:6px;min-height:36px;padding:7px 10px;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.office-page button:hover{border-color:#728f77;background:color-mix(in srgb,var(--office-surface) 94%,#728f77)}
.office-page button:focus-visible,.office-page input:focus-visible,.office-page select:focus-visible{outline:2px solid #e46a36;outline-offset:3px}
.office-page button:disabled{opacity:.5;cursor:wait}
.office-page button[aria-pressed=true]{background:color-mix(in srgb,var(--office-surface) 87%,#4f827b);border-color:#4f827b}
.office-page .office-icon{width:36px;height:36px;padding:7px;flex-shrink:0}
.office-page svg{flex-shrink:0}
.office-summary{display:flex;gap:22px;flex-wrap:wrap;font-size:12px;border-bottom:1px solid var(--office-line);padding:0 0 14px}
.office-summary>span{display:flex;align-items:center;gap:6px;color:var(--office-muted)}
.office-summary strong{font-size:17px;color:var(--office-ink);font-variant-numeric:tabular-nums}
.office-active-dot,.office-state i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#4f827b;flex-shrink:0}
.office-divisions{display:flex;gap:6px;overflow:auto;max-width:100%;padding:2px 2px 6px;flex-shrink:0}
.office-divisions button{white-space:nowrap;flex-shrink:0}.office-divisions i,.office-team-section h3 i{width:9px;height:9px;display:inline-block;border-radius:3px;flex-shrink:0}
.office-divisions button span{font-variant-numeric:tabular-nums;color:var(--office-muted)}
.office-workspace{display:flex;position:relative;min-height:440px;height:calc(100dvh - 300px);background:var(--canvas,#faf9f6);overflow:hidden}
.office-main{min-width:0;flex:1;position:relative}.office-stage{height:100%;position:relative;min-height:440px}
.office-scene{position:absolute;inset:0;overflow:hidden}.office-scene canvas{display:block;width:100%;height:100%;touch-action:none}
.office-scene-tools{position:absolute;top:12px;right:12px;display:flex;gap:6px}.office-scene-tools button{box-shadow:0 2px 8px #172f280a}
.office-camera{position:absolute;bottom:12px;right:12px;background:var(--office-surface);border-radius:8px;padding:4px;border:1px solid var(--office-line)}
.office-camera .office-icon{border:0}.office-canvas-state{position:absolute;left:16px;top:16px;max-width:calc(100% - 84px);font-size:13px;background:var(--office-surface);padding:10px 12px;border:1px solid var(--office-line);border-radius:6px;pointer-events:none}
.office-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:var(--office-muted);border-top:1px solid var(--office-line);padding-top:10px;flex-wrap:wrap}
.office-feedback{position:absolute;bottom:66px;left:12px;max-width:calc(100% - 24px);padding:8px 12px;border:1px solid var(--office-line);border-radius:6px;background:var(--office-surface);font-size:12px;margin:0;color:var(--office-muted)}.office-feedback:empty{display:none}
.office-drawer{position:absolute;right:0;top:0;bottom:0;z-index:3;width:320px;max-width:100%;min-width:0;display:flex;flex-direction:column;border-left:1px solid var(--office-line);background:var(--office-surface);overflow:hidden;box-shadow:-8px 0 28px #172f2814}
.office-drawer-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px;border-bottom:1px solid var(--office-line)}
.office-drawer-head h2{font-size:16px;line-height:1.4;overflow-wrap:anywhere;margin:0}
.office-drawer-body{padding:16px;overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}
.office-drawer h3,.office-list-view h3{font-size:12px;margin:20px 0 9px;line-height:1.5;display:flex;gap:7px;align-items:center}
.office-team-section h3 span{margin-left:auto;color:var(--office-muted)}
.office-page .office-person{display:flex;width:100%;text-align:left;justify-content:initial;border:0;border-bottom:1px solid var(--office-line);border-radius:0;padding:12px 0;gap:10px;min-width:0}
.office-person>span:nth-child(2){flex:1;min-width:0}.office-person strong{display:block;overflow-wrap:anywhere;font-size:12px;line-height:1.5}
.office-person-icon{display:grid;place-items:center;background:color-mix(in srgb,var(--office-surface) 89%,#4f827b);width:34px;height:34px;flex:0 0 34px;border-radius:8px}
.office-state{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--office-muted);line-height:1.7}
.office-state i{background:#8b9798}.office-state[data-state=working] i,.office-state[data-state=running] i,.office-state[data-state=starting] i{background:#488569}
.office-state[data-state=waiting] i{background:#b88b35}.office-state[data-state=failed] i{background:#bc4e42}
.office-detail-avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:8px;background:color-mix(in srgb,var(--office-color) 18%,var(--office-surface));color:var(--office-color);margin-bottom:12px}
.office-detail-avatar svg{width:30px;height:30px}.office-description{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.office-facts{margin:16px 0}.office-facts div{display:grid;grid-template-columns:95px minmax(0,1fr);gap:10px;border-top:1px solid var(--office-line);padding:9px 0;font-size:12px}.office-facts dt{color:var(--office-muted)}.office-facts dd{margin:0;overflow-wrap:anywhere}
.office-runs{list-style:none;padding:0;margin:0}.office-runs li{border-bottom:1px solid var(--office-line);padding:12px 0;display:flex;flex-direction:column;gap:5px}.office-runs strong{font-size:12px;overflow-wrap:anywhere;line-height:1.6}.office-runs time{font-size:10px;color:var(--office-muted)}
.office-empty{font-size:12px;color:var(--office-muted);line-height:1.7}.office-detail-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.office-search{display:flex;align-items:center;gap:8px;border:1px solid var(--office-line);padding:7px 10px;border-radius:6px}.office-search input{min-width:0;width:100%;border:0;background:transparent;color:inherit;font:inherit;font-size:12px;min-height:25px}
.office-settings fieldset{border:0;border-bottom:1px solid var(--office-line);padding:0 0 16px;margin:0 0 18px;min-width:0}.office-settings legend{font-size:13px;font-weight:600;margin-bottom:12px}.office-settings label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;font-size:12px}.office-settings label span{overflow-wrap:anywhere;min-width:0}
.office-settings input[type=color]{width:36px;height:30px;padding:2px;border:1px solid var(--office-line);border-radius:4px;background:transparent;flex:0 0 36px;cursor:pointer}.office-settings input[type=checkbox]{width:18px;height:18px;accent-color:#4f827b;flex-shrink:0}.office-settings select{background:var(--office-surface);color:inherit;border:1px solid var(--office-line);border-radius:4px;padding:7px;max-width:130px}
.office-list-view{height:100%;overflow:auto;padding:0 18px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-content:start;gap:24px}.office-team-section{min-width:0}
.office-workspace:fullscreen{height:100dvh!important;min-height:0!important;width:100%;background:var(--canvas,#faf9f6)}
body[data-route=kantoor] .office-workspace:fullscreen .office-stage{min-height:0}
@media(max-width:700px){body[data-route=kantoor] .office-workspace{height:calc(100dvh - 390px);min-height:340px}body[data-route=kantoor] .office-stage{min-height:340px}}
.team-division-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.team-division-row select{max-width:100%;min-height:36px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:6px 10px}.team-division-heading{grid-column:1/-1;font-size:13px!important;margin:12px 0 0!important;display:flex;align-items:center;gap:8px}.team-division-heading i{width:9px;height:9px;border-radius:3px}.team-office-link{margin-left:auto}
@media(max-width:1100px){.office-drawer{flex-basis:290px;width:290px}}
@media(max-width:700px){.office-header h1{font-size:20px}.office-actions{gap:4px}.office-page button{min-height:42px}.office-page .office-icon{width:42px;height:42px}.office-summary{gap:10px 18px}.office-summary strong{font-size:15px}.office-summary>span{font-size:11px}.office-workspace{height:560px;min-height:480px}.office-stage{min-height:480px}.office-drawer{position:absolute;right:0;top:0;bottom:0;width:min(340px,100%);z-index:3;box-shadow:-6px 0 24px #00000014}.office-drawer-body{padding:14px}.office-list-view{grid-template-columns:minmax(0,1fr);padding:0 8px}.office-footer>span{max-width:100%;overflow-wrap:anywhere}.office-person{min-height:52px}.office-header{gap:8px}.office-camera{right:8px;bottom:8px}.office-search input{font-size:16px}}

/* The detached office is a monitor view, inside the same authenticated shell. */
body[data-office-window] :is(.topbar,#sidebar,#sidebar-scrim,#mobilebar,#mobile-menu,.route-intro,.editbar){display:none!important}
body[data-office-window] #screen-app:not([hidden]){display:block}
body[data-office-window] .main{height:100dvh;min-height:0}
body[data-office-window] #hoofdinhoud{padding:0!important;height:100dvh;max-width:none;overflow:hidden}
body[data-office-window] #view-root{height:100%;padding:0;margin:0}
.office-page--detached{height:100dvh;padding:0;gap:0}
.office-page--detached :is(.office-summary,.office-divisions,.office-scene-tools){display:none}
body[data-office-window] .office-workspace{height:100dvh;min-height:0;flex:1}
body[data-office-window] .office-stage{min-height:0;height:100%}
.office-display-tools{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));display:flex;gap:6px;max-width:calc(100% - 24px)}
.office-display-status{position:absolute;left:max(12px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));max-width:calc(100% - 218px);font-size:11px;line-height:1.5;color:var(--office-muted);pointer-events:none;overflow-wrap:anywhere}
.office-page--detached .office-list-view{padding:60px 18px 72px}
.office-page--detached .office-canvas-state{top:68px;max-width:calc(100% - 32px)}
