:root {
  --bg: #eef2f6;
  --bg-deep: #0f172a;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-soft-2: #f1f5f9;
  --border: #d8e0ea;
  --border-strong: #c5d0dc;
  --text: #17212f;
  --muted: #667487;
  --primary: #1d4ed8;
  --primary-strong: #1e40af;
  --primary-soft: #dbeafe;
  --success-soft: #dcfce7;
  --success-text: #166534;
  --warning-soft: #fef3c7;
  --warning-text: #92400e;
  --danger-soft: #fee2e2;
  --danger-text: #991b1b;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
  --radius: 22px;
  --radius-small: 14px;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f7f9fb 0%, var(--bg) 280px, var(--bg) 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
}

strong {
  font-weight: 700;
}

.app-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.shell-compact {
  padding-top: 14px;
  padding-bottom: 14px;
}

.shell-space {
  padding-top: 28px;
  padding-bottom: 56px;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-topbar-subpage {
  background: rgba(15, 23, 42, 0.95);
}

.app-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-kicker {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.light-note,
.button-link-light {
  color: rgba(255, 255, 255, 0.82);
}

.topbar-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero,
.card,
.table-card,
.form-card,
.stats-card,
.placeholder-card,
.notice,
.import-feedback,
.section-nav,
.feature-card,
.info-card,
.panel-soft {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 224, 234, 0.72);
}

.hero,
.table-card,
.form-card,
.stats-card,
.placeholder-card,
.section-nav,
.import-feedback,
.card,
.feature-card,
.info-card {
  padding: 24px;
}

.hero-gradient {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.15), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #eef5ff 100%);
}

.hero-worklist {
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-side {
  display: flex;
  align-items: stretch;
}

.panel-soft {
  width: 100%;
  background: linear-gradient(180deg, #f9fbff 0%, #eff5ff 100%);
  border: 1px solid rgba(59, 130, 246, 0.14);
}

.compact-panel {
  align-self: start;
}

.mini-stat-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.page-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

.page-title-large {
  font-size: 42px;
  line-height: 1.08;
}

.page-subtitle,
.muted,
.small-note {
  color: var(--muted);
}

.hero-text {
  max-width: 880px;
  font-size: 17px;
  line-height: 1.65;
}

.section-kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-strong);
  font-weight: 700;
}

.hero-actions,
.actions-row,
.form-actions,
.compact-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
.button-secondary,
.button-link,
.card-link,
.button-small,
.section-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.button:hover,
.button-secondary:hover,
.button-link:hover,
.card-link:hover,
.button-small:hover,
.section-nav-link:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.button,
.card-link {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff;
  border-color: var(--primary);
}

