.fileget-csv-to-excel {
  --c2e-brand: var(--brand);
  --c2e-text: var(--text);
  --c2e-muted: var(--muted);
  --c2e-line: var(--line);
  --c2e-surface: var(--surface);
  --c2e-soft: #f7f8fc;
  --c2e-radius: 22px;
  color: var(--c2e-text);
  max-width: 1180px;
  margin: 0 auto;
}
.fileget-csv-to-excel *, .fileget-csv-to-excel *::before, .fileget-csv-to-excel *::after { box-sizing: border-box; }
.fileget-csv-to-excel [hidden] { display: none !important; }
.fileget-csv-to-excel button, .fileget-csv-to-excel input, .fileget-csv-to-excel select, .fileget-csv-to-excel textarea { font: inherit; }

.c2e-hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 24px; align-items: end; margin: 0 0 22px; }
.c2e-hero__copy { max-width: 780px; }
.c2e-eyebrow, .c2e-section-eyebrow { display: inline-block; color: var(--c2e-brand); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.c2e-hero h1 { margin: 10px 0 12px; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.c2e-hero p { margin: 0; color: var(--c2e-muted); line-height: 1.8; }
.c2e-hero__trust { border: 1px solid #e5e7f4; background: linear-gradient(180deg, #fff, #fafbff); border-radius: 18px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(20, 28, 60, .05); }
.c2e-hero__trust strong, .c2e-hero__trust span { display: block; }
.c2e-hero__trust strong { font-size: 14px; line-height: 1.55; }
.c2e-hero__trust span { margin-top: 7px; color: var(--c2e-muted); font-size: 12px; line-height: 1.6; }

.c2e-tabs { display: inline-flex; gap: 4px; margin-bottom: 12px; padding: 4px; border: 1px solid var(--c2e-line); border-radius: 13px; background: var(--c2e-soft); }
.c2e-tab { appearance: none; border: 0; background: transparent; color: var(--c2e-muted); border-radius: 9px; padding: 9px 13px; font-size: 13px; font-weight: 850; cursor: pointer; }
.c2e-tab.is-active { background: #fff; color: var(--c2e-text); box-shadow: 0 1px 4px rgba(20, 28, 60, .08); }

.c2e-workspace { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(310px, .72fr); gap: 18px; align-items: start; }
.c2e-main, .c2e-card, .c2e-result, .c2e-info-card { background: var(--c2e-surface); border: 1px solid var(--c2e-line); border-radius: var(--c2e-radius); box-shadow: var(--shadow); }
.c2e-main { padding: 22px; min-height: 565px; }
.c2e-side { display: grid; gap: 14px; }
.c2e-card { padding: 20px; }
.c2e-card__head { margin-bottom: 18px; }
.c2e-card__head strong { display: block; margin-top: 5px; font-size: 18px; }

.c2e-dropzone { min-height: 310px; display: grid; place-items: center; align-content: center; gap: 9px; padding: 34px; text-align: center; border: 2px dashed #dce1ef; border-radius: 20px; background: linear-gradient(180deg, #fff, #fbfcff); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.c2e-dropzone:hover, .c2e-dropzone.is-dragging { border-color: #b9baf1; background: #fafaff; transform: translateY(-1px); }
.c2e-dropzone__icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 20px; background: #eef0ff; color: var(--c2e-brand); font-size: 30px; font-weight: 900; }
.c2e-dropzone strong { font-size: 18px; }
.c2e-dropzone > span:not(.c2e-dropzone__icon) { color: var(--c2e-muted); }
.c2e-meta { font-size: 12px; font-weight: 800; }
.c2e-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.c2e-file-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 14px; padding: 14px; border: 1px solid var(--c2e-line); border-radius: 16px; background: var(--c2e-soft); }
.c2e-file-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: #eceeff; color: var(--c2e-brand); font-size: 11px; font-weight: 950; }
.c2e-file-copy strong, .c2e-file-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c2e-file-copy strong { font-size: 14px; }
.c2e-file-copy span { margin-top: 4px; color: var(--c2e-muted); font-size: 12px; }

.c2e-paste-head, .c2e-preview__head, .c2e-result__head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.c2e-paste-head strong, .c2e-preview__head strong { display: block; font-size: 16px; }
.c2e-paste-head span:not(.c2e-chip), .c2e-preview__head span { display: block; margin-top: 5px; color: var(--c2e-muted); font-size: 12px; line-height: 1.55; }
.c2e-chip { border: 1px solid #e3e5f1; background: #fff; color: var(--c2e-brand); padding: 7px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; }
.c2e-textarea { width: 100%; margin-top: 14px; resize: vertical; min-height: 295px; padding: 14px; border: 1px solid var(--c2e-line); border-radius: 16px; background: #fff; color: var(--c2e-text); outline: none; line-height: 1.65; }
.c2e-textarea:focus, .c2e-field input:focus, .c2e-field select:focus { border-color: #b8baf1; box-shadow: 0 0 0 3px rgba(90, 91, 208, .08); }

.c2e-preview { margin-top: 18px; }
.c2e-preview__table-wrap { margin-top: 12px; overflow: auto; max-height: 315px; border: 1px solid var(--c2e-line); border-radius: 15px; }
.c2e-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 12px; }
.c2e-table th, .c2e-table td { padding: 10px 12px; border-bottom: 1px solid #edf0f6; text-align: start; vertical-align: top; white-space: nowrap; max-width: 250px; overflow: hidden; text-overflow: ellipsis; }
.c2e-table th { position: sticky; top: 0; z-index: 1; background: #f4f5fb; font-weight: 850; }
.c2e-table tr:last-child td { border-bottom: 0; }
.c2e-empty { min-height: 120px; margin-top: 18px; display: grid; place-items: center; align-content: center; gap: 10px; border: 1px dashed #e0e4ef; border-radius: 18px; color: var(--c2e-muted); text-align: center; }
.c2e-empty__dot { width: 10px; height: 10px; border-radius: 50%; background: #b5b8ed; }

.c2e-field { display: block; margin-top: 14px; }
.c2e-field > span { display: block; margin-bottom: 7px; color: var(--c2e-muted); font-size: 12px; font-weight: 800; }
.c2e-field input, .c2e-field select { width: 100%; min-height: 44px; border: 1px solid var(--c2e-line); border-radius: 12px; background: #fff; color: var(--c2e-text); padding: 0 12px; outline: none; }
.c2e-input-suffix { position: relative; }
.c2e-input-suffix input { padding-inline-end: 58px; }
.c2e-input-suffix em { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); color: var(--c2e-muted); font-style: normal; font-size: 12px; font-weight: 850; }
.c2e-check { display: flex; gap: 9px; align-items: flex-start; margin-top: 14px; color: var(--c2e-text); font-size: 12px; line-height: 1.5; cursor: pointer; }
.c2e-check input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--c2e-brand); }

.c2e-primary, .c2e-secondary { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 12px; padding: 0 15px; border: 1px solid transparent; font-size: 13px; font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease; }
.c2e-primary { width: 100%; margin-top: 18px; background: var(--c2e-brand); color: #fff; box-shadow: 0 8px 20px rgba(79, 70, 229, .18); }
.c2e-primary:hover:not(:disabled) { transform: translateY(-1px); }
.c2e-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.c2e-secondary { background: #fff; color: var(--c2e-text); border-color: var(--c2e-line); }
.c2e-secondary:hover { background: var(--c2e-soft); }
.c2e-link { white-space: nowrap; }
.c2e-status { min-height: 20px; margin: 9px 1px 0; color: var(--c2e-muted); font-size: 12px; line-height: 1.55; }
.c2e-status[data-state="error"] { color: #a33a49; }
.c2e-status[data-state="success"] { color: #27734b; }
.c2e-spinner { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: c2e-spin .7s linear infinite; }
@keyframes c2e-spin { to { transform: rotate(360deg); } }

.c2e-tip p { margin: 10px 0 0; color: var(--c2e-muted); font-size: 12px; line-height: 1.7; }
.c2e-result { margin-top: 18px; padding: 22px; }
.c2e-result h2 { margin: 8px 0 5px; font-size: clamp(20px, 3vw, 30px); word-break: break-word; }
.c2e-result__head p { margin: 0; color: var(--c2e-muted); font-size: 12px; }
.c2e-result__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.c2e-result__stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.c2e-stat { display: flex; flex-direction: column; gap: 5px; padding: 13px 14px; border: 1px solid var(--c2e-line); border-radius: 14px; background: var(--c2e-soft); }
.c2e-stat small { color: var(--c2e-muted); font-size: 11px; }
.c2e-stat strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.c2e-bottom-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.c2e-info-card { display: flex; gap: 12px; padding: 16px; }
.c2e-info-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; background: #eef0ff; color: var(--c2e-brand); font-weight: 900; }
.c2e-info-card strong { display: block; font-size: 13px; }
.c2e-info-card p { margin: 5px 0 0; color: var(--c2e-muted); font-size: 12px; line-height: 1.65; }

@media (max-width: 980px) { .c2e-hero, .c2e-workspace { grid-template-columns: 1fr; } .c2e-hero__trust { max-width: 640px; } }
@media (max-width: 720px) {
  .c2e-main { padding: 16px; }
  .c2e-file-card { grid-template-columns: auto minmax(0, 1fr); }
  .c2e-file-card .c2e-secondary { grid-column: 1 / -1; width: 100%; }
  .c2e-result__head { flex-direction: column; }
  .c2e-result__actions { width: 100%; justify-content: stretch; }
  .c2e-result__actions .c2e-link, .c2e-result__actions button { flex: 1 1 100%; }
  .c2e-result__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c2e-bottom-grid { grid-template-columns: 1fr; }
  .c2e-dropzone { min-height: 270px; }
}
@media (max-width: 460px) { .c2e-hero h1 { font-size: 34px; } .c2e-tabs { width: 100%; } .c2e-tab { flex: 1; } .c2e-result__stats { grid-template-columns: 1fr; } }
