/* One shared component for every review page. */
:root{--chrome-bg:#f7f5f0;--chrome-ink:#232720;--chrome-line:#d8d9d0;--chrome-muted:#666b62;--chrome-accent:#763f53;--chrome-on-accent:#fff}
html[data-theme=dark]{--chrome-bg:#18191c;--chrome-ink:#f7f5f0;--chrome-line:#45434c;--chrome-muted:#bdbbc3;--chrome-accent:#edb5c9;--chrome-on-accent:#242126}
.site-header[data-shared-chrome]{box-sizing:border-box;position:sticky;top:0;z-index:45;display:flex;align-items:center;gap:22px;width:92%;max-width:1400px;height:82px;margin:0 auto;padding:0;border:0;border-bottom:1px solid var(--chrome-line);background:var(--chrome-bg);color:var(--chrome-ink);font:13px/1.3 Arial,sans-serif;box-shadow:0 5px 18px #0001}
[data-shared-chrome] a{text-decoration:none;color:inherit}[data-shared-chrome] .brand{display:block;flex:0 0 42px;width:42px;height:42px;margin-right:auto;padding:0}[data-shared-chrome] .brand img{width:100%;height:100%;object-fit:contain;filter:brightness(0)}html[data-theme=dark] [data-shared-chrome] .brand img{filter:brightness(0) invert(1)}
.site-header[data-shared-chrome]>nav{display:flex;gap:24px}.header-actions{display:flex;align-items:center;gap:10px}.site-header[data-shared-chrome] .header-actions a{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:44px;padding:12px 17px;border:1px solid var(--chrome-line);border-radius:30px;font-size:12px;font-weight:400;transition:transform .18s,background .18s}.site-header[data-shared-chrome] .speaking-cta{background:var(--chrome-accent);color:var(--chrome-on-accent);border-color:transparent}.site-header[data-shared-chrome] .header-actions a:hover{transform:translateY(-2px)}.site-header[data-shared-chrome] .theme-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--chrome-line);border-radius:50%;background:transparent;color:inherit;font:24px Arial;cursor:pointer}.mobile-navigation{display:none}
footer[data-shared-chrome]{display:block!important;box-sizing:border-box;width:92%;max-width:1400px;margin:60px auto 0;padding:40px 0 110px!important;border-top:1px solid var(--chrome-line);color:var(--chrome-ink);background:transparent;font:13px/1.5 Arial,sans-serif}footer[data-shared-chrome] .shared-footer-top{display:grid;grid-template-columns:55px 1fr auto;gap:32px;align-items:start}footer[data-shared-chrome] .shared-footer-top>p{font:36px/1.15 Georgia,serif;margin:0;letter-spacing:-.02em}.shared-footer-top em{color:var(--chrome-accent);font-weight:normal}.shared-footer-links{display:grid;gap:10px}.shared-footer-links a:first-child{font-weight:600}.shared-footer-bottom{display:flex;align-items:center;gap:22px;flex-wrap:wrap;border-top:1px solid var(--chrome-line);padding-top:22px;margin-top:36px!important;font-size:11px;color:var(--chrome-muted)}.shared-footer-bottom nav{display:flex;gap:12px}.shared-footer-bottom nav a{padding:10px 2px}.shared-footer-bottom nav [aria-current=page]{color:var(--chrome-ink)}.shared-footer-bottom>span:last-child{margin-left:auto}.watch-deck{font-size:13px;color:var(--muted);margin:10px 0 0}
@media(max-width:1100px){.site-header[data-shared-chrome]>nav{display:none}.mobile-navigation{display:block;position:relative}.mobile-navigation summary{cursor:pointer;min-height:44px;display:flex;align-items:center;padding:0 10px}.mobile-navigation nav{position:absolute;top:46px;right:0;width:210px;padding:18px;display:grid;gap:20px;background:var(--chrome-bg);border:1px solid var(--chrome-line);border-radius:10px;box-shadow:0 10px 25px #0002}}
@media(max-width:700px){html{scroll-padding-top:130px}.site-header[data-shared-chrome]{height:118px;display:grid;grid-template-columns:1fr auto 44px;grid-template-rows:54px 54px;gap:0 10px;padding:0 0 10px}.site-header[data-shared-chrome] .brand{width:34px;height:34px}.site-header[data-shared-chrome] .header-actions{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:1fr 1.35fr;gap:8px}.site-header[data-shared-chrome] .header-actions a{font-size:11px;padding:10px 9px;min-height:42px}.site-header[data-shared-chrome] .theme-toggle{grid-column:3;grid-row:1;width:38px;height:38px;min-width:38px;min-height:38px;justify-self:end}.mobile-navigation{grid-column:2;grid-row:1}.mobile-navigation nav{z-index:5}footer[data-shared-chrome] .shared-footer-top{grid-template-columns:34px 1fr;gap:20px}footer[data-shared-chrome] .shared-footer-top>p{font-size:27px}footer[data-shared-chrome] .brand{width:34px;height:34px}.shared-footer-links{grid-column:2}.shared-footer-bottom{gap:10px 18px}.shared-footer-bottom>span:last-child{margin-left:0}.watch-deck{font-size:12px}.preview-banner span{display:none}section[id]{scroll-margin-top:130px}}
@media(prefers-reduced-motion:reduce){.site-header[data-shared-chrome] .header-actions a{transition:none}.site-header[data-shared-chrome] .header-actions a:hover{transform:none}}

.site-header[data-shared-chrome]>.header-actions{order:0}.site-header[data-shared-chrome]>.brand{margin-left:0}.site-header[data-shared-chrome]>.brand img{padding:0;display:block}

img[src*="berkeley-class-group"]{object-fit:contain!important;object-position:center!important} .site-header .theme-toggle{position:static}.site-header .theme-toggle svg{width:19px;height:19px}.site-header .theme-toggle .theme-label{display:none}
/* Keep both calls to action readable on narrow phones, including Portuguese. */
@media(max-width:700px){.site-header[data-shared-chrome] .header-actions{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);min-width:0}.site-header[data-shared-chrome] .header-actions a{min-width:0;white-space:normal;text-align:center;line-height:1.25;min-height:44px;gap:4px}}
