/* Opt-in Current TB presentation. Historical and Officer pages are unchanged. */
.current-tb-pilot [hidden] { display:none!important; }
.current-tb-pilot .page-shell { padding:24px var(--site-gutter) 48px; }
.current-tb-pilot .page-heading { margin-bottom:20px; }
.current-tb-pilot h1 { font-size:clamp(26px,3vw,34px); margin:8px 0; }
.current-tb-pilot h2 { font-size:20px; }
.current-tb-pilot .table-subsection h2 { border-left:3px solid var(--accent); padding:0 0 0 12px; margin:24px 0 12px; }
.current-tb-pilot h3 { font-size:17px; border-left:3px solid var(--accent); padding-left:12px; margin:24px 0 12px; }
.current-tb-pilot .table-subsection h3 { padding:0 0 0 12px; }
.current-tb-pilot .page-heading p { margin:0; }
.current-tb-pilot .tb-note,.current-tb-pilot .empty-state { font-family:var(--font-label); font-size:13px; line-height:1.65; color:var(--text-secondary); }
.current-tb-pilot .tb-facts { display:flex; flex-wrap:wrap; gap:12px; margin:12px 0; }
.current-tb-pilot .tb-facts > div { padding:12px 16px; background:var(--surface); border:1px solid #2b3d57; border-radius:8px; max-width:100%; }
.current-tb-pilot .tb-facts dt { font-size:14px; color:var(--text-secondary); margin-bottom:6px; }
.current-tb-pilot .tb-facts dd { margin:0; font-family:var(--font-number); font-size:18px; font-weight:400; font-variant-numeric:tabular-nums; }
.current-tb-pilot summary { display:inline-flex; align-items:center; gap:12px; min-height:40px; padding:9px 12px; border:1px solid #647896; border-radius:6px; background:var(--surface-alt); cursor:pointer; list-style:none; font-size:14px; }
.current-tb-pilot summary::-webkit-details-marker { display:none; }
.current-tb-pilot summary::after { content:'+'; }
.current-tb-pilot details[open] > summary::after { content:'−'; }
.current-tb-pilot .tb-current-tabs { margin:0 0 20px; padding:0; background:transparent; border:0; border-bottom:1px solid #2b3d57; box-shadow:none; max-width:100%; }
.current-tb-pilot .tb-current-tab-list { display:flex; flex-wrap:nowrap; gap:4px; overflow-x:auto; padding:0; min-width:0; }
.current-tb-pilot .tb-current-tab-list a { flex:0 0 auto; white-space:nowrap; padding:12px; min-width:0; border:0; border-bottom:3px solid transparent; border-radius:6px 6px 0 0; background:transparent; color:var(--text-secondary); box-shadow:none; }
.current-tb-pilot .tb-current-tab-list a:is([aria-selected=true],[aria-current=page]) { color:var(--text); border-bottom-color:var(--accent); background:var(--surface); }
.current-tb-pilot .table-panel { background:transparent; border:0; box-shadow:none; padding:0; margin:0 0 20px; overflow:visible; min-width:0; }
.current-tb-pilot .tb-filter-toolbar { display:flex; flex-wrap:wrap; align-items:end; gap:12px; padding:16px; background:var(--surface); border:1px solid #2b3d57; border-radius:8px; position:relative; z-index:5; }
.current-tb-pilot .tb-filter-toolbar form { display:contents; }
.current-tb-pilot .tb-filter-toolbar label { display:grid; gap:6px; flex:0 1 260px; min-width:0; font-size:14px; }
.current-tb-pilot :is(input,select) { min-width:0; max-width:100%; }
.current-tb-pilot .tb-filter-toolbar :is(input,select) { width:100%; min-height:40px; border:1px solid #647896; border-radius:6px; padding:8px 10px; font-size:14px; background:var(--surface-alt); color:var(--text); }
.current-tb-pilot .official-filter-actions { gap:8px; }
.current-tb-pilot .button { min-height:40px; width:auto; padding:9px 12px; background:#285e99; border-color:#285e99; color:white; }
.current-tb-pilot .button:hover { background:#316faa; border-color:#316faa; }
.current-tb-pilot .button.secondary { background:var(--surface-alt); border-color:#647896; color:var(--text); }
.current-tb-pilot :is(.button,button,a,input,select,summary,[tabindex]):focus-visible { outline:2px solid var(--text); outline-offset:3px; }
.current-tb-pilot .table-subsection { position:relative; min-width:0; margin-bottom:24px; }
.current-tb-pilot .profile-table-toolbar { margin-bottom:12px; }
.current-tb-pilot .tb-filter-toolbar .profile-table-toolbar { margin:0; }
.current-tb-pilot .profile-column-menu { position:absolute; z-index:20; top:auto; left:0; width:min(440px,100%); max-width:100%; overflow:auto; padding:16px; border:1px solid #647896; border-radius:8px; background:var(--surface); box-shadow:var(--shadow-soft); }
.current-tb-pilot .profile-column-menu.opens-above { transform:translateY(calc(-100% - 44px)); }
.current-tb-pilot .profile-column-menu fieldset { border:0; margin:0; padding:0; }
.current-tb-pilot .profile-column-menu legend { margin-bottom:8px; }
.current-tb-pilot [data-column-options] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 12px; margin-bottom:12px; }
.current-tb-pilot [data-column-options] label { display:flex; align-items:center; gap:8px; font-size:13px; min-height:32px; overflow-wrap:anywhere; }
.current-tb-pilot [data-column-options] input { width:auto; min-height:0; flex-shrink:0; }
.current-tb-pilot .table-wrap { max-width:100%; overflow:auto; max-height:70vh; border-radius:8px; }
.current-tb-pilot table { width:max-content; min-width:100%; table-layout:auto; }
.current-tb-pilot :is(th,td) { padding:10px 12px; font-size:14px; white-space:nowrap; }
.current-tb-pilot th { position:sticky; top:0; z-index:2; background:var(--surface-alt); }
.current-tb-pilot th,.current-tb-pilot th button { text-transform:none; letter-spacing:normal; font-weight:600; }
.current-tb-pilot td { background:transparent; border-bottom:1px solid #23334a; }
.current-tb-pilot td:has(a),.current-tb-pilot .tb-description { white-space:normal; overflow-wrap:anywhere; min-width:140px; max-width:300px; }
.current-tb-pilot .profile-mobile-nav { display:none; }
@media(max-width:760px) {
  .current-tb-pilot .page-shell { padding-top:16px; }
  .current-tb-pilot .profile-desktop-nav { display:none; }
  .current-tb-pilot .profile-mobile-nav { display:block; position:relative; }
  .current-tb-pilot .site-header .header-inner { display:flex; flex-direction:row; align-items:center; flex-wrap:nowrap; gap:12px; padding:10px var(--site-gutter); }
  .current-tb-pilot .site-header .guild-name { font-size:15px; min-width:0; }
  .current-tb-pilot .brand-mark { width:32px; height:32px; flex-shrink:0; }
  .current-tb-pilot .profile-mobile-nav summary { min-height:44px; white-space:nowrap; }
  .current-tb-pilot .profile-mobile-nav nav { position:absolute; right:0; top:100%; width:240px; display:flex; flex-direction:column; align-items:stretch; padding:12px; border:1px solid var(--border); border-radius:8px; background:var(--surface); box-shadow:var(--shadow-soft); z-index:30; }
  .current-tb-pilot .profile-mobile-nav nav a,.current-tb-pilot .button { min-height:44px; }
}
@media(max-width:480px) {
  .current-tb-pilot [data-column-options] { grid-template-columns:1fr; }
  .current-tb-pilot .tb-filter-toolbar label { flex:1 1 100%; }
}

.current-tb-pilot .tb-current-tab-panel { min-width:0; }
.current-tb-pilot .tb-current-tab-panel > .notice { padding:12px 16px; margin:0 0 12px; font:13px/1.6 var(--font-label); }
.current-tb-pilot .tb-current-tab-panel > .table-panel > h2 { margin:16px 0 12px; border-left:3px solid var(--accent); padding-left:12px; }
.current-tb-pilot .tb-facts > div { padding:10px 14px; }
.current-tb-pilot .tb-facts dd { font-size:18px; }
.current-tb-pilot .tb-metric-details { margin:0 0 16px; }
.current-tb-pilot .tb-metric-details > div { max-width:960px; padding:12px 16px; margin-top:8px; background:var(--surface); border:1px solid #2b3d57; border-radius:8px; font:13px/1.65 var(--font-label); }
.current-tb-pilot .tb-metric-details p { margin:8px 0; }
.current-tb-pilot .table-wrap { position:relative; }
.current-tb-pilot.review-typography table :is(th,td,th button) { font-family:var(--font-body); font-size:14px; }
.current-tb-pilot th { white-space:normal; max-width:175px; min-width:85px; }
.current-tb-pilot th button { white-space:normal; line-height:1.4; }
.current-tb-pilot td { overflow-wrap:normal; }
.current-tb-pilot td:first-child:has(a) { min-width:180px; max-width:260px; }
.current-tb-pilot :is(#current-tb-zones,#current-tb-operations,#current-tb-combat,#current-tb-special) td:not([data-numeric]) { white-space:normal; overflow-wrap:anywhere; max-width:300px; min-width:100px; }
.current-tb-pilot :is(#current-tb-zones,#current-tb-operations,#current-tb-combat,#current-tb-special) td[data-numeric] { white-space:nowrap; }
.current-tb-pilot .profile-table-toolbar { position:relative; width:fit-content; max-width:100%; }
.current-tb-pilot .profile-column-menu { width:min(400px,calc(100vw - 64px)); max-width:none; }
.current-tb-pilot :is(h1,p,dd) { overflow-wrap:anywhere; }
.current-tb-pilot :is(#current-tb-summary,#current-tb-player-phase) td:first-child { white-space:normal; overflow-wrap:anywhere; min-width:180px; max-width:260px; }
