/* Iuris marketing demo — mirrors /iuris app shell (iuris-theme.css) */

.iuris-anim-demo {
  --idemo-bg: #04080f;
  --idemo-bg-raised: #06101d;
  --idemo-surface: #0d1829;
  --idemo-border: rgba(255, 255, 255, 0.1);
  --idemo-border-subtle: rgba(255, 255, 255, 0.06);
  --idemo-text: #ffffff;
  --idemo-text-muted: rgba(255, 255, 255, 0.52);
  --idemo-text-faint: rgba(255, 255, 255, 0.38);
  --idemo-accent: #00aeef;
  --idemo-accent-light: #8dd8ff;
  --idemo-radius: 8px;
  --idemo-radius-lg: 12px;

  border-radius: var(--idemo-radius-lg);
  border: 1px solid var(--idemo-border);
  background: var(--idemo-bg);
  overflow: hidden;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.42);
  text-align: left;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--idemo-text);
}

.iuris-anim-demo--fullscreen {
  width: 100%;
  height: 100%;
  min-height: min(620px, 74vh);
  max-height: min(84vh, 860px);
  display: flex;
  flex-direction: column;
  border-radius: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 174, 239, 0.06) inset,
    0 0 80px rgba(0, 174, 239, 0.08);
}

.iuris-anim-demo--app {
  min-height: 0;
}

/* ── App shell ── */
.idemo-shell {
  display: flex;
  min-height: 100%;
  height: 100%;
}

.idemo-sidebar {
  width: 148px;
  flex-shrink: 0;
  background: var(--idemo-bg);
  border-right: 1px solid var(--idemo-border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.idemo-sidebar-brand {
  padding: 2px 6px 14px;
}

.idemo-sidebar-home {
  display: block;
  font-size: 10px;
  color: var(--idemo-text-faint);
  margin-bottom: 1px;
}

.idemo-sidebar-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--idemo-accent);
  letter-spacing: -0.02em;
}

.idemo-nav-group {
  padding: 6px 0;
}

.idemo-nav-label {
  display: block;
  padding: 0 6px 4px;
  font-size: 9px;
  font-weight: 500;
  color: var(--idemo-text-faint);
}

.idemo-nav-item {
  display: block;
  padding: 5px 6px;
  margin-bottom: 1px;
  border-radius: var(--idemo-radius);
  font-size: 11px;
  font-weight: 500;
  color: var(--idemo-text-muted);
}

.idemo-nav-item.is-active {
  background: rgba(0, 174, 239, 0.1);
  color: var(--idemo-text);
}

.idemo-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--idemo-bg-raised);
  overflow: hidden;
}

.idemo-page-header {
  padding: clamp(14px, 2vw, 20px) clamp(14px, 2vw, 20px) 0;
  flex-shrink: 0;
}

.idemo-step-track {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.idemo-step {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--idemo-text-faint);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.idemo-step.is-active {
  color: var(--idemo-accent-light);
  border-color: rgba(0, 174, 239, 0.45);
  background: rgba(0, 174, 239, 0.12);
}

.idemo-step.is-done {
  color: rgba(141, 216, 255, 0.65);
  border-color: rgba(0, 174, 239, 0.2);
}

.idemo-page-title {
  margin: 0 0 3px;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--idemo-text);
}

.idemo-page-desc {
  margin: 0;
  font-size: clamp(11px, 1.1vw, 13px);
  color: var(--idemo-text-muted);
  line-height: 1.45;
  max-width: 36ch;
}

.idemo-content {
  flex: 1;
  min-height: 0;
  padding: clamp(10px, 1.5vw, 14px) clamp(14px, 2vw, 20px) clamp(14px, 2vw, 18px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  overflow: hidden;
}

.idemo-content--split {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
}

.idemo-stage[hidden] {
  display: none !important;
}

.idemo-stage--evaluate {
  display: contents;
}

.idemo-stage--harvest.is-active,
.idemo-stage--lineage.is-active {
  display: block;
  min-width: 0;
}

.idemo-stage--evaluate:not(.is-active) {
  display: none !important;
}

.idemo-stage--evaluate.is-active {
  display: contents;
}

/* ── Harvest scanner (matches /iuris Harvest panel) ── */
.idemo-harvest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: 10px;
  min-height: 0;
  height: 100%;
}

