/* R1113: DataVista EBOOK owner-approved restrained responsive design. Original site artwork only. */
:root{--e13-deep:#00363d;--e13-ink:#083e42;--e13-green:#007a75;--e13-soft:#e3f2ec;--e13-paper:#faf9f5}
body:has(.dv-top),body:has(.reader-main){background:var(--e13-paper)!important;color:var(--e13-ink)}
.dv-top{background:var(--e13-deep)!important;border-bottom:2px solid #11a6a2;position:relative;z-index:90}
.dv-top-inner{max-width:1320px;min-height:65px}
.dv-brand img,.dv-footer-id img,.dv-auth-mark img{background:transparent!important;filter:drop-shadow(0 1px 3px #001b2340)}
.dv-nav a{font-weight:750!important}.dv-nav .current,.dv-nav a:hover{background:#058984!important}
.dv-mobile-menu-button{display:none;align-items:center;justify-content:center;background:transparent;color:#fff;border:1px solid #77c5be;border-radius:9px;height:40px;width:43px;font-size:1.45rem;cursor:pointer}
.dv-mobile-menu[hidden]{display:none}
.dv-mobile-menu{position:absolute;inset-inline:15px;top:100%;z-index:120;background:#044149;border:1px solid #2c7676;border-radius:0 0 13px 13px;padding:10px;box-shadow:0 12px 25px #00282f60}
.dv-mobile-menu a{display:block;color:#fff!important;font-weight:750;text-decoration:none;padding:11px 14px;border-radius:7px}
.dv-mobile-menu a:hover{background:#176669}
.dv-mobile-bottom{display:none}
.dv-home-footer{display:block!important;min-height:158px!important;background:#00343e linear-gradient(0deg,#002a34e0,#003c42ab),url('/ebook/assets/brand/Antique%20Books%20and%20Quill%20by%20Turquoise%20Light.webp') center 60%/cover no-repeat!important;border-top:2px solid #16a6a0!important;padding:16px 0 12px!important}
.dv-footer-flex{padding:13px 0 7px!important;align-items:center!important;gap:20px!important;width:min(1320px,calc(100% - 32px))!important}
.dv-footer-id{background:transparent!important;padding:0!important;border:0!important;gap:10px!important}
.dv-footer-id strong{font-size:.99rem!important;color:white}.dv-footer-id small{display:block;color:#d4f5ef;font-size:.7rem;margin-top:2px}
.dv-home-footer nav{background:transparent!important;padding:0!important;gap:13px!important}.dv-home-footer nav a{font-size:.79rem!important;color:#fff!important}
.dv-footer-credit{max-width:360px;margin:7px auto 0;text-align:center;color:#d9eeeb;font-size:.72rem!important;font-weight:400;background:transparent!important;padding-top:8px;border-top:1px solid #c7f6e630;text-shadow:none}
.dv-footer-credit a{color:#e0fffa!important;text-decoration:underline!important;text-decoration-color:#c1fff780;text-underline-offset:4px}.dv-footer-credit a:hover{color:#8bf4e5!important}
.dv-footer-credit i{margin-inline-start:3px;font-size:.74rem}
.dv-auth-footer{background:#00343e!important;min-height:140px!important;padding:70px 12px 22px!important}
.dv-public-tabs{display:none!important}
.dv-library-hero{min-height:190px!important;border-radius:19px!important;background-color:#dceee9!important;background-image:linear-gradient(270deg,#e3f2eefe 0%,#dfefebef 43%,#d9ebe873 90%),url('/ebook/assets/brand/ebook-hero-clear-r557.webp')!important;background-position:left center!important;background-size:cover!important;border:1px solid #c2dcd6!important;box-shadow:0 6px 23px #003c3b12!important;padding:22px 31px!important;display:flex;align-items:center!important;justify-content:space-between}
.dv-library-hero h1{font-size:clamp(1.7rem,2.8vw,2.35rem)!important;color:#063c40!important;line-height:1.4;font-weight:850!important}
.dv-library-hero p{font-size:.94rem!important;color:#245453!important}.dv-library-eyebrow{font-size:.8rem!important;color:#0c5b56!important;font-weight:850!important}
.dv-live-counter{border-radius:15px!important;background:#ffffffec!important;border-color:#d7e8e1!important;min-width:138px!important;padding:13px 15px!important;box-shadow:0 6px 22px #003c3b12!important}
.dv-live-counter strong{font-size:1.45rem!important;font-weight:850!important;color:#058b85!important}.dv-live-counter small{display:block;font-size:.77rem!important;font-weight:800!important;color:#2b5958!important}.dv-live-pulse{display:none!important}
.dv-library-filter{border:1px solid #e1eae6!important;background:#fff!important;box-shadow:0 3px 14px #004e4b0a!important;border-radius:14px!important;padding:12px!important;margin:10px 0 14px!important}
.dv-library-filter #libraryQ{min-height:48px!important;border-radius:11px!important}.dv-library-filter #libraryQ::placeholder{color:#7d9296!important}
.dv-library-filter .dv-main-search-btn{background:#006e69!important;border-color:#006e69!important;border-radius:9px!important;min-height:45px}
.dv-discovery-head{border:0!important}.dv-discovery-head h2{font-size:1.3rem!important;color:#053c3e!important}
.dv-book-card{border:1px solid #e0e9e5!important;border-radius:15px!important;background:#fffefd!important;box-shadow:0 5px 20px #00434611!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important}
.dv-book-card:hover{transform:translateY(-4px)!important;border-color:#9cc6b9!important;box-shadow:0 12px 26px #00434619!important}
.dv-book-card-body{padding:15px!important;min-height:150px!important;gap:12px!important}
.dv-book-cover{width:75px!important;flex-basis:75px!important;height:108px!important;object-fit:contain!important}
.dv-book-title{color:#063b42!important;font-weight:850!important;font-size:.96rem!important}
.dv-book-author,.dv-book-categories,.dv-book-meta span{color:#567372!important;font-size:.76rem!important}
.dv-book-meta-label{font-weight:800;color:#174e52!important}
.dv-book-card-foot{padding:8px 12px!important;min-height:45px!important;gap:8px;justify-content:space-between!important;border-top:1px solid #edf1ef!important}.dv-book-open{color:#006962!important;font-weight:800!important}
.dv-qr-inline{position:relative;flex:0 0 auto;min-width:0}
.dv-qr-inline>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:5px;background:#ecf7f3;color:#006a65;border:1px solid #c2e0d8;border-radius:8px;padding:5px 8px;font-size:.72rem;font-weight:800;min-height:32px}
.dv-qr-inline>summary::-webkit-details-marker{display:none}.dv-qr-inline>summary:hover{background:#d6f0e7}
.dv-qr-inline-panel{display:flex;flex-direction:column;align-items:center;gap:6px;position:absolute;bottom:calc(100% + 7px);inset-inline-end:0;z-index:20;width:134px;max-width:90vw;padding:10px;background:white;border:1px solid #b5d9ce;border-radius:12px;box-shadow:0 10px 26px #003b3e2b}
.dv-qr-inline-panel small{font-size:.64rem;text-align:center;line-height:1.4;color:#315f5d}
.dv-qr-image{display:grid;place-items:center;flex:none;background:#fff;width:98px;height:98px;padding:3px;border:1px solid #e5edeb;border-radius:8px}
.dv-qr-image canvas,.dv-qr-image img{display:block!important;width:90px!important;height:90px!important;object-fit:contain}
.dv-qr-inline:not([open]) .dv-qr-image{display:none}
.dv-book-qr-small{display:flex;align-items:center;justify-content:flex-start;gap:10px;max-width:208px;padding:9px;background:#f6fbf8;border:1px solid #cce4db;border-radius:12px;margin:13px 0 9px}
.dv-qr-label{display:flex;flex-direction:column;gap:3px;font-size:.73rem;color:#00615f}.dv-qr-label strong{font-size:.8rem}.dv-qr-label small{font-size:.69rem;color:#5b7976}
.dv-book-detail{border-radius:19px!important;border:1px solid #e0ebe7!important;background:#fffefd!important;box-shadow:0 5px 23px #003e3e0d!important;gap:22px!important}
.dv-book-detail h1{font-size:clamp(1.5rem,2.3vw,2.1rem)!important;font-weight:850!important;color:#07383d!important;line-height:1.55!important}
.dv-book-detail-author,.dv-book-detail-desc{color:#36575a!important}.dv-book-detail-author .dv-author-profile-link{color:#065c5c!important;font-weight:850!important}
.dv-book-section-heading,.dv-book-detail-desc>div.text-secondary.small:first-child{background:#e5f2ed!important;color:#075653!important;border-radius:9px;padding:10px 12px!important;margin-bottom:11px!important;font-size:.97rem!important;font-weight:850!important;display:flex;align-items:center;gap:8px}
.dv-book-detail-desc p{color:#3f565a!important;line-height:1.85}
.dv-book-detail-actions{gap:10px!important;align-items:center!important;margin-top:16px!important}
.dv-book-detail-actions .btn-primary{background:#006c67!important;border-color:#006c67!important;min-height:47px;padding:10px 18px!important;font-weight:850!important}
.dv-book-detail-actions .dv-book-source-note,.dv-book-detail-actions .btn-outline-secondary{border:0!important;background:transparent!important;box-shadow:none!important;color:#3b7377!important;font-size:.77rem!important;padding:5px 2px!important;text-decoration:underline!important;text-underline-offset:3px}
.dv-author-qr-top{display:flex;justify-content:flex-end;margin:4px 0 10px}.dv-author-qr-top .dv-qr-inline-panel{bottom:auto;top:calc(100% + 5px)}
.ap-main{background:var(--e13-paper)!important}
.ap-hero{border-radius:19px!important;background-image:linear-gradient(270deg,#e3f2eefc,#dff1ebef 50%,#d4e9e877),url('/ebook/assets/brand/ebook-hero-clear-r557.webp')!important;background-size:cover!important;background-position:left center!important;border:1px solid #c3dfd5!important;min-height:165px!important}
.ap-hero h1{color:#073f40!important}
.ap-featured-section{background:linear-gradient(115deg,#004c50,#02333a)!important;border-radius:17px!important;padding:22px!important;border:1px solid #166668!important}
.ap-featured-section .ap-section-title h3,.ap-featured-section .ap-section-title p,.ap-featured-section .ap-section-head a{color:white!important}
.ap-featured{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.ap-featured-author{background:linear-gradient(180deg,#1e6160,#074249)!important;border:1px solid #92c9bb!important;border-radius:14px!important;color:white!important;padding:15px 10px!important;transition:transform .2s ease,box-shadow .2s ease}
.ap-featured-author:hover{transform:translateY(-4px);box-shadow:0 12px 26px #001a2466!important}
.ap-featured-photo,.ap-featured-fallback{width:94px!important;height:94px!important;border:3px solid #b4ddd2!important}
.ap-featured-author strong,.ap-featured-author>span{color:white!important}
.ap-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.ap-author-card{background:#fffefd!important;border:1px solid #dbe9e4!important;border-radius:15px!important;box-shadow:0 5px 18px #003c3e0d!important;transition:transform .2s ease,box-shadow .2s ease!important}
.ap-author-card:hover{transform:translateY(-4px)!important;box-shadow:0 12px 27px #003c3e20!important;border-color:#8bbdaf!important}
.ap-author-name{color:#074447!important}.ap-author-bio-block{background:#f1f8f4!important;border-radius:9px!important}
.ap-author-foot{gap:7px}.ap-author-foot .dv-qr-inline{margin-inline-start:auto}
.reader-main{background:var(--e13-paper)!important}.reader-container{width:min(1180px,calc(100% - 30px))}
.reader-hello{background:linear-gradient(270deg,#e3f2ecfb,#e1f0ebf0 55%,#daede964),url('/ebook/assets/brand/ebook-hero-clear-r557.webp') left center/cover no-repeat!important;min-height:145px!important;border-radius:18px!important}
.reader-section{background:#fffefd!important;border:1px solid #e0ebe7!important;box-shadow:0 5px 18px #0043460b!important}
.reader-section-title h2{color:#08484c!important;font-size:1.17rem!important}
.reader-books{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.reader-book{min-height:128px!important;padding:12px!important}
.reader-author-feature{border-radius:12px!important}.reader-author-thumb{display:flex;gap:8px;align-items:center}
.reader-author-thumb img{width:40px;height:40px;object-fit:cover;border-radius:11px}
.dv-saved-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0;padding:10px;background:#edf7f2;border-radius:10px}
.dv-saved-toolbar button,.dv-saved-toolbar a{display:inline-flex;gap:5px;align-items:center;justify-content:center;min-height:38px;font-size:.77rem;color:#085b5b;background:white;border:1px solid #b7d9cd;border-radius:8px;padding:7px 11px;cursor:pointer;text-decoration:none}
.dv-saved-toolbar button:hover{background:#d9f0e7}.dv-saved-toolbar .dv-saved-main{background:#006d67;color:white;border-color:#006d67}
.dv-saved-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.dv-saved-row{display:flex;align-items:center;gap:8px;padding:9px;background:#fff;border:1px solid #dfebe6;border-radius:11px;min-width:0}
.dv-saved-row label{display:flex;align-items:center;gap:8px;min-width:0;flex:1;cursor:pointer}.dv-saved-row input{width:17px;height:17px;accent-color:#08756e}
.dv-saved-row img{width:42px;height:60px;object-fit:cover;border-radius:5px;flex:none}.dv-saved-row strong{font-size:.76rem;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#133e41}
.dv-saved-row a{color:#036461;font-size:.72rem;text-decoration:none}
.dv-account-grid{gap:16px!important}.dv-info-card{background:#fffefd!important;border:1px solid #dce9e4!important;border-radius:15px!important;box-shadow:0 5px 19px #003a4210!important}
.dv-info-card h2{color:#064749!important;font-weight:850!important}.dv-info-row span{color:#607777!important}
.dv-profile-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 18px}
.dv-profile-tabs a{display:inline-flex;align-items:center;gap:6px;min-height:43px;border:1px solid #b7d9ce;border-radius:10px;background:#eef8f4;padding:9px 13px;color:#065751;text-decoration:none;font-size:.78rem;font-weight:800}
.dv-profile-tabs a:hover{background:#d5eee5}
body:has(.dv-profile-tabs) .dv-auth-heading{max-width:none;text-align:right!important;background:linear-gradient(270deg,#e3f2eef9,#e3f1edec 65%,#eff8f5b0),url('/ebook/assets/brand/ebook-hero-clear-r557.webp') left center/cover;border-radius:17px;padding:26px!important}
body:has(.dv-profile-tabs) .dv-auth-heading h1{color:#073e41!important}
@media(max-width:1000px){.ap-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ap-featured{grid-template-columns:repeat(4,minmax(142px,1fr))!important;overflow-x:auto}.reader-books{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){
 .dv-top-inner{flex-wrap:nowrap!important;min-height:58px!important;padding-block:7px!important;gap:10px!important}
 .dv-brand img{width:42px;height:42px}.dv-brand small{font-size:8px!important}.dv-brand strong{font-size:10px!important}
 .dv-nav{display:none!important}.dv-mobile-menu-button{display:flex!important}.dv-search-icon{margin-inline-start:auto!important}
 .dv-container{width:calc(100% - 24px)!important}
 .dv-mobile-bottom{display:grid;position:fixed;bottom:0;left:0;right:0;grid-template-columns:repeat(4,minmax(0,1fr));z-index:95;min-height:61px;padding:4px 3px max(5px,env(safe-area-inset-bottom));background:#fffefa;border-top:1px solid #cbded7;box-shadow:0 -3px 18px #00323d1d}
 .dv-mobile-bottom a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;color:#1a5255;text-decoration:none;font-size:.65rem;font-weight:750}.dv-mobile-bottom i{font-size:1.23rem}
 .dv-home-footer{margin-bottom:65px!important;min-height:123px!important}.dv-footer-flex{padding:6px 0!important}.dv-footer-id img{width:40px;height:40px}.dv-footer-id strong{font-size:.8rem!important}.dv-home-footer nav a{font-size:.7rem!important}
 .dv-library-hero{min-height:160px!important;flex-direction:row!important;padding:14px!important;gap:8px!important;background-image:linear-gradient(270deg,#e4f2eefd,#e0f0ebef 83%,#deedeab0),url('/ebook/assets/brand/ebook-hero-clear-r557.webp')!important}
 .dv-library-hero h1{font-size:1.35rem!important}.dv-library-hero p{font-size:.77rem!important}.dv-live-counter{padding:8px!important;min-width:99px!important}.dv-live-counter strong{font-size:1.03rem!important}.dv-live-counter small{font-size:.66rem!important}
 .dv-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .dv-book-card-body{min-height:123px!important;padding:10px!important;gap:9px!important}.dv-book-cover{width:60px!important;flex-basis:60px!important;height:90px!important}
 .dv-book-title{font-size:.82rem!important}.dv-book-author,.dv-book-categories,.dv-book-meta span{font-size:.68rem!important}
 .dv-book-card-foot{padding:6px!important}.dv-book-open{padding:5px!important}
 .dv-book-detail{grid-template-columns:1fr!important;padding:14px!important}.dv-book-detail h1{text-align:right!important;font-size:1.28rem!important}.dv-book-detail-cover{margin:auto}
 .ap-featured-section{padding:13px!important}.ap-featured-author{min-width:128px}.ap-featured-photo{width:75px!important;height:75px!important}
 .ap-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .reader-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.reader-actions a{display:flex;flex-direction:column;text-align:center;gap:5px;padding:9px!important;font-size:.73rem!important;min-height:64px!important}
 .reader-section{padding:14px!important}.dv-saved-grid{grid-template-columns:1fr!important}
 .dv-profile-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 .dv-library-grid{grid-template-columns:1fr!important}.dv-book-card-body{min-height:115px!important}.dv-book-cover{width:71px!important;height:98px!important;flex-basis:71px!important}
 .dv-library-hero h1{font-size:1.19rem!important}.dv-live-counter{min-width:94px!important}
 .ap-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ap-author-card{padding:10px!important}
 .ap-author-top{flex-direction:column!important;text-align:center!important;align-items:center!important}.ap-author-photo{width:70px!important;height:70px!important}.ap-author-name{font-size:.77rem!important}.ap-author-bio-block{display:none!important}
 .dv-footer-flex{flex-direction:column!important;gap:5px!important}
}
@media(prefers-reduced-motion:reduce){.dv-book-card,.ap-featured-author,.ap-author-card{transform:none!important;transition:none!important}}
@media print{.dv-top,.dv-home-footer,.dv-mobile-bottom,.dv-mobile-menu{display:none!important}}

.ap-featured-shell{position:relative;min-width:0}
.ap-featured-shell>.ap-featured-author{height:100%}
.ap-featured-shell>.dv-qr-inline{position:absolute;bottom:9px;inset-inline-start:9px;z-index:6}
.ap-featured-shell>.dv-qr-inline>summary{background:#e4fbf4ee;color:#065a55;border:1px solid #9ccabe;min-height:29px;padding:4px 6px}
.ap-featured-shell .dv-qr-inline-panel{bottom:calc(100% + 6px)}
.reader-author-cards{gap:9px}
.dv-fav-select-card{border:1px solid #d8e8df;border-radius:13px;padding:7px;background:#fffefd}
.dv-fav-select-card>.fav-item{border:0;border-top:1px solid #eef4f0;border-radius:0;box-shadow:none!important}
.dv-fav-check{display:inline-flex;gap:7px;align-items:center;font-size:.76rem;color:#0b5d59;padding:4px 8px;cursor:pointer}
.dv-fav-check input{accent-color:#067b74;width:17px;height:17px}
.dv-saved-fallback{width:42px;height:60px;display:grid;place-items:center;border-radius:5px;background:#e7f3ed;color:#08766f}
body:has(.dv-profile-tabs) .dv-auth-main{max-width:1180px}

.dv-account-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(270deg,#e3f3eefc,#dceee8ef 65%,#e8f5f0aa),url("/ebook/assets/brand/ebook-hero-clear-r557.webp") left center/cover no-repeat;border:1px solid #c7dfd7;border-radius:18px;padding:23px 27px;margin:2px 0 18px;min-height:128px}.dv-account-hero small{color:#0b7770;font-size:.75rem;font-weight:850}.dv-account-hero h1{font-size:1.8rem;margin:6px 0;color:#083c40}.dv-account-hero p{margin:0;font-size:.82rem;color:#496d6c}.dv-account-hero>i{font-size:3.1rem;color:#0c7775}@media(max-width:600px){.dv-account-hero{min-height:104px;padding:14px 17px}.dv-account-hero h1{font-size:1.45rem}}

/* R1114 targeted QR fix: qrcodejs inserts a canvas AND an image; canvas must be hidden. */
.dv-qr-image{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;flex:0 0 98px!important;width:98px!important;height:98px!important;min-width:98px!important;min-height:98px!important;max-width:98px!important;max-height:98px!important;overflow:hidden!important;box-sizing:border-box!important}
.dv-qr-image canvas{display:none!important;width:0!important;height:0!important;position:absolute!important;visibility:hidden!important}
.dv-qr-image img{display:block!important;width:90px!important;height:90px!important;min-width:90px!important;min-height:90px!important;max-width:90px!important;max-height:90px!important;object-fit:contain!important;margin:0!important;flex:none!important}
.dv-qr-inline-panel{box-sizing:border-box!important;max-width:134px!important;overflow:visible!important}.dv-book-qr-small{box-sizing:border-box!important;max-width:208px!important;min-height:116px!important}.dv-book-qr-small .dv-qr-image{align-self:center!important}
