* {
  box-sizing: border-box;
}

:root {
  --win-bg: #f2f2f2;
  --panel-bg: #efefef;
  --panel-border: #c8c8c8;
  --panel-border-dark: #a9a9a9;
  --text: #222;
  --muted-text: #666;
  --title-blue: #1f3c88;
  --login-bg: #efe1b2;
  --left-panel-bg: #b8d9de;
  --left-panel-header: #8fb7d2;
  --main-bg: #f5f5f5;
  --stat-bg: #e7e7e7;
  --admin-bar: #f28c00;
  --save-accent: #f3a37b;
  --danger: #ef2f2f;
  --success-soft: #95eb9c;
  --input-warm: #f6d7b8;
  --input-cool: #dcecee;
  --btn-bg: #f3f3f3;
  --btn-bg-hover: #e5e5e5;
  --btn-border: #adadad;
  --input-bg: #fff;
  --input-border: #a6a6a6;
  --grid-border: #d0d0d0;
  --shadow-light: inset 0 1px 0 #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--win-bg);
  color: var(--text);
  font: 12px "Segoe UI", Tahoma, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.hidden {
  display: none !important;
}

.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 268px;
  z-index: 40;
  background: linear-gradient(180deg, #ececec 0%, #dfdfdf 100%);
  border-right: 1px solid var(--panel-border-dark);
  padding: 10px;
  overflow-y: auto;
  box-shadow: 3px 0 12px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.18);
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

body.sidebar-collapsed .sidebar {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

body.sidebar-collapsed .sidebar-backdrop {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid var(--panel-border);
  background: #f7f7f7;
}

.sidebar__close {
  margin-left: auto;
  min-width: 24px;
  min-height: 22px;
  padding: 0 6px;
  border: 1px solid var(--btn-border);
  background: linear-gradient(180deg, #ffffff 0%, #dcdcdc 100%);
  box-shadow: var(--shadow-light);
  cursor: pointer;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand__title {
  font-size: 13px;
  font-weight: 700;
}

.brand__subtitle {
  color: var(--muted-text);
}

.nav-group {
  margin-bottom: 10px;
  border: 1px solid var(--panel-border);
  background: #f7f7f7;
}

.nav-group__title {
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--title-blue);
  background: linear-gradient(180deg, #fafafa 0%, #e7e7e7 100%);
  border-bottom: 1px solid var(--panel-border);
}

.nav-item {
  display: block;
  padding: 6px 8px;
  border-top: 1px solid #ededed;
}

.nav-item:first-of-type {
  border-top: 0;
}

.nav-item:hover {
  background: #f0f4fa;
}

.nav-item--active {
  background: #d7e5f8;
  font-weight: 700;
}

.nav-item__meta {
  float: right;
  color: var(--muted-text);
  font-size: 11px;
}

.shell {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #f7f7f7 0%, #dfdfdf 100%);
  border-bottom: 1px solid var(--panel-border-dark);
}

body.sidebar-collapsed .titlebar {
  padding-left: 112px;
}

body.sidebar-collapsed .page-rohr .titlebar {
  padding-left: 104px;
}

.titlebar__title {
  font-size: 13px;
  font-weight: 700;
}

.titlebar__left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.menu-fab {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  min-height: 30px;
  border: 1px solid var(--btn-border);
  background: linear-gradient(180deg, #ffffff 0%, #d9d9d9 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #222;
  cursor: pointer;
}

.menu-fab:hover {
  background: linear-gradient(180deg, #ffffff 0%, #cfcfcf 100%);
}

.menu-fab:active {
  background: linear-gradient(180deg, #d6d6d6 0%, #bebebe 100%);
}

.menu-fab__icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.menu-fab__icon > span {
  display: block;
  height: 2px;
  background: #222;
}

.menu-fab__label {
  line-height: 1;
}

body.sidebar-collapsed .menu-fab {
  background: linear-gradient(180deg, #ffffff 0%, #d9d9d9 100%);
}

body:not(.sidebar-collapsed) .menu-fab {
  left: 280px;
}

.page-rohr .titlebar {
  padding: 3px 6px;
  gap: 6px;
}

.page-rohr .toolbar {
  padding: 2px 6px;
  gap: 4px;
}

.page-rohr .content {
  padding: 3px;
  background: #e2e2e2;
}

.titlebar__meta {
  color: var(--muted-text);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: #ececec;
  border-bottom: 1px solid var(--panel-border);
}

.toolbar__left,
.toolbar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.content {
  flex: 1;
  padding: 12px;
  background: var(--main-bg);
}

.desktop-grid {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 12px;
}

.desktop-grid--overview {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.stack {
  display: grid;
  gap: 12px;
}

.groupbox {
  position: relative;
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  padding: 18px 8px 8px;
}

.groupbox > .legend {
  position: absolute;
  top: -8px;
  left: 8px;
  padding: 0 4px;
  background: var(--win-bg);
  font-weight: 700;
  font-size: 12px;
}

.groupbox--login {
  background: var(--login-bg);
}

.groupbox--left {
  background: var(--left-panel-bg);
}

.groupbox--stats {
  background: var(--stat-bg);
}

.groupbox--admin {
  background: #f6d2a2;
}

.section-title {
  color: var(--title-blue);
  font-weight: 700;
  border-bottom: 2px solid #3a63b8;
  padding-bottom: 2px;
  margin-bottom: 8px;
}

.muted {
  color: var(--muted-text);
}

.btn {
  min-height: 22px;
  padding: 2px 10px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: #111;
  border-radius: 2px;
  box-shadow: var(--shadow-light);
  cursor: pointer;
}

.btn:hover {
  background: var(--btn-bg-hover);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

.btn-save {
  background: var(--save-accent);
  font-weight: 700;
}

.btn-danger {
  background: var(--danger);
  font-weight: 700;
}

.btn-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--title-blue);
  box-shadow: none;
}

.field,
.select,
.textarea {
  width: 100%;
  min-height: 22px;
  padding: 2px 4px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  border-radius: 1px;
}

.textarea {
  min-height: 56px;
  resize: vertical;
}

.field--warm {
  background: var(--input-warm);
}

.field--cool {
  background: var(--input-cool);
}

.field--green {
  background: var(--success-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}

.form-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-block {
  display: grid;
  gap: 4px;
}

.field-block--full {
  grid-column: 1 / -1;
}

.machine-select {
  display: inline-flex;
  gap: 4px;
  padding: 2px;
  border: 1px solid var(--panel-border);
  background: #ececec;
}

.machine-select__button {
  min-width: 64px;
  min-height: 22px;
  padding: 2px 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.machine-select__button:hover {
  background: #f7f7f7;
  border-color: #d2d2d2;
}

.machine-select__button.is-active {
  background: #d7e5f8;
  border-color: #8ea9c9;
  font-weight: 700;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.kpi {
  border: 1px solid var(--panel-border);
  background: #fff;
  padding: 8px;
}

.kpi__value {
  font-size: 20px;
  font-weight: 700;
  margin-top: 4px;
}

.list {
  display: grid;
  gap: 8px;
}

.list-item {
  border: 1px solid var(--panel-border);
  background: #fff;
  padding: 8px;
}

.list-item--active {
  background: #edf7ed;
  border-color: #9ac79d;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--panel-border);
  background: #fff;
}

.badge--active {
  background: #edf7ed;
  border-color: #9ac79d;
}

.badge--warn {
  background: #fff1d6;
  border-color: #d6b267;
}

.grid {
  background: #fff;
  border: 1px solid var(--panel-border);
  overflow: auto;
}

.grid table {
  width: 100%;
  border-collapse: collapse;
}

.grid th,
.grid td {
  padding: 3px 4px;
  border-bottom: 1px solid var(--grid-border);
  text-align: left;
  white-space: nowrap;
  vertical-align: top;
}

.grid th {
  background: #efefef;
  font-weight: 400;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 12px;
}

.admin-strip {
  margin-top: 12px;
  padding: 8px;
  background: var(--admin-bar);
  border: 1px solid #c56f00;
}

.statusbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: #e4e4e4;
  border-top: 1px solid var(--panel-border-dark);
}

.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;
}

.toast-host {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 50;
  display: grid;
  gap: 6px;
}

.toast {
  min-width: 240px;
  max-width: 360px;
  padding: 8px 10px;
  border: 1px solid var(--panel-border-dark);
  background: #fffff2;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.12);
}

.toast--success {
  background: #e8f6e8;
  border-color: #7fa57f;
}

.toast--error {
  background: #f7dede;
  border-color: #b97272;
}

.rohr-page {
  padding: 4px;
  background: #e6e6e6;
  border: 1px solid #a9a9a9;
}

.rohr-page--plant {
  min-height: 100%;
}

.rohr-window-title {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 1px 2px 3px;
  font-size: 12px;
}

.rohr-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 5px;
}

.rohr-left {
  display: grid;
  gap: 4px;
  align-content: start;
}

.rohr-right {
  display: grid;
  gap: 5px;
  align-content: start;
}

.rohr-panel {
  border: 1px solid #a7a7a7;
  background: #fff;
  padding: 2px;
}

.rohr-left .rohr-panel {
  padding: 2px 3px 3px;
}

.rohr-panel--yellow {
  background: #efe67b;
}

.rohr-panel--cyan {
  background: #9fc8d0;
}

.rohr-panel--disabled {
  background: #ececec;
  color: #777;
}

.rohr-title {
  font-weight: 700;
  color: #17397f;
  margin-bottom: 2px;
  font-size: 13px;
}

.rohr-left .rohr-title {
  margin-bottom: 2px;
}

.rohr-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 1px;
}

.rohr-panel-note {
  color: #555;
  font-size: 11px;
  white-space: nowrap;
}

.rohr-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.rohr-subline--split {
  justify-content: space-between;
}

.rohr-grid-2,
.rohr-grid-3,
.rohr-grid-4 {
  display: grid;
  gap: 4px;
}

.rohr-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rohr-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rohr-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rohr-field {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px;
  margin-bottom: 2px;
}

.rohr-field--compact {
  grid-template-columns: 72px minmax(0, 1fr) auto;
}

.rohr-tight-field {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 3px;
  align-items: center;
  margin-bottom: 2px;
}

.rohr-tight-field--compact {
  grid-template-columns: 110px minmax(0, 1fr) auto;
}

.rohr-panel--anlage .rohr-tight-field,
.rohr-panel--anlage .rohr-tight-field--compact {
  grid-template-columns: 110px 96px auto minmax(0, 1fr);
}

.rohr-panel--wide-fields .rohr-tight-field,
.rohr-panel--wide-fields .rohr-tight-field--compact {
  grid-template-columns: 128px minmax(0, 1fr) auto;
}

.rohr-panel--fixed-fields .rohr-tight-field,
.rohr-panel--fixed-fields .rohr-tight-field--compact {
  grid-template-columns: 128px 100px auto minmax(0, 1fr);
}

.rohr-field label,
.rohr-inline-label {
  font-size: 12px;
}

.rohr-tight-field label,
.rohr-option-grid,
.rohr-strip-header,
.rohr-strip-row {
  font-size: 11px;
}

.rohr-input,
.rohr-select,
.rohr-mini,
.rohr-textarea {
  min-height: 20px;
  padding: 1px 3px;
  border: 1px solid #9c9c9c;
  background: #fff;
  font: 12px Tahoma, Arial, sans-serif;
}

.rohr-input,
.rohr-select {
  width: 100%;
}

.rohr-mini {
  width: 42px;
}

.rohr-input--orange {
  background: #f7cfaa;
}

.rohr-input--green {
  background: #9dff6c;
}

.rohr-input--disabled {
  background: #f2f2f2;
  color: #888;
}

.rohr-textarea {
  width: 100%;
  min-height: 34px;
  resize: none;
}

.rohr-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 2px;
}

.rohr-two-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin: 1px 0 2px;
}

.rohr-login-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px 62px;
  gap: 3px;
  align-items: center;
  margin-bottom: 2px;
}

.rohr-login-actions .rohr-tight-field {
  margin-bottom: 0;
}

.rohr-btn {
  min-height: 22px;
  padding: 1px 8px;
  border: 1px solid #8f8f8f;
  border-radius: 0;
  background: linear-gradient(180deg, #f6f6f6 0%, #d8d8d8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font: 12px Tahoma, Arial, sans-serif;
  cursor: pointer;
}

.rohr-btn--orange {
  background: #f2b286;
}

.rohr-btn--red {
  background: #ff3c3c;
}

.rohr-btn--wide {
  width: 100%;
}

.rohr-options {
  display: grid;
  gap: 2px;
  margin-top: 2px;
}

.rohr-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px 5px;
  margin-bottom: 2px;
}

.rohr-option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 11px;
}

.rohr-option-row--wide {
  gap: 14px;
}

.rohr-strip-table {
  width: 100%;
  border-collapse: collapse;
  margin: 4px 0;
  font-size: 11px;
}

.rohr-strip-table th,
.rohr-strip-table td {
  border: 1px solid #c8c8c8;
  padding: 2px 3px;
  text-align: left;
}

.rohr-strip-header,
.rohr-strip-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 32px 32px 32px 18px;
  gap: 3px;
  align-items: center;
}

.rohr-strip-header {
  color: #333;
  margin: 1px 0;
}

.rohr-strip-row {
  margin-bottom: 2px;
}

.rohr-strip-label {
  white-space: nowrap;
}

.rohr-mini-input {
  width: 100%;
  min-height: 18px;
  padding: 1px 2px;
  border: 1px solid #9c9c9c;
  background: #9dff6c;
  font: 11px Tahoma, Arial, sans-serif;
}

.rohr-mini-input--white {
  background: #fff;
}

.rohr-check {
  width: 14px;
  height: 14px;
  margin: 0;
}

.rohr-main-grid {
  display: grid;
  gap: 8px;
}

.rohr-main-header {
  border: 1px solid #a7a7a7;
  background: #f0f0f0;
  padding: 2px 3px;
}

.rohr-main-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
}

.rohr-inline-label--accent {
  color: #b21010;
  font-weight: 700;
}

.rohr-main-header-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto 1.4fr;
  gap: 5px;
  align-items: center;
}

