:root { --acc: #15803d; --accd: #166534; --accbg: #ecf7ef }
.stage { flex: 1; display: flex; flex-direction: column; padding: 18px 22px; gap: 12px; min-width: 0; overflow: hidden; background: #e9ecf0 }
.bar { display: flex; gap: 10px; align-items: center } .fl { flex: 1; display: flex; gap: 6px; flex-wrap: wrap; min-width: 0 }
.fl button { border: 1px solid var(--line); background: var(--panel); height: 32px; padding: 0 10px; font-weight: 600; font-size: 12.5px; cursor: pointer; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.fl button.on { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); color: var(--accd) }
.fl button small { color: var(--tx3); font-weight: 500; margin-left: 6px }
.prog { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; color: var(--tx2) }
.pb { flex: 0 0 220px; height: 6px; background: #d6dae0 } .pb i { display: block; height: 100%; width: 0; background: var(--acc); transition: width .2s }
.paper { flex: 1; overflow: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-bottom: 30px }
.pg { background: #fff; width: min(100%, 760px); padding: 46px 60px; box-shadow: 0 1px 3px rgba(0,0,0,.14); font: 14px/1.5 Calibri, Carlito, 'Segoe UI', Arial, sans-serif; color: #1b1b1b; position: relative; flex: none }
.pgn { position: absolute; top: 12px; right: 16px; font: 600 11px Inter, sans-serif; color: var(--tx3); letter-spacing: .04em }
.pg h2, .pg h3, .pg h4 { margin: 14px 0 6px; line-height: 1.25 } .pg h2 { font-size: 22px } .pg h3 { font-size: 18px } .pg h4 { font-size: 15.5px }
.pg p { margin: 0 0 7px; overflow-wrap: anywhere } .pg p.li { padding-left: 18px; text-indent: -12px }
.pg table { border-collapse: collapse; width: 100%; margin: 6px 0 10px; font-size: 13px } .pg td { border: 1px solid #bbb; padding: 3px 6px; vertical-align: top }
.pg .im { text-align: center } .pg .im img { max-width: 100%; height: auto }
.pg .empty { color: var(--tx3); font-style: italic }
.ck { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 4px 0; cursor: pointer } .ck input { accent-color: var(--acc); width: 16px; height: 16px }
.go { padding: 18px 22px; display: flex; flex-direction: column; gap: 8px } .go .btn { width: 100% }
@media (max-width: 900px) { .pg { padding: 28px 22px } }
.pv { position: relative; flex: none; box-shadow: 0 1px 3px rgba(0,0,0,.18); background: #fff; line-height: 0 }
.pv span { position: absolute; right: -44px; top: 4px; font: 600 11px Inter, sans-serif; color: var(--tx3); line-height: 1 }
.paper .msg { color: var(--tx2); font-weight: 600; padding: 40px; text-align: center; max-width: 520px }
.seg.sm button { height: 32px; font-size: 13px }
