.direct-v2,
.direct-sticky-shell,
.direct-drawer-backdrop,
.direct-color-backdrop,
.direct-show-me-backdrop,
.direct-save-concept-guide {
  --direct-ink: #292826;
  --direct-muted: #716d66;
  --direct-paper-light: #fbfaf6;
  --direct-line: rgba(41, 40, 38, 0.17);
  --direct-blue: #218fc9;
  --direct-coral: #dc6a56;
  --direct-green: #5d846b;
  --direct-gold: #b68c3e;
  --direct-plum: #8a6985;
}

.direct-sticky-shell {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1200;
  width: 100%;
  min-width: 0;
  border-bottom: 1px solid var(--direct-line);
  color: var(--direct-ink);
  color-scheme: light;
  background: rgba(248, 246, 240, 0.93);
  backdrop-filter: blur(16px);
}

body.direct-wheel-active {
  padding-top: var(--direct-sticky-shell-height, 102px);
}

.direct-topbar {
  min-height: 50px;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
  border-bottom: 1px solid var(--direct-line);
  background: rgba(251, 250, 246, 0.78);
}

.direct-topbar-inner,
.direct-context-bar {
  width: min(1160px, calc(100% - 24px));
  min-width: 0;
  margin: 0 auto;
}

.direct-topbar-inner {
  min-height: 50px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.direct-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.direct-brand-logo {
  position: relative;
  width: 118px;
  height: 40px;
  flex: 0 0 auto;
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
  animation: direct-brand-logo-unfurl 760ms cubic-bezier(0.2, 0.78, 0.24, 1) 940ms both;
  will-change: clip-path;
}

@keyframes direct-brand-logo-unfurl {
  from {
    -webkit-clip-path: inset(0 0 0 100%);
    clip-path: inset(0 0 0 100%);
  }
  to {
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
  }
}

.direct-brand-logo img,
.direct-brand-logo-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.direct-brand-logo-art {
  opacity: 0;
  filter: none;
  transition: opacity 180ms ease;
}

.direct-brand-logo.is-mark-enabled .direct-brand-logo-art {
  opacity: 1;
}

.direct-brand-logo-text {
  background: #263f4a;
  clip-path: polygon(55% 42%, 60% 42%, 60% 49%, 100% 49%, 100% 100%, 0 100%, 0 49%, 55% 49%);
  -webkit-mask: url("icons/Muralizer%20Logo6.png") center / contain no-repeat;
  mask: url("icons/Muralizer%20Logo6.png") center / contain no-repeat;
}

.direct-brand-signature {
  width: max-content;
  max-width: calc(100% - 126px);
  min-width: 0;
  align-self: flex-end;
  display: grid;
  gap: 3px;
}

.direct-brand-byline {
  color: var(--direct-ink);
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  font-family: "Jost", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.direct-brand-by-word {
  font-size: 0.82em;
}

.direct-brand-name {
  display: inline-block;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
}

.direct-brand-tagline {
  height: 32px;
  display: grid;
  grid-template-columns: 9px 16px 24px max-content;
  align-items: end;
  gap: 3px;
  overflow: hidden;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.direct-brand-yellow,
.direct-brand-blue,
.direct-brand-teal {
  transform-origin: center bottom;
  animation: direct-brand-bar-rise 520ms cubic-bezier(0.22, 0.8, 0.28, 1) both;
}

.direct-brand-yellow { height: 32px; background: linear-gradient(180deg, #ffd31c, #a9b342); animation-delay: 460ms; }
.direct-brand-blue { height: 24px; background: linear-gradient(180deg, #0f5f7c, #3f7f92); animation-delay: 280ms; }
.direct-brand-teal { height: 16px; background: linear-gradient(90deg, #519cb3, #55aa80); animation-delay: 100ms; }

@keyframes direct-brand-bar-rise {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.direct-brand-offer-stack {
  height: 32px;
  display: grid;
  grid-template-rows: 16px 16px;
  align-self: end;
}

.direct-brand-offer {
  height: 16px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #51a86f, #3f9e55);
}

.direct-client-region {
  max-height: 280px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 220ms ease, opacity 150ms ease, transform 220ms ease;
}

.direct-sticky-shell.clients-is-docked .direct-client-region {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

.direct-client-region.is-save-guide-active {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.direct-client-mount .cpc-bar {
  width: min(1160px, calc(100% - 24px));
  max-width: none;
  margin: 0 auto;
  padding: 4px 9px 3px;
  gap: 2px;
}

.direct-context-bar {
  min-height: 38px;
  padding: 2px 0;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(430px, 720px) minmax(40px, 1fr);
  align-items: center;
  gap: 8px;
}

.direct-scenery-mount,
.direct-stage-mount,
.direct-menu-mount {
  min-width: 0;
}

.direct-scenery-mount { justify-self: start; }
.direct-menu-mount { justify-self: end; }

.direct-sticky-shell .bg-left-tools {
  gap: 5px;
}

.direct-sticky-shell .bg-center-pill .bg-caption {
  margin-inline: 3px;
  color: var(--direct-ink) !important;
  text-shadow: none;
}

.direct-sticky-shell .bg-btn {
  width: 20px;
  min-width: 20px;
  height: 26px;
  padding: 0;
  color: var(--direct-ink);
  background: rgba(255, 255, 255, 0.72) !important;
}

.direct-sticky-shell .theme-squares {
  margin-left: 4px;
  transform: none;
}

.direct-sticky-shell .theme-square {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  flex: 0 0 16px;
  width: 16px;
  min-width: 16px;
  max-width: 16px;
  height: 16px;
  min-height: 16px;
  max-height: 16px;
}

.direct-sticky-shell .theme-square:hover,
.direct-sticky-shell .theme-square.active {
  box-shadow: 0 2px 7px rgba(0,0,0,0.36), inset 0 0 0 2px rgba(255,255,255,0.5);
}

body.scenery-solid-light .direct-sticky-shell .theme-square:hover,
body.scenery-solid-light .direct-sticky-shell .theme-square.active {
  box-shadow: 0 2px 7px rgba(0,0,0,0.28), inset 0 0 0 2px rgba(24,31,34,0.24);
}

.direct-sticky-shell .theme-square::before {
  content: "";
  position: absolute;
  inset: -5px -2px;
}

.direct-sticky-shell .concept-stage-ribbon {
  position: relative;
  inset: auto;
  width: 100%;
  transform: none;
}

.direct-sticky-shell .stage-chip,
.direct-sticky-shell .stage-chip.done,
.direct-sticky-shell .stage-chip.active {
  min-width: 0;
  color: var(--direct-ink);
  text-shadow: none;
}

.direct-sticky-shell .menu-wrapper {
  position: relative;
  inset: auto;
  z-index: 20;
  margin: 0;
}

.direct-sticky-shell .menu-button,
body.scenery-solid-light .direct-sticky-shell .menu-button {
  width: 30px;
  min-width: 30px;
  height: 26px;
  min-height: 26px;
  margin: 0;
  padding: 0 6px;
  color: var(--direct-ink) !important;
  text-shadow: none;
}

.direct-wheel-active .body-wrapper,
.direct-wheel-active #stickyShellSpacer {
  display: none !important;
}

.direct-v2 {
  width: min(1160px, calc(100% - 24px));
  box-sizing: border-box;
  margin: 44px auto 34px;
  color: var(--direct-ink);
  font-family: Candara, "Trebuchet MS", sans-serif;
}

.direct-v2 *,
.direct-v2 *::before,
.direct-v2 *::after {
  box-sizing: border-box;
}

.direct-surface-tabs {
  position: absolute;
  left: 50%;
  bottom: -27px;
  z-index: 13;
  width: auto;
  margin: 0;
  display: flex;
  align-items: stretch;
  gap: 3px;
  transform: translateX(-50%);
}

.direct-surface-tabs .direct-dock-tab {
  position: relative;
  min-width: 88px;
  height: 27px;
  min-height: 27px;
  padding: 0 28px 0 11px;
  border: 1px solid var(--direct-line);
  border-top: 0;
  border-radius: 0 0 7px 7px;
  color: #176e9d;
  background: rgba(248, 246, 240, 0.97);
  box-shadow: 0 4px 8px rgba(30, 29, 27, 0.13);
  font: 600 12px Candara, "Trebuchet MS", sans-serif;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.direct-surface-tabs .direct-dock-tab::after {
  content: "\25B2";
  position: absolute;
  right: 10px;
  top: 9px;
  font-size: 8px;
}

.direct-surface-tabs .direct-dock-tab.is-collapsed::after {
  content: "\25BC";
}

.direct-surface-tabs [data-direct-surface="gallery"].is-open {
  color: #fff;
  border-color: var(--direct-blue);
  background: var(--direct-blue);
}

.direct-surface-tabs [data-direct-surface="concepts"].is-open {
  color: #fff;
  border-color: var(--direct-green);
  background: var(--direct-green);
}

.direct-surface-tabs [data-direct-surface="build"] {
  min-width: 78px;
  color: #fff;
  border-color: #a51249;
  background: #d81b60;
  box-shadow: 0 4px 10px rgba(91, 8, 42, 0.38);
  text-shadow: 0 1px 1px rgba(75, 5, 34, 0.35);
}

.direct-surface-tabs [data-direct-surface="concepts"] {
  min-width: 92px;
}

.direct-surface-tabs [data-direct-dock="clients"] {
  min-width: 88px;
}

.direct-concept-count {
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 8px;
  color: var(--direct-ink);
  background: #fff;
  font-size: 10px;
}

.direct-surface[hidden] {
  display: none !important;
}

.direct-gallery {
  width: min(1160px, calc(100% - 24px));
  margin: 44px auto 34px;
  color: var(--direct-ink, #292826);
  color-scheme: light;
}

.direct-gallery .signature-gallery-panel {
  width: 100%;
  margin: 0;
}

.direct-concepts .generate-row {
  display: none;
}

.direct-concept-workspace {
  margin-top: 44px;
  padding: 16px;
  border: 1px solid var(--direct-line);
  border-radius: 6px;
  color: var(--direct-ink);
  color-scheme: light;
  background: rgba(255, 255, 255, 0.4);
}

.direct-concept-toolbar {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.direct-save-concept-guide {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 15200;
  width: min(760px, calc(100% - 24px));
  margin: 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(41, 40, 38, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(30, 35, 32, 0.2);
}

.direct-save-concept-guide.is-pointing {
  left: var(--save-guide-left, 50%);
  top: var(--save-guide-top, 120px);
  width: min(360px, calc(100% - 24px));
  padding: 10px 12px;
  display: block;
  transform: translateX(-50%);
  text-align: center;
}

.direct-save-concept-guide.is-client-step {
  left: var(--save-guide-left, 50%);
  top: var(--save-guide-top, 150px);
  width: min(320px, calc(100% - 24px));
  padding: 11px 14px;
  display: block;
  transform: translateX(-50%);
  text-align: center;
}

.direct-save-concept-guide.is-client-step::before {
  content: "";
  position: absolute;
  left: var(--save-guide-arrow-left, 50%);
  top: -58px;
  width: 5px;
  height: 48px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: #e33228;
  box-shadow: 0 1px 2px rgba(74, 13, 10, 0.42);
}

.direct-save-concept-guide.is-client-step::after {
  content: "";
  position: absolute;
  left: var(--save-guide-arrow-left, 50%);
  top: -72px;
  transform: translateX(-50%);
  border-right: 13px solid transparent;
  border-bottom: 18px solid #e33228;
  border-left: 13px solid transparent;
  filter: drop-shadow(0 1px 1px rgba(74, 13, 10, 0.4));
}

.direct-save-concept-guide.is-pointing::before {
  content: "";
  position: absolute;
  left: var(--save-guide-arrow-left, 50%);
  top: -7px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  border-top: 1px solid rgba(41, 40, 38, 0.24);
  border-left: 1px solid rgba(41, 40, 38, 0.24);
  background: rgba(255, 255, 255, 0.97);
}

.direct-save-concept-guide.is-pointing .direct-save-concept-kicker,
.direct-save-concept-guide.is-pointing h3,
.direct-save-concept-guide.is-pointing p:not(.direct-save-concept-status),
.direct-save-concept-guide.is-pointing .direct-save-concept-actions,
.direct-save-concept-guide.is-client-step .direct-save-concept-kicker,
.direct-save-concept-guide.is-client-step h3,
.direct-save-concept-guide.is-client-step p:not(.direct-save-concept-status),
.direct-save-concept-guide.is-client-step .direct-save-concept-actions {
  display: none;
}

.direct-save-concept-guide.is-pointing .direct-save-concept-status,
.direct-save-concept-guide.is-client-step .direct-save-concept-status {
  margin: 0;
  color: var(--direct-ink);
  font-size: 12px;
  font-weight: 800;
}

.direct-save-concept-guide[hidden] { display: none; }

.direct-save-concept-kicker {
  color: var(--direct-green);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.direct-save-concept-guide h3 {
  margin: 1px 0 2px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0;
}

.direct-save-concept-guide p {
  margin: 0;
  font-size: 12px;
}

.direct-save-concept-guide .direct-save-concept-status {
  min-height: 15px;
  margin-top: 4px;
  color: rgba(41, 40, 38, 0.72);
  font-size: 10px;
}

.direct-save-concept-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.direct-save-concept-actions button {
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--direct-line);
  border-radius: 5px;
  color: var(--direct-ink);
  background: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.direct-save-concept-actions .is-primary {
  border-color: #254b3d;
  color: #fff;
  background: var(--direct-green);
}

#saveCpcConcept.is-show-me-marked {
  position: relative;
  z-index: 12;
  overflow: visible;
  animation: direct-save-concept-ready 1.1s ease-in-out infinite;
}

#saveCpcConcept.is-show-me-marked::after {
  content: "";
  position: absolute;
  inset: -12px -16px;
  border: 3px solid #e33228;
  border-radius: 50%;
  transform: rotate(-2deg);
  pointer-events: none;
  animation: direct-choice-circle-draw 1.15s cubic-bezier(0.3, 0.7, 0.3, 1) both;
}

#directClientsDock.is-show-me-marked,
#addClientBtn.is-show-me-marked {
  position: relative;
  z-index: 15201;
  overflow: visible;
  animation: direct-save-concept-ready 1.1s ease-in-out infinite;
}

#directClientsDock.is-show-me-marked::before,
#addClientBtn.is-show-me-marked::before {
  content: "";
  position: absolute;
  inset: -10px -15px;
  border: 3px solid #e33228;
  border-radius: 50%;
  transform: rotate(3deg);
  pointer-events: none;
  animation: direct-choice-circle-draw 1.15s cubic-bezier(0.3, 0.7, 0.3, 1) both;
}

@keyframes direct-save-concept-ready {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

@media (max-width: 680px) {
  .direct-save-concept-guide {
    align-items: stretch;
    flex-direction: column;
  }

  .direct-save-concept-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.direct-band-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0;
}

.direct-compare-nav {
  min-width: 0;
}

.direct-compare-nav .cpc-compare-header-row {
  width: auto;
  margin: 0;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.direct-compare-nav .cpc-compare-range,
.direct-compare-nav .cpc-compare-loading-status {
  color: var(--direct-ink);
  text-shadow: none;
}

.direct-comparator-shell {
  min-height: 0;
  margin-bottom: 16px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(41, 40, 38, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.34);
}

.direct-comparator-shell .cpc-compare-tray {
  display: contents;
}

.direct-comparator-shell .cpc-compare-slot {
  min-height: 206px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

body.direct-wheel-active:not(.scenery-solid-light):not(.scenery-solid-dark) .direct-concept-workspace {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.direct-wheel-active:not(.scenery-solid-light):not(.scenery-solid-dark) .direct-compare-nav .cpc-compare-range,
body.direct-wheel-active:not(.scenery-solid-light):not(.scenery-solid-dark) .direct-compare-nav .cpc-compare-loading-status {
  color: #fff;
}

body.direct-wheel-active:not(.scenery-solid-light):not(.scenery-solid-dark) .direct-comparator-shell {
  border-color: rgba(255, 255, 255, 0.26);
  color: #173f52;
}

body.scenery-solid-dark .direct-concept-workspace {
  border-color: rgba(255, 255, 255, 0.24);
  color: #f7f4ec;
  background: rgba(15, 20, 23, 0.94);
}

body.scenery-solid-dark .direct-compare-nav .cpc-compare-range,
body.scenery-solid-dark .direct-compare-nav .cpc-compare-loading-status {
  color: #f7f4ec;
}

body.scenery-solid-dark .direct-comparator-shell {
  border-color: rgba(185, 217, 232, 0.28);
  color: #173f52;
  background: rgba(255, 255, 255, 0.34);
}

body.scenery-solid-dark .direct-comparator-shell .cpc-compare-slot {
  background: rgba(255, 255, 255, 0.82);
}

.direct-concept-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.direct-concept-output,
.direct-concept-source,
.direct-concept-source .right-column {
  min-width: 0;
  width: 100%;
  max-width: none;
}

.direct-concept-source .right-column {
  display: contents;
}

.direct-concepts #imageWrapper {
  min-height: 360px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  grid-template-rows: auto auto auto auto;
  align-items: start;
  gap: 10px 16px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.direct-concepts .direct-concept-output {
  scroll-margin-top: calc(var(--direct-sticky-shell-height, 0px) + 12px);
}

.direct-concepts #muralImage {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  min-height: 360px;
  border: 1px solid var(--direct-line);
  border-radius: 6px;
  background: #ddd8ce;
  object-fit: contain;
}

.direct-concepts #conceptRoomBtnRow {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 7px;
  align-content: start;
}

.direct-concepts #imageWrapper.has-image #conceptRoomBtnRow .concept-room-btn,
.direct-concepts #imageWrapper.has-image #conceptRoomBtnRow .concept-share-btn,
.direct-concepts #imageWrapper.has-image #conceptRoomBtnRow #downloadBtn {
  position: static;
  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--direct-line);
  border-radius: 5px;
  color: var(--direct-ink);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.direct-concepts #conceptRoomBtnRow [hidden] {
  display: none !important;
}

.direct-concepts #imageWrapper.has-image #conceptRoomBtnRow .concept-favorite-group {
  position: static;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.direct-concepts #imageWrapper.has-image #conceptRoomBtnRow .concept-favorite-group button {
  position: static;
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--direct-line);
  border-radius: 5px;
  color: var(--direct-ink);
  background: rgba(255, 255, 255, 0.62);
}

.direct-concepts #muralPaletteStrip {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  margin: 0;
  padding: 3px 4px;
  flex-wrap: nowrap;
  gap: clamp(2px, 0.8vw, 7px);
  overflow-x: auto;
}

.direct-concepts #muralPaletteStrip .palette-chip {
  min-width: 0;
  padding: 1px clamp(1px, 0.35vw, 3px);
}

.direct-concepts #muralPaletteStrip .palette-swatch {
  width: clamp(26px, 4vw, 34px);
}

.direct-concepts .mural-tone-row {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--direct-ink);
}

body.scenery-solid-dark .direct-concepts #imageWrapper.has-image #conceptRoomBtnRow .concept-room-btn,
body.scenery-solid-dark .direct-concepts #imageWrapper.has-image #conceptRoomBtnRow .concept-share-btn,
body.scenery-solid-dark .direct-concepts #imageWrapper.has-image #conceptRoomBtnRow #downloadBtn,
body.scenery-solid-dark .direct-concepts #imageWrapper.has-image #conceptRoomBtnRow .concept-favorite-group button {
  border-color: rgba(255, 255, 255, 0.32);
  color: #f7f4ec;
  background: #26363d;
}

body.direct-wheel-active:not(.scenery-solid-light):not(.scenery-solid-dark) .direct-concepts #imageWrapper.has-image #conceptRoomBtnRow .concept-room-btn,
body.direct-wheel-active:not(.scenery-solid-light):not(.scenery-solid-dark) .direct-concepts #imageWrapper.has-image #conceptRoomBtnRow .concept-share-btn,
body.direct-wheel-active:not(.scenery-solid-light):not(.scenery-solid-dark) .direct-concepts #imageWrapper.has-image #conceptRoomBtnRow #downloadBtn,
body.direct-wheel-active:not(.scenery-solid-light):not(.scenery-solid-dark) .direct-concepts #imageWrapper.has-image #conceptRoomBtnRow .concept-favorite-group button {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(20, 31, 36, 0.78);
}

body.scenery-solid-dark .direct-concepts .mural-tone-row {
  color: #f7f4ec;
}

body.direct-wheel-active:not(.scenery-solid-light):not(.scenery-solid-dark) .direct-concepts .mural-tone-row {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72);
}

.direct-concepts #imageWrapper.has-image #conceptRoomBtnRow #quickFavoriteBtn.just-saved {
  border-color: rgba(255, 221, 0, 0.82);
  color: #ffdd00;
  background: #26363d;
  box-shadow: inset 0 0 0 1px rgba(255, 221, 0, 0.2);
}

.direct-concepts #quickFavoriteBtn.just-saved svg {
  fill: #ffdd00;
  fill-opacity: 1;
  stroke: #ffdd00;
}

.direct-concepts #imageWrapper.has-image #conceptRoomBtnRow > .mural-tone-row {
  display: flex;
}

