.match-example .live-demo{border-top:1px solid currentColor;margin-top:2rem;padding-top:1.5rem}
.match-example .live-demo[hidden]{display:none}
.match-example .live-demo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.match-example .live-demo label{display:block;font-weight:600;margin-bottom:.6rem}
.match-example .live-demo textarea{display:block;box-sizing:border-box;width:100%;min-height:9rem;resize:vertical;background:#141a1e;color:#f0f4f2;border:1px solid #89948e;border-radius:.3rem;padding:.8rem;font:inherit;font-size:1rem;line-height:1.6}
.match-example .live-demo button{font:inherit;line-height:1.4;padding:.65rem .9rem;background:#d8f3df;color:#102217;border:1px solid #8baf96;border-radius:.3rem;cursor:pointer}
.match-example .live-demo button:disabled{background:#3d4640;color:#c9d0cb;cursor:not-allowed}
.match-example .live-demo-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}
.match-example .live-demo :focus-visible{outline:3px solid #9df1bf;outline-offset:4px}
.match-example .live-demo [role=status]{min-height:3rem;line-height:1.6}
.match-example .live-demo textarea[aria-invalid=true]{border-color:#ffbca1}
@media(max-width:650px){.match-example .live-demo-grid{grid-template-columns:1fr}.match-example .live-demo button{width:100%}}
.match-example .live-demo [hidden]{display:none!important}
.match-example .csv-mode{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;border:0;padding:0;margin:1.5rem 0}
.match-example .csv-mode legend{font-weight:600;margin-bottom:.5rem}
.match-example .csv-mode label,.match-example .csv-header-label{display:flex;align-items:center;gap:.6rem;min-height:44px;margin:0;font-weight:400;cursor:pointer}
.match-example .csv-mode input,.match-example .csv-header-label input{width:1.15rem;height:1.15rem;accent-color:#cbea9e;flex-shrink:0}
.match-example .csv-hint,.match-example .csv-scope,.match-example .csv-memory,.match-example .csv-export-note{font-size:.94rem;line-height:1.6;max-width:78ch}
.match-example .csv-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem;margin:1.5rem 0}
.match-example .csv-source{min-width:0;padding:1rem;border:1px solid #89948e;border-radius:.35rem}
.match-example .csv-source legend{font-weight:600;padding:0 .35rem}
.match-example .csv-source input[type=file]{box-sizing:border-box;width:100%;max-width:100%;min-height:48px;border:1px solid #89948e;border-radius:.25rem;color:inherit;background:transparent;padding:.5rem;font:inherit;font-size:.94rem}
.match-example .csv-source input[type=file]::file-selector-button{min-height:44px;margin-right:.6rem;padding:.55rem .8rem;border:1px solid #8baf96;border-radius:.25rem;background:#d8f3df;color:#102217;font:inherit;cursor:pointer}
.match-example .csv-source select{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:.55rem 1.6rem .55rem .6rem;font:inherit;font-size:1rem;color:#f0f4f2;background:#141a1e;border:1px solid #89948e;border-radius:.25rem;text-overflow:ellipsis}
.match-example .csv-source select:disabled{opacity:.55}
.match-example .csv-source label{font-size:.95rem}
.match-example .csv-format-options{margin:.75rem 0 1rem}
.match-example .csv-format-options summary{display:list-item;min-height:44px;padding:.65rem 0;box-sizing:border-box;cursor:pointer}
.match-example .csv-format-options>label{margin-top:.5rem}
.match-example .csv-mapping{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.match-example .csv-file-status{font-size:.9rem;line-height:1.55;overflow-wrap:anywhere}
.match-example .csv-preview{overflow-x:auto;max-width:100%;margin-top:.75rem}
.match-example .csv-preview:empty{display:none}
.match-example .csv-preview-table{width:100%;border-collapse:collapse;font-size:.85rem;line-height:1.5;table-layout:fixed}
.match-example .csv-preview-table caption{text-align:left;font-weight:600;padding:.3rem 0 .6rem}
.match-example .csv-preview-table th,.match-example .csv-preview-table td{text-align:left;vertical-align:top;border-bottom:1px solid #89948e;padding:.5rem .35rem;overflow-wrap:anywhere;white-space:pre-wrap}
.match-example .csv-source [aria-invalid=true]{border-color:#ffbca1}
@media(max-width:900px){.match-example .csv-sources{grid-template-columns:1fr}}
@media(max-width:450px){.match-example .csv-mapping{grid-template-columns:1fr}.match-example .csv-mode{display:block}.match-example .csv-source{padding:.75rem}}
