.ds7-nav{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:center;background:#e9f1ff;padding:12px 18px;border-bottom:1px solid #cbdcf5}.ds7-nav a{font:600 14px/1.3 system-ui,sans-serif;color:#164b92;text-decoration:none;border-radius:7px;padding:8px 11px}.ds7-nav a:hover,.ds7-nav a[aria-current="page"]{background:#165dd9;color:white}.ds7-panel{background:#fff;border:1px solid #cbdcf5;border-radius:12px;padding:20px;margin:20px 0}.ds7-panel button,.ds7-panel select,.ds7-panel input{font:inherit;padding:8px;margin:4px}.ds7-panel button{background:#165dd9;color:#fff;border:0;border-radius:7px;cursor:pointer}.ds7-panel button:disabled{opacity:.45}.ds7-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto;background:#12243d;color:#eaf3ff;padding:16px;border-radius:8px}.ds7-panel label{display:inline-block;margin:5px}.ds7-panel .ds7-note{font-size:13px;color:#52627a}.ds7-panel .ds7-status{min-height:1.5em}
.ds7-select-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:10px 0}.ds7-select-controls button{padding:7px 12px;border-radius:7px;border:1px solid #9eb5d4;background:#eef4ff;color:#173b72;cursor:pointer}.ds7-select-controls button:hover{background:#dceaff}#ds7-selected-count{font-size:.9rem;color:#52647a}

#ds7-algorithm{white-space:pre-wrap;max-height:340px;overflow:auto}#ds7-prompt-output{display:block;width:100%;box-sizing:border-box;min-height:220px;resize:vertical;margin:12px 0;font:13px/1.5 ui-monospace,monospace;padding:12px;border:1px solid #aeb9c7;border-radius:8px}

/* Candidate 11: distinct cleaning and analysis sections; constrain long select controls */
.ds7-panel{box-sizing:border-box;min-width:0;max-width:100%}
.ds7-panel select{box-sizing:border-box;max-width:100%;width:auto;min-width:0}
#ds7-analysis-history{display:block;width:min(100%,440px);max-width:440px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:6px 0 10px}
.ds7-panel label:has(#ds7-analysis-history){display:block;max-width:440px}
.ds7-cleaning{margin-top:20px}
.ds7-cleaning #ds7-prep{display:block}
.ds7-cleaning h3{margin:26px 0 10px;padding-top:12px;border-top:1px solid #e3eaf4}
.ds7-cleaning h3:first-child{margin-top:12px;border-top:0;padding-top:0}
.ds7-cleaning select{max-width:240px}
.ds7-cleaning input{max-width:240px}
#ds7-algorithm,#ds7-prompt-output{max-width:100%;box-sizing:border-box}
@media(max-width:600px){#ds7-analysis-history{width:100%;max-width:100%}.ds7-cleaning select,.ds7-cleaning input{max-width:100%}}
