:root {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  color: #242a33;
  background: #f6f7f9;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

body {
  min-width: 360px;
  background: #f6f7f9;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

.ops-app {
  min-height: 100vh;
  color: #242a33;
  background: #f6f7f9;
}

.ops-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  height: 68px;
  align-items: center;
  gap: 48px;
  padding: 0 max(calc((100vw - 1280px) / 2), 40px);
  border-bottom: 1px solid #e9ebef;
  background: #fff;
}

.ops-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: #25364b;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
  text-decoration: none;
}

.ops-brand-mark {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #315d92;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
}

.ops-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.ops-home-content {
  min-height: calc(100vh - 68px);
  background: #10151d;
}

.ops-primary-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 7px;
}

.ops-production-menu {
  position: relative;
  height: 100%;
}

.ops-nav-item {
  display: inline-flex;
  height: 100%;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border-bottom: 2px solid transparent;
  color: #727b88;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms ease;
}

.ops-home-link:hover {
  color: #2e5e96;
}

.ops-home-label,
.ops-weighings-menu-label {
  white-space: nowrap;
}

.ops-production-trigger {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.ops-production-trigger:hover,
.ops-production-trigger[aria-expanded='true'] {
  color: #2e5e96;
}

.ops-production-dropdown {
  position: absolute;
  z-index: 6;
  top: calc(100% - 1px);
  left: 0;
  min-width: 190px;
  padding: 6px;
  border: 1px solid #e9ebef;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(25 39 56 / 12%);
}

.ops-production-link {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: #495361;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.ops-production-link:hover,
.ops-production-link[aria-current='page'] {
  color: #2e5e96;
  background: #f2f6fa;
}

.ops-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.ops-icon-button,
.ops-user-menu,
.ops-more-button,
.ops-row-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: #647080;
  background: transparent;
  cursor: pointer;
}

.ops-icon-button {
  position: relative;
  width: 32px;
  height: 36px;
}

.ops-notification-dot {
  position: absolute;
  top: 7px;
  right: 6px;
  width: 7px;
  height: 7px;
  border: 1.5px solid white;
  border-radius: 50%;
  background: #e27165;
}

.ops-header-divider {
  width: 1px;
  height: 26px;
  background: #e9ebef;
}

.ops-user-menu {
  gap: 9px;
  color: #4a5360;
  font-size: 12px;
}

.ops-avatar {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: #365777;
  background: #e6eef7;
  font-size: 10px;
  font-weight: 700;
}

.ops-main {
  width: min(100% - 80px, 1200px);
  margin: 0 auto;
  padding: 28px 0 25px;
}

.ops-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9299a4;
  font-size: 11px;
}

.ops-breadcrumb a {
  color: #647080;
  text-decoration: none;
}

.ops-breadcrumb a:hover {
  color: #315d92;
}

.ops-breadcrumb-separator {
  color: #b7bdc6;
}

.ops-breadcrumb [aria-current='page'] {
  color: #495361;
}

.ops-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}

.ops-overline {
  color: #75849a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.ops-page-heading h1 {
  margin: 7px 0 5px;
  color: #252d39;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.8px;
}

.ops-page-heading p,
.ops-panel-heading p,
.ops-reports-heading p {
  margin: 0;
  color: #828b98;
  font-size: 11px;
  line-height: 1.6;
}

.ops-heading-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ops-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #e2e6eb;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.ops-button-secondary {
  color: #556171;
  background: #fff;
}

.ops-button-secondary:hover {
  border-color: #bcc9d8;
  background: #fbfcfe;
}

.ops-button-primary {
  border-color: #315d92;
  color: #fff;
  background: #315d92;
}

.ops-button-primary:hover {
  border-color: #264d7b;
  background: #264d7b;
}

.ops-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 23px;
}

.ops-metric-card,
.ops-panel {
  border: 1px solid #e9ebef;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(24, 37, 54, 0.025);
}

.ops-metric-card {
  min-width: 0;
  min-height: 116px;
  padding: 15px 16px 13px;
}

.ops-metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  color: #6f7885;
  font-size: 10px;
}

.ops-metric-icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
}

.ops-icon-green {
  color: #368367;
  background: #eaf5ef;
}

.ops-icon-blue {
  color: #477eb8;
  background: #edf3fa;
}

.ops-icon-purple {
  color: #796ab0;
  background: #f2eff9;
}

.ops-icon-orange {
  color: #c17b44;
  background: #fbf2e9;
}

.ops-metric-value {
  display: block;
  margin-top: 7px;
  color: #293341;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.65px;
  line-height: 1.2;
}

.ops-metric-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #9aa1ab;
  font-size: 9px;
}

.ops-positive {
  color: #3a9570;
  font-weight: 700;
}

.ops-negative {
  color: #ce7467;
  font-weight: 700;
}

.ops-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr);
  gap: 15px;
  margin-top: 16px;
}

.ops-panel {
  min-width: 0;
  padding: 18px 19px;
}

.ops-panel-heading,
.ops-reports-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.ops-panel-heading h2,
.ops-reports-heading h2 {
  margin: 0 0 5px;
  color: #303a47;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.15px;
}

.ops-select-button {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 1px solid #e8ebef;
  border-radius: 4px;
  color: #6d7785;
  background: white;
  font-size: 9px;
}

.ops-chart-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 19px;
  color: #818a97;
  font-size: 9px;
}

.ops-chart-legend span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #5783b3;
}

.ops-chart {
  display: grid;
  height: 156px;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  margin-top: 8px;
}

.ops-chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 21px;
  color: #a0a7b0;
  font-size: 8px;
  text-align: right;
}

.ops-chart-plot {
  position: relative;
  min-width: 0;
}

.ops-chart-gridlines {
  position: absolute;
  inset: 3px 0 21px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ops-chart-gridlines i {
  width: 100%;
  border-top: 1px dashed #edf0f3;
}

.ops-bars {
  position: absolute;
  inset: 5px 8px 0;
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 13px;
}

.ops-bar-column {
  z-index: 1;
  display: flex;
  height: 100%;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 7px;
  color: #929aa5;
  font-size: 8px;
}

.ops-bar {
  width: min(28px, 70%);
  min-height: 8px;
  border-radius: 3px 3px 0 0;
  background: #86a6c9;
  transition: background 150ms ease;
}

.ops-bar-column:nth-child(6) .ops-bar,
.ops-bar:hover {
  background: #3f70a5;
}

.ops-automation-panel {
  display: flex;
  flex-direction: column;
}

.ops-more-button {
  width: 26px;
  height: 24px;
  border-radius: 4px;
}

.ops-more-button:hover,
.ops-row-more:hover {
  color: #315d92;
  background: #f2f5f8;
}

.ops-automation-summary {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 33px);
  padding: 14px 0 12px;
}

.ops-donut {
  display: grid;
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#4b82b7 0deg 274deg, #85ba9e 274deg 330deg, #eaf0f5 330deg);
}

.ops-donut > div {
  display: flex;
  width: 76px;
  height: 76px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: white;
}

.ops-donut strong {
  color: #303c4b;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
}

.ops-donut span {
  margin-top: 3px;
  color: #9099a4;
  font-size: 9px;
}

.ops-automation-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ops-automation-legend div {
  display: grid;
  grid-template-columns: 7px auto auto;
  align-items: center;
  gap: 7px;
  color: #75808d;
  font-size: 8px;
  white-space: nowrap;
}

.ops-automation-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.ops-legend-active {
  background: #4b82b7;
}

.ops-legend-pending {
  background: #85ba9e;
}

.ops-legend-error {
  background: #e2ae74;
}

.ops-automation-legend strong {
  padding-left: 4px;
  color: #485361;
  font-size: 9px;
  font-weight: 600;
}

.ops-panel-link,
.ops-view-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4777a9;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}

.ops-panel-link:hover,
.ops-view-all:hover {
  color: #244e7a;
}

.ops-reports-panel {
  margin-top: 16px;
  padding: 18px 19px 0;
}

.ops-reports-heading {
  align-items: center;
}

.ops-table-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 17px 0 11px;
}

.ops-search {
  display: flex;
  width: min(100%, 265px);
  height: 33px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #e6e9ed;
  border-radius: 4px;
  color: #929ba6;
  background: white;
}

.ops-search:focus-within {
  border-color: #9eb4ca;
  box-shadow: 0 0 0 2px rgba(72, 119, 169, 0.09);
}

.ops-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: #374251;
  background: transparent;
  font-size: 10px;
}

.ops-search input::placeholder {
  color: #a0a7b0;
}

.ops-search input::-webkit-search-cancel-button {
  cursor: pointer;
}

.ops-filter {
  position: relative;
  display: inline-flex;
  height: 33px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #e6e9ed;
  border-radius: 4px;
  color: #737d89;
}

.ops-filter select {
  max-width: 145px;
  appearance: none;
  padding-right: 20px;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.ops-filter > svg {
  position: absolute;
  right: 8px;
  pointer-events: none;
}

.ops-table-wrap {
  overflow-x: auto;
}

.ops-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}

.ops-table thead {
  height: 32px;
  border-top: 1px solid #eff1f4;
  border-bottom: 1px solid #eff1f4;
  background: #fafbfc;
}

.ops-table th {
  padding: 0 12px;
  color: #949ca7;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.55px;
}

.ops-table th:first-child,
.ops-table td:first-child {
  padding-left: 8px;
}

.ops-table th:last-child,
.ops-table td:last-child {
  width: 38px;
  padding-right: 6px;
  text-align: center;
}

.ops-table tbody tr {
  height: 57px;
  border-bottom: 1px solid #f0f2f4;
}

.ops-table tbody tr:last-child {
  border-bottom: 0;
}

.ops-table td {
  padding: 5px 12px;
  color: #697381;
  font-size: 10px;
}

.ops-report-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ops-report-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e8edf2;
  border-radius: 5px;
  color: #6182a5;
  background: #f5f8fb;
}

.ops-report-name strong,
.ops-report-name small {
  display: block;
}

.ops-report-name strong {
  color: #3a4552;
  font-size: 10px;
  font-weight: 600;
}

