﻿:root {
  --bg: #060708;
  --bg-2: #0a0b0d;
  --surface: #101214;
  --surface-2: #16191d;
  --surface-3: #20242a;
  --line: rgba(231, 235, 240, 0.13);
  --line-strong: rgba(231, 235, 240, 0.24);
  --text: #f4f6f8;
  --muted: #9ba3ad;
  --soft: #d6dbe1;
  --accent: #d8dde4;
  --accent-2: #8d96a3;
  --amber: #c7ced8;
  --danger: #ff6f59;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --container: 1180px;
  --header: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(216, 221, 228, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 221, 228, 0.025) 1px, transparent 1px),
    linear-gradient(145deg, #060708 0%, #0a0b0d 42%, #111419 100%);
  background-size: 72px 72px, 72px 72px, auto;
  overflow-x: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(216, 221, 228, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(216, 221, 228, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 221, 228, 0.025) 1px, transparent 1px),
    #060708;
  background-size: 72px 72px;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.loader-card {
  position: relative;
  width: min(520px, calc(100% - 40px));
  min-height: 300px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  padding: 34px;
  border: 1px solid rgba(216, 221, 228, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(216, 221, 228, 0.11), transparent 42%),
    rgba(7, 12, 8, 0.92);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.loader-card::before,
.loader-card::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(216, 221, 228, 0.18);
}

.loader-card::before {
  animation: loaderOrbit 4s linear infinite;
}

.loader-card::after {
  width: 260px;
  height: 260px;
  border-color: rgba(255, 255, 255, 0.055);
  animation: loaderOrbit 7s linear reverse infinite;
}

.loader-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 18px;
}

.loader-mark img {
  width: min(360px, 70vw);
  height: 94px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(216, 221, 228, 0.28));
  animation: loaderPulse 1.35s ease-in-out infinite;
}

.loader-mark span {
  width: min(280px, 62vw);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.loader-mark span::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: loaderBar 4s ease forwards;
}

.loader-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  text-align: center;
}

.loader-copy strong {
  font-size: 18px;
}

.loader-copy small {
  color: var(--muted);
  font-weight: 700;
}

.loader-steps {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
}

.loader-steps i {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  animation: loaderStep 1.2s ease-in-out infinite;
}

.loader-steps i:nth-child(2) {
  animation-delay: 0.18s;
}

.loader-steps i:nth-child(3) {
  animation-delay: 0.36s;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loaderPulse {
  0%, 100% {
    opacity: 0.84;
    transform: scale(0.985);
  }
  50% {
    opacity: 1;
    transform: scale(1.018);
  }
}

@keyframes loaderOrbit {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.04);
  }
}

@keyframes loaderStep {
  0%, 100% {
    background: rgba(255, 255, 255, 0.12);
  }
  50% {
    background: var(--accent);
  }
}

@keyframes loaderBar {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

html.loader-seen .site-loader {
  display: none;
}

.site-loader {
  background:
    radial-gradient(circle at 50% 42%, rgba(216, 221, 228, 0.16), transparent 28%),
    radial-gradient(circle at 50% 120%, rgba(141, 150, 163, 0.16), transparent 34%),
    #050607;
}

.loader-card {
  width: min(430px, calc(100% - 42px));
  min-height: 292px;
  gap: 20px;
  border-color: rgba(216, 221, 228, 0.28);
  background:
    linear-gradient(180deg, rgba(216, 221, 228, 0.085), rgba(255, 255, 255, 0.018)),
    rgba(2, 7, 4, 0.96);
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.loader-core {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
}

.loader-core span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(216, 221, 228, 0.34);
  border-radius: 50%;
  animation: loaderOrbit 2.6s linear infinite;
}

.loader-core span:nth-child(2) {
  inset: 18px;
  border-color: rgba(255, 255, 255, 0.13);
  animation-duration: 1.7s;
  animation-direction: reverse;
}

.loader-core b {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #08090b;
  background: var(--accent);
  box-shadow:
    0 0 28px rgba(216, 221, 228, 0.38),
    0 0 70px rgba(216, 221, 228, 0.18);
  font-size: 38px;
  line-height: 1;
}

.loader-progress {
  position: relative;
  z-index: 1;
  width: min(260px, 64vw);
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.loader-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  animation: loaderBar 1.8s ease forwards;
}

body::selection {
  color: #0b0d10;
  background: var(--accent);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 7, 5, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: 190px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  padding: 10px 0;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.icon-link {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.icon-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(216, 221, 228, 0.09);
}

.icon-link svg,
.button svg,
.service-icon svg,
.side-nav svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(216, 221, 228, 0.7);
  border-radius: var(--radius);
  color: #08090b;
  background: linear-gradient(180deg, var(--accent), #aeb8c4);
  box-shadow: 0 12px 30px rgba(216, 221, 228, 0.18);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(216, 221, 228, 0.24);
}

.button-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  box-shadow: none;
}

.button-ghost:hover {
  border-color: var(--accent);
  background: rgba(216, 221, 228, 0.08);
  box-shadow: none;
}

.button-danger {
  color: #fff5f1;
  border-color: rgba(255, 111, 89, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 111, 89, 0.96), rgba(177, 48, 32, 0.96));
  box-shadow: 0 14px 34px rgba(255, 111, 89, 0.16);
}

.button-danger:hover {
  border-color: rgba(255, 111, 89, 0.75);
  box-shadow: 0 18px 42px rgba(255, 111, 89, 0.22);
}

.button:disabled,
.button[disabled] {
  cursor: not-allowed;
  opacity: 0.46;
  transform: none;
  box-shadow: none;
}

.button-soft {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(216, 221, 228, 0.1);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  width: min(var(--container), calc(100% - 36px));
  min-height: calc(100svh - var(--header) - 34px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(26px, 5vw, 68px);
  padding: clamp(34px, 6vw, 72px) 0 clamp(30px, 4vw, 52px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 6.1vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
}

.metric-row div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.metric-row strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: clamp(20px, 2.4vw, 30px);
}

.metric-row span {
  color: var(--muted);
  font-size: 13px;
}

.hero-dashboard,
.panel-preview,
.workspace-card,
.kpi-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 26, 20, 0.96), rgba(8, 12, 8, 0.96));
  box-shadow: var(--shadow);
}

.hero-dashboard {
  padding: clamp(16px, 2.2vw, 24px);
  position: relative;
  overflow: hidden;
}

.hero-dashboard::before,
.panel-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(216, 221, 228, 0.1), transparent 32%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03), transparent 50%);
}

.dashboard-topline,
.dash-meta,
.panel-bar,
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-topline {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-topline strong {
  color: var(--accent);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(216, 221, 228, 0.12);
}

.dashboard-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dash-card {
  min-height: 134px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.dash-card-wide {
  grid-column: 1 / -1;
  min-height: 188px;
}

.dash-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dash-card h2 {
  max-width: 420px;
  margin-bottom: 20px;
  font-size: clamp(23px, 3vw, 34px);
}

.dash-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 36px;
}

.dash-card span {
  color: var(--muted);
  font-size: 13px;
}

.progress,
.large-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.progress span,
.large-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.dash-meta {
  margin-top: 12px;
}

.timeline {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.timeline div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.timeline span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

.home-live-stack {
  display: grid;
  gap: 14px;
}

.public-live-sale,
.home-status-board article,
.home-system-grid article,
.process-detail-grid article,
.sales-empty-note,
.contact-info-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(216, 221, 228, 0.1), transparent 52%),
    rgba(12, 19, 15, 0.92);
}

.public-live-sale {
  position: relative;
  min-height: 236px;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.public-live-sale::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -34%;
  width: 70%;
  height: 58%;
  border-radius: 50%;
  background: rgba(216, 221, 228, 0.12);
  transform: rotate(-8deg);
}

.public-live-sale > * {
  position: relative;
  z-index: 1;
}

.public-live-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.public-live-top div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.public-live-top small {
  color: var(--accent);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-live-top strong {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #08090b;
  background: var(--accent);
  box-shadow: 0 18px 34px rgba(216, 221, 228, 0.2);
}

.public-live-sale h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1;
}

.public-live-sale p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 850;
}

.public-live-sale-compact {
  min-height: 215px;
  box-shadow: none;
}

.public-live-sale-compact h2 {
  font-size: clamp(24px, 2.8vw, 34px);
}

.home-status-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-status-board article {
  min-height: 136px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
}

.home-status-board small,
.home-system-grid span,
.process-detail-grid small,
.contact-info-grid span {
  color: var(--accent);
  font-weight: 950;
  text-transform: uppercase;
}

.home-status-board strong {
  font-size: 22px;
}

