/**
 * ORBIS Reader Response Terminal
 * Lane: SYNKTRIBE-WORDPRESS-ORBIS-READER-FEEDBACK-RESPONSE-TERMINAL-REDESIGN-IMPLEMENTATION-01
 */

body.st-orbis-reader-feedback-page {
  --st-orc-void: #05070d;
  --st-orc-navy: #0a111f;
  --st-orc-navy-2: #0e192b;
  --st-orc-cyan: #4da3ff;
  --st-orc-cyan-bright: #5ec8e8;
  --st-orc-silver: #c8d4e8;
  --st-orc-silver-dim: #8fa3c4;
  --st-orc-text: #e8eef8;
  --st-orc-text-dim: #a8b8d4;
  --st-orc-line: rgba(77, 163, 255, 0.18);
  --st-orc-glow: rgba(77, 163, 255, 0.22);
  --st-orf-field-bg: rgba(4, 6, 12, 0.88);
  --st-orf-field-border: rgba(77, 163, 255, 0.28);

  background:
    radial-gradient(circle at 12% 8%, rgba(77, 163, 255, 0.08), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(132, 92, 255, 0.06), transparent 24%),
    linear-gradient(180deg, var(--st-orc-navy) 0%, var(--st-orc-void) 48%, #03050a 100%);
  color: var(--st-orc-text);
  overflow-x: clip;
}

body.st-orbis-reader-feedback-page .st-site-main {
  min-height: auto;
}

.st-orf-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */
.st-orf-hero {
  position: relative;
  padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 3vw, 32px);
}

.st-orf-hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(77, 163, 255, 0.1), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(132, 92, 255, 0.05), transparent 40%);
  pointer-events: none;
}

.st-orf-hero__inner {
  position: relative;
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.st-orf-hero__frame-label {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(94, 200, 232, 0.8);
}

body.st-orbis-reader-feedback-page .st-orc-hero__title {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #f4f8ff;
}

body.st-orbis-reader-feedback-page .st-orc-hero__lede {
  margin: 0 0 12px;
  max-width: 62ch;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.6;
  color: var(--st-orc-text);
}

body.st-orbis-reader-feedback-page .st-orc-hero__access-note {
  margin: 0;
  max-width: 62ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--st-orc-text-dim);
}

body.st-orbis-reader-feedback-page .st-orc-hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-orc-cyan-bright);
}

body.st-orbis-reader-feedback-page .st-orc-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--st-orc-line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--st-orc-silver);
  background: rgba(10, 17, 31, 0.72);
}

body.st-orbis-reader-feedback-page .st-orc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

/* Sections */
.st-orf-section {
  padding: clamp(16px, 3vw, 28px) 0;
}

.st-orf-section--next {
  padding-bottom: clamp(28px, 4vw, 48px);
}

/* Terminal form */
.st-orf-terminal-form {
  display: grid;
  gap: clamp(16px, 2.5vw, 22px);
}

.st-orf-panel {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(77, 163, 255, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(77, 163, 255, 0.06), transparent 55%),
    rgba(4, 6, 12, 0.92);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45) inset,
    0 16px 40px rgba(0, 0, 0, 0.28),
    0 0 24px var(--st-orc-glow);
  backdrop-filter: blur(10px);
}

.st-orf-panel--consent {
  border-color: rgba(94, 200, 232, 0.28);
}

.st-orf-panel__header {
  display: grid;
  gap: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(77, 163, 255, 0.14);
}

.st-orf-panel__label {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-orc-cyan-bright);
}

.st-orf-panel__intro {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--st-orc-text-dim);
}

.st-orf-field {
  display: grid;
  gap: 8px;
}

.st-orf-label {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--st-orc-silver);
}

.st-orf-optional {
  font-weight: 400;
  color: var(--st-orc-text-dim);
}

.st-orf-required {
  color: #ff8f8f;
}

.st-orf-input,
.st-orf-select,
.st-orf-textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--st-orf-field-border);
  background: var(--st-orf-field-bg);
  color: #f4f8ff;
  font: inherit;
  line-height: 1.45;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
}

