:root {
  --fcprep-blue: #1263d6;
  --fcprep-blue-dark: #0b46a0;
  --fcprep-ink: #142033;
  --fcprep-muted: #667085;
  --fcprep-line: #dfe5ee;
  --fcprep-soft: #f5f8fc;
  --fcprep-danger: #b42318;
  --fcprep-radius: 16px;
}

.fcprep-feedback-shell { max-width: 980px; margin: 32px auto; color: var(--fcprep-ink); font-family: inherit; }
.fcprep-feedback-card { background: #fff; border: 1px solid var(--fcprep-line); border-radius: 22px; box-shadow: 0 18px 55px rgba(16, 43, 76, .10); overflow: hidden; }
.fcprep-feedback-header { padding: 42px 44px 30px; background: linear-gradient(135deg, #f7fbff 0%, #eef5ff 100%); border-bottom: 1px solid var(--fcprep-line); }
.fcprep-feedback-kicker { display: inline-block; margin-bottom: 10px; color: var(--fcprep-blue); font-weight: 800; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.fcprep-feedback-header h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; color: var(--fcprep-ink); }
.fcprep-feedback-header p { max-width: 780px; margin: 0; color: var(--fcprep-muted); font-size: 16px; line-height: 1.7; }
.fcprep-feedback-progress { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 20px 44px 0; }
.fcprep-feedback-progress__bar { height: 8px; background: #e8edf5; border-radius: 999px; overflow: hidden; }
.fcprep-feedback-progress__bar span { display: block; width: 12.5%; height: 100%; background: var(--fcprep-blue); border-radius: inherit; transition: width .25s ease; }
.fcprep-feedback-progress__text { color: var(--fcprep-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
#fcprep-feedback-form { padding: 28px 44px 38px; }
.fcprep-feedback-step { animation: fcprepFade .22s ease; }
@keyframes fcprepFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fcprep-step-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 28px; }
.fcprep-step-heading > span { display: inline-grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 11px; background: var(--fcprep-blue); color: #fff; font-weight: 800; }
.fcprep-step-heading h3 { margin: 0 0 4px; font-size: 25px; color: var(--fcprep-ink); }
.fcprep-step-heading p { margin: 0; color: var(--fcprep-muted); }
.fcprep-grid { display: grid; gap: 18px; }
.fcprep-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcprep-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fcprep-field, .fcprep-fieldset { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.fcprep-field--spaced { margin-top: 26px; }
.fcprep-field label, .fcprep-fieldset legend { display: block; margin-bottom: 9px; font-weight: 700; color: var(--fcprep-ink); font-size: 15px; }
.fcprep-field label em, .fcprep-fieldset legend em, .fcprep-consent-list em { color: var(--fcprep-danger); font-style: normal; }
.fcprep-field label small, .fcprep-fieldset legend small { font-weight: 500; color: var(--fcprep-muted); }
.fcprep-field small { display: block; margin-top: 7px; color: var(--fcprep-muted); line-height: 1.5; }
.fcprep-field input[type="text"], .fcprep-field input[type="email"], .fcprep-field input[type="month"], .fcprep-field select, .fcprep-field textarea, .fcprep-matrix select { width: 100%; min-height: 48px; border: 1px solid #cfd7e4; border-radius: 11px; background: #fff; color: var(--fcprep-ink); padding: 11px 13px; font: inherit; box-shadow: none; }
.fcprep-field textarea { min-height: 105px; resize: vertical; }
.fcprep-field input:focus, .fcprep-field select:focus, .fcprep-field textarea:focus, .fcprep-matrix select:focus { outline: 3px solid rgba(18, 99, 214, .14); border-color: var(--fcprep-blue); }
.fcprep-entitled-exam { display: grid; gap: 3px; min-height: 48px; padding: 11px 13px; border: 1px solid #b9cce8; border-radius: 11px; background: #eef5ff; }
.fcprep-entitled-exam strong { color: var(--fcprep-blue-dark); }
.fcprep-entitled-exam span { color: var(--fcprep-muted); font-size: 12px; }
.fcprep-access-notice { padding: 30px; text-align: center; }
.fcprep-access-notice h2 { margin: 0 0 10px; color: var(--fcprep-blue-dark); }
.fcprep-access-notice p { margin: 0; color: var(--fcprep-muted); line-height: 1.65; }
.fcprep-login-prompt { max-width: 520px; margin: 0 auto; }
.fcprep-login-form { max-width: 420px; margin: 24px auto 0; text-align: left; }
.fcprep-login-form #loginform { display: grid; gap: 16px; margin: 0; }
.fcprep-login-form #loginform p { margin: 0; }
.fcprep-login-form #loginform label { display: grid; gap: 7px; color: var(--fcprep-ink); font-weight: 650; }
.fcprep-login-form #loginform input[type="text"], .fcprep-login-form #loginform input[type="password"] { width: 100%; min-height: 48px; border: 1px solid #cfd7e4; border-radius: 11px; background: #fff; color: var(--fcprep-ink); padding: 11px 13px; font: inherit; }
.fcprep-login-form #loginform input[type="text"]:focus, .fcprep-login-form #loginform input[type="password"]:focus { outline: 3px solid rgba(18, 99, 214, .14); border-color: var(--fcprep-blue); }
.fcprep-login-form #loginform .login-remember label { display: flex; align-items: center; gap: 9px; font-weight: 550; }
.fcprep-login-form #loginform .button-primary { width: 100%; min-height: 48px; border: 0; border-radius: 11px; background: var(--fcprep-blue); color: #fff; padding: 11px 18px; font: inherit; font-weight: 750; cursor: pointer; }
.fcprep-login-form #loginform .button-primary:hover { background: var(--fcprep-blue-dark); }
.fcprep-login-help { margin-top: 18px !important; }
.fcprep-login-help a { color: var(--fcprep-blue); font-weight: 650; }
.fcprep-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fcprep-choice { position: relative; margin: 0; cursor: pointer; }
.fcprep-choice input { position: absolute; opacity: 0; pointer-events: none; }
.fcprep-choice span { display: flex; min-height: 48px; align-items: center; padding: 12px 14px; border: 1px solid var(--fcprep-line); border-radius: 11px; background: #fff; color: #344054; transition: .15s ease; }
.fcprep-choice input:checked + span { border-color: var(--fcprep-blue); background: #eef5ff; color: var(--fcprep-blue-dark); box-shadow: 0 0 0 2px rgba(18, 99, 214, .10); }
.fcprep-choice input:focus-visible + span { outline: 3px solid rgba(18, 99, 214, .18); }
.fcprep-scale-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.fcprep-scale-grid label { position: relative; cursor: pointer; }
.fcprep-scale-grid input { position: absolute; opacity: 0; }
.fcprep-scale-grid span { display: flex; flex-direction: column; min-height: 86px; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--fcprep-line); border-radius: 12px; padding: 8px; background: #fff; }
.fcprep-scale-grid strong { font-size: 21px; line-height: 1; color: var(--fcprep-ink); }
.fcprep-scale-grid small { margin-top: 7px; color: var(--fcprep-muted); font-size: 11px; line-height: 1.25; }
.fcprep-scale-grid input:checked + span { border-color: var(--fcprep-blue); background: #eef5ff; box-shadow: 0 0 0 2px rgba(18, 99, 214, .10); }
.fcprep-field input[type="range"] { width: 100%; accent-color: var(--fcprep-blue); }
.fcprep-range-value { display: inline-block; min-width: 23px; text-align: center; color: var(--fcprep-blue); }
.fcprep-matrix-wrap { overflow-x: auto; margin-bottom: 28px; border: 1px solid var(--fcprep-line); border-radius: 13px; }
.fcprep-matrix { width: 100%; border-collapse: collapse; margin: 0; }
.fcprep-matrix th, .fcprep-matrix td { padding: 12px 14px; border-bottom: 1px solid var(--fcprep-line); text-align: left; vertical-align: middle; }
.fcprep-matrix th { background: var(--fcprep-soft); color: #344054; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.fcprep-matrix tr:last-child td { border-bottom: 0; }
.fcprep-matrix select { min-width: 190px; min-height: 42px; }
.fcprep-repeat-card { position: relative; padding: 20px; margin-bottom: 16px; border: 1px solid var(--fcprep-line); border-radius: 14px; background: var(--fcprep-soft); }
.fcprep-repeat-card--compact { background: #fff; }
.fcprep-repeat-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fcprep-repeat-card h4, .fcprep-repeat-heading h4 { margin: 0; font-size: 17px; }
.fcprep-repeat-heading { margin: 28px 0 14px; }
.fcprep-repeat-heading p { margin: 4px 0 0; color: var(--fcprep-muted); }
.fcprep-icon-btn { appearance: none; width: 32px; height: 32px; border: 1px solid var(--fcprep-line); border-radius: 9px; background: #fff; color: var(--fcprep-muted); font-size: 22px; line-height: 1; cursor: pointer; }
.fcprep-icon-btn:hover { color: var(--fcprep-danger); border-color: #f3b8b3; }
.fcprep-notice { padding: 14px 16px; margin-bottom: 20px; border-left: 4px solid var(--fcprep-blue); border-radius: 9px; background: #eef5ff; color: #27466f; }
.fcprep-notice p { margin: 6px 0 0; line-height: 1.55; }
.fcprep-notice a { color: var(--fcprep-blue-dark); font-weight: 750; }
.fcprep-profile-panel { padding: 20px; margin: 0 0 22px; border: 1px solid var(--fcprep-line); border-radius: 14px; background: #fbfcfe; }
.fcprep-profile-panel h4 { margin: 0; color: var(--fcprep-blue-dark); font-size: 18px; }
.fcprep-profile-panel .fcprep-matrix-wrap { margin-bottom: 20px; }
.fcprep-profile-panel small { color: var(--fcprep-muted); }
.fcprep-consent-list { display: grid; gap: 10px; margin-top: 25px; }
.fcprep-consent-list label { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--fcprep-line); border-radius: 11px; background: #fff; }
.fcprep-consent-list input { margin-top: 3px; accent-color: var(--fcprep-blue); }
.fcprep-feedback-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--fcprep-line); }
.fcprep-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border-radius: 11px; border: 1px solid transparent; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; }
.fcprep-btn--primary { margin-left: auto; background: var(--fcprep-blue); color: #fff; }
.fcprep-btn--primary:hover { background: var(--fcprep-blue-dark); color: #fff; }
.fcprep-btn--secondary { background: #fff; border-color: var(--fcprep-line); color: #344054; }
.fcprep-btn--small { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.fcprep-btn:disabled { opacity: .65; cursor: wait; }
.fcprep-feedback-error { margin-top: 20px; padding: 13px 15px; border: 1px solid #f6c7c2; border-radius: 10px; background: #fff2f0; color: var(--fcprep-danger); }
.fcprep-feedback-save-note { margin: 12px 0 0; text-align: center; color: var(--fcprep-muted); font-size: 12px; }
.fcprep-feedback-success { padding: 70px 44px; text-align: center; }
.fcprep-feedback-success__icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; background: #eaf8ef; color: #16803a; font-size: 34px; font-weight: 800; }
.fcprep-feedback-success h3 { margin: 0 0 10px; font-size: 28px; }
.fcprep-feedback-success p { max-width: 650px; margin: 0 auto; color: var(--fcprep-muted); line-height: 1.7; }
.fcprep-feedback-hp { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.fcprep-muted { color: var(--fcprep-muted); }
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .fcprep-feedback-shell { margin: 12px; }
  .fcprep-feedback-card { border-radius: 16px; }
  .fcprep-feedback-header { padding: 30px 22px 24px; }
  .fcprep-feedback-progress { padding: 18px 22px 0; }
  #fcprep-feedback-form { padding: 24px 22px 30px; }
  .fcprep-grid--2, .fcprep-grid--3, .fcprep-choice-grid { grid-template-columns: 1fr; }
  .fcprep-scale-grid { grid-template-columns: repeat(5, minmax(62px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
  .fcprep-scale-grid span { min-height: 76px; }
  .fcprep-feedback-actions { position: sticky; bottom: 0; margin-inline: -22px; padding: 14px 22px; background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(16,43,76,.08); z-index: 5; }
}