.ops-report-name small {
  margin-top: 4px;
  color: #9aa2ac;
  font-size: 9px;
}

.ops-category {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 20px;
  color: #657587;
  background: #f2f5f8;
  font-size: 9px;
}

.ops-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7e8895;
  font-size: 9px;
}

.ops-updated svg {
  color: #a2aab4;
}

.ops-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 20px;
  font-size: 9px;
}

.ops-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.is-complete {
  color: #43856c;
  background: #edf6f1;
}

.is-complete i {
  background: #53a17f;
}

.is-progress {
  color: #967339;
  background: #fbf5e9;
}

.is-progress i {
  background: #d3a64b;
}

.is-warning {
  color: #b46b47;
  background: #fcf1ec;
}

.is-warning i {
  background: #d78761;
}

.ops-row-more {
  width: 27px;
  height: 27px;
  border-radius: 4px;
}

.ops-empty-state {
  height: 76px;
  color: #89929e !important;
  text-align: center;
}

.ops-table-footer {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  border-top: 1px solid #eff1f4;
  color: #8e97a2;
  font-size: 9px;
}

.ops-table-footer > span {
  margin-right: auto;
}

.ops-table-footer strong {
  color: #576271;
  font-weight: 600;
}

.ops-pagination-button {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid #e8ebef;
  border-radius: 4px;
  color: #697483;
  background: #fff;
  font-size: 11px;
}

.ops-pagination-button:disabled {
  color: #c3c9d0;
  background: #fafbfc;
}

.ops-pagination-button.is-current {
  border-color: #d6e2ef;
  color: #356897;
  background: #f0f5fa;
}

.ops-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 2px 0;
  color: #9aa2ad;
  font-size: 9px;
}

.ops-footer span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ops-footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55a37d;
}

.ops-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (min-width: 1500px) {
  .ops-main {
    padding-top: 36px;
  }

  .ops-metric-card {
    min-height: 128px;
    padding: 18px 19px;
  }

  .ops-overview-grid {
    margin-top: 18px;
  }

  .ops-chart {
    height: 175px;
  }
}

@media (max-width: 900px) {
  .ops-header {
    gap: 24px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .ops-main {
    width: calc(100% - 48px);
  }

  .ops-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-overview-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  }

  .ops-automation-summary {
    gap: 16px;
  }

  .ops-donut {
    width: 87px;
    height: 87px;
  }

  .ops-donut > div {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 680px) {
  .ops-header {
    height: 60px;
    gap: 18px;
    padding: 0 17px;
  }

  .ops-home-content {
    min-height: calc(100vh - 60px);
  }

  .ops-brand {
    gap: 7px;
    font-size: 17px;
  }

  .ops-brand-mark {
    width: 26px;
    height: 26px;
    font-size: 18px;
  }

  .ops-primary-nav {
    gap: 0;
  }

  .ops-nav-item {
    gap: 6px;
    padding: 0 8px;
    font-size: 10px;
  }

  .ops-nav-item svg {
    width: 14px;
    height: 14px;
  }

  .ops-home-label,
  .ops-weighings-menu-label {
    display: none;
  }

  .ops-header-actions {
    gap: 8px;
  }

  .ops-user-name,
  .ops-user-menu > svg,
  .ops-header-divider {
    display: none;
  }

  .ops-main {
    width: calc(100% - 32px);
    padding-top: 21px;
  }

  .ops-page-heading {
    align-items: start;
    flex-direction: column;
    gap: 14px;
    margin-top: 19px;
  }

  .ops-page-heading h1 {
    font-size: 24px;
  }

  .ops-heading-actions {
    width: 100%;
  }

  .ops-heading-actions .ops-button {
    flex: 1;
  }

  .ops-metrics {
    gap: 9px;
    margin-top: 16px;
  }

  .ops-metric-card {
    min-height: 109px;
    padding: 12px;
  }

  .ops-metric-top {
    font-size: 9px;
  }

  .ops-metric-icon {
    width: 25px;
    height: 25px;
  }

  .ops-metric-value {
    font-size: 19px;
  }

  .ops-metric-foot {
    flex-wrap: wrap;
    gap: 3px 5px;
    font-size: 8px;
  }

  .ops-overview-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .ops-panel {
    padding: 15px;
  }

  .ops-chart {
    height: 145px;
  }

  .ops-automation-summary {
    min-height: 140px;
    justify-content: space-evenly;
  }

  .ops-reports-panel {
    margin-top: 10px;
    padding: 15px 12px 0;
  }

  .ops-reports-heading h2 {
    font-size: 12px;
  }

  .ops-reports-heading p {
    max-width: 220px;
    font-size: 10px;
  }

  .ops-view-all {
    gap: 3px;
    font-size: 9px;
    white-space: nowrap;
  }

  .ops-table-toolbar {
    margin-top: 14px;
  }

  .ops-search {
    width: 100%;
  }

  .ops-table {
    min-width: 640px;
  }

  .ops-footer {
    gap: 12px;
    font-size: 8px;
  }
}

:root {
  color-scheme: dark;
  color: #e4e9f0;
  background: #10151d;
}

body,
.ops-app {
  color: #e4e9f0;
  background: #10151d;
}

.ops-header {
  border-bottom-color: #252d39;
  background: #171e28;
}

.ops-brand {
  color: #e3eaf3;
}

.ops-nav-item {
  color: #a0abba;
}

.ops-home-link:hover {
  color: #8db9e8;
}

.ops-production-trigger:hover,
.ops-production-trigger[aria-expanded='true'] {
  color: #8db9e8;
}

.ops-production-dropdown {
  border-color: #2a3340;
  background: #171e28;
  box-shadow: 0 8px 24px rgb(0 0 0 / 28%);
}

.ops-production-link {
  color: #d3dae4;
}

.ops-production-link:hover,
.ops-production-link[aria-current='page'] {
  color: #8db9e8;
  background: #222d3a;
}

.ops-icon-button,
.ops-user-menu,
.ops-more-button,
.ops-row-more {
  color: #a4afbd;
}

.ops-notification-dot {
  border-color: #171e28;
}

.ops-header-divider {
  background: #2a3340;
}

.ops-user-menu {
  color: #d3dae4;
}

.ops-avatar {
  color: #b6d2f0;
  background: #293d54;
}

.ops-breadcrumb {
  color: #7f8a99;
}

.ops-breadcrumb a {
  color: #a2adba;
}

.ops-breadcrumb [aria-current='page'] {
  color: #d4dbe4;
}

.ops-breadcrumb-separator {
  color: #596574;
}

.ops-overline {
  color: #8d9cb0;
}

.ops-page-heading h1 {
  color: #edf1f6;
}

.ops-page-heading p {
  color: #9aa5b3;
}

.ops-button-secondary {
  border-color: #354151;
  color: #c5ceda;
  background: #1b2430;
}

.ops-button-secondary:hover {
  border-color: #4a5b70;
  background: #222d3a;
}

.ops-button-primary {
  border-color: #477bad;
  background: #386b9e;
}

.ops-button-primary:hover {
  border-color: #588bbc;
  background: #477bad;
}

.weighings-panel {
  border-color: #2b3542;
  background: #171e28;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.weighings-panel-heading {
  border-bottom-color: #293340;
}

.weighings-database-icon,
.weighings-empty-icon {
  color: #91b9e2;
  background: #25384c;
}

.weighings-panel-heading h2 {
  color: #e2e8ef;
}

.weighings-panel-heading p {
  color: #98a4b2;
}

.weighings-count {
  color: #a9c8e8;
  background: #26394d;
}

.ops-search {
  border-color: #354151;
  color: #8c99a9;
  background: #111821;
}

.ops-search:focus-within {
  border-color: #668db5;
  box-shadow: 0 0 0 2px rgba(92, 139, 187, 0.15);
}

.ops-search input {
  color: #e0e6ed;
}

.ops-search input::placeholder {
  color: #8490a0;
}

.weighings-query-label {
  color: #a0abba;
}

.weighings-table-wrap {
  border-top-color: #293340;
}

.weighings-table thead {
  background: #1c2531;
}

.weighings-table th {
  color: #9eabba;
}

.weighings-table tbody tr {
  border-top-color: #293340;
}

.weighings-table tbody tr:hover {
  background: #1c2734;
}

.weighings-table td {
  color: #d0d8e2;
}

.weighings-state {
  color: #a0abba;
}

.weighings-state strong {
  color: #e1e7ee;
}

.weighings-footer {
  border-top-color: #293340;
  color: #9aa6b5;
}

.weighings-footer strong {
  color: #d8e0e9;
}

.weighings-spinner {
  border-color: #344252;
  border-top-color: #80acd8;
}

@media (max-width: 390px) {
  .ops-header {
    gap: 10px;
    padding: 0 12px;
  }

  .ops-nav-item {
    padding: 0 5px;
    font-size: 9px;
  }

  .ops-user-menu {
    display: none;
  }

  .ops-main {
    width: calc(100% - 24px);
  }
}

.ops-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.weighings-heading {
  margin-bottom: 20px;
}

.weighings-panel {
  overflow: hidden;
  border: 1px solid #e6e9ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(24, 37, 54, 0.035);
}

.weighings-panel-heading {
  display: flex;
  min-height: 73px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 19px;
  border-bottom: 1px solid #edf0f3;
}

.weighings-title-group {
  display: flex;
  align-items: center;
  gap: 11px;
}

.weighings-database-icon,
.weighings-empty-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  color: #4777a9;
  background: #edf3f9;
}

.weighings-panel-heading h2 {
  margin: 0 0 4px;
  color: #303a47;
  font-size: 13px;
  font-weight: 600;
}

.weighings-panel-heading p {
  margin: 0;
  color: #88919d;
  font-size: 10px;
}

.weighings-count {
  padding: 6px 9px;
  border-radius: 20px;
  color: #51749a;
  background: #eff4f9;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.weighings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 19px;
}

.weighings-toolbar .ops-search {
  width: min(100%, 300px);
}

