@import url("./reset.css");

/* ═══════════════════════════════════════════════
   FORM I-9  —  Section 1  |  Modern Card Layout
   ═══════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg: #f0f5fa;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  --border: #e2e8f0;
  --border-focus: #96b3ba;
  --accent: #96b3ba;
  --accent2: #bcbaae;
  --accent-glow: rgba(150, 179, 186, 0.25);
  --accent2-glow: rgba(188, 186, 174, 0.25);
  --success: #10b981;
  --warn: #d97706;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-xs: 6px;
  --shadow:
    0 10px 30px rgba(150, 179, 186, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  --tr: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Animated background ── */
body {
  font-family: "Google Sans", "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(
      ellipse 70% 55% at 15% 0%,
      rgba(150, 179, 186, 0.1) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 55% 45% at 85% 100%,
      rgba(188, 186, 174, 0.09) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 40% 30% at 50% 50%,
      rgba(150, 179, 186, 0.04) 0%,
      transparent 70%
    );
  background-attachment: fixed;
}

/* ── Page wrapper ── */
.form-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 20px 72px;
}

/* ── Top bar ── */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px var(--accent-glow);
  flex-shrink: 0;
}

.brand-text h1 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.brand-text p {
  font-size: 11.5px;
  color: var(--text-2);
  margin-top: 1px;
}

.form-badge {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.4px;
}

/* ── Alert notices ── */
.alert {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 12.5px;
  line-height: 1.65;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.alert-icon {
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-warn {
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: #b45309;
}

.alert-info {
  background: rgba(150, 179, 186, 0.1);
  border: 1px solid rgba(150, 179, 186, 0.28);
  color: #455a5f;
  margin-bottom: 28px;
}

.alert-warn strong {
  color: #d97706;
}

.alert-info strong {
  color: #557a82;
}

/* ── Onboarding Global Notice Banner ── */
.onboarding-global-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(15, 118, 110, 0.05);
  border-left: 4px solid #0f766e;
  border-top: 1px solid rgba(15, 118, 110, 0.15);
  border-right: 1px solid rgba(15, 118, 110, 0.15);
  border-bottom: 1px solid rgba(15, 118, 110, 0.15);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #1e293b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.onboarding-global-notice:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.25);
}

.onboarding-global-notice strong {
  color: #0f766e;
}

.onboarding-global-notice .notice-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  animation: pulse-teal 2s infinite ease-in-out;
}

@keyframes pulse-teal {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* ── Section chip header ── */
.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(
    90deg,
    rgba(150, 179, 186, 0.15),
    rgba(188, 186, 174, 0.1)
  );
  border: 1px solid rgba(150, 179, 186, 0.25);
  border-radius: 20px;
  padding: 6px 18px 6px 10px;
  margin-bottom: 20px;
}

.section-chip .chip-num {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.section-chip .chip-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #557a82;
}

.section-chip .chip-sub {
  font-size: 11px;
  color: var(--text-2);
  margin-left: 4px;
}

/* ── Field Section Card ── */
.f-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  transition: border-color var(--tr);
}

.f-section:focus-within {
  border-color: rgba(150, 179, 186, 0.22);
}

.f-section-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--text-2);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.f-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── CSS Grid field rows ── */
.fg-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fg-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.fg-4 {
  display: grid;
  grid-template-columns: 2fr 2fr 0.7fr 1.6fr;
  gap: 14px;
}

.fg-addr {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 14px;
}

.fg-addr2 {
  display: grid;
  grid-template-columns: 2fr 0.6fr 0.8fr;
  gap: 14px;
}

.fg-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 2fr 1.4fr;
  gap: 14px;
}

.mt-14 {
  margin-top: 14px;
}

/* ── Field Group ── */
.fg {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fg label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--text-2);
  margin-bottom: 6px;
  transition: color var(--tr);
}

.fg:focus-within label {
  color: var(--accent);
}

.fg input,
.fg select {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  width: 100%;
  transition:
    border-color var(--tr),
    background var(--tr),
    box-shadow var(--tr);
}

.fg input::placeholder {
  color: var(--text-3);
}

.fg input:hover {
  border-color: #cbd5e1;
  background: var(--surface-3);
}

.fg input:focus {
  border-color: var(--border-focus);
  background: var(--surface-3);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ── Native date picker – light theme ── */
.fg input[type="date"] {
  color-scheme: light;
  cursor: pointer;
}

.fg input[type="date"]::-webkit-calendar-picker-indicator {
  filter: opacity(0.6) sepia(0.5) saturate(2) hue-rotate(150deg);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--tr);
}

.fg input[type="date"]:hover::-webkit-calendar-picker-indicator,
.fg input[type="date"]:focus::-webkit-calendar-picker-indicator {
  opacity: 1;
}

/* ── Attestation card ── */
.attest-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.attest-legal {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.75;
  font-style: italic;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.attest-legal .gavel {
  font-size: 20px;
  flex-shrink: 0;
}

.attest-body {
  padding: 20px 24px;
}

.attest-body > p {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 16px;
}

/* ── Custom radio options ── */
.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background var(--tr),
    border-color var(--tr),
    box-shadow var(--tr);
}

.radio-opt:hover {
  background: var(--surface-3);
  border-color: rgba(150, 179, 186, 0.25);
}

