.reader-access{display:flex;justify-content:flex-end;align-items:center;gap:18px;padding-top:13px;padding-bottom:0;font-size:13px}.reader-access a{color:var(--accent);text-decoration:none}.reader-access button{border:0;background:transparent;color:var(--link);font:inherit;padding:6px 0}.reader-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:24px 0}.reader-tools button,.reader-resume button,.reader-load-more{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--accent);font:inherit;font-size:14px;line-height:1.5;padding:10px 13px;cursor:pointer;box-shadow:var(--shadow-control)}.reader-tools button svg{width:19px;height:19px;flex:none}.reader-tools button[aria-pressed=true]{background:#fff0e3;border-color:#ffc4a3}.reader-tools button:hover{border-color:#ffc4a3}.reader-progress-label{font-size:12px;color:var(--description);margin-left:auto;white-space:nowrap}.reader-tools.is-compact{margin:14px 0 0;gap:8px}.reader-tools.is-compact button{font-size:14px;padding:7px 10px}.reader-resume{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:16px 20px;border:1px solid #ffc4a3;border-radius:13px;background:#fff8f1;margin-top:20px;color:var(--description);font-size:14px}.reader-resume[hidden],.reader-toast[hidden],.reader-library [hidden]{display:none!important}.reader-scroll-progress{height:3px;background:#e9edf6;margin-top:12px;border-radius:10px;overflow:hidden}.reader-scroll-progress>span{display:block;height:100%;background:linear-gradient(90deg,#ffb576,#ff8237);width:0}.reader-library-heading{display:flex;align-items:center;justify-content:space-between;gap:25px}.reader-library-heading p{color:var(--description);font-size:16px;line-height:1.7}.reader-primary{display:inline-flex;justify-content:center;align-items:center;border:1px solid #ffb579;border-radius:12px;background:linear-gradient(120deg,#ffb46d,#ff8a39);color:var(--accent);padding:14px 20px;font:inherit;font-size:15px;font-weight:600;text-decoration:none;cursor:pointer;box-shadow:var(--shadow-control)}.reader-storage-notice{padding:17px 21px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(120deg,#f1f5ff,#fff9f3);margin:22px 0 28px}.reader-storage-notice>span{font-size:13px;font-weight:600;color:var(--accent)}.reader-storage-notice p{font-size:13px;line-height:1.65;margin:6px 0 0;color:var(--description)}.reader-filters{display:flex;gap:9px;flex-wrap:wrap}.reader-filters button{display:flex;gap:9px;align-items:center;font:inherit;font-size:14px;padding:11px 15px;border:1px solid var(--line);border-radius:11px;background:white;color:var(--accent)}.reader-filters button[aria-pressed=true]{background:#fff0e3;border-color:#ffb579}.reader-filters button span{font-size:11px;color:var(--description);background:#f1f4fa;padding:3px 6px;border-radius:6px}.reader-library-search{display:block;margin:24px 0 12px;max-width:640px;font-size:13px;color:var(--description)}.reader-library-search span{display:block;margin-bottom:8px}.reader-library-search input{width:100%;font:inherit;font-size:16px;padding:15px 17px;border:1px solid var(--line);border-radius:12px;background:#f7f9fd;color:var(--accent)}.reader-results-status{font-size:13px;color:var(--description);min-height:20px}.reader-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0 30px}.reader-library-card{min-width:0;border:1px solid var(--line);border-radius:18px;padding:24px;background:linear-gradient(135deg,#f6f8ff,#fff,#fff9f3);box-shadow:var(--shadow-card);display:flex;flex-direction:column}.reader-library-card h2{font-size:21px;line-height:1.4;margin:12px 0 15px;letter-spacing:-.3px}.reader-library-card h2 a{color:var(--accent);text-decoration:none;overflow-wrap:anywhere}.reader-library-card h2 a:hover{color:var(--link)}.reader-card-meta{font-size:12px;color:var(--description);line-height:1.6}.reader-card-progress{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--description);margin-top:auto}.reader-card-progress progress{width:100%;height:6px;accent-color:#ff9d57}.reader-card-note{font-size:14px;line-height:1.7;color:var(--description);white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 0;border-top:1px solid var(--line);margin:10px 0 14px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.reader-library-card .reader-tools{margin:16px 0 0}.reader-card-open{font-size:14px;color:var(--link);margin-top:16px}.reader-empty{text-align:center;padding:46px 22px;border:1px dashed #ccd6e7;border-radius:18px;margin:24px 0 45px}.reader-empty h2{font-size:25px}.reader-empty p{color:var(--description);font-size:16px;line-height:1.7}.reader-dialog{border:1px solid #ffffffb3;background:#ffffffed;backdrop-filter:blur(24px);color:var(--accent);border-radius:22px;padding:0;width:min(620px,calc(100% - 28px));max-height:90dvh;box-shadow:0 28px 100px #0b1b4659;overflow:auto}.reader-dialog::backdrop{background:#13234457;backdrop-filter:blur(8px)}.reader-window-bar{display:flex;align-items:center;justify-content:space-between;padding:13px 20px;background:#f5f7fc;border-bottom:1px solid var(--line);font-size:13px;color:var(--description)}.reader-window-bar button{display:flex;align-items:center;gap:9px;padding:6px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--description);font:inherit}.reader-window-bar svg{width:17px;height:17px}.reader-dialog form,.reader-dialog-body{padding:24px 28px}.reader-dialog h2{font-size:27px;line-height:1.3;margin:0 0 16px}.reader-dialog p{font-size:14px;line-height:1.7;color:var(--description);overflow-wrap:anywhere}.reader-dialog label{display:block;font-size:14px;margin:18px 0 8px}.reader-dialog textarea{width:100%;resize:vertical;min-height:150px;max-height:45dvh;font:inherit;font-size:16px;line-height:1.7;padding:15px;border:1px solid var(--line);border-radius:12px;background:#f5f7fc;color:var(--accent)}.reader-note-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:16px 0}.reader-note-bottom>span{font-size:12px;color:var(--description)}.reader-dialog .reader-local-hint{font-size:12px;color:var(--description)}.reader-providers{display:grid;gap:12px;margin:22px 0}.reader-providers button{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:15px;background:white;color:var(--accent);font:inherit;font-size:16px;text-align:left;opacity:1;cursor:not-allowed}.provider-monogram{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#f0f4fc;font-size:15px}.reader-providers small{margin-left:auto;color:var(--description);font-size:12px}.reader-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);z-index:99999;background:#112864;color:white;padding:13px 19px;border-radius:12px;box-shadow:var(--shadow-card);font-size:14px;line-height:1.5}.reader-library button:focus-visible,.reader-tools button:focus-visible,.reader-dialog button:focus-visible,.reader-access a:focus-visible,.reader-access button:focus-visible{outline:2px solid var(--link);outline-offset:3px}.reader-dialog[open]{animation:reader-dialog-in .25s ease-out}@keyframes reader-dialog-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(max-width:800px){.reader-library-heading{align-items:flex-start;flex-direction:column;gap:4px}.reader-library-grid{grid-template-columns:1fr}.reader-library-heading>.reader-primary{margin:10px 0}.reader-filters button{font-size:13px;padding:10px 12px}.reader-library-card{padding:20px}.reader-progress-label{margin-left:0}.reader-resume{flex-wrap:wrap}.reader-dialog form,.reader-dialog-body{padding:22px}.reader-dialog h2{font-size:24px}.reader-note-bottom .reader-primary{font-size:14px;padding:12px}.reader-tools button{font-size:13px}.reader-access{padding-top:10px}}@media(prefers-reduced-motion:reduce){.reader-dialog[open]{animation:none}}

.reader-card-progress progress{appearance:none;-webkit-appearance:none;border:0;border-radius:8px;overflow:hidden;background:#e8edf7}.reader-card-progress progress::-webkit-progress-bar{background:#e8edf7;border-radius:8px}.reader-card-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#ffb576,#ff8237);border-radius:8px}.reader-card-progress progress::-moz-progress-bar{background:linear-gradient(90deg,#ffb576,#ff8237);border-radius:8px}

/* One compact account control at the far right of the shared header. */
.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.header-reader-login{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:11px 14px;border:1px solid #cbd5e8;border-radius:10px;background:#f7f9fd;color:var(--accent);font:inherit;font-size:16px;line-height:1.3;white-space:nowrap;box-shadow:var(--shadow-control);cursor:pointer}.header-reader-login svg{width:19px;height:19px;flex-shrink:0}.header-reader-login:hover{background:#edf2fc;border-color:#aebfdc}.header-reader-login:focus-visible,.reader-hub a:focus-visible{outline:2px solid var(--link);outline-offset:3px}.header-inner .brand-group.is-horizontal>.horizontal-brand{flex-shrink:1}
.reader-hub{min-width:0;align-self:start;border:1px solid #dce4f1;border-radius:15px;padding:24px 25px;background:linear-gradient(140deg,#f1f5ff,#fff 65%,#fff7ef);box-shadow:var(--shadow-card)}.reader-hub-heading{display:flex;align-items:center;gap:11px;margin-bottom:16px}.reader-hub-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid #dbe4f4;border-radius:11px;background:#edf2fb;color:#43679d}.reader-hub-icon svg{width:22px;height:22px}.reader-hub-eyebrow{font-size:13px;line-height:1.5;font-weight:500;color:var(--description)}.reader-hub h2{font-size:23px;line-height:1.35;letter-spacing:-.4px;margin:0 0 12px;font-weight:600}.reader-hub-description{font-size:15px;line-height:1.7;color:var(--description);margin:0 0 20px}.reader-hub-primary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;border:1px solid #274982;border-radius:11px;background:linear-gradient(120deg,#355c98,#112864);color:white;font-size:15px;font-weight:500;line-height:1.5;text-decoration:none;box-shadow:var(--shadow-control)}.reader-hub-primary:hover{color:white;background:linear-gradient(120deg,#416da8,#1b3978)}.reader-hub-all{display:inline-block;font-size:13px;line-height:1.6;color:var(--link);margin-top:13px;text-underline-offset:3px}.reader-hub-resume{margin:0 0 18px;padding-top:14px;border-top:1px solid var(--line)}.reader-hub-article{font-size:15px;line-height:1.6;color:var(--accent);margin:0 0 12px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.reader-hub-progress{display:flex;align-items:center;gap:12px;color:var(--description);font-size:12px}.reader-hub-progress progress{appearance:none;-webkit-appearance:none;width:100%;height:5px;border:0;border-radius:8px;overflow:hidden;background:#e8edf7}.reader-hub-progress progress::-webkit-progress-bar{background:#e8edf7;border-radius:8px}.reader-hub-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#ffb576,#ff8237);border-radius:8px}.reader-hub-progress progress::-moz-progress-bar{background:linear-gradient(90deg,#ffb576,#ff8237);border-radius:8px}.reader-hub [hidden]{display:none!important}
/* Grid areas place the same DOM card in the right column, or first on phones. */
.reader-home{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);grid-template-areas:"intro intro" "answers hub" "answers sidebar" "support support";grid-template-rows:auto auto 1fr auto;gap:28px 46px;align-items:start}.reader-home>.founder-intro{grid-area:intro;margin-bottom:16px}.reader-home>.reader-hub{grid-area:hub}.reader-home>.helpdesk-grid{display:contents}.reader-home .answers-column{grid-area:answers}.reader-home .helpdesk-sidebar{grid-area:sidebar}.reader-home>.support-compact{grid-area:support;margin-top:2px}.reader-catalogue-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:46px;align-items:start}.reader-catalogue-layout>.reader-hub{grid-column:2;grid-row:1;position:sticky;top:24px}.reader-catalogue-layout>.page-articles-list{grid-column:1;grid-row:1;max-width:none;margin-bottom:5px}
@media(min-width:1151px) and (max-width:1400px){.header-inner{gap:18px}.header-inner .horizontal-brand{width:280px}.header-menu{gap:18px}}
@media(max-width:1050px){.reader-home,.reader-catalogue-layout{column-gap:28px;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}}
@media(max-width:800px){.reader-home{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:"hub" "intro" "answers" "sidebar" "support";row-gap:28px}.reader-home>.founder-intro{margin-bottom:0}.reader-home>.support-compact{margin-top:0}.reader-catalogue-layout{grid-template-columns:minmax(0,1fr);gap:28px}.reader-catalogue-layout>.reader-hub{grid-column:1;grid-row:1;position:static}.reader-catalogue-layout>.page-articles-list{grid-column:1;grid-row:2}.reader-hub{padding:17px 20px}.reader-hub-heading{display:none}.reader-hub h2{font-size:19px;line-height:1.4;margin-bottom:10px}.reader-hub-description{display:none}.reader-hub.is-resumable h2{display:none}.reader-hub-resume{padding-top:0;border:0;margin-bottom:12px}.reader-hub-article{font-size:14px;margin-bottom:8px;-webkit-line-clamp:2}.reader-hub-primary{font-size:14px;padding:11px 14px}.reader-hub-all{margin-top:10px}}
@media(max-width:600px){.header-actions{width:100%;justify-content:space-between;gap:12px}.header-actions .header-cta{margin:0;font-size:14px;min-height:44px;padding:10px 13px}.header-reader-login{min-height:44px;font-size:14px;padding:10px 13px}.header-inner:has(.header-actions)>.header-nav{padding-top:3px}}
/* A returning reader sees the article instead of the introductory copy. */
.reader-hub.is-resumable h2,.reader-hub.is-resumable .reader-hub-description{display:none}
.reader-window-bar{gap:12px}.reader-window-title{display:flex;align-items:center;gap:8px;min-width:0;line-height:1.4}.reader-window-title>svg{width:17px;height:17px;flex-shrink:0;color:#718bb7}.reader-window-title>span{min-width:0}.reader-window-bar>button{flex-shrink:0}
/* Guest continuation is compact and centered; title receives initial focus. */
.reader-login .reader-dialog-body>h2,.reader-login .reader-dialog-body>p{text-align:left}
.reader-login .reader-dialog-body>.reader-primary{display:flex;width:fit-content;max-width:100%;min-height:48px;margin-inline:auto;justify-content:center;text-align:center;padding:12px 18px;border:1px solid #f0938a;border-radius:12px;background:linear-gradient(120deg,#ffaaa0,#f07872);color:var(--accent);font-size:15px;font-weight:600;line-height:1.5}
.reader-login .reader-dialog-body>.reader-primary:hover{background:linear-gradient(120deg,#ffa096,#ed716c)}

/* A visible reading position, independent of saved progress, follows the article. */
body{--reader-admin-offset:0px}body.admin-bar{--reader-admin-offset:32px}
.reader-reading-status{position:sticky;top:calc(var(--reader-admin-offset) + 12px);z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px 19px;margin-top:24px;border:1px solid #dce4f1;border-radius:13px;background:linear-gradient(120deg,#f8fafff5,#fff8f2f5);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:var(--shadow-control);color:var(--description);font-size:14px;line-height:1.5;overflow:hidden}
.reader-reading-time{display:flex;align-items:center;gap:10px;min-width:0}.reader-reading-time svg{width:22px;height:22px;flex-shrink:0;color:#718bb7}.reader-reading-time strong{display:inline-block;margin-left:10px;color:var(--accent);white-space:nowrap;font-weight:600}
.reader-reading-position{display:flex;align-items:center;gap:12px;white-space:nowrap}.reader-reading-position strong{min-width:4ch;text-align:right;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--accent)}
.reader-reading-status progress{appearance:none;-webkit-appearance:none;position:absolute;left:0;bottom:0;width:100%;height:4px;border:0;background:#e8edf7}.reader-reading-status progress::-webkit-progress-bar{background:#e8edf7}.reader-reading-status progress::-webkit-progress-value{background:linear-gradient(90deg,#ffb576,#ff8237)}.reader-reading-status progress::-moz-progress-bar{background:linear-gradient(90deg,#ffb576,#ff8237)}
.reader-reading-status~.reading-layout .reading-toc,.reader-reading-status~.reading-layout>.latest-updates{top:calc(var(--reader-admin-offset) + 94px);max-height:calc(100dvh - var(--reader-admin-offset) - 110px)}
.reader-reading-status~.reading-layout .article h2,.reader-reading-status~.reading-layout .article h3{scroll-margin-top:calc(var(--reader-admin-offset) + 104px)}
@media(max-width:782px){body.admin-bar{--reader-admin-offset:46px}}
@media(max-width:600px){.reader-reading-status{padding:12px 14px 16px;gap:12px;font-size:12px}.reader-reading-time{gap:7px}.reader-reading-time svg{width:19px;height:19px}.reader-reading-time strong{display:block;margin-left:0;font-size:14px}.reader-reading-position{gap:8px}.reader-reading-position>span{max-width:9ch;white-space:normal;line-height:1.3}.reader-reading-position strong{font-size:16px}}

/* Bookmark state is shared by article controls and library cards. */
[data-reader-action="bookmark"] svg{fill:transparent;transition:fill .62s ease,color .5s ease}
[data-reader-action="bookmark"][aria-pressed="true"] svg{fill:currentColor}

/* Shared article identity in the sharing and personal note windows. */
#reader-share .reader-share-article,#reader-note .reader-share-article{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #dce4f1;border-radius:12px;background:#f0f5fd;color:var(--accent);font-size:15px;font-weight:600;line-height:1.6}
.reader-share-article-icon{display:grid;place-items:center;flex:none;width:32px;height:36px;color:#5073a3}.reader-share-article-icon svg{display:block;width:26px;height:26px}.reader-share-article>span:last-child{min-width:0;overflow-wrap:anywhere}
#reader-note .reader-primary{min-height:52px;border-color:#a5d5a6;background:linear-gradient(125deg,#c8edaa,#93d99c);color:#173e2b;line-height:1.5}
#reader-note .reader-primary:hover{background:linear-gradient(125deg,#bce59e,#86d192)}
#reader-note .reader-note-confirmation{display:flex;align-items:center;justify-content:center;gap:7px;margin:14px 0;text-align:center;color:#234c37;font-weight:600;animation:reader-note-confirm .18s ease-out}
#reader-note .reader-note-confirmation[hidden]{display:none}
.reader-note-confirmation svg{width:20px;height:20px;flex:none}
#reader-note .reader-note-confirmation.is-error{color:#a83838}
.reader-note-confirmation.is-error svg{display:none}
@keyframes reader-note-confirm{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#reader-note .reader-note-confirmation{animation:none}}

/* Separate saved-note deletion from saving an empty draft. */
.reader-note-actions{display:flex;align-items:center;gap:10px}
.reader-delete{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 20px;border:1px solid #f0938a;border-radius:12px;background:linear-gradient(120deg,#ffaaa0,#f07872);color:#70252a;font:inherit;font-size:15px;font-weight:600;line-height:1.5;cursor:pointer;box-shadow:var(--shadow-control)}
.reader-delete:hover{background:linear-gradient(120deg,#ffa096,#ed716c)}
.reader-delete[hidden]{display:none!important}
#reader-note .reader-primary:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:600px){.reader-note-bottom{flex-wrap:wrap}.reader-note-actions{width:100%;display:grid;grid-template-columns:1fr}.reader-note-actions .reader-primary{order:0}.reader-note-actions .reader-delete{order:1;width:100%;font-size:14px;padding:12px}}

/* A completed article has the same green success palette throughout the site. */
.reader-tools button[data-reader-action="read"][aria-pressed="true"]{background:linear-gradient(125deg,#c8edaa,#93d99c);border-color:#a5d5a6;color:#173e2b}
.reader-tools button[data-reader-action="read"][aria-pressed="true"]:hover{background:linear-gradient(125deg,#bce59e,#86d192);border-color:#93c996}

/* SVG hands pivot around the existing clock centre; no independent timer. */
.reader-clock-hand{transform-box:view-box;transform-origin:50% 50%}

/* Both hub actions use one compact button centered inside the card. */
.reader-hub-primary{width:fit-content;max-width:100%;min-height:44px;margin-inline:auto;padding:10px 18px;justify-content:center;text-align:center;font-size:14px}
.reader-hub-primary>span:first-child{min-width:0;overflow-wrap:anywhere}
.reader-hub-primary>span:last-child{flex:none}

/* Smooth saved/read states: fade a gradient layer rather than switch backgrounds. */
.reader-tools button[data-reader-action]{position:relative;isolation:isolate;transition:border-color .4s ease,color .4s ease,background-color .4s ease,box-shadow .4s ease,transform .22s ease}
.reader-tools button[data-reader-action]:active{transform:scale(.98)}
.reader-tools button[data-reader-action="read"],.reader-tools button[data-reader-action="read"][aria-pressed="true"],.reader-tools button[data-reader-action="read"][aria-pressed="true"]:hover{background:#fff}
.reader-tools button[data-reader-action="read"]::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(125deg,#c8edaa,#93d99c);opacity:0;transition:opacity .46s ease;pointer-events:none;z-index:-1}
.reader-tools button[data-reader-action="read"][aria-pressed="true"]::before{opacity:1}
@media(prefers-reduced-motion:reduce){.reader-tools button[data-reader-action],.reader-tools button[data-reader-action="read"]::before,[data-reader-action="bookmark"] svg{transition:none}.reader-tools button[data-reader-action]:active{transform:none}}


/* Both labels reserve the same footprint in either state; never animate button size. */
.reader-tool-caption{display:grid;min-width:0}
.reader-tool-caption>.reader-tool-label,.reader-tool-caption>.reader-tool-measure{grid-area:1/1;align-self:center}
.reader-tool-caption>.reader-tool-measure{visibility:hidden;pointer-events:none}
.reader-tools button[data-reader-action="read"]{display:inline-grid;grid-template-columns:minmax(0,1fr)}
.reader-read-content,.reader-read-measure{grid-area:1/1;display:flex;align-items:center;justify-content:inherit;gap:inherit;min-width:0}
.reader-read-measure{visibility:hidden;pointer-events:none}
.reader-tools button[data-reader-action="read"][aria-pressed="true"]>.reader-read-content{justify-content:center;text-align:center}
.reader-tools button[data-reader-action]:active{transform:none;box-shadow:inset 0 2px 5px #11286418}

/* Article identity/library entry belongs beneath updates in the right rail. */
.journal-sidebar{display:grid;gap:18px;align-content:start;min-width:0}
.reader-identity-card{min-width:0;padding:20px;border:1px solid var(--line);border-top:3px solid #829ac9;border-radius:15px;background:linear-gradient(145deg,#f6f8ff,#fff 65%,#fff6f0);box-shadow:var(--shadow-card);color:var(--accent)}
.reader-identity-card h2{margin:0 0 14px;text-align:center;font-family:Golos,Arial,Helvetica,sans-serif;font-size:17px;font-weight:600;line-height:1.4;letter-spacing:-.5px}
.reader-identity-card p{margin:0 0 14px;font-size:13px;line-height:1.65;color:var(--description)}
.reader-identity-card a{color:var(--link);text-underline-offset:3px;overflow-wrap:anywhere}
.reader-identity-benefits{display:grid;gap:7px;margin:0 0 16px;padding:0;list-style:none;font-size:13px;line-height:1.5;color:var(--description)}
.reader-identity-benefits li{position:relative;margin:0;padding-left:12px}
.reader-identity-benefits li::before{content:"";position:absolute;left:0;top:.6em;width:4px;height:4px;border-radius:50%;background:#829ac9}
.reader-identity-card .reader-identity-login{display:flex;width:100%;min-height:44px;margin:0 0 12px;padding:10px 12px;text-align:center;font-size:14px;line-height:1.5}
.reader-identity-card .reader-identity-hint{font-size:11px;line-height:1.6;color:var(--muted);margin-bottom:14px}
.reader-identity-library{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;line-height:1.5;text-align:center}
.reader-identity-card :is(a,button):focus-visible{outline:2px solid var(--link);outline-offset:3px}
.reading-right-sidebar>.latest-updates{position:relative;top:auto;padding:44px 20px 20px}
.reader-catalogue-layout>.reader-catalogue-sidebar{grid-column:2;grid-row:1}
.reader-catalogue-sidebar>.reader-hub{position:static}
@media(min-width:801px) and (max-width:1050px){.reading-layout>.reading-right-sidebar{grid-column:2;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.reading-layout>.article{grid-column:2;grid-row:2}.reading-layout>.reading-sidebar{grid-column:1;grid-row:1 / span 2}.reading-layout.without-toc>.reading-right-sidebar,.reading-layout.without-toc>.article{grid-column:1}}
@media(max-width:800px){.reading-layout>.reading-right-sidebar{grid-column:1;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.reading-layout>.reading-sidebar{grid-column:1;grid-row:2}.reading-layout>.article{grid-column:1;grid-row:3}.reader-catalogue-layout>.reader-catalogue-sidebar{grid-column:1;grid-row:1}.archive-grid>.journal-sidebar{grid-row:1}}
@media(max-width:500px){.reading-layout>.reading-right-sidebar{grid-template-columns:minmax(0,1fr)}.reader-identity-card{padding:18px 20px}}

.reader-login #reader-login-title:focus{outline:none}

/* Identity options use the common glass motion and button feedback. */
.reader-login .reader-login-intro{margin:0 0 20px;color:var(--description);font-size:15px;line-height:1.6}
.reader-provider-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px;border:1px solid var(--line);border-radius:12px;background:#edf2fa;margin-bottom:16px}
.reader-provider-tabs button{min-width:0;min-height:44px;border:1px solid transparent;border-radius:8px;padding:9px 8px;background:transparent;color:var(--description);font:inherit;font-size:14px;font-weight:600;line-height:1.4;white-space:nowrap}
.reader-provider-tabs button[aria-selected=true]{color:var(--accent)}
.reader-provider-tabs button:not([aria-selected=true]):hover{color:var(--accent)}
.reader-provider-panel{padding:18px;border:1px solid var(--line);border-radius:13px;background:#ffffffb3}
.reader-provider-panel[hidden]{display:none!important}
.reader-login .reader-provider-panel h3{margin:0 0 10px;color:var(--accent);font-size:19px;font-weight:600;line-height:1.4}
.reader-login .reader-provider-panel p{margin:0 0 18px;color:var(--description);font-size:14px;line-height:1.65}
.reader-provider-action{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:12px 14px;border:1px solid #d5dfef;border-radius:10px;background:#f2f5fc;color:var(--accent);font:inherit;font-size:14px;font-weight:600;line-height:1.5;opacity:1}
.reader-provider-action small{flex:none;font-size:12px;font-weight:500;color:var(--description)}
.reader-provider-panel:focus-visible{outline:2px solid var(--link);outline-offset:3px}
@media(max-width:600px){.reader-provider-tabs button{font-size:13px;padding-inline:4px}.reader-provider-panel{padding:15px}.reader-login .reader-provider-panel h3{font-size:18px}}

.reader-provider-action-label{display:flex;align-items:center;gap:10px;min-width:0;text-align:left}
.reader-provider-logo{display:block;width:28px;height:28px;flex:none}
.reader-provider-action.is-yandex{background:#141414;border-color:#141414;color:#fff}
.reader-provider-action.is-vk{background:#0077ff;border-color:#0077ff;color:#fff}
.reader-provider-action.is-telegram{background:#2aabee;border-color:#2aabee;color:#fff}
.reader-provider-action.is-telegram .reader-provider-logo circle{fill:#fff}
.reader-provider-action.is-telegram .reader-provider-logo path{fill:#2aabee}
.reader-provider-action small{color:#ffffffd9}
.reader-login .reader-provider-panel .reader-provider-access-hint{margin:0 0 18px;padding:10px 12px;border:1px solid #f4c8a8;border-radius:9px;background:#fff9f3;font-size:12px;line-height:1.6;color:var(--muted)}
@media(max-width:600px){.reader-provider-action{padding:11px 12px;gap:8px;font-size:13px}.reader-provider-action-label{gap:8px}.reader-provider-logo{width:24px;height:24px}.reader-provider-action small{font-size:11px}}