.st-orf-input::placeholder,
.st-orf-textarea::placeholder {
  color: rgba(168, 184, 212, 0.55);
}

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

.st-orf-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--st-orc-cyan-bright) 50%),
    linear-gradient(135deg, var(--st-orc-cyan-bright) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% + 2px),
    calc(100% - 12px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.st-orf-helper {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--st-orc-text-dim);
}

.st-orf-checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--st-orc-text);
  line-height: 1.55;
  font-size: 0.92rem;
}

.st-orf-checkbox {
  margin-top: 4px;
  flex: 0 0 auto;
  accent-color: var(--st-orc-cyan);
}

.st-orf-field--actions {
  padding-top: 8px;
}

.st-orf-submit {
  min-width: min(100%, 280px);
}

/* Status panels */
.st-orf-status {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 14px;
  border: 1px solid rgba(77, 163, 255, 0.32);
  background: rgba(4, 6, 12, 0.92);
  box-shadow: 0 0 24px var(--st-orc-glow);
}

.st-orf-status--success {
  border-color: rgba(94, 200, 232, 0.35);
}

.st-orf-status--error {
  border-color: rgba(255, 120, 120, 0.35);
}

.st-orf-status__label {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--st-orc-cyan-bright);
}

.st-orf-status__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: #f4f8ff;
}

.st-orf-status__body {
  margin: 0;
  max-width: 58ch;
  line-height: 1.6;
  color: var(--st-orc-text-dim);
}

/* Shared ORBIS panel + buttons on feedback page */
body.st-orbis-reader-feedback-page .st-orc-shell {
  width: min(calc(100% - 32px), 820px);
  margin: 0 auto;
}

body.st-orbis-reader-feedback-page .st-orc-panel {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--st-orc-line);
  border-radius: 14px;
  background: rgba(10, 17, 31, 0.55);
  backdrop-filter: blur(8px);
}

body.st-orbis-reader-feedback-page .st-orc-panel--pathway {
  border-color: rgba(77, 163, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(77, 163, 255, 0.08), transparent 55%),
    rgba(10, 17, 31, 0.72);
}

body.st-orbis-reader-feedback-page .st-orc-section__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-orc-cyan-bright);
}

body.st-orbis-reader-feedback-page .st-orc-section__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  color: #f4f8ff;
}

body.st-orbis-reader-feedback-page .st-orc-section__lede {
  margin: 0;
  max-width: 62ch;
  line-height: 1.6;
  color: var(--st-orc-text);
}

body.st-orbis-reader-feedback-page .st-orc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

body.st-orbis-reader-feedback-page .st-orc-btn--primary {
  color: #07111a;
  background: linear-gradient(135deg, var(--st-orc-cyan-bright), var(--st-orc-cyan));
  border-color: rgba(94, 200, 232, 0.4);
}

body.st-orbis-reader-feedback-page .st-orc-btn--primary:hover,
body.st-orbis-reader-feedback-page .st-orc-btn--primary:focus-visible {
  filter: brightness(1.06);
}

body.st-orbis-reader-feedback-page .st-orc-btn--secondary {
  color: var(--st-orc-silver);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--st-orc-line);
}

body.st-orbis-reader-feedback-page .st-orc-btn--ghost {
  color: var(--st-orc-cyan-bright);
  background: transparent;
  border-color: rgba(77, 163, 255, 0.28);
}

body.st-orbis-reader-feedback-page .st-orc-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

body.st-orbis-reader-feedback-page .st-orc-action-row--prominent {
  padding-top: 4px;
}

/* ORBIS Final Signal Footer */
body.st-orbis-reader-feedback-page .st-orc-footer {
  position: relative;
  margin-top: clamp(8px, 2vw, 16px);
  padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 56px);
  color: var(--st-orc-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(77, 163, 255, 0.06), transparent 45%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.4), #03050a 100%);
  border-top: 1px solid rgba(77, 163, 255, 0.12);
}

body.st-orbis-reader-feedback-page .st-orc-footer__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(77, 163, 255, 0.1), transparent 60%);
}

