.structured-csv{gap:var(--space-4);display:grid}.structured-csv__panel,.structured-csv__results{gap:var(--space-3);padding:var(--space-4);border:1px solid color-mix(in srgb, var(--border-input) 45%, transparent);border-radius:var(--radius-lg);background:var(--surface);display:grid}.structured-csv__panel h2,.structured-csv__results h2,.structured-csv__panel p,.structured-csv__results p{margin:0}.structured-csv__panel h2,.structured-csv__results h2{font-family:var(--font-heading);font-size:var(--text-md);line-height:1.25}.structured-csv__panel p,.structured-csv__results-head p{color:var(--ink-2);font-size:var(--text-xs)}.structured-csv__actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.structured-csv__actions button{min-height:44px}.structured-csv__text-button{min-height:44px;padding:0 var(--space-3);color:var(--accent-deep);font-size:var(--text-xs);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;font-weight:600;text-decoration:underline}.structured-csv__file{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.structured-csv__error{color:var(--error);font-size:var(--text-xs);margin:0}.structured-csv__status{color:var(--ink-2);font-size:var(--text-xs);margin:0}.structured-csv__results{overflow:hidden}.structured-csv__results-head{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.structured-csv__results-head>div{gap:var(--space-1);display:grid}.structured-csv__results-head h2:focus{outline:2px solid var(--focus);outline-offset:3px}.structured-csv__table-wrap{border:1px solid var(--border-input);border-radius:var(--radius);background:var(--surface);max-height:360px;overflow:auto}.structured-csv__table-wrap table{border-collapse:separate;border-spacing:0;width:100%;font-size:var(--text-xs);line-height:1.4}.structured-csv__table-wrap th,.structured-csv__table-wrap td{padding:var(--space-2) var(--space-3);border-bottom:1px solid color-mix(in srgb, var(--border-input) 35%, transparent);text-align:left;white-space:nowrap}.structured-csv__table-wrap th{z-index:1;background:var(--bg);color:var(--ink-2);font-weight:700;position:sticky;top:0}.structured-csv__table-wrap tbody tr:last-child td{border-bottom:0}.structured-csv__table-wrap tbody tr:hover td{background:var(--accent-soft)}.structured-csv__code{max-height:320px;padding:var(--space-3);border:1px solid var(--border-input);border-radius:var(--radius);background:var(--bg);color:var(--ink);font-family:var(--font-mono);font-size:var(--text-xs);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;overflow:auto}@media (width>=600px){.structured-csv__panel,.structured-csv__results{padding:var(--space-5)}}
