/* BooksFirst PartnerHub · commercial UX refinement · 15 Nov 2026.
   Scoped additions: keeps all existing server-side routing, inventory and sessions. */
.ed-body .ed-primary-nav{gap:clamp(13px,1.5vw,25px)}
.ed-body .ed-primary-nav .ed-nav-item,.ed-body .ed-primary-nav summary{font-size:12px;letter-spacing:-.005em}
.ed-body .ed-primary-nav .ed-nav-item.is-current{font-weight:720}
.ed-body .ed-nav-shop summary,.ed-body .ed-nav-reading summary{font-weight:700;color:var(--ed-ink)}
.ed-body .ed-nav-shop[open]>summary,.ed-body .ed-nav-reading[open]>summary{color:var(--ed-red)}
.ed-body .ed-nav-shop .ed-menu,.ed-body .ed-nav-reading .ed-menu{min-width:224px;padding:14px 16px;border:1px solid #e4e5e0;box-shadow:0 16px 48px #17183f17;border-radius:8px;gap:2px}
.ed-menu-caption{font-size:9px!important;letter-spacing:.12em;color:#828881!important;font-weight:760!important;padding:0 0 6px}
.ed-body .ed-menu .ed-nav-item{font-size:12px;min-height:38px;padding:0 6px;border:0;border-radius:5px}
.ed-body .ed-menu .ed-nav-item:hover,.ed-body .ed-menu .ed-nav-item.is-current{background:#f7f5f2;border:0}
.ed-body .ed-header{background:#fff}
.ed-body .ed-brand{gap:10px}
.ed-body .ed-brand small{font-size:10px;color:#7e8583}
.ed-body .ed-search{border-bottom:1px solid #d4d7d1;border-radius:0;min-width:186px}
.ed-body .ed-search input{font-size:12px}
.ed-body .ed-cart-link{background:#f8f2f1;border:1px solid #f0e0e0;padding:8px 11px;border-radius:24px}
.ed-body .ed-cart-link:hover{border-color:#d71920;color:var(--ed-red)}
.ed-body .ed-account-link{font-weight:760}
.ed-body .rh-add.bf-add-to-cart{width:100%;min-height:42px!important;display:flex;align-items:center;justify-content:center;gap:9px;background:#17183f;border:1px solid #17183f;color:#fff;border-radius:5px;padding:10px 12px;font-size:12px!important;font-weight:710;letter-spacing:0;box-shadow:none;transition:background .18s ease,transform .16s ease}
.ed-body .rh-add.bf-add-to-cart:hover{background:#d71920;border-color:#d71920;color:#fff;transform:translateY(-1px)}
.ed-body .bf-cart-icon{width:19px;height:19px;display:grid;place-items:center;background:#ffffff25;border:1px solid #ffffff40;border-radius:50%;font-size:15px;line-height:1;font-weight:500}
.bf-pay-choices{border:0;margin:0 0 26px;padding:0;display:grid;gap:9px;min-inline-size:0}
.bf-pay-choices legend{font-family:Georgia,serif;font-size:28px;font-weight:400;letter-spacing:-.03em;margin-bottom:12px;color:#17183f}
.ed-body .bf-pay-choices label{border:1px solid #dce0dc;padding:14px 17px;display:flex;flex-direction:row;gap:14px;align-items:center;background:#fff;border-radius:7px;cursor:pointer;font-weight:400;margin:0;min-height:69px}
.ed-body .bf-pay-choices label:has(input:checked){border-color:#b82b34;background:#fffafa;box-shadow:inset 3px 0 #d71920}
.ed-body .bf-pay-choices input[type=radio]{appearance:auto!important;width:18px!important;height:18px!important;min-width:18px;margin:0;accent-color:#d71920}
.bf-pay-choices label span{display:grid;gap:3px}
.bf-pay-choices label b{font-weight:720;font-size:13px}
.bf-pay-choices label small{font-size:11px;color:#68736f;line-height:1.4}
.ed-body .bf-google-note{padding:13px 0 0;font-size:11px;color:#707973;line-height:1.5}
.bf-delegated-badge{font-size:10px;font-weight:710;color:#415652;background:#eaf1ee;padding:7px 9px;border-radius:22px}
/* Partner admin: operational rather than marketing-centric. */
.ed-body .bf-partner-admin-intro{display:flex;justify-content:space-between;gap:30px;align-items:center;padding:33px 40px;background:#17183f;color:#fff;border-radius:8px;margin-bottom:23px}
.bf-partner-admin-intro h1{font:400 clamp(27px,3vw,41px)/1.12 Georgia,serif;margin:0 0 10px;color:#fff}
.bf-partner-admin-intro p{font-size:12px;line-height:1.6;margin:0;max-width:520px;color:#d5dbe1}
.bf-partner-admin-intro .ed-overline{color:#ffc3c7;margin-bottom:8px}
.bf-partner-admin-intro .btn{white-space:nowrap;background:#fff!important;border-color:#fff!important;color:#17183f!important}
.bf-admin-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:23px 0 30px}
.bf-admin-shortcuts a{display:flex;min-height:125px;flex-direction:column;justify-content:space-between;border:1px solid #dfe3df;background:#fff;padding:18px;border-radius:7px;transition:border .16s ease,transform .16s ease}
.bf-admin-shortcuts a:hover{border-color:#b0c2ba;transform:translateY(-2px)}
.bf-admin-shortcuts span{color:#7b8680;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
.bf-admin-shortcuts strong{font-size:14px;line-height:1.38;font-weight:700;color:#17183f}
.bf-hq-open-admin{padding:22px 27px;background:#f2f5f0;border:1px solid #dce6dd;display:flex;align-items:center;justify-content:space-between;gap:22px;margin:23px 0;border-radius:8px}
.bf-hq-open-admin strong{font-size:16px;color:#17183f}
.bf-hq-open-admin p{font-size:12px;margin:6px 0 0;color:#63716c}
.bf-hq-open-admin form{flex:none;margin:0}
/* Headquarters calmer layout and more deliberate density. */
.ed-hq .hq-intro{border-radius:8px;background:#17183f;min-height:220px;box-shadow:none;padding:35px 42px}
.ed-hq .hq-intro .intro-art{display:none}
.ed-hq .hq-intro h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.03em;font-size:clamp(29px,3.5vw,45px)}
.ed-hq .hq-intro p{max-width:650px;color:#e7e8ef}
.ed-hq .hq-portfolio,.ed-hq .hq-activity,.ed-hq .hq-attention{border:1px solid #e3e7e4;border-radius:8px;box-shadow:none}
.ed-hq .metrics>*{border:1px solid #e3e7e4;border-radius:8px;box-shadow:none}
.ed-hq .table-wrap table th{background:#f6f7f5;letter-spacing:.06em;font-size:10px;text-transform:uppercase}
.ed-hq .table-wrap table td{padding-top:14px;padding-bottom:14px}
.bf-programme-summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:27px 28px;background:#f5f2ed;border:1px solid #ebe6de;margin:0 0 26px;border-radius:8px}
.bf-programme-summary h2{font:400 clamp(25px,3vw,36px)/1.15 Georgia,serif;margin:0 0 9px}
.bf-programme-summary p{font-size:12px;max-width:540px;color:#68716c;margin:0}
.bf-programme-summary>strong{font-size:22px;color:#17183f;white-space:nowrap}
.bf-programme-form{max-width:700px}
.bf-programme-form fieldset:not(.bf-pay-choices){border:1px solid #dfe3de;padding:20px;margin:0 0 22px;border-radius:8px;display:grid;gap:12px}
.bf-programme-form legend{font-size:16px;font-weight:700;color:#17183f;padding:0 7px}
.bf-programme-form label{display:grid;gap:7px}
.ed-body .bf-consent{display:flex;align-items:flex-start;gap:9px;font-weight:400}
.bf-consent input{width:18px;height:18px;flex:none;accent-color:#d71920}
.bf-club-paylinks{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:22px 0}
.bf-club-paylinks p{flex-basis:100%;margin:0 0 5px}
@media(max-width:1180px){.ed-body .ed-primary-nav{gap:10px}.ed-body .ed-search{min-width:0}.ed-body .ed-search input{width:130px}.bf-admin-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.bf-hq-open-admin,.ed-body .bf-partner-admin-intro{align-items:flex-start;flex-direction:column}.ed-body .ed-header-actions{gap:9px}.ed-body .ed-primary-nav{display:none}.ed-body .ed-menu-button{display:inline-flex}}
@media(max-width:600px){.bf-admin-shortcuts{grid-template-columns:1fr 1fr}.bf-admin-shortcuts a{min-height:115px;padding:14px}.bf-programme-summary{align-items:flex-start;flex-direction:column;padding:20px}.ed-body .bf-partner-admin-intro{padding:24px}.ed-body .bf-pay-choices label{padding:12px 14px}.ed-hq .hq-intro{padding:25px}}
@media(prefers-reduced-motion:reduce){.ed-body .rh-add.bf-add-to-cart,.bf-admin-shortcuts a{transition:none;transform:none}}
