/* 1.3.1 (US-172-8): check and ? for beta readers. Creative Director guideline Nov 12: 44 x 44 px touch, 38 px drawn icon, 8 px apart,
same ring as the line flame. Narrow: one row under the item, last icon's visible right edge on the text's right edge.
Wide (when the margin has room): one column in the right margin, level with the item's first line (approve.js place()). A check or ? lights nothing. */
.apitem { position: relative; }
.apr { display: flex; justify-content: flex-end; gap: 8px; margin: 4px -5.375px 0 0; /* the ? ring's visible right edge (5.375 px inside its 44 px button) sits on the text's right edge */ }
.apr .lf, .apb { position: static; flex: 0 0 auto; width: 44px; height: 44px; padding: 3px; border: none; background: none; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.apb svg, .apr .lf svg { width: 38px; height: 38px; display: block; }
.apflame.holdline, .lessonbody li.apflame.holdline { padding-right: 0; }
.apb .apt { stroke: #333; } .apb .apr2 { stroke: #FFFFFF; } .apb path { stroke: #8A8A8A; } .apb .dot { fill: #8A8A8A; }
.apb.on .apt { stroke: #6FCF97; fill: #6FCF97; } .apb.on path { stroke: #0d0d0d; } .apb.on .dot { fill: #0d0d0d; }
.apb:focus-visible { outline: 2px solid #F2C94C; outline-offset: 2px; border-radius: 50%; }
.apr.apstart { justify-content: flex-start; margin-right: 0; }
.aplayer { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.apr.apwide { position: absolute; width: 148px; margin: 0; justify-content: flex-end; }
.apchal { margin: 4px 0 20px; padding: 12px 14px; border: 1px dashed #555; border-radius: 12px; font-size: 16px; }
.apchal p { margin: 0; }
.apbox { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.apin { background: #111; color: #eee; border: 1px solid #3a3a3a; border-radius: 16px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; padding: 18px 16px; }
.apin h3 { margin: 0 0 10px; }
.apq { margin: 0 0 12px; padding: 8px 12px; border-left: 3px solid #F2C94C; color: #ddd; font-size: 15px; max-height: 34vh; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; -webkit-user-select: text; user-select: text; } /* G1: the whole item, scrolls, can be copied */
.apw { cursor: pointer; border-radius: 3px; } .apw.on { background: #F2C94C; color: #0d0d0d; } .aphint { margin: 0 0 8px; }
.apch label { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.apl { display: block; margin: 10px 0; } .apl input, .apl textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 10px; font: inherit; background: #000; color: #eee; border: 1px solid #555; border-radius: 8px; }
.apfine { font-size: 14px; color: #aaa; } .apmsg { min-height: 1.2em; color: #F2C94C; }
.apbtns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; } .apbtns .btn { min-height: 44px; }