.idemo-harvest-grid--3col {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr) minmax(0, 0.65fr);
}

.idemo-harvest-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.idemo-harvest-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--idemo-border-subtle);
  border-radius: var(--idemo-radius);
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.idemo-harvest-card-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--idemo-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}

.idemo-harvest-type-scroll {
  max-height: 118px;
  overflow-y: auto;
  padding-right: 2px;
}

.idemo-harvest-type-group {
  margin-bottom: 8px;
}

.idemo-harvest-type-group:last-child {
  margin-bottom: 0;
}

.idemo-harvest-type-group-label {
  display: block;
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.32);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.idemo-harvest-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.idemo-harvest-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 2px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.idemo-harvest-type.is-active {
  background: rgba(0, 174, 239, 0.12);
  border-color: var(--idemo-accent);
  box-shadow: 0 0 0 1px rgba(0, 174, 239, 0.2);
}

.idemo-harvest-type-icon {
  font-size: 13px;
  line-height: 1;
}

.idemo-harvest-type-label {
  margin-top: 2px;
  font-size: 8px;
  color: var(--idemo-text-faint);
  text-align: center;
  line-height: 1.15;
}

.idemo-harvest-type.is-active .idemo-harvest-type-label {
  color: var(--idemo-accent-light);
}

.idemo-harvest-field-label {
  display: block;
  margin: 8px 0 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--idemo-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.idemo-harvest-input {
  min-height: 32px;
  padding: 6px 9px;
  border-radius: 4px;
  border: 1px solid var(--idemo-border);
  background: var(--idemo-bg-raised);
  font-size: 11px;
  color: var(--idemo-text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  word-break: break-all;
}

.idemo-harvest-input.is-typing {
  border-color: rgba(0, 174, 239, 0.45);
}

.idemo-harvest-input--static {
  color: var(--idemo-text-muted);
}

.idemo-harvest-input--empty {
  min-height: 28px;
  opacity: 0.45;
}

.idemo-harvest-input-ph {
  color: var(--idemo-text-faint);
  font-size: 11px;
}

.idemo-harvest-input-ph[hidden] {
  display: none !important;
}

.idemo-harvest-input-text {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  color: var(--idemo-text);
  line-height: 1.35;
}

.idemo-harvest-input-cursor {
  display: inline-block;
  width: 2px;
  height: 12px;
  margin-left: 1px;
  background: var(--idemo-accent);
  animation: idemo-cursor 0.9s step-end infinite;
}

.idemo-harvest-input-cursor[hidden] {
  display: none !important;
}

.idemo-harvest-examples {
  display: inline-block;
  margin: 5px 0 0;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 10px;
  color: var(--idemo-accent);
  cursor: default;
}

.idemo-harvest-examples.is-open {
  color: var(--idemo-accent-light);
}

.idemo-harvest-preset-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  max-height: 120px;
  overflow-y: auto;
}

.idemo-harvest-preset-list[hidden] {
  display: none !important;
}

.idemo-harvest-preset-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 9px;
  border-radius: 4px;
  border: 1px solid var(--idemo-border-subtle);
  background: rgba(255, 255, 255, 0.04);
  font-family: inherit;
  cursor: default;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.idemo-harvest-preset-item.is-active {
  border-color: rgba(0, 174, 239, 0.45);
  background: rgba(0, 174, 239, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 174, 239, 0.15);
}

.idemo-harvest-preset-tag {
  display: inline-block;
  margin-bottom: 3px;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 9px;
  color: #8dd8ff;
  background: rgba(0, 174, 239, 0.12);
}

.idemo-harvest-preset-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--idemo-text);
  margin-bottom: 2px;
}

.idemo-harvest-preset-url {
  display: block;
  font-size: 9px;
  font-family: ui-monospace, monospace;
  color: var(--idemo-text-faint);
  word-break: break-all;
  line-height: 1.3;
  margin-bottom: 2px;
}

.idemo-harvest-preset-note {
  display: block;
  font-size: 9px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.35;
}

.idemo-harvest-check {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  font-size: 10px;
  color: var(--idemo-text-muted);
  line-height: 1.35;
}

.idemo-harvest-check input {
  margin-top: 2px;
  accent-color: var(--idemo-accent);
}

