/* Saved SIARA plans, rendered read-only for the local marketing review. */
.vx-v4 .vx-hero-layout {
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
}
.wf-hero-proof {
  border-left: 1px solid var(--line);
  padding-left: 44px;
}
.wf-overline,
.rp-kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--steel);
}
.wf-hero-proof > strong {
  display: block;
  font: 700 clamp(76px, 8vw, 112px) / 1.15 var(--heading);
  letter-spacing: -6px;
  margin-top: 12px;
}
.wf-hero-proof > strong > span {
  color: var(--blue);
}
.wf-hero-proof > p {
  font-size: 21px;
}
.wf-hero-proof > div {
  margin-top: 22px;
  color: var(--steel);
  font-size: 15px;
}
.rp-section {
  padding-block: 72px;
  background: var(--paper);
}
.rp-context {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 0 23px;
  color: var(--steel);
  font-size: 12px;
  flex-wrap: wrap;
}
.rp-context strong {
  font-weight: 600;
  margin-left: 8px;
}
.rp-context-active {
  color: var(--blue-dark);
}
.rp-workbench {
  border: 1px solid #c7d6e8;
  background: white;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 16px 40px #10283f08;
}
.rp-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--navy);
  color: #fff;
  padding: 20px 25px;
  font-size: 14px;
}
.rp-topbar > div {
  display: flex;
  gap: 14px;
  align-items: center;
}
.rp-topbar > div > span {
  color: #c8d9ee;
}
.rp-draft {
  font-size: 11px;
  color: #d5e3f6;
  border: 1px solid #56718d;
  border-radius: 4px;
  padding: 4px 9px;
}
.rp-workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
}
.rp-sidebar {
  background: #f8fafd;
  border-right: 1px solid var(--line);
  padding: 28px 18px;
  min-width: 0;
}
.rp-sidebar h3 {
  font: 700 21px/1.4 var(--heading);
  letter-spacing: -0.4px;
  margin-top: 12px;
}
.rp-sidebar-intro {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.6;
  margin-top: 12px;
}
.rp-sidebar nav {
  display: grid;
  gap: 7px;
  margin: 24px -8px;
}
.rp-feature {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: var(--steel);
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 14px 10px;
  font-size: 12px;
  line-height: 1.5;
}
.rp-feature > span:first-child {
  font-size: 10px;
  margin-top: 2px;
}
.rp-feature strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.rp-feature small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.rp-feature:hover {
  background: #eaf0fb;
}
.rp-feature[aria-selected="true"] {
  background: #fff;
  border-color: #b7ccef;
  box-shadow: inset 3px 0 var(--blue);
  color: var(--blue-dark);
}
.rp-set-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.rp-set-stats strong {
  font: 700 40px/1 var(--heading);
  letter-spacing: -2px;
}
.rp-set-stats span {
  font-size: 11px;
  color: var(--steel);
}
.rp-sidebar-note {
  font-size: 11px;
  color: var(--steel);
  margin-top: 12px;
}
.rp-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  font-size: 10px;
  color: var(--steel);
}
.rp-legend > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rp-legend i {
  display: block;
  width: 10px;
  height: 10px;
  border: 1px solid #a8bdd6;
  border-radius: 2px;
  background: white;
}
.rp-legend .rp-dot-decision {
  background: #fff8e9;
  border-color: #b68631;
  transform: rotate(45deg);
}
.rp-legend .rp-dot-custom {
  background: #f5f1ff;
  border-color: #aa92ce;
}
.rp-panels {
  min-width: 0;
}
.rp-panel[hidden] {
  display: none;
}
.rp-panel {
  padding: 26px 26px 0;
  border-bottom: 1px solid var(--line);
}
.rp-ready .rp-panel {
  border: 0;
}
.rp-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.rp-panel-top h3 {
  font: 700 23px/1.35 var(--heading);
  letter-spacing: -0.5px;
  margin-top: 7px;
  max-width: 570px;
}
.rp-enlarge {
  font-size: 12px;
  white-space: nowrap;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.rp-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
  color: var(--steel);
  margin: 17px 0;
}
.rp-metrics strong {
  color: var(--navy);
  font-size: 15px;
  margin-right: 3px;
}
.rp-requirements {
  padding: 13px 17px;
  background: #f2f6fc;
  border-left: 2px solid var(--blue);
  font-size: 12px;
  color: var(--steel);
}
.rp-requirements summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  min-height: 24px;
}
.rp-requirements ul {
  margin: 8px 0 0;
  padding-left: 17px;
  line-height: 1.7;
}
.rp-graph-shell {
  overflow: auto;
  margin-top: 10px;
  overscroll-behavior-x: contain;
}
.rp-graph-shell > .plan-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  stroke: none;
  fill: none;
  stroke-linecap: initial;
  stroke-linejoin: initial;
}
.rp-graph-shell:focus-visible {
  outline-offset: -4px;
}
.rp-graph-shell .plan-node-title {
  font-family: var(--body);
}
.rp-node-help {
  font-size: 11px;
  color: var(--steel);
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.rp-list-toggle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 40px;
  padding: 7px 12px;
  color: var(--blue-dark);
  font-size: 12px;
  cursor: pointer;
}
.rp-fallback {
  padding-block: 24px;
}
.rp-fallback[hidden] {
  display: none;
}
.rp-fallback h4 {
  font-size: 17px;
  margin: 0 0 12px;
}
.rp-step-detail {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font-size: 14px;
}
.rp-step-detail summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
  min-height: 30px;
}
.rp-detail-content {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
}
.rp-detail-content h3 {
  color: var(--navy);
  font: 700 25px/1.35 var(--heading);
  letter-spacing: -0.5px;
  margin: 8px 0 24px;
}
.rp-detail-content h4 {
  color: var(--navy);
  font-size: 13px;
  margin: 22px 0 7px;
}
.rp-detail-content ul {
  padding-left: 20px;
  margin-block: 8px;
}
.rp-detail-content p + p {
  margin-top: 10px;
}
.rp-detail-tag {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 600;
}
.rp-detail-note {
  padding: 14px 16px;
  border-left: 2px solid var(--blue);
  background: var(--paper);
  font-size: 12px;
  margin-top: 24px;
}
.rp-provenance {
  border-top: 1px solid var(--line);
  padding: 18px 25px;
  font-size: 11px;
  color: var(--steel);
  line-height: 1.7;
  background: #fff;
}
.rp-takeaway {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
  padding-top: 30px;
}
.rp-takeaway strong {
  font: 700 23px/1.4 var(--heading);
  letter-spacing: -0.5px;
}
.rp-takeaway p {
  font-size: 15px;
  color: var(--steel);
}
.rp-inspector {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  width: min(620px, calc(100% - 32px));
  max-height: 85dvh;
  color: var(--navy);
  box-shadow: 0 24px 90px #10283f44;
}
.rp-inspector::backdrop {
  background: #10283fa6;
}
.rp-inspector-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  background: var(--paper);
  position: sticky;
  top: 0;
}
.rp-inspector-close {
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 40px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
}
.rp-inspector-body {
  padding: 26px;
}
.rp-scroll-hint {
  display: none;
}
@media (max-width: 1100px) {
  .rp-workspace {
    grid-template-columns: 1fr;
  }
  .rp-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 25px;
  }
  .rp-sidebar h3 {
    font-size: 22px;
  }
  .rp-sidebar h3 br {
    display: none;
  }
  .rp-sidebar nav {
    grid-template-columns: repeat(3, 1fr);
    margin: 16px 0 0;
  }
  .rp-sidebar-intro,
  .rp-set-stats,
  .rp-sidebar-note {
    display: none;
  }
  .rp-legend {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 18px;
    gap: 20px;
  }
  .rp-feature {
    padding: 12px;
  }
}
@media (max-width: 850px) {
  .vx-v4 .vx-hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .wf-hero-proof {
    padding-left: 22px;
  }
  .wf-hero-proof > strong {
    font-size: 70px;
    letter-spacing: -3px;
  }
  .rp-section {
    padding-block: 50px;
  }
  .rp-takeaway {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rp-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .rp-context {
    gap: 10px;
    font-size: 11px;
  }
  .rp-context > span:nth-child(4) {
    display: none;
  }
  .rp-context > span:last-child {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .vx-v4 .vx-review nav {
    gap: 8px 14px;
    flex-wrap: wrap;
  }
  .rp-sidebar {
    padding: 20px 16px;
  }
  .rp-sidebar nav {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .rp-sidebar h3 {
    font-size: 20px;
  }
  .rp-feature {
    padding: 10px 12px;
  }
  .rp-feature small {
    margin: 0;
  }
  .rp-feature strong {
    font-size: 12px;
  }
  .rp-legend {
    gap: 10px;
    font-size: 9px;
  }
  .rp-panel {
    padding: 22px 16px 0;
  }
  .rp-panel-top {
    align-items: flex-start;
    gap: 12px;
  }
  .rp-panel-top h3 {
    font-size: 21px;
  }
  .rp-metrics {
    gap: 14px;
    font-size: 10px;
  }
  .rp-metrics strong {
    font-size: 13px;
  }
  .rp-requirements {
    padding: 12px;
    font-size: 11px;
  }
  .rp-graph-shell > .plan-svg {
    min-width: 800px;
  }
  .rp-graph-shell {
    max-height: 700px;
    border: 1px solid var(--line);
    border-radius: 5px;
  }
  .rp-scroll-hint {
    display: block;
    font-size: 11px;
    color: var(--steel);
    margin: 12px 0 8px;
  }
  .rp-node-help {
    align-items: flex-start;
  }
  .rp-node-help > span {
    max-width: 150px;
  }
  .rp-provenance {
    padding: 16px;
    font-size: 10px;
  }
  .rp-inspector-body {
    padding: 20px;
  }
}

/* Isolated live renderer: application styles remain inside the frame. */
.rp-graph-shell {
  margin-block: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  max-height: none;
  height: clamp(720px, 68vw, 980px);
}
.rp-graph-shell[hidden] {
  display: none;
}
.rp-native-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.rp-expanded {
  padding: 0;
  width: min(1600px, calc(100vw - 32px));
  height: 92dvh;
  max-width: none;
  max-height: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
}
.rp-expanded[open] {
  display: flex;
  flex-direction: column;
}
.rp-expanded::backdrop {
  background: #10283fa6;
}
.rp-expanded .rp-inspector-toolbar {
  flex-shrink: 0;
}
.rp-expanded-body {
  flex: 1;
  min-height: 0;
}
.rp-expanded-close {
  min-height: 40px;
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  color: var(--navy);
}
.rp-expanded-note {
  padding: 10px 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--steel);
}
@media (max-width: 600px) {
  .rp-graph-shell {
    height: 560px;
  }
  .rp-expanded {
    width: calc(100vw - 12px);
    height: 96dvh;
  }
}
