.sw-page{max-width:1360px;margin:auto}.sw-page .page-heading p{max-width:750px}.sw-controls{display:flex;align-items:end;gap:20px;padding:22px;background:#fff;border:1px solid #e0e7f0;border-radius:14px;margin-bottom:20px;flex-wrap:wrap}.sw-controls label,.sw-gene-form label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#52617a;font-weight:600}.sw-controls select,.sw-gene-form select,.sw-gene-form input,.sw-card>select{min-height:42px;padding:8px 12px;border:1px solid #d6dfed;border-radius:8px;background:#fff;color:#263f66;max-width:100%}.sw-controls label:first-child{flex:1;min-width:260px}.sw-stages{display:flex;gap:4px;border-bottom:1px solid #dce5f1;margin-bottom:15px;overflow-x:auto}.sw-stages button{padding:14px 18px;background:transparent;border:0;white-space:nowrap;color:#75829a;border-bottom:3px solid transparent;cursor:pointer}.sw-stages button.active{border-color:#5c72b4;color:#3b5597;font-weight:700}.sw-status{color:#6c7f9b;font-size:12px;min-height:24px;margin:8px 0 12px}.sw-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.sw-stats>div{background:linear-gradient(140deg,#f1f5fc,#f5f8fb);border:1px solid #e1e8f3;border-radius:12px;padding:18px 22px}.sw-stats strong{display:block;font-size:27px;font-weight:500;color:#3f5784}.sw-stats span{font-size:12px;color:#8b99ae}.sw-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sw-card{margin:0 0 20px;min-width:0;padding:22px!important;border-radius:14px}.sw-card h2{font-size:18px;margin:0 0 18px}.sw-card h3,.sw-plot h3{font-size:13px;font-weight:600;color:#6d7f9e;margin:6px 0 12px}.sw-note{color:#7b899f;line-height:1.8;font-size:12px;margin:12px 0}.sw-plot{position:relative;min-width:0}.sw-plot canvas{display:block;max-width:100%;height:auto;width:100%;background:#fff;cursor:crosshair;touch-action:none}.sw-toolbar{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 12px}.sw-toolbar .button,.sw-plot .button{font-size:11px;padding:5px 9px;min-height:28px}.sw-tooltip{background:#263a57;color:#fff;font-size:11px;border-radius:6px;padding:8px 12px;position:relative;margin-top:5px;overflow-wrap:anywhere}.sw-table-wrap,.sw-chart-scroll{overflow:auto;max-width:100%;margin:10px 0}.sw-chart-scroll>svg{width:100%;display:block}.sw-table-wrap table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.sw-table-wrap th{background:#f4f7fb;color:#7a8ca7;font-weight:500;text-align:left}.sw-table-wrap td,.sw-table-wrap th{padding:12px 14px;border-bottom:1px solid #e7edf6}.sw-table-wrap td{color:#526783}.sw-gene-form{display:grid;grid-template-columns:1fr 1.5fr 1fr 1fr auto;gap:14px;align-items:end}.sw-card details pre,.sw-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:#f7f9fc;padding:15px;max-height:360px;overflow:auto}.sw-card summary{cursor:pointer;color:#4f6693;font-weight:600}.sw-card>a.button,.sw-card>.button{margin:8px 6px 0 0}.sw-page [hidden]{display:none!important}@media(max-width:900px){.sw-grid{grid-template-columns:1fr}.sw-gene-form{grid-template-columns:1fr 1fr}.sw-stats{gap:7px}.sw-stats>div{padding:12px}.sw-stats strong{font-size:22px}}@media(max-width:520px){.sw-controls{padding:14px;gap:12px}.sw-controls label:first-child{min-width:100%;width:100%}.sw-gene-form{grid-template-columns:1fr}.sw-card{padding:15px!important}.sw-stages button{padding:12px 13px;font-size:12px}.sw-stats{grid-template-columns:repeat(2,1fr)}}

.sw-scale{display:flex;align-items:center;gap:8px;color:#637591;font-size:11px;flex-wrap:wrap;margin:12px 0}.sw-gradient{height:10px;width:160px;background:linear-gradient(90deg,rgb(231,238,248),rgb(48,106,166));border-radius:4px}.sw-scale small{font-size:11px}.sw-legend{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.sw-legend-item{display:flex;align-items:center;gap:6px;background:#f8fafe;border:1px solid #e0e6f0;border-radius:6px;padding:7px 10px;color:#697c99;cursor:pointer;font-size:11px}.sw-legend-item.active{border-color:#637bb6;background:#eef3fc}.sw-legend-item i{display:inline-block;width:9px;height:9px;border-radius:50%}

.sw-page .sw-toolbar label{display:flex;align-items:center;gap:8px;font-size:12px;color:#637591}.sw-page .sw-toolbar select{min-height:32px;padding:5px 9px;border:1px solid #d6dfed;border-radius:6px;background:white;color:#263f66}

.sw-gene-form>label{min-width:0}.sw-gene-form select,.sw-gene-form input{width:100%;min-width:0;max-width:100%}