.home-status-board span,
.home-system-grid p,
.process-detail-grid p,
.sales-empty-note span {
  color: var(--muted);
  line-height: 1.65;
}

.home-system-grid,
.sales-feed-grid,
.process-detail-grid,
.contact-info-grid {
  display: grid;
  gap: 14px;
}

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

.home-system-grid article {
  min-height: 270px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.home-system-grid h3,
.process-detail-grid h3 {
  margin: 0;
  font-size: 23px;
}

.home-system-grid p,
.process-detail-grid p {
  margin: 0;
}

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

.sales-empty-note {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 215px;
  padding: 24px;
}

.sales-empty-note strong {
  font-size: 25px;
}

.page-hero {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 130px) 0 clamp(20px, 4vw, 42px);
}

.page-hero-copy {
  max-width: 930px;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

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

.process-detail-grid article {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.contact-inner-large {
  align-items: stretch;
}

.contact-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.contact-info-grid article {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.contact-info-grid strong {
  font-size: 18px;
}

.section {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) 0;
}

.visual-slider {
  padding-top: 0;
}

.slider-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #060708;
  box-shadow: var(--shadow);
}

.slider-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.48);
}

.slider-frame img {
  width: 100%;
  aspect-ratio: 2048 / 1024;
  object-fit: cover;
  animation: sliderDrift 12s ease-in-out infinite alternate;
}

@keyframes sliderDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035);
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

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

.service-card,
.price-card,
.reference-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.service-card {
  display: grid;
  align-content: start;
  min-height: 270px;
  padding: 24px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: var(--radius);
  color: #08090b;
  background: var(--accent);
}

.service-card p,
.panel-copy p,
.contact-inner p,
.price-card li {
  color: var(--muted);
  line-height: 1.68;
}

.service-points {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 18px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.process-section {
  padding-top: 24px;
}

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

.process-grid article {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(216, 221, 228, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.04);
}

.process-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 221, 228, 0.35);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 950;
  background: rgba(216, 221, 228, 0.08);
}

.process-grid h3 {
  margin: 0;
  font-size: 22px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.delivery-section {
  padding-top: 20px;
}

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

.delivery-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.delivery-grid h3 {
  margin: 0 0 12px;
  font-size: 23px;
}

.delivery-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.solution-section {
  padding-top: 22px;
}

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

.solution-grid article {
  min-height: 285px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
}

.solution-grid span {
  width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(216, 221, 228, 0.36);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(216, 221, 228, 0.08);
  font-weight: 950;
}

.solution-grid h3 {
  margin: 0;
  font-size: 23px;
}

.solution-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.solution-grid strong {
  align-self: end;
  color: var(--soft);
}

.ops-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 62px);
}

.ops-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.72;
  font-size: 17px;
}

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

.ops-board article {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(216, 221, 228, 0.12), transparent 52%),
    rgba(255, 255, 255, 0.04);
}

.ops-board span {
  color: var(--muted);
  font-weight: 800;
}

.ops-board strong {
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.1;
}

.panel-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 62px);
}

.panel-copy p {
  max-width: 570px;
  margin-bottom: 24px;
  font-size: 17px;
}

