/* v0.30 Cycle Tester · research dock; scoped to avoid side effects */
.atlas-v30-panel{grid-column:1/-1;min-width:0}
.atlas-v30-panel .atlas-v22-panel-head{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}
.atlas-v30-main{padding:13px!important;max-width:100%}
.atlas-v30-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px;margin:12px 0}
.atlas-v30-field{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#bcd2e5;min-width:0}
.atlas-v30-field select,.atlas-v30-field input{box-sizing:border-box;min-width:0;width:100%;padding:9px 10px;border-radius:8px;border:1px solid #4b6680;background:#112940;color:#f5f2e8;font:inherit;font-size:12px;height:36px}
.atlas-v30-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:10px 0}
.atlas-v30-status,.atlas-v30-muted{font-size:11px;color:#afc7d9;line-height:1.6;margin:9px 0}
.atlas-v30-status[data-kind="error"]{color:#ffb2a8}
.atlas-v30-kpi{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin:10px 0}
.atlas-v30-kpi>div{background:#162f45;border:1px solid #365675;border-radius:8px;padding:10px 12px;min-width:0}
.atlas-v30-kpi strong{font-size:18px;color:#e9ca92;display:block;word-break:break-word}
.atlas-v30-kpi span{font-size:10px;color:#bdd2e1;display:block;margin-top:3px}
.atlas-v30-scroll{border-radius:8px;overflow:auto;max-height:350px;border:1px solid #35516d}
.atlas-v30-scroll table{min-width:680px}
.atlas-v30-highlight td{background:#294960!important}
.atlas-v30-row{cursor:pointer}
.atlas-v30-row:hover td{background:#284762!important}
.atlas-v30-note{padding:10px;border:1px dashed #456078;border-radius:8px;font-size:11px;line-height:1.5;color:#d4e2ea;margin:9px 0}
.atlas-v30-section{border-top:1px solid #36526b;padding:11px 0}
.atlas-v30-section h3{font-size:12px;color:#e9ca92;margin:0 0 10px}
.atlas-v30-panel .atlas-v22-button{min-height:32px}
@media(max-width:620px){.atlas-v30-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-v30-scroll table{min-width:650px}}

.atlas-v30-validlabel{display:flex;align-items:center;gap:5px;color:#cad9e4;font-size:11px}
.atlas-v30-validlabel input{width:auto!important;accent-color:#c9ac75}
.atlas-v30-insufficient td{opacity:.58}
#cycleV030Result[hidden]{display:none!important}

/* v0.34: chosen-length or range scan, progress + safe cancellation */
#cycleV034Panel .atlas-v30-field[hidden],#cycleV034ProgressWrap[hidden]{display:none!important}
.atlas-v34-progress{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#152f43;border-radius:7px;font-size:11px;color:#c8deec}
.atlas-v34-progress progress{flex:1;min-width:90px;accent-color:#d5b66c;height:12px}
#cycleV034Panel .atlas-v22-button:disabled{opacity:.48;cursor:not-allowed}
/* v0.35 repeat-count UI visibility and actions */
#cycleV035Panel .atlas-v30-field[hidden],#cycleV035ProgressWrap[hidden]{display:none!important}
#cycleV035Panel .atlas-v22-button:disabled{opacity:.48;cursor:not-allowed}
/* v0.36 independent visual cycle overlay and research validation */
#cycleV036Panel .atlas-v30-field[hidden],#cycleV036ProgressWrap[hidden]{display:none!important}
#cycleV036Panel .atlas-v22-button:disabled{opacity:.48;cursor:not-allowed}
.atlas-v36-tools,.atlas-v36-library{border:1px solid #355571;border-radius:10px;padding:12px;margin:12px 0;background:#122940}
.atlas-v36-tools h3,.atlas-v36-library h3{font-size:13px;color:#e9ca92;margin:0 0 10px}
.atlas-v36-tools input,.atlas-v36-tools textarea{background:#0d2033;border:1px solid #456785;color:#e5f0fa;border-radius:8px;padding:9px;width:100%;box-sizing:border-box;font:inherit}
.atlas-v36-tools textarea{resize:vertical;min-height:54px}
.atlas-v36-tools .atlas-v30-field{margin:8px 0}
.atlas-v36-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-top:10px}
.atlas-v36-metric{background:#19364e;padding:9px;border-radius:8px;display:flex;flex-direction:column;gap:5px;font-size:12px}
.atlas-v36-metric strong{color:#efca7b}.atlas-v36-metric small{color:#a9c6d8}
.atlas-v36-library-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 3px;border-top:1px solid #37546b}
.atlas-v36-library-row>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.atlas-v36-library-row small{color:#b0cce0;font-size:11px;overflow-wrap:anywhere}
.atlas-v36-library-buttons{display:flex;gap:6px;flex-shrink:0}