.weighings-date-filter {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid #354151;
  border-radius: 6px;
  background: #171e28;
}

.weighings-date-button,
.weighings-date-today {
  display: inline-grid;
  min-width: 29px;
  height: 27px;
  place-items: center;
  padding: 0 7px;
  border: 0;
  border-radius: 4px;
  color: #d0d8e2;
  background: transparent;
  cursor: pointer;
}

.weighings-date-button {
  font-size: 21px;
  line-height: 1;
}

.weighings-date-button:hover:not(:disabled),
.weighings-date-today:hover:not(:disabled) {
  color: #fff;
  background: #2b3542;
}

.weighings-date-button:disabled,
.weighings-date-today:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.weighings-date-picker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 5px;
  color: #a0abba;
}

.weighings-date-picker input {
  width: 125px;
  border: 0;
  outline: 0;
  color: #e0e6ed;
  color-scheme: dark;
  background: transparent;
  font: inherit;
  font-size: 11px;
}

.weighings-date-today {
  color: #a9c8e8;
  font-size: 10px;
}

.weighings-query-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7d8794;
  font-size: 10px;
}

.weighings-table-wrap {
  overflow-x: auto;
  border-top: 1px solid #edf0f3;
}

.weighings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}

.weighings-table thead {
  height: 39px;
  background: #f8fafc;
}

.weighings-table th {
  padding: 0 14px;
  color: #778393;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25px;
}

.weighings-table tbody tr {
  height: 48px;
  border-top: 1px solid #f0f2f5;
}

.weighings-table tbody tr:hover {
  background: #fbfcfe;
}

.weighings-table td {
  max-width: 280px;
  overflow: hidden;
  padding: 8px 14px;
  color: #46515f;
  font-size: 10px;
  text-overflow: ellipsis;
}

.weighings-state {
  display: flex;
  min-height: 235px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  color: #818b98;
  font-size: 11px;
  text-align: center;
}

.weighings-state strong {
  color: #3b4654;
  font-size: 13px;
  font-weight: 600;
}

.weighings-error {
  min-height: 255px;
}

.weighings-error > span {
  max-width: 480px;
  line-height: 1.6;
}

.weighings-dashboard {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
  margin-bottom: 20px;
}

.production-stats-main {
  --dosage-chart-production: #73bd96;
  --dosage-chart-downtime: #dc9a66;
  --dosage-chart-lost: #e56c6c;
  --dosage-chart-text: #aeb9c7;
  --stats-input-background: #171e28;
  --stats-input-border: #303a47;
  --stats-input-text: #e4e9f0;
  --stats-label-text: #a0abba;
}

.production-stats-heading {
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.production-stats-filter {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.production-layout.production-stats-layout {
  grid-template-columns: minmax(0, 1fr);
}

.production-stats-fields {
  display: grid;
  flex: 1 1 620px;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.production-stats-field {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: var(--stats-label-text);
  font-size: 12px;
}

.production-stats-field input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--stats-input-border);
  border-radius: 6px;
  background: var(--stats-input-background);
  color: var(--stats-input-text);
  font: inherit;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  transition: border-color 150ms ease, outline-color 150ms ease;
}

.production-stats-field input:focus-visible {
  border-color: var(--dosage-chart-production);
  outline: 2px solid var(--dosage-chart-production);
  outline-offset: 2px;
}

.production-stats-field input:disabled {
  cursor: wait;
  opacity: 0.6;
}

.production-stats-field input::-webkit-calendar-picker-indicator {
  padding: 5px;
  cursor: pointer;
}

.production-stats-field input::-webkit-date-and-time-value {
  text-align: left;
}

.production-stats-filter-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.production-stats-filter-actions .ops-button {
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .production-stats-fields {
    flex-basis: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .production-stats-field input {
    font-size: 16px;
  }

  .production-stats-filter-actions {
    width: 100%;
  }

  .production-stats-filter-actions .ops-button {
    flex: 1;
  }
}

@media (max-width: 360px) {
  .production-stats-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dosage-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 22px;
}


.dosage-charts-grid,
.dosage-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.dosage-chart-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #2b3542;
  border-radius: 7px;
  background: #171e28;
  box-shadow: 0 2px 8px rgb(0 0 0 / 14%);
}

.dosage-chart-heading h2 {
  margin: 0;
  color: #e1e7ee;
  font-size: 13px;
  font-weight: 600;
}

.dosage-chart-heading p {
  margin: 6px 0 16px;
  color: #9aa6b5;
  font-size: 10px;
  line-height: 1.5;
}

.dosage-hourly-chart {
  width: 100%;
  min-width: 0;
}

.dosage-output-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 10px;
  color: var(--dosage-chart-text);
  font-size: 11px;
}

.dosage-output-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dosage-output-legend i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

.dosage-output-produced {
  fill: var(--dosage-chart-production);
  background: var(--dosage-chart-production);
}

.dosage-output-lost {
  fill: var(--dosage-chart-lost);
  background: var(--dosage-chart-lost);
}

.dosage-output-chart {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  color: var(--dosage-chart-text);
}

.dosage-output-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.dosage-output-line.dosage-output-produced {
  stroke: var(--dosage-chart-production);
}

.dosage-output-line.dosage-output-lost {
  stroke: var(--dosage-chart-lost);
}

.dosage-output-chart text {
  fill: currentColor;
  font-size: 10px;
}

.dosage-output-grid,
.dosage-output-zero {
  stroke: currentColor;
  stroke-width: 1;
}

.dosage-output-grid {
  opacity: 0.18;
}

.dosage-output-zero {
  opacity: 0.7;
}

.dosage-chart-bars {
  display: grid;
  width: 100%;
  min-width: 0;
  height: 190px;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 4px;
  padding-top: 8px;
  border-bottom: 1px solid #35404e;
}

.dosage-chart-column {
  display: grid;
  min-width: 0;
  grid-template-rows: 18px minmax(0, 1fr) 18px;
  justify-items: center;
}

.dosage-chart-value {
  max-width: 100%;
  overflow: hidden;
  color: #aeb9c7;
  font-size: 8px;
  line-height: 18px;
  text-overflow: clip;
  white-space: nowrap;
}

.dosage-chart-bar {
  width: min(18px, 72%);
  min-height: 0;
  align-self: end;
  border-radius: 3px 3px 0 0;
  opacity: 0.9;
}

.dosage-chart-hour {
  color: #9aa6b5;
  font-size: 8px;
  line-height: 18px;
}

.dosage-chart-empty {
  display: grid;
  min-height: 190px;
  place-items: center;
  color: #9aa6b5;
  font-size: 11px;
  text-align: center;
}

.dosage-destination-list,
.dosage-stoppage-list {
  display: grid;
  gap: 13px;
}

.dosage-destination-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(80px, 1.5fr) auto;
  align-items: center;
  gap: 12px;
  color: #cbd4df;
  font-size: 10px;
}

.dosage-destination-row > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dosage-destination-track {
  height: 7px;
  overflow: hidden;
  border-radius: 10px;
  background: #293340;
}

.dosage-destination-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--dosage-chart-production);
}

.dosage-destination-row strong,
.dosage-stoppage-row strong {
  color: #e7edf4;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.dosage-stoppage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #293340;
  color: #cbd4df;
  font-size: 10px;
}

.dosage-stoppage-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.dosage-data-note {
  margin: 13px 0 0;
  color: #8995a4;
  font-size: 10px;
  line-height: 1.5;
}

@media (min-width: 901px) and (max-width: 1200px) {
  .dosage-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dosage-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .dosage-charts-grid,
  .dosage-details-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 12px;
  }

  .dosage-chart-card {
    padding: 15px;
  }

  .dosage-destination-row {
    grid-template-columns: minmax(80px, 1fr) minmax(60px, 1fr) auto;
    gap: 8px;
  }
}

.import-lineup-main {
  max-width: 1400px;
}

.lineup-volume-panel {
  --dosage-chart-production: #73bd96;
  --dosage-chart-lost: #e56c6c;
  --dosage-chart-text: #aeb9c7;
  margin-bottom: 16px;
  overflow: hidden;
  background-image: linear-gradient(120deg, rgb(115 189 150 / 5%), transparent 50%);
}

.ops-app[data-theme='light'] .lineup-volume-panel {
  --dosage-chart-production: #43856c;
  --dosage-chart-lost: #c44343;
  --dosage-chart-text: #526071;
}

.lineup-volume-scroll {
  overflow-x: auto;
}

.lineup-volume-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.lineup-volume-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--dosage-chart-production);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.lineup-volume-header .dosage-chart-heading h2 {
  font-size: 20px;
}

.lineup-volume-header .dosage-chart-heading p {
  margin-bottom: 0;
}

.lineup-volume-period {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--lineup-analysis-border);
  border-radius: 6px;
  color: var(--lineup-analysis-muted);
  font-size: 11px;
}

.lineup-volume-balance-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}

.lineup-volume-ring-block {
  padding: 12px 28px 12px 0;
  border-right: 1px solid var(--lineup-analysis-border);
  text-align: center;
}

.lineup-volume-ring {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.lineup-volume-ring svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lineup-volume-ring circle {
  fill: none;
  stroke-width: 12;
}

.lineup-volume-ring-track {
  stroke: var(--lineup-analysis-border);
}

.lineup-volume-ring-fill {
  stroke: var(--dosage-chart-production);
  stroke-linecap: round;
}

.lineup-volume-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.lineup-volume-ring-label strong {
  color: var(--lineup-analysis-text);
  font-size: 30px;
  font-weight: 600;
}

.lineup-volume-ring-label span,
.lineup-volume-ring-block > p {
  color: var(--lineup-analysis-muted);
  font-size: 11px;
}

.lineup-volume-ring-block > p {
  margin: 10px 0 0;
}

.lineup-volume-balances {
  min-width: 0;
  margin: 0;
}

.lineup-volume-balance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--lineup-analysis-border);
}

.lineup-volume-balance:last-child {
  border-bottom: 0;
}

.lineup-volume-balance dt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lineup-analysis-text);
  font-size: 13px;
}

