.ebook-dialog{width:min(1060px,94vw);max-width:1060px;max-height:92vh;padding:0;border:1px solid #accddd;border-radius:12px;color:#09283f;background:#fff;box-shadow:0 18px 75px #06253e44}.ebook-dialog::backdrop{background:#09283f77}.ebook-heading{display:flex;align-items:center;justify-content:space-between;background:#eef8fd;padding:18px 24px;border-bottom:1px solid #bedbe9}.ebook-heading small{font-size:11px;letter-spacing:.12em;font-weight:700;color:#087eaf}.ebook-heading h2{margin:2px 0;font-size:26px}.ebook-close{font-size:26px;border:0;background:transparent}.ebook-setup{padding:4px 24px 20px}.ebook-options{display:grid;grid-template-columns:1.1fr 1.5fr .7fr;gap:14px;margin:18px 0}.ebook-options label{display:grid;gap:6px;font-size:13px;font-weight:600}.ebook-options input,.ebook-options select{box-sizing:border-box;width:100%;height:42px;border:1px solid #adcbdc;border-radius:6px;padding:8px 12px;color:#09283f;background:#fff;font:inherit}.ebook-lesson{display:flex;gap:12px;align-items:center;padding:10px 14px;margin:7px 0;border:1px solid #d0e5ef;border-radius:7px;background:#f2f9fd}.ebook-lesson input{accent-color:#0089bc;width:17px;height:17px}.ebook-lesson span{flex:1}.ebook-lesson strong{font-size:14px}.ebook-lesson small{display:block;color:#547181;font-size:12px;margin-top:3px}.ebook-lesson b{font-size:12px;font-weight:500;color:#547181}.ebook-description{font-size:13px;color:#547181;line-height:1.5}.ebook-actions{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-top:16px}.ebook-actions p,.ebook-actions span{font-size:13px;color:#547181;flex:1}.ebook-actions button{white-space:nowrap}.ebook-preview{padding:0 18px 12px}.ebook-preview iframe{width:100%;height:64vh;border:1px solid #d0e5ef;margin-top:12px;background:#e9eef2}.ebook-save{display:inline-block;background:#0088ba;color:white!important;text-decoration:none;padding:10px 18px;border-radius:6px;font-weight:600}.ebook-fallback{font-size:12px;color:#547181}.ebook-dialog [hidden]{display:none!important}@media(max-width:650px){.ebook-options{grid-template-columns:1fr}.ebook-heading,.ebook-setup{padding-left:15px;padding-right:15px}.ebook-lesson b{max-width:65px}.ebook-actions{flex-wrap:wrap}.ebook-dialog{max-height:95vh}}
