.heading-tail { display: inline-block; }
.sample-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:14px; }
.sample-row .button { font-size:13px; min-height:40px; padding:8px 12px; }
input[type="text"] { width:100%; min-width:0; height:46px; border:1px solid #cfd4dc; border-radius:10px; padding:0 12px; font:inherit; }
.field { min-width:0; }
#widthHelp { margin-top:10px; }
.width-summary { padding:10px 12px; border-radius:8px; background:#eef2ff; color:#3148a5; font-weight:700; }
.options .check-row { align-items:flex-start; }
.options input, .risk-box input { flex-shrink:0; margin-top:5px; }
.howto p { margin-top:14px; }
.status-box { background:var(--success-bg); color:var(--success); padding:14px; border-radius:10px; }
.status-box.bad { background:var(--danger-bg); color:var(--danger); }
.status-box.empty { background:#f8fafc; color:#475467; }
.risk-box { margin:16px 0; padding:16px; background:#fff7ed; border:1px solid #fed7aa; border-radius:10px; color:#7c2d12; overflow-wrap:anywhere; }
.risk-box li { white-space:pre-wrap; }
#downloadButton { margin:16px 0 8px; }
.table-wrap { margin-top:10px; }
#previewTable td { white-space:pre-wrap; min-width:120px; max-width:320px; overflow-wrap:anywhere; font-family:Consolas,monospace; unicode-bidi:plaintext; }
#previewTable th small { display:block; font-weight:400; white-space:nowrap; }
.table-wrap:focus-visible { outline:3px solid var(--primary); outline-offset:2px; }
#errorsBody td:last-child { min-width:250px; }
#resultSection { scroll-margin-top:80px; }
@media(max-width:640px) { h1 { font-size:34px; } .sample-row .ghost { width:auto; } .stats { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; } .stat { padding:10px 6px; } .stat strong { font-size:24px; } }