.button-link-light {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.button-link-light:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.button-small {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 10px;
  font-size: 13px;
}

.button-small.button-secondary,
.button-small.button-active {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.button-small.button-active,
.section-nav-link.active {
  background: var(--primary-soft);
  color: var(--primary-strong);
  border-color: rgba(29, 78, 216, 0.25);
}

.button-danger {
  background: #fff1f2;
  color: #9f1239;
  border-color: #fecdd3;
}

.button-danger:hover {
  background: #ffe4e6;
  color: #881337;
  border-color: #fda4af;
}

.section-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-bottom: 18px;
}

.section-nav-link {
  min-height: 40px;
  padding: 8px 14px;
  background: var(--surface-soft);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.badge-info {
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.badge-success {
  background: var(--success-soft);
  color: var(--success-text);
}

.badge-warning {
  background: var(--warning-soft);
  color: var(--warning-text);
}

.badge-danger {
  background: var(--danger-soft);
  color: var(--danger-text);
}

.badge-auth-user {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.stats-strip,
.stats-grid,
.module-grid,
.card-grid,
.info-grid,
.detail-pair-grid {
  display: grid;
  gap: 18px;
}

.stats-strip,
.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 18px;
}

.stats-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.stats-card-emphasis {
  border-color: rgba(29, 78, 216, 0.26);
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.stat-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.stat-value-large {
  font-size: 22px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-card-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: rgba(29, 78, 216, 0.18);
}

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

.feature-index {
  color: #94a3b8;
  font-weight: 700;
  font-size: 18px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.card-grid-home {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 22px;
}

.info-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 20px;
}

.info-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.module-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 18px;
}

.module-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice {
  padding: 14px 16px;
  margin-top: 18px;
}

.notice-error {
  background: var(--danger-soft);
  color: var(--danger-text);
  border-color: #fecaca;
}

.notice-success {
  background: var(--success-soft);
  color: var(--success-text);
  border-color: #bbf7d0;
}

.notice-info {
  background: #eef6ff;
  color: #1e3a5f;
  border-color: #bfdbfe;
}

.import-feedback {
  margin-top: 18px;
}

.import-feedback-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.import-feedback-grid,
.summary-mini-grid,
.detail-grid,
.detail-grid-3,
.form-grid {
  display: grid;
  gap: 14px;
}

.import-feedback-grid,
.summary-mini-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

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

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

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.82fr);
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.workspace-main,
.workspace-side {
  display: grid;
  gap: 20px;
}

.workspace-card {
  scroll-margin-top: 100px;
}

.sticky-card {
  position: sticky;
  top: 92px;
}

.table-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
}

.compact-head {
  margin-bottom: 16px;
}

.summary-card-list {
  display: grid;
  gap: 16px;
}

.summary-card-row {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.summary-main {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.summary-mini-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.summary-value,
.detail-value,
.detail-value-small,
.stat-value-medium {
  font-weight: 700;
}

.summary-value,
.stat-value-medium {
  font-size: 24px;
}

.detail-value {
  font-size: 21px;
}

.detail-value-small {
  font-size: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

label {
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(29, 78, 216, 0.45);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.08);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.compact-form-actions {
  margin-top: 18px;
}

.form-actions-inline {
  justify-content: flex-end;
}

.filters-grid {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) minmax(170px, 1fr) minmax(220px, 1.2fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.filters-grid-compact {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
}

table,
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  background: #fff;
}

th,
.table th,
thead th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 12px 14px;
  background: #f7fafc;
  border-bottom: 1px solid var(--border);
  vertical-align: bottom;
  position: sticky;
  top: 0;
  z-index: 1;
}

td,
.table td,
tbody td {
  padding: 12px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.table-compact th,
.table-compact td {
  padding: 10px 12px;
}

.table-worklist .cell-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.table-worklist td:nth-child(4),
.table-worklist td:nth-child(5),
.table-worklist td:nth-child(6),
.table-worklist td:nth-child(7),
.table-worklist td:nth-child(8) {
  white-space: nowrap;
}

.action-cell {
  white-space: nowrap;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.empty-state {
  margin-top: 14px;
  padding: 16px;
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  color: var(--muted);
  background: var(--surface-soft);
}

.detail-panel {
  min-height: 180px;
}

.detail-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.detail-section {
  margin-top: 18px;
}

.detail-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 700;
}

.assignment-select {
  min-width: 240px;
}

.hidden {
  display: none !important;
}

.module-overview-card {
  margin-top: 22px;
}

.toolbar-right {
  justify-content: flex-end;
}

@media (max-width: 1180px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .sticky-card {
    position: static;
  }

  .detail-pair-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hero-gradient {
    grid-template-columns: 1fr;
  }

  .filters-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100%, calc(100% - 20px));
  }

  .page-title-large {
    font-size: 34px;
  }

  .page-title {
    font-size: 30px;
  }

  .app-topbar-inner,
  .table-header-inline,
  .table-header-stack-mobile {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-strip,
  .stats-grid,
  .module-grid,
  .card-grid-home,
  .info-grid,
  .detail-pair-grid,
  .summary-mini-grid,
  .detail-grid,
  .detail-grid-3,
  .form-grid,
  .filters-grid {
    grid-template-columns: 1fr;
  }

  .form-grid-single-mobile {
    grid-template-columns: 1fr;
  }

  .section-nav {
    padding: 16px;
  }

  .topbar-badges {
    justify-content: flex-start;
  }
}


/* UI-Paket 2 */
.hero-home-ui2 {
  margin-bottom: 18px;
}

.hero-side-steps {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(239,245,255,0.98) 100%);
}

.step-list {
  display: grid;
  gap: 12px;
}

.step-list-compact {
  gap: 10px;
}

.step-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(29, 78, 216, 0.10);
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-strong);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.quick-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.quick-flow-home {
  margin-bottom: 6px;
}

.quick-flow-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(216, 224, 234, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.quick-flow-card h2 {
  margin: 8px 0 10px;
  font-size: 21px;
}

.quick-flow-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.quick-flow-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.quick-flow-link:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 78, 216, 0.24);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
}

.info-grid-ui2 {
  margin-top: 22px;
}

