@charset "UTF-8";
.csv-main { padding-bottom:40px; }
.csv-hero { padding:45px 0 28px; text-align:left; }
.csv-hero .eyebrow { margin:0 0 12px; color:var(--muted); font-size:11px; font-weight:650; letter-spacing:1.5px; }
.csv-hero h1 { margin:0 0 15px; color:var(--ink); font-size:clamp(32px,4vw,48px); font-weight:720; letter-spacing:-1.8px; line-height:1.3; }
.csv-intro { max-width:780px; margin:0; color:var(--muted); font-size:15px; line-height:1.85; word-break:keep-all; }
.csv-trust { display:flex; flex-wrap:wrap; gap:9px 22px; margin:19px 0 0; padding:0; list-style:none; color:var(--muted); font-size:12px; line-height:1.7; }
.csv-trust li { display:inline-flex; align-items:center; gap:7px; }
.csv-trust li>span { color:var(--blue); }
.csv-main .photo-tools { justify-content:flex-start; flex-wrap:wrap; margin:0 0 24px; }
.csv-main .photo-tools a { border-radius:6px; font-size:12px; }
.csv-main .photo-tools a[aria-current=page] { border-color:var(--ink); background:var(--ink); color:white; }
.csv-workspace { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:22px; align-items:start; }
.csv-panel { min-width:0; padding:24px; border:1px solid var(--line); border-radius:10px; background:var(--paper); }
.csv-selection { display:flex; flex-direction:column; align-self:stretch; }
.csv-selection .csv-drop { flex:1; }
.csv-panel-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 16px; margin-bottom:20px; }
.csv-panel-heading h2 { display:flex; align-items:center; gap:10px; margin:0; color:var(--ink); font-size:20px; font-weight:700; letter-spacing:-.7px; line-height:1.5; }
.csv-step { display:inline-grid; place-items:center; flex-shrink:0; width:28px; height:28px; border-radius:6px; background:var(--pale); color:var(--blue); font-size:11px; font-weight:750; letter-spacing:0; }
.csv-text-button { min-height:44px; padding:7px 0 7px 10px; border:0; background:transparent; color:var(--muted); font-size:12px; font-weight:650; line-height:1.6; text-decoration:underline; text-underline-offset:4px; }
.csv-text-button:hover:not(:disabled) { color:var(--blue-dark); }
.csv-text-button:disabled { opacity:.5; }
.csv-drop { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; min-width:0; min-height:284px; padding:27px 20px; border:1.5px dashed #abb4d8; border-radius:8px; background:#f5f5f1; text-align:center; }
.csv-drop.is-dragover { border-color:var(--blue); background:var(--pale); outline:3px solid #b7c2ff; outline-offset:3px; }
.csv-empty svg { width:56px; height:56px; margin:0 auto 15px; color:var(--blue); }
.csv-empty h3 { margin:0 0 9px; font-size:17px; font-weight:700; letter-spacing:-.45px; line-height:1.6; }
.csv-empty p { margin:0; color:var(--muted); font-size:13px; line-height:1.85; }
.csv-primary,.csv-secondary { display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:48px; max-width:100%; padding:11px 20px; border:1px solid var(--blue); border-radius:6px; background:var(--blue); color:white; font:inherit; font-size:13px; font-weight:700; line-height:1.6; text-align:center; text-decoration:none; }
.csv-primary>span { flex-shrink:0; }
.csv-primary:hover:not(:disabled) { border-color:var(--blue-dark); background:var(--blue-dark); color:white; }
.csv-secondary { gap:8px; border-color:var(--line); background:white; color:var(--ink); }
.csv-secondary:hover:not(:disabled) { border-color:#a4b1df; background:var(--pale); }
.csv-primary:disabled { border-color:#d4daf0; background:#d4daf0; color:#596a96; }
.csv-limit-note,.csv-source-note { margin:13px 0 0; color:var(--muted); font-size:11px; line-height:1.9; overflow-wrap:anywhere; }
.csv-source-note { margin-top:5px; }
.csv-controls { min-width:0; margin:0; padding:0; border:0; }
.csv-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.csv-field { display:block; min-width:0; color:var(--ink); font-size:13px; font-weight:650; line-height:1.6; }
.csv-field>span:first-child { display:block; margin-bottom:8px; }
.csv-field select,.csv-name-field { display:flex; align-items:center; width:100%; min-width:0; min-height:48px; border:1px solid #d7dce7; border-radius:6px; background:white; }
.csv-field select { padding:10px 34px 10px 12px; color:var(--ink); font:inherit; font-size:14px; font-weight:450; color-scheme:light; }
.csv-field-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.csv-help { margin:8px 0 18px; color:var(--muted); font-size:11px; line-height:1.85; overflow-wrap:anywhere; }
.csv-name-field input { flex:1; width:100%; min-width:0; min-height:46px; padding:10px 12px; border:0; border-radius:6px; color:var(--ink); background:transparent; font:inherit; font-size:14px; font-weight:450; }
.csv-name-field>span { flex-shrink:0; padding-right:12px; color:var(--muted); font-size:13px; font-weight:450; }
.csv-controls:disabled select,.csv-controls:disabled input { background:#f4f5f7; color:#7d889c; cursor:not-allowed; }
.csv-text-rule { margin:20px 0; padding:14px 16px; border:1px solid #dce3fb; border-radius:7px; background:#f7f8ff; }
.csv-text-rule strong { display:block; color:var(--ink); font-size:13px; font-weight:650; }
.csv-text-rule p { margin:6px 0 0; color:var(--muted); font-size:12px; line-height:1.85; }
.csv-create-actions { display:flex; align-items:stretch; flex-wrap:wrap; gap:10px; }
.csv-create-actions .csv-primary { flex:1; min-width:160px; }
.csv-status { margin:13px 0 0; color:var(--muted); font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.csv-error { margin:16px 0 0; padding:12px 14px; border:1px solid #e6c7c7; border-radius:7px; background:#fff5f5; color:#9a3434; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.csv-preview,.csv-result { grid-column:1/-1; }
.csv-preview .csv-panel-heading { margin-bottom:10px; }
.csv-preview-tag { color:var(--muted); font-size:11px; }
.csv-summary { margin:0 0 16px; color:var(--muted); font-size:12px; line-height:1.8; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.csv-table-scroll { width:100%; min-width:0; max-height:460px; overflow:auto; border:1px solid var(--line); border-radius:7px; background:white; scrollbar-gutter:stable; }
.csv-table { width:max-content; min-width:100%; margin:0; border-spacing:0; border-collapse:separate; color:var(--ink); font-size:12px; line-height:1.7; text-align:left; }
.csv-table th,.csv-table td { min-width:120px; max-width:280px; padding:10px 12px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); vertical-align:top; text-align:left; white-space:pre-wrap; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.csv-table th { background:#f5f6fa; color:var(--muted); font-weight:650; }
.csv-table thead th { position:sticky; top:0; z-index:1; }
.csv-table th[scope=row] { min-width:50px; width:50px; max-width:70px; }
.csv-table tr:last-child>* { border-bottom:0; }
.csv-table tr>*:last-child { border-right:0; }
.csv-preview-note { margin:12px 0 0; color:var(--muted); font-size:11px; line-height:1.85; overflow-wrap:anywhere; }
.csv-result { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px 24px; border-color:#c9d2fa; background:#f7f7ff; }
.csv-result>div { flex:1; min-width:0; }
.csv-result-eyebrow { margin:0 0 6px; color:var(--blue); font-size:10px; font-weight:700; letter-spacing:1.4px; }
.csv-result h2 { margin:0; font-size:22px; font-weight:700; letter-spacing:-.6px; line-height:1.5; }
.csv-result-info { margin:8px 0 0; color:var(--muted); font-size:13px; line-height:1.8; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.csv-help-section { margin-top:24px; }
.csv-help-section h2 { margin:0 0 12px; font-size:25px; font-weight:700; letter-spacing:-.9px; line-height:1.5; }
.csv-help-section details+details { border-top:1px solid var(--line); }
.csv-help-section summary { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:56px; padding:14px 0; color:var(--ink); font-size:13px; font-weight:650; line-height:1.8; cursor:pointer; list-style:none; }
.csv-help-section summary::-webkit-details-marker { display:none; }
.csv-help-section summary::after { content:"+"; flex-shrink:0; color:var(--muted); font-size:18px; font-weight:450; }
.csv-help-section details[open] summary::after { content:"−"; }
.csv-help-section details p { max-width:860px; margin:0 0 18px; color:var(--muted); font-size:13px; line-height:1.9; }
.csv-main button:focus-visible,.csv-main a:focus-visible,.csv-main input:focus-visible,.csv-main select:focus-visible,.csv-main summary:focus-visible,.csv-table-scroll:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
@media(max-width:850px) {
  .csv-workspace { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:560px) {
  .csv-hero { padding:30px 0 24px; }
  .csv-hero h1 { font-size:32px; letter-spacing:-1.3px; }
  .csv-intro { font-size:14px; }
  .csv-trust { gap:7px 15px; font-size:11px; }
  .csv-workspace { gap:16px; }
  .csv-panel { padding:20px 16px; }
  .csv-panel-heading { gap:6px 12px; margin-bottom:16px; }
  .csv-panel-heading h2 { font-size:18px; }
  .csv-drop { min-height:250px; padding:24px 14px; }
  .csv-empty h3 { font-size:16px; }
  .csv-empty p { font-size:12px; }
  .csv-field-row { grid-template-columns:minmax(0,1fr); gap:16px; }
  .csv-field select,.csv-name-field input { font-size:16px; }
  .csv-text-rule { padding:12px 14px; }
  .csv-table-scroll { max-height:400px; }
  .csv-table th,.csv-table td { min-width:110px; padding:9px 10px; }
  .csv-result { align-items:stretch; }
  .csv-result h2 { font-size:20px; }
  .csv-result>.csv-primary { width:100%; }
  .csv-help-section { margin-top:18px; }
  .csv-help-section h2 { font-size:22px; letter-spacing:-.7px; }
  .csv-help-section summary,.csv-help-section details p { font-size:12px; }
}
