
.import-stage { max-width: 1240px; margin: 0 auto; padding: 44px 28px 64px; }
.import-intro { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.eyebrow { color: var(--primary); font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.import-intro h1 { margin: 7px 0 10px; font-size: clamp(27px, 3vw, 38px); line-height: 1.16; letter-spacing: -.035em; }
.import-intro > p:last-child { color: var(--text-muted); font-size: 15px; }
.import-panel { overflow: hidden; background: var(--surface); border: 1px solid var(--outline); border-radius: 10px; box-shadow: 0 2px 10px rgba(25,28,29,.05); }
.panel-heading { justify-content: space-between; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--outline); }
.panel-heading h2, .processing-panel h2, .drawer-header h2, .export-heading h1, .workspace-heading h1 { margin: 0; font-size: 18px; line-height: 24px; }
.panel-heading p, .section-heading p, .drawer-header p { margin-top: 3px; color: var(--text-muted); font-size: 12px; }
.secure-note { display: inline-flex; align-items: center; gap: 5px; color: var(--success); font-size: 11px; font-weight: 600; }
.secure-note .material-symbols-outlined { font-size: 15px; }
.segmented-control { display: flex; gap: 4px; width: fit-content; margin: 18px 24px 0; padding: 4px; border-radius: 6px; background: var(--surface-mid); }
.segment { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 6px 16px; color: var(--text-muted); background: transparent; border-radius: 4px; font-size: 12px; font-weight: 600; }
.segment:hover { color: var(--text); }
.segment.is-active { color: var(--primary); background: var(--surface); box-shadow: 0 1px 3px rgba(25,28,29,.12); }
.import-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 28px; padding: 24px; }
.source-column { padding-inline-end: 28px; border-inline-end: 1px solid var(--outline); }
.field-label { display: block; margin-bottom: 6px; color: var(--text-muted); font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.drop-zone { position: relative; min-height: 286px; display: grid; place-items: center; border: 1.5px dashed var(--outline-strong); border-radius: 8px; background: var(--surface-low); transition: border-color .15s, background-color .15s; }
.drop-zone:hover, .drop-zone.drag-over { border-color: var(--primary); background: #f1f5ff; }
.drop-zone > input[type=file] { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop-zone-content { max-width: 410px; padding: 26px; text-align: center; pointer-events: none; }
.drop-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 12px; color: var(--primary); border-radius: 10px; background: var(--primary-soft); }
.drop-icon .material-symbols-outlined { font-size: 28px; }
.drop-icon.success { color: var(--success); background: var(--success-soft); }
.drop-title { margin: 0; font-size: 15px; font-weight: 700; }
.drop-help { margin: 5px 0 16px; color: var(--text-muted); font-size: 12px; }
.input-with-icon { position: relative; }
.input-with-icon > .material-symbols-outlined { position: absolute; inset-inline-start: 11px; top: 50%; z-index: 1; transform: translateY(-50%); color: var(--text-soft); }
.input-with-icon input { padding-inline-start: 38px !important; }
.field-help { margin: 6px 0 0; color: var(--text-soft); font-size: 11px; }
.template-download { display: flex; align-items: center; gap: 4px; }.template-download .material-symbols-outlined { font-size: 14px; }.template-download a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.field-help.text-error { color: var(--error); }
.info-strip { display: flex; gap: 11px; margin-top: 16px; padding: 12px; color: var(--text-muted); border: 1px solid #b9c9ef; border-radius: 6px; background: #f2f6ff; font-size: 11px; }
.info-strip > .material-symbols-outlined { color: var(--primary); }
.info-strip p { margin: 0; }
.info-strip strong { color: var(--text); }
.section-heading { justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-heading h3 { margin: 0; font-size: 14px; }
.section-heading.compact { margin-bottom: 10px; }
.optional-label { margin-inline-start: 5px; color: var(--text-soft); font-size: 10px; font-weight: 500; }
.model-selector-group { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--outline); }
.two-column-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input[type=text], input[type=url], input[type=number], input[type=search], select, textarea { width: 100%; color: var(--text); border: 1px solid var(--outline); border-radius: 4px; background: var(--surface); }
input[type=text], input[type=url], input[type=number], input[type=search], select { min-height: 38px; padding: 7px 10px; }
textarea { padding: 9px 10px; resize: vertical; }
input[type=checkbox] { width: 16px; height: 16px; color: var(--primary); border-color: var(--outline-strong); border-radius: 3px; }
.mono-input, .mono-data, input[type=number] { font-family: JetBrains Mono, monospace; font-size: 12px; }
.category-builder { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--outline); }
.category-rows { display: grid; gap: 8px; }
.category-row { display: grid; grid-template-columns: minmax(0,1fr) 110px 36px; gap: 8px; align-items: center; }
.form-footer { justify-content: space-between; gap: 20px; padding: 16px 24px; border-top: 1px solid var(--outline); background: var(--surface-low); }
.form-footer p { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--text-soft); font-size: 11px; }
.form-footer p .material-symbols-outlined { font-size: 16px; }
.alert { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; padding: 13px 14px; border: 1px solid; border-radius: 6px; }
.alert h3, .alert p { margin: 0; }
.alert h3 { font-size: 13px; }
.alert p { margin-top: 2px; font-size: 12px; }
.alert-error { color: var(--error); border-color: #edaaa4; background: var(--error-soft); }
.alert-warning { color: var(--warning); border-color: #f4bea5; background: var(--warning-soft); }
.alert.compact { margin: 8px 24px; padding: 9px 11px; }
.processing-panel { max-width: 680px; margin: 54px auto; padding: 52px 28px; text-align: center; border: 1px solid var(--outline); border-radius: 10px; background: var(--surface); }
.processing-orbit { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 20px; color: var(--primary); border: 2px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; }
.processing-orbit .material-symbols-outlined { font-size: 28px; animation: counter-spin 1s linear infinite; }
.processing-panel h2 { margin: 5px 0; }
.processing-panel > p:not(.eyebrow) { margin: 0; color: var(--text-muted); }
.progress-track { width: min(460px, 100%); height: 8px; margin: 24px auto 10px; overflow: hidden; border-radius: 99px; background: var(--surface-high); }
.progress-value { height: 100%; border-radius: inherit; background: var(--primary); transition: width .6s ease; }
.processing-help { font-size: 11px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter-spin { to { transform: rotate(-360deg); } }