.idemo-harvest-scan {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding: 9px 0;
  border: none;
  border-radius: 4px;
  background: var(--idemo-accent);
  color: var(--idemo-bg);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.15s ease, opacity 0.15s ease;
  cursor: default;
}

.idemo-harvest-scan.is-active {
  transform: scale(0.98);
}

.idemo-harvest-scan.is-loading {
  opacity: 0.88;
}

.idemo-harvest-scan-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(4, 8, 15, 0.25);
  border-top-color: var(--idemo-bg);
  border-radius: 50%;
  animation: idemo-spin 0.7s linear infinite;
}

.idemo-harvest-scan-spinner[hidden] {
  display: none !important;
}

.idemo-harvest-clear {
  display: block;
  margin-top: 6px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 10px;
  color: var(--idemo-text-faint);
  cursor: default;
  text-align: left;
}

.idemo-harvest-clear[hidden] {
  display: none !important;
}

.idemo-harvest-center {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.idemo-harvest-scanning {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--idemo-border-subtle);
  border-radius: var(--idemo-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  gap: 8px;
}

.idemo-harvest-scanning[hidden] {
  display: none !important;
}

.idemo-harvest-scanning-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--idemo-accent);
  border-radius: 50%;
  animation: idemo-spin 0.8s linear infinite;
}

.idemo-harvest-scanning-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--idemo-text);
}

.idemo-harvest-scanning-url {
  margin: 0;
  font-size: 9px;
  font-family: ui-monospace, monospace;
  color: var(--idemo-text-faint);
  line-height: 1.35;
  word-break: break-all;
  max-width: 100%;
}

.idemo-harvest-scan-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  width: 100%;
  max-width: 200px;
  text-align: left;
}

.idemo-harvest-scan-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--idemo-text-faint);
}

.idemo-harvest-scan-step.is-active {
  color: var(--idemo-accent-light);
}

.idemo-harvest-scan-step.is-done {
  color: rgba(141, 216, 255, 0.7);
}

.idemo-harvest-scan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.idemo-harvest-scan-step.is-active .idemo-harvest-scan-dot {
  background: var(--idemo-accent);
  border-color: var(--idemo-accent);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

.idemo-harvest-scan-step.is-done .idemo-harvest-scan-dot {
  background: rgba(74, 222, 128, 0.85);
  border-color: rgba(74, 222, 128, 0.85);
}

.idemo-harvest-result-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--idemo-border-subtle);
  border-radius: var(--idemo-radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.idemo-harvest-result-card.is-new {
  animation: idemo-card-in 0.4s ease;
}

.idemo-harvest-result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0.04) 100%);
  border-bottom: 1px solid var(--idemo-border-subtle);
}

.idemo-harvest-result-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.idemo-harvest-result-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.idemo-harvest-result-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--idemo-text);
}

.idemo-harvest-result-subtitle {
  margin-top: 2px;
  font-size: 10px;
  color: var(--idemo-text-faint);
}

.idemo-harvest-risk {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  border: 1px solid;
}

.idemo-harvest-risk--conditional {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
}

.idemo-harvest-result-body {
  padding: 12px 14px;
}

.idemo-harvest-license-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  font-family: ui-monospace, monospace;
  color: var(--idemo-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--idemo-border);
}

.idemo-harvest-attribution {
  margin: 8px 0 0;
  padding: 6px 8px;
  font-size: 10px;
  line-height: 1.4;
  color: var(--idemo-text-muted);
  background: rgba(251, 191, 36, 0.08);
  border-left: 3px solid #f0a500;
  border-radius: 0 4px 4px 0;
}

.idemo-harvest-history {
  min-width: 0;
}

.idemo-harvest-history .idemo-harvest-card-title {
  color: var(--idemo-text);
}

.idemo-harvest-history-empty {
  margin: 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-style: italic;
}

.idemo-harvest-history-empty[hidden] {
  display: none !important;
}

.idemo-harvest-history-list[hidden] {
  display: none !important;
}

.idemo-harvest-history-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}

.idemo-harvest-history-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--idemo-border-subtle);
}

.idemo-harvest-history-row.is-new {
  animation: idemo-card-in 0.35s ease;
}

.idemo-harvest-history-icon {
  font-size: 14px;
  line-height: 1;
}