body.st-orbis-reader-feedback-page .st-orc-footer__scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
}

body.st-orbis-reader-feedback-page .st-orc-footer__inner {
  position: relative;
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
}

body.st-orbis-reader-feedback-page .st-orc-footer__terminal {
  position: relative;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(77, 163, 255, 0.32);
  border-radius: 14px;
  background: rgba(4, 6, 12, 0.92);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45) inset,
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 32px var(--st-orc-glow);
}

body.st-orbis-reader-feedback-page .st-orc-footer__frame-label {
  margin-bottom: 18px;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(94, 200, 232, 0.8);
}

body.st-orbis-reader-feedback-page .st-orc-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

body.st-orbis-reader-feedback-page .st-orc-footer__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-orc-cyan-bright);
  margin-bottom: 8px;
}

body.st-orbis-reader-feedback-page .st-orc-footer__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  color: #f4f8ff;
}

body.st-orbis-reader-feedback-page .st-orc-footer__subtitle {
  margin: 0 0 14px;
  max-width: 38ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--st-orc-text-dim);
}

body.st-orbis-reader-feedback-page .st-orc-footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.st-orbis-reader-feedback-page .st-orc-footer__chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(77, 163, 255, 0.22);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--st-orc-silver);
  background: rgba(10, 17, 31, 0.75);
}

body.st-orbis-reader-feedback-page .st-orc-footer__column-heading {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--st-orc-cyan);
}

body.st-orbis-reader-feedback-page .st-orc-footer__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.st-orbis-reader-feedback-page .st-orc-footer__pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(77, 163, 255, 0.24);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--st-orc-silver);
  text-decoration: none;
  background: rgba(10, 17, 31, 0.65);
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body.st-orbis-reader-feedback-page .st-orc-footer__pill:hover,
body.st-orbis-reader-feedback-page .st-orc-footer__pill:focus-visible {
  color: var(--st-orc-cyan-bright);
  border-color: rgba(94, 200, 232, 0.45);
  box-shadow: 0 0 16px rgba(77, 163, 255, 0.15);
}

body.st-orbis-reader-feedback-page .st-orc-footer__strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: clamp(18px, 3vw, 24px);
  padding-top: 16px;
  border-top: 1px solid rgba(77, 163, 255, 0.16);
}

body.st-orbis-reader-feedback-page .st-orc-footer__strip-label {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--st-orc-cyan-bright);
  padding-top: 2px;
}

body.st-orbis-reader-feedback-page .st-orc-footer__strip p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--st-orc-text-dim);
}

/* Light global theme — page stays cinematic */
:root[data-theme="light"] body.st-orbis-reader-feedback-page {
  --st-orc-text: var(--st-mkt-portal-text-on-dark);
  --st-orc-text-dim: var(--st-mkt-portal-text-dim-on-dark);
}

:root[data-theme="light"] body.st-orbis-reader-feedback-page .st-orf-panel,
:root[data-theme="light"] body.st-orbis-reader-feedback-page .st-orc-panel,
:root[data-theme="light"] body.st-orbis-reader-feedback-page .st-orf-status,
:root[data-theme="light"] body.st-orbis-reader-feedback-page .st-orc-footer__terminal {
  background: var(--st-mkt-portal-footer-on-dark);
}

@media (max-width: 900px) {
  body.st-orbis-reader-feedback-page .st-orc-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.st-orbis-reader-feedback-page .st-orc-action-row,
  body.st-orbis-reader-feedback-page .st-orc-footer__pills {
    flex-direction: column;
    align-items: stretch;
  }

  body.st-orbis-reader-feedback-page .st-orc-btn,
  body.st-orbis-reader-feedback-page .st-orf-submit,
  body.st-orbis-reader-feedback-page .st-orc-footer__pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  body.st-orbis-reader-feedback-page .st-orc-footer__strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.st-orbis-reader-feedback-page .st-orc-btn,
  body.st-orbis-reader-feedback-page .st-orc-footer__pill {
    transition: none;
  }
}