.section-nav-sticky {
  position: sticky;
  top: 78px;
  z-index: 24;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
}

.stats-strip-ui2 {
  margin-top: 16px;
}

.workspace-grid-ui2 {
  grid-template-columns: minmax(0, 1.56fr) minmax(330px, 0.78fr);
  gap: 22px;
}

.control-rail {
  align-self: start;
}

.workspace-card-soft {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.workspace-card-accent {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-color: rgba(29, 78, 216, 0.16);
}

.table-header-ui2 {
  gap: 18px;
}

.export-toolbar-block {
  align-items: flex-end;
  max-width: 360px;
}

.export-note {
  max-width: 340px;
  text-align: right;
}

button[disabled],
.button-secondary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.filters-grid-ui2 {
  background: linear-gradient(180deg, #f9fbff 0%, #f4f8fc 100%);
}

.table-wrap-worklist {
  max-height: 760px;
}

.table-wrap-soft {
  background: #fff;
}

.table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.table tbody tr:hover td {
  background: #f5f9ff;
}

.table-worklist-ui2 td:first-child {
  min-width: 240px;
}

.table-masterdata-ui2 td:first-child,
.table-masterdata-ui2 td:nth-child(2) {
  min-width: 180px;
}

.summary-card-list-ui2 .summary-card-row,
.summary-card-list-ui2 .summary-mini-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.detail-pair-grid-ui2 {
  gap: 20px;
}

.sticky-card {
  top: 102px;
}

.module-overview-card {
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .workspace-grid-ui2 {
    grid-template-columns: 1fr;
  }

  .section-nav-sticky {
    position: static;
  }
}

@media (max-width: 760px) {
  .export-note {
    text-align: left;
  }

  .quick-flow-grid {
    grid-template-columns: 1fr;
  }

  .table-wrap-worklist {
    max-height: none;
  }
}

/* UI-Paket 3 */
.workspace-nav {
  position: sticky;
  top: 88px;
  z-index: 18;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
}

.workspace-nav-link {
  appearance: none;
}

.workspace-panel {
  display: none;
  margin-top: 18px;
  animation: workspaceFade 0.18s ease;
}

.workspace-panel.active {
  display: block;
}

.workspace-panel-intro {
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.workspace-grid-single-focus {
  grid-template-columns: 1fr;
}

.hero-worklist-ui3 {
  margin-bottom: 18px;
}

@keyframes workspaceFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .workspace-nav {
    top: 76px;
  }
}

/* UI-Paket 4 – Arbeitsansicht professionalisieren */
.hero-worklist-ui4 {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
}

.hero-home-ui4 {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.workspace-nav-ui4 {
  position: sticky;
  top: 76px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

.workspace-panel-intro-ui4 {
  padding: 20px 24px;
  box-shadow: var(--shadow-soft);
}

.stats-strip-ui4 {
  margin-bottom: 18px;
}

.worklist-shell-ui4 {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.worklist-main-card {
  padding: 0;
  overflow: hidden;
}

.worklist-toolbar-shell {
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.worklist-toolbar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.export-toolbar-block-ui4 {
  align-items: flex-end;
  flex-direction: column;
}

.worklist-control-grid {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(2, minmax(180px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.form-field-grow {
  min-width: 0;
}

.align-end {
  align-self: end;
}

.quick-filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.quick-filter-chip {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.quick-filter-chip.active {
  background: var(--primary-soft);
  border-color: rgba(29, 78, 216, 0.25);
  color: var(--primary-strong);
}

.worklist-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 148px;
}

.worklist-side-card h3,
.detail-side-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.mini-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-kpi-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(29, 78, 216, 0.08);
}

.mini-kpi-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.table-wrap-worklist-ui4 {
  max-height: 68vh;
  overflow: auto;
}

.table-worklist-ui4 thead th {
  position: sticky;
  top: 0;
  background: #f8fbff;
  z-index: 1;
}

.table-worklist-ui4 tbody tr:nth-child(odd) {
  background: rgba(248, 250, 252, 0.65);
}

.table-worklist-ui4 tbody tr:hover {
  background: rgba(219, 234, 254, 0.28);
}

.cell-subtitle {
  font-weight: 700;
  margin-top: 2px;
}

.code-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-soft-2);
  border: 1px solid var(--border);
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
}

.progress-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 120px;
}

.progress-label {
  font-weight: 700;
}

.progress-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-strong) 100%);
  border-radius: 999px;
}

.workspace-grid-ui4,
.detail-workspace-shell {
  gap: 18px;
}

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

.table-wrap-masterdata-ui4,
.table-wrap-history-ui4,
.table-wrap-unmatched-ui4 {
  max-height: 62vh;
  overflow: auto;
}

.summary-card-list-ui4 .summary-card-row {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(29, 78, 216, 0.1);
}

.summary-mini-grid-strong .summary-mini-card {
  min-height: 108px;
}

.detail-workspace-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
}

.detail-main-card {
  overflow: hidden;
}

.detail-side-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 148px;
}

