/* ==========================================================================
   DYGON AI Official Website V1.0 — 小袋 Agent Authentic Product Showcases
   Faithful Obsidian Optical UI surfaces (sanitized demo workspace data only)
   ========================================================================== */

/* Shared Desktop Window Chrome */
.app-window {
  position: relative;
  border-radius: var(--r-lg);
  background: #0b0d13;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

.app-window::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.24) 30%, rgba(155, 179, 252, 0.42) 50%, rgba(255, 255, 255, 0.22) 70%, transparent 100%);
  pointer-events: none;
  z-index: 4;
}

.win-titlebar {
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0e1118;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.win-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

.win-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.win-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 560;
  color: var(--ink-2);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-title strong {
  color: var(--ink-1);
  font-weight: 620;
}

.win-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(125, 153, 242, 0.11);
  border: 1px solid rgba(125, 153, 242, 0.24);
  color: var(--cobalt-bright);
  flex: none;
}

.win-tag.is-ok {
  background: var(--ok-bg);
  border-color: var(--ok-line);
  color: var(--ok-ink);
}

.win-tag.is-muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-base);
  color: var(--ink-3);
}

/* Segmented Tabs inside Product Windows */
.win-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.win-tab {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 540;
  color: var(--ink-3);
  transition: background var(--ease-ui), color var(--ease-ui);
  white-space: nowrap;
}

.win-tab:hover {
  color: var(--ink-1);
}

.win-tab.is-active,
.win-tab[aria-selected="true"] {
  background: #1d2333;
  color: var(--ink-1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* ---------- HERO WORKBENCH SHOWCASE ---------- */
.hero-workbench {
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  min-height: 510px;
  background: #0b0d13;
}

.wb-sidebar {
  background: #0e1118;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wb-ws-pill {
  padding: 10px 11px;
  border-radius: 9px;
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.wb-ws-label {
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}

.wb-ws-name {
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wb-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wb-nav-item {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 520;
  color: var(--ink-3);
  transition: background var(--ease-ui), color var(--ease-ui);
}

.wb-nav-item svg {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: 0.8;
}

.wb-nav-item:hover {
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.04);
}

.wb-nav-item.is-active {
  color: var(--ink-1);
  background: rgba(125, 153, 242, 0.14);
  border: 1px solid rgba(125, 153, 242, 0.28);
}

.wb-sidebar-foot {
  margin-top: auto;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-faint);
  font-size: 11px;
  color: var(--ink-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wb-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok-ink);
  font-weight: 550;
}

.wb-status-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok-ink);
  box-shadow: 0 0 8px rgba(99, 215, 160, 0.7);
}

.wb-main {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: radial-gradient(ellipse 64% 48% at 85% 0%, rgba(125, 153, 242, 0.07) 0%, transparent 65%), #0c0f16;
}

.wb-pane[hidden] {
  display: none !important;
}

/* Hero Pane 1: Smart Director Studio */
.hero-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(220px, 0.72fr);
  gap: 16px;
  align-items: stretch;
}

.studio-panel {
  border-radius: 11px;
  background: #121621;
  border: 1px solid rgba(255, 255, 255, 0.075);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.panel-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.panel-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}

.prompt-strip {
  padding: 11px 13px;
  border-radius: 8px;
  background: #0d1018;
  border: 1px solid rgba(125, 153, 242, 0.24);
  font-size: 12.5px;
  color: var(--ink-1);
  line-height: 1.55;
}

.prompt-strip .label {
  display: block;
  font-size: 10.5px;
  color: var(--cobalt-bright);
  margin-bottom: 4px;
  font-family: var(--font-mono);
}

