:root { --acc: #be123c; --accd: #9f1239; --accbg: #fdeef1 }
.app { height: 100vh; height: 100dvh } #vStart { overflow: auto } #vWork { overflow: hidden }
.col { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0 }
.bar { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel) } .bar .sp { flex: 1 } .bar label { font-size: 13px; display: flex; gap: 6px; align-items: center } #zoomTxt { font-family: var(--mono); font-size: 12px; color: var(--tx3); min-width: 44px; text-align: center }
.pages { flex: 1; overflow: auto; background: #d9dbd5; padding: 24px } .spread { display: flex; justify-content: center; margin: 0 auto 26px; position: relative; width: max-content; min-width: 100% }
.pg { background: #fff; position: relative; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.25); flex: none } .pg + .pg { margin-left: 0 }
.plab { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-size: 11px; color: #555; font-family: var(--mono) }
.pg svg.shp { position: absolute; inset: 0; width: 100%; height: 100% }
.tfw { position: absolute; left: 0; top: 0; transform-origin: 0 0; width: 0; height: 0 } .tf { position: absolute; overflow: hidden; box-sizing: border-box; color: #231f20; column-fill: auto; overflow-wrap: break-word; hyphens: auto }
.tf p { margin: 0; white-space: pre-wrap } .tf span { white-space: pre-wrap }
.icml { max-width: 720px; margin: 0 auto; background: #fff; padding: 48px; box-shadow: 0 1px 3px rgba(0,0,0,.25) } .icml p { margin: 0 0 .4em; white-space: pre-wrap }
.foot { display: flex; justify-content: space-between; gap: 12px; padding: 5px 12px; font-size: 11.5px; color: var(--tx3); background: var(--panel); border-top: 1px solid var(--line); font-family: var(--mono) }
.li { display: flex; gap: 8px; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--line2); font-size: 13px } .li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .li em { font-style: normal; color: var(--tx3); font-size: 12px; white-space: nowrap } .li i { width: 14px; height: 14px; flex: none; border: 1px solid var(--line) }
#fonts, #links, #cols { max-height: 170px; overflow: auto } .none { font-size: 13px; color: var(--tx3) }
.busy { margin-top: 14px; display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--tx2) } .hint { font-size: 12px; color: var(--tx3); margin: 6px 0 0; line-height: 1.45 }
#printBox { display: none }
@media print { body.printing > *:not(#printBox) { display: none !important } body.printing #printBox { display: block } #printBox .pg { box-shadow: none; break-after: page; page-break-after: always; margin: 0 } }
.go .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px } .go .row2 .btn { width: auto }
