#v34PhotoImport { max-width: 1200px; margin: 0 auto; padding: 22px; color: var(--text, #e5e7eb); }
#v34PhotoImport h2, #v34PhotoImport h3 { margin: 0; }
#v34PhotoImport .pi-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; }
#v34PhotoImport .pi-toolbar h2, #v34PhotoImport .pi-toolbar h3 { margin-right: auto; }
#v34PhotoImport .pi-card { border: 1px solid var(--line, #334155); border-radius: 14px; padding: 20px; margin: 16px 0; background: var(--panel, #171b25); }
#v34PhotoImport .pi-muted { color: var(--muted, #9aa4b5); line-height: 1.65; font-size: 13px; }
#v34PhotoImport a { color: var(--accent, #9d99ff); }
#v34PhotoImport .pi-title, #v34PhotoImport .pi-file { display: grid; gap: 10px; margin-bottom: 18px; }
#v34PhotoImport input, #v34PhotoImport textarea { box-sizing: border-box; max-width: 100%; background: var(--bg, #10131b); border: 1px solid var(--line, #334155); border-radius: 8px; padding: 12px; color: inherit; font: inherit; }
#v34PhotoImport textarea { width: 100%; font-family: monospace; margin: 12px 0; }
#v34PhotoImport .pi-primary { background: var(--accent, #7464df); color: #fff; }
#v34PhotoImport .pi-notice { line-height: 1.6; white-space: pre-line; }
#v34PhotoImport .pi-notice:empty { display: none; }
#v34PhotoImport .pi-error { color: #fda4af; }
#v34PhotoImport progress { width: 100%; height: 8px; accent-color: #8b7bea; }
#v34PhotoImport .pi-summary { line-height: 1.7; }
#v34PhotoImport .pi-results { border: 1px solid var(--line, #334155); border-radius: 12px; margin-top: 20px; overflow: hidden; }
#v34PhotoImport .pi-row { display: grid; grid-template-columns: 28px minmax(130px, 1fr) 140px minmax(180px, 1fr) auto; align-items: center; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line, #334155); }
#v34PhotoImport .pi-row:last-child { border-bottom: 0; }
#v34PhotoImport .pi-number { color: var(--muted, #9aa4b5); font-size: 12px; }
#v34PhotoImport .pi-name { overflow-wrap: anywhere; font-size: 13px; }
#v34PhotoImport .pi-status { font-size: 12px; }
#v34PhotoImport .pi-saved { color: #86efac; }
#v34PhotoImport .pi-failed, #v34PhotoImport .pi-uncertain { color: #fda4af; }
#v34PhotoImport code { user-select: all; font-size: 13px; overflow-wrap: anywhere; }
#v34PhotoImport .pi-row-error { grid-column: 2 / -1; margin: 0; color: var(--muted, #9aa4b5); font-size: 12px; line-height: 1.5; }
#v34PhotoImport .pi-history { display: grid; gap: 10px; margin-top: 32px; }
#v34PhotoImport .pi-history > button { text-align: left; white-space: normal; }
@media (max-width: 760px) {
  #v34PhotoImport { padding: 14px 8px; }
  #v34PhotoImport .pi-card { padding: 14px; }
  #v34PhotoImport .pi-row { grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
  #v34PhotoImport .pi-status, #v34PhotoImport code, #v34PhotoImport .pi-row > button { grid-column: 2; justify-self: start; }
}
