/* A4 comparison page; scoped to avoid changing existing course exports. */
.pce-stage{position:fixed!important;left:-99999px!important;top:0!important;width:794px!important;pointer-events:none}
.pce-sheet,.pce-sheet *{box-sizing:border-box}
.pce-sheet{--pce-image-height:288px}
.pce-sheet .pce-content{color:#202c38;font:12px/1.5 "Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}
.pce-sheet .pce-content section{margin:0 0 13px;padding:0;background:transparent;border:0}
.pce-sheet .pce-section-title{font-size:11px;line-height:17px;font-weight:700;letter-spacing:.45px;color:#245b78;margin:0 0 7px}
.pce-sheet .pce-source{padding:10px 12px!important;background:#f2f5f7!important;border:1px solid #d9e0e6!important}
.pce-sheet .pce-source .pce-section-title{margin-bottom:4px}
.pce-sheet .pce-case-title{font-size:13px;line-height:18px;font-weight:700;overflow-wrap:anywhere;margin-bottom:4px}
.pce-sheet .pce-source-url{font-size:9px;line-height:13px;overflow-wrap:anywhere;word-break:break-all;color:#647382}
.pce-sheet .pce-source-url>span{color:#43576a}
.pce-sheet .pce-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.pce-sheet .pce-image-card{margin:0;min-width:0;border:1px solid #d9e0e6;background:#fff}
.pce-sheet .pce-image-label{margin:0;padding:7px 10px;font-size:11px;line-height:16px;font-weight:700;background:#f0f2f4;color:#43576a}
.pce-sheet .pce-after .pce-image-label{background:#edf3f6;color:#245b78}
.pce-sheet .pce-image-box{height:var(--pce-image-height);padding:9px;display:flex;align-items:center;justify-content:center;background:#fff}
.pce-sheet .pce-image-box img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;margin:0;border:0;border-radius:0}
.pce-sheet .pce-image-empty{font-size:12px;color:#9aa5ae}
.pce-sheet .pce-image-caption{padding:0 10px 7px;font-size:9px;line-height:13px;color:#647382;text-align:center}
.pce-sheet .pce-code .pce-section-title{margin-bottom:3px}
.pce-sheet .pce-code-hint{font-size:9px;line-height:14px;color:#647382;margin:0 0 6px}
.pce-sheet .pce-code-card{min-width:0;border:1px solid #d9e0e6;padding:8px;background:#f8fafb}
.pce-sheet .pce-code-label{font-size:10px;line-height:15px;font-weight:700;color:#43576a}
.pce-sheet .pce-after .pce-code-label{color:#245b78}
.pce-sheet .pce-code-range{font-size:8px;line-height:13px;color:#647382;margin:0 0 5px;overflow-wrap:anywhere}
.pce-sheet .pce-code-lines{height:112px;font:10px/14px Consolas,"Cascadia Code","Liberation Mono",monospace;color:#202c38}
.pce-sheet .pce-code-row{display:grid;grid-template-columns:42px minmax(0,1fr);gap:4px;height:14px;min-height:14px}
.pce-sheet .pce-line-number{font:9px/14px Consolas,"Cascadia Code","Liberation Mono",monospace;text-align:right;padding-right:5px;color:#7b8994;white-space:nowrap;border-right:1px solid #e0e6eb}
.pce-sheet .pce-code-text{font:10px/14px Consolas,"Cascadia Code","Liberation Mono",monospace;white-space:pre!important;overflow-wrap:normal!important;word-break:normal!important;color:#202c38}
.pce-sheet .pce-code-changed{background:#e3edf3}
.pce-sheet .pce-before .pce-code-changed{background:#efe8e3}
.pce-sheet .pce-empty-code{display:flex;align-items:center;justify-content:center;height:100%;font:11px/18px "Noto Sans SC","Microsoft YaHei",sans-serif;color:#87949f}
.pce-sheet .pce-code-footnote{margin-top:5px;font-size:8.5px;line-height:13px;color:#647382}
.pce-sheet .pce-note{padding:10px 12px!important;border-left:3px solid #245b78!important;background:#edf3f6!important;margin-bottom:0!important}
.pce-sheet .pce-note .pce-section-title{margin-bottom:2px}
.pce-sheet .pce-note-prompt{font-size:9px;line-height:14px;color:#647382;margin-bottom:6px}
.pce-sheet .pce-note-text{font-size:12px;line-height:20px;color:#202c38;white-space:pre-wrap;overflow-wrap:anywhere;min-height:40px}
.pce-preview{position:fixed;inset:0;z-index:100000;background:rgba(15,23,32,.78);padding:22px;overflow:auto;overscroll-behavior:contain;font:13px/1.5 "Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;color:#202c38}
.pce-preview *{box-sizing:border-box}
.pce-preview-dialog{width:min(100%,854px);margin:0 auto;background:#e5e9ee;border-radius:12px;box-shadow:0 14px 64px rgba(0,0,0,.32);overflow:hidden}
.pce-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 20px;background:#fff;border-bottom:1px solid #d9e0e6}
.pce-preview-toolbar strong{display:block;color:#202c38;font-size:14px;line-height:22px}
.pce-preview-toolbar span{display:block;color:#647382;font-size:11px;line-height:18px}
.pce-preview-close{appearance:none;flex:0 0 auto;padding:8px 20px;border:1px solid #245b78!important;border-radius:7px!important;background:#245b78!important;color:#fff!important;font:600 12px/18px "Noto Sans SC","Microsoft YaHei",sans-serif!important;cursor:pointer}
.pce-preview-close:focus-visible{outline:3px solid #88bedb;outline-offset:3px}
.pce-preview-paper{padding:20px 30px 30px;min-height:200px}
.pce-preview-paper canvas{display:block;width:100%;height:auto;margin:0 auto;background:#fff;box-shadow:0 4px 18px rgba(32,44,56,.12)}
.pce-preview-loading{padding:64px 12px;color:#43576a;text-align:center}
@media(max-width:600px){.pce-preview{padding:10px}.pce-preview-toolbar{padding:12px 14px}.pce-preview-paper{padding:12px}}
@media print{.pce-preview{display:none!important}}
