/* Center Sky App (Web) — DigiSky Home style system (CSP-compliant, no inline styles) */
.cs-page {
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--ink);
}

.cs-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.cs-head-copy {
  min-width: 260px;
  flex: 1;
}

.cs-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.cs-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--accent);
}

.cs-head h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.cs-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 760px;
}

.cs-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-date-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  font-size: 13px;
  color: var(--ink);
}

.cs-date-label input[type="date"] {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 2px 4px;
  outline: none;
}

.cs-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 14px;
}

.cs-kpi-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.cs-kpi-value {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
}

.cs-kpi-sub {
  font-size: 12px;
  color: var(--muted);
}

.cs-banner {
  border: 1px solid #f0c999;
  background: #fff8ee;
  color: #6e4715;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-banner.error-banner {
  border-color: #f2b8b5;
  background: #fff5f4;
  color: #7a1c16;
}

.cs-banner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cs-banner-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}

.cs-endpoint-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
}

.cs-endpoint-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-endpoint-item code {
  font-family: Consolas, monospace;
  font-weight: 600;
  color: var(--ink);
}

.cs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fbff;
}

.cs-toolbar-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-select {
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  min-height: 40px;
  font-size: 13px;
}

.cs-workspace {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.cs-station-pane {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cs-pane-head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8faff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cs-pane-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.cs-station-list {
  display: flex;
  flex-direction: column;
  divide-y: 1px solid var(--line);
  max-height: 760px;
  overflow-y: auto;
}

.cs-station-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 14px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.cs-station-item:last-child {
  border-bottom: 0;
}

.cs-station-item:hover {
  background: #f3f8ff;
}

.cs-station-item.active {
  background: #e8f2ff;
  box-shadow: inset 4px 0 0 var(--accent);
}

.cs-station-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cs-station-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.cs-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9aa0a6;
  flex-shrink: 0;
}

.cs-status-dot.online {
  background: #188038;
  box-shadow: 0 0 0 3px #e4f5eb;
}

.cs-status-dot.offline {
  background: #d93025;
  box-shadow: 0 0 0 3px #fce8e6;
}

.cs-status-dot.pending {
  background: #e37400;
  box-shadow: 0 0 0 3px #fef7e0;
}

.cs-station-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12px;
  color: var(--muted);
}

.cs-station-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cs-detail-pane {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.cs-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cs-detail-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-detail-title h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-detail-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}

.cs-detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8faff;
  border: 1px solid var(--line);
}

.cs-meta-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-meta-cell span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}

.cs-meta-cell strong {
  font-size: 13.5px;
  color: var(--ink);
  word-break: break-word;
}

.cs-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  overflow-x: auto;
}

.cs-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 18px;
  min-height: 36px;
  white-space: nowrap;
}

.cs-tab:hover {
  background: #edf3fb;
  color: var(--ink);
}

.cs-tab.active {
  background: var(--soft);
  color: var(--accent);
}

.cs-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.cs-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cs-usage-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-usage-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-usage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.cs-progress {
  width: 100%;
  height: 8px;
  border-radius: 6px;
  overflow: hidden;
  appearance: none;
  border: 0;
  background: #edf2f8;
}

.cs-progress::-webkit-progress-bar {
  background: #edf2f8;
  border-radius: 6px;
}

.cs-progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 6px;
}

.cs-progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 6px;
}

.cs-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-timeline-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfdff;
}

.cs-timeline-time {
  font-family: Consolas, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: #364559;
}

.cs-timeline-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cs-timeline-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 13.5px;
}

.cs-timeline-sub {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.cs-alert-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-alert-card {
  border: 1px solid var(--line);
  border-left: 4px solid #e37400;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fffdf9;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.cs-alert-card.critical {
  border-left-color: var(--danger);
  background: #fff9f8;
}

.cs-alert-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 220px;
}

.cs-empty-box {
  padding: 36px 20px;
  border: 1px dashed #c5d4e6;
  border-radius: 14px;
  background: #fbfdff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cs-empty-box h3 {
  margin: 0;
  font-size: 16px;
}

.cs-empty-box p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
  font-size: 13px;
}

.badge.red {
  background: #fce8e6;
  color: #a50e0e;
}

.centersky-card-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11.5px;
  color: #0055a6;
  font-weight: 600;
}