.radio-opt.selected {
  background: rgba(150, 179, 186, 0.08);
  border-color: rgba(150, 179, 186, 0.45);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.radio-opt input[type="checkbox"] {
  display: none;
}

.radio-dot {
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-3);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color var(--tr),
    background var(--tr);
}

.radio-opt.selected .radio-dot {
  border-color: var(--accent);
  background: var(--accent);
}

.radio-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  transform: scale(0);
  transition: transform 0.15s ease;
}

.radio-opt.selected .radio-dot::after {
  transform: scale(1);
}

.radio-opt .opt-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-3);
  background: var(--surface-3);
  border-radius: 4px;
  padding: 1px 6px;
  flex-shrink: 0;
  margin-top: 2px;
  transition:
    color var(--tr),
    background var(--tr);
}

.radio-opt.selected .opt-num {
  color: var(--accent);
  background: rgba(150, 179, 186, 0.15);
}

.radio-opt .opt-text {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
  transition: color var(--tr);
}

/* ═══════════════════════════════════════════════
   W-4MN 2025 — Multi-step certificate panel
   ═══════════════════════════════════════════════ */
.w4mn-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 4px 0 0;
}

.w4mn-page .form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  gap: 20px;
  flex-wrap: wrap;
}

.w4mn-page .header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.w4mn-page .header-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.w4mn-page .header-titles h1 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.w4mn-page .header-titles p {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 2px;
  font-style: italic;
}

.w4mn-page .form-year {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  align-self: flex-start;
}

.w4mn-page .progress-wrap {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 24px;
  overflow: hidden;
}

.w4mn-page .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  transition: width 0.4s ease;
}

.w4mn-page .stepper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.w4mn-page .step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 82px;
  position: relative;
  cursor: pointer;
}

.w4mn-page .step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 2px;
  background: var(--border);
}

.w4mn-page .step-item.done:not(:last-child)::after {
  background: var(--accent);
}

.w4mn-page .step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-3);
  transition: all var(--tr);
  z-index: 1;
}

.w4mn-page .step-item.active .step-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.w4mn-page .step-item.done .step-circle {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
}

.w4mn-page .step-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-3);
  margin-top: 8px;
  text-align: center;
  line-height: 1.3;
  max-width: 90px;
}

.w4mn-page .step-item.active .step-label {
  color: var(--accent-dark);
}

.w4mn-page .step-item.done .step-label {
  color: var(--text-2);
}

.w4mn-page .panel {
  display: none;
  animation: w4mnFadeSlide 0.3s ease;
}

.w4mn-page .panel.active {
  display: block;
}

@keyframes w4mnFadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.w4mn-page .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.w4mn-page .card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.w4mn-page .card-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.w4mn-page .card-title-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(
    135deg,
    rgba(150, 179, 186, 0.18),
    rgba(188, 186, 174, 0.12)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.w4mn-page .g2,
.w4mn-page .g3,
.w4mn-page .g4,
.w4mn-page .g-addr,
.w4mn-page .g-addr2 {
  display: grid;
  gap: 16px;
}

.w4mn-page .g2 {
  grid-template-columns: 1fr 1fr;
}

.w4mn-page .g3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.w4mn-page .g4 {
  grid-template-columns: 2fr 2fr 0.7fr 1.5fr;
}

.w4mn-page .g-addr {
  grid-template-columns: 3fr 1fr;
}

.w4mn-page .g-addr2 {
  grid-template-columns: 2fr 0.6fr 0.9fr;
}

.w4mn-page .mt16 {
  margin-top: 16px;
}

.w4mn-page .mt8 {
  margin-top: 8px;
}

.w4mn-page .marital-grid,
.w4mn-page .section-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.w4mn-page .marital-opt,
.w4mn-page .sec-btn,
.w4mn-page .exempt-box {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: all var(--tr);
}

.w4mn-page .marital-opt,
.w4mn-page .sec-btn {
  padding: 11px 13px;
  cursor: pointer;
}

.w4mn-page .marital-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  user-select: none;
}

.w4mn-page .marital-opt:hover,
.w4mn-page .sec-btn:hover,
.w4mn-page .exempt-box:hover {
  background: var(--surface-3);
  border-color: var(--accent);
}

.w4mn-page .marital-opt.sel,
.w4mn-page .sec-btn.active,
.w4mn-page .exempt-box.sel {
  background: rgba(150, 179, 186, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.w4mn-page .marital-dot,
.w4mn-page .exempt-cb {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.w4mn-page .marital-dot {
  width: 16px;
  height: 16px;
  border: 2px solid var(--text-3);
  border-radius: 50%;
  margin-top: 2px;
}

.w4mn-page .marital-opt.sel .marital-dot {
  border-color: var(--accent);
  background: var(--accent);
}

.w4mn-page .marital-dot::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
}

.w4mn-page .marital-opt.sel .marital-dot::after {
  transform: scale(1);
}

.w4mn-page .opt-txt,
.w4mn-page .sec-btn-sub,
.w4mn-page .allow-desc,
.w4mn-page .exempt-txt,
.w4mn-page .cert-text,
.w4mn-page .employer-note {
  color: var(--text-2);
}

.w4mn-page .opt-txt {
  font-size: 12px;
  line-height: 1.45;
}

.w4mn-page .sec-btn-num {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-3);
  margin-bottom: 6px;
}

.w4mn-page .sec-btn.active .sec-btn-num {
  color: var(--accent-dark);
}

.w4mn-page .sec-btn-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.w4mn-page .sec-btn-sub {
  font-size: 11px;
  line-height: 1.4;
}

.w4mn-page .sec-active-dot {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 8px;
}

.w4mn-page .sec-btn.active .sec-active-dot {
  display: block;
}

.w4mn-page .allow-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}

