#keyword-gap {min-width:0; color:var(--ink,#161a36)}
#keyword-gap [hidden] {display:none!important}
.keyword-heading h3 {font-size:1.18rem; line-height:1.3; letter-spacing:-.025em}
.keyword-heading p,.keyword-help,.keyword-meta,.keyword-status {font-size:.88rem; color:var(--sub,#51596b); line-height:1.5}
.keyword-import {margin-top:14px; border:1px solid var(--line,#dce1ed); border-radius:12px; padding:0 15px; background:#fff}
.keyword-import summary {font-size:.94rem; padding:12px 0!important; color:var(--blue,#293de0); font-weight:600}
.keyword-import form {padding:4px 0 16px; display:grid; gap:12px; align-items:start}
.keyword-import form [type="submit"],.keyword-actions button {justify-self:start}
.keyword-import label {display:grid; gap:4px; min-width:0; font-size:.88rem; font-weight:600}
.keyword-import input:not([type="checkbox"]),.keyword-import select {max-width:100%; width:100%; min-width:0; border:1px solid #c2cbe0; border-radius:8px; background:white; padding:9px 10px; font:inherit; font-weight:400; color:inherit}
.keyword-import input[type="file"] {padding:6px; font-size:.85rem}
.keyword-import input::file-selector-button {margin-right:8px; border:0; padding:6px 9px; background:#eceffe; color:#2335ae; font:inherit; border-radius:4px}
.keyword-import form>label:first-child {max-width:22rem}
.keyword-pair,.keyword-scope {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr)); gap:10px}
.keyword-pair fieldset {margin:0; min-width:0; padding:10px 12px 13px; border:1px solid #dce1ed; border-radius:9px; display:grid; gap:9px}
.keyword-pair legend {font-size:.85rem; font-weight:650; padding:0 4px}
.keyword-import .keyword-check {display:flex; align-items:flex-start; gap:8px; font-weight:400}
.keyword-check input {margin-top:4px; flex-shrink:0}
.keyword-output:not(:empty) {border:1px solid #dce1ed; background:#f7f8ff; border-radius:12px; margin-top:15px; padding:16px}
.keyword-versus {font-weight:650; overflow-wrap:anywhere}
.keyword-count {font-size:1.1rem; font-weight:630; margin-top:12px; letter-spacing:-.02em}
.keyword-table {overflow-x:auto; margin:12px 0}
.keyword-table table {border-collapse:collapse; width:100%; font-size:.88rem; text-align:left}
.keyword-table th,.keyword-table td {padding:7px 6px; vertical-align:top; border-bottom:1px solid #dce1ed; overflow-wrap:anywhere}
.keyword-table th {font-weight:600; color:#3f4667}
.keyword-table td:first-child {width:54%}
.keyword-output .keyword-help {margin-top:10px}
.keyword-status:not(:empty),.keyword-actions:has(button:not([hidden])) {margin-top:10px}
@media(max-width:480px) {.keyword-output:not(:empty) {padding:10px}.keyword-table td:first-child {width:46%}}
@media print {.keyword-import,.keyword-actions,.keyword-output button,.keyword-status {display:none}}
