.channel-import-dialog { border: 0; padding: 0; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); border-radius: 18px; color: #172b4d; overflow: hidden; }
.channel-import-dialog::backdrop { background: #14213d66; backdrop-filter: blur(3px); }
.channel-import-card { box-sizing: border-box; width: min(1160px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 24px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.channel-import-card header { display: flex; flex-shrink: 0; justify-content: space-between; align-items: flex-start; gap: 16px; }
.channel-import-body { display: flex; flex-direction: column; gap: 16px; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.channel-import-body > * { flex-shrink: 0; }
.channel-import-card h3 { margin: 0 0 6px; font-size: 21px; }
.channel-import-card p, .channel-import-card small { margin: 0; color: #64748b; font-size: 12px; line-height: 1.6; }
.channel-import-fields { display: grid; grid-template-columns: 2fr 1fr 80px 1fr 1fr; gap: 12px; padding: 16px; background: #f6f8fc; border-radius: 10px; }
.channel-import-fields label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 12px; color: #53657f; }
.channel-import-fields :is(input,select) { box-sizing: border-box; min-width: 0; width: 100%; height: 36px; padding: 7px 9px; border: 1px solid #dce3ef; border-radius: 7px; background: white; color: #172b4d; font: inherit; }
.channel-import-fields input[type=file] { height: auto; min-height: 36px; }
.channel-import-card button { padding: 9px 14px; border: 1px solid #dce3ef; border-radius: 8px; background: white; color: #253b5b; cursor: pointer; font-weight: 600; white-space: nowrap; }
.channel-import-card button:disabled { opacity: .45; cursor: default; }
#channel-import-apply { background: #2457e7; border-color: #2457e7; color: white; }
#channel-import-check.is-primary { background: #2457e7; border-color: #2457e7; color: white; }
.channel-import-summary { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.channel-import-summary > div { padding: 10px 12px; border: 1px solid #e5ebf5; border-radius: 8px; }
.channel-import-summary span { display: block; color: #64748b; font-size: 12px; margin-bottom: 5px; }
.channel-import-summary strong { font-size: 21px; font-variant-numeric: tabular-nums; }
.channel-import-preview { min-height: 120px; overflow: auto; border: 1px solid #e5ebf5; border-radius: 9px; }
.channel-import-preview table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
.channel-import-preview th { position: sticky; top: 0; background: #f6f8fc; z-index: 1; color: #52637c; }
.channel-import-preview :is(th,td) { padding: 11px 13px; border-bottom: 1px solid #edf1f7; overflow-wrap: anywhere; }
.channel-import-card footer { display: flex; flex-shrink: 0; align-items: center; gap: 10px; }
.channel-import-card footer span { flex: 1; font-size: 12px; color: #64748b; }
.channel-import-card .is-error { color: #b33b2e; }
.channel-import-card [hidden] { display: none; }
.channel-import-card :is(input,select,button):focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
@media (max-width: 760px) {
  .channel-import-card { padding: 16px; gap: 12px; }
  .channel-import-body { gap: 12px; }
  .channel-import-fields { grid-template-columns: 1fr 1fr; padding: 12px; }
  .channel-import-file { grid-column: 1 / -1; }
  .channel-import-summary { grid-template-columns: repeat(3, 1fr); }
  .channel-import-card footer { flex-wrap: wrap; }
  .channel-import-card footer span { flex-basis: 100%; }
  .channel-import-preview table { min-width: 600px; }
}
