body.signed-office { --side: 252px; --rail: 72px; }
.office-sidebar { background: #fff; border-inline-end: 1px solid var(--line); }
.office-sidebar .side-header {
  min-height: 74px;
  padding: 16px 22px;
}
.side-header .brand { font-size: 1.52rem; gap: 7px; }
.side-header .brand img { width: 1.13em; height: 1.13em; }
.workspace-badge {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 14px 9px;
  padding: 10px 12px;
  border: 1px solid #e7e2d7;
  border-radius: 12px;
  background: linear-gradient(112deg, #f5f2e9, #fbfaf7);
}
.workspace-symbol {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--dark);
  color: #ead3a1;
  display: grid;
  place-items: center;
}
.workspace-badge .side-text { display: grid; gap: 2px; }
.workspace-badge b { font-size: .88rem; line-height: 1.2; letter-spacing: -.015em; }
.workspace-badge #workspace-name { font-size: .76rem; color: var(--muted); }
.office-sidebar .side-inner { padding: 0 13px 13px; scrollbar-width: thin; }
.office-sidebar .nav-group, .office-sidebar .other-pages { padding-block: 12px 0; }
.office-sidebar .nav-label {
  margin: 0 10px 5px;
  color: #68635a;
  font: 660 .75rem/1.45 var(--body);
  letter-spacing: .005em;
}
.office-sidebar .nav-item {
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #403d37;
  line-height: 1.32;
}
.office-sidebar .nav-item + .nav-item { margin-block-start: 2px; }
.office-sidebar .nav-icon { width: 17px; height: 17px; }
.office-sidebar .nav-item > .nav-icon { color: #6a655c; }
.office-sidebar .nav-item:hover { background: var(--soft); color: var(--ink); }
.office-sidebar .nav-item[aria-current=page] { background: var(--dark); color: #fff; }
.office-sidebar .nav-item[aria-current=page] > .nav-icon { color: #e5c57c; }
.office-sidebar .nav-item[aria-current=page]::after { display: none; }
.office-sidebar .other-pages { margin: 16px 0 0; padding-top: 12px; }
.office-sidebar .nav-exit { width: 13px; height: 13px; margin-left: auto; color: #827c71; }
.sidebar-foot { background: #fff; min-height: 67px; padding: 12px 16px; }
.staff-avatar { background: #f4eedf; color: #665223; border-radius: 50%; }
.staff-info b { font-size: .85rem; }
.staff-info span { font-size: .76rem; }
.signed-office .office-top {
  min-height: 60px;
  height: auto;
  padding-block: 11px;
  padding-inline: clamp(18px, 2.7vw, 42px);
}
.office-top .top-context { gap: 9px; font-size: .84rem; }
.office-top #toggle-nav {
  min-height: 34px;
  width: 35px;
  border: 1px solid var(--line);
  margin-right: 5px;
  color: #504c43;
  background: #fff;
}
.office-top #toggle-nav:hover { background: var(--soft); }
.office-top #toggle-nav .panel-icon { width: 17px; height: 17px; }
.crumb-icon { width: 12px; height: 12px; color: #8c867a; flex: none; }
.board-date { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.board-date .nav-icon { width: 15px; height: 15px; }
.office-top .board-date time { font-size: .81rem; }
.work-area { max-width: 1640px; }
.masthead .identity { display: inline-flex; align-items: center; gap: 7px; color: #635c4e; font-size: .82rem; }
.scope-icon { width: 16px; height: 16px; }
.masthead h1 { font: 650 clamp(2.1rem, 3.15vw, 3.2rem)/1.08 var(--display); letter-spacing: -.055em; }
.masthead { padding-block: clamp(22px,2.55vw,37px) 22px; }
.compact-office .workspace-badge { margin: 0 0 8px; padding: 0; justify-content: center; background: transparent; border: 0; }
.compact-office .workspace-badge .side-text { display: none; }
.compact-office .office-sidebar .side-inner { padding-inline: 10px; }
.compact-office .office-sidebar .nav-item { padding: 10px 0; }
.compact-office .office-sidebar .nav-group + .nav-group { margin-top: 10px; }
.compact-office .office-sidebar .other-pages { margin-block-start: 12px; }
.compact-office .side-header .brand img { width: 31px; height: 31px; }
@media (max-width: 1024px) {
  .office-sidebar .side-header{min-height:65px;}
  .office-sidebar .nav-item { min-height: 42px; }
  .office-top .board-date time { display: inline; }
  .signed-office .office-top { min-height: 54px; padding-block: 9px; padding-inline: 16px; }
  .masthead { padding-block: 22px 16px; }
}
@media (max-width: 600px) {
  .office-top .board-date { display:none; }
  .office-top .top-context { min-width:0; width:100%; }
  #section-name { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .masthead h1 { font-size: clamp(1.95rem, 7vw, 2.55rem); }
}

.office-sidebar .nav-group .nav-label { margin: 0 0 3px; }
.office-sidebar .nav-group-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  padding: 5px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
.office-sidebar .nav-group-toggle:hover { background: var(--soft); }
.nav-group-toggle svg { width: 14px; height: 14px; }
.nav-group-toggle[aria-expanded=false] svg { transform: rotate(-90deg); }
.office-sidebar .nav-group + .nav-group { padding-top: 6px; }
.office-sidebar [id^="nav-links-"][hidden] { display: none; }
@media (max-width: 1024px) {
  .office-sidebar .nav-group-toggle { min-height: 42px; }
}