.idemo-harvest-history-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.idemo-harvest-history-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--idemo-text);
  line-height: 1.25;
}

.idemo-harvest-history-license {
  font-size: 9px;
  font-family: ui-monospace, monospace;
  color: var(--idemo-text);
}

.idemo-harvest-empty-sub strong {
  color: var(--idemo-text-muted);
  font-weight: 600;
}

.idemo-harvest-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.idemo-harvest-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--idemo-border-subtle);
  border-radius: var(--idemo-radius);
  min-height: 180px;
}

.idemo-harvest-empty[hidden] {
  display: none !important;
}

.idemo-harvest-empty-icon {
  font-size: 28px;
  margin-bottom: 8px;
  opacity: 0.7;
}

.idemo-harvest-empty-title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--idemo-text);
}

.idemo-harvest-empty-sub {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  color: var(--idemo-text-faint);
  max-width: 22ch;
}

.idemo-harvest-results[hidden] {
  display: none !important;
}

.idemo-harvest-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.idemo-harvest-result {
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--idemo-border-subtle);
  border-radius: var(--idemo-radius);
}

.idemo-harvest-result.is-new {
  animation: idemo-card-in 0.4s ease;
}

.idemo-harvest-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.idemo-harvest-result-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--idemo-text);
}

.idemo-harvest-result-license {
  font-size: 10px;
  font-family: ui-monospace, monospace;
  color: var(--idemo-accent);
}

.idemo-harvest-result-url {
  margin: 0 0 6px;
  font-size: 9px;
  font-family: ui-monospace, monospace;
  color: var(--idemo-text-faint);
  line-height: 1.35;
  word-break: break-all;
}

.idemo-harvest-result-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 500;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.idemo-card--stage {
  min-height: 0;
}

.idemo-stage-sub {
  margin: 0 0 12px;
  font-size: 11px;
  color: var(--idemo-text-faint);
  line-height: 1.45;
}

.idemo-scan-badge {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 500;
  color: var(--idemo-accent-light);
  animation: idemo-scan-pulse 1.2s ease-in-out infinite;
}

.idemo-scan-badge[hidden] {
  display: none !important;
}

@keyframes idemo-scan-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.idemo-stack-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 120px;
}

.idemo-stack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: var(--idemo-radius);
  border: 1px solid var(--idemo-border);
  background: var(--idemo-bg-raised);
}

.idemo-stack-row.is-new {
  animation: idemo-card-in 0.4s ease;
}

.idemo-stack-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--idemo-text);
  line-height: 1.3;
  min-width: 0;
}

.idemo-stack-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.idemo-stack-type {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--idemo-accent-light);
  background: rgba(0, 174, 239, 0.12);
  border: 1px solid rgba(0, 174, 239, 0.25);
}

.idemo-stack-license {
  font-size: 10px;
  font-family: ui-monospace, monospace;
  color: var(--idemo-text-faint);
}

.idemo-lineage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 12px;
  border-radius: var(--idemo-radius);
  border: 1px dashed rgba(0, 174, 239, 0.25);
  background: rgba(0, 174, 239, 0.04);
}

.idemo-lineage-sources {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
}

.idemo-lineage-node {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  color: var(--idemo-text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.idemo-lineage-type {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--idemo-accent-light);
}

.idemo-lineage-arrow {
  font-size: 14px;
  color: var(--idemo-accent);
  opacity: 0.85;
}

.idemo-lineage-target {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--idemo-accent-light);
  background: rgba(0, 174, 239, 0.14);
  border: 1px solid rgba(0, 174, 239, 0.35);
}

.idemo-license-source {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 500;
  color: var(--idemo-accent-light);
}

/* ── Workflow card ── */
.idemo-workflow {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--idemo-border-subtle);
  border-radius: var(--idemo-radius-lg);
  overflow: hidden;
  min-width: 0;
}

.idemo-form-section {
  padding: clamp(12px, 1.5vw, 16px) clamp(14px, 1.8vw, 18px);
  border-bottom: 1px solid var(--idemo-border-subtle);
}

.idemo-form-section--compact {
  padding-top: 10px;
  padding-bottom: 10px;
}

.idemo-form-section-head {
  margin-bottom: 10px;
}

.idemo-form-section-head h2 {
  margin: 0 0 2px;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--idemo-text);
}