.w4mn-page .allow-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.w4mn-page .allow-key {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(
    135deg,
    rgba(150, 179, 186, 0.15),
    rgba(188, 186, 174, 0.1)
  );
  border: 1px solid rgba(150, 179, 186, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.w4mn-page .allow-desc {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.5;
}

.w4mn-page .allow-desc strong {
  color: var(--text);
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.w4mn-page .allow-desc ul {
  padding-left: 16px;
  margin-top: 4px;
}

.w4mn-page .allow-desc li {
  margin-bottom: 3px;
}

.w4mn-page .allow-input {
  width: 60px;
  flex-shrink: 0;
}

.w4mn-page .allow-input input {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  width: 100%;
  transition:
    border-color var(--tr),
    background var(--tr),
    box-shadow var(--tr);
}

.w4mn-page .allow-input input {
  text-align: center;
  font-family: "DM Mono", monospace;
  font-weight: 500;
}

.w4mn-page .line-total {
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(150, 179, 186, 0.06),
    rgba(188, 186, 174, 0.04)
  );
  border: 1px solid rgba(150, 179, 186, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 12px;
  gap: 14px;
}

.w4mn-page .line-total-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  flex: 1;
}

.w4mn-page .line-total-val {
  font-family: "DM Mono", monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-dark);
  min-width: 60px;
  text-align: right;
}

.w4mn-page .exempt-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  margin-bottom: 10px;
}

.w4mn-page .exempt-cb {
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-3);
  border-radius: 4px;
  margin-top: 1px;
  font-size: 12px;
  color: transparent;
}

.w4mn-page .exempt-box.sel .exempt-cb {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.w4mn-page .exempt-box-letter {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(150, 179, 186, 0.12);
  border: 1px solid rgba(150, 179, 186, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.w4mn-page .exempt-txt {
  font-size: 12.5px;
  line-height: 1.5;
}

.w4mn-page .exempt-sub {
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(150, 179, 186, 0.04);
  border: 1px solid rgba(150, 179, 186, 0.15);
  border-radius: 10px;
  display: none;
}

.w4mn-page .exempt-sub.show {
  display: block;
}

.w4mn-page .exempt-sub p {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.w4mn-page .sig-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.w4mn-page .sig-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.w4mn-page .sig-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-2);
}

.w4mn-page .sig-actions {
  display: flex;
  gap: 8px;
}

.w4mn-page .sig-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.w4mn-page .sig-btn:hover {
  background: var(--surface-3);
  color: var(--text);
}

.w4mn-page .sig-btn-clear {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.25);
}

.w4mn-page .sig-btn-clear:hover {
  background: rgba(248, 113, 113, 0.08);
  color: #fca5a5;
}

.w4mn-page .sig-canvas-wrap {
  position: relative;
  height: 110px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: crosshair;
}

.w4mn-page .sig-canvas-wrap.drawing {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.w4mn-page .sig-canvas-wrap.error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.w4mn-page .sig-canvas-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  pointer-events: auto;
  display: block;
  z-index: 1;
}

.w4mn-page .sig-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  color: var(--text-3);
  font-style: italic;
  pointer-events: none;
  z-index: 2;
  gap: 6px;
}

.w4mn-page .cert-text {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 12px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.w4mn-page .cert-text strong {
  color: var(--accent-dark);
  font-style: normal;
}

.w4mn-page .employer-note {
  background: rgba(150, 179, 186, 0.04);
  border: 1px solid rgba(150, 179, 186, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 12px;
  line-height: 1.65;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.w4mn-page .form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
}

.w4mn-page .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.w4mn-page .btn-back:hover {
  background: var(--surface-2);
  border-color: rgba(150, 179, 186, 0.3);
  color: var(--text);
}

.w4mn-page .btn-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #0d1117;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.w4mn-page .btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(150, 179, 186, 0.35);
  filter: brightness(1.04);
}

.w4mn-page .nav-spacer {
  flex: 1;
}

.w4mn-page .success-screen {
  display: none;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 40px;
  box-shadow:
    0 4px 20px rgba(150, 179, 186, 0.12),
    0 1px 4px rgba(0, 0, 0, 0.04);
}

.w4mn-page .success-screen.show {
  display: block;
}

.w4mn-page .success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.12);
  font-size: 34px;
}

.w4mn-page .success-screen h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.w4mn-page .success-screen p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 28px;
}

.w4mn-page .success-table {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 20px;
  text-align: left;
  margin-bottom: 28px;
}

.w4mn-page .s-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.w4mn-page .s-row:last-child {
  border-bottom: none;
}

.w4mn-page .s-key {
  color: var(--text-2);
}

.w4mn-page .s-val {
  color: var(--text);
  font-weight: 600;
}