.lineup-volume-balance small {
  display: block;
  margin-top: 5px;
  color: var(--lineup-analysis-muted);
  font-size: 11px;
}

.lineup-volume-balance dd {
  margin: 0;
  color: var(--lineup-analysis-text);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.lineup-volume-balance dd > span {
  color: var(--lineup-analysis-muted);
  font-size: 13px;
  font-weight: 400;
}

.lineup-volume-balance-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #829bb5;
}

.lineup-volume-balance.is-received .lineup-volume-balance-dot {
  background: var(--dosage-chart-production);
}

.lineup-volume-balance.is-pending .lineup-volume-balance-dot {
  background: #c49b63;
}

.lineup-volume-footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--lineup-analysis-border);
  color: var(--lineup-analysis-muted);
}

.lineup-volume-footnote svg {
  flex: 0 0 14px;
  margin-top: 3px;
}

.lineup-volume-footnote p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 680px) {
  .lineup-volume-balance-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .lineup-volume-ring-block {
    padding: 6px 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--lineup-analysis-border);
  }

  .lineup-volume-ring {
    width: 160px;
    height: 160px;
  }
}

.lineup-volume-guide {
  stroke: currentColor;
  stroke-width: 1;
  stroke-dasharray: 4 4;
  opacity: 0.6;
}

.lineup-volume-hit {
  fill: transparent;
  cursor: crosshair;
}

.lineup-volume-hit:focus-visible {
  outline: none;
  fill: rgb(117 183 242 / 12%);
  stroke: var(--dosage-chart-production);
}

.lineup-analysis {
  --dosage-chart-production: #73bd96;
  --dosage-chart-lost: #e56c6c;
  --dosage-chart-text: #aeb9c7;
  --lineup-analysis-text: #e1e7ee;
  --lineup-analysis-muted: #9aa6b5;
  --lineup-analysis-border: #2b3542;
  --lineup-analysis-soft: #1d2734;
  --lineup-analysis-input: #171e28;
  display: grid;
  gap: 16px;
  min-width: 0;
  color: var(--lineup-analysis-text);
}

.ops-app[data-theme='light'] .lineup-analysis {
  --dosage-chart-production: #43856c;
  --dosage-chart-lost: #c44343;
  --dosage-chart-text: #526071;
  --lineup-analysis-text: #303a47;
  --lineup-analysis-muted: #66788b;
  --lineup-analysis-border: #e1e7ed;
  --lineup-analysis-soft: #f2f6fa;
  --lineup-analysis-input: #fff;
}

.lineup-analysis .lineup-volume-panel {
  margin: 0;
}

.lineup-analysis .dosage-chart-heading p {
  font-size: 12px;
  line-height: 1.6;
}

.lineup-analysis-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}

.lineup-analysis-controls label,
.lineup-analysis-vessel-toolbar label {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: var(--lineup-analysis-muted);
  font-size: 12px;
}

.lineup-analysis-controls label {
  flex: 1 1 180px;
}

.lineup-analysis-controls .lineup-analysis-product-select {
  flex: 2 1 260px;
}

.lineup-analysis-controls input,
.lineup-analysis-controls select,
.lineup-analysis-vessel-toolbar select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--lineup-analysis-border);
  border-radius: 6px;
  background: var(--lineup-analysis-input);
  color: var(--lineup-analysis-text);
  font-size: 14px;
}

.lineup-analysis-controls .ops-button {
  min-height: 42px;
}

.lineup-analysis-controls input:focus-visible,
.lineup-analysis-controls select:focus-visible,
.lineup-analysis-vessel-toolbar select:focus-visible {
  outline: 2px solid #6e9dce;
  outline-offset: 2px;
}

.lineup-analysis-summary {
  margin: 0;
  padding: 13px 15px;
  border-left: 3px solid var(--dosage-chart-production);
  border-radius: 0 6px 6px 0;
  background: var(--lineup-analysis-soft);
  color: var(--lineup-analysis-text);
  font-size: 13px;
  line-height: 1.8;
}

.lineup-analysis-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.lineup-analysis-metrics .ops-metric-value {
  font-size: clamp(20px, 2.1vw, 29px);
  overflow-wrap: anywhere;
}

.lineup-analysis-metrics .ops-metric-foot {
  font-size: 11px;
  line-height: 1.5;
}

.lineup-analysis-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.lineup-operations-chart {
  min-width: 560px;
}

.lineup-analysis-peak {
  margin: 14px 0 8px;
  padding: 11px;
  border-radius: 5px;
  background: var(--lineup-analysis-soft);
  color: var(--lineup-analysis-text);
  font-size: 12px;
  line-height: 1.6;
}

.lineup-product-chart {
  display: grid;
}

.lineup-product-row {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 8px;
  padding: 13px 8px;
  border: 0;
  border-bottom: 1px solid var(--lineup-analysis-border);
  background: transparent;
  color: var(--lineup-analysis-text);
  text-align: left;
  cursor: pointer;
}

.lineup-product-row:hover,
.lineup-product-row:focus-visible {
  background: var(--lineup-analysis-soft);
}

.lineup-product-row:disabled {
  cursor: default;
}

.lineup-product-row:focus-visible {
  outline: 2px solid #6e9dce;
  outline-offset: -2px;
}

.lineup-product-heading,
.lineup-product-values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
}

.lineup-product-heading strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.lineup-product-heading > span,
.lineup-product-values {
  color: var(--lineup-analysis-muted);
  font-size: 11px;
}

.lineup-product-bars {
  display: grid;
  gap: 4px;
}

.lineup-product-bars i {
  display: block;
  height: 6px;
  border-radius: 4px;
}

.lineup-analysis-more {
  margin: 14px 10px 0 0;
}

.lineup-analysis-vessel-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin: 0 0 16px;
}

.lineup-analysis-vessel-toolbar > span {
  color: var(--lineup-analysis-muted);
  font-size: 12px;
}

.lineup-analysis-table-scroll {
  overflow-x: auto;
}

.lineup-analysis-table {
  width: 100%;
  min-width: 1000px;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}

.lineup-analysis-table th,
.lineup-analysis-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--lineup-analysis-border);
}

.lineup-analysis-table th {
  color: var(--lineup-analysis-muted);
  font-size: 11px;
  font-weight: 500;
}

.lineup-analysis-table td {
  color: var(--lineup-analysis-text);
  line-height: 1.6;
}

.lineup-analysis-table tr:hover td {
  background: var(--lineup-analysis-soft);
}

.lineup-analysis-table th:nth-last-child(-n+3),
.lineup-analysis-table td:nth-last-child(-n+3) {
  text-align: right;
  white-space: nowrap;
}

.lineup-analysis-table td:nth-child(3) {
  max-width: 260px;
}

.lineup-analysis-table .lineup-analysis-table-empty {
  padding: 28px;
  text-align: center;
}

.lineup-operation-state {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 11px;
  white-space: nowrap;
}

.lineup-operation-state.is-operating {
  color: var(--dosage-chart-production);
  background: rgb(67 133 108 / 12%);
}

.lineup-operation-state.is-scheduled {
  color: #6495c3;
  background: rgb(57 121 180 / 12%);
}

.lineup-operation-state.is-finished {
  color: var(--lineup-analysis-muted);
  background: var(--lineup-analysis-soft);
}

.lineup-operation-state.is-unknown {
  color: #b77c35;
  background: rgb(183 124 53 / 12%);
}

