
#view-office .office-viewport {
  background-color: #dff3ff;
  background-image: url('assets/airs-sky-city-20261109.webp');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
#view-office .office-scene-footer { background: rgba(244, 251, 255, .9); }
#view-office .office-art, #view-office .work-foreground { filter: saturate(.8) brightness(1.04) contrast(.93); }
#view-office .role-figure .role-sprite { filter: drop-shadow(1px 0 #fff) drop-shadow(-1px 0 #fff) drop-shadow(0 1px #fff) drop-shadow(0 3px 3px #062a5938); }
.agent-lead { display: inline-block; margin-right: 4px; padding: 0 5px; border: 1px solid #d9b04f; border-radius: 4px; background: #fff3cf; color: #5c3d00; font: 700 10px/1.45 var(--body); font-style: normal; vertical-align: 1px; }
#view-office .office-left-rail { position: absolute; z-index: 27; left: 14px; top: 14px; bottom: 48px; width: 300px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; pointer-events: none; }
#view-office .office-left-rail > * { pointer-events: auto; }
#view-office .office-elevator { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding: 6px; border: 1px solid #bcdcf2; border-radius: 12px; background: #ffffffe0; box-shadow: 0 4px 14px #062a5918; }
#view-office .office-elevator button { display: grid; justify-items: center; gap: 2px; width: 70px; min-height: 48px; padding: 6px 4px 5px; border: 1px solid #c9e2f3; border-radius: 8px; background: #fff; color: #16324f; font: 600 10px/1.25 var(--body); cursor: pointer; transition: background .15s, border-color .15s; }
#view-office .office-elevator button b { font: 800 16px/1 var(--body); letter-spacing: .02em; }
#view-office .office-elevator button span { font-size: 10px; color: #345c7f; white-space: nowrap; }
#view-office .office-elevator button small { font-size: 10px; color: #4b6680; }
#view-office .office-elevator button small em { font-style: normal; color: #a3332e; font-weight: 700; }
#view-office .office-elevator button:hover { border-color: #0866ed; background: #eef7ff; }
#view-office .office-elevator button:focus-visible { outline: 2px solid #0866ed; outline-offset: 2px; }
#view-office .office-elevator button[aria-pressed="true"] { border-color: #062a59; background: #062a59; color: #fff; box-shadow: 0 3px 0 #43caff; }
#view-office .office-elevator button[aria-pressed="true"] span, #view-office .office-elevator button[aria-pressed="true"] small { color: #d6ecf8; }
#view-office .office-elevator button[aria-pressed="true"] small em { color: #ffd27a; }
#view-office .office-today { width: 100%; max-width: 300px; overflow: hidden; border: 1px solid #bcdcf2; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px #062a591a; color: #16324f; font-family: var(--body); }
#view-office .office-today.has-bad { border-color: #e7a99f; }
.today-head { all: unset; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title caret" "sum caret"; gap: 2px 8px; width: 100%; padding: 10px 12px 8px; cursor: pointer; }
.today-head:focus-visible { outline: 2px solid #0866ed; outline-offset: -3px; border-radius: 12px; }
.today-title { grid-area: title; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.today-title i { font-size: 16px; color: #0866ed; }
.today-title small { font-size: 11px; font-weight: 500; color: #4b6680; }
.today-sum { grid-area: sum; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; color: #0a6b3d; }
.today-sum.bad { color: #9b2b20; }
.today-caret { grid-area: caret; align-self: center; font-size: 14px; color: #4b6680; }
.today-bar { display: flex; gap: 2px; height: 6px; margin: 0 12px 10px; overflow: hidden; border-radius: 3px; background: #e7f1f8; }
.today-bar i { display: block; min-width: 6px; }
.today-bar .st-done { background: #169b55; }
.today-bar .st-now { background: #0b6fd6; }
.today-bar .st-bad { background: #c8382a; }
.today-bar .st-later { background: #c5d7e6; }
.today-body { border-top: 1px solid #e3eff8; }
.today-list { margin: 0; padding: 4px 0; overflow: auto; list-style: none; overscroll-behavior: contain; }
.today-row { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 38px auto minmax(0, 1fr) auto; align-items: center; gap: 6px; width: 100%; min-height: 30px; padding: 4px 12px; cursor: pointer; font-size: 12px; }
.today-row:hover { background: #f1f8fd; }
.today-row:focus-visible { outline: 2px solid #0866ed; outline-offset: -2px; }
.today-row time { color: #4b6680; font-variant-numeric: tabular-nums; }
.today-row b { font-weight: 700; white-space: nowrap; }
.today-job { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #29435e; }
.today-row em { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 10px; background: #eef5fb; color: #345c7f; font-size: 11px; font-style: normal; white-space: nowrap; }
.today-row.st-done em { background: #e3f5ea; color: #0a6b3d; }
.today-row:is(.st-running, .st-waiting) em { background: #e3eefc; color: #0550b8; }
.today-row:is(.st-trouble, .st-error, .st-missed) em { background: #fde6e2; color: #9b2b20; font-weight: 700; }
.today-none { padding: 8px 12px; font-size: 12px; color: #4b6680; }
.today-boss { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 12px 10px; border-top: 1px dashed #d5e6f3; cursor: pointer; font-size: 12px; color: #16324f; }
.today-boss b { white-space: nowrap; }
.today-boss span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #345c7f; }
.today-boss.bad span { color: #9b2b20; font-weight: 700; }
.today-boss:hover { background: #fffbef; }
.today-boss:focus-visible { outline: 2px solid #0866ed; outline-offset: -2px; }
#view-office .office-viewport:has(.has-floor-focus) .today-body { display: none; }
#view-office .office-compact.has-floor-focus .office-floor.is-floor-muted { visibility: hidden; }
@container office-canvas (min-aspect-ratio: 1/1) {
  #view-office .office-depth.office-compact.has-floor-focus { --office-floor-size: min(calc(100cqw - 136px), calc((100cqh - 64px) / .666667), 820px); --office-scene-left: calc(96px + (100cqw - 96px - var(--office-floor-size)) / 2); --office-scene-top: calc((100cqh - var(--office-floor-size) * .666667) / 2); --office-floor-shift: 0px; --office-floor-drop: 0px; }
}
@container office-canvas (max-aspect-ratio: 1/1) {
  #view-office .office-depth.office-compact.has-floor-focus { --office-floor-size: min(91cqw, calc((100cqh - 160px) / .666667), 820px); --office-scene-left: calc((100cqw - var(--office-floor-size)) / 2); --office-scene-top: calc(116px + (100cqh - 116px - var(--office-floor-size) * .666667) / 2); --office-floor-shift: 0px; --office-floor-drop: 0px; }
}
@container office-canvas (min-width: 1200px) and (min-aspect-ratio: 3/2) {
  #view-office .office-depth {
    --office-floor-size: min(calc((100cqw - 136px) / 1.7), calc((100cqh - 64px) / var(--office-floor-tall)));
    --office-scene-left: max(96px, calc((100cqw - var(--office-floor-size) * 1.7) / 2));
  }
}
@container office-canvas (min-aspect-ratio: 1/1) {
  #view-office .office-depth.office-many-floors {
    --office-floor-size: min(calc((100cqw - 136px) / 1.7), calc((100cqh - 64px) / var(--office-floor-tall)));
    --office-scene-left: max(96px, calc((100cqw - var(--office-floor-size) * 1.7) / 2));
  }
}
@container office-canvas (max-aspect-ratio: 1/1) {
  #view-office .office-left-rail { left: 8px; right: 8px; top: 8px; bottom: auto; width: auto; flex-direction: column; align-items: stretch; gap: 6px; }
  #view-office .office-today { max-width: none; }
  #view-office .office-today .today-head { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "title sum caret"; align-items: center; gap: 8px; padding: 8px 10px; }
  #view-office .office-today .today-sum { text-align: right; }
  #view-office .office-today .today-bar { display: none; }
  #view-office .office-elevator { flex-direction: row; margin-top: 0; padding: 4px; gap: 4px; }
  #view-office .office-elevator button { flex: 1 1 0; width: auto; min-width: 0; min-height: 44px; padding: 4px 6px; }
  #view-office .office-elevator button :is(span, small) { display: none; }
  #view-office .office-elevator button b { font-size: 15px; }
  #view-office .office-depth { --office-floor-size: min(91cqw, calc((100cqh - 160px) * .991867 / var(--office-floor-tall)), 820px); --office-scene-top: calc(116px + (100cqh - 116px - var(--office-floor-size) * var(--office-floor-tall)) / 2); }
  #view-office .office-many-floors .office-floor[data-floor="1"] .floor-plaque { left: 27%; top: 70%; }
}
@media (prefers-reduced-motion: reduce) { #view-office .office-elevator button, .today-row { transition: none; } }