.agent-trace-mini {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.trace-line {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 11.5px;
}

.trace-fn {
  font-family: var(--font-mono);
  color: var(--cobalt-bright);
  font-size: 11px;
}

.trace-desc {
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trace-ok {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ok-ink);
}

/* Studio Preview Frame (9:16 Vertical E-Commerce Video Preview) */
.phone-preview-card {
  border-radius: 11px;
  background: #10141f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.vertical-stage {
  position: relative;
  aspect-ratio: 9 / 14;
  width: 100%;
  border-radius: 9px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(155, 179, 252, 0.24) 0%, rgba(149, 136, 245, 0.09) 42%, rgba(8, 10, 16, 0.96) 78%),
    linear-gradient(165deg, #161d30 0%, #090c14 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
}

/* Bespoke studio serum silhouette plate (100% sanitized, zero unauthorized footage) */
.studio-plate-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stage-top-hud {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(243, 245, 250, 0.85);
}

.hud-pill {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(6, 8, 13, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.stage-callout {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 7px;
  background: rgba(125, 153, 242, 0.18);
  border: 1px solid rgba(155, 179, 252, 0.48);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 620;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.stage-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(6, 8, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 560;
  color: var(--ink-1);
}

/* Multi-track Mini Timeline */
.timeline-bar {
  border-radius: 10px;
  background: #10141f;
  border: 1px solid rgba(255, 255, 255, 0.075);
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
}

.tl-ruler {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-4);
  padding-left: 78px;
  margin-bottom: 8px;
}

.tl-tracks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.tl-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.tl-label {
  font-size: 10.5px;
  color: var(--ink-3);
  white-space: nowrap;
}

.tl-lane {
  height: 22px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  gap: 4px;
  padding: 2px;
  position: relative;
  overflow: hidden;
}

.tl-clip {
  height: 100%;
  border-radius: 4px;
  padding: 0 7px;
  display: flex;
  align-items: center;
  font-size: 10px;
  font-weight: 540;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tl-clip.is-video {
  background: rgba(125, 153, 242, 0.22);
  border: 1px solid rgba(125, 153, 242, 0.36);
  color: #dbe4ff;
}

.tl-clip.is-protected {
  background: rgba(149, 136, 245, 0.22);
  border: 1px solid rgba(149, 136, 245, 0.42);
  color: #e4dfff;
}

.tl-clip.is-voice {
  background: rgba(99, 215, 160, 0.16);
  border: 1px solid rgba(99, 215, 160, 0.34);
  color: #c5f6de;
}

.tl-clip.is-callout {
  background: rgba(240, 188, 107, 0.16);
  border: 1px solid rgba(240, 188, 107, 0.34);
  color: #fbe1b2;
}

.tl-playhead {
  position: absolute;
  top: 24px;
  bottom: 8px;
  left: 38%;
  width: 1.5px;
  background: var(--cobalt-bright);
  box-shadow: 0 0 10px rgba(155, 179, 252, 0.9);
  pointer-events: none;
  animation: playheadGlide 10s ease-in-out infinite alternate;
}

.tl-playhead::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cobalt-bright);
  transform: rotate(45deg);
}

@keyframes playheadGlide {
  0% { left: 16%; }
  100% { left: 82%; }
}

/* Floating Glass Detail Cards (Hero Layering) */
.hero-float-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.float-glass-pill {
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--glass-float);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-base);
  box-shadow: var(--shadow-sm), var(--specular-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

.float-glass-pill strong {
  color: var(--ink-1);
  font-weight: 600;
}

.float-glass-pill span {
  color: var(--ink-3);
}

/* ---------- MODULE 01: ASSET LIBRARY & SHOT UNDERSTANDING ---------- */
.asset-win-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #0c0f16;
}

.asset-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

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

.asset-card {
  border-radius: 10px;
  background: #131723;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color var(--ease-ui), transform var(--ease-ui);
}

.asset-card:hover {
  border-color: var(--line-accent);
  transform: translateY(-2px);
}

.asset-thumb {
  height: 98px;
  position: relative;
  padding: 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #192136 0%, #0d111b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.asset-thumb.is-talent-raw {
  background: radial-gradient(circle at 72% 28%, rgba(125, 153, 242, 0.25), transparent 62%), linear-gradient(145deg, #171f33 0%, #0c1019 100%);
}

.asset-thumb.is-talent-edited {
  background: radial-gradient(circle at 30% 25%, rgba(149, 136, 245, 0.28), transparent 62%), linear-gradient(145deg, #1b1933 0%, #0d1019 100%);
}

.asset-thumb.is-broll {
  background: radial-gradient(circle at 55% 40%, rgba(99, 215, 160, 0.2), transparent 62%), linear-gradient(145deg, #132229 0%, #0b1017 100%);
}

.thumb-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.mini-badge {
  font-size: 10px;
  font-weight: 560;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(6, 8, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink-1);
}

.thumb-dur {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-2);
}

.thumb-wave {
  height: 18px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  opacity: 0.72;
}

.thumb-wave i {
  display: block;
  flex: 1;
  border-radius: 2px;
  background: linear-gradient(180deg, #9bb3fc 0%, rgba(125, 153, 242, 0.25) 100%);
}

.asset-meta {
  padding: 10px 11px 12px;
}

.asset-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: 5px;
}

.asset-transcript {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sem-tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-2);
}

.asset-footer-bar {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--ink-3);
}

/* ---------- MODULE 02: DIRECTOR INTERACTIVE TRACE CONSOLE ---------- */
.director-console {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: #0c0f16;
}

.director-steps {
  border-right: 1px solid rgba(255, 255, 255, 0.075);
  background: #0e1119;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.d-step-btn {
  width: 100%;
  text-align: left;
  padding: 12px 13px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background var(--ease-ui), border-color var(--ease-ui);
}

.d-step-btn:hover {
  background: rgba(255, 255, 255, 0.035);
}

.d-step-btn.is-active {
  background: rgba(125, 153, 242, 0.12);
  border-color: rgba(125, 153, 242, 0.34);
}

.d-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cobalt-bright);
}

.d-step-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-1);
}

.d-step-sub {
  font-size: 11.5px;
  color: var(--ink-3);
}

