:root {
  --bg: #071021;
  --bg-soft: #0c1837;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --sidebar: #0c1c38;
  --text: #12233b;
  --text-strong: #0d1a2e;
  --muted: #68788f;
  --line: rgba(18, 35, 59, 0.12);
  --primary: #76ff9d;
  --primary-dark: #2de277;
  --primary-ink: #041321;
  --accent: #4ab7ff;
  --public-text: #eff8ff;
  --public-muted: rgba(219, 231, 255, 0.76);
  --public-card: rgba(8, 19, 47, 0.76);
  --public-card-strong: rgba(5, 13, 33, 0.9);
  --public-line: rgba(118, 255, 157, 0.2);
  --shadow: 0 24px 70px rgba(4, 12, 32, 0.16);
  --public-shadow: 0 28px 90px rgba(0, 7, 26, 0.52);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #081126 0%, #040812 100%);
}

button,
input,
textarea,
select,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(118, 255, 157, 0.52);
  outline-offset: 3px;
}

textarea {
  resize: vertical;
}

.hidden {
  display: none !important;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.public-area {
  width: min(1480px, calc(100% - 24px));
  margin: 0 auto;
  padding: 12px 0 24px;
  color: var(--public-text);
}

.landing-content {
  display: grid;
  gap: 0;
}

.hero-stage {
  min-height: calc(100vh - 24px);
  display: grid;
  align-items: center;
}

.hero-frame {
  position: relative;
  width: 100%;
  min-height: clamp(680px, 90vh, 920px);
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  isolation: isolate;
  overflow: visible;
}

.hero-frame::before {
  content: none;
}

.hero-frame::after {
  content: none;
}

.hero-orbit {
  display: none;
}

.hero-orbit-left {
  display: none;
}

.hero-orbit-right {
  display: none;
}

.frame-flare {
  display: none;
}

.frame-flare-top {
  display: none;
}

.frame-flare-bottom {
  display: none;
}

.hero-topbar,
.hero-bottom,
.section-grid,
.steps-grid,
.metric-grid,
.two-columns,
.panel-head,
.panel-head-search,
.convenio-card,
.convenio-actions,
.request-row {
  display: grid;
  gap: 20px;
}

.hero-topbar {
  grid-template-columns: 1fr auto;
  align-items: start;
  position: relative;
  z-index: 1;
}

.public-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 8px;
}

.public-nav a {
  position: relative;
  color: var(--public-muted);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.public-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, rgba(118, 255, 157, 0), rgba(118, 255, 157, 1), rgba(74, 183, 255, 0.8));
  transition: transform 180ms ease;
}

.public-nav a:hover::after {
  transform: scaleX(1);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(118, 255, 157, 0.38);
  background: linear-gradient(135deg, rgba(118, 255, 157, 0.16), rgba(74, 183, 255, 0.2));
  color: var(--public-text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(118, 255, 157, 0.14);
}

.brand strong {
  display: block;
}

.brand p {
  margin: 4px 0 0;
  color: var(--public-muted);
  font-size: 0.92rem;
}

.brand-hero {
  position: relative;
  top: auto;
  right: auto;
  text-align: left;
  z-index: 1;
}

.brand-hero strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.hero-frame-login {
  min-height: calc(100vh - 24px);
}

.hero-login-shell {
  width: min(100%, 1240px);
  min-height: clamp(460px, 72vh, 620px);
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(7, 18, 46, 0.84), rgba(4, 10, 25, 0.94));
  border: 3px solid rgba(118, 255, 157, 0.88);
  box-shadow:
    0 0 0 1px rgba(118, 255, 157, 0.18),
    0 0 28px rgba(118, 255, 157, 0.26),
    inset 0 0 32px rgba(118, 255, 157, 0.06);
  backdrop-filter: blur(14px);
}

.hero-login-shell::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(118, 255, 157, 0.14);
  pointer-events: none;
}

.brand-hero-login {
  position: absolute;
  top: clamp(22px, 3vw, 36px);
  right: clamp(24px, 3vw, 42px);
  gap: 0;
  justify-content: flex-end;
}

.brand-hero-login .brand-mark {
  display: none;
}

.brand-hero-login strong {
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  line-height: 0.9;
  color: rgba(240, 255, 244, 0.92);
  letter-spacing: -0.06em;
}

