:root {
  --gpp-navy: #06142B;
  --gpp-panel: #0A2143;
  --gpp-card: #0E2A50;
  --gpp-blue: #24406B;
  --gpp-band: #123158;
  --gpp-gold: #C99A3E;
  --gpp-gold-text: #E1B75C;
  --gpp-gray: #E9EDF4;
  --gpp-text: #06142B;
  --gpp-border: rgba(36, 64, 107, .18);
  --gpp-muted: rgba(36, 64, 107, .76);
  --gpp-surface: #fff;
  --gpp-lab: #2F6B54;
  --gpp-ok: #3F7D55;
  --gpp-danger: #9C4A3A;
  --gpp-soft-shadow: 0 10px 28px rgba(6, 20, 43, .10);
  --gpp-radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--gpp-text);
  background: var(--gpp-gray);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.lab-auth {
  background: var(--gpp-navy);
}

.auth-shell,
.setup-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.auth-card,
.setup-card {
  width: min(720px, 100%);
  padding: 40px;
  border: 1px solid var(--gpp-border);
  border-top: 4px solid var(--gpp-gold);
  background: #fff;
  box-shadow: var(--gpp-soft-shadow);
}

.setup-kicker {
  margin: 0 0 12px;
  color: var(--gpp-gold);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  color: var(--gpp-navy);
  line-height: 1.15;
}

p {
  margin: 0;
  line-height: 1.7;
}

.auth-card__intro,
.auth-note {
  color: rgba(23, 32, 51, .72);
}

.auth-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gpp-navy);
}

input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(8, 17, 31, .18);
  border-radius: 4px;
  font: inherit;
  color: var(--gpp-text);
  background: #fff;
}

select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(8, 17, 31, .18);
  border-radius: 4px;
  font: inherit;
  color: var(--gpp-text);
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gpp-gold-text);
  outline-offset: 2px;
}

button {
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  padding: 11px 18px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--gpp-navy);
  background: var(--gpp-gold);
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

button:hover,
.btn-link:hover {
  background: var(--gpp-gold-text);
}

button:active,
.btn-link:active {
  transform: translateY(1px);
}

.alert {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(196, 162, 77, .45);
  background: rgba(196, 162, 77, .12);
  color: var(--gpp-navy);
  line-height: 1.5;
}

.session-warning {
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(196, 162, 77, .46);
  border-radius: 10px;
  background: rgba(196, 162, 77, .1);
  color: #fff;
  line-height: 1.45;
}

.auth-note {
  margin-top: 22px;
  font-size: 13px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 70px;
  padding: 12px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: var(--gpp-navy);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  color: var(--gpp-gold);
  font-size: 24px;
  line-height: 1;
}