.detail-header-strong {
  align-items: flex-start;
}

.detail-help-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.detail-hero-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(29, 78, 216, 0.1);
  margin-bottom: 18px;
}

.detail-hero-side {
  min-width: 220px;
  text-align: right;
}

.detail-grid-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.detail-card-emphasis {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: rgba(29, 78, 216, 0.16);
}

.detail-section {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid rgba(216, 224, 234, 0.72);
}

.detail-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.table-history-detail thead th,
.table-unmatched-ui4 thead th,
.table-history-ui4 thead th,
.table-masterdata-ui4 thead th {
  position: sticky;
  top: 0;
  background: #f8fbff;
  z-index: 1;
}

.info-grid-ui4 {
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .worklist-shell-ui4,
  .detail-workspace-shell,
  .hero-worklist-ui4,
  .hero-home-ui4 {
    grid-template-columns: 1fr;
  }

  .worklist-sidebar,
  .detail-side-column {
    position: static;
  }

  .worklist-control-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .workspace-nav-ui4 {
    top: 66px;
  }

  .worklist-toolbar-head,
  .detail-hero-card,
  .detail-section-head {
    flex-direction: column;
  }

  .worklist-control-grid,
  .form-grid-two-columns,
  .detail-grid-kpis,
  .mini-kpi-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero-side {
    min-width: 0;
    text-align: left;
  }
}