.hero-actions-vertical {
  width: min(100%, 340px);
  display: grid;
  gap: 16px;
  margin-top: 0;
}

.hero-actions-vertical .primary-button,
.hero-actions-vertical .ghost-button {
  min-height: 58px;
  border-radius: 18px;
  font-size: 1.02rem;
}

.hero-actions-vertical .ghost-button {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(118, 255, 157, 0.22);
  color: rgba(239, 248, 255, 0.94);
}

.admin-access-link {
  position: absolute;
  right: clamp(24px, 3vw, 42px);
  bottom: clamp(22px, 3vw, 36px);
  color: rgba(239, 248, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.admin-access-link:hover {
  color: #beffd0;
  transform: translateY(-2px);
}

.eyebrow,
.section-tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(118, 255, 157, 0.12);
  color: #b6ffcb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  gap: 26px;
  align-content: center;
}

.hero-copy-block {
  display: grid;
  gap: 16px;
  max-width: 680px;
}

.hero-badge {
  background: rgba(118, 255, 157, 0.12);
}

.hero-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero-lead {
  max-width: 58ch;
  margin: 0;
  color: var(--public-muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-copy .hero-actions {
  justify-content: flex-start;
}

.hero-proof-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-proof-list span {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 13, 34, 0.56);
  color: rgba(239, 248, 255, 0.84);
  font-weight: 700;
}

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

.hero-metric-card {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(6, 15, 37, 0.88), rgba(4, 10, 25, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-metric-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.hero-metric-card p {
  margin: 0;
  color: var(--public-muted);
  line-height: 1.7;
}

.hero-preview {
  position: relative;
}

.preview-shell {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(6, 16, 40, 0.92), rgba(4, 9, 24, 0.98)),
    radial-gradient(circle at top right, rgba(118, 255, 157, 0.08), transparent 32%);
  border: 1px solid rgba(118, 255, 157, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 24px 60px rgba(2, 8, 24, 0.42);
  backdrop-filter: blur(16px);
}

.preview-topbar,
.preview-highlight,
.preview-item,
.preview-columns {
  display: grid;
  gap: 14px;
}

.preview-topbar {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.preview-pill,
.preview-status,
.preview-badge,
.preview-tags span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.preview-pill {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(239, 248, 255, 0.84);
}

.preview-status {
  padding: 8px 12px;
  background: rgba(118, 255, 157, 0.14);
  color: #beffd0;
}

.preview-highlight {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-label,
.preview-item-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(219, 231, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-highlight strong,
.preview-item strong,
.preview-panel strong {
  color: #ffffff;
}

.preview-score {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 6px solid rgba(118, 255, 157, 0.18);
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 6px rgba(118, 255, 157, 0.08);
}

.preview-list {
  display: grid;
  gap: 12px;
}

.preview-item {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.preview-item.is-complete {
  border-color: rgba(118, 255, 157, 0.18);
}

.preview-item.is-live {
  border-color: rgba(74, 183, 255, 0.18);
}

.preview-item.is-waiting {
  border-color: rgba(255, 255, 255, 0.08);
}

.preview-badge {
  padding: 8px 12px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(239, 248, 255, 0.88);
}

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

.preview-panel {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-panel-accent {
  background: linear-gradient(180deg, rgba(74, 183, 255, 0.08), rgba(118, 255, 157, 0.06));
}

.preview-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-checklist li {
  position: relative;
  padding-left: 20px;
  color: rgba(239, 248, 255, 0.84);
}

.preview-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 4px rgba(118, 255, 157, 0.08);
}

.preview-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.preview-tags span {
  padding: 10px 14px;
  background: rgba(5, 13, 34, 0.46);
  color: #eff8ff;
}

.hero-copy h1,
.section-heading h2,
.content-card h2,
.modal-card h2,
.private-header h1,
.cta-copy h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.header-actions,
.hero-actions,
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions,
.cta-actions {
  justify-content: center;
}

.hero-actions {
  margin-top: 20px;
}

.section-heading {
  margin-bottom: 18px;
  max-width: 720px;
}

.section-heading p {
  margin: 0;
}

.section-heading h2,
.private-header h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 3vw, 3rem);
}

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

.step-card strong {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(118, 255, 157, 0.12);
  color: #baffcc;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.cta-section {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
}

.cta-copy h2 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.primary-button,
.secondary-button,
.ghost-button,
.text-button,
.row-button,
.link-button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--primary-ink);
  box-shadow: 0 14px 28px rgba(118, 255, 157, 0.22);
}

.secondary-button,
.ghost-button,
.row-button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  color: var(--text-strong);
}

.public-area .ghost-button,
.public-area .secondary-button {
  background: rgba(5, 13, 34, 0.74);
  border-color: rgba(118, 255, 157, 0.2);
  color: var(--public-text);
}

.text-button {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--primary-dark);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.text-button:hover,
.row-button:hover,
.link-button:hover,
.nav-link:hover {
  transform: translateY(-2px);
}

.convenio-access.is-blocked {
  pointer-events: auto;
  cursor: pointer;
}

.row-button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
}

.primary-button:hover {
  box-shadow: 0 18px 32px rgba(118, 255, 157, 0.3);
}

.public-area .ghost-button:hover,
.public-area .secondary-button:hover {
  box-shadow:
    0 0 0 1px rgba(118, 255, 157, 0.18),
    0 14px 26px rgba(2, 8, 24, 0.28);
}

.full-width {
  width: 100%;
}

.private-area {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 100vh;
  background: linear-gradient(180deg, #f7faf6 0%, #edf3ee 100%);
}

.private-sidebar {
  padding: 28px 20px;
  background: rgba(12, 28, 56, 0.98);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.brand-private .brand-mark {
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-ink);
  box-shadow: none;
}

.brand-private strong {
  font-family: "Space Grotesk", sans-serif;
}

.brand-private p {
  color: rgba(255, 255, 255, 0.68);
}

.private-sidebar .ghost-button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

.private-sidebar .ghost-button:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.private-nav,
.request-list {
  display: grid;
  gap: 14px;
}

.nav-divider {
  height: 1px;
  margin: 4px 0;
  background: rgba(255, 255, 255, 0.2);
}

.private-content {
  padding: 30px;
}

.private-header {
  margin-bottom: 24px;
}

.private-area .eyebrow,
.private-area .section-tag {
  background: rgba(45, 226, 119, 0.12);
  color: #0a7d3f;
}

.private-area .section-tag.is-success {
  background: rgba(45, 144, 89, 0.14);
  color: #1e6d44;
}

.nav-link {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  text-align: left;
}

.nav-link.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.08);
}

.screen {
  display: none;
}

.screen.is-visible {
  display: block;
}

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

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

.stack-form label,
.filter-box {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--text-strong);
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-strong);
}