.brand__text {
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.topnav a,
.logout-form button {
  color: rgba(255, 255, 255, .76);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.topnav a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
}

.topnav a:hover {
  color: #fff;
}

.logout-form {
  margin: 0;
}

.logout-form button {
  min-height: 36px;
  border: 1px solid rgba(196, 162, 77, .5);
  background: transparent;
  color: var(--gpp-gold);
}

.panel-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.page-head {
  margin-bottom: 28px;
}

.page-head h1 {
  font-size: clamp(30px, 4vw, 48px);
  max-width: 780px;
}

.page-head p:not(.setup-kicker) {
  max-width: 760px;
  color: rgba(23, 32, 51, .72);
}

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

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

.catalog-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.metric-card,
.panel-card {
  border: 1px solid var(--gpp-border);
  background: var(--gpp-surface);
  box-shadow: var(--gpp-soft-shadow);
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  padding: 22px;
}

.metric-card--compact {
  min-height: 92px;
  padding: 16px;
}

.metric-card span {
  color: rgba(23, 32, 51, .68);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.metric-card strong {
  color: var(--gpp-navy);
  font-size: 42px;
  line-height: 1;
}

.metric-card--compact strong {
  font-size: 30px;
}

.metric-card__text {
  font-size: 18px !important;
  line-height: 1.25 !important;
}

.metric-card--warn {
  border-color: rgba(196, 162, 77, .55);
}

.panel-card {
  margin-top: 24px;
  padding: 28px;
}

.panel-card--flush {
  margin-top: 0;
}

.panel-card--lab {
  border-color: rgba(47, 107, 84, .28);
  background: linear-gradient(180deg, #fff 0%, rgba(47, 107, 84, .06) 100%);
}

.panel-card h2 {
  margin: 0 0 10px;
  color: var(--gpp-navy);
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head .muted-text {
  margin-bottom: 0;
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.case-hero h1 {
  max-width: 820px;
  font-size: clamp(32px, 4vw, 52px);
}

.case-hero p:not(.setup-kicker) {
  max-width: 760px;
  color: rgba(23, 32, 51, .72);
}

.case-hero__badges,
.action-strip,
.document-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-hero__badges {
  justify-content: flex-end;
}

.action-strip {
  margin: -4px 0 24px;
  padding: 14px;
  border: 1px solid var(--gpp-border);
  background: #fff;
  box-shadow: var(--gpp-soft-shadow);
}

.page-actions {
  margin: -10px 0 24px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--gpp-gold);
  color: var(--gpp-navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .16s ease, transform .16s ease;
}

.btn-link--small {
  min-height: 34px;
  padding: 8px 11px;
  font-size: 11px;
}

.muted-text,
.form-help,
.table-note,
.empty-state {
  color: rgba(23, 32, 51, .66);
}

.muted-text {
  margin-bottom: 18px;
}

.form-help {
  font-size: 13px;
  line-height: 1.55;
}

.panel-card > .stack-form:not(.stack-form--inline) {
  max-width: 780px;
}

.document-upload-form {
  margin: 20px 0 26px;
  padding: 20px;
  border: 1px solid rgba(8, 17, 31, .1);
  background: rgba(244, 245, 247, .7);
}

.document-table {
  margin-top: 18px;
}

.table-note {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.4;
}

.empty-state {
  margin-top: 18px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.admin-grid,
.permission-grid,
.parameter-grid {
  display: grid;
  gap: 16px;
}

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

.permission-grid,
.parameter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.admin-card,
.permission-card {
  border: 1px solid rgba(8, 17, 31, .1);
  background: rgba(244, 245, 247, .72);
}

.admin-card {
  display: flex;
  min-height: 138px;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.admin-card strong,
.permission-card h3,
.parameter-grid h3 {
  margin: 0;
  color: var(--gpp-navy);
}

.admin-card strong {
  font-size: 18px;
}

.admin-card span {
  color: rgba(23, 32, 51, .7);
  line-height: 1.5;
}

.permission-card {
  padding: 18px;
}

.permission-card ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.permission-card li {
  line-height: 1.45;
}

.parameter-grid article {
  min-width: 0;
}

.parameter-grid h3 {
  font-size: 16px;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.status-list,
.compact-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(8, 17, 31, .08);
  background: rgba(244, 245, 247, .7);
}

.status-list span,
.compact-list span {
  color: rgba(23, 32, 51, .68);
  font-size: 13px;
}

.status-list strong {
  color: var(--gpp-navy);
  font-size: 22px;
}

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

.case-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 170px;
  padding: 18px;
  border: 1px solid var(--gpp-border);
  background: #fff;
}

.case-tile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-tile h3 {
  margin: 0;
  color: var(--gpp-navy);
  font-size: 18px;
  line-height: 1.25;
}

.case-tile h3 a {
  color: inherit;
  text-decoration-color: rgba(196, 162, 77, .7);
}

.case-tile p {
  color: rgba(23, 32, 51, .72);
  line-height: 1.5;
}

.case-tile .table-note {
  margin-top: auto;
}

.semaphore {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--gpp-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.semaphore--ok {
  border: 1px solid rgba(8, 17, 31, .14);
  background: rgba(244, 245, 247, .9);
}

.semaphore--done {
  border: 1px solid rgba(39, 124, 82, .25);
  background: rgba(39, 124, 82, .12);
}

.semaphore--warn,
.semaphore--client {
  border: 1px solid rgba(196, 162, 77, .5);
  background: rgba(196, 162, 77, .16);
}

.semaphore--danger {
  border: 1px solid rgba(178, 55, 55, .28);
  background: rgba(178, 55, 55, .12);
}

.compact-list li {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(8, 17, 31, .08);
}

.compact-list li:last-child {
  border-bottom: 0;
}

.compact-list a,
.compact-list strong {
  color: var(--gpp-navy);
  font-weight: 800;
}

.compact-list--boxed li {
  padding: 12px;
  border: 1px solid rgba(8, 17, 31, .08);
  background: rgba(244, 245, 247, .7);
}

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

.document-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--gpp-border);
  background: #fff;
}

.document-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.document-card h3 {
  margin: 0;
  color: var(--gpp-navy);
  font-size: 19px;
  line-height: 1.25;
}

.document-card__description {
  color: rgba(23, 32, 51, .72);
  font-size: 14px;
  line-height: 1.55;
}

.document-card__actions {
  margin-top: auto;
  padding-top: 4px;
}

.catalog-domain-stack {
  display: grid;
  gap: 24px;
}

.catalog-domain {
  display: grid;
  gap: 14px;
}

.catalog-domain h3 {
  margin: 0;
  color: var(--gpp-navy);
  font-size: 18px;
}

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

.catalog-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(8, 17, 31, .1);
  background: #fff;
}

.catalog-card--done {
  border-color: rgba(47, 107, 84, .28);
}

.catalog-card--warn {
  border-color: rgba(196, 162, 77, .44);
}

.catalog-card--danger {
  border-color: rgba(156, 74, 58, .32);
}

.catalog-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.catalog-card__head strong {
  color: var(--gpp-navy);
  font-size: 17px;
  line-height: 1.25;
}

.catalog-card p {
  color: rgba(23, 32, 51, .72);
  font-size: 14px;
  line-height: 1.55;
}

.catalog-meta {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 7px 12px;
  margin: 0;
  font-size: 13px;
}

.catalog-meta dt {
  color: rgba(23, 32, 51, .62);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-meta dd {
  min-width: 0;
  margin: 0;
  color: rgba(23, 32, 51, .76);
}

.catalog-note {
  padding: 10px 12px;
  border-left: 3px solid var(--gpp-gold);
  background: rgba(196, 162, 77, .08);
}

.catalog-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(47, 107, 84, .28);
  background: rgba(47, 107, 84, .1);
  color: var(--gpp-navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-cta--disabled {
  border-color: rgba(8, 17, 31, .12);
  background: rgba(244, 245, 247, .88);
  color: rgba(23, 32, 51, .6);
}

.form-static,
.lab-governance-note {
  padding: 14px 16px;
  border: 1px solid rgba(8, 17, 31, .1);
  background: rgba(244, 245, 247, .72);
}

.form-static span {
  display: block;
  margin-bottom: 5px;
  color: rgba(23, 32, 51, .62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.form-static strong,
.lab-governance-note strong {
  color: var(--gpp-navy);
}

.form-static p,
.lab-governance-note p {
  margin-top: 5px;
  color: rgba(23, 32, 51, .7);
  font-size: 14px;
  line-height: 1.55;
}

.document-meta {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 12px;
  margin: 0;
  font-size: 13px;
}

.document-meta dt {
  color: rgba(23, 32, 51, .62);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.document-meta dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.checksum {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.document-versions {
  border-top: 1px solid rgba(8, 17, 31, .08);
  padding-top: 10px;
}

.document-versions summary {
  color: var(--gpp-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.document-versions a {
  color: var(--gpp-navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration-color: rgba(196, 162, 77, .7);
}

.subsection-title {
  margin: 22px 0 10px;
  color: var(--gpp-navy);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.inline-version-form {
  margin-top: 10px;
}

.inline-version-form summary {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: var(--gpp-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.inline-version-form form {
  min-width: 260px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(8, 17, 31, .1);
  background: #fff;
}

.comment-form {
  margin: 20px 0 26px;
}

.comment-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.comment-list li {
  padding: 16px;
  border: 1px solid rgba(8, 17, 31, .1);
  background: rgba(244, 245, 247, .7);
}

.notice-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.notice-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(8, 17, 31, .1);
  background: rgba(244, 245, 247, .7);
}

.notice-list h3 {
  margin: 10px 0 4px;
  color: var(--gpp-navy);
}

.comment-list__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  margin-bottom: 8px;
}

.comment-list__head strong {
  color: var(--gpp-navy);
}

.comment-list__head span {
  color: rgba(23, 32, 51, .62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(8, 17, 31, .08);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 760px;
  background: #fff;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(8, 17, 31, .08);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gpp-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody tr:hover {
  background: rgba(244, 245, 247, .72);
}

td a {
  color: var(--gpp-navy);
  font-weight: 800;
  text-decoration-color: rgba(196, 162, 77, .7);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(196, 162, 77, .45);
  border-radius: 999px;
  background: rgba(196, 162, 77, .1);
  color: var(--gpp-navy);
  font-size: 12px;
  font-weight: 700;
}

.stack-form {
  display: grid;
  gap: 18px;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
}

.filter-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
  margin-top: 18px;
}

.filter-form__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
}

.filter-form__actions a {
  color: var(--gpp-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration-color: rgba(196, 162, 77, .7);
  text-transform: uppercase;
}

.stack-form--inline {
  grid-template-columns: minmax(180px, 260px) 1fr auto;
  align-items: end;
}

.detail-list {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px 18px;
  margin: 0;
}

.detail-list dt {
  color: rgba(23, 32, 51, .62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
}

.detail-list--wide {
  grid-template-columns: 170px 1fr;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
}

.timeline li::marker {
  color: var(--gpp-gold);
}

.timeline strong {
  display: block;
  color: var(--gpp-navy);
}

.timeline span {
  display: block;
  margin-top: 3px;
  color: rgba(23, 32, 51, .62);
  font-size: 13px;
}

.timeline p {
  margin-top: 6px;
}

.check-group {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(8, 17, 31, .12);
}

.check-group legend {
  padding: 0 6px;
  color: var(--gpp-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.check-row {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topnav {
    grid-column: 1 / -1;
    order: 3;
  }

  .metric-grid--four,
  .catalog-summary,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 18px;
  }

  .topnav {
    flex-wrap: wrap;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid--four,
  .catalog-summary,
  .catalog-grid,
  .dashboard-grid,
  .admin-grid,
  .permission-grid,
  .parameter-grid,
  .case-layout,
  .document-grid,
  .case-board,
  .search-form,
  .filter-form,
  .stack-form--inline,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .case-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .case-hero__badges {
    justify-content: flex-start;
  }

  .section-head {
    display: grid;
  }

  .notice-list li {
    grid-template-columns: 1fr;
  }

  .auth-card,
  .setup-card {
    padding: 28px 22px;
  }
}

/* COD-VIS-001: rebase visual patrimonial GPP Lab */
.auth-card,
.setup-card,
.metric-card,
.panel-card,
.action-strip,
.admin-card,
.permission-card,
.case-tile,
.document-card,
.comment-list li,
.notice-list li,
.compact-list--boxed li,
.document-upload-form,
.inline-version-form form,
.table-wrap,
.status-list li,
.status-pill,
.check-group {
  border-color: var(--gpp-border);
  border-radius: var(--gpp-radius);
  box-shadow: var(--gpp-soft-shadow);
}

.topbar {
  background: var(--gpp-navy);
  border-bottom-color: rgba(201, 154, 62, .34);
}

.brand__mark,
.setup-kicker,
.logout-form button,
.timeline li::marker {
  color: var(--gpp-gold-text);
}

button,
.btn-link {
  background: var(--gpp-gold);
  color: var(--gpp-navy);
  border-radius: var(--gpp-radius);
}

input,
select,
textarea {
  border-color: var(--gpp-border);
  border-radius: var(--gpp-radius);
}

.metric-card span,
.muted-text,
.form-help,
.table-note,
.empty-state,
.status-list span,
.compact-list span,
.case-tile p,
.document-card__description,
.document-meta dt,
.detail-list dt,
.timeline span,
.comment-list__head span {
  color: var(--gpp-muted);
}

.metric-card strong,
.panel-card h2,
.admin-card strong,
.permission-card h3,
.parameter-grid h3,
.case-tile h3,
.document-card h3,
.compact-list a,
.compact-list strong,
.subsection-title,
.inline-version-form summary,
.timeline strong,
.notice-list h3 {
  color: var(--gpp-navy);
}

.document-upload-form,
.admin-card,
.permission-card,
.status-list li,
.compact-list--boxed li,
.comment-list li,
.notice-list li {
  background: rgba(233, 237, 244, .72);
}

th {
  background: var(--gpp-band);
  color: #FFFFFF;
}

tbody tr:hover {
  background: rgba(233, 237, 244, .72);
}

.semaphore {
  gap: 6px;
  border-radius: 999px;
}

.semaphore--ok {
  border-color: rgba(36, 64, 107, .24);
  background: rgba(233, 237, 244, .9);
}

.semaphore--done {
  border-color: rgba(63, 125, 85, .28);
  background: rgba(63, 125, 85, .12);
}

.semaphore--warn,
.semaphore--client,
.status-pill {
  border-color: rgba(201, 154, 62, .48);
  background: rgba(201, 154, 62, .13);
}

.semaphore--danger {
  border-color: rgba(156, 74, 58, .28);
  background: rgba(156, 74, 58, .12);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* CODX-VIS-001: patron visual unico del Ecosistema GPP aplicado a GPP Lab */
:root {
  --gpp-glass: rgba(255, 255, 255, .055);
  --gpp-glass-strong: rgba(255, 255, 255, .085);
  --gpp-glass-line: rgba(233, 237, 244, .18);
  --gpp-lab-accent: #2F6B54;
  --gpp-lab-accent-light: #9ED2BC;
}

body,
.lab-panel,
.lab-auth {
  background: var(--gpp-navy);
}

.topbar {
  min-height: 88px;
  padding: 12px clamp(18px, 2.6vw, 36px);
  border-bottom: 1px solid rgba(201, 154, 62, .36);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.brand {
  gap: 12px;
}

.brand__logo {
  width: 96px;
  height: auto;
  flex: 0 0 auto;
  background: var(--gpp-navy);
}

.brand__product {
  display: grid;
  gap: 2px;
  color: #fff;
}

.brand__product strong {
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.1;
}

.brand__product small {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}

.brand__mark,
.brand__text {
  display: none;
}

.topnav a,
.logout-form button {
  border-radius: var(--gpp-radius);
  letter-spacing: 0;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--gpp-lab-accent-light);
  background: rgba(255, 255, 255, .07);
}

.logout-form button {
  border-color: rgba(114, 180, 154, .42);
  color: var(--gpp-lab-accent-light);
}

.session-warning {
  width: min(1580px, calc(100% - clamp(28px, 3.6vw, 72px)));
  border-color: rgba(158, 210, 188, .38);
  background: rgba(158, 210, 188, .08);
  color: rgba(255, 255, 255, .84);
}

.panel-shell {
  width: min(1580px, calc(100% - clamp(28px, 3.6vw, 72px)));
  padding: clamp(34px, 4vw, 64px) 0 84px;
}

.page-head,
.case-hero,
.auth-card,
.setup-card {
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--gpp-glass-line);
  border-left: 4px solid var(--gpp-lab-accent-light);
  border-radius: 12px;
  color: #fff;
  background: var(--gpp-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 48px rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
}

.page-head h1,
.case-hero h1,
.auth-card h1,
.setup-card h1 {
  color: #fff;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1;
}

.page-head p:not(.setup-kicker),
.case-hero p:not(.setup-kicker),
.auth-card__intro,
.auth-note {
  color: rgba(255, 255, 255, .76);
}

.setup-kicker {
  color: var(--gpp-lab-accent-light);
  letter-spacing: 0;
}

.auth-shell,
.setup-shell {
  align-items: center;
}

.auth-card,
.setup-card {
  width: min(760px, 100%);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.auth-brand span {
  display: grid;
  gap: 2px;
}

.auth-brand strong {
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: 18px;
}

.auth-brand small {
  color: rgba(255, 255, 255, .68);
}

.auth-form label,
.stack-form label,
label {
  color: rgba(255, 255, 255, .84);
  letter-spacing: 0;
}

input,
select,
textarea {
  border: 1px solid rgba(233, 237, 244, .18);
  border-radius: var(--gpp-radius);
  background: #fff;
}

button,
.btn-link {
  border-radius: var(--gpp-radius);
  font-family: Poppins, Arial, sans-serif;
  letter-spacing: 0;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

button:hover,
.btn-link:hover,
button:focus-visible,
.btn-link:focus-visible {
  transform: translateY(-1px);
}

.metric-card,
.panel-card,
.action-strip,
.admin-card,
.permission-card,
.case-tile,
.document-card,
.catalog-card,
.comment-list li,
.notice-list li,
.compact-list--boxed li,
.document-upload-form,
.inline-version-form form,
.table-wrap,
.status-list li,
.check-group {
  border: 1px solid var(--gpp-glass-line);
  border-left: 4px solid var(--gpp-lab-accent-light);
  border-radius: 12px;
  background: var(--gpp-glass);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 48px rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
}

.panel-card--lab,
.catalog-card--done {
  border-left-color: var(--gpp-lab-accent);
}

.metric-card span,
.panel-card h2,
.admin-card strong,
.permission-card h3,
.parameter-grid h3,
.case-tile h3,
.document-card h3,
.catalog-domain h3,
.catalog-card__head strong,
.compact-list a,
.compact-list strong,
.subsection-title,
.inline-version-form summary,
.timeline strong,
.notice-list h3 {
  color: #fff;
}

.metric-card strong {
  color: var(--gpp-lab-accent-light);
}

.muted-text,
.form-help,
.table-note,
.empty-state,
.status-list span,
.compact-list span,
.case-tile p,
.document-card__description,
.document-meta dt,
.detail-list dt,
.timeline span,
.comment-list__head span,
.catalog-card p {
  color: rgba(255, 255, 255, .68);
}

.document-upload-form,
.admin-card,
.permission-card,
.status-list li,
.compact-list--boxed li,
.comment-list li,
.notice-list li {
  background: var(--gpp-glass);
}

table {
  color: #fff;
}

th {
  background: rgba(14, 42, 80, .86);
  color: #fff;
}

td {
  color: rgba(255, 255, 255, .78);
}

tbody tr:hover {
  background: rgba(255, 255, 255, .06);
}

.empty-state {
  border-color: rgba(233, 237, 244, .22);
}

.semaphore--ok,
.badge {
  background: rgba(233, 237, 244, .1);
  color: #fff;
}

.semaphore--done,
.badge-green {
  background: rgba(47, 107, 84, .28);
  color: var(--gpp-lab-accent-light);
}

.semaphore--warn,
.semaphore--client,
.badge-gold,
.status-pill {
  background: rgba(201, 154, 62, .18);
  color: var(--gpp-gold-text);
}

.semaphore--danger,
.badge-red {
  background: rgba(156, 74, 58, .18);
  color: #ffd6ce;
}

.preflight-page {
  color: #fff;
  overflow-x: clip;
}

.preflight-page .topbar,
.preflight-page .brand,
.preflight-page .topnav,
.preflight-hero,
.preflight-trust,
.preflight-card,
.preflight-layout,
.preflight-stage-grid {
  min-width: 0;
}

.preflight-shell {
  width: min(1360px, calc(100% - 40px));
}

.preflight-mode {
  justify-self: end;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(158, 210, 188, .32);
  border-radius: var(--gpp-radius);
  color: var(--gpp-lab-accent-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.preflight-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.preflight-hero h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
}

.preflight-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, .72);
}

.preflight-trust,
.preflight-card,
.preflight-upload,
.preflight-decision-grid article {
  border: 1px solid var(--gpp-glass-line);
  border-radius: 16px;
  background: var(--gpp-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 48px rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
}

.preflight-trust {
  display: grid;
  align-content: center;
  gap: 10px;
  border-left: 4px solid var(--gpp-lab-accent-light);
  padding: 22px;
}

.preflight-trust strong,
.preflight-card h2,
.preflight-decision-grid h3 {
  margin: 0;
  color: #fff;
}

.preflight-trust span,
.preflight-card p,
.preflight-list,
.preflight-upload span,
.preflight-decision-grid p {
  color: rgba(255, 255, 255, .68);
}

.preflight-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
}

.preflight-card {
  padding: 22px;
}

.preflight-card--main {
  min-width: 0;
}

.preflight-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 18px;
  line-height: 1.5;
}

.preflight-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.preflight-form-grid label:first-child {
  grid-column: 1 / -1;
}

.preflight-form-grid textarea {
  min-height: 84px;
}

.preflight-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 16px;
}

.preflight-upload strong {
  color: #fff;
}

.preflight-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.preflight-decision-grid article {
  padding: 18px;
  border-left: 4px solid var(--gpp-lab-accent-light);
}

.preflight-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: auto 1fr;
  }

  .brand {
    align-self: start;
  }

  .preflight-layout {
    grid-template-columns: 1fr;
  }

  .preflight-card--side {
    min-height: auto;
  }

  .preflight-stage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .panel-shell {
    width: min(100% - 28px, 1580px);
  }

  .topbar {
    gap: 14px;
  }

  .brand__logo,
  .auth-brand .brand__logo {
    width: 78px;
  }

  .page-head h1,
  .case-hero h1,
  .auth-card h1,
  .setup-card h1 {
    font-size: 34px;
  }

  .preflight-shell {
    width: calc(100vw - 28px);
    max-width: 1360px;
    margin-right: auto;
    margin-left: auto;
  }

  .preflight-mode {
    justify-self: start;
  }

  .preflight-page .topbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .preflight-page .topnav {
    width: 100%;
    gap: 8px 12px;
  }

  .preflight-hero,
  .preflight-form-grid,
  .preflight-decision-grid {
    grid-template-columns: 1fr;
  }

  .preflight-hero,
  .preflight-layout,
  .preflight-stage-grid,
  .preflight-trust,
  .preflight-card {
    width: 100%;
    max-width: 100%;
  }

  .preflight-hero h1 {
    font-size: 34px;
  }

  .preflight-upload {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* LAB-OPEN-001: entrada abierta publica sin cuenta privada */
.open-shell {
  width: min(1120px, calc(100% - clamp(28px, 4vw, 72px)));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px) 0;
  color: #fff;
}

.open-shell--narrow {
  width: min(820px, calc(100% - clamp(28px, 4vw, 72px)));
}

.open-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 22px;
}

.open-hero h1,
.open-card h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.open-hero p,
.open-card p,
.open-result p {
  color: rgba(255, 255, 255, .72);
}

.open-hero > div,
.open-assurance,
.open-card,
.open-result {
  border: 1px solid var(--gpp-glass-line);
  border-left: 4px solid var(--gpp-lab-accent-light);
  border-radius: 12px;
  background: var(--gpp-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 48px rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
}

.open-hero > div,
.open-assurance,
.open-card {
  padding: clamp(22px, 3vw, 34px);
}

.open-assurance {
  display: grid;
  align-content: center;
  gap: 10px;
}

.open-assurance strong,
.open-card h2,
.open-result h2,
.open-confirmation-grid span,
.open-recovery-box dt {
  color: #fff;
}

.open-assurance span,
.open-confirmation-grid p,
.open-recovery-box dd {
  color: rgba(255, 255, 255, .72);
}

.open-form {
  display: grid;
  gap: 18px;
}

.open-form--compact {
  margin-top: 22px;
}

.open-step {
  scroll-margin-top: 96px;
}

.open-step h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.open-field-stack {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}

.open-field-stack > label,
.open-grid label,
.choice-group,
.privacy-note {
  min-width: 0;
}

.open-field-stack textarea[name="need_summary"],
.open-field-stack textarea[name="client_need_text"] {
  min-height: 132px;
  font-size: 18px;
  line-height: 1.55;
}

.open-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.open-grid label:first-child,
.open-grid label:nth-child(2),
.open-grid label:last-child {
  grid-column: 1 / -1;
}

.open-grid--contact label:first-child,
.open-grid--contact label:nth-child(2),
.open-grid--contact label:last-child {
  grid-column: auto;
}

.open-hp,
.open-form [data-open-honeypot],
.open-form label:has(input[name="website"]) {
  display: none !important;
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  pointer-events: none;
  white-space: nowrap;
}

.open-hp input[name="website"],
.open-form [data-open-honeypot] input[name="website"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.choice-group {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(233, 237, 244, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
}

.choice-group legend {
  padding: 0 6px;
  color: #fff;
  font-weight: 800;
}

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

.choice-list--deadline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 58px;
  padding: 13px;
  border: 1px solid rgba(233, 237, 244, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
}

.choice-card:has(input:checked) {
  border-color: rgba(158, 210, 188, .72);
  color: #fff;
  background: rgba(158, 210, 188, .08);
}

.choice-card input {
  margin-top: 3px;
  accent-color: var(--gpp-lab-accent-light);
}

.open-upload,
.open-summary,
.open-date-custom {
  display: grid;
  gap: 8px;
}

.open-upload input[type="file"] {
  padding: 14px;
  border: 1px dashed rgba(158, 210, 188, .42);
  border-radius: 10px;
  background: rgba(158, 210, 188, .06);
  color: rgba(255, 255, 255, .78);
}

.open-date-custom {
  max-width: 360px;
}

.open-is-hidden {
  display: none !important;
}

.privacy-note {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(158, 210, 188, .26);
  border-radius: 12px;
  background: rgba(158, 210, 188, .08);
}

.privacy-note strong,
.privacy-note .check-row {
  color: #fff;
}

.field-error {
  color: #ffd6ce;
  font-size: 13px;
  line-height: 1.45;
}

.open-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.open-actions a {
  color: var(--gpp-lab-accent-light);
  font-weight: 800;
  text-decoration-color: rgba(158, 210, 188, .58);
}

.open-actions .open-copy-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--gpp-lab-accent-light);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(158, 210, 188, .58);
  cursor: pointer;
}

.open-actions .open-copy-button:focus-visible {
  outline: 2px solid rgba(158, 210, 188, .72);
  outline-offset: 4px;
}

.open-actions .open-copy-button[data-copy-state="copied"],
.open-copy-status[data-copy-state="copied"] {
  color: var(--gpp-lab-accent);
}

.open-actions .open-copy-button[data-copy-state="error"],
.open-copy-status[data-copy-state="error"] {
  color: #ffd6ce;
}

.open-copy-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
}

.open-attachment-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(158, 210, 188, .26);
  border-radius: 10px;
  background: rgba(158, 210, 188, .08);
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
}

.open-confirmation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.open-confirmation-grid article,
.open-recovery-box,
.open-result {
  padding: 16px;
  border: 1px solid rgba(233, 237, 244, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
}

.open-confirmation-grid span,
.open-recovery-box dt {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.open-recovery-box {
  display: grid;
  gap: 14px;
  margin: 0;
}

.open-recovery-box dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.open-recovery-box a {
  color: var(--gpp-lab-accent-light);
}

.open-result {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .open-hero,
  .open-grid,
  .open-grid--contact,
  .choice-list,
  .choice-list--deadline,
  .open-confirmation-grid {
    grid-template-columns: 1fr;
  }

  .open-grid--contact label:first-child,
  .open-grid--contact label:nth-child(2),
  .open-grid--contact label:last-child {
    grid-column: 1 / -1;
  }
}

/* LAB-PRELAUNCH-UI-INTERNAL-FIX-001: legibilidad de tablas internas */
.lab-panel .table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border-color: rgba(158, 210, 188, .22);
  background: rgba(255, 255, 255, .045);
}

.lab-panel table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: transparent;
  color: rgba(255, 255, 255, .86);
}

.lab-panel thead,
.lab-panel tbody,
.lab-panel tr {
  background: transparent;
}

.lab-panel th,
.lab-panel td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(233, 237, 244, .13);
  color: rgba(255, 255, 255, .84);
  line-height: 1.45;
  vertical-align: top;
}

.lab-panel th {
  background: rgba(6, 20, 43, .96);
  color: #fff;
  white-space: nowrap;
}

/* LAB-UX-CLIENT-EXPERIENCE-002: shell cliente prelaunch, sin cambiar backend. */
.open-shell--workspace {
  --lab-moss: #4f766a;
  --lab-moss-strong: #7da997;
  --lab-silver: #d4dee7;
  --lab-silver-strong: #eef3f7;
  --lab-metal: linear-gradient(135deg, rgba(247, 250, 252, .96), rgba(164, 177, 190, .72) 52%, rgba(224, 232, 238, .90));
  --lab-panel-line: rgba(205, 218, 228, .32);
  width: min(1360px, calc(100% - clamp(24px, 4vw, 72px)));
  min-height: 100svh;
  padding: clamp(24px, 3.6vw, 46px) 0;
}

body:has(.open-shell--workspace) {
  background: radial-gradient(circle at 20% 0%, rgba(81, 115, 105, .16), transparent 32%), linear-gradient(145deg, #07172a 0%, #030811 72%, #02050b 100%);
}

.open-lab-title {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.open-lab-title h1 {
  max-width: 780px;
  margin: 0;
  color: var(--lab-silver);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.06;
  background: var(--lab-metal);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .15), 0 18px 32px rgba(0, 0, 0, .28);
  -webkit-text-fill-color: transparent;
}

.open-lab-title h1::after {
  content: "";
  display: block;
  width: min(220px, 44%);
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(238, 243, 247, .92), rgba(95, 143, 123, .42), transparent);
}

.open-lab-title p:not(.setup-kicker) {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
}

.open-workspace {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr) minmax(245px, 310px);
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}

.open-rail,
.open-main-panel,
.open-diagnostic-teaser {
  border: 1px solid var(--lab-panel-line);
  border-radius: 8px;
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.open-rail {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(16px, 2vw, 22px);
}

.open-rail h2,
.open-main-panel h2,
.open-rail--action h2 {
  margin: 0;
  color: var(--lab-silver-strong);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.12;
}

.open-main-panel {
  max-height: calc(100svh - 148px);
  overflow: auto;
  padding: clamp(18px, 2.4vw, 28px);
  border-left: 1px solid var(--lab-panel-line);
}

@media (min-width: 1121px) {
  .open-rail,
  .open-main-panel {
    min-height: min(700px, calc(100svh - 154px));
  }
}

.open-rail label,
.open-main-panel label,
.open-rail .privacy-note {
  display: grid;
  gap: 8px;
}

.profile-context {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(205, 218, 228, .28);
  border-radius: 8px;
  background: transparent;
}

.profile-context strong {
  color: var(--lab-silver-strong);
  font-size: 14px;
}

.profile-context span {
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  line-height: 1.45;
}

.open-progress {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.open-progress li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
  line-height: 1.35;
}

.open-progress li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: rgba(217, 225, 234, .34);
}

.open-progress li.is-active {
  color: #fff;
  font-weight: 800;
}

.open-progress li.is-active::before {
  background: var(--lab-silver);
  box-shadow: 0 0 0 4px rgba(212, 222, 231, .08);
}

.open-feedback-note {
  align-self: end;
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 233, 239, .16);
}

.open-feedback-note strong {
  color: var(--lab-silver);
  font-family: var(--font-head);
  font-size: 13px;
  text-transform: uppercase;
}

.open-feedback-note a,
.privacy-link {
  color: var(--lab-silver);
  font-weight: 800;
  text-decoration: none;
}

.open-feedback-note a:hover,
.open-feedback-note a:focus-visible,
.privacy-link:hover,
.privacy-link:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(238, 243, 247, .72);
}

.open-antecedents {
  border-color: rgba(205, 218, 228, .28);
}

.open-shell--workspace .choice-group {
  padding: 14px 0 0;
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
}

.open-shell--workspace .choice-group legend {
  padding: 0;
  color: var(--lab-silver-strong);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.open-shell--workspace .open-field-stack > label {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(205, 218, 228, .12);
}

.open-shell--workspace .open-field-stack textarea[name="need_summary"],
.open-shell--workspace .open-field-stack textarea[name="client_need_text"] {
  min-height: 86px;
  font-size: 16px;
  line-height: 1.5;
}

.need-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.format-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.format-chip {
  position: relative;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(217, 225, 234, .22);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: default;
}

.format-chip--guided {
  border-color: rgba(205, 218, 228, .42);
  color: rgba(225, 233, 240, .92);
}

.format-chip--deferred {
  border-style: dashed;
  color: rgba(226, 233, 239, .70);
}

.format-chip:hover,
.format-chip:focus-visible,
.format-chip.is-open {
  outline: 0;
  border-color: rgba(238, 243, 247, .78);
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 0 18px rgba(226, 233, 239, .08);
}

.format-chip::after {
  content: attr(data-format-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 3;
  width: min(260px, 70vw);
  padding: 10px 11px;
  border: 1px solid rgba(217, 225, 234, .24);
  border-radius: 8px;
  background: rgba(3, 12, 27, .98);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
}

.format-chip:hover::after,
.format-chip:focus-visible::after,
.format-chip.is-open::after {
  opacity: 1;
  transform: translateY(0);
}

.open-diagnostic-teaser {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-color: rgba(205, 218, 228, .28);
}

.open-diagnostic-teaser h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.teaser-scroll {
  position: relative;
  max-height: 144px;
  overflow: auto;
  padding: 4px 4px 22px 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 22px), transparent 100%);
}

.teaser-scroll:focus-visible {
  outline: 2px solid rgba(169, 216, 193, .74);
  outline-offset: 4px;
}

.teaser-scroll p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, .76);
}

.teaser-scroll strong {
  color: #fff;
}

.open-rail--action .open-contact-stack {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
}

.open-rail--action .open-grid--contact label:first-child,
.open-rail--action .open-grid--contact label:nth-child(2),
.open-rail--action .open-grid--contact label:last-child {
  grid-column: 1 / -1;
}

.open-rail--action .privacy-note {
  margin-top: 0;
  padding: 14px;
  border-radius: 8px;
}

.choice-list--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-list--start,
.choice-list--checks {
  align-items: center;
}

.choice-card--compact {
  min-height: 44px;
  justify-content: center;
  padding: 9px 12px;
  border-color: rgba(205, 218, 228, .30);
  background: transparent;
}

.choice-card--pill {
  align-items: center;
  text-align: center;
}

.choice-card--pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice-card--pill:has(input:checked) {
  border-color: rgba(238, 243, 247, .84);
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 0 18px rgba(212, 222, 231, .10);
}

.choice-list--checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.open-main-panel .choice-check,
.choice-check {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.choice-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice-check__box {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238, 243, 247, .86);
  border-radius: 4px;
  background: rgba(255, 255, 255, .96);
}

.choice-check:has(input:checked) .choice-check__box {
  border-color: rgba(238, 243, 247, .92);
  background: #07172a;
}

.choice-check:has(input:checked) .choice-check__box::before {
  content: "✓";
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.choice-check:hover .choice-check__box,
.choice-check:focus-within .choice-check__box,
.choice-card--pill:hover,
.choice-card--pill:focus-within {
  border-color: rgba(255, 255, 255, .92);
  box-shadow: 0 0 16px rgba(212, 222, 231, .08);
}

.file-selected-status {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  margin-top: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(226, 233, 239, .22);
  border-radius: 8px;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 800;
  transition: color .18s ease, border-color .18s ease, opacity .18s ease;
}

.file-selected-status.is-selected {
  border-color: rgba(145, 189, 169, .70);
  color: rgba(210, 229, 220, .96);
}

.form-help--counter {
  justify-self: end;
  white-space: nowrap;
  font-weight: 800;
}

.open-upload {
  justify-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(205, 218, 228, .12);
  border-bottom: 1px solid rgba(205, 218, 228, .12);
  text-align: center;
}

.open-upload label {
  width: min(100%, 360px);
  justify-items: center;
}

.open-upload input[type="file"] {
  width: fit-content;
  max-width: 100%;
  padding: 8px;
  border-color: rgba(205, 218, 228, .34);
  background: transparent;
  color: transparent;
}

.open-upload input[type="file"]::file-selector-button {
  min-height: 36px;
  margin-right: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(205, 218, 228, .58);
  border-radius: 8px;
  background: transparent;
  color: var(--lab-silver-strong);
  font-weight: 800;
  cursor: pointer;
}

.open-upload input[type="file"]::file-selector-button:hover {
  border-color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .035);
}

.open-rail--action .open-actions {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.open-rail--action .open-actions button,
.open-rail--action .open-actions a {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.open-shell--workspace button,
.open-shell--workspace .btn-link,
.open-shell--workspace .open-actions button {
  border: 1px solid rgba(205, 218, 228, .62);
  background: transparent;
  color: var(--lab-silver-strong);
  box-shadow: none;
}

.open-shell--workspace button:hover,
.open-shell--workspace button:focus-visible,
.open-shell--workspace .btn-link:hover,
.open-shell--workspace .btn-link:focus-visible,
.open-shell--workspace .open-actions button:hover,
.open-shell--workspace .open-actions button:focus-visible {
  border-color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .035);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(212, 222, 231, .08), 0 0 20px rgba(212, 222, 231, .10);
}

.open-rail--action .open-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
  filter: saturate(.4);
}

.flow-demo-shell {
  display: grid;
  gap: 18px;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto 42px;
  color: #fff;
}

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

.flow-demo-card {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(205, 218, 228, .30);
  border-radius: 8px;
  background: transparent;
}

.flow-demo-card h3,
.flow-preview h3 {
  margin: 0;
  color: var(--lab-silver-strong);
  font-size: 20px;
}

.flow-demo-card p,
.flow-preview p,
.flow-demo-card li {
  margin: 0;
  color: rgba(255, 255, 255, .76);
}

.flow-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(205, 218, 228, .18);
  border-bottom: 1px solid rgba(205, 218, 228, .18);
}

.flow-price strong {
  color: var(--lab-silver-strong);
  font-size: clamp(26px, 4vw, 38px);
}

.flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flow-actions a,
.flow-actions button {
  width: auto;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(205, 218, 228, .62);
  border-radius: 8px;
  background: transparent;
  color: var(--lab-silver-strong);
  font-weight: 800;
  text-decoration: none;
}

.flow-preview {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(205, 218, 228, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
}

.flow-preview__document {
  min-height: 180px;
  padding: 16px;
  border: 1px solid rgba(205, 218, 228, .22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(212, 222, 231, .12), rgba(255, 255, 255, .035));
  color: var(--lab-silver-strong);
}

.flow-preview__document p {
  color: rgba(238, 243, 247, .84);
}

@media (max-width: 900px) {
  .flow-demo-grid,
  .choice-list--start {
    grid-template-columns: 1fr;
  }

  .need-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

.open-rail--action .open-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(217, 225, 234, .22);
  border-radius: 8px;
  text-decoration: none;
}

.open-result[data-open-proposal-client="preview"] {
  position: relative;
  max-height: min(680px, calc(100svh - 130px));
  overflow: auto;
  border-left: 1px solid var(--gpp-glass-line);
}

.open-result[data-open-proposal-client="preview"]::before,
.open-result[data-open-proposal-client="preview"]::after {
  content: "";
  position: sticky;
  z-index: 2;
  display: block;
  height: 28px;
  pointer-events: none;
}

.open-result[data-open-proposal-client="preview"]::before {
  top: -16px;
  margin: -16px -16px 0;
  background: linear-gradient(180deg, rgba(6, 20, 43, .96), transparent);
}

.open-result[data-open-proposal-client="preview"]::after {
  bottom: -16px;
  margin: 0 -16px -16px;
  background: linear-gradient(0deg, rgba(6, 20, 43, .96), transparent);
}

.open-result[data-open-proposal-client="preview"] .detail-list {
  max-width: 100%;
}

.open-shell--client-state {
  --lab-moss: #7fb39b;
  --lab-moss-strong: #a9d8c1;
  --lab-silver: #d9e1ea;
}

.open-shell--client-state .open-card {
  border-radius: 8px;
  border-left: 1px solid var(--gpp-glass-line);
  background: rgba(255, 255, 255, .035);
}

.open-shell--client-state .open-card h1 {
  color: var(--lab-silver);
  font-size: clamp(30px, 4vw, 46px);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .15), 0 18px 32px rgba(0, 0, 0, .28);
}

.auth-card--client {
  align-self: center;
  width: min(100%, 620px);
  margin: 0 auto;
}

.lab-loading {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(217, 225, 234, .18);
  border-top-color: var(--lab-moss-strong);
  border-radius: 50%;
  animation: lab-loader-spin .9s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .lab-loading {
    animation: none;
  }

  .format-chip::after {
    transition: none;
  }
}

@media (max-width: 1120px) {
  .open-workspace {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  }

  .open-rail--action {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
  }

  .open-rail--action .open-contact-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .open-shell--workspace {
    width: min(100% - 24px, 680px);
    padding: 22px 0;
  }

  .open-workspace,
  .open-rail--action .open-contact-stack {
    grid-template-columns: 1fr;
  }

  .open-main-panel {
    max-height: none;
  }

  .choice-list,
  .choice-list--deadline {
    grid-template-columns: 1fr;
  }

  .format-chip::after {
    left: auto;
    right: 0;
  }
}

.lab-panel td {
  max-width: 360px;
  overflow-wrap: anywhere;
}

.lab-panel tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, .035);
}

.lab-panel tbody tr:hover {
  background: rgba(158, 210, 188, .08);
}

.lab-panel td strong,
.lab-panel td code,
.lab-panel td small,
.lab-panel td a,
.lab-panel td summary,
.lab-panel td .table-note {
  color: rgba(255, 255, 255, .88);
}

.lab-panel td a {
  text-decoration-color: rgba(201, 154, 62, .78);
}

/* LAB-UX-CLIENT-EXPERIENCE-002 R4: prototipo cliente con baseline visual del Hero aprobado. */
.open-shell--workspace {
  --font-head: 'Poppins', Arial, sans-serif;
  --lab-moss: #1F4F3F;
  --lab-moss-strong: var(--gpp-lab);
  --lab-silver: var(--gpp-gray);
  --lab-silver-strong: #eef3f7;
  --lab-metal: linear-gradient(135deg, rgba(247, 250, 252, .98), rgba(164, 177, 190, .74) 52%, rgba(233, 237, 244, .94));
  --lab-panel-line: rgba(200, 162, 75, .24);
}

body:has(.open-shell--workspace) {
  background:
    radial-gradient(circle at 18% 0%, rgba(47, 107, 84, .18), transparent 32%),
    linear-gradient(145deg, var(--gpp-navy) 0%, var(--gpp-panel) 46%, #02050b 100%);
}

.open-shell--workspace .setup-kicker,
.client-screen .setup-kicker {
  color: var(--gpp-gold-text);
  letter-spacing: 0;
}

.open-rail,
.open-main-panel,
.open-diagnostic-teaser,
.profile-context,
.open-rail--action .privacy-note,
.client-screen {
  border-color: var(--lab-panel-line);
  background: transparent;
}

.open-rail label,
.open-main-panel label,
.open-shell--workspace .choice-check,
.open-shell--workspace .form-help,
.open-shell--workspace .privacy-note p,
.open-shell--workspace .need-meta,
.client-screen__lead,
.client-screen__note,
.client-summary dd,
.client-preview p {
  color: rgba(255, 255, 255, .76);
}

.open-shell--workspace label,
.open-shell--workspace .open-field-stack > label,
.open-shell--workspace .privacy-note strong,
.open-shell--workspace .check-row,
.client-summary dt,
.client-preview strong {
  color: var(--lab-silver-strong);
}

.open-shell--workspace input,
.open-shell--workspace select,
.open-shell--workspace textarea {
  color: var(--gpp-text);
  background: #fff;
  border-color: rgba(8, 17, 31, .18);
}

.open-shell--workspace input[type="file"] {
  background-color: #fff;
}

.open-shell--workspace .open-main-panel {
  max-height: none;
}

.open-shell--workspace textarea[name="need_summary"],
.open-shell--workspace textarea[name="client_need_text"] {
  resize: none;
}

.open-shell--workspace .teaser-scroll {
  max-height: none;
  overflow: visible;
}

.open-feedback-note--r4 {
  gap: 9px;
}

.open-feedback-note--r4 strong,
.open-feedback-note--r4 .feedback-link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.open-feedback-note--r4 .feedback-link {
  width: fit-content;
  min-height: 24px;
  padding: 0;
  border: 0;
  color: var(--lab-silver);
  background: transparent;
  text-transform: none;
  box-shadow: none;
}

.open-feedback-note--r4 .feedback-link:hover,
.open-feedback-note--r4 .feedback-link:focus-visible {
  color: #fff;
  background: transparent;
  text-decoration: underline;
  text-decoration-color: rgba(238, 243, 247, .72);
  box-shadow: none;
}

.open-feedback-note--r4 .feedback-box {
  gap: 7px;
  padding-top: 4px;
}

.open-feedback-note--r4 textarea {
  min-height: 94px;
  max-height: 140px;
  resize: none;
}

.open-shell--workspace .privacy-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.choice-card--compact {
  border-color: rgba(233, 237, 244, .30);
  background: transparent;
}

.choice-card--pill:hover,
.choice-card--pill:focus-within {
  border-color: rgba(233, 237, 244, .82);
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 0 16px rgba(233, 237, 244, .08);
}

.choice-card--pill:has(input:checked) {
  border-color: var(--gpp-gold-text);
  background: rgba(201, 154, 62, .11);
  box-shadow: 0 0 0 3px rgba(201, 154, 62, .08), 0 0 18px rgba(233, 237, 244, .08);
}

.format-chip {
  color: rgba(255, 255, 255, .74);
  border-color: rgba(233, 237, 244, .24);
}

.format-chip--guided {
  color: rgba(233, 237, 244, .78);
  border-color: rgba(233, 237, 244, .34);
}

.client-screen {
  display: grid;
  width: min(920px, calc(100% - 28px));
  min-height: min(620px, calc(100svh - 56px));
  margin: 0 auto 28px;
  padding: clamp(22px, 4vw, 42px);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.client-screen__body {
  display: grid;
  align-content: center;
  gap: 18px;
  max-width: 780px;
}

.client-screen h2 {
  margin: 0;
  color: var(--lab-silver-strong);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.06;
}

.client-journey-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-color: rgba(200, 162, 75, .24);
  background: transparent;
}

.client-journey-overview h2 {
  margin-bottom: 6px;
  color: var(--gpp-gray);
}

.client-journey-overview p {
  margin: 0;
  max-width: 760px;
}

.client-journey-overview .btn-link {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .client-journey-overview {
    align-items: stretch;
    flex-direction: column;
  }

  .client-journey-overview .btn-link {
    justify-content: center;
    width: 100%;
  }
}

.client-screen__lead,
.client-screen__note {
  margin: 0;
  max-width: 700px;
}

.client-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0;
}

.client-summary div,
.client-preview {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(233, 237, 244, .22);
  border-radius: 8px;
  background: transparent;
}

.client-summary dt {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.client-summary dd {
  margin: 6px 0 0;
  line-height: 1.42;
}

.client-summary div:nth-child(3) dd {
  color: var(--lab-silver-strong);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
}

.client-preview {
  display: grid;
  gap: 8px;
  max-width: 640px;
}

.client-preview p {
  margin: 0;
}

.client-screen .flow-actions button {
  width: fit-content;
  min-width: min(100%, 210px);
  border-color: rgba(233, 237, 244, .66);
  color: var(--lab-silver-strong);
}

@media (max-width: 760px) {
  .client-summary {
    grid-template-columns: 1fr;
  }

  .client-screen {
    min-height: auto;
    padding: 22px;
  }

  .client-screen .flow-actions button {
    width: 100%;
  }
}

.lab-panel td .table-note {
  color: rgba(255, 255, 255, .72);
}

.lab-panel td .stack-form {
  min-width: 280px;
  gap: 10px;
}

.lab-panel td input,
.lab-panel td select,
.lab-panel td textarea {
  min-height: 38px;
  padding: 8px 10px;
}

.lab-panel td textarea {
  min-height: 86px;
}

@media (max-width: 760px) {
  .lab-panel table {
    min-width: 860px;
  }

  .lab-panel th,
  .lab-panel td {
    padding: 10px 12px;
  }
}

/* LAB-PRELAUNCH-UI-INTERNAL-RUNTIME-FIX-002: cascade final para celdas de tablas internas */
.lab-panel .table-wrap > table,
.lab-panel .table-wrap > table > thead,
.lab-panel .table-wrap > table > tbody,
.lab-panel .table-wrap > table > tbody > tr,
.lab-panel .table-wrap > table > tbody > tr > td {
  background: transparent !important;
  background-color: transparent !important;
}

.lab-panel .table-wrap > table > tbody > tr:nth-child(odd) > td {
  background: rgba(255, 255, 255, .04) !important;
  background-color: rgba(255, 255, 255, .04) !important;
}

.lab-panel .table-wrap > table > tbody > tr:nth-child(even) > td {
  background: rgba(6, 20, 43, .18) !important;
  background-color: rgba(6, 20, 43, .18) !important;
}

.lab-panel .table-wrap > table > tbody > tr:hover > td {
  background: rgba(158, 210, 188, .09) !important;
  background-color: rgba(158, 210, 188, .09) !important;
}

.lab-panel .table-wrap > table > thead > tr > th {
  background: rgba(6, 20, 43, .98) !important;
  background-color: rgba(6, 20, 43, .98) !important;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.lab-panel .table-wrap > table > tbody > tr > td,
.lab-panel .table-wrap > table > tbody > tr > td > strong,
.lab-panel .table-wrap > table > tbody > tr > td > a,
.lab-panel .table-wrap > table > tbody > tr > td > details,
.lab-panel .table-wrap > table > tbody > tr > td > details > summary {
  color: rgba(255, 255, 255, .9) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.lab-panel .table-wrap > table > tbody > tr > td > small,
.lab-panel .table-wrap > table > tbody > tr > td small,
.lab-panel .table-wrap > table > tbody > tr > td .table-note {
  color: rgba(255, 255, 255, .74) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.lab-panel .table-wrap > table > tbody > tr > td code {
  background: rgba(6, 20, 43, .42);
  color: #fff !important;
}

.lab-panel .table-wrap > table > tbody > tr > td.alert {
  background: rgba(201, 154, 62, .16) !important;
  background-color: rgba(201, 154, 62, .16) !important;
}

/* LAB-UI-F4C-ROW-001-B: editor de catalogo compacto por fila */
.lab-panel td .row-editor {
  min-width: 150px;
}

.lab-panel td .row-editor > summary {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid rgba(201, 154, 62, .58);
  border-radius: 4px;
  background: rgba(201, 154, 62, .14);
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
}

.lab-panel td .row-editor[open] {
  min-width: 300px;
}

.lab-panel td .row-editor .stack-form {
  width: min(360px, 100%);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(233, 237, 244, .14);
}

/* CLIENT_UX_017_RUNTIME_IMPLEMENTATION_MINIMAL_001: UX 017 sobre vistas server-rendered reales. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.lab-auth:has(.client-runtime-017-canvas) {
  min-height: 100svh;
  background:
    radial-gradient(circle at 18% 0%, rgba(47, 107, 84, .18), transparent 32%),
    linear-gradient(145deg, var(--gpp-navy) 0%, var(--gpp-panel) 46%, #02050b 100%);
}

.client-runtime-017-canvas {
  min-height: 100svh;
  color: rgba(233, 237, 244, .86);
}

.client-runtime-017-slide {
  min-height: 100svh;
  padding: clamp(18px, 3vw, 42px) 0;
}

.client-runtime-017-layout-shell {
  width: min(100% - clamp(24px, 4vw, 72px), 1720px);
  margin: 0 auto;
}

.open-shell--runtime-017 {
  width: 100%;
  min-height: auto;
  padding: 0;
  color: rgba(233, 237, 244, .86);
}

.open-shell--runtime-017 .open-lab-title {
  position: relative;
  min-height: 92px;
  margin-bottom: clamp(16px, 2vw, 24px);
  padding-right: 132px;
}

.open-shell--runtime-017 .open-lab-title h1 {
  max-width: 900px;
  margin: 0;
  color: var(--gpp-gray);
  font-size: clamp(40px, 4.2vw, 62px);
  line-height: 1.03;
}

.open-shell--runtime-017 .open-lab-title h1::after {
  width: min(720px, 60vw);
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(233, 237, 244, .78), rgba(78, 118, 100, .46), transparent);
}

.open-shell--runtime-017 .lab-language-switch {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  color: rgba(233, 237, 244, .76);
  font-weight: 800;
}

.open-shell--runtime-017 .language-switch__option {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(233, 237, 244, .62);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.open-shell--runtime-017 .language-switch__option.is-active {
  color: rgba(233, 237, 244, .94);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.open-shell--runtime-017 .client-runtime-017-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(520px, 1fr) minmax(260px, 320px);
  gap: clamp(18px, 1.8vw, 26px);
  align-items: stretch;
}

.open-shell--runtime-017 .client-runtime-017-grid > * {
  min-width: 0;
}

.open-shell--runtime-017 .open-rail,
.open-shell--runtime-017 .open-main-panel,
.open-shell--runtime-017 .open-card {
  border: 1px solid rgba(200, 162, 75, .24);
  border-left: 1px solid rgba(200, 162, 75, .24);
  border-radius: 8px;
  background: rgba(2, 8, 18, .12);
  box-shadow: inset 0 1px 0 rgba(233, 237, 244, .045);
  backdrop-filter: none;
}

.open-shell--runtime-017 .open-rail,
.open-shell--runtime-017 .open-main-panel {
  min-height: min(720px, calc(100svh - 170px));
  padding: clamp(18px, 1.6vw, 24px);
}

.open-shell--runtime-017 .open-rail {
  display: grid;
  align-content: start;
  gap: 18px;
}

.open-shell--runtime-017 .open-main-panel {
  max-height: none;
  overflow: visible;
}

.open-shell--runtime-017 .setup-kicker {
  margin: 0;
  color: var(--gpp-gold-text);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.open-shell--runtime-017 .open-rail h2,
.open-shell--runtime-017 .open-main-panel h2,
.open-shell--runtime-017 .client-runtime-status-card h2,
.open-shell--runtime-017 .client-runtime-proposal-card h2,
.open-shell--runtime-017 .client-runtime-question-card h2 {
  margin: 0;
  color: var(--gpp-gray);
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.12;
}

.open-shell--runtime-017 label,
.open-shell--runtime-017 legend,
.open-shell--runtime-017 .client-process-label,
.open-shell--runtime-017 .journey-status-label {
  color: rgba(233, 237, 244, .78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.open-shell--runtime-017 input,
.open-shell--runtime-017 select,
.open-shell--runtime-017 textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid rgba(8, 17, 31, .18);
  border-radius: 8px;
  background: #fff;
  color: var(--gpp-text);
  font-size: 14px;
}

.open-shell--runtime-017 input[type="hidden"],
.open-shell--runtime-017 input[type="radio"],
.open-shell--runtime-017 input[type="checkbox"],
.open-shell--runtime-017 input[type="file"] {
  width: auto;
  min-width: 0;
}

.open-shell--runtime-017 textarea {
  resize: vertical;
}

.open-shell--runtime-017 .slate-section {
  display: grid;
  gap: 12px;
}

.open-shell--runtime-017 .open-contact-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.open-shell--runtime-017 .open-contact-stack label {
  grid-column: auto;
}

.open-shell--runtime-017 .phone-composite {
  display: grid;
  grid-template-columns: minmax(118px, .95fr) minmax(96px, 1fr);
  gap: 8px;
}

.open-shell--runtime-017 .phone-prefix {
  min-width: 0;
}

.open-shell--runtime-017 .profile-context,
.open-shell--runtime-017 .profile-showcase-note,
.open-shell--runtime-017 .journey-mini-card {
  padding: 12px;
  border: 1px solid rgba(200, 162, 75, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
}

.open-shell--runtime-017 .profile-context strong,
.open-shell--runtime-017 .profile-showcase-item strong,
.open-shell--runtime-017 .profile-showcase-note strong,
.open-shell--runtime-017 .journey-mini-card strong,
.open-shell--runtime-017 .journey-data-card strong {
  color: rgba(238, 243, 247, .94);
}

.open-shell--runtime-017 .profile-context span,
.open-shell--runtime-017 .profile-showcase-item span,
.open-shell--runtime-017 .profile-showcase-note span,
.open-shell--runtime-017 .journey-mini-card p,
.open-shell--runtime-017 .muted-text,
.open-shell--runtime-017 .form-help,
.open-shell--runtime-017 .journey-status-note,
.open-shell--runtime-017 .quick-guide-list,
.open-shell--runtime-017 .feedback-copy {
  color: rgba(233, 237, 244, .72);
  font-size: 13px;
  line-height: 1.45;
}

.open-shell--runtime-017 .client-runtime-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  min-height: 28px;
  margin-bottom: 15px;
}

.open-shell--runtime-017 .journey-reentry-link {
  align-self: start;
  color: var(--gpp-gold-text);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.open-shell--runtime-017 .client-runtime-need {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.open-shell--runtime-017 .need-textarea-wrap,
.open-shell--runtime-017 .feedback-textarea-wrap {
  position: relative;
  display: block;
}

.open-shell--runtime-017 .need-textarea-wrap textarea {
  min-height: 104px;
  padding-bottom: 26px;
}

.open-shell--runtime-017 .need-counter-inside {
  position: absolute;
  right: 12px;
  bottom: 9px;
  color: rgba(8, 17, 31, .58);
}

.open-shell--runtime-017 .choice-group {
  padding: 16px 0 0;
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
}

.open-shell--runtime-017 .journey-route-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.open-shell--runtime-017 .journey-route-button,
.open-shell--runtime-017 .journey-action,
.open-shell--runtime-017 .btn-link,
.open-shell--runtime-017 .upload-dropzone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(205, 218, 228, .46);
  border-radius: 8px;
  background: transparent;
  color: rgba(233, 237, 244, .88);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.open-shell--runtime-017 .journey-route-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.open-shell--runtime-017 .journey-route-button:has(input:checked),
.open-shell--runtime-017 .journey-action:hover,
.open-shell--runtime-017 .journey-action:focus-visible,
.open-shell--runtime-017 .btn-link:hover,
.open-shell--runtime-017 .btn-link:focus-visible,
.open-shell--runtime-017 .upload-dropzone:hover,
.open-shell--runtime-017 .upload-dropzone:focus-within {
  border-color: rgba(233, 237, 244, .84);
  background: rgba(255, 255, 255, .035);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(233, 237, 244, .08);
}

.open-shell--runtime-017 .journey-attachments-grid {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(260px, 1.25fr);
  gap: 14px;
}

.open-shell--runtime-017 .journey-upload-row,
.open-shell--runtime-017 .journey-upload-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

.open-shell--runtime-017 .open-upload {
  justify-items: stretch;
  padding: 0;
  border: 0;
  text-align: left;
}

.open-shell--runtime-017 .upload-native {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.open-shell--runtime-017 .journey-upload-status,
.open-shell--runtime-017 .file-selected-status {
  min-height: 32px;
  margin: 0;
  color: rgba(233, 237, 244, .70);
  font-size: 12px;
  font-weight: 800;
}

.open-shell--runtime-017 .format-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.open-shell--runtime-017 .format-chip {
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  color: rgba(233, 237, 244, .82);
  text-align: center;
}

.open-shell--runtime-017 .choice-list--checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.open-shell--runtime-017 .choice-check {
  min-height: 32px;
  padding: 0;
  color: rgba(233, 237, 244, .76);
  font-size: 12px;
}

.open-shell--runtime-017 .choice-list--deadline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.open-shell--runtime-017 .choice-card {
  min-height: 44px;
  border-radius: 8px;
}

.open-shell--runtime-017 .open-date-custom {
  max-width: 340px;
}

.open-shell--runtime-017 .mf03-route-secondary {
  margin-top: 18px;
}

.open-shell--runtime-017 .mf03-privacy-card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, .8fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(200, 162, 75, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
}

.open-shell--runtime-017 .mf03-privacy-right,
.open-shell--runtime-017 .mf03-privacy-actions {
  display: grid;
  gap: 10px;
}

.open-shell--runtime-017 .privacy-link {
  color: rgba(233, 237, 244, .88);
  font-size: 12px;
  font-weight: 900;
}

.open-shell--runtime-017 .open-actions--single {
  display: flex;
  justify-content: center;
}

.open-shell--runtime-017 .open-actions--stacked {
  display: grid;
  gap: 10px;
}

.open-shell--runtime-017 .open-actions--single .journey-action {
  width: min(100%, 340px);
}

.open-shell--runtime-017 button:disabled,
.open-shell--runtime-017 .journey-action[disabled] {
  cursor: not-allowed;
  opacity: .55;
}

.open-shell--runtime-017 .profile-showcase-list,
.open-shell--runtime-017 .quick-guide-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.open-shell--runtime-017 .quick-guide-list {
  padding-left: 18px;
}

.open-shell--runtime-017 .profile-showcase-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(233, 237, 244, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
}

.open-shell--runtime-017 .feedback-box {
  display: block;
}

.open-shell--runtime-017 .feedback-textarea-wrap textarea {
  min-height: 78px;
  padding-right: 56px;
  padding-bottom: 26px;
  resize: none;
}

.open-shell--runtime-017 .feedback-send {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(31, 79, 63, .56);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(247, 250, 252, .96), rgba(164, 177, 190, .74) 52%, rgba(233, 237, 244, .92));
  color: #1F4F3F;
}

.open-shell--runtime-017 .feedback-send__chevrons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: 100%;
  color: #1F4F3F;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.open-shell--runtime-017 .feedback-send:hover .feedback-send__chevrons,
.open-shell--runtime-017 .feedback-send:focus-visible .feedback-send__chevrons {
  color: #0f3228;
}

.open-shell--runtime-017 .feedback-counter {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: rgba(8, 17, 31, .58);
  font-size: 12px;
  font-weight: 800;
}

.open-shell--runtime-017 .feedback-toast {
  position: absolute;
  left: 12px;
  bottom: 8px;
  max-width: calc(100% - 88px);
  color: #1F4F3F;
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transition: opacity .2s ease;
}

.open-shell--runtime-017 .feedback-toast.is-visible {
  opacity: 1;
}

.client-runtime-state-card,
.client-runtime-access-card,
.client-runtime-status-card,
.client-runtime-proposal-card,
.client-runtime-question-card,
.client-runtime-guide-card {
  display: grid;
  gap: 16px;
}

.client-runtime-state-grid,
.journey-data-grid,
.journey-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.client-runtime-state-grid article,
.journey-data-card,
.journey-status-panel,
.journey-recovery-flow,
.client-runtime-detail-list {
  padding: 14px;
  border: 1px solid rgba(233, 237, 244, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
}

.client-runtime-state-grid span,
.journey-data-card span,
.open-recovery-box dt,
.client-runtime-detail-list dt {
  display: block;
  margin-bottom: 6px;
  color: var(--gpp-gold-text);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-runtime-state-grid p,
.journey-data-card div,
.client-runtime-detail-list dd {
  margin: 0;
  color: rgba(233, 237, 244, .78);
}

.client-runtime-recovery-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(16px, 1.8vw, 24px);
  align-items: start;
}

.client-runtime-proposal-card,
.client-runtime-question-card {
  grid-column: 2 / 3;
}

.client-runtime-guide-card {
  grid-column: 3 / 4;
  grid-row: 1 / span 3;
}

.journey-recovery-form {
  gap: 14px;
}

.journey-access-field {
  display: grid;
  gap: 8px;
}

.journey-code {
  overflow-wrap: anywhere;
  color: rgba(238, 243, 247, .94);
  font-weight: 900;
}

.open-shell--runtime-017 [data-open-proposal-client="preview"] {
  max-height: none;
  overflow: visible;
}

@media (max-width: 1180px) {
  .open-shell--runtime-017 .client-runtime-017-grid,
  .client-runtime-recovery-grid {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  }

  .open-shell--runtime-017 .open-rail--action,
  .client-runtime-guide-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .client-runtime-proposal-card,
  .client-runtime-question-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .client-runtime-017-layout-shell {
    width: min(100% - 24px, 680px);
  }

  .open-shell--runtime-017 .open-lab-title {
    min-height: auto;
    padding-right: 0;
  }

  .open-shell--runtime-017 .open-lab-title h1 {
    font-size: clamp(28px, 10vw, 40px);
  }

  .open-shell--runtime-017 .lab-language-switch {
    position: static;
    justify-self: end;
  }

  .open-shell--runtime-017 .client-runtime-017-grid,
  .client-runtime-recovery-grid,
  .open-shell--runtime-017 .journey-attachments-grid,
  .open-shell--runtime-017 .journey-route-switch,
  .open-shell--runtime-017 .journey-upload-row,
  .open-shell--runtime-017 .journey-upload-action-row,
  .open-shell--runtime-017 .format-guide,
  .open-shell--runtime-017 .choice-list--deadline,
  .open-shell--runtime-017 .mf03-privacy-card,
  .client-runtime-state-grid,
  .journey-data-grid,
  .journey-form-grid {
    grid-template-columns: 1fr;
  }

  .open-shell--runtime-017 .open-rail,
  .open-shell--runtime-017 .open-main-panel {
    min-height: auto;
  }

  .open-shell--runtime-017 .client-runtime-section-head {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 18px;
  }

  .open-shell--runtime-017 .journey-reentry-link {
    justify-self: start;
    text-align: left;
    white-space: normal;
  }
}
