.tool-ui{background:var(--color-bg-secondary);border:1px solid var(--color-border);border-radius:var(--radius-xl);margin-bottom:var(--space-8);padding:clamp(16px,2.5vw,24px)}.robots-tool-title{color:var(--color-text-primary);font-size:1.18rem;line-height:1.35;margin:0 0 18px}.robots-editor{display:grid;gap:18px;min-width:0}.robots-field{display:flex;flex-direction:column;gap:6px;min-width:0}.robots-field label,.robots-group-label,.robots-rules-header h3{color:var(--color-text-primary);font-size:.9rem;font-weight:700}.robots-field input,.robots-rule :is(input,select){background:var(--color-bg);border:1px solid var(--color-border);border-radius:9px;box-sizing:border-box;color:var(--color-text-primary);font:inherit;font-size:.9rem;min-height:42px;min-width:0;padding:9px 11px;width:100%}.robots-editor button:focus-visible,.robots-field input:focus-visible,.robots-rule :is(input,select):focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.robots-field :is(small),.robots-presets small{color:var(--color-text-secondary);font-size:.82rem;line-height:1.5}.robots-presets{display:grid;gap:8px}.robots-preset-list{display:flex;flex-wrap:wrap;gap:7px}.robots-preset{background:var(--color-bg);border:1px solid var(--color-border);border-radius:9px;color:var(--color-text-secondary);cursor:pointer;font:inherit;font-size:.83rem;font-weight:650;min-height:38px;padding:7px 13px}.robots-preset.active{background:var(--color-primary);border-color:var(--color-primary);color:#fff}.robots-rules-header{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}.robots-rules-header h3{margin:0}.robots-add-btn{background:var(--color-bg);border:1px solid var(--color-primary);border-radius:9px;color:var(--color-primary);cursor:pointer;font:inherit;font-size:.83rem;font-weight:700;min-height:36px;padding:7px 12px}.robots-rule,.robots-rules{display:grid;gap:8px}.robots-rule{align-items:center;grid-template-columns:124px minmax(0,1fr) 40px;min-width:0}.robots-rule button{background:var(--color-bg);border:1px solid var(--color-border);border-radius:9px;color:var(--color-text-secondary);cursor:pointer;font:inherit;font-size:1rem;min-height:40px;width:40px}.robots-status{color:var(--color-text-secondary);font-size:.86rem;line-height:1.5;margin:0;min-height:1.5em}.robots-status--error{color:#b91c1c}.robots-output{background:#18243a;border-radius:13px;color:#e2e8f0;min-width:0;overflow:hidden}.robots-output-heading{border-bottom:1px solid #475569;display:flex;flex-wrap:wrap;font-size:.87rem;gap:8px;justify-content:space-between;padding:13px 16px}.robots-output-heading span{color:#aab8cd}.robots-code{color:#e2e8f0;font:.83rem/1.7 Consolas,Courier New,monospace;margin:0;max-height:440px;min-height:80px;overflow:auto;padding:16px;white-space:pre}.robots-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 16px}.robots-action{background:#334155;border:1px solid #64748b;border-radius:9px;color:#fff;cursor:pointer;font:inherit;font-size:.85rem;font-weight:700;min-height:39px;padding:8px 14px}.robots-action--download{background:var(--color-primary);border-color:var(--color-primary)}.robots-action:disabled{cursor:not-allowed;opacity:.48}[data-theme=dark] .robots-field input,[data-theme=dark] .robots-rule :is(input,select){background:#111c31;border-color:#52627d;color:#f8fafc}[data-theme=dark] .robots-status--error{color:#fca5a5}@media (max-width:600px){.tool-ui{padding:14px}.robots-rule{gap:5px;grid-template-columns:99px minmax(0,1fr) 36px}.robots-rule button{width:36px}.robots-rule :is(input,select){font-size:.79rem;padding-inline:6px}.robots-actions>button{flex:1 1 150px}}