.w4mn-page .inline-note {
  font-size: 11.5px;
  color: var(--text-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  margin-top: 8px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .w4mn-page .form-header,
  .w4mn-page .card,
  .w4mn-page .success-screen {
    padding-left: 16px;
    padding-right: 16px;
  }

  .w4mn-page .g2,
  .w4mn-page .g3,
  .w4mn-page .g4,
  .w4mn-page .g-addr,
  .w4mn-page .g-addr2,
  .w4mn-page .marital-grid,
  .w4mn-page .section-toggle {
    grid-template-columns: 1fr;
  }

  .w4mn-page .stepper {
    padding: 16px 12px;
  }

  .w4mn-page .form-nav {
    flex-wrap: wrap;
  }
}

.radio-opt.selected .opt-text {
  color: var(--text);
}

/* ── Item 4 sub-fields ── */
.item4-sub {
  display: none;
  grid-column: 1 / -1;
  margin-top: 4px;
  animation: slideIn 0.2s ease;
}

.item4-sub.visible {
  display: block;
}

.item4-inner {
  background: rgba(150, 179, 186, 0.05);
  border: 1px solid rgba(150, 179, 186, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 10px;
}

.item4-inner > p {
  font-size: 11.5px;
  color: var(--text-2);
  margin-bottom: 12px;
}

.item4-inner > p strong {
  color: var(--accent);
}

.item4-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: end;
}

.or-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  padding-bottom: 9px;
}

.or-pill span {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent2);
  background: rgba(188, 186, 174, 0.15);
  border: 1px solid rgba(188, 186, 174, 0.25);
  border-radius: 10px;
  padding: 2px 8px;
}

/* ── Signature card ── */
.sig-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Signature pad wrapper */
.sig-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sig-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sig-actions {
  display: flex;
  gap: 8px;
}

.sig-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 11.5px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--tr),
    border-color var(--tr),
    color var(--tr);
}

.sig-btn:hover {
  background: var(--surface-3);
  border-color: #cbd5e1;
  color: var(--text);
}

.sig-btn-danger {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.25);
}

.sig-btn-danger:hover {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
}

/* Canvas container */
.sig-canvas-wrap {
  position: relative;
  width: 100%;
  height: 110px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: crosshair;
  transition:
    border-color var(--tr),
    box-shadow var(--tr);
}

.sig-canvas-wrap:hover {
  border-color: rgba(150, 179, 186, 0.35);
}

.sig-canvas-wrap:has(canvas.active) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.sig-canvas-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: auto;
  touch-action: none;
}

.sig-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  color: var(--text-3);
  font-style: italic;
  pointer-events: none;
  transition: opacity var(--tr);
  gap: 6px;
}

/* ── Preparer note ── */
.preparer-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.65;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.preparer-note .note-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.preparer-note strong {
  color: var(--text);
}

/* ── Form Actions / Submit Button ── */
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #0d1117;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--tr),
    box-shadow var(--tr),
    background var(--tr);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(150, 179, 186, 0.35);
  background: linear-gradient(135deg, #aed4dd 0%, #d4d2c8 100%);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn svg {
  width: 16px;
  height: 16px;
  stroke: #0d1117;
}

/* ── Success Card ── */
.success-card {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow), var(--shadow-glow);
  max-width: 580px;
  margin: 40px auto 0;
}

.success-card.active {
  display: block;
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(52, 211, 153, 0.08);
  border: 1.5px solid var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--success);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.15);
}

.success-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--success);
}

.success-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.success-card p {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.success-details {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 32px;
}

.success-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.success-detail-row:last-child {
  border-bottom: none;
}

.success-detail-label {
  color: var(--text-2);
}

.success-detail-value {
  color: var(--text);
  font-weight: 600;
}

.btn-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--tr),
    border-color var(--tr);
}

.btn-reset:hover {
  background: var(--surface-3);
  border-color: #cbd5e1;
}

/* ── Error Card ── */
.error-card {
  display: none;
  background: var(--surface);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 580px;
  margin: 40px auto 0;
}

.error-card.active {
  display: block;
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.error-icon {
  width: 80px;
  height: 80px;
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px solid #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #ef4444;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.15);
}

.error-icon svg {
  width: 36px;
  height: 36px;
  stroke: #ef4444;
}

.error-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.error-card p {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
  color: #ef4444;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--tr),
    border-color var(--tr);
}

.btn-retry:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}

/* ── Validation Styles ── */
.fg.error input {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important;
}

.fg.error label {
  color: #f87171 !important;
}

.sig-canvas-wrap.error {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important;
}

.radio-opt.error {
  border-color: rgba(248, 113, 113, 0.3) !important;
}

.checkbox-container.error {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important;
}

/* ── Animations ── */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .fg-4,
  .fg-row,
  .fg-addr,
  .fg-addr2,
  .fg-3,
  .fg-2 {
    grid-template-columns: 1fr;
  }

  .radio-grid {
    grid-template-columns: 1fr;
  }

  .sig-card {
    grid-template-columns: 1fr;
  }

  .item4-grid {
    grid-template-columns: 1fr;
  }

  .or-pill {
    display: none;
  }

  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Multi-Form Portal Layout ── */
.portal-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

.portal-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Sticky Sidebar ── */
.portal-sidebar {
  position: sticky;
  top: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  z-index: 100;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--border);
}

.portal-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 15px var(--accent-glow);
  flex-shrink: 0;
}

.portal-brand-text h2 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.portal-brand-text p {
  font-size: 10.5px;
  color: var(--text-2);
  margin-top: 1px;
}

.portal-menu-title {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-3);
  margin: 18px 0 10px 6px;
}

.portal-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portal-menu-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--tr);
}

.portal-menu-item.active button {
  background: rgba(150, 179, 186, 0.08);
  border-color: rgba(150, 179, 186, 0.25);
  color: var(--text);
  font-weight: 700;
}