input::placeholder,
textarea::placeholder {
  color: rgba(18, 35, 59, 0.42);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(45, 226, 119, 0.18);
  border-color: rgba(45, 226, 119, 0.36);
}

.form-feedback {
  margin: 0;
  color: #1e6d44;
  font-weight: 800;
}

.form-feedback.is-error {
  color: #8e2631;
}

.action-panel,
.convenio-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.action-panel h3,
.convenio-gate h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.action-panel p,
.convenio-gate p {
  margin: 0;
}

.segmented-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.segmented-filter button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-strong);
  font-weight: 800;
}

.segmented-filter button.is-active {
  border-color: rgba(45, 226, 119, 0.32);
  background: rgba(45, 226, 119, 0.14);
  color: #0a7d3f;
}

.support-history-card {
  margin-top: 18px;
}

.support-thread {
  display: grid;
  gap: 12px;
}

.support-message {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
}

.support-message-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.support-message p {
  margin: 0;
}

.support-reply {
  padding: 14px 16px;
  border-left: 3px solid var(--primary-dark);
  border-radius: 14px;
  background: rgba(45, 226, 119, 0.08);
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.metric-card,
.panel-card,
.attach-button,
.convenio-card,
.request-row {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.metric-card,
.panel-card {
  padding: 24px;
}

.metric-card p,
.panel-card p,
.convenio-card p,
.documents-summary span,
.panel-subtext,
.file-name,
.document-reason {
  color: var(--muted);
  line-height: 1.7;
}

.metric-card strong {
  margin: 12px 0 6px;
  font-size: 1.7rem;
}

.panel-head,
.panel-head-search {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 18px;
}

.documents-summary {
  text-align: right;
}

.documents-summary strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.documents-table,
.request-list,
.convenio-list {
  display: grid;
  gap: 12px;
}

.documents-row {
  display: grid;
  grid-template-columns: 1.05fr 0.7fr 1fr 1.1fr minmax(180px, auto);
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.document-actions {
  display: grid;
  gap: 10px;
}

.documents-head {
  background: transparent;
  border: 0;
  padding: 0 4px 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.84rem;
}

.attach-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 800;
}

.attach-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.convenio-card {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 18px;
}

.convenio-actions {
  grid-template-columns: 1fr;
  min-width: 220px;
}

.request-row {
  grid-template-columns: 1.2fr 0.8fr auto;
  align-items: center;
  padding: 16px 18px;
}

.request-head {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.88rem;
}

.status {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
}

.status.pending {
  color: #885804;
  background: rgba(212, 138, 16, 0.16);
}

.status.in-review {
  color: #0d5a83;
  background: rgba(31, 126, 196, 0.14);
}

.status.accepted,
.status.approved {
  color: #1e6d44;
  background: rgba(45, 144, 89, 0.14);
}

.status.refused {
  color: #8e2631;
  background: rgba(210, 55, 72, 0.14);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 10, 24, 0.76);
  backdrop-filter: blur(12px);
  z-index: 40;
}

.modal-card {
  width: min(100%, 520px);
  position: relative;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(7, 18, 47, 0.94), rgba(4, 10, 25, 0.98));
  border: 1px solid rgba(118, 255, 157, 0.18);
  color: var(--public-text);
  box-shadow: var(--public-shadow);
}

