.traffic-skip { position:absolute; left:1rem; top:-5rem; padding:1rem; background:#fff; color:#111; z-index:1000; }
.traffic-skip:focus { top:1rem; }
.traffic-result { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; }
#trafficTool textarea { width:100%; max-width:100%; min-height:8rem; font:inherit; }
#trafficTool input, #trafficTool select { max-width:100%; min-width:0; }
.tool-panel, .tool-sidebar { min-width:0; }
#trafficTool { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:24px; }
#trafficTool label { display:flex; flex-direction:column; gap:8px; min-width:0; font-weight:700; }
#trafficTool input, #trafficTool select, #trafficTool textarea { width:100%; padding:13px 14px; border:1px solid rgba(22,139,255,.42); border-radius:12px; background:var(--color-bg); color:var(--color-text); font:inherit; font-weight:400; color-scheme:dark; }
#trafficTool :is(input,select,textarea,button):focus-visible { outline:3px solid var(--color-green); outline-offset:3px; }
#trafficTool button { margin:0; padding:13px 20px; border:1px solid var(--color-green); border-radius:12px; background:var(--color-green); color:var(--color-bg); font:inherit; font-weight:800; cursor:pointer; min-height:48px; }
#trafficTool button[type=reset] { background:transparent; color:var(--color-text); border-color:var(--color-card-border); }
@media(max-width:620px) { #trafficTool { grid-template-columns:1fr; } }
