:root {
  --brand: #f68e13;
  --brand-dark: #b55d00;
  --ink: #1f1f1f;
  --charcoal: #2d2c2d;
  --muted: #63666a;
  --line: #dde2e6;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --green: #1e6b57;
  --error: #a23b2a;
  --steel: #45535e;
  --shadow: 0 18px 55px rgba(20, 24, 28, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.04;
}

h1 {
  max-width: 920px;
  font-size: 4.8rem;
}

h2 {
  max-width: 780px;
  font-size: 3.3rem;
}

h3 {
  font-size: 1.2rem;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  border: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

textarea {
  resize: vertical;
}

:focus-visible {
  outline: 3px solid rgba(246, 142, 19, 0.75);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 2rem);
  width: min(100% - 2rem, 1240px);
  margin: 1rem auto 0;
  padding: 0.8rem 0.9rem;
  color: var(--paper);
  background: rgba(31, 31, 31, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 160px;
}

.brand img {
  width: 176px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: clamp(0.45rem, 0.8vw, 1rem);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.55rem;
  min-width: max-content;
}

.site-nav a,
.header-cta,
.header-login {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta,
.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 6px;
}

.header-cta {
  color: var(--paper);
  background: var(--brand);
}

.header-login {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.site-header.is-scrolled .header-login {
  color: var(--ink);
  background: var(--soft);
  border-color: var(--line);
}

.header-login:hover,
.header-login:focus-visible,
.header-login[aria-current="page"],
.site-header.is-scrolled .header-login:hover,
.site-header.is-scrolled .header-login:focus-visible,
.site-header.is-scrolled .header-login[aria-current="page"] {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.nav-mobile-actions {
  display: none;
}

.nav-toggle {
  display: none;
}

.language-widget {
  position: fixed;
  top: auto;
  right: 0;
  bottom: 1rem;
  z-index: 36;
  display: grid;
  justify-items: end;
  gap: 0.55rem;
}

.language-widget-toggle,
.language-option {
  border: 0;
  cursor: pointer;
}

.language-widget-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  min-width: 3.35rem;
  padding: 0.45rem 0.55rem;
  color: var(--paper);
  background: linear-gradient(135deg, var(--charcoal), #2f332f);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  box-shadow: var(--shadow);
}

.language-widget-toggle strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.language-flag {
  display: inline-flex;
  flex: none;
  width: 1.62rem;
  height: 1.08rem;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid rgba(20, 24, 28, 0.22);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(20, 24, 28, 0.12);
}

.flag-de {
  background: linear-gradient(to bottom, #111 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

.flag-en {
  background:
    linear-gradient(33deg, transparent 0 42%, #fff 42% 48%, #c8102e 48% 53%, #fff 53% 59%, transparent 59%),
    linear-gradient(147deg, transparent 0 42%, #fff 42% 48%, #c8102e 48% 53%, #fff 53% 59%, transparent 59%),
    linear-gradient(90deg, transparent 0 38%, #fff 38% 62%, transparent 62%),
    linear-gradient(0deg, transparent 0 36%, #fff 36% 64%, transparent 64%),
    linear-gradient(90deg, transparent 0 43%, #c8102e 43% 57%, transparent 57%),
    linear-gradient(0deg, transparent 0 42%, #c8102e 42% 58%, transparent 58%),
    #012169;
}

.flag-pl {
  background: linear-gradient(to bottom, #fff 0 50%, #dc143c 50% 100%);
}

.flag-sk {
  background: linear-gradient(to bottom, #fff 0 33.33%, #0b4ea2 33.33% 66.66%, #ef3340 66.66% 100%);
}

.flag-ru {
  background: linear-gradient(to bottom, #fff 0 33.33%, #0039a6 33.33% 66.66%, #d52b1e 66.66% 100%);
}

.language-widget-panel {
  position: absolute;
  bottom: 0;
  right: calc(100% + 0.6rem);
  display: none;
  min-width: 13.25rem;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.language-widget.is-open .language-widget-panel {
  display: grid;
  gap: 0.35rem;
}

.language-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 2.8rem;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
}

.language-option span:not(.language-flag) {
  display: grid;
  gap: 0.05rem;
}

.language-option strong {
  font-size: 0.88rem;
  font-weight: 950;
}

.language-option small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.is-active {
  color: var(--ink);
  background: var(--soft);
  border-color: var(--line);
  outline: 0;
}

.language-option.is-active {
  box-shadow: inset 3px 0 0 var(--brand);
}

.availability-widget {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 28;
  width: min(21.5rem, calc(100vw - 1.5rem));
  transform: translateY(-50%);
  transition: width 180ms ease;
}

.availability-widget:not(.is-collapsed) {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: calc(100svh - 2rem);
}

.availability-widget.is-collapsed {
  width: 3.35rem;
}

.availability-toggle {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  color: var(--paper);
  background: linear-gradient(135deg, var(--brand) 0%, #d06b08 55%, var(--charcoal) 100%);
  border-radius: 8px 0 0 0;
  box-shadow: var(--shadow);
}

.availability-toggle::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.38) 45%, transparent 68%);
  transform: translateX(-120%);
  animation: availability-sweep 4.6s ease-in-out infinite;
}

.availability-widget:not(.is-collapsed) .availability-toggle {
  position: sticky;
  top: 0;
  z-index: 5;
  border-radius: 8px 0 0 0;
}

.availability-widget:not(.is-collapsed) .availability-toggle::before {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  margin-left: 0.55rem;
  place-items: center;
  content: "×";
  color: var(--paper);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
}

.availability-widget.is-collapsed .availability-toggle {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  min-height: 12.5rem;
  padding: 0.75rem 0.45rem;
  border-radius: 8px 0 0 8px;
}

.availability-toggle span,
.availability-toggle strong {
  position: relative;
  z-index: 1;
  font-weight: 900;
}

.availability-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.availability-toggle span::before {
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  background: #dceee9;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(220, 238, 233, 0.7);
  animation: availability-pulse 1.55s ease-out infinite;
}

.availability-widget.is-collapsed .availability-toggle span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.availability-toggle strong {
  display: inline-grid;
  min-width: 2rem;
  min-height: 2rem;
  place-items: center;
  color: var(--brand);
  background: var(--paper);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(31, 31, 31, 0.08);
}

.availability-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  grid-auto-rows: max-content;
  overflow-y: auto;
  min-height: 0;
  max-height: min(38rem, calc(100svh - 5rem));
  padding: 1rem;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 248, 0.98));
  border: 1px solid var(--line);
  border-top: 0;
  border-right: 0;
  border-radius: 0 0 0 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.availability-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(30, 107, 87, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 107, 87, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 75%);
}

.availability-panel > * {
  position: relative;
  z-index: 1;
}

.availability-widget.is-collapsed .availability-panel {
  display: none;
}

.availability-panel h2 {
  font-size: 1.25rem;
}

.availability-intro {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.availability-live-dot {
  width: 0.58rem;
  height: 0.58rem;
  flex: 0 0 auto;
  background: #dceee9;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(220, 238, 233, 0.78);
  animation: availability-pulse 1.45s ease-out infinite;
}

.availability-list {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  grid-auto-rows: max-content;
  min-height: 0;
  overflow: visible;
}

.availability-item {
  position: relative;
  display: grid;
  gap: 0.45rem;
  overflow: visible;
  padding: 0.72rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.availability-live-card {
  background: rgba(255, 255, 255, 0.93);
  animation: availability-card-in 420ms ease both;
  animation-delay: var(--availability-delay);
}

.availability-live-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: linear-gradient(180deg, var(--brand), var(--green));
}

.availability-item-head {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.availability-item-head div {
  min-width: 0;
}

.availability-item h3 {
  font-size: 1rem;
}

.availability-item p {
  font-size: 0.9rem;
  line-height: 1.45;
}

.availability-signal {
  overflow: hidden;
  height: 0.42rem;
  background: #e4e9ec;
  border-radius: 6px;
}

.availability-signal span {
  display: block;
  width: var(--availability-signal);
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--brand));
  border-radius: 6px;
  animation: availability-signal 2.4s ease-in-out infinite;
}

.availability-signal-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.availability-signal-row strong {
  color: var(--green);
}

.availability-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.availability-meta span {
  padding: 0.25rem 0.4rem;
  color: #114435;
  font-size: 0.74rem;
  font-weight: 900;
  background: #dceee9;
  border-radius: 6px;
}

.availability-item .button {
  min-height: 2.35rem;
  width: 100%;
  margin-top: 0.15rem;
}

@keyframes availability-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 238, 233, 0.72);
    transform: scale(1);
  }

  70% {
    box-shadow: 0 0 0 0.55rem rgba(220, 238, 233, 0);
    transform: scale(1.08);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(220, 238, 233, 0);
    transform: scale(1);
  }
}

@keyframes availability-sweep {
  0%,
  42% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes availability-scan {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes availability-bars {
  0%,
  100% {
    transform: scaleY(0.72);
    opacity: 0.58;
  }

  45% {
    transform: scaleY(1.08);
    opacity: 1;
  }
}

@keyframes availability-signal {
  0%,
  100% {
    filter: saturate(1);
  }

  50% {
    filter: saturate(1.45);
  }
}

@keyframes availability-card-in {
  from {
    opacity: 0;
    transform: translateX(0.6rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes portalFloatPrimary {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -0.45rem, 0);
  }
}

@keyframes portalFloatSecondary {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 0.38rem, 0);
  }
}

@keyframes portalFocusLine {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.82;
  }

  50% {
    transform: translateX(138%);
    opacity: 1;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 88svh;
  padding: 9.5rem max(1.5rem, calc((100% - 1240px) / 2)) 2rem;
  overflow: hidden;
  color: var(--paper);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.18)),
    url("/images/2024/10/20/title01.jpg") center / cover;
  transform: scale(1.03);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 9rem;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
}

.hero-content {
  display: grid;
  gap: 1.6rem;
  max-width: 980px;
  padding-bottom: 2rem;
}

.hero h1,
.hero h2,
.hero p {
  color: var(--paper);
}

.hero-copy {
  max-width: 700px;
  font-size: 1.2rem;
}

.hero-actions,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.25rem;
  font-weight: 850;
  border-radius: 6px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--paper);
  background: var(--brand);
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-ghost {
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.button-ghost:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.button-soft {
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
}

.button-soft:hover {
  color: var(--paper);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.is-hidden {
  display: none !important;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 930px);
  background: rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  overflow: hidden;
}

.hero-proof p {
  display: grid;
  gap: 0.25rem;
  min-height: 7.25rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.hero-proof strong {
  color: var(--paper);
  font-size: 2rem;
  line-height: 1;
}

.hero-proof span {
  align-self: end;
}

.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 58svh;
  padding: 11rem max(1.5rem, calc((100% - 1240px) / 2)) 5rem;
  overflow: hidden;
  color: var(--paper);
  background: var(--charcoal);
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.48) 56%, rgba(0, 0, 0, 0.18)),
    var(--page-image) center / cover;
  transform: scale(1.03);
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 7rem;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.52), transparent);
}

.page-hero-content {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
}

.page-hero h1,
.page-hero h2,
.page-hero p {
  color: var(--paper);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.16rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.signal-strip p {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.25rem;
  padding: 1.5rem 1.3rem;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  border-right: 1px solid var(--line);
}

.signal-strip p:last-child {
  border-right: 0;
}

.action-console {
  background: var(--paper);
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.console-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 17rem;
  padding: 1.25rem;
  color: var(--ink);
  text-align: left;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.console-card:hover,
.console-card:focus-visible {
  transform: translateY(-4px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.console-card span {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
}

.market-system {
  background: linear-gradient(180deg, var(--paper), #f6f8f8);
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: 1.2rem;
  align-items: stretch;
  margin-top: 3rem;
}

.system-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.system-flow article,
.system-panel,
.leadership-grid article,
.availability-standard-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.system-flow article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-height: 13rem;
  padding: 1.25rem;
  overflow: hidden;
}

.system-flow article::after {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--brand);
}

.system-flow span,
.leadership-grid span,
.availability-standard-grid span,
.quality-gates span {
  width: fit-content;
  padding: 0.32rem 0.55rem;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  background: var(--green);
  border-radius: 6px;
}

.system-panel {
  display: grid;
  align-content: space-between;
  gap: 1.2rem;
  padding: 1.25rem;
  color: var(--paper);
  background: linear-gradient(145deg, var(--charcoal), #23352f);
  box-shadow: var(--shadow);
}

.system-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.system-panel-header strong {
  color: var(--brand);
}

.system-panel ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.system-panel li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.system-panel li strong,
.system-panel li span {
  color: var(--paper);
}

.system-panel li span {
  text-align: right;
  color: rgba(255, 255, 255, 0.68);
}

.system-panel .button {
  justify-self: start;
}

.section {
  padding: 7rem max(1.5rem, calc((100% - 1240px) / 2));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 4rem;
}

.section-copy,
.section-heading,
.proof-copy,
.faq-content {
  display: grid;
  gap: 1.15rem;
}

.section-heading > .button {
  width: auto;
  justify-self: start;
}

.portal-dashboard > .section-heading,
.admin-panel > .section-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.portal-dashboard > .section-heading .button,
.admin-panel > .section-heading .button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  justify-self: end;
}

.section-copy > p,
.section-heading > p,
.proof-copy > p {
  max-width: 720px;
  font-size: 1.05rem;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.benefit-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.benefit-list article,
.process-step,
.commitment-list article,
.proof-item,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.benefit-list article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.25rem 1rem;
  padding: 1.2rem;
}

.benefit-list article span,
.process-step span {
  color: var(--brand);
  font-weight: 900;
}

.benefit-list article p {
  grid-column: 2;
}

.portal-demo-stage {
  position: relative;
  align-self: center;
  justify-self: end;
  width: min(100%, 560px);
  min-height: 545px;
  isolation: isolate;
}

.portal-demo-stage::before {
  content: "";
  position: absolute;
  inset: 3.4rem 1.2rem 2rem 2.6rem;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 24, 28, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 24, 28, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  border-radius: 8px;
  opacity: 0.7;
}

.portal-demo-card {
  position: absolute;
  display: grid;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(20, 24, 28, 0.12);
  transition: box-shadow 220ms ease, filter 220ms ease;
}

.portal-demo-card::after {
  content: "";
  position: absolute;
  top: 2.62rem;
  left: 0;
  width: 42%;
  height: 3px;
  background: var(--brand);
  animation: portalFocusLine 4.8s ease-in-out infinite;
}

.portal-demo-card-primary {
  top: 0;
  right: 0;
  z-index: 2;
  width: min(100%, 500px);
  animation: portalFloatPrimary 7s ease-in-out infinite;
}

.portal-demo-card-secondary {
  top: 18.4rem;
  left: 0;
  z-index: 1;
  width: min(82%, 430px);
  animation: portalFloatSecondary 7s ease-in-out infinite;
}

.portal-demo-card:hover {
  filter: saturate(1.04);
  box-shadow: 0 28px 68px rgba(20, 24, 28, 0.16);
}

.portal-demo-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.7rem;
  padding: 0.7rem 0.82rem;
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.portal-demo-topline strong {
  color: var(--brand);
  font-size: 0.68rem;
}

.portal-demo-card img {
  display: block;
  width: 100%;
  height: clamp(145px, 14vw, 190px);
  object-fit: cover;
  object-position: top left;
}

.portal-demo-card-secondary img {
  height: clamp(126px, 12vw, 160px);
}

.portal-demo-card figcaption {
  padding: 0.78rem 0.9rem;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.45;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.feature-image {
  position: relative;
  margin: 0;
}

.feature-image img,
.commitment-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 17rem;
  padding: 1rem;
  color: var(--paper);
  font-weight: 850;
  background: rgba(31, 31, 31, 0.82);
  border-radius: 8px;
}

.contract-module {
  scroll-margin-top: 7rem;
  background: linear-gradient(180deg, var(--soft), var(--paper));
}

.contract-workbench {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.88fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 3rem;
}

.contract-paper,
.contract-control-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.contract-paper {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 34rem;
  overflow: hidden;
  padding: 1.2rem;
  background:
    linear-gradient(90deg, rgb(246 142 19 / 8%), transparent 32%),
    linear-gradient(180deg, transparent 0 2.05rem, rgb(69 83 94 / 7%) 2.05rem 2.1rem),
    #fff;
  background-size: auto, 100% 2.1rem, auto;
  box-shadow: 0 22px 54px rgb(20 24 28 / 10%);
}

.contract-paper::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.42rem;
  height: 100%;
  content: "";
  background: var(--brand);
}

.contract-paper-head {
  display: grid;
  gap: 0.38rem;
  padding: 0.5rem 0 1rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.contract-paper-head span,
.contract-detail > span {
  justify-self: center;
  width: fit-content;
  padding: 0.34rem 0.55rem;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  background: var(--green);
  border-radius: 6px;
}

.contract-detail > span {
  justify-self: start;
  background: var(--brand);
}

.contract-paper-head strong {
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.contract-paper-head p {
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 850;
}

.contract-paper-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.contract-paper-meta span {
  min-height: 2.8rem;
  padding: 0.72rem 0.75rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgb(244 246 248 / 84%);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contract-clauses {
  display: grid;
  gap: 0.72rem;
}

.contract-clause {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  min-height: 4.65rem;
  padding: 0.85rem;
  color: var(--ink);
  text-align: left;
  background: rgb(255 255 255 / 86%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgb(20 24 28 / 4%);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.contract-clause:hover,
.contract-clause:focus-visible,
.contract-clause.is-active {
  background: #fff;
  border-color: rgb(246 142 19 / 58%);
  box-shadow: 0 18px 38px rgb(246 142 19 / 14%);
}

.contract-clause.is-active {
  transform: translateX(0.2rem);
}

.contract-clause-number {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  color: var(--paper);
  font-weight: 950;
  background: var(--charcoal);
  border-radius: 50%;
}

.contract-clause.is-active .contract-clause-number {
  background: var(--brand);
}

.contract-clause-copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.contract-clause-copy strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.15;
}

.contract-clause-copy small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
}

.contract-signatures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgb(69 83 94 / 32%);
}

.contract-signatures span {
  position: relative;
  padding-top: 1.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contract-signatures span::before {
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 9rem);
  height: 1px;
  content: "";
  background: rgb(69 83 94 / 42%);
}

.contract-control-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1rem;
  box-shadow: 0 18px 42px rgb(20 24 28 / 8%);
}

.contract-detail {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  background: linear-gradient(180deg, #fff, #f7f9f9);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contract-detail h3 {
  font-size: 1.65rem;
}

.contract-responsibilities {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.contract-responsibilities div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.34fr) minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.contract-responsibilities dt {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contract-responsibilities dd {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.contract-checks {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contract-checks li {
  position: relative;
  padding: 0.72rem 0.8rem 0.72rem 2.15rem;
  color: var(--steel);
  font-weight: 850;
  line-height: 1.45;
  background: rgb(30 107 87 / 8%);
  border: 1px solid rgb(30 107 87 / 16%);
  border-radius: 8px;
}

.contract-checks li::before {
  position: absolute;
  top: 0.88rem;
  left: 0.85rem;
  width: 0.56rem;
  height: 0.56rem;
  content: "";
  background: var(--brand);
  border-radius: 50%;
}

.process-band {
  color: var(--paper);
  background: var(--charcoal);
}

.process-band h2,
.process-band h3,
.process-band p {
  color: var(--paper);
}

.process-band .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.process-step {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 18rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.process-step p {
  color: rgba(255, 255, 255, 0.72);
}

.trust-section {
  background: var(--paper);
}

.trust-section-soft,
.compliance-section {
  background: var(--soft);
}

.trust-grid,
.compliance-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.trust-card,
.compliance-item {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 17rem;
  padding: 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-card span {
  width: fit-content;
  padding: 0.35rem 0.58rem;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--green);
  border-radius: 6px;
}

.trust-card h3,
.compliance-item h3 {
  font-size: 1.12rem;
}

.trust-note {
  max-width: 860px;
  margin-top: 1.4rem;
  padding: 1rem 1.15rem;
  color: var(--steel);
  background: rgba(30, 107, 87, 0.08);
  border: 1px solid rgba(30, 107, 87, 0.18);
  border-radius: 8px;
  font-weight: 800;
}

.leadership-proof,
.availability-standard {
  background: var(--soft);
}

.leadership-grid,
.availability-standard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

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

.leadership-grid article,
.availability-standard-grid article {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 16rem;
  padding: 1.35rem;
}

.leadership-grid article:nth-child(even),
.availability-standard-grid article:nth-child(2) {
  background: #fff8ee;
  border-color: rgba(246, 142, 19, 0.3);
}

.quality-gate-band {
  background: var(--charcoal);
}

.quality-gate-band h2,
.quality-gate-band p {
  color: var(--paper);
}

.quality-gate-band .section-heading > p {
  color: rgba(255, 255, 255, 0.72);
}

.quality-gates {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.quality-gates li {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 18rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.07);
}

.quality-gates strong {
  color: var(--paper);
  font-size: 1.05rem;
}

.quality-gates p {
  color: rgba(255, 255, 255, 0.72);
}

.commitments {
  background: var(--soft);
  scroll-margin-top: 6rem;
}

.commitment-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  margin-top: 3rem;
}

.commitment-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.commitment-list article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.9rem;
  overflow: hidden;
  min-height: 13.75rem;
  padding: 1.3rem;
}

.commitment-list article::before {
  width: 2.4rem;
  height: 3px;
  content: "";
  background: var(--brand);
  border-radius: 999px;
}

.commitment-list article::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(246, 142, 19, 0.12);
  font-size: 4.6rem;
  font-weight: 950;
  line-height: 1;
  content: "0" counter(commitment);
}

.commitment-list {
  counter-reset: commitment;
}

.commitment-list article {
  counter-increment: commitment;
}

.commitment-list h3,
.commitment-list p {
  position: relative;
  z-index: 1;
}

.trades-band {
  background: var(--paper);
}

.trade-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.trade-overview article {
  min-height: 8rem;
  padding: 1.2rem;
  color: var(--paper);
  background: var(--charcoal);
  border-radius: 8px;
}

.trade-overview span {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.trade-overview p {
  margin-top: 1.8rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 850;
}

.trade-assistant {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(31, 31, 31, 0.98), rgba(45, 44, 45, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trade-assistant-copy,
.trade-assistant-panel {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-width: 0;
}

.trade-assistant h3,
.trade-assistant p,
.trade-assistant label span {
  color: var(--paper);
}

.trade-assistant-copy p:not(.eyebrow),
.trade-assistant-result p,
.trade-assistant .form-status {
  color: rgba(255, 255, 255, 0.72);
}

.trade-assistant textarea {
  min-height: 8.5rem;
  background: rgba(255, 255, 255, 0.96);
}

.trade-assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trade-assistant-actions .button.is-listening {
  color: var(--paper);
  background: var(--green);
}

.trade-assistant-result {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.trade-assistant-result strong {
  color: var(--paper);
  font-weight: 950;
}

.trade-assistant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.trade-assistant-chips span {
  padding: 0.35rem 0.55rem;
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 850;
  background: rgba(246, 142, 19, 0.28);
  border: 1px solid rgba(246, 142, 19, 0.42);
  border-radius: 6px;
}

.trade-tools {
  position: sticky;
  top: 6.5rem;
  z-index: 11;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, 0.45fr) auto;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trade-reset {
  align-self: end;
  min-height: 3.3rem;
  white-space: nowrap;
}

.trade-filter-state {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.trade-filter-state span {
  padding: 0.4rem 0.6rem;
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 850;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.trade-count {
  display: inline-flex;
  width: fit-content;
  margin-top: 1.2rem;
  padding: 0.45rem 0.7rem;
  color: var(--charcoal);
  background: #fff8ee;
  border: 1px solid rgba(246, 142, 19, 0.32);
  border-radius: 6px;
  font-weight: 900;
}

.trade-cart {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--charcoal);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trade-cart h3,
.trade-cart p {
  color: var(--paper);
}

.trade-cart p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.trade-cart-list {
  display: grid;
  gap: 0.5rem;
}

.trade-cart-list > span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.trade-cart-pill {
  min-height: 2.35rem;
  padding: 0.35rem 0.55rem;
  color: var(--paper);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  cursor: pointer;
}

.trade-cart-pill::after {
  content: " entfernen";
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.trade-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(6.5rem, 0.32fr) auto;
  gap: 0.55rem;
  align-items: end;
  min-width: 0;
  padding: 0.55rem;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
}

.trade-cart-item div,
.trade-cart-item label {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.trade-cart-item strong,
.trade-cart-item label span {
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 900;
}

.trade-cart-item div span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trade-cart-item input {
  min-height: 2.4rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.9rem;
}

.trade-cart-remove {
  min-height: 2.4rem;
  padding: 0 0.62rem;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 900;
}

.trade-bundle-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(150px, 0.42fr));
  gap: 0.7rem;
  align-items: end;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trade-bundle-form[hidden] {
  display: none;
}

.trade-bundle-form label {
  display: grid;
  gap: 0.34rem;
}

.trade-bundle-form label span {
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
}

.trade-bundle-form input {
  min-height: 2.75rem;
}

.trade-cart-status {
  grid-column: 1 / -1;
  min-height: 1.2rem;
  margin: 0;
  color: #ffd7aa;
  font-size: 0.82rem;
  font-weight: 850;
}

.trade-cart-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.trade-cart-actions .button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.trade-selection-dock {
  position: fixed;
  right: max(1rem, calc((100vw - 1040px) / 2));
  bottom: 1rem;
  left: max(1rem, calc((100vw - 1040px) / 2));
  z-index: 35;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 4.8rem;
  padding: 0.85rem;
  color: var(--paper);
  background: rgba(31, 31, 31, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(20, 24, 28, 0.28);
  backdrop-filter: blur(16px);
}

.trade-selection-dock[hidden] {
  display: none;
}

.trade-selection-dock-copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.trade-selection-dock-copy strong,
.trade-selection-dock-copy span {
  overflow: hidden;
  color: var(--paper);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trade-selection-dock-copy strong {
  font-size: 1.05rem;
  font-weight: 950;
}

.trade-selection-dock-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.trade-selection-dock-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.trade-selection-dock-actions .button {
  min-height: 2.75rem;
}

.trade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.trade-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 100%;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(20, 24, 28, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.trade-card[hidden] {
  display: none;
}

.trade-card:hover,
.trade-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(246, 142, 19, 0.48);
  box-shadow: 0 18px 44px rgba(20, 24, 28, 0.12);
}

.trade-card.is-selected {
  border-color: rgba(246, 142, 19, 0.82);
  box-shadow: 0 18px 44px rgba(246, 142, 19, 0.18);
}

.trade-visual {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  overflow: hidden;
  min-height: 5.35rem;
  padding: 0.85rem;
  background:
    radial-gradient(circle at 12% 50%, rgba(246, 142, 19, 0.12), transparent 28%),
    linear-gradient(135deg, #f5f6f7, #ffffff);
  border-bottom: 1px solid var(--line);
}

.trade-visual::before,
.trade-visual::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.trade-visual::before {
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(246, 142, 19, 0.1), rgba(246, 142, 19, 0.03) 38%, transparent 72%);
  opacity: 1;
}

.trade-visual::after {
  inset: auto 0 0;
  z-index: 2;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), rgba(246, 142, 19, 0.18), transparent);
}

.trade-card img {
  display: none;
}

.trade-symbol {
  position: relative;
  z-index: 3;
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--brand);
  background: #fff8ee;
  border: 1px solid rgba(246, 142, 19, 0.26);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 24, 28, 0.07);
}

.trade-symbol svg {
  width: 2.15rem;
  height: 2.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trade-card:hover .trade-symbol,
.trade-card:focus-within .trade-symbol {
  color: var(--brand-dark);
  background: #fff4e5;
}

.trade-visual figcaption {
  display: none;
}

.trade-card-body {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.2rem;
}

.trade-letter {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 900;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.trade-card h3 {
  font-size: 1.35rem;
}

.trade-card p {
  color: var(--muted);
}

.trade-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
}

.trade-card dl div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.6rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.trade-card dt,
.trade-card dd {
  margin: 0;
}

.trade-card dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.trade-card dd {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.card-action {
  justify-self: start;
  width: fit-content;
  min-height: 2.5rem;
  margin-top: 0.25rem;
  padding: 0.35rem 0.55rem;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--charcoal);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.card-action:focus-visible {
  outline: 3px solid rgba(246, 142, 19, 0.35);
  outline-offset: 3px;
}

.trade-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.trade-card-actions .card-action {
  margin-top: 0;
}

.card-action-secondary {
  color: var(--charcoal);
  background: var(--soft);
  border: 1px solid var(--line);
}

.trade-card.is-selected .trade-select-action {
  background: var(--green);
}

.trade-card.is-previewed {
  border-color: rgba(20, 24, 28, 0.34);
}

.trade-empty {
  margin-top: 1.2rem;
  padding: 1.4rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-dock {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  justify-items: end;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 22, 0.58);
}

.detail-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1.2rem;
  width: min(34rem, calc(100vw - 1rem));
  height: 100%;
  padding: 2rem;
  overflow: auto;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.detail-panel h2 {
  font-size: 2.45rem;
}

.detail-close {
  justify-self: end;
  min-height: 2.6rem;
  padding: 0 0.85rem;
  color: var(--ink);
  font-weight: 900;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail-meta span {
  padding: 0.45rem 0.65rem;
  color: #114435;
  font-weight: 900;
  background: #dceee9;
  border-radius: 6px;
}

.detail-panel ul {
  display: grid;
  gap: 0.65rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-panel li {
  padding: 0.8rem;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.estimator-section {
  background: var(--soft);
}

.estimator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.estimator-form,
.estimate-panel,
.radar-tools,
.team-card,
.document-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.estimator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.3rem;
  padding: 0.9rem;
  background: #eef3f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkbox-line input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.checkbox-line span {
  font-weight: 850;
}

.estimate-panel {
  display: grid;
  align-content: start;
  gap: 1.2rem;
  padding: 1.5rem;
  color: var(--paper);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.estimate-panel h3 {
  color: var(--paper);
  font-size: 2.4rem;
}

.estimate-panel p,
.estimate-panel dt,
.estimate-panel dd {
  color: rgba(255, 255, 255, 0.78);
}

.estimate-panel dl {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.estimate-panel dl div {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.estimate-panel dt,
.estimate-panel dd {
  margin: 0;
}

.estimate-panel dt {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-radar {
  background: var(--paper);
}

.radar-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  padding: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.team-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.25rem;
  min-height: 23rem;
}

.team-card header {
  display: grid;
  gap: 0.45rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.team-card .team-status {
  width: fit-content;
  padding: 0.3rem 0.55rem;
  color: #114435;
  font-size: 0.78rem;
  font-weight: 900;
  background: #dceee9;
  border-radius: 6px;
}

.team-card ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  line-height: 1.45;
}

.team-card li strong {
  color: var(--ink);
}

.team-card .button {
  align-self: end;
  width: 100%;
}

.project-board {
  background: #f7f8f9;
}

.project-page .page-hero {
  min-height: 48svh;
  padding-bottom: 3.6rem;
}

.project-page .signal-strip p {
  min-height: 4.4rem;
  padding-block: 1.1rem;
}

.project-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--charcoal);
}

.project-overview article {
  display: grid;
  gap: 0.4rem;
  min-height: 8rem;
  padding: 1.5rem max(1rem, calc((100vw - 1240px) / 8));
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.project-overview article:last-child {
  border-right: 0;
}

.project-overview span {
  color: var(--paper);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.project-overview p {
  align-self: end;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 850;
  line-height: 1.35;
}

.project-tools {
  position: sticky;
  top: 6.5rem;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, 0.8fr)) auto;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.project-reset {
  align-self: end;
  min-height: 3.3rem;
  white-space: nowrap;
}

.project-filter-state {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.project-filter-state span {
  padding: 0.4rem 0.6rem;
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 850;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.project-count {
  display: inline-flex;
  width: fit-content;
  margin-top: 1.4rem;
  padding: 0.45rem 0.7rem;
  color: var(--charcoal);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(360px, 1.2fr) minmax(220px, 0.55fr);
  grid-template-areas:
    "project-head project-meta project-side"
    "project-head project-meta project-action";
  gap: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20, 24, 28, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 142, 19, 0.44);
  box-shadow: 0 16px 38px rgba(20, 24, 28, 0.12);
}

.project-card.is-selected {
  border-color: rgba(246, 142, 19, 0.85);
  box-shadow: 0 18px 44px rgba(246, 142, 19, 0.2);
}

.project-card header {
  grid-area: project-head;
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding: 1.35rem;
  background: var(--soft);
  border-right: 1px solid var(--line);
}

.project-status,
.project-card header > span {
  width: fit-content;
  padding: 0.3rem 0.55rem;
  color: #674200;
  font-size: 0.78rem;
  font-weight: 900;
  background: #fff1d6;
  border-radius: 6px;
}

.project-status.is-fast {
  color: #114435;
  background: #dceee9;
}

.project-status.is-open {
  color: #674200;
  background: #fff1d6;
}

.project-card header h3 {
  max-width: 100%;
  font-size: 1.55rem;
}

.project-card header p {
  color: var(--charcoal);
  font-weight: 850;
}

.project-card dl {
  grid-area: project-meta;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 0.75rem;
  margin: 0;
  padding: 1.35rem;
}

.project-card dl div {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
  padding: 0.75rem;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  line-height: 1.45;
}

.project-card dl div:nth-child(-n + 2) {
  background: #fff8ee;
  border-color: rgba(246, 142, 19, 0.32);
}

.project-card dt,
.project-card dd {
  margin: 0;
}

.project-card dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.project-card dd {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.project-tags {
  grid-area: project-side;
  display: flex;
  align-content: start;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 1.35rem 1.35rem 0;
  border-left: 1px solid var(--line);
}

.project-tags span {
  padding: 0.35rem 0.55rem;
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 850;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.project-card .button {
  grid-area: project-action;
  align-self: end;
  justify-self: stretch;
  width: auto;
  margin: 0 1.35rem 1.35rem;
}

.project-card.is-selected .button {
  background: var(--green);
}

.project-empty-copy {
  grid-area: project-meta;
  padding: 1.35rem;
}

.project-timeline {
  grid-area: project-timeline;
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  padding: 1rem 1.35rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.project-timeline-head,
.project-timeline-dates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.project-timeline-head span,
.project-timeline-dates span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-timeline-head strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
  text-align: right;
}

.project-timeline-track {
  position: relative;
  height: 0.7rem;
  overflow: hidden;
  background: #e8edf0;
  border-radius: 999px;
}

.project-timeline-track span {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 0.35rem;
  background: linear-gradient(90deg, var(--green), var(--brand));
  border-radius: inherit;
}

.project-timeline.is-upcoming .project-timeline-track span {
  background: var(--brand);
}

.project-timeline.is-complete .project-timeline-track span {
  background: var(--green);
}

.project-timeline.is-open .project-timeline-track span {
  background: var(--muted);
}

.documents-section {
  background: var(--soft);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}

.document-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 19rem;
  padding: 1.35rem;
}

.document-card-feature {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: auto;
  column-gap: 1.4rem;
  background:
    linear-gradient(90deg, rgb(246 142 19 / 10%), transparent 44%),
    var(--paper);
}

.document-card-feature > span,
.document-card-feature > h3,
.document-card-feature > p {
  grid-column: 1;
}

.document-actions {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 3;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-self: center;
  justify-self: end;
}

.document-card > span {
  width: fit-content;
  padding: 0.35rem 0.6rem;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--brand);
  border-radius: 6px;
}

.document-card .button {
  align-self: end;
  width: fit-content;
}

.document-actions .button {
  align-self: center;
}

.document-detail-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 7rem;
  background:
    linear-gradient(180deg, #f7f9fa 0%, var(--paper) 58%),
    var(--paper);
}

.document-detail-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgb(69 83 94 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(69 83 94 / 6%) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 58%), transparent 66%);
}

.document-page .signal-strip {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 1240px);
  margin: -2.625rem auto 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgb(20 24 28 / 18%);
}

.document-page .signal-strip p {
  min-height: 5.5rem;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgb(45 44 45 / 96%), rgb(35 53 47 / 96%)),
    var(--charcoal);
  border-right-color: rgb(255 255 255 / 14%);
}

.document-page .signal-strip p::before {
  width: 0.46rem;
  height: 0.46rem;
  margin-right: 0.5rem;
  content: "";
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 0.35rem rgb(246 142 19 / 14%);
}

.document-page .document-detail-section .section-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.32fr);
  gap: 1.2rem;
  align-items: end;
  max-width: none;
  min-height: clamp(20rem, 36vw, 33rem);
  padding: clamp(1.35rem, 3vw, 2rem);
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgb(31 31 31 / 96%), rgb(35 53 47 / 96%)),
    var(--charcoal);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
  box-shadow: 0 22px 64px rgb(20 24 28 / 16%);
}

.document-page .document-detail-section .section-heading::after {
  position: absolute;
  right: clamp(1.35rem, 3vw, 2rem);
  bottom: clamp(1.35rem, 3vw, 2rem);
  width: min(38%, 22rem);
  height: 0.32rem;
  content: "";
  background: linear-gradient(90deg, var(--brand), rgb(246 142 19 / 0));
}

.document-page .document-detail-section .section-heading .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.document-page .document-detail-section .section-heading h2 {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
}

.document-page .document-detail-section .section-heading h2,
.document-page .document-detail-section .section-heading p {
  color: var(--paper);
}

.document-page .document-detail-section .section-heading > p:not(.eyebrow) {
  grid-column: 1;
  grid-row: 2;
  color: rgb(255 255 255 / 76%);
}

.document-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.38fr);
  gap: 1.35rem;
  align-items: start;
  margin-top: 3rem;
}

.document-detail-main {
  display: grid;
  gap: 1rem;
  counter-reset: document-step;
}

.document-info-card,
.document-side-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.document-info-card {
  position: relative;
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 0.55rem 1.15rem;
  min-height: 8.5rem;
  padding: 1.35rem;
  overflow: hidden;
  box-shadow: 0 12px 34px rgb(20 24 28 / 5%);
}

.document-info-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.32rem;
  content: "";
  background: var(--brand);
}

.document-info-card span {
  display: inline-grid;
  grid-row: 1 / span 2;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  color: var(--paper);
  font-weight: 950;
  background: linear-gradient(135deg, var(--brand), #d06b08);
  border-radius: 6px;
  box-shadow: 0 12px 26px rgb(246 142 19 / 24%);
}

.document-info-card h3,
.document-info-card p {
  grid-column: 2;
}

.document-info-card h3 {
  font-size: 1.28rem;
}

.document-side-panel {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgb(246 142 19 / 18%), transparent 42%),
    linear-gradient(145deg, var(--charcoal), #23352f);
  border-color: rgb(255 255 255 / 13%);
  box-shadow: 0 24px 58px rgb(20 24 28 / 18%);
}

.document-side-panel .eyebrow,
.document-side-panel h3 {
  color: var(--paper);
}

.document-side-panel h3 {
  font-size: 1.55rem;
}

.document-point-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.document-point-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgb(255 255 255 / 14%);
}

.document-point-list strong {
  color: var(--paper);
  font-size: 0.92rem;
}

.document-point-list span {
  color: rgb(255 255 255 / 72%);
  font-size: 0.92rem;
  line-height: 1.45;
}

.proof-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 4rem;
  align-items: center;
  background: linear-gradient(90deg, var(--green), var(--steel));
}

.proof-section h2,
.proof-section p,
.proof-item span {
  color: var(--paper);
}

.proof-copy p,
.proof-item p {
  color: rgba(255, 255, 255, 0.76);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-item {
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  min-height: 16rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.proof-item span {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: stretch;
  background: var(--soft);
}

.faq-visual {
  min-height: 37rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.48)),
    url("/images/2024/10/21/faq-bg.jpg") center / cover;
  border-radius: 8px;
}

.portal-hero {
  min-height: 46svh;
  padding-bottom: 3rem;
  background:
    linear-gradient(135deg, rgba(17, 20, 22, 0.82), rgba(17, 20, 22, 0.58)),
    url("/images/2024/10/19/wofur-wir-stehen.jpg") center / cover;
}

.portal-section {
  background: var(--soft);
}

.portal-auth-shell {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.6rem);
}

.portal-auth-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(1rem, 3vw, 3rem);
}

.portal-auth-intro > *,
.portal-card,
.portal-card-header,
.portal-form-fields,
.portal-register-form {
  min-width: 0;
}

.portal-auth-intro h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.portal-auth-intro > p {
  max-width: 620px;
  font-size: 1.02rem;
}

.portal-login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.portal-card,
.portal-empty {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.3rem, 2vw, 1.8rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20, 24, 28, 0.06);
}

.portal-login-card {
  align-content: start;
  min-height: 100%;
}

.portal-card-header {
  display: grid;
  gap: 0.65rem;
}

.portal-card-header h2 {
  max-width: none;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  line-height: 1.08;
  overflow-wrap: break-word;
}

.portal-card-header p:not(.eyebrow) {
  max-width: 42rem;
  font-size: 0.98rem;
}

.portal-form-fields,
.portal-register-form {
  display: grid;
  gap: 1rem;
}

.portal-login-card .button,
.portal-register-card .button {
  width: 100%;
}

.portal-login-card .portal-hint {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.portal-register-card {
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 2rem);
}

.portal-success-modal {
  width: min(560px, calc(100vw - 2rem));
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.portal-success-modal:not([open]) {
  display: none;
}

.portal-success-modal::backdrop {
  background: rgba(20, 24, 28, 0.68);
  backdrop-filter: blur(4px);
}

.portal-success-panel {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(20, 24, 28, 0.35);
}

.portal-success-panel h2 {
  font-size: clamp(1.7rem, 4vw, 2.25rem);
}

.portal-success-panel .button {
  justify-self: start;
  min-width: 11rem;
}

.portal-card label,
.admin-create-form label,
.admin-create-form input,
.admin-create-form select,
.admin-edit-card label,
.admin-row select,
.admin-workflow-card label {
  display: grid;
  gap: 0.35rem;
}

.portal-hint {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.portal-dashboard,
.admin-panel {
  display: grid;
  gap: 1.4rem;
}

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

.portal-summary article {
  min-height: 8rem;
  padding: 1.2rem;
  color: var(--paper);
  background: var(--charcoal);
  border-radius: 8px;
}

.portal-summary span {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.1;
}

.portal-summary p {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 850;
}

.portal-list,
.admin-list,
.admin-edit-grid {
  display: grid;
  gap: 1rem;
}

.portal-table-section {
  display: grid;
  gap: 1rem;
  padding: 1.05rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20, 24, 28, 0.05);
}

.portal-table-heading {
  display: grid;
  gap: 0.25rem;
  max-width: 820px;
}

.portal-table-heading h3 {
  font-size: 1.35rem;
}

.portal-table-heading p:last-child {
  color: var(--muted);
  font-weight: 750;
}

.portal-table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.portal-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
}

.portal-table th,
.portal-table td {
  padding: 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.portal-table th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  background: var(--soft);
}

.portal-table tr:last-child td {
  border-bottom: 0;
}

.portal-table td strong,
.portal-table td span {
  display: block;
}

.portal-table td strong {
  color: var(--ink);
  font-weight: 950;
}

.portal-table td span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.portal-status-badge {
  display: inline-flex !important;
  width: fit-content;
  padding: 0.35rem 0.55rem;
  color: #6f4517 !important;
  background: #fff0da;
  border: 1px solid rgba(246, 142, 19, 0.32);
  border-radius: 6px;
}

.portal-status-badge.is-accepted {
  color: #114435 !important;
  background: #dceee9;
  border-color: rgba(17, 68, 53, 0.18);
}

.portal-project-details summary {
  color: var(--brand-dark);
  font-weight: 950;
  cursor: pointer;
}

.portal-project-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  min-width: 20rem;
  margin-top: 0.65rem;
}

.portal-project-detail-grid div {
  padding: 0.65rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.portal-project-detail-grid .span-2 {
  grid-column: 1 / -1;
}

.portal-project-detail-grid dt,
.portal-project-detail-grid dd {
  margin: 0;
}

.portal-project-detail-grid dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-project-detail-grid dd {
  margin-top: 0.2rem;
  color: var(--ink);
  font-weight: 800;
}

.portal-item {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.portal-item.is-escalated {
  border-color: rgba(194, 57, 52, 0.48);
  box-shadow: 0 16px 38px rgba(194, 57, 52, 0.12);
}

.portal-dashboard-intro {
  border-color: rgba(246, 142, 19, 0.32);
}

.portal-item-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.portal-item header span {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.55rem;
  color: #114435;
  font-size: 0.78rem;
  font-weight: 900;
  background: #dceee9;
  border-radius: 6px;
}

.portal-item.is-escalated header span {
  color: var(--paper);
  background: #c23934;
}

.portal-item dl,
.admin-edit-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.portal-item dl div {
  padding: 0.75rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.portal-item dt,
.portal-item dd {
  margin: 0;
}

.portal-item dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.portal-item dd {
  color: var(--ink);
  font-weight: 900;
}

.portal-escalation-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: #fff7ed;
  border: 1px solid rgba(246, 142, 19, 0.34);
  border-radius: 8px;
}

.portal-escalation-panel strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.portal-escalation-panel p {
  margin-top: 0.25rem;
  color: var(--charcoal);
}

.portal-escalation-form {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 0.8rem;
}

.portal-escalation-form textarea {
  min-height: 7rem;
}

.portal-escalation-form .button {
  width: fit-content;
}

.portal-escalation-locked,
.customer-escalation-locked {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
  padding: 0.72rem 0.78rem;
  color: var(--admin-text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(69, 83, 94, 0.28);
  border-radius: 8px;
}

.portal-escalation-locked strong,
.customer-escalation-locked strong {
  color: var(--admin-text);
  font-size: 0.86rem;
  font-weight: 950;
}

.portal-escalation-locked span,
.customer-escalation-locked span {
  color: var(--admin-dim);
  font-size: 0.8rem;
  font-weight: 780;
  line-height: 1.42;
}

.admin-section {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-section[hidden] {
  display: none;
}

.admin-workspace {
  display: grid;
  grid-template-columns: minmax(17rem, 18.5rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  scroll-margin-top: 7rem;
}

.admin-sidebar {
  position: sticky;
  top: 5.75rem;
}

.admin-area-tabs {
  display: grid;
  gap: 1rem;
}

.admin-nav-group {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 248, 0.94));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(20, 24, 28, 0.06);
}

.admin-nav-label {
  margin: 0 0 0.1rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.admin-stage {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.admin-area-tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 0;
  padding: 0.9rem 0.95rem;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.admin-area-tab:hover,
.admin-area-tab:focus-visible,
.admin-area-tab.is-active {
  border-color: rgba(246, 142, 19, 0.56);
  box-shadow: 0 10px 24px rgba(20, 24, 28, 0.08);
}

.admin-area-tab.is-active {
  transform: translateX(4px);
  background: linear-gradient(135deg, rgba(246, 142, 19, 0.14), rgba(255, 255, 255, 0.98));
}

.admin-area-tab strong {
  display: inline-grid;
  place-items: center;
  min-width: 2.3rem;
  height: 2.3rem;
  padding-inline: 0.45rem;
  color: var(--paper);
  font-size: 0.92rem;
  background: var(--brand);
  border-radius: 999px;
}

.admin-area-tab.admin-area-tab-critical strong {
  background: #c23934;
}

.admin-area-tab span {
  line-height: 1.18;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 0.35fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-row div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.admin-row strong,
.admin-row span,
.admin-row small {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.admin-row span,
.admin-row small {
  color: var(--muted);
  font-weight: 750;
}

.admin-profile-row {
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.admin-profile-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 0.28fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
}

.admin-profile-row:has(.admin-profile-toggle[aria-expanded="true"]) {
  border-color: rgb(15 92 118 / 22%);
  box-shadow: 0 18px 44px rgb(17 33 48 / 8%);
}

.admin-profile-row:has(.admin-profile-toggle[aria-expanded="true"]) .admin-profile-head {
  background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
  border-bottom: 1px solid var(--line);
}

.admin-profile-main {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.admin-profile-main .quality-score-badge {
  margin-top: 0.18rem;
}

.admin-profile-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--admin-text);
  background: var(--paper);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.admin-profile-toggle:hover,
.admin-profile-toggle:focus-visible,
.admin-profile-toggle[aria-expanded="true"] {
  color: var(--paper);
  background: var(--brand);
  border-color: var(--brand);
}

.admin-profile-details {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  background: #f6f8fa;
}

.admin-profile-insight-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.34fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0.75rem;
}

.admin-profile-insight-grid > .customer-rating-panel,
.admin-profile-insight-grid > .subcontractor-quality-panel {
  grid-template-columns: 1fr;
  align-content: start;
  height: 100%;
  margin: 0;
  padding: 0.95rem;
  background: #fff;
  border-color: rgb(21 36 50 / 10%);
}

.admin-profile-workbench {
  display: grid;
  gap: 0.72rem;
  min-width: 0;
  padding: 0.78rem;
  background: #ffffff;
  border: 1px solid rgb(21 36 50 / 10%);
  border-radius: 8px;
}

.admin-profile-workbench-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.42fr);
  gap: 0.72rem;
  align-items: start;
}

.admin-profile-workbench-head > div:first-child {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.admin-profile-workbench-head h4 {
  margin: 0;
  color: var(--admin-text);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.16;
}

.admin-profile-workbench-head p:last-child {
  margin: 0;
  color: var(--admin-dim);
  font-size: 0.8rem;
  font-weight: 780;
  line-height: 1.42;
}

.admin-profile-project-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.38rem;
}

.admin-profile-project-stats article {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  padding: 0.54rem;
  background: var(--admin-panel-muted);
  border: 1px solid var(--admin-border);
  border-radius: 7px;
}

.admin-profile-project-stats span {
  color: var(--admin-dim);
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1.18;
  text-transform: uppercase;
}

.admin-profile-project-stats strong {
  color: var(--admin-text);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1;
}

.admin-profile-project-list {
  display: grid;
  gap: 0.45rem;
}

.admin-profile-project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.34fr);
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
  padding: 0.65rem;
  background: var(--admin-panel-muted);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.admin-profile-project-title,
.admin-profile-project-meta {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.admin-profile-project-title strong {
  color: var(--admin-text);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.18;
}

.admin-profile-project-title small,
.admin-profile-project-meta small {
  color: var(--admin-dim);
  font-size: 0.74rem;
  font-weight: 780;
  line-height: 1.35;
}

.admin-profile-project-meta {
  justify-items: end;
  text-align: right;
}

.admin-profile-project-empty {
  padding: 0.78rem;
  background: var(--admin-panel-muted);
  border-color: var(--admin-border);
  box-shadow: none;
}

.admin-profile-request-strip {
  display: grid;
  gap: 0.18rem;
  padding: 0.62rem 0.68rem;
  color: #824500;
  background: #fff4e4;
  border: 1px solid rgb(246 142 19 / 28%);
  border-radius: 8px;
}

.admin-profile-request-strip strong {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 950;
}

.admin-profile-request-strip span {
  color: inherit;
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.35;
}

.admin-profile-data-panel {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.admin-profile-data-panel summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.78rem 0.85rem;
  color: var(--admin-text);
  cursor: pointer;
  list-style: none;
}

.admin-profile-data-panel summary::-webkit-details-marker {
  display: none;
}

.admin-profile-data-panel summary::after {
  color: var(--admin-dim);
  font-weight: 950;
  content: ">";
}

.admin-profile-data-panel[open] summary::after {
  content: "v";
}

.admin-profile-data-panel summary span {
  color: var(--admin-text);
  font-size: 0.88rem;
  font-weight: 950;
}

.admin-profile-data-panel summary small {
  display: block;
  margin-top: 0.08rem;
  color: var(--admin-dim);
  font-size: 0.74rem;
  font-weight: 780;
  line-height: 1.35;
}

.admin-profile-data-panel .company-profile-summary,
.admin-profile-data-panel .company-profile-form {
  padding: 0 0.85rem 0.85rem;
}

.company-profile-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
}

.company-profile-summary div {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.68rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.company-profile-summary dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.company-profile-summary dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.company-profile-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.company-profile-form label {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
}

.company-profile-form .span-2,
.company-profile-actions {
  grid-column: span 2;
}

.company-profile-form input,
.company-profile-form textarea {
  width: 100%;
}

.company-profile-form textarea {
  min-height: 5.8rem;
}

.company-profile-actions {
  display: grid;
  align-content: end;
  gap: 0.45rem;
}

.quality-score-badge {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 0.28rem 0.5rem;
  padding: 0.38rem 0.55rem;
  color: #3b4651;
  background: #f3f5f7;
  border: 1px solid var(--admin-border);
  border-radius: 7px;
}

.quality-score-badge strong {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 950;
}

.quality-score-badge small {
  min-width: 0;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
}

.quality-score-badge.is-success {
  color: #114435;
  background: #dceee9;
  border-color: rgba(17, 68, 53, 0.22);
}

.quality-score-badge.is-live {
  color: #0f5c76;
  background: #e4f5fb;
  border-color: rgba(15, 92, 118, 0.22);
}

.quality-score-badge.is-warning {
  color: #7a4b0e;
  background: #fff4e4;
  border-color: rgba(246, 142, 19, 0.3);
}

.quality-score-badge.is-critical {
  color: #6f1714;
  background: #fde7e5;
  border-color: rgba(194, 57, 52, 0.28);
}

.quality-score-badge.is-muted {
  color: #5f6871;
  background: #f3f5f7;
  border-color: var(--admin-border);
}

.customer-rating-panel {
  display: grid;
  grid-template-columns: minmax(13rem, 0.3fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.78rem;
  background: #f8fafc;
  border: 1px solid rgb(15 92 118 / 16%);
  border-radius: 8px;
}

.customer-rating-overview {
  display: grid;
  align-content: start;
  gap: 0.52rem;
}

.customer-rating-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.38rem;
  margin: 0;
}

.customer-rating-metrics div {
  display: grid;
  gap: 0.12rem;
  padding: 0.48rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.customer-rating-metrics dt {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.customer-rating-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
}

.customer-rating-overview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.35;
}

.customer-rating-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 0.62rem;
}

.customer-rating-form label {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.customer-rating-form .span-3,
.customer-rating-actions {
  grid-column: 1 / -1;
}

.customer-rating-form textarea {
  min-height: 4.8rem;
}

.customer-rating-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
}

.subcontractor-quality-panel {
  display: grid;
  grid-template-columns: minmax(13rem, 0.28fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.78rem;
  background: #f7fbf9;
  border: 1px solid rgba(30, 107, 87, 0.16);
  border-radius: 8px;
}

.subcontractor-quality-panel ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subcontractor-quality-panel li {
  display: grid;
  gap: 0.12rem;
  padding: 0.55rem 0.62rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.subcontractor-quality-panel p,
.subcontractor-quality-panel li span {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.35;
}

.subcontractor-quality-panel li strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
}

.portal-profile-card {
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1fr);
}

.assignment-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.assignment-card,
.admin-workflow-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.assignment-card.is-completed {
  border-color: rgba(17, 68, 53, 0.24);
  background: #f1f5f3;
}

.admin-workflow-card.is-critical {
  border-color: rgba(194, 57, 52, 0.5);
  box-shadow: 0 18px 42px rgba(194, 57, 52, 0.13);
}

.assignment-card header span,
.admin-workflow-card header span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.6rem;
  padding: 0.35rem 0.55rem;
  color: #114435;
  font-size: 0.78rem;
  font-weight: 900;
  background: #dceee9;
  border-radius: 6px;
}

.assignment-card.is-completed header span {
  color: var(--paper);
  background: #114435;
}

.admin-workflow-card.is-critical header span {
  color: var(--paper);
  background: #c23934;
}

.admin-escalation-alert {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
  color: #6f1714;
  background: #fde7e5;
  border: 1px solid rgba(194, 57, 52, 0.28);
  border-radius: 6px;
}

.admin-escalation-alert strong {
  font-weight: 950;
}

.admin-escalation-alert span {
  color: #6f1714;
  font-weight: 800;
}

.admin-escalation-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-escalation-meta div {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-escalation-meta strong {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-escalation-meta span {
  color: var(--ink);
  font-weight: 900;
}

.assignment-status-control {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.assignment-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.7rem;
}

.assignment-track div,
.assignment-card dl div {
  display: grid;
  gap: 0.25rem;
  align-content: start;
  min-width: 0;
  padding: 0.75rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.assignment-track strong,
.assignment-card dt,
.admin-workflow-card label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.assignment-track span,
.assignment-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.assignment-card dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.7rem;
}

.admin-request-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.7rem;
}

.admin-actions .button:disabled {
  color: var(--muted);
  background: var(--soft);
  border-color: var(--line);
  cursor: default;
  box-shadow: none;
}

.admin-section-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-section-toolbar div {
  display: grid;
  gap: 0.25rem;
  max-width: 620px;
}

.admin-section-toolbar h3 {
  font-size: 1.25rem;
}

.admin-section-toolbar p {
  color: var(--muted);
  font-weight: 800;
}

.admin-section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.admin-section-actions .button {
  min-height: 2.75rem;
}

.admin-modal {
  width: min(1100px, calc(100vw - 2rem));
  max-height: min(90vh, 900px);
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.admin-modal:not([open]) {
  display: none;
}

.admin-modal::backdrop {
  background: rgba(20, 24, 28, 0.68);
  backdrop-filter: blur(4px);
}

.admin-modal-panel {
  max-height: min(90vh, 900px);
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(20, 24, 28, 0.35);
}

.admin-modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.admin-modal-header h3 {
  margin-top: 0.15rem;
  font-size: 1.55rem;
}

.admin-modal-close {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 900;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-create-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-create-form .button {
  grid-column: span 2;
}

.admin-create-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.admin-create-actions .button {
  grid-column: auto;
}

.admin-create-actions .form-status {
  margin: 0;
}

.admin-create-form-modal {
  border: 0;
  border-radius: 0;
}

.admin-modal-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  padding-top: 0.3rem;
}

.admin-modal-actions .button {
  grid-column: auto;
  width: fit-content;
}

.admin-edit-card {
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.25rem 0;
}

.admin-project-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  padding: 0 0.82rem;
  color: var(--steel);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(20, 24, 28, 0.04);
}

.admin-project-filter span,
.admin-project-filter strong {
  font-size: 0.76rem;
  font-weight: 950;
}

.admin-project-filter strong {
  display: inline-grid;
  min-width: 1.65rem;
  min-height: 1.65rem;
  place-items: center;
  color: var(--ink);
  background: var(--soft);
  border-radius: 999px;
}

.admin-project-filter.is-active {
  color: var(--paper);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.admin-project-filter.is-active strong {
  color: var(--paper);
  background: var(--brand);
}

.admin-project-list-shell {
  display: grid;
  gap: 0.55rem;
}

.admin-project-list-head,
.admin-project-summary {
  display: grid;
  grid-template-columns: 2.45rem minmax(220px, 1.35fr) minmax(160px, 0.72fr) minmax(170px, 0.72fr) minmax(108px, 0.36fr) minmax(84px, auto);
  gap: 0.65rem;
  align-items: center;
}

.admin-project-list-head {
  padding: 0 1rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-project-card {
  display: block;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  border-color: rgba(69, 83, 94, 0.17);
  box-shadow: 0 10px 28px rgba(20, 24, 28, 0.055);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.admin-project-card:hover {
  border-color: rgba(30, 107, 87, 0.28);
  box-shadow: 0 14px 36px rgba(20, 24, 28, 0.08);
  transform: translateY(-1px);
}

.admin-project-card::before {
  display: block;
  height: 4px;
  background: var(--steel);
  content: "";
}

.admin-project-card.is-unstaffed::before {
  background: var(--brand);
}

.admin-project-card.is-staffed::before {
  background: var(--green);
}

.admin-project-card.is-inactive::before,
.admin-project-card.is-draft::before {
  background: #a0a8ae;
}

.admin-project-summary {
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
}

.admin-project-summary .admin-project-select {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.admin-project-summary .admin-project-select input {
  display: block;
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  min-height: 1rem;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 2px solid rgba(69, 83, 94, 0.72);
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px #ffffff;
}

.admin-project-summary .admin-project-select input:checked {
  background: var(--brand);
  border-color: var(--brand);
}

.admin-project-summary .admin-project-select span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.admin-project-summary::-webkit-details-marker {
  display: none;
}

.admin-project-summary::marker {
  content: "";
}

.admin-project-summary::after {
  display: none;
  content: none;
}

.admin-project-summary:focus-visible {
  outline: 3px solid rgba(246, 142, 19, 0.38);
  outline-offset: -3px;
}

.admin-project-title {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
}

.admin-project-summary strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.admin-project-summary span,
.admin-project-summary small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.admin-project-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.admin-project-number,
.admin-project-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 1.45rem;
  padding: 0 0.48rem;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  border-radius: 999px;
}

.admin-project-number {
  color: #ffffff;
  background: #151719;
  border-color: #151719;
  font-size: 0.68rem;
  letter-spacing: 0.015em;
}

.admin-project-status {
  color: var(--steel);
  background: #eef2f4;
  border: 1px solid rgba(69, 83, 94, 0.14);
}

.admin-project-status.is-live {
  color: #114435;
  background: #dceee9;
  border-color: rgba(30, 107, 87, 0.18);
}

.admin-project-status.is-success {
  color: var(--paper);
  background: #114435;
  border-color: #114435;
}

.admin-project-status.is-critical {
  color: #7c1f1a;
  background: #fde7e5;
  border-color: rgba(194, 57, 52, 0.22);
}

.admin-project-status.is-warning {
  color: #824500;
  background: #fff1dc;
  border-color: rgba(246, 142, 19, 0.28);
}

.admin-project-status.is-muted {
  color: var(--muted);
  background: #f2f3f4;
}

.admin-project-cell {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.admin-project-cell > span {
  display: none;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-project-cell > strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
}

.admin-project-cell-staffing.is-warning > strong,
.admin-project-cell-staffing.is-warning > small {
  color: #824500;
}

.admin-project-cell-staffing.is-success > strong,
.admin-project-cell-staffing.is-success > small {
  color: #114435;
}

.admin-project-cell-staffing.is-muted > strong,
.admin-project-cell-staffing.is-muted > small {
  color: var(--steel);
}

.admin-project-row-action {
  justify-self: end;
  min-width: 0;
}

.admin-project-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 0.62rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 950;
  white-space: nowrap;
}

.project-timeline.is-admin {
  gap: 0.35rem;
  padding: 0;
  background: transparent;
  border: 0;
}

.project-timeline.is-admin .project-timeline-head,
.project-timeline.is-admin .project-timeline-dates {
  gap: 0.45rem;
}

.project-timeline.is-admin .project-timeline-head {
  justify-content: flex-end;
}

.project-timeline.is-admin .project-timeline-head strong {
  font-size: 0.82rem;
}

.project-timeline.is-admin .project-timeline-head span,
.project-timeline.is-admin .project-timeline-dates span {
  font-size: 0.64rem;
  white-space: nowrap;
}

.project-timeline.is-admin .project-timeline-head span {
  display: none;
}

.project-timeline.is-admin .project-timeline-track {
  height: 0.5rem;
}

.admin-project-toggle::after {
  margin-left: 0.45rem;
  content: "+";
}

.admin-project-card[open] .admin-project-toggle::after {
  content: "-";
}

.admin-project-card[open] .admin-project-summary {
  background: #f8fafb;
  border-bottom: 1px solid var(--line);
}

.admin-project-details {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 0.85rem;
  padding: 1rem;
  background: #f8fafb;
}

.admin-project-detail-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.95rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-project-detail-section-wide {
  grid-column: 1 / -1;
}

.admin-project-detail-section h4 {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-project-publication {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.75rem;
  background: #eef7f3;
  border: 1px solid rgba(30, 107, 87, 0.2);
  border-radius: 6px;
}

.admin-project-publication.is-draft {
  background: #fff7ea;
  border-color: rgba(246, 142, 19, 0.32);
}

.admin-project-publication strong {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
}

.admin-project-publication span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-project-readout {
  display: grid;
  align-content: center;
  gap: 0.15rem;
  min-height: 4.4rem;
  padding: 0.75rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-project-readout strong {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 950;
}

.admin-project-readout span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-app-page {
  --admin-bg: #f3f5f7;
  --admin-border: #d8dee4;
  --admin-border-strong: #c8d0d8;
  --admin-panel: #ffffff;
  --admin-panel-muted: #f8fafb;
  --admin-text: #172026;
  --admin-dim: #5d6872;
  --admin-track: #e7ebef;
  min-height: 100svh;
  color: var(--admin-text);
  background: var(--admin-bg);
}

.admin-app-page .language-widget {
  display: none;
}

.admin-app-topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.62rem clamp(0.9rem, 2vw, 1.8rem);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(216, 222, 228, 0.96);
  backdrop-filter: blur(16px);
}

.admin-app-brand {
  min-width: 0;
}

.admin-app-brand img {
  width: 172px;
}

.admin-app-context {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  padding-left: 1rem;
  border-left: 1px solid var(--admin-border);
}

.admin-app-context span {
  color: var(--admin-dim);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-app-context strong {
  color: var(--admin-text);
  font-size: 0.95rem;
  font-weight: 950;
}

.admin-app-actions .header-login {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.admin-app-main {
  min-height: calc(100svh - 4.25rem);
}

.admin-app-surface {
  width: min(100% - clamp(1rem, 3vw, 2.25rem), 1580px);
  margin: 0 auto;
  padding: 0.9rem 0 1.6rem;
}

.admin-app-surface > .portal-card {
  width: min(100%, 28rem);
  margin: 7vh auto;
  box-shadow: 0 24px 70px rgba(20, 24, 28, 0.12);
}

.admin-panel {
  gap: 0.9rem;
}

.admin-command-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.35rem 0 0.95rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--admin-border);
  border-radius: 0;
  box-shadow: none;
}

.admin-command-header h1 {
  margin-top: 0.12rem;
  max-width: none;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1.02;
}

.admin-command-header p:last-child {
  max-width: 760px;
  margin-top: 0.38rem;
  color: var(--admin-dim);
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.55;
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.admin-command-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--admin-border);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.admin-priority-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "count label"
    "count hint";
  align-items: center;
  gap: 0.05rem 0.68rem;
  min-height: 4.45rem;
  padding: 0.75rem 0.82rem;
  text-align: left;
  background: var(--admin-panel);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.admin-priority-card:hover,
.admin-priority-card:focus-visible {
  background: #fbfcfd;
  box-shadow: inset 0 0 0 1px rgba(30, 107, 87, 0.28);
  transform: none;
}

.admin-priority-card span {
  grid-area: count;
  display: inline-grid;
  width: 2.18rem;
  height: 2.18rem;
  place-items: center;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 950;
  background: var(--steel);
  border-radius: 6px;
}

.admin-priority-card p {
  grid-area: label;
  margin: 0;
  color: var(--admin-text);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.12;
}

.admin-priority-card small {
  grid-area: hint;
  color: var(--admin-dim);
  font-size: 0.7rem;
  font-weight: 820;
  line-height: 1.25;
}

.admin-priority-card.is-critical span {
  background: #c23934;
}

.admin-priority-card.is-warning span {
  background: var(--brand);
}

.admin-priority-card.is-muted span {
  background: #8e99a2;
}

.admin-priority-card.portal-score-card span {
  width: auto;
  min-width: 2.18rem;
  padding-inline: 0.5rem;
}

.admin-priority-card.portal-score-card.is-success span {
  background: #114435;
}

.admin-priority-card.portal-score-card.is-live span {
  background: #0f5c76;
}

.admin-priority-card.portal-score-card.is-critical span {
  background: #c23934;
}

.admin-workspace {
  grid-template-columns: minmax(13rem, 14.5rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  scroll-margin-top: 5rem;
}

.admin-sidebar {
  top: 5rem;
}

.admin-area-tabs {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0.45rem;
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.admin-nav-group {
  gap: 0.24rem;
  padding: 0.42rem 0 0.5rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--admin-border);
  border-radius: 0;
  box-shadow: none;
}

.admin-nav-group:last-child {
  border-bottom: 0;
}

.admin-nav-label {
  padding: 0.2rem 0.38rem;
  color: var(--admin-dim);
  font-size: 0.64rem;
  letter-spacing: 0;
}

.admin-area-tab {
  position: relative;
  min-height: 2.45rem;
  padding: 0.48rem 0.52rem 0.48rem 0.8rem;
  color: var(--admin-text);
  font-size: 0.82rem;
  font-weight: 880;
  background: transparent;
  border-color: transparent;
  border-radius: 6px;
  box-shadow: none;
}

.admin-area-tab::before {
  position: absolute;
  inset: 0.48rem auto 0.48rem 0;
  width: 3px;
  background: transparent;
  border-radius: 999px;
  content: "";
}

.admin-area-tab:hover,
.admin-area-tab:focus-visible,
.admin-area-tab.is-active {
  border-color: transparent;
  box-shadow: none;
}

.admin-area-tab:hover,
.admin-area-tab:focus-visible {
  background: var(--admin-panel-muted);
}

.admin-area-tab.is-active {
  color: #114435;
  background: #edf6f2;
  transform: none;
}

.admin-area-tab.is-active::before {
  background: var(--green);
}

.admin-area-tab.admin-area-tab-critical.is-active::before {
  background: #c23934;
}

.admin-area-tab strong {
  min-width: 1.58rem;
  height: 1.58rem;
  color: var(--admin-text);
  font-size: 0.7rem;
  background: var(--admin-track);
}

.admin-area-tab.is-active strong {
  color: var(--paper);
  background: var(--green);
}

.admin-area-tab.admin-area-tab-critical strong {
  color: var(--paper);
  background: #c23934;
}

.admin-stage {
  gap: 0.82rem;
}

.admin-section {
  gap: 0.75rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-section > .section-heading {
  display: grid;
  align-items: start;
  justify-content: start;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.1rem 0.1rem 0.2rem;
}

.admin-section > .section-heading h2 {
  max-width: none;
  font-size: clamp(1.18rem, 1.6vw, 1.48rem);
  line-height: 1.12;
}

.admin-section-toolbar {
  padding: 0.8rem 0.9rem;
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  box-shadow: none;
}

.admin-section-toolbar h3 {
  color: var(--admin-text);
  font-size: 1rem;
}

.admin-section-toolbar p {
  color: var(--admin-dim);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.5;
}

.admin-section-toolbar .admin-section-actions {
  display: flex;
  max-width: none;
}

.admin-project-ops {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.28fr);
  gap: 0.62rem;
  padding: 0.76rem 0.82rem;
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.admin-project-ops label {
  gap: 0.32rem;
}

.admin-project-ops span {
  color: var(--admin-dim);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-project-ops input,
.admin-project-ops select {
  min-height: 2.5rem;
  padding: 0.58rem 0.68rem;
  font-size: 0.82rem;
  background: var(--admin-panel-muted);
  border-color: var(--admin-border);
}

.admin-project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  min-width: 0;
  padding: 0.2rem;
  background: var(--admin-border);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.admin-project-filter {
  flex: 0 1 auto;
  min-height: 2.12rem;
  padding: 0 0.68rem;
  color: var(--admin-dim);
  background: var(--admin-panel);
  border: 0;
  border-radius: 6px;
  box-shadow: none;
}

.admin-project-filter:hover,
.admin-project-filter:focus-visible {
  color: var(--admin-text);
  background: #fbfcfd;
}

.admin-project-filter span,
.admin-project-filter strong {
  font-size: 0.72rem;
}

.admin-project-filter strong {
  min-width: 1.48rem;
  min-height: 1.48rem;
  background: var(--admin-track);
}

.admin-project-filter.is-active {
  color: var(--paper);
  background: var(--charcoal);
  border-color: transparent;
}

.admin-project-filter.is-active strong {
  color: var(--paper);
  background: var(--brand);
}

.admin-project-list-shell {
  gap: 0;
  overflow: hidden;
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.admin-project-list-head {
  padding: 0.62rem 0.9rem;
  color: var(--admin-dim);
  background: var(--admin-panel-muted);
  border-bottom: 1px solid var(--admin-border);
}

.admin-project-list-head,
.admin-project-summary {
  grid-template-columns: 2.25rem minmax(230px, 1.38fr) minmax(150px, 0.7fr) minmax(175px, 0.76fr) minmax(92px, 0.34fr) minmax(82px, auto);
  gap: 0.62rem;
}

.admin-project-card {
  position: relative;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-project-card + .admin-project-card {
  border-top: 1px solid var(--admin-border);
}

.admin-project-card:hover {
  background: #fbfcfd;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.admin-project-card.is-selected .admin-project-summary {
  background: #f4f8f6;
  box-shadow: inset 0 0 0 1px rgba(30, 107, 87, 0.24);
}

.admin-project-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 3px;
  height: auto;
}

.admin-project-summary {
  min-height: 4.6rem;
  padding: 0.72rem 0.9rem 0.72rem 1rem;
}

.admin-project-summary .admin-project-select {
  width: 1.82rem;
  height: 1.82rem;
  background: var(--admin-panel-muted);
  border-color: var(--admin-border);
  border-radius: 6px;
}

.admin-project-summary .admin-project-select input {
  width: 0.95rem;
  min-width: 0.95rem;
  height: 0.95rem;
  min-height: 0.95rem;
}

.admin-project-card[open] .admin-project-summary {
  background: var(--admin-panel-muted);
}

.admin-project-details {
  gap: 0.75rem;
  padding: 0.82rem;
  background: var(--admin-panel-muted);
  border-top: 1px solid var(--admin-border);
}

.admin-project-detail-section {
  padding: 0.85rem;
  border-color: var(--admin-border);
  border-radius: 7px;
}

.admin-project-detail-section h4 {
  font-size: 0.78rem;
}

.admin-project-chip-row {
  gap: 0.28rem;
}

.admin-project-number,
.admin-project-status {
  min-height: 1.32rem;
  padding: 0 0.42rem;
  font-size: 0.58rem;
}

.admin-app-page .admin-project-number {
  min-height: 1.45rem;
  padding: 0 0.55rem;
  font-size: 0.7rem;
  color: #ffffff;
  background: #101214;
  border-color: #101214;
}

.admin-project-summary strong {
  font-size: 0.94rem;
}

.admin-project-summary span,
.admin-project-summary small {
  font-size: 0.74rem;
}

.admin-project-warning-line {
  display: block;
  width: fit-content;
  padding: 0.16rem 0.34rem;
  color: #824500;
  background: #fff4e4;
  border: 1px solid rgba(246, 142, 19, 0.24);
  border-radius: 5px;
  font-weight: 950;
}

.admin-project-cell > strong {
  font-size: 0.84rem;
}

.admin-project-toggle {
  min-height: 2.12rem;
  padding: 0 0.58rem;
  border-color: var(--admin-border);
  border-radius: 6px;
  font-size: 0.72rem;
}

.admin-project-toggle::after {
  content: ">";
}

.admin-project-card.is-selected .admin-project-toggle::after {
  content: "x";
}

.admin-list,
.admin-edit-grid {
  gap: 0.62rem;
}

.admin-row,
.admin-workflow-card,
.admin-edit-card {
  border-color: var(--admin-border);
  border-radius: 8px;
  box-shadow: none;
}

.admin-row,
.admin-workflow-card {
  background: var(--admin-panel);
}

.admin-workflow-card.is-critical {
  border-color: rgba(194, 57, 52, 0.42);
  box-shadow: inset 3px 0 0 #c23934;
}

.admin-row {
  padding: 0.82rem 0.9rem;
}

.admin-access-application {
  border-color: rgba(246, 142, 19, 0.46);
  box-shadow: inset 3px 0 0 var(--brand);
}

.admin-profile-row.is-pending-access {
  border-color: rgba(246, 142, 19, 0.46);
  box-shadow: inset 3px 0 0 var(--brand);
}

.admin-edit-card label,
.admin-create-form label {
  color: var(--admin-dim);
  font-size: 0.76rem;
  font-weight: 850;
}

.admin-create-form {
  border-color: var(--admin-border);
  border-radius: 8px;
  box-shadow: none;
}

.admin-create-form textarea,
.admin-edit-card textarea {
  min-height: 7rem;
}

.admin-checkline {
  grid-column: span 2;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 3.05rem;
  padding: 0.72rem 0.82rem;
  color: var(--admin-text);
  background: var(--admin-panel-muted);
  border: 1px solid var(--admin-border);
  border-radius: 6px;
}

.admin-checkline input[type="checkbox"] {
  width: 1rem;
  min-height: 1rem;
  height: 1rem;
  padding: 0;
  accent-color: var(--brand);
}

.admin-checkline span {
  color: var(--admin-text);
  font-size: 0.84rem;
  font-weight: 900;
}

.admin-team-state {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0.85rem;
  background: var(--admin-panel-muted);
  border: 1px solid var(--admin-border);
  border-radius: 6px;
}

.admin-team-state div {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.admin-team-state strong {
  color: var(--admin-text);
  font-weight: 950;
}

.admin-team-state span {
  color: var(--admin-dim);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-team-state mark {
  display: inline-flex;
  width: fit-content;
  padding: 0.32rem 0.5rem;
  color: #6f1714;
  font-size: 0.72rem;
  font-weight: 950;
  white-space: nowrap;
  background: #fde7e5;
  border-radius: 999px;
}

.admin-team-state mark.is-live {
  color: #114435;
  background: #dceee9;
}

.admin-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.portal-app-page .portal-app-surface {
  width: min(100% - clamp(1rem, 3vw, 2.25rem), 1440px);
}

.portal-app-page .portal-app-gate {
  width: min(100%, 34rem);
  margin: 7vh auto;
  border-color: var(--admin-border);
  box-shadow: 0 24px 70px rgba(20, 24, 28, 0.12);
}

.portal-app-page .portal-app-gate h1 {
  max-width: none;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.portal-app-page .portal-operations {
  gap: 0.9rem;
}

.portal-app-page .portal-command-header {
  border-color: var(--admin-border);
}

.portal-command-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.dashboard-profile-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--admin-text);
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.dashboard-profile-toggle:hover,
.dashboard-profile-toggle:focus-visible,
.dashboard-profile-toggle.is-active {
  color: var(--paper);
  background: var(--brand);
  border-color: var(--brand);
}

.dashboard-profile-icon,
.dashboard-profile-icon::before,
.dashboard-profile-icon::after {
  display: block;
  box-sizing: border-box;
}

.dashboard-profile-icon {
  position: relative;
  width: 1.12rem;
  height: 1.12rem;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.dashboard-profile-icon::before {
  position: absolute;
  top: -0.42rem;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  content: "";
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: translateX(-50%);
}

.dashboard-profile-icon::after {
  position: absolute;
  right: -0.45rem;
  bottom: -0.36rem;
  width: 0.46rem;
  height: 0.46rem;
  content: "";
  background: currentColor;
  border-radius: 2px;
}

.portal-app-page .portal-summary.admin-command-strip {
  grid-template-columns: repeat(auto-fit, minmax(9.4rem, 1fr));
}

.portal-app-page .portal-summary article.admin-priority-card {
  min-height: 4.45rem;
  padding: 0.75rem 0.82rem;
  color: var(--admin-text);
  background: var(--admin-panel);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.portal-app-page .portal-summary article.admin-priority-card span {
  margin: 0;
  color: var(--paper);
  font-size: 0.95rem;
}

.portal-app-page .portal-summary article.portal-id-card span {
  width: auto;
  min-width: 2.18rem;
  max-width: 100%;
  padding-inline: 0.55rem;
  font-size: 0.72rem;
}

.portal-app-page .portal-summary article.portal-score-card span {
  width: auto;
  min-width: 2.18rem;
  padding-inline: 0.5rem;
}

.portal-app-page .portal-summary article.admin-priority-card p {
  margin: 0;
  color: var(--admin-text);
  font-size: 0.9rem;
}

.portal-app-page .portal-summary article.admin-priority-card small {
  color: var(--admin-dim);
}

.portal-app-page .portal-list {
  gap: 0.82rem;
}

.portal-app-page .portal-dashboard-feedback {
  display: grid;
  gap: 0.16rem;
  padding: 0.78rem 0.85rem;
  background: #eef7f3;
  border: 1px solid rgba(30, 107, 87, 0.2);
  border-radius: 8px;
}

.portal-app-page .portal-dashboard-feedback.is-error {
  background: #fde7e5;
  border-color: rgba(194, 57, 52, 0.3);
}

.portal-app-page .portal-dashboard-feedback strong {
  color: var(--admin-text);
  font-size: 0.92rem;
  font-weight: 950;
}

.portal-app-page .portal-dashboard-feedback p {
  color: var(--admin-dim);
  font-size: 0.84rem;
  font-weight: 780;
  line-height: 1.45;
}

.portal-app-page .portal-table-section {
  gap: 0.75rem;
  padding: 0.82rem;
  background: var(--admin-panel);
  border-color: var(--admin-border);
  border-radius: 8px;
  box-shadow: none;
}

.portal-app-page .portal-table-heading {
  max-width: none;
  gap: 0.18rem;
  padding: 0.1rem 0.05rem 0.2rem;
}

.portal-app-page .portal-table-heading h3 {
  color: var(--admin-text);
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
  line-height: 1.12;
}

.portal-app-page .portal-table-heading p:last-child {
  color: var(--admin-dim);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.5;
}

.portal-app-page .portal-table-wrap {
  overflow: auto;
  border-color: var(--admin-border);
  border-radius: 8px;
  box-shadow: none;
}

.portal-app-page .portal-table {
  min-width: 880px;
}

.portal-app-page .portal-table th {
  color: var(--admin-dim);
  background: var(--admin-panel-muted);
  border-color: var(--admin-border);
}

.portal-app-page .portal-table td {
  border-color: var(--admin-border);
}

.portal-app-page .portal-table td strong {
  color: var(--admin-text);
}

.portal-app-page .portal-table td span {
  color: var(--admin-dim);
}

.portal-app-page .portal-item,
.portal-app-page .portal-empty {
  border-color: var(--admin-border);
  box-shadow: none;
}

.portal-app-page .portal-item {
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.82rem;
}

.portal-app-page .portal-item.is-escalated {
  border-color: rgba(194, 57, 52, 0.42);
  box-shadow: inset 3px 0 0 #c23934;
}

.portal-app-page .portal-item header {
  display: grid;
  align-content: start;
  gap: 0.32rem;
  min-width: 0;
}

.portal-app-page .portal-item header h3 {
  color: var(--admin-text);
  font-size: 1.05rem;
  line-height: 1.14;
}

.portal-app-page .portal-item header p {
  color: var(--admin-dim);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.42;
}

.portal-app-page .portal-item header span,
.portal-app-page .portal-status-badge {
  padding: 0.3rem 0.5rem;
  font-size: 0.72rem;
  border-radius: 999px;
}

.portal-app-page .portal-item dl {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.portal-app-page .portal-item dl div {
  padding: 0.58rem 0.62rem;
  background: var(--admin-panel-muted);
  border-color: var(--admin-border);
  border-radius: 7px;
}

.portal-app-page .portal-item dt,
.portal-app-page .portal-project-detail-grid dt {
  color: var(--admin-dim);
  font-size: 0.66rem;
  font-weight: 950;
}

.portal-app-page .portal-item dd,
.portal-app-page .portal-project-detail-grid dd {
  color: var(--admin-text);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.35;
}

.portal-app-page .portal-escalation-panel {
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  padding: 0.78rem;
  background: #fff7ed;
  border-color: rgba(246, 142, 19, 0.34);
  border-radius: 8px;
}

.portal-app-page .portal-escalation-panel strong {
  font-size: 0.95rem;
}

.portal-app-page .portal-escalation-panel p {
  color: var(--admin-dim);
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.45;
}

.portal-app-page .portal-escalation-form {
  gap: 0.62rem;
}

.portal-app-page .portal-escalation-form textarea {
  min-height: 5.4rem;
}

.portal-app-page .portal-project-details summary {
  color: #114435;
}

.portal-app-page .portal-project-detail-grid div {
  background: var(--admin-panel-muted);
  border-color: var(--admin-border);
  border-radius: 7px;
}

.portal-app-page .portal-empty {
  padding: 1rem;
  background: var(--admin-panel);
}

.portal-app-page .portal-empty h3 {
  font-size: 1.05rem;
}

.portal-app-page .portal-empty p {
  color: var(--admin-dim);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.5;
}

.admin-project-drawer {
  box-sizing: border-box;
  position: fixed;
  inset: 4.25rem 0 0 auto;
  z-index: 85;
  width: min(43rem, calc(100vw - 1rem));
  padding: 0.82rem;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(90deg, rgba(243, 245, 247, 0), rgba(243, 245, 247, 0.86) 22%, rgba(243, 245, 247, 0.98));
}

.admin-project-drawer[hidden] {
  display: none;
}

.admin-drawer-panel {
  box-sizing: border-box;
  display: grid;
  align-content: start;
  gap: 0.78rem;
  width: 100%;
  min-height: calc(100svh - 5.9rem);
  padding: 0.92rem;
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  box-shadow: -24px 24px 70px rgba(20, 24, 28, 0.17);
  animation: adminDrawerIn 180ms ease-out;
}

.admin-drawer-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.72rem;
  align-items: start;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--admin-border);
}

.admin-drawer-header div {
  display: grid;
  gap: 0.26rem;
  min-width: 0;
}

.admin-drawer-header h3 {
  margin: 0;
  color: var(--admin-text);
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
  line-height: 1.08;
}

.admin-drawer-header p {
  margin: 0;
  color: var(--admin-dim);
  font-size: 0.84rem;
  font-weight: 820;
}

.admin-drawer-close {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  color: var(--admin-text);
  background: var(--admin-panel-muted);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  font-size: 1.3rem;
  line-height: 1;
}

.admin-drawer-status {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.34rem;
}

.admin-process-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.28rem;
  margin: 0;
  padding: 0.65rem;
  list-style: none;
  background: var(--admin-panel-muted);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.admin-process-rail li {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  color: var(--admin-dim);
  font-size: 0.66rem;
  font-weight: 900;
}

.admin-process-rail span {
  display: inline-grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  color: var(--admin-dim);
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 950;
}

.admin-process-rail strong {
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-process-rail li.is-done,
.admin-process-rail li.is-current {
  color: #114435;
}

.admin-process-rail li.is-done span,
.admin-process-rail li.is-current span {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.admin-process-rail li.is-current span {
  background: var(--brand);
  border-color: var(--brand);
}

.admin-drawer-warnings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.admin-drawer-warnings article {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.68rem 0.72rem;
  color: var(--admin-text);
  background: #eef7f3;
  border: 1px solid rgba(30, 107, 87, 0.18);
  border-radius: 8px;
}

.admin-drawer-warnings article.is-warning {
  background: #fff4e4;
  border-color: rgba(246, 142, 19, 0.3);
}

.admin-drawer-warnings article.is-critical {
  background: #fde7e5;
  border-color: rgba(194, 57, 52, 0.28);
}

.admin-drawer-warnings article.is-muted {
  background: #f3f5f7;
  border-color: var(--admin-border);
}

.admin-drawer-warnings strong,
.admin-drawer-section h4 {
  color: var(--admin-text);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-drawer-warnings span {
  color: var(--admin-dim);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.42;
}

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

.admin-drawer-section {
  display: grid;
  align-content: start;
  gap: 0.62rem;
  min-width: 0;
  padding: 0.78rem;
  background: var(--admin-panel-muted);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.admin-drawer-section-wide {
  grid-column: 1 / -1;
}

.admin-drawer-section h4 {
  margin: 0;
}

.admin-drawer-section label {
  color: var(--admin-dim);
  font-size: 0.76rem;
  font-weight: 850;
}

.admin-drawer-section textarea {
  min-height: 5.4rem;
}

.admin-drawer-facts {
  display: grid;
  gap: 0.42rem;
}

.admin-drawer-facts div,
.admin-drawer-table article,
.admin-history-list li {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  padding: 0.55rem 0.62rem;
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 7px;
}

.admin-drawer-facts strong,
.admin-drawer-table strong {
  color: var(--admin-text);
  font-size: 0.82rem;
  font-weight: 950;
}

.admin-drawer-facts span,
.admin-drawer-table span,
.admin-history-list li {
  color: var(--admin-dim);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.38;
}

.admin-drawer-table {
  display: grid;
  gap: 0.42rem;
}

.admin-application-summary .quality-score-badge {
  margin-top: 0.28rem;
}

.admin-rating-list {
  display: grid;
  gap: 0.65rem;
}

.admin-rating-card {
  display: grid;
  gap: 0.68rem;
  padding: 0.72rem;
  background: #fff;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.admin-rating-card header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
}

.admin-rating-card header strong {
  display: block;
  color: var(--admin-text);
  font-size: 0.86rem;
  font-weight: 950;
}

.admin-rating-card header span {
  color: var(--admin-dim);
  font-size: 0.78rem;
  font-weight: 780;
}

.admin-rating-fields {
  display: grid;
  grid-template-columns: minmax(9rem, 0.24fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.58rem;
}

.admin-rating-fields label {
  display: grid;
  gap: 0.28rem;
}

.admin-rating-fields textarea {
  min-height: 4.2rem;
}

.admin-history-list {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-drawer-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.admin-drawer-form input,
.admin-drawer-form select,
.admin-drawer-form textarea {
  min-height: 2.65rem;
  padding: 0.62rem 0.68rem;
}

.admin-drawer-form .span-2 {
  grid-column: 1 / -1;
}

.project-timeline.is-drawer .project-timeline-head {
  justify-content: space-between;
}

.project-timeline.is-drawer .project-timeline-head span {
  display: inline;
}

.admin-drawer-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.68rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 28%);
}

.customer-project-drawer {
  gap: 0.72rem;
  background: #ffffff;
}

.customer-drawer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  color: #ffffff;
  background: #101214;
  border-radius: 10px;
}

.customer-drawer-title {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
}

.customer-drawer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.customer-drawer-hero .admin-project-number {
  color: #101214;
  background: #ffffff;
  border-color: #ffffff;
}

.customer-drawer-hero .admin-project-status {
  border-color: rgba(255, 255, 255, 0.32);
}

.customer-drawer-hero h3,
.customer-drawer-hero p {
  margin: 0;
}

.customer-drawer-hero h3 {
  color: #ffffff;
  font-size: clamp(1.35rem, 2.15vw, 2rem);
  line-height: 1.05;
}

.customer-drawer-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 820;
  line-height: 1.45;
}

.customer-drawer-hero .admin-drawer-close {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.customer-status-card,
.customer-drawer-section,
.customer-description-card,
.customer-drawer-escalation {
  display: grid;
  gap: 0.72rem;
  padding: 0.86rem;
  background: var(--admin-panel-muted);
  border: 1px solid var(--admin-border);
  border-radius: 9px;
}

.customer-status-card {
  grid-template-columns: minmax(0, 0.95fr) minmax(17rem, 1.05fr);
  align-items: stretch;
  background: #eef7f3;
  border-color: rgba(30, 107, 87, 0.2);
}

.customer-status-card.is-success {
  background: #edf8f2;
  border-color: rgba(17, 68, 53, 0.2);
}

.customer-status-card.is-critical {
  background: #fff0ee;
  border-color: rgba(194, 57, 52, 0.22);
}

.customer-status-card > div {
  display: grid;
  align-content: center;
  gap: 0.22rem;
  min-width: 0;
}

.customer-status-card span,
.customer-fact-grid span,
.customer-section-title span,
.customer-drawer-escalation label span {
  color: var(--admin-dim);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.customer-status-card strong {
  color: var(--admin-text);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.18;
}

.customer-status-card p,
.customer-description-card p,
.customer-section-title p,
.customer-escalation-locked span {
  margin: 0;
  color: var(--admin-dim);
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.45;
}

.customer-status-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.38rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-status-steps li {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(69, 83, 94, 0.12);
  border-radius: 8px;
}

.customer-status-steps li span {
  width: 0.62rem;
  height: 0.62rem;
  background: #cdd7dd;
  border-radius: 999px;
}

.customer-status-steps strong {
  color: var(--admin-text);
  font-size: 0.82rem;
  font-weight: 950;
}

.customer-status-steps small {
  color: var(--admin-dim);
  font-size: 0.68rem;
  font-weight: 820;
  line-height: 1.32;
}

.customer-status-steps li.is-active,
.customer-status-steps li.is-done {
  background: #ffffff;
  border-color: rgba(30, 107, 87, 0.22);
}

.customer-status-steps li.is-active span,
.customer-status-steps li.is-done span {
  background: var(--green);
}

.customer-status-steps li.is-critical {
  border-color: rgba(194, 57, 52, 0.24);
}

.customer-status-steps li.is-critical span {
  background: #c23934;
}

.customer-section-title {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}

.customer-section-title h4 {
  margin: 0;
  color: var(--admin-text);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.customer-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.customer-fact-grid article {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.68rem;
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
}

.customer-fact-grid strong {
  color: var(--admin-text);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.28;
}

.customer-description-card {
  display: grid;
  gap: 0.62rem;
  background: #ffffff;
}

.customer-drawer-escalation {
  background: #fff7ed;
  border-color: rgba(246, 142, 19, 0.28);
}

.customer-drawer-escalation.is-active {
  background: #fff0ee;
  border-color: rgba(194, 57, 52, 0.28);
}

.customer-drawer-escalation-form {
  display: grid;
  grid-template-columns: minmax(11rem, 0.42fr) minmax(0, 1fr);
  gap: 0.56rem;
  align-items: end;
}

.customer-drawer-escalation-form label {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.customer-drawer-escalation-form textarea {
  min-height: 5.2rem;
}

.customer-drawer-escalation-form .button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 2.75rem;
}

.customer-drawer-actions {
  justify-content: flex-end;
}

@keyframes adminDrawerIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
  padding: 1rem 1.1rem;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

summary::after {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--paper);
  content: "+";
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  background: var(--brand);
  border-radius: 6px;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 1.1rem 1.2rem;
}

.inquiry-section {
  background: var(--paper);
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.request-form {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.faq-contact-section {
  background: var(--paper);
}

.spam-protection-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.faq-contact-section .contact-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
}

.faq-contact-section .contact-link {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}

.wizard-progress {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  color: var(--charcoal);
  font-weight: 900;
}

.wizard-progress progress {
  width: 100%;
  height: 0.7rem;
  overflow: hidden;
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: #d9e0e5;
}

.wizard-progress progress::-webkit-progress-bar {
  background: #d9e0e5;
}

.wizard-progress progress::-webkit-progress-value {
  background: var(--brand);
}

.wizard-progress progress::-moz-progress-bar {
  background: var(--brand);
}

.wizard-step {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.wizard-step.is-active {
  display: block;
}

.wizard-step legend {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
}

.wizard-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  margin-top: 1.2rem;
}

.wizard-actions .button {
  min-width: 9rem;
}

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

label {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

label span {
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3.3rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cbd2d8;
  border-radius: 6px;
}

textarea {
  min-height: 10rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(246, 142, 19, 0.16);
}

.span-2 {
  grid-column: span 2;
}

.request-form .button {
  width: 100%;
  margin-top: 1.2rem;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.8rem;
  color: var(--green);
  font-weight: 750;
}

.form-status[data-status="error"] {
  color: var(--error);
}

.contact-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  padding: 1.5rem;
  color: var(--paper);
  background: var(--charcoal);
  border-color: var(--charcoal);
  overflow: hidden;
}

.contact-panel h2,
.contact-panel p,
.contact-panel address {
  color: var(--paper);
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.contact-panel h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.08;
  hyphens: auto;
}

.contact-panel p,
.contact-panel address {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  line-height: 1.7;
}

.contact-link {
  display: block;
  max-width: 100%;
  min-width: 0;
  color: var(--paper);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: normal;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  background: var(--paper);
}

.cta-band .button {
  width: fit-content;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.about-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: 92svh;
  padding: 11rem max(1.5rem, calc((100% - 1240px) / 2)) 3rem;
  overflow: hidden;
  color: var(--paper);
  background: #141414;
}

.about-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.about-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.34) 54%, rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 42%);
}

.about-hero-copy {
  display: grid;
  gap: 1.2rem;
  max-width: 820px;
}

.about-hero-copy h1,
.about-hero-copy p {
  color: var(--paper);
}

.about-hero-copy h1 {
  font-size: 4.4rem;
  line-height: 0.98;
  text-wrap: balance;
}

.about-hero-copy p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
}

.about-hero-copy .button-soft {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.about-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 780px);
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
}

.about-hero-proof p {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(20, 20, 20, 0.42);
}

.about-hero-proof strong {
  color: var(--paper);
  font-size: 1.55rem;
  line-height: 1;
}

.about-manifesto {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 4rem;
  padding: 6rem max(1.5rem, calc((100% - 1240px) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.about-manifesto-copy,
.about-os-copy,
.about-team-heading,
.about-principles-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.about-manifesto-copy h2,
.about-os-copy h2,
.about-team-heading h2,
.about-principles-copy h2 {
  font-size: 2.75rem;
  line-height: 1;
}

.about-manifesto-points {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.about-manifesto-points article {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.3rem 1rem;
  min-height: 8rem;
  padding: 1.25rem;
  background: var(--soft);
}

.about-manifesto-points span {
  grid-row: 1 / span 2;
  color: var(--brand);
  font-weight: 900;
}

.about-manifesto-points p {
  max-width: 520px;
}

.about-operating-system {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.06fr);
  gap: 4rem;
  align-items: start;
  background: #f6f7f8;
}

.about-os-copy {
  position: sticky;
  top: 7rem;
}

.about-os-copy p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.05rem;
}

.about-os-flow {
  display: grid;
  gap: 1rem;
}

.about-os-flow article {
  display: grid;
  gap: 0.7rem;
  min-height: 12rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 46px rgba(20, 24, 28, 0.08);
}

.about-os-flow span,
.principle-grid article span {
  width: fit-content;
  padding: 0.35rem 0.55rem;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: var(--steel);
  border-radius: 6px;
}

.about-team-section {
  overflow: hidden;
  scroll-margin-top: 9rem;
  background: #171717;
}

.about-team-heading {
  max-width: 920px;
  margin-bottom: 2.5rem;
}

.about-team-heading h2 {
  color: var(--paper);
}

.about-team-heading p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(22rem, auto);
  gap: 1rem;
}

.person-card {
  position: relative;
  min-width: 0;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #242424;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.person-card-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.person-photo {
  position: absolute;
  inset: 0;
}

.person-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.04)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  transition: transform 280ms ease, filter 280ms ease;
}

.person-card:hover .person-photo img,
.person-card:focus-within .person-photo img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.person-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.72rem;
  align-content: end;
  height: 100%;
  padding: 1.25rem;
}

.person-card-feature .person-content {
  padding: 1.8rem;
}

.person-content p {
  width: fit-content;
  padding: 0.38rem 0.58rem;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: var(--brand);
  border-radius: 6px;
}

.person-content h3 {
  color: var(--paper);
  font-size: 1.55rem;
}

.person-card-feature .person-content h3 {
  font-size: 2.1rem;
}

.person-content span {
  max-width: 18rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 850;
  line-height: 1.35;
}

.person-content ul {
  display: grid;
  gap: 0.35rem;
  max-width: 25rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.person-content li {
  position: relative;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.45;
}

.person-content li::before {
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 0.38rem;
  height: 0.38rem;
  content: "";
  background: var(--brand);
  border-radius: 50%;
}

.about-principles {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
  background: var(--paper);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.principle-grid article {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  min-height: 14rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.legal-section {
  background: var(--soft);
}

.legal-intro {
  display: grid;
  gap: 1rem;
  max-width: 880px;
  margin-bottom: 2rem;
}

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

.legal-grid-wide {
  align-items: stretch;
}

.legal-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

#impressum .legal-card h2 {
  max-width: none;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.18;
  overflow-wrap: break-word;
}

.legal-card address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.legal-card a {
  color: var(--charcoal);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: 3rem max(1.5rem, calc((100% - 1240px) / 2));
  color: var(--paper);
  background: #171717;
}

.site-footer img {
  width: 190px;
  margin-bottom: 1rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer nav {
  justify-content: flex-end;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.site-footer > p {
  grid-column: 1 / -1;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer .footer-credit {
  padding-top: 0;
  border-top: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-weight: 800;
}

body.reveal-motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

body.reveal-motion-ready .reveal.is-visible,
.reveal {
  opacity: 1;
  transform: translateY(0);
}

body.reveal-motion-ready .document-page .document-detail-section .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

@media (max-width: 1240px) {
  .site-header {
    width: calc(100% - 1rem);
  }

  .admin-app-page .admin-workspace {
    grid-template-columns: minmax(12.5rem, 14rem) minmax(0, 1fr);
  }

  .admin-workspace {
    grid-template-columns: minmax(15rem, 16.5rem) minmax(0, 1fr);
  }

  .brand {
    min-width: 145px;
  }

  .brand img {
    width: 158px;
  }

  .site-nav a,
  .header-cta,
  .header-login {
    font-size: 0.8rem;
  }

  .header-login {
    padding-inline: 0.9rem;
  }
}

@media (max-width: 1080px) {
  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.75rem;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    gap: 0.75rem;
    min-height: 2.75rem;
    padding: 0 0.9rem;
    color: inherit;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
  }

  .site-header.is-scrolled .nav-toggle {
    background: var(--soft);
    border-color: var(--line);
  }

  .nav-toggle i,
  .nav-toggle i::before,
  .nav-toggle i::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    content: "";
    background: currentColor;
    border-radius: 2px;
  }

  .nav-toggle i::before {
    transform: translateY(-7px);
  }

  .nav-toggle i::after {
    transform: translateY(5px);
  }

  .site-nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .header-login {
    min-height: 2.75rem;
    padding: 0 0.9rem;
    font-size: 0.82rem;
  }

  .site-nav.is-open {
    position: fixed;
    inset: 5.5rem 1rem auto;
    display: grid;
    gap: 0;
    padding: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open a:last-child {
    border-bottom: 0;
  }

  .site-nav.is-open .nav-mobile-actions {
    display: grid;
    gap: 0.65rem;
    padding-top: 1rem;
  }

  .about-hero {
    min-height: 84svh;
    padding-top: 8rem;
  }

  .about-hero-copy h1 {
    font-size: 3.35rem;
  }

  .about-manifesto,
  .about-operating-system,
  .about-principles {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-os-copy {
    position: static;
  }

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

  .person-card-feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .site-nav.is-open .nav-mobile-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0 0.9rem;
    color: var(--paper);
    border: 0;
    border-radius: 6px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .site-nav.is-open .nav-mobile-phone {
    background: var(--brand);
  }

  .site-nav.is-open .nav-mobile-login {
    background: var(--ink);
  }

  .site-nav.is-open .nav-mobile-login[aria-current="page"] {
    background: var(--brand);
  }

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

  .admin-app-page .admin-workspace {
    grid-template-columns: 1fr;
  }

  .admin-app-page .admin-sidebar {
    position: static;
  }

  .admin-app-page .admin-area-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-app-page .admin-nav-group {
    padding: 0.35rem 0.45rem;
    border-right: 1px solid var(--admin-border);
    border-bottom: 0;
  }

  .admin-app-page .admin-nav-group:last-child {
    border-right: 0;
  }

  .admin-sidebar {
    position: static;
  }

  .split,
  .system-layout,
  .contract-workbench,
  .proof-section,
  .faq-section,
  .inquiry-layout,
  .estimator-layout,
  .portal-auth-grid,
  .portal-auth-intro,
  .document-detail-layout,
  .portal-login-grid,
  .portal-register-card,
  .portal-item,
  .admin-row,
  .admin-profile-head,
  .admin-profile-insight-grid,
  .admin-profile-workbench-head,
  .admin-profile-project-card,
  .customer-rating-panel,
  .assignment-board,
  .assignment-track,
  .assignment-card dl,
  .admin-request-controls,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .admin-profile-project-meta {
    justify-items: start;
    text-align: left;
  }

  .process-grid,
  .system-flow,
  .trade-grid,
  .proof-grid,
  .console-grid,
  .team-grid,
  .document-grid,
  .leadership-grid,
  .availability-standard-grid,
  .quality-gates,
  .trust-grid,
  .compliance-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-tools,
  .trade-tools {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-card-feature {
    grid-template-columns: 1fr;
  }

  .document-card-feature > span,
  .document-card-feature > h3,
  .document-card-feature > p,
  .document-actions {
    grid-column: 1;
  }

  .document-actions {
    grid-row: auto;
    justify-self: start;
  }

  .document-side-panel {
    position: static;
  }

  .document-page .document-detail-section .section-heading {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .document-page .document-detail-section .section-heading .eyebrow,
  .document-page .document-detail-section .section-heading h2,
  .document-page .document-detail-section .section-heading > p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .document-page .document-detail-section .section-heading::after {
    position: static;
    width: min(12rem, 100%);
    min-height: auto;
    height: 0.32rem;
    padding: 0;
    background: linear-gradient(90deg, var(--brand), rgb(246 142 19 / 0));
  }

  .project-reset,
  .trade-reset {
    grid-column: 1 / -1;
  }

  .trade-cart {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .trade-bundle-form {
    grid-template-columns: 1fr;
  }

  .trade-assistant {
    grid-template-columns: 1fr;
  }

  .trade-cart-actions {
    justify-content: flex-start;
  }

  .trade-selection-dock {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .trade-selection-dock-actions {
    justify-content: flex-start;
  }

  .portal-summary,
  .admin-area-tabs,
  .admin-create-form,
  .admin-edit-card,
  .admin-escalation-meta,
  .assignment-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-app-page .portal-summary.admin-command-strip,
  .portal-app-page .portal-item dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-app-page .portal-item {
    grid-template-columns: 1fr;
  }

  .portal-app-page .portal-escalation-panel {
    grid-template-columns: 1fr;
  }

  .admin-project-list-head {
    display: none;
  }

  .admin-project-summary {
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: start;
  }

  .admin-project-title,
  .admin-project-cell,
  .admin-project-row-action {
    grid-column: 2;
  }

  .admin-project-cell-timeline {
    grid-column: 1 / -1;
  }

  .admin-project-cell > span {
    display: block;
  }

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

  .admin-project-detail-section {
    grid-template-columns: 1fr;
  }

  .admin-project-toggle {
    width: fit-content;
  }

  .project-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "project-head"
      "project-meta"
      "project-side"
      "project-action";
  }

  .project-card header {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-tags {
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .commitment-layout {
    grid-template-columns: 1fr;
  }

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

  .feature-image img,
  .commitment-image {
    aspect-ratio: 16 / 10;
  }

  .portal-demo-stage {
    justify-self: stretch;
    width: 100%;
  }

  .portal-demo-card-secondary {
    width: 100%;
  }

  .availability-widget {
    top: auto;
    right: 1rem;
    bottom: 5.4rem;
    transform: none;
    max-height: calc(100svh - 6.4rem);
  }

  .availability-widget:not(.is-collapsed) {
    top: 5.75rem;
    bottom: 5.4rem;
    max-height: none;
  }

  .availability-widget.is-collapsed {
    width: 3.35rem;
  }

  .language-widget {
    top: auto;
    right: 0;
    bottom: 1rem;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
    gap: 0.75rem;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 150px;
  }

  .nav-toggle span {
    display: none;
  }

  .header-actions,
  .header-login {
    display: none;
  }

  .admin-app-page .admin-app-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    min-height: 4rem;
    padding: 0.65rem 0.85rem;
  }

  .admin-app-page .admin-app-brand img {
    width: 150px;
  }

  .admin-app-page .admin-app-context {
    display: none;
  }

  .admin-app-page .header-actions {
    display: flex;
  }

  .admin-app-page .header-phone {
    display: none;
  }

  .admin-app-page .header-login {
    display: inline-flex;
    min-height: 2.45rem;
    padding: 0 0.8rem;
    font-size: 0.76rem;
  }

  .admin-app-surface {
    width: min(100% - 1rem, 1500px);
    padding: 0.75rem 0 1.25rem;
  }

  .admin-command-header {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 1rem;
  }

  .admin-command-header .button {
    justify-self: start;
  }

  .admin-header-actions {
    justify-content: flex-start;
  }

  .admin-app-page .admin-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-priority-card {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "count label"
      "count hint";
    min-height: 4.85rem;
    padding: 0.72rem;
  }

  .admin-priority-card span {
    width: 2.05rem;
    height: 2.05rem;
  }

  .admin-priority-card p {
    font-size: 0.84rem;
  }

  .admin-priority-card small {
    font-size: 0.68rem;
  }

  .portal-app-page .portal-summary article.portal-id-card span {
    width: auto;
    min-width: 2.05rem;
    max-width: 9rem;
  }

  .portal-app-page .portal-table {
    min-width: 760px;
  }

  .portal-app-page .portal-project-detail-grid {
    grid-template-columns: 1fr;
    min-width: 17rem;
  }

  .portal-app-page .portal-project-detail-grid .span-2 {
    grid-column: auto;
  }

  .admin-app-page .admin-area-tabs {
    grid-template-columns: 1fr;
  }

  .admin-app-page .admin-nav-group {
    padding: 0.38rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--admin-border);
  }

  .admin-app-page .admin-nav-group:last-child {
    border-bottom: 0;
  }

  .admin-section-toolbar {
    align-items: flex-start;
  }

  .admin-section-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-section-actions .button {
    flex: 1 1 11rem;
  }

  .admin-project-ops {
    grid-template-columns: 1fr;
  }

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

  .admin-project-filter {
    justify-content: space-between;
  }

  .admin-section > .section-heading {
    display: grid;
    align-items: start;
  }

  .admin-project-drawer {
    inset: 4rem 0 0 0;
    width: 100vw;
    padding: 0.5rem;
    background: rgba(243, 245, 247, 0.96);
  }

  .admin-drawer-panel {
    min-height: calc(100svh - 5rem);
    border-radius: 8px;
  }

  .admin-drawer-grid,
  .admin-drawer-warnings,
  .admin-drawer-form {
    grid-template-columns: 1fr;
  }

  .customer-status-card,
  .customer-description-card,
  .customer-drawer-escalation-form,
  .customer-fact-grid {
    grid-template-columns: 1fr;
  }

  .customer-status-steps {
    grid-template-columns: 1fr;
  }

  .customer-section-title {
    display: grid;
  }

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

  .nav-toggle {
    grid-column: 2;
  }

  .hero {
    min-height: 86svh;
    padding: 7.5rem 1rem 1rem;
  }

  .page-hero {
    min-height: 60svh;
    padding: 8rem 1rem 3rem;
  }

  .hero-media,
  .page-hero-media {
    transform: none;
  }

  .portal-hero h1 {
    font-size: 2.3rem;
    line-height: 1.1;
    overflow-wrap: break-word;
  }

  .portal-auth-intro h2 {
    font-size: 1.9rem;
    overflow-wrap: break-word;
  }

  .portal-card {
    padding: 1.15rem;
  }

  .portal-dashboard > .section-heading,
  .admin-panel > .section-heading {
    grid-template-columns: 1fr;
  }

  .portal-dashboard > .section-heading .button,
  .admin-panel > .section-heading .button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .project-page .page-hero {
    min-height: 52svh;
    padding-bottom: 3rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-proof,
  .signal-strip,
  .people-grid,
  .principle-grid,
  .project-overview,
  .trade-overview,
  .process-grid,
  .system-flow,
  .console-grid,
  .trade-grid,
  .proof-grid,
  .commitment-list,
  .estimator-form,
  .radar-tools,
  .team-grid,
  .leadership-grid,
  .availability-standard-grid,
  .quality-gates,
  .project-tools,
  .trade-tools,
  .portal-summary,
  .company-profile-summary,
  .company-profile-form,
  .customer-rating-metrics,
  .customer-rating-form,
  .subcontractor-quality-panel,
  .portal-item dl,
  .admin-area-tabs,
  .admin-create-form,
  .admin-edit-card,
  .admin-project-details,
  .admin-project-detail-section,
  .admin-rating-card header,
  .admin-rating-fields,
  .assignment-board,
  .assignment-track,
  .assignment-card dl,
  .admin-request-controls,
  .admin-escalation-meta,
  .portal-escalation-form,
  .document-grid,
  .trust-grid,
  .compliance-list,
  .legal-grid,
  .form-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .company-profile-form.company-profile-form .span-2,
  .company-profile-actions {
    grid-column: 1;
  }

  .admin-profile-details {
    padding: 0.75rem;
  }

  .admin-profile-details > .company-profile-summary,
  .admin-profile-details > .company-profile-form {
    grid-template-columns: 1fr;
  }

  .admin-profile-details > .company-profile-summary div:first-child,
  .admin-profile-details > .company-profile-summary div:nth-child(4),
  .admin-profile-details > .company-profile-form label,
  .admin-profile-details > .company-profile-form .span-2,
  .admin-profile-details > .company-profile-actions {
    grid-column: 1;
  }

  .project-card dl,
  .trade-card dl {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 1.25rem;
  }

  .contact-panel h2 {
    font-size: 1.9rem;
  }

  .contact-link {
    font-size: 1.05rem;
  }

  .admin-nav-group {
    align-content: start;
  }

  .project-overview article,
  .trade-overview article {
    min-height: auto;
    padding: 1.2rem 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .project-overview article:last-child,
  .trade-overview article:last-child {
    border-bottom: 0;
  }

  .system-flow article::after {
    display: none;
  }

  .system-flow article,
  .leadership-grid article,
  .availability-standard-grid article,
  .quality-gates li {
    min-height: auto;
  }

  .system-panel li {
    display: grid;
  }

  .system-panel li span {
    text-align: left;
  }

  .hero-proof p,
  .signal-strip p {
    min-height: auto;
  }

  .document-page .signal-strip p {
    justify-content: flex-start;
    min-height: auto;
    padding: 1rem 1.1rem;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 14%);
  }

  .document-page .signal-strip p:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 4.5rem 1rem;
  }

  .about-hero {
    min-height: 88svh;
    padding: 7.25rem 1rem 2rem;
  }

  .about-hero-media img {
    object-position: 50% 34%;
  }

  .about-hero-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .about-hero-proof {
    grid-template-columns: 1fr;
    width: min(100%, 23rem);
    margin-top: 1.5rem;
  }

  .about-manifesto,
  .about-operating-system,
  .about-principles {
    padding: 4.5rem 1rem;
  }

  .about-manifesto-copy h2,
  .about-os-copy h2,
  .about-team-heading h2,
  .about-principles-copy h2 {
    font-size: 2.05rem;
  }

  .about-manifesto-points article {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-manifesto-points span {
    grid-row: auto;
  }

  .about-os-flow article,
  .principle-grid article {
    min-height: auto;
  }

  .people-grid {
    gap: 1rem;
  }

  .person-card {
    min-height: 26rem;
  }

  .person-card-feature {
    min-height: 30rem;
  }

  .person-content {
    padding: 1rem;
  }

  .span-2 {
    grid-column: auto;
  }

  .benefit-list article {
    grid-template-columns: 1fr;
  }

  .benefit-list article p {
    grid-column: auto;
  }

  .portal-demo-stage {
    display: grid;
    gap: 0.85rem;
    min-height: auto;
  }

  .portal-demo-stage::before {
    display: none;
  }

  .portal-demo-card,
  .portal-demo-card-primary,
  .portal-demo-card-secondary {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .portal-demo-card img,
  .portal-demo-card-secondary img {
    height: clamp(145px, 45vw, 180px);
  }

  .feature-image figcaption {
    position: static;
    max-width: none;
    margin-top: 0.75rem;
    color: var(--ink);
    background: var(--soft);
  }

  .process-step,
  .commitment-list article,
  .proof-item,
  .contract-paper,
  .contract-control-panel,
  .trust-card,
  .compliance-item {
    min-height: auto;
  }

  .contract-paper {
    padding: 1rem;
  }

  .contract-paper-meta {
    grid-template-columns: 1fr;
  }

  .contract-clause.is-active {
    transform: none;
  }

  .commitment-list article::after {
    display: none;
  }

  .faq-visual {
    min-height: 18rem;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .wizard-actions {
    flex-direction: column;
  }

  .wizard-actions .button {
    width: 100%;
  }

  .trade-cart-item {
    grid-template-columns: 1fr;
  }

  .trade-cart-remove {
    justify-self: start;
  }

  .trade-card-actions .card-action,
  .admin-create-form .button,
  .admin-actions .button,
  .trade-cart-actions .button,
  .trade-assistant-actions .button,
  .trade-selection-dock-actions .button {
    width: 100%;
  }

  .admin-create-form .button,
  .admin-checkline,
  .admin-actions {
    grid-column: 1 / -1;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .availability-widget {
    right: 0.75rem;
    bottom: 5.15rem;
    width: calc(100vw - 1.5rem);
    max-height: calc(100svh - 6.15rem);
  }

  .availability-widget:not(.is-collapsed) {
    top: 5.25rem;
    bottom: 5.15rem;
    max-height: none;
  }

  .availability-widget.is-collapsed {
    width: 3.35rem;
  }

  .availability-panel {
    max-height: calc(100svh - 10rem);
    overflow: auto;
  }

  .language-widget {
    top: auto;
    right: 0;
    bottom: 0.75rem;
  }

  .language-widget-panel {
    min-width: min(13.25rem, calc(100vw - 1.5rem));
  }

  .detail-panel {
    width: 100%;
    padding: 1.25rem;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 3.75rem;
  }

  .portal-app-page .portal-summary.admin-command-strip,
  .portal-app-page .portal-item dl {
    grid-template-columns: 1fr;
  }

  .portal-app-page .portal-summary article.portal-id-card span {
    max-width: none;
  }

  .portal-app-page .portal-table {
    min-width: 680px;
  }

  .contract-clause {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    min-height: 4.25rem;
    padding: 0.75rem;
  }

  .contract-signatures {
    grid-template-columns: 1fr;
  }

  .contract-responsibilities div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .contract-detail {
    padding: 1rem;
  }

  .contract-detail h3 {
    font-size: 1.35rem;
  }

  .document-info-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .document-info-card h3,
  .document-info-card p {
    grid-column: auto;
  }

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

  .admin-drawer-header {
    grid-template-columns: 1fr;
  }

  .admin-drawer-close {
    justify-self: start;
  }

  .admin-profile-details,
  .admin-profile-workbench,
  .admin-profile-data-panel .company-profile-summary,
  .admin-profile-data-panel .company-profile-form {
    padding: 0.75rem;
  }

  .admin-profile-project-stats,
  .admin-profile-data-panel summary {
    grid-template-columns: 1fr;
  }

  .admin-profile-data-panel .company-profile-summary,
  .admin-profile-data-panel .company-profile-form {
    padding-top: 0;
  }

  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.08;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-actions .button,
  .page-hero .button,
  .cta-actions .button {
    width: 100%;
  }

  .page-hero-content,
  .portal-hero .page-hero-content,
  .portal-auth-intro,
  .portal-card {
    width: min(100%, calc(100vw - 2rem), 22.5rem);
    max-width: calc(100vw - 2rem);
    min-width: 0;
    justify-self: start;
  }

  .section-heading,
  .section-copy {
    max-width: calc(100vw - 2rem);
    min-width: 0;
  }

  .page-hero h1,
  .portal-hero h1 {
    font-size: 1.85rem;
    line-height: 1.1;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .about-hero-copy h1 {
    font-size: 2rem;
    line-height: 1.08;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .about-hero-media {
    min-height: 0;
  }

  .person-card {
    grid-template-columns: 1fr;
  }

  .about-hero .hero-actions {
    padding-bottom: 3.75rem;
  }

  .about-page .language-widget {
    display: none;
  }

  h2 {
    font-size: 1.65rem;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .contact-panel h2 {
    font-size: 1.55rem;
  }

  .contact-panel p,
  .contact-panel address {
    font-size: 0.95rem;
  }

  .page-hero p:not(.eyebrow),
  .section-heading > p,
  .section-copy > p {
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .portal-auth-intro h2 {
    font-size: 1.75rem;
  }

  .portal-card-header h2 {
    font-size: 1.45rem;
  }

  .availability-widget.is-collapsed {
    display: none;
  }

  .trade-selection-dock {
    right: 1rem;
    bottom: 4.45rem;
    left: 1rem;
    gap: 0.7rem;
    min-height: 0;
    padding: 0.75rem;
  }

  .trade-selection-dock-copy strong,
  .trade-selection-dock-copy span {
    white-space: normal;
  }

  .has-trade-selection .availability-widget.is-collapsed {
    bottom: 11rem;
  }
}

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

  .button:hover,
  .trade-card:hover {
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