.modal-card .section-tag {
  background: rgba(118, 255, 157, 0.12);
  color: #beffd0;
}

.modal-card p {
  color: var(--public-muted);
}

.modal-card .form-feedback {
  color: #beffd0;
}

.modal-card .form-feedback.is-error {
  color: #ff9aa7;
}

.modal-card .stack-form label {
  color: var(--public-text);
}

.modal-card input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--public-text);
}

.documents-row.is-refused {
  border-color: rgba(210, 55, 72, 0.28);
  background: rgba(255, 246, 247, 0.92);
}

.documents-row.is-filtered-out {
  display: none;
}

.modal-card input::placeholder {
  color: rgba(239, 248, 255, 0.42);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--public-muted);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .hero-grid,
  .hero-bottom,
  .metric-grid,
  .private-area,
  .two-columns,
  .action-panel,
  .convenio-gate {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    max-width: 760px;
  }

  .private-sidebar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 720px) {
  .public-area {
    width: min(100%, calc(100% - 16px));
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .private-content {
    padding: 22px 16px 30px;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-frame {
    min-height: auto;
    padding: 0;
    border-radius: 0;
  }

  .hero-frame::before {
    content: none;
  }

  .hero-login-shell {
    min-height: clamp(420px, 68vh, 520px);
    padding: 86px 20px 28px;
    border-radius: 24px;
  }

  .hero-login-shell::before {
    inset: 12px;
    border-radius: 18px;
  }

  .hero-grid,
  .hero-metrics,
  .preview-topbar,
  .preview-highlight,
  .preview-item,
  .preview-columns,
  .hero-topbar,
  .panel-head-search,
  .documents-row,
  .convenio-card,
  .request-row {
    grid-template-columns: 1fr;
  }

  .brand-hero {
    text-align: left;
  }

  .brand-hero-login {
    top: 22px;
    right: 22px;
  }

  .brand-hero-login strong {
    font-size: clamp(2.5rem, 14vw, 3.8rem);
  }

  .hero-copy {
    gap: 20px;
  }

  .hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.9rem, 15vw, 4.4rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-proof-list span {
    width: 100%;
  }

  .hero-actions-vertical {
    width: min(100%, 280px);
  }

  .preview-score {
    width: 70px;
    height: 70px;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-actions > *,
  .cta-actions > * {
    flex: 1 1 180px;
  }

  .documents-head {
    display: none;
  }

  .documents-row {
    padding: 18px;
  }

  .convenio-actions {
    min-width: 0;
  }
}