@media (max-width: 1000px) {
  .lineup-analysis-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lineup-analysis-charts {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 580px) {
  .lineup-analysis-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .lineup-analysis-controls input,
  .lineup-analysis-controls select,
  .lineup-analysis-vessel-toolbar select {
    font-size: 16px;
  }

  .lineup-analysis-controls .lineup-analysis-product-select {
    flex-basis: 100%;
  }

  .lineup-analysis-vessel-toolbar label {
    width: 100%;
  }
}

.vessel-traffic-panel {
  margin-top: 16px;
  overflow: hidden;
}

.vessel-traffic-frame {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 8px;
}

.vessel-traffic-attribution {
  margin: 8px 16px 12px;
  font-size: 12px;
  line-height: 1.4;
}

.vessel-traffic-attribution a {
  color: inherit;
}

.import-lineup-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.import-lineup-panel {
  overflow: hidden;
}

.import-lineup-dashboard-filters {
  margin-bottom: 16px;
  overflow: hidden;
}

.import-lineup-toolbar {
  align-items: center;
}

.import-lineup-unit-filter option { color: var(--ui-text, #e4e9f0); background: var(--ui-panel, #171e28); }
.import-lineup-unit-filter { display: grid; gap: 5px; min-width: 180px; max-width: 100%; color: var(--ui-muted, #a0abba); font-size: 12px; }
.import-lineup-unit-filter select { width: 100%; min-width: 0; min-height: 36px; padding: 6px 30px 6px 10px; border: 1px solid var(--ui-border-strong, #303a47); border-radius: 7px; color: var(--ui-text, #e4e9f0); background-color: var(--ui-input, #171e28); font: inherit; font-size: 14px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%238991a0' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }

.import-lineup-date-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.import-lineup-date-filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a0abba;
  font-size: 10px;
}

.import-lineup-date-filter input {
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid #303a47;
  border-radius: 5px;
  color: #e4e9f0;
  background: #171e28;
  font-size: 11px;
}

.import-lineup-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.import-lineup-status-waiting {
  --lineup-status-color: #60a5fa;
}

.import-lineup-status-progress {
  --lineup-status-color: #f59e0b;
}

.import-lineup-status-complete {
  --lineup-status-color: #22c55e;
}

.import-lineup-status-dot {
  display: inline-block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lineup-status-color);
  box-shadow: 0 0 6px var(--lineup-status-color);
  animation: import-lineup-status-pulse 1.8s ease-in-out infinite;
}

@keyframes import-lineup-status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .import-lineup-status-dot {
    animation: none;
  }
}

.import-lineup-table {
  min-width: 1850px;
}

.import-lineup-table th,
.import-lineup-table td {
  white-space: nowrap;
}

.ops-app[data-theme='light'] .import-lineup-date-filter label {
  color: #727b88;
}

.ops-app[data-theme='light'] .import-lineup-date-filter input {
  border-color: #e2e6eb;
  color: #394454;
  background: #fff;
}

@media (max-width: 900px) {
  .import-lineup-toolbar {
    align-items: stretch;
  }
}

@media (max-width: 680px) {
  .import-lineup-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .import-lineup-date-filter {
    justify-content: space-between;
  }

  .import-lineup-date-filter label {
    flex: 1;
    justify-content: space-between;
  }

  .import-lineup-date-filter input {
    min-width: 0;
    width: 140px;
  }

}

@media (max-width: 390px) {
  .ops-import-menu-label,
  .ops-production-trigger > svg:last-child {
    display: none;
  }
}

.weighings-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  border-bottom: 1px solid #293340;
}

.weighings-tab {
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #9eabba;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.weighings-tab:hover,
.weighings-tab.is-active {
  color: #a9c8e8;
}

.weighings-tab.is-active {
  border-bottom-color: #6e9dce;
}

.weighings-tab:focus-visible {
  outline: 2px solid #6e9dce;
  outline-offset: -2px;
}

.weighings-dashboard .ops-metric-card {
  border-color: #2b3542;
  background: #171e28;
  box-shadow: 0 2px 8px rgb(0 0 0 / 14%);
}

.setup-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
}

.setup-summary > div {
  display: grid;
  gap: 8px;
  padding: 15px;
  border: 1px solid #293340;
  border-radius: 6px;
  background: #1b2430;
}

.setup-summary span {
  color: #9eabba;
  font-size: 11px;
}

.setup-summary strong {
  color: #e7edf4;
  font-size: 20px;
  font-weight: 600;
}

.setup-chart-container {
  padding: 0 20px 24px;
}

.setup-chart-container h3 {
  margin: 0;
  color: #e1e7ee;
  font-size: 14px;
}

.setup-chart-container > p {
  margin: 6px 0 20px;
  color: #9aa6b5;
  font-size: 11px;
}

.setup-chart {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.setup-pie-chart {
  display: block;
  width: 100%;
  height: auto;
}

.setup-pie-slice {
  cursor: pointer;
  stroke: #171e28;
  stroke-width: 2;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 180ms ease, filter 180ms ease, stroke-width 180ms ease;
}

.setup-pie-slice:hover,
.setup-pie-slice:focus-visible {
  filter: drop-shadow(0 3px 5px rgb(0 0 0 / 45%));
  stroke: #f0f0f0;
  stroke-width: 3;
  transform: translate(var(--slice-offset-x), var(--slice-offset-y));
}

.setup-pie-slice:focus-visible {
  outline: none;
}

.setup-pie-label {
  fill: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}

.setup-chart-legend {
  display: grid;
  gap: 12px;
}

.setup-chart-legend-item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  color: #cbd4df;
  font-size: 11px;
}

.setup-chart-legend-item i {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 3px;
}

.setup-chart-legend-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setup-chart-legend-item strong {
  color: #e7edf4;
  font-weight: 600;
  white-space: nowrap;
}

.setup-chart-legend-item > span:last-child {
  min-width: 42px;
  color: #9aa6b5;
  text-align: right;
}

.setup-chart-empty {
  min-height: 90px;
}

.weighings-dashboard .ops-metric-top {
  color: #a4afbd;
}

.weighings-dashboard .ops-metric-value {
  color: #e7edf4;
}

.weighings-dashboard .ops-metric-foot {
  color: #8e9aaa;
}

.weighings-dashboard .ops-icon-blue {
  color: #91b9e2;
  background: #25384c;
}

.weighings-dashboard .ops-icon-green {
  color: #8ed1b3;
  background: #213b35;
}

.weighings-dashboard .ops-icon-purple {
  color: #b6a6e2;
  background: #342d49;
}

.weighings-dashboard .ops-icon-orange {
  color: #e3b58a;
  background: #463529;
}

.production-action-cell {
  width: 210px;
  overflow: visible !important;
  text-overflow: clip !important;
}

.production-action-cell.has-production-order { width: 280px; }

.production-row-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}

.production-row-actions.has-production-order { flex-wrap: wrap; }

.production-row-actions > .ops-button {
  flex-shrink: 0;
}

.production-ticket-button {
  text-decoration: none;
}

.production-process-button,
.production-ticket-button {
  min-height: 30px;
  padding: 0 9px;
  font-size: 10px;
  white-space: nowrap;
}

.draft-feedback-status {
  display: block;
  max-width: 190px;
  margin-top: 5px;
  font-size: 9px;
  line-height: 1.4;
  white-space: normal;
}

.draft-feedback-error {
  color: #e7a49d;
}

.draft-feedback-success {
  color: #78c5a1;
}

.ops-header-actions > form {
  display: flex;
}

.ops-user-menu {
  gap: 9px;
}

.ops-logout-label {
  color: #8db9e8;
  font-size: 11px;
}

.login-page {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 0, rgb(56 107 158 / 17%), transparent 55%),
    #10151d;
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  padding: 36px;
  border: 1px solid #2b3542;
  border-radius: 10px;
  background: #171e28;
  box-shadow: 0 18px 55px rgb(0 0 0 / 22%);
}

.login-robot-head-wrap {
  position: absolute;
  top: -42px;
  left: 50%;
  width: 72px;
  height: 72px;
  pointer-events: none;
  transform: translateX(-50%);
}

.login-robot-head-art {
  display: block;
  width: 72px;
  height: 72px;
  overflow: visible;
  animation: login-robot-hover 3s ease-in-out infinite alternate;
}

.login-robot-skull {
  fill: #273443;
  stroke: #53677d;
  stroke-width: 2;
}

.login-robot-side {
  fill: #1b2531;
  stroke: #40546a;
  stroke-width: 2;
}

.login-robot-brow {
  fill: #35475b;
  stroke: #647a93;
  stroke-width: 2;
}

.login-robot-visor {
  fill: #0c121a;
  stroke: #485d73;
  stroke-width: 2;
}

.login-robot-eye {
  fill: #aab5c2;
  transform-box: view-box;
  transition: transform 120ms ease-out;
}

.login-robot-mouth {
  fill: #718197;
  stroke: #718197;
}

.login-robot-detail {
  stroke: #586c82;
}

@keyframes login-robot-hover {
  to {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-robot-head-art {
    animation: none;
  }
}

.login-brand {
  margin-bottom: 32px;
  color: #e3eaf3;
}

.login-card > .ops-overline {
  color: #8d9cb0;
}

.login-card h1 {
  margin: 8px 0;
  color: #edf1f6;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.login-description {
  margin: 0 0 24px;
  color: #9aa5b3;
  font-size: 13px;
  line-height: 1.6;
}

.login-error {
  margin-bottom: 18px;
  padding: 11px 12px;
  border: 1px solid #70403f;
  border-radius: 5px;
  color: #f0b4ad;
  background: #342323;
  font-size: 12px;
  line-height: 1.5;
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-credential-field {
  display: grid;
  gap: 8px;
}

.login-form label {
  margin-top: 0;
  color: #c5ceda;
  font-size: 12px;
  font-weight: 500;
}

.login-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #354151;
  border-radius: 5px;
  outline: none;
  color: #e0e6ed;
  background: #111821;
}

.login-input-wrap {
  position: relative;
}

.login-form input:focus {
  border-color: #668db5;
  box-shadow: 0 0 0 2px rgb(92 139 187 / 15%);
}

.login-submit {
  min-height: 42px;
  margin-top: 15px;
  font-size: 12px;
}

.login-documentation-link { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 12px; border-radius: 7px; color: var(--ui-secondary, #cbd5e1); font-size: 13px; line-height: 1.5; text-underline-offset: 4px; }
.login-documentation-link:hover { color: var(--ui-text, #f4f4f5); background: var(--ui-raised, #222b38); }

.login-security-note {
  display: block;
  margin-top: 20px;
  color: #7f8a99;
  font-size: 10px;
  text-align: center;
}

.weighings-error .ops-button {
  margin-top: 5px;
}

.weighings-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid #e4eaf0;
  border-top-color: #4777a9;
  border-radius: 50%;
  animation: weighings-spin 800ms linear infinite;
}

@keyframes weighings-spin {
  to {
    transform: rotate(360deg);
  }
}

.weighings-empty-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 2px;
}

.weighings-footer {
  min-height: 45px;
  padding: 15px 19px;
  border-top: 1px solid #edf0f3;
  color: #89929e;
  font-size: 9px;
}

.weighings-footer strong {
  color: #566171;
  font-weight: 600;
}

@media (max-width: 680px) {
  .weighings-heading {
    margin-bottom: 15px;
  }

  .weighings-panel-heading {
    min-height: 67px;
    padding: 12px;
  }

  .weighings-panel-heading p {
    max-width: 230px;
    line-height: 1.5;
  }

  .weighings-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .weighings-toolbar .ops-search {
    width: 100%;
  }

  .weighings-date-filter {
    align-self: flex-start;
    margin-left: 0;
  }

  .weighings-date-picker input {
    width: 120px;
  }

  .weighings-query-label {
    font-size: 9px;
  }

  .weighings-table {
    min-width: 650px;
  }

  .weighings-state {
    min-height: 205px;
  }
}

.weighings-panel {
  border-color: #2b3542;
  background-color: #171e28;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.weighings-panel-heading {
  border-bottom-color: #293340;
}

.weighings-database-icon,
.weighings-empty-icon {
  color: #91b9e2;
  background-color: #25384c;
}

.weighings-panel-heading h2 {
  color: #e2e8ef;
}

.weighings-panel-heading p {
  color: #98a4b2;
}

.weighings-count {
  color: #a9c8e8;
  background-color: #26394d;
}

.weighings-toolbar .ops-search {
  border-color: #354151;
  color: #8c99a9;
  background-color: #111821;
}

.weighings-toolbar .ops-search input {
  color: #e0e6ed;
}

.weighings-toolbar .ops-search input::placeholder {
  color: #8490a0;
}

.weighings-query-label {
  color: #a0abba;
}

.weighings-table-wrap {
  border-top-color: #293340;
  background-color: #171e28;
}

.weighings-table,
.weighings-table tbody,
.weighings-table tr,
.weighings-table td {
  background-color: #171e28;
}

.weighings-table thead,
.weighings-table th {
  background-color: #1c2531;
}

.weighings-table th {
  color: #9eabba;
}

.weighings-table tbody tr {
  border-top-color: #293340;
}

.weighings-table tbody tr:hover,
.weighings-table tbody tr:hover td {
  background-color: #1c2734;
}

.weighings-table td {
  color: #d0d8e2;
}

.weighings-state {
  color: #a0abba;
  background-color: #171e28;
}

.weighings-state strong {
  color: #e1e7ee;
}

.weighings-footer {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top-color: #293340;
  color: #9aa6b5;
  background-color: #171e28;
}

.weighings-footer strong {
  color: #d8e0e9;
}

.weighings-pagination {
  display: flex;
  align-items: center;
  gap: 5px;
}

.weighings-page-button {
  display: grid;
  min-width: 27px;
  height: 27px;
  place-items: center;
  padding: 0 6px;
  border: 1px solid #354151;
  border-radius: 5px;
  color: #c4cfdb;
  background-color: #1b2430;
  font-size: 10px;
  cursor: pointer;
}

.weighings-page-button:hover:not(:disabled),
.weighings-page-button.is-current {
  border-color: #477bad;
  color: #e7f1fc;
  background-color: #2b4a69;
}

.weighings-page-button:disabled {
  color: #626f7f;
  background-color: #171e28;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .weighings-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .weighings-tabs {
    gap: 0;
  }

  .weighings-tab {
    flex: 1;
    padding: 0 8px;
    font-size: 11px;
  }

  .setup-summary {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .setup-summary > div {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px;
  }

  .setup-summary strong {
    font-size: 16px;
    text-align: right;
  }

  .setup-chart-container {
    padding: 0 12px 16px;
  }

  .setup-chart {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .setup-pie-chart {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .setup-chart-legend {
    gap: 10px;
  }

  .setup-chart-legend-item {
    grid-template-columns: 12px minmax(0, 1fr) auto auto;
    gap: 8px;
    font-size: 10px;
  }

  .weighings-table-wrap {
    overflow: visible;
    padding: 10px;
  }

  .weighings-table {
    display: block;
    min-width: 0;
    width: 100%;
    white-space: normal;
  }

  .weighings-table thead {
    display: none;
  }

  .weighings-table tbody {
    display: grid;
    gap: 10px;
  }

  .weighings-table tbody tr {
    display: block;
    height: auto;
    overflow: hidden;
    border: 1px solid #293340;
    border-radius: 7px;
  }

  .weighings-table td {
    display: flex;
    max-width: none;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border-top: 1px solid #293340;
    overflow-wrap: anywhere;
    text-align: right;
    text-overflow: clip;
  }

  .weighings-table td:first-child {
    border-top: 0;
  }

  .weighings-table td::before {
    flex: 0 0 40%;
    color: #9eabba;
    content: attr(data-label);
    font-size: 9px;
    font-weight: 600;
    text-align: left;
  }

  .weighings-table .production-action-cell {
    width: auto;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .weighings-table .production-action-cell::before {
    flex-basis: auto;
  }

  .production-process-button {
    min-height: 36px;
    font-size: 11px;
  }

  .draft-feedback-status {
    max-width: none;
    text-align: left;
  }
}

.production-layout {
  display: grid;
  width: min(calc(100% - 80px), 1460px);
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 20px;
  margin: 0 auto;
}

.production-layout .ops-main {
  width: auto;
  min-width: 0;
  margin: 0;
}

.weighing-modal-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgb(3 6 10 / 14%);
}

.weighing-process-modal {
  --weighing-modal-bg: #0e131b;
  --weighing-modal-panel: #141c27;
  --weighing-modal-border: #28323f;
  --weighing-modal-text: #dce4ef;
  --weighing-modal-muted: #8c9aaf;
  --weighing-modal-accent: #7d9fc2;
  color-scheme: dark;
  display: flex;
  flex-direction: column;
  width: min(920px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: hidden;
  border: 1px solid var(--weighing-modal-border);
  border-radius: 4px;
  background: var(--weighing-modal-bg);
  color: var(--weighing-modal-text);
  box-shadow: 0 28px 90px rgb(0 0 0 / 55%);
  font-variant-numeric: tabular-nums;
  scrollbar-color: #354151 #0e131b;
  scrollbar-width: thin;
}

.weighing-process-modal:focus {
  outline: none;
}

.weighing-process-modal button:focus-visible,
.weighing-process-modal input:focus-visible,
.weighing-process-modal summary:focus-visible {
  outline: 2px solid var(--weighing-modal-accent);
  outline-offset: 3px;
}

.weighing-process-modal form {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.weighing-modal-header,
.weighing-modal-footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: #111822;
}

.weighing-modal-header {
  border-bottom: 1px solid var(--weighing-modal-border);
}

.weighing-modal-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.weighing-modal-heading-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 42px;
  place-items: center;
  border: 1px solid #304052;
  border-radius: 2px;
  background: #182332;
  color: #9eb4cd;
}

.weighing-modal-heading .ops-overline {
  color: var(--weighing-modal-muted);
  font-size: 9px;
  letter-spacing: 1px;
}

.weighing-modal-header h2 {
  margin: 6px 0;
  color: #e7edf6;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.weighing-modal-header p,
.weighing-modal-note {
  margin: 0;
  color: var(--weighing-modal-muted);
  font-size: 12px;
  line-height: 1.6;
}

.weighing-modal-close {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--weighing-modal-muted);
  cursor: pointer;
}

.weighing-modal-close:hover:not(:disabled) {
  border-color: var(--weighing-modal-border);
  background: #1a2431;
  color: #e7edf6;
}

.weighing-modal-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 24px;
  scrollbar-width: thin;
}

.weighing-modal-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 120px;
  font-size: 13px;
}

.weighing-preview-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--weighing-modal-border);
  border-radius: 2px;
  background: var(--weighing-modal-border);
}

.weighing-preview-facts div {
  min-width: 0;
  padding: 13px 14px;
  background: #111822;
}

.weighing-preview-facts dt {
  margin-bottom: 5px;
  color: var(--weighing-modal-muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.weighing-preview-facts dd {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.weighing-preview-documents h3,
.weighing-processing-options legend {
  margin: 0 0 12px;
  color: #b7c5d8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.weighing-preview-document {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--weighing-modal-border);
  border-radius: 2px;
  font-size: 12px;
}

.weighing-preview-document-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  background: #151e2a;
}

.weighing-preview-document-heading span {
  color: var(--weighing-modal-muted);
  font-size: 11px;
}

.weighing-preview-table-wrap {
  overflow-x: auto;
}

.weighing-preview-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  color: var(--weighing-modal-text);
}

.weighing-preview-table th,
.weighing-preview-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--weighing-modal-border);
}

.weighing-preview-table th {
  background: #111822;
  color: var(--weighing-modal-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.weighing-preview-table th:nth-child(2),
.weighing-preview-table td:nth-child(2) {
  text-align: right;
}

.weighing-preview-table tbody tr:hover {
  background: #131c28;
}

.weighing-preview-document details,
.weighing-preview-document > p {
  margin: 0;
  padding: 12px;
}

.weighing-preview-document summary {
  color: #aebed3;
  cursor: pointer;
}

.weighing-preview-remarks {
  white-space: pre-line;
  overflow-wrap: anywhere;
  color: var(--weighing-modal-muted);
  line-height: 1.7;
}

.weighing-processing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.weighing-processing-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--weighing-modal-border);
  border-radius: 3px;
  background: #101721;
  cursor: pointer;
}

.weighing-processing-options label.is-selected {
  border-color: #4d6681;
  background: #172333;
  box-shadow: inset 2px 0 0 var(--weighing-modal-accent);
}

.weighing-processing-options label:hover:not(.is-disabled) {
  border-color: #4d6681;
}

.weighing-processing-options input {
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--weighing-modal-accent);
}

