:root {
  color-scheme: dark;
  --bg: #07121f;
  --panel: #0d1b2a;
  --panel-2: #11263b;
  --text: #ecf5ff;
  --muted: #9eb4c9;
  --accent: #58d6c9;
  --accent-2: #f7b267;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  /* Adopted WCOR Runtime Gateway background */
  background:
    radial-gradient(1180px 560px at 10% -8%, rgba(88, 185, 255, 0.14) 0%, rgba(6, 13, 22, 0) 62%),
    radial-gradient(980px 520px at 84% 6%, rgba(76, 150, 230, 0.12) 0%, rgba(6, 13, 22, 0) 58%),
    radial-gradient(1400px 800px at 50% 50%, rgba(88, 185, 255, 0.04) 0%, rgba(6, 13, 22, 0) 70%),
    linear-gradient(148deg, #04080f 0%, #060d16 56%, #081424 100%);
  color: var(--text);
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  width: 2px;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

body::before {
  left: 16px;
  box-shadow: 0 0 18px 2px rgba(88, 185, 255, 0.28);
  background: rgba(88, 185, 255, 0.34);
}

body::after {
  right: 16px;
  box-shadow: 0 0 18px 2px rgba(106, 174, 255, 0.2);
  background: rgba(106, 174, 255, 0.28);
}

.shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.hero, .panel {
  background: rgba(13, 27, 42, 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  padding: 14px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.12fr) minmax(0, 260px) minmax(0, 320px);
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 12px;
}

.hero::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 214, 201, 0.38), rgba(121, 184, 255, 0.34), transparent);
}

.hero-left {
  grid-column: 1 / 3;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.hero-identity {
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.hero-brand-row {
  display: grid;
  align-items: center;
  gap: 12px;
  justify-items: start;
}

.hero-logo-dual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 56px;
  padding: 3px 6px;
  border-radius: 10px;
  border: 1.5px solid rgba(246, 194, 109, 0.42);
  background: linear-gradient(180deg, rgba(10, 20, 33, 0.95), rgba(7, 14, 25, 0.98));
  box-shadow: 0 0 12px rgba(246, 194, 109, 0.14), inset 0 0 8px rgba(246, 194, 109, 0.06);
}

.hero-logo-shell-secondary {
  border-color: rgba(102, 229, 208, 0.42);
  box-shadow: 0 0 14px rgba(102, 229, 208, 0.16), inset 0 0 10px rgba(102, 229, 208, 0.06);
}

.hero-logo-wcor,
.hero-logo-woper {
  width: auto;
  height: 22px;
  max-width: 84px;
  object-fit: contain;
  display: block;
}

.hero-logo-wcor-small {
  height: 26px;
  max-width: 76px;
}

.hero-logo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e7f2ff;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-eyebrow-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1.5px solid rgba(246, 194, 109, 0.42);
  background: linear-gradient(135deg, rgba(246, 194, 109, 0.16), rgba(246, 194, 109, 0.08));
  color: #ffe5bc;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 11px;
  box-shadow: 0 0 12px rgba(246, 194, 109, 0.14);
}

