:root {
  color-scheme: light;
  font-family: "Noto Sans Myanmar", "Myanmar Text", "Myanmar Sangam MN", system-ui, sans-serif;
  color: #152f28;
  background: #f6f8f3;
  line-height: 1.75;
  --ink: #152f28;
  --muted: #455d52;
  --line: #cad8cd;
  --accent: #1c503e;
  --paper: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
.shell { width: min(74rem, 100% - 2.5rem); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner { min-height: 4.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: .94rem; font-weight: 750; }
.brand-mark { display: grid; place-items: center; background: var(--accent); color: #eff7ee; width: 2rem; aspect-ratio: 1; border-radius: .5rem; }
.caption { font: 700 .72rem/1.3 system-ui, sans-serif; letter-spacing: .16em; color: var(--muted); }
.intro { margin-block: 1.5rem 2.25rem; background: #e8f0e5; border: 1px solid #d4e2d3; border-radius: 1.35rem; position: relative; isolation: isolate; overflow: hidden; }
.intro-text { padding: clamp(1.4rem, 4vw, 3.4rem); max-width: 45rem; }
.eyebrow { font-size: .875rem; color: var(--accent); font-weight: 750; margin-bottom: .75rem; }
h1 { font-size: clamp(1.8rem, 4.4vw, 3.55rem); line-height: 1.54; letter-spacing: 0; text-wrap: balance; }
.intro-text > p:last-child { margin-top: .95rem; color: var(--muted); max-width: 33rem; }
.intro-art { position: absolute; height: min(26vw, 19rem); aspect-ratio: 1; top: 51%; right: 5%; transform: translateY(-50%); z-index: -1; }
.intro-art span { position: absolute; inset: 4%; border: 1px solid #9cb7a2; border-radius: 50%; }
.intro-art span:nth-child(2) { inset: 16%; background: #dce9da; }
.intro-art span:nth-child(3) { inset: 28%; background: #c9dfc9; }
.intro-art i { position: absolute; inset: 0; display: grid; place-items: center; color: #38654f; font: normal clamp(3rem, 9vw, 8rem)/1 Georgia, serif; }
.instructions { margin: 0 0 1rem; }
.instructions ol { margin-top: 0; padding-inline-start: 1.4rem; }
.sections-nav { display: flex; flex-wrap: wrap; gap: .35rem .5rem; }
.sections-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--accent); text-underline-offset: .2em; padding-inline: .45rem; }
.storage { color: var(--muted); margin-block: .6rem 1rem; font-size: .92rem; }
.worksheet-sections { display: grid; gap: 1.15rem; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 3.5vw, 2rem); scroll-margin-top: 1rem; min-width: 0; }
.section-head { display: flex; justify-content: space-between; align-items: start; gap: .65rem; margin-bottom: 1.05rem; }
h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.56; }
.section-head p, .section-copy { color: var(--muted); margin-top: .4rem; }
.counter { background: #e5efe5; border-radius: .5rem; padding: .2rem .64rem; flex: none; font-weight: 750; font-variant-numeric: tabular-nums; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
button, textarea, input, select { font: inherit; }
button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .4rem .8rem; border-radius: .6rem; border: 1px solid var(--line); color: var(--accent); background: var(--paper); cursor: pointer; }
button:hover:not(:disabled) { border-color: var(--accent); }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #356d56; outline-offset: 3px; }
.choice { text-align: start; justify-content: space-between; gap: .35rem; padding: .65rem .75rem; min-height: 4.3rem; line-height: 1.55; }
.choice .value-text { min-width: 0; overflow-wrap: anywhere; }
.choice strong { display: block; font-size: .92rem; }
.choice small { display: block; color: var(--muted); font: 550 .86rem/1.4 system-ui, sans-serif; margin-top: .18rem; }
.choice[aria-pressed="true"] { background: #e5efe5; border-color: #4c8064; }
.circle { display: grid; place-items: center; width: 1.15rem; height: 1.15rem; flex: none; border: 1px solid #809a8b; border-radius: 50%; color: white; font: 700 .74rem/1 system-ui, sans-serif; }
.choice[aria-pressed="true"] .circle { background: var(--accent); border-color: var(--accent); }
.feedback { font-size: .875rem; color: #236048; }
.feedback:empty { display: none; }
.feedback:not(:empty) { margin-top: .55rem; }
.custom { margin-block: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .75rem; }
summary { color: var(--accent); cursor: pointer; min-height: 2.75rem; padding-block: .4rem; font-size: .94rem; }
.custom form { padding: .4rem 0; }
.add-row { display: flex; gap: .5rem; align-items: stretch; }
.add-row input, .add-row select { flex: 1; min-width: 0; }
.add-row button { flex: none; }
label { display: block; font-size: .94rem; font-weight: 700; }
label span { display: block; color: var(--muted); font-size: .85rem; font-weight: 450; }
input, textarea, select { width: 100%; min-height: 2.75rem; border: 1px solid #a7bcb0; border-radius: .5rem; background: var(--paper); color: var(--ink); padding: .5rem .6rem; }
select { appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: right 1.1rem center, right .8rem center; background-size: .3rem .3rem; background-repeat: no-repeat; }
textarea { resize: vertical; margin-top: .35rem; }
.example { margin-block: .55rem .85rem; }
.example p { color: var(--muted); padding: .55rem .8rem; background: #eef4ec; border-radius: .5rem; }
.worksheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
#ranking { list-style: none; margin: .8rem 0 0; padding: 0; }
.rank-card, .action-card { min-width: 0; margin: 0; padding: .75rem; border: 1px solid var(--line); border-radius: .65rem; }
.rank-heading { display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; margin-bottom: .55rem; }
.rank-heading strong { flex: 1 1 7rem; overflow-wrap: anywhere; }
.rank-controls { display: flex; gap: .35rem; align-items: center; }
.rank { min-width: 1.4rem; font-weight: 750; color: var(--accent); }
.move { width: 2.75rem; min-height: 2.75rem; font: 700 1rem/1 system-ui, sans-serif; }
.remove-rank, .remove-action { font-size: .875rem; }
.empty { color: var(--muted); border: 1px dashed #b5c9bc; border-radius: .6rem; padding: .75rem; margin: 1rem 0; }
.question-list { display: grid; gap: .85rem; margin-top: 1rem; }
.field { min-width: 0; overflow-wrap: anywhere; }
.action-card .field, .remove-action, #add-action { margin-top: .65rem; }
.action-card legend { color: var(--accent); font-weight: 750; }
.note { margin-top: 1.1rem; }
.guide { color: var(--muted); margin: .55rem 0 .65rem; }
.export-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.primary { background: var(--accent); border-color: var(--accent); color: white; font-weight: 700; }
.primary:hover:not(:disabled) { background: #143e30; }
#manual-copy { margin-top: .8rem; }
.privacy, .coaching { margin-top: .8rem; border-top: 1px solid #e2ebe4; }
.privacy p, .coaching p { margin: .2rem 0 .65rem; color: var(--muted); }
.privacy button { font-size: .875rem; }
.footer { color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); margin-top: 2rem; padding-block: 1rem 1.5rem; }
#print-report { display: none; }
@media (max-width: 66rem) {
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-art { right: 3.5%; }
}
@media (max-width: 51rem) {
  .shell { width: calc(100% - 2rem); }
  .intro { margin-block: 1rem 1.5rem; }
  .intro-art { opacity: .68; top: 28%; right: -1.5rem; }
}
@media (max-width: 42rem) { .worksheet-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 23rem) {
  .caption { display: none; }
  .choices { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  body { background: white; }
  .masthead, #worksheet, .footer { display: none; }
  #print-report { display: block; color: black; padding: 10mm; }
  #print-report h1 { font-size: 22pt; }
  #print-report h2 { font-size: 14pt; margin-top: 12pt; break-after: avoid; }
  #print-report p { white-space: pre-wrap; overflow-wrap: anywhere; margin-block: 5pt; }
  .print-credit { font-size: 9pt; }
}