.portal-menu-item:not(.disabled):not(.active) button:hover {
  background: var(--surface-2);
  color: var(--text);
  padding-left: 17px;
}

.portal-menu-item.disabled button {
  opacity: 0.55;
  cursor: not-allowed;
}

.portal-menu-item.disabled button:hover {
  background: transparent;
}

.menu-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-item-icon {
  font-size: 15px;
  width: 20px;
  text-align: center;
}

/* ── Dynamic Panels ── */
.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Badges ── */
.status-badge {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 12px;
  flex-shrink: 0;
}

.status-badge.completed {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.active {
  background: rgba(150, 179, 186, 0.12);
  color: #557a82;
  border: 1px solid rgba(150, 179, 186, 0.28);
}

.status-badge.locked {
  background: var(--surface-3);
  color: var(--text-3);
  border: 1px solid var(--border);
}

/* ── Mobile Navigation Bar ── */
.mobile-nav-header {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1010;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.mobile-hamburger {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-2);
  transition: all var(--tr);
}

.mobile-hamburger:hover {
  background: var(--surface-3);
  color: var(--text);
}

/* Drawer Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── Procedure Clause Styles (Drug Policy) ── */
.procedure-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.procedure-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.procedure-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}

.procedure-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.procedure-letter {
  width: 24px;
  height: 24px;
  background: rgba(150, 179, 186, 0.12);
  border: 1px solid rgba(150, 179, 186, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #557a82;
  flex-shrink: 0;
  margin-top: 1px;
}

.procedure-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}

.procedure-text strong {
  color: var(--text);
}

/* Info Highlight for Minnesota Statutes */
.statute-highlight {
  background: rgba(150, 179, 186, 0.05);
  border-left: 3px solid var(--accent);
  padding: 2px 8px;
  border-radius: 0 4px 4px 0;
  display: inline;
}

/* Responsive Sidebar Override */
@media (max-width: 1024px) {
  .portal-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portal-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    bottom: 0;
    width: 300px;
    max-height: 100vh;
    border-radius: 0;
    z-index: 1005;
    transition: left var(--tr);
  }

  .portal-sidebar.open {
    left: 0;
    box-shadow: 20px 0 40px rgba(15, 23, 42, 0.15);
  }

  .mobile-nav-header {
    display: flex;
  }

  .portal-container {
    padding-top: 16px;
  }
}

/* ── Finalize & Submit / Review Panel Styles ── */
.review-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.review-item {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all var(--tr);
}
.review-item:hover:not(.upcoming) {
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--accent-glow);
  background: var(--surface);
}
.review-item.completed {
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.02);
}
.review-item.completed:hover {
  border-color: var(--success);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}
.review-item-main {
  display: flex;
  align-items: center;
  gap: 16px;
}
.review-item-status-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.review-item-status-icon.pending {
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.2);
  color: var(--warn);
}
.review-item-status-icon.completed {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success);
}
.review-item-status-icon.locked {
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--text-3);
}
.review-item-info h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.review-item-status-text {
  font-size: 11px;
  color: var(--text-2);
  font-weight: 500;
}
.btn-review-action {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 8px 16px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
}
.btn-review-action:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--text);
  background: var(--surface-2);
}
.btn-review-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-review-action.edit {
  border-color: rgba(150, 179, 186, 0.4);
  color: var(--accent);
}
.btn-review-action.edit:hover {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}

/* Final submit box */
.final-submit-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface-2);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 8px;
  transition: all var(--tr);
}
.final-submit-box.unlocked {
  border-style: solid;
  border-color: var(--accent);
  background: rgba(150, 179, 186, 0.02);
  box-shadow: 0 4px 15px var(--accent-glow);
}
.submit-box-icon {
  font-size: 26px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--tr);
}
.final-submit-box.unlocked .submit-box-icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: white;
  box-shadow: 0 4px 12px var(--accent-glow);
}
.submit-box-details {
  flex-grow: 1;
}
.submit-box-details h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.submit-box-details p {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.45;
}
.btn-submit-all {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: all var(--tr);
  white-space: nowrap;
}
.btn-submit-all:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(150, 179, 186, 0.4);
  filter: brightness(1.03);
}
.btn-submit-all:disabled {
  background: var(--border);
  color: var(--text-3);
  box-shadow: none;
  cursor: not-allowed;
}

/* Success card finalize actions */
.celebrate-badge {
  background: linear-gradient(
    90deg,
    rgba(150, 179, 186, 0.1) 0%,
    rgba(188, 186, 174, 0.1) 100%
  );
  border: 1px solid rgba(150, 179, 186, 0.2);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text);
  display: inline-block;
  margin-bottom: 20px;
}
.highlight-box {
  background: rgba(150, 179, 186, 0.03);
  border: 1px solid rgba(150, 179, 186, 0.2);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0;
  box-shadow: inset 0 2px 8px rgba(150, 179, 186, 0.02);
}
.finalize-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.btn-action-outline {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--tr);
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-action-outline:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--surface-2);
  transform: translateY(-1px);
}

