/* Shared accessibility and control-size corrections found by visual QA. */

#cbs-report-bar .cbs-rb-btn {
  min-height: 34px;
  padding-block: 6px;
}

.p136-learn,
.cs-weather-auto {
  min-height: 32px;
  padding-block: 5px;
}

/* Director's Board: separate the room rail from the centered canvas toolbar. */
#spatial-app .db-add-tab,
#spatial-app #db-room-bar .db-room-add {
  min-height: 32px;
  padding-block: 6px;
}

#spatial-app .db-add-tab {
  color: #cbd5e1;
}

#spatial-app .db-add-tab:hover {
  color: #ffffff;
}

#spatial-app .db-nil-link {
  color: #64748b;
}

#spatial-app #db-room-bar {
  top: 68px;
}

#spatial-app #scc-toolbar .scc-tool-btn {
  border-color: #475569 !important;
  background: #273244 !important;
  color: #f8fafc !important;
}

#spatial-app #scc-toolbar .scc-tool-btn.active {
  border-color: #60a5fa !important;
  background: #1d4ed8 !important;
}

/* Festival card actions reserve the caret's absolute-positioned corner. */
.ff111-card-head.p146-head {
  min-width: 0;
  padding-right: 48px;
}

.ff111-card-head.p146-head > .ff111-btn {
  flex: 0 0 auto;
  max-width: calc(100% - 48px);
}

/* iPad landscape is 1194 CSS pixels, just above the older 1180px rule. */
@media (min-width: 761px) and (max-width: 1240px) {
  body[data-active-view="writer-app"] #mode-indicator {
    bottom: 72px !important;
  }
}
