@font-face {
  font-family: "Deutsche Bank Text";
  src: url("/application/css/src/assets/fonts/deutschebanktext_w_rg.woff2") format("woff2"),
    url("/application/css/src/assets/fonts/deutschebanktext_w_rg.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

:root {
  --report-navy: #0c2340;
  --report-navy-soft: #173a6d;
  --report-blue: #1b68ff;
  --report-blue-soft: rgba(27, 104, 255, 0.08);
  --report-ink: #17324d;
  --report-muted: rgba(23, 50, 77, 0.72);
  --report-line: rgba(12, 35, 64, 0.12);
  --report-bg: #f3f7fb;
  --report-card: rgba(255, 255, 255, 0.96);
  --report-shadow: 0 18px 40px rgba(12, 35, 64, 0.08);
  --report-shadow-strong: 0 26px 64px rgba(12, 35, 64, 0.16);
  --report-success: #0f7a58;
  --report-purple: #6a42d8;
  --report-orange: #b66f1d;
  --report-red: #b14141;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(27, 104, 255, 0.12), transparent 24%),
    radial-gradient(circle at top left, rgba(12, 35, 64, 0.05), transparent 22%),
    linear-gradient(180deg, #f6f9fc 0%, #edf3f9 42%, #f7fafc 100%);
  color: var(--report-ink);
  font-family: "Deutsche Bank Text", "Segoe UI", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

.tail-shell {
  width: min(1340px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 52px;
}

.engine-intro,
.control-band,
.summary-grid,
.supplier-table-card {
  margin-bottom: 22px;
}

.card {
  border: 1px solid var(--report-line);
  border-radius: 24px;
  background: var(--report-card);
  box-shadow: var(--report-shadow);
}

.panel__eyebrow {
  display: block;
  margin: 0 0 8px;
  color: var(--report-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.engine-intro {
  display: grid;
  gap: 20px;
  padding: 28px 30px;
  border-radius: 28px;
}

.engine-intro__copy h1 {
  margin: 0;
  color: var(--report-navy);
  font-size: clamp(2.5rem, 4.2vw, 4.2rem);
  line-height: 0.94;
}

.engine-intro__text {
  max-width: 58rem;
  margin: 14px 0 0;
  color: var(--report-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.engine-intro__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--report-blue), #0c57d6);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(27, 104, 255, 0.14);
}

.hero-chip--ghost {
  background: rgba(12, 35, 64, 0.06);
  color: var(--report-navy);
  box-shadow: none;
}

.download-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(12, 35, 64, 0.09);
  border-radius: 999px;
  background: rgba(12, 35, 64, 0.04);
  color: var(--report-navy);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.download-chip:hover,
.download-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(27, 104, 255, 0.2);
  background: var(--report-blue-soft);
  box-shadow: 0 14px 26px rgba(12, 35, 64, 0.08);
  text-decoration: none;
}

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

.summary-card {
  padding: 20px;
  border: 1px solid var(--report-line);
  border-radius: 22px;
  background: var(--report-card);
  box-shadow: var(--report-shadow);
}

.summary-card__label {
  margin: 0;
  color: var(--report-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.summary-card__value {
  margin: 12px 0 8px;
  color: var(--report-navy);
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
}

.summary-card__detail {
  margin: 0;
  color: var(--report-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.control-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
}

.control-band__copy {
  max-width: 38rem;
}

.control-band__copy h2,
.panel__header h2 {
  margin: 0;
  color: var(--report-navy);
}

.control-band__copy p:last-child,
.panel__header p,
.table-filter-note,
.supplier-modal__subtitle,
.modal-panel p,
.workflow-step__copy {
  color: var(--report-muted);
  line-height: 1.6;
}

.control-band__copy p:last-child {
  margin: 10px 0 0;
}

.control-band__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: min(100%, 34rem);
}

.action-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(12, 35, 64, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--report-navy);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.action-filter:hover,
.action-filter:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(12, 35, 64, 0.08);
}

.action-filter.is-active {
  border-color: rgba(27, 104, 255, 0.26);
  background: rgba(27, 104, 255, 0.08);
}

.action-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem;
  height: 1.9rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(12, 35, 64, 0.06);
  font-size: 0.82rem;
}

.control-band__reset {
  width: fit-content;
}

.supplier-table-card {
  padding: 24px;
}

.panel__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.panel__header--table {
  align-items: flex-start;
}

.panel__header h2 {
  font-size: 1.5rem;
}

.panel__header p {
  margin: 0;
  max-width: 42rem;
  font-size: 0.94rem;
}

.table-filter-note {
  margin: 0 0 16px;
  font-size: 0.92rem;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--report-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
}

.supplier-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: separate;
  border-spacing: 0;
}

.supplier-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 16px;
  border-bottom: 1px solid var(--report-line);
  background: #f8fbff;
  color: var(--report-navy);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.supplier-table tbody tr {
  cursor: pointer;
  transition:
    background 0.16s ease,
    box-shadow 0.16s ease;
}

.supplier-table tbody tr:hover,
.supplier-table tbody tr:focus-visible {
  background: rgba(27, 104, 255, 0.05);
  outline: none;
}

.supplier-table tbody tr.is-selected {
  background: rgba(27, 104, 255, 0.08);
}

.supplier-table tbody td {
  padding: 16px;
  border-bottom: 1px solid rgba(12, 35, 64, 0.08);
  vertical-align: top;
  font-size: 0.92rem;
  line-height: 1.5;
}

.supplier-name {
  display: block;
  margin-bottom: 4px;
  color: var(--report-navy);
  font-weight: 700;
}

.supplier-sub {
  color: var(--report-muted);
  font-size: 0.84rem;
}

.supplier-opportunity {
  color: var(--report-blue);
  font-weight: 700;
}

.status-chip,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-chip {
  background: rgba(12, 35, 64, 0.06);
  color: var(--report-navy);
}

.status-chip--ready {
  background: rgba(15, 122, 88, 0.12);
  color: var(--report-success);
}

.status-chip--review {
  background: rgba(27, 104, 255, 0.12);
  color: var(--report-blue);
}

.status-chip--validation {
  background: rgba(182, 111, 29, 0.14);
  color: var(--report-orange);
}

.supplier-modal[hidden] {
  display: none;
}

.supplier-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.supplier-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 35, 64, 0.52);
  backdrop-filter: blur(4px);
}

.supplier-modal__dialog {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--report-shadow-strong);
}

.supplier-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--report-navy);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.supplier-modal__close:hover,
.supplier-modal__close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(27, 104, 255, 0.2);
  box-shadow: 0 12px 22px rgba(12, 35, 64, 0.08);
}