.weighing-processing-options strong,
.weighing-processing-options small {
  display: block;
  font-size: 12px;
}

.weighing-processing-options small {
  margin-top: 6px;
  color: var(--weighing-modal-muted);
  font-size: 11px;
  line-height: 1.6;
}

.weighing-processing-options label.is-disabled,
.weighing-processing-options:disabled {
  opacity: 0.65;
  cursor: default;
}

.weighing-modal-footer {
  flex-wrap: wrap;
  justify-content: flex-end;
  border-top: 1px solid var(--weighing-modal-border);
}

.weighing-modal-footer .ops-button {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
}

.weighing-process-modal .weighing-modal-footer .ops-button.ops-button-secondary {
  border-color: #303d4e;
  background: #18212e;
  color: #bcc9db;
}

.weighing-process-modal .weighing-modal-footer .ops-button.ops-button-secondary:hover:not(:disabled) {
  border-color: #4b607a;
  background: #202d3e;
  color: #e4ebf5;
}

.weighing-process-modal .weighing-modal-footer .ops-button.ops-button-primary {
  border-color: #486684;
  background: #2a435e;
  color: #e4edf7;
}

.weighing-process-modal .weighing-modal-footer .ops-button.ops-button-primary:hover:not(:disabled) {
  background: #355573;
}

.weighing-invoice-button {
  border-color: #806043;
  background: #483323;
  color: #e5c5a3;
}

.weighing-invoice-button:hover:not(:disabled) {
  border-color: #a17a54;
  background: #5b402c;
}

.weighing-modal-message {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.6;
}

.weighing-modal-message.is-error {
  border-color: #513036;
  background: #23171c;
  color: #dca6af;
}

.weighing-modal-message.is-success {
  border-color: #2b493d;
  background: #13211d;
  color: #a2c6b6;
}