.direct-concepts .mural-tone-row:has(#muralToneSlider) {
  margin-top: 3px;
}

.direct-concepts .mural-tone-row:has(#muralWashSlider) { margin-top: 0; }

.direct-concepts #imageWrapper.has-image .mural-watermark {
  left: calc((100% - 266px) / 2);
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 290px);
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.34);
  font-family: "Jost", "Segoe UI", sans-serif;
  font-size: clamp(29.7px, 5.4vw, 72.9px);
  font-weight: 400;
  letter-spacing: 0.34em;
  line-height: 1;
  text-align: center;
  text-indent: 0.34em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.38);
}

.direct-mode-row {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.direct-mode-row .creative-direction-mode {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: auto;
  padding: 2px;
  border: 1px solid var(--direct-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
}

.direct-mode-row .creative-direction-mode label {
  min-height: 30px;
  margin: 0;
  padding: 6px 12px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 5px;
  color: var(--direct-muted);
  background: transparent;
  cursor: pointer;
}

.direct-mode-qualifier {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.72;
}

.direct-mode-route {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.direct-mode-row .creative-direction-mode label.is-selected {
  color: #fff;
  background: var(--direct-ink);
}

.direct-mode-row .creative-direction-mode input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.direct-study-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.direct-wheel-wrap {
  min-width: 0;
  position: relative;
}

.direct-image-prompt-panel {
  width: min(780px, 100%);
  margin: 18px auto 0;
  padding: 14px;
  border: 1px solid var(--direct-line);
  border-radius: 6px;
  background: rgba(248, 246, 240, 0.96);
  box-shadow: 0 8px 24px rgba(41, 40, 38, 0.12);
}

.direct-image-prompt-panel[hidden] {
  display: none;
}

.direct-image-prompt-heading {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.direct-image-prompt-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.direct-image-prompt-heading span {
  padding: 2px 8px;
  border: 1px solid rgba(93, 132, 107, 0.4);
  border-radius: 999px;
  color: #355f48;
  background: rgba(93, 132, 107, 0.12);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.direct-description-mode {
  width: fit-content;
  margin: 0 auto 10px;
  padding: 2px;
  display: grid;
  grid-template-columns: repeat(2, minmax(54px, 1fr));
  border: 1px solid var(--direct-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.58);
}

.direct-description-mode button {
  min-height: 29px;
  padding: 4px 11px;
  border: 0;
  border-radius: 4px;
  color: var(--direct-muted);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

#directDescriptionAuto[aria-pressed="true"] {
  color: #fff;
  background: var(--direct-green);
}

#directDescriptionEdit[aria-pressed="true"] {
  color: #fff;
  background: #b84b45;
}

.direct-prompt-source .mzr-panel.mural-description {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.direct-prompt-source .mural-description > .mzr-panel-title,
.direct-prompt-source .mural-description #modeToggleWrapper {
  display: none;
}

.direct-prompt-source .mural-description .mzr-panel-body {
  display: block;
  padding: 0;
}

.direct-prompt-source #imagePrompt,
.direct-prompt-source #editDesc {
  width: 100% !important;
  min-height: 112px !important;
  max-height: 320px;
  padding: 11px 12px !important;
  resize: vertical !important;
  overflow-y: auto !important;
  border: 1px solid rgba(41, 40, 38, 0.18) !important;
  border-radius: 6px;
  outline: none !important;
  color: var(--direct-ink) !important;
  background: #fff !important;
  font: 13px/1.5 Candara, "Trebuchet MS", sans-serif !important;
}

.direct-prompt-source #editDesc {
  background: #f7f7f7 !important;
}

.direct-prompt-source #editDesc.user-edited {
  color: #b4231b !important;
}

.direct-prompt-source #imagePrompt:focus-visible,
.direct-prompt-source #editDesc:focus-visible {
  border-color: var(--direct-blue) !important;
  outline: 3px solid rgba(33, 143, 201, 0.2) !important;
  outline-offset: 2px;
}

.direct-v2 .wheel {
  position: relative;
  /* Reserve room for the base plate, which sits just past the help ring. */
  --help-ring-room: clamp(6px, 2%, 16px);
  width: min(780px, calc(100% - 2 * var(--help-ring-room)));
  aspect-ratio: 1;
  margin: var(--help-ring-room) auto;
  border-radius: 50%;
  filter: drop-shadow(0 20px 30px rgba(49, 45, 39, 0.14));
  isolation: isolate;
}

/* Compact: the help buttons grow slightly outward, so reserve a touch more room for them. */
@media (max-width: 560px) {
  .direct-v2 .wheel {
    --help-ring-room: clamp(9px, 3%, 20px);
  }
}

