/* Scoped to the single-page assignment dialog; the collection editor is unchanged. */
.cf-export-dialog{box-sizing:border-box;width:min(1180px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #d7dfe5;border-radius:18px;background:#f5f7f9;color:#202c38;box-shadow:0 24px 90px #15253535;font:14px/1.55 "Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;overflow:auto}
.cf-export-dialog::backdrop{background:#16233180;backdrop-filter:blur(3px)}
.cf-export-dialog *{box-sizing:border-box}
.cf-export-dialog h2,.cf-export-dialog h3,.cf-export-dialog p{margin:0}
.cf-export-dialog h2{font-size:21px;line-height:1.4;color:#202c38}
.cf-export-dialog h3{font-size:15px;line-height:1.5;color:#202c38}
.cf-export-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 26px;background:#fff;border-bottom:1px solid #dfe5ea}
.cf-export-top p{margin-top:6px;color:#667685;font-size:13px}
.cf-export-body{display:grid;grid-template-columns:minmax(235px,300px) minmax(0,1fr);gap:24px;padding:24px 26px;align-items:start}
.cf-export-help{color:#657685;font-size:12px;margin:8px 0 12px!important}
.cf-export-list{display:grid;gap:8px;max-height:570px;overflow:auto;margin-top:12px;padding:2px 3px 3px 1px;overscroll-behavior:contain}
.cf-export-choice{display:flex;align-items:center;gap:10px;min-height:66px;padding:10px;background:#fff;border:1px solid #dde4ea;border-radius:10px;cursor:pointer}
.cf-export-choice:has(input:checked){border-color:#245b78;background:#edf4f8}
.cf-export-choice:has(input:disabled:not(:checked)){opacity:.58;cursor:default}
.cf-export-choice input{width:18px;height:18px;margin:0;flex:0 0 auto;accent-color:#245b78}
.cf-export-choice img{width:44px;height:44px;object-fit:contain;background:#f0f3f5;border-radius:5px;flex:0 0 auto}
.cf-export-choice-text{min-width:0;display:grid;gap:4px;overflow-wrap:anywhere}
.cf-export-choice-text strong{font-size:12px;line-height:1.5;font-weight:600}
.cf-export-choice-text small{color:#667685;font-size:11px}
.cf-export-preview{min-width:0}
.cf-export-preview-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.cf-export-paper{width:100%;min-height:280px;overflow:auto;background:#e5eaf0;border-radius:8px;padding:12px;overscroll-behavior:contain}
.cf-export-paper canvas{display:block;width:100%;height:auto;margin:auto;background:white;box-shadow:0 2px 12px #202c3818}
.cf-export-paper.is-enlarged{max-height:75dvh}
.cf-export-paper.is-enlarged canvas{width:794px;max-width:none;margin:0}
.cf-export-empty{padding:90px 22px;text-align:center;color:#657685;font-size:13px}
.cf-export-bottom{position:sticky;bottom:0;padding:16px 26px 20px;background:#fffffffa;border-top:1px solid #dfe5ea;z-index:2}
.cf-export-status{font-size:12px;color:#526775;margin-bottom:12px!important;overflow-wrap:anywhere}
.cf-export-status.is-error{color:#a3352f}
.cf-export-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.cf-export-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border:1px solid #c7d4de;border-radius:9px;background:#fff;color:#274859;font-family:inherit;font-weight:600;font-size:13px;line-height:1.4;white-space:normal;cursor:pointer}
.cf-export-button.is-primary{background:#245b78;color:#fff;border-color:#245b78}
.cf-export-button:disabled{opacity:.46;cursor:default}
.cf-export-dialog :is(button,input):focus-visible{outline:3px solid #eeae40;outline-offset:3px}
@media(max-width:680px){
 .cf-export-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:13px}
 .cf-export-top{padding:17px 15px;gap:12px}.cf-export-dialog h2{font-size:18px}.cf-export-top p{font-size:12px}
 .cf-export-body{grid-template-columns:minmax(0,1fr);padding:16px 15px;gap:22px}
 .cf-export-list{max-height:230px;grid-template-columns:minmax(0,1fr)}
 .cf-export-choice{min-height:60px}.cf-export-choice-text strong{font-size:13px}
 .cf-export-bottom{padding:12px 15px 15px}.cf-export-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .cf-export-actions [data-cfe="preview"]{grid-column:1/-1}
 .cf-export-button{min-height:44px;padding:9px 10px;font-size:12px}.cf-export-paper{padding:7px}
}
