/* Align the existing Jacquard portal with its direct audience routes. */
@media(min-width:851px){
 body.reference-theme .portal-header{grid-template-columns:auto minmax(0,1fr) auto;gap:16px}
 body.reference-theme .portal-header .commercial-shortcuts{position:static;inset:auto;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:6px;padding:0;margin:0;min-width:0;width:auto;max-height:none;overflow:visible;background:transparent;border:0;border-radius:0;box-shadow:none}
 body.reference-theme .commercial-shortcuts a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 12px;border:1px solid transparent;border-radius:8px;font:600 14px/1.4 var(--sans);color:#07143d;box-sizing:border-box}
 .commercial-shortcuts a>img{display:block;width:20px;height:20px;flex:none;object-fit:contain}
 body.reference-theme .commercial-shortcuts a:hover,body.reference-theme .commercial-shortcuts a[aria-current]{background:#edf1ff;border-color:#d6dfff;color:#0349ff}
 body.reference-theme .portal-menu>summary{display:grid;grid-template-columns:20px auto 14px;gap:9px;height:44px;min-height:44px;padding:9px 12px;border:1px solid #d6dfff;border-radius:8px;background:#fff;box-sizing:border-box;font:600 14px/1.4 var(--sans)}
 .portal-toggle-grid{display:block;box-sizing:border-box;width:20px;height:20px;padding:0;margin:0;border:0}
 .portal-toggle-chevron{width:14px;height:14px}
 body.reference-theme .portal-menu[open]>summary{background:#0349ff;border-color:#0349ff;color:#fff}
 .portal-menu[open]>summary img{filter:brightness(0) invert(1)}
 body.reference-theme .portal-header:has(.portal-menu[open]) .commercial-shortcuts a[aria-current]{background:transparent;border-color:transparent;color:#07143d}
 .portal-header:has(.portal-menu[open] .portal-topic[data-portal-view=buyers][aria-pressed=true]) .commercial-shortcuts [data-route=buyers],
 .portal-header:has(.portal-menu[open] .portal-topic[data-portal-view=vendors][aria-pressed=true]) .commercial-shortcuts [data-route=vendors],
 .portal-header:has(.portal-menu[open] .portal-topic[data-portal-view=passports][aria-pressed=true]) .commercial-shortcuts [data-route=passports]{background:#edf1ff;border-color:#d6dfff;color:#0349ff}
 body.reference-theme .portal-topic,body.reference-theme .portal-topic[aria-pressed=true],body.reference-theme .portal-topic:hover{grid-template-columns:44px minmax(0,1fr) 20px;gap:16px;padding:16px;border-radius:12px;font-size:24px;min-height:86px}
 .portal-topic-icon{width:44px;height:44px;padding:10px;border:1px solid #8193ba;border-radius:9px;box-sizing:border-box;object-fit:contain}
 .portal-topic[aria-pressed=true] .portal-topic-icon{border-color:#b4c7ff}
 body.reference-theme .portal-header #main-nav .portal-links a{display:grid;grid-template-columns:22px minmax(0,1fr) 18px;gap:12px;align-items:center;font-size:16px;line-height:1.4}
 .portal-link-icon{display:block;width:22px;height:22px;object-fit:contain;filter:brightness(0) invert(1);opacity:.85}
 .portal-links a>span{min-width:0}
 body.reference-theme .portal-header #main-nav .portal-links a[aria-current]{color:#b9caff}
 body.reference-theme .portal-header #main-nav .portal-bottom :is(button,a){display:grid;grid-template-columns:26px minmax(0,max-content) 18px;justify-content:center;gap:14px;min-height:44px}
 body.reference-theme .portal-header :is(a,button,summary):focus-visible{outline:2px solid #0349ff;outline-offset:3px}
 body.reference-theme .portal-directory :is(a,button):focus-visible{outline-color:#c9d7ff}
}
@media(min-width:851px) and (max-width:1100px){
 body.reference-theme .portal-header{gap:10px}
 body.reference-theme .portal-header .brand{gap:10px}
 body.reference-theme .portal-header .brand-symbol{width:34px;height:34px}
 body.reference-theme .portal-header .brand-word{width:164px}
 body.reference-theme .commercial-shortcuts{gap:2px}
 body.reference-theme .commercial-shortcuts a{font-size:12px;padding-inline:8px;gap:7px}
 .commercial-shortcuts a>img{width:18px;height:18px}
 body.reference-theme .portal-menu>summary{font-size:12px;padding-inline:10px;gap:7px}
 body.reference-theme .portal-topic,body.reference-theme .portal-topic[aria-pressed=true],body.reference-theme .portal-topic:hover{grid-template-columns:36px minmax(0,1fr) 16px;gap:10px;padding:12px;font-size:19px}
 .portal-topic-icon{width:36px;height:36px;padding:7px}
 body.reference-theme .portal-header #main-nav .portal-links a{font-size:14px;grid-template-columns:20px minmax(0,1fr) 16px;gap:9px}
 .portal-link-icon{width:20px;height:20px}
}
