.info-brand-button {
  display: inline-grid;
  place-items: center;
  min-width: 50px;
  height: 38px;
  padding: 0 7px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #ffd84d;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .2px;
  text-shadow: 0 1px 8px rgba(255,216,77,.24);
}
.info-brand-button:hover { background: rgba(255,255,255,.1); }

.system-banner-external {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px 12px;
  background: #b42318;
  color: #fff;
  box-shadow: 0 3px 12px rgba(111,20,13,.22);
  z-index: 18;
}
.system-banner-external > span {
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
.banner-hide-button {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 9px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.banner-hide-button:hover { background: rgba(255,255,255,.23); }

.desk-system-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5,28,24,.62);
  backdrop-filter: blur(3px);
}
.desk-system-modal-card {
  width: min(720px, 100%);
  max-height: min(86vh, 860px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dbe5e1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(5,28,24,.28);
}
.desk-system-modal-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #dbe5e1;
}
.desk-system-modal-card h2 { margin: 0; color: #082b25; font-size: 19px; }
.desk-system-modal-card > header button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: #edf4f1;
  color: #0b3d33;
  font-size: 23px;
}
.desk-system-modal-body { min-height: 0; overflow-y: auto; padding: 16px; }
.desk-info-content { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.desk-settings-form { display: flex; flex-direction: column; gap: 15px; }
.desk-settings-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 750; color: #40504a; }
.desk-settings-form textarea { width: 100%; border: 1px solid #dbe5e1; border-radius: 10px; padding: 10px 12px; resize: vertical; }
.desk-settings-form small { color: #697a74; text-align: right; }
.desk-settings-switch { flex-direction: row !important; align-items: center; }
.desk-settings-switch input { width: 18px; height: 18px; }
.desk-settings-warning,.desk-settings-error { padding: 10px 12px; border-radius: 10px; font-size: 13px; }
.desk-settings-warning { background: #fff7dc; border: 1px solid #efd680; color: #735b09; }
.desk-settings-error { background: #fff0ee; border: 1px solid #ffc9c2; color: #8f1f16; }
.desk-settings-form footer { display: flex; justify-content: flex-end; gap: 10px; }

@media (max-width: 1050px) {
  .desk-system-settings-button { display: none !important; }
  .info-brand-button { min-width: 44px; height: 36px; font-size: 14px; }
  .system-banner-external { min-height: 36px; padding: 6px 8px; gap: 7px; }
  .system-banner-external > span { font-size: 11px; line-height: 1.35; }
  .banner-hide-button { width: 30px; height: 28px; }
}
