:root {
  color-scheme: light;
  --ink: #161615;
  --text: #5c5b56;
  --accent: #086c77;
  --wash: #e2f7f7;
  --line: #d8d6d0;
  --paper: #fcfcfb;
  --error: #a32c26;
  font: 100%/1.5 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
h1, h2, p, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button, input, select { font: inherit; }
button, select, label:has(input[type=radio]), label:has(input[type=checkbox]) { cursor: pointer; }
.mast, .layout, .foot { width: min(1176px, calc(100% - clamp(36px, 8vw, 120px))); margin-inline: auto; }
.mast, .foot, .brand, .actions { display: flex; align-items: center; }
.mast, .foot { justify-content: space-between; gap: 1rem; }
.mast { padding-block: 1.15rem; border-bottom: 1px solid var(--line); }
.brand { gap: 0.65rem; color: var(--ink); font-size: 1.4rem; font-weight: 720; letter-spacing: -0.055em; text-decoration: none; }
.about, .back { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-underline-offset: 0.25em; }
.layout { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; padding-block: clamp(38px, 5vw, 76px); }
.intro { padding-top: 0.35rem; }
h1 { max-width: 11ch; font-size: clamp(3rem, 5.4vw, 5.25rem); letter-spacing: -0.065em; font-weight: 650; line-height: 1.01; text-wrap: balance; }
.intro p { margin-top: 1.35rem; color: var(--text); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 43ch; }
.workshop { display: block; width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; object-position: 50% 57%; border-radius: 0.35rem; margin-top: 2rem; }
.panel { padding: clamp(24px, 3.4vw, 53px); background: white; border: 1px solid #e1e0da; border-radius: 1rem; }
.progress { display: flex; gap: 0.35rem; }
.progress span { height: 4px; background: #e6e4e0; flex: 1; border-radius: 3px; }
.progress span:first-child, .second-step .progress span { background: var(--accent); }
.step { margin-block: 1rem 0.6rem; color: var(--text); font-size: 0.875rem; font-weight: 600; }
h2 { font-size: clamp(1.65rem, 2.7vw, 2.45rem); font-weight: 650; letter-spacing: -0.046em; line-height: 1.15; text-wrap: balance; }
.role-list { display: grid; gap: 0.7rem; margin-top: 1.6rem; }
.role { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.85rem; padding: 1rem 1.1rem; align-items: start; border: 1.5px solid #aaa9a3; border-radius: 0.55rem; }
.role:hover { border-color: var(--accent); }
.role:has(:checked) { background: var(--wash); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.role:has(:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.role strong, .role small { display: block; }
.role strong { font-size: 1.0625rem; font-weight: 650; }
.role small, .hint, .chosen, .receipt { color: var(--text); }
.role small { margin-top: 0.15rem; font-size: 0.9375rem; }
input[type=radio], input[type=checkbox] { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; margin: 0.16rem 0 0; accent-color: var(--accent); }
.field, legend { display: block; padding: 0; font-weight: 650; line-height: 1.4; }
.field, .specialties, .interests { margin-top: 1.4rem; }
.chosen { margin-top: 0.65rem; font-size: 0.9375rem; }
.hint { font-size: 0.9375rem; margin-block: 0.2rem 0.35rem; }
.topics { margin-top: 1.35rem; padding-block: 0.35rem; border-block: 1px solid var(--line); }
.topics summary { cursor: pointer; padding-block: 0.65rem; font-weight: 600; }
.topics fieldset { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 12rem), 1fr)); gap: 0 0.7rem; }
.topics label { display: flex; gap: 0.6rem; align-items: start; min-height: 44px; padding-block: 0.55rem; }
.specialties label, .interests label { display: flex; align-items: baseline; gap: 0.7rem; min-height: 44px; padding-block: 0.6rem; line-height: 1.45; }
.specialties, .interests { min-width: 0; }
.interests legend { margin-bottom: 0.3rem; }
input:not([type]), input[type=email], select { display: block; width: 100%; min-height: 48px; padding: 0.65rem 0.85rem; margin-top: 0.4rem; border-radius: 0.4rem; border: 1.5px solid #96948e; background-color: white; color: var(--ink); }
select { appearance: none; padding-right: 2.6rem; background-image: linear-gradient(45deg, transparent 50%, #52647c 50%), linear-gradient(135deg, #52647c 50%, transparent 50%); background-position: calc(100% - 19px) center, calc(100% - 13px) center; background-size: 6px 6px; background-repeat: no-repeat; }
.privacy, .preview { margin-top: 1.4rem; font-size: 0.9rem; line-height: 1.6; color: var(--text); }
.privacy a { display: inline; }
.consent { display: flex; gap: 0.7rem; align-items: start; color: var(--ink); margin-bottom: 0.4rem; }
.notice { width: min(680px, calc(100% - 40px)); margin: clamp(2rem, 5vw, 5rem) auto; }
.notice h1 { max-width: 18ch; font-size: clamp(2.3rem, 4.7vw, 4rem); }
.notice h2 { margin-top: 1.9rem; font-size: clamp(1.3rem, 3vw, 1.65rem); }
.notice p { margin-top: 0.75rem; line-height: 1.65; overflow-wrap: anywhere; }
.notice .draft { background: var(--wash); padding: 0.8rem 1rem; margin-top: 1.4rem; border-left: 3px solid var(--accent); }
.notice-version { color: var(--text); font-size: 0.9rem; }
.preview { border-top: 1px solid #e1e0da; padding-top: 0.85rem; }
.actions { margin-top: 1.55rem; gap: 1.25rem; justify-content: space-between; }
.primary { color: #fff; background: var(--ink); border: 0; border-radius: 999px; font-weight: 650; padding: 0.8rem 1.35rem; min-height: 48px; }
.primary:hover:enabled { background: #31312e; }
.primary:disabled { background: #e2e7ed; color: #485566; cursor: default; }
.back { background: transparent; border: 0; font-size: 1rem; padding: 0.45rem 0.15rem; text-decoration: underline; }
.error { margin-top: 0.35rem; color: var(--error); font-size: 0.95rem; font-weight: 600; }
.error:empty { margin: 0; }
input[aria-invalid=true], select[aria-invalid=true], .role:has([aria-invalid=true]) { border-color: var(--error); }
.check { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.1rem; background: var(--wash); color: var(--accent); border-radius: 50%; font-size: 1.5rem; }
.receipt { margin-block: 0.85rem 1.2rem; }
.foot { border-top: 1px solid var(--line); padding-block: 1.15rem; color: var(--text); font-size: 0.875rem; }
.foot span:first-child { font-weight: 650; }
.trap, .sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 2; top: 8px; left: 8px; background: white; padding: 0.75rem; }
h2, .panel { scroll-margin-top: 1rem; }
@media (max-width: 800px) {
  .layout { grid-template-columns: minmax(0, 1fr); max-width: 620px; gap: 1.45rem; padding-block: 1.7rem 2.4rem; }
  .intro { padding-top: 0; }
  h1 { font-size: clamp(2.1rem, 7vw, 3.3rem); max-width: none; }
  .intro p { font-size: 1rem; margin-top: 0.7rem; }
  .workshop { display: none; }
  .panel { padding: clamp(18px, 4vw, 30px); }
  .role-list { margin-top: 1rem; }
  .foot { flex-wrap: wrap; gap: 0.4rem 1rem; }
}
@media (max-width: 400px) {
  .role { padding: 0.8rem; gap: 0.6rem; }
  .actions { gap: 0.6rem; }
  .primary { padding-inline: 1rem; }
}
@media (forced-colors: active) { select { appearance: auto; } .progress span { border-bottom: 2px solid GrayText; } }
