/* Version 32.2 — Archival File design system */
:root{
  --archive-forest:#0d3b32;
  --archive-forest-deep:#062820;
  --archive-forest-soft:#1e5b4b;
  --archive-paper:#f5e8c8;
  --archive-paper-light:#fff8e6;
  --archive-paper-deep:#ddc38c;
  --archive-walnut:#66391f;
  --archive-walnut-deep:#351c12;
  --archive-brass:#d5ad4f;
  --archive-brass-light:#f3d984;
  --archive-coral:#ad5439;
  --archive-teal:#1a8075;
  --archive-ink:#183a31;
  --archive-muted:#6b6859;
  --archive-line:#987342;
  --archive-serif:Georgia,"Times New Roman",serif;
  --archive-sans:Inter,ui-sans-serif,system-ui,sans-serif;
}

/* Canvas coach files */
.native-node{--file-accent:#315f4e;--file-stamp:#87502d}
.native-node.frame-tone-teal{--file-accent:#1b7770;--file-stamp:#26726b}
.native-node.frame-tone-mustard{--file-accent:#9b742b;--file-stamp:#9a6f1f}
.native-node.frame-tone-coral{--file-accent:#a34f37;--file-stamp:#a34f37}
.native-node.frame-tone-walnut{--file-accent:#714226;--file-stamp:#714226}
.native-node-frame{
  fill:url(#archivalPaper)!important;
  stroke:var(--archive-forest)!important;
  stroke-width:3.2!important;
  filter:url(#archivalShadow)!important;
  transition:stroke .16s ease,filter .16s ease,transform .16s ease;
}
.native-node-frame-inlay{fill:none!important;stroke:var(--archive-brass)!important;stroke-width:1.8!important;vector-effect:non-scaling-stroke}
.native-node-frame-relief{fill:none!important;stroke:#244d40!important;stroke-width:1.1!important;stroke-dasharray:3 2;vector-effect:non-scaling-stroke}
.native-node-card{fill:url(#archivalPaperInset)!important;stroke:#724a2d;stroke-width:.8;vector-effect:non-scaling-stroke}
.native-node-portrait-mat{fill:#d7c69d!important;stroke:#244a3e!important;stroke-width:5!important;vector-effect:non-scaling-stroke}
.native-node-portrait-bezel{fill:none!important;stroke:var(--archive-brass-light)!important;stroke-width:2!important;vector-effect:non-scaling-stroke}
.native-node-portrait{display:block!important;opacity:1!important;filter:grayscale(.13) sepia(.24) saturate(.82) contrast(1.06);pointer-events:none}
.native-node-portrait-wash{fill:#d5a65e;opacity:.07;pointer-events:none}
.native-node-initials-disc{display:block!important;fill:#d9c799!important;stroke:#264d40;stroke-width:2}
.native-node-initials{display:block!important;fill:#24483d!important;font:900 22px var(--archive-serif);letter-spacing:.04em}
.native-node-file-divider{stroke:#9e7947;stroke-width:1.1;stroke-dasharray:2.5 2;vector-effect:non-scaling-stroke}
.native-node-provenance-strip{fill:url(#archivalProvenance);stroke:#d5ad4f;stroke-width:.75;vector-effect:non-scaling-stroke}
.native-node-accent{fill:none;stroke:var(--file-accent);stroke-width:3;vector-effect:non-scaling-stroke}
.native-node-generation{fill:var(--file-stamp);font:950 8px var(--archive-sans);letter-spacing:.14em}
.native-node-name{display:block!important;opacity:1!important;fill:#102f28!important;stroke:#fff9e8;stroke-width:.34px;paint-order:stroke fill;filter:none!important;font:900 20px var(--archive-serif)!important;letter-spacing:0;text-rendering:geometricPrecision}
.native-node-team{fill:#3d5147;font:850 9px var(--archive-sans)}
.native-node-seasons{fill:#735f45!important;font:900 9px var(--archive-sans)!important;letter-spacing:.025em}
.native-node-season-stamp circle{fill:none;stroke:var(--file-stamp);stroke-width:1.6;stroke-dasharray:2.4 1.5;vector-effect:non-scaling-stroke}
.native-node-season-stamp text{fill:var(--file-stamp);font:950 6px var(--archive-sans);letter-spacing:.08em}
.native-node-season-stamp text+text{font-size:9px;letter-spacing:0}
.native-node-provenance-label{fill:#f0c864;font:950 5.8px var(--archive-sans);letter-spacing:.12em}
.native-node-provenance-source,.native-node-file-number{fill:#d9d7bc;font:800 5.6px var(--archive-sans)}
.native-node-file-number{letter-spacing:.04em}
.native-node-record-badge rect{stroke-width:.7;vector-effect:non-scaling-stroke}
.native-node-record-badge text{font:950 6px var(--archive-sans);letter-spacing:.035em}
.native-node-record-badge.is-active-coach rect{fill:#1c6f54;stroke:#154a3a}.native-node-record-badge.is-active-coach text{fill:#f0f5dc}
.native-node-record-badge.is-champion rect{fill:#d6ad48;stroke:#7e5b20}.native-node-record-badge.is-champion text{fill:#3e2b17}
.native-node-record-badge.is-coach-of-year rect{fill:#ad563b;stroke:#70301f}.native-node-record-badge.is-coach-of-year text{fill:#fff2d2}
.native-node-source{display:block;cursor:alias;outline:none}
.native-node-source .native-node-source-medallion{fill:var(--file-accent)!important;stroke:var(--archive-brass-light)!important;stroke-width:2!important;filter:drop-shadow(0 2px 2px #1e150d66);vector-effect:non-scaling-stroke}
.native-node-source-label{fill:#fff3cf!important;font:950 7px var(--archive-serif)!important;letter-spacing:.03em}
.native-node-source-arrow{fill:#fff3cf!important;font:950 6px var(--archive-sans)!important}
.native-node-source:hover .native-node-source-medallion,.native-node-source:focus .native-node-source-medallion{fill:var(--archive-coral)!important;stroke:#fff0b4!important;stroke-width:3!important}
.native-node-connector{fill:var(--archive-paper-light);stroke:var(--archive-forest);stroke-width:2.2;vector-effect:non-scaling-stroke;transition:fill .16s ease,stroke .16s ease,filter .16s ease}
.native-node-selection-seal{opacity:0;pointer-events:none;transition:opacity .16s ease}
.native-node-selection-seal circle{fill:var(--archive-coral);stroke:#fff0b7;stroke-width:1.5;vector-effect:non-scaling-stroke}
.native-node-selection-seal text{fill:#fff7df;font:950 11px var(--archive-sans)}
.native-node-hover-hint{opacity:0;pointer-events:none;transition:opacity .16s ease}
.native-node-hover-hint rect{fill:#123f35;stroke:#edca70;stroke-width:1.2;vector-effect:non-scaling-stroke}
.native-node-hover-hint text{fill:#fff1c5;font:950 6.5px var(--archive-sans);letter-spacing:.11em}
.native-node:hover .native-node-frame,.native-node:focus-visible .native-node-frame,.native-node.is-hover-tree .native-node-frame{stroke:var(--archive-brass-light)!important;stroke-width:5!important;filter:drop-shadow(0 0 8px #f0ce6eaa) drop-shadow(0 7px 6px #18312955)!important}
.native-node:hover .native-node-hover-hint,.native-node:focus-visible .native-node-hover-hint{opacity:1}
.native-node.is-selected .native-node-frame{stroke:var(--archive-forest-deep)!important;stroke-width:6!important;filter:drop-shadow(0 0 9px #f4d26c) drop-shadow(0 9px 7px #17352b66)!important}
.native-node.is-selected .native-node-frame-inlay{stroke:#fff0a7!important;stroke-width:3!important}
.native-node.is-selected .native-node-selection-seal{opacity:1}
.native-node.is-selected .native-node-connector.is-bottom,.native-node.is-relationship-descendant .native-node-connector.is-bottom{fill:#2db4a7;stroke:#e9fff4;filter:drop-shadow(0 0 5px #35b9aa)}
.native-node.is-relationship-lineage .native-node-connector.is-top{fill:#f2c756;stroke:#fff5c4;filter:drop-shadow(0 0 5px #efbd45)}
.native-node.is-root .native-node-frame{stroke-width:4.5!important}

.native-forest[data-lod="overview"] .native-node-portrait,
.native-forest[data-lod="overview"] .native-node-initials-disc,
.native-forest[data-lod="overview"] .native-node-initials,
.native-forest[data-lod="overview"] .native-node-name,
.native-forest[data-lod="forest"] .native-node-portrait,
.native-forest[data-lod="forest"] .native-node-initials-disc,
.native-forest[data-lod="forest"] .native-node-initials,
.native-forest[data-lod="forest"] .native-node-name{display:block!important;opacity:1!important;pointer-events:none}
.native-forest[data-lod="overview"] .native-node-team,
.native-forest[data-lod="overview"] .native-node-seasons,
.native-forest[data-lod="overview"] .native-node-season-stamp,
.native-forest[data-lod="overview"] .native-node-record-badge,
.native-forest[data-lod="overview"] .native-node-provenance-label,
.native-forest[data-lod="overview"] .native-node-provenance-source,
.native-forest[data-lod="overview"] .native-node-file-number,
.native-forest[data-lod="overview"] .native-node-hover-hint{opacity:0;pointer-events:none}
.native-forest[data-lod="overview"] .native-node-frame{filter:none!important;stroke-width:2.4!important}
.native-forest[data-lod="overview"] .native-node-frame-inlay{stroke-width:1!important}
.native-forest[data-lod="forest"] .native-node-source{display:none!important}

/* Shared archival interface surfaces */
body.native-v24{font-family:var(--archive-sans)}
body.native-v24 .topbar{border-bottom:3px solid var(--archive-brass);background:linear-gradient(90deg,#0a332b,#0f473b 52%,#082e27);box-shadow:0 7px 24px #1f130a66}
body.native-v24 .topbar::after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 83px,#ffffff07 84px 85px)}
body.native-v24 .brand{position:relative;z-index:1}
body.native-v24 .brand h1{color:var(--archive-brass-light);font-family:var(--archive-serif);letter-spacing:.02em}
body.native-v24 .brand small{color:#dcc48c;letter-spacing:.2em}
body.native-v24 .forest-mark{border-color:var(--archive-brass);border-radius:8px;background:var(--archive-paper-light);box-shadow:inset 0 0 0 2px #6c4928}
body.native-v24 .search{position:relative;z-index:1;border:2px solid #8a682f;border-radius:7px;background:#071f1b;box-shadow:inset 0 0 0 1px #d4ac5155}
body.native-v24 .search input{color:#fff2ce;background:transparent;font-family:var(--archive-serif);font-weight:700}
body.native-v24 .search input::placeholder{color:#c4b78f}
body.native-v24 .search button{border-left:1px solid #a77e36;border-radius:0 5px 5px 0;background:linear-gradient(#7b4b27,#492915);color:#fff0c8;font-family:var(--archive-serif)}
body.native-v24 .welcome-button,body.native-v24 .filter-button,body.native-v24 .tree-stats-button,body.native-v24 .header-more>summary{position:relative;z-index:1;border:1px solid #b69245;border-radius:5px;background:linear-gradient(#f9e8bd,#d7ba7c);color:#3d291b;box-shadow:inset 0 0 0 1px #fff8df,0 2px 0 #3b2416;font-family:var(--archive-serif);font-weight:900}
body.native-v24 .welcome-button:hover,body.native-v24 .welcome-button:focus-visible,body.native-v24 .filter-button:hover,body.native-v24 .filter-button:focus-visible,body.native-v24 .tree-stats-button:hover,body.native-v24 .tree-stats-button:focus-visible,body.native-v24 .header-more>summary:hover,body.native-v24 .header-more>summary:focus-visible{border-color:#ffe198;background:linear-gradient(#fff4d3,#e8c66d);color:#2b2017;outline:2px solid #f4d27277;outline-offset:2px}
body.native-v24 .filter-button span{background:var(--archive-coral);color:#fff4d5}
.header-more>div{border:2px solid var(--archive-brass);border-radius:7px;background:linear-gradient(#f8e9c7f8,#dcc08bf8);box-shadow:inset 0 0 0 2px #704522,0 18px 48px #05120fe0}
.header-more>div button{border-bottom:1px solid #a98b5b;color:var(--archive-ink);font-family:var(--archive-serif)}
.header-more>div button:last-child{border-bottom:0}
.header-more>div button:hover,.header-more>div button:focus-visible{background:#17483b;color:#fff1cd;outline:0}

.welcome-card,.connection-explanation,.history-guide,.semantic-forest-notice,.discovery-card,.atlas-tour,.branch-projection-card,.rules-card{border-radius:6px!important;background:linear-gradient(145deg,#fff8e7f7,#e5cc99f7)!important;color:var(--archive-ink)!important;box-shadow:inset 0 0 0 3px #6a4023,0 22px 70px #0a211ba8!important}
.welcome-card{border:2px solid var(--archive-brass)!important}
.welcome-card h2,.connection-explanation strong,.history-guide strong,.rules-card h2{color:var(--archive-forest-deep)!important;font-family:var(--archive-serif)!important}
.welcome-choices button{border-radius:3px;border-color:#9a7846;background:#fffaf0;box-shadow:inset 4px 0 0 var(--archive-forest)}
.welcome-choices button:nth-child(2n){box-shadow:inset 4px 0 0 var(--archive-coral)}
.welcome-actions button{border-radius:3px}
.welcome-actions .welcome-primary{background:var(--archive-forest);color:#fff2ca}

body.native-v24 .filter-panel,body.native-v24 .coach-explorer,body.native-v24 .results-explorer{border:2px solid var(--archive-brass);border-radius:7px;background:linear-gradient(180deg,#f8ebcff8,#e2c892f8);color:var(--archive-ink);box-shadow:inset 0 0 0 3px #643b20,0 24px 70px #071a16bb;backdrop-filter:blur(14px)}
body.native-v24 .filter-header,body.native-v24 .coach-explorer-header,body.native-v24 .results-explorer-header{border-bottom:2px solid var(--archive-brass);background:linear-gradient(180deg,#754326,#4a2919);color:#fff0c7}
body.native-v24 .filter-header h2,body.native-v24 .coach-explorer-header strong,body.native-v24 .results-explorer-header strong{color:#fff0c7;font-family:var(--archive-serif)}
body.native-v24 .filter-header span,body.native-v24 .coach-explorer-header span,body.native-v24 .results-explorer-header span{color:#f1ba62}
body.native-v24 .filter-header button,body.native-v24 .coach-explorer-header button{border:1px solid #d1a955;border-radius:3px;background:#173c34;color:#fff2ca}
.filter-content{color:var(--archive-ink)}
.filter-match-summary{border:1px solid #9d7b49;border-radius:3px;background:#fff8e7;color:var(--archive-ink);box-shadow:inset 4px 0 0 var(--archive-coral)}
.filter-match-summary span{color:#736957}
.filter-auto-note{border-color:var(--archive-coral);background:#fff8e4;color:#4f5d52}
.filter-content>section{border:1px solid #9d7d4a;border-radius:3px;background:#fff8e9}
.filter-content .year-filter-section{border-color:#8d6b36;background:linear-gradient(145deg,#fff2c9,#ead4a3)}
.filter-content section>label,.filter-content label,.stat-filter-heading label{color:#263e35!important}
.filter-content section>p,.filter-content small,.stat-filter-heading p,.team-filter-lineage{color:#6a685a!important}
.filter-content select,.filter-content input,.stat-filter-grid select{border:1px solid #8f7448!important;border-radius:3px!important;background:#fffdf5!important;color:#263a32!important}
.advanced-filters{border:1px solid #82653b;border-radius:3px;background:#f1dfb9}
.advanced-filters>summary{color:#28483d}
.advanced-filters>summary small{color:#756c57}
.advanced-filters .stat-filter-section{border-color:#9d7d4d;background:#f8eccf}
.filter-actions button,.filter-load-more{border-radius:3px!important}
.filter-actions .filter-primary{background:var(--archive-forest)!important;color:#fff2cd!important}
.filter-results button{border-color:#aa8954!important;border-radius:3px!important;background:#fff9e9!important;color:#263c33!important}

body.native-v24 .coach-explorer-scroll{color:var(--archive-ink)}
body.native-v24 .coach-explorer-portrait,body.native-v24 .results-card-portrait{border:4px solid var(--archive-forest);border-radius:3px;background:#d8c79f;color:var(--archive-forest);box-shadow:0 0 0 2px var(--archive-brass)}
body.native-v24 .coach-explorer h2{color:var(--archive-forest-deep)!important;font-family:var(--archive-serif);font-size:30px}
body.native-v24 .coach-explorer-kicker{color:var(--archive-coral)}
body.native-v24 .coach-explorer-identity p,body.native-v24 .coach-explorer-identity .coach-explorer-teams,body.native-v24 .coach-explorer-scroll section>p{color:#3f5148!important}
body.native-v24 .coach-explorer-scroll>section{border-color:#ae8c55}
body.native-v24 .coach-explorer-scroll h3{color:#83512f!important}
.coach-badge{border-radius:3px;border-color:#9b7d4d;background:#fff8e8;color:#3b4d43}
.coach-stat-grid>div{border-color:#9a7c4c;border-radius:3px;background:#fff9e9}
.coach-stat-grid strong{color:var(--archive-forest-deep)}
.coach-stat-grid span,.coach-stat-heading span,.coach-stat-context{color:#6d6858!important}
.coach-season-history,.coach-awards-history{border-color:#967847;border-radius:3px;background:#f8eccf}
.coach-season-table-wrap,.coach-season-history td,.coach-season-history th,.coach-awards-history ul,.coach-awards-history li{border-color:#bea477}
.coach-season-history th{background:#19463b;color:#fff1c9}
.coach-season-history td{color:#35463d;background:#fffaf0}
.coach-explorer-actions button,.coach-explorer-actions a,.coach-explorer-navigation button,.coach-explorer-path button{border-color:#987844;border-radius:3px;background:#fff7e4;color:#274239}
.coach-explorer-actions .coach-explorer-primary{background:var(--archive-forest);color:#fff2cf}
.worked-under-item{border-color:#8d7046;background:#fff6df}
.worked-under-coach{color:#24453b}.worked-under-source{color:#9e4e35}

.results-explorer{height:210px}
.results-rail-shell{background:linear-gradient(#edd9ae,#dfc18a)}
.results-coach-card{flex-basis:258px;border:1px solid #8f7046;border-radius:3px;background:linear-gradient(145deg,#fffaf0,#eddbb4);color:var(--archive-ink);box-shadow:inset 0 0 0 1px #fff}
.results-coach-card:hover,.results-coach-card:focus{border-color:var(--archive-coral);background:#fff4d4;outline:2px solid #ad543944}
.results-coach-card.is-selected{border-color:var(--archive-forest);background:#fff0c8;box-shadow:inset 4px 0 0 var(--archive-coral),0 7px 18px #4c2f1e3d}
.results-card-copy small{color:var(--archive-coral)}
.results-card-copy strong{color:var(--archive-forest-deep);font-family:var(--archive-serif)}
.results-card-copy>span,.results-card-copy em{color:#6a685a}
.results-explorer-actions button,.results-scroll{border-radius:3px;background:#f5e3bd;color:#29483e;border-color:#9b7c49}

/* Selected-tree file index with coach rosters */
.generation-guide[data-mode="tree-list"]{width:252px;border:2px solid var(--archive-brass);border-radius:7px;background:linear-gradient(180deg,#123f35f7,#092d27f7);box-shadow:inset 0 0 0 3px #4b2b1b,0 14px 34px #0a211b80}
.generation-guide[data-mode="tree-list"] header{padding:14px 14px 12px;border-bottom:2px solid var(--archive-brass);background:linear-gradient(180deg,#754326,#4c2a19)}
.generation-guide[data-mode="tree-list"] header span{color:#f1bd69;font-size:8px}
.generation-guide[data-mode="tree-list"] header strong{font-size:17px}
.generation-guide[data-mode="tree-list"] header small{font-size:9px}
.generation-guide[data-mode="tree-list"] .tree-generation-all{width:calc(100% - 18px);margin:9px;padding:10px;border-color:#6e8d80;border-radius:4px;background:#ffffff0a}
.generation-guide[data-mode="tree-list"] ol{gap:8px;padding:0 9px}
.generation-guide[data-mode="tree-list"] .tree-generation-group{overflow:hidden;border:1px solid #55776b;border-radius:5px;background:#0b332b}
.generation-guide[data-mode="tree-list"] .tree-generation-group>button:first-child{min-height:48px;border:0;border-radius:0;background:transparent}
.generation-guide[data-mode="tree-list"] .tree-generation-group>button:first-child:hover,.generation-guide[data-mode="tree-list"] .tree-generation-group>button:first-child:focus-visible{background:#174c40;transform:none}
.generation-guide[data-mode="tree-list"] .tree-generation-group>button:first-child[aria-current="step"]{background:linear-gradient(90deg,#985137,#6d3b26);box-shadow:inset 4px 0 0 #ffe49a}
.generation-guide[data-mode="tree-list"] .tree-generation-number{border-radius:3px;background:#f4e4bd;color:#3b291c}
.generation-guide[data-mode="tree-list"] .tree-generation-roster{display:grid;gap:0;border-top:1px solid #496b60;background:#082a24}
.generation-guide[data-mode="tree-list"] button.tree-generation-coach{display:block;width:100%;min-height:29px;padding:6px 11px 6px 49px;border:0;border-bottom:1px solid #315348;border-radius:0;background:transparent;color:#d9e2d4;font:750 9px/1.3 var(--archive-sans);text-align:left;white-space:normal;cursor:pointer;transform:none}
.generation-guide[data-mode="tree-list"] button.tree-generation-coach:last-child{border-bottom:0}
.generation-guide[data-mode="tree-list"] button.tree-generation-coach::before{content:"";display:inline-block;width:5px;height:5px;margin:0 7px 1px -15px;border:1px solid #d1ad59;border-radius:50%;background:#123f35}
.generation-guide[data-mode="tree-list"] button.tree-generation-coach:hover,.generation-guide[data-mode="tree-list"] button.tree-generation-coach:focus-visible{background:#184c40;color:#fff2cd;outline:0;transform:none}
.generation-guide[data-mode="tree-list"] button.tree-generation-coach.is-selected{background:#e8d09c;color:#253a32;font-weight:950;box-shadow:inset 4px 0 0 var(--archive-coral)}
.generation-guide[data-mode="tree-list"] button.tree-generation-coach.is-selected::before{background:var(--archive-coral);border-color:#69331f}
.generation-guide[data-mode="tree-list"] .tree-generation-help{position:sticky;bottom:0;margin:9px 0 0;padding:10px;border-top:1px solid #496b60;background:#0a3029;color:#afc4ba}
.generation-guide[data-mode="tree-list"]~.frame-key{left:278px}

.history-guide{top:12px;width:min(820px,calc(100vw - 610px));min-width:640px;grid-template-columns:48px minmax(0,1fr) 48px;gap:10px;padding:9px 10px;border:2px solid var(--archive-brass);border-radius:7px!important;background:linear-gradient(145deg,#fff8e7f7,#e2c88ff7)!important;box-shadow:inset 0 0 0 3px #704426,0 18px 48px #0a211b8f!important}
.history-guide-dossier{display:grid;gap:6px;min-width:0;text-align:left!important}
.history-guide-heading{display:grid;grid-template-columns:74px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0}
.history-guide-year{display:grid!important;align-content:center;min-height:34px;margin:0!important;padding:4px 7px;border:1px solid #98733c;border-radius:3px;background:linear-gradient(#fff4d2,#e4ca91);text-align:center;box-shadow:inset 0 0 0 2px #fff9e6}
.history-guide-year small{color:#8d4a34!important;font:950 5.5px var(--archive-sans)!important;letter-spacing:.12em!important;text-transform:uppercase}
.history-guide-year strong{margin:1px 0 0!important;color:var(--archive-forest-deep)!important;font:900 15px/1 var(--archive-serif)!important}
.history-guide-identity{display:grid!important;min-width:0;margin:0!important;text-align:left!important}
.history-guide-identity strong{overflow:hidden;margin:0!important;color:var(--archive-forest-deep)!important;font:900 18px/1.05 var(--archive-serif)!important;text-overflow:ellipsis;white-space:nowrap}
.history-guide-identity small{margin-top:3px;color:#725f45!important;font:800 7px var(--archive-sans)!important;letter-spacing:.02em!important}
.history-guide-heading>a{display:flex;min-height:32px;align-items:center;padding:0 10px;border:1px solid #8d6a39;border-radius:3px;background:#174a3e;color:#fff1cb;font-size:7px;font-weight:900;text-decoration:none;white-space:nowrap}
.history-guide-heading>a:hover,.history-guide-heading>a:focus-visible{background:var(--archive-coral);outline:2px solid #f1cc6c66}
.history-guide-insights{display:block;min-width:0}
.history-guide-insights dl{display:grid;min-width:0;grid-template-columns:repeat(6,minmax(64px,1fr));margin:0;border:1px solid #9d7845;border-radius:3px;background:#fff9e9;overflow:hidden}
.history-guide-insights dl>div{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:0 4px;padding:4px 7px;border-right:1px solid #c9ad7c}
.history-guide-insights dl>div:last-child{border-right:0}
.history-guide-insights dt{grid-column:1/-1;color:#765c3c;font-size:5.5px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.history-guide-insights dd{display:contents;margin:0}
.history-guide-insights dd>strong{margin:0!important;color:var(--archive-forest-deep)!important;font:900 12px/1.1 var(--archive-serif)!important}
.history-guide-insights dd>small{align-self:end;color:#9a5038!important;font:900 5.5px/1.1 var(--archive-sans)!important;letter-spacing:0!important;text-align:right}
.history-guide-dossier>em{overflow:hidden;color:#765c3e;font:italic 7px var(--archive-serif);text-overflow:ellipsis;white-space:nowrap}
.has-coach-explorer .history-guide{left:calc(50% - 120px)}
.history-guide>button{width:48px;height:58px;border-radius:4px!important;font-size:23px!important}
.history-guide button,.controls button{border-radius:3px!important;border-color:#8f713d!important;background:linear-gradient(#1b584a,#103c33)!important;color:#fff1ca!important;box-shadow:inset 0 0 0 1px #e9ca6e33,0 5px 14px #1c281f55!important}
.history-guide button:hover,.controls button:hover{border-color:#f1d375!important;background:#236756!important}

/* Option C: interactive court-sideline timeline */
.native-integrated-timeline,.native-tree-entry{display:none!important}
.court-timeline{--court-scale-width:3000px;position:absolute;z-index:12;right:112px;bottom:12px;left:278px;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:stretch;gap:6px;height:96px;padding:6px;border:2px solid var(--archive-brass);border-radius:7px;background:linear-gradient(180deg,#68401f,#351d12);box-shadow:inset 0 0 0 2px #1b100a,0 15px 34px #10251d6e;color:#fff0c8;transition:bottom .22s ease,opacity .18s ease;overflow:hidden}
.court-timeline[hidden]{display:none}
.court-timeline-step{border:1px solid #caa34c;border-radius:3px;background:linear-gradient(#1b584a,#0d352d);color:#fff1c9;font:900 19px var(--archive-serif);cursor:pointer}
.court-timeline-step:hover,.court-timeline-step:focus-visible{border-color:#ffe49a;background:#287160;outline:2px solid #f0cc6966}
.court-timeline-body{display:grid;min-width:0;grid-template-rows:30px minmax(0,1fr);gap:3px}
.court-timeline-body>header{display:grid;grid-template-columns:minmax(170px,1fr) auto minmax(130px,1fr);align-items:center;gap:10px;padding:0 7px}
.court-timeline-body>header>span{display:grid;min-width:0}
.court-timeline-body>header>span strong{color:#ffe7a4;font:900 9px var(--archive-serif);letter-spacing:.07em;text-transform:uppercase}
.court-timeline-body>header>span small{overflow:hidden;color:#d6c092;font-size:6.5px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.court-timeline-body output{display:flex;min-width:220px;align-items:baseline;justify-content:center;gap:7px;color:#fff0c9}
.court-timeline-body output strong{padding:2px 7px;border:1px solid #c69943;border-radius:3px;background:#f5e2b1;color:#3d291b;font:900 13px var(--archive-serif);box-shadow:0 2px 0 #24150d}
.court-timeline-body output span{max-width:170px;overflow:hidden;font:900 8px var(--archive-serif);text-overflow:ellipsis;white-space:nowrap}
.court-timeline-body>header>button{justify-self:end;border:0;background:transparent;color:#e5c774;font-size:6.5px;font-weight:900;text-decoration:underline;cursor:pointer}
.court-timeline-window{position:relative;min-width:0;border:1px solid #9c7136;border-radius:3px;background:linear-gradient(180deg,#25170f,#52301a);overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;scroll-behavior:smooth;touch-action:pan-x;cursor:grab}
.court-timeline-window::-webkit-scrollbar{display:none}
.court-timeline-window.is-gliding{scroll-behavior:auto;cursor:grabbing}
.court-timeline-track{position:relative;width:calc(var(--court-scale-width) + 100%);height:100%}
.court-timeline-scale{position:absolute;top:0;bottom:0;left:50%;width:var(--court-scale-width)}
.court-timeline-rail{position:absolute;right:0;bottom:19px;left:0;height:4px;border:1px solid #d2aa54;border-radius:3px;background:linear-gradient(#edcb73,#8f6529);box-shadow:0 1px 0 #150c08}
.court-timeline-tick{position:absolute;bottom:16px;width:1px;height:8px;background:#d7b65f;transform:translateX(-50%)}
.court-timeline-tick.is-five{height:12px}.court-timeline-tick.is-decade{width:2px;height:17px;background:#ffe299}
.court-timeline-tick small{position:absolute;bottom:12px;left:50%;color:#ead9aa;font:900 6px var(--archive-serif);transform:translateX(-50%);white-space:nowrap}
.court-timeline-basketball{position:absolute;bottom:10px;display:grid;width:18px;height:18px;place-items:center;border:1px solid #e4be62;border-radius:50%;background:#173e34;color:#f0c95e;font-size:9px;transform:translateX(-50%);box-shadow:0 0 0 2px #382214}
.court-timeline-tree{position:absolute;z-index:2;bottom:calc(14px + var(--timeline-row) * 8px);width:8px;height:8px;padding:0;border:1px solid #f1ce76;border-radius:50%;background:#a9573d;box-shadow:0 0 0 2px #3a2114;transform:translateX(-50%);cursor:pointer;transition:width .14s ease,height .14s ease,background .14s ease,box-shadow .14s ease}
.court-timeline-tree:hover,.court-timeline-tree:focus-visible,.court-timeline-tree.is-preview{z-index:5;width:13px;height:13px;background:#f0cf71;box-shadow:0 0 0 3px #16493d,0 0 12px #f2cf6b;outline:0}
.court-timeline-tree.is-active{z-index:4;width:14px;height:14px;border-color:#fff4ba;background:#1f8173;box-shadow:0 0 0 3px #f2ce68,0 0 13px #f2ce68}
.court-timeline-milestone{position:absolute;z-index:1;top:4px;color:#d86647;font-size:8px;transform:translateX(-50%)}
.court-timeline-center{position:sticky;z-index:4;bottom:0;left:50%;display:block;width:2px;height:100%;background:linear-gradient(transparent,#ffe797 18%,#ffe797 80%,transparent);box-shadow:0 0 8px #ffe08a;pointer-events:none;transform:translateX(-1px)}
.has-results-explorer .court-timeline{bottom:222px}
.generation-guide[data-mode="tree-list"]{bottom:118px}
.has-results-explorer .generation-guide[data-mode="tree-list"]{bottom:328px}
.frame-key{border-radius:4px!important}
.minimap{border:3px solid var(--archive-walnut)!important;border-radius:4px!important;outline:1px solid var(--archive-brass)}
.zoom-readout{border:1px solid var(--archive-brass);border-radius:3px;background:#113d34e8;color:#fff0c7}
.filter-chip{border-radius:3px;border-color:#d0a84f;background:#113b33ed;color:#fff1c8}

.rules-header{background:linear-gradient(#754326,#4a2919)!important;color:#fff0c8}
.rules-content p{color:#3d5147}
.exception{border-color:#a65338;background:#f4e3bd}
.exception h4{color:var(--archive-forest)}

/* Statistics ledger uses the same file-room language. */
body:not(.native-v24) .stats-topbar{border-bottom-color:var(--archive-brass);background:linear-gradient(90deg,#082f28,#12493d)}
body:not(.native-v24) .stats-topbar nav a{border-radius:3px;background:linear-gradient(#f7e6b9,#d6b875);color:#3b291c}
body:not(.native-v24) .stats-topbar nav a[aria-current]{background:var(--archive-coral);color:#fff4d7}
body:not(.native-v24) .stats-mark{border-radius:5px;background:var(--archive-paper-light)}
body:not(.native-v24) .stats-hero{border-width:5px;outline-offset:-9px;background:linear-gradient(105deg,#fff8e6ed,#e7ce9ced)}
body:not(.native-v24) .stats-hero aside,body:not(.native-v24) .summary-strip>div,body:not(.native-v24) .comparison-panel article{border-radius:2px;background:#fff7e4}
body:not(.native-v24) .summary-strip>div{box-shadow:inset 4px 0 0 var(--archive-forest),inset 0 0 0 1px #fff}
body:not(.native-v24) .summary-strip>div:nth-child(2n){box-shadow:inset 4px 0 0 var(--archive-coral),inset 0 0 0 1px #fff}
body:not(.native-v24) .stats-view-tabs button,body:not(.native-v24) .stats-controls input,body:not(.native-v24) .stats-controls select,body:not(.native-v24) .stats-controls>button{border-radius:3px}
body:not(.native-v24) .stats-controls{border-width:2px;background:#103e35f5}
body:not(.native-v24) .table-shell{border-width:3px;background:#f8eac9}
body:not(.native-v24) th{background:#103e35}
body:not(.native-v24) td{background:#fffaf0}
body:not(.native-v24) tbody tr:nth-child(even) td{background:#f3e4c3}
body:not(.native-v24) tbody tr:hover td{background:#ffe9aa}

@media(max-width:900px) and (min-width:721px){
  .generation-guide[data-mode="tree-list"]{left:8px;width:220px}
  .generation-guide[data-mode="tree-list"]~.frame-key{left:236px}
}
@media(max-width:720px){
  .generation-guide[data-mode="tree-list"]{display:none!important}
  body.native-v24 .coach-explorer,body.native-v24 .results-explorer{border-width:2px 0 0;border-radius:0}
  body.native-v24 .coach-explorer{background:linear-gradient(#f8ebcf,#e2c892)}
  .coach-explorer-actions{background:linear-gradient(transparent,#e2c892 22%)}
  .results-coach-card{flex-basis:242px}
  .coach-season-history tr{border-color:#9a7c4c;background:#fff9e9}
  .history-guide{width:auto;min-width:0;grid-template-columns:36px minmax(0,1fr) 36px;gap:5px;padding:5px 6px}
  .history-guide-heading{grid-template-columns:38px minmax(0,1fr)}
  .history-guide-heading>span{grid-column:1/-1;text-align:center}
  .history-guide-insights{gap:4px}
  .history-guide-insights dl{grid-template-columns:repeat(4,1fr)}
  .history-guide-insights dl>div{display:grid;gap:1px;padding:3px;text-align:center}
  .history-guide-insights dt{font-size:5.5px}.history-guide-insights dd{font-size:9px}
  .history-guide-insights>a{padding-inline:5px;font-size:6px}
  .history-guide-dossier>em{display:none}
  .has-coach-explorer .history-guide{left:10px}
}
@media(prefers-reduced-motion:reduce){.native-node-frame,.native-node-hover-hint,.native-node-selection-seal,.native-node-connector{transition:none}}

/* Version 32.4 readability audit: minimum type, explicit contrast, and no group rasterization. */
body.native-v24 .native-node{filter:none!important;transition:opacity .16s ease!important}
body.native-v24 .native-node:focus-visible,body.native-v24 .native-node.is-dragging{filter:none!important}
body.native-v24 .native-node-team,body.native-v24 .native-node-seasons{font-size:11px!important}
body.native-v24 .native-node-generation{font-size:9px!important}
body.native-v24 .native-node-record-badge text{font-size:7.5px!important}

body.native-v24 .topbar button,body.native-v24 .topbar summary,body.native-v24 .search input{font-size:13px}
body.native-v24 .brand small{font-size:10px}
body.native-v24 .hint{font-size:12px}
body.native-v24 .hint span{color:#45564d!important;font-size:11px}

.generation-guide[data-mode="tree-list"]{width:268px}
.generation-guide[data-mode="tree-list"] header span{font-size:10px}
.generation-guide[data-mode="tree-list"] header strong{font-size:19px}
.generation-guide[data-mode="tree-list"] header small{color:#f1dfb5;font-size:11px;line-height:1.4}
.generation-guide[data-mode="tree-list"] .tree-generation-all strong{font-size:12px}
.generation-guide[data-mode="tree-list"] .tree-generation-all small{color:#c4d5ce;font-size:10px;line-height:1.35}
.generation-guide[data-mode="tree-list"] .tree-generation-copy strong{font-size:12px}
.generation-guide[data-mode="tree-list"] .tree-generation-copy small{color:#b8ccc4;font-size:10px}
.generation-guide[data-mode="tree-list"] button.tree-generation-coach{min-height:34px;color:#f2eee0;font-size:11.5px;line-height:1.35}
.generation-guide[data-mode="tree-list"] .tree-generation-help{color:#c6d5cf;font-size:10px;line-height:1.4}
.generation-guide[data-mode="tree-list"]~.frame-key{left:294px}

.history-guide{min-height:94px}
.history-guide-identity strong{font-size:20px!important}
.history-guide-identity small{color:#554a38!important;font-size:10px!important}
.history-guide-year small{font-size:8px!important}.history-guide-year strong{font-size:17px!important}
.history-guide-heading>a{min-height:38px;font-size:10px}
.history-guide-insights dt{color:#604b34;font-size:8px}
.history-guide-insights dd>strong{font-size:15px!important}
.history-guide-insights dd>small{color:#85432f!important;font-size:8px!important}
.history-guide-dossier>em{color:#5b4934;font-size:10px}

.court-timeline{height:110px}
.court-timeline-body{grid-template-rows:36px minmax(0,1fr)}
.court-timeline-body>header>span strong{font-size:11px}
.court-timeline-body>header>span small{color:#f0deb7;font-size:9px}
.court-timeline-body output strong{font-size:15px}
.court-timeline-body output span{max-width:210px;font-size:11px}
.court-timeline-body>header>button{color:#ffe08d;font-size:10px}
.court-timeline-tick small{bottom:14px;color:#fff0c3;font-size:9px}
.court-timeline-tree{width:10px;height:10px}
.court-timeline-tree:hover,.court-timeline-tree:focus-visible,.court-timeline-tree.is-preview{width:15px;height:15px}
.court-timeline-tree.is-active{width:16px;height:16px}
.generation-guide[data-mode="tree-list"]{bottom:132px}
.has-results-explorer .generation-guide[data-mode="tree-list"]{bottom:342px}
.has-coach-explorer .history-guide{left:calc(50% - 230px);width:min(560px,calc(100vw - 960px));min-width:420px}
.has-coach-explorer .history-guide-insights dl{grid-template-columns:repeat(3,1fr)}
.has-coach-explorer .history-guide-insights dl>div:nth-child(n+4){display:none}
.has-coach-explorer .court-timeline{right:min(690px,calc(100vw - 470px))}

body.native-v24 .filter-content{font-size:12px}
body.native-v24 .filter-content section>label,body.native-v24 .filter-content label,body.native-v24 .stat-filter-heading label{font-size:12px!important}
body.native-v24 .filter-content section>p,body.native-v24 .filter-content small,body.native-v24 .stat-filter-heading p,body.native-v24 .team-filter-lineage{color:#4d5148!important;font-size:11px!important;line-height:1.45}
body.native-v24 .filter-content select,body.native-v24 .filter-content input,body.native-v24 .stat-filter-grid select{font-size:12px!important}
body.native-v24 .filter-results-heading strong{font-size:14px}
body.native-v24 .filter-results-heading small{color:#565f55!important;font-size:11px}
body.native-v24 .filter-result strong{font-size:13px}
body.native-v24 .filter-result small{color:#596158!important;font-size:11px}

body.native-v24 .coach-explorer{width:min(660px,calc(100vw - 28px))}
body.native-v24 .coach-explorer-header span{font-size:10px}
body.native-v24 .coach-explorer-header strong{color:#ffe8b2!important;font-size:12px}
body.native-v24 .coach-explorer-kicker{font-size:11px}
body.native-v24 .coach-explorer-identity p,body.native-v24 .coach-explorer-identity .coach-explorer-teams{color:#344c42!important;font-size:13px;line-height:1.45}
body.native-v24 .coach-badge{font-size:10px}
body.native-v24 .coach-explorer-scroll h3{color:#6f3e29!important;font-size:11px}
body.native-v24 .coach-explorer-scroll section>p{color:#31483e!important;font-size:13px;line-height:1.55}
body.native-v24 .coach-stat-heading span,body.native-v24 .coach-season-history summary small,body.native-v24 .coach-explorer-status{color:#5b5c50!important;font-size:11px}
body.native-v24 .coach-stat-grid strong{font-size:20px}
body.native-v24 .coach-stat-grid span{color:#555b51!important;font-size:10px}
body.native-v24 .coach-stat-context{color:#47564e!important;font-size:12px!important}
body.native-v24 .coach-season-history summary span,body.native-v24 .coach-awards-history summary span{color:#243f35;font-size:13px;font-weight:900}
body.native-v24 .coach-season-key{color:#4f4d42!important;font-size:11px!important;line-height:1.5}
body.native-v24 .coach-season-key strong{color:#8d3f2d!important}
body.native-v24 .coach-season-history table{min-width:720px;font-size:12px;line-height:1.35}
body.native-v24 .coach-season-history th{height:42px;padding:9px 10px!important;background:#16483d!important;color:#fff8df!important;font-size:12px!important;font-weight:900}
body.native-v24 .coach-season-history td{height:48px;padding:9px 10px!important;background:#fffaf0!important;color:#273f36!important;font-size:12px!important;font-weight:750}
body.native-v24 .coach-season-history tbody tr:nth-child(even) td{background:#f3e5c5!important}
body.native-v24 .coach-season-history tbody tr:hover td,body.native-v24 .coach-season-history tbody tr:focus-within td{background:#ffe6a8!important;color:#1f382f!important}
body.native-v24 .worked-under-item{border-color:#80633f;background:#fff9e9}
body.native-v24 .worked-under-coach{color:#173f35!important;font-size:12px}
body.native-v24 .worked-under-source{background:#714127!important;color:#fff0c5!important;font-size:12px}
body.native-v24 .worked-under-unverified{color:#4f5148!important;font-size:11px}
body.native-v24 .coach-awards-history li strong{color:#263e35;font-size:12px}
body.native-v24 .coach-awards-history li span{color:#5d594d!important;font-size:11px}
body.native-v24 .coach-explorer-actions button,body.native-v24 .coach-explorer-actions a,body.native-v24 .coach-explorer-navigation button,body.native-v24 .coach-explorer-path button{font-size:11px}

body.native-v24 .results-explorer-header span{font-size:10px}
body.native-v24 .results-explorer-header strong{font-size:16px}
body.native-v24 .results-explorer-header small{color:#f0ddb2!important;font-size:11px}
body.native-v24 .results-card-copy small{font-size:10px}
body.native-v24 .results-card-copy strong{font-size:15px}
body.native-v24 .results-card-copy>span,body.native-v24 .results-card-copy em{color:#4e564e;font-size:11px}
body.native-v24 .results-explorer-actions button{font-size:11px}

body:not(.native-v24) .stats-hero p{color:#3f463f;font-size:16px}
body:not(.native-v24) .summary-strip span{color:#5d4d3b;font-size:10px}
body:not(.native-v24) .stats-controls label{color:#fff0cb;font-size:10px}
body:not(.native-v24) .stats-controls input,body:not(.native-v24) .stats-controls select,body:not(.native-v24) .stats-controls>button{font-size:12px}
body:not(.native-v24) table{font-size:12px}
body:not(.native-v24) th,body:not(.native-v24) th button{font-size:11px}
body:not(.native-v24) td{color:#2d312b;font-size:12px}
body:not(.native-v24) .results-heading p{color:#354b40;font-size:12px}

@media(max-width:1100px) and (min-width:721px){
  body.native-v24 .coach-explorer{width:min(600px,calc(100vw - 28px))}
  .history-guide{width:min(720px,calc(100vw - 500px));min-width:560px}
  .history-guide-insights dl{grid-template-columns:repeat(3,1fr)}
  .history-guide-insights dl>div:nth-child(3){border-right:0}
  .history-guide-insights dl>div:nth-child(-n+3){border-bottom:1px solid #c9ad7c}
  .has-coach-explorer .court-timeline{opacity:0;pointer-events:none}
}
@media(max-width:720px){
  body.native-v24 .coach-explorer{width:100%}
  body.native-v24 .coach-season-history table{min-width:0;font-size:12px}
  body.native-v24 .coach-season-history td{height:auto;background:#fffaf0!important;color:#273f36!important;font-size:12px!important}
  body.native-v24 .coach-season-history td::before{color:#774b31!important;font-size:9px!important}
  .history-guide{min-height:72px}
  .history-guide-heading{grid-template-columns:62px minmax(0,1fr) auto}
  .history-guide-heading>span{grid-column:auto;text-align:left}
  .history-guide-heading>a{padding-inline:7px;font-size:9px}
  .history-guide-insights{display:none}
  .history-guide-dossier>em{display:none}
  .history-guide>button{width:36px;height:54px}
  .history-guide-identity strong{font-size:16px!important}
  .history-guide-identity small{font-size:9px!important}
  .court-timeline{right:8px;bottom:86px;left:8px;height:90px;grid-template-columns:34px minmax(0,1fr) 34px}
  .court-timeline-body{grid-template-rows:30px minmax(0,1fr)}
  .court-timeline-body>header{grid-template-columns:1fr auto;padding-inline:4px}
  .court-timeline-body>header>span,.court-timeline-body>header>button{display:none}
  .court-timeline-body output{min-width:0;justify-content:flex-start}
  .court-timeline-body output span{max-width:150px}
  .court-timeline-step{font-size:16px}
  .has-results-explorer .court-timeline{bottom:238px}
  .has-coach-explorer .court-timeline{display:none}
}
