/* App2 only. The home header deliberately retains its existing layout. */
.ops-shell.unified-team-shell { --team-nav-height:0px; }
.unified-team-shell > .workspace-body { margin-bottom:0; }
.workspace-menu__utilities { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:16px; }
.workspace-menu__utilities .workspace-menu__utility { margin:0; padding:8px; border:1px solid var(--team-border); border-radius:12px; }

@media (max-width:1099px) {
  .unified-team-shell > .workspace-header:not([data-home-header]) {
    display:grid; grid-template-columns:44px minmax(0,1fr) 44px;
    min-height:64px; gap:12px; padding:8px 16px;
  }
  .workspace-header:not([data-home-header]) .workspace-header__context { min-width:0; }
  .workspace-header:not([data-home-header]) .team-app-brand { margin-inline:auto; }
  .workspace-header:not([data-home-header]) .workspace-breadcrumb { display:none; }
  .workspace-main-menu { width:44px; height:44px; }
  .workspace-main-menu > .termlin-icon { width:36px; height:36px; }
  .unified-team-shell .workspace-call { position:static; flex:none; width:100%; max-width:none; min-height:44px; border-radius:0; box-shadow:none; font-size:13px; }
  .unified-team-shell .workspace-menu { inset:8px auto auto 8px; width:calc(100% - 16px); max-width:440px; max-height:calc(100dvh - 16px); margin:0; border-radius:20px; padding:16px; overscroll-behavior:contain; }
  .workspace-menu__links :is(a,button) { font-size:14px; }
  .workspace-menu__utility { font-size:14px; }
  .workspace-page { scroll-padding-block:12px 72px; }
}
@media (max-width:679px) {
  .workspace-page .workspace-page-content { padding:12px 12px max(72px,env(safe-area-inset-bottom)); }
  .workspace-dashboard { padding:12px; }
  .workspace-dashboard__filters { flex-wrap:wrap; }
  .workspace-dashboard__filters > * { max-width:100%; min-width:0; }
  .unified-team-shell :is(.workspace-page,.problem-report-dialog) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { font-size:16px; max-width:100%; min-width:0; }
  .unified-team-shell .problem-report-dialog__header { grid-template-columns:40px minmax(0,1fr) 44px; padding:10px 12px; gap:8px; }
  .unified-team-shell .problem-report-dialog__header > .termlin-icon { width:40px; height:40px; }
  .unified-team-shell .problem-report-dialog__header h2 { font-size:18px; }
  .unified-team-shell .problem-report-dialog form { padding:12px; gap:14px; }
  .unified-team-shell .problem-report-dialog__card { padding-bottom:env(safe-area-inset-bottom); }
  .unified-team-shell .problem-report-card > header { flex-wrap:wrap; }
  .unified-team-shell .problem-report-categories label { font-size:14px; }
  .unified-team-shell :is(.personal-mail__header,.personal-mail__tools,.personal-mail__editor header,.personal-mail__editor footer) { flex-wrap:wrap; }
  .unified-team-shell :is(.personal-mail__editor,.pm-panel,.attendance-card) { padding:14px; }
  .unified-team-shell .personal-mail__editor textarea { min-height:120px; }
  .unified-team-shell .staff-profile__hero { gap:12px; }
  .audit-hub-dialog .audit-hub-dialog__header { padding:12px; gap:10px; }
  .audit-hub-dialog .audit-hub-dialog__header h2 { font-size:21px; }
  .audit-hub-dialog .audit-hub-grid,.audit-hub-dialog .audit-workflow { padding:12px; }
  .audit-hub-dialog .audit-hub-card { min-height:88px; padding:12px; }
  .audit-hub-dialog :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { font-size:16px; }
  .audit-hub-dialog :is(.audit-workflow__back,.audit-workflow__related) { min-height:44px; }
}
@media (max-width:359px) {
  .unified-team-shell > .workspace-header:not([data-home-header]) { gap:8px; padding-inline:12px; }
  .workspace-header:not([data-home-header]) .team-app-brand { font-size:10px; gap:5px; }
  .workspace-header:not([data-home-header]) .team-app-brand > span { font-size:7px; }
}