/* Fullscreen Transmission Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  animation: fadeIn 0.4s forwards;
}
.loading-content {
  background: rgba(30, 41, 59, 0.95);
  border: 1.5px solid rgba(150, 179, 186, 0.15);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(150, 179, 186, 0.1);
}
.spinner-container {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
}
.premium-spinner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid rgba(150, 179, 186, 0.1);
  border-top: 4px solid var(--accent);
  border-right: 4px solid var(--accent2);
  animation: spin 1s linear infinite;
}
.spinner-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.15;
  animation: pulse 1.8s ease-in-out infinite;
}
.loading-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.loading-content p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
}
.overlay-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}
.overlay-step {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.4;
  transition: all 0.3s;
}
.overlay-step.active {
  opacity: 1;
}
.overlay-step.completed {
  opacity: 0.7;
  color: var(--success);
}
.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}
.overlay-step.active .step-dot {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transform: scale(1.2);
}
.overlay-step.completed .step-dot {
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}
.step-text {
  font-size: 11.5px;
  font-weight: 600;
}

/* General layout additions */
.btn-primary {
  background: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 11px 24px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--surface);
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: all var(--tr);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(150, 179, 186, 0.35);
  background: var(--accent);
  filter: brightness(0.96);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.25;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Multistep Stepper Navigation */
.form-stepper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px 20px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
}
.stepper-step {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.55;
  transition: all var(--tr);
  flex: 1;
}
.stepper-step.active {
  opacity: 1;
}
.stepper-step.completed {
  opacity: 0.85;
}
.stepper-step .step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-3);
  flex-shrink: 0;
  background: var(--surface-3);
  transition: all var(--tr);
}
.stepper-step.active .step-icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 10px var(--accent-glow);
}
.stepper-step.completed .step-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}
.stepper-step .step-info {
  display: flex;
  flex-direction: column;
}
.stepper-step .step-info h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px 0;
  line-height: 1.2;
}
.stepper-step .step-info p {
  font-size: 10px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.1;
}
.stepper-divider {
  height: 2px;
  background: var(--border);
  flex-grow: 1;
  max-width: 40px;
  margin: 0 10px;
  opacity: 0.5;
}

/* High-Fidelity Frosted Grid Tables */
.responsive-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border);
  margin-top: 10px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}
.frosted-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.01);
}
.frosted-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--surface-3);
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  border-bottom: 2.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  font-size: 10.5px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.frosted-table th:last-child {
  border-right: none;
}
.frosted-table td {
  padding: 10px;
  border-bottom: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.005);
}
.frosted-table td:last-child {
  border-right: none;
}
.frosted-table tr:last-child td {
  border-bottom: none;
}
.frosted-table td input[type="text"],
.frosted-table td input[type="tel"],
.frosted-table td input[type="date"] {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--surface-3);
  color: var(--text);
  font-family: inherit;
  font-size: 11.5px;
  box-sizing: border-box;
  transition: all var(--tr);
}
.frosted-table td input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  background: var(--surface-2);
}
.app-emp-step-panel {
  animation: fadeIn 0.35s ease-in-out;
}

/* Inline style extracts */

.inline-style-001 {
  font-size: 15px;
  width: 32px;
  height: 32px;
}

.inline-style-002 {
  font-size: 12.5px;
}

.inline-style-003 {
  font-size: 10px;
}

.inline-style-004 {
  display: none;
}

.inline-style-005 {
  margin-bottom: 0;
}

