
#view-office .agent-dept { font-size: 10px; line-height: 1.35; color: #234e74; }
#view-office .agent-name { font-size: 11px; gap: 4px; }
@container office-canvas (min-width: 1200px) and (min-aspect-ratio: 3/2) {
  #view-office .agent-name { font-size: clamp(11px, 1.35cqw, 14px); }
  #view-office .agent-dept { font-size: clamp(10px, 1cqw, 11px); }
}
#view-office .agent-name i, .office-legend .lg { box-sizing: border-box; display: inline-block; flex: none; position: relative; width: 8px; height: 8px; border-radius: 50%; background: #169b55; border: 0; box-shadow: none; transform: none; }
#view-office .agent-spot.working .agent-name i, .office-legend .lg.working { background: #0b6fd6; box-shadow: 0 0 0 2px #0b6fd640; }
#view-office .agent-spot:is(.away, .off) .agent-name i, .office-legend .lg.away { background: #fff; border: 1.5px solid #5d748d; }
#view-office .agent-spot.stopped .agent-name i, .office-legend .lg.stopped { border-radius: 1px; background: #5d748d; }
#view-office .agent-spot.approval .agent-name i, .office-legend .lg.approval { border-radius: 1px; background: #c98500; transform: rotate(45deg) scale(.86); }
#view-office .agent-spot.error .agent-name i, .office-legend .lg.error { width: 12px; height: 12px; background: #c8382a; }
#view-office .agent-spot.error .agent-name i::after, .office-legend .lg.error::after { content: '!'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 800 9px/1 var(--body); }
#view-office .office-scene-footer { font-size: 11px; color: #4b6680; gap: 14px; }
.office-legend { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; color: #3d5a75; }
.office-legend > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
#office-consult-card .consult-by { font-size: 11px; color: #d6ecf8; }
#office-consult-card .consult-preview { font-size: 12px; }
#office-consult-card .consult-later, #office-consult-card .consult-next { font-size: 11px; }
.sidebar-footer { font-size: 11px; color: #4b6680; }
.brand-caption span { font-size: 10px; }
#view-office .floor-plaque span { font-size: clamp(10px, 1.4cqw, 11px); }
.inbox-item:not(.unread) { opacity: 1; }
.ii-src { color: #4b6680; }
.view-banner p { color: #465c75; }
.chip.on small { color: #fff; }
.inbox-item.lv-warn .ii-kind { color: #7a5a12; }
.when { color: #0550b8; }
.when.daily { color: #fff; }
.when.monthly { color: #74560f; }
.mf-mini-pill.ok { color: #036b4b; }
.mf-mini-pill.ng { color: #8a4b00; }
.ii-toggle { all: unset; box-sizing: border-box; display: inline; cursor: pointer; color: inherit; font: inherit; line-height: inherit; overflow-wrap: anywhere; border-radius: 3px; }
.ii-toggle:focus-visible { outline: 2px solid var(--blue, #0866ed); outline-offset: 2px; }
.inbox-item:focus-within { border-left-color: var(--blue, #0866ed); }
.toast-action { margin-left: 12px; padding: 4px 12px; border: 1px solid #ffffffb3; border-radius: 4px; background: transparent; color: #fff; font: 700 12px/1.4 var(--body); cursor: pointer; }
.toast-action:hover { background: #ffffff26; }
.toast-action:focus-visible { outline: 2px solid var(--yellow, #e9ff58); outline-offset: 2px; }
.emp-bubble { font-size: 13px; line-height: 1.8; }
.emp-bubble .rt-list { margin: 4px 0 6px; padding-left: 1.2em; }
.emp-bubble .rt-list li { margin: 2px 0; }
@media (max-width: 700px) {
  #office-consult-card .consult-by, #office-consult-card .consult-later, #office-consult-card .consult-next { font-size: 10px; }
  #office-consult-card .consult-invite strong, #office-consult-card .consult-preview { font-size: 11px; }
  #view-office .office-scene-footer { font-size: 10px; }
  #view-office .office-pick-hint { display: none; }
}
@media (max-width: 600px) {
  #view-office .agent-label { min-width: 0; }
  #view-office .agent-dept { display: none; }
  #view-office .agent-name { font-size: 9.5px; padding: 0 4px; gap: 3px; }
  #view-office .agent-name i, .office-legend .lg { width: 7px; height: 7px; }
  #view-office .agent-spot.error .agent-name i, .office-legend .lg.error { width: 11px; height: 11px; }
  .office-legend { gap: 3px 8px; }
  #view-office .office-hud { bottom: 50px; }
  .sidebar-account-name { font-size: 10px; }
  .sidebar .nav-item .nav-count { font-size: 10px; min-width: 18px; height: 18px; }
  #view-office .agent-spot[data-agent="haru"] { --label-nudge-x: -3px; }
  #view-office .agent-spot[data-agent="minato"] { --label-nudge-x: -3px; }
  #view-office .agent-spot[data-agent="monitor"] { --label-nudge-x: -1px; }
  #view-office .agent-spot[data-agent="nagi"] { --label-nudge-x: -12px; }
}
@media (max-width: 450px) {
}
@media (max-width: 380px) {
  #view-office .agent-spot[data-agent="haru"] { --label-nudge-x: -5px; }
  #view-office .agent-spot[data-agent="sora"] { --label-nudge-x: 3px; }
  #view-office .agent-spot[data-agent="minato"] { --label-nudge-x: -5px; }
}
