*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:#f4f7fb;color:#172033}header{height:68px;background:#fff;border-bottom:1px solid #e4e9f2;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,22px);position:sticky;top:0;z-index:5}.brand{font-weight:800;font-size:20px;color:#132d55;text-decoration:none}nav{display:flex;gap:18px}nav a{color:#536174;text-decoration:none}main{max-width:1180px;margin:auto;padding:34px 22px 80px}.hero{padding:28px 0}.hero h1{font-size:clamp(30px,5vw,50px);margin:0 0 8px;color:#102a52}.hero p,.muted{color:#69778b}.grid,.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.card{background:#fff;border:1px solid #e4e9f2;border-radius:18px;padding:24px;box-shadow:0 8px 28px rgba(25,50,90,.06)}.narrow{max-width:460px;margin:50px auto}label{display:block;font-size:13px;font-weight:700;margin:15px 0 5px}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #ccd5e2;border-radius:10px;background:#fff;font:inherit}textarea{min-height:90px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}button,.button{display:inline-block;border:0;background:#153e75;color:#fff;border-radius:10px;padding:12px 18px;font-weight:750;text-decoration:none;margin-top:16px;cursor:pointer}.alert{background:#fff0f0;border:1px solid #f0bcbc;padding:14px;border-radius:12px;margin-bottom:18px}.reader{background:#fff;border-radius:18px;padding:28px;min-height:70vh;position:relative;overflow:hidden}.watermark{position:absolute;transform:rotate(-24deg);opacity:.08;font-size:34px;top:45%;left:12%}.readerbox{margin-top:40px;padding:50px 20px;border:2px dashed #d5deea;border-radius:14px;text-align:center;color:#69778b}footer{position:fixed;bottom:0;width:100%;background:#fff;border-top:1px solid #e4e9f2;text-align:center;padding:12px;color:#8792a4;font-size:12px}@media(max-width:650px){header{height:auto;padding:16px 18px;align-items:flex-start;gap:12px;flex-direction:column}nav{width:100%;justify-content:space-between}.two{grid-template-columns:1fr}main{padding:20px 14px 70px}.card{padding:18px}}
.badge{display:inline-block;padding:4px 9px;border-radius:999px;background:#e9f1fb;color:#153e75;font-size:12px;font-weight:800}.card h2{color:#102a52;margin-top:0}.card p{line-height:1.55}input[type=file]{padding:10px;background:#f8fafc}
/* PDF Vault v1.6.0 modern storefront */
.store-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);min-height:360px;margin:0 0 34px;background:linear-gradient(120deg,#f8fbff 0%,#edf5ff 55%,#f8fbff 100%);border:1px solid #dfe9f6;border-radius:26px;overflow:hidden;box-shadow:0 18px 55px rgba(25,65,120,.09)}
.store-hero-copy{padding:54px 56px;display:flex;flex-direction:column;justify-content:center}.eyebrow{display:inline-block;font-size:12px;letter-spacing:.2em;font-weight:850;color:#1769d2;margin-bottom:10px}.store-hero h1{font-size:clamp(38px,5vw,64px);line-height:1.02;letter-spacing:-.035em;margin:0 0 16px;color:#0d2344}.store-hero p{font-size:18px;line-height:1.55;color:#52657f;max-width:650px;margin:0}.trust-row{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:30px;color:#243c5d;font-size:14px}.trust-row span{display:flex;align-items:center;gap:7px}.store-hero-art{position:relative;min-height:330px;background:radial-gradient(circle at 55% 40%,rgba(31,123,255,.2),transparent 48%)}.hero-book{position:absolute;border-radius:18px;box-shadow:0 24px 50px rgba(15,42,82,.22);display:flex;flex-direction:column;justify-content:center}.hero-book-back{width:175px;height:235px;right:42px;top:62px;background:#112d55;color:#fff;font-size:42px;font-weight:900;align-items:center;transform:rotate(9deg)}.hero-book-front{width:210px;height:285px;right:125px;top:38px;padding:28px;background:linear-gradient(145deg,#fff,#dcecff);border:1px solid #c9dcf4;color:#0c2b55;transform:rotate(-4deg)}.hero-book-front span{font-size:16px;letter-spacing:.18em}.hero-book-front strong{font-size:32px;line-height:1.05;margin:8px 0 16px}.hero-book-front small{color:#56708e;line-height:1.45}.catalog-head{display:flex;justify-content:space-between;align-items:end;margin:0 0 18px}.catalog-head h2{font-size:30px;color:#102a52;margin:0 0 4px}.catalog-head p{margin:0}.store-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product-card{background:#fff;border:1px solid #e1e8f2;border-radius:20px;overflow:hidden;box-shadow:0 8px 28px rgba(25,50,90,.06);transition:transform .2s ease,box-shadow .2s ease}.product-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(25,50,90,.12)}.book-cover{height:260px;margin:16px 16px 0;border-radius:14px;position:relative;overflow:hidden;padding:24px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35),0 10px 24px rgba(20,50,90,.12)}.cover-tone-1{background:linear-gradient(145deg,#e8f4ff,#9bc7ef)}.cover-tone-2{background:linear-gradient(145deg,#f7f1e7,#d9c5a6)}.cover-tone-3{background:linear-gradient(145deg,#e6f4f2,#87c9c0)}.cover-tone-4{background:linear-gradient(145deg,#f2ecff,#b9a5e8)}.cover-mark{position:absolute;right:14px;top:14px;background:rgba(255,255,255,.82);padding:5px 8px;border-radius:7px;font-size:10px;font-weight:900;color:#174c8c}.cover-title{position:relative;z-index:2;display:flex;flex-direction:column;max-width:78%;color:#102a52}.cover-title small{font-size:9px;letter-spacing:.15em;margin-bottom:10px}.cover-title strong{font-size:24px;line-height:1.05}.cover-title span{font-size:12px;margin-top:12px;color:#496782}.cover-initial{position:absolute;right:-14px;bottom:-48px;font-size:180px;font-weight:950;color:rgba(255,255,255,.4);line-height:1}.product-info{padding:18px}.pdf-pill{font-size:10px;font-weight:900;color:#e33939;background:#fff0f0;border-radius:999px;padding:5px 8px}.product-info h3{font-size:19px;margin:11px 0 7px;color:#102a52}.product-info p{height:48px;overflow:hidden;margin:0 0 14px;color:#68788e;line-height:1.5;font-size:14px}.product-bottom{display:flex;align-items:center;justify-content:space-between}.price{font-size:21px;font-weight:900;color:#075fca}.store-buy{display:block;width:100%;text-align:center;margin-top:14px;background:linear-gradient(135deg,#0c6ff2,#095ac7);box-shadow:0 8px 18px rgba(12,111,242,.18)}.store-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fff;border:1px solid #e1e8f2;border-radius:18px;margin-top:28px;overflow:hidden}.store-benefits div{padding:20px 22px;display:grid;grid-template-columns:auto 1fr;column-gap:10px;border-right:1px solid #e8edf4;color:#0f2b50}.store-benefits div:last-child{border-right:0}.store-benefits strong{font-size:14px}.store-benefits span{grid-column:2;color:#78869a;font-size:12px;margin-top:3px}
@media(max-width:1050px){.store-products{grid-template-columns:repeat(2,minmax(0,1fr))}.store-hero-copy{padding:42px}.store-benefits{grid-template-columns:repeat(2,1fr)}.store-benefits div:nth-child(2){border-right:0}.store-benefits div:nth-child(-n+2){border-bottom:1px solid #e8edf4}}
@media(max-width:720px){.store-hero{grid-template-columns:1fr}.store-hero-copy{padding:34px 24px}.store-hero-art{min-height:260px}.hero-book-front{width:175px;height:235px;right:32%;top:20px}.hero-book-back{width:145px;height:195px;right:12%;top:46px}.store-products{grid-template-columns:1fr}.book-cover{height:300px}.store-benefits{grid-template-columns:1fr}.store-benefits div{border-right:0!important;border-bottom:1px solid #e8edf4}.store-benefits div:last-child{border-bottom:0}.catalog-head h2{font-size:26px}}

/* PDF Vault v1.6.1 admin dashboard repair */
.stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 24px}
.stat{display:flex!important;flex-direction:column;justify-content:space-between;min-height:132px;padding:22px 24px;background:#fff;border:1px solid #e1e8f2;border-radius:18px;box-shadow:0 8px 28px rgba(25,50,90,.06);overflow:hidden;position:relative}
.stat:after{content:"";position:absolute;width:88px;height:88px;border-radius:50%;right:-25px;bottom:-34px;background:rgba(12,111,242,.06)}
.stat span{display:block;color:#66768c;font-size:13px;font-weight:750;letter-spacing:.01em}
.stat strong{display:block;margin-top:14px;color:#102a52;font-size:36px;line-height:1;font-weight:900}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.actions .button{margin-top:0}.button.secondary{background:#fff;color:#153e75;border:1px solid #cfdbea;box-shadow:none}
.tablewrap{width:100%;overflow-x:auto;border:1px solid #e7edf5;border-radius:13px;margin-top:16px}table{width:100%;border-collapse:collapse;min-width:700px;background:#fff}th,td{padding:14px 16px;text-align:left;border-bottom:1px solid #edf1f6;vertical-align:middle}th{background:#f8fafc;color:#4b5f78;font-size:12px;text-transform:uppercase;letter-spacing:.055em;font-weight:850}td{font-size:14px;color:#253750}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdff}.status{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:850;background:#eef3f8;color:#50627a}.status.paid,.status.approved,.status.active{background:#e9f8ef;color:#13733b}.status.pending{background:#fff5dd;color:#9a6200}.status.cancelled,.status.failed{background:#fff0f0;color:#b32929}
main>.hero+section.stats{margin-top:2px}main>.card{margin-bottom:24px}
@media(max-width:900px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.stats{grid-template-columns:1fr}.stat{min-height:110px}.stat strong{font-size:32px}.actions{display:grid;grid-template-columns:1fr}.actions .button{text-align:center;width:100%}}

/* PDF Vault v1.6.2 mobile protected-reader scrolling hotfix */
.reader{overflow:visible;max-width:100%;min-width:0}
.reader iframe,.reader embed,.reader object,.readerbox iframe,.readerbox embed,.readerbox object{display:block;width:100%!important;max-width:100%!important;border:0;min-height:calc(100dvh - 230px);height:calc(100dvh - 230px);background:#eef2f7}
.readerbox{position:relative;overflow:hidden;max-width:100%;padding:0!important;margin-top:20px!important;text-align:left;border:1px solid #d5deea;background:#eef2f7}
.reader .watermark,.readerbox .watermark,.watermark{pointer-events:none!important;user-select:none;-webkit-user-select:none;touch-action:none;z-index:4}
@supports (-webkit-touch-callout:none){.reader iframe,.reader embed,.reader object,.readerbox iframe,.readerbox embed,.readerbox object{-webkit-overflow-scrolling:touch}}
@media(max-width:650px){
 html,body{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%}
 main{width:100%;max-width:100%;padding-left:8px!important;padding-right:8px!important}
 .reader{width:100%;max-width:100%;padding:10px!important;border-radius:12px;overflow:visible;min-height:0}
 .readerbox{width:100%;max-width:100%;margin-top:12px!important;border-radius:10px;overflow:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;touch-action:pan-y pinch-zoom}
 .reader iframe,.reader embed,.reader object,.readerbox iframe,.readerbox embed,.readerbox object{width:100%!important;max-width:100vw!important;height:calc(100dvh - 185px)!important;min-height:520px!important;overflow:auto!important;touch-action:pan-y pinch-zoom}
 .watermark{font-size:22px!important;left:5%!important;max-width:90%;overflow:hidden}
 body:has(.reader) footer{position:static;margin-top:12px}
}
@media(max-width:650px) and (orientation:landscape){.reader iframe,.reader embed,.reader object,.readerbox iframe,.readerbox embed,.readerbox object{height:calc(100dvh - 120px)!important;min-height:300px!important}}

/* v1.6.3 responsive multi-page PDF.js reader */
.pdfjs-reader{max-width:none;width:100%}.reader-toolbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:10px 12px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border:1px solid #dbe5f1;border-radius:14px 14px 0 0}.reader-toolbar button{width:auto;min-width:42px;margin:0;padding:8px 12px}.reader-page-status{margin-left:8px;font-weight:700;color:#475569}.pdf-scroll{width:100%;height:calc(100dvh - 230px);min-height:420px;overflow-y:auto;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;background:#e9eef5;padding:12px;box-sizing:border-box;touch-action:pan-x pan-y}.pdf-pages{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;min-width:0}.pdf-page-wrap{position:relative;flex:0 0 auto;max-width:100%;background:#fff;box-shadow:0 3px 18px rgba(15,23,42,.18);line-height:0}.pdf-page-canvas{display:block;max-width:none;background:#fff}.pdf-page-watermark{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.pdf-page-watermark span{font:700 clamp(11px,1.6vw,18px)/1.2 system-ui,sans-serif;color:rgba(40,55,80,.14);transform:rotate(-25deg);white-space:nowrap;max-width:90%;overflow:hidden;text-overflow:ellipsis}.pdf-page-number{position:absolute;right:8px;bottom:8px;z-index:4;padding:4px 7px;border-radius:7px;background:rgba(15,23,42,.62);color:#fff;font:600 11px/1.2 system-ui,sans-serif}.pdf-loading{padding:32px;text-align:center;font-weight:700;color:#475569}.pdf-loading.error{color:#b91c1c}.pdfjs-reader .reader-note{text-align:center}
@media(max-width:700px){main{padding-left:8px!important;padding-right:8px!important}.pdfjs-reader{margin:0}.pdfjs-reader .readerhead{gap:8px}.pdfjs-reader .readerhead h1{font-size:1.1rem}.pdfjs-reader .readerhead .muted{font-size:.78rem}.reader-toolbar{border-radius:10px 10px 0 0;padding:7px 6px;gap:5px}.reader-toolbar button{padding:7px 9px;font-size:.82rem}.reader-page-status{font-size:.82rem}.pdf-scroll{height:calc(100dvh - 190px);min-height:360px;padding:6px}.pdf-pages{gap:8px}.pdf-page-watermark span{font-size:11px}.pdfjs-reader .reader-note{font-size:.75rem;margin:7px 0}}
@media(orientation:landscape) and (max-height:600px){.pdf-scroll{height:calc(100dvh - 145px)}.pdfjs-reader .readerhead{display:none}.pdfjs-reader .reader-note{display:none}}
/* v1.6.4 protected-reader transport hotfix */
.pdf-loading.error{max-width:760px;margin:24px auto;background:#fff1f2;border:1px solid #fecdd3;border-radius:12px;color:#9f1239;line-height:1.5;padding:16px 18px;white-space:normal}
