:root {
  color-scheme: light;
  --pink: #a80060;
  --bright: #ec008c;
  --ink: #281723;
  --muted: #655361;
  --line: #e6d6e0;
  --blush: #f9eaf2;
  --page: #fbf8fa;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--page);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: var(--pink); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #27638d; outline-offset: 3px; }
.shell { width: min(70rem, 100% - 3rem); margin-inline: auto; }
.skip { position: absolute; margin: .8rem; padding: .6rem; background: #fff; z-index: 3; transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 5.7rem; gap: 1rem; }
.header-inner img { width: 11.2rem; height: auto; display: block; }
.main { padding-bottom: 3rem; }
.introduction { padding: 2.2rem 0 1.8rem; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.7rem, 7vw, 4.5rem); line-height: 1; letter-spacing: -.065em; font-weight: 800; }
h1 span { color: var(--pink); }
.introduction p { margin-top: .72rem; line-height: 1.55; color: var(--muted); font-size: 1.09rem; max-width: 34rem; }
.workspace { display: grid; grid-template-columns: minmax(12rem, .75fr) minmax(0, 2.3fr); gap: clamp(1.4rem, 4vw, 3.25rem); }
.main-column { min-width: 0; }
.sidebar ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .24rem; }
.sidebar button { width: 100%; text-align: left; padding: .74rem .86rem; border-radius: .55rem; border: 1px solid transparent; background: none; color: var(--ink); font-weight: 650; }
.sidebar button[aria-current="step"] { background: var(--blush); border-color: #eed0e2; color: var(--pink); }
.sidebar button:hover:enabled { border-color: #d7a5c3; }
.sidebar button:disabled { color: #6c5e69; }
.privacy { margin: 1rem .85rem 0; max-width: 17rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.progress-row { display: flex; align-items: center; gap: 1rem; color: var(--pink); margin-bottom: .75rem; font-weight: 700; font-size: .93rem; }
.progress-row span { flex-shrink: 0; }
progress { accent-color: var(--pink); width: 100%; height: .48rem; appearance: none; border: 0; border-radius: .6rem; background: #eedde7; color: var(--pink); }
progress::-webkit-progress-bar { background: #eedde7; border-radius: .6rem; }
progress::-webkit-progress-value { background: var(--pink); border-radius: .6rem; }
progress::-moz-progress-bar { background: var(--pink); border-radius: .6rem; }
.paper { padding: clamp(1.1rem, 3.8vw, 2rem); background: white; border: 1px solid var(--line); border-top: 3px solid var(--bright); border-radius: .95rem; box-shadow: 0 6px 20px #2e112609; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.13; letter-spacing: -.035em; margin-bottom: 1.3rem; }
h2:focus { outline: none; }
legend, .field label, summary { font-weight: 700; }
.checkin { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.help { color: var(--muted); line-height: 1.52; margin: .35rem 0 .64rem; }
.scale { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: .35rem; }
.scale label { position: relative; display: grid; cursor: pointer; }
.scale input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.scale span { display: grid; align-items: center; justify-items: center; min-height: 2.8rem; background: #fff; border: 1px solid #c7adbe; border-radius: .48rem; color: var(--pink); font-weight: 750; }
.scale label:hover span { background: #fff0f8; }
.scale input:checked + span { background: var(--pink); border-color: var(--pink); color: #fff; }
.scale input:focus-visible + span { outline: 3px solid #27638d; outline-offset: 2px; }
.anchors { display: flex; justify-content: space-between; margin-top: .53rem; color: var(--muted); font-size: .9rem; gap: .9rem; }
.notice { margin-top: 1.1rem; padding: 1rem; background: #fff0e3; border-left: 3px solid #9e5524; border-radius: .55rem; color: #59341c; line-height: 1.5; }
.notice p { margin-top: .3rem; }
.field + .field, .pair { margin-top: 1.25rem; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pair .field { margin: 0; }
.field input, textarea { display: block; width: 100%; min-height: 2.85rem; border: 1px solid #b6a2b0; border-radius: .55rem; padding: .64rem .7rem; background: #fff; color: var(--ink); margin-top: .4rem; }
textarea { min-height: 5rem; resize: vertical; line-height: 1.45; }
.controls { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; margin-top: .85rem; }
.controls .secondary { margin-right: auto; }
.primary, .secondary, .quiet { min-height: 2.75rem; font-weight: 700; border-radius: .52rem; padding: .55rem 1rem; }
.primary { background: var(--pink); color: #fff; border: 1px solid var(--pink); }
.primary:hover { background: #86004d; }
.secondary { color: var(--pink); background: white; border: 1px solid #d1b1c5; }
.secondary:hover { background: var(--blush); }
.quiet { color: var(--pink); background: transparent; border: 1px solid transparent; }
.quiet:hover:enabled { background: var(--blush); }
.quiet:disabled { color: #6d5d68; }
.draft { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .85rem; }
.draft button { margin-left: -.5rem; padding-inline: .5rem; }
.draft span, .status { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.status:not(:empty) { margin-top: .55rem; color: #8d255a; }
.checklist { padding: .8rem .95rem; background: #faedf4; border-radius: .55rem; margin-bottom: 1rem; line-height: 1.5; }
.checklist ul { padding-left: 1.3rem; margin-bottom: .25rem; }
.checklist li + li { margin-top: .35rem; }
.finish-check { margin-bottom: 1.25rem; }
.comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: .85rem 0 0; }
.comparison > div { min-width: 0; padding: .65rem .8rem; background: var(--blush); border-radius: .55rem; }
.comparison dt { font-size: .91rem; font-weight: 700; }
.comparison dd { margin: .12rem 0 0; color: var(--pink); font-size: 1.28rem; font-weight: 800; }
.review { margin: 0; }
.review > div { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.review > div:last-child { border-bottom: none; }
.review dt { font-weight: 750; }
.review dd { margin: .3rem 0 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.footer { border-top: 1px solid var(--line); padding-block: 1rem 1.75rem; font-size: .9rem; }
@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.6rem; }
  .header-inner img { width: 9.1rem; }
  .introduction { padding-block: 1.35rem; }
  .workspace { display: flex; flex-direction: column; gap: 1rem; }
  .sidebar { order: 1; }
  .sidebar nav { display: none; }
  .privacy { margin: .15rem 0; max-width: none; }
  .scale { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem; }
}
@media (max-width: 380px) {
  .pair { grid-template-columns: 1fr; }
  .header-inner .quiet { font-size: .92rem; padding-inline: .48rem; }
}
@media print {
  :root, body { background: white; color: black; }
  .shell { width: 100%; }
  .site-header, .sidebar, .progress-row, .controls, .draft, .footer, .skip, .status, .checklist, .introduction p, .finish-check { display: none !important; }
  .workspace, .main { display: block !important; }
  .introduction { padding: 0 0 .75rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .paper { display: none !important; }
  .paper[data-section="Review"] { display: block !important; border: 0; box-shadow: none; padding: 0; }
  .review > div { break-inside: avoid; }
  .review dd { color: black; }
}