@media (max-width: 680px) {
  .weighing-modal-backdrop {
    padding: 10px;
  }

  .weighing-process-modal {
    max-height: calc(100dvh - 20px);
  }

  .weighing-modal-header,
  .weighing-modal-body,
  .weighing-modal-footer {
    padding: 15px;
  }

  .weighing-preview-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
  }

  .weighing-preview-facts > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .weighing-processing-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .weighing-modal-footer .ops-button {
    flex: 1 1 130px;
  }
}

.production-chat {
  position: sticky;
  top: 88px;
  display: flex;
  min-width: 0;
  height: calc(100vh - 110px);
  max-height: 680px;
  min-height: 440px;
  flex-direction: column;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #2b3542;
  border-radius: 9px;
  background: #171e28;
  box-shadow: 0 2px 8px rgb(0 0 0 / 14%);
}

.production-chat-header {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-bottom: 1px solid #293340;
}

.production-chat-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #3c5269;
  border-radius: 9px;
  color: #bfd7ef;
  background: #25384c;
  font-size: 11px;
  font-weight: 700;
}

.production-chat-header h2 {
  margin: 0 0 5px;
  color: #e2e8ef;
  font-size: 12px;
  font-weight: 600;
}

.production-chat-header div > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #93a2b3;
  font-size: 9px;
}

.production-chat-header div > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #74c69d;
  box-shadow: 0 0 7px rgb(116 198 157 / 45%);
}

.production-chat-messages {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.production-chat-intro {
  margin: 0;
  color: #a0abba;
  font-size: 11px;
  line-height: 1.6;
}

.production-chat-message {
  max-width: 96%;
  padding: 10px 11px;
  border: 1px solid #293746;
  border-radius: 9px 9px 9px 2px;
  color: #d3dbe5;
  background: #202a36;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.production-chat-message p {
  margin: 0;
  white-space: pre-wrap;
}

.production-chat-message-user {
  align-self: flex-end;
  border-color: #38536c;
  border-radius: 9px 9px 2px 9px;
  color: #e2edf8;
  background: #293d51;
}

.production-chat-message.is-error,
.production-chat-error {
  color: #e7aaa4;
}

.production-chat-error {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
}

.production-chat-thinking {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #a9bdd1;
  font-size: 10px;
}

.production-chat-thinking i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  animation: production-chat-thinking 900ms ease-in-out infinite alternate;
}

.production-chat-thinking i:nth-child(3) {
  animation-delay: 150ms;
}

.production-chat-thinking i:nth-child(4) {
  animation-delay: 300ms;
}

@keyframes production-chat-thinking {
  to {
    opacity: 0.3;
    transform: translateY(-2px);
  }
}

.production-chat-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 11px;
  border-top: 1px solid #293340;
}

.production-chat-form textarea {
  width: 100%;
  min-height: 42px;
  max-height: 110px;
  resize: vertical;
  padding: 9px 10px;
  border: 1px solid #354151;
  border-radius: 6px;
  outline: none;
  color: #e0e6ed;
  background: #111821;
  font: inherit;
  font-size: 10px;
  line-height: 1.4;
}

.production-chat-form textarea::placeholder {
  color: #8490a0;
}

.production-chat-form textarea:focus {
  border-color: #668db5;
  box-shadow: 0 0 0 2px rgb(92 139 187 / 15%);
}

.production-chat-send {
  display: grid;
  width: 38px;
  min-width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
}

.production-chat-send:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.production-chat-note {
  margin: 0;
  padding: 0 12px 11px;
  color: #778596;
  font-size: 8px;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .production-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .production-chat {
    position: static;
    width: 100%;
    height: 420px;
    max-height: none;
    min-height: 360px;
    margin: 0 0 24px;
  }
}

@media (max-width: 680px) {
  .production-layout {
    width: calc(100% - 24px);
    gap: 14px;
  }

  .production-layout .ops-main {
    padding: 21px 0 0;
  }

  .production-chat {
    height: 390px;
    min-height: 320px;
  }
}

.production-orders-main {
  padding-bottom: 38px;
}

.production-export-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -8px 0 16px;
  padding: 9px 12px;
  border: 1px solid #70403f;
  border-radius: 6px;
  color: #f0b4ad;
  background: #342323;
  font-size: 10px;
}

.production-export-error button {
  padding: 0 4px;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: 17px;
  cursor: pointer;
}

.production-reports-menu {
  height: auto;
}

.production-reports-trigger {
  white-space: nowrap;
}

.production-reports-dropdown {
  top: calc(100% + 5px);
  right: 0;
  left: auto;
  min-width: 165px;
}

.production-report-action {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.production-report-action:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.production-orders-table {
  min-width: 1040px;
}

.production-orders-table th,
.production-orders-table td {
  white-space: nowrap;
}

.production-orders-table td:nth-child(2) {
  min-width: 200px;
  white-space: normal;
}

.production-order-product {
  display: block;
  color: #dce4ed;
  font-weight: 600;
}

.production-order-code {
  display: block;
  margin-top: 3px;
  color: #91a0b1;
  font-size: 10px;
}

.production-order-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 600;
}

.production-order-status-active {
  color: #9dc5eb;
  background: #253c53;
}

.production-order-status-planned {
  color: #e6c58e;
  background: #413622;
}

.production-order-status-complete {
  color: #a1d1b5;
  background: #263d32;
}

.production-industrial-label-link {
  display: inline-flex;
  min-height: 31px;
  gap: 6px;
  color: #a9c8e8;
  text-decoration: none;
}

@media (max-width: 680px) {
  .production-orders-table-wrap {
    overflow: visible;
  }

  .production-orders-table {
    min-width: 0;
  }

  .production-orders-table td:nth-child(2) {
    min-width: 0;
  }

}

.ops-theme-toggle {
  border-radius: 6px;
  color: #9ca3af;
  transition: color 150ms ease, background-color 150ms ease;
}

.ops-theme-toggle:hover {
  color: #d1d5db;
  background: #293443;
}