.hero-copy {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.hero-visual-title {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.02em;
  display: grid;
  gap: 2px;
  max-width: 28ch; /* allow title to occupy up to two lines */
}

.hero-visual-title span {
  display: block;
}

.hero-operational-name {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: #d8e7f3;
  max-width: 56ch;
}

.hero-center-mark {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hero-center-shell {
  min-height: 90px;
  min-width: 160px;
  width: min(100%, 200px);
  border-radius: 18px;
  border: 1.5px solid rgba(246, 194, 109, 0.34);
  background:
    radial-gradient(circle at center, rgba(88, 214, 201, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(11, 23, 36, 0.96), rgba(8, 16, 28, 0.99));
  box-shadow: 0 0 14px rgba(88, 214, 201, 0.12), 0 0 10px rgba(246, 194, 109, 0.08), inset 0 0 8px rgba(88, 214, 201, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.hero-logo-wcor-center {
  height: auto;
  width: min(100%, 180px);
  max-height: 68px;
  object-fit: contain;
}

.hero-center-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 84px;
  border-radius: 18px;
  color: #eaf7f4;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.hero-intake-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-intake-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1.5px solid rgba(88, 214, 201, 0.44);
  background: linear-gradient(135deg, rgba(88, 214, 201, 0.16), rgba(88, 214, 201, 0.08));
  color: #cbf8f1;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 11px;
  box-shadow: 0 0 12px rgba(88, 214, 201, 0.12);
}

.hero-intake-chip-domain {
  border-color: rgba(64, 255, 170, 0.56);
  background: linear-gradient(135deg, rgba(40, 228, 152, 0.2), rgba(64, 255, 170, 0.1));
  color: #ddffef;
  box-shadow: 0 0 14px rgba(64, 255, 170, 0.16);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 12px;
}

.subtitle, .panel-head p, .status, .muted {
  color: var(--muted);
}

.toolbar {
  display: grid;
  gap: 10px;
  justify-content: stretch;
  align-items: start;
  min-width: 0;
}

.hero-toolbar {
  grid-column: 4 / 5;
  width: 100%;
}

.toolbar-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(12, 23, 37, 0.9), rgba(8, 16, 28, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  width: 100%;
  min-height: 44px;
}

/* Micro-surgery: hide group labels and compact button layout */
.toolbar-group-label {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.hero .hero-toolbar {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
}

.hero .toolbar-group {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 8px !important;
}

.hero .toolbar-group button {
  padding: 8px 12px !important;
  min-width: 0 !important;
}

.hero .toolbar-group-lang,
.hero .toolbar-group-export,
.hero .toolbar-group-environment {
  justify-content: center !important;
}

/* Ensure groups don't touch container edges */
.hero .toolbar-group { margin: 0 6px; }

/* Strong override: visually hide group labels while keeping accessibility */
.hero .toolbar-group > .toolbar-group-label {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.toolbar-group-label {
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 3px;
  min-width: 40px;
}

.toolbar-group-lang {
  border-color: rgba(246, 194, 109, 0.38);
  box-shadow: 0 0 13px rgba(246, 194, 109, 0.12), inset 0 0 0 1px rgba(246, 194, 109, 0.08);
}

.toolbar-group-export {
  border-color: rgba(121, 184, 255, 0.4);
  box-shadow: 0 0 13px rgba(121, 184, 255, 0.14), inset 0 0 0 1px rgba(121, 184, 255, 0.08);
}

.toolbar-group-environment {
  border-color: rgba(172, 128, 255, 0.4);
  box-shadow: 0 0 13px rgba(172, 128, 255, 0.14), inset 0 0 0 1px rgba(172, 128, 255, 0.08);
}

button {
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}

button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

button.ghost.active {
  background: rgba(88, 214, 201, 0.18);
  color: var(--accent);
}

.hero .toolbar-group-lang button[data-lang] {
  border: 1.5px solid rgba(255, 72, 96, 0.85);
  color: #ffe8ed;
  background: linear-gradient(135deg, rgba(42, 13, 23, 0.96), rgba(24, 8, 14, 0.98));
  box-shadow:
    0 0 16px rgba(255, 72, 96, 0.28),
    inset 0 0 12px rgba(255, 72, 96, 0.08);
}

.hero .toolbar-group-lang button[data-lang].active {
  border-color: rgba(64, 255, 170, 0.95);
  color: #eafff3;
  background: linear-gradient(135deg, rgba(12, 41, 30, 0.96), rgba(8, 27, 21, 0.98));
  box-shadow:
    0 0 18px rgba(64, 255, 170, 0.45),
    inset 0 0 14px rgba(64, 255, 170, 0.12);
}

.hero .toolbar-group-export #exportJson,
.hero .toolbar-group-export #exportCsv {
  border: 1.5px solid rgba(121, 184, 255, 0.66);
  background: linear-gradient(135deg, rgba(21, 54, 97, 0.95), rgba(14, 39, 74, 0.98));
  color: #dff0ff;
  box-shadow: 0 0 14px rgba(121, 184, 255, 0.24), inset 0 0 10px rgba(121, 184, 255, 0.1);
}

.hero .toolbar-group-export #exportJson:hover,
.hero .toolbar-group-export #exportCsv:hover {
  border-color: rgba(154, 205, 255, 0.78);
  box-shadow: 0 0 17px rgba(121, 184, 255, 0.3), inset 0 0 10px rgba(121, 184, 255, 0.12);
}

.hero .toolbar-group-environment #openOperationalRelations {
  border: 1.5px solid rgba(172, 128, 255, 0.7);
  background: linear-gradient(135deg, rgba(38, 26, 67, 0.95), rgba(26, 17, 50, 0.98));
  color: #ecdfff;
  box-shadow: 0 0 15px rgba(172, 128, 255, 0.24), inset 0 0 10px rgba(102, 229, 208, 0.08);
}

.hero .toolbar-group-environment #openOperationalRelations:hover {
  border-color: rgba(188, 150, 255, 0.82);
  box-shadow: 0 0 18px rgba(172, 128, 255, 0.3), inset 0 0 10px rgba(102, 229, 208, 0.11);
}

.hero .subtitle {
  max-width: 58ch;
  margin: 0;
}

button.action, button.primary {
  background: linear-gradient(135deg, var(--accent), #8ce3db);
  color: #062028;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* Overrides to ensure hero compaction for executive layout */
.hero .hero-visual-title {
  font-size: clamp(1.3rem, 1.9vw, 1.8rem) !important;
  line-height: 1.02 !important;
  max-width: 30ch !important;
  gap: 2px !important;
}
.hero {
  padding-bottom: 12px !important;
}
.hero .hero-center-shell {
  min-height: 80px !important;
}
.hero .hero-logo-wcor-center {
  max-height: 64px !important;
}

.panel {
  border-radius: 22px;
  padding: 20px;
}

.full-width { margin-top: 20px; }

.panel-head { margin-bottom: 16px; }
.panel-head.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.status {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(88, 214, 201, 0.12);
  border: 1px solid rgba(88, 214, 201, 0.22);
  white-space: nowrap;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: #d6e3ef;
}

.form label > span {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #cfdeea;
}

input, select, textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(136, 170, 196, 0.2);
  background: linear-gradient(180deg, rgba(9, 18, 30, 0.96), rgba(7, 15, 26, 0.98));
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:hover,
textarea:hover {
  border-color: rgba(126, 170, 202, 0.3);
  box-shadow: inset 0 0 0 1px rgba(136, 170, 196, 0.06);
}

select {
  border-color: rgba(88, 214, 201, 0.38);
  background: #091523;
  color: #9fdfff;
  -webkit-text-fill-color: #9fdfff;
  color-scheme: dark;
}

select:has(option.suggested-option:checked) {
  color: #9cf5c9;
  -webkit-text-fill-color: #9cf5c9;
}

select:has(option[value=""]:checked),
select:invalid {
  color: #79b7cf;
  -webkit-text-fill-color: #79b7cf;
}

select:hover {
  border-color: rgba(88, 214, 201, 0.6);
  box-shadow: 0 0 10px rgba(88, 214, 201, 0.14), inset 0 0 0 1px rgba(88, 214, 201, 0.08);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(94, 232, 255, 0.86);
  box-shadow: 0 0 0 1px rgba(94, 232, 255, 0.22), 0 0 16px rgba(94, 232, 255, 0.22), inset 0 0 10px rgba(94, 232, 255, 0.08);
}

select option {
  background: #091c30;
  color: #98d6ff;
}

select option:checked:not(.suggested-option) {
  background: #102c44;
  color: #b8e7ff;
  font-weight: 700;
}

select option:checked.suggested-option {
  background: #0f2b20;
  color: #b7ffd9;
  font-weight: 700;
}

select option:disabled,
select option[value=""] {
  color: #6fa3c0;
  background: #091523;
}

select option.suggested-option {
  color: #79e9a8;
  font-weight: 700;
}

#suggestFromLinkedin,
#suggestEnterpriseFromLinkedin {
  border: 1px solid rgba(88, 236, 153, 0.68);
  background: linear-gradient(140deg, rgba(14, 55, 37, 0.96), rgba(10, 42, 29, 0.96));
  color: #adffd5;
  box-shadow: 0 0 14px rgba(88, 236, 153, 0.22), inset 0 0 0 1px rgba(88, 236, 153, 0.12);
  cursor: pointer;
}

#suggestFromLinkedin:hover,
#suggestFromLinkedin:focus-visible,
#suggestEnterpriseFromLinkedin:hover,
#suggestEnterpriseFromLinkedin:focus-visible {
  border-color: rgba(120, 255, 182, 0.86);
  color: #c8ffe3;
  box-shadow: 0 0 18px rgba(88, 236, 153, 0.3), inset 0 0 0 1px rgba(120, 255, 182, 0.18);
}

textarea { resize: vertical; }

textarea {
  min-height: 92px;
  line-height: 1.35;
  background:
    linear-gradient(180deg, rgba(9, 20, 32, 0.98), rgba(7, 16, 26, 0.99));
  border-color: rgba(104, 170, 212, 0.28);
}

textarea::placeholder {
  color: rgba(182, 201, 218, 0.64);
}
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.summary {
  display: grid;
  gap: 12px;
}

.summary-card, .record-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
}

.summary-card strong, .record-card strong { color: var(--accent); }

.tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.record-list {
  display: grid;
  gap: 12px;
}

.record-group {
  display: grid;
  gap: 10px;
}

.record-group-main {
  display: grid;
  gap: 8px;
}

.record-history {
  display: grid;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(121, 184, 255, 0.16);
}

.record-history-item {
  display: grid;
  gap: 6px;
}

.record-history-item .record-card {
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.record-history-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fb4cf;
}

.badge-last-observed {
  background: rgba(110, 214, 138, 0.16);
  color: #c9ffd7;
}

.badge-history-count {
  background: rgba(121, 184, 255, 0.14);
  color: #d5ebff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(247, 178, 103, 0.14);
  color: #ffd9ae;
  font-size: 0.85rem;
}

.badge-source {
  background: rgba(88, 214, 201, 0.14);
  color: #aef4ea;
}

.badge-confidence.low {
  background: rgba(230, 90, 90, 0.14);
  color: #ffb2b2;
}

.badge-confidence.medium {
  background: rgba(247, 178, 103, 0.14);
  color: #ffe1b8;
}

.badge-confidence.high {
  background: rgba(110, 214, 138, 0.16);
  color: #c6ffd4;
}

.badge-time {
  background: rgba(255, 255, 255, 0.05);
  color: #d9e6f3;
}

.source-line {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.source-label {
  color: var(--accent);
  font-weight: 700;
}

.source-line a {
  color: #b8f6ef;
  word-break: break-all;
}

.evidence-excerpt {
  margin-top: 8px;
}

.row-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.suggestion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suggestion-chip {
  border: 1px solid rgba(130, 158, 181, 0.28);
  background: rgba(15, 28, 44, 0.78);
  color: #c7d7e5;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.suggestion-chip.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.suggestion-chip:hover {
  transform: translateY(-1px);
}

.suggestion-chip[data-narrative-suggestion-key] {
  border-color: rgba(66, 211, 188, 0.34);
  color: #bfece3;
}

.suggestion-chip[data-source-excerpt-key] {
  border-color: rgba(121, 184, 255, 0.34);
  color: #cfe5ff;
}

.suggestion-chip[data-convergence-key] {
  border-color: rgba(166, 126, 255, 0.36);
  color: #ded0ff;
}

.suggestion-chip[data-observed-signal-key] {
  border-color: rgba(214, 184, 108, 0.34);
  color: #ebddb8;
}

.suggestion-chip[data-observed-signal-key="observedSignalsQuickOperationalPressure"],
.suggestion-chip[data-observed-signal-key="observedSignalsQuickLowInteraction"],
.suggestion-chip[data-observed-signal-key="observedSignalsQuickOperationalIssues"] {
  border-color: rgba(255, 104, 118, 0.42);
  color: #ffd2d8;
}

.suggestion-chip[data-observed-signal-key="observedSignalsQuickAutomation"],
.suggestion-chip[data-observed-signal-key="observedSignalsQuickOperationalNeed"],
.suggestion-chip[data-observed-signal-key="observedSignalsQuickGrowth"] {
  border-color: rgba(100, 214, 138, 0.4);
  color: #d1f6dc;
}

.suggestion-list .suggestion-chip:hover,
.suggestion-list .suggestion-chip:focus-visible {
  border-color: rgba(170, 205, 232, 0.56);
  box-shadow: 0 0 12px rgba(121, 184, 255, 0.16), inset 0 0 10px rgba(121, 184, 255, 0.08);
}

.muted { font-size: 0.92rem; }

.suggestion-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: #c6d5e4;
  background: rgba(12, 24, 38, 0.78);
  border: 1px solid rgba(146, 172, 196, 0.24);
  border-radius: 999px;
  padding: 5px 10px;
  width: fit-content;
}

.suggestion-soft.is-idle {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.form > button.primary {
  width: 100%;
  border: 1.5px solid rgba(64, 255, 170, 0.8);
  background: linear-gradient(135deg, rgba(40, 228, 152, 0.96), rgba(86, 255, 191, 0.88));
  color: #041d16;
  box-shadow: 0 0 22px rgba(64, 255, 170, 0.34), 0 14px 28px rgba(8, 30, 22, 0.45), inset 0 0 14px rgba(255, 255, 255, 0.14);
  letter-spacing: 0.02em;
}

.form > button.primary:hover {
  border-color: rgba(90, 255, 184, 0.92);
  box-shadow: 0 0 26px rgba(64, 255, 170, 0.42), 0 16px 30px rgba(8, 30, 22, 0.5), inset 0 0 14px rgba(255, 255, 255, 0.18);
}

.related-org-block {
  display: grid;
  gap: 12px;
}

.related-org-launcher {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(88, 214, 201, 0.12), rgba(247, 178, 103, 0.08)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(88, 214, 201, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.related-org-launcher-body {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.relation-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 178, 103, 0.24);
  background: rgba(247, 178, 103, 0.12);
  color: #ffe0b8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.suggestion-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9em;
  margin-left: 8px;
}
.suggestion-status.is-recommended {
  color: #b45309;
}

.suggestion-visible {
  display: inline-block;
  margin-left: 8px;
  color: #b45309;
  font-weight: 700;
}

.related-org-preview {
  margin: 10px 0 0;
  max-width: 60ch;
}

.relation-open-button {
  min-width: 220px;
  box-shadow: 0 18px 30px rgba(88, 214, 201, 0.16);
  cursor: pointer;
}

.relation-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.relation-drawer.is-open {
  display: block;
}

.relation-drawer-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(0, 217, 255, 0.08), transparent 45%),
    rgba(2, 8, 18, 0.84);
  backdrop-filter: blur(6px);
}

.relation-drawer-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1160px, calc(100% - 28px));
  height: min(88vh, 920px);
  background:
    radial-gradient(circle at top left, rgba(0, 217, 255, 0.07), transparent 32%),
    linear-gradient(180deg, rgba(8, 18, 31, 0.99), rgba(7, 14, 26, 0.99));
  border: 1px solid rgba(0, 217, 255, 0.28);
  box-shadow: 0 26px 88px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  border-radius: 28px;
  padding: 24px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
}

