/* Exposure light labels: every text at least 16px, single column on phones. */
.light-label-page main, .light-label-page main * { font-size: 16px; }
.light-label-page main h1 { font-size: 26px; }
.light-label-page main h2 { font-size: 20px; }
.light-label-page main h3 { font-size: 18px; }
.light-label-page #message:not(:empty) { font-size: 16px; padding: 10px 28px; overflow-wrap: anywhere; }
.light-label-page #message.error { color: #a34c3b; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.light-label-shell { min-width: 0; }
.app-page .light-label-shell { padding: 20px 28px 32px; }
.light-hero { margin-bottom: 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: #eef7f2; }
.light-hero h1 { margin: 0 0 6px; }
.light-hero p { margin: 0; line-height: 1.7; color: #38594a; max-width: 860px; }
.light-columns { display: grid; grid-template-columns: minmax(320px, .45fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 20px; }
.light-columns > * { min-width: 0; }
.light-card { padding: 20px 24px; margin-bottom: 20px; min-width: 0; }
.light-card h2 { margin: 0 0 8px; }
.light-card label { display: block; margin-top: 12px; font-weight: 600; }
.light-card label :is(input:not([type=checkbox]):not([type=radio]), select) { display: block; width: 100%; margin-top: 4px; min-height: 42px; box-sizing: border-box; font-weight: 400; }
.light-card fieldset { margin: 14px 0 0; padding: 0; border: 0; min-width: 0; }
.light-card legend { font-weight: 600; margin-bottom: 6px; }
.light-choice label, .light-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 6px; font-weight: 400; }
.light-choice input, .light-check input { flex: 0 0 auto; width: 20px; min-height: 20px; margin: 4px 0 0; }
.light-check span { min-width: 0; overflow-wrap: anywhere; line-height: 1.6; }
.light-checklist { max-height: 320px; overflow: auto; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.light-range { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.light-card .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
#create-message:empty { display: none; }
#create-message:not(:empty) { margin: 12px 0 0; padding: 12px 14px; border: 1px solid #d5e5dd; border-radius: 8px; background: #f0f7f3; color: #376b54; line-height: 1.7; overflow-wrap: anywhere; }
#create-message.error { border-color: #efd8d4; background: #fff5f3; color: #a34c3b; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.light-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; padding: 0; list-style: none; }
.light-stats li { display: flex; flex-direction: column; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #f7fbf9; min-width: 0; }
.light-label-page main .light-stats strong { font-size: 22px; }
.light-stats span { color: var(--muted); }
.table-wrap { overflow-x: auto; }
.light-card table { width: 100%; border-collapse: collapse; }
.light-card th, .light-card td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.light-list { margin: 0; padding: 0; list-style: none; }
.light-list li { padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.light-list p { margin: 4px 0 0; }
.light-method p { line-height: 1.7; color: var(--muted); }
.light-item-head { display: grid; gap: 6px; }
.light-item-head h3 { margin: 0; overflow-wrap: anywhere; }
.light-item-head p { margin: 0; overflow-wrap: anywhere; }
.light-item-head a { justify-self: start; }
.light-options { display: flex; flex-wrap: wrap; gap: 8px; }
.light-option { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: none; }
.light-label-page button.light-option[aria-pressed=true], .light-label-page button.light-option[aria-pressed=true]:hover:not(:disabled) { border-color: var(--accent); background: var(--accent); color: #fff; }
.light-option kbd { display: inline-grid; place-items: center; min-width: 24px; padding: 0 4px; border: 1px solid currentColor; border-radius: 6px; font-family: inherit; opacity: .8; }
.light-keys { margin-top: 14px; color: var(--muted); }
.light-keys p { line-height: 1.7; }
#done-box summary { cursor: pointer; font-weight: 600; }
.notice { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
@media (max-width: 850px) {
  .app-page .light-label-shell { padding: 16px; }
  .light-columns, .light-range { grid-template-columns: minmax(0, 1fr); }
  .light-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .light-card { padding: 16px; }
}
.app-page .light-label-shell > .light-hero { display: block; }
