body>header{display:flex;align-items:center;flex-wrap:wrap;gap:22px;padding:24px 34px;min-height:108px;background:linear-gradient(110deg,#2a1c16,#171215);border-bottom:2px solid #86613e}body>header .brand{flex:0 0 auto;min-width:205px}body>header .brand h1{font-size:27px;margin:5px 0 0;color:#ffe0ad;font-weight:600}body>header .brand small{font-size:9px;letter-spacing:1.8px;color:#e8b66b}body>header .hub-nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-left:auto}body>header .hub-nav a{display:block;font-size:12px;text-decoration:none;color:#ceb7a1;padding:10px 13px;border:1px solid transparent;border-radius:5px;white-space:nowrap}body>header .hub-nav a:hover{background:#493020;color:#ffe0ad}body>header .hub-nav a[aria-current]{background:#47301f;color:#ffda97;border-color:#a47a47}body>header select{width:108px;padding:9px 10px;margin:0;border:1px solid #86613e;background:#211813;color:#efddc4;border-radius:5px}body>header .header-action{font-size:11px;padding:9px 10px}body>header>#classTitle[hidden]{display:none}@media(max-width:800px){body>header{padding:20px;gap:14px}body>header .hub-nav{order:3;width:100%;margin:0;gap:4px}body>header select{margin-left:auto}body>header .hub-nav a{padding:9px 10px}}
/* One shared header, stable rows across all tools. */
body>header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px 24px;padding:18px 30px;min-height:0}body>header .brand-home{color:inherit;text-decoration:none;margin:0}body>header .brand{min-width:180px}body>header .hub-nav{justify-content:flex-end;margin:0;gap:4px}body>header .hub-nav a{padding:9px 11px}body>header .header-tools{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:12px;border-top:1px solid #86613e55;flex-wrap:wrap}body>header .header-tools>a{margin:0;padding:8px 12px;font-size:12px;text-decoration:none;border:1px solid #86613e;border-radius:5px}body>header .tavern-context{margin-right:auto;display:flex;align-items:center;gap:14px;flex-wrap:wrap}body>header .tavern-context label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}body>header .tavern-context select{width:auto;min-width:100px;max-width:190px}body>header select{margin:0!important}.skip-link{position:fixed;top:-80px;left:15px;z-index:1000;background:#efbb67;color:#211813;padding:12px}.skip-link:focus{top:10px}:focus-visible{outline:2px solid #ffd48b;outline-offset:3px}body>main{min-width:0}button:disabled{cursor:wait;opacity:.65}
@media(max-width:950px){body>header{grid-template-columns:1fr;gap:12px;padding:16px 20px}body>header .hub-nav{justify-content:flex-start;order:initial;width:100%}body>header .header-tools{grid-column:1}.header-tools .tavern-context{flex:1 1 100%;margin:0}body>header .hub-nav a{font-size:12px;padding:8px 10px}}@media(max-width:500px){body>header{padding:14px}body>header .brand h1{font-size:23px}body>header .hub-nav{gap:2px}body>header .hub-nav a{padding:8px}body>header .header-tools{gap:8px}body>header .tavern-context{gap:8px}body>header .tavern-context label{flex:1;min-width:0}body>header .tavern-context select{min-width:0;max-width:135px;width:100%}}

body>header .header-tools .tavern-context{width:auto;padding:0;flex:0 1 auto} @media(max-width:950px){body>header .header-tools .tavern-context{width:100%;flex-basis:100%}}


@media(min-width:651px){body>header .header-tools .tavern-context{width:auto;flex:0 1 auto;margin-right:auto}}

