.level-selector h3{margin:0 0 4px}.level-selector__help{margin:0 0 12px;color:#6b7280;font-size:.875rem}.level-selector__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px}.level-selector__item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid #e5e7eb;border-radius:4px;font-size:.85rem;cursor:pointer;transition:border-color .15s,background .15s}.level-selector__item:hover{border-color:#9ca3af;background:#f9fafb}.level-selector__item input[type=checkbox]{width:16px;height:16px;accent-color:var(--brand1)}.xpath-editor{border:1px solid #e5e7eb;border-radius:0;padding:24px;margin:0;display:grid;gap:16px}.xpath-editor legend{font-size:1.1rem;font-weight:600;padding:0 8px}.xpath-toggle{display:flex;align-items:center;gap:8px;font-size:.9rem;font-weight:500;cursor:pointer}.xpath-toggle input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand1)}.xpath-detect{display:grid;gap:8px}.xpath-detect h4{margin:0;font-size:1rem}.xpath-help{margin:0;color:#6b7280;font-size:.85rem}.xpath-label{display:block;font-size:.875rem;font-weight:600;color:#333;margin-bottom:4px;margin-top:8px}.xpath-input{width:100%;padding:10px 12px;border:1px solid #333;border-radius:0;font-size:.9rem;font-family:inherit;outline:none;background:#fff}.xpath-input:focus{border-color:var(--brand1);border-width:2px;padding:9px 11px}select.xpath-input{border-radius:0}.xpath-row{display:flex;gap:8px;align-items:flex-end}.xpath-row .xpath-input{flex:1}.xpath-btn{padding:10px 20px;background:#fff;color:#333;border:1px solid #333;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;white-space:nowrap}.xpath-btn:hover:not(:disabled){background:#f3f4f6}.xpath-btn:disabled{opacity:.5;cursor:not-allowed}.xpath-btn:focus-visible{outline:3px solid var(--brand1);outline-offset:2px}.xpath-btn--primary{background:var(--brand1);color:#fff;border-color:var(--brand1)}.xpath-btn--primary:hover:not(:disabled){filter:brightness(.9);background:var(--brand1)}.xpath-ok{color:#1b5e20;font-size:.875rem;margin:0}.xpath-err{color:#b91c1c;font-size:.875rem;margin:0}.xpath-hr{border:none;border-top:1px solid #e5e7eb;margin:8px 0}.xpath-rule{border:1px solid #e5e7eb;border-radius:0;padding:20px;background:#fff;display:grid;gap:4px}.xpath-rule-head{display:flex;justify-content:space-between;align-items:center}.xpath-rule-head h4{margin:0;font-size:1rem}.xpath-remove{background:none;border:1px solid #e5e7eb;border-radius:6px;width:28px;height:28px;font-size:1.1rem;color:#b91c1c;cursor:pointer;display:flex;align-items:center;justify-content:center}.xpath-remove:hover{background:#b91c1c;color:#fff}.xpath-value-group{display:grid;gap:4px;margin-top:12px}.xpath-value-label{font-weight:600;font-size:.875rem}.xpath-value-label.chip-full{color:#1b5e20}.xpath-value-label.chip-title-only{color:#b45309}.xpath-value-label.chip-hidden{color:#b91c1c}.xpath-chip-list{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.xpath-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 4px 4px 10px;border-radius:1rem;font-size:.85rem}.xpath-chip.chip-full{background:#e8f5e9}.xpath-chip.chip-title-only{background:#fff3e0}.xpath-chip.chip-hidden{background:#ffebee}.xpath-chip-remove{background:none;border:none;cursor:pointer;padding:2px 4px;border-radius:50%;font-size:.85rem}.xpath-chip-remove:hover{background:#00000014}.xpath-chip-add{display:flex;align-items:center;gap:4px}.xpath-chip-input{border:1px dashed #333;border-radius:0;padding:4px 10px;font-size:.85rem;outline:none;min-width:8rem;background:transparent}.xpath-chip-input:focus{border-color:var(--brand1)}.xpath-chip-add-btn{background:none;border:1px solid #333;border-radius:6px;width:28px;height:28px;font-size:1rem;cursor:pointer;display:flex;align-items:center;justify-content:center}.xpath-chip-add-btn:hover{background:#f3f4f6}.xpath-test{border-top:1px solid #e5e7eb;padding-top:12px;margin-top:12px;display:grid;gap:8px}.xpath-test-result{padding:12px;border-radius:0;font-size:.875rem}.xpath-test-result p{margin:2px 0}.xpath-test-result code{background:#0000000f;padding:2px 6px;border-radius:0;font-family:var(--font-mono)}.result-full{background:#e8f5e9;border:1px solid #a5d6a7}.result-title-only{background:#fff3e0;border:1px solid #ffcc80}.result-hidden{background:#ffebee;border:1px solid #ef9a9a}.sfc{display:grid;gap:var(--space-lg);max-width:52rem}.sfc__desc{margin:0;color:var(--portal-muted-fg)}.sfc__list{display:grid;gap:0;border:1px solid #333;border-radius:0;overflow:hidden}.sfc__row{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-bottom:1px solid var(--border-color);background:#fff}.sfc__row:last-child{border-bottom:none}.sfc__row--disabled{opacity:.5}.sfc__row>input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand1);flex-shrink:0;cursor:pointer}.sfc__info{flex:1;display:grid;gap:.2rem}.sfc__label-input{border:1px solid #333;border-radius:0;padding:.375rem .5rem;font-size:.875rem;width:100%;max-width:16rem}.sfc__label-input:focus-visible{outline:3px solid var(--brand1);outline-offset:-1px}.sfc__field-name{font-family:var(--font-mono);font-size:.7rem;color:var(--portal-muted-fg)}.sfc__type-select{padding:.375rem .5rem;border:1px solid #333;border-radius:0;font-size:.8rem}.sfc__type-select:focus-visible{outline:3px solid var(--brand1);outline-offset:-1px}.sfc__actions{display:flex;gap:.25rem}.sfc__actions button{background:none;border:1px solid #333;border-radius:0;width:1.75rem;height:1.75rem;cursor:pointer;font-size:.9rem;display:flex;align-items:center;justify-content:center}.sfc__actions button:focus-visible{outline:3px solid var(--brand1);outline-offset:-1px}.sfc__actions button:disabled{opacity:.3;cursor:not-allowed}.sfc__remove{color:var(--color-danger)}.sfc__available{display:flex;gap:.5rem;align-items:center;font-size:.875rem}.sfc__available select{padding:.5rem;border:1px solid #333;border-radius:0;font-size:.875rem}.sfc__available select:focus-visible{outline:3px solid var(--brand1);outline-offset:-1px}.mfc{display:grid;gap:12px}.mfc h3{margin:0}.mfc__help{margin:0;color:#6b7280;font-size:.85rem}.mfc__label{display:block;font-size:.875rem;font-weight:600;color:#333;margin-bottom:4px}.mfc__input{flex:1;min-width:0;padding:10px 12px;border:1px solid #333;border-radius:0;font-size:.9rem;font-family:inherit;outline:none;background:#fff}.mfc__input:focus{border-color:var(--brand1);border-width:2px;padding:9px 11px}.mfc__row{display:flex;gap:8px;align-items:center}.mfc__discover{display:grid;gap:4px}.mfc__standards{display:grid;gap:0}.mfc__standard{border:1px solid #e5e7eb;border-bottom:none}.mfc__standard:last-child{border-bottom:1px solid #e5e7eb}.mfc__standard-header{display:flex;justify-content:space-between;align-items:center;width:100%;padding:14px 16px;background:#f9fafb;border:none;cursor:pointer;text-align:left;font:inherit;color:inherit}.mfc__standard-header:hover{background:#f3f4f6}.mfc__standard-header:focus-visible{outline:3px solid var(--brand1);outline-offset:-3px}.mfc__standard-info{display:flex;flex-direction:column;gap:2px}.mfc__standard-info strong{font-size:.95rem}.mfc__standard-count{font-size:.8rem;color:#6b7280}.mfc__chevron{transition:transform .2s;color:#6b7280;flex-shrink:0}.mfc__chevron--open{transform:rotate(180deg)}.mfc__standard-body{padding:0 16px 16px}.mfc__toolbar{display:flex;gap:12px;padding:10px 0 6px}.mfc__link-btn{background:none;border:none;color:var(--brand1);font-size:.85rem;font-weight:500;cursor:pointer;text-decoration:underline;padding:0}.mfc__list{display:grid;gap:0;border:1px solid #f0f0f0}.mfc__item{display:flex;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid #f0f0f0;cursor:pointer;transition:background .1s}.mfc__item:last-child{border-bottom:none}.mfc__item:hover{background:#f9fafb}.mfc__item--selected{background:color-mix(in srgb,var(--brand1) 6%,white)}.mfc__item input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand1);flex-shrink:0;cursor:pointer}.mfc__item input[type=checkbox]:focus-visible{outline:3px solid var(--brand1);outline-offset:2px}.mfc__field-info{flex:1;min-width:0;display:grid;gap:1px}.mfc__field-info strong{font-size:.85rem}.mfc__sample{font-size:.75rem;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta-config{display:grid;gap:24px;max-width:58rem}.meta-config__desc{margin:0;color:#6b7280}.meta-config__section{padding:24px;background:#fff;border:1px solid #e5e7eb;border-radius:0;box-shadow:0 1px 3px #0000000d}