.direct-v2 .wheel::before,
.direct-v2 .wheel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Frosted disc; its hairline edge is drawn in the SVG so it can bulge around the ?. */
.direct-v2 .wheel::before {
  inset: -1%;
  z-index: -2;
  border: 0;
  background: rgba(255, 255, 255, 0.42);
}

@media (max-width: 560px) {
  .direct-v2 .wheel::before {
    inset: -1.8%;
  }
}

.direct-v2 .wheel::after {
  inset: 20%;
  z-index: 3;
  border: 0;
  box-shadow:
    inset 0 0 0 2px rgba(54, 63, 58, 0.28),
    inset 0 0 0 7px rgba(251, 250, 246, 0.92),
    0 0 0 1px rgba(41, 40, 38, 0.34),
    0 0 0 5px rgba(251, 250, 246, 0.92),
    0 0 0 8px rgba(103, 110, 106, 0.42),
    0 2px 5px 9px rgba(31, 29, 26, 0.2);
}

.direct-v2 .wedge {
  --wedge-color: var(--direct-blue);
  position: absolute;
  z-index: 0;
  padding: 0;
  border: 0;
  clip-path: var(--clip);
  background: color-mix(in srgb, var(--wedge-color) 38%, var(--direct-paper-light));
  box-shadow: 0 18px 42px rgba(36, 34, 30, 0.2);
  cursor: pointer;
  transition: filter 140ms ease;
}

.direct-v2 .wedge:nth-of-type(even) {
  background: color-mix(in srgb, var(--wedge-color) 30%, var(--direct-paper-light));
}

.direct-v2 .wedge:hover {
  filter: saturate(1.15) brightness(0.97);
}

.direct-v2 .wedge.is-active {
  background: color-mix(in srgb, var(--wedge-color) 48%, #fff);
}

.direct-v2 .wedge.is-guide-lit {
  z-index: 1;
  animation: direct-wheel-guide-flash 1050ms ease-in-out both;
}

.direct-v2 .wedge:disabled {
  filter: grayscale(1);
  opacity: 0.31;
  cursor: not-allowed;
}

.direct-v2 .wedge[hidden] {
  display: none;
}

/* Outer help ring: each pie extends outward as a lightly tinted help section. */
.direct-v2 .wedge-help {
  --wedge-color: var(--direct-blue);
  position: absolute;
  z-index: 0;
  padding: 0;
  border: 0;
  clip-path: var(--clip);
  background: color-mix(in srgb, var(--wedge-color) 22%, transparent);
  cursor: help;
  transition: background 140ms ease;
}

.direct-v2 .wedge-help:hover,
.direct-v2 .wedge-help:focus-visible,
.direct-v2 .wedge-help.is-active {
  outline: none;
  background: color-mix(in srgb, var(--wedge-color) 38%, transparent);
}

.direct-v2 .wedge-help[hidden] {
  display: none;
}

/* In-place dismissal for the tip ring: a bare glyph pinned to the top-left corner of the
   sub-scene tip button (JS sets left/top to that button's box corner). Color follows the
   ellipsis glyph's per-theme styling. */
.direct-v2 .wheel-tip-ring-dismiss {
  position: absolute;
  z-index: 4;
  width: clamp(11px, 3%, 16px);
  height: clamp(11px, 3%, 16px);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(10px, 2.2vw, 13px);
  line-height: 1;
  cursor: pointer;
  transition: color 140ms ease;
}

.direct-v2 .wheel-tip-ring-dismiss:hover,
.direct-v2 .wheel-tip-ring-dismiss:focus-visible {
  outline: none;
  color: rgba(255, 255, 255, 1);
}

body.scenery-solid-dark .direct-v2 .wheel-tip-ring-dismiss {
  color: rgba(212, 212, 208, 0.72);
}

body.scenery-solid-dark .direct-v2 .wheel-tip-ring-dismiss:hover,
body.scenery-solid-dark .direct-v2 .wheel-tip-ring-dismiss:focus-visible {
  color: rgba(245, 245, 242, 0.96);
}

body.scenery-solid-light .direct-v2 .wheel-tip-ring-dismiss {
  color: rgba(41, 40, 38, 0.5);
}

body.scenery-solid-light .direct-v2 .wheel-tip-ring-dismiss:hover,
body.scenery-solid-light .direct-v2 .wheel-tip-ring-dismiss:focus-visible {
  color: rgba(41, 40, 38, 0.82);
}

/* Ring off, or the Show Me walkthrough is running: no dismiss control. */
body.tip-ring-off .direct-v2 .wheel-tip-ring-dismiss,
body.direct-show-me-open .direct-v2 .wheel-tip-ring-dismiss {
  display: none;
}

/* Touch devices: the help ring is a bigger finger target (JS thickens the band),
   so scale the ellipsis to match. */
@media (hover: none) {
  .direct-v2 .wedge-help-glyph {
    --dot: clamp(2.9px, 0.85vw, 4px);
    --dot-gap: clamp(4.6px, 1.25vw, 5.8px);
  }
}

.direct-v2 .wheel-help-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.direct-v2 .wheel-help-lines path {
  fill: none;
  stroke: rgba(41, 40, 38, 0.16);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

.direct-v2 .wheel-help-lines .wheel-help-edge {
  stroke: rgba(41, 40, 38, 0.26);
}

/* Buttons casting a tiny shadow onto the base plate just outside them. */
.direct-v2 .wheel-help-lines .wheel-help-shadow {
  stroke: rgba(31, 29, 26, 0.2);
  stroke-width: 3px;
  filter: blur(1.3px);
}

.direct-v2 .wheel-help-lines .wheel-help-bump-fill {
  fill: rgba(255, 255, 255, 0.42);
  stroke: none;
}

/* Radially stacked 3-dot ellipsis centred on each help button (drawn dots, not text). */
.direct-v2 .wedge-help-glyph {
  --dot: clamp(2.2px, 0.27vw, 3.4px);
  --dot-gap: clamp(3.9px, 0.47vw, 5.1px);
  position: absolute;
  left: var(--glyph-x);
  top: var(--glyph-y);
  width: var(--dot);
  height: var(--dot);
  transform: translate(-50%, -50%) rotate(calc(var(--glyph-rot, 0deg) + 90deg));
  border-radius: 50%;
  /* White by default (scenery theme); dark and solid-light override below. */
  background: rgba(255, 255, 255, 0.82);
  pointer-events: none;
  transition: background 140ms ease;
}

.direct-v2 .wedge-help-glyph::before,
.direct-v2 .wedge-help-glyph::after {
  content: "";
  position: absolute;
  left: 0;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: inherit;
}

.direct-v2 .wedge-help-glyph::before { top: calc(-1 * var(--dot-gap)); }
.direct-v2 .wedge-help-glyph::after { top: var(--dot-gap); }

.direct-v2 .wedge-help:hover .wedge-help-glyph,
.direct-v2 .wedge-help:focus-visible .wedge-help-glyph,
.direct-v2 .wedge-help.is-active .wedge-help-glyph {
  background: rgba(255, 255, 255, 1);
}

/* Dark theme: silver dots. */
body.scenery-solid-dark .direct-v2 .wedge-help-glyph {
  background: rgba(212, 212, 208, 0.72);
}

body.scenery-solid-dark .direct-v2 .wedge-help:hover .wedge-help-glyph,
body.scenery-solid-dark .direct-v2 .wedge-help:focus-visible .wedge-help-glyph,
body.scenery-solid-dark .direct-v2 .wedge-help.is-active .wedge-help-glyph {
  background: rgba(245, 245, 242, 0.96);
}

/* Solid-light theme: ink dots. */
body.scenery-solid-light .direct-v2 .wedge-help-glyph {
  background: rgba(41, 40, 38, 0.5);
}

body.scenery-solid-light .direct-v2 .wedge-help:hover .wedge-help-glyph,
body.scenery-solid-light .direct-v2 .wedge-help:focus-visible .wedge-help-glyph,
body.scenery-solid-light .direct-v2 .wedge-help.is-active .wedge-help-glyph {
  background: rgba(41, 40, 38, 0.82);
}

/* Home menu "Tip Ring" off: hide the ring and collapse the wheel back to its original OD. */
body.tip-ring-off .direct-v2 .wedge-help,
body.tip-ring-off .direct-v2 .wheel-help-lines {
  display: none;
}

body.tip-ring-off .direct-v2 .wheel {
  --help-ring-room: 0px;
}

body.tip-ring-off .direct-v2 .wheel::before {
  inset: 1%;
  border: 1px solid var(--direct-line);
}

@keyframes direct-wheel-guide-flash {
  0%, 100% { filter: saturate(1) brightness(1); }
  44% { filter: saturate(1.55) brightness(1.3) drop-shadow(0 0 10px color-mix(in srgb, var(--wedge-color) 78%, white)); }
}

/* Show Me Simon Says: slower, with a bold white outline that reads as a demonstrated
   path (not a red "click here" prompt). Keyed to the same .is-guide-lit marker so the
   category-wedge special-casing keeps working. */
body.direct-simon-active .direct-v2 .wedge.is-guide-lit {
  z-index: 3;
  animation: direct-simon-flash 1500ms ease-in-out both;
}

@keyframes direct-simon-flash {
  0% { filter: saturate(1) brightness(1); }
  20%, 72% {
    filter: saturate(1.5) brightness(1.3)
      drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff)
      drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff)
      drop-shadow(0 0 16px rgba(255, 255, 255, 0.95));
  }
  100% { filter: saturate(1) brightness(1); }
}

.direct-v2 .wedge-copy {
  position: absolute;
  left: var(--label-x);
  top: var(--label-y);
  width: clamp(72px, 58%, 128px);
  display: grid;
  gap: 3px;
  transform: translate(-50%, -50%);
  color: var(--direct-ink);
  text-align: center;
  pointer-events: none;
}

.direct-v2 .wedge-name,
.direct-v2 .wedge-value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direct-v2 .wedge-name {
  font-size: clamp(10px, 1.35vw, 15px);
  font-weight: 700;
  line-height: 1.05;
}

.direct-v2 .wedge-name.tip {
  pointer-events: auto;
  cursor: inherit;
}

.direct-v2 .wedge-value {
  max-width: 100%;
  color: rgba(41, 40, 38, 0.72);
  font-size: clamp(8px, 1vw, 11px);
  line-height: 1.05;
}

body.direct-wheel-guide-active .direct-v2 .wedge[data-control="categorySelect"]:not(.is-guide-lit) {
  z-index: 2;
  animation: category-wedge-summon 1.6s ease-in-out infinite;
}

.direct-v2 .wedge[data-control="categorySelect"].is-guide-lit {
  z-index: 1;
  animation: direct-wheel-guide-flash 1050ms ease-in-out both;
}

/* While Show Me is open, silence the New User State attention blinking. */
body.direct-show-me-open.direct-wheel-guide-active .direct-v2 .wedge[data-control="categorySelect"]:not(.is-guide-lit),
body.direct-show-me-open.direct-wheel-guide-active .direct-v2 .direct-show-me-action,
body.direct-show-me-open.direct-wheel-guide-active .direct-v2 .direct-show-me-label text {
  animation: none !important;
}

/* START HERE cue must not show or shift while Show Me is open. */
body.direct-show-me-open .start-here-cue {
  display: none !important;
}

#directInspiration.is-show-me-clickable { cursor: pointer; }

.direct-v2 .wedge.is-show-me-next {
  z-index: 1;
  filter: saturate(1.16) brightness(1.04);
}

.direct-v2 .start-here-cue {
  position: absolute;
  left: 50%;
  top: 6px;
  z-index: 8;
  margin: 0;
  padding: 4px clamp(5px, 0.7vw, 8px);
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.35vw, 4px);
  border: 2px solid rgba(225, 255, 251, 0.98);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, #176f95, #218fc9, #2a9d8f, #3d9b68, #176f95);
  background-size: 220% 100%;
  box-shadow: 0 0 0 1px rgba(23, 111, 149, 0.36), 0 3px 7px rgba(20, 79, 89, 0.28);
  font-size: clamp(7px, 1.05vw, 10px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-transform: uppercase;
  pointer-events: none;
}

body.direct-wheel-guide-active .direct-v2 .start-here-cue {
  display: inline-flex;
  animation: start-here-marquee 1.7s ease-in-out infinite;
}

.direct-v2 .start-here-cue::before,
.direct-v2 .start-here-cue::after {
  content: "\2726";
  color: #bdf7df;
  font-size: 1.08em;
}

@keyframes start-here-marquee {
  0%, 100% { transform: translateX(-50%) scale(0.99); background-position: 0% 50%; }
  50% { transform: translate(-50%, -1px) scale(1.025); background-position: 100% 50%; box-shadow: 0 0 0 2px rgba(84, 210, 191, 0.34), 0 0 10px rgba(33, 143, 201, 0.46), 0 4px 8px rgba(20, 79, 89, 0.3); }
}

@keyframes category-wedge-summon {
  0%, 100% { filter: saturate(1.02) brightness(1); }
  50% { filter: saturate(1.14) brightness(1.035) drop-shadow(0 0 4px rgba(238, 100, 62, 0.42)); }
}

