.states-page{max-width:1340px;margin:auto;padding:48px 32px 72px;color:var(--hub-ink);font-family:Onest,sans-serif;font-weight:350;line-height:1.55}.states-page *{box-sizing:border-box}.states-page [hidden]{display:none!important}.states-page h1{font:400 clamp(34px,4vw,50px)/1.13 'IBM Plex Serif',Georgia,serif;letter-spacing:-1.5px;margin:5px 0 16px}.states-page h2{font:400 24px/1.3 'IBM Plex Serif',Georgia,serif;margin:0 0 14px}.states-page h3{font-size:17px;font-weight:500;margin:0 0 10px}.states-page p{margin:0 0 16px}.states-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:32px}.states-intro p{max-width:70ch}.states-page a{color:var(--hub-accent);text-underline-offset:4px}.states-intro>a{white-space:nowrap;font-size:13px;margin-bottom:18px}.states-kicker,.states-small{font-size:12px;color:var(--hub-muted)}.states-kicker{margin:0!important}.states-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:28px;align-items:start}.states-input{min-width:0;padding:24px;border:1px solid var(--hub-line);border-radius:14px;background:var(--hub-paper)}.states-input>p{font-size:13px}.states-input h2{font-size:21px}.states-page button,.states-page input,.states-page select{font:inherit;color:inherit}.states-page button,.states-file{min-height:44px;border:1px solid var(--hub-line);border-radius:7px;background:var(--hub-paper);padding:9px 13px;cursor:pointer;font-size:13px;transition:background 160ms,border-color 160ms}.states-page button:disabled{opacity:.5;cursor:not-allowed}.states-page .states-primary{background:var(--hub-ink);color:var(--hub-paper);border-color:var(--hub-ink);width:100%;font-weight:450}.states-file{display:block;text-align:center;margin:10px 0 14px}.states-file input{display:block;font-size:11px;max-width:100%;margin-top:10px}.states-file input::file-selector-button{font:inherit;max-width:100%;background:var(--hub-tint);color:var(--hub-ink);border:1px solid var(--hub-line);padding:6px}.states-page :focus-visible{outline:2px solid var(--hub-accent);outline-offset:3px}.states-page label{display:block;font-size:12px;color:var(--hub-muted)}.states-page input:not([type=file]),.states-page select{width:100%;min-height:44px;background:var(--hub-paper);border:1px solid var(--hub-line);border-radius:6px;padding:8px 30px 8px 10px;margin:5px 0 10px}.states-page select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%237b8084' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.states-page summary{cursor:pointer;padding:14px 0;font-size:13px;min-height:44px}.states-settings{border-top:1px solid var(--hub-line);margin:12px 0 18px}.states-state{border-top:1px solid var(--hub-line);padding:16px 0 4px;overflow-wrap:anywhere}.states-state-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}.states-state-head strong{font-weight:500;font-size:14px;flex:1}.states-state-head button{padding:2px 8px;min-width:44px}.states-state p{font-size:11px;margin-bottom:8px}.states-state details p{white-space:pre-line}.states-state .state-tag{font-size:11px;color:var(--hub-accent)}.states-text{border:0!important;text-decoration:underline;text-underline-offset:4px;background:transparent!important}.states-results{min-width:0}.states-result-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.states-result-head h2{margin:4px 0 0}.states-result-head label{max-width:230px}.states-view-wrap{position:relative;border:1px solid var(--hub-line);border-radius:12px;overflow:hidden;background:#fff;color:#26333f}#statesViewer{position:relative;height:410px;width:100%;touch-action:none}.states-view-legend{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;padding:10px 16px 15px;background:#fff;font-size:12px}.states-view-legend span{display:flex;align-items:center;gap:8px}.states-view-legend b{font-weight:400}.states-view-legend i{width:16px;height:3px;display:inline-block}.state-a{background:#405f8d}.state-b{background:#b05e32}.states-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:14px 0 6px}.states-toolbar label{min-width:130px}.states-toolbar select{margin:3px 0 0}.states-metrics{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--hub-line);margin:24px 0 16px}.states-metrics div{padding:18px 12px;border-right:1px solid var(--hub-line);font-size:12px;color:var(--hub-muted)}.states-metrics div:first-child{padding-left:0}.states-metrics div:last-child{border:0}.states-metrics strong{display:block;font-size:28px;font-weight:400;color:var(--hub-ink);font-variant-numeric:tabular-nums}.states-summary{font-size:14px}.states-warnings{font-size:12px;color:var(--hub-muted)}.states-warnings p{border-left:2px solid var(--hub-line);padding-left:12px;margin-bottom:8px}.states-chart-section{padding:24px 0 16px}.states-chart-section svg{display:block;width:100%;height:auto;overflow:visible;cursor:crosshair}.states-chart-section svg text{font-family:Onest,sans-serif;font-size:11px;fill:var(--hub-muted)}#statesSelection{font-size:13px;min-height:24px;margin-top:10px}.states-table-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.states-table-head button{white-space:nowrap}.states-table-scroll{overflow:auto;margin:12px 0}.states-table{width:100%;border-collapse:collapse;font-size:12px;min-width:580px;font-variant-numeric:tabular-nums}.states-table th{text-align:left;color:var(--hub-muted);font-weight:400;font-size:11px}.states-table td,.states-table th{padding:10px 9px;border-bottom:1px solid var(--hub-line)}.states-table td:first-child{padding-left:0}.states-table button{padding:5px 8px;font-size:12px;min-width:80px}.states-table td:nth-child(2){text-align:right}.states-table tr[data-selected=true]{background:var(--hub-tint)}.states-exports{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.states-method{display:grid;grid-template-columns:1fr 2fr;gap:40px;border-top:1px solid var(--hub-line);margin-top:56px;padding-top:30px}.states-method p{max-width:76ch;font-size:14px}.states-method-details{border-top:1px solid var(--hub-line);margin-top:20px}.states-method-details p{max-width:90ch;font-size:13px;color:var(--hub-muted)}#statesEmpty{min-height:450px;display:flex;flex-direction:column;justify-content:center;padding:48px;border:1px solid var(--hub-line);border-radius:14px}#statesEmpty p{max-width:50ch;color:var(--hub-muted)}.states-empty-mark{font:italic 64px Georgia,serif;color:var(--hub-muted);margin-bottom:24px}#statesError{border-left:3px solid #b05e32;padding:12px;background:var(--hub-tint);overflow-wrap:anywhere}#statesStatus{font-size:12px;padding-top:12px;margin:0}#statesViewerError{padding:20px}
@media(hover:hover){.states-page button:not(:disabled):hover{border-color:var(--hub-accent)}.states-page .states-primary:hover{opacity:.9}}
@media(max-width:1000px){.states-layout{grid-template-columns:270px minmax(0,1fr);gap:20px}.states-input{padding:18px}.states-page{padding:32px 24px}.states-result-head{align-items:flex-start;flex-direction:column;gap:5px}.states-metrics strong{font-size:23px}}
@media(max-width:760px){.states-layout{grid-template-columns:minmax(0,1fr)}.states-intro{display:block}.states-page{padding:28px 18px 48px}.states-intro>a{display:inline-block}.states-method{grid-template-columns:1fr;gap:8px}.states-result-head{flex-direction:row;align-items:center}.states-result-head h2{font-size:20px}.states-result-head label{max-width:46%}#statesViewer{height:320px}.states-metrics{margin-top:18px}.states-metrics div{padding:14px 8px}.states-metrics strong{font-size:24px}.states-table-head{align-items:flex-start}.states-table-head h3{font-size:15px}.states-view-legend{gap:12px}.states-toolbar label{flex:1;min-width:110px}#statesEmpty{padding:30px;min-height:260px}.states-state{padding-top:14px}}
@media(prefers-reduced-motion:reduce){.states-page *{transition:none!important;scroll-behavior:auto!important}}

@media(max-width:760px){.states-page input:not([type=file]),.states-page select{font-size:16px}}

:root[data-tool=states]{--hub-bg:#faf9f7;--hub-paper:#fff;--hub-ink:#24272c;--hub-muted:#535b65;--hub-line:#e2e1dd;--hub-accent:#8f3324;--hub-tint:#f4efeb;color-scheme:light}
:root[data-tool=states][data-theme=dark]{--hub-bg:#12151a;--hub-paper:#1b2028;--hub-ink:#eeeef0;--hub-muted:#bac0c9;--hub-line:#39414c;--hub-accent:#e2a18a;--hub-tint:#262d36;color-scheme:dark}
.states-skip{position:absolute;left:16px;top:-100px;background:var(--hub-paper);color:var(--hub-ink);padding:12px;z-index:100}.states-skip:focus{top:10px}.states-page :is(button,a,input,select,summary){touch-action:manipulation}.states-page #statesResults{scroll-margin-top:24px}.states-state-head strong{min-width:0}.states-table tr{content-visibility:auto;contain-intrinsic-size:auto 65px}
.states-tabs{display:flex;gap:8px;border-bottom:1px solid var(--hub-line);margin:0 0 30px;padding-bottom:12px}.states-tabs button{border-color:transparent;background:transparent}.states-tabs button[aria-selected=true]{background:var(--hub-tint);border-color:var(--hub-line)}.mutation-intro{max-width:80ch;margin-bottom:28px}.mutation-empty{border:1px solid var(--hub-line);border-radius:14px;padding:40px;min-height:330px;display:flex;flex-direction:column;justify-content:center}.mutation-empty p{max-width:50ch;color:var(--hub-muted)}#mutationInput{width:100%;resize:vertical;min-height:120px;font:14px/1.6 Onest,sans-serif;padding:10px;border:1px solid var(--hub-line);border-radius:6px;background:var(--hub-paper);color:var(--hub-ink);margin:8px 0 12px}#mutationStructures{margin-bottom:20px}#mutationExample{margin-bottom:8px}#mutationRun{margin:8px 0 12px}#mutationStatus,#mutationError{font-size:13px;overflow-wrap:anywhere}#mutationError{border-left:2px solid var(--hub-accent);padding-left:12px}#mutationLogin{display:block;margin:10px 0}.mutation-counts{display:grid;grid-template-columns:repeat(5,1fr);border-block:1px solid var(--hub-line);margin:20px 0}.mutation-counts div{padding:16px 10px;border-right:1px solid var(--hub-line)}.mutation-counts div:last-child{border:0}.mutation-counts strong{display:block;font-size:26px;font-weight:400;font-variant-numeric:tabular-nums}.mutation-counts span{font-size:11px;display:block;line-height:1.5;color:var(--hub-muted)}#mutationChart{margin-top:24px}#mutationChart svg{display:block;width:100%;height:auto}#mutationChart text{font:11px Onest,sans-serif;fill:var(--hub-muted)}.mutation-table{min-width:620px}.mutation-table th:first-child{font-weight:500;white-space:nowrap}.mutation-table td{vertical-align:top;min-width:80px}.mutation-table th{overflow-wrap:anywhere;max-width:150px}.mutation-table td:last-child{min-width:165px}.mutation-table small{display:block;font-size:10px;color:var(--hub-muted)}.mutation-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}#statesMutationPanel .states-table-scroll{max-height:620px}#mutationInterpretation{font-size:13px;margin-top:22px}#mutationMargin{width:150px}
@media(max-width:1000px){.mutation-counts{grid-template-columns:repeat(3,1fr)}.mutation-counts div{border-bottom:1px solid var(--hub-line)}}
@media(max-width:760px){.states-tabs button{font-size:12px;padding:8px}.mutation-counts{grid-template-columns:repeat(2,1fr)}.mutation-counts div:last-child{grid-column:span 2}.mutation-empty{padding:24px}#mutationInput{font-size:16px}#statesMutationPanel .states-result-head{display:block}#statesMutationPanel .states-result-head label{max-width:none}}

.mutation-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;margin-bottom:16px;color:var(--hub-muted)}

#mutationResults{scroll-margin-top:24px}#mutationGo{margin-top:10px}
/* Coordinate-based secondary structure: compact, keyboard-accessible comparison. */
.states-secondary{margin:24px 0;padding:20px 0;border-top:1px solid var(--hub-line);border-bottom:1px solid var(--hub-line)}
.states-secondary h3{margin:0}.states-secondary p{max-width:78ch}.states-secondary svg{display:block;width:100%;height:auto;min-height:110px}.states-secondary svg text{font:12px Onest,system-ui;fill:var(--hub-muted)}
.states-ss-legend{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:13px;margin:10px 0}.states-ss-legend span{display:inline-flex;align-items:center;gap:7px}.states-ss-legend i{display:inline-block;width:14px;height:9px;border-radius:2px}.ss-h{background:#9b608c}.ss-e{background:#c28a38}.ss-c{background:#9ba7b2}.ss-u{background:repeating-linear-gradient(135deg,#d1d5db,#d1d5db 2px,transparent 2px,transparent 4px)}
.states-check{display:flex!important;align-items:center;gap:9px!important;font-size:13px!important;font-weight:350!important;line-height:1.5}.states-check input{width:17px!important;height:17px!important;flex:0 0 17px;accent-color:#405f8d;margin:0!important}.states-input #statesExample{font-size:13px}.states-secondary svg:focus-visible{outline:2px solid #405f8d;outline-offset:3px}.states-example-note{padding:12px 15px;border-left:2px solid #b05e32;background:var(--hub-tint);line-height:1.6}.states-secondary .states-table-head{flex-wrap:wrap;gap:8px}.states-toolbar .states-check{min-height:40px}
@media(max-width:600px){.states-secondary{padding:16px 0}.states-ss-legend{font-size:12px;gap:8px 12px}}
.states-residue-picker{max-width:310px;margin:4px 0 14px}.states-residue-picker select{margin:4px 0!important}
@media(max-width:600px){.states-secondary .states-table-head{align-items:flex-start;flex-direction:column;gap:3px;margin-bottom:10px}.states-secondary svg{min-height:126px}}