.director-stage {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.director-inspector {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 14px;
}

.code-card {
  border-radius: 10px;
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.code-block {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.62;
  color: #c8d3ec;
  white-space: pre-wrap;
  word-break: break-word;
}

.code-block .k { color: #8aa5fb; }
.code-block .s { color: #8ae0b8; }
.code-block .n { color: #f0bc6b; }

.decision-card {
  border-radius: 10px;
  background: #121622;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.decision-card h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-1);
}

.decision-card p {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-2);
}

.check-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.check-pill {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--ok-bg);
  border: 1px solid var(--ok-line);
  color: var(--ok-ink);
}

/* ---------- MODULE 03: AI CREATION & MIXING STUDIO ---------- */
.creation-body {
  padding: 18px;
  background: #0c0f16;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mode-banner {
  padding: 13px 15px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(125, 153, 242, 0.12) 0%, rgba(18, 22, 33, 0.92) 72%);
  border: 1px solid rgba(125, 153, 242, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mode-banner h4 {
  font-size: 13.5px;
  font-weight: 620;
  color: var(--ink-1);
}

.mode-banner p {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 3px;
}

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

.craft-box {
  padding: 13px 14px;
  border-radius: 10px;
  background: #121622;
  border: 1px solid rgba(255, 255, 255, 0.075);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.craft-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-1);
}

.craft-box-head span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--cobalt-bright);
}

.caption-demo {
  padding: 10px 12px;
  border-radius: 8px;
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
  color: var(--ink-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.caption-highlight {
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(240, 188, 107, 0.16);
  border: 1px solid rgba(240, 188, 107, 0.36);
  color: #fde3b4;
  font-weight: 620;
}

.rms-meter {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
  padding: 6px 8px;
  border-radius: 7px;
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rms-bar {
  flex: 1;
  border-radius: 2px;
  background: rgba(125, 153, 242, 0.58);
}

.rms-bar.is-ducked {
  background: rgba(240, 188, 107, 0.78);
}

.deliver-strip {
  padding: 12px 14px;
  border-radius: 9px;
  background: #10141f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.deliver-files {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.file-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink-1);
}

/* ---------- MODULE 04: CONTENT INTELLIGENT REVIEW V2.0 ---------- */
.review-body {
  padding: 18px;
  background: #0c0f16;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 16px;
}

.review-frame-panel {
  border-radius: 10px;
  background: #121622;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.evidence-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 60% 36%, rgba(125, 153, 242, 0.2), transparent 60%),
    linear-gradient(160deg, #171e30 0%, #090c14 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.evidence-box-overlay {
  align-self: center;
  padding: 8px 14px;
  border-radius: 7px;
  border: 1.5px dashed var(--err-ink);
  background: rgba(240, 104, 98, 0.14);
  color: #ffd7d4;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.evidence-box-overlay.is-warn {
  border-color: var(--warn-ink);
  background: rgba(232, 169, 76, 0.14);
  color: #fce2b6;
}

.evidence-box-overlay.is-info {
  border-color: var(--cobalt-bright);
  background: rgba(125, 153, 242, 0.16);
  color: #dce5ff;
}

.evidence-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-2);
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(6, 8, 13, 0.72);
}

.review-risk-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.risk-card {
  width: 100%;
  text-align: left;
  padding: 13px 14px;
  border-radius: 10px;
  background: #121622;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color var(--ease-ui), background var(--ease-ui);
}

.risk-card:hover,
.risk-card.is-active {
  background: #171d2c;
  border-color: var(--line-accent);
}

.risk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.risk-pill {
  font-size: 10.5px;
  font-weight: 620;
  padding: 2px 8px;
  border-radius: 4px;
}

.risk-pill.is-high {
  background: var(--err-bg);
  border: 1px solid var(--err-line);
  color: var(--err-ink);
}

.risk-pill.is-med {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  color: var(--warn-ink);
}

.risk-pill.is-check {
  background: var(--cobalt-soft);
  border: 1px solid var(--line-accent);
  color: var(--cobalt-bright);
}

.risk-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-1);
}

.risk-desc {
  font-size: 12px;
  line-height: 1.56;
  color: var(--ink-3);
}

.risk-keep {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ok-bg);
  border: 1px solid var(--ok-line);
  font-size: 12px;
  color: #c8f3de;
}

/* ---------- Responsive Product Window Rules ---------- */
@media (max-width: 960px) {
  .hero-workbench {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .wb-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 14px;
  }

  .wb-nav-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .wb-nav-item {
    width: auto;
    padding: 7px 10px;
  }

  .wb-sidebar-foot {
    display: none;
  }

  .director-console,
  .director-inspector,
  .review-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .director-steps {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    flex-direction: row;
    overflow-x: auto;
  }

  .d-step-btn {
    min-width: 185px;
  }
}

@media (max-width: 720px) {
  .hero-studio-grid,
  .asset-cards,
  .creation-grid,
  .hero-float-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .vertical-stage {
    aspect-ratio: 16 / 10;
  }

  .win-titlebar {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 12px;
  }

  .trace-line {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .tl-ruler {
    padding-left: 0;
  }

  .tl-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }
}