.idemo-form-section-head p {
  margin: 0;
  font-size: clamp(10px, 1vw, 12px);
  color: var(--idemo-text-faint);
  line-height: 1.4;
}

.idemo-stack-note {
  margin: 0 0 10px;
  padding: 7px 10px;
  font-size: 10px;
  line-height: 1.4;
  color: var(--idemo-accent-light);
  background: rgba(0, 174, 239, 0.08);
  border: 1px solid rgba(0, 174, 239, 0.22);
  border-radius: var(--idemo-radius);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.idemo-stack-note[hidden] {
  display: none !important;
}

.idemo-stack-note.is-visible {
  opacity: 1;
  transform: none;
}

.idemo-input {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--idemo-border);
  border-radius: var(--idemo-radius);
  background: var(--idemo-bg-raised);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.idemo-input--search.is-typing {
  border-color: rgba(0, 174, 239, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 174, 239, 0.12);
}

.idemo-input-placeholder {
  font-size: clamp(11px, 1.05vw, 13px);
  color: var(--idemo-text-faint);
}

.idemo-input-placeholder[hidden] {
  display: none !important;
}

.idemo-input-typed {
  font-size: clamp(11px, 1.05vw, 13px);
  font-family: ui-monospace, monospace;
  color: var(--idemo-text);
}

.idemo-input-cursor {
  display: inline-block;
  width: 2px;
  height: 13px;
  margin-left: 1px;
  background: var(--idemo-accent);
  animation: idemo-cursor 0.9s step-end infinite;
}

.idemo-input-cursor[hidden] {
  display: none !important;
}

@keyframes idemo-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.idemo-license-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  min-height: 0;
}

.idemo-license-card {
  padding: 10px 12px;
  background: var(--idemo-bg-raised);
  border: 1px solid var(--idemo-border);
  border-radius: var(--idemo-radius);
}

.idemo-license-card.is-new {
  animation: idemo-card-in 0.4s ease;
}

@keyframes idemo-card-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

.idemo-license-id-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.idemo-license-id {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--idemo-accent);
}

.idemo-license-verified {
  font-size: 10px;
  font-weight: 500;
  color: #4ade80;
}

.idemo-license-name {
  margin-top: 2px;
  font-size: 11px;
  color: var(--idemo-text-faint);
  line-height: 1.35;
}

.idemo-license-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.idemo-obligation-tag {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  border: 1px solid;
}

.idemo-obligation-tag--conditional {
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.3);
}

.idemo-preset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.idemo-preset-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 10px;
  background: var(--idemo-bg-raised);
  border: 1px solid var(--idemo-border);
  border-radius: var(--idemo-radius);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.idemo-preset-card.is-active {
  background: rgba(0, 174, 239, 0.08);
  border-color: rgba(0, 174, 239, 0.35);
}

.idemo-preset-card.is-pulse {
  animation: idemo-preset-pulse 0.55s ease;
}

@keyframes idemo-preset-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(0, 174, 239, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 174, 239, 0); }
}

.idemo-preset-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--idemo-text);
}

.idemo-preset-desc {
  font-size: 10px;
  color: var(--idemo-text-faint);
  line-height: 1.3;
}

.idemo-field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 500;
  color: var(--idemo-text-faint);
}

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

.idemo-region-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 9px;
  background: var(--idemo-bg-raised);
  border: 1px solid var(--idemo-border);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  color: var(--idemo-text-muted);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.idemo-region-btn.is-active {
  background: rgba(0, 174, 239, 0.1);
  border-color: rgba(0, 174, 239, 0.35);
  color: var(--idemo-text);
}

.idemo-workflow-action {
  padding: 12px 14px;
  border-top: 1px solid var(--idemo-border-subtle);
}

.idemo-btn-primary {
  width: 100%;
  height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: var(--idemo-radius);
  background: var(--idemo-accent);
  color: var(--idemo-bg);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, opacity 0.15s ease;
  cursor: default;
}

.idemo-btn-primary.is-active {
  transform: scale(0.98);
}

.idemo-btn-primary.is-loading {
  opacity: 0.88;
}

.idemo-btn-spinner {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(4, 8, 15, 0.25);
  border-top-color: var(--idemo-bg);
  border-radius: 50%;
  animation: idemo-spin 0.7s linear infinite;
}