.relation-drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.relation-drawer-head h2 {
  margin: 0;
  letter-spacing: 0.03em;
}

.relation-drawer-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 66ch;
}

.relation-drawer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.relation-expand-button {
  min-width: 156px;
}

.relation-close-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 217, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #e7fbff;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.relation-drawer-summary {
  display: grid;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(0, 217, 255, 0.16);
}

.relation-drawer-summary p {
  margin: 0;
  font-size: 0.88rem;
}

.relation-drawer-table-wrap {
  min-height: 0;
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(0, 217, 255, 0.14);
  background: rgba(2, 10, 19, 0.34);
  padding: 16px;
}

.section-copy {
  display: grid;
  gap: 4px;
}

.section-copy > span {
  font-weight: 700;
  color: var(--accent);
}

.related-org-cards {
  display: grid;
  gap: 14px;
}

.relation-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 208px;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(0, 217, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    rgba(4, 12, 22, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.relation-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--relation-accent, #00d9ff);
}

.relation-card--clear {
  --relation-accent: #64f0a6;
}

.relation-card--probable {
  --relation-accent: #f8c45f;
}

.relation-card--weak {
  --relation-accent: #ff7a7a;
}

.relation-card-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.relation-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.relation-card-identity {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.relation-card-semaphore {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.relation-card-semaphore--clear {
  color: #c8ffe0;
  background: rgba(100, 240, 166, 0.12);
  border-color: rgba(100, 240, 166, 0.24);
}

.relation-card-semaphore--probable {
  color: #ffe6aa;
  background: rgba(248, 196, 95, 0.12);
  border-color: rgba(248, 196, 95, 0.24);
}

.relation-card-semaphore--weak {
  color: #ffb2b2;
  background: rgba(255, 122, 122, 0.12);
  border-color: rgba(255, 122, 122, 0.24);
}

.relation-card-org {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.relation-card-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 217, 255, 0.18);
  background: linear-gradient(180deg, rgba(0, 217, 255, 0.14), rgba(255, 255, 255, 0.03));
  color: #eafcff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.relation-card-namewrap {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.relation-card-name {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #f3fbff;
  word-break: break-word;
}

.relation-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.relation-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 217, 255, 0.16);
  background: rgba(0, 217, 255, 0.08);
  color: #d4f9ff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.relation-card-body {
  display: grid;
  gap: 12px;
}

.relation-card-field {
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.relation-card-field-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.relation-card-field-value {
  color: #f7fbff;
  line-height: 1.45;
}

.relation-card-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.relation-evidence-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.relation-evidence-list li {
  color: #d8ffe7;
  font-size: 0.86rem;
  line-height: 1.35;
}

.relation-evidence-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(100, 240, 166, 0.16);
  background: rgba(100, 240, 166, 0.08);
  color: #d8ffe7;
  font-size: 0.8rem;
}

