/* Shared visual system for the existing dealer portal. */
:root{--ink:#142f40;--muted:#536a79;--line:#dfe7ed;--blue:#086ea8;--bg:#f5f7fa;--nav:#102a3b;--accent:#28c1c9;--radius:16px}
body{font-family:'DM Sans',Arial,sans-serif;line-height:1.5;background:var(--bg)}
button,input,select,textarea{border-radius:10px}button{transition:background .18s,border-color .18s,box-shadow .18s;min-height:44px}button:hover:not(:disabled){box-shadow:0 3px 10px #102a3b0c}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #0b94d2;outline-offset:3px}.skiplink{position:fixed;top:10px;left:10px;transform:translateY(-150%);background:white;padding:12px;z-index:100;border-radius:8px}.skiplink:focus{transform:none}
#sidebar{width:248px;padding:28px 18px;background:#102a3b}#sidebar .brand{padding:0 0 26px;border-bottom:1px solid #ffffff12;margin-bottom:20px}.brand img{border-radius:0}.workspace{font-size:10px;letter-spacing:1.8px;color:#9bb5c5;margin:0 14px 13px}nav a{min-height:48px;padding:12px 14px;font-weight:500;color:#bdcdd7;margin:6px 0;border-radius:10px}nav a span{display:flex;align-items:center;justify-content:center}nav a.active{background:#20495e;color:white;box-shadow:inset 3px 0 var(--accent)}nav a:hover{color:white;background:#1b3e53}.sidebottom{padding-top:22px;color:#e3edf3}.avatar{border-radius:12px;background:#2a5067;width:42px;height:42px;flex-shrink:0}.logout{font-size:12px;margin-left:14px;border:0;padding-left:0;min-height:36px;color:#b8cfdd}
.shell{margin-left:248px}header{height:80px;padding:0 40px;gap:18px;background:#ffffffee;position:sticky;top:0;z-index:10;backdrop-filter:blur(14px)}.breadcrumb{color:#526b7c}.breadcrumb span{color:#a5b6c1}.cartbutton{padding:11px 19px;box-shadow:0 3px 9px #006fba18}main{padding:36px 40px 40px;max-width:1580px}h1,h2,h3{font-family:Manrope,Arial,sans-serif}h1{font-size:32px;letter-spacing:-1.1px;line-height:1.25}.eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:1.7px;color:#567185;margin-bottom:12px}.pagehead{margin-bottom:28px}.pagehead p{line-height:1.6;margin-top:10px}.actions{gap:10px}.primary{box-shadow:0 3px 10px #086ea814}.stats{gap:18px;margin-bottom:24px}.stat{border-radius:var(--radius);padding:22px 24px;box-shadow:0 3px 10px #142f4003;position:relative;overflow:hidden}.stat:before{content:'';position:absolute;left:0;top:24px;bottom:24px;width:3px;background:#0d8ab9}.stat:nth-child(2):before{background:#15a29f}.stat:nth-child(3):before{background:#e1a751}.stat strong{font-size:25px;letter-spacing:-.7px}.stat small{font-size:12px;margin-bottom:9px}.stat a{font-size:12px;font-weight:600}.badge{background:#edf5fa;color:#246681;border-radius:7px;padding:6px 10px;font-weight:600}
.campaign{position:relative;isolation:isolate;overflow:hidden;border:0;border-radius:18px;background:#163d51;padding:28px 30px;color:white;margin-bottom:32px;min-height:145px}.campaign:before{content:'';position:absolute;width:220px;height:220px;border:34px solid #ffffff05;border-radius:50%;right:65px;top:-85px;z-index:-1}.campaign:after{content:'';position:absolute;width:135px;height:135px;border:1px solid #ffffff10;border-radius:50%;right:225px;bottom:-70px;z-index:-1}.campaign small{color:#7ce2e3;font-size:10px;letter-spacing:1.7px;margin-bottom:8px}.campaign h3{font-size:21px;line-height:1.45;font-weight:700;letter-spacing:-.4px}.campaign p{color:#c4dce6;margin-top:7px;font-size:13px}.campaign button{background:#f9fcfd;color:#164458;border-color:#ffffff40;padding:12px 19px;flex-shrink:0}.catalogtop{margin-bottom:20px}.catalogtop h2{font-size:22px}.catalogtop button{font-size:12px;background:transparent}.searchbar{gap:14px}.search input{padding:15px 17px 15px 45px;min-height:54px;background-color:white;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23657b89' stroke-width='1.8'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:16px center}.searchbar select{font-size:13px;padding:12px 16px}.filters{gap:12px;margin-top:14px;margin-bottom:18px}.filters select{font-size:13px;padding:12px 14px}.filters button{font-size:12px;color:var(--muted);background:transparent}.chips{gap:8px;margin-bottom:22px}.chips button{font-size:12px;padding:9px 16px;min-height:38px;background:#fff;border-color:#dce5ed}.chips .selected{background:#183e52;border-color:#183e52;color:white}.resultcount{font-size:12px;margin:0 0 16px}
.products{gap:20px}.product{position:relative;border-radius:16px;border-color:#e0e7ed;box-shadow:0 2px 4px #142f4003;transition:box-shadow .2s,border-color .2s}.product:hover{box-shadow:0 12px 28px #142f4010;border-color:#b9cedb}.producttop{position:absolute;z-index:1;top:0;left:0;right:0;padding:14px 14px 0;pointer-events:none}.producttop>*{pointer-events:auto}.tag{font-size:10px;padding:6px 9px;letter-spacing:.3px;background:#fff;color:#276655;border:1px solid #e3eae5;border-radius:6px}.tag.orange{color:#8b5915;background:#fffaf0;border-color:#f0e2c6}.favorite{background:#ffffffdd;width:36px;min-width:36px;height:36px;min-height:36px;border:1px solid #e2e8ed;border-radius:50%;font-size:23px;line-height:1}.favorite:hover{background:white}.productbody{padding:23px 20px 20px}.product .series{font-size:9px;letter-spacing:1.3px;color:#59758b;margin-bottom:8px}.product h3{font-size:16px;line-height:1.5;min-height:48px;letter-spacing:-.3px}.meta{font-size:10px;margin:8px 0 16px;color:#597181;word-break:break-word}.price{gap:10px}.price strong{font-size:25px;color:#123a52}.price del{font-size:12px;color:#637b8b}.discount{font-size:11px;color:#26795b}.stock{font-size:11px;border-top:1px solid #edf0f4;padding-top:16px;margin:16px 0 14px}.stock:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#2e9270;margin:0 7px 1px 0}.stock.none:before{background:#ae7236}.productfoot input{width:56px;background:#f8fafb;border-color:#e1e8ee;font-size:13px}.productfoot button{background:#edf5fa;color:#13557c;border-color:#d9eaf4;font-size:12px;font-weight:700}.productfoot button:hover{background:#086ea8;color:white;border-color:#086ea8}.productfoot button:disabled:hover{background:#edf5fa;color:#13557c;border-color:#d9eaf4}
.bookstage{height:220px;background:#edf2f5;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;--book:#19475d;--book-accent:#5cc5cc}.bookstage.tone-ayt{background:#edf0f7;--book:#344c80;--book-accent:#b9c9ea}.bookstage.tone-lgs{background:#ecf4f1;--book:#245951;--book-accent:#a2d5bc}.bookstage.tone-kpss{background:#f7f1e7;--book:#6d5335;--book-accent:#e8bf79}.stage-label{position:absolute;bottom:14px;right:15px;writing-mode:vertical-rl;font-size:8px;letter-spacing:2px;color:#647987}.book{position:relative;background:var(--book);color:#fff;width:121px;height:172px;padding:14px 12px;transform:rotate(-7deg);box-shadow:8px 10px 0 -4px #ffffff,9px 10px 0 -3px #bac6cd,13px 19px 20px #18314120;border-left:4px solid #ffffff18;border-radius:1px 3px 3px 1px;margin-top:12px;overflow:hidden}.book-brand{font-size:10px;font-weight:800;letter-spacing:1px;position:relative;z-index:1}.book-brand span{display:block;font-size:5px;font-weight:500;letter-spacing:2.7px;margin-top:2px}.book-exam{font-family:Manrope,Arial,sans-serif;font-size:32px;font-weight:800;line-height:1.25;margin-top:10px;color:var(--book-accent);position:relative;z-index:1}.book-title{font-size:10px;font-weight:700;line-height:1.4;max-width:92px;position:relative;z-index:1}.book-series{display:block;font-size:6px;letter-spacing:.5px;margin-top:9px;position:relative;z-index:1}.book-lines{position:absolute;border:1px solid #ffffff16;border-radius:50%;width:110px;height:110px;bottom:-43px;right:-30px;box-shadow:0 0 0 14px #ffffff08,0 0 0 28px #ffffff05}.book-caption{position:absolute;bottom:8px;left:12px;font-size:5px;letter-spacing:.6px;color:#ffffffab}.listmode .bookstage{display:none}.listmode .producttop{position:static;padding:12px 20px 0}.listmode .productbody{padding-top:12px}.listmode .stock{border:0;padding:0}.listmode .productfoot{align-items:center}.listmode .product h3{font-size:16px}.panel{border-radius:16px;border-color:var(--line);padding:28px;box-shadow:0 3px 10px #142f4003}th{background:#f7f9fb;font-size:10px;letter-spacing:1px;color:#506b7f}td{padding-top:20px;padding-bottom:20px}th:first-child{border-top-left-radius:8px}th:last-child{border-top-right-radius:8px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f9fbfc}.notice{border:1px solid #dfeaf1;border-radius:10px;color:#466477;font-size:13px}.summary{position:sticky;top:104px}.empty{padding:64px 24px;grid-column:1/-1}.empty h2,.empty h3{margin-bottom:12px}.empty button{margin-top:8px}.supportcards details{padding:12px 0}.supportcards summary{cursor:pointer;font-size:14px;font-weight:600}.supportcards hr{border:0;border-top:1px solid var(--line)}footer{border-top:1px solid #e5ecf2;margin:0 40px;padding:22px 0;color:#5e7787;font-size:11px}
.loginmode main{place-items:normal;padding:0;max-width:none;min-height:100dvh;display:block}.loginlayout{width:100%;display:grid;grid-template-columns:minmax(380px,.95fr) minmax(400px,1.05fr);min-height:100dvh}.loginintro{position:relative;inset:auto;width:auto;display:flex;flex-direction:column;background:#102e40;color:white;padding:48px 58px;overflow:hidden;z-index:0}.loginmode .loginintro{display:flex}.introbrand{display:block;position:relative;z-index:1;width:255px;max-width:100%}.introbrand img{width:100%;display:block}.introcopy{position:relative;z-index:1;margin:auto 0;padding:65px 0}.introeyebrow{display:block;color:#72d6da;font-size:10px;font-weight:700;letter-spacing:2.5px;margin-bottom:23px}.introcopy h2{font-size:44px;font-weight:800;line-height:1.25;letter-spacing:-1.8px;margin-bottom:24px}.introcopy>p{color:#b7ccd8;font-size:15px;line-height:1.85;max-width:360px}.introfeatures{margin-top:38px;display:grid;gap:20px}.introfeatures>div{display:flex;align-items:center;gap:16px}.introfeatures>div>span{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border:1px solid #ffffff20;border-radius:10px;color:#65cdd4;font-size:11px}.introfeatures p{margin:0;font-size:12px;color:#b7ccd8}.introfeatures b{display:block;color:#eff7fb;font-size:13px;margin-bottom:3px}.introfoot{font-size:9px;letter-spacing:2px;color:#91adbf;position:relative;z-index:1}.introdecoration{position:absolute;width:460px;height:460px;border:1px solid #8ee0ea12;border-radius:50%;bottom:-190px;right:-240px;box-shadow:0 0 0 50px #8ee0ea04,0 0 0 100px #8ee0ea03;pointer-events:none}.loginpanel{align-self:center;justify-self:center;border:0;box-shadow:none;overflow:visible;background:transparent;max-width:470px;margin:50px 40px;width:calc(100% - 80px)}.loginbrand{display:none}.logincontent{padding:0}.logincontent>.badge{margin-bottom:27px;display:inline-block;font-size:10px;border:1px solid #d7e4ec;background:#edf4f7}.logincontent>.eyebrow{margin-top:0;margin-bottom:10px;color:#527386}.logincontent h1{font-size:32px;letter-spacing:-1.1px;margin:0 0 18px}.logincontent>.muted{font-size:14px;line-height:1.85;margin-bottom:32px}.logincontent label{font-size:12px;font-weight:600}.logincontent input{font-size:16px;min-height:54px;border-radius:10px;padding:14px 16px;background:#fff;margin-top:10px}.logincontent form button{min-height:52px;font-size:13px;margin-top:7px}.accessnote{font-size:12px;line-height:1.8;margin-top:26px;padding-top:22px}.demodetails{margin-top:24px;background:white;border:1px solid #dce6ec;border-radius:12px;padding:16px 18px;font-size:12px}.demodetails summary{font-weight:700;font-size:12px;color:#34596f;cursor:pointer}.demodetails p{margin:12px 0;line-height:1.8}.demodetails button{font-size:11px;min-height:38px;padding:8px 12px}.backphone{font-size:12px}.logincontent .notice{margin-top:16px}
@media(min-width:1550px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}.bookstage{height:240px}}
@media(max-width:1200px){#sidebar{width:215px}.shell{margin-left:215px}main{padding:30px}header{padding:0 30px}.stat{padding:20px 17px}.stat strong{font-size:22px}.stat a{font-size:11px}.loginintro{padding:38px}.introcopy h2{font-size:38px}.loginlayout{grid-template-columns:1fr 1fr}.loginpanel{margin:40px 30px;width:calc(100% - 60px)}}
@media(max-width:950px){.stats{gap:10px}.stat{align-items:flex-start;flex-direction:column;gap:12px}.products{gap:15px}.productbody{padding:20px 16px}.loginintro{padding:32px}.introcopy h2{font-size:33px}.loginpanel{margin:35px 24px;width:calc(100% - 48px)}.logincontent h1{font-size:28px}}
@media(max-width:760px){#sidebar{width:min(300px,86vw);padding:16px 18px 24px;display:none}#sidebar.open{display:flex}.shell{margin-left:0}header{height:76px;padding:0 16px;background:#102a3b;backdrop-filter:none}.cartbutton{padding:10px;font-size:12px}.mobilebrand{width:145px}main{padding:26px 18px}h1{font-size:27px}.pagehead{gap:18px}.eyebrow{font-size:9px}.pagehead .actions button{font-size:12px}.stats{grid-template-columns:1fr;gap:10px}.stat{flex-direction:row;align-items:center;padding:18px 20px}.stat small{display:block;font-size:11px}.stat strong{font-size:22px}.stat a{font-size:12px}.campaign{padding:23px;gap:18px}.campaign h3{font-size:19px}.campaign p{font-size:12px}.campaign small{font-size:9px}.campaign button{font-size:12px;min-height:44px}.searchbar select,.filters select,.search input{font-size:16px}.chips button{min-height:44px}.catalogtop button{min-height:44px}.products{gap:14px}.bookstage{height:195px}.productbody{padding:19px 15px}.product h3{font-size:15px;min-height:44px}.meta{font-size:10px}.product .series{font-size:8px}.price strong{font-size:23px}.productfoot{flex-direction:row}.productfoot input{width:48px}.productfoot button{font-size:11px;padding:10px 7px}.product .stock{min-height:0}.favorite{width:44px;height:44px;min-height:44px;min-width:44px}.producttop{padding:10px 10px 0}.tag{padding:5px 7px}.panel{padding:22px}.summary{position:static}footer{margin:0 18px;padding:22px 0;font-size:10px}.loginlayout{display:flex;flex-direction:column;min-height:100dvh}.loginintro{position:relative;display:block!important;padding:23px 26px;flex-shrink:0}.introbrand{width:190px}.introcopy{padding:27px 0 6px;margin:0}.introeyebrow{margin-bottom:10px;font-size:9px}.introcopy h2{font-size:29px;letter-spacing:-.8px;margin-bottom:12px}.introcopy>p,.introfeatures,.introfoot{display:none}.introdecoration{width:250px;height:250px;bottom:-180px;right:-90px}.loginpanel{max-width:460px;margin:32px auto 40px;width:calc(100% - 44px)}.logincontent h1{font-size:27px}.logincontent>.badge{margin-bottom:20px}.logincontent>.muted{margin-bottom:24px;font-size:13px}.logincontent input{font-size:16px}.accessnote{font-size:12px}}
@media(max-width:420px){.products{grid-template-columns:1fr}.bookstage{height:220px}.product h3{min-height:0}.productbody{padding:22px}.product .series{font-size:10px}.productfoot input{width:65px}.productfoot button{font-size:13px}.mobilebrand{width:125px}.catalogtop h2{font-size:21px}.campaign{padding:23px}.pagehead .actions button{font-size:11px}.introcopy h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.local-drafts-section{margin-top:48px;padding-top:28px;border-top:1px solid #d7dfdc}.local-drafts-section .pagehead h1{font-size:25px}#order-events{margin-top:24px}#order-events p{display:flex;justify-content:space-between;gap:16px}#order-events small{color:#667c73}
