.reader-dialog{box-sizing:border-box;width:min(720px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #dfe4ec;border-radius:16px;background:#fff;color:#17253e;box-shadow:0 24px 90px #14213d33;font:15px/1.55 "Avenir Next","Segoe UI",system-ui,sans-serif;color-scheme:only light}
.reader-dialog::backdrop{background:#101a2e80}.reader-dialog[open]{display:flex;flex-direction:column}.reader-dialog__header{display:flex;flex:none;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid #e4e8ee;padding:24px 28px;background:#f8f9fb}.reader-dialog__header h2{margin:4px 0 0;font:700 24px/1.25 "Avenir Next","Segoe UI",system-ui,sans-serif;letter-spacing:-.025em}.reader-dialog__label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:#66758a}.reader-dialog__close{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #dfe4ec;border-radius:50%;background:#fff;color:#17253e;font:26px/1 system-ui;cursor:pointer}.reader-dialog__body{min-height:0;overflow:auto;padding:24px 28px}.reader-dialog__body>p:first-child{margin-top:0}.reader-dialog__body form{display:grid;gap:12px}.reader-dialog__body :is(input:not([type=hidden]),textarea,select){box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #b8c4d3;border-radius:8px;background:#fff;color:#17253e;font:inherit}.reader-dialog__body label{font-weight:600}.reader-dialog__body textarea{resize:vertical;min-height:140px}.reader-dialog__body button[type=submit]{min-height:46px;padding:12px 20px;border:1px solid #e4bf38;border-radius:8px;background:#ffdc73;color:#17253e;font:600 14px system-ui;cursor:pointer}.reader-dialog__body small{color:#65738a;font-size:12px}.reader-dialog__frame{display:block;width:100%;height:490px;max-height:60dvh;border:0;background:#fff}.reader-dialog__footer{margin:14px 0 0;color:#65738a;font-size:12px}.reader-dialog :focus-visible{outline:2px solid #245b99;outline-offset:3px}html.has-reader-dialog,html.has-reader-dialog body{overflow:hidden}
.reader-term__number{display:inline;padding:0 2px;border:0;background:transparent;color:#2467ad;font:700 .7em/1 "Avenir Next","Segoe UI",system-ui,sans-serif;vertical-align:super;cursor:help}.reader-term__number:focus-visible{outline:2px solid #2467ad;outline-offset:3px}.reader-term__note{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:min(300px,calc(100vw - 32px));padding:16px 18px;border:1px solid #dce4ed;border-radius:10px;background:#fff;color:#17253e;box-shadow:0 10px 40px #17253e26;font:14px/1.55 "Avenir Next","Segoe UI",system-ui,sans-serif}.reader-term__note strong{display:block;margin-bottom:5px;font-size:14px}.reader-term__note span{display:block}
@media(max-width:600px){.reader-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:12px}.reader-dialog__header{padding:20px}.reader-dialog__header h2{font-size:21px}.reader-dialog__body{padding:20px}.reader-dialog__body :is(input,textarea,select){font-size:16px}.reader-dialog__frame{height:65dvh;max-height:none}}
