@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;background:#f7f9fc;color:#182338}body.filter-open{overflow:hidden}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.font-manrope{font-family:Manrope,Inter,Arial,sans-serif}.container{width:min(1240px,calc(100% - 32px));margin:auto}.gold{color:#c09a32}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#8090a8}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:11px 17px;font-weight:800;cursor:pointer;transition:.2s ease}.btn svg,.iconbtn svg,.filter-option svg{width:16px;height:16px}.btn-gold{background:#c09a32;color:#fff;box-shadow:0 9px 24px rgba(192,154,50,.25)}.btn-gold:hover{background:#a98626;transform:translateY(-1px)}.btn-navy{background:#0a2a5e;color:#fff}.btn-white{background:#fff;color:#0a2a5e;box-shadow:0 8px 24px rgba(0,0,0,.12)}.btn-light{background:#fff;color:#0a2a5e;border:1px solid #e2e8f0}.iconbtn{width:38px;height:38px;border:1px solid #e3e8ef;background:#fff;color:#65738a;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:none;transition:.2s}.iconbtn:hover{color:#0a2a5e;border-color:#cfd8e4;transform:translateY(-1px)}.iconbtn.gold{background:#c09a32;color:#fff;border-color:#c09a32}.iconbtn.gold:hover{background:#a98626}.store-nav{position:sticky;top:0;z-index:50;height:72px;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid #e9eef5;box-shadow:0 4px 20px rgba(6,28,64,.06)}.navin{height:100%;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:11px;font-weight:800;color:#0a2a5e}.brandmark{width:43px;height:43px;border-radius:14px;background:#0a2a5e;color:#d4af37;display:grid;place-items:center;font-weight:900;box-shadow:0 8px 18px rgba(6,28,64,.18)}.brand small{display:block;color:#75839a;font-size:9px;letter-spacing:.14em;text-transform:uppercase;margin-top:3px}.navlinks{display:flex;align-items:center;gap:3px}.navlinks>a{padding:10px 12px;font-size:12px;color:#66758b;font-weight:700}.navlinks>a:hover,.navlinks>a.active{color:#8f7322}.mobile-filter-btn,.mobile-cart{display:none}.store-hero{background:#0a2a5e;color:#fff;padding:56px 0 54px;position:relative;overflow:hidden}.store-hero:before{content:"";position:absolute;inset:0;opacity:.09;background-image:radial-gradient(circle,#fff 1px,transparent 1px);background-size:22px 22px}.store-hero:after{content:"";position:absolute;width:520px;height:520px;border-radius:50%;right:-230px;top:-250px;border:1px solid rgba(212,175,55,.25);box-shadow:0 0 0 70px rgba(212,175,55,.04),0 0 0 140px rgba(212,175,55,.025)}.store-hero>*{position:relative;z-index:1}.crumb{font-size:11px;color:#aebedc;margin-bottom:22px}.crumb span{padding:0 7px;color:#6f87b0}.hero-copy{max-width:820px}.hero-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#dbe5f6}.hero-chip svg{width:14px;height:14px}.hero-chip.light{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);color:#fff}.hero-copy h1{font-family:Manrope,Arial;font-size:clamp(32px,4.8vw,56px);line-height:1.05;margin:18px 0 15px;font-weight:800;letter-spacing:-.04em}.hero-copy p{font-size:16px;line-height:1.7;color:#cbd7eb;max-width:720px;margin:0 0 24px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.library-section{padding:34px 0 60px}.library-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:25px;align-items:start}.filter-sidebar{position:sticky;top:92px;background:#fff;border:1px solid #e5eaf1;border-radius:20px;padding:17px;box-shadow:0 10px 30px rgba(6,28,64,.06)}.filter-mobile-head{display:none}.filter-block{padding:4px 0 16px;margin-bottom:12px;border-bottom:1px solid #eef1f5}.filter-block:last-of-type{border-bottom:0}.filter-title{font-size:11px;font-weight:800;color:#34445d;margin:0 0 9px}.search-input{height:42px;border:1px solid #e1e7ee;background:#f8fafc;border-radius:11px;display:flex;align-items:center;gap:8px;padding:0 11px;color:#94a0b2}.search-input:focus-within{border-color:#c09a32;background:#fff;box-shadow:0 0 0 3px rgba(192,154,50,.1)}.search-input svg{width:16px}.search-input input{width:100%;border:0;outline:0;background:transparent;color:#172338;font-size:11px}.search-input input::placeholder{color:#a1adbd}.filter-option{width:100%;border:0;background:transparent;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 9px;color:#68768a;font-size:11px;text-align:left;cursor:pointer;transition:.18s}.filter-option span{display:flex;align-items:center;gap:8px;min-width:0}.filter-option span svg{width:14px;height:14px;flex:none}.filter-option b{font-size:9px;color:#9aa5b5;background:#f1f4f8;border-radius:999px;padding:3px 6px}.filter-option:hover{background:#f6f8fb;color:#0a2a5e}.filter-option.active{background:#edf3fb;color:#0a2a5e;font-weight:800}.filter-option.active b{background:#dce8f8;color:#0a2a5e}.check-row{display:flex;align-items:center;gap:8px;font-size:11px;color:#69778a;margin:9px 0;cursor:pointer}.check-row input{accent-color:#c09a32}.request-side{display:flex;align-items:center;gap:9px;background:#0a2a5e;color:#fff;border-radius:15px;padding:12px 11px}.request-icon{width:31px;height:31px;border-radius:10px;background:#d4af37;color:#0a2a5e;display:grid;place-items:center}.request-icon svg{width:15px}.request-side>span:nth-child(2){min-width:0;flex:1}.request-side b{display:block;font-size:10px}.request-side small{display:block;color:#c7d3e6;font-size:9px;line-height:1.4;margin-top:2px}.request-side>svg{width:14px}.library-main{min-width:0}.library-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.library-toolbar h2{font-family:Manrope;font-size:26px;margin:4px 0 2px;color:#12213a}.library-toolbar p{margin:0;color:#8b97a9;font-size:11px}.toolbar-actions{display:flex;gap:6px}.sort-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #e2e7ee;border-radius:9px;background:#fff;color:#718096;font-size:10px;font-weight:800;cursor:pointer}.sort-btn svg{width:14px}.sort-btn.active{color:#0a2a5e;border-color:#cdd9e8;background:#f6f9fd}.unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.unit-card{background:#fff;border:1px solid #e3e8ef;border-radius:22px;overflow:hidden;box-shadow:0 9px 28px rgba(6,28,64,.065);transition:.25s ease}.unit-card:hover{transform:translateY(-3px);box-shadow:0 20px 42px rgba(6,28,64,.11);border-color:#d5dde8}.unit-head{min-height:102px;position:relative;display:flex;align-items:center;gap:11px;padding:16px 15px 15px 18px;overflow:hidden}.band{position:absolute;left:0;top:0;bottom:0;width:5px}.unit-icon{width:48px;height:48px;border-radius:14px;color:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(6,28,64,.14);flex:none}.unit-icon svg{width:22px;height:22px}.unit-info{min-width:0;flex:1}.unit-info .eyebrow{color:#73829a;font-size:8px}.unit-info h3{font-family:Manrope;margin:4px 0 3px;font-size:15px;line-height:1.2;color:#12213a}.unit-info p{margin:0;color:#718096;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-count{align-self:flex-start;background:#fff;border:1px solid #e2e7ef;color:#66758a;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:800;white-space:nowrap}.unit-body{padding:10px 11px 11px}.file-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto 34px 34px;align-items:center;gap:9px;padding:8px 5px;border-bottom:1px solid #eef1f5}.file-row:last-child{border-bottom:0}.file-row:hover{background:#fbfcfe;border-radius:12px}.file-thumb{width:52px;height:64px;border-radius:8px;background:#f0f3f7;overflow:hidden;border:1px solid #e0e6ee;display:grid;place-items:center;box-shadow:0 3px 8px rgba(6,28,64,.06)}.file-thumb img{width:100%;height:100%;object-fit:cover;object-position:top}.thumb-placeholder{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:4px;background:linear-gradient(145deg,#f7f9fc,#e9eef5)}.thumb-placeholder svg{width:20px;height:20px}.thumb-placeholder small{font-size:7px;font-weight:900}.file-main{min-width:0}.file-main strong{display:block;color:#24334b;font-size:10px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-main span{display:block;color:#9aa5b5;font-size:8px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.type-badge{border:1px solid;border-radius:999px;padding:4px 6px;font-size:7px;font-weight:800;white-space:nowrap;max-width:112px;overflow:hidden;text-overflow:ellipsis}.file-price{font-size:9px;color:#47566d;white-space:nowrap;text-align:right}.free-price{color:#16805a}.file-row .iconbtn{width:32px;height:32px;border-radius:9px}.empty{text-align:center;padding:70px 20px}.empty-icon{width:56px;height:56px;margin:0 auto 13px;border-radius:16px;background:#eef3fa;color:#0a2a5e;display:grid;place-items:center}.empty h3{font-family:Manrope;margin:0 0 5px;color:#1b2a42}.empty p{margin:0;color:#8b97a9;font-size:12px}.empty a{color:#8f7322;font-weight:800}.section{padding:45px 0}.cta-section{padding-top:0}.cta{border-radius:24px;background:#0a2a5e;color:#fff;padding:32px 34px;display:flex;align-items:center;justify-content:space-between;gap:25px;position:relative;overflow:hidden}.cta:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;border:1px solid rgba(212,175,55,.22);right:-120px;top:-130px}.cta>*{position:relative;z-index:1}.cta h2{font-family:Manrope;font-size:25px;margin:12px 0 6px}.cta p{margin:0;max-width:700px;color:#c6d2e4;font-size:12px;line-height:1.6}.footer{background:#081a38;color:#d4ddec;padding:24px 0}.footer .container{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:10px}.footer b{display:block;color:#fff}.footer span{display:block;color:#8ea0bb;margin-top:4px}.footer a{color:#d4af37}.modal{position:fixed;inset:0;background:rgba(5,16,34,.68);backdrop-filter:blur(6px);z-index:100;display:none;padding:22px}.modal.open{display:grid;place-items:center}.preview-modal{width:min(1120px,100%);height:min(88vh,860px);background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.28);display:flex;flex-direction:column}.modalhead{height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;border-bottom:1px solid #e8edf3}.modal-doc{display:flex;align-items:center;gap:10px;min-width:0}.modal-doc>b,.modal-doc div:nth-child(2)>b{font-size:12px}.modal-doc>div:nth-child(2){min-width:0}.modal-doc>div:nth-child(2)>b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:580px}.modal-doc>div:nth-child(2)>div{font-size:9px;color:#8a97aa;margin-top:3px}.modal-thumb{width:39px;height:48px;border-radius:7px;overflow:hidden;background:#eef2f6;display:grid;place-items:center;color:#0a2a5e;flex:none}.modal-thumb img{width:100%;height:100%;object-fit:cover;object-position:top}.preview-stage{flex:1;min-height:0;background:#eef2f6;display:grid;grid-template-columns:240px minmax(0,1fr);gap:0}.preview-image-wrap{display:flex;align-items:center;justify-content:center;padding:20px;background:#e6ebf1;border-right:1px solid #dfe5ec;overflow:auto}.preview-image-wrap img{max-width:100%;max-height:100%;object-fit:contain;background:#fff;box-shadow:0 10px 25px rgba(6,28,64,.18)}.preview-iframe{min-width:0;background:#dfe4ea}.preview-iframe iframe{width:100%;height:100%;border:0}.no-preview{display:flex;flex-direction:column;align-items:center;gap:7px;color:#8390a3;text-align:center}.no-preview svg{width:35px;height:35px}.no-preview b{font-size:11px;color:#56657b}.no-preview span{font-size:9px}.modalfoot{min-height:62px;padding:11px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e8edf3;background:#fff;color:#8a97aa;font-size:9px}.modalfoot>span{display:flex;align-items:center;gap:6px}.modalfoot svg{width:14px}.modal-actions{display:flex;gap:7px}.preview-fallback{min-height:100vh;display:grid;place-items:center;padding:25px}.preview-fallback-card{max-width:620px;text-align:center}.payment-icon{width:54px;height:54px;border-radius:16px;background:#edf3fa;color:#0a2a5e;display:grid;place-items:center;margin:0 auto 15px}.payment-icon svg{width:25px}.preview-fallback-card h2{font-family:Manrope;color:#0a2a5e}.preview-fallback-card p{color:#748197;line-height:1.7;font-size:12px}.preview-fallback-card .hero-actions{justify-content:center}
/* Admin */
.admin-shell{background:#f5f7fb;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:#081f46;color:#dbe4f2;display:flex;flex-direction:column;z-index:70;padding:17px 13px;box-shadow:14px 0 35px rgba(6,28,64,.12)}.side-brand{display:flex;align-items:center;gap:10px;padding:7px 8px 20px;border-bottom:1px solid rgba(255,255,255,.08)}.side-brand .brandmark{width:39px;height:39px}.side-brand b{font-size:11px;color:#fff;display:block}.side-brand small{font-size:8px;color:#8fa2c0;display:block;margin-top:3px}.sidebar nav{padding:14px 0;display:grid;gap:3px;overflow:auto}.sidebar nav a,.side-bottom a{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:10px;color:#aab8ce;font-size:10px;font-weight:700}.sidebar nav a svg,.side-bottom a svg{width:16px}.sidebar nav a:hover{background:rgba(255,255,255,.06);color:#fff}.sidebar nav a.active{background:#c09a32;color:#fff;box-shadow:0 8px 20px rgba(192,154,50,.22)}.side-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding-top:10px}.side-bottom a:hover{color:#fff;background:rgba(255,255,255,.06)}.admin-content{margin-left:250px;padding:0 28px 40px;min-height:100vh}.admin-top{height:82px;display:flex;align-items:center;justify-content:space-between;gap:15px}.admin-top h1{font-family:Manrope;font-size:24px;margin:2px 0 0;color:#12213a}.menu-toggle{display:none}.notice{padding:11px 13px;border-radius:11px;margin:0 0 14px;font-size:11px}.notice.success{background:#eaf8f2;color:#166b4d;border:1px solid #cdeede}.notice.danger{background:#fff0f0;color:#9b3030;border:1px solid #f3cccc}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.stat-card{background:#fff;border:1px solid #e4e9f0;border-radius:16px;padding:16px;box-shadow:0 8px 25px rgba(6,28,64,.04)}.stat-card span{font-size:9px;color:#8190a6;font-weight:800}.stat-card b{display:block;font-family:Manrope;font-size:23px;color:#12213a;margin:7px 0}.stat-card small{font-size:9px;color:#a1abba}.dashboard-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;margin-bottom:16px}.panel{background:#fff;border:1px solid #e4e9f0;border-radius:18px;padding:17px;box-shadow:0 8px 25px rgba(6,28,64,.04)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.panel-head h2{font-family:Manrope;font-size:15px;color:#15243c;margin:0}.panel-head p,.muted{font-size:9px;color:#8b98aa;margin:4px 0 0}.bar-chart{height:180px;display:flex;align-items:flex-end;gap:5px;padding:15px 3px 3px}.bar-wrap{flex:1;height:100%;display:flex;align-items:flex-end}.bar{width:100%;min-height:5px;background:linear-gradient(180deg,#d4af37,#0a2a5e);border-radius:5px 5px 2px 2px}.rank-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #eef1f5}.rank-row:last-child{border-bottom:0}.rank-row b{font-size:10px;color:#c09a32}.rank-row strong{font-size:10px;color:#26354c;display:block}.rank-row small{display:block;color:#94a0b0;font-size:8px;margin-top:2px}.rank-row span{font-size:9px;color:#7e8da3}.attention{display:grid;gap:8px}.attention a{display:flex;justify-content:space-between;gap:10px;padding:12px;background:#f7f9fc;border-radius:11px;font-size:10px}.attention span{color:#c09a32;font-weight:900}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.field{display:grid;gap:5px}.field-full{grid-column:1/-1}.field label{font-size:9px;color:#59687d;font-weight:800}.input{width:100%;border:1px solid #dfe5ec;border-radius:10px;padding:10px 11px;background:#fff;color:#25354e;outline:0;font-size:10px}.input:focus{border-color:#c09a32;box-shadow:0 0 0 3px rgba(192,154,50,.1)}.tablewrap{overflow:auto;border:1px solid #e8edf3;border-radius:12px}.table{width:100%;border-collapse:collapse;min-width:680px}.table th,.table td{padding:10px 11px;border-bottom:1px solid #eef1f5;text-align:left;font-size:9px;vertical-align:middle}.table th{background:#f8fafc;color:#78869a;font-size:8px;text-transform:uppercase;letter-spacing:.06em}.table td{color:#536279}.table tr:last-child td{border-bottom:0}.provider-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.provider{border:1px solid #e1e7ee;border-radius:14px;padding:13px;background:#fff;display:grid;gap:4px;cursor:pointer}.provider:has(input:checked){border-color:#c09a32;background:#fffaf0;box-shadow:0 0 0 2px rgba(192,154,50,.12)}.provider input{accent-color:#c09a32}.provider b{font-size:10px;color:#24334b}.provider span{font-size:8px;color:#8b97a9}.settings-section{padding:16px 0;border-top:1px solid #eef1f5}.settings-section h3{font-family:Manrope;font-size:12px;margin:0 0 11px;color:#25354d}.upload-zone{border:2px dashed #ccd7e5;border-radius:18px;padding:22px;background:linear-gradient(180deg,#fbfdff,#f7f9fc);display:grid;gap:12px;margin-bottom:15px}.import-rules{display:grid;gap:5px;background:#f7f9fc;border-radius:12px;padding:12px;font-size:9px;color:#7d8ba0}.import-rules b{color:#2a3b54}.color-dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:6px;vertical-align:middle}.status{font-size:8px;padding:4px 7px;border-radius:999px;background:#eef2f7}.status.pending{color:#8a6b17;background:#fff7dc}.status.paid,.status.fulfilled{color:#17694c;background:#eaf8f2}.status.failed{color:#9b3030;background:#fff0f0}.doc-admin-thumb{width:48px;height:58px;border-radius:7px;overflow:hidden;border:1px solid #e1e6ed;background:#f4f6f9;display:grid;place-items:center}.doc-admin-thumb img{width:100%;height:100%;object-fit:cover;object-position:top}.doc-admin-thumb svg{width:19px;color:#8090a5}.bulk-tabs{display:flex;gap:6px;border-bottom:1px solid #e8edf3;margin-bottom:15px}.bulk-tab{padding:10px 13px;border:0;background:transparent;color:#8290a4;font-weight:800;font-size:10px;border-bottom:2px solid transparent;cursor:pointer}.bulk-tab.active{color:#0a2a5e;border-bottom-color:#c09a32}.multi-file-list{display:grid;gap:7px}.multi-file{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid #e5eaf0;border-radius:11px;padding:9px 11px}.multi-file span{font-size:9px;color:#4c5b71;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.multi-file small{font-size:8px;color:#9aa5b4}.dropzone{border:2px dashed #cbd6e4;border-radius:16px;padding:26px;text-align:center;background:#fbfdff;cursor:pointer}.dropzone:hover{border-color:#c09a32;background:#fffdf7}.dropzone strong{display:block;color:#26364f;font-size:11px;margin-top:7px}.dropzone span{display:block;color:#93a0b1;font-size:9px;margin-top:4px}.compact{padding:7px 8px;font-size:9px}
@media(max-width:1050px){.navlinks a:not(.btn){display:none}.library-layout{grid-template-columns:220px minmax(0,1fr)}.unit-grid{grid-template-columns:1fr}.file-row{grid-template-columns:52px minmax(0,1fr) auto 34px 34px}.type-badge{display:none}.provider-grid{grid-template-columns:repeat(2,1fr)}.stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.container{width:min(100% - 22px,1240px)}.store-nav{height:62px}.brand small{display:none}.brandmark{width:39px;height:39px}.mobile-filter-btn,.mobile-cart{display:inline-flex}.navlinks{display:none}.store-hero{padding:38px 0 40px}.hero-copy h1{font-size:34px}.hero-copy p{font-size:13px}.library-section{padding:22px 0 40px}.library-layout{display:block}.filter-sidebar{position:fixed;left:0;top:0;bottom:0;width:min(310px,88vw);z-index:90;border-radius:0 20px 20px 0;transform:translateX(-105%);transition:.25s ease;overflow:auto;padding:16px}.filter-sidebar.open{transform:translateX(0)}.filter-mobile-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;margin-bottom:10px;border-bottom:1px solid #eef1f5}.filter-mobile-head b{display:block;font-family:Manrope;font-size:16px;color:#12213a}.filter-mobile-head small{font-size:9px;color:#8c99ab}.library-main{width:100%}.library-toolbar{align-items:flex-start}.toolbar-actions{display:none}.unit-grid{grid-template-columns:1fr;gap:14px}.unit-head{min-height:92px}.file-row{grid-template-columns:45px minmax(0,1fr) auto 32px 32px;gap:7px}.file-thumb{width:45px;height:58px}.file-price{display:none}.file-main strong{font-size:9px}.file-main span{font-size:7px}.cta{padding:25px 20px;display:block}.cta .btn{margin-top:18px}.footer .container{display:block}.footer .container>div+div{margin-top:10px}.preview-stage{grid-template-columns:1fr}.preview-image-wrap{display:none}.preview-modal{height:92vh}.modalfoot{align-items:flex-start;flex-direction:column}.modal-actions{width:100%}.modal-actions .btn{flex:1}.admin-content{margin-left:0;padding:0 13px 30px}.sidebar{transform:translateX(-105%);transition:.25s}.sidebar.open{transform:translateX(0)}.menu-toggle{display:inline-flex}.admin-top{height:70px}.admin-top h1{font-size:18px}.admin-top>.btn{display:none}.dashboard-grid{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr}.field-full{grid-column:auto}.provider-grid{grid-template-columns:1fr 1fr}.stat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.provider-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:1fr 1fr}.unit-head{padding-right:11px}.doc-count{display:none}.file-row .iconbtn{width:30px;height:30px}.file-row{grid-template-columns:42px minmax(0,1fr) 30px 30px}.type-badge{display:none}}

.quick-upload-card{display:flex;align-items:center;gap:11px;background:#f8fafc;border:1px solid #e5eaf0;border-radius:13px;padding:11px 12px;margin-bottom:13px}.quick-upload-icon{width:34px;height:34px;border-radius:10px;background:#fff1cf;color:#9a7720;display:grid;place-items:center;flex:none}.quick-upload-icon svg{width:17px}.quick-upload-card b{display:block;color:#26364f;font-size:10px}.quick-upload-card span{display:block;color:#8c99ab;font-size:8px;margin-top:3px;line-height:1.45}
.preview-image-wrap.full{grid-column:1/-1;border-right:0;padding:30px}.preview-image-wrap.full img{max-height:100%;max-width:100%;object-fit:contain}

.unit-more{width:100%;margin-top:10px;padding:12px 14px;border:1px dashed #d7dee8;background:#fbfcfe;color:#0a2a5e;border-radius:12px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.unit-more:hover{border-color:#c09a32;background:#fffaf0}.unit-more.open{border-style:solid;background:#f7f9fc}.unit-more svg{width:16px;height:16px;transition:.2s}.unit-more.open svg{transform:rotate(180deg)}.unit-extra-docs{display:none;margin-top:8px}.unit-extra-docs.open{display:block}.file-row.compact{padding:9px 0}.payment-divider{display:flex;align-items:center;gap:12px;margin:18px 0;color:#9aa6b8;font-size:11px;font-weight:800}.payment-divider:before,.payment-divider:after{content:"";height:1px;background:#e5eaf1;flex:1}.payment-code-input{text-transform:uppercase;letter-spacing:.16em;font-weight:800;font-size:18px;text-align:center}.wide{width:100%;margin-top:10px}

/* v5 Smart Import + unit-first catalogue */
.unit-head-actions{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.unit-add-all{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(192,154,50,.28);background:#fffaf0;color:#9b7b22;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800;white-space:nowrap}
.unit-add-all svg{width:13px;height:13px}
.smart-import-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.smart-import-head h1{font-family:Manrope;margin:5px 0 8px;color:#0a2a5e}
.smart-import-head p{margin:0;color:#64748b;max-width:800px;line-height:1.65}
.import-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.import-method{padding:28px}
.import-method h2{font-family:Manrope;color:#0a2a5e;margin:10px 0 7px}
.import-method p{color:#64748b;line-height:1.6;min-height:52px}
.method-icon{width:52px;height:52px;border-radius:16px;background:#f4eddb;color:#b08b25;display:grid;place-items:center}
.method-icon svg{width:25px;height:25px}
.import-rules{margin-top:20px;padding:22px}
.import-rules h3{font-family:Manrope;color:#0a2a5e;margin-top:0}
.rule-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.rule-grid span{padding:12px;border:1px solid #e7ebf2;border-radius:12px;background:#fbfcfe;font-size:12px;color:#526178}
.rule-grid b{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#0a2a5e;color:#fff;margin-right:6px}
.smart-table-wrap{overflow:auto;border:1px solid #e5eaf1;border-radius:15px}
.smart-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1180px}
.smart-table th{position:sticky;top:0;background:#f7f9fc;color:#68778e;font-size:10px;text-transform:uppercase;letter-spacing:.06em;padding:11px;border-bottom:1px solid #e4e9f0;text-align:left;z-index:2}
.smart-table td{padding:10px;border-bottom:1px solid #edf0f5;vertical-align:top;background:#fff}
.smart-table tr:last-child td{border-bottom:0}
.smart-table tr.detect-high td:first-child{box-shadow:inset 3px 0 #2d8a58}
.smart-table tr.detect-medium td:first-child{box-shadow:inset 3px 0 #c09a32}
.smart-table tr.detect-low td:first-child{box-shadow:inset 3px 0 #c65b5b}
.file-cell{max-width:260px}.file-cell b{display:block;overflow-wrap:anywhere}.file-cell small{display:block;color:#8a96a8;margin-top:5px}
.confidence{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900}
.confidence.high{background:#eaf7ef;color:#24734a}.confidence.medium{background:#fff7df;color:#8b6d18}.confidence.low{background:#fff0f0;color:#a33f3f}
.smart-table details{margin-top:8px;font-size:10px}.smart-table details summary{cursor:pointer;color:#64748b}.smart-table pre{white-space:pre-wrap;max-width:260px;max-height:180px;overflow:auto;background:#f7f9fc;padding:8px;border-radius:8px;color:#5a687b}
.unit-edit{min-width:190px}.unit-edit small{display:block;color:#8995a6;line-height:1.35;margin-top:5px}
.batch-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:#f8fafc;border:1px solid #e5eaf1;border-radius:14px;padding:12px;margin-bottom:14px}
.batch-tools>div{margin-right:auto}.batch-tools>div span{display:block;font-size:11px;color:#7a8799;margin-top:3px}
.commit-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px;padding:15px 0 0}
.commit-bar>div span{display:block;font-size:11px;color:#7a8799;margin-top:3px}
@media(max-width:900px){.import-choice-grid{grid-template-columns:1fr}.rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-import-head{align-items:flex-start}.unit-head-actions{align-items:flex-start}.unit-add-all{font-size:9px}}
@media(max-width:620px){.rule-grid{grid-template-columns:1fr}.smart-import-head{flex-direction:column}}

/* v9 modern storefront */
.store-hero{min-height:390px;display:flex;align-items:center}.hero-orb{position:absolute;border-radius:50%;border:1px solid rgba(212,175,55,.22);pointer-events:none}.orb1{width:520px;height:520px;right:-180px;top:-220px;box-shadow:0 0 0 55px rgba(212,175,55,.035),0 0 0 120px rgba(212,175,55,.02)}.orb2{width:180px;height:180px;left:-90px;bottom:-100px;background:rgba(255,255,255,.025)}
.updates-strip{background:#fff;border-bottom:1px solid #e8edf4;padding:25px 0}.updates-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.updates-head h2{font-family:Manrope;margin:4px 0 0;color:#0a2a5e}.slider-controls{display:flex;gap:7px}.update-slider{display:flex;gap:14px;overflow:auto;scrollbar-width:none;padding:4px 2px 9px}.update-slider::-webkit-scrollbar{display:none}.update-card{min-width:285px;display:flex;gap:12px;padding:11px;border:1px solid #e5eaf1;border-radius:17px;background:#fbfcfe;transition:transform .25s,box-shadow .25s,border-color .25s}.update-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(8,35,74,.10);border-color:#d4af37}.update-thumb{width:58px;height:72px;border-radius:11px;background:#edf2f8;display:grid;place-items:center;overflow:hidden;flex:none;color:#0a2a5e}.update-thumb img{width:100%;height:100%;object-fit:cover}.update-thumb i{font-size:23px}.update-card b{display:block;font-size:12px;color:#24344d;line-height:1.35}.update-card span{display:block;color:#8a96a8;font-size:10px;margin-top:5px}.update-card small{display:block;color:#a07d21;font-size:9px;font-weight:800;margin-top:8px}
.unit-card{overflow:hidden;position:relative;border:1px solid #e2e8f0;background:#fff;border-radius:24px;box-shadow:0 8px 25px rgba(11,38,75,.055);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;animation:cardIn .5s ease both}.unit-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#c09a32;opacity:.85}.unit-card:hover{transform:translateY(-6px);box-shadow:0 22px 50px rgba(8,35,74,.13);border-color:#d9c27a}.unit-head{background:var(--unit-light);padding:20px;display:flex;align-items:center;gap:13px;position:relative}.unit-icon{width:54px;height:54px;border-radius:17px;background:var(--unit-accent);color:#fff;display:grid;place-items:center;box-shadow:0 10px 22px rgba(10,42,94,.18);flex:none}.unit-icon i{font-size:20px}.unit-info h3{font-family:Manrope;color:#102a54;font-size:17px;margin:5px 0 6px;line-height:1.25}.unit-info p{font-size:10px;color:#718096;margin:0;line-height:1.5}.unit-info p i{margin-right:4px}.resource-group{padding:0 20px 5px}.resource-group-title{display:flex;align-items:center;gap:8px;padding:12px 0 7px;color:#68778e;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.resource-group-title:after{content:"";height:1px;background:#edf1f5;flex:1}.resource-group-title em{font-style:normal;background:#f2f5f9;padding:3px 7px;border-radius:999px;color:#8995a7}.file-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto 36px 36px;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf1f5}.file-row:last-child{border-bottom:0}.file-thumb{width:52px;height:62px;border-radius:10px;background:#f4f6f9;overflow:hidden;display:grid;place-items:center;color:#0a2a5e}.file-thumb img{width:100%;height:100%;object-fit:cover;object-position:top}.file-thumb i{font-size:21px}.file-thumb small{font-size:7px;font-weight:900}.file-main strong{display:block;font-size:12px;color:#26364f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-main span{display:block;font-size:9px;color:#8a96a8;margin-top:4px}.type-badge{border:1px solid #dbe2eb;background:#f8fafc;color:#64748b;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:800;white-space:nowrap}.action-eye,.action-cart{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;border:1px solid #e0e6ee;background:#fff;transition:.2s;color:#68778e}.action-eye:hover{color:#0a2a5e;border-color:#b9c8dc;background:#f5f8fc;transform:scale(1.06)}.action-cart{background:#0a2a5e;color:#fff;border-color:#0a2a5e;box-shadow:0 7px 15px rgba(10,42,94,.18)}.action-cart:hover{background:#c09a32;border-color:#c09a32;transform:scale(1.06)}.action-eye i,.action-cart i{font-size:13px}.unit-body{padding-bottom:8px}.unit-head-actions{z-index:2}.unit-add-all{box-shadow:0 6px 15px rgba(192,154,50,.08)}
@keyframes cardIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.unit-card:nth-child(2){animation-delay:.04s}.unit-card:nth-child(3){animation-delay:.08s}.unit-card:nth-child(4){animation-delay:.12s}.unit-card:nth-child(5){animation-delay:.16s}.unit-card:nth-child(6){animation-delay:.2s}
@media(max-width:900px){.file-row{grid-template-columns:48px minmax(0,1fr) 34px 34px}.type-badge{display:none}.unit-head{align-items:flex-start}.unit-head-actions{margin-left:auto}.update-card{min-width:260px}}
@media(max-width:620px){.store-hero{min-height:460px}.unit-head{padding:17px}.unit-head-actions{position:absolute;right:14px;top:14px}.doc-count{display:none}.unit-info{padding-right:78px}.file-row{grid-template-columns:44px minmax(0,1fr) 32px 32px;gap:8px}.file-thumb{width:44px;height:56px}.file-price{display:none}.resource-group{padding-left:15px;padding-right:15px}.updates-head h2{font-size:18px}}

/* v10 polish: cleaner unit-first cards, unit modal, curriculum review */
.unit-card{border:0;box-shadow:0 12px 34px rgba(10,42,94,.08);background:#fff}.unit-card:hover{transform:translateY(-7px);box-shadow:0 24px 60px rgba(10,42,94,.14)}
.unit-band{height:6px;background:linear-gradient(90deg,var(--unit-accent),color-mix(in srgb,var(--unit-accent),#fff 35%));}
.unit-head{background:linear-gradient(135deg,var(--unit-light),#fff);padding:21px 20px}.unit-info h3{font-size:18px;letter-spacing:-.02em}.unit-info p{font-size:11px;font-weight:700;color:#65748a}.unit-head-actions{min-width:110px}.unit-details{border:0;background:transparent;color:#0a2a5e;font-size:10px;font-weight:900;cursor:pointer;padding:0}.unit-details:hover{color:#c09a32}.unit-details i{margin-right:4px}.file-row{transition:background .2s,border-color .2s;padding:12px 0}.file-row:hover{background:#fbfcff;border-bottom-color:#dfe6ef}.file-main strong{font-size:12px}.file-thumb{box-shadow:0 5px 12px rgba(10,42,94,.06)}
.modal-backdrop{position:fixed;inset:0;background:rgba(5,18,38,.58);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;visibility:hidden;transition:.22s;z-index:9999}.modal-backdrop.show{opacity:1;visibility:visible}.unit-modal{position:relative;width:min(720px,100%);max-height:min(86vh,820px);overflow:auto;background:#fff;border-radius:26px;box-shadow:0 35px 100px rgba(0,0,0,.25);padding:32px;transform:translateY(16px) scale(.98);transition:.22s}.modal-backdrop.show .unit-modal{transform:none}.modal-close{position:absolute;right:18px;top:18px;width:38px;height:38px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:12px;cursor:pointer;color:#64748b}.modal-kicker{font-size:10px;font-weight:900;letter-spacing:.12em;color:#b18a27}.unit-modal h2{font-family:Manrope;color:#0a2a5e;font-size:27px;line-height:1.2;margin:8px 45px 5px 0}.modal-course{color:#68778e;font-weight:700;font-size:12px;margin:0 0 22px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.detail-grid>div{background:#f7f9fc;border:1px solid #e8edf4;border-radius:15px;padding:13px}.detail-grid span{display:block;font-size:8px;letter-spacing:.08em;font-weight:900;color:#8995a7}.detail-grid b{display:block;margin-top:5px;color:#24344d;font-size:11px;word-break:break-word}.modal-section{border-top:1px solid #e8edf4;margin-top:20px;padding-top:18px}.modal-section h3{font-family:Manrope;color:#0a2a5e;font-size:14px;margin:0 0 8px}.modal-section p{color:#56667d;line-height:1.7;font-size:12px;margin:0}.outcome-list>div{display:flex;gap:9px;padding:7px 0;color:#56667d;font-size:12px;line-height:1.5}.outcome-list i{color:#b18a27;margin-top:3px}.modal-open{overflow:hidden}
.curriculum-page{max-width:1180px;margin:auto}.curriculum-page .admin-top p{margin:7px 0 0;color:#6c7a90;max-width:720px;line-height:1.6}.curriculum-hero{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.curriculum-step{display:flex;gap:12px;align-items:center;padding:15px;background:#f8fafc;border:1px solid #e5eaf1;border-radius:16px}.curriculum-step>span,.unit-number{width:36px;height:36px;border-radius:11px;background:#0a2a5e;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:900;flex:none}.curriculum-step b{display:block;color:#23344d;font-size:12px}.curriculum-step small{display:block;color:#8190a4;margin-top:3px;font-size:10px;line-height:1.4}.field-help{display:block;color:#8995a7;font-size:10px;margin-top:6px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.panel-head h2{font-family:Manrope;color:#0a2a5e;margin:4px 0}.pill{padding:6px 10px;border-radius:999px;background:#f5edda;color:#98751f;font-size:10px;font-weight:900}.curriculum-review{display:grid;gap:14px}.curriculum-unit{border:1px solid #e4e9f0;border-radius:18px;padding:18px;background:#fff}.curriculum-unit-top{display:flex;gap:11px;align-items:center;margin-bottom:15px}.curriculum-unit-top h3{margin:0;color:#24344d;font-size:13px}.curriculum-unit-top small{color:#8995a7;font-size:10px}.curriculum-note{display:flex;gap:12px;align-items:flex-start;color:#65748a}.curriculum-note>i{color:#b18a27;margin-top:3px}.curriculum-note b{color:#24344d}.curriculum-note p{margin:5px 0 0;line-height:1.6;font-size:11px}
@media(max-width:760px){.detail-grid,.curriculum-hero{grid-template-columns:1fr}.unit-modal{padding:24px}.unit-modal h2{font-size:22px}.unit-head-actions{min-width:0}.unit-details{font-size:9px}.doc-count{font-size:9px}}

.curriculum-review textarea{resize:vertical}.curriculum-page .panel{box-shadow:0 10px 28px rgba(10,42,94,.05)}

/* v11: clean unit-first card header */
.unit-head{align-items:center;min-height:112px}
.unit-info{cursor:pointer;min-width:0}
.unit-info h3{margin:4px 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.18}
.unit-info p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}
.unit-icon{position:relative;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.unit-icon:hover,.unit-icon:focus-visible{transform:translateY(-2px) scale(1.03);box-shadow:0 14px 28px rgba(10,42,94,.24);outline:none}
.unit-hover-tip{position:absolute;left:50%;bottom:calc(100% + 9px);transform:translate(-50%,5px);background:#102a54;color:#fff;border-radius:8px;padding:6px 8px;font-size:8px;font-weight:800;white-space:nowrap;opacity:0;pointer-events:none;transition:.18s;box-shadow:0 8px 18px rgba(0,0,0,.16)}
.unit-hover-tip:after{content:"";position:absolute;left:50%;top:100%;margin-left:-4px;border:4px solid transparent;border-top-color:#102a54}
.unit-icon:hover .unit-hover-tip,.unit-icon:focus-visible .unit-hover-tip{opacity:1;transform:translate(-50%,0)}
.unit-details-trigger:focus-visible{outline:2px solid #c09a32;outline-offset:3px;border-radius:10px}
.unit-head-actions{margin-left:auto;flex:none;display:flex;align-items:center}
.doc-count{white-space:nowrap}
@media(max-width:760px){.unit-head{min-height:100px}.unit-info h3{-webkit-line-clamp:2}.unit-info p{max-width:240px}.unit-hover-tip{display:none}}

/* v12 storefront polish */
.mobile-library-search{display:none}
.cart-toast{position:fixed;right:24px;bottom:24px;z-index:120;display:flex;align-items:center;gap:12px;max-width:min(520px,calc(100vw - 28px));padding:14px 16px;background:rgba(255,255,255,.97);border:1px solid #e3e9f2;border-radius:18px;box-shadow:0 24px 70px rgba(10,42,94,.2);transform:translateY(30px) scale(.96);opacity:0;pointer-events:none;transition:.28s cubic-bezier(.2,.8,.2,1);backdrop-filter:blur(12px)}
.cart-toast.show{transform:none;opacity:1;pointer-events:auto}.cart-toast-icon{width:40px;height:40px;border-radius:13px;background:#eaf7ef;color:#16834a;display:grid;place-items:center;flex:none}.cart-toast-copy{min-width:0;flex:1}.cart-toast-copy strong{display:block;color:#102a54;font:800 12px Manrope}.cart-toast-copy span{display:block;margin-top:3px;color:#718096;font-size:10px;line-height:1.45}.cart-toast-actions{display:flex;align-items:center;gap:7px;flex:none}.toast-continue{border:0;background:transparent;color:#0a2a5e;font-size:10px;font-weight:800;cursor:pointer;padding:8px}.toast-close{border:0;background:#f4f6f9;color:#7a8799;width:28px;height:28px;border-radius:9px;cursor:pointer}.btn-sm{padding:9px 12px!important;font-size:10px!important}.action-cart.is-loading{opacity:.55;pointer-events:none;animation:pulseCart .8s infinite}.action-cart.is-loading i{animation:spin .7s linear infinite}@keyframes pulseCart{50%{transform:scale(.92)}}@keyframes spin{to{transform:rotate(360deg)}}
.unit-card{will-change:transform}.unit-card:after{content:"";position:absolute;inset:0;border-radius:24px;pointer-events:none;background:linear-gradient(120deg,transparent 35%,rgba(255,255,255,.55) 50%,transparent 65%);transform:translateX(-120%);transition:transform .7s ease}.unit-card:hover:after{transform:translateX(120%)}.unit-band{height:6px!important;background:linear-gradient(90deg,var(--unit-accent),color-mix(in srgb,var(--unit-accent) 45%,#d4af37))!important}.file-row{border-radius:14px;margin:2px 0;padding-left:7px;padding-right:7px}.file-row:hover{box-shadow:inset 0 0 0 1px #edf2f7,0 7px 18px rgba(10,42,94,.045);transform:translateX(2px)}.action-eye,.action-cart{position:relative;z-index:3}.action-eye:active,.action-cart:active{transform:scale(.92)}
.checkout-grid{align-items:start}.checkout-grid>.panel{border:1px solid #e4eaf2;box-shadow:0 18px 55px rgba(10,42,94,.07);border-radius:24px}.checkout-grid .panel-head{padding-bottom:16px;border-bottom:1px solid #edf1f6;margin-bottom:18px}.checkout-grid h2{font-family:Manrope;color:#102a54;letter-spacing:-.02em}.checkout-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.checkout-actions .btn{min-height:48px;justify-content:center}.order-summary{position:sticky;top:90px;background:linear-gradient(145deg,#fff,#f8fbff)}.order-summary h2{margin:8px 0 18px}.summary-row{padding:12px 0;border-bottom:1px solid #edf1f6}.summary-row strong{font-size:11px;color:#243650}.summary-row span{font-size:9px;color:#8a97aa}.total-row{margin-top:12px;padding-top:14px;border-top:2px solid #e9edf3}.total-row b{font-size:20px;color:#0a2a5e}.trust{margin-top:18px;border-radius:14px;background:#f3f8fc;padding:12px;color:#63738a;font-size:10px;line-height:1.5}.trust svg{color:#16834a}.checkout-grid .input{border-radius:12px;min-height:44px}.checkout-grid .check{font-size:10px;color:#66758a}.micro{background:#f8fafc;border:1px solid #e9edf3;border-radius:13px;padding:11px;font-size:9px;line-height:1.55;color:#7b8798}.cart-page{background:linear-gradient(180deg,#f7f9fc 0,#fff 65%)}.cart-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.cart-heading h1{font:800 34px Manrope;color:#102a54;margin:5px 0}.cart-heading p{color:#78869a;font-size:12px}.cart-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);gap:18px}.cart-items-panel,.cart-summary{border:1px solid #e4eaf2!important;box-shadow:0 16px 45px rgba(10,42,94,.06)!important;border-radius:24px!important}.cart-panel-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:15px;border-bottom:1px solid #edf1f6}.cart-panel-head h2{margin:0;font:800 16px Manrope;color:#102a54}.cart-panel-head span{font-size:9px;color:#8b98aa}.cart-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto 34px;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #edf1f6}.cart-item:last-child{border-bottom:0}.cart-item-icon{width:48px;height:54px;border-radius:12px;background:#edf3fa;color:#0a2a5e;display:grid;place-items:center;font-size:20px}.cart-item-main strong{display:block;color:#26364f;font-size:11px}.cart-item-main span,.cart-item-main small{display:block;color:#8794a7;font-size:9px;margin-top:3px}.cart-item-price{font-size:11px;color:#0a2a5e}.cart-remove{color:#8c98a8}.cart-summary{position:sticky;top:90px}.cart-summary h2{font:800 20px Manrope;color:#102a54;margin:6px 0 25px}.summary-total{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6}.summary-total strong{font-size:22px;color:#0a2a5e}.summary-trust{display:flex;gap:9px;align-items:flex-start;margin:15px 0;color:#718096;font-size:9px;line-height:1.5}.summary-trust i{color:#16834a}.continue-link{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:13px;color:#0a2a5e;font-size:10px;font-weight:800}.cart-empty{text-align:center;padding:65px 20px;border-radius:24px!important}.empty-icon{width:64px;height:64px;border-radius:20px;background:#eef4fb;color:#0a2a5e;display:grid;place-items:center;margin:0 auto 15px;font-size:24px}
@media(max-width:760px){.mobile-library-search{display:block;margin:0 0 15px;padding:13px;border:1px solid #e1e8f0;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(10,42,94,.055)}.mobile-library-search label{display:flex;gap:7px;align-items:center;color:#52637a;font:800 9px Manrope;margin-bottom:8px;text-transform:uppercase;letter-spacing:.08em}.mobile-search-box{height:44px;border:1px solid #dce4ee;border-radius:13px;display:flex;align-items:center;padding:0 12px;gap:8px}.mobile-search-box:focus-within{border-color:#c09a32;box-shadow:0 0 0 3px rgba(192,154,50,.1)}.mobile-search-box i{color:#8b99ac}.mobile-search-box input{border:0;outline:0;width:100%;font:500 12px Inter;color:#243650;background:transparent}.cart-toast{left:14px;right:14px;bottom:14px;max-width:none}.cart-toast-actions{gap:3px}.toast-continue{display:none}.checkout-actions{grid-template-columns:1fr}.order-summary,.cart-summary{position:static}.cart-heading{align-items:flex-start;flex-direction:column}.cart-heading .btn{width:100%;justify-content:center}.cart-grid{grid-template-columns:1fr}.cart-item{grid-template-columns:42px minmax(0,1fr) auto 30px}.cart-item-icon{width:42px;height:48px}.cart-item-price{font-size:10px}.unit-card:after{display:none}}

/* v12 import bundle guidance */
.bundle-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 16px}.bundle-status{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #e3e9f1;border-radius:16px;background:linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 7px 22px rgba(10,42,94,.04)}.bundle-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:none}.bundle-icon.practical{background:#edf8f4;color:#18764b}.bundle-icon.written{background:#f2effa;color:#6a4aa1}.bundle-status div:nth-child(2){min-width:0;flex:1}.bundle-status b{display:block;font:800 10px Manrope;color:#173258}.bundle-status small{display:block;margin-top:3px;color:#7e8ca0;font-size:8px;line-height:1.45}.bundle-status>strong{font:800 18px Manrope;color:#0a2a5e}
@media(max-width:700px){.bundle-status-grid{grid-template-columns:1fr}.bundle-status{padding:11px}.cart-toast-copy span{font-size:9px}}

/* Document first-page preview modal */
.document-preview-modal{position:relative;width:min(1040px,100%);max-height:min(88vh,860px);overflow:auto;background:#fff;border-radius:28px;box-shadow:0 35px 110px rgba(0,0,0,.3);transform:translateY(18px) scale(.97);transition:.25s cubic-bezier(.2,.8,.2,1);padding:22px}
.modal-backdrop.show .document-preview-modal{transform:none}
.document-preview-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:24px;align-items:stretch}
.document-preview-image{min-height:520px;border-radius:20px;background:linear-gradient(145deg,#edf2f7,#f8fafc);display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #e3e8ef;position:relative}
.document-preview-image img{display:block;max-width:100%;max-height:76vh;width:auto;height:auto;object-fit:contain;background:#fff;box-shadow:0 18px 45px rgba(10,42,94,.16);animation:previewIn .3s ease}
.preview-loading,.preview-unavailable{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#718096;text-align:center;padding:30px}
.preview-loading{font-size:13px;font-weight:700}
.preview-spinner{width:34px;height:34px;border:3px solid #dce4ee;border-top-color:#c09a32;border-radius:50%;animation:previewSpin .8s linear infinite}
.preview-unavailable i{font-size:38px;color:#8b99ac;margin-bottom:4px}.preview-unavailable strong{color:#24334a;font-family:Manrope,Inter,sans-serif}.preview-unavailable span{max-width:280px;font-size:13px}
.document-preview-info{padding:20px 16px 20px 4px;display:flex;flex-direction:column;justify-content:center}.document-preview-info h2{font-family:Manrope,Inter,sans-serif;color:#0a2a5e;font-size:29px;line-height:1.2;margin:10px 42px 8px 0}.preview-meta{margin:0 0 20px;color:#7a889d;font-size:13px;font-weight:700}.preview-mini-grid{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:20px}.preview-mini-grid div{padding:13px 14px;background:#f7f9fc;border:1px solid #e5eaf0;border-radius:14px}.preview-mini-grid span{display:block;font-size:9px;letter-spacing:.1em;font-weight:800;color:#91a0b4;margin-bottom:5px}.preview-mini-grid b{display:block;color:#263752;font-size:13px;line-height:1.35}.preview-note{margin:0 0 22px;padding:13px 14px;border-radius:14px;background:#fff8e7;color:#6f5b20;font-size:12px;line-height:1.55}.preview-note i{margin-right:5px}.preview-actions{display:flex;gap:10px;flex-wrap:wrap}.preview-actions .btn{flex:1;min-width:150px}.document-preview-trigger{cursor:pointer}
@keyframes previewSpin{to{transform:rotate(360deg)}}@keyframes previewIn{from{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}
@media(max-width:760px){.document-preview-modal{padding:12px;border-radius:22px;max-height:92vh}.document-preview-layout{grid-template-columns:1fr;gap:12px}.document-preview-image{min-height:300px;max-height:52vh}.document-preview-image img{max-height:50vh}.document-preview-info{padding:8px 8px 14px}.document-preview-info h2{font-size:22px}.preview-actions{flex-direction:column}.preview-actions .btn{width:100%}}

/* Promo code / discount UI */
.coupon-box{margin:18px 0;padding:16px;border:1px solid #e7ebf2;border-radius:18px;background:linear-gradient(135deg,#fbfcff,#fff);display:flex;gap:18px;align-items:center;justify-content:space-between}
.coupon-box>div{display:flex;flex-direction:column;gap:4px}.coupon-box strong{font-family:Manrope,sans-serif;color:#0A2A5E}.coupon-box strong i{margin-right:7px}.coupon-box span{font-size:13px;color:#7a8699}.coupon-form{display:flex;gap:8px;min-width:310px}.coupon-form .input{min-width:0}.summary-line{display:flex;justify-content:space-between;padding:8px 0;color:#667085}.summary-line.discount{color:#16845b}.summary-line.discount b{font-weight:800}.summary-line small{font-size:11px}
@media(max-width:720px){.coupon-box{display:block}.coupon-form{margin-top:12px;min-width:0}.coupon-form .btn{white-space:nowrap}}
