/* Optional compact theme with the original blue palette. Remove this stylesheet link to restore the previous design. */
:root {
  --ink: #111111;
  --muted: #353535;
  --navy: #1d4962;
  --blue: #147bb0;
  --line: #a5b3c4;
  --bg: #f3f6f8;
  --green: #087638;
  --amber: #8c4700;
  --red: #b81717;
  font-size: 15px;
}
button,
.button {
  padding: 6px 10px;
  border-radius: 4px;
}
button:hover,
.button:hover {
  background: #edf3f6;
}
.primary,
#all-device-exports .dt-button {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  text-shadow: none;
}
.primary:hover,
#all-device-exports .dt-button:hover {
  color: #fff;
  background: #163b51;
  border-color: #163b51;
}
input,
select,
textarea {
  color: #111;
  border-color: #8a9faa;
  padding: 6px 8px;
  border-radius: 4px;
}
input::placeholder,
textarea::placeholder {
  color: #454545;
  opacity: 1;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline-color: #90cbea;
}
.header-bar {
  gap: 5px;
  padding: 0 6px;
}
.nav a {
  color: #111;
  padding: 0 10px;
  font-size: 14px;
}
.nav a.active {
  color: #1d4962;
  background: #f5f9fb;
  border-bottom-color: var(--navy);
}
.nav a:hover {
  background: #f5f9fb;
}
.account-toggle {
  color: #111;
}
.account-menu button {
  padding: 7px 9px;
  color: #111;
}
#header.dealer-header {
  background: var(--navy);
}
.dealer-header .nav a {
  color: #fff;
}
.dealer-header .nav a.active {
  background: white;
  color: #1d4962;
}
.dealer-header .account-toggle {
  color: #fff;
}
.dealer-header .account-menu button {
  color: #111;
}
.dealer-header .org-context:not(.impersonating) {
  color: #fff;
}
main {
  padding: 6px 10px;
}
.panel,
.sidebar .panel {
  padding: 8px;
  margin-bottom: 6px;
  border-radius: 4px;
}
.page-heading {
  min-height: 30px;
  margin-bottom: 5px;
  gap: 8px;
}
.page-actions {
  gap: 6px;
}
.page-actions > button {
  padding: 5px 9px;
  font-size: 14px;
}
h2,
h3 {
  margin-bottom: 8px;
}
h3 {
  font-size: 14px;
}
p {
  margin: 5px 0;
  line-height: 1.6;
}
.panel-header,
.toolbar {
  gap: 6px;
  margin-bottom: 8px;
}
.links {
  gap: 8px;
}
.link-panel {
  padding: 14px;
  min-height: 64px;
  border-radius: 4px;
}
.stats {
  gap: 8px;
  margin-bottom: 8px;
}
.stat {
  padding: 10px 12px;
  border-radius: 4px;
}
.stat-label {
  font-size: 13px;
  margin-bottom: 4px;
}
.workspace {
  gap: 10px;
}
.group-button {
  padding: 6px 8px;
  font-size: 14px;
}
.group-button.selected {
  background: #e8f1f6;
  color: #1d4962;
}
.chart-bar {
  background: var(--navy);
}
.chart-col span {
  color: #222;
  font-size: 10px;
}
.tag {
  color: #111;
  font-size: 12px;
  padding: 2px 5px;
  line-height: 1.3;
}
.tag.active {
  color: #075e2d;
  background: #d8f3e2;
}
.tag.inactive {
  color: #333;
  background: #e7e9ee;
}
.small {
  font-size: 13px;
  padding: 4px 7px;
}
.subtext,
.field small {
  font-size: 12px;
  color: #333;
}
.selection-label {
  font-size: 13px;
}
.dataTable,
.dataTable .mono {
  color: #111;
  font-size: 13.5px;
  line-height: 1.45;
}
table.dataTable > thead > tr > th,
table.dataTable > thead > tr > td {
  color: #111;
  background: #f8fafb;
  font-size: 13px;
  padding: 5px 7px;
  border-bottom: 1px solid #8a9faa;
}
table.dataTable > tbody > tr > td,
table.dataTable > tbody > tr > th {
  padding: 4px 7px;
  border-bottom-color: #bcc9d1;
}
div.dt-container {
  --dt-row-stripe: 29, 73, 98;
  --dt-row-hover: 29, 73, 98;
}
.dt-container .dt-layout-row {
  font-size: 13px;
}
.dt-container .dt-search input,
.dt-container .dt-length select {
  padding: 4px 7px !important;
}
.table-page .dt-container > .dt-layout-row:first-child {
  padding-bottom: 5px;
}
.table-page .dt-container > .dt-layout-row:last-child {
  padding-top: 5px;
}
.table-page .page-heading {
  padding: 4px 8px;
}
.all-device-filters {
  gap: 8px;
}
.all-device-filters input,
.all-device-filters select {
  font-size: 13.5px;
  padding: 4px 6px;
}
.all-device-filters .org-filter-block {
  border-left-color: #8a9faa;
  padding-left: 8px;
}
.all-device-filters .keyword-input-group {
  border-radius: 4px;
}
.all-device-filters .keyword-input-group:focus-within {
  outline-color: #90cbea;
}
.all-device-filters #all-keyword-clear {
  border-color: #8a9faa;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
#all-device-exports .dt-button {
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 4px;
}
.field {
  gap: 5px;
  margin-bottom: 10px;
}
.field label,
.field legend {
  font-size: 13px;
}
.section {
  padding: 12px 0;
}
.form-actions {
  margin-top: 12px;
  gap: 7px;
}
.dialog-head,
.dialog-body {
  padding: 12px;
}
.alert {
  padding: 8px 10px;
  font-size: 13px;
}
/* Keep the existing edge-to-edge management layout and joined search control intact. */
.table-page main {
  padding: 0;
}
@media (max-width: 700px) {
  .nav a {
    padding: 0 8px;
  }
  main {
    padding: 6px;
  }
  .panel,
  .sidebar .panel {
    padding: 7px;
  }
}
dialog .dialog-head {
  padding: 12px 14px 10px;
}
dialog form,
.dialog-body {
  padding: 12px 14px;
}
dialog .context-note {
  padding: 7px 14px;
  font-size: 13px;
}
dialog .form-actions {
  padding-top: 10px;
}
/* The browser print view keeps its own smaller paper font. */
body.dt-print-view table.dataTable .mono {
  font-size: inherit;
}
/* The header owns the divider; avoid a second border on adjoining list panels. */
.table-page main > .panel {
  border-top: 0;
}