.rohr-filter-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
}

.rohr-filter-inline .rohr-select {
  min-width: 132px;
  width: 132px;
}

.rohr-filter-stack {
  display: flex;
  gap: 4px;
  align-items: center;
}

.rohr-radio-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  align-items: center;
  font-size: 11px;
  white-space: nowrap;
}

.rohr-log-grid {
  border: 1px solid #a7a7a7;
  background: #fff;
  height: 292px;
  overflow: auto;
}

.rohr-log-grid--auto {
  height: auto;
  max-height: 360px;
}

.rohr-log-grid--compact table {
  table-layout: auto;
}

.rohr-log-grid table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  table-layout: fixed;
}

.rohr-log-grid th,
.rohr-log-grid td {
  border-right: 1px solid #c9c9c9;
  border-bottom: 1px solid #cfcfcf;
  padding: 1px 2px;
  text-align: left;
  white-space: nowrap;
  vertical-align: top;
}

.rohr-log-grid th:last-child,
.rohr-log-grid td:last-child {
  border-right: 0;
}

.rohr-log-grid th {
  background: #e6e6e6;
  font-weight: 700;
}

.rohr-log-grid th:nth-child(1),
.rohr-log-grid td:nth-child(1) {
  width: 74px;
}

.rohr-log-grid th:nth-child(2),
.rohr-log-grid td:nth-child(2) {
  width: 34px;
}