.panel-preview {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.panel-bar {
  position: relative;
  z-index: 1;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.panel-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.panel-bar span:first-child {
  background: var(--danger);
}

.panel-bar span:nth-child(2) {
  background: var(--amber);
}

.panel-bar span:nth-child(3) {
  background: var(--accent);
}

.panel-preview-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.panel-preview-grid article {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.panel-preview-grid small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.panel-preview-grid strong {
  font-size: 26px;
}

.panel-table {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.panel-table div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  align-items: center;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

.panel-table span {
  color: var(--soft);
}

.panel-table strong {
  color: var(--accent);
}

.pricing-switch {
  display: flex;
  width: fit-content;
  margin: 0 auto 22px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.pricing-switch button {
  min-width: 160px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.pricing-switch button.active {
  color: #08090b;
  background: var(--accent);
}

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

.price-deck.active {
  display: grid;
}

.price-deck[data-pricing-panel="mobile"] {
  max-width: 940px;
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  min-height: 464px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.price-card.featured {
  border-color: rgba(216, 221, 228, 0.66);
  background: linear-gradient(180deg, rgba(216, 221, 228, 0.13), rgba(255, 255, 255, 0.04));
}

.price-card.premium {
  border-color: rgba(215, 187, 103, 0.5);
}

.package-label {
  min-height: 22px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  margin: 12px 0 20px;
  color: var(--text);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.price span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 20px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.reference-card {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(233, 239, 229, 0.9));
}

.reference-wide {
  grid-column: span 2;
}

.reference-card img {
  width: 100%;
  height: 76px;
  object-fit: contain;
}

.reference-card .logo-panorama {
  height: 58px;
}

.contact {
  padding-bottom: 56px;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(216, 221, 228, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.contact-inner h2 {
  max-width: 710px;
}

.contact-inner p:not(.eyebrow) {
  max-width: 740px;
  margin-bottom: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-logo {
  width: 120px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.footer-links a:hover {
  color: var(--text);
}

.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(760px, calc(100% - 36px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(216, 221, 228, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 221, 228, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(3, 8, 5, 0.95);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent strong {
  display: block;
  margin-bottom: 4px;
  color: var(--soft);
}

.cookie-consent p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.auth-body {
  min-height: 100svh;
}

.auth-page {
  width: min(100% - 32px, 760px);
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 24px;
  margin: 0 auto;
  padding: 42px 0;
}

.auth-logo {
  width: 190px;
  display: inline-block;
}

.auth-logo img {
  width: 100%;
  height: auto;
}

.auth-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(216, 221, 228, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(17, 26, 20, 0.96), rgba(8, 12, 8, 0.96));
  box-shadow: var(--shadow);
}

.auth-card-wide {
  width: min(100%, 860px);
}

.auth-copy h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.auth-copy p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.auth-form input,
.auth-form textarea,
.auth-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  outline: none;
  resize: vertical;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(216, 221, 228, 0.1);
}

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

.form-alert {
  margin-bottom: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
  background: rgba(255, 255, 255, 0.05);
  line-height: 1.5;
}

.form-alert.success {
  border-color: rgba(216, 221, 228, 0.36);
  background: rgba(216, 221, 228, 0.09);
}

.form-alert.error {
  border-color: rgba(255, 111, 89, 0.36);
  background: rgba(255, 111, 89, 0.09);
}

.form-alert a,
.auth-switch a,
.auth-links a {
  color: var(--accent);
  font-weight: 850;
}

.auth-switch {
  margin: 18px 0 0;
  color: var(--muted);
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: var(--muted);
}

.panel-userline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.panel-userline span,
.profile-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
  font-weight: 800;
}

.profile-chip {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  color: #08090b;
  background: var(--accent);
}

.panel-muted {
  margin: -4px 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

.empty-state {
  display: grid;
  justify-items: start;
  gap: 14px;
  min-height: 170px;
  align-content: center;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.empty-state p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.product-panel-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(216, 221, 228, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(216, 221, 228, 0.1), transparent 36%),
    rgba(255, 255, 255, 0.045);
  min-height: 320px;
}

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

.product-card-head small {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
}

.product-card-head span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(216, 221, 228, 0.3);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(216, 221, 228, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.product-panel-card h3 {
  margin: 0;
  font-size: 24px;
}

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

.product-panel-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-panel-card li {
  position: relative;
  padding-left: 18px;
  color: var(--soft);
  font-size: 13px;
}

.product-panel-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.product-panel-card > strong {
  margin-top: auto;
  font-size: 30px;
}

.product-buy-form {
  display: grid;
  gap: 12px;
}

.balance-purchase-box {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(216, 221, 228, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(216, 221, 228, 0.12), transparent),
    rgba(255, 255, 255, 0.04);
}

.balance-purchase-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.balance-purchase-box b {
  font-size: 18px;
}

.balance-purchase-box small {
  color: var(--muted);
  line-height: 1.45;
}

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

.payment-choice {
  cursor: pointer;
}

.payment-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-choice span {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.payment-choice strong {
  font-size: 14px;
}

.payment-choice small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.payment-choice input:checked + span {
  border-color: rgba(216, 221, 228, 0.75);
  background:
    linear-gradient(145deg, rgba(216, 221, 228, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(216, 221, 228, 0.18), 0 16px 30px rgba(0, 0, 0, 0.22);
}

.product-buy-form .button {
  width: 100%;
}

.compact-list {
  display: grid;
  gap: 10px;
}

.compact-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.compact-list span {
  color: var(--soft);
  font-weight: 800;
}

.compact-list strong {
  font-size: 20px;
}

.compact-list em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

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

.invoice-tile {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(216, 221, 228, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.invoice-stamp {
  width: 64px;
  height: 74px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(216, 221, 228, 0.34);
  border-radius: var(--radius);
  background: rgba(216, 221, 228, 0.09);
}

.invoice-stamp strong {
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.invoice-stamp span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.invoice-main span {
  display: block;
  color: var(--soft);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.25;
}

.invoice-main small,
.invoice-amount small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.invoice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.invoice-tags em {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.invoice-amount {
  text-align: right;
}

.invoice-amount strong {
  display: block;
  margin-top: 4px;
  white-space: nowrap;
  font-size: 21px;
}

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

.invoice-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 900;
}

.invoice-actions a:last-child {
  color: #08090b;
  border-color: rgba(216, 221, 228, 0.68);
  background: var(--accent);
}

.activity-table-detailed div {
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 64px;
}

.activity-table-detailed small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.payment-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.payment-summary div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.payment-summary span {
  color: var(--muted);
}

.payment-summary strong {
  color: var(--text);
}

.standalone-panel {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
}

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

.bank-choice {
  cursor: pointer;
}

.bank-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bank-choice span {
  display: grid;
  gap: 6px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.bank-choice input:checked + span {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(216, 221, 228, 0.08);
}

.bank-choice.readonly {
  cursor: default;
}

.bank-choice.readonly span {
  min-height: 100%;
}

.bank-choice strong {
  color: var(--text);
  font-size: 18px;
}

.bank-choice em,
.bank-choice small {
  color: var(--muted);
  font-style: normal;
}

.bank-choice code {
  color: var(--accent);
  font-weight: 900;
  white-space: normal;
}

.ticket-thread {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.ticket-message {
  max-width: 780px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.ticket-message.staff {
  margin-left: auto;
  border-color: rgba(216, 221, 228, 0.34);
  background: rgba(216, 221, 228, 0.08);
}

.ticket-message strong {
  display: block;
  margin-bottom: 8px;
}

.ticket-message p {
  margin-bottom: 10px;
  color: var(--soft);
  line-height: 1.65;
}

.ticket-message small {
  color: var(--muted);
}

.ticket-attachments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.ticket-attachments a {
  overflow: hidden;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.ticket-attachments img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
}

.ticket-attachments a > span {
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #08090b;
  background: var(--accent);
  font-weight: 950;
}

.ticket-attachments strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--soft);
  font-size: 12px;
}

.ticket-detail-card {
  display: grid;
  gap: 22px;
}

.ticket-reply-form {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.file-drop {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px dashed rgba(216, 221, 228, 0.38);
  border-radius: var(--radius);
  background: rgba(216, 221, 228, 0.055);
}

.file-drop input {
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.file-drop span {
  color: var(--muted);
  font-size: 12px;
}

.admin-grid {
  display: grid;
  gap: 16px;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-table div,
.admin-table form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, auto) minmax(240px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.admin-table div {
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, auto) minmax(180px, auto);
}

.admin-table span {
  color: var(--soft);
  font-weight: 850;
}

.admin-table small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.admin-table strong,
.admin-table em {
  color: var(--muted);
  font-style: normal;
}

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

.select-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.select-field select,
.admin-table select {
  min-height: 44px;
  width: 100%;
  padding: 0 38px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%) calc(100% - 18px) 19px / 7px 7px no-repeat,
    linear-gradient(135deg, var(--accent) 50%, transparent 50%) calc(100% - 13px) 19px / 7px 7px no-repeat,
    #16191d;
  appearance: none;
  outline: none;
}

.select-field select:focus,
.admin-table select:focus {
  border-color: rgba(216, 221, 228, 0.75);
  box-shadow: 0 0 0 3px rgba(216, 221, 228, 0.1);
}

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

.project-admin-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.project-admin-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.project-admin-head strong {
  display: block;
  font-size: 20px;
}

.project-admin-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.project-admin-head > span {
  min-width: 58px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 221, 228, 0.34);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(216, 221, 228, 0.08);
  font-weight: 950;
}

.stage-admin-list {
  display: grid;
  gap: 8px;
}

.stage-admin-list form,
.stage-add-form {
  display: grid;
  align-items: end;
  gap: 10px;
}

.stage-admin-list form {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.stage-admin-list span {
  color: var(--soft);
  font-weight: 850;
}

.stage-admin-list small {
  display: block;
  color: var(--muted);
  font-weight: 650;
}

.stage-add-form {
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.7fr) minmax(110px, 0.4fr) auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.stage-add-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.stage-add-form input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: #16191d;
}

.invoice-body {
  color: #111827;
  background: #e9eef0;
}

.invoice-page {
  width: min(100% - 32px, 1040px);
  margin: 32px auto;
}

.invoice-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.einvoice {
  padding: 34px;
  border: 1px solid #d1d9dc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(20, 36, 28, 0.18);
}

.einvoice-head,
.einvoice-parties,
.einvoice-table .head,
.einvoice-table div,
.einvoice-total div {
  display: grid;
  gap: 14px;
}

.einvoice-head {
  grid-template-columns: 1fr 260px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 3px solid #d8dde4;
}

.einvoice-head img {
  width: 240px;
  height: 86px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
}

.einvoice h1,
.einvoice h2,
.einvoice p {
  margin: 0;
}

.einvoice h1 {
  font-size: 34px;
  letter-spacing: 0;
}

.einvoice-head > div:last-child {
  padding: 16px;
  border: 1px solid #dbe0e7;
  border-radius: 8px;
  background: #f7f8fa;
}

.einvoice span,
.einvoice small {
  color: #59616b;
}

.einvoice-parties {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.einvoice-parties article {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid #dbe0e7;
  border-radius: 8px;
  background: #fbfcfd;
}

.einvoice-parties p {
  color: #7a838e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.einvoice-table {
  margin-top: 24px;
  border: 1px solid #dbe0e7;
  border-radius: 8px;
  overflow: hidden;
}

.einvoice-table .head,
.einvoice-table div {
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  align-items: center;
  padding: 14px 16px;
}

.einvoice-table .head {
  color: #08090b;
  font-weight: 900;
  background: #d8dde4;
}

.einvoice-table small {
  display: block;
  margin-top: 4px;
}

.einvoice-total {
  width: min(420px, 100%);
  margin: 22px 0 0 auto;
  border: 1px solid #dbe0e7;
  border-radius: 8px;
  overflow: hidden;
}

.einvoice-total div {
  grid-template-columns: 1fr auto;
  padding: 12px 14px;
  border-bottom: 1px solid #e7ebf0;
}

.einvoice-total div:last-child {
  border-bottom: 0;
  color: #08090b;
  background: #eef1f4;
}

.einvoice-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #dbe0e7;
  color: #59616b;
  line-height: 1.6;
}

.official-invoice {
  color: #242a31;
  font-family: Arial, "Segoe UI", sans-serif;
  border-color: #c8ced6;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 68%, #f7f8fa 100%);
}

.official-invoice .einvoice-head {
  grid-template-columns: minmax(0, 1fr) 300px;
  padding-bottom: 18px;
  border-bottom: 4px solid #6d7682;
}

.einvoice-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.einvoice-brand img {
  width: 230px;
  height: 74px;
  object-fit: contain;
}

.einvoice-brand h1 {
  font-size: 31px;
  color: #252b33;
}

.einvoice-brand p {
  margin-top: 6px;
  color: #68717c;
  font-weight: 700;
}

.einvoice-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 16px;
  border: 1px solid #cfd5dd;
  border-radius: 6px;
  background: #f7f8fa;
}

.einvoice-meta span {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.einvoice-meta strong {
  padding-bottom: 7px;
  border-bottom: 1px solid #e2e6ec;
  font-size: 13px;
}

.einvoice-meta strong:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.einvoice-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #dce1e8;
  border-radius: 6px;
  background: #fbfdfc;
}

.einvoice-identity span {
  display: block;
  margin-bottom: 5px;
  color: #68717c;
  font-size: 11px;
  font-weight: 900;
}

.einvoice-identity strong {
  word-break: break-word;
  font-size: 13px;
}

.invoice-qr {
  width: 86px;
  height: 86px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 8px;
  border: 1px solid #242a31;
  background: #fff;
}

.invoice-qr i {
  background: #242a31;
}

.invoice-qr i:nth-child(2),
.invoice-qr i:nth-child(4),
.invoice-qr i:nth-child(8) {
  background: #fff;
}

.official-invoice .einvoice-parties article {
  border-color: #cfd5dd;
  background: #fff;
}

.official-invoice .einvoice-parties p {
  color: #6d7682;
}

.official-invoice .einvoice-table {
  border-color: #c8ced6;
  border-radius: 6px;
}

.official-invoice .einvoice-table .head,
.official-invoice .einvoice-table div {
  grid-template-columns: minmax(0, 1.8fr) 70px 130px 90px 140px;
}

.official-invoice .einvoice-table .head {
  color: #fff;
  background: #6d7682;
}

.official-invoice .einvoice-table div:not(.head) {
  min-height: 78px;
  border-top: 1px solid #e2e6ec;
}

.einvoice-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.einvoice-summary .einvoice-note {
  margin: 0;
  padding: 16px;
  border: 1px solid #dce1e8;
  border-radius: 6px;
  background: #fbfdfc;
}

.einvoice-summary .einvoice-note strong {
  display: block;
  margin-bottom: 8px;
  color: #252b33;
}

.einvoice-summary .einvoice-note p {
  color: #68717c;
  line-height: 1.6;
}

.official-invoice .einvoice-total {
  width: 100%;
  margin: 0;
  border-radius: 6px;
}

.official-invoice .einvoice-total div:last-child {
  color: #fff;
  background: #6d7682;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 540ms ease, transform 540ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.panel-body {
  background:
    linear-gradient(90deg, rgba(216, 221, 228, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 221, 228, 0.02) 1px, transparent 1px),
    #060708;
  background-size: 60px 60px;
}

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

.sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(5, 7, 5, 0.92);
}

.sidebar-brand {
  display: block;
  margin-bottom: 28px;
}

.sidebar-brand img {
  width: 205px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 750;
}

.side-nav a.active,
.side-nav a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(216, 221, 228, 0.08);
}

.side-nav a.authority-link {
  background: linear-gradient(180deg, var(--accent), #aeb8c4);
  border-color: rgba(216, 221, 228, 0.72);
  color: #08090b;
  box-shadow: 0 14px 36px rgba(216, 221, 228, 0.2);
}

.side-nav a.authority-link svg {
  fill: #08090b;
}

.sidebar-back {
  margin-top: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
}

.panel-main {
  padding: 28px clamp(18px, 4vw, 42px) 42px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.panel-header h1 {
  margin-bottom: 0;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.06;
}

.panel-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.kpi-card {
  min-height: 142px;
  padding: 20px;
}

.kpi-card small,
.workspace-card small {
  color: var(--muted);
}

.kpi-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 36px;
  line-height: 1;
}

.kpi-card span {
  color: var(--muted);
  font-size: 13px;
}

.live-panel-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.live-card {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.live-card-featured {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(216, 221, 228, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(216, 221, 228, 0.18), transparent 50%),
    rgba(255, 255, 255, 0.055);
}

.live-card-featured::after {
  content: "";
  position: absolute;
  inset: auto -18% -52% 20%;
  height: 120px;
  background: linear-gradient(90deg, transparent, rgba(216, 221, 228, 0.18), transparent);
  transform: rotate(-8deg);
  pointer-events: none;
}

.live-sale-card > * {
  position: relative;
  z-index: 1;
}

.live-sale-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.live-sale-top b {
  color: #08090b;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(216, 221, 228, 0.2);
  font-size: 13px;
}

.live-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(216, 221, 228, 0.6);
  animation: livePulse 1.6s ease-out infinite;
}

.live-card small {
  color: var(--accent);
  font-weight: 950;
  text-transform: uppercase;
}

.live-card h2,
.live-card strong {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
}

.live-card p,
.live-card span {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.live-sale-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.live-sale-steps span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.055);
  font-size: 12px;
  font-weight: 850;
}

.live-sale-steps span.done {
  color: var(--accent);
  border-color: rgba(216, 221, 228, 0.32);
  background: rgba(216, 221, 228, 0.08);
}

@keyframes livePulse {
  to {
    box-shadow: 0 0 0 12px rgba(216, 221, 228, 0);
  }
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 14px;
}

.workspace-card {
  padding: 22px;
  box-shadow: none;
}

.workspace-large {
  grid-column: span 1;
}

.card-head {
  align-items: flex-start;
  margin-bottom: 18px;
}

.card-head h2 {
  margin: 0;
  font-size: 25px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(215, 187, 103, 0.46);
  border-radius: 999px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  background: rgba(215, 187, 103, 0.09);
}

.pill-neutral {
  color: var(--accent);
  border-color: rgba(216, 221, 228, 0.42);
  background: rgba(216, 221, 228, 0.08);
}

.large-progress {
  height: 12px;
  margin-bottom: 18px;
}

.phase-list,
.activity-table {
  display: grid;
  gap: 10px;
}

.phase-list div,
.activity-table div,
.payment-row {
  display: grid;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.phase-list div {
  grid-template-columns: 12px minmax(0, 1fr) auto;
}

.phase-list span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.phase-list p {
  margin: 0;
  color: var(--soft);
}

.phase-list strong {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.phase-list .done span,
.phase-list .active span {
  background: var(--accent);
}

.phase-list .active {
  outline: 1px solid rgba(216, 221, 228, 0.24);
}

.payment-row {
  grid-template-columns: 1fr auto;
  margin-bottom: 10px;
}

.payment-row span,
.payment-row.muted strong {
  color: var(--muted);
}

.payment-row strong {
  font-size: 20px;
}

.ad-chart {
  height: 210px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  padding-top: 20px;
}

.ad-chart span {
  min-height: 32px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(216, 221, 228, 0.15));
}

.activity-table div {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.activity-table span {
  color: var(--soft);
}

.activity-table strong,
.activity-table em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
}

.premium-hero {
  position: relative;
  width: min(1480px, calc(100% - 36px));
  min-height: calc(100svh - var(--header));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) 0 clamp(34px, 5vw, 78px);
}

.premium-hero::before {
  content: "";
  position: absolute;
  inset: 4% -6% auto auto;
  width: 62%;
  height: 74%;
  pointer-events: none;
  background:
    radial-gradient(circle at 48% 36%, rgba(216, 221, 228, 0.2), transparent 30%),
    radial-gradient(circle at 72% 62%, rgba(141, 150, 163, 0.12), transparent 28%);
  filter: blur(12px);
}

.premium-hero-copy,
.hero-visual-stage {
  position: relative;
  z-index: 1;
}

.premium-hero-copy {
  max-width: 720px;
}

.premium-hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(48px, 7.2vw, 94px);
  line-height: 0.9;
  letter-spacing: 0;
}

.premium-hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.72;
}

.premium-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.premium-metrics article {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(216, 221, 228, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.premium-metrics strong {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1;
}

.premium-metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual-stage {
  min-height: clamp(430px, 48vw, 690px);
  overflow: hidden;
  border: 1px solid rgba(216, 221, 228, 0.22);
  border-radius: var(--radius);
  background: #050607;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.hero-visual-stage img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.86;
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.03);
}

.hero-visual-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 4, 2, 0.1), transparent 46%, rgba(2, 4, 2, 0.28)),
    radial-gradient(circle at 76% 18%, rgba(216, 221, 228, 0.22), transparent 24%),
    inset 0 0 120px rgba(0, 0, 0, 0.62);
}

.hero-glass-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(216, 221, 228, 0.24);
  border-radius: var(--radius);
  background: rgba(3, 8, 5, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.hero-glass-card small {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-glass-card strong {
  font-size: 18px;
}

.hero-glass-top {
  top: 22px;
  right: 22px;
}

.hero-glass-bottom {
  left: 22px;
  bottom: 22px;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: center;
}

.hero-glass-bottom span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(216, 221, 228, 0.11);
}

.home-slider {
  padding-top: 22px;
}

.neo-slider {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.neo-slider-media,
.neo-slider-panel,
.capability-grid article,
.commerce-flow article {
  border: 1px solid rgba(216, 221, 228, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(216, 221, 228, 0.09), transparent 48%),
    rgba(255, 255, 255, 0.035);
}

.neo-slider-media {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background: #050607;
}

.neo-slider-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  animation: sliderDrift 12s ease-in-out infinite alternate;
}

.neo-slider-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.64));
}

.neo-slider-caption {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 8px;
}

.neo-slider-caption small,
.neo-slider-tabs span.active,
.capability-grid span,
.commerce-flow span {
  color: var(--accent);
  font-weight: 950;
  text-transform: uppercase;
}

.neo-slider-caption strong {
  max-width: 820px;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.05;
}

.neo-slider-panel {
  display: grid;
  align-content: center;
  padding: clamp(24px, 3vw, 38px);
}

.neo-slider-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.96;
}

.neo-slider-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.72;
}

.neo-slider-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.neo-slider-tabs span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 900;
}

.live-commerce-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 16px;
  align-items: stretch;
}

.commerce-flow {
  display: grid;
  gap: 12px;
}

.commerce-flow article {
  min-height: 132px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-content: center;
  column-gap: 14px;
  padding: 18px;
}

.commerce-flow span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 221, 228, 0.34);
  border-radius: 50%;
  background: rgba(216, 221, 228, 0.08);
}

.commerce-flow strong {
  font-size: 22px;
}

.commerce-flow p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.capability-grid article {
  min-height: 300px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.capability-grid h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.1;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.service-card-premium {
  background:
    linear-gradient(180deg, rgba(216, 221, 228, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.contact-inner-premium {
  background:
    radial-gradient(circle at 84% 20%, rgba(216, 221, 228, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(216, 221, 228, 0.11), rgba(255, 255, 255, 0.035));
}

@media (max-width: 1120px) {
  .hero,
  .premium-hero,
  .neo-slider,
  .live-commerce-grid,
  .panel-section,
  .ops-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .premium-hero {
    min-height: auto;
  }

  .hero-dashboard,
  .panel-preview {
    width: min(760px, 100%);
  }

  .service-grid,
  .process-grid,
  .delivery-grid,
  .solution-grid,
  .home-system-grid,
  .process-detail-grid,
  .price-deck,
  .price-deck[data-pricing-panel="mobile"],
  .panel-kpis,
  .live-panel-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 18px;
  }

  .side-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .side-nav a {
    justify-content: center;
  }

  .side-nav a svg {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 7, 5, 0.98);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-bottom: 10px;
  }

  .site-header {
    height: auto;
    min-height: var(--header);
    padding-block: 10px;
  }

  .brand-logo {
    width: 138px;
    height: 50px;
  }

  .hero {
    width: min(100% - 28px, var(--container));
    padding-top: 26px;
  }

  .premium-hero {
    width: min(100% - 28px, 1480px);
    padding-top: 34px;
  }

  .premium-hero-copy h1 {
    font-size: clamp(42px, 12vw, 70px);
  }

  .metric-row,
  .premium-metrics,
  .dashboard-grid,
  .panel-preview-grid,
  .contact-inner,
  .workspace-grid,
  .activity-table div,
  .form-grid,
  .product-grid-panel,
  .product-buy-form,
  .payment-choice-grid,
  .process-grid,
  .delivery-grid,
  .solution-grid,
  .home-status-board,
  .home-system-grid,
  .sales-feed-grid,
  .process-detail-grid,
  .contact-info-grid,
  .live-panel-strip,
  .ops-board,
  .activity-table-detailed div,
  .payment-summary div,
  .bank-choice-grid,
  .admin-control-grid,
  .ticket-attachments,
  .stage-add-form,
  .admin-table div,
  .admin-table form {
    grid-template-columns: 1fr;
  }

  .hero-visual-stage,
  .neo-slider-media {
    min-height: 360px;
  }

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

  .commerce-flow span {
    grid-row: auto;
  }

  .dash-card-wide {
    min-height: 160px;
  }

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

  .reference-wide {
    grid-column: span 2;
  }

  .einvoice-head,
  .einvoice-identity,
  .einvoice-summary,
  .einvoice-parties,
  .einvoice-table .head,
  .einvoice-table div,
  .official-invoice .einvoice-head,
  .official-invoice .einvoice-table .head,
  .official-invoice .einvoice-table div,
  .invoice-tile {
    grid-template-columns: 1fr;
  }

  .invoice-amount {
    text-align: left;
  }

  .invoice-actions {
    width: 100%;
  }

  .invoice-actions a {
    flex: 1;
  }

  .einvoice-brand {
    display: grid;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .panel-header {
    flex-direction: column;
  }

  .panel-header-actions {
    justify-content: flex-start;
  }

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

  .phase-list div {
    grid-template-columns: 12px minmax(0, 1fr);
  }

  .phase-list strong {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .section {
    width: min(100% - 28px, var(--container));
    padding: 56px 0;
  }

  .hero-actions,
  .contact-actions,
  .pricing-switch {
    width: 100%;
  }

  .hero-actions .button,
  .contact-actions .button,
  .pricing-switch button {
    flex: 1 1 0;
  }

  .service-grid,
  .process-grid,
  .delivery-grid,
  .solution-grid,
  .capability-grid,
  .home-status-board,
  .home-system-grid,
  .sales-feed-grid,
  .process-detail-grid,
  .contact-info-grid,
  .price-deck,
  .price-deck[data-pricing-panel="mobile"],
  .panel-kpis,
  .live-panel-strip {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

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

  .reference-wide {
    grid-column: span 1;
  }

  .reference-card {
    min-height: 110px;
  }

  .reference-card img,
  .reference-card .logo-panorama {
    height: 70px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-glass-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin: 12px;
  }

  .panel-main {
    padding: 22px 14px 32px;
  }

  .side-nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 10mm;
  }

  .invoice-toolbar {
    display: none;
  }

  .invoice-body {
    background: #fff;
  }

  .invoice-page {
    width: 100%;
    margin: 0;
  }

  .einvoice {
    border: 0;
    box-shadow: none;
  }
}

/* Hostiva premium dark interface refresh */
:root {
  --bg: #050607;
  --bg-2: #090a0c;
  --surface: #101214;
  --surface-2: #16191d;
  --surface-3: #20242a;
  --line: rgba(169, 255, 117, 0.14);
  --line-strong: rgba(169, 255, 117, 0.26);
  --text: #f7f8fa;
  --muted: #9ba3ad;
  --soft: #dce1e8;
  --accent: #d8dde4;
  --accent-2: #8d96a3;
  --amber: #c0c7d1;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  --container: 1240px;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 74% 0%, rgba(216, 221, 228, 0.12), transparent 28%),
    radial-gradient(circle at 0% 18%, rgba(141, 150, 163, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(216, 221, 228, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 221, 228, 0.022) 1px, transparent 1px),
    linear-gradient(145deg, #050607 0%, #090a0c 46%, #0d1014 100%);
  background-size: auto, auto, 84px 84px, 84px 84px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 24%),
    radial-gradient(circle at 50% 110%, rgba(216, 221, 228, 0.08), transparent 30%);
}

.site-header {
  border-bottom-color: rgba(216, 221, 228, 0.1);
  background: rgba(2, 4, 3, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.main-nav {
  padding: 6px;
  border: 1px solid rgba(216, 221, 228, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.026);
}

.main-nav a {
  padding: 9px 12px;
  border-radius: 999px;
}

.main-nav a.active,
.main-nav a:hover {
  color: #08090b;
  background: var(--accent);
}

.button {
  border: 1px solid rgba(216, 221, 228, 0.55);
  background: linear-gradient(180deg, #f3f5f8, #aeb8c4);
  box-shadow: 0 16px 36px rgba(216, 221, 228, 0.18);
}

.button-ghost,
.button-soft {
  color: var(--soft);
  border-color: rgba(216, 221, 228, 0.18);
  background: rgba(255, 255, 255, 0.038);
  box-shadow: none;
}

.button-ghost:hover,
.button-soft:hover,
.icon-link:hover {
  border-color: rgba(216, 221, 228, 0.38);
  background: rgba(216, 221, 228, 0.08);
}

.premium-hero {
  width: min(1500px, calc(100% - 40px));
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: clamp(28px, 4vw, 72px);
}

.premium-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(50px, 7vw, 102px);
  line-height: 0.88;
}

.premium-hero-copy p:not(.eyebrow) {
  color: #b8c0ca;
}

.premium-metrics article,
.neo-slider-media,
.neo-slider-panel,
.public-live-sale,
.capability-grid article,
.service-card,
.price-card,
.reference-card,
.contact-inner {
  border-color: rgba(216, 221, 228, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    linear-gradient(145deg, rgba(216, 221, 228, 0.075), transparent 48%),
    rgba(5, 10, 8, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.hero-visual-stage,
.neo-slider-media {
  border-color: rgba(216, 221, 228, 0.2);
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.hero-glass-card,
.neo-slider-tabs span,
.live-sale-steps span,
.invoice-tags em,
.pill {
  border-color: rgba(216, 221, 228, 0.22);
  background: rgba(5, 12, 8, 0.72);
}

.public-live-sale::after,
.live-card-featured::after {
  background: linear-gradient(90deg, transparent, rgba(216, 221, 228, 0.16), transparent);
}

.section-heading p:not(.eyebrow),
.capability-grid p,
.service-card p,
.price-card li,
.contact-inner p,
.panel-muted {
  color: #a8b0ba;
}

.app-shell {
  grid-template-columns: 292px minmax(0, 1fr);
  background:
    radial-gradient(circle at 82% 0%, rgba(216, 221, 228, 0.09), transparent 28%),
    linear-gradient(145deg, #050607, #0b0d10);
}

.sidebar {
  border-right-color: rgba(216, 221, 228, 0.13);
  background:
    linear-gradient(180deg, rgba(216, 221, 228, 0.045), transparent 34%),
    rgba(2, 5, 3, 0.94);
  box-shadow: 22px 0 70px rgba(0, 0, 0, 0.26);
}

.side-nav a {
  min-width: 0;
  color: #b8c0ca;
  border: 1px solid transparent;
  background: transparent;
}

.side-nav a.active,
.side-nav a:hover {
  color: #08090b;
  border-color: rgba(216, 221, 228, 0.72);
  background: var(--accent);
}

.panel-main {
  max-width: 1640px;
  width: 100%;
  min-width: 0;
  padding: 30px clamp(18px, 3.2vw, 44px) 48px;
}

.panel-header,
.panel-kpis,
.live-panel-strip,
.workspace-grid {
  min-width: 0;
}

.panel-header h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.panel-userline,
.panel-header-actions {
  min-width: 0;
}

.panel-userline span,
.panel-header-actions a,
.profile-chip {
  white-space: normal;
}

.panel-kpis {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.kpi-card,
.workspace-card,
.live-card {
  min-width: 0;
  border-color: rgba(216, 221, 228, 0.15);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(6, 13, 9, 0.88);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}

.kpi-card {
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 8px;
}

.kpi-card strong {
  max-width: 100%;
  font-size: clamp(27px, 2.4vw, 36px);
  overflow-wrap: anywhere;
}

.kpi-card span,
.kpi-card small,
.workspace-card small,
.live-card span,
.live-card p {
  overflow-wrap: anywhere;
}

.live-panel-strip {
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(220px, 1fr));
}

.live-card {
  overflow: hidden;
}

.live-card h2,
.live-card strong {
  overflow-wrap: anywhere;
}

.live-sale-top {
  align-items: flex-start;
}

.live-sale-top b {
  white-space: nowrap;
}

.workspace-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.workspace-card {
  grid-column: span 4;
  padding: clamp(18px, 1.8vw, 24px);
  overflow: hidden;
}

.workspace-large {
  grid-column: span 8;
}

.invoice-workspace-card,
#hareketler {
  grid-column: span 12;
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}

.card-head h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.payment-row,
.compact-list div,
.activity-table div,
.phase-list div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(216, 221, 228, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.payment-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
}

.payment-row strong,
.activity-table strong,
.activity-table em,
.phase-list strong {
  white-space: normal;
  text-align: right;
  overflow-wrap: anywhere;
}

.activity-table div,
.activity-table-detailed div {
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto) minmax(120px, auto);
}

.activity-table span,
.activity-table strong,
.activity-table em {
  min-width: 0;
}

.phase-list div {
  grid-template-columns: 12px minmax(0, 1fr) minmax(120px, auto);
}

.phase-list p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-grid-panel {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.product-panel-card {
  min-width: 0;
  align-content: start;
  border-color: rgba(216, 221, 228, 0.14);
  background:
    linear-gradient(180deg, rgba(216, 221, 228, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
}

.product-panel-card h3,
.product-panel-card p,
.product-panel-card li,
.balance-purchase-box,
.invoice-main span,
.invoice-main small {
  overflow-wrap: anywhere;
}

.product-buy-form {
  grid-template-columns: 1fr;
}

.invoice-tile {
  grid-template-columns: 72px minmax(0, 1fr) minmax(160px, auto) minmax(150px, auto);
  border-color: rgba(216, 221, 228, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(4, 10, 7, 0.86);
}

.invoice-amount,
.invoice-actions {
  min-width: 0;
}

.invoice-amount strong {
  overflow-wrap: anywhere;
  white-space: normal;
}

.invoice-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.invoice-actions a {
  min-width: 70px;
}

.admin-table div,
.admin-table form {
  grid-template-columns: minmax(0, 1.2fr) minmax(130px, 0.5fr) minmax(190px, 0.9fr) auto;
  min-width: 0;
}

.admin-table span,
.admin-table strong,
.admin-table em,
.admin-table small {
  overflow-wrap: anywhere;
  min-width: 0;
}

input,
textarea,
select {
  max-width: 100%;
}

@media (max-width: 1280px) {
  .workspace-card,
  .workspace-large,
  .invoice-workspace-card,
  #hareketler {
    grid-column: span 12;
  }

  .live-panel-strip {
    grid-template-columns: 1fr;
  }

  .invoice-tile {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .invoice-amount,
  .invoice-actions {
    grid-column: 2;
    text-align: left;
    justify-content: flex-start;
  }
}

@media (max-width: 1120px) {
  .main-nav {
    border-radius: var(--radius);
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
  }

  .side-nav {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}

@media (max-width: 860px) {
  .main-nav {
    border-radius: var(--radius);
    background: rgba(2, 4, 3, 0.98);
  }

  .premium-hero,
  .neo-slider,
  .live-commerce-grid {
    grid-template-columns: 1fr;
  }

  .premium-metrics {
    grid-template-columns: 1fr;
  }

  .panel-header-actions .button,
  .panel-header-actions .profile-chip {
    flex: 1 1 auto;
  }

  .activity-table div,
  .activity-table-detailed div,
  .phase-list div,
  .payment-row,
  .admin-table div,
  .admin-table form {
    grid-template-columns: 1fr;
  }

  .activity-table strong,
  .activity-table em,
  .phase-list strong,
  .payment-row strong {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header,
  .panel-main {
    padding-inline: 14px;
  }

  .brand-logo,
  .sidebar-brand img {
    width: 150px;
  }

  .premium-hero {
    width: min(100% - 28px, 1500px);
  }

  .premium-hero-copy h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero-visual-stage,
  .neo-slider-media {
    min-height: 300px;
  }

  .workspace-card {
    padding: 16px;
  }

  .invoice-tile {
    grid-template-columns: 1fr;
  }

  .invoice-amount,
  .invoice-actions {
    grid-column: auto;
  }
}

/* Panel-only refinement */
.invoice-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.invoice-overview article {
  min-width: 0;
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(216, 221, 228, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(216, 221, 228, 0.065), transparent 52%),
    rgba(255, 255, 255, 0.032);
}

.invoice-overview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-overview strong {
  min-width: 0;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.invoice-list-panel {
  min-width: 0;
}

.invoice-tile {
  align-items: stretch;
  grid-template-columns: 76px minmax(0, 1fr) minmax(150px, 0.24fr) minmax(142px, 0.2fr);
  gap: 14px;
}

.invoice-stamp {
  align-self: start;
}

.invoice-main {
  min-width: 0;
}

.invoice-main span {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}

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

.invoice-meta-grid small {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 6px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.028);
  overflow-wrap: anywhere;
}

.invoice-meta-grid b {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.invoice-amount {
  display: grid;
  align-content: center;
  min-width: 0;
  padding-inline: 4px;
}

.invoice-amount strong {
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.08;
}

.invoice-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  min-width: 0;
}

.invoice-actions a {
  min-width: 0;
  width: 100%;
}

.workspace-card,
.product-panel-card,
.kpi-card,
.live-card {
  contain: layout;
}

.workspace-card * {
  max-width: 100%;
}

.panel-body {
  min-width: 320px;
}

.sidebar-brand {
  width: fit-content;
}

.side-nav a {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1440px) {
  .invoice-tile {
    grid-template-columns: 70px minmax(0, 1fr) minmax(138px, 0.28fr);
  }

  .invoice-actions {
    grid-column: 2 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .invoice-overview {
    grid-template-columns: 1fr;
  }

  .invoice-tile,
  .invoice-meta-grid {
    grid-template-columns: 1fr;
  }

  .invoice-stamp {
    width: 100%;
    height: auto;
    min-height: 54px;
    grid-template-columns: auto auto;
    justify-content: start;
    padding: 10px;
  }

  .invoice-amount,
  .invoice-actions {
    grid-column: auto;
    text-align: left;
  }

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

@media (max-width: 520px) {
  .invoice-actions,
  .panel-header-actions {
    grid-template-columns: 1fr;
  }

  .panel-header-actions {
    display: grid;
    width: 100%;
  }

  .panel-header-actions .button,
  .profile-chip {
    width: 100%;
  }
}

/* Integration management */
.integration-settings-grid,
.payment-method-admin {
  display: grid;
  gap: 14px;
}

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

.integration-card,
.payment-method-admin form {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(216, 221, 228, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(216, 221, 228, 0.075), transparent 54%),
    rgba(255, 255, 255, 0.034);
}

.payment-method-admin form {
  grid-template-columns: minmax(150px, 0.6fr) minmax(170px, 0.8fr) minmax(210px, 1fr) minmax(90px, 0.35fr) minmax(130px, 0.45fr) auto;
  align-items: end;
}

.integration-card label,
.payment-method-admin label,
.toggle-field {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.integration-card input,
.integration-card select,
.payment-method-admin input,
.payment-method-admin select {
  min-height: 44px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(216, 221, 228, 0.14);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(10, 17, 13, 0.94);
  outline: none;
}

.integration-card select {
  padding-right: 36px;
  background:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%) calc(100% - 18px) 19px / 7px 7px no-repeat,
    linear-gradient(135deg, var(--accent) 50%, transparent 50%) calc(100% - 13px) 19px / 7px 7px no-repeat,
    rgba(10, 17, 13, 0.94);
  appearance: none;
}

.integration-card input:focus,
.integration-card select:focus,
.payment-method-admin input:focus {
  border-color: rgba(216, 221, 228, 0.58);
  box-shadow: 0 0 0 3px rgba(216, 221, 228, 0.09);
}

.secret-field {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.integration-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.integration-status span {
  color: var(--soft);
  font-weight: 950;
}

.integration-status strong {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(216, 221, 228, 0.26);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(216, 221, 228, 0.08);
  font-size: 12px;
}

.toggle-field {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(216, 221, 228, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.026);
}

.toggle-field input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: var(--accent);
}

.toggle-field span {
  color: var(--soft);
  overflow-wrap: anywhere;
}

.paytr-payment-card {
  max-width: 1100px;
}

.paytr-frame-shell {
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(216, 221, 228, 0.18);
  border-radius: var(--radius);
  background: #fff;
}

.paytr-frame-shell iframe {
  display: block;
  width: 100%;
  min-height: 640px;
}

@media (max-width: 1180px) {
  .integration-settings-grid,
  .payment-method-admin form {
    grid-template-columns: 1fr;
  }
}

/* Authority panel polish */
body.panel-body .standalone-panel {
  max-width: 1480px;
}

body.panel-body .standalone-panel .panel-header {
  align-items: flex-start;
  gap: 18px;
}

body.panel-body .standalone-panel .panel-header-actions {
  flex-wrap: wrap;
  max-width: 100%;
}

@media (min-width: 1100px) {
  body.panel-body .standalone-panel .panel-header-actions {
    justify-content: flex-end;
  }
}

body.panel-body .standalone-panel .admin-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

body.panel-body .standalone-panel .workspace-card {
  grid-column: span 12;
}

body.panel-body #odeme-yontemleri,
body.panel-body #entegrasyonlar {
  border-color: rgba(216, 221, 228, 0.2);
  background:
    linear-gradient(150deg, rgba(216, 221, 228, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(6, 13, 9, 0.94);
}

body.panel-body .payment-method-admin {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

body.panel-body .method-card {
  position: relative;
  overflow: hidden;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px;
  min-height: 238px;
  padding: 18px;
  border: 1px solid rgba(216, 221, 228, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 221, 228, 0.1), transparent 46%),
    rgba(3, 8, 5, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 18px 46px rgba(0, 0, 0, 0.22);
}

body.panel-body .method-card::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -42%;
  width: 60%;
  height: 70%;
  border-radius: 50%;
  background: rgba(216, 221, 228, 0.08);
  pointer-events: none;
}

body.panel-body .method-card > * {
  position: relative;
  z-index: 1;
}

body.panel-body .method-card-top {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

body.panel-body .method-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 221, 228, 0.36);
  border-radius: 8px;
  color: #08090b;
  background: linear-gradient(180deg, var(--accent), #aeb8c4);
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 18px 32px rgba(216, 221, 228, 0.15);
}

body.panel-body .method-card-top strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  line-height: 1.05;
}

body.panel-body .method-card-top small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

body.panel-body .method-card-top em {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(216, 221, 228, 0.24);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(216, 221, 228, 0.08);
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

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

body.panel-body .method-fields {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) 96px;
}

body.panel-body .field-label,
body.panel-body .integration-card .field-label,
body.panel-body .payment-method-admin .field-label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.panel-body .field-label span {
  color: #b7c0ca;
}

body.panel-body .field-label input:not([type="checkbox"]),
body.panel-body .field-label select,
body.panel-body .integration-card input:not([type="checkbox"]),
body.panel-body .integration-card select,
body.panel-body .payment-method-admin input:not([type="checkbox"]),
body.panel-body .payment-method-admin select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(216, 221, 228, 0.2) !important;
  border-radius: 8px;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 12, 8, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.18);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body.panel-body .field-label input::placeholder,
body.panel-body .integration-card input::placeholder,
body.panel-body .payment-method-admin input::placeholder {
  color: rgba(183, 197, 177, 0.55);
  -webkit-text-fill-color: rgba(183, 197, 177, 0.55);
}

body.panel-body .field-label select,
body.panel-body .integration-card select,
body.panel-body .payment-method-admin select {
  padding-right: 42px;
  background:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%) calc(100% - 20px) 22px / 7px 7px no-repeat,
    linear-gradient(135deg, var(--accent) 50%, transparent 50%) calc(100% - 15px) 22px / 7px 7px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 12, 8, 0.96) !important;
  appearance: none;
}

body.panel-body .field-label input:focus,
body.panel-body .field-label select:focus,
body.panel-body .integration-card input:focus,
body.panel-body .integration-card select:focus,
body.panel-body .payment-method-admin input:focus,
body.panel-body .payment-method-admin select:focus {
  border-color: rgba(216, 221, 228, 0.72) !important;
  box-shadow:
    0 0 0 4px rgba(216, 221, 228, 0.1),
    0 18px 38px rgba(0, 0, 0, 0.24);
}

body.panel-body .method-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

body.panel-body .method-card-actions .toggle-field {
  flex: 1 1 auto;
}

body.panel-body .toggle-field {
  min-height: 50px;
  border-color: rgba(216, 221, 228, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(5, 12, 8, 0.74);
}

body.panel-body .toggle-field input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  accent-color: var(--accent);
  cursor: pointer;
}

body.panel-body .integration-settings-grid {
  margin-top: 18px;
}

body.panel-body .integration-card {
  padding: 18px;
  border-color: rgba(216, 221, 228, 0.18);
  background:
    linear-gradient(145deg, rgba(216, 221, 228, 0.07), transparent 45%),
    rgba(3, 8, 5, 0.78);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

body.panel-body .integration-card .button,
body.panel-body .method-card .button {
  min-height: 48px;
  border-radius: 8px;
}

body.panel-body .order-management-card {
  grid-column: span 12;
}

body.panel-body .order-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

body.panel-body .order-admin-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(420px, 1.3fr) minmax(150px, 0.34fr);
  align-items: stretch;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(216, 221, 228, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(216, 221, 228, 0.055), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

body.panel-body .order-admin-info {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 7px;
}

body.panel-body .order-admin-info span {
  color: var(--text);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 950;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

body.panel-body .order-admin-info strong {
  color: #b8c0ca;
  font-size: 13px;
  overflow-wrap: anywhere;
}

body.panel-body .order-admin-info small {
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

body.panel-body .order-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
}

body.panel-body .order-status-row em {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(216, 221, 228, 0.18);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(3, 8, 5, 0.65);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

body.panel-body .order-update-form {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  align-items: end;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 8px;
  background: rgba(2, 7, 4, 0.45);
}

body.panel-body .order-control-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.panel-body .order-update-form .select-field {
  min-width: 0;
  padding: 0;
}

body.panel-body .order-update-form .select-field select {
  min-height: 50px;
  border-color: rgba(216, 221, 228, 0.2);
  background:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%) calc(100% - 20px) 22px / 7px 7px no-repeat,
    linear-gradient(135deg, var(--accent) 50%, transparent 50%) calc(100% - 15px) 22px / 7px 7px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 12, 8, 0.96);
}

body.panel-body .order-update-form .button,
body.panel-body .order-delete-form .button {
  width: 100%;
  min-height: 50px;
  border-radius: 8px;
}

body.panel-body .order-delete-form {
  min-width: 0;
  display: grid;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(255, 111, 89, 0.14);
  border-radius: 8px;
  background: rgba(255, 111, 89, 0.055);
}

body.panel-body .user-management-card {
  grid-column: span 12;
}

body.panel-body .user-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

body.panel-body .user-admin-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(120px, auto) minmax(130px, auto);
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(216, 221, 228, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(216, 221, 228, 0.052), transparent 46%),
    rgba(255, 255, 255, 0.032);
}

body.panel-body .user-admin-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 221, 228, 0.36);
  border-radius: 8px;
  color: #08090b;
  background: var(--accent);
  font-size: 24px;
  font-weight: 950;
}

body.panel-body .user-admin-info {
  min-width: 0;
  display: grid;
  gap: 5px;
}

body.panel-body .user-admin-info span {
  color: var(--text);
  font-size: 18px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

body.panel-body .user-admin-info small {
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

body.panel-body .user-admin-info div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body.panel-body .user-admin-info em {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(216, 221, 228, 0.16);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(3, 8, 5, 0.64);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

body.panel-body .user-admin-card form {
  min-width: 0;
}

body.panel-body .user-admin-card .button {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  white-space: nowrap;
}

.site-footer {
  width: min(1480px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.7fr) minmax(220px, 0.7fr);
  gap: 18px;
  margin: 28px auto;
  padding: 22px;
  border: 1px solid rgba(216, 221, 228, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(216, 221, 228, 0.06), transparent 48%),
    rgba(5, 12, 8, 0.86);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.auth-body .site-footer {
  margin-top: 0;
}

.site-footer-brand,
.site-footer-contact,
.site-footer-social {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer-brand img {
  width: 168px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.site-footer span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.site-footer a {
  width: fit-content;
  font-weight: 800;
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.site-footer-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 980px) {
  body.panel-body .payment-method-admin,
  body.panel-body .integration-settings-grid,
  body.panel-body .admin-form-grid,
  body.panel-body .method-fields {
    grid-template-columns: 1fr;
  }

  body.panel-body .method-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.panel-body .method-card-actions .button {
    width: 100%;
  }

  body.panel-body .order-admin-card,
  body.panel-body .order-update-form,
  body.panel-body .order-control-grid,
  body.panel-body .user-admin-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  body.panel-body .user-admin-avatar {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 560px) {
  body.panel-body .method-card-top {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  body.panel-body .method-card-top em {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* Customer panel graphite theme */
body.customer-gray-panel {
  --bg: #060708;
  --bg-2: #0a0b0d;
  --surface: #101214;
  --surface-2: #16191d;
  --surface-3: #20242a;
  --line: rgba(231, 235, 240, 0.12);
  --line-strong: rgba(231, 235, 240, 0.22);
  --text: #f4f6f8;
  --muted: #9ba3ad;
  --soft: #d6dbe1;
  --accent: #d8dde4;
  --accent-2: #8d96a3;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  color: var(--text);
  background:
    radial-gradient(circle at 78% 4%, rgba(180, 188, 200, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(145deg, #050607 0%, #090a0c 44%, #111419 100%);
  background-size: auto, 86px 86px, 86px 86px, auto;
}

body.customer-gray-panel::before {
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.07), transparent 24%),
    radial-gradient(circle at 78% 110%, rgba(145, 155, 170, 0.12), transparent 30%);
}

body.customer-gray-panel .app-shell {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 34%),
    linear-gradient(145deg, #050607, #101319);
}

body.customer-gray-panel .sidebar {
  border-right-color: rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 30%),
    rgba(5, 6, 8, 0.96);
  box-shadow: 26px 0 80px rgba(0, 0, 0, 0.28);
}

body.customer-gray-panel .sidebar-brand img {
  filter: grayscale(1) contrast(1.08) brightness(1.04);
}

body.customer-gray-panel .side-nav a {
  color: #aeb5bf;
  border-color: transparent;
  background: transparent;
}

body.customer-gray-panel .side-nav a.active,
body.customer-gray-panel .side-nav a:hover {
  color: #050607;
  border-color: rgba(255, 255, 255, 0.52);
  background: linear-gradient(180deg, #f1f4f7, #b5bec9);
}

body.customer-gray-panel .side-nav a.authority-link {
  border-color: rgba(255, 255, 255, 0.18);
  color: #e1e5ea;
  background: rgba(255, 255, 255, 0.055);
}

body.customer-gray-panel .sidebar-back,
body.customer-gray-panel .panel-userline span,
body.customer-gray-panel .profile-chip,
body.customer-gray-panel .pill,
body.customer-gray-panel .invoice-tags em,
body.customer-gray-panel .live-sale-steps span {
  color: #d7dce3;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

body.customer-gray-panel .profile-chip {
  color: #08090b;
  background: linear-gradient(180deg, #f4f6f8, #aab3bf);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

body.customer-gray-panel .panel-header h1 {
  color: #f6f7f9;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

body.customer-gray-panel .eyebrow {
  color: #cdd3db;
}

body.customer-gray-panel .button {
  color: #050607;
  border-color: rgba(255, 255, 255, 0.52);
  background: linear-gradient(180deg, #f3f5f8, #aeb8c4);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

body.customer-gray-panel .button:hover {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

body.customer-gray-panel .button-ghost,
body.customer-gray-panel .button-soft {
  color: #e5e9ee;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

body.customer-gray-panel .button-ghost:hover,
body.customer-gray-panel .button-soft:hover {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

body.customer-gray-panel .kpi-card,
body.customer-gray-panel .workspace-card,
body.customer-gray-panel .live-card,
body.customer-gray-panel .product-panel-card {
  border-color: rgba(255, 255, 255, 0.105);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022)),
    rgba(10, 12, 15, 0.88);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

body.customer-gray-panel .kpi-card small,
body.customer-gray-panel .workspace-card small,
body.customer-gray-panel .panel-muted,
body.customer-gray-panel .live-card p,
body.customer-gray-panel .live-card span,
body.customer-gray-panel .product-panel-card p,
body.customer-gray-panel .product-panel-card li,
body.customer-gray-panel .compact-list em,
body.customer-gray-panel .activity-table em,
body.customer-gray-panel .payment-row span {
  color: #a8b0ba;
}

body.customer-gray-panel .kpi-card strong,
body.customer-gray-panel .live-card h2,
body.customer-gray-panel .live-card strong,
body.customer-gray-panel .workspace-card h2,
body.customer-gray-panel .product-panel-card h3,
body.customer-gray-panel .product-panel-card > strong {
  color: #f7f8fa;
}

body.customer-gray-panel .live-card-featured {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), transparent 50%),
    rgba(9, 11, 14, 0.9);
}

body.customer-gray-panel .live-card-featured::after,
body.customer-gray-panel .public-live-sale::after {
  background: linear-gradient(90deg, transparent, rgba(210, 216, 224, 0.14), transparent);
}

body.customer-gray-panel .live-pulse,
body.customer-gray-panel .status-dot,
body.customer-gray-panel .phase-list span,
body.customer-gray-panel .product-panel-card li::before {
  background: #d8dde4;
  box-shadow: 0 0 0 6px rgba(216, 221, 228, 0.1);
}

body.customer-gray-panel .large-progress,
body.customer-gray-panel .progress {
  background: rgba(255, 255, 255, 0.08);
}

body.customer-gray-panel .large-progress span,
body.customer-gray-panel .progress span {
  background: linear-gradient(90deg, #eef1f4, #8f98a5);
}

body.customer-gray-panel .phase-list div,
body.customer-gray-panel .payment-row,
body.customer-gray-panel .compact-list div,
body.customer-gray-panel .activity-table div,
body.customer-gray-panel .balance-purchase-box,
body.customer-gray-panel .invoice-overview article,
body.customer-gray-panel .invoice-tile,
body.customer-gray-panel .invoice-meta-grid small {
  border-color: rgba(255, 255, 255, 0.085);
  background: rgba(255, 255, 255, 0.042);
}

body.customer-gray-panel .phase-list div.active,
body.customer-gray-panel .phase-list div.done {
  border-color: rgba(255, 255, 255, 0.18);
}

body.customer-gray-panel .product-card-head span,
body.customer-gray-panel .invoice-stamp {
  color: #050607;
  background: linear-gradient(180deg, #f1f4f7, #aeb8c4);
}

body.customer-gray-panel .product-card-head small,
body.customer-gray-panel .invoice-overview span,
body.customer-gray-panel .invoice-meta-grid b,
body.customer-gray-panel .live-card-head small,
body.customer-gray-panel .live-sale-steps .done {
  color: #d8dde4;
}

body.customer-gray-panel .invoice-actions a,
body.customer-gray-panel .auth-links a,
body.customer-gray-panel .compact-list a,
body.customer-gray-panel .activity-table a {
  color: #e7ebf0;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

body.customer-gray-panel .invoice-actions a:hover,
body.customer-gray-panel .auth-links a:hover,
body.customer-gray-panel .compact-list a:hover,
body.customer-gray-panel .activity-table a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

body.customer-gray-panel input,
body.customer-gray-panel textarea,
body.customer-gray-panel select {
  color: #f4f6f8;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(7, 8, 10, 0.92);
}

body.customer-gray-panel .site-footer {
  border-color: rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 48%),
    rgba(8, 10, 13, 0.9);
}

body.customer-gray-panel .site-footer span,
body.customer-gray-panel .site-footer a:hover {
  color: #e1e5ea;
}

body.customer-gray-panel .site-footer-brand img {
  filter: grayscale(1) contrast(1.08) brightness(1.04);
}
