@import url('../_shared/tool.css?v=c60de15b9f9accbb');

#tool-root[data-tool='excel-csv-safe-check'] { padding-block: 0 64px; }
.excel-tool > section { margin-block: 0 40px; }
.excel-tool h2 { font-size: 1.3rem; margin-block: 0 16px; }
.excel-tool p { line-height: 1.65; overflow-wrap: anywhere; }
.excel-tool .excel-input { border: 1px solid var(--line, #ddd); border-radius: 12px; padding: 20px; background: var(--surface, #fff); }
.excel-tool label { display: block; margin-block: 12px 8px; }
.excel-tool input[type='file'], .excel-tool select { width: 100%; max-width: 100%; min-height: 44px; font: inherit; }
.excel-tool input[type='file'] { padding-block: 8px; }
.excel-tool input::file-selector-button { min-height: 44px; margin-inline-end: 8px; font: inherit; }
.excel-tool .excel-checkbox { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.excel-tool input[type='checkbox'] { width: 20px; height: 20px; flex: 0 0 auto; }
.excel-tool button { min-height: 44px; padding: 10px 16px; white-space: normal; max-width: 100%; overflow-wrap: anywhere; cursor: pointer; }
.excel-tool button:disabled { opacity: .55; cursor: wait; }
.excel-tool :focus-visible { outline: 2px solid var(--accent, #0075de); outline-offset: 3px; }
.excel-input-types { width: 100%; border-collapse: collapse; margin-block: 16px; }
.excel-input-types th, .excel-input-types td { padding: 10px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line, #ddd); overflow-wrap: anywhere; }
.excel-input-types th { width: 64px; }
.excel-preview-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.excel-preview-cell { min-width: 0; padding: 16px; border: 1px solid var(--line, #ddd); border-radius: 8px; }
.excel-preview-cell h3 { font-size: 1rem; margin-block: 0 12px; overflow-wrap: anywhere; }
.excel-preview-cell dl { margin: 0; }
.excel-preview-cell dt { color: var(--ink-2, #424245); font-size: .875rem; margin-block-start: 8px; }
.excel-preview-cell dd { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.excel-preview-cell code { font-size: .95rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.excel-tool #excel-results > h3 { font-size: 1.1rem; margin-block: 28px 8px; }
.excel-overlap-list { margin-block: 12px 0; }
.excel-downloads { margin-block: 24px; display: grid; gap: 16px; }
.excel-downloads p { margin-block: 8px 0; }
.excel-tool [hidden] { display: none; }
@media (max-width: 600px) {
  .excel-preview-list { grid-template-columns: minmax(0, 1fr); }
  .excel-tool .excel-input { padding: 14px; }
  .excel-tool button { width: 100%; }
}
