.rg-reader-page{background:#eee;color:#111}.rg-reader-top,.rg-reader{box-sizing:border-box;max-width:1040px;margin:auto;padding:24px clamp(20px,5vw,64px);font-family:Cygre,Arial,sans-serif;font-size:18px;line-height:1.6}.rg-reader h1{font-size:clamp(36px,6vw,64px);line-height:1.1}.rg-reader h2{font-size:clamp(28px,4vw,40px);line-height:1.2}.rg-reader h3{font-size:23px;line-height:1.3}.rg-reader section{padding:24px 0;border-bottom:1px solid #aaa;scroll-margin-top:24px}.rg-reader nav,.rg-reader-actions{display:flex;flex-wrap:wrap;gap:16px}.rg-reader a,.rg-reader-top a,.rg-reader-nav a{color:#354fae;text-decoration:underline}.rg-reader form{max-width:620px}.rg-reader label{display:block;margin:16px 0}.rg-reader input:not([type=checkbox]),.rg-reader select{box-sizing:border-box;width:100%;min-height:44px;font:inherit;padding:10px;border:1px solid #555;border-radius:0;background:#fff;color:#111}.rg-reader input[type=checkbox]{width:20px;height:20px;flex:none;margin-top:5px}.rg-reader .rg-reader-check{display:flex;gap:12px;align-items:flex-start}.rg-reader button{font:700 16px/1.5 Cygre,Arial,sans-serif;padding:12px 20px;border-radius:0;border:1px solid #354fae;background:#354fae;color:white;cursor:pointer;min-height:44px}.rg-reader button:disabled{opacity:.65;cursor:wait}.rg-reader :focus-visible,.rg-reader-nav a:focus-visible{outline:3px solid #354fae;outline-offset:4px}.rg-reader [hidden]{display:none!important}.rg-reader article{padding:16px 0;border-bottom:1px solid #bbb;overflow-wrap:anywhere}.rg-reader fieldset{border:1px solid #999;padding:16px}.rg-reader [role=status]{min-height:1.6em;overflow-wrap:anywhere}.rg-reader-nav{display:flex;justify-content:flex-end;max-width:1440px;margin:auto;padding:8px 24px;font:700 16px/1.5 Cygre,Arial,sans-serif}.rg-reader details{margin-bottom:24px}.rg-reader p{overflow-wrap:anywhere}.rg-reader-dialog{max-width:min(620px,90vw);border:1px solid #777;border-radius:0}.rg-reader-dialog::backdrop{background:#0008}@media(max-width:480px){.rg-reader nav{display:grid;grid-template-columns:1fr 1fr}.rg-reader-actions{flex-direction:column}.rg-reader button{max-width:100%;white-space:normal}}
.rg-reader-page .rg-reader{max-width:1040px;margin-inline:auto}.rg-reader-page .rg-reader-top{max-width:1040px}

/* DES-031: provider-owned email/OTP steps; presentation does not change consent. */
.rg-reader .rg-reader-auth .rg-auth-email{position:relative;width:100%;margin:0 0 18px}
.rg-reader .rg-reader-auth .rg-auth-email>label{display:block;margin:0;font-size:16px;line-height:1.5}
.rg-reader .rg-reader-auth .rg-auth-email input{display:block;margin-top:8px;width:100%;height:auto;min-height:56px;line-height:1.5;padding:12px 16px}
.rg-reader .rg-reader-auth .rg-auth-email:has(.rg-auth-email-submit) input{padding-right:72px}
.rg-reader .rg-reader-auth button.rg-auth-email-submit{position:absolute;right:4px;bottom:4px;top:auto;margin:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:48px;height:48px;min-height:48px;padding:10px;border:0;border-radius:0;color:white;background:#4e6bd4;transform:none}
.rg-auth-email-submit svg{display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8}
.rg-reader .rg-reader-auth .rg-auth-consents{display:grid;gap:12px 28px;margin:0}
.rg-reader .rg-reader-auth label.rg-reader-check{display:grid;grid-template-columns:20px minmax(0,1fr);gap:12px;align-items:start;margin:0;font-size:16px;line-height:1.5;font-weight:400}
.rg-reader .rg-reader-auth .rg-reader-check input{width:20px;height:20px;margin:2px 0 0;padding:0}
.rg-reader .rg-reader-auth .rg-reader-check span{display:block;min-width:0}
.rg-reader .rg-reader-auth .rg-reader-check a{display:inline;margin:0;line-height:inherit}
.rg-reader .rg-reader-auth .rg-auth-recipient{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 20px;margin:0 0 16px}
.rg-reader .rg-reader-auth .rg-auth-recipient p{margin:0;font-size:16px;line-height:1.5;min-width:0;overflow-wrap:anywhere}
.rg-reader .rg-reader-auth .rg-auth-recipient .rg-ui-text{padding:6px 0;margin:0;min-height:36px;font-size:15px;flex:none}
.rg-reader .rg-reader-auth .rg-auth-code-row{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.rg-reader .rg-reader-auth .rg-auth-code-row label{display:block;margin:0;font-size:16px;line-height:1.5;flex:0 1 210px;min-width:0}
.rg-reader .rg-reader-auth .rg-auth-code-row input[name=code]{display:block;margin-top:8px;box-sizing:border-box;width:100%;max-width:none;height:auto;min-height:56px;padding:10px 14px;font:400 26px/1.2 Cygre,Arial,sans-serif;letter-spacing:.24em}
.rg-reader .rg-reader-auth .rg-auth-code-row [data-reader-verify]{margin:0;min-height:56px;font-size:18px!important;padding:12px 18px}
.rg-reader .rg-reader-auth [data-reader-code]>.rg-ui-help{margin:16px 0 12px!important}
.rg-reader .rg-reader-auth .rg-auth-resend{display:flex;align-items:center;flex-wrap:wrap;gap:4px 20px}
.rg-reader .rg-reader-auth .rg-auth-resend .rg-ui-text{font-size:15px;min-height:36px;padding:6px 0;margin:0}
.rg-reader .rg-reader-auth .rg-auth-resend .rg-ui-help{margin:0!important;font-size:14px!important}
.rg-reader .rg-reader-auth [data-reader-auth-status]:not(:empty){margin:12px 0 0;padding:12px 0 0;border-top:1px solid currentColor;font-size:15px;line-height:1.5}
.rg-reader .rg-reader-auth [aria-invalid=true]{border:2px solid #b2341d}
@media(max-width:479px){.rg-reader .rg-reader-auth .rg-auth-code-row label{flex-basis:100%}.rg-reader .rg-reader-auth .rg-auth-code-row input[name=code]{max-width:210px}.rg-reader .rg-reader-auth .rg-auth-code-row [data-reader-verify]{width:100%}.rg-reader .rg-reader-auth .rg-auth-recipient{display:block}}

/* DES-066 refines DES-037: only the active step contributes height.
   Email guidance appears after valid input; OTP support follows a real request. */
.rg-reader .rg-reader-auth.rg-auth-stable .rg-auth-stage{display:grid;grid-template-columns:minmax(0,1fr)}
.rg-reader .rg-reader-auth.rg-auth-stable .rg-auth-stage>.rg-auth-step{grid-area:1/1;min-width:0}
.rg-reader .rg-reader-auth.rg-auth-stable .rg-auth-stage>[hidden]{display:none!important}
.rg-reader .rg-reader-auth.rg-auth-stable .rg-auth-support{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
.rg-reader .rg-reader-auth.rg-auth-stable .rg-auth-support>.rg-ui-help{margin:0!important;font-size:14px!important;line-height:1.5}
.rg-reader .rg-reader-auth.rg-auth-stable .rg-auth-code-field input[name=code]{max-width:none;padding-right:72px;font-size:26px;letter-spacing:.24em}
.rg-reader .rg-reader-auth.rg-auth-stable .rg-auth-recipient{width:100%;max-width:100%;min-width:0;align-items:center;gap:0 16px;margin:0;min-height:36px}
.rg-reader .rg-reader-auth.rg-auth-stable .rg-auth-recipient p{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px;flex:1;min-width:0;font-size:14px}
/* DES-037/040: retain the complete destination; wrapping grows support height. */
.rg-reader .rg-reader-auth.rg-auth-stable [data-reader-recipient]{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere}
.rg-reader .rg-reader-auth.rg-auth-stable [data-reader-countdown]{min-inline-size:10.5em;min-block-size:1.5em;font-variant-numeric:tabular-nums}
.rg-reader .rg-reader-auth.rg-auth-stable .rg-auth-recipient .rg-ui-text{font-size:14px}
.rg-reader .rg-reader-auth.rg-auth-stable [data-reader-auth-status]{display:block!important;box-sizing:border-box;min-height:42px;margin:12px 0 0;padding:0;border:0;font-size:14px;line-height:1.5}
.rg-reader .rg-reader-auth.rg-auth-stable button.rg-auth-email-submit[aria-busy=true] svg{visibility:hidden}
.rg-reader .rg-reader-auth.rg-auth-stable button.rg-auth-email-submit[aria-busy=true]:after{content:'';position:absolute;width:22px;height:22px;border:2px solid #fff6;border-top-color:white;border-radius:50%;animation:rg-auth-wait .75s linear infinite}
@keyframes rg-auth-wait{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.rg-reader .rg-reader-auth.rg-auth-stable button.rg-auth-email-submit[aria-busy=true]:after{animation:none;border-color:white}}
.rg-reader [data-reader-import]{margin:24px 0;padding:20px;border-left:2px solid #5069d7;background:rgba(80,105,215,.06);overflow-wrap:anywhere}
.rg-reader [data-reader-import] p{margin:0 0 14px;font-size:16px;line-height:1.5}
.rg-reader [data-reader-import-details]{padding-left:20px;margin:14px 0 0;display:grid;gap:12px;font-size:15px;line-height:1.5}
.rg-reader [data-reader-import-details]:empty{display:none}
.rg-reader [data-reader-import-status]:empty{display:none}
/* DES-056: hidden invitations occupy no grid space or keyboard/AX targets. */
[data-reader-subscription-promo][hidden]{display:none!important}
@media(max-width:479px){.rg-reader .rg-reader-auth.rg-auth-stable [data-reader-auth-status]{min-height:63px}.rg-reader .rg-reader-auth.rg-auth-stable .rg-auth-recipient{display:flex}.rg-reader .rg-reader-auth.rg-auth-stable .rg-auth-recipient p{flex-basis:100%}}

/* DES-066: no empty live-status reserve; one compact in-place subscription document. */
.rg-reader .rg-reader-auth.rg-auth-stable [data-reader-auth-status]:empty{display:none!important;min-height:0;margin:0;padding:0}
.rg-reader .rg-reader-auth .rg-subscription-terms{margin:8px 0 0;font:14px/1.5 Cygre,Arial,sans-serif}
.rg-reader .rg-subscription-terms summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;font:inherit}
.rg-reader .rg-subscription-document{margin-top:12px;border-top:1px solid currentColor;padding-top:12px;max-width:70ch;overflow-wrap:anywhere}
.rg-reader .rg-subscription-document p{margin:0 0 12px!important;font:inherit!important}
.rg-reader .rg-subscription-document h3{font:700 16px/1.3 Cygre,Arial,sans-serif;margin:20px 0 8px}