.rohr-log-grid th:nth-child(3),
.rohr-log-grid td:nth-child(3) {
  width: 28px;
}

.rohr-log-grid th:nth-child(4),
.rohr-log-grid td:nth-child(4) {
  width: 58px;
}

.rohr-log-grid th:nth-child(5),
.rohr-log-grid td:nth-child(5) {
  width: 92px;
}

.rohr-log-grid th:nth-child(6),
.rohr-log-grid td:nth-child(6) {
  width: 122px;
}

.rohr-log-grid th:nth-child(7),
.rohr-log-grid td:nth-child(7) {
  width: 68px;
}

.rohr-log-grid th:nth-child(8),
.rohr-log-grid td:nth-child(8) {
  width: 296px;
}

.rohr-log-grid th:nth-child(9),
.rohr-log-grid td:nth-child(9) {
  width: 78px;
}

.rohr-bottom-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr 1fr;
  gap: 4px;
}

.rohr-bottom-grid--three {
  grid-template-columns: 1fr 1fr 1fr;
}

.rohr-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.rohr-metric {
  border: 1px solid #b8b8b8;
  background: #e8e8e8;
  padding: 3px 4px;
}

.rohr-metric__label {
  color: #333;
  font-size: 11px;
}

.rohr-metric__value {
  font-weight: 700;
  font-size: 15px;
}

