:root {
  color-scheme: dark;
  --dm-bg: #030611;
  --dm-bg-soft: #080d20;
  --dm-panel: rgba(10, 18, 44, 0.88);
  --dm-panel-strong: rgba(12, 23, 57, 0.97);
  --dm-panel-light: rgba(22, 38, 79, 0.72);
  --dm-border: rgba(110, 167, 255, 0.2);
  --dm-border-bright: rgba(91, 181, 255, 0.55);
  --dm-text: #f5f8ff;
  --dm-text-soft: #b6c1da;
  --dm-text-muted: #7f8ba9;
  --dm-blue: #50b8ff;
  --dm-blue-deep: #2478ff;
  --dm-green: #53e9a5;
  --dm-yellow: #ffd47a;
  --dm-red: #ff7b8a;
  --dm-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --dm-radius-xl: 28px;
  --dm-radius-lg: 20px;
  --dm-radius-md: 15px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--dm-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--dm-text);
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(31, 86, 179, 0.32),
      transparent 34%
    ),
    radial-gradient(
      circle at 92% 16%,
      rgba(0, 181, 218, 0.15),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      #050a1c 0%,
      #030611 58%,
      #02040c 100%
    );
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(80, 184, 255, 0.42);
  outline-offset: 3px;
}

.dm-background-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    linear-gradient(
      rgba(93, 155, 255, 0.22) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(93, 155, 255, 0.22) 1px,
      transparent 1px
    );
  background-size: 54px 54px;
  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 82%
    );
}

.dm-background-glow {
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
  opacity: 0.16;
}

.dm-glow-one {
  top: 18%;
  left: -180px;
  background: #1b76ff;
}

.dm-glow-two {
  right: -190px;
  bottom: 5%;
  background: #00d9a1;
}

