@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');
/* DGC visual identity — royal purple, antique gold and warm ivory. */
:root{--bg:#f8f6fc;--white:#fff;--ink:#2e203e;--muted:#83768f;--line:#eae4f0;--green:#7135a6;--lime:#f0e5f8;--orange:#b88b38;--red:#b74961;--purple:#7135a6;--purple-dark:#2d1049;--gold:#d9b366;--serif:'Lora',Georgia,serif}
body{background:var(--bg);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}button,a,input,select,textarea{transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}button:focus-visible,a:focus-visible{outline:3px solid #c9a3e4;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:none;border-color:#a76ecc!important;box-shadow:0 0 0 4px #7c35b00e}button:disabled{transform:none!important}
.shell{grid-template-columns:248px 1fr}.sidebar{width:248px;overflow-y:auto;padding:29px 18px 23px;border:0;background:linear-gradient(160deg,#2b1242,#241035 72%);color:#fff;box-shadow:8px 0 35px #32134204}.brand{padding:0 10px;gap:11px;align-items:center}.brand-crest{display:block;object-fit:contain;flex-shrink:0;width:52px;height:52px;border-radius:12px;border:1px solid #ffffff26;box-shadow:0 4px 18px #17052120}.brand-wordmark{font:750 25px/1.05 'Manrope',Arial,sans-serif;letter-spacing:1.5px}.brand .brand-wordmark span{font:600 8px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:2.3px;margin-top:7px;color:#dfc085}.brand-sub{font-size:8px;color:#aa94bb;letter-spacing:2.5px;margin:21px 13px 35px;padding-bottom:24px;border-bottom:1px solid #ffffff10}.nav-label{font-size:9px;color:#9b82af;letter-spacing:1.8px;padding-left:15px;margin-bottom:17px}.nav{gap:8px}.nav button{color:#c3b4ce;border-radius:9px;font-size:12px;padding:14px;gap:12px;position:relative}.nav button:hover{background:#ffffff09;color:#fff}.nav button.active{background:linear-gradient(100deg,#7c3eae,#64328e);color:#fff;box-shadow:0 6px 15px #12041b20}.nav button.active:before{content:'';position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:3px;background:var(--gold)}.nav button.active .icon{color:#ead0fb}.nav .count{color:#e8d2f7;background:#ffffff14;font-size:10px}.nav .active .count{background:#ffffff20}.sidebar-bottom{padding-top:45px}.help-card{background:linear-gradient(135deg,#ffffff08,#ffffff02);border:1px solid #ffffff14;border-radius:12px;padding:20px 15px}.help-card>.icon{color:var(--gold);width:23px;height:23px;margin-bottom:12px}.help-card strong{font-size:12px;color:#f0e8f5;font-weight:500;line-height:1.7}.help-card p{font-size:10px;color:#b19bbf;line-height:1.9;margin:7px 0 15px}.help-card .text-btn{color:#e1bf7b;font-size:10px}.profile{margin-top:20px;border-top:1px solid #ffffff10;padding:20px 6px 0}.profile .avatar{background:#ffffff12;border:1px solid #ffffff1c;color:#e1c78f}.profile strong{color:#e4d8ec;font-size:11px}.profile small{color:#a48cb6}.avatar{background:#f0e6f7;color:#7b459e;border:1px solid #e8d9f1}
.topbar{height:83px;padding:0 40px;background:#fff;border-bottom:1px solid #eee8f3}.breadcrumb{color:#a699b2;font-size:11px}.breadcrumb b{color:#655073}.top-actions{gap:19px}.demo-badge{background:#f8f5fb;color:#7e6692;border:1px solid #eee7f4;font-size:9px;letter-spacing:.6px;padding:7px 10px;display:inline-flex;align-items:center;gap:6px;text-transform:none;border-radius:20px}.live-dot{width:5px;height:5px;background:#a78a4e;border-radius:50%}.account-btn{font-size:11px;gap:9px}.account-btn small{font-size:9px;color:#96849f}.account-btn .avatar{background:#f1e7f7;width:34px;height:34px}.topbar .icon-btn{color:#826591;border-left:1px solid #ede6f1;padding-left:13px}.content{padding:32px 40px 25px;max-width:1600px}.page-heading{margin-bottom:25px}.eyebrow{color:#9a7aab;font-size:9px;letter-spacing:2px;font-weight:650}.page-heading h1{font:700 28px/1.3 'Manrope',sans-serif;letter-spacing:-.9px;margin:8px 0}.page-heading h1>span{color:#b28d49}.page-heading p{font-size:12px;color:#8c7d98}.btn{border-radius:8px;border-color:#e8dfee;font-size:11px;padding:11px 16px;color:#65417f;min-height:39px}.btn.primary{background:linear-gradient(115deg,#7b3bab,#652a94);border-color:transparent;color:#fff;box-shadow:0 4px 12px #67259316}.btn.primary:hover{filter:none;background:linear-gradient(115deg,#8848b9,#7336a0);transform:translateY(-1px);box-shadow:0 7px 17px #67259322}.btn.small{min-height:32px}.btn.danger{color:#ad5369}.btn:not(.primary):hover{background:#fbf8fd;filter:none}.text-btn{color:#7d499d;font-size:11px}.icon-btn{color:#9464b0}
.hero{background:radial-gradient(ellipse at 75% 0%,#75469b55,transparent 60%),linear-gradient(112deg,#381451 0%,#502270 62%,#643286);border:0;border-radius:15px;padding:30px 34px;min-height:238px;margin-bottom:23px;color:#fff;box-shadow:0 8px 26px #45125f0b}.hero:after{content:'';position:absolute;right:-120px;top:-150px;width:460px;height:460px;border:1px solid #e4c78512;border-radius:50%;pointer-events:none}.hero>div:first-child{position:relative;z-index:1}.hero .eyebrow{color:#d8be8e;font-size:8px;letter-spacing:2px;display:flex;align-items:center;gap:10px}.gold-line{height:1px;width:25px;background:#ccaa67;display:inline-block}.hero h2{font:400 31px/1.2 var(--serif);letter-spacing:-.8px;margin:14px 0 11px}.hero h2 em{color:#e2c181;font-style:italic;font-weight:400}.hero p{color:#c9b3d9;font-size:11px;line-height:1.8;margin:0 0 9px}.hero-link{color:#eed6a3;background:#ffffff09;border:1px solid #ffffff22;padding:9px 13px;margin-top:6px;border-radius:6px;font-size:10px;gap:18px;letter-spacing:.2px}.hero-link .icon{width:15px;height:15px}.hero-link:hover{background:#ffffff15}.hero-art{width:330px;height:220px;margin-right:10px;position:relative;align-self:center;z-index:1;display:flex;align-items:center;justify-content:center;flex-shrink:0}.hero-art img{width:330px;position:relative;z-index:1;transform:translateY(-7px)}.hero-orbit{width:225px;height:225px;border:1px solid #d9b36626;border-radius:50%;position:absolute;right:32px;top:0;background:radial-gradient(circle,#a267c328,#a267c300 70%)}.hero-orbit:after{content:'';position:absolute;border:1px solid #d9b36612;inset:17px;border-radius:50%}.hero-spark{position:absolute;color:#dcbc80}.hero-spark.one{right:18px;top:49px;font-size:20px}.hero-spark.two{left:21px;bottom:35px;font-size:24px}
.metrics{gap:16px;margin-bottom:26px}.metric{background:#fff;border:1px solid #eae3f1;border-radius:12px;padding:21px;box-shadow:0 3px 12px #48256103;transition:transform .2s,box-shadow .2s}.metric:hover{transform:translateY(-3px);box-shadow:0 8px 25px #48256109}.metric .metric-icon{background:#f1e9f8;color:#8f54b5;padding:10px;border-radius:11px;top:19px;right:18px}.metric:nth-child(2) .metric-icon{background:#fcf4e5;color:#b99756}.metric:nth-child(3) .metric-icon{background:#f0ebfb;color:#9780be}.metric:nth-child(4) .metric-icon{background:#fff0ed;color:#c58476}.metric-label{color:#897992;font-size:11px}.metric-value{font:650 30px 'Manrope',sans-serif;color:#3c2751;margin:13px 0 8px;letter-spacing:-1.2px}.metric-note{color:#9c8da8;font-size:9px}.metric-note b{color:#997bb0}.dashboard-grid{gap:22px;grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr)}.panel{border-radius:13px;border:1px solid #e9e2ef;box-shadow:0 3px 12px #48256103;padding:23px}.section-head h2{font:650 15px 'Manrope',sans-serif;color:#443051;letter-spacing:-.2px}.section-head p{font-size:10px;color:#a08ba9;margin-top:7px}.section-head .text-btn{font-size:10px}.empty{padding:35px 15px 37px;font-size:11px;color:#a08fa9;line-height:1.7;display:flex;flex-direction:column;align-items:center;gap:6px}.empty strong{font-weight:550;color:#776084;font-size:12px}.empty-illustration{display:flex;align-items:center;justify-content:center;width:46px;height:46px;background:#f7f1fb;border:1px solid #ece2f3;border-radius:14px;color:#b394c9;margin-bottom:7px;transform:rotate(-6deg)}.empty-illustration .icon{width:22px;height:22px;transform:rotate(6deg)}.empty-illustration.gold{color:#b79a60;background:#fcf7ec;border-color:#f1e7d0;transform:rotate(6deg)}th{background:#fbf9fd;color:#9a87a6;font-size:9px;border-color:#eee6f5;padding:13px 10px}td{border-color:#f0eaf5;color:#887294;font-size:11px}td strong{color:#5c416d}td small{color:#a48eaf}.request-item{border-color:#eee7f3}.request-name strong{color:#5c426e}.request-name small{color:#a48cb0}.request-detail{color:#9a7cae}.request-detail strong{color:#76518e}.request-actions small{color:#a18cab}.request-card{border-radius:13px;border-color:#e9e0f0;padding:23px;box-shadow:0 5px 20px #4c245905}.request-card .meta{color:#947a9f}.request-card h3{color:#4b2d61}.badge{background:#f0e8f8;color:#8a5caa;border-radius:5px;font-size:9px;padding:5px 8px}.badge.amber{background:#fcf4e6;color:#af8947}.badge.purple{background:#eee9fa;color:#8570b6}.badge.red{background:#fbeaf0;color:#b76a80}.badge.gray{background:#f2eff5;color:#95839f}
.catalog-section{margin-top:29px}.books-grid{gap:17px}.book-card{border-radius:12px;border-color:#e8e0ee;box-shadow:0 3px 10px #45225f03;transition:transform .22s,box-shadow .22s}.book-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #45225f0c}.cover-stage{height:180px;background:radial-gradient(ellipse at 50% 30%,#f8f5fc,#f1ebf8);padding:20px}.book-card:nth-child(2n) .cover-stage{background:radial-gradient(ellipse at 50% 30%,#fcf9f1,#f4efe3)}.book-card:nth-child(3n) .cover-stage{background:radial-gradient(ellipse at 50% 30%,#f9f2f7,#f3e9f1)}.cover-stage:hover{background:#eee4f6}.cover{box-shadow:8px 9px 14px #35204222,inset 4px 0 #0002}.book-info{padding:16px}.book-info .genre{font-size:8px;color:#a087ae;letter-spacing:1.2px}.book-info h3{color:#4d355c;font-size:11px;margin:8px 0 5px;line-height:1.6}.book-info p{color:#a08ba9;font-size:10px;margin-bottom:13px}.search-box{border-radius:9px;border-color:#e8e0ee;padding:12px 14px;color:#aa8cbb}.search-box input{color:#5b3e6d;font-size:12px}.filter{color:#8f709f;border-color:#e8e0ee;border-radius:9px;padding:11px 13px}.tabs{border-color:#e6dcec;gap:9px}.tabs button{color:#9c82ac;border-radius:6px 6px 0 0}.tabs button.selected{color:#763ba0;background:#f0e6f7;border-color:#9a63bf}.footer{border-color:#e9e1ee;color:#a795b2;font-size:9px;letter-spacing:.15px;margin-top:28px}.notice{color:#896399;background:#f7f0fb;border-color:#e8d8f2;border-radius:9px;font-size:12px}.notice.warn{color:#a2824a;background:#fdf7eb;border-color:#f1e5cf}.loan-focus{border-radius:20px;border-color:#e9def1;box-shadow:0 12px 50px #53207707}.loan-focus h2{font-family:var(--serif);font-weight:500;font-size:30px}.timer{gap:12px}.timer>div{background:#f9f5fc;border:1px solid #eee4f5;border-radius:10px;min-width:84px;padding:12px}.timer strong{color:#76479a;font-weight:500;font-size:36px}.timer small{color:#ac92b9;font-size:8px}.overlay{background:#28103973;backdrop-filter:blur(7px)}.modal{border-radius:18px;box-shadow:0 30px 100px #210e3b30;padding:30px}.modal h2{font-family:var(--serif);font-size:25px;font-weight:500;line-height:1.3;letter-spacing:-.7px}.modal-head{gap:12px}.modal label{color:#785b8a}.modal input,.modal select,.modal textarea{background:#fdfbff;border-color:#e7dced;color:#4f3262;border-radius:8px}.modal p{color:#9883a4}.detail-list small{color:#a68ab6}.detail-list span{color:#694c7d}.documentation p,.documentation li{color:#8f759e}.documentation a{color:#8648b1}.subheading{color:#9270a4}#toast{background:#4f236e;border:1px solid #8d59af;border-radius:10px;box-shadow:0 8px 30px #38154b24}.onboarding input{border-color:#e6d7ee;background:#fff}.error{color:#b34d6c!important}
/* Dedicated login page */
.auth-layout{display:grid;grid-template-columns:minmax(430px,46%) minmax(0,1fr);min-height:100svh;background:#fbf9fc}.auth-story{background:radial-gradient(ellipse at 10% 60%,#722ba460,transparent 70%),radial-gradient(ellipse at 100% 5%,#9964b945,transparent 50%),linear-gradient(145deg,#40135f,#2e1049);padding:35px 48px 28px;color:white;isolation:isolate}.auth-story:before,.auth-story:after{content:'';position:absolute;width:700px;height:700px;border:1px solid #d6b46d13;border-radius:50%;z-index:-1;pointer-events:none}.auth-story:before{right:-420px;top:-360px}.auth-story:after{left:-400px;bottom:-480px}.auth-story .brand{padding:0;gap:13px}.auth-story .brand-crest{width:59px;height:59px;border-radius:13px;border:1px solid #e3ca922d;box-shadow:0 5px 24px #16012220}.auth-story .brand-wordmark{font-size:26px;color:#fff;letter-spacing:2px}.auth-story .brand-wordmark span{font-size:9px;color:#dfc184;letter-spacing:2.5px}.auth-story-content{margin:auto 0;padding:42px 18px 20px}.auth-kicker{color:#c4a9d8;font-size:8px;letter-spacing:2.3px;display:flex;align-items:center;gap:10px}.auth-kicker>span{color:#dcb767;font-size:17px}.auth-story h1{font:400 clamp(48px,4.5vw,70px)/1.08 var(--serif);letter-spacing:-2.7px;color:#fff9ff;margin:22px 0}.auth-story h1 em{color:#e1bf7a;font-style:italic;font-weight:400}.auth-story p{font-size:12px;line-height:1.95;color:#c0a8d1;margin:0}.auth-art{position:relative;height:213px;margin:15px 0 0;max-width:370px;display:flex;align-items:center;justify-content:center}.auth-art img{position:relative;width:345px;height:236px;max-width:100%;z-index:1;object-fit:contain;transform:translate(-4px,-5px)}.art-orbit{position:absolute;border:1px solid #d9b3661b;border-radius:50%;pointer-events:none}.orbit-one{width:195px;height:195px;right:28px;top:5px}.orbit-two{width:245px;height:245px;right:3px;top:-20px;border-style:dashed;opacity:.4}.art-caption{position:absolute;bottom:-10px;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:8px;color:#c9acd9;font-size:7px;letter-spacing:2px}.art-caption span{color:#d5b774;font-size:13px}.auth-story-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #ffffff14;padding-top:20px;font-size:7px;letter-spacing:1.6px;color:#ad8fc4;margin-top:20px}.footer-star{font-size:12px;color:#b49053}.auth-form-wrap{background:radial-gradient(ellipse at 100% 100%,#f3ecf8,transparent 60%),#fdfbfe;padding:32px 55px 22px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;position:relative}.auth-form-top{width:100%;display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.5px;color:#ad99b9;gap:15px}.portal-chip{display:flex;align-items:center;gap:6px;font-size:9px;letter-spacing:.1px;border:1px solid #e9e0ef;border-radius:30px;padding:8px 12px;background:#fff;color:#9874ad}.portal-chip .icon{width:12px;height:12px}.auth-form{max-width:360px;width:100%;margin:45px 0 35px}.auth-welcome-icon{width:45px;height:45px;border:1px solid #e9dbf2;background:linear-gradient(135deg,#f7effb,#eee1f7);color:#9661b6;border-radius:13px;display:flex;align-items:center;justify-content:center;margin-bottom:24px;box-shadow:0 3px 9px #72279c05}.auth-welcome-icon .icon{width:22px;height:22px}.auth-form .eyebrow{font-size:8px;letter-spacing:1.8px;color:#a688b7}.auth-form h2{font:500 35px/1.25 var(--serif);letter-spacing:-1.4px;color:#372147;margin:10px 0 12px}.auth-form>p{font-size:12px;color:#9a85a8;line-height:1.8;margin:0 0 28px;max-width:315px}.auth-form label{font-size:11px;font-weight:550;color:#674e78;margin:19px 0 9px}.auth-form input{height:48px;border:1px solid #e7dcec;border-radius:8px;background:#fff;color:#5d3d73;padding:12px 14px;font-size:12px;box-shadow:0 2px 5px #44205c02;transition:.2s}.auth-form input::placeholder{color:#b6a6c0;font-size:11px}.auth-form input:focus{border-color:#b28aca;box-shadow:0 0 0 3px #8f47ba0b}.password-field{position:relative}.password-field input{padding-right:45px}.password-toggle{border:0;position:absolute;right:8px;top:8px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:#b29abf;background:transparent;border-radius:5px}.password-toggle:hover{background:#f7effb;color:#9259b1}.password-toggle svg{width:17px;height:17px}.form-options{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:15px 0 2px;font-size:9px;color:#a390b0}.form-options>span{display:flex;align-items:center;gap:4px}.form-options .icon{width:12px;height:12px;color:#ba9a5c}.form-options .text-btn{font-size:10px;color:#9c6ab6;font-weight:500}.auth-form form>.btn{margin-top:19px;height:47px;min-height:47px;border-radius:8px;justify-content:space-between;padding:14px 19px;font-size:11px;box-shadow:0 7px 16px #6c2f9719;background:linear-gradient(110deg,#8647b3,#6c2c9b);font-weight:550}.auth-form form>.btn .icon{width:16px;height:16px;color:#e6cdf5}.auth-form form>.btn:hover{background:linear-gradient(110deg,#9557c2,#7d3aa9)}.auth-form .error:empty{margin:0}.auth-links{justify-content:center;text-align:center;display:flex;gap:0;margin-top:22px;font-size:10px;color:#a18bad;line-height:2}.auth-links .text-btn{font-size:10px;color:#8b4cae;font-weight:600;margin-left:3px}.auth-links .icon{width:12px;height:12px;margin-left:3px}.auth-note{border-top:1px solid #ece3f2;font-size:9px;color:#b09bbb;padding-top:24px;margin-top:28px;gap:7px;letter-spacing:.15px}.small-lock{display:flex;align-items:center;color:#b6a0c3}.small-lock .icon{width:13px;height:13px}.delivery-note{font-size:8px;line-height:1.8;color:#ad99b6;margin:22px 0 0;text-align:center}.delivery-note>span{font-size:7px;letter-spacing:1px;color:#ae945e;display:block;margin-bottom:4px}.auth-form-footer{display:flex;justify-content:space-between;gap:18px;width:100%;font-size:8px;color:#b39fbf;line-height:1.8}.auth-form .notice{font-size:11px}.auth-form .error{font-size:11px}
@media(min-width:1600px){.auth-story{padding-inline:65px}.auth-story-content{padding-inline:30px}.auth-story h1{font-size:78px}.auth-art{height:240px;margin-top:25px}.auth-art img{width:390px;height:266px}.auth-form{max-width:390px}.auth-form h2{font-size:40px}.auth-form input{height:52px}.auth-form form>.btn{height:52px}.auth-form>p{font-size:13px}.content{padding:36px 48px}.hero{min-height:260px}.hero h2{font-size:36px}.hero-art{margin-right:60px}}
@media(max-width:1200px){.shell{grid-template-columns:218px 1fr}.sidebar{width:218px;padding-inline:14px}.brand-crest{width:45px;height:45px}.brand-wordmark{font-size:22px}.brand .brand-wordmark span{font-size:7px;letter-spacing:1.8px}.brand-sub{font-size:7px;margin-inline:12px}.content{padding:28px}.topbar{padding:0 28px}.hero{padding:28px}.hero-art{width:240px;margin-right:0;transform:none}.hero-art img{width:280px;max-width:none}.hero h2{font-size:29px}.hero-orbit{width:200px;height:200px;right:15px;top:10px}.hero-spark.one{right:4px}.hero-spark.two{left:0}.dashboard-grid{gap:17px;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr)}.panel{padding:18px}.metric{padding:17px}.metric .metric-icon{padding:8px;right:12px;top:16px}.metric-label{font-size:10px}.metric-note{font-size:8px}.book-info{padding:13px}.auth-story{padding-inline:32px}.auth-story-content{padding-inline:10px}.auth-form-wrap{padding-inline:40px}.auth-layout{grid-template-columns:minmax(380px,46%) minmax(0,1fr)}.auth-story h1{font-size:59px}.auth-form-top{font-size:7px;letter-spacing:1px}}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.requests-panel{display:block}.requests-panel .empty{padding:21px 10px}.top-actions .demo-badge{display:none}.metric .metric-icon{display:none}.hero h2{font-size:28px}.hero-art{width:190px}.hero-art img{width:240px}.hero-orbit{width:165px;height:165px;top:35px;right:0}.hero p{font-size:10px}.auth-layout{grid-template-columns:minmax(340px,44%) minmax(0,1fr)}.auth-story{padding-inline:25px}.auth-story h1{font-size:50px;letter-spacing:-2px}.auth-kicker{font-size:6px;letter-spacing:1.5px}.auth-form-wrap{padding-inline:30px}.auth-story-footer{font-size:6px;letter-spacing:1px}.auth-form-footer{font-size:7px}.auth-art{height:190px}.auth-art img{width:305px}.auth-form h2{font-size:32px}}
@media(max-width:800px){.auth-layout{display:block}.auth-story{padding:19px 24px;background:linear-gradient(110deg,#3e165c,#5d2b7f)}.auth-story .brand-crest{width:45px;height:45px;border-radius:10px}.auth-story .brand-wordmark{font-size:23px}.auth-story .brand-wordmark span{font-size:7px;letter-spacing:2px}.auth-story-content,.auth-story-footer{display:none}.auth-form-wrap{min-height:calc(100svh - 83px);padding:23px 25px 18px}.auth-form-top{max-width:400px}.auth-form{max-width:380px;margin:38px 0 34px}.auth-form h2{font-size:35px}.auth-form-footer{max-width:400px;font-size:7px}.auth-welcome-icon{margin-bottom:22px}.auth-form>p{font-size:12px}.auth-form-top>span:first-child{font-size:7px}.auth-form .eyebrow{font-size:8px}.delivery-note{font-size:8px}.portal-chip{padding:6px 9px;font-size:8px}}
@media(max-width:720px){.shell{display:block}.sidebar{position:static;width:auto;padding:17px 18px 12px;border:0}.sidebar .brand{padding:0;gap:10px}.sidebar .brand-crest{width:40px;height:40px;border-radius:9px}.sidebar .brand-wordmark{font-size:22px}.sidebar .brand-wordmark span{font-size:7px;margin-top:4px}.brand-sub,.nav-label,.sidebar-bottom{display:none}.nav{margin-top:19px;gap:5px}.nav button{font-size:10px;gap:7px;padding:11px 13px;border-radius:7px}.nav button.active:before{top:11px;bottom:11px;width:2px}.nav .icon{width:15px;height:15px}.topbar{padding:0 18px;height:63px}.breadcrumb{font-size:10px;gap:8px}.account-btn>span:not(.avatar){display:none}.account-btn .avatar{width:31px;height:31px}.top-actions{gap:9px}.topbar .icon-btn{padding-left:10px}.content{padding:25px 18px 20px}.page-heading{gap:12px;margin-bottom:24px}.page-heading h1{font-size:23px;letter-spacing:-.7px}.page-heading p{font-size:10px;line-height:1.8}.page-heading .eyebrow{font-size:7px;letter-spacing:1.5px}.page-heading .btn{font-size:9px;padding:9px 10px;gap:5px;min-height:36px}.page-heading .btn .icon{width:14px;height:14px}.hero{padding:27px 25px;min-height:240px;border-radius:13px}.hero h2{font-size:30px;margin-top:17px}.hero .eyebrow{font-size:6px;letter-spacing:1.4px}.hero p{font-size:10px;line-height:1.9}.hero-art{display:none}.hero-link{font-size:9px;padding:8px 11px}.hero:after{width:320px;height:320px;right:-180px;top:0}.gold-line{width:18px}.metrics{gap:12px;margin-bottom:23px}.metric{padding:17px}.metric-label{font-size:10px}.metric .metric-icon{display:block;right:13px;top:14px;padding:7px;border-radius:8px}.metric .metric-icon .icon{width:15px;height:15px}.metric-value{font-size:29px;margin-top:12px}.metric-note{font-size:8px}.panel{padding:19px 16px}.section-head h2{font-size:14px}.section-head p{font-size:9px}.section-head .text-btn{font-size:9px}.books-grid{gap:13px}.cover-stage{height:174px}.book-info{padding:13px}.book-info h3{font-size:11px}.book-info p{font-size:9px}.book-info .genre{font-size:7px}.badge{font-size:8px;padding:4px 6px}.footer{font-size:8px;gap:12px;line-height:1.9}.catalog-section{margin-top:25px}.empty{padding:28px 10px}.empty strong{font-size:11px}.empty>span:last-child{font-size:10px}.timer{gap:7px}.timer>div{min-width:58px;padding:10px 6px}.timer strong{font-size:26px}.timer small{font-size:6px}.loan-focus{padding:25px 17px}.loan-focus h2{font-size:26px}.modal{padding:25px;max-height:90svh}.modal h2{font-size:22px}.request-grid{gap:15px}.toolbar{gap:9px}.search-box{padding:10px 12px;min-width:180px}.filter{font-size:11px;padding:10px}.requests-panel{display:block}.hero .desktop-br{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Readability refinements */
.auth-form>p{color:#877092;font-size:13px}.auth-form label{font-size:12px}.auth-form input{font-size:13px}.auth-form input::placeholder{font-size:12px;color:#a28bad}.auth-form form>.btn{font-size:12px}.auth-links{font-size:11px}.auth-links .text-btn{font-size:11px}.form-options{color:#90779f}.auth-form .notice{color:#77508b}.auth-story p{font-size:13px;color:#cbb6da}.metric-note{color:#8e789f}.section-head p{color:#90779f}.book-info p{color:#92779f}.empty>span:last-child{color:#9981a8}.delivery-note{color:#9b84aa}.auth-form-footer{color:#a78fb6}.auth-note{color:#a18bae}

/* Centered authentication card: Inter, with a text-only submit button. */
body[data-page="login"]{font-family:'Inter',Arial,sans-serif;background:#f8f5fc}
body[data-page="login"] .auth-layout{display:grid;grid-template-columns:minmax(0,1fr);place-items:center;min-height:100svh;padding:35px 20px;background:radial-gradient(ellipse at 12% 10%,#eadef5 0,transparent 45%),radial-gradient(ellipse at 90% 90%,#f5ecd9 0,transparent 42%),#f8f6fb}
body[data-page="login"] .auth-form-wrap{width:460px;max-width:100%;min-height:0;padding:32px 38px 23px;background:#fff;border:1px solid #e9dff1;border-radius:22px;box-shadow:0 20px 70px #4c226c0c;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center}
body[data-page="login"] .auth-form{width:100%;max-width:none;margin:0;font-family:'Inter',Arial,sans-serif}
.auth-brand{display:flex;flex-direction:column;align-items:center;gap:10px;margin:0 auto 23px}
.auth-brand .brand-crest{width:64px;height:64px;border-radius:14px;border:1px solid #e4d3ef;box-shadow:0 5px 18px #6c2c9b15}
.auth-brand .brand-wordmark{font:700 18px/1.2 'Inter',Arial,sans-serif;letter-spacing:2px;color:#492162}
.auth-brand .brand-wordmark span{display:block;font:600 8px/1.5 'Inter',Arial,sans-serif;letter-spacing:2.6px;color:#a18445;margin-top:5px}
body[data-page="login"] .auth-form .eyebrow{font:500 8px/1.5 'Inter',Arial,sans-serif;letter-spacing:1.5px;color:#9c83ae}
body[data-page="login"] .auth-form h2{font:650 28px/1.3 'Inter',Arial,sans-serif;letter-spacing:-.9px;color:#392348;margin:9px 0 11px;text-align:center}
body[data-page="login"] .auth-form>p{font:400 12px/1.8 'Inter',Arial,sans-serif;max-width:330px;margin:0 auto 25px;color:#877291;text-align:center}
body[data-page="login"] .auth-form label{text-align:left;font:500 12px/1.5 'Inter',Arial,sans-serif;margin:17px 0 8px}
body[data-page="login"] .auth-form input{font-family:'Inter',Arial,sans-serif;text-align:left;height:47px}
body[data-page="login"] .auth-form input::placeholder{font-family:'Inter',Arial,sans-serif}
body[data-page="login"] .auth-form form>.btn{justify-content:center;text-align:center;gap:0;font:600 12px/1.5 'Inter',Arial,sans-serif;height:46px;min-height:46px;margin-top:18px}
body[data-page="login"] .form-options{font-family:'Inter',Arial,sans-serif;margin-top:14px}
body[data-page="login"] .auth-links{margin-top:20px;font-size:10px}
body[data-page="login"] .auth-links .text-btn{font-size:10px}
body[data-page="login"] .auth-note{margin-top:24px;padding-top:20px;font-size:9px}
body[data-page="login"] .delivery-note{margin-top:18px;font-size:8px;line-height:1.7}
body[data-page="login"] .auth-form-footer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;margin-top:22px;width:100%;font:400 8px/1.6 'Inter',Arial,sans-serif;color:#ac98b8}
body[data-page="login"] .auth-form .notice{text-align:center}
body[data-page="login"] .auth-form .error{text-align:left;line-height:1.6}
@media(max-width:480px){body[data-page="login"] .auth-layout{padding:20px 14px}body[data-page="login"] .auth-form-wrap{padding:26px 23px 22px;border-radius:18px}body[data-page="login"] .auth-form h2{font-size:26px}.auth-brand{margin-bottom:20px}.auth-brand .brand-crest{width:58px;height:58px}body[data-page="login"] .auth-form>p{font-size:11px}body[data-page="login"] .form-options{font-size:8px;gap:5px}body[data-page="login"] .form-options .text-btn{font-size:9px}}