.direct-v2 .workflow-direction-arrows {
  position: absolute;
  inset: -1%;
  z-index: 6;
  width: 102%;
  height: 102%;
  overflow: visible;
  pointer-events: none;
  transform: scale(1.032);
}

.direct-v2 .workflow-direction-arrows > path {
  fill: none;
  stroke: rgba(15, 101, 143, 0.34);
  stroke-width: 1.15;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.direct-v2 .workflow-direction-arrows .workflow-arrowheads path {
  fill: rgba(15, 101, 143, 0.72);
  filter: drop-shadow(0 1px 1px rgba(14, 71, 98, 0.2));
}

.direct-v2 .center {
  position: absolute;
  inset: 19%;
  z-index: 2;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #ddd;
  box-shadow: none;
}

.direct-v2 .center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.direct-v2 .center::before {
  content: "SCÉNIQUE";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 24px);
  display: none;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.34);
  font-family: "Jost", "Segoe UI", sans-serif;
  font-size: clamp(16.2px, 2.43vw, 29.7px);
  font-weight: 400;
  letter-spacing: 0.34em;
  line-height: 1;
  text-align: center;
  text-indent: 0.34em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.38);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.direct-v2 .center.has-watermark::before {
  display: block;
}

.direct-v2 .center-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 14% 12% 18%;
  display: grid;
  background: linear-gradient(transparent, rgba(25, 24, 22, 0.76));
  color: #fff;
  text-align: center;
}

.direct-v2 .center-copy span {
  font-size: 10px;
  text-transform: uppercase;
}

.direct-v2 .center-copy strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 3vw, 30px);
}

.direct-v2 .direct-view-concept {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  width: 100%;
  min-height: 0;
  padding: 14% 12% 10%;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(rgba(25, 24, 22, 0.76), transparent);
  box-shadow: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.direct-v2 .direct-view-concept[hidden],
.direct-v2 .center.is-show-me-guided .direct-view-concept,
.direct-v2 .center.is-show-me-result .direct-view-concept {
  display: none;
}

.direct-v2 .direct-view-concept:hover,
.direct-v2 .direct-view-concept:focus-visible {
  outline: 2px solid rgba(126, 213, 235, 0.9);
  outline-offset: -2px;
  background: linear-gradient(rgba(17, 40, 36, 0.82), transparent);
}

.direct-v2 .center.is-show-me-guided .center-copy {
  display: none;
}

.direct-v2 .center.is-show-me-result .center-copy {
  display: none;
}

.direct-v2 .center.is-show-me-result::before {
  display: none;
}

.direct-v2 .center.is-show-me-result img {
  opacity: 1;
  filter: none;
}

.direct-show-me-completion {
  width: min(780px, 100%);
  margin: 10px auto 0;
  text-align: center;
}

.direct-show-me-completion[hidden] {
  display: none;
}

.direct-show-me-completion-copy {
  margin-bottom: 7px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 7px;
  color: var(--direct-ink);
}

.direct-show-me-completion-copy span {
  color: var(--direct-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.direct-show-me-completion-copy strong {
  min-width: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  line-height: 1;
}

.direct-show-me-guide-actions.direct-show-me-completion-actions button {
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.34);
  background: #283a36;
  font-size: 11px;
}

.direct-show-me-guide-actions.direct-show-me-completion-actions {
  width: min(420px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.direct-v2 .direct-show-me-guide {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 12% 10% 10%;
  display: grid;
  align-content: center;
  gap: 6px;
  color: #fff;
  background: linear-gradient(180deg, rgba(12, 29, 29, 0.5), rgba(14, 27, 23, 0.86));
  text-align: center;
  backdrop-filter: blur(1.5px);
}

.direct-v2 .direct-show-me-guide[hidden] {
  display: none;
}

.direct-show-me-guide-progress {
  display: grid;
  grid-template-columns: repeat(var(--show-me-step-count, 3), 1fr);
  gap: 4px;
}

.direct-show-me-guide-progress span {
  height: 4px;
  background: rgba(255, 255, 255, 0.28);
}

.direct-show-me-guide-progress span.is-applied {
  background: #7ed5eb;
}

.direct-show-me-guide-kicker {
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.direct-show-me-guide-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 0.95;
}

.direct-show-me-guide-value {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.direct-show-me-guide-status {
  min-height: 14px;
  margin: 0;
  font-size: 9px;
  line-height: 1.25;
  opacity: 0.82;
}

.direct-show-me-guide-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: 5px;
}

.direct-show-me-guide-actions:not(.is-complete) {
  width: min(270px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.direct-show-me-guide-actions button {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 5px 4px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  color: #fff;
  background: rgba(20, 24, 22, 0.62);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.direct-show-me-guide-actions button + button {
  border-left: 0;
}

.direct-show-me-guide-actions button:disabled {
  opacity: 0.66;
  cursor: wait;
}

.direct-show-me-guide-actions button:hover,
.direct-show-me-guide-actions button:focus-visible {
  outline: 2px solid rgba(126, 213, 235, 0.9);
  outline-offset: 1px;
}

.direct-show-me-guide-actions .is-primary {
  border-color: rgba(225, 255, 238, 0.78);
  background: var(--direct-green);
}

.direct-show-me-guide-actions .is-next-ready,
.direct-show-me-guide-actions .is-muralize-ready {
  border-color: rgba(255, 236, 233, 0.92);
  background: #e33228;
  animation: direct-show-me-action-ready 1.1s ease-in-out infinite;
}

@keyframes direct-show-me-action-ready {
  0%, 100% { filter: brightness(1); box-shadow: 0 0 0 0 rgba(227, 50, 40, 0.24), 0 3px 8px rgba(74, 13, 10, 0.32); }
  50% { filter: brightness(1.24); box-shadow: 0 0 0 3px rgba(255, 118, 108, 0.5), 0 3px 12px rgba(74, 13, 10, 0.58); }
}

.direct-v2 .generation-dock {
  --direct-action-inner-alpha: 0.3;
  --direct-action-edge-rgb: 49, 83, 63;
  position: absolute;
  inset: 20%;
  z-index: 4;
  border-radius: 50%;
  pointer-events: none;
}

.direct-v2 .generation-dock::before {
  content: none;
}

.direct-v2 .generation-dock::after {
  content: none;
}

.direct-v2 .direct-action-band {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(41, 40, 38, 0.34);
  border-radius: 50%;
  color: #fff;
  box-shadow: inset 0 3px 2px rgba(255, 255, 255, 0.36), inset 0 -4px 3px rgba(21, 53, 36, 0.54);
  filter: drop-shadow(0 5px 3px rgba(25, 55, 39, 0.4));
  pointer-events: auto;
  cursor: pointer;
}

.direct-v2 .direct-show-me-action {
  --direct-action-edge-rgb: 104, 69, 94;
  border-color: rgba(104, 69, 94, 0.58);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.36) 0, rgba(255, 255, 255, 0.12) 7%, transparent 17%),
    radial-gradient(circle closest-side, rgba(164, 125, 154, var(--direct-action-inner-alpha)) 83.5%, rgb(104, 69, 94) 100%);
}

body.direct-wheel-guide-active .direct-v2 .direct-show-me-action {
  animation: direct-show-me-first-use 1.7s ease-in-out infinite;
}

@keyframes direct-show-me-first-use {
  0%, 100% {
    filter: brightness(1.04) saturate(1.08) drop-shadow(0 5px 3px rgba(25, 55, 39, 0.4));
  }
  50% {
    filter: brightness(1.3) saturate(1.28) drop-shadow(0 0 7px rgba(243, 181, 226, 0.98)) drop-shadow(0 5px 4px rgba(75, 39, 66, 0.5));
  }
}

.direct-v2 .direct-wayfinder-action {
  --direct-action-edge-rgb: 16, 83, 111;
  border-color: rgba(16, 83, 111, 0.58);
  background:
    radial-gradient(circle at 100% 50%, rgba(255, 255, 255, 0.36) 0, rgba(255, 255, 255, 0.12) 7%, transparent 17%),
    radial-gradient(circle closest-side, rgba(49, 138, 172, var(--direct-action-inner-alpha)) 83.5%, rgb(16, 83, 111) 100%);
}


.direct-v2 .direct-industry-action {
  --direct-action-edge-rgb: 135, 97, 22;
  border-color: rgba(135, 97, 22, 0.58);
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 255, 255, 0.36) 0, rgba(255, 255, 255, 0.12) 7%, transparent 17%),
    radial-gradient(circle closest-side, rgba(208, 170, 78, var(--direct-action-inner-alpha)) 83.5%, rgb(135, 97, 22) 100%);
}


.direct-v2 .direct-action-band:hover,
.direct-v2 .direct-action-band:focus-visible {
  outline: none;
  filter: brightness(1.14) saturate(1.06) drop-shadow(0 5px 6px rgba(25, 55, 39, 0.38));
}

.direct-v2 .direct-action-band:disabled {
  opacity: 1;
  filter: saturate(0.72) brightness(0.94) drop-shadow(0 5px 3px rgba(25, 55, 39, 0.4));
  cursor: not-allowed;
}

.direct-v2 .aspect-ratio-band,
.direct-v2 #generateMuralBtn {
  z-index: 3;
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: auto;
}

.direct-sketch-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.direct-sketch-circle {
  fill: none;
  stroke: #e33228;
  stroke-width: 0.72;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.96)) drop-shadow(0 1px 2px rgba(74, 13, 10, 0.72));
}

.direct-sketch-circle.is-drawing {
  stroke-dashoffset: 1;
  animation: direct-sketch-circle-draw 1.15s cubic-bezier(0.3, 0.7, 0.3, 1) forwards;
}

@keyframes direct-sketch-circle-draw {
  to { stroke-dashoffset: 0; }
}

.direct-sketch-note {
  fill: #e33228;
  font-family: "Segoe Print", Candara, sans-serif;
  font-size: 2.7px;
  font-weight: 700;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 0.6px;
}

.direct-v2 .aspect-ratio-band {
  overflow: hidden;
  border: 1px solid rgba(28, 111, 148, 0.38);
  border-radius: 50%;
  background: linear-gradient(180deg, #e6f7fc 0%, #b9e4f1 22%, #98d3e8 58%, #70b9d9 100%);
  box-shadow: inset 0 3px 2px rgba(255, 255, 255, 0.58), inset 0 -3px 3px rgba(20, 93, 126, 0.28);
  filter: drop-shadow(0 3px 2px rgba(20, 82, 109, 0.28));
  transition: filter 180ms ease;
}

.direct-v2 .aspect-ratio-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle closest-side, transparent 0 83%, rgba(255, 255, 255, 0.34) 83.4% 84.2%, transparent 85.4% 98.1%, rgba(255, 255, 255, 0.72) 98.5% 99.3%, rgba(28, 111, 148, 0.22) 99.6% 100%);
  pointer-events: none;
}

.direct-v2 .aspect-ratio-band::after {
  content: "";
  position: absolute;
  inset: -8% -22%;
  z-index: 1;
  opacity: 0.12;
  transform: translateX(-7%);
  background: linear-gradient(166deg, transparent 0 23%, rgba(255, 255, 255, 0.4) 30%, rgba(255, 255, 255, 0.11) 36%, transparent 43%), linear-gradient(8deg, transparent 0 47%, rgba(255, 255, 255, 0.24) 54%, transparent 62%);
  background-position: 0 0, 100% 0;
  background-size: 78% 100%, 62% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.direct-v2 .aspect-ratio-band:hover,
.direct-v2 .aspect-ratio-band:focus-within {
  filter: brightness(1.06) saturate(1.04) drop-shadow(0 -2px 4px rgba(33, 143, 201, 0.22));
}

.direct-v2 .aspect-ratio-band:hover::after,
.direct-v2 .aspect-ratio-band:focus-within::after {
  opacity: 0.46;
  animation: direct-aspect-cloud-drift 3.6s ease-in-out infinite alternate;
}

.direct-v2 .aspect-ratio-band select {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 3;
  width: 100% !important;
  height: 50% !important;
  min-width: 0 !important;
  transform: none !important;
  border: 0;
  background: transparent !important;
  opacity: 0;
  cursor: pointer;
}

.direct-v2 #generateMuralBtn {
  --direct-action-edge-rgb: 49, 83, 63;
  width: 100%;
  height: 100%;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(31, 79, 53, 0.58) !important;
  border-radius: 50% !important;
  color: transparent !important;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.36) 0, rgba(255, 255, 255, 0.12) 7%, transparent 17%),
    radial-gradient(circle closest-side, rgba(125, 165, 140, var(--direct-action-inner-alpha)) 83.5%, rgb(49, 83, 63) 100%) !important;
  box-shadow: inset 0 3px 2px rgba(255, 255, 255, 0.36), inset 0 -4px 3px rgba(21, 53, 36, 0.54) !important;
  filter: drop-shadow(0 5px 3px rgba(25, 55, 39, 0.4));
  transition: filter 180ms ease;
  transform: none !important;
  animation: none !important;
  font-size: 0 !important;
  cursor: pointer;
}