.plan-info-cell {
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.unmatched-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(120px, 0.8fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 10px 0 14px;
}

.unmatched-search-field {
  min-width: 0;
}

.unmatched-toolbar-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

.unmatched-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.unmatched-pagination-actions {
  display: flex;
  gap: 8px;
}

@media (max-width: 1100px) {
  .unmatched-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .unmatched-toolbar,
  .unmatched-pagination {
    grid-template-columns: 1fr;
    display: grid;
  }
  .unmatched-pagination-actions {
    justify-content: flex-start;
  }
}

/* Paket 15b – Arbeitsliste um AB Nummer und Ausführung erweitert */
.table-worklist th:nth-child(3), .table-worklist td:nth-child(3) { min-width: 120px; }
.table-worklist th:nth-child(4), .table-worklist td:nth-child(4) { min-width: 150px; }


/* UI-Final Paket 1 */
.hero-compact-final,
.hero-compact-subpage {
  display: block;
}
.hero-compact-subpage .hero-copy,
.hero-compact-final .hero-copy {
  max-width: 880px;
}
.home-card-grid-simple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.feature-card-simple {
  min-height: 0;
}
.compact-status-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  padding: 16px 18px;
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid #d9e3f6;
  border-radius: 20px;
}
.compact-status-item {
  min-width: 0;
}
.compact-status-item strong {
  display: block;
  margin-top: 4px;
  font-size: 1.2rem;
  color: #17233a;
}
.compact-status-strip-worklist {
  margin-top: 10px;
}
.workspace-head-compact {
  margin: 0 0 16px 0;
}
.workspace-head-compact h2 {
  margin: 0;
  font-size: 1.55rem;
}
.worklist-shell-final {
  display: block;
}
.worklist-shell-final .worklist-main-card {
  width: 100%;
}
.toolbar-stat-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.toolbar-stat-pill {
  padding: 12px 14px;
  border: 1px solid #d9e3f6;
  border-radius: 14px;
  background: #f8fbff;
}
.toolbar-stat-pill strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
  color: #17233a;
}
.button,
.button-secondary,
.button-small,
.section-nav-link,
.quick-filter-chip {
  min-height: 42px;
}
.section-nav.card.workspace-nav {
  padding: 14px 16px;
}
.workspace-nav-link {
  min-width: 120px;
}
.hero-side,
.quick-flow-grid,
.stats-strip-home,
.info-grid,
.module-overview-card,
.worklist-sidebar,
.detail-side-card {
  display: none !important;
}
.worklist-toolbar-head {
  align-items: end;
}
.export-toolbar-block {
  align-items: flex-end;
}
.export-toolbar-block .small-note {
  margin-top: 6px;
}
.detail-workspace-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 24px;
}
.detail-side-column {
  display: block;
}
.detail-assignment-card {
  margin-top: 0;
}
.table-header-inline.compact-head .muted,
.workspace-card .muted,
.workspace-panel-intro .muted {
  max-width: 760px;
}
.hero-home .page-subtitle,
.hero-worklist .page-subtitle,
.workspace-card .muted,
.workspace-head-compact + .workspace-grid .muted,
.workspace-head-compact + .detail-workspace-shell .muted {
  font-size: 0.98rem;
}
@media (max-width: 1100px) {
  .detail-workspace-shell {
    grid-template-columns: 1fr;
  }
  .toolbar-stat-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .home-card-grid-simple {
    grid-template-columns: 1fr;
  }
  .toolbar-stat-pills,
  .compact-status-strip {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .toolbar-stat-pills,
  .compact-status-strip {
    grid-template-columns: 1fr;
  }
  .workspace-nav-link {
    min-width: 0;
  }
}


/* UI-Final Paket 2 */
.hero-compact-final{padding:36px 40px;}
.home-card-grid-simple{margin-top:20px;}
.feature-card-simple p{max-width:58ch;}
.compact-status-strip-final{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px;}
.compact-status-strip-final .compact-status-item{padding:12px 14px;}
.workspace-head-compact{margin-bottom:14px;}
.workspace-head-compact h2{font-size:22px;}
.worklist-toolbar-head{align-items:end;gap:16px;}
.worklist-toolbar-head .muted{margin:6px 0 0;}
.export-toolbar-block-ui4 .button-secondary{min-height:42px;}
.page-strip.compact-status-strip-worklist{margin-top:12px;margin-bottom:14px;}
.table-card .table-header-inline.compact-head p.muted{margin-top:4px;}
.detail-main-card .table-header-inline{align-items:flex-end;}
.workspace-panel-intro, .toolbar-stat-pills, .detail-help-note, .worklist-sidebar{display:none !important;}
.detail-workspace-shell{grid-template-columns:minmax(0,1fr);}
.unmatched-toolbar{margin-top:8px;}
.unmatched-toolbar .field span{font-size:12px;}
.unmatched-pagination{margin:8px 0 12px;}
.button, .button-secondary, .button-danger, .button-small{border-radius:12px;}
.topbar-badges .badge{min-height:30px;display:inline-flex;align-items:center;}
@media (max-width: 980px){.compact-status-strip-final{grid-template-columns:repeat(2,minmax(0,1fr));}}


.summary-meta {
  margin-top: 6px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}


/* UI-Final Paket 3 – Arbeitsliste-Tabelle final */
.table-wrap-worklist-ui4 {
  max-height: none;
  overflow: visible;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.table-worklist-final {
  min-width: 0;
  table-layout: fixed;
}
.table-worklist-final th,
.table-worklist-final td {
  padding: 10px 10px;
  font-size: 13px;
  vertical-align: top;
}
.table-worklist-final thead th {
  position: static;
  background: #f8fbff;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.table-worklist-final th:nth-child(1) { width: 24%; }
.table-worklist-final th:nth-child(2) { width: 23%; }
.table-worklist-final th:nth-child(3) { width: 12%; }
.table-worklist-final th:nth-child(4) { width: 18%; }
.table-worklist-final th:nth-child(5) { width: 15%; }
.table-worklist-final th:nth-child(6) { width: 8%; }
.table-worklist-final tbody tr:nth-child(odd) {
  background: rgba(248, 250, 252, 0.6);
}
.table-worklist-final tbody tr:hover {
  background: rgba(219, 234, 254, 0.22);
}
.overview-project-cell .cell-title {
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 4px;
}
.overview-project-cell .cell-subtitle {
  font-size: 15px;
  line-height: 1.25;
  margin-bottom: 6px;
}
.overview-assignment-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.overview-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.overview-meta-item,
.overview-price-box,
.overview-qty-box {
  min-width: 0;
}
.overview-meta-item-wide {
  grid-column: 1 / -1;
}
.overview-meta-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.overview-meta-item strong,
.overview-price-box strong,
.overview-qty-box strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  word-break: break-word;
}
.overview-price-grid {
  display: grid;
  gap: 10px;
}
.overview-price-box,
.overview-qty-box {
  padding: 8px 9px;
  border: 1px solid rgba(216, 224, 234, 0.9);
  border-radius: 12px;
  background: #fbfdff;
}
.overview-qty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.overview-qty-box {
  text-align: center;
}
.overview-status-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.overview-status-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.overview-delta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #eef2ff;
  color: #334155;
}
.overview-delta.is-negative {
  background: #fee2e2;
  color: #991b1b;
}
.overview-delta.is-positive {
  background: #dcfce7;
  color: #166534;
}
.progress-stack-compact {
  min-width: 0;
  gap: 5px;
}
.progress-inline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}
.progress-inline .progress-label {
  font-size: 13px;
}
.overview-status-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.action-cell-compact {
  display: grid;
  gap: 8px;
}
.action-cell-compact .button-small {
  width: 100%;
  min-height: 36px;
  padding: 6px 10px;
}
.code-pill {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .table-wrap-worklist-ui4 {
    overflow-x: auto;
  }
  .table-worklist-final {
    min-width: 980px;
  }
}