.dm-portal-shell {
  width: min(1600px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
}

.dm-topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 20px;
  border: 1px solid var(--dm-border);
  border-radius: 22px;
  background:
    linear-gradient(
      140deg,
      rgba(16, 29, 65, 0.94),
      rgba(6, 12, 31, 0.94)
    );
  box-shadow: 0 15px 48px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.dm-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.dm-brand-mark {
  width: 51px;
  height: 51px;
  flex: 0 0 51px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(104, 192, 255, 0.55);
  border-radius: 16px;
  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      rgba(54, 157, 255, 0.95),
      rgba(35, 86, 206, 0.82)
    );
  box-shadow:
    0 10px 30px rgba(40, 121, 255, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  font-size: 0.93rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.dm-brand-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dm-brand-copy strong {
  overflow: hidden;
  font-size: 1.14rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dm-brand-eyebrow,
.dm-section-label,
.dm-eyebrow {
  color: var(--dm-blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.dm-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dm-session-status {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(83, 233, 165, 0.2);
  border-radius: 999px;
  color: #baf7d9;
  background: rgba(42, 165, 113, 0.08);
  font-size: 0.8rem;
  font-weight: 800;
}

.dm-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dm-green);
  box-shadow: 0 0 15px rgba(83, 233, 165, 0.9);
}

.dm-layout {
  display: grid;
  grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.dm-sidebar,
.dm-workspace {
  border: 1px solid var(--dm-border);
  background:
    linear-gradient(
      145deg,
      rgba(13, 24, 55, 0.93),
      rgba(5, 10, 28, 0.96)
    );
  box-shadow: var(--dm-shadow);
  backdrop-filter: blur(20px);
}

.dm-sidebar {
  align-self: start;
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 18px;
  border-radius: var(--dm-radius-xl);
  scrollbar-width: thin;
  scrollbar-color:
    rgba(80, 184, 255, 0.35)
    transparent;
}

.dm-user-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid rgba(116, 170, 255, 0.16);
  border-radius: 18px;
  background: rgba(27, 44, 88, 0.38);
}

.dm-user-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #061227;
  background:
    linear-gradient(
      145deg,
      var(--dm-blue),
      var(--dm-green)
    );
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.dm-user-details {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dm-user-details span,
.dm-user-details small {
  color: var(--dm-text-muted);
  font-size: 0.72rem;
}

.dm-user-details strong {
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dm-progress-summary {
  margin-top: 17px;
  padding: 16px;
  border: 1px solid rgba(105, 166, 255, 0.15);
  border-radius: 18px;
  background: rgba(7, 14, 38, 0.45);
}

.dm-progress-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.dm-progress-heading > div {
  display: grid;
  gap: 6px;
}

.dm-progress-heading strong {
  font-size: 0.94rem;
}

.dm-progress-heading > span {
  color: var(--dm-text-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.dm-progress-track {
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(117, 151, 208, 0.15);
}

.dm-progress-track span {
  width: 12.5%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--dm-blue),
      var(--dm-green)
    );
  box-shadow: 0 0 18px rgba(65, 207, 184, 0.48);
  transition: width 320ms ease;
}

.dm-step-navigation {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.dm-step-button {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  text-align: left;
  color: var(--dm-text-soft);
  background: transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.dm-step-button:hover {
  transform: translateX(3px);
  border-color: rgba(96, 170, 255, 0.17);
  background: rgba(26, 44, 87, 0.34);
}

.dm-step-button.is-active {
  border-color: rgba(79, 183, 255, 0.42);
  color: #ffffff;
  background:
    linear-gradient(
      90deg,
      rgba(47, 125, 242, 0.23),
      rgba(22, 83, 150, 0.07)
    );
  box-shadow:
    inset 3px 0 0 var(--dm-blue),
    0 8px 25px rgba(0, 0, 0, 0.14);
}

.dm-step-button.is-complete {
  color: #c8f8e0;
}

.dm-step-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(126, 167, 228, 0.23);
  border-radius: 10px;
  color: var(--dm-text-muted);
  background: rgba(3, 8, 23, 0.6);
  font-size: 0.72rem;
  font-weight: 900;
}

.dm-step-button.is-active .dm-step-number {
  border-color: transparent;
  color: #041021;
  background:
    linear-gradient(
      145deg,
      var(--dm-blue),
      #87dcff
    );
}

.dm-step-button.is-complete .dm-step-number {
  border-color: transparent;
  color: #03140d;
  background: var(--dm-green);
}

.dm-step-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dm-step-copy strong,
.dm-step-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dm-step-copy strong {
  font-size: 0.82rem;
}

.dm-step-copy small {
  color: var(--dm-text-muted);
  font-size: 0.68rem;
}

.dm-step-state {
  color: var(--dm-text-muted);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dm-step-button.is-active .dm-step-state {
  color: var(--dm-blue);
}

.dm-step-button.is-complete .dm-step-state {
  color: var(--dm-green);
}

.dm-support-card {
  display: grid;
  gap: 8px;
  margin-top: 17px;
  padding: 16px;
  border: 1px solid rgba(255, 212, 122, 0.17);
  border-radius: 18px;
  background: rgba(255, 191, 76, 0.05);
}

.dm-support-card p {
  margin: 0;
  color: var(--dm-text-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.dm-text-button {
  width: max-content;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: var(--dm-yellow);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 850;
}

.dm-workspace {
  min-width: 0;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  border-radius: var(--dm-radius-xl);
  overflow: hidden;
}

.dm-step-stage {
  flex: 1;
  padding: clamp(22px, 4vw, 54px);
}

.dm-step-panel {
  display: none;
  animation: dmPanelIn 380ms ease both;
}

.dm-step-panel.is-active {
  display: block;
}

@keyframes dmPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

.dm-hero {
  min-height: 370px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
  align-items: center;
  gap: 42px;
  padding:
    clamp(25px, 4vw, 52px)
    clamp(22px, 4vw, 50px);
  border: 1px solid rgba(96, 173, 255, 0.23);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(51, 168, 255, 0.15),
      transparent 36%
    ),
    linear-gradient(
      140deg,
      rgba(25, 47, 99, 0.75),
      rgba(8, 15, 40, 0.83)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 25px 60px rgba(0, 0, 0, 0.23);
}

.dm-hero-copy {
  min-width: 0;
}

.dm-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
}

.dm-hero h1,
.dm-placeholder-card h2 {
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.045em;
}

.dm-hero h1 {
  max-width: 790px;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.dm-hero-description {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--dm-text-soft);
  font-size: clamp(0.97rem, 1.6vw, 1.13rem);
  line-height: 1.72;
}

.dm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.dm-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  color: var(--dm-text);
  background: transparent;
  font-weight: 850;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}

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

.dm-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.dm-button-primary {
  color: #03111a;
  background:
    linear-gradient(
      90deg,
      var(--dm-blue),
      var(--dm-green)
    );
  box-shadow: 0 14px 32px rgba(43, 178, 205, 0.22);
}

.dm-button-primary:hover:not(:disabled) {
  box-shadow: 0 18px 40px rgba(43, 178, 205, 0.32);
}

.dm-button-secondary,
.dm-button-quiet {
  border-color: rgba(120, 169, 237, 0.24);
  color: var(--dm-text-soft);
  background: rgba(13, 23, 52, 0.65);
}

.dm-button-small {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.78rem;
}

.dm-command-visual {
  width: min(100%, 310px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
}

.dm-command-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(44, 174, 255, 0.18),
      rgba(15, 60, 130, 0.05) 52%,
      transparent 70%
    );
  filter: drop-shadow(
    0 0 30px rgba(65, 166, 255, 0.2)
  );
}

.dm-orbit {
  position: absolute;
  border: 1px solid rgba(93, 182, 255, 0.25);
  border-radius: 50%;
  animation: dmSpin 16s linear infinite;
}

.dm-orbit::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dm-blue);
  box-shadow: 0 0 15px var(--dm-blue);
}

.dm-orbit-one {
  inset: 5%;
}

.dm-orbit-two {
  inset: 17%;
  animation-duration: 11s;
  animation-direction: reverse;
}

.dm-orbit-three {
  inset: 29%;
  animation-duration: 8s;
}

@keyframes dmSpin {
  to {
    transform: rotate(360deg);
  }
}

.dm-command-core {
  width: 100px;
  height: 100px;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  border: 1px solid rgba(130, 214, 255, 0.58);
  border-radius: 30px;
  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      rgba(45, 150, 255, 0.95),
      rgba(26, 70, 169, 0.94)
    );
  box-shadow:
    0 0 55px rgba(51, 151, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.dm-command-core span {
  font-size: 1.5rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.dm-command-core small {
  color: #baf9dc;
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.dm-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 17px;
}

.dm-stat-card {
  min-width: 0;
  display: flex;
  gap: 14px;
  padding: 19px;
  border: 1px solid rgba(105, 165, 255, 0.16);
  border-radius: 18px;
  background: rgba(12, 22, 51, 0.67);
}

.dm-stat-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(80, 184, 255, 0.27);
  border-radius: 12px;
  color: var(--dm-blue);
  background: rgba(46, 139, 236, 0.1);
  font-size: 0.65rem;
  font-weight: 950;
}

.dm-stat-card strong {
  font-size: 0.9rem;
}

.dm-stat-card p {
  margin: 6px 0 0;
  color: var(--dm-text-muted);
  font-size: 0.77rem;
  line-height: 1.5;
}

.dm-information-banner {
  display: flex;
  gap: 14px;
  margin-top: 17px;
  padding: 18px;
  border: 1px solid rgba(83, 233, 165, 0.19);
  border-radius: 18px;
  background: rgba(33, 174, 112, 0.055);
}

.dm-information-symbol {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #05160f;
  background: var(--dm-green);
  font-weight: 950;
}

.dm-information-banner p {
  margin: 6px 0 0;
  color: var(--dm-text-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

.dm-placeholder-card {
  min-height: 530px;
  position: relative;
  display: grid;
  place-items: start;
  align-content: center;
  justify-items: start;
  overflow: hidden;
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid rgba(94, 170, 255, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 95% 10%,
      rgba(56, 168, 255, 0.14),
      transparent 37%
    ),
    linear-gradient(
      145deg,
      rgba(20, 38, 81, 0.71),
      rgba(7, 14, 36, 0.87)
    );
}

.dm-placeholder-number {
  position: absolute;
  right: 4%;
  bottom: -8%;
  color: rgba(104, 183, 255, 0.055);
  font-size: clamp(10rem, 25vw, 24rem);
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.dm-placeholder-card h2 {
  max-width: 850px;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1;
}

.dm-placeholder-card p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--dm-text-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.dm-placeholder-status {
  margin-top: 27px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 212, 122, 0.2);
  border-radius: 13px;
  color: var(--dm-yellow);
  background: rgba(255, 198, 77, 0.06);
  font-size: 0.78rem;
  font-weight: 850;
}

.dm-complete-placeholder .dm-button {
  margin-top: 28px;
}

.dm-workspace-footer {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
  border-top: 1px solid var(--dm-border);
  background: rgba(3, 8, 23, 0.63);
}

.dm-footer-status {
  min-width: 0;
  color: var(--dm-text-muted);
  font-size: 0.73rem;
  text-align: center;
}

.dm-mobile-step-header {
  display: none;
}

.dm-notification {
  margin: 20px 22px 0;
  padding: 14px 17px;
  border: 1px solid rgba(80, 184, 255, 0.25);
  border-radius: 14px;
  color: #cfeaff;
  background: rgba(31, 119, 207, 0.11);
  font-size: 0.82rem;
  line-height: 1.5;
}

.dm-notification.is-success {
  border-color: rgba(83, 233, 165, 0.27);
  color: #bcf7da;
  background: rgba(37, 171, 110, 0.1);
}

.dm-notification.is-error {
  border-color: rgba(255, 123, 138, 0.3);
  color: #ffbbc3;
  background: rgba(205, 55, 74, 0.1);
}

.dm-site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 7px 0;
  color: var(--dm-text-muted);
  font-size: 0.68rem;
}

.dm-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(2, 5, 15, 0.83);
  backdrop-filter: blur(11px);
}

.dm-loading-overlay.is-visible {
  display: grid;
}

.dm-loader-card {
  min-width: min(100%, 330px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(91, 181, 255, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(18, 35, 76, 0.98),
      rgba(6, 12, 31, 0.98)
    );
  box-shadow: var(--dm-shadow);
}

.dm-loader-card > div:last-child {
  display: grid;
  gap: 5px;
}

.dm-loader-card span {
  color: var(--dm-text-muted);
  font-size: 0.76rem;
}

.dm-loader-ring {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  border: 3px solid rgba(91, 181, 255, 0.18);
  border-top-color: var(--dm-blue);
  border-radius: 50%;
  animation: dmSpin 800ms linear infinite;
}

@media (max-width: 1100px) {
  .dm-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .dm-step-state {
    display: none;
  }

  .dm-step-button {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .dm-hero {
    grid-template-columns: 1fr;
  }

  .dm-command-visual {
    display: none;
  }

  .dm-stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .dm-portal-shell {
    padding: 10px;
  }

  .dm-topbar {
    min-height: 72px;
    padding: 11px 13px;
    border-radius: 18px;
  }

  .dm-brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 14px;
  }

  .dm-brand-eyebrow,
  .dm-session-status {
    display: none;
  }

  .dm-layout {
    display: block;
    margin-top: 10px;
  }

  .dm-sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1000;
    width: min(88vw, 340px);
    max-height: none;
    transform: translateX(105%);
    border-radius: 24px 0 0 24px;
    transition: transform 220ms ease;
  }

  body.dm-mobile-nav-open .dm-sidebar {
    transform: translateX(0);
  }

  body.dm-mobile-nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(0, 0, 0, 0.56);
    backdrop-filter: blur(3px);
  }

  .dm-workspace {
    min-height: calc(100vh - 105px);
    border-radius: 20px;
  }

  .dm-mobile-step-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px 12px;
    padding: 16px 17px;
    border-bottom: 1px solid var(--dm-border);
    background: rgba(4, 9, 27, 0.48);
  }

  .dm-mobile-step-header .dm-section-label {
    grid-column: 1;
  }

  .dm-mobile-step-header strong {
    grid-column: 1;
  }

  .dm-mobile-step-header button {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .dm-step-stage {
    padding: 14px;
  }

  .dm-hero,
  .dm-placeholder-card {
    min-height: 560px;
    padding: 27px 22px;
    border-radius: 20px;
  }

  .dm-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.7rem);
  }

  .dm-hero-actions {
    display: grid;
  }

  .dm-hero-actions .dm-button {
    width: 100%;
  }

  .dm-workspace-footer {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
  }

  .dm-footer-status {
    display: none;
  }

  .dm-workspace-footer .dm-button {
    width: 100%;
  }

  .dm-site-footer {
    display: grid;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .dm-brand-copy strong {
    font-size: 0.93rem;
  }

  .dm-topbar-actions .dm-button {
    min-height: 38px;
    padding: 0 11px;
  }

  .dm-session-status {
    display: none;
  }

  .dm-information-banner {
    align-items: flex-start;
  }

  .dm-stat-card {
    padding: 16px;
  }
}

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