.direct-v2 .direct-action-band::before,
.direct-v2 #generateMuralBtn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, transparent 82.9%, rgba(255, 255, 255, 0.26) 83.55%, rgba(var(--direct-action-edge-rgb), 0.18) 84.3%, transparent 85.2%);
  pointer-events: none;
}

.direct-v2 #generateMuralBtn::after {
  content: "";
  position: absolute;
  top: 42%;
  bottom: 0;
  left: -70%;
  z-index: 1;
  width: 65%;
  opacity: 0;
  transform: translateX(0) skewX(-18deg);
  background: linear-gradient(110deg, transparent 0 25%, rgba(229, 244, 224, 0.08) 35%, rgba(238, 248, 233, 0.34) 48%, rgba(218, 238, 211, 0.12) 59%, transparent 70%), repeating-linear-gradient(172deg, transparent 0 12px, rgba(231, 244, 225, 0.12) 13px 14px, transparent 15px 24px);
  filter: blur(0.35px);
  pointer-events: none;
}

.direct-v2 #generateMuralBtn:hover,
.direct-v2 #generateMuralBtn:focus-visible {
  outline: none;
  filter: brightness(1.14) saturate(1.06) drop-shadow(0 5px 6px rgba(25, 55, 39, 0.38));
}

.direct-v2 #generateMuralBtn.is-show-me-retry {
  animation: direct-show-me-action-ready 1.1s ease-in-out infinite !important;
}

.direct-v2 #generateMuralBtn:hover::after,
.direct-v2 #generateMuralBtn:focus-visible::after {
  animation: direct-muralize-wind-wash 1.65s ease-in-out infinite;
}

.direct-v2 .annular-label {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.direct-v2 .annular-label path {
  fill: none;
}

.direct-v2 .annular-label text {
  fill: var(--direct-ink);
  font-family: Candara, "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.direct-v2 .direct-action-label {
  z-index: 6;
}

.direct-v2 .direct-action-label text {
  fill: #fff;
  font-size: 3.35px;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.18), 0 1px 4px rgba(0, 0, 0, 0.62);
}

.direct-v2 .direct-show-me-label text { font-size: 3.8px; }

body.direct-wheel-guide-active .direct-v2 .direct-show-me-label text {
  animation: direct-show-me-label-first-use 1.7s ease-in-out infinite;
}

@keyframes direct-show-me-label-first-use {
  0%, 100% { fill: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.62); }
  50% { fill: #fff7fd; text-shadow: 0 0 5px #fff, 0 0 9px rgba(248, 190, 232, 0.95), 0 1px 4px rgba(0, 0, 0, 0.7); }
}
.direct-v2 .direct-wayfinder-label,
.direct-v2 .direct-industry-label { opacity: 0.86; }

.direct-v2 .direct-wayfinder-label text,
.direct-v2 .direct-industry-label text { font-size: 3.8px; }

.direct-v2 .aspect-ratio-label {
  transform: translateY(clamp(2px, 0.5vw, 4px));
}

.direct-v2 .aspect-ratio-label text {
  fill: #173b4d;
  font-size: 3.4px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62);
}

.direct-v2 .aspect-ratio-label .ratio-value {
  fill: #0f628d;
}

.direct-v2 .muralize-label {
  z-index: 6;
  transform: translateY(-3px);
}

.direct-v2 .muralize-label text {
  fill: #fff;
  font-size: 4.4px;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.18), 0 1px 4px rgba(0, 0, 0, 0.62);
}

@keyframes direct-aspect-cloud-drift {
  from { transform: translateX(-7%); }
  to { transform: translateX(7%); }
}

@keyframes direct-muralize-wind-wash {
  0% { opacity: 0; transform: translateX(0) skewX(-18deg); }
  22% { opacity: 0.16; }
  55% { opacity: 0.3; }
  100% { opacity: 0; transform: translateX(290%) skewX(-18deg); }
}

.direct-v2 .direct-session-panel {
  --direct-session-blue: #294b5c;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  color: var(--direct-ink);
  color-scheme: light;
  background: rgba(251, 250, 246, 0.9);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.direct-v2 .direct-session-panel h2 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0;
}

.direct-v2 .direct-session-panel > p {
  margin: 0 0 18px;
  color: var(--direct-muted);
  font-size: 12px;
  line-height: 1.35;
}

.direct-v2 .direct-session-panel .creative-change,
.direct-v2 .direct-session-panel .sc-counter-wrap,
.direct-v2 .direct-session-panel .pro-access,
.direct-v2 .direct-session-panel .model-selector-container {
  width: 100%;
  margin: 0 0 14px;
}

.direct-v2 .direct-session-panel .creative-change {
  padding: 12px;
  border: 1px solid rgba(19, 63, 83, 0.56);
  border-radius: 7px;
  background: var(--direct-session-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.direct-v2 .direct-session-panel .sc-counter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.direct-v2 .direct-session-panel .sc-counter-wrap {
  max-width: none;
}

.direct-v2 .direct-session-panel .sc-counter-box {
  min-width: 0;
}

.direct-v2 .direct-session-panel .pro-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 6px;
}

.direct-v2 .direct-session-panel .pro-access input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid var(--direct-line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.62);
}

.direct-v2 .direct-session-panel .pro-access button {
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--direct-line);
  border-radius: 5px;
  color: var(--direct-muted);
  background: transparent;
  cursor: pointer;
}

.direct-v2 .direct-session-panel .pro-access #proLogoutBtn {
  grid-column: 1 / -1;
  justify-self: center;
}

.direct-color-controls-dock {
  position: relative;
  margin: 0 0 14px;
}

.direct-palette-tuning {
  margin: 12px 0;
  border-top: 1px solid var(--direct-line);
  border-bottom: 1px solid var(--direct-line);
}

.direct-palette-tuning > summary {
  padding: 9px 68px 9px 0;
  color: var(--direct-muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.direct-palette-tuning > summary span {
  margin-left: 5px;
  color: var(--direct-ink);
}

.direct-palette-tuning[hidden],
.direct-palette-tuning-grid[hidden],
.direct-family-choice-grid[hidden],
.direct-color-backdrop[hidden],
.direct-palette-tuning fieldset[hidden] {
  display: none !important;
}

.direct-palette-tuning-grid {
  padding: 0 0 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.direct-palette-tuning fieldset {
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--direct-line);
  border-radius: 4px;
}

.direct-palette-tuning fieldset.is-disabled {
  opacity: 0.42;
}

.direct-palette-tuning legend {
  padding: 0 4px;
  color: var(--direct-ink);
  font-size: 9px;
  text-transform: uppercase;
}

.direct-palette-tuning label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 6px;
  color: var(--direct-muted);
  font-size: 9px;
}

.direct-palette-tuning label + label {
  margin-top: 7px;
}

.direct-palette-tuning input {
  width: 100%;
  grid-column: 1 / -1;
}

.direct-palette-tuning output {
  color: var(--direct-ink);
}

.direct-palette-stack-pair {
  min-height: 144px;
  margin: 0 auto 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}

.direct-palette-thumb-stack {
  position: relative;
  width: 40px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.direct-palette-thumb-stack button {
  width: 40px;
  height: 18px;
  flex: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.direct-palette-thumb-stack button.is-selected,
.direct-palette-choice-grid button.is-selected {
  outline: 2px solid #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4), inset 0 0 4px rgba(0, 0, 0, 0.25);
}

.direct-palette-thumb-stack button.is-selected {
  transform: none;
}

.direct-palette-selector-node {
  position: absolute;
  left: -4px;
  z-index: 1;
  box-sizing: border-box;
  width: calc(100% + 8px);
  height: 24px;
  border: 2px solid var(--direct-blue);
  border-radius: 4px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 150ms ease, transform 150ms ease, top 150ms ease;
  pointer-events: none;
}

.direct-palette-selector-node.is-active {
  opacity: 1;
  transform: scale(1);
}

.direct-palette-selected-swatch {
  width: 54px;
  height: 96px;
  margin: 0 auto 10px;
  border: 1px solid rgba(41, 40, 38, 0.18);
  border-radius: 5px;
  background: repeating-linear-gradient(135deg, rgba(41, 40, 38, 0.05) 0 6px, transparent 6px 12px);
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.18);
}

.direct-palette-selected-swatch.is-blank {
  opacity: 0.38;
}

.direct-palette-choice-grid {
  position: relative;
  margin-bottom: 9px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 2px;
}

.direct-palette-choice-grid button {
  width: 100%;
  min-width: 0;
  padding: 0;
  aspect-ratio: 1;
  border: 1px solid rgba(41, 40, 38, 0.18);
  border-radius: 2px;
  cursor: pointer;
}

.direct-palette-choice-grid button:disabled,
.direct-palette-thumb-stack button:disabled {
  cursor: not-allowed;
}

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

.direct-family-choice {
  min-width: 0;
  min-height: 38px;
  padding: 5px 7px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--direct-line);
  border-radius: 4px;
  color: var(--direct-ink);
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.direct-family-choice.is-selected {
  color: #fff;
  border-color: var(--direct-blue);
  background: var(--direct-blue);
}

.direct-family-choice-swatches {
  display: flex;
}

.direct-family-choice-swatches i {
  width: 13px;
  height: 18px;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.direct-color-controls-expand {
  position: absolute;
  top: 5px;
  right: 0;
  min-height: 25px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(
    105deg,
    #c95f52 0 20%,
    #c89738 20% 40%,
    #558567 40% 60%,
    #247ea4 60% 80%,
    #80617c 80% 100%
  );
  box-shadow: 0 1px 4px rgba(30, 29, 27, 0.26);
  font-size: 9px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(20, 19, 18, 0.72);
  cursor: pointer;
}

.direct-color-controls-expand[hidden] {
  display: none;
}

.direct-color-backdrop {
  position: fixed;
  inset: 0;
  z-index: 16000;
  padding: calc(var(--direct-sticky-shell-height, 102px) + 18px) 18px 18px;
  display: grid;
  place-items: start center;
  overflow-y: auto;
  background: rgba(30, 29, 27, 0.48);
  backdrop-filter: blur(3px);
}

.direct-color-dialog {
  width: min(760px, 100%);
  max-height: calc(100dvh - var(--direct-sticky-shell-height, 102px) - 36px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 7px;
  color: var(--direct-ink);
  color-scheme: light;
  background: var(--direct-paper-light);
  box-shadow: 0 24px 70px rgba(20, 19, 18, 0.3);
}

.direct-color-dialog-header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--direct-line);
  background: var(--direct-paper-light);
}

.direct-color-dialog-header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  letter-spacing: 0;
}

.direct-color-dialog-header p {
  margin: 3px 0 0;
  color: var(--direct-muted);
  font-size: 11px;
}

.direct-color-dialog-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.direct-color-dialog-actions button {
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid var(--direct-line);
  border-radius: 4px;
  color: var(--direct-ink);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

#directColorDockButton.is-show-me-marked {
  position: relative;
  z-index: 1;
  animation: direct-save-concept-ready 1.1s ease-in-out infinite;
}

#directColorDockButton.is-show-me-marked::after {
  content: "";
  position: absolute;
  inset: -8px -12px;
  border: 3px solid #e33228;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.82);
  transform: rotate(-2deg);
  pointer-events: none;
  animation: direct-choice-circle-draw 1.15s cubic-bezier(0.3, 0.7, 0.3, 1) both;
}

.direct-color-dialog-actions .direct-color-dialog-close {
  width: 34px;
  padding: 0;
  border-radius: 50%;
}

.direct-color-modal-mount {
  padding: 18px;
}

.direct-color-modal-mount .direct-palette-tuning {
  margin: 0;
  border: 0;
}

.direct-color-modal-mount .direct-palette-tuning > summary {
  display: none;
}

.direct-color-modal-mount .direct-palette-thumb-stack {
  width: min(84px, calc((100% - 6px) / 2));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 2px;
}

.direct-color-modal-mount .direct-palette-thumb-stack button {
  width: 100%;
}

.direct-color-modal-mount .direct-palette-tuning-grid {
  padding-bottom: 0;
  gap: 7px;
}

.direct-color-modal-mount .direct-palette-tuning-grid[data-visible-palettes="1"] {
  grid-template-columns: minmax(0, 1fr);
}

