button,input,textarea,select{font:inherit;color:inherit}button,select{min-height:40px}button{padding:8px 14px;border:1px solid #b7c4d0;border-radius:7px;background:#fff;cursor:pointer;font-weight:500}button:hover:not(:disabled){background:#f0f5f8}button:disabled{opacity:.45;cursor:default}button:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #397aaf;outline-offset:3px}button.primary{background:#344e6b;border-color:#344e6b;color:white;min-width:130px}button.primary:hover:not(:disabled){background:#233e5c}h2{font-size:17px;font-weight:600}h3{font-size:15px;font-weight:600}label{display:block;font-size:13px;font-weight:500;margin-bottom:7px}.input-panel{border:1px solid #d5dee7;background:#fcfdfe;border-radius:10px;padding:22px}.input-heading,.result-heading,.detail-heading-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.actions{display:flex;gap:9px;flex-wrap:wrap}textarea{display:block;width:100%;resize:vertical;min-height:150px;padding:13px;border:1px solid #aebdcb;border-radius:6px;background:#fff;font-family:"Courier New",monospace;line-height:1.6;white-space:pre}textarea::placeholder{color:#8290a0}.note{font-size:12px;color:#59697b;line-height:1.7;margin-top:8px;overflow-wrap:anywhere}.controls{display:flex;gap:25px;align-items:flex-end;margin-top:20px}.field{max-width:420px;flex:1}select{width:100%;background:white;border:1px solid #aebdcb;border-radius:6px;padding:8px 12px}.warning-rule{font-size:12px;color:#59697b;padding-bottom:10px}.warning-rule strong{color:#b21d32;margin-left:5px}.status{padding:17px 0;color:#59697b;font-size:13px}.error{padding:14px 18px;border:1px solid #df8e99;background:#fff5f6;color:#a1172b;border-radius:6px;margin-bottom:20px;white-space:pre-wrap}.method-banner{padding:11px 15px;background:#f1f5f9;border-left:3px solid #58718d;font-size:13px;margin:0 0 20px}.result-heading{margin:18px 0}.tabs{display:flex;gap:6px;margin-bottom:17px;border-bottom:1px solid #d8e1e8}.tabs button{border:0;border-radius:6px 6px 0 0;padding:10px 20px;border-bottom:3px solid transparent;background:#f4f7fa}.tabs button[aria-selected=true]{border-bottom-color:#344e6b;background:#e9f0f6;color:#253d58}.result-grid{display:grid;grid-template-columns:minmax(270px, .85fr) minmax(0,1.7fr);gap:24px}.table-scroll{overflow:auto;max-height:650px;border:1px solid #dce4eb;border-radius:7px}table{table-layout:fixed;min-width:270px}thead{position:sticky;top:0;z-index:1}thead th{background:#f4f7fa}thead th:first-child{width:53%}thead th:nth-child(2){width:17%}thead th:last-child{width:30%;text-align:right;padding-right:12px}tbody td,tbody th{padding:11px 10px;vertical-align:top}tbody td:not(:first-child){text-align:right}tbody tr.selected{background:#edf4fa}.pair-button{border:0;min-height:36px;max-width:100%;padding:3px 0;white-space:normal;overflow-wrap:anywhere;text-align:left;background:transparent;color:#294d70}.pair-button[aria-current=true]{font-weight:700;text-decoration:underline;text-underline-offset:4px}.badge{display:inline-block;font-size:11px;line-height:1.5;border-radius:4px;padding:2px 7px;background:#edf2f6;color:#4e6074;white-space:nowrap}.warning{color:#b21d32!important}.badge.warning{background:#ffedf0;border:1px solid #ebbac3}.pair-name{display:block}.detail-panel{min-width:0}.detail-heading-row{align-items:flex-start}.detail-heading-row h3{overflow-wrap:anywhere}.detail-heading-row button{white-space:nowrap}.structure{border:1px solid #d7e0e8;border-radius:7px;margin:12px 0;background:white}.structure>summary{cursor:pointer;padding:12px 14px;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.structure.warning-structure{border-color:#ddb1ba}.structure-body{padding:0 15px 14px}.diagram{font-family:"Courier New",monospace;white-space:pre;line-height:1.65;font-size:9pt;overflow-x:auto;background:#f6f8fb;border:1px solid #e0e6ec;border-radius:5px;padding:12px;margin:9px 0;max-width:100%;color:#23364d}.diagram:focus-visible{outline:3px solid #397aaf}.structure-meta{font-size:12px;line-height:1.7;color:#59697b}.empty{border:1px dashed #b8c5d1;padding:26px 18px;border-radius:7px;color:#59697b;font-size:13px;margin-top:14px}.method{margin-top:30px;padding:18px 0;border-top:1px solid #dbe3eb;font-size:13px}.method summary{cursor:pointer;font-weight:600}.method p{margin-top:12px;color:#59697b;max-width:1000px}#copy-status{min-height:25px;margin-top:15px}#results[hidden],#error[hidden]{display:none}footer{margin-top:20px}
[hidden]{display:none!important}.preflight{margin-top:20px}.preflight h2{margin-bottom:10px}fieldset{min-width:0;border:1px solid #d5dee7;border-radius:7px;padding:14px;margin:14px 0}legend{padding:0 7px;font-size:13px;font-weight:600}.module-options{display:flex;gap:20px;flex-wrap:wrap}.module-options label,.target-options label,.check-label{display:flex;align-items:center;gap:7px;margin:0}.target-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:14px 0}.target-options label{overflow-wrap:anywhere;font-size:12px}input[type=checkbox]{width:17px;height:17px;flex-shrink:0;accent-color:#344e6b}.plan-details{padding:10px 0;font-size:13px;line-height:1.8;overflow-wrap:anywhere}#plan-message{font-size:13px;margin:8px 0 15px}.attention{color:#875300!important}.badge.attention{background:#fff3d9;border:1px solid #dfc489}.filter-panel{background:#f7f9fb;margin-bottom:18px}.filter-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:8px 0}.filter-row label{margin:0;max-width:100%}.filter-row input[type=number]{display:block;width:180px;max-width:100%;min-height:40px;border:1px solid #aebdcb;border-radius:6px;background:#fff;padding:8px;margin-top:6px}.filter-row .note{max-width:500px;flex:1;min-width:200px}.pager{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0;font-size:12px}#scope-status{overflow-wrap:anywhere}.tabs{overflow-x:auto}.tabs button{white-space:nowrap}.preflight details>summary{cursor:pointer;font-size:13px}.preflight .actions{display:flex}input:focus-visible{outline:3px solid #397aaf;outline-offset:3px}
@media(max-width:900px){.result-grid{grid-template-columns:1fr}.table-scroll{max-height:340px}.controls{gap:13px;flex-wrap:wrap}.field{min-width:260px}.warning-rule{padding-bottom:10px}.input-panel{padding:18px}.heading{gap:8px}.detail-heading-row{margin-top:5px}}
@media(max-width:520px){main{padding:20px 16px 0}.masthead{padding:18px 16px}.input-panel{padding:14px}.input-heading,.result-heading{align-items:flex-start;flex-direction:column;gap:12px}.actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.actions button{font-size:12px;padding:8px}.input-heading .actions{grid-template-columns:2fr 1fr}.controls{display:grid;grid-template-columns:1fr;gap:8px}.field{min-width:0;max-width:none}.warning-rule{padding:6px 0}.controls>.primary{width:100%}.tabs button{padding:9px 16px}.detail-heading-row{flex-wrap:wrap}.diagram{font-size:12px;padding:10px}.structure>summary{padding:10px}.structure-body{padding:0 10px 12px}}

#poly-category{display:block;width:260px;max-width:100%;min-height:40px;border:1px solid #aebdcb;border-radius:6px;background:#fff;padding:8px;margin-top:6px}select:focus-visible{outline:3px solid #397aaf;outline-offset:3px}
.sequence-meta{font-family:"Courier New",monospace;font-size:9pt;overflow-wrap:anywhere}

.copy-control{position:relative;display:inline-flex;flex-direction:column;align-items:flex-end;max-width:100%}.copy-notice{position:absolute;top:calc(100% + 5px);right:0;z-index:3;font-size:12px;line-height:1.5;white-space:nowrap;pointer-events:none}.copy-notice:empty{display:none}.copy-notice:not(:empty){padding:5px 9px;border-radius:5px;border:1px solid #b9d4c8;background:#eff8f3;color:#24533d;box-shadow:0 2px 6px #23364d12}.copy-notice[data-state=error]{color:#a1172b;background:#fff5f6;border-color:#df8e99}.copy-notice[data-state=pending]{color:#59697b;background:#f4f7fa;border-color:#c9d4df}@media(max-width:520px){.actions .copy-control,.actions .copy-control button{width:100%}.copy-notice{white-space:normal;min-width:130px;max-width:240px}}
