/* QuietFit v1.3.30: layout and wording aids only. */
/* 7. headings: balanced lines, no single orphan character */
h1,h2,h3,.kicker,.slide-no{text-wrap:balance}
h1,h2,h3{overflow-wrap:anywhere}
/* 3. fixed bottom bar: solid enough that text does not ghost through it,
      and focus/scroll targets keep clear of it */
.ux-training .nav,.nav{background:linear-gradient(180deg,rgba(7,17,31,.9),rgba(7,17,31,.99) 14%)}
.slide{scroll-padding-bottom:var(--qf-footer-clearance,130px);scroll-padding-top:12px}
@media(max-height:550px){
 /* A software keyboard, large zoom, or a short landscape viewport can leave
    less than half the screen for the exercise. Keep every primary control at
    least 44px high, but place stop, previous and next on one row. */
 .ux-training .nav{grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr) minmax(0,1.4fr);gap:6px;align-items:stretch}
 .ux-training .nav #uxEmergencyStop{grid-column:auto;grid-row:auto}
 .ux-training .nav #returnStartHint{grid-column:1/-1}
 .ux-training .nav .btn{min-height:44px;padding:4px 8px}
 .quick-nav{padding-top:3px;padding-bottom:3px}
 .topbar{padding-top:calc(6px + env(safe-area-inset-top));padding-bottom:6px}
}
/* 1. one-step confirmation */
.v130-confirm-all{margin:12px 0;padding:12px;border:1px solid #2f8f6d;border-radius:14px;background:rgba(47,143,109,.12)}
.v130-confirm-all p{margin:0 0 8px}
.v130-confirm-all .btn{text-wrap:balance;width:100%;min-height:52px;white-space:normal;font-weight:900}
.v130-confirm-all .small:last-child{margin:8px 0 0}
/* 2. small-quantity day note */
.v130-trial-note{margin:10px 0;border-left-color:#4aa3ff;background:rgba(74,163,255,.1);line-height:1.7}
/* 4. missing 余力 */
.v130-reserve-missing{outline:3px solid #ffb454;outline-offset:4px;border-radius:12px}
.v130-reserve-alert{margin:0 0 10px;padding:8px 10px;border-radius:10px;background:#3b2a0f;color:#ffe3b0;font-weight:800;line-height:1.6}
/* 5. glossary */
.v130-glossary{margin:12px 0;padding:10px 12px;border:1px solid var(--line,#31506b);border-radius:12px;background:rgba(255,255,255,.03)}
.v130-glossary summary{cursor:pointer;font-weight:800;min-height:32px;display:flex;align-items:center}
.v130-glossary dl{margin:8px 0 0}.v130-glossary dt{margin-top:8px;font-weight:900}.v130-glossary dd{margin:2px 0 0;color:var(--muted,#9fb3c8);line-height:1.7}
/* 6. return-to-start */
.nav-return-hint{font-size:13px;line-height:1.5;color:#f2d79b}
.v130-return-blocked{opacity:.55;border-style:dashed}
@media(prefers-contrast:more){.v130-return-blocked{opacity:.8}}