.direct-color-modal-mount .direct-palette-tuning-grid[data-visible-palettes="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.direct-color-modal-mount .direct-palette-tuning-grid[data-visible-palettes="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.direct-color-modal-mount .direct-palette-selected-swatch {
  width: 72px;
  height: 112px;
}

.direct-v2 .event-readout {
  min-height: 38px;
  color: var(--direct-muted);
  font-size: 11px;
  line-height: 1.4;
}

.direct-v2 .wheel-finish-control {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.direct-v2 .wheel-finish-control[hidden] {
  display: none;
}

.direct-v2 .finish-arc-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.direct-v2 .finish-arc-track,
.direct-v2 .finish-arc-progress,
.direct-v2 .finish-arc-hit {
  fill: none;
}

.direct-v2 .finish-arc-track {
  stroke: rgba(41, 40, 38, 0.18);
  stroke-width: 1.2;
}

.direct-v2 .finish-arc-progress {
  stroke: rgba(41, 40, 38, 0.7);
  stroke-width: 1.5;
}

.direct-v2 .finish-arc-hit {
  stroke: transparent;
  stroke-width: 8;
  pointer-events: stroke;
  cursor: pointer;
}

.direct-v2 .finish-arc-tick {
  stroke: rgba(41, 40, 38, 0.26);
  stroke-width: 0.35;
}

.direct-v2 .finish-arc-tick.is-active {
  stroke: rgba(41, 40, 38, 0.82);
}

.direct-v2 .finish-arc-thumb-halo {
  fill: rgba(255, 255, 255, 0.88);
}

.direct-v2 .finish-arc-thumb {
  fill: transparent;
  stroke: rgba(41, 40, 38, 0.78);
  stroke-width: 0.45;
}

.direct-v2 .wheel-finish-control output {
  display: none;
}

.direct-v2 #wheelFinishSlider {
  display: none;
}

.direct-v2 .wheel-generation-spinner {
  position: absolute;
  inset: 31%;
  z-index: 6;
  display: grid;
  place-items: center;
  border-radius: 50%;
  pointer-events: none;
}

.direct-v2 .wheel-generation-spinner .mural-progress {
  flex-direction: column;
  gap: 6px;
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(20, 32, 38, 0.66);
  color: #fff;
  font-size: 13px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.direct-v2 .wheel-generation-spinner .mural-progress-steps i {
  background: rgba(255, 255, 255, 0.32);
}

.direct-v2 .wheel-generation-spinner .mural-progress-steps i.is-done {
  background: #8fdcff;
}

.direct-v2 .direct-center-tip {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  padding: 16% 13%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 34, 40, 0.9) 30%, rgba(24, 34, 40, 0.78) 100%);
  color: #fff;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.direct-v2 .direct-center-tip.is-visible {
  opacity: 1;
}

.direct-v2 .direct-center-tip strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 2.8vw, 27px);
  line-height: 1.1;
}

.direct-v2 .direct-center-tip span {
  max-width: 34ch;
  font-size: clamp(11.5px, 1.5vw, 15px);
  line-height: 1.45;
}

.direct-v2 .center.is-show-me-guided .direct-center-tip,
.direct-v2 .center.is-show-me-result .direct-center-tip {
  display: none;
}

.direct-inspiration {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px;
  border-top: 1px solid var(--direct-line);
  background: rgba(255, 255, 255, 0.38);
}

.direct-inspiration[hidden],
.direct-selections[hidden] {
  display: none;
}

.direct-inspiration #referenceReimagineBody {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  align-items: start;
  gap: 18px 24px;
}

.direct-inspiration #referenceDirectionMode {
  max-width: 680px;
  margin: 0 auto 14px;
}

.direct-inspiration-source,
.direct-inspiration-settings {
  min-width: 0;
}