/* UI-Final Paket 3b – Potentials Restore */
.potential-candidates-card {
  margin-top: 18px;
}
.potential-head-inline {
  margin-bottom: 10px;
}
.potential-table-wrap {
  overflow-x: auto;
}
.potential-table {
  min-width: 820px;
}
.potential-table th,
.potential-table td {
  padding: 10px 12px;
}
.potential-table td:nth-child(4),
.potential-table td:nth-child(5),
.potential-table td:nth-child(6),
.potential-table td:nth-child(7) {
  white-space: nowrap;
}

/* Paket 17 – Bauvorhaben-Varianten */
.chip-soft {
  background: var(--surface-soft);
  color: var(--text);
  border: 1px solid var(--border);
}

.table-wrap-variant-suggestions {
  max-height: 38vh;
  overflow: auto;
}

.table-variant-suggestions td,
.table-detail-designations td {
  vertical-align: top;
}

.detail-variant-card .button-small {
  white-space: nowrap;
}

/* Paket 18 – bestätigte Zuordnungen lösbar machen */
.chip-with-action {
  gap: 8px;
  align-items: center;
  padding-right: 6px;
}

.chip-remove-button {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 999px;
  border: 1px solid rgba(153, 27, 27, 0.18);
  background: #fff1f2;
  color: #9f1239;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

.chip-remove-button:hover {
  background: #ffe4e6;
  border-color: #fda4af;
  color: #881337;
}

/* Paket 24 – zentrale Zuordnungsübersicht */
.table-wrap-assignments {
  max-height: 34vh;
  overflow: auto;
}

.table-assignment-overview td {
  vertical-align: top;
}

.detail-overview-card .button-small {
  white-space: nowrap;
}

.assignment-overview-toolbar {
  grid-template-columns: minmax(200px, 2fr) minmax(140px, 1fr) auto;
}

/* Paket 25 – geprüfte, gesperrte Varianten-Vorschläge */
.table-wrap-variant-ignores {
  max-height: 30vh;
  overflow: auto;
}

.table-variant-ignores td {
  vertical-align: top;
}

.variant-ignore-toolbar {
  grid-template-columns: minmax(200px, 1fr) auto;
}

.action-cell-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: stretch;
}

.detail-ignore-card .button-small {
  white-space: nowrap;
}

/* Paket 26A: Login-Grundschutz */
.auth-page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #eef2f7 0%, #ffffff 45%, #f3f6fb 100%);
}

.auth-card {
  width: min(100%, 460px);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  padding: 32px;
}

.auth-card h1 {
  margin: 6px 0 8px;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  line-height: 1.08;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.auth-note {
  margin-top: 18px;
}

.auth-note code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.06);
}

.auth-topbar-user,
.topbar-badges.auth-topbar-user {
  align-items: center;
}

@media (max-width: 760px) {
  .auth-card {
    padding: 24px;
  }

  .topbar-badges {
    gap: 6px;
  }
}


/* Paket 26B: Administrator-Benutzerverwaltung */
.admin-shell {
  display: grid;
  gap: 18px;
}

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