.rohr-link-list {
  display: grid;
  gap: 3px;
}

.rohr-link-row {
  display: block;
  border: 1px solid #b8b8b8;
  background: #f4f4f4;
  padding: 4px 6px;
}

.rohr-link-row--active {
  background: #d7e5f8;
}

.rohr-check-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 3px 0;
  font-size: 12px;
}

.rohr-page .groupbox {
  position: static;
  border: 1px solid #a7a7a7;
  background: #9fc8d0;
  padding: 2px 3px 3px;
}

.rohr-page .groupbox--login {
  background: #efe67b;
}

.rohr-page .groupbox--stats,
.rohr-page .groupbox--admin {
  background: #ececec;
}

.rohr-page .legend,
.rohr-page .section-title {
  position: static;
  display: block;
  padding: 0;
  margin: 0 0 2px;
  background: transparent;
  color: #17397f;
  font-size: 13px;
  font-weight: 700;
}

.rohr-page .field-block {
  gap: 1px;
  font-size: 11px;
}

.rohr-page .field,
.rohr-page .select,
.rohr-page .textarea {
  min-height: 20px;
  padding: 1px 3px;
  border: 1px solid #9c9c9c;
  background: #fff;
  font: 12px Tahoma, Arial, sans-serif;
}

.rohr-page .field--warm {
  background: #f7cfaa;
}