.supplier-modal__close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.supplier-modal__content {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.supplier-modal__header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.supplier-modal__title {
  margin: 0;
  color: var(--report-navy);
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  line-height: 0.96;
}

.supplier-modal__subtitle {
  margin: 12px 0 0;
  font-size: 0.98rem;
}

.supplier-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(12, 35, 64, 0.05);
  color: var(--report-navy);
  font-size: 0.84rem;
  font-weight: 700;
}

.modal-action-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(12, 35, 64, 0.98), rgba(23, 58, 109, 0.96));
  color: #fff;
}

.modal-action-card__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.82;
  text-transform: uppercase;
}

.modal-action-card__value {
  display: block;
  margin-top: 10px;
  font-size: 2rem;
  font-weight: 700;
}

.modal-action-card__sub {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.84;
}

.modal-action-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.modal-action-card__stat {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.modal-action-card__stat strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
}

.supplier-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
}

.modal-panel {
  padding: 18px;
  border: 1px solid var(--report-line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.94));
}

.modal-panel h3 {
  margin: 0 0 12px;
  color: var(--report-navy);
  font-size: 1.05rem;
}

.modal-panel p {
  margin: 0;
  font-size: 0.94rem;
}

.modal-next-step {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(12, 35, 64, 0.08);
}

.modal-next-step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--report-navy);
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.workflow-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(27, 104, 255, 0.12);
  color: var(--report-blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.workflow-step__title {
  display: block;
  margin-bottom: 4px;
  color: var(--report-navy);
  font-weight: 700;
}

.modal-list {
  margin: 0;
  padding-left: 18px;
}

.modal-list li {
  color: var(--report-muted);
  line-height: 1.65;
}

.modal-list li + li {
  margin-top: 8px;
}

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

  .supplier-modal__header,
  .supplier-modal__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .tail-shell {
    width: min(100% - 18px, 100%);
    padding: 16px 0 42px;
  }

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

  .engine-intro,
  .control-band,
  .supplier-table-card,
  .supplier-modal__content {
    padding: 18px;
  }

  .action-filter-list,
  .control-band__actions,
  .engine-intro__meta {
    width: 100%;
  }

  .action-filter,
  .control-band__reset,
  .download-chip {
    width: 100%;
    justify-content: space-between;
  }

  .supplier-modal {
    padding: 12px;
  }

  .modal-action-card__stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
