.ce-page { color: #172033; }
.ce-heading { margin-bottom: 30px; }
.ce-eyebrow { margin: 0 0 10px !important; color: #087f6d; font-size: 14px !important; font-weight: 800; }
.ce-heading h1 { margin: 0 0 16px; color: #111827; font-size: 43px; line-height: 1.2; letter-spacing: 0; }
.ce-heading > p:last-child { max-width: 800px; margin: 0; color: #526078; font-size: 18px; line-height: 1.75; }
.ce-tool, .ce-guide { overflow: hidden; margin-top: 24px; border: 1px solid #d6e0eb; border-radius: 8px; background: #fff; }
.ce-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid #dce5ef; background: #f8fafc; }
.ce-mode button { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; align-items: center; gap: 0 13px; min-height: 88px; margin: 0; padding: 16px 24px; border: 0; border-right: 1px solid #dce5ef; border-radius: 0; background: transparent; color: #526078; text-align: left; box-shadow: none; cursor: pointer; }
.ce-mode button:last-child { border-right: 0; }
.ce-mode button > span { display: grid; grid-row: 1 / 3; width: 48px; height: 48px; place-items: center; border-radius: 7px; background: #e7edf4; color: #526078; font-size: 12px; font-weight: 900; }
.ce-mode strong { color: #26354a; font-size: 17px; }
.ce-mode small { color: #7c899b; font-size: 12px; }
.ce-mode button.is-active { background: #eef8f5; }
.ce-mode button.is-active > span { background: #087f6d; color: #fff; }
.ce-mode button.is-active strong { color: #075f54; }
.ce-workspace { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.ce-input, .ce-preview { min-width: 0; padding: 26px; }
.ce-input { border-right: 1px solid #dce5ef; }
.ce-preview { background: #fbfcfe; }
.ce-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ce-section-title > div > span { display: block; margin-bottom: 3px; color: #087f6d; font-size: 11px; font-weight: 900; }
.ce-section-title h2 { margin: 0; color: #172033; font-size: 20px; }
.ce-section-title > button { flex: 0 0 auto; width: auto; min-height: 36px; margin: 0; padding: 0 12px; border: 1px solid #ced9e5; border-radius: 6px; background: #fff; color: #435269; box-shadow: none; font-size: 12px; font-weight: 800; }
.ce-drop { position: relative; display: flex; min-height: 214px; margin: 0; padding: 24px; align-items: center; justify-content: center; border: 2px dashed #b9c9da; border-radius: 8px; background: #f8fafc; flex-direction: column; text-align: center; cursor: pointer; transition: .18s ease; }
.ce-drop:hover, .ce-drop.is-dragging { border-color: #168777; background: #eff9f6; }
.ce-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.ce-drop img { margin-bottom: 10px; }
.ce-drop strong { color: #172033; font-size: 17px; }
.ce-drop > span { margin-top: 4px; color: #7b889b; font-size: 12px; }
.ce-drop em { margin-top: 14px; padding: 8px 14px; border-radius: 6px; background: #087f6d; color: #fff; font-size: 12px; font-style: normal; font-weight: 900; }
.ce-file-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 0; padding: 12px 14px; border: 1px solid #dce5ef; border-radius: 7px; }
.ce-file-info > div { min-width: 0; }
.ce-file-info strong, .ce-file-info span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ce-file-info strong { color: #26354a; font-size: 13px; }
.ce-file-info span { margin-top: 2px; color: #8692a3; font-size: 11px; }
.ce-file-info button { flex: 0 0 auto; width: auto; min-height: 34px; margin: 0; padding: 0 10px; border: 0; border-radius: 6px; background: #e9eef5; color: #475569; box-shadow: none; font-size: 11px; font-weight: 800; }
.ce-options { margin-top: 25px; padding-top: 22px; border-top: 1px solid #e1e8f0; }
.ce-options[hidden] { display: none !important; }
.ce-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ce-fields label, .ce-export label { margin: 0; color: #405067; font-size: 12px; font-weight: 800; }
.ce-fields select, .ce-export input { width: 100%; height: 46px; margin-top: 6px; border: 1px solid #ced9e5; border-radius: 7px; background-color: #fff; color: #172033; font-size: 13px; font-weight: 700; }
.ce-fields select { padding: 0 38px 0 12px; }
.ce-check { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0 0; color: #526078; font-size: 12px; line-height: 1.55; cursor: pointer; }
.ce-check input { flex: 0 0 18px; width: 18px !important; height: 18px !important; margin: 1px 0 0 !important; opacity: 1 !important; appearance: auto !important; }
.ce-stats { display: flex; gap: 5px; }
.ce-stats span { padding: 5px 7px; border-radius: 5px; background: #edf2f7; color: #64748b; font-size: 10px; white-space: nowrap; }
.ce-stats strong { color: #087f6d; }
.ce-preview-empty { display: grid; min-height: 405px; padding: 30px; place-content: center; border: 1px dashed #c7d4e2; border-radius: 8px; background: #fff; text-align: center; }
.ce-preview-empty strong { color: #334155; font-size: 17px; }
.ce-preview-empty p { max-width: 260px; margin: 6px 0 0; color: #7b889b; font-size: 12px; line-height: 1.6; }
.ce-table-wrap { max-height: 470px; overflow: auto; border: 1px solid #d5dfeb; border-radius: 7px; background: #fff; }
.ce-table-wrap[hidden] { display: none !important; }
.ce-table-wrap table { width: max-content; min-width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font-size: 12px; }
.ce-table-wrap th, .ce-table-wrap td { max-width: 220px; min-width: 90px; height: 37px; padding: 7px 10px; overflow: hidden; border-right: 1px solid #e3e9f0; border-bottom: 1px solid #e3e9f0; color: #344359; text-overflow: ellipsis; white-space: nowrap; }
.ce-table-wrap thead th { position: sticky; top: 0; z-index: 2; background: #eaf2f1; color: #075f54; font-weight: 900; }
.ce-table-wrap tbody th { position: sticky; left: 0; min-width: 42px; background: #f4f7fa; color: #8490a1; text-align: center; }
.ce-export { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 10px; padding: 22px 26px; border-top: 1px solid #dce5ef; background: #f8fafc; }
.ce-export > div p { margin: 5px 0 0; color: #8995a6; font-size: 11px; }
.ce-export button, .ce-export a { min-height: 46px; margin: 0; padding: 0 17px; border: 0; border-radius: 7px; background: #087f6d; color: #fff; box-shadow: none; font-size: 13px; font-weight: 900; line-height: 46px; text-align: center; text-decoration: none; white-space: nowrap; }
.ce-export button:disabled { background: #dfe6ee; color: #8b98a9; cursor: not-allowed; }
.ce-export a { background: #172033; }
.ce-export a[hidden] { display: none !important; }
.ce-status { min-height: 45px; margin: 0; padding: 13px 26px; border-top: 1px solid #dce5ef; color: #59677b; font-size: 13px; }
.ce-status.is-success { color: #087f6d; }
.ce-status.is-error { background: #fff1f0; color: #c2413b; }
.ce-privacy { display: flex; gap: 10px; padding: 13px 26px; border-top: 1px solid #dce5ef; background: #eff8f6; color: #526078; font-size: 12px; }
.ce-privacy strong { color: #087f6d; white-space: nowrap; }
.ce-guide { padding: 30px; }
.ce-guide > header h2 { margin: 0 0 10px; color: #111827; font-size: 27px; }
.ce-guide > header p { margin: 0; color: #64748b; line-height: 1.75; }
.ce-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 24px 0; }
.ce-steps > div { padding: 17px; border: 1px solid #dbe4ee; border-radius: 7px; background: #f8fafc; }
.ce-steps span { color: #087f6d; font-size: 11px; font-weight: 900; }
.ce-steps strong { display: block; margin-top: 4px; color: #172033; font-size: 15px; }
.ce-steps p { margin: 7px 0 0; color: #64748b; font-size: 12px; line-height: 1.6; }
.ce-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.ce-guide-grid section { padding: 20px 0; border-top: 1px solid #e2e8f0; }
.ce-guide-grid h3, .ce-format-table h3 { margin: 0 0 8px; color: #172033; font-size: 18px; }
.ce-guide-grid p { margin: 0; color: #59677b; font-size: 14px; line-height: 1.75; }
.ce-format-table { margin-top: 8px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.ce-format-table > div { overflow-x: auto; }
.ce-format-table table { width: 100%; margin: 13px 0 0; border-collapse: collapse; font-size: 13px; }
.ce-format-table th, .ce-format-table td { padding: 12px; border: 1px solid #dce5ef; color: #526078; text-align: left; }
.ce-format-table th { background: #f2f6f9; color: #26354a; }
.ce-note { margin: 22px 0 0; padding: 16px 18px; border-left: 4px solid #087f6d; background: #eff8f6; color: #405166; font-size: 13px; line-height: 1.7; }
@media screen and (max-width: 980px) { .ce-workspace { grid-template-columns: 1fr; } .ce-input { border-right: 0; border-bottom: 1px solid #dce5ef; } .ce-preview-empty { min-height: 250px; } }
@media screen and (max-width: 640px) {
  .ce-heading h1 { font-size: 33px; } .ce-heading > p:last-child { font-size: 16px; }
  .ce-mode button { grid-template-columns: 38px minmax(0, 1fr); gap: 0 9px; min-height: 76px; padding: 12px; } .ce-mode button > span { width: 38px; height: 38px; font-size: 10px; } .ce-mode strong { font-size: 14px; } .ce-mode small { font-size: 10px; }
  .ce-input, .ce-preview, .ce-guide { padding: 20px 16px; } .ce-fields { grid-template-columns: 1fr; } .ce-drop { min-height: 190px; padding: 20px; }
  .ce-section-title { align-items: flex-start; } .ce-stats { flex-wrap: wrap; justify-content: flex-end; }
  .ce-export { grid-template-columns: 1fr 1fr; padding: 20px 16px; } .ce-export > div { grid-column: 1 / -1; } .ce-export button, .ce-export a { width: 100%; padding: 0 9px; font-size: 12px; }
  .ce-privacy { display: block; padding: 13px 16px; } .ce-privacy strong { display: block; margin-bottom: 3px; }
  .ce-steps, .ce-guide-grid { grid-template-columns: 1fr; } .ce-guide > header h2 { font-size: 24px; }
}