.admin-card h2 {
  margin: 8px 0 12px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.checkbox-row input {
  width: auto;
  min-height: auto;
}

.admin-user-table-wrap {
  max-height: 55vh;
  overflow: auto;
}

.admin-user-table td {
  vertical-align: top;
}

.admin-user-table select {
  min-width: 150px;
}

.admin-self-badge {
  margin-left: 8px;
}

button:disabled,
select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

/* UI Paket 3: längere Mengenbezeichnungen kompakt halten */
.overview-qty-box .overview-meta-label {
  font-size: 9px;
  line-height: 1.15;
  min-height: 20px;
}


/* UI Paket 4: Arbeitsliste luftiger und klarer strukturieren */
.table-worklist-final {
  table-layout: fixed;
}
.table-worklist-final th,
.table-worklist-final td {
  padding: 14px 16px;
}
.table-worklist-final thead th {
  background: #f8fbff;
  border-bottom: 1px solid #dbe5f0;
}
.table-worklist-final thead th:not(:last-child),
.table-worklist-final tbody td:not(:last-child) {
  border-right: 1px solid #edf2f7;
}
.table-worklist-final th:nth-child(1) { width: 23%; }
.table-worklist-final th:nth-child(2) { width: 22%; }
.table-worklist-final th:nth-child(3) { width: 13%; }
.table-worklist-final th:nth-child(4) { width: 21%; }
.table-worklist-final th:nth-child(5) { width: 13%; }
.table-worklist-final th:nth-child(6) { width: 8%; }
.table-worklist-final tbody tr {
  background: #ffffff;
}
.table-worklist-final tbody tr:nth-child(odd) {
  background: #fcfdff;
}
.table-worklist-final tbody tr + tr td {
  border-top: 2px solid #eef3f8;
}
.table-worklist-final tbody tr:hover {
  background: #f7fbff;
}
.overview-project-cell,
.overview-status-cell {
  min-height: 100%;
}
.overview-project-cell .cell-title {
  font-size: 18px;
  margin-bottom: 6px;
}
.overview-project-cell .cell-subtitle {
  font-size: 16px;
  margin-bottom: 10px;
}
.overview-assignment-note {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed #dbe5f0;
  font-size: 12px;
  line-height: 1.45;
}
.overview-meta-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 12px 16px;
}
.overview-meta-item {
  padding-bottom: 2px;
}
.overview-meta-item-wide {
  padding-top: 2px;
  border-top: 1px dashed #e4ebf3;
}
.overview-meta-label {
  font-size: 10px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.overview-meta-item strong,
.overview-price-box strong,
.overview-qty-box strong {
  font-size: 14px;
  line-height: 1.3;
}
.overview-price-grid,
.overview-qty-grid {
  gap: 12px;
}
.overview-price-box,
.overview-qty-box {
  min-height: 74px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}
.overview-qty-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.overview-qty-box .overview-meta-label {
  min-height: 24px;
  font-size: 9px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: normal;
}
.overview-qty-box .small-note,
.overview-price-box .small-note {
  margin-top: 4px;
}
.overview-status-cell {
  gap: 10px;
  padding-left: 2px;
}
.overview-status-top {
  gap: 8px;
}
.progress-stack-compact {
  gap: 7px;
}
.overview-status-note {
  padding-top: 6px;
  border-top: 1px dashed #e4ebf3;
}
.action-cell-compact {
  gap: 10px;
}
.action-cell-compact .button-small {
  min-height: 38px;
}
@media (max-width: 1180px) {
  .table-worklist-final {
    min-width: 1080px;
  }
}


/* UI Paket 5: Mengenboxen, starke Trenner, Banner entfernt */
.table-worklist-final th:nth-child(1) { width: 23%; }
.table-worklist-final th:nth-child(2) { width: 22%; }
.table-worklist-final th:nth-child(3) { width: 12%; }
.table-worklist-final th:nth-child(4) { width: 22%; }
.table-worklist-final th:nth-child(5) { width: 13%; }
.table-worklist-final th:nth-child(6) { width: 8%; }
.table-worklist-final tbody tr + tr td {
  border-top: 5px solid #d6e0eb;
}
.overview-qty-grid {
  gap: 10px;
}
.overview-qty-box {
  min-height: 86px;
  padding: 10px 8px;
}
.overview-qty-box .overview-meta-label {
  min-height: 30px;
  font-size: 8px;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.overview-qty-box strong {
  font-size: 13px;
  margin-top: 2px;
}
.overview-qty-box .small-note {
  margin-top: 3px;
}
@media (max-width: 1180px) {
  .table-worklist-final {
    min-width: 1100px;
  }
}
