.tech-roots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:16px}.tech-roots h3{margin:0;background:#23445b;border:1px solid #77c5d8;padding:12px 3px;text-align:center;font-size:16px;border-radius:5px}.tech-forks{position:relative;margin:0 4px;padding-top:22px;display:grid;gap:9px}.tech-forks:before{content:'';position:absolute;top:0;bottom:22px;left:50%;width:1px;background:#537f91}.tech-forks button{position:relative;z-index:1;min-height:44px;padding:7px 3px;font-size:12px;background:#172e40;border:1px solid #44647c;border-radius:4px}.tech-forks button:before{content:'↓';position:absolute;top:-17px;left:calc(50% - 4px);color:#74b3c9}.tech-path{border-top:1px solid #365269;margin-top:22px;padding-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tech-path button{min-height:60px;white-space:normal;text-align:left;padding:10px;border:1px solid #466276;background:#172d3e;border-radius:4px;position:relative}.tech-path small{display:block;font-size:11px;line-height:1.5;margin-top:5px;color:#a6bac8}.tech-path .complete{border-color:#4a8c80}.tech-roots button[aria-pressed=true],.tech-path button[aria-pressed=true],.refine-roots button[aria-pressed=true]{background:#234d60;border-color:#91eaff;box-shadow:inset 0 0 0 1px #91eaff}.tech-detail{background:#102537;border:1px solid #3c5b72;border-radius:5px;margin:16px 0;padding:14px;font-size:13px;line-height:1.7}.tech-detail h3{margin:3px 0 8px;color:#d7f7ff}.tech-detail h4{margin:12px 0 4px}.tech-detail p{margin:8px 0}.tech-detail ul{padding:0;list-style:none}.tech-detail li{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px solid #2e465b}.tech-detail .missing{color:#ffb496}.tech-detail button{min-height:44px}.tech-detail label{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 0}.tech-detail select{max-width:65%;background:#173047;color:#dbf8ff;padding:9px;border:1px solid #42627a}.refine-roots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:16px}.refine-roots button{min-height:46px;font-size:12px;padding:6px;background:#19384b;border:1px solid #527d94}.research-progress{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;padding:12px;background:#1f3f4c;border:1px solid #5f9fa4;font-size:12px}.research-progress span{margin-left:auto}.research-progress progress{width:100%;height:9px;accent-color:#84e9dd}.research-progress button{font-size:12px;min-height:36px}.weapon-choices{display:flex;gap:8px;flex-wrap:wrap}.weapon-choices button{font-size:12px;padding:8px}.tech-detail>small{color:#9ab2c5}
.tech-forks{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding-top:20px}.tech-forks:before{top:10px;bottom:auto;left:25%;width:50%;height:1px}.tech-forks:after{content:"";position:absolute;top:0;left:50%;height:11px;width:1px;background:#537f91}.tech-forks button{font-size:11px;line-height:1.5;min-height:54px}.tech-forks button:before{content:"";top:-10px;left:50%;width:1px;height:10px;background:#537f91}.tech-forks button:nth-child(3){grid-column:1/-1}.tech-forks button:nth-child(3):before{display:none}
.tech-forks button:nth-child(3){grid-column:auto}.tech-forks button:nth-child(4):before{display:none}