.cs-live-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 23, 42, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cs-live-modal-dialog {
  width: min(1080px, 100%);
  max-height: calc(100vh - 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cs-live-modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #f8faff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cs-live-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 240px;
  flex: 1;
}

.cs-live-modal-title-wrap h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.cs-live-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.cs-live-modal-meta code {
  font-family: Consolas, monospace;
  font-size: 12px;
  color: var(--ink);
}

.cs-live-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-live-notice {
  padding: 10px 20px;
  background: #fff8ee;
  border-bottom: 1px solid #f0c999;
  color: #6e4715;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cs-live-stage {
  position: relative;
  background: #0f172a;
  min-height: 420px;
  max-height: calc(100vh - 230px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
  user-select: none;
}

.cs-live-frame {
  max-width: 100%;
  max-height: calc(100vh - 254px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  pointer-events: none;
  user-select: none;
}

.cs-live-frame-control {
  pointer-events: auto;
  cursor: default;
}

/* Compact remote desktop window and persistent multi-screen workspace. */
.cs-workspace-tabs { display: flex; gap: 4px; border-bottom: 1px solid #355577; }
.cs-workspace-tabs button { border-radius: 8px 8px 0 0 !important; }
.cs-workspace-tabs button.active { background: #2874ad !important; border-color: #75caff !important; }
.cs-screen-workspace { min-height: 60vh; }
.cs-screen-workspace-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cs-screen-workspace-head h2 { margin: 0 0 4px; font-size: 18px; }
.cs-screen-workspace-head p, .cs-screen-footnote { margin: 0 0 12px; color: #bbd0e6; }
.cs-screen-layouts { display: flex; gap: 4px; flex-wrap: wrap; }
.cs-screen-layouts button.active { background: #2874ad !important; border-color: #75caff !important; }
.cs-screen-grid { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.cs-screen-grid-2, .cs-screen-grid-4, .cs-screen-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-screen-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-screen-grid-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-screen-slot { min-width: 0; overflow: hidden; border: 1px solid #41678e; border-radius: 8px; background: #112847; }
.cs-screen-slot-bar, .cs-screen-slot-actions { display: flex; align-items: center; gap: 5px; padding: 5px; }
.cs-screen-slot-bar strong { white-space: nowrap; }
.cs-screen-slot-bar select { flex: 1; min-width: 0; background: #17365f; color: #eaf3ff; border: 1px solid #41678e; border-radius: 5px; padding: 5px; }
.cs-screen-slot-bar button { min-width: 32px; }
.cs-screen-picture { position: relative; height: clamp(180px, 26vw, 400px); overflow: hidden; background: #07162d; display: flex; align-items: center; justify-content: center; }
.cs-screen-picture :is(img,canvas) { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.cs-screen-picture :is(img,canvas)[hidden] { display: none; }
.cs-screen-message { position: absolute; left: 6px; bottom: 6px; background: #07162dd9; padding: 3px 6px; border-radius: 4px; font-size: 11px; }
.cs-screen-slot-actions { border-top: 1px solid #355577; }
.cs-screen-footnote { margin-top: 10px; }
.cs-screen-error { color: #ffb5bd; }

.cs-live-modal-backdrop { padding: 0; background: rgba(5, 15, 30, .3); }
.cs-live-modal-dialog { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(900px, 90vw); height: min(660px, 82vh); min-width: min(320px, calc(100vw - 16px)); min-height: 180px; max-height: none; resize: both; border-radius: 7px; overflow: hidden; }
.cs-live-modal-dialog.is-maximized { inset: 3px !important; transform: none !important; width: calc(100vw - 6px) !important; height: calc(100vh - 6px) !important; resize: none; }
.cs-live-modal-dialog.is-minimized { width: min(450px, 90vw) !important; height: 34px !important; min-height: 34px; resize: none; }
.cs-live-modal-dialog.is-minimized .cs-live-toolbar, .cs-live-modal-dialog.is-minimized .cs-live-stage, .cs-live-modal-dialog.is-minimized .cs-live-statusbar { display: none; }
.cs-live-modal-head { position: relative; z-index: 3; padding: 4px 7px; gap: 5px; min-height: 30px; align-items: center; flex-wrap: nowrap; cursor: move; user-select: none; background: #17365f; }
.cs-live-modal-head h2 { margin: 0; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-live-modal-actions { margin-left: auto; gap: 3px; }
.cs-page button.cs-live-icon:not(:disabled) { position: relative; min-height: 22px; min-width: 23px; padding: 0 3px; border-radius: 3px; font-size: 16px; line-height: 20px; }
.cs-live-toolbar { display: flex; align-items: center; gap: 7px; padding: 3px 7px; background: #17365f; font-size: 11px; }
.cs-live-toolbar select { min-height: 22px; background: #112847; color: #eaf3ff; border: 1px solid #41678e; border-radius: 3px; font-size: 11px; }
.cs-live-view-gesture-help { color: #d6e7f8; font-size: 10px; white-space: nowrap; }
.cs-page button.cs-live-tool:not(:disabled) { position: relative; min-height: 22px; min-width: 23px; padding: 0 4px; border-radius: 3px; font-size: 11px; line-height: 20px; }
:is(.cs-live-tool,.cs-live-icon)[data-tip]:is(:hover,:focus-visible)::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + 3px); transform: translateX(-50%); z-index: 5; background: #eaf3ff; color: #102744; border: 1px solid #6a8bae; border-radius: 3px; padding: 3px 5px; white-space: nowrap; font-size: 11px; font-weight: 500; pointer-events: none; }
.cs-live-modal-actions .cs-live-icon[data-tip]::after { left: auto; right: 0; transform: none; }
.cs-live-mode { margin-left: auto; }
.cs-live-stage { flex: 1; min-height: 0; max-height: none; padding: 0; overflow: auto; align-items: center; justify-content: center; }
.cs-live-frame { display: block; border-radius: 0; max-height: 100%; image-rendering: auto; }
.cs-live-frame:not(.cs-live-frame-control) { pointer-events: auto; touch-action: none; }
.cs-live-frame[hidden] { display: none; }
.cs-live-placeholder[hidden] { display: none; }
.cs-live-statusbar { display: flex; justify-content: space-between; gap: 8px; padding: 3px 7px; border-top: 1px solid #355577; font-size: 10px; color: #bbd0e6; white-space: nowrap; overflow: hidden; }
@media (max-width: 700px) { .cs-screen-grid { grid-template-columns: 1fr; } .cs-screen-picture { height: 240px; } .cs-live-modal-dialog { width: calc(100vw - 8px); height: min(600px, 88vh); } .cs-live-toolbar { flex-wrap: wrap; } .cs-live-statusbar { flex-wrap: wrap; white-space: normal; } .cs-live-statusbar span { min-width: 0; overflow-wrap: anywhere; } }

.cs-live-placeholder {
  color: #e2e8f0;
  text-align: center;
  max-width: 560px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}

.cs-live-placeholder p {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .cs-workspace {
    grid-template-columns: 1fr;
  }
  .cs-station-list {
    max-height: 340px;
  }
}

@media (max-width: 700px) {
  .cs-detail-pane {
    padding: 16px 14px;
  }
  .cs-timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cs-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cs-live-stage {
    min-height: 260px;
  }
}

/* Compact Center Sky surface, matched to DigiSky.Team Home. */
#main:has(> .cs-page) {
  padding: 14px 16px 24px;
  background: radial-gradient(circle at 88% 0, #173a79 0, transparent 34%), linear-gradient(145deg, #07162d, #0a1c39 60%, #08152b);
  color: #eaf3ff;
}

.cs-page {
  --ink: #eaf3ff;
  --muted: #a9bed9;
  --line: #2d4f76;
  --accent: #77cbff;
  --soft: #183b64;
  --danger: #ff8898;
  gap: 9px;
  font-size: 12px;
  line-height: 1.35;
}

.cs-head { align-items: center; gap: 8px 14px; }
.cs-head-copy { min-width: 190px; }
.cs-eyebrow-row { margin-bottom: 2px; gap: 6px; }
.cs-eyebrow { font-size: 10px; letter-spacing: .08em; }
.cs-head h1 { margin: 0; font-size: 21px; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; }
.cs-head p { margin: 2px 0 0; font-size: 11px; line-height: 1.3; color: var(--muted); }
.cs-head-actions { gap: 6px; }
.cs-date-label { padding: 3px 8px; gap: 5px; border-radius: 8px; background: #112b4b; font-size: 11px; }
.cs-date-label input[type="date"] { padding: 2px; min-width: 0; color-scheme: dark; }
.cs-date-label input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
.cs-page .badge { padding: 2px 6px; font-size: 10px; line-height: 1.2; }

.cs-kpi-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.cs-kpi-card { min-width: 0; padding: 9px 11px; gap: 2px; border-radius: 11px; background: #112847; box-shadow: 0 5px 16px #020b1b24; }
.cs-kpi-top { font-size: 10.5px; gap: 4px; }
.cs-kpi-value { font-size: 23px; line-height: 1; font-variant-numeric: tabular-nums; }
.cs-kpi-sub { font-size: 10px; line-height: 1.25; }
.cs-banner { padding: 9px 11px; gap: 6px; border-radius: 10px; background: #3c2e1e; color: #ffdfb4; }
.cs-banner.error-banner { background: #412634; color: #ffd6dc; }
.cs-endpoint-item { padding: 5px 7px; background: #142b49; border-color: #4a6280; }

.cs-toolbar { gap: 6px; padding: 7px; border-radius: 11px; background: #102744; }
.cs-toolbar .search { width: min(390px, 100%); height: 34px; padding: 0 10px; border: 1px solid #3c5c82; border-radius: 8px; background: #0b2039; }
.cs-toolbar .search input { color: var(--ink); font-size: 11px; }
.cs-toolbar .search input::placeholder { color: #91a8c5; }
.cs-toolbar-filters { gap: 6px; }
.cs-select { min-height: 34px; max-width: 100%; padding: 5px 9px; border-radius: 8px; background: #112b4b; color: var(--ink); font-size: 11px; color-scheme: dark; }
.cs-workspace { grid-template-columns: clamp(230px, 22vw, 285px) minmax(0, 1fr); gap: 9px; }
.cs-station-pane, .cs-detail-pane, .cs-card { background: #112847; box-shadow: 0 5px 18px #020b1b24; }
.cs-station-pane, .cs-detail-pane { border-radius: 12px; }
.cs-pane-head { padding: 8px 10px; background: #173159; }
.cs-pane-head h2 { font-size: 12px; font-weight: 700; }
.cs-station-list { max-height: min(68vh, 800px); scrollbar-width: thin; scrollbar-color: #41688f transparent; }
.cs-station-item { padding: 7px 9px; gap: 3px; background: transparent; color: var(--ink); }
.cs-station-item:hover { background: #1b3b69; }
.cs-station-item.active { background: #1a406c; box-shadow: inset 3px 0 0 #79d2ff; }
.cs-station-title { min-width: 0; gap: 6px; font-size: 11.5px; }
.cs-station-title span:last-child { overflow-wrap: anywhere; }
.cs-status-dot { width: 7px; height: 7px; }
.cs-station-meta, .cs-station-badges { gap: 3px 7px; font-size: 10px; }
.cs-detail-pane { padding: 11px; gap: 9px; }
.cs-detail-head { gap: 7px; padding-bottom: 8px; }
.cs-detail-title { gap: 3px; }
.cs-detail-title h2 { font-size: 16px; gap: 6px; }
.cs-detail-sub { gap: 3px 9px; font-size: 11px; }
.cs-detail-actions { gap: 5px; }
.cs-meta-grid { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 5px; padding: 7px; border-radius: 8px; background: #0c213b; }
.cs-meta-cell { gap: 1px; }
.cs-meta-cell span { font-size: 10px; letter-spacing: .04em; }
.cs-meta-cell strong { font-size: 11.5px; font-weight: 650; }
.cs-tabs { gap: 3px; padding-bottom: 5px; scrollbar-width: thin; }
.cs-tab { min-height: 33px; padding: 5px 9px; border-radius: 7px; color: var(--muted); font-size: 11px; }
.cs-tab:hover { background: #244c78; color: #fff; }
.cs-tab.active { background: #1f4e83; color: #f4fbff; box-shadow: inset 0 -2px 0 #8bddff; animation: cs-select-flash .45s ease-out; }
.cs-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cs-card { min-width: 0; padding: 9px 10px; gap: 7px; border-radius: 10px; }
.cs-card h3 { font-size: 12px; line-height: 1.25; }
.cs-card .note { margin: 2px 0 0; padding: 6px 8px; border-radius: 7px; background: #183b64; color: #bfd6ec; font-size: 10px; line-height: 1.35; }
.cs-usage-list { gap: 0; }
.cs-usage-item { gap: 2px; padding: 5px 0; border-bottom: 1px solid #284564; }
.cs-usage-item:last-child { border-bottom: 0; }
.cs-usage-row { gap: 4px; font-size: 11px; }
.cs-usage-row strong { min-width: 0; overflow-wrap: anywhere; }
.cs-progress { height: 4px; }
.cs-timeline-list, .cs-alert-list { gap: 4px; }
.cs-timeline-item { grid-template-columns: 114px minmax(0, 1fr) auto; gap: 6px; padding: 6px 8px; border-radius: 7px; background: #0c213b; }
.cs-timeline-item:nth-child(even) { background: #142d4c; }
.cs-timeline-time { color: #b8d8f2; font-size: 10px; }
.cs-timeline-body { gap: 2px; }
.cs-timeline-title { gap: 4px; font-size: 11px; }
.cs-timeline-sub { gap: 2px 7px; font-size: 10px; }
.cs-alert-card { padding: 7px 9px; gap: 6px; border-radius: 8px; background: #2d2a2c; }
.cs-alert-card.critical { background: #3e2934; }
.cs-alert-body { gap: 3px; }
.cs-alert-body p { margin: 0; font-size: 11px; line-height: 1.35; }
.cs-empty-box { padding: 18px 12px; gap: 5px; border-radius: 9px; background: #0c213b; border-color: #3d638c; }
.cs-empty-box h3 { font-size: 13px; }
.cs-empty-box p { font-size: 11px; }

.cs-page :is(button, a, select, input[type="date"], input[type="search"]):not(:disabled) {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .22s ease, transform .18s ease;
}
.cs-page :is(button, a, select, input[type="date"], input[type="search"]):focus-visible {
  outline: 2px solid #9ae1ff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #55caff40, 0 0 18px #61c7ff70;
}
.cs-page :is(button, a, select, input[type="date"], input[type="search"]):active:not(:disabled) {
  transform: scale(.975);
  border-color: #9ae1ff;
  box-shadow: 0 0 0 3px #62c9ff66, 0 0 18px #60c7ff99;
  animation: cs-press-flash .35s ease-out;
}

.cs-fleet-missing { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 8px 11px; border: 1px solid #bc8547; border-radius: 9px; background: #3d2e1e; color: #ffe0b4; font-size: 12px; }
.cs-fleet-missing strong { color: #fff0d7; }
.cs-fleet-missing span { padding: 2px 7px; border: 1px solid #d29a5a; border-radius: 999px; background: #513d27; font-weight: 700; }
.cs-fleet-missing p { flex-basis: 100%; margin: 0; color: #e6c9a2; font-size: 12px; }
.cs-page button:not(.cs-station-item):not(.cs-tab):not(:disabled) { min-height: 33px; padding: 5px 10px; border-radius: 8px; border-color: #3a5c83; background: #17365f; color: #eaf5ff; font-size: 11px; }
.cs-page button:not(.cs-station-item):not(.cs-tab):hover:not(:disabled) { background: #25578e; border-color: #77cbff; box-shadow: 0 0 14px #58baff55; }
.cs-page button.danger:not(:disabled) { background: #422c3a; border-color: #a46176; color: #ffe6ed; }
.cs-page button.danger:hover:not(:disabled) { background: #71334b; }
.cs-station-item.active { animation: cs-select-flash .45s ease-out; }
.cs-page :is(button, a, select) { -webkit-tap-highlight-color: #6dcaff55; }
@keyframes cs-select-flash { from { box-shadow: 0 0 0 3px #81d6ff66, 0 0 20px #67c9ff66; } to { box-shadow: inset 0 -2px 0 #8bddff; } }
@keyframes cs-press-flash { 45% { filter: brightness(1.38); } }

.cs-live-modal-dialog { background: #112847; color: #eaf3ff; border: 1px solid #41678e; }
.cs-live-modal-head { border-color: #355577; }
.cs-live-modal-meta, .cs-live-notice { color: #bbd0e6; }
.cs-live-notice { background: #17365f; border-color: #42668b; }
.cs-live-stage { min-height: min(55vh, 420px); }

@media (max-width: 1100px) {
  .cs-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  #main:has(> .cs-page) { padding: 8px 9px 18px; }
  .cs-workspace { grid-template-columns: minmax(0, 1fr); }
  .cs-station-list { max-height: 190px; }
  .cs-head p { display: none; }
  .cs-toolbar .search { flex: 1 1 220px; }
}

@media (max-width: 540px) {
  #main:has(> .cs-page) { padding: 6px 7px 18px; border-radius: 10px 10px 0 0; }
  .cs-page { gap: 7px; }
  .cs-head h1 { font-size: 18px; }
  .cs-eyebrow-row .badge { display: none; }
  .cs-head-actions { width: 100%; justify-content: space-between; }
  .cs-date-label { flex: 1 1 auto; justify-content: space-between; min-height: 44px; }
  .cs-date-label input[type="date"] { min-height: 40px; }
  .cs-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .cs-kpi-card { padding: 7px 8px; }
  .cs-kpi-grid > :last-child { grid-column: span 2; }
  .cs-kpi-value { font-size: 20px; }
  .cs-kpi-sub { display: none; }
  .cs-toolbar { padding: 5px; }
  .cs-toolbar .search { width: 100%; flex-basis: 100%; height: 44px; }
  .cs-toolbar .search input { min-height: 40px; }
  .cs-toolbar-filters { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-select { width: 100%; }
  .cs-station-list { max-height: 166px; }
  .cs-station-item { min-height: 42px; }
  .cs-station-badges .badge { white-space: normal; }
  .cs-detail-pane { padding: 8px; }
  .cs-detail-head { padding-bottom: 6px; }
  .cs-detail-title h2 { font-size: 14px; }
  .cs-section-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-timeline-item { grid-template-columns: 76px minmax(0, 1fr); gap: 4px 6px; }
  .cs-timeline-item > .cs-station-badges { grid-column: 2; }
  .cs-timeline-time { font-size: 10.5px; overflow-wrap: anywhere; }
  .cs-timeline-sub { font-size: 10.5px; }
  .cs-card { padding: 8px; }
  .cs-tab, .cs-select, .cs-page button:not(.cs-station-item):not(.cs-tab):not(:disabled) { min-height: 44px; }
  .cs-live-modal-backdrop { padding: 5px; }
  .cs-live-modal-dialog { max-height: calc(100dvh - 10px); }
  .cs-live-stage { min-height: 220px; padding: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-page :is(button, a, select, input) { animation: none !important; transition: none !important; }
}

.cs-policy-manager { margin-top: 12px; }
.cs-policy-effective { margin: 12px 0 16px; padding: 14px 16px; border: 1px solid #b7c5d6; border-left: 4px solid #2874c6; border-radius: 9px; background: #f5f9ff; color: #172b43; }
.cs-policy-effective h4 { margin: 0 0 7px; }
.cs-policy-effective p { margin: 6px 0; line-height: 1.5; }
.cs-policy-effective ul { display: grid; gap: 5px; margin: 8px 0; padding-left: 22px; }
.cs-live-modal-dialog { max-height: none; }
.cs-live-stage { min-height: 0; max-height: none; }
.cs-policy-manager summary { cursor: pointer; }
.cs-policy-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 12px; margin-top: 16px; }
.cs-policy-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.cs-policy-form input:not([type="checkbox"]) { width: 100%; min-width: 0; padding: 8px; border: 1px solid #b7c5d6; border-radius: 6px; }
.cs-policy-form label:has(input[type="checkbox"]) { flex-direction: row; align-items: center; }
.cs-policy-form .cs-alert-rule-toggles { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0; padding: 12px 14px; border: 1px solid #b7c5d6; border-radius: 8px; }
.cs-policy-form .cs-alert-rule-toggles legend { padding: 0 5px; font-weight: 650; }
.cs-policy-form .cs-alert-rule-toggles label { display: inline-flex; flex-direction: row; align-items: center; gap: 7px; margin: 0; white-space: nowrap; }
.cs-policy-form .cs-alert-rule-toggles small { flex: 1 0 100%; color: #a8bdd4; line-height: 1.5; }
.cs-policy-form button { align-self: end; }
.cs-policy-list { display: grid; gap: 7px; }
.cs-policy-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px; border-bottom: 1px solid #d9e2ec; }
.cs-policy-error { color: #a21d1d; }

/* Keep production window and multi-screen sizing while adding delta canvas. */
.cs-page .cs-live-modal-backdrop{background:transparent;pointer-events:none}
#shell:has(.cs-live-modal-backdrop){isolation:auto;z-index:auto}
.cs-timeline-page{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin-top:12px;flex-wrap:wrap}
.cs-timeline-page span{font-size:12px;color:#60758e}
.cs-page .cs-live-modal-dialog{pointer-events:auto;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);box-sizing:border-box}
.cs-page .cs-live-stage{display:block;position:relative;overflow:auto}
.cs-page .cs-live-frame{margin:0;object-fit:contain}
.cs-page .cs-live-placeholder{position:absolute;inset:0;margin:auto;box-sizing:border-box;justify-content:center}
.cs-page .cs-live-placeholder[hidden],.cs-page .cs-live-frame[hidden]{display:none!important}
.cs-page .cs-live-frame-control{touch-action:none}
.cs-page button.cs-live-icon{position:relative;overflow:visible}
.cs-page .cs-live-modal-head{height:34px;min-height:34px;flex:0 0 34px;padding:3px 6px;box-sizing:border-box}.cs-page .cs-live-modal-head h2{margin:0;font-size:12px;min-width:0}.cs-page .cs-live-modal-head button.cs-live-icon:not(:disabled){min-height:26px;height:26px;min-width:26px;padding:0 3px;line-height:24px}.cs-page .cs-live-toolbar button.cs-live-tool:not(:disabled){min-height:24px;height:24px;padding:0 4px}
.cs-live-icon[data-tip]:is(:hover,:focus-visible)::after{content:attr(data-tip);position:absolute;right:0;top:calc(100% + 3px);background:#07162d;color:#eaf3ff;padding:4px 6px;white-space:nowrap;font:11px Arial;z-index:5;pointer-events:none}
.cs-screen-grid{height:max(320px,calc(100dvh - 400px));grid-template-rows:repeat(2,minmax(0,1fr))}.cs-screen-grid-1,.cs-screen-grid-2{grid-template-rows:minmax(0,1fr)}.cs-screen-grid-9{grid-template-rows:repeat(3,minmax(0,1fr))}.cs-screen-slot{display:flex;flex-direction:column}.cs-screen-picture{flex:1;min-height:0;height:auto}.cs-screen-slot-bar,.cs-screen-slot-actions{flex-shrink:0}
@media(max-width:700px){.cs-screen-grid{height:auto;grid-template-rows:none}.cs-screen-picture{height:240px;flex:auto}}

/* Compact management workspace and floor plan. */
.cs-page .cs-head{min-height:0;padding:0}.cs-page .cs-head-copy{flex:0 1 auto}.cs-page .cs-head h1{font-size:20px}
.cs-page .cs-kpi-grid{display:flex;gap:4px;overflow-x:auto;scrollbar-width:thin}.cs-page .cs-kpi-card{flex:1 0 125px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:6px 9px;min-height:36px;gap:8px}.cs-page .cs-kpi-top{flex:1}.cs-page .cs-kpi-value{font-size:17px}.cs-page .cs-kpi-sub{display:none}
.cs-overview-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:stretch;gap:6px;margin:7px 0}.cs-overview-row .cs-kpi-grid,.cs-overview-row .cs-toolbar{min-width:0;margin:0}.cs-overview-row .cs-kpi-card{flex:1 1 0;min-width:0}.cs-overview-row .cs-kpi-top{font-size:10px;line-height:1.15}.cs-overview-row .cs-kpi-top .badge{display:none}.cs-overview-row .cs-toolbar{display:flex;flex-wrap:nowrap;gap:5px}.cs-overview-row .cs-toolbar .search{flex:1 1 110px;min-width:90px;width:auto}.cs-overview-row .cs-toolbar-filters{display:flex;flex:1 1 230px;min-width:0;flex-wrap:nowrap}.cs-overview-row .cs-toolbar-filters .cs-select{flex:1 1 0;min-width:0;padding:4px 5px}
.cs-workspace-tabs{display:flex;flex-wrap:wrap;gap:4px;overflow:visible;white-space:normal;scrollbar-width:thin}.cs-workspace-tabs button{flex:0 1 auto;min-width:max-content;padding:7px 10px!important}
.cs-screen-workspace-head{align-items:center}.cs-screen-layouts{display:flex;flex-wrap:wrap;gap:4px}.cs-screen-layouts button{padding:6px 9px!important}
.cs-screen-presets,.cs-management-head,.cs-map-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:7px 0}.cs-screen-presets select,.cs-management-head select,.cs-screen-presets input,.cs-map-actions input{min-width:150px;max-width:100%;background:#102744;color:#eaf3ff;border:1px solid #41678e;border-radius:7px;padding:6px}.cs-screen-presets button,.cs-map-actions button{padding:6px 9px!important}.cs-screen-workspace{min-height:0}.cs-screen-grid{height:max(360px,calc(100dvh - 270px))}
.cs-screen-grid-9{height:max(720px,calc(100dvh - 270px))}
.cs-management-workspace{display:grid;gap:9px}.cs-management-head h2{margin:0 auto 0 0;font-size:18px}.cs-management-workspace .cs-card{min-width:0}
.cs-map-layout{display:grid;grid-template-columns:minmax(150px,205px) minmax(0,1fr);gap:9px}.cs-map-palette{display:flex;flex-direction:column;gap:5px;padding:8px;background:#0c213d;border-radius:9px}.cs-map-palette h4{margin:0 0 4px}.cs-map-palette button{cursor:grab;text-align:left;padding:7px!important}.cs-map-layout svg{display:block;width:100%;height:auto;aspect-ratio:5/3;border:1px solid #41678e;border-radius:10px;touch-action:none}.cs-map-background{fill:#0c213d}.cs-map-room{fill:#17365f;stroke:#65bafa;stroke-width:2}.cs-map-room-label{fill:#eaf3ff;font-size:19px;font-weight:700}.cs-map-machine{stroke:#8dc7fa;stroke-width:1}.cs-map-machine.online{fill:#1f7562}.cs-map-machine.offline{fill:#825060}.cs-map-machine-label{fill:#fff;font-size:14px}.cs-map-selection{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px;padding:8px;background:#17365f;border-radius:8px}
@media(max-width:700px){.cs-page .cs-kpi-card{flex-basis:115px}.cs-screen-grid{height:auto}.cs-map-layout{grid-template-columns:1fr}.cs-map-palette{flex-direction:row;overflow-x:auto}.cs-map-palette h4{min-width:100px}.cs-map-palette button{flex:0 0 auto}.cs-map-layout svg{min-height:280px}}
@media(max-width:900px){.cs-map-layout{grid-template-columns:minmax(0,1fr)}.cs-map-palette{flex-direction:row;align-items:center;overflow-x:auto}.cs-map-palette h4{min-width:100px}.cs-map-palette button{flex:0 0 auto}}
@media(max-width:1100px){.cs-overview-row{grid-template-columns:1fr}.cs-overview-row .cs-kpi-card{flex:1 0 115px}.cs-overview-row .cs-toolbar{flex-wrap:wrap}.cs-overview-row .cs-toolbar .search{flex:1 1 200px}.cs-overview-row .cs-toolbar-filters{flex:1 1 230px}}
.cs-status-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:700}.cs-status-badge.status-online{background:#147a4a;color:#fff}.cs-status-badge.status-offline{background:#64748b;color:#fff}
.cs-fleet-overview{display:grid;gap:12px}.cs-fleet-overview>header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.cs-fleet-overview h2{margin:0}.cs-fleet-overview>header p{margin:4px 0;color:#a8bdd4}.cs-fleet-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}.cs-fleet-card{background:#0c213d;border:1px solid #294966;border-radius:10px;padding:11px;min-width:0}.cs-fleet-card[draggable=true]{cursor:grab}.cs-fleet-card>header{display:flex;justify-content:space-between;align-items:center}.cs-fleet-reorder{border:1px solid transparent;border-radius:6px;background:transparent;color:#91a8c1;min-width:36px;min-height:32px;font-size:15px;cursor:grab}.cs-fleet-reorder:hover{background:#193b5d;color:#e9f2fc}.cs-fleet-reorder:focus-visible{outline:2px solid #7bd1ff;outline-offset:2px;color:#fff}.cs-fleet-card h3{margin:9px 0 3px}.cs-fleet-card>p{margin:0 0 8px;color:#a8bdd4;font-size:12px}.cs-fleet-apps{display:grid;gap:5px;margin-bottom:9px}.cs-fleet-app{display:grid;grid-template-columns:minmax(70px,1fr) minmax(50px,1.3fr) auto;gap:7px;align-items:center;font-size:11px}.cs-fleet-app>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-fleet-app b{white-space:nowrap}.cs-fleet-bar{height:7px;background:#183653;border-radius:6px;overflow:hidden}.cs-fleet-bar i{display:block;height:100%;background:#42a5f5;border-radius:6px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cs-fleet-app-name{cursor:help;text-decoration:underline dotted;text-underline-offset:2px}.cs-fleet-app-name:focus-visible{outline:2px solid #76c5ff;outline-offset:2px}
.cs-fleet-detail-backdrop{position:fixed;inset:0;z-index:1100;background:#061426bb;display:grid;place-items:center;padding:20px}.cs-fleet-detail-dialog{width:min(920px,calc(100vw - 32px));max-height:min(82vh,760px);overflow:auto;background:#102944;color:#e9f2fc;border:1px solid #41678e;border-radius:14px;padding:18px;box-shadow:0 20px 70px #0009}.cs-fleet-detail-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.cs-fleet-detail-dialog h2{margin:8px 0 3px}.cs-fleet-detail-dialog h3{margin:18px 0 8px}.cs-fleet-detail-dialog header p{margin:0;color:#a8bdd4}.cs-fleet-detail-dialog header button{font-size:24px;line-height:1;min-width:38px;min-height:38px}.cs-fleet-detail-dialog .table-wrap{overflow:auto}.cs-fleet-detail-dialog table{width:100%;border-collapse:collapse}.cs-fleet-detail-dialog th,.cs-fleet-detail-dialog td{text-align:left;padding:9px;border-bottom:1px solid #294966;vertical-align:top}.cs-fleet-detail-dialog td:nth-child(3){overflow-wrap:anywhere;max-width:260px}.cs-fleet-detail-dialog .muted{color:#a8bdd4;font-size:12px}
@media(max-width:600px){.cs-fleet-detail-backdrop{padding:8px}.cs-fleet-detail-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px}.cs-fleet-detail-dialog th,.cs-fleet-detail-dialog td{padding:6px;font-size:12px}}
.cs-fleet-card{position:relative;transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s ease,border-color .18s ease,opacity .18s ease}.cs-fleet-card.is-dragging{z-index:2;opacity:.58;transform:scale(.975);box-shadow:0 18px 36px #0008;cursor:grabbing}.cs-fleet-card.is-drop-target{border-top:3px solid #7bd1ff;box-shadow:0 -5px 0 -2px #7bd1ff,0 8px 22px #39a9ff33}.cs-fleet-card.is-drop-target::before{content:'';position:absolute;left:10px;right:10px;top:-5px;height:3px;background:#7bd1ff;border-radius:4px;box-shadow:0 0 12px #58bbff}.cs-fleet-card[draggable=true]:active{cursor:grabbing}@media(prefers-reduced-motion:reduce){.cs-fleet-card{transition:none!important}}
.cs-fleet-card.is-drop-target-after{border-top:1px solid #294966;border-bottom:3px solid #7bd1ff;box-shadow:0 5px 0 -2px #7bd1ff,0 -8px 22px #39a9ff1f}.cs-fleet-card.is-drop-target-after::before{display:none}.cs-fleet-card.is-drop-target-after::after{content:'';position:absolute;left:10px;right:10px;bottom:-5px;height:3px;background:#7bd1ff;border-radius:4px;box-shadow:0 0 12px #58bbff}
.cs-uptime-workspace{display:grid;gap:14px}.cs-uptime-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cs-uptime-head h2{margin:0}.cs-uptime-head p{margin:4px 0 0;color:var(--cs-muted,#9aaac0)}.cs-uptime-tabs{display:flex;gap:6px;padding:4px;border:1px solid var(--cs-border,#27374d);border-radius:12px;background:var(--cs-surface-2,#111d2c)}.cs-uptime-tabs [role=tab]{border:0;border-radius:8px;padding:8px 12px;background:transparent;color:inherit;cursor:pointer}.cs-uptime-tabs [aria-selected=true]{background:var(--cs-accent,#225d8b);color:#fff}.cs-uptime-card{min-width:0}.cs-uptime-card .cs-management-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cs-uptime-card .cs-management-head h3{margin:0}.cs-uptime-card .cs-management-head select{min-width:min(300px,70vw)}.cs-uptime-card td:first-child button{border:0;padding:0;background:none;color:var(--cs-accent-light,#83c8ff);text-decoration:underline;cursor:pointer;font:inherit}@media(max-width:640px){.cs-uptime-head{align-items:flex-start}.cs-uptime-tabs{width:100%}.cs-uptime-tabs [role=tab]{flex:1}}

.cs-alert-workflow{margin-top:12px;padding:10px 12px;border:1px solid var(--cs-border,#27374d);border-radius:10px;background:var(--cs-surface-2,#111d2c)}.cs-alert-workflow summary{cursor:pointer;font-weight:650}.cs-alert-workflow .muted{font-size:12px;color:var(--cs-muted,#9aaac0)}.cs-alert-workflow-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.cs-alert-workflow-form label{display:grid;gap:5px;font-size:12px}.cs-alert-workflow-form textarea{min-height:70px;resize:vertical}.cs-alert-workflow-form label:last-of-type{grid-column:1/-1}.cs-alert-workflow-summary{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px;font-size:12px;color:var(--cs-muted,#9aaac0)}@media(max-width:640px){.cs-alert-workflow-form{grid-template-columns:1fr}}

/* Use full-width machine cards when the admin sidebar leaves a tablet-sized workspace. */
@media (min-width: 801px) and (max-width: 1200px) {
  .cs-page .cs-workspace { grid-template-columns: minmax(0, 1fr); }
  .cs-page .cs-station-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 7px;
    max-height: min(34vh, 260px);
    padding: 7px;
  }
  .cs-page .cs-station-item {
    min-width: 0;
    border: 1px solid #294966;
    border-radius: 8px;
  }
}

/* Let the mobile station list scroll instead of compressing cards into overlap. */
.cs-page .cs-station-item { flex: 0 0 auto; }
.cs-live-audit .cs-management-head{justify-content:space-between}.cs-live-audit .cs-management-head p{margin:4px 0 0;color:var(--cs-muted,#9aaac0);font-size:12px}.cs-live-audit-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.cs-live-audit-tools select{min-width:210px;background:#102744;color:#eaf3ff;border:1px solid #41678e;border-radius:7px;padding:6px}.cs-live-audit-tools button{padding:6px 10px!important}.cs-live-audit-privacy{margin:0 0 10px;color:var(--cs-muted,#9aaac0);font-size:12px}.cs-live-audit td small{display:block;margin-top:2px;color:var(--cs-muted,#9aaac0)}.cs-live-audit td code{font-size:11px;color:#c8d9eb}.cs-live-audit .cs-audit-start{background:#147a4a;color:#fff}.cs-live-audit .cs-audit-stop{background:#526579;color:#fff}.cs-live-audit .cs-audit-warning{background:#8a5a17;color:#fff}@media(max-width:640px){.cs-live-audit-tools{width:100%}.cs-live-audit-tools select{min-width:0;flex:1}}
.cs-live-quality-control{display:flex;align-items:center;gap:6px;color:var(--cs-muted,#9aaac0);font-size:12px}.cs-live-quality-control select{min-height:32px;padding:5px 8px;background:#102744;color:#eaf3ff;border:1px solid #41678e;border-radius:7px}.cs-live-quality-status{white-space:nowrap;color:var(--cs-muted,#9aaac0);font-size:11px}
.cs-fleet-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;align-items:end;padding:12px;border:1px solid #294966;border-radius:12px;background:#0b1d34}.cs-fleet-filters label{display:grid;gap:5px;min-width:0;color:#b9cbe0;font-size:12px;font-weight:650}.cs-fleet-filters input,.cs-fleet-filters select{box-sizing:border-box;width:100%;min-width:0;min-height:38px;padding:8px 10px;border:1px solid #3a5876;border-radius:8px;background:#102945;color:#eef6ff;font:inherit}.cs-fleet-filters input:focus-visible,.cs-fleet-filters select:focus-visible,.cs-fleet-filters button:focus-visible{outline:2px solid #76baff;outline-offset:2px}.cs-fleet-filters button{min-height:38px;padding:7px 12px;border:1px solid #426589;border-radius:8px;background:#163858;color:#eef6ff;cursor:pointer}.cs-fleet-filter-count{display:flex;flex-wrap:wrap;align-items:center;gap:4px;align-self:center;min-width:155px;color:#d4e4f5;font-size:12px;line-height:1.35}.cs-fleet-count-separator{color:#7896b4}.cs-fleet-pilot-count{color:#ffdb9b;font-weight:700}@media(max-width:560px){.cs-fleet-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cs-fleet-filters label:first-child{grid-column:1/-1}.cs-fleet-filter-count{grid-column:1/-1;min-width:0}}
.cs-fleet-meta{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 4px}.cs-fleet-meta span{max-width:100%;padding:4px 7px;border:1px solid #294966;border-radius:999px;background:#102945;color:#c5d7e9;font-size:10px;line-height:1.25;overflow-wrap:anywhere}.cs-fleet-meta span.has-queue{border-color:#9b671f;background:#3a2c17;color:#ffe0a6}.cs-fleet-meta span.has-alerts{border-color:#8c4150;background:#3b202d;color:#ffc3ce}.cs-fleet-last-seen{margin:3px 0 8px;color:#91a8c1;font-size:10px}
.cs-fleet-meta span.cs-alert-critical.is-active{border-color:#b94d5e;background:#4a202a;color:#ffd0d7;font-weight:700}.cs-fleet-meta span.cs-alert-warning.is-active{border-color:#aa7726;background:#403018;color:#ffe2a5;font-weight:700}.cs-fleet-meta span.cs-alert-late.is-active{border-color:#536c91;background:#1d3048;color:#d1e3ff}
.cs-disk-health-table{width:100%;table-layout:fixed;border-collapse:collapse}
.cs-disk-health-table th,.cs-disk-health-table td{width:auto;padding:6px 5px;text-align:left;vertical-align:top;border-bottom:1px solid #294966;font-size:11px;line-height:1.3;overflow-wrap:anywhere}
.cs-disk-health-table th{color:var(--muted,#a9bed9);font-weight:650}
.cs-disk-health-table th:nth-child(1){width:7%}
.cs-disk-health-table th:nth-child(2){width:22%}
.cs-disk-health-table th:nth-child(3){width:21%}
.cs-disk-health-table th:nth-child(4){width:27%}
.cs-disk-health-table th:nth-child(5){width:23%}
.cs-disk-measured-at{display:block;margin-top:3px;color:var(--muted,#a9bed9);font-size:10px;line-height:1.3;white-space:nowrap}
.cs-alert-age-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.cs-alert-age-row .badge{white-space:nowrap}
.cs-data-freshness{display:inline-flex;align-items:center;vertical-align:middle;margin-left:5px;padding:2px 6px;border:1px solid #416174;border-radius:999px;background:#183347;color:#d8efff;font-size:10px;font-weight:700;line-height:1.35;white-space:nowrap}.cs-data-freshness.is-fresh{border-color:#328365;background:#143c32;color:#b9f1d5}.cs-data-freshness.is-stale{border-color:#a57424;background:#493516;color:#ffe0a3}.cs-data-freshness.is-unmeasured,.cs-data-freshness.is-unknown{border-color:#64748b;background:#263445;color:#d2dbe6}.cs-data-freshness.is-clock-skew{border-color:#a94b5b;background:#48232d;color:#ffd1d8}

/* Keep the 7-day fleet report readable in the narrow DigiSky admin content area. */
.cs-weekly-workspace .table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.cs-weekly-workspace .table-wrap > table { width: max-content; min-width: 980px; table-layout: auto; }
.cs-weekly-workspace .table-wrap > table th,
.cs-weekly-workspace .table-wrap > table td { white-space: nowrap; }
.cs-weekly-workspace .table-wrap > table thead th:first-child { position: sticky; left: 0; z-index: 2; background: #34404d; }
.cs-weekly-workspace .table-wrap > table tbody th:first-child { position: sticky; left: 0; z-index: 1; background: #183653; box-shadow: 2px 0 6px #0005; }

.cs-network-workspace .cs-management-head { align-items: center; }
.cs-network-workspace .cs-network-fleet .table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.cs-network-workspace .cs-network-fleet .table-wrap > table { width: max-content; min-width: 760px; table-layout: auto; }
.cs-network-workspace .cs-network-fleet .table-wrap > table th,
.cs-network-workspace .cs-network-fleet .table-wrap > table td { white-space: nowrap; }
@media (max-width: 640px) {
  .cs-network-workspace .cs-management-head > .cs-uptime-tabs { width: 100%; max-width: none; }
  .cs-network-workspace .cs-management-head > .cs-uptime-tabs [role=tab] { flex: 1; }
}

/* 2026-11-07 feedback: compact fleet, grouped operations, machine-first inventory. */
.cs-page:has(.cs-fleet-overview){gap:8px}
.cs-fleet-overview{gap:7px}.cs-fleet-overview>header{min-height:24px}.cs-fleet-overview h2{font-size:18px}.cs-fleet-overview h2 small{font-size:12px;color:#91abc5;font-weight:600}
.cs-fleet-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.cs-fleet-card{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr) auto 24px;grid-template-rows:25px 20px;align-items:center;column-gap:7px;min-height:67px;padding:8px 10px;background:linear-gradient(145deg,#143758,#0c213d 70%);border-color:#3a6385;box-shadow:0 2px 8px #0003;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.cs-fleet-screen-icon{grid-column:1;grid-row:1/3;position:relative;width:25px;height:19px;border:2px solid #7ba9cc;border-radius:4px;background:#0b1a2a;box-shadow:inset 0 0 0 2px #173c5b}
.cs-fleet-screen-icon:before{content:'';position:absolute;left:9px;bottom:-6px;width:7px;height:4px;background:#7ba9cc}.cs-fleet-screen-icon:after{content:'';position:absolute;left:5px;bottom:-8px;width:15px;height:2px;background:#7ba9cc;border-radius:2px}
.cs-fleet-card .cs-fleet-online-dot{position:absolute;left:31px;top:8px;width:8px;height:8px;border:2px solid #102a45;border-radius:50%;background:#7c91a5}.cs-fleet-card .cs-fleet-online-dot.online,.cs-fleet-card .cs-fleet-online-dot.status-online,.cs-fleet-card .cs-fleet-online-dot.green{background:#3bd18b;box-shadow:0 0 7px #3bd18b88}.cs-fleet-card .cs-fleet-online-dot.offline,.cs-fleet-card .cs-fleet-online-dot.status-offline,.cs-fleet-card .cs-fleet-online-dot.red{background:#ff6571}.cs-fleet-machine-name{grid-column:2;grid-row:1/3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f2f8ff;font-size:13px}.cs-fleet-card>[data-cs-overview-open]{grid-column:3;grid-row:1/3;padding:4px 8px;min-height:28px;font-size:11px}.cs-fleet-reorder{grid-column:4;grid-row:1/3;min-width:22px;min-height:24px;padding:0}.cs-fleet-attention{position:absolute;right:7px;top:3px;display:grid;place-items:center;min-width:14px;height:14px;border-radius:50%;background:#e17b39;color:white;font-size:9px;z-index:1}.cs-fleet-card:hover{transform:translateY(-2px);border-color:#71b8ed;box-shadow:0 7px 16px #0006}.cs-fleet-card:focus-visible{outline:2px solid #7bd1ff;outline-offset:2px}
.cs-workspace-tabs{display:flex;flex-wrap:wrap;gap:5px;padding:3px 0}.cs-workspace-tabs button{touch-action:none;user-select:none}.cs-workspace-tabs button.is-dragging{opacity:.5;transform:scale(.97)}.cs-workspace-tabs button.is-drop-target{box-shadow:inset 3px 0 #66c2ff}.cs-ops-subtabs,.cs-management-subtabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.cs-ops-subtabs button,.cs-management-subtabs button{min-height:32px;padding:6px 11px;border:1px solid #355776;border-radius:8px;background:#102b47;color:#cfdef0;cursor:pointer}.cs-ops-subtabs button[aria-selected=true],.cs-management-subtabs button[aria-selected=true]{background:#1b4c73;border-color:#64b7ef;color:#fff;box-shadow:inset 0 -2px #77cbff}
.cs-management-workspace{gap:10px}.cs-management-workspace .cs-management-head{margin:0}.cs-management-workspace:has(.cs-management-subtabs) .cs-card{padding:10px}.cs-management-workspace:has(.cs-management-subtabs) table th,.cs-management-workspace:has(.cs-management-subtabs) table td{padding:5px 7px;font-size:12px}
.cs-software-machine-tabs{display:flex;gap:6px;overflow:auto;padding:5px 1px 10px;scrollbar-width:thin}.cs-software-machine-tabs button{display:grid;min-width:78px;min-height:44px;padding:5px 9px;text-align:left;border:1px solid #355776;border-radius:8px;background:#0d223b;color:#e7f1fc;cursor:pointer}.cs-software-machine-tabs button[aria-selected=true]{border-color:#67baff;background:#173c5d}.cs-software-machine-tabs small{color:#9eb5ce}.cs-software-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:calc(100vh - 300px);overflow:auto}.cs-software-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:8px 10px;border:1px solid #294966;border-radius:8px;background:#0b1f36}.cs-software-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-software-card span,.cs-software-card small{color:#9db5cd;font-size:11px}.cs-software-card small{grid-column:2;grid-row:1/3;align-self:center}
.cs-disk-machines{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.cs-disk-machine{min-width:0;padding:9px;border:1px solid #355776;border-radius:10px;background:linear-gradient(145deg,#12324e,#0b2038)}.cs-disk-machine>header{display:flex;align-items:center;gap:7px;margin-bottom:7px}.cs-disk-machine>header>span:last-child{margin-left:auto;color:#a9c2d9;font-size:11px}.cs-disk-icon{color:#84c8fa;font-size:17px}.cs-disk-grid{display:grid;gap:6px}.cs-disk-card{display:grid;gap:3px;padding:7px;border-radius:7px;background:#0b1c30;border:1px solid #26435e;font-size:11px}.cs-disk-card.is-warning{border-color:#dd9142;background:#392815}.cs-disk-kind{color:#8ecafa;font-size:10px}.cs-disk-card small{color:#acc0d5;font-size:10px;overflow-wrap:anywhere}.cs-advice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.cs-advice-card{padding:10px;border:1px solid #355776;border-radius:9px;background:#102640}.cs-advice-card header{display:flex;justify-content:space-between;gap:8px}.cs-advice-card header span{color:#a9c3da;font-size:11px}.cs-advice-card ul{margin:8px 0 0;padding-left:18px;font-size:12px}.cs-advice-card li+li{margin-top:5px}
.cs-activity-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.cs-activity-card{min-width:0;padding:9px;border:1px solid #355776;border-radius:10px;background:linear-gradient(145deg,#14334f,#0b1e34);box-shadow:0 2px 7px #0003}.cs-activity-card header{display:grid;gap:3px;margin-bottom:7px}.cs-activity-card header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-activity-card header span{color:#9db7d0;font-size:10px}.cs-activity-apps{display:grid;gap:4px}.cs-activity-apps>div{display:flex;justify-content:space-between;gap:5px;font-size:11px}.cs-activity-apps>div span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-activity-apps b{color:#8ed2ff}.cs-activity-leisure{display:grid;gap:3px;margin-top:7px;padding-top:6px;border-top:1px solid #28445f;color:#b7c9da;font-size:10px}.cs-activity-leisure span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1450px){.cs-fleet-grid,.cs-disk-machines,.cs-activity-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cs-advice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1080px){.cs-fleet-grid,.cs-disk-machines,.cs-activity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cs-advice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cs-fleet-grid,.cs-disk-machines,.cs-activity-grid,.cs-advice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-software-grid{grid-template-columns:1fr}}

.cs-activity-apps>div[data-tip],.cs-activity-leisure span[data-tip]{position:relative;overflow:visible;cursor:help}
.cs-activity-apps>div[data-tip]::after,.cs-activity-leisure span[data-tip]::after{content:attr(data-tip);position:absolute;left:0;top:calc(100% + 5px);min-width:240px;max-width:min(390px,80vw);padding:9px 11px;border:1px solid #6baad4;border-radius:8px;background:#07182a;color:#eef8ff;font-size:11px;font-weight:500;line-height:1.45;white-space:normal;box-shadow:0 10px 28px #000b;opacity:0;visibility:hidden;pointer-events:none;z-index:30;transition:opacity .06s linear,visibility .06s linear}
.cs-activity-apps>div[data-tip]:hover::after,.cs-activity-apps>div[data-tip]:focus-visible::after,.cs-activity-leisure span[data-tip]:hover::after,.cs-activity-leisure span[data-tip]:focus-visible::after{opacity:1;visibility:visible;transition-delay:0ms}
@media(max-width:450px){.cs-fleet-grid,.cs-disk-machines,.cs-activity-grid,.cs-advice-grid{grid-template-columns:1fr}}
.cs-page:has(.cs-fleet-overview)>.cs-head .cs-head-copy{display:none}.cs-activity-card.is-dragging{opacity:.55;transform:scale(.98)}.cs-activity-card.is-drop-target{border-top:3px solid #7bd1ff;box-shadow:0 -5px 0 -2px #7bd1ff,0 8px 22px #39a9ff33}

/* 2026-11-07 follow-up: true tabs, hold-to-reorder, compact machine and drive cards. */
.cs-workspace-tabs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;white-space:nowrap;gap:6px;border-bottom:1px solid #365674;padding:0 2px;scrollbar-width:thin}
.cs-workspace-tabs button{flex:0 0 auto;min-height:38px;padding:8px 11px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#b8cbe0;font-size:13px;font-weight:650;cursor:pointer;touch-action:pan-x;user-select:none}
.cs-workspace-tabs button:hover{background:#112b45;color:#f5faff}.cs-workspace-tabs button.active{background:transparent;border-bottom-color:#68c4ff;color:#fff}.cs-workspace-tabs button.is-dragging{opacity:.7;transform:translateY(-3px) scale(1.04);box-shadow:0 12px 22px #0008}.cs-workspace-tabs button.is-drop-target{box-shadow:inset 3px 0 #75d0ff}
.cs-ops-subtabs,.cs-management-subtabs{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;gap:4px;margin:0;border-bottom:1px solid #355674;scrollbar-width:thin}
.cs-ops-subtabs button,.cs-management-subtabs button,.cs-uptime-tabs [role=tab]{flex:0 0 auto;min-height:34px;padding:7px 10px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#aebfd2;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}
.cs-ops-subtabs button:hover,.cs-management-subtabs button:hover,.cs-uptime-tabs [role=tab]:hover{background:#112b45;color:#f6fbff}
.cs-ops-subtabs button[aria-selected=true],.cs-management-subtabs button[aria-selected=true],.cs-uptime-tabs [aria-selected=true]{background:transparent;border-bottom-color:#70c8ff;color:#fff;box-shadow:none}
.cs-uptime-tabs{display:flex;gap:4px;padding:0;border:0;border-radius:0;background:transparent;white-space:nowrap}
.cs-management-head{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;margin:2px 0 4px;min-width:0}
.cs-management-head h2{flex:0 0 auto;margin:0;font-size:17px;white-space:nowrap}.cs-management-head>.cs-management-subtabs{flex:1 1 auto;min-width:0;margin:0}.cs-management-head>label{flex:0 0 auto;display:flex;align-items:center;gap:6px;white-space:nowrap}.cs-management-head select{min-width:160px!important;max-width:240px}
.cs-management-workspace{gap:7px}.cs-management-workspace:has(.cs-management-subtabs) .cs-card{padding:8px}.cs-management-workspace:has(.cs-management-subtabs) table th,.cs-management-workspace:has(.cs-management-subtabs) table td{padding:4px 6px;font-size:11px}
.cs-fleet-overview{gap:8px}.cs-fleet-overview>header{min-height:25px}.cs-fleet-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.cs-fleet-card{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto;grid-template-rows:27px 22px 18px;align-items:center;gap:0 9px;min-height:90px;padding:9px 12px;background:linear-gradient(145deg,#173b5a,#0b2037 75%);border:1px solid #456b8c;border-radius:12px;box-shadow:0 3px 10px #0004;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease,border-color .2s ease;user-select:none;touch-action:pan-y;overflow:visible}
.cs-fleet-card.is-lifted,.cs-activity-card.is-lifted{z-index:6;transform:translateY(-8px) scale(1.035);border-color:#86d4ff;box-shadow:0 18px 34px #0009,0 0 0 1px #69bdff77;cursor:grabbing}
.cs-fleet-screen-icon{grid-column:1;grid-row:1/4;position:relative;width:38px;height:28px;margin:auto;border:2px solid #a2d8fa;border-radius:5px;background:linear-gradient(145deg,#183754,#071828);box-shadow:inset 0 0 0 2px #193e5c,0 1px 7px #4ebaff35}
.cs-fleet-screen-icon:before{left:14px;bottom:-7px;width:8px;height:5px;background:#9bd4f5}.cs-fleet-screen-icon:after{left:8px;bottom:-9px;width:20px;height:2px;background:#9bd4f5}
.cs-fleet-machine-name{grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.1;color:#f5f9ff}
.cs-fleet-status-label{grid-column:3;grid-row:1;display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border:1px solid #3c5c76;border-radius:999px;color:#c9d8e7;font-size:11px;font-weight:750;white-space:nowrap;background:#122b42}
.cs-fleet-screen-icon{width:42px;height:30px;border:0;background:transparent;box-shadow:none}
.cs-fleet-screen-icon i{position:absolute;left:0;top:0;width:25px;height:19px;border:2px solid #80b8db;border-radius:4px;background:linear-gradient(145deg,#15324c,#071828);box-shadow:inset 0 0 0 2px #173c5b;z-index:1}
.cs-fleet-screen-icon:before{left:14px;top:5px;bottom:auto;width:25px;height:19px;border:2px solid #a2d8fa;border-radius:4px;background:linear-gradient(145deg,#183754,#071828);box-shadow:inset 0 0 0 2px #193e5c,0 1px 7px #4ebaff35;z-index:2}
.cs-fleet-screen-icon:after{left:10px;bottom:0;width:20px;height:2px;background:#9bd4f5;border-radius:2px}
.cs-fleet-card:hover,.cs-fleet-card:focus-within,.cs-disk-card:hover,.cs-disk-card:focus-visible{z-index:12}
.cs-workspace-tabs[role=tablist]>button[role=tab]{border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#b8cbe0!important}
.cs-workspace-tabs[role=tablist]>button[role=tab]:hover{background:#112b45!important;color:#f5faff!important}
.cs-workspace-tabs[role=tablist]>button[role=tab][aria-selected=true]{border-bottom-color:#68c4ff!important;background:transparent!important;color:#fff!important;box-shadow:none!important}
.cs-management-workspace .cs-management-head>.cs-management-subtabs[role=tablist]>button[role=tab]{border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#aebfd2!important}
.cs-management-workspace .cs-management-head>.cs-management-subtabs[role=tablist]>button[role=tab]:hover{background:#112b45!important;color:#f6fbff!important}
.cs-management-workspace .cs-management-head>.cs-management-subtabs[role=tablist]>button[role=tab][aria-selected=true]{border-bottom-color:#70c8ff!important;background:transparent!important;color:#fff!important;box-shadow:none!important}
@media(min-width:1081px){.cs-disk-machines{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
.cs-disk-machines{gap:6px}.cs-disk-machine{padding:5px 6px}.cs-disk-machine>header{gap:5px;margin-bottom:4px;min-height:18px}.cs-disk-machine>header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.cs-disk-machine>header>span:last-child{font-size:9px}
.cs-disk-grid{gap:3px}.cs-disk-card{grid-template-columns:minmax(0,1fr) auto;gap:2px 5px;padding:4px 5px}.cs-disk-card-top{grid-column:1;grid-row:1;gap:4px}.cs-drive-icon{width:21px;height:17px;flex-basis:21px}.cs-disk-card-top strong{font-size:10px}.cs-disk-card-top small{font-size:8px}.cs-drive-health{font-size:9px}
.cs-drive-meter{grid-column:1/3;grid-row:2;height:3px}.cs-drive-summary{grid-column:2;grid-row:1;display:flex;gap:3px;width:100px;justify-content:flex-end;text-align:right;font-size:7px;line-height:1;overflow:hidden}.cs-drive-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-disk-card-top>div{display:flex;align-items:center;gap:3px}.cs-disk-card-top small:empty{display:none}.cs-disk-card-top small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:7px}.cs-drive-health-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cs-disk-machine{padding:4px 5px}.cs-disk-machine>header{min-height:16px;margin-bottom:3px}.cs-disk-grid{gap:2px}.cs-disk-card{gap:1px 3px;padding:2px 4px;border-radius:6px}.cs-drive-icon{width:18px;height:14px;flex-basis:18px}.cs-drive-icon:before{left:3px;right:3px;top:3px}.cs-drive-icon:after{right:3px;bottom:1px;width:3px;height:3px}.cs-drive-icon.is-hdd{width:17px;height:17px;flex-basis:17px}.cs-drive-icon.is-hdd:before{left:6px;top:6px;width:3px;height:3px}
.cs-fleet-status-label i{width:7px;height:7px;border-radius:50%;background:#8799a9}.cs-fleet-status-label.online{border-color:#2f9e70;color:#b7ffdc;background:#0d3b30}.cs-fleet-status-label.online i{background:#38e29b;box-shadow:0 0 8px #38e29baa}.cs-fleet-status-label.offline{border-color:#a85661;color:#ffc6ca;background:#3d202a}.cs-fleet-status-label.offline i{background:#ff6473}.cs-fleet-status-label.retired{border-color:#596b7a;color:#c1cbd4;background:#26323d}.cs-fleet-status-label.retired i{background:#94a4b1}.cs-fleet-status-label.pending{gap:4px;padding:3px 4px;font-size:10px}.cs-fleet-summary{grid-column:2/4;grid-row:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a9bfd5;font-size:10px}
.cs-disk-icon.online i{background:#67e1a9}.cs-disk-icon.offline i{background:#ff7373}.cs-disk-icon.pending i{background:#e9bd59}.cs-disk-icon.retired i{background:#9aa7b6}
.cs-fleet-card>[data-cs-overview-open]{grid-column:2;grid-row:3;justify-self:start;padding:2px 8px;min-height:22px;border:1px solid #436987;border-radius:6px;background:#10304a;color:#c8e8ff;font-size:10px;line-height:1.2}
.cs-fleet-attention,.cs-fleet-alert-count{grid-column:3;grid-row:3;position:static;justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#8d451d;color:#fff;font-size:10px;font-weight:700}.cs-fleet-alert-count{background:transparent;color:#a8c4dc;font-weight:500}
.cs-fleet-card.is-drop-target-before::before,.cs-activity-card.is-drop-target-before::before{content:'';position:absolute;left:-6px;top:8px;bottom:8px;width:3px;height:auto;background:#83dcff;border-radius:4px;box-shadow:0 0 12px #4ec7ff;z-index:8}
.cs-fleet-card.is-drop-target-after::after,.cs-activity-card.is-drop-target-after::after{content:'';position:absolute;right:-6px;top:8px;bottom:8px;width:3px;height:auto;background:#83dcff;border-radius:4px;box-shadow:0 0 12px #4ec7ff;z-index:8}
.cs-fleet-card.is-drop-target,.cs-activity-card.is-drop-target{border-color:#6cbae8;box-shadow:none;background-color:#10304b}
.cs-fleet-card[data-tip]::after,.cs-disk-card[data-tip]::after{content:attr(data-tip);position:absolute;left:10px;top:calc(100% + 5px);min-width:240px;max-width:min(390px,80vw);padding:9px 11px;border:1px solid #6baad4;border-radius:8px;background:#07182a;color:#eef8ff;font-size:11px;font-weight:500;line-height:1.45;white-space:normal;box-shadow:0 10px 28px #000b;opacity:0;visibility:hidden;pointer-events:none;z-index:30;transition:opacity .06s linear,visibility .06s linear}
.cs-fleet-card[data-tip]:hover::after,.cs-fleet-card[data-tip]:focus-visible::after,.cs-disk-card[data-tip]:hover::after,.cs-disk-card[data-tip]:focus-visible::after{opacity:1;visibility:visible;transition-delay:0ms}
.cs-disk-machines{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.cs-disk-machine{padding:7px 8px;border-radius:11px;background:linear-gradient(145deg,#12324c,#0a1b30);border-color:#41617e;box-shadow:0 2px 8px #0003}.cs-disk-machine>header{gap:7px;margin-bottom:5px}.cs-disk-icon{position:relative;width:24px;height:18px;flex:0 0 24px;border:1px solid #7ac5f1;border-radius:4px;background:linear-gradient(145deg,#245d83,#102b46);box-shadow:inset 0 -4px #0b2035}.cs-disk-icon i{position:absolute;right:3px;bottom:3px;width:4px;height:4px;border-radius:50%;background:#67e1a9}
.cs-disk-grid{gap:5px}.cs-disk-card{position:relative;display:grid;gap:3px;padding:6px 7px 5px;border-radius:8px;background:linear-gradient(145deg,#10253d,#09192b);border-color:#294968;overflow:visible;cursor:default;touch-action:pan-y}.cs-disk-card.is-warning{border-color:#e09748;background:linear-gradient(145deg,#402b18,#241a12)}
.cs-disk-card-top{display:flex;align-items:center;gap:6px;min-width:0}.cs-disk-card-top>div{display:grid;min-width:0}.cs-disk-card-top strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.cs-disk-card-top small{font-size:9px;color:#93bfdd}.cs-drive-icon{position:relative;display:block;flex:0 0 25px;width:25px;height:20px;border:1px solid #7ac2eb;border-radius:4px;background:linear-gradient(145deg,#1f4c70,#0c2036);box-shadow:inset 0 -4px #081828}
.cs-drive-icon:before{content:'';position:absolute;left:4px;right:4px;top:4px;height:2px;border-radius:2px;background:#9bdcff}.cs-drive-icon:after{content:'';position:absolute;right:4px;bottom:2px;width:4px;height:4px;border-radius:50%;background:#74e6ac;box-shadow:0 0 5px #74e6ac88}.cs-drive-icon.is-hdd{border-radius:50%;width:21px;height:21px;flex-basis:21px;border-radius:50%;box-shadow:inset 0 0 0 3px #102d46,inset 0 0 0 4px #7ac2eb}.cs-drive-icon.is-hdd:before{left:8px;right:auto;top:8px;width:4px;height:4px;border-radius:50%}
.cs-drive-health{margin-left:auto;color:#59dda1;font-size:11px}.cs-drive-health.is-warning{color:#ffb764}.cs-drive-meter{height:5px;border-radius:5px;overflow:hidden;background:#233b53}.cs-drive-meter i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#43b8ee,#56e2ad)}.cs-disk-card.is-warning .cs-drive-meter i{background:linear-gradient(90deg,#f5b04f,#ff6f60)}.cs-drive-summary{display:flex;justify-content:space-between;gap:5px;color:#b2c7dc;font-size:9px;white-space:nowrap}.cs-drive-health-text{color:#9ab3c8;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-activity-card{position:relative;touch-action:pan-y;user-select:none;overflow:visible}.cs-activity-card.is-lifted{transform:translateY(-8px) scale(1.025)}
@media(max-width:1450px){.cs-fleet-grid,.cs-disk-machines,.cs-activity-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cs-advice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1080px){.cs-fleet-grid,.cs-disk-machines,.cs-activity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cs-advice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.cs-management-head{flex-wrap:wrap;align-items:center}.cs-management-head h2{width:100%}.cs-management-head>.cs-management-subtabs{order:3;flex:1 1 100%}.cs-workspace-tabs{gap:2px}.cs-workspace-tabs button{padding:7px 8px;font-size:12px}}

/* Final fleet disk density overrides: keep all machines visible without hiding status bars. */
@media(min-width:1081px){.cs-disk-machines{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
.cs-disk-machines{gap:4px!important}.cs-disk-machine{padding:3px 4px!important}.cs-disk-machine>header{min-height:15px!important;margin-bottom:2px!important;gap:4px!important}
.cs-disk-grid{gap:2px!important}.cs-disk-card{gap:1px 3px!important;padding:2px 3px!important;border-radius:5px!important}
.cs-disk-card-top{gap:4px!important}.cs-disk-card-top>div{display:flex!important;align-items:center!important;gap:3px!important}.cs-disk-card-top small:empty{display:none!important}.cs-disk-card-top small{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:7px!important}
.cs-drive-icon{width:16px!important;height:13px!important;flex-basis:16px!important}.cs-drive-icon:before{left:3px!important;right:3px!important;top:3px!important}.cs-drive-icon:after{right:3px!important;bottom:1px!important;width:3px!important;height:3px!important}.cs-drive-icon.is-hdd{width:15px!important;height:15px!important;flex-basis:15px!important}.cs-drive-icon.is-hdd:before{left:5px!important;top:5px!important;width:3px!important;height:3px!important}
.cs-drive-meter{height:2px!important}.cs-drive-summary{width:96px!important;font-size:6.5px!important;line-height:1!important;gap:2px!important}.cs-drive-health-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.cs-drive-health.is-unknown{color:#e9bd59}
.cs-activity-machine-name{display:flex;align-items:center;gap:6px;min-width:0}.cs-activity-machine-name strong{min-width:0}.cs-activity-status-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#67e1a9}.cs-activity-status-dot.offline{background:#ff7373}.cs-activity-status-dot.pending{background:#e9bd59}.cs-activity-status-dot.retired{background:#9aa7b6}
.cs-software-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 12px}.cs-software-filter label{color:#a9bfd5;font-size:12px}.cs-software-filter input{min-width:min(360px,100%);flex:1;padding:8px 10px;border:1px solid #355776;border-radius:7px;background:#0b1f36;color:#eef6ff}.cs-software-filter [aria-live]{color:#9db5cd;font-size:11px;white-space:nowrap}

/* Readable fleet disk cards: compact status plus legible free-space and usage; details stay in hover/focus tooltip. */
.cs-disk-machines{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;align-items:start}
.cs-disk-machine{min-width:0;padding:7px 8px!important;border-radius:10px}
.cs-disk-machine>header{min-height:22px!important;gap:6px!important;margin-bottom:5px!important}
.cs-disk-machine>header strong{font-size:12px!important;line-height:1.2}
.cs-disk-machine>header>span:last-child{font-size:10px!important}
.cs-disk-grid{gap:4px!important}
.cs-disk-card{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;gap:3px!important;padding:5px 6px!important;border-radius:7px!important}
.cs-disk-card-top{grid-column:1!important;grid-row:1!important;gap:6px!important}
.cs-drive-icon{width:20px!important;height:16px!important;flex-basis:20px!important}
.cs-disk-card-top strong{font-size:11px!important;line-height:1.2}
.cs-disk-card-top small{font-size:9px!important;line-height:1.2}
.cs-drive-health{font-size:11px!important}
.cs-drive-summary{grid-column:1!important;grid-row:2!important;display:flex!important;width:auto!important;justify-content:space-between!important;gap:8px!important;text-align:left!important;overflow:visible!important;font-size:9.5px!important;line-height:1.2!important;color:#c3d7e8}
.cs-drive-summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-drive-meter{grid-column:1!important;grid-row:3!important;height:3px!important}
.cs-drive-health-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(min-width:1600px){.cs-disk-machines{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
@media(max-width:1450px){.cs-disk-machines{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1080px){.cs-disk-machines{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:780px){.cs-disk-machines{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.cs-disk-machines{grid-template-columns:1fr!important}}
/* Fleet overview readability: use the available desktop width for clearer cards. */
@media (min-width:1081px) and (max-width:1450px){.cs-fleet-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (min-width:1451px) and (max-width:1800px){.cs-fleet-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media (min-width:1081px){.cs-fleet-card{min-height:102px;grid-template-rows:30px 25px 22px}.cs-fleet-machine-name{font-size:15px}.cs-fleet-summary{font-size:11px}.cs-fleet-status-label{font-size:12px}}
@media (min-width:1081px){.cs-fleet-card{min-height:112px;grid-template-rows:26px 22px 20px 22px}.cs-fleet-screen-icon{grid-row:1/5}.cs-fleet-machine-name{grid-column:2/4;grid-row:1;overflow:visible;text-overflow:clip;white-space:nowrap;font-size:14px}.cs-fleet-status-label{grid-column:2;grid-row:2;justify-self:start;font-size:11px}.cs-fleet-summary{grid-column:2/4;grid-row:3;font-size:10px}.cs-fleet-card>[data-cs-overview-open]{grid-column:2;grid-row:4;justify-self:start}.cs-fleet-attention,.cs-fleet-alert-count{grid-column:3;grid-row:4}}
/* Fleet disk tiles: improve numeric legibility without changing grid density. */
@media (min-width:701px){.cs-disk-machine>header strong{font-size:13px!important}.cs-disk-machine>header>span:last-child{font-size:10px!important}.cs-disk-card-top strong{font-size:12px!important}.cs-disk-card-top small{font-size:10px!important}.cs-drive-summary{font-size:10.5px!important;line-height:1.3!important}.cs-drive-meter{height:4px!important}}
.cs-date-label input[type="date"] {
  box-sizing: border-box;
  width: 196px;
  min-width: 196px;
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid #3c5c82;
  border-radius: 7px;
  background: #0b2039;
  color: #eaf2ff;
  color-scheme: dark;
  font: inherit;
  font-variant-numeric: tabular-nums;
}
.cs-date-label input[type="date"]::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.cs-date-label input[type="date"]::-webkit-datetime-edit-day-field,
.cs-date-label input[type="date"]::-webkit-datetime-edit-month-field,
.cs-date-label input[type="date"]::-webkit-datetime-edit-year-field {
  padding: 0 2px;
  color: #eaf2ff;
  background: transparent;
}
.cs-date-label input[type="date"]::-webkit-calendar-picker-indicator {
  filter: none;
  opacity: .9;
  cursor: pointer;
}
.cs-date-label input[type="date"]:focus-visible {
  outline: 2px solid #9ae1ff;
  outline-offset: 2px;
}
@media (max-width: 700px) {
  .cs-date-label input[type="date"] {
    min-height: 40px;
  }
}
/* Drop placement marker: clear stale horizontal/tooltip pseudo styles before drawing precise vertical guides. */
.cs-fleet-card.is-drop-target-before::before,.cs-activity-card.is-drop-target-before::before{all:unset;content:'';display:block;position:absolute;left:-6px;right:auto;top:8px;bottom:8px;width:3px;background:#83dcff;border-radius:4px;box-shadow:0 0 12px #4ec7ff;z-index:8;pointer-events:none}
.cs-fleet-card.is-drop-target-after,.cs-activity-card.is-drop-target-after{border-top:1px solid #294966;border-bottom:1px solid #294966;box-shadow:none}
.cs-fleet-card.is-drop-target-after::before,.cs-activity-card.is-drop-target-after::before{display:none}
.cs-fleet-card.is-drop-target-after::after,.cs-activity-card.is-drop-target-after::after{all:unset;content:'';display:block;position:absolute;left:auto;right:-6px;top:8px;bottom:8px;width:3px;background:#83dcff;border-radius:4px;box-shadow:0 0 12px #4ec7ff;z-index:8;pointer-events:none}
.cs-fleet-card.is-lifted[data-tip]::after{opacity:0;visibility:hidden;transition-delay:0ms}

/* Feedback pass: consistent controls, screen indicators, compact inventory, and readable help. */
.cs-button-icon{display:inline-block;flex:0 0 16px;width:16px;height:16px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cs-page button:has(>.cs-button-icon){display:inline-flex;align-items:center;justify-content:center;gap:6px}
.cs-page button:has(>.cs-button-icon) span{min-width:0}
.cs-workspace-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 12px;border-radius:9px 9px 0 0;transition:background .16s ease,color .16s ease,transform .16s ease,border-color .16s ease}
.cs-workspace-tabs button>.cs-button-icon{width:17px;height:17px;flex-basis:17px}
.cs-workspace-tabs button[aria-selected=true]{position:relative;z-index:2;border-bottom-color:transparent!important;background:#102b47;color:#fff;box-shadow:0 2px 0 #72caff inset}
.cs-management-workspace{position:relative;min-width:0;padding:10px;border:1px solid #416889;border-radius:0 12px 12px 12px;background:linear-gradient(145deg,#0c2037,#091a2e 76%);box-shadow:0 8px 24px #0003}
.cs-management-workspace .cs-management-head{position:relative;align-items:flex-end;gap:10px;margin:-10px -10px 10px;padding:8px 10px 0;border-bottom:1px solid #416889;background:#0c2037}
.cs-management-workspace .cs-management-head>.cs-management-subtabs{align-self:flex-end;gap:3px;margin:0 0 -1px;padding:0}
.cs-management-workspace .cs-management-head>.cs-management-subtabs>button{display:inline-flex;align-items:center;gap:6px;min-height:35px;padding:7px 10px;border:1px solid transparent!important;border-bottom:2px solid transparent!important;border-radius:8px 8px 0 0!important;background:transparent!important;color:#adbed1!important}
.cs-management-workspace .cs-management-head>.cs-management-subtabs>button[aria-selected=true]{position:relative;z-index:2;border-color:#416889!important;border-bottom-color:#0c2037!important;background:#0c2037!important;color:#f7fbff!important;box-shadow:0 -2px 0 #72caff inset!important}
.cs-management-workspace .cs-management-head>.cs-management-subtabs .cs-button-icon,.cs-uptime-tabs .cs-button-icon{width:15px;height:15px;flex-basis:15px}
.cs-screen-monitor-badge,.cs-live-monitor-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 5px;border:1px solid #3e7397;border-radius:7px;background:#102d48;color:#c6e9ff;font-size:11px;font-weight:700;vertical-align:middle}
.cs-screen-monitor-badge .cs-button-icon,.cs-live-monitor-badge .cs-button-icon{width:18px;height:16px;flex-basis:18px}
.cs-screen-monitor-badge>span,.cs-live-monitor-badge>span{font-size:10px;line-height:1}
.cs-monitor-picker{display:flex;align-items:center;gap:5px}
.cs-monitor-picker button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:38px;min-height:34px;padding:5px 8px}
.cs-monitor-picker button>.cs-button-icon{width:19px;height:18px;flex-basis:19px}
.cs-monitor-picker #cs-view-both-monitors{min-width:44px}
.cs-monitor-picker #cs-view-both-monitors svg+svg{margin-left:-13px;transform:translateY(3px);filter:drop-shadow(0 0 1px #071426)}
.cs-live-modal-head h2{display:flex;align-items:center;gap:7px;min-width:0}
.cs-fleet-overview>header h2{display:flex;align-items:center;gap:7px;margin:0}
.cs-fleet-overview>header h2>.cs-button-icon{width:19px;height:19px;flex-basis:19px;color:#85d7ff}
.cs-fleet-count-line{display:flex;align-items:center;gap:12px;margin:3px 0 0 26px;color:#9db5ce;font-size:11px;line-height:1.2}
.cs-fleet-count-line b{color:#eff8ff;font-size:12px;font-variant-numeric:tabular-nums}
.cs-fleet-count-line .is-online{color:#69e2af}.cs-fleet-count-line .is-offline{color:#ff8890}
.cs-software-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 6px;max-height:calc(100dvh - 260px)}
.cs-software-card{grid-template-columns:minmax(0,1fr) minmax(90px,.7fr);align-items:center;gap:3px 8px;min-height:31px;padding:4px 7px;border-radius:6px}
.cs-software-card strong,.cs-software-card span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-software-card strong{font-size:11px;line-height:1.2}.cs-software-card span{font-size:10px;line-height:1.2;text-align:right}
.cs-disk-card{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto auto auto;gap:3px 6px;padding:6px 7px}
.cs-disk-card-top{grid-column:1/-1;grid-row:1;display:flex;align-items:center;gap:6px;min-width:0}
.cs-disk-card-top>div{display:flex;align-items:center;gap:5px;min-width:0}
.cs-disk-card-top>div>strong{flex:0 0 auto}.cs-disk-card-top>div>small{flex:0 0 auto}
.cs-disk-model{grid-column:1/-1;grid-row:2;overflow:hidden;color:#a9c2d9;font-size:9px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.cs-drive-health-score{display:inline-flex;align-items:center;gap:3px;margin-left:auto;color:#70dfb0;font-size:10px;font-variant-numeric:tabular-nums}
.cs-drive-health-score>.cs-button-icon{width:14px;height:14px;flex-basis:14px;color:currentColor}
.cs-drive-health-score.is-warning{color:#ffbd72}.cs-drive-health-score.is-unknown{color:#e5c169}
.cs-drive-space-alert{display:inline-grid;place-items:center;width:15px;height:17px;color:#ffbd72;font-weight:800}
.cs-drive-meter{grid-column:1/-1;grid-row:3!important}.cs-drive-summary{grid-column:1/-1!important;grid-row:4!important}
.cs-fleet-grid{width:100%;min-width:0}.cs-fleet-card{min-width:0;max-width:100%;box-sizing:border-box}
.cs-drive-health-text{grid-column:1/-1;grid-row:5;position:static!important;width:auto!important;height:auto!important;margin:0!important;overflow:hidden!important;clip:auto!important;color:#a7c2d8;font-size:9px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap!important;border:0!important}
.cs-page [data-tip]{position:relative}
.cs-page [data-tip]::after{content:attr(data-tip);position:absolute;left:0;top:calc(100% + 6px);min-width:220px;max-width:min(420px,80vw);padding:10px 12px;border:1px solid #70bce8;border-radius:9px;background:#07182a;color:#eef8ff;font-size:11px;font-weight:550;line-height:1.55;white-space:pre-line;text-align:left;overflow-wrap:anywhere;box-shadow:0 12px 30px #000b;opacity:0;visibility:hidden;pointer-events:none;z-index:80;transition:opacity .12s ease,visibility .12s ease}
.cs-page [data-tip]:hover::after,.cs-page [data-tip]:focus-visible::after{opacity:1;visibility:visible;transition-delay:180ms}
.cs-live-modal-actions [data-tip]::after{left:auto;right:0}
@media(max-width:900px){.cs-software-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-management-workspace{padding:8px}.cs-management-workspace .cs-management-head{margin:-8px -8px 8px;padding:7px 8px 0}}
@media(max-width:600px){.cs-fleet-count-line{gap:7px;margin-left:0;font-size:10px}.cs-software-grid{grid-template-columns:1fr;max-height:calc(100dvh - 240px)}.cs-software-card{min-height:29px}.cs-management-workspace .cs-management-head{align-items:flex-start}.cs-management-workspace .cs-management-head>.cs-management-subtabs{order:3;flex:1 1 100%;overflow-x:auto;flex-wrap:nowrap}.cs-management-workspace .cs-management-head>.cs-management-subtabs>button{flex:0 0 auto;padding:6px 8px}.cs-screen-monitor-badge{padding:1px 3px}}
@media(max-width:520px){.cs-fleet-grid{grid-template-columns:1fr!important;grid-auto-rows:auto}.cs-fleet-card{grid-template-columns:34px minmax(0,1fr) auto;min-height:150px}}
.cs-screen-slot{position:relative;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;touch-action:pan-y}
.cs-screen-slot-drag{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;padding:4px;border:1px solid #365c7c;border-radius:7px;background:#102a45;color:#a9cde7;cursor:grab;touch-action:none}
.cs-screen-slot-drag:hover{border-color:#83d5ff;background:#194363;color:#fff}
.cs-screen-slot-drag .cs-button-icon{width:16px;height:16px;flex-basis:16px}
.cs-screen-slot.is-lifted{z-index:60;overflow:visible;transform:translateY(-7px) scale(1.025);border-color:#a1e5ff;box-shadow:0 18px 36px #000b,0 0 22px #4dc6ff66;cursor:grabbing}
.cs-screen-slot.is-drop-target{border-color:#8ce0ff;box-shadow:inset 0 0 0 2px #5ac8ff,0 0 18px #38baff88}
.cs-screen-slot.is-drop-target::after{content:'';position:absolute;inset:5px;border:2px dashed #92e5ff;border-radius:6px;pointer-events:none;z-index:4}
@media(prefers-reduced-motion:reduce){.cs-screen-slot{transition:none!important}}
@media(prefers-reduced-motion:reduce){.cs-page [data-tip]::after,.cs-workspace-tabs button{transition:none!important}}