.rohr-page .field--green {
  background: #9dff6c;
}

.rohr-page .field--cool {
  background: #dcecee;
}

.rohr-page .btn,
.rohr-page .machine-select__button {
  min-height: 22px;
  padding: 1px 8px;
  border: 1px solid #8f8f8f;
  border-radius: 0;
  background: linear-gradient(180deg, #f6f6f6 0%, #d8d8d8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font: 12px Tahoma, Arial, sans-serif;
}

.rohr-page .btn-save,
.rohr-page .btn-danger {
  background: #f2b286;
}

.rohr-page .list-item {
  border: 1px solid #b8b8b8;
  background: #f4f4f4;
  padding: 4px 6px;
}

.rohr-page .grid {
  border: 1px solid #a7a7a7;
  background: #fff;
  overflow: auto;
}

.rohr-page .grid table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  table-layout: auto;
}

.rohr-page .grid th,
.rohr-page .grid td {
  border-right: 1px solid #c9c9c9;
  border-bottom: 1px solid #cfcfcf;
  padding: 1px 2px;
  text-align: left;
  white-space: nowrap;
  vertical-align: top;
}

.rohr-page .grid th {
  background: #e6e6e6;
  font-weight: 700;
}

.rohr-small-grid table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.rohr-small-grid th,
.rohr-small-grid td {
  border: 1px solid #c8c8c8;
  padding: 1px 2px;
  text-align: left;
}

.rohr-admin-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 2px 3px;
  border: 1px solid #b85f00;
  background: #ef7c00;
}

.rohr-admin-label {
  font-weight: 700;
  margin-right: 2px;
  font-size: 12px;
}

.rohr-statusbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px;
  padding: 2px 2px 0;
  font-size: 11px;
}

@media (max-width: 1180px) {
  .desktop-grid,
  .desktop-grid--overview,
  .split {
    grid-template-columns: 1fr;
  }

  .form-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rohr-layout,
  .rohr-bottom-grid,
  .rohr-main-header-bottom {
    grid-template-columns: 1fr;
  }

  .rohr-radio-row {
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .sidebar {
    width: min(268px, calc(100vw - 24px));
  }
}

@media (max-width: 640px) {
  .form-grid,
  .form-grid--three,
  .form-grid--four,
  .kpi-row {
    grid-template-columns: 1fr;
  }

  .rohr-grid-2,
  .rohr-grid-3,
  .rohr-grid-4,
  .rohr-field {
    grid-template-columns: 1fr;
  }
}