@media screen {
  :root[data-theme='light'],
  :root[data-theme='light'] body {
    color-scheme: light;
    color: #242a33;
    background: #f6f7f9;
  }

  .ops-app[data-theme='light'] {
    color: #242a33;
    background: #f6f7f9;
  }

  .ops-app[data-theme='light'] .ops-header {
    border-bottom-color: #e9ebef;
    background: #fff;
  }

  .ops-app[data-theme='light'] .ops-brand {
    color: #25364b;
  }

  .ops-app[data-theme='light'] .ops-nav-item {
    color: #727b88;
  }

  .ops-app[data-theme='light'] .ops-home-link:hover,
  .ops-app[data-theme='light'] .ops-production-trigger:hover,
  .ops-app[data-theme='light'] .ops-production-trigger[aria-expanded='true'] {
    color: #2e5e96;
  }

  .ops-app[data-theme='light'] .ops-production-dropdown {
    border-color: #e9ebef;
    background: #fff;
    box-shadow: 0 8px 24px rgb(25 39 56 / 12%);
  }

  .ops-app[data-theme='light'] .ops-production-link {
    color: #495361;
  }

  .ops-app[data-theme='light'] .ops-production-link:hover,
  .ops-app[data-theme='light'] .ops-production-link[aria-current='page'] {
    color: #2e5e96;
    background: #f2f6fa;
  }

  .ops-app[data-theme='light'] .ops-icon-button,
  .ops-app[data-theme='light'] .ops-user-menu {
    color: #647080;
  }

  .ops-app[data-theme='light'] .ops-user-menu {
    color: #4a5360;
  }

  .ops-app[data-theme='light'] .ops-notification-dot {
    border-color: #fff;
  }

  .ops-app[data-theme='light'] .ops-header-divider {
    background: #e9ebef;
  }

  .ops-app[data-theme='light'] .ops-avatar {
    color: #365777;
    background: #e6eef7;
  }

  .ops-app[data-theme='light'] .ops-theme-toggle {
    color: #647080;
  }

  .ops-app[data-theme='light'] .ops-theme-toggle:hover {
    color: #315d92;
    background: #f0f3f7;
  }

  .ops-app[data-theme='light'] .ops-home-content {
    background: #f6f7f9;
  }

  .ops-app[data-theme='light'] .ops-breadcrumb {
    color: #9299a4;
  }

  .ops-app[data-theme='light'] .ops-breadcrumb a {
    color: #647080;
  }

  .ops-app[data-theme='light'] .ops-breadcrumb [aria-current='page'] {
    color: #495361;
  }

  .ops-app[data-theme='light'] .ops-breadcrumb-separator {
    color: #b7bdc6;
  }

  .ops-app[data-theme='light'] .ops-overline {
    color: #75849a;
  }

  .ops-app[data-theme='light'] .ops-page-heading h1 {
    color: #252d39;
  }

  .ops-app[data-theme='light'] .ops-page-heading p {
    color: #828b98;
  }

  .ops-app[data-theme='light'] .ops-button-secondary {
    border-color: #e2e6eb;
    color: #556171;
    background: #fff;
  }

  .ops-app[data-theme='light'] .ops-button-secondary:hover {
    border-color: #bcc9d8;
    background: #fbfcfe;
  }

  .ops-app[data-theme='light'] .weighings-dashboard .ops-metric-card {
    border-color: #e9ebef;
    background: #fff;
    box-shadow: 0 1px 2px rgb(24 37 54 / 3%);
  }

  .ops-app[data-theme='light'] .production-stats-main {
    --dosage-chart-production: #43856c;
    --dosage-chart-downtime: #c17b44;
    --dosage-chart-lost: #c44343;
    --dosage-chart-text: #526071;
    --stats-input-background: #fff;
    --stats-input-border: #e2e6eb;
    --stats-input-text: #394454;
    --stats-label-text: #727b88;
  }

  .ops-app[data-theme='light'] .dosage-chart-card {
    border-color: #e9ebef;
    background: #fff;
    box-shadow: 0 1px 2px rgb(24 37 54 / 3%);
  }

  .ops-app[data-theme='light'] .dosage-chart-heading h2,
  .ops-app[data-theme='light'] .dosage-destination-row strong,
  .ops-app[data-theme='light'] .dosage-stoppage-row strong {
    color: #303a47;
  }

  .ops-app[data-theme='light'] .dosage-chart-heading p,
  .ops-app[data-theme='light'] .dosage-chart-empty,
  .ops-app[data-theme='light'] .dosage-chart-hour,
  .ops-app[data-theme='light'] .dosage-data-note {
    color: #75808e;
  }

  .ops-app[data-theme='light'] .dosage-chart-value {
    color: #566171;
  }

  .ops-app[data-theme='light'] .dosage-chart-bars {
    border-bottom-color: #e2e6eb;
  }

  .ops-app[data-theme='light'] .dosage-destination-row,
  .ops-app[data-theme='light'] .dosage-stoppage-row {
    color: #46515f;
  }

  .ops-app[data-theme='light'] .dosage-destination-track {
    background: #edf0f3;
  }

  .ops-app[data-theme='light'] .dosage-stoppage-row {
    border-bottom-color: #edf0f3;
  }

  .ops-app[data-theme='light'] .weighings-dashboard .ops-metric-top {
    color: #6f7885;
  }

  .ops-app[data-theme='light'] .weighings-dashboard .ops-metric-value {
    color: #293341;
  }

  .ops-app[data-theme='light'] .weighings-dashboard .ops-metric-foot {
    color: #9aa1ab;
  }

  .ops-app[data-theme='light'] .weighings-dashboard .ops-icon-blue {
    color: #477eb8;
    background: #edf3fa;
  }

  .ops-app[data-theme='light'] .weighings-dashboard .ops-icon-green {
    color: #368367;
    background: #eaf5ef;
  }

  .ops-app[data-theme='light'] .weighings-dashboard .ops-icon-purple {
    color: #796ab0;
    background: #f2eff9;
  }

  .ops-app[data-theme='light'] .weighings-dashboard .ops-icon-orange {
    color: #c17b44;
    background: #fbf2e9;
  }

  .ops-app[data-theme='light'] .weighings-tabs {
    border-bottom-color: #e2e6eb;
  }

  .ops-app[data-theme='light'] .weighings-tab {
    color: #697586;
  }

  .ops-app[data-theme='light'] .weighings-tab:hover,
  .ops-app[data-theme='light'] .weighings-tab.is-active {
    color: #315d92;
  }

  .ops-app[data-theme='light'] .weighings-tab.is-active {
    border-bottom-color: #477eb8;
  }

  .ops-app[data-theme='light'] .weighings-panel {
    border-color: #e6e9ed;
    background: #fff;
    box-shadow: 0 2px 6px rgb(24 37 54 / 4%);
  }

  .ops-app[data-theme='light'] .setup-summary > div {
    border-color: #e6e9ed;
    background: #f7f9fb;
  }

  .ops-app[data-theme='light'] .setup-summary span,
  .ops-app[data-theme='light'] .setup-chart-container > p {
    color: #75808e;
  }

  .ops-app[data-theme='light'] .setup-summary strong,
  .ops-app[data-theme='light'] .setup-chart-container h3 {
    color: #293341;
  }

  .ops-app[data-theme='light'] .setup-chart-legend-item {
    color: #46515f;
  }

  .ops-app[data-theme='light'] .setup-pie-slice {
    stroke: #fff;
  }

  .ops-app[data-theme='light'] .setup-pie-slice:hover,
  .ops-app[data-theme='light'] .setup-pie-slice:focus-visible {
    stroke: #171717;
  }

  .ops-app[data-theme='light'] .setup-chart-legend-item strong {
    color: #293341;
  }

  .ops-app[data-theme='light'] .setup-chart-legend-item > span:last-child {
    color: #75808e;
  }

  .ops-app[data-theme='light'] .weighings-panel-heading {
    border-bottom-color: #edf0f3;
  }

  .ops-app[data-theme='light'] .weighings-panel-heading h2 {
    color: #303a47;
  }

  .ops-app[data-theme='light'] .weighings-panel-heading p {
    color: #88919d;
  }

  .ops-app[data-theme='light'] .weighings-database-icon,
  .ops-app[data-theme='light'] .weighings-empty-icon {
    color: #4777a9;
    background: #edf3f9;
  }

  .ops-app[data-theme='light'] .weighings-count {
    color: #51749a;
    background: #eff4f9;
  }

  .ops-app[data-theme='light'] .ops-search {
    border-color: #e2e6eb;
    color: #7d8794;
    background: #fff;
  }

  .ops-app[data-theme='light'] .ops-search input,
  .ops-app[data-theme='light'] .weighings-toolbar .ops-search input {
    color: #303a47;
  }

  .ops-app[data-theme='light'] .ops-search input::placeholder,
  .ops-app[data-theme='light'] .weighings-toolbar .ops-search input::placeholder {
    color: #929ba6;
  }

  .ops-app[data-theme='light'] .weighings-date-filter {
    border-color: #e2e6eb;
    background: #fff;
  }

  .ops-app[data-theme='light'] .weighings-date-button,
  .ops-app[data-theme='light'] .weighings-date-picker {
    color: #647080;
  }

  .ops-app[data-theme='light'] .weighings-date-button:hover:not(:disabled),
  .ops-app[data-theme='light'] .weighings-date-today:hover:not(:disabled) {
    color: #315d92;
    background: #f0f3f7;
  }

  .ops-app[data-theme='light'] .weighings-date-picker input {
    color: #303a47;
    color-scheme: light;
  }

  .ops-app[data-theme='light'] .weighings-date-today {
    color: #315d92;
  }

  .ops-app[data-theme='light'] .weighings-query-label {
    color: #7d8794;
  }

  .ops-app[data-theme='light'] .weighings-table-wrap {
    border-top-color: #edf0f3;
    background: #fff;
  }

  .ops-app[data-theme='light'] .weighings-table,
  .ops-app[data-theme='light'] .weighings-table tbody,
  .ops-app[data-theme='light'] .weighings-table tr,
  .ops-app[data-theme='light'] .weighings-table td {
    background-color: #fff;
  }

  .ops-app[data-theme='light'] .weighings-table thead,
  .ops-app[data-theme='light'] .weighings-table th {
    background-color: #f8fafc;
  }

  .ops-app[data-theme='light'] .weighings-table th {
    color: #778393;
  }

  .ops-app[data-theme='light'] .weighings-table tbody tr {
    border-top-color: #f0f2f5;
  }

  .ops-app[data-theme='light'] .weighings-table tbody tr:hover,
  .ops-app[data-theme='light'] .weighings-table tbody tr:hover td {
    background-color: #fbfcfe;
  }

  .ops-app[data-theme='light'] .weighings-table td {
    color: #46515f;
  }

  .ops-app[data-theme='light'] .weighings-state {
    color: #818b98;
    background-color: #fff;
  }

  .ops-app[data-theme='light'] .weighings-state strong {
    color: #3b4654;
  }

  .ops-app[data-theme='light'] .weighings-footer {
    border-top-color: #edf0f3;
    color: #89929e;
    background-color: #fff;
  }

  .ops-app[data-theme='light'] .weighings-footer strong {
    color: #566171;
  }

  .ops-app[data-theme='light'] .weighings-pagination .weighings-page-button {
    border-color: #e2e6eb;
    color: #556171;
    background-color: #fff;
  }

  .ops-app[data-theme='light'] .weighings-pagination .weighings-page-button:hover:not(:disabled),
  .ops-app[data-theme='light'] .weighings-pagination .weighings-page-button.is-current {
    border-color: #477bad;
    color: #fff;
    background-color: #386b9e;
  }

  .ops-app[data-theme='light'] .weighings-pagination .weighings-page-button:disabled {
    color: #a0a7b0;
    background-color: #f6f7f9;
  }

  .ops-app[data-theme='light'] .production-chat {
    border-color: #e6e9ed;
    background: #fff;
    box-shadow: 0 2px 8px rgb(24 37 54 / 6%);
  }

  .ops-app[data-theme='light'] .production-chat-header,
  .ops-app[data-theme='light'] .production-chat-form {
    border-color: #edf0f3;
  }

  .ops-app[data-theme='light'] .production-chat-avatar {
    border-color: #d7e3ef;
    color: #365777;
    background: #edf3f9;
  }

  .ops-app[data-theme='light'] .production-chat-header h2 {
    color: #303a47;
  }

  .ops-app[data-theme='light'] .production-chat-header div > span,
  .ops-app[data-theme='light'] .production-chat-intro,
  .ops-app[data-theme='light'] .production-chat-note {
    color: #75808d;
  }

  .ops-app[data-theme='light'] .production-chat-message {
    border-color: #e2e6eb;
    color: #46515f;
    background: #f6f8fa;
  }

  .ops-app[data-theme='light'] .production-chat-message-user {
    border-color: #d6e2ef;
    color: #244e7a;
    background: #f0f5fa;
  }

  .ops-app[data-theme='light'] .production-chat-thinking {
    color: #657587;
  }

  .ops-app[data-theme='light'] .production-chat-form textarea {
    border-color: #e2e6eb;
    color: #303a47;
    background: #fff;
  }

  .ops-app[data-theme='light'] .production-chat-form textarea::placeholder {
    color: #929ba6;
  }

  .ops-app[data-theme='light'] .production-order-product {
    color: #303a47;
  }

  .ops-app[data-theme='light'] .production-order-code {
    color: #75808d;
  }

  .ops-app[data-theme='light'] .production-industrial-label-link {
    color: #315d92;
  }

  .ops-app[data-theme='light'] .production-industrial-label-link:hover {
    color: #244e7a;
  }

  .ops-app[data-theme='light'] .production-order-status-active {
    color: #356897;
    background: #edf3fa;
  }

  .ops-app[data-theme='light'] .production-order-status-planned {
    color: #967339;
    background: #fbf5e9;
  }

  .ops-app[data-theme='light'] .production-order-status-complete {
    color: #43856c;
    background: #edf6f1;
  }

  .ops-app[data-theme='light'] .production-export-error {
    border-color: #efc8c3;
    color: #9c3d35;
    background: #fff3f1;
  }
}