.idemo-btn-spinner[hidden] {
  display: none !important;
}

@keyframes idemo-spin {
  to { transform: rotate(360deg); }
}

.idemo-workflow-hint {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--idemo-text-faint);
  text-align: center;
  min-height: 1.2em;
}

/* ── Verdict column ── */
.idemo-verdict-col[hidden] {
  display: none !important;
}

.idemo-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--idemo-border-subtle);
  border-radius: var(--idemo-radius-lg);
  padding: 14px;
  animation: idemo-card-in 0.4s ease;
}

.idemo-card-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--idemo-text-muted);
}

.idemo-verdict-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--idemo-radius);
  border: 1px solid;
  margin-bottom: 10px;
}

.idemo-verdict-badge--conditional {
  background: rgba(251, 191, 36, 0.12);
  border-color: #fbbf24;
}

.idemo-verdict-icon {
  font-size: 16px;
  line-height: 1;
  color: #fbbf24;
}

.idemo-verdict-label {
  font-size: 14px;
  font-weight: 600;
  color: #fbbf24;
}

.idemo-verdict-conf {
  margin-top: 2px;
  font-size: 10px;
  color: var(--idemo-text-faint);
}

.idemo-verdict-summary {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--idemo-text-muted);
  min-height: 3em;
}

/* ── Legal advisory (below demo on marketing pages) ── */
.iuris-legal-advisory {
  max-width: min(560px, 92vw);
  margin: 0;
  padding: 10px 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  line-height: 1.55;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 8px;
}

.iuris-legal-advisory::before {
  content: '⚖ ';
}

.adsk-hero-visual--iuris {
  max-width: min(720px, 100%);
}

.adsk-iuris-showcase__frame {
  width: 100%;
  min-height: min(580px, 72vh);
  display: flex;
  align-items: stretch;
}

.adsk-hero-visual--iuris .iuris-legal-advisory {
  margin-top: 14px;
  max-width: none;
  width: 100%;
}

/* ── Homepage full frame ── */
.hp-iuris-full__frame .iuris-anim-demo--fullscreen {
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  overflow: hidden;
}

.hp-iuris-full__frame .idemo-shell,
.hp-iuris-full__frame .idemo-main {
  height: 100%;
  min-height: 100%;
}

.hp-iuris-full__frame .idemo-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.hp-iuris-full__frame .idemo-content {
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  align-items: stretch;
  align-content: stretch;
}

.hp-iuris-full__frame .idemo-stage--harvest.is-active,
.hp-iuris-full__frame .idemo-stage--lineage.is-active {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.hp-iuris-full__frame .idemo-harvest-grid--3col {
  height: 100%;
  min-height: 100%;
  align-items: stretch;
}

.hp-iuris-full__frame .idemo-harvest-left,
.hp-iuris-full__frame .idemo-harvest-center,
.hp-iuris-full__frame .idemo-harvest-history {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.hp-iuris-full__frame .idemo-harvest-center {
  flex: 1;
}

.hp-iuris-full__frame .idemo-harvest-empty,
.hp-iuris-full__frame .idemo-harvest-scanning,
.hp-iuris-full__frame [data-iuris-harvest-result] {
  flex: 1;
  min-height: 100%;
  height: 100%;
}

.hp-iuris-full__frame .idemo-harvest-scanning[hidden],
.hp-iuris-full__frame .idemo-harvest-empty[hidden],
.hp-iuris-full__frame [data-iuris-harvest-result][hidden] {
  display: none !important;
}

.hp-iuris-full__frame .idemo-content.idemo-content--split {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.hp-iuris-full__frame .idemo-workflow,
.hp-iuris-full__frame .idemo-card--stage {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.hp-iuris-full__frame .idemo-card--stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 720px) {
  .idemo-sidebar {
    width: 112px;
    padding: 10px 6px;
  }

  .idemo-nav-item {
    font-size: 10px;
    padding: 4px 5px;
  }

  .idemo-content--split {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .idemo-verdict-col {
    order: 2;
  }

  .idemo-harvest-grid,
  .idemo-harvest-grid--3col {
    grid-template-columns: 1fr;
  }

  .iuris-anim-demo--fullscreen {
    min-height: 520px;
    max-height: none;
  }
}
