.champs-page { --champs-line:#bdc6b7; }
.champs-page [hidden] { display:none !important; }
.champs-header { max-width:1372px; min-height:56px; padding:10px 24px; }
.champs-header .brand { font:700 27px/1.2 var(--serif); letter-spacing:-.02em; }
.champs-main { max-width:1372px; }
.champs-intro { margin:16px 0 14px; }
.champs-intro h1 { margin:0; font:700 42px/1.12 var(--serif); letter-spacing:-.035em; }
.champs-intro p { margin:3px 0 0; font:22px/1.3 var(--serif); }
.champs-workspace { display:grid; grid-template-columns:minmax(290px,.47fr) minmax(0,1fr); gap:18px; align-items:start; }
.champs-editor { margin:0; padding:15px 18px; background:rgba(255,253,247,.55); border:1px solid var(--rule); border-radius:4px; box-shadow:inset 0 1px 0 #fff; }
.champs-editor h2 { margin:0 0 10px; font:700 23px/1.2 var(--serif); }
.champs-editor>label:not(.champs-check) { display:block; margin:9px 0 3px; color:#273a36; font-size:14px; line-height:1.3; }
.champs-editor>input,.champs-editor>select { display:block; width:100%; height:34px; min-width:0; padding:5px 10px; color:#253c35; font:14px/1.3 var(--sans); border:1px solid #bcc4bd; border-radius:4px; background:#fff; box-shadow:inset 0 1px 2px #142e2410; }
.champs-editor>input:focus,.champs-editor>select:focus { border-color:#458264; }
.champs-editor input:disabled { color:#818882; background:#eee; }
.champs-check { display:flex; align-items:center; gap:6px; font-size:14px; white-space:nowrap; }
.champs-editor>.champs-check { margin-top:11px; }
.champs-check input { width:17px; height:17px; accent-color:var(--ink); margin:0; }
.champs-print-options { display:flex; align-items:end; gap:12px; justify-content:space-between; margin-top:16px; padding-top:12px; border-top:1px solid var(--rule); }
.champs-print-options>div { display:grid; gap:3px; font-size:14px; }
.champs-print-options select { min-height:32px; padding:3px 5px; border:1px solid #a6b2a9; border-radius:4px; background:#fff; font-size:14px; }
.champs-print-options .champs-check { min-height:34px; }
.champs-page button { min-height:35px; padding:6px 12px; color:var(--ink); border:1px solid #b4bdb5; border-bottom-width:2px; border-radius:4px; background:#fffdf7; box-shadow:inset 0 1px 0 #fff,0 1px 2px #0b25131f; font:600 14px/1.25 var(--sans); cursor:pointer; transition:transform .1s,background .1s; }
.champs-page button:hover { background:#e8eee5; }
.champs-page button:active { transform:translateY(1px); border-bottom-width:1px; }
.champs-page button:disabled { opacity:.6; cursor:wait; }
.champs-print-options button { padding:5px 8px; font-size:12px; }
.champs-preview-stack { min-width:0; }
.champs-stage { padding:12px 24px 3px; background:#173a32 url('/assets/voice-chart-felt-v1.f030a1d9880a.webp') center/640px; border:1px solid #6b8576; border-radius:3px; box-shadow:inset 0 1px 3px #051e1766; }
.champs-toolbar { display:flex; justify-content:center; gap:10px; margin-bottom:12px; flex-wrap:wrap; }
.champs-toolbar button { min-width:112px; }
.champs-toolbar .champs-primary { color:#fffdf7; border-color:#b0c9b5; background:#1a493b; box-shadow:inset 0 0 0 2px #476958,0 2px 2px #10211a; }
.champs-toolbar .champs-primary:hover { background:#27614d; }
.champs-sheet { max-width:704px; margin:0 auto; padding:16px 22px 20px; border:1px solid #c9c6b4; background:#fffdf7; box-shadow:0 3px 0 #e9e5d7,0 5px 0 #cacabd,0 9px 13px #071c196b,inset 0 0 0 8px #f5f2e8; color:var(--ink); }
.champs-sheet-head { text-align:center; font-family:var(--serif); }
.champs-sheet-head p { margin:0; overflow-wrap:anywhere; font-size:24px; line-height:1.25; }
.champs-sheet-head #outClass { display:table; max-width:100%; margin:0 auto 3px; padding:0 18px 3px; border-bottom:1px solid #718374; }
.champs-sheet-head h2 { font:700 clamp(42px,5.3vw,76px)/1.05 var(--serif); margin:0 0 9px; letter-spacing:.005em; }
.champs-rows { border:1px solid #93aa99; }
.champs-row { display:grid; grid-template-columns:88px minmax(0,1fr); min-height:74px; background:#e5ede1; border-bottom:1px solid #a6b8a8; }
.champs-row:last-child { border-bottom:0; }
.champs-row:nth-child(even) { background:#f5efdc; }
.champs-letter { display:flex; align-items:center; justify-content:center; padding:2px 5px; border-right:1px solid #a6b8a8; font:700 64px/1.05 var(--serif); }
.champs-rule { min-width:0; padding:8px 12px 10px; }
.champs-rule h3 { margin:0 0 1px; font:700 19px/1.2 var(--serif); }
.champs-rule h3 small { margin-left:10px; font:400 13px/1.2 var(--sans); white-space:nowrap; }
.champs-rule p { margin:0; overflow-wrap:anywhere; font:21px/1.25 var(--serif); }
.champs-sheet[data-low-ink="true"] { background:#fff; color:#161616; box-shadow:none; }
.champs-sheet[data-low-ink="true"] .champs-row { background:#fff; }
.champs-status { margin:7px 0 0; min-height:22px; color:#e1e9dc; text-align:center; font-size:12px; }
.champs-help { display:grid; grid-template-columns:1.7fr 1fr 1.1fr; margin-top:14px; padding:14px 16px; gap:16px; border:1px solid var(--rule); border-radius:4px; background:rgba(255,253,247,.42); }
.champs-help>div+div { border-left:1px solid var(--rule); padding-left:16px; }
.champs-help h2 { margin:0 0 5px; font:700 17px/1.2 var(--serif); }
.champs-help ol { margin:0; padding-left:19px; }
.champs-help li,.champs-help p,.champs-help a { font-size:12px; line-height:1.45; }
.champs-help p { margin:5px 0 0; color:var(--muted); }
.champs-help a { display:block; margin-bottom:4px; text-underline-offset:2px; }
.champs-footer { max-width:1372px; margin:18px auto 0; padding:0 24px 18px; display:flex; justify-content:space-between; color:var(--muted); font-size:12px; }
.champs-footer nav { display:flex; gap:24px; }
.champs-footer a { text-decoration:none; }
.champs-mobile-switch { display:none; }
.champs-error,.champs-notice { color:#87382b; font-size:13px; }
.champs-stage.is-presenting { position:fixed; inset:0; z-index:1000; display:flex; flex-direction:column; justify-content:center; align-items:center; overflow:auto; padding:52px 24px 16px; border:0; border-radius:0; }
.champs-stage.is-presenting .champs-sheet { width:min(100%,900px); max-width:900px; }
.champs-stage.is-presenting .champs-toolbar,.champs-stage.is-presenting .champs-status { display:none; }
.champs-stage.is-presenting #closePresentation { position:fixed; top:10px; right:15px; }
.champs-stage.is-presenting .champs-row { min-height:clamp(60px,9vh,94px); }
.champs-stage.is-presenting .champs-rule p { font-size:clamp(20px,2.4vw,32px); }
@media (max-width:1100px) and (min-width:761px) {
  .champs-workspace { grid-template-columns:310px minmax(0,1fr); }
  .champs-stage { padding:12px 12px 3px; }
  .champs-sheet { padding:12px 12px 16px; }
  .champs-row { grid-template-columns:60px minmax(0,1fr); }
  .champs-letter { font-size:48px; }
  .champs-rule p { font-size:19px; }
  .champs-help { grid-template-columns:1fr; }
  .champs-help>div+div { border-left:0; border-top:1px solid var(--rule); padding:10px 0 0; }
}
@media (max-width:760px) {
  .champs-header { padding:12px 16px; display:block; }
  .champs-header .brand { font-size:22px; }
  .champs-header nav { margin-top:10px; gap:20px; }
  .champs-header nav a,.champs-header nav a:not(:last-child) { display:inline; font-size:13px; }
  .champs-main { padding:0 16px; }
  .champs-intro { margin-top:16px; }
  .champs-intro h1 { font-size:32px; }
  .champs-intro p { font-size:18px; }
  .champs-mobile-switch { display:flex; gap:8px; margin-bottom:12px; }
  .champs-mobile-switch button { flex:1; min-height:42px; }
  .champs-mobile-switch button[aria-pressed="true"],.champs-mobile-switch button[aria-pressed="true"]:hover { color:#fff; background:var(--ink); }
  .champs-workspace { display:block; }
  .champs-workspace[data-mobile-view="edit"] .champs-preview-stack { display:none; }
  .champs-workspace[data-mobile-view="preview"] .champs-editor { display:none; }
  .champs-editor { padding:16px; }
  .champs-editor>input,.champs-editor>select { height:42px; font-size:16px; }
  .champs-editor>label:not(.champs-check) { margin-top:12px; }
  .champs-stage { padding:12px 10px 3px; }
  .champs-toolbar { gap:6px; }
  .champs-toolbar button { min-width:0; padding:8px; font-size:12px; flex:1; }
  .champs-sheet { padding:13px 10px 14px; }
  .champs-sheet-head p { font-size:20px; }
  .champs-sheet-head h2 { font-size:44px; margin-bottom:8px; }
  .champs-row { grid-template-columns:45px minmax(0,1fr); min-height:73px; }
  .champs-letter { font-size:40px; }
  .champs-rule { padding:7px 8px; }
  .champs-rule h3 { font-size:16px; }
  .champs-rule h3 small { display:block; margin:1px 0 3px; font-size:11px; }
  .champs-rule p { font-size:18px; }
  .champs-help { grid-template-columns:1fr; gap:12px; }
  .champs-help>div+div { border-left:0; border-top:1px solid var(--rule); padding:10px 0 0; }
  .champs-help li,.champs-help p,.champs-help a { font-size:13px; }
  .champs-footer { padding:0 16px 18px; flex-wrap:wrap; gap:12px; }
  .champs-stage.is-presenting { padding:54px 10px 16px; justify-content:flex-start; }
  .champs-stage.is-presenting .champs-rule p { font-size:18px; }
}
@media (prefers-reduced-motion:reduce) { .champs-page *, .champs-page *::before { scroll-behavior:auto; transition:none !important; } }
@media print {
  html,body.champs-page { margin:0; padding:0; background:white; }
  .champs-page>*:not(main),.champs-intro,.champs-mobile-switch,.champs-editor,.champs-help,.champs-toolbar,.champs-status,#closePresentation,noscript { display:none !important; }
  .champs-main { max-width:none; padding:0; margin:0; }
  .champs-workspace,.champs-preview-stack { display:block !important; }
  .champs-stage,.champs-stage.is-presenting { position:static; display:block; margin:0; padding:0; background:none; border:0; box-shadow:none; overflow:visible; }
  .champs-sheet,.champs-stage.is-presenting .champs-sheet { width:100%; max-width:none; margin:0; padding:7mm; border:1px solid #869b88; box-shadow:none; break-inside:avoid; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
  .champs-sheet-head p { font-size:17pt; }
  .champs-sheet-head h2 { font-size:52pt; margin-bottom:5mm; }
  .champs-row,.champs-stage.is-presenting .champs-row { grid-template-columns:20mm minmax(0,1fr); min-height:25mm; break-inside:avoid; }
  .champs-letter { font-size:42pt; }
  .champs-rule { padding:3mm; }
  .champs-rule h3 { font-size:14pt; }
  .champs-rule h3 small { display:inline; margin-left:3mm; font-size:10pt; }
  .champs-rule p,.champs-stage.is-presenting .champs-rule p { font-size:16pt; line-height:1.25; }
  .champs-sheet[data-dense="true"] .champs-rule p { font-size:13pt; }
  .champs-sheet[data-dense="true"] .champs-rule h3 { font-size:12pt; }
  .champs-sheet[data-dense="true"] .champs-sheet-head p { font-size:15pt; }
  .champs-sheet[data-dense="true"] .champs-sheet-head h2 { font-size:42pt; }
}
