.cover-print-pages{--cp-scale:.6;flex-direction:column;align-items:center;gap:1.2rem;display:flex}.cover-print-controls{flex-wrap:wrap;align-items:center;gap:.6rem;max-width:72rem;margin:0 auto 1.5rem;display:flex}.cover-print-empty{text-align:center;color:var(--muted-foreground,#888);margin:2rem 0}.cover-print-sheet{justify-content:center;align-items:center;gap:calc(12mm * var(--cp-scale));width:calc(297mm * var(--cp-scale));height:calc(210mm * var(--cp-scale));background:#fff;display:flex;box-shadow:0 2px 14px #0003}.cover-print-cover{margin:0;position:relative}.cover-print-frame{width:calc(105mm * var(--cp-scale));height:calc(148mm * var(--cp-scale));position:relative;overflow:hidden}.cover-print-scale{width:105mm;height:148mm;transform:scale(var(--cp-scale));transform-origin:0 0;position:relative}.cover-print-cover figcaption{text-align:center;color:#333;margin-top:1.5mm;font-size:7pt;line-height:1.2}.cover-print-tools{opacity:0;gap:2px;transition:opacity .15s;display:flex;position:absolute;top:4px;right:4px}.cover-print-cover:hover .cover-print-tools,.cover-print-cover:focus-within .cover-print-tools{opacity:1}.cover-print-tools button{color:#111;background:#ffffffeb;border-radius:.3rem;padding:.2rem}.cover-print-history{max-width:72rem;margin:2.5rem auto 0}.cover-print-history h2{margin-bottom:.6rem;font-size:1.1rem;font-weight:600}.cover-print-history>ul{flex-direction:column;gap:1rem;padding:0;list-style:none;display:flex}.cover-print-history>ul>li{border:1px solid var(--border,#ddd);border-radius:.6rem;padding:.7rem .9rem}.cover-print-history-head{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.cover-print-history ol{flex-direction:column;gap:.35rem;margin:.6rem 0 0;padding:0;font-size:.85rem;list-style:none;display:flex}.cover-print-history ol li{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.cover-print-history ol li span{flex:14rem}@media print{.cover-variants{padding:0!important}.cover-print-pages{--cp-scale:1;gap:0;display:block}.cover-print-sheet{box-shadow:none;break-after:page;page-break-after:always;-webkit-print-color-adjust:exact;print-color-adjust:exact}.cover-print-sheet:last-child{break-after:auto;page-break-after:auto}.cover-print-history{display:none}}
.cover-variants{--cv-scale:.5;padding:3rem 1.5rem}.cover-variants-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1.5rem;max-width:72rem;margin:0 auto 2rem;display:flex}.cover-variants-grid-inner{grid-template-columns:repeat(auto-fill, calc(105mm * var(--cv-scale)));justify-content:center;gap:5mm;display:grid}.cover-variant-tile{margin:0}.cover-variant-frame{width:calc(105mm * var(--cv-scale));height:calc(148mm * var(--cv-scale));position:relative;overflow:hidden}.cover-variant-scale{width:105mm;height:148mm;transform:scale(var(--cv-scale));transform-origin:0 0}.cover-variant-tile figcaption{text-align:center;color:var(--muted-foreground,#888);margin-top:1mm;font-size:7pt;line-height:1.2}@media print{html,body{background:#fff!important}.cover-variants{--cv-scale:var(--cv-print-scale,.37);width:297mm;padding:0}.cover-variants-grid-inner{--cv-scale:var(--cv-print-scale,.37);grid-template-columns:repeat(var(--cv-cols,7), calc(105mm * var(--cv-scale)));-webkit-print-color-adjust:exact;print-color-adjust:exact;gap:2.5mm 3mm;background:#fff!important;width:297mm!important;max-width:none!important;margin:0!important;padding:6mm 0!important}.cover-variant-tile figcaption{color:#333;font-size:6pt}}.cover-sheet-controls{flex-wrap:wrap;gap:1.5rem;max-width:72rem;margin:0 auto 2rem;display:flex}.cover-sheet-controls fieldset{border:1px solid var(--border,#ddd);border-radius:.75rem;flex:18rem;padding:.75rem 1rem 1rem}.cover-sheet-controls legend{padding:0 .4rem;font-weight:500}.cover-sheet-controls legend button{color:var(--muted-foreground,#888);margin-left:.6rem;font-size:.8rem;font-weight:400;text-decoration:underline}.cover-sheet-checks{flex-wrap:wrap;gap:.4rem 1.1rem;display:flex}.cover-sheet-checks label,.cover-sheet-num{align-items:center;gap:.4rem;font-size:.9rem;display:inline-flex}.cover-sheet-num{margin:.6rem 1rem 0 0}.cover-sheet-num input{border:1px solid var(--border,#ccc);background:0 0;border-radius:.4rem;width:4rem;padding:.15rem .4rem}.cover-sheet-hint{color:var(--muted-foreground,#888);margin-top:.5rem;font-size:.8rem}