.relation-card-sidebar {
  display: grid;
  gap: 8px;
  align-content: start;
}

.relation-metric {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border-radius: 13px;
  background: rgba(0, 217, 255, 0.06);
  border: 1px solid rgba(0, 217, 255, 0.12);
}

.relation-metric span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.relation-metric strong {
  font-size: 1.08rem;
  color: #f6fbff;
}

.relation-card-detail {
  display: grid;
  gap: 8px;
}

.relation-card-detail[hidden] {
  display: none;
}

.relation-card-detail.is-collapsed {
  display: none;
}

@media (max-width: 980px) {
  .grid, .tables { grid-template-columns: 1fr; display: grid; }
  .hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 24px;
  }
  .hero::after {
    left: 18px;
    right: 18px;
  }
  .hero-left {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-center-mark,
  .hero-toolbar {
    grid-column: auto;
  }
  .toolbar { justify-content: flex-start; min-width: 0; }
  .two-col { grid-template-columns: 1fr; }

  .hero-logo-wcor,
  .hero-logo-woper {
    height: 24px;
    max-width: 74px;
  }

  .hero-center-shell {
    width: min(100%, 230px);
    min-height: 138px;
  }

  .hero-logo-wcor-center {
    width: min(100%, 210px);
    max-height: 96px;
  }

  .toolbar-group {
    width: 100%;
  }

  .relation-drawer-panel {
    top: 7px;
    left: 7px;
    width: 100%;
    height: calc(100vh - 14px);
    transform: none;
    padding: 16px;
  }

  .relation-card {
    grid-template-columns: 1fr;
  }

  .relation-card-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }

  .shell { width: min(100% - 20px, 1280px); padding-top: 12px; }
  .panel, .hero { border-radius: 18px; }
  .panel-head.row {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .status {
    max-width: 100%;
  }
  .hero {
    padding: 18px;
    padding-bottom: 22px;
  }
  .hero-visual-title {
    font-size: clamp(1.84rem, 8vw, 2.5rem);
    max-width: 11ch;
  }
  .hero-operational-name,
  .hero .subtitle {
    max-width: none;
  }
  .hero-center-shell {
    width: min(100%, 208px);
    min-height: 122px;
    border-radius: 20px;
  }
  .hero-logo-wcor-center {
    width: min(100%, 182px);
    max-height: 82px;
  }
  .relation-open-button { width: 100%; min-width: 0; }
  .relation-card-head,
  .relation-drawer-head,
  .relation-drawer-summary {
    gap: 12px;
  }

  .relation-card-org {
    align-items: flex-start;
  }

  .relation-card-sidebar {
    grid-template-columns: 1fr;
  }

  .relation-drawer-panel {
    height: calc(100vh - 14px);
    width: calc(100% - 14px);
    border-radius: 20px;
    padding: 14px;
  }
}

/* ─── CHROMATIC PHASE GOVERNANCE ─────────────────────────────────────────── */

/* Phase tokens */
:root {
  --phase-input:        #58d6c9;
  --phase-authority:    #79b8ff;
  --phase-signal:       #6ed68a;
  --phase-conversation: #e8799a;
  --phase-traceability: #60a5fa;
  --phase-decision:     #4ade80;
}

.form-phase {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px 16px 16px;
  border-radius: 18px;
  border: 1px solid var(--phase-color, rgba(255,255,255,0.08));
  background:
    linear-gradient(180deg,
      rgba(var(--phase-rgb, 255,255,255), 0.04) 0%,
      rgba(var(--phase-rgb, 255,255,255), 0.01) 100%),
    rgba(8, 16, 28, 0.7);
  box-shadow: 0 0 20px rgba(var(--phase-rgb, 255,255,255), 0.06),
              inset 0 1px 0 rgba(var(--phase-rgb, 255,255,255), 0.04);
}

/* Lateral accent bar */
.form-phase::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  bottom: 16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--phase-color, rgba(255,255,255,0.2));
  opacity: 0.7;
}

