:root{--navy:#14133e;--navy-2:#24215b;--accent:#ed1b24;--ink:#222239;--muted:#687083;--paper:#f7f7fb;--line:#e5e6ec;--white:#fff;--radius:16px;--shadow:0 8px 30px rgba(23,23,67,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;background:var(--paper);color:var(--ink);font-size:15px;line-height:1.55}a{color:var(--navy);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4386fb;outline-offset:2px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border-bottom:1px solid var(--line);padding:0 clamp(16px,3vw,56px);position:sticky;top:0;z-index:5}.brand{display:flex;gap:15px;align-items:center;min-width:0}.brand img{width:104px;height:46px;object-fit:contain;object-position:left}.brand span{display:flex;flex-direction:column;min-width:0}.brand strong{font-size:16px;font-weight:800;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand small{font-size:11px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:22px;font-weight:650;font-size:13px}.cart-link{padding:9px 14px;border-radius:10px;background:#f0f0f8}.workspace{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:calc(100vh - 130px)}.side{padding:28px 14px 30px 19px;border-right:1px solid var(--line);background:#fff;display:flex;flex-direction:column;gap:3px}.nav-caption,.eyebrow{color:#7e8398;font-size:10px;letter-spacing:.14em;font-weight:850;text-transform:uppercase;margin:0 0 12px}.nav-caption{padding:8px 13px}.nav-link{display:block;border-radius:10px;padding:11px 13px;color:#565974;font-size:13px;font-weight:650;text-decoration:none}.nav-link:hover,.nav-link.active{color:var(--navy);background:#f1f0fa;text-decoration:none}.nav-link.active{box-shadow:inset 3px 0 var(--accent)}.side-footer{border-top:1px solid var(--line);margin-top:30px;padding:20px 12px;font-size:12px;color:var(--muted)}.main{min-width:0;max-width:1480px;width:100%;padding:clamp(22px,3vw,48px);margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.page-heading .eyebrow{margin-bottom:5px}.page-heading h1{font-size:clamp(24px,3vw,35px);font-weight:850;letter-spacing:-.045em;margin:0;color:var(--navy);line-height:1.2}.section-top{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:37px 0 18px}.section-top h2{margin:0;font-size:25px;letter-spacing:-.04em;color:var(--navy)}.section-top .eyebrow{margin-bottom:3px}.section-top>a{font-weight:750}.hero{border-radius:22px;background:linear-gradient(115deg,#171547 5%,#292665 65%,#14133e 100%);padding:clamp(27px,4vw,64px);display:grid;grid-template-columns:1.3fr .75fr;align-items:center;min-height:345px;color:white;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:500px;height:500px;right:-280px;bottom:-320px;border-radius:50%;background:rgba(237,27,36,.22)}.hero-kicker{color:#f9b1b8;letter-spacing:.12em;font-size:11px;font-weight:850}.hero h2{max-width:700px;font-size:clamp(30px,4vw,54px);line-height:1.06;letter-spacing:-.05em;margin:14px 0 16px;color:#fff}.hero p{max-width:550px;color:#dcddf0;font-size:16px}.hero-art{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.96);border-radius:22px;padding:25px;transform:rotate(-4deg);box-shadow:0 20px 60px #0003}.hero-art img{max-width:100%;max-height:170px;object-fit:contain}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.btn{border:0;border-radius:10px;background:var(--accent);color:#fff;display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-weight:780;font-size:13px;line-height:1.2;min-height:42px;text-decoration:none;white-space:nowrap}.btn:hover{filter:brightness(.96);text-decoration:none}.btn.muted{background:#ececf5;color:var(--navy)}.btn.light{background:#fff;color:var(--navy)}.btn.outline-white{background:transparent;color:#fff;border:1px solid #ffffff80}.btn.small{padding:8px 11px;min-height:32px;font-size:11px}.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.book-card{border:1px solid var(--line);border-radius:14px;background:white;box-shadow:var(--shadow);overflow:hidden;min-width:0;display:flex;flex-direction:column}.book-card:hover{box-shadow:0 14px 36px rgba(20,19,62,.12)}.book-cover{height:230px;padding:18px;background:linear-gradient(#f2f1f8,#f8f8fb);display:flex;justify-content:center;align-items:center}.book-cover img{height:100%;width:100%;object-fit:contain}.book-meta{padding:16px 16px 18px;display:flex;flex-direction:column;flex:1;gap:8px}.tag{display:inline-block;align-self:flex-start;text-transform:uppercase;letter-spacing:.06em;font-weight:750;font-size:9px;padding:5px 8px;border-radius:6px;background:#f2f1f9;color:#4b4687}.book-meta h3{font-size:15px;line-height:1.3;letter-spacing:-.015em;min-height:39px;margin:0}.book-meta p{color:var(--muted);margin:0;font-size:12px}.book-meta b{margin-top:auto;font-size:16px;color:var(--navy)}.book-meta small{color:#777e8d;font-size:11px}.book-meta form{margin-top:8px}.book-meta .btn{width:100%}.split-banner{background:#fff;border:1px solid var(--line);border-radius:18px;display:flex;align-items:center;justify-content:space-between;padding:36px 48px;margin-top:45px;overflow:hidden}.split-banner h2{font-size:27px;letter-spacing:-.05em;margin:0 0 8px}.split-banner p{color:var(--muted)}.quote-mark{font-size:220px;line-height:.5;color:#f0eef8;align-self:center}.three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.two-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.metric,.panel,.empty{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.metric{min-height:128px;padding:20px;display:flex;flex-direction:column;gap:6px}.metric span{font-weight:700;color:#73798b;font-size:12px}.metric strong{font-weight:850;letter-spacing:-.04em;color:var(--navy);font-size:24px;overflow-wrap:anywhere}.metric small{font-size:11px;color:#8b91a1}.panel{padding:clamp(19px,2vw,26px);margin:0 0 19px}.panel-head{display:flex;justify-content:space-between;align-items:center}.panel h2,.panel-head h2{font-size:19px;font-weight:800;letter-spacing:-.025em;color:var(--navy);margin:0 0 15px}.panel h3{color:var(--navy);margin:0 0 9px}.panel p{color:#596075}.empty{text-align:center;padding:46px 28px;grid-column:1/-1}.empty strong{font-size:20px;color:var(--navy)}.empty p{color:var(--muted)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:white}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:14px 16px;text-align:left;border-bottom:1px solid #ececf2;vertical-align:middle}th{background:#f8f8fc;color:#656b82;font-weight:780;font-size:11px;letter-spacing:.04em;text-transform:uppercase}tr:last-child td{border-bottom:0}td strong{color:var(--navy)}.filter-form{display:flex;align-items:flex-end;gap:12px;background:#fff;border:1px solid var(--line);padding:18px;border-radius:14px;margin-bottom:24px}.filter-form label:first-child{flex:2}.filter-form label{flex:1}.stack{display:flex;flex-direction:column;gap:15px}.narrow{max-width:640px}label{display:flex;flex-direction:column;gap:6px;color:#545b6d;font-size:12px;font-weight:780}input,select,textarea{border:1px solid #d5d8e2;background:#fff;padding:12px 13px;border-radius:9px;color:var(--ink);min-width:0;max-width:100%;font-size:14px}textarea{width:100%;resize:vertical;min-height:90px}input[type=checkbox]{width:17px;height:17px;flex:none}input[readonly]{background:#f4f5f8}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:18px}.check-row{display:flex;align-items:center;flex-direction:row;gap:9px;font-size:13px}.book-detail{display:grid;grid-template-columns:300px minmax(0,1fr);gap:38px;border-radius:18px;background:#fff;padding:35px}.detail-image{background:#f0eff7;border-radius:13px;display:flex;align-items:center;justify-content:center;min-height:410px;padding:20px}.detail-image img{max-width:100%;max-height:360px;object-fit:contain}.book-detail h2{font-size:32px;letter-spacing:-.045em}.price-xl{font-size:24px;color:var(--navy);font-weight:850}.cart-total{display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin-top:20px}.cart-total strong{font-size:25px;color:var(--navy)}.cart-total p,.muted{color:var(--muted);font-size:12px}.notice,.flash{border-radius:10px;padding:13px 17px;margin-bottom:18px;border:1px solid #e7d9a7;background:#fff8df;color:#6a5500;font-weight:600}.flash{background:#ebf8f0;border-color:#ccead6;color:#255939}.flash.error{background:#fff1f0;border-color:#eccccc;color:#8c2429}.footer{font-size:12px;padding:20px;text-align:center;color:#8991a0;background:white;border-top:1px solid var(--line)}.footer a{margin-left:12px}.link-button{border:0;background:transparent;color:var(--accent);font-size:12px;font-weight:800;padding:0}.is-admin .page-heading h1,.is-hq .page-heading h1{font-size:29px}@media(max-width:1180px){.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{grid-template-columns:205px minmax(0,1fr)}.side{padding:22px 9px}}@media(max-width:760px){.topbar{height:auto;min-height:65px;padding:9px 15px}.brand img{width:65px;height:40px}.brand strong{font-size:12px}.brand small{font-size:9px}.topbar-right{gap:10px;font-size:11px}.topbar-right>a:first-child{display:none}.workspace{display:block}.side{display:flex;flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:9px 12px;gap:4px;position:relative}.nav-caption,.side-footer{display:none}.nav-link{white-space:nowrap;padding:10px;font-size:11px}.main{padding:22px 16px}.page-heading{margin-bottom:20px}.hero{grid-template-columns:1fr;min-height:unset;padding:32px 22px;gap:28px}.hero h2{font-size:31px}.hero-art{max-width:330px;transform:none;margin:0 auto}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.book-cover{height:180px;padding:10px}.book-meta{padding:12px}.book-meta h3{font-size:13px}.book-meta b{font-size:14px}.three-grid,.two-grid,.check-grid{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{padding:14px;min-height:105px}.metric strong{font-size:20px}.split-banner{padding:24px;margin-top:28px}.quote-mark{display:none}.filter-form{flex-wrap:wrap}.filter-form label:first-child{flex:1 0 100%}.filter-form label{flex:1 1 120px}.filter-form .btn{flex:1}.book-detail{display:block;padding:18px}.detail-image{min-height:280px}.cart-total{align-items:flex-start}.section-top h2{font-size:21px}}@media(max-width:370px){.book-grid{grid-template-columns:1fr}.book-cover{height:250px}.brand small{display:none}.metrics{grid-template-columns:1fr}}

/* =========================================================
   BooksFirst Partner Hub — November 2026 UI refresh
   Incremental stylesheet: existing routes/forms remain intact.
   Brand colours are inherited from the existing BooksFirst CSS.
   ========================================================= */
:root{--surface:#fff;--surface-raised:#fff;--shell:#f5f6fb;--ink-strong:#17183e;--ink-subtle:#5e6880;--outline:#e6e9f1;--red-soft:#fff0f1;--shadow-elevated:0 20px 56px rgba(17,20,59,.075)}
body{background:var(--shell);color:#24283a;font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;letter-spacing:-.008em}
.ui-icon{display:inline-block;flex:none;vertical-align:middle}
.topbar{height:80px;padding:0 clamp(18px,2.4vw,42px);background:#fff;box-shadow:0 1px 0 rgba(24,27,65,.06);border-bottom:1px solid var(--outline);gap:18px}
.topbar-left{display:flex;align-items:center;gap:13px;min-width:0}
.brand{gap:17px}.brand img{width:112px;height:50px}.brand span{gap:2px}.brand strong{font-size:16px;font-weight:780;line-height:1.35;color:#1b2044}.brand small{font-size:10px;font-weight:800;letter-spacing:.12em;color:#778096}
.topbar-right{gap:16px}.topbar .text-link{font-weight:700;font-size:12px}.staff-chip{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;background:#f3f4fa;border-radius:999px;color:var(--navy);font-weight:700;font-size:12px}
.staff-chip .ui-icon{width:16px;height:16px}.topbar-signin{padding:10px 18px;border-radius:999px}
.workspace{grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 134px)}
.side{background:#fff;border-right:1px solid var(--outline);padding:24px 15px 24px;gap:2px;position:sticky;top:80px;height:calc(100vh - 80px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#e4e7ef transparent}
.side-top{display:flex;align-items:center;gap:11px;padding:6px 11px 22px;margin-bottom:12px;border-bottom:1px solid var(--outline)}
.workspace-mark{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:none;background:var(--navy);color:#fff;border-radius:11px}
.side-top strong{display:block;color:#242846;font-size:12px;font-weight:820}.side-top small{display:block;color:#828aa0;font-size:10px;margin-top:1px}
.nav-caption{font-size:10px;letter-spacing:.125em;color:#9096a8;margin:19px 0 5px;padding:5px 11px;font-weight:800}
.nav-link{display:flex;align-items:center;gap:12px;min-height:40px;border-radius:10px;padding:9px 11px;font-size:12.5px;font-weight:650;color:#525b77;transition:background-color .15s,color .15s}
.nav-link .ui-icon{width:18px;height:18px;color:#79829b}.nav-link:hover{background:#f4f5fa;color:var(--navy)}.nav-link.active{background:#eff0fa;color:var(--navy);font-weight:780;box-shadow:inset 3px 0 var(--accent)}.nav-link.active .ui-icon{color:var(--accent)}
.side-footer{display:flex;align-items:center;gap:10px;margin-top:auto;padding:22px 12px 8px;color:#424762;font-size:12px;line-height:1.35}.side-footer .ui-icon{color:var(--accent)}.side-footer small{color:#999db0}
.main{max-width:1560px;padding:clamp(25px,3vw,46px) clamp(20px,3.6vw,56px) 64px;min-height:calc(100vh - 138px)}
.page-heading{margin-bottom:26px;align-items:center}.page-heading h1{font-size:clamp(24px,2.8vw,32px);font-weight:800;letter-spacing:-.046em}.page-heading .eyebrow{font-size:10px;letter-spacing:.12em}
.section-top h2{font-size:23px;font-weight:800}.section-top{margin:31px 0 16px}
.panel,.metric,.empty,.table-wrap{border-color:var(--outline);box-shadow:0 3px 14px rgba(26,30,78,.035);border-radius:15px}
.panel{padding:clamp(19px,2.1vw,26px)}.panel h2,.panel-head h2{font-size:18px}.panel .eyebrow{margin:0 0 5px}
.metric{padding:21px;min-height:125px;background:#fff;position:relative;overflow:hidden}.metric:before{content:"";position:absolute;width:4px;height:4px;border-radius:50%;right:18px;top:22px;background:var(--accent);box-shadow:0 0 0 6px #fff1f2}.metric strong{font-size:28px;font-weight:840;line-height:1.2}.metric span{color:#646c81;font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.metric small{font-size:11px;color:#81879b}
.btn{border-radius:10px;box-shadow:none;background:#ee1e29;transition:background .15s,transform .15s;gap:9px}.btn:hover{background:#d71923;filter:none;transform:translateY(-1px)}.btn.muted{background:#f0f1f8;color:#222551}.btn.muted:hover{background:#e5e7f2}
input,textarea,select{border-color:#dce1eb;border-radius:10px;background:white}input:hover,textarea:hover,select:hover{border-color:#aeb7cb}
.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.nav-toggle:focus-visible{outline:3px solid #487adb;outline-offset:3px}
.table-wrap{overflow:auto}.table-wrap th{font-size:10px;letter-spacing:.08em;color:#737b90;background:#fafbfe}.table-wrap td{font-size:12.5px;color:#4d566e}.table-wrap td strong{font-size:13px}.table-wrap tbody tr:hover{background:#fcfcfe}.table-wrap th,.table-wrap td{padding:15px 17px}
/* Headquarters overview: only real queried figures, no speculative charts. */
.hq-intro{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:28px;min-height:230px;padding:34px clamp(26px,4vw,52px);border-radius:20px;background:radial-gradient(circle at 76% 38%,#2e2b6c 0%,#171645 64%);overflow:hidden;position:relative;color:white;box-shadow:0 14px 36px rgba(21,21,69,.12)}
.hq-intro>div:first-child{position:relative;z-index:2}.intro-kicker{color:#f9b6be;font-size:10px;font-weight:800;letter-spacing:.14em}.hq-intro h2{color:#fff;font-size:clamp(28px,3vw,39px);font-weight:850;letter-spacing:-.055em;line-height:1.12;margin:11px 0 10px}.hq-intro p{max-width:580px;margin:0;color:#d4d4ec;font-size:13px;line-height:1.7}.intro-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.btn.btn-white{background:#fff;color:#181847}.btn.btn-white:hover{background:#f5f5fd}.btn.btn-outline-white{background:transparent;border:1px solid #8585ab;color:#fff}.btn.btn-outline-white:hover{background:#ffffff1a}.intro-art{display:flex;align-items:center;justify-content:center;position:relative}.intro-art>span{font-size:116px;line-height:1;font-weight:900;letter-spacing:-.1em;color:#fff2;transform:rotate(-12deg)}.intro-art .art-dot{color:#ee1e294f}.art-circle{position:absolute;border:1px solid #ffffff2a;border-radius:50%;width:190px;height:190px}.art-one{transform:translate(36px,12px)}.art-two{width:260px;height:260px;transform:translate(70px,18px)}
.hq-section-heading{margin:31px 0 16px}.hq-section-heading .eyebrow{margin-bottom:5px}.time-context{border:1px solid #e2e5ed;background:#fff;color:#69718a;font-weight:700;font-size:11px;border-radius:30px;padding:8px 13px}.hq-summary .metrics{margin-bottom:22px}
.hq-two-column{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.9fr);gap:18px;align-items:stretch}.hq-two-column .panel{margin-bottom:0;min-width:0}.hq-two-column .panel-head{margin-bottom:14px}.hq-two-column .panel-head h2{margin-bottom:0}
.date-filter{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;padding:14px;border:1px solid var(--outline);background:#fafbfe;border-radius:12px}.date-filter label{font-size:11px;flex:1;min-width:145px;color:#5a657c}.date-filter input{width:100%;padding:9px 10px;font-size:12px}.date-filter .btn{padding:10px 15px;min-height:40px}.activity-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.activity-stats .metric{box-shadow:none;background:#f8f9fd;border:0;min-height:100px;padding:17px}
.attention-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--outline)}.attention-icon{display:flex;align-items:center;justify-content:center;width:37px;height:37px;background:#f1f2f9;color:#383a75;border-radius:11px;flex:none}.attention-row>div:nth-child(2){min-width:0;flex:1}.attention-row strong{display:block;font-size:13px;color:#252844}.attention-row small{display:block;font-size:11px;color:#8a91a4}.attention-row b{color:#232647;font-size:17px;margin-right:5px}.attention-row>a{color:#6a7290}.inline-link{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:780;color:#d8212b;margin-top:17px}.inline-link .ui-icon,.table-action .ui-icon{width:14px;height:14px}
.hq-portfolio{margin-top:22px}.portfolio-head{margin-bottom:19px}.portfolio-head h2{margin-bottom:0}.hq-portfolio .table-wrap{box-shadow:none;border-radius:12px}.table-action{display:inline-flex;align-items:center;gap:6px;color:#272759;font-weight:800;white-space:nowrap}.domain-text{font-size:11px;word-break:break-word}
.status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:800;background:#f0f1f7;color:#535c75;text-transform:capitalize}.status-pill:before{content:"";display:block;width:6px;height:6px;border-radius:50%;background:currentColor}.status-active{background:#e7f7ef;color:#197448}.status-draft{background:#fff4df;color:#8a590e}.status-suspended,.status-archived{background:#ffe8e9;color:#a62530}.empty-action{text-align:center;margin:0 auto 22px}
/* Error/login state: do not expose a full authenticated nav to unauthorised visitors. */
.is-gate .workspace{display:block;min-height:calc(100vh - 137px)}.is-gate .main{max-width:760px;min-height:calc(100vh - 140px);display:flex;align-items:center;justify-content:center;padding:48px 22px}.is-gate .topbar .staff-chip{display:none}.access-shell{text-align:center;width:100%;border-radius:22px;background:#fff;border:1px solid var(--outline);box-shadow:var(--shadow-elevated);padding:clamp(28px,5vw,56px)}.access-symbol{margin:0 auto 20px;background:#fff0f1;border-radius:16px;color:#cd202a;width:64px;height:64px;display:flex;align-items:center;justify-content:center}.access-symbol .ui-icon{width:30px;height:30px}.access-shell .eyebrow{margin:0 0 8px;color:#8a91a5}.access-shell h1{color:#1b2048;font-size:clamp(25px,3vw,33px);letter-spacing:-.04em;margin:0 0 18px}.access-content .panel{box-shadow:none;border:0;background:#f8f9fd;padding:24px;text-align:left;margin-bottom:12px}.access-content .panel h2{font-size:15px;line-height:1.55;margin:0 0 12px;font-weight:750}.access-content .panel a{font-weight:750;color:#c8222c}.access-footnote{color:#8991a3;font-size:11px;line-height:1.6;margin:18px auto 0;max-width:420px}
.nav-toggle{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #dfe3ed;background:#fff;border-radius:10px;color:#242753;cursor:pointer}
@media(max-width:1180px){.workspace{grid-template-columns:220px minmax(0,1fr)}.side{padding-left:10px;padding-right:10px}.hq-intro{grid-template-columns:minmax(0,1fr) 160px}.hq-two-column{grid-template-columns:1fr}.main{padding:28px}}
@media(max-width:760px){.topbar{height:67px;min-height:67px;padding:0 15px}.brand img{height:39px;width:70px}.brand span{gap:0}.brand strong{font-size:12px}.brand small{font-size:9px}.nav-toggle{display:inline-flex}.workspace{display:block}.side{display:none;position:fixed;z-index:20;top:67px;bottom:0;left:0;height:auto;width:min(305px,85vw);box-shadow:15px 0 35px #11143329;overflow-y:auto;border-right:1px solid var(--outline);padding:16px;flex-direction:column;white-space:normal}.nav-open .side{display:flex}.nav-open:before{content:"";position:fixed;z-index:19;inset:67px 0 0;background:#1c21416b}.nav-caption{display:block}.side-top{display:flex}.main{padding:23px 17px 38px;min-height:calc(100vh - 131px)}.topbar-right{gap:8px}.topbar-right .staff-chip{display:none}.page-heading{margin-bottom:20px}.hq-intro{min-height:210px;grid-template-columns:1fr;padding:27px}.hq-intro h2{font-size:30px}.hq-intro .intro-art{display:none}.hq-intro p{font-size:12px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.metric{padding:16px;min-height:113px}.metric strong{font-size:22px}.metric span{font-size:10px}.metric small{font-size:10px}.hq-two-column{gap:14px}.hq-portfolio{margin-top:15px}.portfolio-head{align-items:center;flex-wrap:wrap;gap:10px}.section-top h2{font-size:20px}.access-shell{padding:26px 18px}.is-gate .main{padding:28px 16px}}
@media(max-width:400px){.metrics{grid-template-columns:1fr 1fr}.activity-stats{grid-template-columns:1fr}.date-filter label{flex-basis:100%}.date-filter button{width:100%}.intro-actions{display:grid;grid-template-columns:1fr}.intro-actions .btn{width:100%}.brand img{width:55px}.brand strong{font-size:11px}.topbar-right .text-link{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.nav-link{transition:none}.btn:hover{transform:none}}

.skip-link{position:absolute;left:18px;top:-80px;z-index:200;background:#fff;color:#12143c;padding:10px 16px;border:2px solid #487adb;border-radius:9px}.skip-link:focus{top:10px}

/* 2026-11-12 — Partner identity controls and one-time wildcard provisioning */
.brand .partner-brand-mark{width:49px;height:49px;min-width:49px;object-fit:contain;background:#fff;border:1px solid #e3e6ef;padding:5px;border-radius:12px}
.brand-management{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(250px,1.15fr);align-items:start;gap:22px}
.brand-live-preview{display:flex;align-items:center;gap:15px;min-height:128px;padding:22px;border:1px solid #e1e5ef;border-radius:16px;background:linear-gradient(140deg,#f9fafc,#f0f2f9)}
.brand-live-icon{display:flex;align-items:center;justify-content:center;flex:none;width:88px;height:88px;border-radius:17px;border:1px solid #e0e5ee;background:white;overflow:hidden;padding:8px;box-shadow:0 5px 16px #20244a13}
.brand-live-icon img{width:100%;height:100%;object-fit:contain}.brand-placeholder{font-size:42px;color:#191947;font-weight:800}
.brand-live-preview strong,.brand-live-preview small,.brand-live-domain{display:block;overflow-wrap:anywhere}
.brand-live-preview strong{font-size:16px;color:var(--navy)}.brand-live-preview small{font-size:11px;color:#737a8e;margin-top:3px}.brand-live-domain{font-size:11px;color:#354266;margin-top:9px}
.brand-upload-actions{display:flex;flex-direction:column;gap:10px}.brand-upload-form{margin:0}.brand-upload-form label{font-weight:800;color:var(--navy)}.brand-upload-form input[type=file]{border:1px dashed #aeb6cf;border-radius:12px;padding:13px;background:#fafbff;width:100%;cursor:pointer}.brand-upload-form .btn{align-self:flex-start}.brand-remove-form{margin-top:0}
.help-text{color:#6a7285;font-size:12px;line-height:1.6;margin:0 0 10px}
.domain-setup{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.4fr);gap:22px;align-items:center;background:#fff}
.domain-setup h2{max-width:690px;font-size:24px;line-height:1.25;color:#171843}.domain-setup p{max-width:780px;font-size:13px}
.domain-setup code{background:#f1f1f9;border-radius:5px;padding:2px 5px;color:#323365}
.domain-setup-status{background:#f6f7fb;border-radius:13px;padding:21px}.domain-setup-status span,.domain-setup-status small{display:block;color:#73798b;font-size:12px}.domain-setup-status strong{display:block;font-size:17px;overflow-wrap:anywhere;margin:5px 0 7px;color:#171843}
.cell-secondary{display:block;color:#8e93a5;font-size:11px;margin-top:4px}.domain-error-row td{background:#fff7f7;color:#a12e36;font-size:12px}
@media(max-width:850px){.brand-management,.domain-setup{grid-template-columns:1fr}}
@media(max-width:450px){.brand-live-preview{align-items:flex-start;flex-direction:column}.brand-upload-form .btn{width:100%}}

.partner-directory-identity{display:inline-flex;align-items:center;gap:11px;min-width:170px}.partner-directory-identity strong{line-height:1.3}.partner-list-avatar{width:38px;height:38px;flex:none;object-fit:contain;border-radius:11px;border:1px solid #e2e5ee;background:#fff;padding:3px}.partner-initials{display:inline-flex;align-items:center;justify-content:center;padding:0;background:#efeffb;color:#27255c;font-weight:800;font-size:17px}


/* 2026-11-12 Valron footer credit and publication-readiness clarity */
.footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;line-height:1.55}
.footer-main{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 12px}
.footer-main a{margin-left:0}
.footer-credit{font-size:11px;color:#687085;letter-spacing:.01em}
.footer-credit strong{color:#20264c;font-weight:750}
.launch-readiness{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0 18px}
.launch-readiness>div{border:1px solid var(--line);border-radius:12px;background:#f8f9fc;padding:13px 15px;min-width:0;display:flex;flex-direction:column;gap:6px}
.launch-readiness strong{color:var(--navy);font-size:12px}
.launch-readiness span{color:#646c7d;font-size:12px;line-height:1.5}
@media(max-width:760px){.launch-readiness{grid-template-columns:1fr}.footer{padding:17px 12px}.footer-credit{font-size:11px;text-align:center}}

/* ======================================================================
   BooksFirst Reading Hub 2026-11-13 — customer experience, reusable tokens.
   Headquarters remains isolated: every selector is scoped under .is-store.
   ====================================================================== */
.is-store{--rh-red:#e91429;--rh-navy:#171b49;--rh-rose:#fff0f1;--rh-cream:#fffaf6;--rh-pink:#ffe5ec;--rh-mint:#e7f7ee;--rh-border:#e8e6eb;--rh-muted:#62677f;--accent:#e91429;background:#fffaf9;color:#22233c}
.is-store .topbar{border-bottom:1px solid #e8e6eb;background:rgba(255,255,255,.98);padding:0 clamp(18px,2vw,36px)}
.is-store .brand{gap:12px}.is-store .brand img.partner-brand-mark{width:48px;height:48px;max-width:48px;object-fit:contain;border-radius:12px;padding:5px}
.is-store .brand strong{font-size:15px;font-weight:840}.is-store .brand small{font-size:9px;letter-spacing:.075em;color:#77809b}
.is-store .workspace{grid-template-columns:215px minmax(0,1fr);min-height:calc(100vh - 132px)}
.is-store .side{background:#fff;border-right:1px solid #ece9ed;padding:20px 13px}
.is-store .side-top{flex-direction:column;justify-content:center;text-align:center;padding:6px 12px 15px;gap:7px;margin-bottom:4px}
.is-store .side-top strong{font-size:14px}.is-store .workspace-mark{width:52px;height:52px;background:#fff0f2;color:#e91429;border-radius:16px}
.is-store .side .nav-caption{margin:12px 0 1px;font-size:9px;color:#81869f}
.is-store .side .nav-link{min-height:37px;font-size:12px;padding:8px 10px;gap:10px}
.is-store .side .nav-link.active{background:#ffe8ec;box-shadow:inset 3px 0 #e91429;color:#bd172b}
.is-store .rh-sidebar-art{padding:0 4px;margin:8px auto 6px;max-width:144px}.is-store .rh-sidebar-art img{width:100%;height:auto;display:block;object-fit:contain}
.is-store .side-footer{margin-top:12px;padding:14px 9px}
.is-store .main{padding:clamp(16px,2.2vw,28px);max-width:1600px;background:linear-gradient(180deg,#fffaf9 0%,#fff 100%)}
.is-store .page-heading{margin:0 0 8px}.is-store .page-heading h1{font-size:0;position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.is-store .page-heading .eyebrow{display:none}
.is-store .footer{background:#fff;border-top:1px solid #ece8ef}
.is-store .topbar-right{gap:12px}.rh-global-search{flex:1;max-width:320px;min-width:145px}.rh-global-search input{height:39px;background:#fbfbff;border:1px solid #e1e3ed;padding:8px 14px;border-radius:10px;font-size:12px;width:100%}
.is-store .topbar-left{flex:1;min-width:0}.rh-top-link{white-space:nowrap;font-size:12px;color:#252a52}.is-store .cart-link{background:#ffeaee;color:#c51b30}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.rh-hero{background-image:linear-gradient(90deg,rgba(32,19,19,.85) 0%,rgba(39,20,21,.65) 39%,rgba(41,27,27,.12) 70%,rgba(0,0,0,.02) 100%),var(--rh-hero);background-size:cover;background-position:center right;border-radius:20px;min-height:280px;display:flex;align-items:center;position:relative;overflow:hidden;color:white;margin:0 0 24px;box-shadow:0 10px 26px rgba(43,33,31,.08)}
.rh-hero-shade{padding:clamp(28px,4.2vw,56px);position:relative;z-index:1;max-width:640px}.rh-hero-label{color:#ffdadd;text-transform:uppercase;letter-spacing:.11em;font-size:10px;font-weight:850;margin:0 0 10px}
.rh-hero h2{font-size:clamp(32px,3.6vw,51px);letter-spacing:-.055em;line-height:1.08;margin:0 0 12px;color:white;max-width:620px;font-weight:900}
.rh-hero p:not(.rh-hero-label){color:#fff;line-height:1.6;max-width:440px;font-size:14px;margin:0 0 20px}
.rh-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.rh-hero-actions .btn{min-height:42px;padding:11px 18px;border-radius:10px}.rh-hero .btn-white{background:#fff;color:#1b234c}.rh-hero .btn-white:hover{background:#f6f5ff;color:#1b234c}
.rh-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:29px 0 15px}.rh-heading h2{color:var(--rh-navy);margin:0;font-size:clamp(20px,2.2vw,25px);letter-spacing:-.035em;line-height:1.16;font-weight:850}.rh-heading .eyebrow{margin:0 0 6px;color:#b02b41}.rh-see-all{color:#d9142b;font-weight:780;font-size:12px;white-space:nowrap}
.rh-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.rh-category{display:flex;flex-direction:column;position:relative;border-radius:14px;overflow:hidden;background:#fff5f7;border:1px solid #f1e8ee;box-shadow:0 6px 18px #261c2509;min-width:0}.rh-category img{display:block;width:100%;height:98px;object-fit:cover}.rh-category strong{font-size:12px;line-height:1.25;min-height:42px;padding:8px 12px;text-align:center;display:grid;place-items:center;color:#2b2850}
.rh-category:nth-child(5n+2){background:#fff5db}.rh-category:nth-child(5n+3){background:#e2f5ff}.rh-category:nth-child(5n+4){background:#f4e6ff}.rh-category:nth-child(5n+5){background:#e6f8ed}
.rh-books{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.rh-book{background:#fff;border:1px solid #eee7ec;border-radius:15px;overflow:hidden;min-width:0;position:relative;box-shadow:0 6px 19px rgba(36,27,46,.055);display:flex;flex-direction:column;transition:transform .15s ease,box-shadow .15s ease}.rh-book:hover{box-shadow:0 14px 26px rgba(36,27,46,.1);transform:translateY(-2px)}.rh-book-art{height:185px;background:#fbf9fb;display:flex;justify-content:center;align-items:center;padding:14px}.rh-book-art img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain;display:block}.rh-save{position:absolute;right:9px;top:9px;z-index:1;margin:0}.rh-save button{background:#fff;border:1px solid #f0e1e4;color:#e91429;font-size:22px;line-height:1;border-radius:50%;width:34px;height:34px;box-shadow:0 2px 8px #29112816;display:grid;place-items:center}
.rh-book-info{display:flex;flex-direction:column;padding:12px 13px 13px;gap:5px;min-height:206px;flex:1}.rh-book-info .tag{margin-bottom:3px}.rh-book-title{font-size:13px;font-weight:820;letter-spacing:-.025em;line-height:1.28;color:#202248;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:33px}.rh-book-info p{font-size:11px;min-height:17px;margin:0;color:#6e7186;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.rh-book-info strong{font-size:14px;color:#171946;margin-top:auto}.rh-stock{color:#07854a;font-size:11px;font-weight:780}.rh-book-info form:last-child{margin-top:6px}.rh-add{width:100%;border-radius:9px;min-height:36px;padding:8px 10px;font-size:12px}
.rh-promo{margin:28px 0 8px;display:grid;grid-template-columns:200px minmax(0,1fr);align-items:center;gap:28px;background:linear-gradient(115deg,#fff1f3,#fff9f4 60%,#f9edff);border:1px solid #f4e6eb;border-radius:20px;padding:20px 30px;min-height:188px}.rh-promo>img{display:block;width:100%;height:145px;object-fit:cover;border-radius:13px}.rh-promo h2{font-size:24px;line-height:1.15;letter-spacing:-.035em;margin:5px 0 8px;color:var(--rh-navy)}.rh-promo p:not(.eyebrow){font-size:13px;color:#62667e;margin:0 0 12px}.rh-home-progress{background:#fff;border:1px solid #f4d7dd;border-radius:13px;padding:14px;min-width:0}.rh-home-progress strong,.rh-home-progress span{display:block;font-size:12px}.rh-home-progress span{margin-top:5px;color:#747486}.rh-home-progress a{font-size:11px;font-weight:760;color:#c52038}
.rh-club-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.rh-community-card,.rh-event-card{min-width:0;background:#fff;border:1px solid #ece6ec;overflow:hidden;border-radius:17px;box-shadow:0 6px 20px #2115230b}.rh-community-card>img,.rh-event-card>img{display:block;width:100%;height:148px;object-fit:cover}.rh-community-card>div,.rh-event-card>div{padding:15px}.rh-community-card h3,.rh-event-card h3{font-size:18px;color:var(--rh-navy);letter-spacing:-.03em;line-height:1.24;margin:8px 0}.rh-community-card p,.rh-event-card p:not(.eyebrow){font-size:12px;color:#60667f;line-height:1.5}.rh-community-card .btn,.rh-event-card .btn{margin-top:9px;font-size:11px;min-height:35px;padding:8px 14px}.rh-community-card small{display:block;font-size:11px;color:#798093;margin-top:10px}
.rh-empty{padding:30px;text-align:center;background:#fff;border:1px solid #ece4e9;border-radius:17px;grid-column:1/-1}.rh-empty strong{font-size:19px;color:var(--rh-navy)}.rh-empty p{font-size:13px;color:#666b80}.rh-empty-inline{display:flex;gap:18px;align-items:center;text-align:left}.rh-empty-inline img{width:165px;height:125px;object-fit:cover;border-radius:12px}.rh-empty a{font-weight:800;color:#d9142b}
.rh-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;background:#fff;border-radius:15px;padding:18px;border:1px solid #eee7ed}.rh-filters label{font-size:11px;font-weight:800;color:#5b6380;min-width:0}.rh-filters input,.rh-filters select{width:100%;margin-top:5px;padding:10px 11px;height:40px;font-size:12px}.rh-filters .rh-query{grid-column:span 2}.rh-filters .btn{align-self:end;height:40px}.rh-results{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0 12px}.rh-results strong{color:#252853;font-size:14px}.rh-results small{color:#7d8498;font-size:11px}.rh-pagination{display:flex;gap:8px;justify-content:center;margin:24px auto}.rh-pagination a{border:1px solid #e6dfe6;background:#fff;border-radius:9px;padding:9px 14px;font-size:12px;font-weight:760}.rh-pagination a.current{background:#e91429;color:#fff;border-color:#e91429}
.rh-detail{display:grid;grid-template-columns:minmax(240px,.65fr) minmax(0,1fr);gap:30px;background:#fff;border:1px solid #ece5ec;border-radius:20px;padding:25px}.rh-detail-cover{display:flex;justify-content:center;align-items:center;min-height:360px;background:#fbf9fb;border-radius:16px}.rh-detail-cover img{max-height:340px;max-width:90%;object-fit:contain}.rh-detail h2{color:var(--rh-navy);font-size:30px;letter-spacing:-.04em}.rh-detail-price{font-size:24px;color:#d9142b;font-weight:850;margin-bottom:9px}.rh-detail p{font-size:13px;color:#676b81;line-height:1.65}.rh-detail-buy{display:flex;align-items:end;gap:10px;margin:23px 0}.rh-detail-buy input{max-width:95px}
.rh-cart-summary{text-align:right;padding:24px 8px}.rh-cart-summary strong{font-size:24px;color:var(--rh-navy)}.rh-cart-summary p{font-size:12px;color:#777e91}.rh-cart-summary>.rh-note{max-width:420px;margin:12px 0 0 auto}.rh-warning{display:block;background:#fff2ed;border:1px solid #fed0bb;color:#924a2a;border-radius:10px;padding:12px;font-size:12px;margin-bottom:12px}.rh-note{background:#fff8e6;border:1px solid #f6dd9c;border-radius:12px;padding:15px;color:#7b5a0d;font-size:12px}
.rh-account-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.rh-account-links a{display:block;padding:18px 12px;text-align:center;border:1px solid #eee6ed;border-radius:12px;background:#fff;font-weight:780;font-size:12px}
.rh-club-intro{display:grid;grid-template-columns:300px 1fr;gap:25px;background:#fff;padding:22px;border:1px solid #eee5ea;border-radius:20px;align-items:center}.rh-club-intro img{width:100%;height:205px;object-fit:cover;border-radius:14px}.rh-club-intro h2{font-size:27px;letter-spacing:-.04em;color:var(--rh-navy);margin:6px 0}.rh-club-intro p{font-size:13px;color:#656b81}.rh-club-intro form{margin-top:10px}.rh-consent{display:block;margin:13px 0;font-size:12px;color:#565b75}.rh-consent input{display:inline-block;vertical-align:middle;margin-right:7px}.rh-thread{display:flex;justify-content:space-between;align-items:center;gap:12px;background:white;border:1px solid #eee5e9;border-radius:12px;padding:18px;margin-bottom:10px}.rh-thread strong{font-size:14px;color:#292a50}.rh-thread span,.rh-thread a{color:#c72a3c;font-weight:700;font-size:12px}
.rh-challenge-detail{background:#fff;border:1px solid #eee5ec;border-radius:18px;padding:clamp(20px,3vw,35px);margin:20px 0}.rh-challenge-detail h2{font-size:25px;color:var(--rh-navy);letter-spacing:-.035em}.rh-challenge-detail p{color:#6a6e80;font-size:13px}.rh-progress{background:#f2e7eb;overflow:hidden;height:10px;border-radius:999px;max-width:490px;margin:15px 0 8px}.rh-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#fd4760,#dc1030);transition:width .18s ease}.rh-badges{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.rh-badge{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:102px;border:1px solid #e6e5eb;background:#f7f7fa;color:#9594a2;border-radius:14px;padding:15px 10px}.rh-badge strong{font-size:25px}.rh-badge span{font-weight:760;font-size:11px}.rh-badge.earned{background:#fff1db;border-color:#f6dcab;color:#b27113}.rh-activity-form{display:flex;flex-direction:column;gap:11px;max-width:540px;padding:20px;background:#fff9f9;border:1px solid #f9e3e5;border-radius:14px;margin-top:22px}.rh-activity-form label{font-size:12px;font-weight:700}.rh-activity-form input,.rh-activity-form select{width:100%;margin-top:6px;padding:10px}.rh-activity-form h3{color:#26264e;margin:0}.rh-activity-form p{margin:0}.rh-log{background:#faf9fc;border-radius:12px;padding:13px}.rh-log>div{border-bottom:1px solid #e9e7ed;padding:10px;font-size:12px;color:#6d6c7e}.rh-log>div:last-child{border-bottom:0}
.rh-discussion-post{background:#fff;border:1px solid #e9e6eb;border-radius:12px;padding:19px;margin:11px 0}.rh-discussion-post strong{display:block;color:#292751}.rh-discussion-post small{font-size:11px;color:#7d8298}.rh-discussion-post p{font-size:13px;color:#555b70}
.rh-admin-clubs{margin-top:25px}.rh-admin-clubs h2{color:#242454;font-size:21px}.rh-inline-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0}.rh-inline-form span{flex:1;min-width:180px;font-size:12px}
@media(max-width:1330px){.is-store .workspace{grid-template-columns:200px minmax(0,1fr)}.rh-books{grid-template-columns:repeat(4,minmax(0,1fr))}.rh-global-search{max-width:225px}}
@media(max-width:1070px){.rh-books{grid-template-columns:repeat(3,minmax(0,1fr))}.rh-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.rh-hero{min-height:250px}.rh-hero-shade{max-width:540px}.rh-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.is-store .topbar .rh-top-link{display:none}}
@media(max-width:760px){.is-store .workspace{display:block}.is-store .main{padding:15px 15px 34px}.is-store .side{position:fixed;top:67px;bottom:0;left:0;display:none;width:min(300px,86vw);height:auto;z-index:21}.nav-open.is-store .side{display:flex}.rh-global-search{display:none}.rh-hero{border-radius:16px;min-height:275px;background-position:63% center}.rh-hero-shade{padding:22px 24px;max-width:100%}.rh-hero h2{font-size:31px;max-width:390px}.rh-hero p:not(.rh-hero-label){font-size:12px;max-width:330px}.rh-books{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.rh-book-art{height:162px}.rh-book-info{min-height:194px;padding:11px}.rh-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.rh-heading{align-items:start}.rh-heading h2{font-size:20px}.rh-promo{grid-template-columns:1fr;padding:17px;gap:10px}.rh-promo>img{height:120px}.rh-club-grid{grid-template-columns:1fr}.rh-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.rh-filters .rh-query{grid-column:span 2}.rh-results{flex-wrap:wrap}.rh-club-intro{grid-template-columns:1fr;padding:15px}.rh-club-intro img{height:160px}.rh-detail{grid-template-columns:1fr}.rh-account-links{grid-template-columns:repeat(2,minmax(0,1fr))}.rh-empty-inline{display:block}.rh-empty-inline img{width:100%}.is-store .brand strong{font-size:13px}.is-store .brand small{font-size:8px}}
@media(max-width:380px){.rh-book-art{height:132px}.rh-book-title{font-size:11px}.rh-book-info strong{font-size:12px}.rh-book-info{padding:8px;min-height:196px}.rh-hero h2{font-size:27px}.rh-categories{grid-template-columns:1fr 1fr}.rh-top-link{display:none}}
@media(prefers-reduced-motion:reduce){.rh-book,.rh-progress span{transition:none}.rh-book:hover{transform:none}}

.rh-stale-list{margin:10px 0 20px;display:flex;flex-direction:column;gap:7px}.rh-stale-list form{background:#fff;border:1px solid #e9d8db;border-radius:10px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.rh-stale-list span{font-size:12px}.rh-log-entry{display:flex;align-items:center;justify-content:space-between;gap:10px}.rh-log-entry form{margin:0}.rh-log-entry button{font-size:11px;color:#c61c30}

/* Safe sign-out form styling */
.logout-inline{display:inline-flex;align-items:center;margin:0}
.logout-button{background:transparent;border:0;cursor:pointer;font:inherit;padding:8px 4px}
.logout-button:focus-visible{outline:3px solid #e51d29;outline-offset:2px;border-radius:6px}
.logout-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:18px}
.logout-actions .btn{min-height:42px}
