:root {
  --ink: #17313a;
  --muted: #63757a;
  --paper: #fff;
  --canvas: #f3f7f6;
  --brand: #087f8c;
  --brand-dark: #075c65;
  --accent: #e7b85f;
  --line: #dbe6e4;
  --danger: #a93737;
  --danger-bg: #fff2f2;
  --warning-bg: #fff8e8;
  --shadow: 0 18px 50px rgba(23, 49, 58, .09);
  font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--canvas); line-height: 1.6; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.shell--form { width: min(820px, calc(100% - 32px)); }
.shell--narrow { width: min(620px, calc(100% - 32px)); }
.site-header { min-height: 76px; padding: 12px max(20px, calc((100vw - 1160px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 1.05rem; letter-spacing: .08em; }
.brand small { color: var(--muted); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; }
.header-link, .back-link { color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.back-link { display: inline-block; margin-bottom: 28px; }
.back-link::before { content: "←"; margin-inline-end: 8px; }
[dir="rtl"] .back-link::before { content: "→"; }
.hero { min-height: 440px; display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 60px; padding-block: 80px; }
.hero h1, .form-hero h1 { margin: 6px 0 16px; font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.055em; }
.hero__lede { max-width: 660px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.hero__mark { aspect-ratio: 1; border-radius: 42% 58% 62% 38% / 44% 42% 58% 56%; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--brand), var(--brand-dark)); box-shadow: var(--shadow); transform: rotate(-5deg); }
.hero__mark span { font-weight: 800; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: .08em; transform: rotate(5deg); }
.eyebrow { margin: 0 0 8px; color: var(--brand); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.forms-section { padding-bottom: 90px; }
.section-heading { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section-heading h1, .section-heading h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; }
.section-heading p { color: var(--muted); }
.count-pill, .status { display: inline-flex; padding: 6px 12px; border-radius: 999px; color: var(--brand-dark); background: #dff2f1; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-card { min-height: 240px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 8px 24px rgba(23,49,58,.04); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.form-card:hover { transform: translateY(-4px); border-color: #9fc8c9; box-shadow: var(--shadow); }
.form-card__type { color: var(--brand); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.form-card h3 { margin: 20px 0 10px; font-size: 1.45rem; line-height: 1.35; }
.form-card p { margin: 0; color: var(--muted); }
.form-card__action { margin-top: auto; padding-top: 26px; color: var(--brand-dark); font-weight: 800; }
.notice { margin: 20px 0; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); display: grid; gap: 4px; }
.notice--warning { background: var(--warning-bg); border-color: #ead39e; }
.notice--error { color: #762525; background: var(--danger-bg); border-color: #e5baba; }
.notice--success { color: var(--brand-dark); background: #eaf7f6; border-color: #add6d2; }
.form-hero { padding: 58px 0 78px; color: white; background: linear-gradient(135deg, #075c65, #088693 62%, #2a9aa4); }
.form-hero .eyebrow, .form-hero .back-link { color: #d8f4f3; }
.form-hero h1 { max-width: 780px; font-size: clamp(2.2rem, 6vw, 4.6rem); letter-spacing: -.035em; }
.form-hero__subtitle { max-width: 680px; color: #e5f4f3; font-size: 1.15rem; }
.form-layout { margin-top: -38px; padding-bottom: 90px; position: relative; }
.progress-card { position: sticky; top: 12px; z-index: 5; margin-bottom: 18px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 8px 26px rgba(23,49,58,.09); }
.progress-card__row { margin-bottom: 8px; display: flex; justify-content: space-between; color: var(--muted); font-size: .84rem; font-weight: 700; }
.progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: #e7eeee; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #29a5a6); transition: width .2s ease; }
.response-form { display: grid; gap: 16px; }
.response-form > * { min-width: 0; }
.form-section-heading { margin-top: 20px; padding: 34px 32px 12px; }
.form-section-heading h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.form-section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }
.field, .submit-panel, .panel { padding: 28px 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 6px 20px rgba(23,49,58,.035); }
.field > label, legend { display: block; margin-bottom: 10px; color: var(--ink); font-size: 1rem; font-weight: 750; }
.field > label, legend, .field-help, .choice span, .choice strong, .choice small { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { width: 100%; font-size: 1.08rem; line-height: 1.5; }
.required { margin-inline-start: 5px; color: var(--danger); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], input[type="search"], select, textarea { width: 100%; min-width: 0; padding: 13px 14px; color: var(--ink); background: #fbfdfc; border: 1px solid #bdcfcc; border-radius: 10px; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(8,127,140,.12); }
.field--invalid { border-color: #dda9a9; }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: var(--danger); }
.field-help { margin: 5px 0 12px; color: var(--muted); font-size: .9rem; }
.field-error { margin: 10px 0 0; color: var(--danger); font-size: .9rem; font-weight: 700; }
.choice-grid { min-width: 0; display: grid; gap: 10px; }
.choice-grid--likert { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.choice { min-height: 54px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; transition: background .15s, border-color .15s; }
.choice:hover { border-color: #91c0c0; background: #f4fbfa; }
.choice:has(input:checked) { border-color: var(--brand); background: #eaf7f6; box-shadow: inset 0 0 0 1px var(--brand); }
.choice input { width: 19px; height: 19px; flex: 0 0 auto; accent-color: var(--brand); }
.choice span { display: grid; }
.choice small { color: var(--muted); }
.choice-grid--likert .choice { justify-content: center; text-align: center; }
.scale-labels { margin-top: 8px; display: flex; justify-content: space-between; color: var(--muted); font-size: .84rem; }
.consent-choice { display: flex !important; align-items: flex-start; gap: 12px; cursor: pointer; }
.consent-choice input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); }
.signature-pad { display: grid; gap: 10px; }
.signature-pad canvas { width: 100%; height: auto; touch-action: none; border: 1px solid #bdcfcc; border-radius: 10px; background: #fff; }
.signature-pad .button { justify-self: start; }
.submit-panel { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.submit-panel p { margin: 0; color: var(--muted); font-size: .9rem; }
.button { min-height: 44px; padding: 10px 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 10px; font-weight: 800; text-decoration: none; cursor: pointer; }
.button--primary { color: white; background: var(--brand); }
.button--primary:hover { background: var(--brand-dark); }
.button--quiet { color: var(--brand-dark); background: white; border-color: var(--line); }
.button--danger { color: white; background: var(--danger); }
.button--danger:hover { background: #842929; }
.button--large { min-height: 52px; padding-inline: 28px; }
.button--small { min-height: 36px; padding: 6px 12px; }
.button:disabled { cursor: not-allowed; opacity: .55; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.success-page, .auth-page { padding-block: 70px; }
.status-panel, .auth-panel { text-align: center; box-shadow: var(--shadow); }
.auth-panel form { margin-top: 26px; display: grid; gap: 14px; text-align: start; }
.auth-panel .field { padding: 0; border: 0; box-shadow: none; }
.success-mark { width: 70px; height: 70px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--brand); font-size: 2rem; font-weight: 900; }
.score-card { max-width: 240px; margin: 24px auto; padding: 16px; display: flex; justify-content: space-between; border-radius: 12px; background: #eaf7f6; }
.reference { color: var(--muted); font-size: .86rem; }
.reference code { overflow-wrap: anywhere; }
.admin-actions, .button-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-actions form { margin: 0; }
.admin-name { color: var(--muted); font-size: .9rem; }
.admin-main { padding-block: 55px 90px; }
.admin-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.admin-card h2 { min-height: 60px; margin: 14px 0; font-size: 1.18rem; }
.status { color: #735d30; background: #f3ead5; }
.status--active { color: var(--brand-dark); background: #dff2f1; }
.status--legacy { margin-inline-start: 6px; color: #4d4a75; background: #ecebfd; }
.form-slug { display: block; overflow-wrap: anywhere; color: var(--muted); font-size: .74rem; }
.migration-notes { margin-top: 10px; color: #79521c; font-size: .78rem; }
.migration-notes summary { cursor: pointer; font-weight: 800; }
.migration-notes p, .migration-notes ul { margin-block: 8px; }
.migration-notes ul { padding-inline-start: 20px; }
.catalog-toolbar { margin-bottom: 24px; padding: 18px; display: grid; grid-template-columns: auto minmax(220px, 1fr) auto; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.catalog-toolbar label { font-weight: 800; }
.catalog-toolbar span { color: var(--muted); font-size: .82rem; }
.availability-control { margin-top: 18px; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.availability-control span { color: var(--muted); font-size: .8rem; }
.metric-row { margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric-row div { padding: 14px; display: grid; border-radius: 10px; background: var(--canvas); }
.metric-row strong { font-size: 1.6rem; }
.metric-row span { color: var(--muted); font-size: .76rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: white; }
table { width: 100%; border-collapse: collapse; font-size: .84rem; white-space: nowrap; }
th, td { max-width: 360px; padding: 11px 13px; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid var(--line); text-align: start; }
th { position: sticky; top: 0; background: #eaf3f2; text-transform: capitalize; }
.admin-signature { display: block; width: 180px; max-height: 80px; object-fit: contain; background: white; border: 1px solid var(--line); }
.empty-state { padding: 50px; color: var(--muted); text-align: center; }
.site-footer { min-height: 90px; padding: 22px max(20px, calc((100vw - 1160px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #c7dad9; background: var(--ink); font-size: .82rem; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .shell { width: min(calc(100% - 24px), 1160px); }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-block: 56px; }
  .hero__mark { display: none; }
  .form-grid, .admin-grid { grid-template-columns: 1fr; }
  .form-hero { padding-block: 42px 64px; }
  .form-hero h1 { font-size: 2.4rem; }
  .field, .submit-panel, .panel { padding: 22px 18px; }
  .form-section-heading { padding-inline: 18px; }
  .submit-panel, .section-heading, .site-footer { align-items: stretch; flex-direction: column; }
  .choice-grid--likert { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .choice-grid--likert .choice { padding: 10px 6px; }
  .admin-name { display: none; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .availability-control { align-items: stretch; flex-direction: column; }
}

/* EMERGE workshop-evaluation theme. Kept in the shared bundle so form JSON stays data-only. */
body.theme-emerge-workshop-evaluation {
  --emerge-navy: #2f5d83;
  --emerge-navy-deep: #1e3f5c;
  --emerge-green: #27a65b;
  --emerge-lime: #8dc63f;
  --emerge-yellow: #f5ce18;
  --emerge-paper: #f4f7fa;
  --emerge-surface: #fff;
  --emerge-surface-2: #ecf1f6;
  --emerge-ink: #152f45;
  --emerge-ink-2: #3d5a72;
  --emerge-ink-3: #71889c;
  --emerge-line: #d2dee8;
  --emerge-line-2: #e4ebf2;
  --emerge-accent: #2f5d83;
  --emerge-accent-2: #1e3f5c;
  --emerge-on-accent: #fff;
  --emerge-leaf: #3e9b54;
  --emerge-leaf-wash: #e8f3ea;
  --emerge-alert: #c2493a;
  --emerge-alert-wash: #faeae7;
  margin: 0;
  color: var(--emerge-ink);
  background: var(--emerge-paper);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.theme-emerge-workshop-evaluation .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.emerge-masthead { position: relative; background: var(--emerge-navy-deep); }
.emerge-masthead::after {
  content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px;
  background: linear-gradient(90deg, #1f9e52 0%, var(--emerge-lime) 42%, var(--emerge-yellow) 78%, var(--emerge-yellow) 100%);
}
.emerge-mast-inner { max-width: 720px; margin: 0 auto; padding: 22px 20px 0; display: flex; flex-direction: column; gap: 16px; }
.emerge-brand { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.emerge-logo { display: block; height: clamp(24px, 6vw, 40px); width: auto; max-width: 100%; flex: none; }
.emerge-brand-rule { min-width: 16px; height: 1px; flex: 1; background: rgba(255, 255, 255, .25); }
.emerge-kicker {
  color: rgba(255, 255, 255, .75); font: 400 10.5px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: .13em; text-transform: uppercase;
}
.emerge-masthead h1, .emerge-section h2 {
  margin: 0; font-family: "Poppins", "Public Sans", sans-serif; font-weight: 600;
  letter-spacing: -.01em; text-wrap: balance;
}
.emerge-masthead h1 { color: #fff; font-size: clamp(26px, 5vw, 36px); line-height: 1.12; }
.emerge-masthead h1 span { display: block; margin-top: 7px; color: rgba(255, 255, 255, .65); font-size: .44em; font-weight: 400; letter-spacing: .005em; }
.emerge-tabs { display: flex; gap: 2px; margin-top: 2px; }
.emerge-tab {
  padding: 9px 14px; border-bottom: 2px solid transparent; border-radius: 6px 6px 0 0;
  color: rgba(255, 255, 255, .65); font-size: 13px; font-weight: 600; text-decoration: none;
}
.emerge-tab:hover { color: #fff; }
.emerge-tab[aria-current="page"] { color: #fff; border-bottom-color: var(--emerge-yellow); }
.emerge-tab:focus-visible { outline: 2px solid var(--emerge-yellow); outline-offset: 2px; }
.emerge-session-strip {
  max-width: 720px; margin: 0 auto; padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 6px 22px;
  color: rgba(255, 255, 255, .7); font: 400 11px/1.5 "IBM Plex Mono", monospace; letter-spacing: .02em;
}
.emerge-session-strip b { color: #fff; font-weight: 500; }
.emerge-evaluation { max-width: 720px; margin: 0 auto; padding: 0 20px 80px; }
.emerge-intro {
  margin: 6px 0 28px; padding: 14px 16px; border-left: 3px solid var(--emerge-leaf);
  border-radius: 0 10px 10px 0; color: var(--emerge-ink-2); background: var(--emerge-leaf-wash); font-size: 13.5px;
}
.emerge-intro strong { color: var(--emerge-ink); font-weight: 600; }
.emerge-progress {
  position: sticky; top: 0; z-index: 20; margin-bottom: 4px; padding: 10px 0 12px;
  border-bottom: 1px solid var(--emerge-line-2); background: var(--emerge-paper);
}
.emerge-progress__bar { height: 4px; overflow: hidden; border-radius: 99px; background: var(--emerge-surface-2); }
.emerge-progress__bar i { display: block; width: 0; height: 100%; background: var(--emerge-accent); transition: width .28s ease; }
.emerge-progress__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 7px;
  color: var(--emerge-ink-3); font: 400 10.5px/1.5 "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase;
}
.emerge-evaluation .notice { border-color: var(--emerge-line); border-radius: 10px; box-shadow: none; }
.emerge-section { margin-top: 34px; }
.emerge-section__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.emerge-section__num {
  padding-top: 6px; color: var(--emerge-accent-2); font: 600 11px/1.5 "IBM Plex Mono", monospace; letter-spacing: .06em;
}
.emerge-section h2 { color: var(--emerge-ink); font-size: 20px; letter-spacing: -.005em; }
.emerge-section__head p { margin: 2px 0 0; color: var(--emerge-ink-3); font-size: 13.5px; }
.emerge-section__body { margin-top: 14px; overflow: hidden; border: 1px solid var(--emerge-line-2); border-radius: 10px; background: var(--emerge-surface); }
.emerge-legend { display: grid; grid-template-columns: 1fr repeat(5, 54px); padding: 10px 16px; border-bottom: 1px solid var(--emerge-line-2); background: var(--emerge-surface-2); }
.emerge-legend span {
  color: var(--emerge-ink-3); font: 400 9.5px/1.25 "IBM Plex Mono", monospace;
  letter-spacing: .04em; text-align: center; text-transform: uppercase;
}
.emerge-legend span:first-child { text-align: left; letter-spacing: .1em; }
.emerge-legend-mobile { display: none; }
.emerge-rating-row {
  min-width: 0; margin: 0; padding: 11px 16px; display: grid; grid-template-columns: minmax(0, 1fr) 270px;
  align-items: center; border: 0; border-top: 1px solid var(--emerge-line-2);
}
.emerge-legend + .emerge-rating-row, .emerge-legend-mobile + .emerge-rating-row { border-top: 0; }
.emerge-rating-row.is-missing { background: var(--emerge-alert-wash); }
.emerge-statement { min-width: 0; margin: 0; padding: 0 14px 0 0; color: var(--emerge-ink); font-size: 14px; line-height: 1.45; }
.emerge-statement em { color: var(--emerge-ink-2); font-style: italic; }
.emerge-question-number { margin-right: 7px; color: var(--emerge-ink-3); font: 400 11px/1.5 "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; }
.emerge-dots { display: grid; grid-template-columns: repeat(5, 54px); }
.emerge-dot { display: grid; place-items: center; margin: 0; cursor: pointer; }
.emerge-dot input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.emerge-dot span {
  display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto; border: 1.5px solid var(--emerge-line);
  border-radius: 50%; color: var(--emerge-ink-3); background: var(--emerge-surface);
  font: 400 11px/1 "IBM Plex Mono", monospace; transition: background .12s, border-color .12s, color .12s, transform .12s;
}
.emerge-dot:hover span { color: var(--emerge-ink); border-color: var(--emerge-accent); }
.emerge-dot input:focus-visible + span { outline: 2px solid var(--emerge-accent); outline-offset: 2px; }
.emerge-dot input:checked + span { color: var(--emerge-on-accent); background: var(--emerge-accent); border-color: var(--emerge-accent); font-weight: 600; transform: scale(1.06); }
.emerge-rating-row .field-error { grid-column: 1 / -1; margin: 8px 0 0; color: var(--emerge-alert); }
.emerge-open { padding: 16px; border-top: 1px solid var(--emerge-line-2); }
.emerge-section__body > .emerge-open:first-child { border-top: 0; }
.emerge-open label { display: block; margin-bottom: 8px; color: var(--emerge-ink); font-size: 14px; line-height: 1.45; }
.emerge-optional { margin-left: 6px; color: var(--emerge-ink-3); font: 400 10px/1.5 "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.emerge-open textarea, .emerge-name-field input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--emerge-line); border-radius: 8px;
  color: var(--emerge-ink); background: var(--emerge-surface-2); font: 400 14px/1.55 "Public Sans", sans-serif;
}
.emerge-open textarea { min-height: 74px; resize: vertical; }
.emerge-open textarea:focus, .emerge-name-field input:focus { outline: 2px solid var(--emerge-accent); outline-offset: 1px; border-color: var(--emerge-accent); }
.emerge-open.is-missing textarea { border-color: var(--emerge-alert); background: var(--emerge-alert-wash); }
.emerge-open .field-error, .emerge-name-field .field-error { color: var(--emerge-alert); }
/* Plain fields (text/email/tel/number/date/select/etc.) fall back to the
   shared field.php renderer; re-skin them to match the theme instead of the
   base site's default white/teal styling. */
.emerge-section__body .field {
  padding: 16px; margin: 0; border: 0; border-top: 1px solid var(--emerge-line-2);
  border-radius: 0; background: transparent; box-shadow: none;
}
.emerge-section__body > .field:first-child { border-top: 0; }
.emerge-section__body .field > label, .emerge-section__body .field legend {
  display: block; margin-bottom: 8px; color: var(--emerge-ink); font: 400 14px/1.45 "Public Sans", sans-serif;
}
.emerge-section__body .field input[type="text"],
.emerge-section__body .field input[type="email"],
.emerge-section__body .field input[type="tel"],
.emerge-section__body .field input[type="number"],
.emerge-section__body .field input[type="date"],
.emerge-section__body .field select,
.emerge-section__body .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--emerge-line); border-radius: 8px;
  color: var(--emerge-ink); background: var(--emerge-surface-2); font: 400 14px/1.55 "Public Sans", sans-serif;
}
.emerge-section__body .field input:focus, .emerge-section__body .field select:focus, .emerge-section__body .field textarea:focus {
  outline: 2px solid var(--emerge-accent); outline-offset: 1px; border-color: var(--emerge-accent);
}
.emerge-section__body .field .required { color: var(--emerge-alert); }
.emerge-section__body .field .field-help { color: var(--emerge-ink-3); font-size: 12.5px; }
.emerge-section__body .field .field-error { color: var(--emerge-alert); }
.emerge-section__body .field--invalid input, .emerge-section__body .field--invalid select, .emerge-section__body .field--invalid textarea {
  border-color: var(--emerge-alert); background: var(--emerge-alert-wash);
}
.emerge-submit-zone {
  margin-top: 34px; padding: 20px; display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--emerge-line-2); border-radius: 10px; background: var(--emerge-surface);
}
.emerge-name-field { display: flex; flex-direction: column; gap: 7px; }
.emerge-name-field label { color: var(--emerge-ink-2); font-size: 13.5px; }
.emerge-submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.emerge-button {
  appearance: none; padding: 11px 20px; border: 1px solid var(--emerge-ink); border-radius: 8px;
  color: var(--emerge-paper); background: var(--emerge-ink); font: 600 14px/1.5 "Public Sans", sans-serif; cursor: pointer;
}
.emerge-button:hover { filter: brightness(1.18); }
.emerge-button:focus-visible { outline: 2px solid var(--emerge-accent); outline-offset: 2px; }
.emerge-button:disabled { opacity: .5; cursor: not-allowed; }
.emerge-note { color: var(--emerge-ink-3); font-size: 12.5px; }
.theme-emerge-workshop-evaluation .success-page { padding-block: 56px; }
.theme-emerge-workshop-evaluation .status-panel { border-color: var(--emerge-line-2); color: var(--emerge-ink); background: var(--emerge-surface); box-shadow: none; }
.emerge-thanks { margin-top: 26px; padding: 56px 24px; border: 1px solid var(--emerge-line-2); border-radius: 10px; background: var(--emerge-surface); text-align: center; }
.emerge-thanks h2 { margin: 0; color: var(--emerge-ink); font: 600 26px/1.2 "Poppins", sans-serif; }
.emerge-thanks > p { max-width: 42ch; margin: 10px auto 22px; color: var(--emerge-ink-3); font-size: 14px; }
.emerge-thanks .emerge-button { display: inline-flex; text-decoration: none; }

@media (prefers-color-scheme: dark) {
  body.theme-emerge-workshop-evaluation {
    --emerge-paper: #0c1a26; --emerge-surface: #132531; --emerge-surface-2: #1a303e;
    --emerge-ink: #e4ecf2; --emerge-ink-2: #b2c4d2; --emerge-ink-3: #7e96a9;
    --emerge-line: #26404f; --emerge-line-2: #1f3644; --emerge-accent: #74aed4;
    --emerge-accent-2: #95c6e4; --emerge-on-accent: #08161f; --emerge-leaf: #7dc98b;
    --emerge-leaf-wash: #14301f; --emerge-alert: #e08b7b; --emerge-alert-wash: #2e1a16;
    color-scheme: dark;
  }
}
@media (max-width: 640px) {
  .emerge-legend { display: none; }
  .emerge-legend-mobile {
    display: block; padding: 9px 14px; border-bottom: 1px solid var(--emerge-line-2);
    color: var(--emerge-ink-3); background: var(--emerge-surface-2);
    font: 400 10px/1.5 "IBM Plex Mono", monospace; letter-spacing: .05em; text-transform: uppercase;
  }
  .emerge-rating-row { grid-template-columns: 1fr; gap: 11px; padding: 14px; }
  .emerge-statement { padding-right: 0; }
  .emerge-dots { display: flex; justify-content: space-between; max-width: 280px; }
  .emerge-progress__meta { align-items: flex-start; flex-direction: column; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-emerge-workshop-evaluation * { transition: none !important; animation: none !important; }
}
@media print {
  body.theme-emerge-workshop-evaluation { --emerge-paper: #fff; --emerge-surface: #fff; --emerge-surface-2: #fff; --emerge-ink: #000; --emerge-ink-2: #222; --emerge-ink-3: #555; --emerge-line: #999; --emerge-line-2: #bbb; --emerge-accent: #2f5d83; background: #fff; font-size: 11pt; }
  .emerge-tabs, .emerge-progress, .emerge-submit-row { display: none !important; }
  .emerge-masthead { background: #fff !important; }
  .emerge-masthead::after { display: none; }
  .emerge-masthead h1, .emerge-masthead h1 span, .emerge-kicker, .emerge-session-strip, .emerge-session-strip b { color: #000 !important; }
  .emerge-brand-rule { background: #999 !important; }
  .emerge-logo { filter: invert(1) grayscale(1) contrast(1.3); }
  .emerge-masthead h1 { font-size: 22pt; }
  .emerge-evaluation { padding-bottom: 0; }
  .emerge-section { break-inside: avoid; margin-top: 18pt; }
  .emerge-rating-row, .emerge-open { break-inside: avoid; }
  .emerge-dot span { width: 22px; height: 22px; border-color: #666; color: #000; }
  .emerge-dot input:checked + span { color: #fff; background: #000; }
}