/* ── INPUT CORE — teal ── */
.form-phase--input {
  --phase-color: rgba(88, 214, 201, 0.42);
  --phase-rgb:   88, 214, 201;
}
.form-phase--input::before { background: #58d6c9; }

/* ── AUTHORITY CORE — blue ── */
.form-phase--authority {
  --phase-color: rgba(121, 184, 255, 0.38);
  --phase-rgb:   121, 184, 255;
}
.form-phase--authority::before { background: #79b8ff; }

/* ── SIGNAL CORE — green ── */
.form-phase--signal {
  --phase-color: rgba(110, 214, 138, 0.38);
  --phase-rgb:   110, 214, 138;
}
.form-phase--signal::before { background: #6ed68a; }

/* ── CONVERSATION CORE — magenta/rose ── */
.form-phase--conversation {
  --phase-color: rgba(232, 121, 154, 0.38);
  --phase-rgb:   232, 121, 154;
}
.form-phase--conversation::before { background: #e8799a; }

/* ── TRACEABILITY CORE — blue-tech ── */
.form-phase--traceability {
  --phase-color: rgba(96, 165, 250, 0.38);
  --phase-rgb:   96, 165, 250;
}
.form-phase--traceability::before { background: #60a5fa; }

/* ── DECISION CORE — green final ── */
.form-phase--decision {
  --phase-color: rgba(74, 222, 128, 0.42);
  --phase-rgb:   74, 222, 128;
}
.form-phase--decision::before { background: #4ade80; }

/* Phase label chip */
.phase-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--phase-text, #c8e6ff);
  padding: 5px 10px 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--phase-color, rgba(255,255,255,0.12));
  background: rgba(var(--phase-rgb, 255,255,255), 0.08);
  width: fit-content;
  margin-bottom: 4px;
}

.form-phase--input    .phase-label { --phase-text: #9efbf4; }
.form-phase--authority .phase-label { --phase-text: #b8d8ff; }
.form-phase--signal   .phase-label { --phase-text: #b0f0c0; }
.form-phase--conversation .phase-label { --phase-text: #f7b8ca; }
.form-phase--traceability .phase-label { --phase-text: #bcd9ff; }
.form-phase--decision .phase-label { --phase-text: #b8f5d0; }

.phase-kicker {
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.78;
  font-size: 0.58rem;
}

/* ─── MICROCONTAINERS PEDAGOGICOS POR RUBRO ─────────────────────────────── */
.field-node {
  --node-a: 104, 178, 228;
  --node-b: 86, 164, 198;
  --node-border: rgba(104, 178, 228, 0.42);
  display: grid;
  gap: 8px;
  padding: 12px;
  margin: 4px 0;
  border-radius: 14px;
  border: 1px solid var(--node-border);
  background:
    linear-gradient(165deg, rgba(var(--node-a), 0.12), rgba(var(--node-b), 0.06)),
    rgba(7, 16, 28, 0.84);
  box-shadow:
    0 10px 22px rgba(3, 8, 14, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.field-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--node-a), 0.84), rgba(var(--node-b), 0.28));
  pointer-events: none;
}

.field-node label {
  gap: 8px;
  margin: 0;
  font-size: 0.93rem;
}

.field-node input,
.field-node select,
.field-node textarea {
  background: linear-gradient(180deg, rgba(7, 14, 24, 0.98), rgba(5, 11, 20, 0.99));
  border-color: rgba(var(--node-a), 0.34);
  box-shadow: inset 0 0 0 1px rgba(var(--node-a), 0.08);
}

.field-node input:hover,
.field-node select:hover,
.field-node textarea:hover {
  border-color: rgba(var(--node-a), 0.56);
}

.field-node input:focus,
.field-node select:focus,
.field-node textarea:focus {
  border-color: rgba(var(--node-a), 0.9);
  box-shadow: 0 0 0 1px rgba(var(--node-a), 0.24), 0 0 14px rgba(var(--node-a), 0.2), inset 0 0 8px rgba(var(--node-a), 0.12);
}

.field-node .muted,
.field-node .hint {
  color: rgba(201, 218, 234, 0.86);
}

.field-node .suggestion-soft,
.field-node .chip,
.field-node .suggestion-chip {
  border-color: rgba(var(--node-a), 0.34);
  background: rgba(8, 18, 31, 0.8);
}

.tone-identity {
  --node-a: 88, 214, 201;
  --node-b: 94, 232, 255;
  --node-border: rgba(88, 214, 201, 0.46);
}

.tone-profile {
  --node-a: 94, 232, 255;
  --node-b: 121, 184, 255;
  --node-border: rgba(121, 184, 255, 0.42);
}

.tone-context {
  --node-a: 247, 178, 103;
  --node-b: 88, 214, 201;
  --node-border: rgba(247, 178, 103, 0.4);
}

.tone-role {
  --node-a: 110, 214, 138;
  --node-b: 88, 214, 201;
  --node-border: rgba(110, 214, 138, 0.42);
}

.tone-organization {
  --node-a: 121, 184, 255;
  --node-b: 88, 214, 201;
  --node-border: rgba(121, 184, 255, 0.44);
}

.tone-signals {
  --node-a: 110, 214, 138;
  --node-b: 166, 236, 142;
  --node-border: rgba(110, 214, 138, 0.44);
}

.tone-authority {
  --node-a: 166, 126, 255;
  --node-b: 121, 184, 255;
  --node-border: rgba(166, 126, 255, 0.4);
}

.tone-openness {
  --node-a: 232, 121, 154;
  --node-b: 166, 126, 255;
  --node-border: rgba(232, 121, 154, 0.42);
}

.tone-narrative {
  --node-a: 232, 121, 154;
  --node-b: 247, 178, 103;
  --node-border: rgba(232, 121, 154, 0.4);
}

.tone-source {
  --node-a: 96, 165, 250;
  --node-b: 94, 232, 255;
  --node-border: rgba(96, 165, 250, 0.4);
}

.tone-confidence {
  --node-a: 247, 178, 103;
  --node-b: 235, 221, 184;
  --node-border: rgba(247, 178, 103, 0.42);
}

.tone-impact {
  --node-a: 255, 104, 118;
  --node-b: 232, 121, 154;
  --node-border: rgba(255, 104, 118, 0.4);
}

.tone-convergence {
  --node-a: 166, 126, 255;
  --node-b: 88, 214, 201;
  --node-border: rgba(166, 126, 255, 0.42);
}

@media (max-width: 640px) {
  .field-node {
    padding: 11px;
    margin: 3px 0;
    border-radius: 12px;
  }
}

/* Tinted input/select/textarea focus per phase (border accent) */
.form-phase--input    input:focus,
.form-phase--input    select:focus,
.form-phase--input    textarea:focus {
  border-color: rgba(88, 214, 201, 0.88);
  box-shadow: 0 0 0 1px rgba(88, 214, 201, 0.22), 0 0 14px rgba(88, 214, 201, 0.2);
}
.form-phase--authority input:focus,
.form-phase--authority select:focus,
.form-phase--authority textarea:focus {
  border-color: rgba(121, 184, 255, 0.88);
  box-shadow: 0 0 0 1px rgba(121, 184, 255, 0.22), 0 0 14px rgba(121, 184, 255, 0.2);
}
.form-phase--signal input:focus,
.form-phase--signal select:focus,
.form-phase--signal textarea:focus {
  border-color: rgba(110, 214, 138, 0.88);
  box-shadow: 0 0 0 1px rgba(110, 214, 138, 0.22), 0 0 14px rgba(110, 214, 138, 0.2);
}
.form-phase--conversation input:focus,
.form-phase--conversation select:focus,
.form-phase--conversation textarea:focus {
  border-color: rgba(232, 121, 154, 0.88);
  box-shadow: 0 0 0 1px rgba(232, 121, 154, 0.22), 0 0 14px rgba(232, 121, 154, 0.2);
}
.form-phase--traceability input:focus,
.form-phase--traceability select:focus,
.form-phase--traceability textarea:focus {
  border-color: rgba(96, 165, 250, 0.88);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.22), 0 0 14px rgba(96, 165, 250, 0.2);
}
.form-phase--decision input:focus,
.form-phase--decision select:focus,
.form-phase--decision textarea:focus {
  border-color: rgba(74, 222, 128, 0.88);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.22), 0 0 14px rgba(74, 222, 128, 0.2);
}

/* Suggestion chips inherit phase tint */
.form-phase--input    .suggestion-soft { border-color: rgba(88, 214, 201, 0.28); }
.form-phase--authority .suggestion-soft { border-color: rgba(121, 184, 255, 0.28); }
.form-phase--signal   .suggestion-soft { border-color: rgba(110, 214, 138, 0.28); }
.form-phase--conversation .suggestion-soft { border-color: rgba(232, 121, 154, 0.28); }
.form-phase--traceability .suggestion-soft { border-color: rgba(96, 165, 250, 0.28); }
.form-phase--decision .suggestion-soft { border-color: rgba(74, 222, 128, 0.28); }

/* Responsive: narrow phases on mobile */
@media (max-width: 640px) {
  .form-phase {
    padding: 14px 12px 13px;
    border-radius: 14px;
  }
  .form-phase::before {
    top: 12px;
    bottom: 12px;
  }
}

/* ─── ENTERPRISE INTELLIGENCE WCOR CABIN ─────────────────────────────────── */

.enterprise-form {
  gap: 14px;
}

.enterprise-phase {
  border-radius: 20px;
  border-width: 1.5px;
  background:
    radial-gradient(circle at 0 0, rgba(var(--enterprise-rgb, 121, 184, 255), 0.13), transparent 48%),
    linear-gradient(180deg, rgba(9, 18, 30, 0.94), rgba(6, 12, 22, 0.98));
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(var(--enterprise-rgb, 121, 184, 255), 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.enterprise-phase .phase-label {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
}

.enterprise-phase .phase-kicker {
  opacity: 0.84;
  color: rgba(222, 236, 250, 0.82);
}

.enterprise-node {
  border-width: 1.5px;
  background:
    linear-gradient(170deg, rgba(var(--node-a), 0.16), rgba(var(--node-b), 0.07)),
    rgba(7, 14, 24, 0.88);
  box-shadow:
    0 14px 24px rgba(3, 8, 14, 0.3),
    0 0 14px rgba(var(--node-a), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.enterprise-node--contextual-recommended {
  border-color: rgba(74, 222, 128, 0.44);
  background:
    linear-gradient(155deg, rgba(10, 34, 24, 0.32), rgba(8, 18, 30, 0.72)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  box-shadow:
    inset 0 0 0 1px rgba(126, 255, 184, 0.08),
    0 0 0 1px rgba(74, 222, 128, 0.12),
    0 14px 30px rgba(1, 8, 18, 0.34),
    0 0 24px rgba(74, 222, 128, 0.12);
}

.enterprise-node--contextual-recommended::before {
  background: linear-gradient(180deg, #7dffb8, rgba(125, 255, 184, 0.45));
  box-shadow: 0 0 12px rgba(125, 255, 184, 0.35);
}

.enterprise-node label > span {
  color: #deedf8;
}

.enterprise-node--contextual-recommended label > span {
  color: #d7ffea;
  text-shadow: 0 0 10px rgba(125, 255, 184, 0.12);
}

.enterprise-node--contextual-recommended label > span::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 999px;
  background: #7dffb8;
  box-shadow: 0 0 10px rgba(125, 255, 184, 0.48);
  vertical-align: middle;
}

.enterprise-node input,
.enterprise-node select,
.enterprise-node textarea {
  border-width: 1.5px;
  border-color: rgba(var(--node-a), 0.4);
  background: linear-gradient(180deg, rgba(7, 14, 24, 0.98), rgba(5, 10, 18, 0.99));
}

.enterprise-node input:hover,
.enterprise-node select:hover,
.enterprise-node textarea:hover {
  border-color: rgba(var(--node-a), 0.58);
  box-shadow: 0 0 12px rgba(var(--node-a), 0.14), inset 0 0 0 1px rgba(var(--node-a), 0.12);
}

.enterprise-node input:focus,
.enterprise-node select:focus,
.enterprise-node textarea:focus {
  border-color: rgba(var(--node-a), 0.9);
  box-shadow: 0 0 0 1px rgba(var(--node-a), 0.24), 0 0 15px rgba(var(--node-a), 0.22), inset 0 0 10px rgba(var(--node-a), 0.12);
}

.enterprise-two-col {
  gap: 14px;
}

.enterprise-phase--transformation .enterprise-node--full-span {
  grid-column: 1 / -1;
}

.enterprise-bridge-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(88, 214, 201, 0.12), rgba(247, 178, 103, 0.08)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(88, 214, 201, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.enterprise-bridge-title {
  display: block;
  color: #7deee1;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.enterprise-bridge-help {
  margin-top: 8px;
}

.enterprise-bridge-body {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.enterprise-bridge-status {
  border-color: rgba(124, 255, 178, 0.28);
  background: rgba(124, 255, 178, 0.14);
  color: #d8ffe7;
}

.enterprise-bridge-preview {
  max-width: 68ch;
}

.enterprise-save {
  width: 100%;
  border: 1.5px solid rgba(97, 255, 158, 0.82);
  background: linear-gradient(135deg, rgba(52, 222, 120, 0.98), rgba(122, 255, 178, 0.9));
  color: #032213;
  box-shadow: 0 0 24px rgba(64, 255, 170, 0.32), 0 16px 30px rgba(6, 24, 16, 0.48), inset 0 0 12px rgba(255, 255, 255, 0.16);
}

.enterprise-save:hover,
.enterprise-save:focus-visible {
  border-color: rgba(140, 255, 194, 0.95);
  box-shadow: 0 0 28px rgba(64, 255, 170, 0.4), 0 18px 34px rgba(6, 24, 16, 0.56), inset 0 0 12px rgba(255, 255, 255, 0.2);
}

.enterprise-phase--identity {
  --enterprise-rgb: 121, 184, 255;
  --phase-color: rgba(121, 184, 255, 0.44);
}

.enterprise-phase--access {
  --enterprise-rgb: 88, 214, 201;
  --phase-color: rgba(88, 214, 201, 0.44);
}

.enterprise-phase--pressure {
  --enterprise-rgb: 247, 178, 103;
  --phase-color: rgba(247, 178, 103, 0.44);
}

.enterprise-phase--transformation {
  --enterprise-rgb: 88, 214, 201;
  --phase-color: rgba(88, 214, 201, 0.44);
}

.enterprise-phase--narrative {
  --enterprise-rgb: 189, 132, 255;
  --phase-color: rgba(189, 132, 255, 0.42);
}

.enterprise-phase--convergence {
  --enterprise-rgb: 74, 222, 128;
  --phase-color: rgba(74, 222, 128, 0.44);
}

.enterprise-phase--identity::before { background: #79b8ff; }
.enterprise-phase--pressure::before { background: #f7b267; }
.enterprise-phase--transformation::before { background: #58d6c9; }
.enterprise-phase--narrative::before { background: #bc84ff; }
.enterprise-phase--convergence::before { background: #4ade80; }
.enterprise-phase--access::before { background: #58d6c9; }

.enterprise-node--identity {
  --node-a: 121, 184, 255;
  --node-b: 94, 232, 255;
  --node-border: rgba(121, 184, 255, 0.44);
}

.enterprise-node--access {
  --node-a: 88, 214, 201;
  --node-b: 121, 184, 255;
  --node-border: rgba(88, 214, 201, 0.44);
}

.enterprise-source-select,
.enterprise-sector-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.25 6 6.25l5-5' stroke='%239fdfff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(7, 14, 24, 0.98), rgba(5, 10, 18, 0.99));
  background-repeat: no-repeat, no-repeat;
  background-position: calc(100% - 14px) 50%, 0 0;
  background-size: 12px 8px, auto;
}

.enterprise-sector-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.enterprise-sector-chip {
  appearance: none;
  border: 1px solid rgba(121, 184, 255, 0.34);
  background: linear-gradient(180deg, rgba(10, 21, 36, 0.9), rgba(7, 15, 26, 0.94));
  color: #cfe8ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.enterprise-sector-chip:hover,
.enterprise-sector-chip:focus-visible {
  border-color: rgba(88, 214, 201, 0.72);
  box-shadow: 0 0 0 1px rgba(88, 214, 201, 0.2), 0 0 12px rgba(88, 214, 201, 0.2);
  transform: translateY(-1px);
  outline: none;
}

.enterprise-sector-chip.is-active {
  border-color: rgba(124, 255, 178, 0.9);
  color: #e3ffef;
  background: linear-gradient(165deg, rgba(15, 46, 31, 0.96), rgba(8, 24, 18, 0.94));
  box-shadow: 0 0 0 1px rgba(124, 255, 178, 0.28), 0 0 16px rgba(74, 222, 128, 0.24);
}

.enterprise-sector-chip.is-suggested {
  border-color: rgba(247, 178, 103, 0.78);
  box-shadow: 0 0 0 1px rgba(247, 178, 103, 0.22), inset 0 0 0 1px rgba(247, 178, 103, 0.16);
}

.enterprise-sector-chip.is-active.is-suggested {
  border-color: rgba(124, 255, 178, 0.94);
  box-shadow: 0 0 0 1px rgba(124, 255, 178, 0.3), 0 0 20px rgba(124, 255, 178, 0.28), inset 0 0 0 1px rgba(247, 178, 103, 0.22);
}

.enterprise-sector-chip--other {
  border-style: dashed;
}

.enterprise-pressure-chip-list,
.enterprise-pressure-suggestion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.enterprise-pressure-chip,
.enterprise-pressure-suggestion-chip {
  appearance: none;
  border: 1px solid rgba(247, 178, 103, 0.34);
  background: linear-gradient(180deg, rgba(31, 22, 11, 0.9), rgba(23, 16, 8, 0.94));
  color: #ffe6c6;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.enterprise-pressure-chip:hover,
.enterprise-pressure-chip:focus-visible,
.enterprise-pressure-suggestion-chip:hover,
.enterprise-pressure-suggestion-chip:focus-visible {
  border-color: rgba(255, 204, 132, 0.78);
  box-shadow: 0 0 0 1px rgba(255, 204, 132, 0.2), 0 0 12px rgba(247, 178, 103, 0.2);
  transform: translateY(-1px);
  outline: none;
}

.enterprise-pressure-chip.is-active {
  border-color: rgba(124, 255, 178, 0.9);
  color: #e3ffef;
  background: linear-gradient(165deg, rgba(15, 46, 31, 0.96), rgba(8, 24, 18, 0.94));
  box-shadow: 0 0 0 1px rgba(124, 255, 178, 0.28), 0 0 16px rgba(74, 222, 128, 0.24);
}

.enterprise-pressure-chip.is-suggested {
  position: relative;
  border-color: rgba(247, 178, 103, 0.9);
  box-shadow: 0 0 0 1px rgba(247, 178, 103, 0.24), 0 0 14px rgba(247, 178, 103, 0.22), inset 0 0 0 1px rgba(247, 178, 103, 0.16);
}

.enterprise-pressure-chip.is-suggested::after {
  content: attr(data-wcor-suggested);
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 163, 0.65);
  color: #ffdcae;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(160deg, rgba(64, 41, 11, 0.95), rgba(34, 23, 8, 0.94));
  box-shadow: 0 0 10px rgba(247, 178, 103, 0.2);
  vertical-align: middle;
}

.enterprise-pressure-chip.is-active.is-suggested {
  border-color: rgba(247, 178, 103, 0.94);
  color: #ffeed7;
  background: linear-gradient(160deg, rgba(56, 37, 12, 0.97), rgba(29, 20, 9, 0.95));
  box-shadow: 0 0 0 1px rgba(247, 178, 103, 0.3), 0 0 18px rgba(247, 178, 103, 0.3), inset 0 0 0 1px rgba(247, 178, 103, 0.2);
}

.enterprise-transformation-chip {
  border-color: rgba(88, 214, 201, 0.46);
  background: linear-gradient(180deg, rgba(8, 31, 31, 0.92), rgba(7, 24, 28, 0.94));
  color: #d2fff9;
}

.enterprise-transformation-chip:hover,
.enterprise-transformation-chip:focus-visible {
  border-color: rgba(116, 245, 232, 0.84);
  box-shadow: 0 0 0 1px rgba(116, 245, 232, 0.22), 0 0 12px rgba(88, 214, 201, 0.24);
}

.enterprise-transformation-chip.is-suggested {
  position: relative;
  border-color: rgba(88, 214, 201, 0.9);
  box-shadow: 0 0 0 1px rgba(88, 214, 201, 0.26), 0 0 16px rgba(88, 214, 201, 0.24), inset 0 0 0 1px rgba(88, 214, 201, 0.18);
}

.enterprise-transformation-chip.is-suggested::after {
  content: attr(data-wcor-suggested);
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid rgba(158, 255, 243, 0.65);
  color: #bffef7;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(160deg, rgba(9, 44, 43, 0.95), rgba(7, 30, 33, 0.94));
  box-shadow: 0 0 10px rgba(88, 214, 201, 0.22);
  vertical-align: middle;
}

.enterprise-transformation-chip.is-active {
  border-color: rgba(132, 255, 231, 0.92);
  color: #e9fff9;
  background: linear-gradient(165deg, rgba(12, 52, 40, 0.95), rgba(8, 29, 23, 0.94));
  box-shadow: 0 0 0 1px rgba(132, 255, 231, 0.26), 0 0 16px rgba(88, 214, 201, 0.24);
}

.enterprise-transformation-chip.is-active.is-suggested {
  border-color: rgba(132, 255, 231, 0.94);
  color: #eefffb;
  background: linear-gradient(160deg, rgba(10, 53, 44, 0.97), rgba(8, 31, 27, 0.95));
  box-shadow: 0 0 0 1px rgba(132, 255, 231, 0.3), 0 0 18px rgba(88, 214, 201, 0.3), inset 0 0 0 1px rgba(132, 255, 231, 0.2);
}

.enterprise-pressure-chip--other {
  border-style: dashed;
}

.enterprise-pressure-reading-panel {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(124, 255, 178, 0.56);
  background: linear-gradient(160deg, rgba(9, 24, 17, 0.92), rgba(6, 16, 28, 0.9));
  box-shadow: 0 0 0 1px rgba(124, 255, 178, 0.12), 0 0 14px rgba(74, 222, 128, 0.16);
}

.enterprise-pressure-reading-panel--amber {
  border-color: rgba(247, 178, 103, 0.74);
  background: linear-gradient(160deg, rgba(40, 24, 8, 0.92), rgba(16, 14, 26, 0.9));
  box-shadow: 0 0 0 1px rgba(247, 178, 103, 0.14), 0 0 14px rgba(247, 178, 103, 0.2);
}

.enterprise-selected-sectors-panel {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(124, 255, 178, 0.56);
  background: linear-gradient(160deg, rgba(9, 24, 17, 0.92), rgba(6, 16, 28, 0.9));
  box-shadow: 0 0 0 1px rgba(124, 255, 178, 0.12), 0 0 14px rgba(74, 222, 128, 0.16);
}

.enterprise-selected-sectors-title {
  margin: 0 0 8px;
  color: #87ffc1;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.enterprise-selected-sectors-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.enterprise-selected-sectors-item {
  color: #d7ffeb;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.enterprise-selected-sectors-empty {
  color: #a9f5cc;
}

.enterprise-source-select--recommended {
  border-color: rgba(74, 222, 128, 0.88);
  color: #d2ffe7;
  -webkit-text-fill-color: #d2ffe7;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.25 6 6.25l5-5' stroke='%23b8ffd4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(10, 34, 24, 0.98), rgba(7, 23, 17, 0.99));
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.24), 0 0 18px rgba(74, 222, 128, 0.24), inset 0 0 0 1px rgba(126, 255, 184, 0.1);
  text-shadow: 0 0 10px rgba(121, 255, 182, 0.18);
}

.enterprise-sector-select--recommended {
  border-color: rgba(74, 222, 128, 0.88);
  color: #d2ffe7;
  -webkit-text-fill-color: #d2ffe7;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.25 6 6.25l5-5' stroke='%23b8ffd4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(10, 34, 24, 0.98), rgba(7, 23, 17, 0.99));
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.24), 0 0 18px rgba(74, 222, 128, 0.24), inset 0 0 0 1px rgba(126, 255, 184, 0.1);
  text-shadow: 0 0 10px rgba(121, 255, 182, 0.18);
}

.enterprise-source-select--recommended:hover,
.enterprise-source-select--recommended:focus,
.enterprise-sector-select--recommended:hover,
.enterprise-sector-select--recommended:focus {
  border-color: rgba(126, 255, 184, 0.96);
  box-shadow: 0 0 0 1px rgba(126, 255, 184, 0.28), 0 0 22px rgba(74, 222, 128, 0.28), inset 0 0 0 1px rgba(126, 255, 184, 0.16);
}

.enterprise-consultation-suggestion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(124, 255, 178, 0.42);
  border-radius: 999px;
  color: #7CFFB2;
  font-size: 0.86rem;
  font-weight: 700;
  background: linear-gradient(145deg, rgba(11, 39, 27, 0.92), rgba(8, 24, 18, 0.84));
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.18), inset 0 0 0 1px rgba(124, 255, 178, 0.1);
  width: fit-content;
  max-width: 100%;
  white-space: normal;
}

.enterprise-node--contextual-recommended .enterprise-consultation-suggestion {
  border-color: rgba(124, 255, 178, 0.56);
  color: #7CFFB2;
  font-weight: 700;
  background: linear-gradient(145deg, rgba(11, 39, 27, 0.92), rgba(8, 24, 18, 0.84));
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.22), inset 0 0 0 1px rgba(124, 255, 178, 0.14);
}

.enterprise-node--contextual-recommended .enterprise-consultation-suggestion::before {
  content: 'WCOR';
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  margin-right: 2px;
  border-radius: 999px;
  border: 1px solid rgba(126, 255, 184, 0.35);
  background: rgba(74, 222, 128, 0.12);
  color: #7dffb8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(126, 255, 184, 0.18);
}

.enterprise-consultation-suggestion,
.enterprise-consultation-suggestion *,
.enterprise-node--contextual-recommended .enterprise-consultation-suggestion,
.enterprise-node--contextual-recommended .enterprise-consultation-suggestion * {
  color: #7CFFB2;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(124, 255, 178, 0.22);
}

.enterprise-node--sector-detected {
  border-color: rgba(74, 222, 128, 0.42);
  background:
    linear-gradient(155deg, rgba(10, 34, 24, 0.22), rgba(8, 18, 30, 0.7)),
    rgba(7, 14, 24, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(126, 255, 184, 0.08),
    0 0 0 1px rgba(74, 222, 128, 0.12),
    0 14px 24px rgba(3, 8, 14, 0.3),
    0 0 18px rgba(74, 222, 128, 0.14);
}

.enterprise-node--sector-detected label > span {
  color: #d7ffea;
}

.enterprise-detected-sector-suggestion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(126, 255, 184, 0.42);
  border-radius: 999px;
  color: #d8ffea;
  background: linear-gradient(145deg, rgba(11, 39, 27, 0.92), rgba(8, 24, 18, 0.84));
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.18), inset 0 0 0 1px rgba(126, 255, 184, 0.1);
  width: fit-content;
  max-width: 100%;
  white-space: normal;
}

#enterpriseConsultationSuggestion,
#enterpriseConsultationSuggestion *,
.enterprise-consultation-suggestion,
.enterprise-consultation-suggestion * {
  color: #7CFFB2 !important;
  -webkit-text-fill-color: #7CFFB2 !important;
}

.enterprise-source-select option.suggested-option {
  color: #79e9a8 !important;
  background: #091c30;
  font-weight: 700 !important;
}

.enterprise-source-select option:checked.suggested-option {
  background: #0f2b20 !important;
  color: #b7ffd9 !important;
  font-weight: 700 !important;
}

#enterpriseConsultationOtherField {
  margin-top: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(88, 214, 201, 0.28);
  background: linear-gradient(170deg, rgba(88, 214, 201, 0.08), rgba(121, 184, 255, 0.05));
}

#enterpriseConsultationOtherField textarea {
  min-height: 72px;
}

#enterpriseSectorOtherField {
  margin-top: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(88, 214, 201, 0.28);
  background: linear-gradient(170deg, rgba(88, 214, 201, 0.08), rgba(121, 184, 255, 0.05));
}

#enterpriseSectorOtherField textarea {
  min-height: 72px;
}

#enterprisePressureSignalOtherField {
  margin-top: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(247, 178, 103, 0.3);
  background: linear-gradient(170deg, rgba(247, 178, 103, 0.08), rgba(121, 184, 255, 0.05));
}

#enterprisePressureSignalOtherField textarea {
  min-height: 72px;
}

#enterpriseTransformationSignalOtherField {
  margin-top: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(88, 214, 201, 0.3);
  background: linear-gradient(170deg, rgba(88, 214, 201, 0.08), rgba(121, 184, 255, 0.05));
}

#enterpriseTransformationSignalOtherField textarea {
  min-height: 72px;
}

.enterprise-transformation-confirmed-panel {
  border-color: rgba(124, 255, 178, 0.62);
  background: linear-gradient(160deg, rgba(8, 26, 18, 0.93), rgba(7, 19, 30, 0.9));
}

.enterprise-transformation-reading-panel {
  border-color: rgba(88, 214, 201, 0.62);
  background: linear-gradient(160deg, rgba(7, 28, 32, 0.93), rgba(7, 20, 34, 0.9));
  box-shadow: 0 0 0 1px rgba(88, 214, 201, 0.14), 0 0 14px rgba(88, 214, 201, 0.18);
}

.enterprise-transformation-reading-panel .enterprise-selected-sectors-title {
  color: #91fff8;
}

.enterprise-node--pressure {
  --node-a: 247, 178, 103;
  --node-b: 255, 210, 148;
  --node-border: rgba(247, 178, 103, 0.44);
}

.enterprise-node--transformation {
  --node-a: 88, 214, 201;
  --node-b: 110, 214, 138;
  --node-border: rgba(88, 214, 201, 0.44);
}

.enterprise-node--narrative {
  --node-a: 189, 132, 255;
  --node-b: 232, 121, 154;
  --node-border: rgba(189, 132, 255, 0.42);
}

.enterprise-node--convergence {
  --node-a: 74, 222, 128;
  --node-b: 88, 214, 201;
  --node-border: rgba(74, 222, 128, 0.42);
}

@media (max-width: 980px) {
  .enterprise-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .enterprise-phase {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .enterprise-sector-chip-list {
    gap: 6px;
  }

  .enterprise-sector-chip {
    font-size: 0.78rem;
    padding: 7px 10px;
  }

  .enterprise-pressure-chip,
  .enterprise-pressure-suggestion-chip {
    font-size: 0.76rem;
    padding: 7px 10px;
  }

  .enterprise-selected-sectors-panel {
    padding: 9px 10px;
  }

  .enterprise-pressure-reading-panel {
    padding: 9px 10px;
  }

  .enterprise-selected-sectors-item {
    font-size: 0.84rem;
  }

  .enterprise-phase .phase-label {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .enterprise-phase--access .phase-label {
    white-space: normal;
    flex-wrap: wrap;
  }

  .enterprise-phase--access .phase-kicker {
    white-space: normal;
    line-height: 1.32;
  }

  .enterprise-save {
    min-height: 46px;
  }
}

.enterprise-decision-card{
  border:1px solid rgba(102,186,255,.35);
  background:rgba(28,55,78,.58);
  border-radius:18px;
  padding:22px;
}

.enterprise-decision-card h3{
  margin:0 0 8px;
  color:#72e6ff;
  font-size:18px;
}

.enterprise-decision-card p{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.45;
}

.enterprise-relation-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(102,186,255,.42);
  background:rgba(60,108,150,.32);
  color:#ffe0b8;
  border-radius:999px;
  padding:8px 14px;
  font-weight:800;
  font-size:13px;
  margin-bottom:14px;
}

.enterprise-relation-badge span{
  color:#72e6ff;
}

.enterprise-relation-note{
  color:#b8c7d8;
}

.enterprise-decision-visual-button{
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#74e8ff,#6fa8ff);
  color:#04111d;
  font-weight:800;
  padding:12px 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
}
