/* Stellar Empire · interactive waypoint transports, desktop and mobile */
#overlay .cc-wp-editor{display:grid;gap:12px;}
#overlay .cc-wp-editor .cc-wp-stop{
 border:1px solid #3c7b9c;border-radius:13px;padding:13px 15px;
 background:linear-gradient(135deg,rgba(19,43,65,.93),rgba(27,35,65,.95));
}
#overlay .cc-wp-editor .cc-wp-stop .cc-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;}
#overlay .cc-wp-editor .cc-wp-stop label{display:flex;flex-direction:column;gap:6px;min-width:0;}
#overlay .cc-wp-editor .cc-wp-resource-grid{
 display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;
}
#overlay .cc-wp-editor .cc-wp-resource-grid label{
 border:1px solid rgba(90,160,195,.25);padding:9px;border-radius:8px;
 background:rgba(8,25,44,.55);font-size:.86rem;
}
#overlay .cc-wp-editor .cc-wp-resource-grid strong{font-weight:600;overflow-wrap:anywhere;}
#overlay .cc-wp-editor input,#overlay .cc-wp-editor select{width:100%;min-width:0;max-width:100%;}
#overlay .cc-wp-editor .cc-wp-return{display:flex;align-items:center;flex-direction:row;gap:10px;padding:9px 0;}
#overlay .cc-wp-editor .cc-wp-return input{width:18px;height:18px;flex:0 0 18px;}
#overlay .cc-wp-editor .cc-wp-preview{border:1px solid #55a4cb;border-radius:12px;padding:14px;}
#overlay .cc-wp-editor .cc-wp-timeline{display:grid;gap:9px;margin:12px 0;}
#overlay .cc-wp-editor .cc-wp-leg{border-left:3px solid #5ac7e8;padding:8px 11px;background:rgba(21,54,83,.7);border-radius:0 9px 9px 0;}
#overlay .cc-wp-editor .cc-wp-leg strong,#overlay .cc-wp-editor .cc-wp-leg small{display:block;margin-bottom:4px;}
#overlay .cc-wp-editor .cc-wp-leg small{opacity:.89;overflow-wrap:anywhere;}
#overlay .cc-wp-editor .cc-actions{display:flex;flex-wrap:wrap;gap:8px;}
@media(max-width:700px){
 #overlay .cc-wp-editor .cc-wp-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 #overlay .cc-wp-editor .cc-wp-resource-grid label{padding:7px}
 #overlay .cc-wp-editor .cc-wp-stop{padding:10px}
 #overlay .cc-wp-editor .cc-actions button{min-width:0}
}

/* v118: live cargo planning, verified source inventory, and loading progress */
#overlay .cc-wp-load{border:1px solid rgba(79,185,223,.48);background:linear-gradient(125deg,rgba(13,38,62,.9),rgba(22,35,65,.86));}
#overlay .cc-wp-load .cc-section-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;}
#overlay .cc-wp-load-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:11px 0;}
#overlay .cc-wp-load-kpis>div{background:rgba(5,19,40,.65);padding:10px;border-radius:8px;border:1px solid rgba(79,160,196,.25);}
#overlay .cc-wp-load-kpis small{display:block;opacity:.86;font-size:.76rem;margin-bottom:4px;}
#overlay .cc-wp-load-kpis strong{font-size:1.1rem;color:#e5f9ff;overflow-wrap:anywhere;}
#overlay .cc-wp-load progress{display:block;appearance:auto;width:100%;height:11px;margin:10px 0;border-radius:9px;accent-color:#76d9ef;}
#overlay .cc-wp-stock-scroll{overflow-x:auto;max-width:100%;}
#overlay .cc-wp-load-table{width:100%;border-collapse:collapse;min-width:490px;line-height:1.4;}
#overlay .cc-wp-load-table th,#overlay .cc-wp-load-table td{padding:8px 10px;border-bottom:1px solid rgba(100,172,210,.19);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;}
#overlay .cc-wp-load-table th{font-size:.78rem;font-weight:600;color:#b8e2f4;}
#overlay .cc-wp-load-table td:first-child,#overlay .cc-wp-load-table th:first-child{text-align:left;}
#overlay .cc-wp-load-table td strong{color:#f2f9ff;}
#overlay .cc-wp-load-table .cc-wp-shortage td{color:#ffd291;}
#overlay .cc-wp-load .cc-wp-fuel{margin:10px 0;color:#bde8f3;}
#overlay .cc-wp-stock-details{margin:12px 0 0;}
#overlay .cc-wp-stock-details summary{color:#9cdeed;cursor:pointer;user-select:none;}
#overlay .cc-wp-stock-details[open] summary{margin-bottom:10px;}
@media(max-width:700px){
 #overlay .cc-wp-load-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
 #overlay .cc-wp-load-kpis>div{padding:8px;}
 #overlay .cc-wp-load-table{min-width:460px;font-size:.82rem;}
 #overlay .cc-wp-load-table th,#overlay .cc-wp-load-table td{padding:7px;}
}
#overlay .cc-wp-active .cc-wp-running{border:1px solid rgba(80,166,206,.35);background:rgba(8,29,48,.66);border-radius:9px;padding:10px 13px;margin:10px 0;}
#overlay .cc-wp-active .cc-wp-running>strong,#overlay .cc-wp-active .cc-wp-running>small{display:block;}
#overlay .cc-wp-active .cc-wp-running>small{margin-top:6px;color:#b4dce7;}
#overlay .cc-wp-active .cc-wp-running-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0;}
#overlay .cc-wp-active .cc-wp-running-stats span{border:1px solid rgba(90,160,200,.25);border-radius:6px;padding:7px;font-size:.84rem;}
#overlay .cc-wp-active .cc-wp-running-stats strong{display:block;font-size:1.05rem;color:#effbff;}
@media(max-width:700px){#overlay .cc-wp-active .cc-wp-running-stats{grid-template-columns:1fr 1fr;}}