.inline-style-006 {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.inline-style-007 {
  margin-top: 10px;
}

.inline-style-008 {
  margin-bottom: 24px;
}

.inline-style-009 {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 4px;
}

.inline-style-010 {
  text-align: center;
  padding: 24px 20px;
}

.inline-style-011 {
  font-size: 20px;
  color: #0f766e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(15, 118, 110, 0.1);
  padding-bottom: 12px;
  margin-bottom: 0;
}

.inline-style-012 {
  border-bottom: 1px dashed rgba(226, 232, 240, 0.8);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.inline-style-013 {
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
}

.inline-style-014 {
  padding-bottom: 8px;
}

.inline-style-015 {
  margin-top: 20px;
}

.inline-style-016 {
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 20px;
}

.inline-style-017 {
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 16px;
}

.inline-style-018 {
  border-bottom: 1px dashed rgba(226, 232, 240, 0.8);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.inline-style-019 {
  background: rgba(15, 118, 110, 0.04);
  border-left: 4px solid #0f766e;
  padding: 16px;
  border-radius: 6px;
  margin-top: 20px;
}

.inline-style-020 {
  font-size: 14.5px;
  line-height: 1.6;
  color: #0f766e;
  font-weight: 500;
  margin: 0;
}

.inline-style-021 {
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
  font-weight: 500;
  margin-bottom: 20px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 6px;
  padding: 16px;
}

.inline-style-022 {
  background: rgba(15, 118, 110, 0.03);
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}

.inline-style-023 {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 20px;
}

.inline-style-024 {
  height: 1px;
  background: rgba(15, 118, 110, 0.15);
  margin: 20px 0;
}

.inline-style-025 {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 0;
}

.inline-style-026 {
  margin-top: 16px;
}

.inline-style-027 {
  margin-top: 24px;
}

.inline-style-028 {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

.inline-style-029 {
  margin-bottom: 16px;
}

.inline-style-030 {
  margin-bottom: 0;
  line-height: 1.7;
}

.inline-style-031 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.inline-style-032 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.4);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.inline-style-033 {
  font-size: 15px;
  margin-bottom: 4px;
  color: #0f766e;
}

.inline-style-034 {
  margin-top: 0;
}

.inline-style-035 {
  margin-bottom: 0;
  font-size: 12px;
}

.inline-style-036 {
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.6;
}

.inline-style-037 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.inline-style-038 {
  background: rgba(150, 179, 186, 0.05);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color 0.2s;
}

.inline-style-039 {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 2px;
  cursor: pointer;
}

.inline-style-040 {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.6;
  cursor: pointer;
  user-select: none;
}

.inline-style-041 {
  margin-left: 20px;
  margin-top: 4px;
  list-style-type: disc;
}

.inline-style-042 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.inline-style-043 {
  background: rgba(150, 179, 186, 0.03);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: border-color 0.2s;
}

.inline-style-044 {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  margin-top: 2px;
  cursor: pointer;
}

.inline-style-045 {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}

.inline-style-046 {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 14px;
  font-style: italic;
}

.inline-style-047 {
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 20px;
  line-height: 1.6;
}

.inline-style-048 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.inline-style-049 {
  background: rgba(255, 255, 255, 0.01);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.inline-style-050 {
  font-size: 13.5px;
  color: var(--text);
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.inline-style-051 {
  margin-bottom: 14px;
}

.inline-style-052 {
  margin-bottom: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.inline-style-053 {
  height: 100px;
}

.inline-style-054 {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 18px;
  font-weight: 500;
}

.inline-style-055 {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.inline-style-056 {
  margin-top: 18px;
}

.inline-style-057 {
  margin-left: 20px;
  color: var(--text-muted);
  line-height: 1.6;
}

.inline-style-058 {
  margin-bottom: 8px;
}

.inline-style-059 {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color 0.2s;
}

.inline-style-060 {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  margin-top: 2px;
  cursor: pointer;
}

.inline-style-061 {
  color: var(--text-light);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}

.inline-style-062 {
  width: 18px;
  height: 18px;
  margin-left: 8px;
}

.inline-style-063 {
  color: var(--accent);
  font-weight: bold;
}

.inline-style-064 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.inline-style-065 {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
}

.inline-style-066 {
  padding: 10px 14px;
  font-size: 11px;
  margin-bottom: 14px;
}

.inline-style-067 {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.inline-style-068 {
  padding: 6px 12px;
  font-size: 12px;
  margin-bottom: 0;
}

.inline-style-069 {
  font-size: 12px;
}

.inline-style-070 {
  justify-content: flex-end;
}

.inline-style-071 {
  display: flex;
  gap: 16px;
}

.inline-style-072 {
  font-weight: 600;
  font-size: 12.5px;
  color: var(--text);
}

.inline-style-073 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 10px 0 20px;
}

.inline-style-074 {
  display: none;
  margin-bottom: 14px;
}

.inline-style-075 {
  display: flex;
  gap: 10px;
}

.inline-style-076 {
  flex: 1;
}

.inline-style-077 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
}

.inline-style-078 {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.inline-style-079 {
  font-size: 11.5px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.inline-style-080 {
  width: 15%;
}

.inline-style-081 {
  width: 45%;
}

.inline-style-082 {
  width: 10%;
}

.inline-style-083 {
  font-weight: 700;
  color: var(--text-2);
  font-size: 11px;
}

.inline-style-084 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inline-style-085 {
  font-size: 11px;
}

.inline-style-086 {
  width: 14px;
  height: 14px;
}

.inline-style-087 {
  text-align: center;
  color: var(--text-3);
  font-size: 10px;
}

.inline-style-088 {
  width: 35%;
}

.inline-style-089 {
  width: 12%;
}

.inline-style-090 {
  width: 18%;
}

.inline-style-091 {
  width: 20%;
}

.inline-style-092 {
  font-family: inherit;
  font-size: 11.5px;
  width: 100%;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border);
  padding: 6px;
  background: var(--surface-3);
  color: var(--text);
  resize: none;
}

.inline-style-093 {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.inline-style-094 {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-2);
}

.inline-style-095 {
  width: 13px;
  height: 13px;
}

.inline-style-096 {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.inline-style-097 {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.inline-style-098 {
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.inline-style-099 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.inline-style-100 {
  background: var(--surface-2);
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
}

.inline-style-101 {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.inline-style-102 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inline-style-103 {
  font-size: 11.5px;
  margin-bottom: 0;
}

.inline-style-104 {
  font-size: 11.5px;
  margin-inline-start: 0;
  margin-bottom: 0;
}

.inline-style-105 {
  background: var(--surface-2);
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  grid-column: span 1;
}

.inline-style-106 {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 12px;
  line-height: 1.4;
}

.inline-style-107 {
  margin-bottom: 0;
  font-size: 13px;
}

.inline-style-108 {
  width: auto;
  padding: 11px 28px;
}

.inline-style-109 {
  width: 16px;
  height: 16px;
}

.inline-style-110 {
  padding: 20px 24px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  margin-bottom: 8px;
}

.inline-style-111 {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.inline-style-112 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}

.inline-style-113 {
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  align-self: center;
}

.inline-style-114 {
  font-size: 18px;
}

.inline-style-115 {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 20px;
}

.inline-style-116 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.inline-style-117 {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  gap: 14px;
}

.inline-style-118 {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.inline-style-119 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.inline-style-120 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.inline-style-121 {
  cursor: pointer;
}

.inline-style-122 {
  margin-top: 6px;
}

.inline-style-123 {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.inline-style-124 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.inline-style-125 {
  accent-color: var(--accent);
}

.inline-style-126 {
  display: grid;
  gap: 14px;
}

.inline-style-127 {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.inline-style-128 {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.inline-style-129 {
  display: grid;
  gap: 12px;
}

.inline-style-130 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.inline-style-131 {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.inline-style-132 {
  font-weight: 700;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  display: block;
  margin-bottom: 2px;
}

.inline-style-133 {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.5;
}

.inline-style-134 {
  background: rgba(150, 179, 186, 0.06);
  border: 1px solid rgba(150, 179, 186, 0.2);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.inline-style-135 {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.6;
}

.inline-style-136 {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 16px 0;
}

.inline-style-137 {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.inline-style-138 {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

.inline-style-139 {
  font-size: 11.5px;
  color: var(--text-2);
}

.inline-style-140 {
  width: 70px;
  text-align: center;
}

.inline-style-141 {
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inline-style-142 {
  font-weight: 700;
  font-size: 14px;
  color: #14b8a6;
  display: block;
  margin-bottom: 2px;
}

.inline-style-143 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inline-style-144 {
  font-weight: 700;
  color: #14b8a6;
  font-size: 14px;
}

.inline-style-145 {
  width: 70px;
  text-align: center;
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.3);
  font-weight: 700;
}

.inline-style-146 {
  display: flex;
  align-items: center;
  gap: 6px;
}

.inline-style-147 {
  font-size: 13px;
  color: var(--text-2);
}

.inline-style-148 {
  width: 100px;
  text-align: right;
}

.inline-style-149 {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 0;
}

.inline-style-150 {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 16px;
}

.inline-style-151 {
  font-size: 11.5px;
  color: var(--text-2);
  font-weight: 500;
}

.inline-style-152 {
  width: 100px;
  text-align: right;
  background: rgba(0, 0, 0, 0.02);
}

.inline-style-153 {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text);
}

.inline-style-154 {
  width: 100px;
  text-align: center;
}

.inline-style-155 {
  width: 100px;
  text-align: center;
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.3);
  font-weight: 700;
}

.inline-style-156 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px 20px;
  background: rgba(150, 179, 186, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(150, 179, 186, 0.25);
}

.inline-style-157 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
  font-family: "Georgia", serif;
}

.inline-style-158 {
  font-size: 11px;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.inline-style-159 {
  text-align: right;
}

.inline-style-160 {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-2);
  transition: all 0.3s;
}

.inline-style-161 {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}

.inline-style-162 {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.inline-style-163 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.inline-style-164 {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-2);
  cursor: not-allowed;
}

.inline-style-165 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.inline-style-166 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.inline-style-167 {
  font-size: 11px;
  color: var(--text-2);
  display: block;
  margin-bottom: 4px;
}

.inline-style-168 {
  font-weight: 700;
  color: var(--accent);
  font-size: 13px;
}

.inline-style-169 {
  font-size: 11px;
  color: var(--text-2);
  display: block;
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: normal;
}

.inline-style-170 {
  border-radius: 6px;
  max-width: 180px;
  padding: 5px 10px;
  font-size: 12px;
}

.inline-style-171 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  margin-bottom: 14px;
}

.inline-style-172 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 184, 166, 0.05);
  border: 1px solid rgba(20, 184, 166, 0.15);
  padding: 10px 14px;
  border-radius: 10px;
}

.inline-style-173 {
  margin: 0;
  font-size: 12px;
}

.inline-style-174 {
  width: 60px;
  text-align: center;
  font-weight: 900;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  height: auto;
}

.inline-style-175 {
  width: 80px;
  text-align: center;
  font-weight: 900;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  height: auto;
}

.inline-style-176 {
  width: 90px;
  text-align: center;
  font-weight: 900;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  height: auto;
}

.inline-style-177 {
  display: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  margin-top: 14px;
  animation: slideIn 0.2s ease;
}

.inline-style-178 {
  font-weight: 700;
  color: var(--text);
  font-size: 13.5px;
  margin-bottom: 10px;
}

.inline-style-179 {
  font-size: 11.5px;
  color: var(--text-2);
  margin-bottom: 12px;
  line-height: 1.5;
}

.inline-style-180 {
  display: grid;
  gap: 10px;
}

.inline-style-181 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
}

.inline-style-182 {
  accent-color: var(--accent);
  margin-top: 2px;
}

.inline-style-183 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.inline-style-184 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  margin: 0;
}

.inline-style-185 {
  accent-color: var(--accent);
  margin-top: 2px;
}

.inline-style-186 {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
  padding-left: 24px;
  animation: slideIn 0.15s ease;
}

.inline-style-187 {
  font-size: 10px;
  text-transform: none;
}

.inline-style-188 {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
}

.inline-style-189 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.inline-style-190 {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inline-style-191 {
  display: block;
  font-weight: 700;
  color: var(--text);
  font-size: 12px;
}

.inline-style-192 {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  height: 120px;
  width: 100%;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.inline-style-193 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

.inline-style-194 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 11.5px;
  pointer-events: none;
  user-select: none;
  font-weight: 500;
}

.inline-style-195 {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.inline-style-196 {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.inline-style-197 {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.inline-style-198 {
  font-weight: 700;
  font-size: 12px;
}

.inline-style-199 {
  border-radius: 8px;
}

.inline-style-200 {
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.6;
  margin-top: 12px;
}

.inline-style-201 {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 16px;
}

.inline-style-202 {
  padding: 6px 12px;
  font-size: 11px;
}

.inline-style-203 {
  margin-top: 24px;
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.15);
  color: #dc2626;
}