.direct-inspiration-replace {
  display: none;
  width: max-content;
  margin: 7px 0 0;
  padding: 6px 9px;
  border: 1px solid var(--direct-line);
  border-radius: 5px;
  color: var(--direct-muted);
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.direct-inspiration-source:has(.reference-reimagine-preview.is-visible) .reference-reimagine-copy,
.direct-inspiration-source:has(.reference-reimagine-preview.is-visible) .reference-reimagine-upload {
  display: none;
}

.direct-inspiration-source:has(.reference-reimagine-preview.is-visible) .direct-inspiration-replace {
  display: inline-flex;
}

.direct-inspiration-crop {
  margin-top: 8px;
  border-top: 1px solid var(--direct-line);
}

.direct-inspiration-crop:not(:has(.reference-crop-editor.is-visible)) {
  display: none;
}

.direct-inspiration-crop > summary {
  padding: 8px 2px 2px;
  color: var(--direct-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.direct-inspiration-crop .reference-crop-editor.is-visible {
  margin-top: 8px;
}

.direct-inspiration-settings .reference-interpretation-label:first-child {
  margin-top: 0;
}

.direct-inspiration-tools {
  grid-column: 1 / -1;
  border-top: 1px solid var(--direct-line);
}

.direct-inspiration-tools > summary {
  padding: 10px 2px 4px;
  color: var(--direct-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.direct-inspiration-tools .reference-tools {
  margin-top: 6px;
}

.direct-inspiration-tools .reference-tools-title {
  display: none;
}

.direct-wheel-active .muralizer2-link-bar,
.direct-wheel-active .attributes-panel,
.direct-wheel-active #cpcPanelChips {
  display: none !important;
}

.direct-wheel-active .descriptor-layout {
  display: none !important;
}

.direct-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 15000;
  display: grid;
  align-items: center;
  justify-items: end;
  padding: 16px;
  background: rgba(21, 20, 18, 0.38);
}

.direct-drawer-backdrop[hidden] {
  display: none;
}

.direct-drawer-backdrop.is-show-me-guided {
  background: transparent;
  pointer-events: none;
}

.direct-drawer-backdrop.is-show-me-guided .direct-drawer {
  pointer-events: auto;
}

.direct-show-me-backdrop {
  position: fixed;
  inset: 0;
  z-index: 15100;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 16px;
  background: rgba(21, 20, 18, 0.24);
}

.direct-show-me-backdrop[hidden] { display: none; }

.direct-show-me-dialog {
  box-sizing: border-box;
  position: relative;
  width: min(760px, 100%);
  height: auto;
  max-height: calc(100dvh - 32px);
  padding: clamp(16px, 2.3vw, 24px);
  overflow: auto;
  color: var(--direct-ink);
  color-scheme: light;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: #fbfaf6;
  box-shadow: 0 24px 70px rgba(20, 18, 15, 0.34);
}

.direct-show-me-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-right: 44px;
}

.direct-show-me-header span {
  color: #176f95;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.direct-show-me-header h2 {
  margin: 1px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(31px, 4vw, 44px);
  font-weight: 500;
  line-height: 1;
}

.direct-show-me-close {
  position: absolute;
  top: clamp(12px, 1.6vw, 18px);
  right: clamp(12px, 1.6vw, 18px);
  z-index: 2;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--direct-line);
  border-radius: 6px;
  background: #fff;
  color: var(--direct-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.direct-show-me-close:hover,
.direct-show-me-close:focus-visible {
  border-color: rgba(23, 111, 149, 0.58);
  background: rgba(33, 143, 201, 0.07);
}

.direct-show-me-summary {
  max-width: 680px;
  margin: 5px 0 14px;
  color: var(--direct-muted);
  font-size: 14px;
  line-height: 1.4;
}

.direct-firstlook-dialog {
  width: min(780px, 100%);
}

.direct-firstlook-lead {
  max-width: 650px;
  margin: 5px 0 10px;
  padding-left: 18px;
  list-style: disc;
  color: var(--direct-muted);
  font-size: 14px;
  line-height: 1.4;
}

.direct-firstlook-lead li {
  margin: 0 0 2px;
}

.direct-firstlook-note {
  margin-bottom: 12px;
  padding: 9px 12px;
  display: grid;
  gap: 2px;
  border-left: 3px solid var(--direct-gold);
  background: rgba(182, 140, 62, 0.1);
  animation: direct-development-alert 1.15s steps(2, jump-none) infinite;
}

@keyframes direct-development-alert {
  0%, 100% {
    outline: 2px solid rgba(225, 37, 91, 0.34);
    outline-offset: 1px;
    box-shadow: 0 0 0 1px rgba(255, 92, 128, 0.12);
  }
  50% {
    outline: 4px solid rgba(239, 35, 54, 0.92);
    outline-offset: 3px;
    box-shadow: 0 0 12px rgba(255, 45, 92, 0.62);
  }
}

.direct-firstlook-note strong {
  font-family: "Jost", "Segoe UI", sans-serif;
  font-size: 13px;
}

.direct-firstlook-note span {
  color: var(--direct-muted);
  font-size: 12px;
}

.direct-wayfinder-backdrop .direct-firstlook-note {
  animation: none;
  outline: 2px solid rgba(225, 37, 91, 0.5);
  outline-offset: 1px;
  box-shadow: none;
}

.direct-wayfinder-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.direct-wayfinder-routes.is-paired {
  grid-template-columns: repeat(2, minmax(0, 320px));
}

.direct-wayfinder-routes button {
  min-height: 116px;
  padding: 8px 12px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 5px;
  border: 1px solid var(--direct-line);
  border-radius: 6px;
  color: var(--direct-ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.direct-wayfinder-routes button > span {
  color: var(--direct-blue);
  font-size: 10px;
  font-weight: 800;
}

.direct-wayfinder-routes button strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  line-height: 1;
}

.direct-wayfinder-routes button small {
  color: var(--direct-muted);
  font-size: 12px;
  line-height: 1.4;
}

.direct-wayfinder-routes button:hover,
.direct-wayfinder-routes button:focus-visible,
.direct-wayfinder-routes button.is-selected {
  outline: none;
  border-color: rgba(23, 111, 149, 0.58);
  background: rgba(33, 143, 201, 0.07);
  box-shadow: inset 0 0 0 1px rgba(23, 111, 149, 0.12);
}

.direct-industry-development-note {
  border-left-color: var(--direct-gold);
}

.direct-industry-result {
  display: grid;
  gap: 8px;
}

.direct-industry-context,
.direct-industry-direction,
.direct-industry-details > div,
.direct-industry-research {
  padding: 10px 12px;
  border: 1px solid var(--direct-line);
  background: #fff;
}

.direct-industry-context,
.direct-industry-direction {
  display: grid;
  gap: 4px;
}

.direct-industry-context span,
.direct-industry-direction > span {
  color: #8a641d;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.direct-industry-context strong {
  font-size: 13px;
}

.direct-industry-direction {
  border-left: 3px solid var(--direct-gold);
  background: rgba(182, 140, 62, 0.07);
}

.direct-industry-direction h3,
.direct-industry-research h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
}

.direct-industry-direction p,
.direct-industry-research p {
  margin: 0;
  color: var(--direct-muted);
  font-size: 13px;
  line-height: 1.45;
}

.direct-industry-details {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.direct-industry-details dt {
  margin-bottom: 5px;
  color: var(--direct-ink);
  font-size: 11px;
  font-weight: 800;
}

.direct-industry-details dd {
  margin: 0;
  color: var(--direct-muted);
  font-size: 12px;
  line-height: 1.4;
}

.direct-industry-research {
  margin-top: 12px;
  background: rgba(41, 40, 38, 0.035);
}

.direct-industry-research[hidden] {
  display: none;
}

/* Insight dialog: Principles (fit check) + Industry (placeholder). */
.direct-insight-tabs {
  margin: 4px 0 12px;
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--direct-line);
}

.direct-insight-tabs button {
  padding: 8px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: var(--direct-muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.direct-insight-tabs button[aria-selected="true"] {
  color: var(--direct-ink);
  border-bottom-color: var(--direct-blue);
}

.direct-insight-tabs button:focus-visible {
  outline: 2px solid rgba(23, 111, 149, 0.5);
  outline-offset: -2px;
}

.direct-insight-panel[hidden] { display: none; }

.direct-insight-current,
.direct-insight-context {
  padding: 10px 12px;
  display: grid;
  gap: 3px;
  border: 1px solid var(--direct-line);
  background: #fff;
}

.direct-insight-context {
  margin-top: 8px;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label change" "value change";
  align-items: center;
}

.direct-insight-context > span { grid-area: label; }
.direct-insight-context > strong { grid-area: value; }
.direct-insight-context > button {
  grid-area: change;
  padding: 6px 10px;
  border: 1px solid var(--direct-line);
  border-radius: 4px;
  background: #fff;
  color: var(--direct-blue);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.direct-insight-current > span,
.direct-insight-context > span {
  color: var(--direct-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.direct-insight-current > strong,
.direct-insight-context > strong {
  font-size: 13px;
  line-height: 1.35;
}

.direct-insight-heading {
  margin: 14px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
}

.direct-insight-copy {
  margin: 4px 0 0;
  color: var(--direct-muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.direct-insight-details {
  margin-top: 12px;
}

.direct-insight-details summary {
  color: var(--direct-blue);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.direct-insight-notes {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.direct-insight-note {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--direct-line);
  border-left-width: 3px;
  background: #fff;
}

.direct-insight-note.is-consider { border-left-color: var(--direct-gold); background: rgba(182, 140, 62, 0.06); }
.direct-insight-note.is-fit { border-left-color: var(--direct-blue); background: rgba(33, 143, 201, 0.05); }
.direct-insight-note.is-advisory { border-left-color: rgba(41, 40, 38, 0.32); background: rgba(41, 40, 38, 0.03); }

.direct-insight-kind {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding-top: 2px;
}

.direct-insight-note.is-consider .direct-insight-kind { color: #8a641d; }
.direct-insight-note.is-fit .direct-insight-kind { color: var(--direct-blue); }
.direct-insight-note.is-advisory .direct-insight-kind { color: var(--direct-muted); }

.direct-insight-note p {
  margin: 0;
  color: var(--direct-ink);
  font-size: 13px;
  line-height: 1.45;
}

.direct-insight-note small {
  display: block;
  margin-top: 3px;
  color: var(--direct-muted);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
}

.direct-insight-apply {
  margin-top: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(23, 111, 149, 0.5);
  border-radius: 4px;
  background: #fff;
  color: #176f95;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.direct-insight-apply:hover,
.direct-insight-apply:focus-visible {
  outline: none;
  background: rgba(33, 143, 201, 0.09);
}

.direct-insight-grounding,
.direct-insight-empty {
  display: block;
  margin-top: 10px;
  color: var(--direct-muted);
  font-size: 10.5px;
  font-style: italic;
}

@media (max-width: 560px) {
  .direct-insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .direct-insight-note { grid-template-columns: 1fr; gap: 4px; }
}

.direct-wayfinder-preview {
  min-height: 104px;
  margin-top: 12px;
  padding: 15px 17px;
  border-top: 1px solid var(--direct-line);
  background: rgba(93, 132, 107, 0.08);
}

.direct-wayfinder-preview > span {
  color: var(--direct-green);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.direct-wayfinder-preview h3 {
  margin: 4px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 600;
}

.direct-wayfinder-preview p {
  margin: 0;
  color: var(--direct-muted);
  font-size: 13px;
  line-height: 1.45;
}

.direct-wayfinder-interview {
  min-height: 260px;
}

.direct-wayfinder-interview-progress {
  margin: 7px 0 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.direct-wayfinder-interview-progress span {
  height: 4px;
  border-radius: 2px;
  background: rgba(41, 40, 38, 0.14);
}

.direct-wayfinder-interview-progress span.is-resolved { background: var(--direct-blue); }
.direct-wayfinder-interview-progress span.is-current { box-shadow: 0 0 0 2px rgba(33, 143, 201, 0.18); }

.direct-wayfinder-answer-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.direct-wayfinder-answer-grid button {
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--direct-line);
  border-radius: 4px;
  color: var(--direct-ink);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.direct-wayfinder-answer-grid button:hover,
.direct-wayfinder-answer-grid button:focus-visible,
.direct-wayfinder-answer-grid button.is-selected {
  outline: none;
  border-color: rgba(23, 111, 149, 0.62);
  background: rgba(33, 143, 201, 0.09);
}

.direct-wayfinder-interview-review {
  margin-top: 11px !important;
  padding-top: 9px;
  border-top: 1px solid var(--direct-line);
  font-size: 11px !important;
}

.direct-wayfinder-interview-review strong {
  color: var(--direct-blue);
  font-weight: 800;
}

/* Mode question: two cards, each with a one-line description. */
.direct-wayfinder-answer-grid.is-mode-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.direct-wayfinder-answer-grid.is-mode-grid button {
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 4px;
  font-size: 15px;
}

.direct-wayfinder-answer-grid button.has-description small {
  color: var(--direct-muted);
  font-size: 11.5px;
  font-weight: 600;
}

/* Room question: 21 answers — tighter grid so it reads as one screen rather than a long scroll. */
.direct-wayfinder-answer-grid.is-room-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.direct-wayfinder-answer-grid.is-room-grid button {
  min-height: 36px;
  padding: 5px 6px;
  font-size: 11.5px;
  line-height: 1.15;
}

@media (max-width: 560px) {
  .direct-wayfinder-answer-grid.is-room-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .direct-wayfinder-answer-grid.is-mode-grid { grid-template-columns: 1fr; }
}

/* Advise path: options that fit the room or style carry a marker; nothing is hidden or preselected. */
.direct-wayfinder-answer-grid button.is-fit {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  border-color: rgba(23, 111, 149, 0.45);
}

.direct-wayfinder-fit {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(33, 143, 201, 0.12);
  color: var(--direct-blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: help;
}

.direct-wayfinder-fit.is-style {
  background: rgba(182, 140, 62, 0.14);
  color: #8a641d;
}

.direct-wayfinder-advice-note {
  margin: 8px 0 0 !important;
  color: var(--direct-muted);
  font-size: 11px !important;
}

/* Advise-path result: disclosure of who decided what. */
.direct-wayfinder-disclosure {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.direct-wayfinder-chose,
.direct-wayfinder-added {
  padding: 10px 12px;
  border: 1px solid var(--direct-line);
  background: #fff;
}

.direct-wayfinder-added {
  border-left: 3px solid var(--direct-blue);
  background: rgba(33, 143, 201, 0.05);
}

.direct-wayfinder-chose > span,
.direct-wayfinder-added > span {
  display: block;
  color: var(--direct-muted);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.direct-wayfinder-added > span { color: var(--direct-blue); }

.direct-wayfinder-chose ul,
.direct-wayfinder-added ul,
.direct-wayfinder-check ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.direct-wayfinder-chose li,
.direct-wayfinder-added li {
  display: grid;
  gap: 1px;
  font-size: 12.5px;
  line-height: 1.35;
}

.direct-wayfinder-chose li b,
.direct-wayfinder-added li b {
  color: var(--direct-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.direct-wayfinder-chose li.is-skipped span { color: var(--direct-muted); font-style: italic; }

.direct-wayfinder-added li small {
  color: var(--direct-ink);
  font-size: 11.5px;
  line-height: 1.4;
  opacity: 0.85;
}

.direct-wayfinder-added > small,
.direct-wayfinder-advice-empty {
  display: block;
  margin-top: 8px;
  color: var(--direct-muted);
  font-size: 10.5px;
  font-style: italic;
}

.direct-wayfinder-advice-empty { margin-top: 6px; font-size: 12px; }

.direct-wayfinder-check {
  margin-top: 8px;
}

.direct-wayfinder-check summary {
  color: var(--direct-blue);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.direct-wayfinder-check li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.4;
}

.direct-wayfinder-check li b {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding-top: 2px;
}

.direct-wayfinder-check li.is-consider b { color: #8a641d; }
.direct-wayfinder-check li.is-fit b { color: var(--direct-blue); }
.direct-wayfinder-check li.is-advisory b { color: var(--direct-muted); }

@media (max-width: 560px) {
  .direct-wayfinder-disclosure { grid-template-columns: 1fr; }
  .direct-wayfinder-check li { grid-template-columns: 1fr; gap: 2px; }
}

.direct-wayfinder-interview-actions button[data-wayfinder-interview-skip].is-selected {
  border-color: rgba(23, 111, 149, 0.62);
  background: rgba(33, 143, 201, 0.09);
}

.direct-wayfinder-interview-actions {
  margin-top: 15px;
  display: flex;
  gap: 8px;
}

.direct-wayfinder-interview-actions button {
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--direct-line);
  border-radius: 4px;
  color: var(--direct-ink);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.direct-wayfinder-interview-actions button[data-wayfinder-interview-next] {
  margin-left: auto;
  color: #fff;
  border-color: #176f95;
  background: #176f95;
}

@keyframes wayfinder-next-flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(23, 111, 149, 0); }
  50% { box-shadow: 0 0 0 5px rgba(23, 111, 149, 0.45); }
}

.direct-wayfinder-interview-actions button[data-wayfinder-interview-next].is-wayfinder-flash {
  animation: wayfinder-next-flash 0.4s ease-in-out 3;
}

.direct-wayfinder-interview-actions button[data-wayfinder-generate],
.direct-wayfinder-interview-actions button[data-wayfinder-photo],
.direct-wayfinder-interview-actions button.is-primary {
  color: #fff;
  border-color: #176f95;
  background: #176f95;
}

.direct-wayfinder-recap {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.direct-wayfinder-recap-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 9px 12px;
  border: 1px solid var(--direct-line);
  border-radius: 4px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.direct-wayfinder-recap-row:hover,
.direct-wayfinder-recap-row:focus-visible {
  outline: none;
  border-color: rgba(23, 111, 149, 0.55);
  background: rgba(33, 143, 201, 0.06);
}

.direct-wayfinder-recap-label {
  color: var(--direct-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.direct-wayfinder-recap-value {
  color: var(--direct-ink);
  font-size: 13px;
  font-weight: 700;
}

.direct-wayfinder-recap-edit {
  color: var(--direct-blue);
  font-size: 11px;
  font-weight: 800;
}

.direct-wayfinder-interview-actions button:disabled {
  opacity: 0.42;
  cursor: default;
}

.direct-wayfinder-result-options {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.direct-wayfinder-result-options div {
  padding: 10px;
  border: 1px solid var(--direct-line);
  background: #fff;
}

.direct-wayfinder-result-options div:first-child {
  border-color: rgba(23, 111, 149, 0.55);
  background: rgba(33, 143, 201, 0.08);
}

.direct-wayfinder-result-options strong,
.direct-wayfinder-result-options small { display: block; }
.direct-wayfinder-result-options small { margin-top: 3px; color: var(--direct-muted); }

.direct-firstlook-actions {
  justify-content: flex-end;
}

.direct-show-me-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  justify-items: stretch;
  align-items: start;
}

.direct-show-me-featured {
  width: min(620px, 100%);
  margin-inline: auto;
}

.direct-show-me-story.is-featured {
  min-height: 190px;
  grid-template-columns: minmax(0, 1.45fr) minmax(170px, 0.75fr);
  grid-template-rows: 190px;
  align-items: stretch;
}

.direct-show-me-story.is-featured img {
  height: 190px;
}

.direct-show-me-story.is-featured .direct-show-me-story-copy {
  display: grid;
  align-content: center;
}

.direct-show-me-story.is-featured strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}

.direct-show-me-more-toggle {
  min-height: 42px;
  margin: 18px auto 0;
  padding: 8px 16px;
  display: block;
  border: 1px solid var(--direct-line);
  border-radius: 4px;
  color: var(--direct-ink);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.direct-show-me-more-toggle:hover,
.direct-show-me-more-toggle:focus-visible {
  outline: 2px solid rgba(23, 111, 149, 0.35);
  outline-offset: 2px;
}

.direct-show-me-more {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--direct-line);
}

.direct-show-me-more > h3 {
  margin: 0 0 10px;
  color: var(--direct-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.direct-show-me-upload-heading {
  margin: 18px 0 10px;
  color: var(--direct-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.direct-show-me-story {
  width: 100%;
  justify-self: stretch;
  min-width: 0;
  min-height: 152px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 102px auto;
  border: 1px solid var(--direct-line);
  border-radius: 6px;
  color: var(--direct-ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.direct-show-me-story:hover,
.direct-show-me-story:focus-visible {
  outline: 2px solid rgba(23, 111, 149, 0.45);
  outline-offset: 1px;
}

.direct-show-me-story img {
  width: 100%;
  height: 102px;
  display: block;
  object-fit: cover;
  object-position: center bottom;
}

.direct-show-me-story img.is-align-center {
  object-position: center center;
}

.direct-show-me-story-copy { padding: 10px 11px 12px; }
.direct-show-me-story strong,
.direct-show-me-story small { display: block; }
.direct-show-me-story strong { font-size: 13px; }
.direct-show-me-story small { margin-top: 3px; color: var(--direct-muted); font-size: 11px; }

.direct-show-me-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: clamp(12px, 2vw, 20px);
  align-items: start;
}

.direct-show-me-preview-copy {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.direct-show-me-preview-copy .direct-show-me-more-toggle {
  margin-top: 18px;
  margin-inline: 0;
  align-self: flex-start;
}

.direct-show-me-example {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: #d8ddd7;
}

.direct-show-me-example > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.direct-show-me-example figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 14px 12px;
  color: #fff;
  background: linear-gradient(transparent, rgba(18, 26, 22, 0.84));
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
}

.direct-show-me-source {
  margin-top: 10px;
  padding: 8px;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 9px;
  align-items: center;
  border-left: 3px solid #176f95;
  background: #f1efe8;
}

.direct-show-me-source img { width: 66px; height: 52px; display: block; object-fit: cover; }
.direct-show-me-source strong,
.direct-show-me-source small { display: block; }
.direct-show-me-source small { margin-top: 2px; color: var(--direct-muted); }

.direct-show-me-step-list { display: grid; gap: 7px; }

.direct-show-me-step {
  padding: 10px 11px;
  border-left: 3px solid #d7d2c7;
  color: var(--direct-muted);
  background: #f5f3ed;
  font-size: 12px;
  line-height: 1.35;
}

.direct-show-me-step.is-applied { border-left-color: #176f95; color: var(--direct-ink); }
.direct-show-me-step.is-current { outline: 2px solid rgba(23, 111, 149, 0.18); font-weight: 700; }

.direct-show-me-progress {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(var(--show-me-step-count, 3), 1fr);
  gap: 5px;
}

.direct-show-me-progress span { height: 5px; background: #d7d2c7; }
.direct-show-me-progress span.is-applied { background: #176f95; }

.direct-show-me-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.direct-show-me-actions:empty {
  display: none;
}

.direct-show-me-focused-actions {
  margin-bottom: 4px;
}

.direct-show-me-actions button {
  min-height: 32px;
  padding: 4px 13px;
  border: 1px solid var(--direct-line);
  border-radius: 5px;
  color: var(--direct-ink);
  background: #fff;
  cursor: pointer;
}

.direct-show-me-actions .is-primary { color: #fff; border-color: #315b41; background: var(--direct-green); }
.direct-show-me-actions button:disabled { opacity: 0.5; cursor: default; }

.direct-show-me-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--direct-muted);
  font-size: 11px;
}

.direct-drawer {
  box-sizing: border-box;
  position: relative;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 16px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 9px;
  overflow: hidden;
  color: var(--direct-ink);
  color-scheme: light;
  background: #fbfaf6;
  border-radius: 8px;
  box-shadow: -18px 0 45px rgba(30, 28, 25, 0.24);
}

.direct-drawer *,
.direct-drawer *::before,
.direct-drawer *::after {
  box-sizing: border-box;
}

.direct-drawer [hidden] {
  display: none !important;
}

.direct-drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  padding-right: 42px;
}

.direct-drawer-header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: 1;
}

.direct-drawer-kicker {
  color: var(--direct-muted);
  font-size: 10px;
  text-transform: uppercase;
}

.direct-drawer-tip {
  margin: 4px 0 0;
  color: var(--direct-muted);
  font-size: 12px;
  line-height: 1.35;
}

.direct-drawer-tip[hidden] {
  display: none;
}

.direct-close-drawer {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--direct-line);
  border-radius: 6px;
  background: #fff;
  color: var(--direct-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.direct-close-drawer:hover,
.direct-close-drawer:focus-visible {
  border-color: rgba(23, 111, 149, 0.58);
  background: rgba(33, 143, 201, 0.07);
}

.direct-search-wrap input,
.direct-custom-entry input {
  width: 100%;
  min-height: 38px;
  padding: 6px 9px;
  border: 1px solid var(--direct-line);
  border-radius: 5px;
  background: #fff;
}

.direct-choice-list {
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.direct-choice-item {
  width: 100%;
  min-height: 40px;
  padding: 7px 7px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid var(--direct-line);
  background: transparent;
  color: var(--direct-ink);
  text-align: left;
  cursor: pointer;
}

.direct-choice-item .choice-mark {
  opacity: 0;
}

.direct-choice-item.is-selected .choice-mark {
  opacity: 1;
}

.direct-choice-item.is-show-me-marked {
  position: relative;
}

.direct-choice-item.is-show-me-marked::after {
  content: "";
  position: absolute;
  inset: 2px 5px;
  border: 3px solid #e33228;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.82);
  transform: rotate(-0.7deg);
  pointer-events: none;
  animation: direct-choice-circle-draw 1.15s cubic-bezier(0.3, 0.7, 0.3, 1) both;
}

.reference-influence-row.is-show-me-marked {
  position: relative;
  isolation: isolate;
}

.reference-influence-row.is-show-me-marked::after {
  content: "";
  position: absolute;
  inset: -9px -12px;
  z-index: 2;
  border: 3px solid #e33228;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.82);
  transform: rotate(-0.7deg);
  pointer-events: none;
  animation: direct-choice-circle-draw 1.8s cubic-bezier(0.3, 0.7, 0.3, 1) both;
}

.reference-interpretation-control label.is-show-me-marked {
  position: relative;
  z-index: 2;
}

.reference-interpretation-control label.is-show-me-marked::after {
  content: "";
  position: absolute;
  inset: -50%;
  border: 3px solid #e33228;
  border-radius: 50%;
  transform: rotate(-1.2deg);
  pointer-events: none;
  animation: direct-choice-circle-draw 1.8s cubic-bezier(0.3, 0.7, 0.3, 1) both;
}

/* Let the enlarged Show Me circle spill past the strip instead of being clipped. */
body.direct-show-me-open .reference-interpretation-control { overflow: visible; }

@keyframes direct-choice-circle-draw {
  0% { clip-path: polygon(50% 50%, 50% 0, 50% 0); }
  25% { clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 50%); }
  50% { clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 50% 100%); }
  75% { clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 50%); }
  100% { clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 0); }
}

.direct-choice-group {
  padding: 9px 7px 3px;
  color: var(--direct-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.direct-finish-editor {
  display: grid;
  gap: 8px;
  align-content: center;
}

.direct-finish-editor output {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  text-align: center;
}

.direct-custom-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

.direct-drawer-footer {
  display: flex;
  justify-content: space-between;
  gap: 7px;
}

.direct-drawer-footer button,
.direct-custom-entry button {
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--direct-line);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.direct-drawer-footer .done-button {
  color: #fff;
  background: var(--direct-ink);
}

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

  .direct-concepts #imageWrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
  }

  .direct-concepts #muralImage {
    grid-column: 1;
    grid-row: 2;
  }

  .direct-concepts #muralPaletteStrip { grid-column: 1; grid-row: 1; }
  .direct-concepts #conceptRoomBtnRow {
    grid-column: 1;
    grid-row: 3;
  }
  .direct-concepts #conceptRoomBtnRow > .mural-tone-row { order: -1; }
  .direct-concepts #conceptRoomBtnRow > .mural-tone-row:has(#muralWashSlider) { margin-bottom: 3px; }

  .direct-concepts #imageWrapper.has-image .mural-watermark {
    position: static;
    grid-column: 1;
    grid-row: 2;
    place-self: center;
    max-width: calc(100% - 24px);
    transform: none;
  }
}

@media (max-width: 820px) {
  .direct-study-layout {
    grid-template-columns: 1fr;
  }

  .direct-inspiration #referenceReimagineBody {
    grid-template-columns: 1fr;
  }

  .direct-inspiration-tools {
    grid-column: 1;
  }

  .direct-v2 .direct-session-panel {
    border-top: 1px solid var(--direct-line);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .direct-context-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 3px 8px;
  }

  .direct-scenery-mount {
    grid-column: 1;
    grid-row: 1;
  }

  .direct-menu-mount {
    grid-column: 3;
    grid-row: 1;
  }

  .direct-stage-mount {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .direct-sticky-shell .stage-chip {
    padding-inline: 1px;
    gap: 4px;
    font-size: 8.5px;
  }

  .direct-sticky-shell .stage-chip .stage-label-full {
    display: none;
  }

  .direct-color-modal-mount {
    padding-inline: 8px;
  }

  .direct-color-modal-mount .direct-palette-tuning fieldset {
    padding: 4px;
  }

  .direct-color-modal-mount .direct-palette-tuning legend {
    max-width: 100%;
    font-size: 7px;
    line-height: 1.1;
    white-space: normal;
  }

  .direct-color-modal-mount .direct-palette-stack-pair {
    gap: 2px;
  }

  .direct-color-modal-mount .direct-palette-thumb-stack {
    width: calc((100% - 2px) / 2);
  }

  .direct-color-modal-mount .direct-palette-thumb-stack button {
    width: 100%;
  }

  .direct-color-modal-mount .direct-palette-selected-swatch {
    width: min(54px, 100%);
    height: 72px;
  }

  .direct-color-modal-mount .direct-palette-choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .direct-color-modal-mount .direct-palette-tuning label {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px;
    font-size: 8px;
  }

  .direct-sticky-shell .stage-chip .stage-label-short {
    display: inline;
  }

  .direct-show-me-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .direct-show-me-preview { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .direct-wayfinder-routes {
    grid-template-columns: 1fr;
  }

  .direct-industry-details {
    grid-template-columns: 1fr;
  }

  .direct-wayfinder-answer-grid,
  .direct-wayfinder-result-options {
    grid-template-columns: 1fr;
  }

  .direct-wayfinder-routes button {
    min-height: 0;
  }

  .direct-show-me-story.is-featured {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 150px auto;
  }

  .direct-show-me-story.is-featured img {
    height: 150px;
  }

  .direct-surface-tabs {
    width: calc(100% - 12px);
    justify-content: center;
  }

  .direct-surface-tabs .direct-dock-tab {
    min-width: 64px;
    padding-inline: 8px 20px;
    font-size: 10px;
  }

  .direct-surface-tabs .direct-dock-tab::after {
    right: 7px;
  }

  .direct-surface-tabs [data-direct-surface="build"] {
    min-width: 56px;
  }

  .direct-surface-tabs [data-direct-surface="concepts"] {
    min-width: 68px;
  }

  .direct-surface-tabs [data-direct-dock="clients"] {
    min-width: 64px;
  }

  .direct-client-mount .cpc-bar {
    width: calc(100% - 24px);
    padding: 7px;
  }

  .direct-client-mount .cpc-actions-row {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .direct-client-mount .cpc-actions-row > button {
    min-width: 0;
    padding-inline: 4px;
    font-size: 9px;
  }
}

@media (max-width: 560px) {
  .direct-v2 {
    width: calc(100% - 16px);
    margin-top: 42px;
  }

  .direct-gallery {
    width: calc(100% - 16px);
    margin-top: 42px;
  }

  .direct-v2 .wedge-value {
    display: block;
    font-size: clamp(6.5px, 1.85vw, 7.5px);
    line-height: 1;
  }

  .direct-v2 .wedge-name {
    font-size: clamp(8px, 2.3vw, 9px);
  }

  .direct-v2 .wedge-copy {
    gap: 1px;
  }

  .direct-v2 .direct-action-label text { font-size: 4.2px; }
  .direct-v2 .direct-show-me-label text { font-size: 4.5px; }
  .direct-v2 .direct-action-band::before,
  .direct-v2 #generateMuralBtn::before {
    background: radial-gradient(circle closest-side, transparent 0 80.2%, rgba(255, 255, 255, 0.22) 80.7% 81.3%, rgba(var(--direct-action-edge-rgb), 0.48) 81.7% 82.7%, transparent 83.5%);
  }
  .direct-v2 .direct-show-me-guide {
    padding: 10% 8% 8%;
    gap: 3px;
  }
  .direct-show-me-guide-progress { gap: 2px; }
  .direct-show-me-guide-progress span { height: 3px; }
  .direct-show-me-guide-kicker { font-size: 7px; }
  .direct-show-me-guide-label { font-size: 14px; }
  .direct-show-me-guide-value { font-size: 9px; }
  .direct-show-me-guide-status { display: none; }
  .direct-show-me-guide-actions { gap: 0; }
  .direct-show-me-guide-actions.is-complete { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .direct-show-me-guide-actions button {
    min-height: 38px;
    padding: 3px 2px;
    font-size: 8px;
  }
  .direct-show-me-backdrop {
    padding: 6px 0 max(env(safe-area-inset-bottom, 0px), 48px);
    place-items: end stretch;
  }
  .direct-show-me-dialog {
    height: auto;
    max-height: calc(100dvh - max(env(safe-area-inset-bottom, 0px), 48px) - 6px);
    padding: 12px 14px 10px;
    border-radius: 8px 8px 0 0;
  }
  .direct-show-me-header { gap: 10px; }
  .direct-show-me-header h2 { margin-top: 0; font-size: 28px; line-height: 1; }
  .direct-show-me-header span { font-size: 9px; }
  .direct-show-me-close { width: 34px; height: 34px; font-size: 22px; }
  .direct-show-me-summary { margin: 4px 0 10px; font-size: 13px; line-height: 1.35; }
  .direct-show-me-story-grid { grid-template-columns: 1fr; }
  .direct-show-me-preview { gap: 9px; }
  .direct-show-me-example { aspect-ratio: 2 / 1; }
  .direct-show-me-example figcaption { padding: 22px 10px 8px; font-size: 19px; }
  .direct-show-me-preview-copy h3 { margin: 0 0 3px; font-size: 21px; line-height: 1.05; }
  .direct-show-me-preview-copy > p { margin: 0; font-size: 12px; line-height: 1.35; }
  .direct-show-me-preview-copy .direct-show-me-more-toggle {
    min-height: 36px;
    margin-top: 8px;
    padding: 6px 12px;
  }
  .direct-show-me-status { min-height: 0; margin-top: 5px; }
  .direct-show-me-actions { margin-top: 10px; gap: 6px; }
  .direct-show-me-actions button { min-height: 38px; padding: 7px 12px; }
  .direct-show-me-story { min-height: 110px; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: 110px; }
  .direct-show-me-story img { height: 110px; }
  .direct-show-me-story-copy { align-self: center; }

  .direct-drawer-backdrop {
    align-items: end;
    justify-items: stretch;
    padding: 0 0 max(env(safe-area-inset-bottom, 0px), 48px);
  }

  .direct-drawer-backdrop.is-show-me-guided .direct-drawer {
    height: min(46vh, 420px);
  }

  .direct-drawer {
    width: 100%;
    height: min(calc(100dvh - max(env(safe-area-inset-bottom, 0px), 48px)), 720px);
    max-height: none;
    padding: 12px 14px 10px;
    gap: 7px;
    border-radius: 8px 8px 0 0;
  }
}
