.center-tabs{overflow-x:auto;flex-wrap:nowrap}.center-tabs>button{flex-shrink:0}
.hr-active{display:flex;align-items:center;gap:18px;border:1px solid var(--border);background:var(--panel);padding:20px;margin:22px 0}.hr-active.working{border-color:var(--accent);background:var(--hs-hero)}.hr-active-icon{font-size:32px;color:var(--accent)}.hr-active>div{flex:1;min-width:0;display:grid;gap:5px}.hr-active small,.hr-active span:not(.hr-active-icon){font-size:11px;color:var(--dim)}.hr-active strong{font-size:16px;font-weight:500}.hr-active button{font-size:11px;white-space:nowrap}.hr-research progress,.hr-classes progress{display:block;width:100%;height:7px;accent-color:var(--accent);border:0}.hr-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}.hr-branches button{display:grid;grid-template-columns:25px 1fr;gap:3px 10px;text-align:left;padding:14px;background:var(--panel)}.hr-branches button.active{color:var(--text);border-color:var(--accent);background:var(--hs-tint)}.hr-branch-symbol{grid-row:span 2;font-size:22px;color:var(--accent)}.hr-branches strong{font-size:13px;font-weight:500}.hr-branches small{font-size:10px;color:var(--dim)}.hr-workbench{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(220px,1fr);gap:18px;align-items:start}.hr-tree{border:1px solid var(--border);padding:20px;background:radial-gradient(var(--border) .6px,transparent .6px);background-size:16px 16px}.hr-tree-caption{text-align:center;font-size:11px;color:var(--dim);margin:0 0 22px}.hr-tier{display:grid;gap:12px;position:relative;z-index:1}.hr-tier-root{grid-template-columns:1fr;max-width:230px;margin:auto}.hr-tier-branches{grid-template-columns:1fr 1fr}.hr-node{min-width:0;width:100%;display:grid;justify-items:center;gap:7px;padding:16px 9px;background:var(--panel);border:1px solid var(--border);text-align:center;white-space:normal;overflow-wrap:anywhere}.hr-node.selected{outline:1px solid var(--accent);border-color:var(--accent);background:var(--hs-hero)}.hr-node.completed{border-color:var(--ok)}.hr-node.researching .hr-node-icon{background:var(--accent);color:var(--bg)}.hr-node-icon{font-family:Georgia,serif;color:var(--accent);border:1px solid var(--border);width:30px;height:30px;display:grid;place-items:center;box-shadow:3px 3px 0 var(--bg);font-size:17px}.hr-node strong{font-size:12px;font-weight:500}.hr-node small{font-size:10px;color:var(--dim)}.hr-node.completed small{color:var(--ok)}.hr-node-cost{font-size:10px;color:var(--accent)}.hr-fork{height:33px;width:55%;margin:auto;position:relative;background:linear-gradient(var(--border),var(--border)) center top/1px 17px no-repeat}.hr-fork:before{content:'';position:absolute;top:16px;left:0;right:0;height:17px;border:1px solid var(--border);border-bottom:0}.hr-merge{transform:rotate(180deg)}.hr-detail{border:1px solid var(--border);padding:22px;background:var(--panel);position:sticky;top:0;min-width:0}.hr-detail h3{font-size:21px;font-weight:500;margin:12px 0}.hr-detail>p{font-size:12px;color:var(--dim);line-height:1.9}.hr-detail h4{font-size:12px;color:var(--accent);margin:20px 0 8px}.hr-effects{margin:0;padding-left:18px;font-size:12px;line-height:2.1}.hr-requirement{border-top:1px solid var(--border);padding-top:14px;margin-top:20px}.hr-budget{display:grid;grid-template-columns:1fr auto;gap:8px;margin:18px 0;font-size:11px}.hr-budget span{color:var(--dim)}.hr-budget strong{font-weight:500}.hr-start{width:100%;font-size:12px;margin-top:16px;white-space:normal;min-height:42px}.hr-start:disabled{opacity:.65}.hr-detail .hs-confirm{padding:13px;margin-bottom:0}.hr-detail .hs-confirm>div{flex-wrap:wrap}.hr-rate-details{border:1px solid var(--border);background:var(--panel);padding:17px 20px;margin:20px 0;font-size:12px}.hr-rate-details summary{cursor:pointer;color:var(--accent)}.hr-capacity{padding:16px 0;font-size:11px}.hr-capacity>div{display:flex;justify-content:space-between;gap:10px}.hr-capacity strong,.hr-capacity b{font-weight:500;color:var(--accent)}.hr-capacity ul{list-style:none;padding:0!important;margin:12px 0 0}.hr-capacity li{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--border);padding:6px 0;color:var(--dim);font-size:11px}.hr-diffusion{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px;border:1px solid var(--border);background:var(--panel)}.hr-diffusion h3{font-size:14px;font-weight:500;margin:0 0 7px}.hr-diffusion p{font-size:11px;color:var(--dim);margin:0}.hr-diffusion button{flex-shrink:0;font-size:11px}.hr-country-label{display:flex;align-items:center;gap:15px;font-size:12px;margin:22px 0;color:var(--dim);flex-wrap:wrap}.hr-country-label select{background:var(--panel);border:1px solid var(--border);color:var(--text);padding:10px;min-height:42px;font-size:13px;max-width:100%}.hr-regime h3{font-size:25px!important;margin-top:10px!important}.hr-regime dl{margin:22px 0 0;font-size:12px}.hr-regime dt{color:var(--accent);margin:14px 0 5px}.hr-regime dd{margin:0;color:var(--dim);line-height:1.9}.hr-factions{margin-top:18px}.hr-factions span{display:inline-block;font-size:11px;border:1px solid var(--border);padding:5px 9px;margin:0 6px 6px 0;background:var(--panel2)}.hr-capacities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hr-office{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--border);flex-wrap:wrap}.hr-office>div{flex:1;min-width:120px}.hr-office strong{display:block;font-weight:500;font-size:12px}.hr-office small{display:block;font-size:11px;color:var(--dim);overflow-wrap:anywhere}.hr-office>span{font-size:10px}.hr-office button{font-size:11px;min-height:35px}.hr-good{color:var(--ok)}.hr-classes{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;margin-top:20px}.hr-classes>div>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;margin-bottom:8px}.hr-classes strong{font-weight:500}.hr-classes span{color:var(--dim)}.hr-classes progress{accent-color:var(--ok)}
@media(max-width:1250px){.hr-workbench{grid-template-columns:1fr}.hr-detail{position:static}.hr-tree{padding:20px 25px}.hr-tier-root{max-width:230px}.hr-capacities{gap:12px}.hr-diffusion{flex-wrap:wrap}}
@media(max-width:820px){.hr-active{padding:15px;gap:12px;flex-wrap:wrap}.hr-active>div{flex-basis:70%}.hr-active strong{font-size:14px}.hr-branches button{padding:12px 8px;grid-template-columns:1fr;justify-items:center;text-align:center}.hr-branch-symbol{grid-row:auto;font-size:20px}.hr-branches small{font-size:10px}.hr-tree{padding:20px 12px}.hr-tier-root{max-width:190px}.hr-node{min-height:130px}.hr-node-cost{font-size:10px}.hr-detail{padding:20px}.hr-capacities{grid-template-columns:1fr}.hr-capacity{padding:12px 0}.hr-classes{grid-template-columns:1fr}.hr-country-label select{width:100%}.hr-rate-details{padding:16px}.hr-office button{margin-left:auto}.hr-diffusion{padding:18px}}
