/* Career OS™ V11.12 — Eich Dyn corporate DNA, final high-specificity overrides.
   Brand base #0D2030. Genuine restrained glassmorphism from the approved
   core website (specular highlight + transparent teal gradient + inset light). */
:root{--ed-brand-navy:#0D2030;--ed-brand-teal:#4ebdb8;--ed-brand-orange:#ec9354;--ed-brand-text:#f0f8fa;--ed-brand-border:rgba(175,235,233,.42)}
html{background:#0D2030!important;scroll-behavior:smooth}
body,body.library-page{background:radial-gradient(70% 45% at 50% -10%,rgba(38,124,137,.18),transparent 75%),#0D2030!important;color:var(--ed-brand-text)!important;font-family:Inter,'Inter Variable',Arial,sans-serif!important}
body.library-page :is(h1,h2,h3,h4,h5,h6,div,button,a,span,label,small,p,select,input){font-family:Inter,'Inter Variable',Arial,sans-serif}
body.library-page .library-account-strip{background:#0D2030!important;border-bottom:1px solid rgba(103,186,185,.18)}
body.library-page .core-header-panel{background:linear-gradient(180deg,rgba(33,98,108,.84),rgba(13,44,61,.92) 52%,rgba(13,32,48,.97))!important;border-color:rgba(158,221,216,.28)!important;box-shadow:inset 0 1px rgba(255,255,255,.25),0 18px 52px rgba(0,0,0,.22)!important}
body.library-page .core-footer{background:#0D2030!important;border-top:1px solid rgba(151,211,210,.22)!important}
body.library-page .core-footer-shell{background:transparent!important}
body.library-page .core-footer :is(h2,li,a,span,p){font-family:Inter,'Inter Variable',Arial,sans-serif!important}
.core-orange-mark{width:48px!important;height:50px!important;display:block!important}
.core-orange-mark .core-arrow-artwork{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:screen;filter:drop-shadow(0 0 3px rgba(237,136,56,.25));}
.core-orange-mark i{display:none!important}
.core-brand-name{letter-spacing:.19em!important}
.core-shield,.core-shield img{background:transparent!important;box-shadow:none!important}
/* Every primary control is a specular, pill-shaped teal or amber glass surface. */
body.library-page :is(.shelf3d-read,.shelf3d-request,.shelf3d-listen,.shelf3d-arrow,.audio-book-tab,.audio-track,.audio-book-tab.active,.audio-track.active,.article-actions a,.article-card .read-link,.glass-access-link,.btn,.pill,.reader-dock button,.reader-fab,.reader-toolbar button,.core-search-button,.library-request-form button,.dialog-close,.library-return-fixed,.core-diagnosis-cta),
body.library-page :is(button.btn-teal,button.btn-orange,.premium-glass-orange){
  -webkit-appearance:none!important;appearance:none!important;position:relative;
  border-radius:999px!important;
  border:1px solid rgba(161,238,225,.63)!important;
  border-top:1px solid rgba(243,255,252,.85)!important;
  color:#f5ffff!important;
  background:linear-gradient(180deg,rgba(231,255,250,.42) 0%,rgba(106,211,206,.36) 18%,rgba(31,129,139,.56) 55%,rgba(10,61,77,.91) 100%)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.48),inset 0 -13px 25px rgba(5,34,49,.25),0 12px 27px -11px rgba(2,22,34,.6),0 0 20px rgba(36,191,180,.12)!important;
  -webkit-backdrop-filter:blur(20px) saturate(150%)!important;backdrop-filter:blur(20px) saturate(150%)!important;
  font-family:Inter,'Inter Variable',Arial,sans-serif!important;font-weight:720!important;
  text-decoration:none;transition:background .2s ease,box-shadow .2s ease,transform .2s ease!important;
}
body.library-page :is(.shelf3d-read,.core-diagnosis-cta,.library-request-form button[type="submit"],.premium-glass-orange,button#custom-play){
  color:#102436!important;border-color:rgba(255,219,179,.76)!important;border-top-color:#fff0d8!important;
  background:linear-gradient(180deg,rgba(255,244,216,.94),rgba(250,184,114,.92) 26%,rgba(229,124,68,.96) 63%,rgba(149,74,44,.96))!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.68),inset 0 -12px rgba(119,59,33,.13),0 12px 28px rgba(186,91,37,.23)!important
}
body.library-page :is(.shelf3d-read,.shelf3d-request,.shelf3d-listen,.shelf3d-arrow,.audio-book-tab,.audio-track,.article-actions a,.glass-access-link,.btn,.pill,.reader-dock button,.reader-fab,.core-search-button,.library-request-form button,.premium-glass-orange):hover{
 transform:translateY(-2px);box-shadow:inset 0 2px 0 rgba(255,255,255,.55),0 16px 30px rgba(0,0,0,.27),0 0 23px rgba(70,221,213,.25)!important
}
/* A book is artwork and must not inherit button glass. */
body.library-page :is(.shelf3d-book,.shelf3d-book:hover,.shelf3d-book:focus,.read-zone,.read-zone:hover,.shelf3d-dot){background:transparent!important;box-shadow:none!important;border:0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.library-page .shelf3d-dot.is-current{background:#91f2dd!important}
/* Balanced, larger collections without rendering twenty distant layers. */
#v9-bookshelf .shelf3d-stage,#free-premium-shelf .shelf3d-stage{height:602px!important;min-height:0!important;overflow:hidden!important;contain:layout paint}
body.library-page .shelf3d-book{transition:transform 730ms cubic-bezier(.22,.8,.22,1),opacity 540ms ease,visibility 0s linear 730ms!important;will-change:transform;backface-visibility:hidden;}
body.library-page .shelf3d-book.is-selected{filter:none!important;visibility:visible!important;transition-delay:0s!important}
body.library-page .shelf3d-book[aria-pressed="false"]{filter:none!important}
body.library-page .shelf3d-volume{backface-visibility:hidden;transform-style:preserve-3d}
body.library-page .shelf3d-shell{background:radial-gradient(ellipse at 50% 29%,rgba(30,105,113,.33),rgba(13,32,48,.94) 68%),#0D2030!important}
body.library-page .shelf3d-details{border-color:rgba(146,212,208,.27)!important;background:linear-gradient(180deg,rgba(27,76,91,.66),rgba(13,32,48,.91))!important}
body.library-page .shelf3d-actions{gap:12px!important;align-items:center!important;justify-content:center!important}
body.library-page .shelf3d-actions > *{min-height:43px!important;white-space:normal;padding:11px 18px!important}
body.library-page .shelf3d-heading .shelf3d-instruction{color:#cbe7e9}
body.library-page .shelf3d-book-title{font-family:Inter,Arial,sans-serif!important}
body.library-page .shelf3d-halo{animation:shelf3d-glow 14s ease-in-out infinite alternate;opacity:.63!important}
/* Form confirmation must be immediately visible — no page switch, no scrolling to bottom. */
body.library-page #library-access-dialog{border-radius:24px!important;background:linear-gradient(165deg,#173f50,#0D2030 77%)!important;border:1px solid rgba(136,213,211,.47)!important;max-height:86dvh!important;overflow-y:auto!important}
body.library-page #library-access-dialog .access-success-panel{padding:24px;min-height:215px;margin:8px 0 18px;text-align:center;border:1px solid rgba(144,228,218,.57);border-radius:23px;background:linear-gradient(160deg,rgba(49,156,151,.26),rgba(13,32,48,.96));box-shadow:inset 0 2px rgba(255,255,255,.17),0 15px 40px rgba(0,0,0,.24)}
body.library-page #library-access-dialog .access-success-panel[hidden]{display:none!important}
body.library-page .access-success-title{font-size:clamp(24px,3vw,34px)!important;font-weight:800!important;color:#d3fff6!important;margin:0 0 13px!important}
body.library-page .access-success-copy{font-size:16px;line-height:1.7;color:#f6ffff!important;margin:0 auto 22px!important;max-width:480px}
body.library-page #hs-form-notice{font-weight:700;color:#d7fff4!important;min-height:1em}
body.library-page #library-access-dialog .library-request-form[hidden]{display:none!important}
body.library-page #library-access-dialog .access-dialog-head{padding-right:2px}
/* Keep the Companion return action visible on each long article. */
body.library-page .library-return-fixed{position:fixed!important;top:12px;left:12px;z-index:2000;padding:11px 19px!important;min-height:44px;display:flex!important;align-items:center;justify-content:center;font-size:13px;white-space:nowrap;}
body.library-page .core-header{top:0!important;z-index:110}
body.library-page .reader-dock :is(button,.mode-button){border-radius:999px!important}
body.library-page .reader-fab{border-radius:999px!important}
/* Protect the original article text while highlighting the current paragraph. */
body.library-page .read-zone.is-current{background:rgba(49,184,176,.085)!important;outline:2px solid rgba(56,155,151,.53)!important;box-shadow:0 0 0 3px rgba(9,60,68,.05)!important}
body.library-page .doc p.is-current{background:rgba(106,210,193,.17)!important;box-shadow:inset 4px 0 #419d93!important}
@media(max-width:1000px){#v9-bookshelf .shelf3d-stage,#free-premium-shelf .shelf3d-stage{height:520px!important}.core-header-panel{padding:9px 14px!important}}
@media(max-width:660px){#v9-bookshelf .shelf3d-stage,#free-premium-shelf .shelf3d-stage{height:454px!important}.core-orange-mark{width:43px!important;height:43px!important}.library-return-fixed{top:9px!important;left:9px!important;padding:9px 13px!important;min-height:40px!important;font-size:12px!important}.shelf3d-actions{gap:8px!important}.shelf3d-actions>*{padding:10px 12px!important;font-size:12px!important}}
@media(max-width:420px){#v9-bookshelf .shelf3d-stage,#free-premium-shelf .shelf3d-stage{height:416px!important}.core-header-panel{padding:8px 11px!important}}
@media(prefers-reduced-motion:reduce){.shelf3d-halo{animation:none!important}.shelf3d-book{transition:none!important}}
