    .assignment-import-backdrop {
        background: rgba(15, 23, 42, 0.52);
    }

    .assignment-import-dialog {
        max-width: 96vw;
        margin: 1rem auto;
    }

    .assignment-import-dialog .assignment-import-modal-content {
        min-height: 590px;
        max-height: 80vh;
        height: 80vh;
        display: flex;
        flex-direction: column;
        border-radius: 12px;
        border: 1px solid var(--wiz-border, #d8dee8);
        overflow: hidden;
        background: var(--wiz-surface, #ffffff);
        box-shadow: 0 8px 32px rgba(0, 0, 0, .14);
    }

    .assignment-import-shell {
        --wiz-surface: #fff;
        --wiz-surface-sub: #f8f9fb;
        --wiz-surface-2: #f3f5f8;
        --wiz-surface-nest: #f3f5f8;
        --wiz-border: #d8dee8;
        --wiz-border-soft: #e9ecef;
        --wiz-text: #212529;
        --wiz-text-muted: #6c757d;
        --wiz-text-soft: #a3a6b1;
        --wiz-accent: #c2622a;
        --wiz-accent-soft: rgba(194, 98, 42, .08);
        --wiz-accent-border: rgba(194, 98, 42, .18);
        --wiz-shadow: 0 1px 3px rgba(0, 0, 0, .06);
        display: flex;
        flex: 1;
        min-height: 0;
        flex-direction: column;
        background: var(--wiz-surface);
        color: var(--wiz-text);
        font-size: 0.875rem;
    }
    .assignment-import-shell.theme-dark,
    [data-bs-theme="dark"] .assignment-import-shell {
        --wiz-surface: #1f242c;
        --wiz-surface-sub: #252b34;
        --wiz-surface-2: #2a313b;
        --wiz-surface-nest: #2b313b;
        --wiz-border: #3a4452;
        --wiz-border-soft: #313947;
        --wiz-text: #edf2f7;
        --wiz-text-muted: #c0cad6;
        --wiz-text-soft: #9ca8b8;
        --wiz-accent: #de7c3a;
        --wiz-accent-soft: rgba(222, 124, 58, .16);
        --wiz-accent-border: rgba(222, 124, 58, .28);
        --wiz-shadow: 0 10px 24px rgba(0, 0, 0, .28);
    }
    [data-bs-theme="dark"] .assignment-import-dialog .assignment-import-modal-content {
        border-color: #3a4452;
        background: #1f242c;
        box-shadow: 0 14px 36px rgba(0, 0, 0, .42);
    }

    .assignment-import-shell .wizard-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        min-height: 2.95rem;
        padding: 0.64rem 0.9rem;
        border-bottom: 2px solid var(--wiz-accent-border);
        background: var(--wiz-surface);
    }

    .assignment-import-shell .wizard-topbar-main {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        min-width: 0;
        flex: 1 1 auto;
        flex-wrap: nowrap;
    }

    .assignment-import-shell .wizard-topbar-title {
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--wiz-accent);
        white-space: nowrap;
    }

    .assignment-import-shell .wizard-topbar-chip {
        display: inline-flex;
        align-items: center;
        min-height: 1.7rem;
        padding: 0 0.62rem;
        border-radius: 0.55rem;
        border: 1px solid var(--wiz-accent-border);
        background: var(--wiz-accent-soft);
        color: var(--wiz-accent);
        font-size: 0.75rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .assignment-import-shell .wizard-topbar-context-title {
        color: var(--wiz-text-muted);
        font-size: 0.84rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 16rem;
    }

    .assignment-import-shell .wizard-topbar-actions {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        margin-left: auto;
    }

    .assignment-import-shell .wizard-topbar-actions .btn-close:not(.app-modal-close-btn) {
        font-size: 1.05rem;
        padding: 0.1rem;
    }

    .assignment-import-shell .wizard-scroll-shell {
        display: flex;
        flex: 1;
        min-height: 0;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.56rem 0.78rem;
        background: var(--wiz-surface);
    }

    .assignment-import-shell .wizard-panel-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        background: var(--wiz-surface);
    }

    .assignment-import-shell .wizard-body {
        min-height: 100%;
        padding-bottom: 0.2rem;
    }

    .assignment-import-shell .wizard-stepper-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.65rem;
        flex-wrap: wrap;
        padding: 0.64rem 0.78rem;
        border: 1px solid var(--wiz-border);
        border-radius: 0.82rem;
        background: var(--wiz-surface);
        box-shadow: var(--wiz-shadow);
    }

    .assignment-import-shell .wizard-stepper-steps {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        flex-wrap: nowrap;
        flex: 0 0 auto;
        min-width: 0;
    }

    .assignment-import-shell .wizard-step-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        min-height: 1.875rem;
        padding: 0 0.8125rem;
        border-radius: 999px;
        border: 1px solid var(--wiz-border);
        background: var(--wiz-surface-sub);
        color: var(--wiz-text-muted);
        font-size: 0.75rem;
        font-weight: 600;
    }

    .assignment-import-shell .wizard-step-btn.active {
        background: var(--wiz-accent);
        border-color: var(--wiz-accent);
        color: #fff;
    }

    .assignment-import-shell .wizard-step-btn.completed {
        background: rgba(25, 135, 84, .08);
        border-color: rgba(25, 135, 84, .18);
        color: #157347;
    }

    .assignment-import-shell .wizard-step-num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.125rem;
        height: 1.125rem;
        border-radius: 999px;
        background: rgba(0, 0, 0, .1);
        font-size: 0.6875rem;
    }

    .assignment-import-shell .wizard-step-btn.active .wizard-step-num {
        background: rgba(255, 255, 255, .25);
    }

    .assignment-import-shell .wizard-stepper-context {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        flex-wrap: nowrap;
        flex: 1 0 32rem;
        justify-content: flex-end;
        min-width: 0;
    }

    .assignment-import-mode-context-shell {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        justify-content: flex-end;
        min-width: 0;
        flex-wrap: wrap;
    }

    .assignment-import-mode-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        height: 1.625rem;
        padding: 0 0.625rem;
        border-radius: 999px;
        border: 1px solid;
        font: inherit;
        font-size: 0.75rem;
        font-weight: 600;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .assignment-import-mode-chip.is-add {
        background: rgba(25, 135, 84, .09);
        border-color: rgba(25, 135, 84, .28);
        color: #157347;
    }

    .assignment-import-mode-chip.is-replace {
        background: #fff8ec;
        border-color: #f5c27a;
        color: #7a4d00;
    }

    .assignment-import-mode-chip-label {
        white-space: nowrap;
    }

    .assignment-import-mode-chip-action {
        display: inline-flex;
        align-items: center;
        height: 1rem;
        padding: 0 0.375rem;
        border-radius: 999px;
        background: var(--wiz-accent-soft);
        color: var(--wiz-accent);
        font-size: 0.625rem;
        font-weight: 700;
    }

    .assignment-import-mode-chip:disabled {
        opacity: 0.7;
        cursor: default;
    }

    .assignment-import-mode-summary-box {
        display: inline-flex;
        align-items: center;
        height: 1.375rem;
        max-width: 100%;
        padding: 0 0.5rem;
        border: 1px solid var(--wiz-border);
        border-radius: 0.25rem;
        background: var(--wiz-surface-sub);
        color: var(--wiz-text-muted);
        font-size: 0.75rem;
        line-height: 1;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 0 1 auto;
        min-width: 0;
    }

    .assignment-import-stepper-card.is-rtl .assignment-import-mode-summary-box {
        order: -1;
    }

    .assignment-import-shell .wizard-footer {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        justify-content: space-between;
        padding: 0.625rem 1.125rem 0.75rem;
        border-top: 1px solid var(--wiz-border);
        background: var(--wiz-surface);
        box-shadow: 0 -3px 12px rgba(0, 0, 0, .06);
        flex-shrink: 0;
    }

    .assignment-import-shell .wizard-footer-start,
    .assignment-import-shell .wizard-footer-end {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .assignment-import-shell .wizard-footer-end {
        margin-inline-start: auto;
    }

    .assignment-import-shell .wizard-footer .btn {
        font-size: 0.8125rem;
        line-height: 1.3;
        padding: 0.42rem 0.9rem;
    }

    .assignment-import-shell .wizard-footer .btn-primary,
    .assignment-import-shell .wizard-footer .btn-secondary {
        min-width: 6.75rem;
    }

    .assignment-import-step-card {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .assignment-import-step-card-source {
        flex: 0 0 auto;
        overflow: visible;
    }

    .assignment-import-step-card-body {
        gap: 0.75rem;
    }

    .assignment-import-step-card-body-source,
    .assignment-import-step-card-body-prepare,
    .assignment-import-step-card-body-review {
        display: grid;
        align-content: start;
    }

    .assignment-import-step-card-prepare {
        flex: 0 0 auto;
        overflow: visible;
    }

    .assignment-import-step-card-body-source {
        gap: 0.56rem;
        overflow: visible;
    }

    .assignment-import-step-card-body-prepare {
        overflow: visible;
    }

    .assignment-import-body {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .assignment-import-prepare-stack {
        display: grid;
        gap: 0.72rem;
        overflow: visible;
    }

    .assignment-import-prepare-table-shell {
        border: 1px solid var(--wiz-border);
        border-radius: 0.62rem;
        background: var(--wiz-surface);
        box-shadow: var(--wiz-shadow);
        overflow: visible;
    }

    .assignment-import-source .single-import-panel {
        border: 1px solid var(--wiz-border);
        background: var(--wiz-surface);
        padding: 0.85rem 0.95rem;
        border-radius: 0.62rem;
        box-shadow: none;
    }

    .assignment-import-source .single-import-panel-title {
        margin-bottom: 0;
        font-size: 0.78rem;
        color: var(--wiz-text-muted);
        font-weight: 600;
        text-transform: none;
        letter-spacing: 0;
    }

    .assignment-import-source .assignment-import-source-section {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .assignment-import-source .assignment-import-mode-section {
        padding: 0;
        border: 0;
        background: transparent;
    }

    .assignment-import-source .assignment-import-mode-section .single-import-panel-title {
        display: none;
    }

    .assignment-import-mode-controls {
        display: grid;
        gap: 0.75rem;
        width: 100%;
    }

    .assignment-import-mode-options {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
        gap: 0.56rem;
        width: 100%;
    }

    .assignment-import-mode-option {
        display: grid;
        gap: 0.25rem;
        width: 100%;
        min-height: 0;
        padding: 0.64rem 0.74rem;
        text-align: start;
        border: 1px solid var(--wiz-border);
        border-radius: 0.5rem;
        background: var(--wiz-surface-sub);
        color: var(--wiz-text);
        font: inherit;
        transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
    }

    .assignment-import-mode-option.active {
        border-color: #3d8ef0;
        background: #edf2ff;
        box-shadow: 0 1px 2px rgba(61, 142, 240, 0.1);
    }
    .assignment-import-shell.theme-dark .assignment-import-mode-option.active,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-mode-option.active {
        border-color: rgba(99, 162, 255, 0.45);
        background: rgba(99, 162, 255, 0.14);
        box-shadow: none;
    }
    .assignment-import-shell.theme-dark .assignment-import-mode-option,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-mode-option {
        background: var(--wiz-surface-sub);
        border-color: var(--wiz-border);
    }
    .assignment-import-shell.theme-dark .assignment-import-filter-chip:hover,
    .assignment-import-shell.theme-dark .assignment-import-drawer-tab:hover,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-filter-chip:hover,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-drawer-tab:hover {
        background: var(--wiz-surface-2);
        border-color: var(--wiz-border);
        color: var(--wiz-text);
    }
    .assignment-import-shell.theme-dark .assignment-import-drawer-tab.active,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-drawer-tab.active {
        background: rgba(99, 162, 255, 0.14);
        border-color: rgba(99, 162, 255, 0.4);
        color: var(--wiz-text);
        box-shadow: none;
    }
    .assignment-import-shell.theme-dark .assignment-import-filter-chip-warn,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-filter-chip-warn {
        background: rgba(255, 184, 77, 0.12);
        border-color: rgba(255, 184, 77, 0.36);
        color: #ffd18a;
    }
    .assignment-import-shell.theme-dark .assignment-import-status-pill.is-ready,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-status-pill.is-ready {
        background: rgba(63, 193, 117, 0.14);
        border-color: rgba(63, 193, 117, 0.42);
        color: #9ae5b9;
    }
    .assignment-import-shell.theme-dark .assignment-import-status-pill.is-warn,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-status-pill.is-warn {
        background: rgba(255, 184, 77, 0.12);
        border-color: rgba(255, 184, 77, 0.36);
        color: #ffd18a;
    }
    .assignment-import-shell.theme-dark .assignment-import-status-pill.is-error,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-status-pill.is-error {
        background: rgba(223, 106, 106, 0.12);
        border-color: rgba(223, 106, 106, 0.34);
        color: #ffb0b0;
    }
    .assignment-import-shell.theme-dark .assignment-import-status-pill.is-info,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-status-pill.is-info {
        background: rgba(99, 162, 255, 0.12);
        border-color: rgba(99, 162, 255, 0.32);
        color: #bdd5ff;
    }
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer {
        background: var(--wiz-surface-sub);
        border-top-color: var(--wiz-border);
    }
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-head,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-head {
        background: var(--wiz-surface);
        border-color: var(--wiz-border);
        box-shadow: none;
    }
    .assignment-import-shell.theme-dark .assignment-import-drawer-tab-indicator,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-drawer-tab-indicator {
        background: rgba(255, 255, 255, 0.08);
        color: var(--wiz-text-muted);
    }
    .assignment-import-shell.theme-dark .assignment-import-drawer-tab-indicator.is-ready,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-drawer-tab-indicator.is-ready {
        background: rgba(63, 193, 117, 0.14);
        color: #9ae5b9;
    }
    .assignment-import-shell.theme-dark .assignment-import-drawer-tab-indicator.is-warn,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-drawer-tab-indicator.is-warn {
        background: rgba(255, 184, 77, 0.12);
        color: #ffd18a;
    }
    .assignment-import-shell.theme-dark .assignment-import-drawer-tab-indicator.is-error,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-drawer-tab-indicator.is-error {
        background: rgba(223, 106, 106, 0.12);
        color: #ffb0b0;
    }
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-identity-drawer-label,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .wizard-field-label,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .wizard-column-title,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .wizard-tests-pane-title,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-identity-drawer-label,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .wizard-field-label,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .wizard-column-title,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .wizard-tests-pane-title {
        color: var(--wiz-text-muted);
    }
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-identity-drawer-input,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-question-editor,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-solution-editor-host,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-taskcode-editor-host,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-tests-code-editor,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .wizard-tests-input .form-control,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-identity-drawer-input,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-question-editor,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-solution-editor-host,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-taskcode-editor-host,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-tests-code-editor,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .wizard-tests-input .form-control {
        border-color: var(--wiz-border);
        background: var(--wiz-surface-2);
        box-shadow: none;
        color: var(--wiz-text);
    }
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible {
        border-color: var(--wiz-border);
        background: transparent;
        color: var(--wiz-text);
    }
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible > summary,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible > summary {
        background: var(--wiz-surface);
        color: var(--wiz-text-muted);
    }
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-question-grid-pane .wizard-column,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-solution-grid-main .wizard-column,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-solution-grid-analysis .wizard-column,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-tests-grid-pane .wizard-tests-pane,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .shared-task-solution-layout > .wizard-column,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-question-grid-pane .wizard-column,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-solution-grid-main .wizard-column,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-solution-grid-analysis .wizard-column,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-tests-grid-pane .wizard-tests-pane,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .shared-task-solution-layout > .wizard-column {
        border-color: var(--wiz-border);
        background: linear-gradient(180deg, #20262f 0%, #242b35 100%);
        box-shadow: none;
    }
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .wizard-preview,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .wizard-column-body,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .wizard-tests-pane-body,
    .assignment-import-shell.theme-dark .assignment-import-prepare-drawer-body .wizard-analysis-panel,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .wizard-preview,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .wizard-column-body,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .wizard-tests-pane-body,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-prepare-drawer-body .wizard-analysis-panel {
        border-color: var(--wiz-border);
        background: var(--wiz-surface-2);
        box-shadow: none;
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-summary-card,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-summary-card {
        background: linear-gradient(180deg, #20262f 0%, #242b35 100%);
        border-color: var(--wiz-border);
        box-shadow: none;
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-chip,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-chip {
        background: var(--wiz-surface-sub);
        border-color: var(--wiz-border);
        color: var(--wiz-text-muted);
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-chip.is-blocked,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-chip.is-blocked {
        background: rgba(223, 106, 106, 0.12);
        border-color: rgba(223, 106, 106, 0.34);
        color: #ffb0b0;
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-chip.is-warning,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-chip.is-warning {
        background: rgba(255, 184, 77, 0.12);
        border-color: rgba(255, 184, 77, 0.36);
        color: #ffd18a;
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-chip.is-ready,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-chip.is-ready {
        background: color-mix(in srgb, var(--wiz-surface-sub) 88%, #3fc175 12%);
        border-color: rgba(63, 193, 117, 0.32);
        color: #bdebd0;
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-summary-text,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-summary-text {
        color: var(--wiz-text-muted);
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-kpi,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-kpi {
        background: var(--wiz-surface-sub);
        border-color: var(--wiz-border);
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-kpi-value.is-warn,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-kpi-value.is-warn {
        color: #ffd18a;
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-kpi-value.is-error,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-kpi-value.is-error {
        color: #ffb0b0;
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-box,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-box {
        background: var(--wiz-surface-sub);
        border-color: var(--wiz-border);
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-box.is-blocked,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-box.is-blocked {
        background: rgba(223, 106, 106, 0.08);
        border-color: rgba(223, 106, 106, 0.34);
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-box.is-warning,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-box.is-warning {
        background: rgba(255, 184, 77, 0.08);
        border-color: rgba(255, 184, 77, 0.34);
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-box.is-ready,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-box.is-ready {
        background: color-mix(in srgb, var(--wiz-surface-sub) 94%, #3fc175 6%);
        border-color: rgba(63, 193, 117, 0.28);
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-list-item,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-list-item,
    .assignment-import-shell.theme-dark .assignment-import-final-review-impact,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-impact,
    .assignment-import-shell.theme-dark .assignment-import-final-review-note,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-note {
        color: var(--wiz-text-muted);
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-ready-state,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-ready-state {
        background: color-mix(in srgb, var(--wiz-surface-2) 90%, #3fc175 10%);
        border-color: rgba(63, 193, 117, 0.34);
        color: #d4f5e1;
    }

    .assignment-import-mode-option:disabled {
        opacity: 0.72;
        cursor: default;
    }

    .assignment-import-source-mode-copy {
        display: grid;
        gap: 0.22rem;
        min-width: 0;
    }

    .assignment-import-source-mode-title {
        font-size: 0.85rem;
        font-weight: 700;
        line-height: 1.24;
    }

    .assignment-import-source-mode-subtitle {
        color: var(--wiz-text-muted);
        font-size: 0.79rem;
        line-height: 1.28;
        font-weight: 400;
    }

    .assignment-import-source .assignment-import-file-section {
        padding: 0;
        border: 0;
        background: transparent;
    }

    .assignment-import-file-toolbar {
        margin-bottom: 0.15rem;
    }

    .assignment-import-file-inline-row {
        display: grid;
        grid-template-columns: 8.25rem minmax(0, 1fr);
        gap: 0.45rem;
        align-items: center;
        width: 100%;
    }

    .assignment-import-file-inline-label {
        margin-bottom: 0;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .assignment-import-file-picker-row {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        flex-wrap: nowrap;
        width: 100%;
        min-width: 0;
    }

    .assignment-import-file-picker-row > .btn {
        margin-inline-start: auto;
        white-space: nowrap;
    }

    .assignment-import-google-drive-row {
        align-items: stretch;
    }

    .assignment-import-google-drive-input {
        min-width: 12rem;
        flex: 1 1 18rem;
    }

    .assignment-import-file-display {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        flex: 1 1 auto;
        min-height: 2.2rem;
        padding: 0.42rem 0.72rem;
        border: 1px solid var(--wiz-border);
        border-radius: 0.38rem;
        background: var(--wiz-surface-sub);
        color: var(--wiz-text);
        font-size: 0.84rem;
        min-width: 0;
    }

    .assignment-import-file-display.is-empty {
        color: var(--wiz-text-muted);
    }

    .assignment-import-file-display-size {
        color: var(--wiz-text-muted);
        font-size: 0.76rem;
    }

    .assignment-import-source-status-strip {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        flex-wrap: wrap;
        padding: 0.42rem 0.62rem;
        border: 1px solid var(--wiz-border);
        border-radius: 0.5rem;
        background: var(--wiz-surface-sub);
    }

    .assignment-import-source-status-strip .wizard-status-chip {
        min-height: 1.45rem;
        padding: 0 0.55rem;
        border-radius: 0.4rem;
        font-size: 0.74rem;
        font-weight: 500;
    }

    .assignment-import-status-action {
        margin-inline-start: auto;
    }

    .assignment-import-source-ai-info {
        margin: 0.25rem 0 0;
        padding: 0.48rem 0.7rem;
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .assignment-import-current-target-section {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.8rem;
        flex-wrap: wrap;
        padding: 0.7rem 0.9rem;
        background: linear-gradient(180deg, #fbfcff 0%, #f6f8fb 100%);
    }

    .assignment-import-current-target-label {
        color: var(--wiz-text-muted);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .assignment-import-current-target-values {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        flex-wrap: wrap;
    }

    .assignment-import-current-target-id {
        display: inline-flex;
        align-items: center;
        min-height: 1.6rem;
        padding: 0 0.55rem;
        border-radius: 0.4rem;
        border: 1px solid var(--wiz-accent-border);
        background: var(--wiz-accent-soft);
        color: var(--wiz-accent);
        font-size: 0.74rem;
        font-weight: 700;
    }

    .assignment-import-current-target-title {
        color: var(--wiz-text);
        font-size: 0.86rem;
        font-weight: 600;
    }

    .assignment-import-source-actions {
        margin-top: -0.1rem;
    }

    .wizard-inline-details {
        border: 1px solid var(--wiz-border);
        border-radius: 0.5rem;
        background: var(--wiz-surface-sub);
        overflow: visible;
    }

    .wizard-inline-details > summary {
        cursor: pointer;
        padding: 0.7rem 0.85rem;
        color: var(--wiz-text-muted);
        font-size: 0.8rem;
        font-weight: 600;
    }

    .wizard-inline-details-body {
        display: grid;
        gap: 0.75rem;
        padding: 0 0.85rem 0.85rem;
        align-content: start;
    }

    .wizard-code-block {
        margin: 0;
        min-height: 6rem;
        padding: 0.8rem 0.9rem;
        border: 1px solid var(--wiz-border);
        border-radius: 0.5rem;
        background: var(--wiz-surface-sub);
        white-space: pre-wrap;
        font-family: "Fira Code", Consolas, monospace;
        font-size: 0.77rem;
        line-height: 1.55;
        color: var(--wiz-text);
    }

    .wizard-code-textarea {
        field-sizing: fixed;
        align-self: start;
        min-height: 10.5rem;
        height: 10.5rem !important;
        width: 100%;
        resize: none;
        overflow-y: auto;
        white-space: pre-wrap;
    }

    .assignment-import-advanced-details {
        margin-top: 0;
        align-self: stretch;
    }

    .assignment-import-advanced-details[open] {
        overflow: visible;
    }

    .assignment-import-advanced-warning-block {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .assignment-import-destination-panel-wrapper {
        border: 1px solid var(--bs-border-color);
        border-radius: 0.5rem;
        padding: 0.5rem 0.7rem;
        background: rgba(255, 255, 255, 0.02);
        min-width: 300px;
    }

    .assignment-import-destination-panel-wrapper .single-import-panel-title {
        font-size: 0.88rem;
        margin-bottom: 0.25rem;
    }

    .assignment-import-destination-panel-wrapper .d-grid {
        display: flex !important;
        gap: 1rem !important;
        align-items: center;
        flex-wrap: nowrap;
    }

    .assignment-import-destination-panel-wrapper .single-import-choice span {
        white-space: nowrap;
    }

    .assignment-import-source .assignment-import-source-row {
        margin-top: 0 !important;
        margin-left: 0;
        margin-right: 0;
        row-gap: 0.3rem !important;
    }

    .assignment-import-source .assignment-import-source-row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .assignment-import-source .assignment-import-file-section > div,
    .assignment-import-source .assignment-import-destination-section > div {
        margin-top: 0 !important;
    }

    .assignment-import-source .assignment-import-destination-section .d-grid {
        display: flex !important;
        gap: 1.5rem !important;
        align-items: center;
        flex-wrap: wrap;
    }

    .assignment-import-source .assignment-import-destination-section {
        border: 1px solid var(--bs-border-color);
        border-radius: 0.5rem;
        padding: 0.6rem 0.75rem;
        background: rgba(255, 255, 255, 0.02);
    }

    .assignment-import-source .assignment-import-meta-section .form-label {
        margin-bottom: 0;
        font-size: 0.9rem;
    }

    .assignment-import-source .assignment-import-meta-section .row {
        --bs-gutter-y: 0.6rem;
    }

    .assignment-import-inline-field {
        display: flex;
        align-items: center;
        gap: 0.55rem;
    }

    .assignment-import-inline-field .form-label {
        min-width: 96px;
        white-space: nowrap;
    }

    .assignment-import-status-col {
        min-width: 125px;
    }

    .assignment-import-validation-actions-col {
        min-width: 160px;
        width: 160px;
    }

    .assignment-import-validation-action-btn {
        width: 100%;
        white-space: nowrap;
    }

    .assignment-import-inline-field .form-control {
        flex: 1;
    }

    .assignment-import-title-input {
        flex: 0 1 90%;
        max-width: 90%;
    }

    .assignment-import-manual-hint {
        white-space: nowrap;
    }

    .assignment-import-preferred-formats {
        display: block;
        margin-bottom: 0.8rem;
    }

    .assignment-import-compact-label .form-label {
        text-align: end;
    }

    @media (max-width: 992px) {
        .assignment-import-inline-field .form-label {
            min-width: 82px;
        }
    }

    @media (max-width: 768px) {
        .assignment-import-shell .wizard-topbar,
        .assignment-import-shell .wizard-scroll-shell,
        .assignment-import-shell .wizard-footer {
            padding-left: 0.7rem;
            padding-right: 0.7rem;
        }
        .assignment-import-shell .wizard-topbar-main {
            flex-wrap: wrap;
        }
        .assignment-import-shell .wizard-stepper-context {
            flex-basis: 100%;
            justify-content: flex-start;
        }
        .assignment-import-source .assignment-import-source-section {
            grid-template-columns: 1fr;
            gap: 0.35rem;
        }
        .assignment-import-source .assignment-import-source-section .single-import-panel-title {
            padding-top: 0;
        }
        .assignment-import-mode-options,
        .assignment-import-file-inline-row {
            grid-template-columns: 1fr;
        }
        .assignment-import-inline-field {
            flex-direction: column;
            align-items: stretch;
            gap: 0.25rem;
        }
        .assignment-import-inline-field .form-label {
            min-width: 0;
        }
        .assignment-import-title-input {
            flex: 1 1 auto;
            max-width: 100%;
        }
        .assignment-import-mode-controls {
            flex-direction: column;
            align-items: stretch;
        }
        .assignment-import-file-picker-row {
            flex-wrap: wrap;
        }
        .assignment-import-destination-panel-wrapper {
            min-width: 0;
        }
        .assignment-import-destination-panel-wrapper .d-grid {
            flex-wrap: wrap;
        }
        .assignment-import-manual-hint {
            white-space: normal;
        }
    }

    .single-import-panel {
        border: 1px solid var(--wiz-border);
        border-radius: 0.62rem;
        padding: 0.78rem 0.85rem;
        background: var(--wiz-surface-sub);
        box-shadow: none;
    }

    .single-import-panel-title {
        font-size: 0.76rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--wiz-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .single-import-choice {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        cursor: pointer;
        margin: 0;
    }

    .assignment-import-destination-panel {
        max-width: 320px;
    }

    .single-import-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .single-import-table code {
        white-space: nowrap;
    }

    .single-import-policy-select {
        min-width: 10rem;
        max-width: 12rem;
    }

    .assignment-import-prepare-stack {
        display: grid;
        gap: 0.72rem;
    }

    .assignment-import-prepare-toolbar-card {
        display: grid;
        gap: 0.45rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .assignment-import-prepare-warning {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 0.05rem;
    }

    .assignment-import-prepare-warning + .assignment-import-step-card {
        margin-top: 0;
    }

    .assignment-import-prepare-warning-text {
        flex: 1 1 auto;
    }

    .assignment-import-prepare-warning-dismiss {
        flex: 0 0 auto;
        width: 0.85rem;
        height: 0.85rem;
        padding: 0.25rem;
        margin: 0;
        opacity: 0.75;
        background-size: 0.55rem;
    }

    .assignment-import-prepare-warning-dismiss:hover,
    .assignment-import-prepare-warning-dismiss:focus-visible {
        opacity: 1;
    }

    .assignment-import-prepare-filter-row,
    .assignment-import-prepare-action-row,
    .assignment-import-prepare-drawer-nav,
    .assignment-import-prepare-drawer-tabs,
    .assignment-import-prepare-drawer-actions,
    .assignment-import-final-review-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
    }

    .assignment-import-filter-chip,
    .assignment-import-drawer-tab {
        border: 1px solid var(--wiz-border);
        border-radius: 0.35rem;
        background: var(--wiz-surface-sub);
        color: var(--wiz-text-muted);
        min-height: 1.55rem;
        padding: 0 0.62rem;
        font-size: 0.75rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.28rem;
        transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
        white-space: nowrap;
    }

    .assignment-import-filter-chip:hover,
    .assignment-import-drawer-tab:hover {
        background: #e9ecef;
        border-color: #adb5bd;
        color: var(--wiz-text);
    }

    .assignment-import-filter-chip.active,
    .assignment-import-drawer-tab.active {
        background: var(--wiz-accent);
        border-color: var(--wiz-accent);
        color: #fff;
    }

    .assignment-import-drawer-tab {
        background: var(--wiz-surface);
        font-weight: 700;
    }

    .assignment-import-drawer-tab.active {
        background: #fff3eb;
        border-color: var(--wiz-accent-border);
        color: var(--wiz-text);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    }

    .assignment-import-filter-chip-warn {
        border-color: #f5c27a;
        background: #fff8ec;
        color: #7a4d00;
    }

    .assignment-import-filter-chip-warn.active {
        background: var(--wiz-accent);
        border-color: var(--wiz-accent);
        color: #fff;
    }

    .assignment-import-filter-count {
        min-width: 0;
        padding: 0;
        border-radius: 0;
        background: transparent;
        font-size: inherit;
        line-height: inherit;
        text-align: inherit;
    }

    .assignment-import-filter-count::before {
        content: "(";
    }

    .assignment-import-filter-count::after {
        content: ")";
    }

    .assignment-import-prepare-action-label {
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--wiz-text-muted);
        text-transform: none;
        letter-spacing: 0;
        margin-right: 0.1rem;
    }

    .assignment-import-prepare-actions-sep {
        width: 1px;
        height: 1.4rem;
        background: var(--wiz-border);
        margin: 0 0.1rem 0 0.2rem;
        flex-shrink: 0;
    }

    .assignment-import-prepare-progress {
        margin-inline-start: auto;
        min-width: 0;
    }

    .assignment-import-status-spinner {
        width: 0.82rem;
        height: 0.82rem;
        border-width: 0.14em;
        color: currentColor;
    }

    .assignment-import-prepare-table-shell {
        border: 1px solid var(--wiz-border);
        border-radius: 0.5rem;
        overflow: visible;
        background: var(--wiz-surface);
        box-shadow: none;
        padding: 0;
    }

    .assignment-import-prepare-table {
        margin-bottom: 0;
        background: var(--wiz-surface);
        border-radius: 0;
        overflow: hidden;
    }

    .assignment-import-prepare-table thead th {
        background: var(--wiz-surface-sub);
        border-bottom-width: 1px;
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        white-space: nowrap;
        color: var(--wiz-text-muted);
    }

    .assignment-import-prepare-table td,
    .assignment-import-prepare-table th {
        padding: 0.42rem 0.55rem;
    }

    .assignment-import-prepare-col-include {
        width: 3rem;
    }

    .assignment-import-prepare-col-id {
        width: 3.6rem;
    }

    .assignment-import-prepare-col-status {
        width: 4.5rem;
    }

    .assignment-import-prepare-col-toggle {
        width: 4rem;
    }

    .assignment-import-prepare-row {
        cursor: pointer;
        transition: background-color 120ms ease;
    }

    .assignment-import-prepare-row:hover {
        background: rgba(194, 98, 42, 0.04);
    }

    .assignment-import-prepare-row.is-open {
        background: rgba(194, 98, 42, 0.06);
    }

    .assignment-import-prepare-row.is-excluded {
        opacity: 0.72;
    }

    .assignment-import-prepare-row.is-excluded td {
        background: rgba(108, 117, 125, 0.05);
    }

    .assignment-import-row-open-btn {
        border: 0;
        padding: 0;
        background: transparent;
        color: var(--wiz-text);
        font-weight: 700;
        text-align: left;
        font-size: 0.78rem;
    }

    .assignment-import-row-open-btn:hover {
        color: var(--wiz-accent);
    }

    .assignment-import-row-toggle-btn {
        min-width: 2.6rem;
        padding: 0.18rem 0.5rem;
        line-height: 1.1;
    }

    .assignment-import-status-pill {
        width: 1.5rem;
        height: 1.5rem;
        min-width: 1.5rem;
        border: 1px solid var(--wiz-border);
        border-radius: 50%;
        padding: 0;
        background: var(--wiz-surface-sub);
        color: var(--wiz-text-muted);
        font-size: 0.7rem;
        font-weight: 700;
        line-height: 1.2;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .assignment-import-status-pill-compact {
        min-width: 1.5rem;
        padding: 0;
    }

    button.assignment-import-status-pill:hover {
        filter: brightness(1.05);
    }

    .assignment-import-status-pill.is-ready {
        background: #f0fbf4;
        border-color: #86c99a;
        color: #157347;
    }

    .assignment-import-status-pill.is-warn {
        background: #fff8ec;
        border-color: #f5c27a;
        color: #7a4d00;
    }

    .assignment-import-status-pill.is-error {
        background: #fff5f5;
        border-color: #f5a3a3;
        color: #7a1515;
    }

    .assignment-import-status-pill.is-info {
        background: #f0f6ff;
        border-color: #91b8ff;
        color: #1a3f7a;
    }

    .assignment-import-prepare-drawer-row > td {
        padding: 0 !important;
        border-top: 0;
    }

    .assignment-import-prepare-drawer {
        padding: 0.62rem 0.74rem 0.8rem;
        border-top: 1px solid var(--wiz-border);
        background: #eef2f7;
    }

    .assignment-import-prepare-drawer-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.55rem;
        flex-wrap: wrap;
        margin-bottom: 0.55rem;
        padding: 0.48rem 0.65rem;
        border: 1px solid var(--wiz-border);
        border-radius: 0.5rem;
        background: var(--wiz-surface);
        box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    }

    .assignment-import-prepare-drawer-head-main {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        min-width: 0;
        flex: 1 1 16rem;
    }

    .assignment-import-drawer-nav-btn {
        width: 1.7rem;
        height: 1.7rem;
        padding: 0;
        border: 1px solid var(--wiz-border);
        border-radius: 0.35rem;
        background: var(--wiz-surface);
        color: var(--wiz-text-muted);
        font-size: 0.92rem;
        font-weight: 700;
        line-height: 1;
    }

    .assignment-import-drawer-nav-btn:hover:not(:disabled) {
        background: var(--wiz-surface-sub);
        color: var(--wiz-text);
    }

    .assignment-import-drawer-nav-btn:disabled {
        opacity: 0.38;
        cursor: default;
    }

    .assignment-import-prepare-drawer-context {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        flex: 1 1 16rem;
        min-width: 0;
    }

    .assignment-import-prepare-drawer-head .assignment-import-identity-details,
    .assignment-import-identity-summary,
    .assignment-import-identity-inline-editor {
        flex: 1 1 16rem;
        min-width: 0;
    }

    .assignment-import-prepare-drawer-row-id {
        display: inline-flex;
        align-items: center;
        min-height: 1.5rem;
        padding: 0 0.5rem;
        border-radius: 0.35rem;
        border: 1px solid var(--wiz-accent-border);
        background: var(--wiz-accent-soft);
        color: var(--wiz-accent);
        font-size: 0.74rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .assignment-import-prepare-drawer-row-title {
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--wiz-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .assignment-import-prepare-drawer-include {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        margin: 0;
        color: var(--wiz-text-muted);
        font-size: 0.78rem;
        font-weight: 600;
    }

    .assignment-import-prepare-drawer-include input {
        width: 0.95rem;
        height: 0.95rem;
        accent-color: var(--wiz-accent);
    }

    .assignment-import-prepare-drawer-body {
        display: flex;
        flex-direction: column;
        gap: 0.62rem;
        padding: 0.72rem 0.78rem 0.82rem;
        border: 1px solid var(--wiz-border);
        border-radius: 0.5rem;
        background: var(--wiz-surface);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    }

    .assignment-import-prepare-identity-section {
        padding: 0.8rem 0.9rem;
        border: 1px solid rgba(160, 176, 204, 0.55);
        border-radius: 0.85rem;
        background: linear-gradient(180deg, #fafcff 0%, #f3f7ff 100%);
    }

    .assignment-import-prepare-identity-section.is-compact {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .assignment-import-prepare-identity-section.is-conflict {
        padding: 0.8rem 0.9rem;
    }

    .assignment-import-prepare-drawer-body .shared-task-identity-drawer-fields {
        grid-template-columns: minmax(6.4rem, 7.6rem) minmax(0, 1fr);
        gap: 0.55rem;
        align-items: start;
    }

    .assignment-import-prepare-identity-section.is-compact .shared-task-identity-drawer {
        gap: 0.38rem;
    }

    .assignment-import-prepare-identity-section.is-compact .shared-task-identity-drawer-fields {
        grid-template-columns: minmax(6.2rem, 7.2rem) minmax(0, 1fr);
        gap: 0.5rem;
        align-items: end;
    }

    .assignment-import-prepare-drawer-head .assignment-import-prepare-identity-section.is-compact .shared-task-identity-drawer-fields {
        grid-template-columns: minmax(6.8rem, 8.5rem) minmax(9rem, 18rem);
    }

    .assignment-import-prepare-drawer-head .assignment-import-prepare-identity-section.is-compact .shared-task-identity-drawer-field {
        display: flex;
        align-items: center;
        gap: 0.45rem;
    }

    .assignment-import-prepare-drawer-head .assignment-import-prepare-identity-section.is-compact .shared-task-identity-drawer-field-title {
        min-width: min(24rem, 100%);
    }

    .assignment-import-prepare-identity-section.is-compact .shared-task-identity-drawer-label {
        margin-bottom: 0.18rem;
        color: #718198;
    }

    .assignment-import-prepare-drawer-head .assignment-import-prepare-identity-section.is-compact .shared-task-identity-drawer-label {
        flex: 0 0 auto;
        margin-bottom: 0;
        white-space: nowrap;
    }

    .assignment-import-prepare-identity-section.is-compact .shared-task-identity-drawer-input,
    .assignment-import-prepare-identity-section.is-compact .shared-task-identity-drawer-input:focus {
        background: var(--wiz-surface);
        border-color: rgba(160, 176, 204, 0.55);
        box-shadow: none;
    }

    .assignment-import-prepare-drawer-head .assignment-import-prepare-identity-section.is-compact .shared-task-identity-drawer-input-id {
        direction: inherit;
        text-align: end;
    }

    .assignment-import-prepare-drawer-body .shared-task-identity-drawer-label,
    .assignment-import-prepare-drawer-body .wizard-field-label,
    .assignment-import-prepare-drawer-body .wizard-column-title,
    .assignment-import-prepare-drawer-body .wizard-tests-pane-title {
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #60708a;
    }

    .assignment-import-prepare-drawer-body .shared-task-identity-drawer-input,
    .assignment-import-prepare-drawer-body .shared-task-question-editor,
    .assignment-import-prepare-drawer-body .shared-task-tests-code-editor,
    .assignment-import-prepare-drawer-body .wizard-tests-input .form-control {
        border-color: #ccd6e5;
        border-radius: 0.62rem;
        background: #fffefb;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    }

    .assignment-import-prepare-drawer-body .shared-task-identity-drawer-input {
        min-height: 2rem;
        padding: 0.32rem 0.5rem;
        font-size: 0.82rem;
    }

    .assignment-import-prepare-drawer-body .shared-task-question-grid,
    .assignment-import-prepare-drawer-body .shared-task-solution-grid,
    .assignment-import-prepare-drawer-body .shared-task-tests-grid {
        gap: 0.68rem;
    }

    .assignment-import-prepare-drawer-body .shared-task-question-grid-pane .wizard-column,
    .assignment-import-prepare-drawer-body .shared-task-solution-grid-main .wizard-column,
    .assignment-import-prepare-drawer-body .shared-task-solution-grid-analysis .wizard-column,
    .assignment-import-prepare-drawer-body .shared-task-tests-grid-pane .wizard-tests-pane,
    .assignment-import-prepare-drawer-body .shared-task-solution-layout > .wizard-column {
        height: 100%;
        padding: 0.62rem 0.68rem;
        border: 1px solid rgba(160, 176, 204, 0.55);
        border-radius: 0.78rem;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    }

    .assignment-import-prepare-drawer-body .wizard-column-body,
    .assignment-import-prepare-drawer-body .wizard-analysis-panel,
    .assignment-import-prepare-drawer-body .wizard-tests-pane-body,
    .assignment-import-prepare-drawer-body .wizard-preview {
        border: 1px solid rgba(160, 176, 204, 0.45);
        border-radius: 0.8rem;
        background: #fffefb;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .assignment-import-prepare-drawer-body .wizard-column-body,
    .assignment-import-prepare-drawer-body .wizard-tests-pane-body,
    .assignment-import-prepare-drawer-body .wizard-analysis-panel {
        padding: 0.62rem;
    }

    .assignment-import-prepare-drawer-body .wizard-preview-content {
        min-height: 0;
    }

    .assignment-import-prepare-drawer-body .shared-task-question-toolbar,
    .assignment-import-prepare-drawer-body .shared-task-solution-toolbar,
    .assignment-import-prepare-drawer-body .wizard-tests-actions,
    .assignment-import-prepare-drawer-body .wizard-tests-pane-actions,
    .assignment-import-prepare-drawer-body .wizard-analysis-header-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        margin-top: 0.12rem;
    }

    .assignment-import-prepare-drawer-body .shared-task-tests-notices {
        margin-top: 0.65rem;
    }

    .assignment-import-prepare-drawer-body .assignment-import-validation-failure-banner {
        border-radius: 0.5rem;
    }

    .assignment-import-prepare-drawer-body .assignment-import-validation-failure-banner .btn {
        white-space: nowrap;
    }

    .assignment-import-prepare-drawer-body .shared-task-tests-grid {
        gap: 0.9rem;
    }

    .assignment-import-prepare-drawer-body .shared-task-tests-grid-pane .wizard-tests-pane {
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: 100%;
        padding: 0;
        border: 1px solid var(--wiz-border);
        border-radius: 0.5rem;
        background: var(--wiz-surface-sub);
        box-shadow: var(--wiz-shadow);
        overflow: hidden;
    }

    .assignment-import-prepare-drawer-body .wizard-tests-pane-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        min-height: 3rem;
        border-bottom: 1px solid var(--wiz-border-soft);
        padding: 0.38rem 0.72rem 0.36rem;
        background: rgba(255, 255, 255, 0.28);
    }

    .assignment-import-prepare-drawer-body .wizard-tests-pane-title {
        margin: 0;
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0;
        text-transform: none;
        color: var(--wiz-text);
    }

    .assignment-import-prepare-drawer-body .wizard-tests-pane-actions {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        flex-wrap: wrap;
        justify-content: flex-end;
        margin-top: 0;
    }

    .assignment-import-prepare-drawer-body .wizard-tests-pane-actions .btn.btn-sm {
        min-height: 1.72rem;
        padding: 0.18rem 0.68rem;
        font-size: 0.74rem;
    }

    .assignment-import-prepare-drawer-body .wizard-tests-pane-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 12rem;
        gap: 0.2rem;
        padding: 0.5rem 0.58rem 0.58rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .assignment-import-prepare-drawer-body .wizard-tests-list {
        border: 1px solid var(--wiz-border);
        border-radius: 0.375rem;
        padding: 0.18rem;
        min-height: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1px;
        overflow-y: auto;
        background: var(--wiz-surface);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
        direction: ltr;
        text-align: left;
    }

    .assignment-import-prepare-drawer-body .wizard-tests-empty {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 3rem;
        padding: 0.92rem 1rem;
        text-align: start;
        font-size: 0.875rem;
        color: #1f4e95;
        border: 1px solid #8ab0ff;
        background: #eef4ff;
    }

    .assignment-import-prepare-drawer-body .wizard-tests-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.28rem;
        padding: 0.24rem 0.36rem;
        border: 1px solid var(--wiz-border-soft);
        border-radius: 0.5rem;
        background: var(--wiz-surface-sub);
        box-shadow: 0 1px 2px rgba(23, 43, 77, .05);
        direction: ltr;
        text-align: left;
    }

    .assignment-import-prepare-drawer-body .wizard-tests-item-actions {
        display: flex;
        align-items: center;
        gap: 0.18rem;
        flex-wrap: wrap;
    }

    .assignment-import-prepare-drawer-body .wizard-tests-item-actions .btn.btn-sm {
        min-width: 30px;
        min-height: 30px;
        width: 30px;
        height: 30px;
        padding: 0;
        font-size: 0.74rem;
    }

    .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible {
        border: 1px solid var(--wiz-border);
        border-radius: 0.375rem;
        padding: 0.5rem 0.68rem 0.5rem;
        background: var(--wiz-surface-sub);
        overflow: visible;
    }

    .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible > summary {
        list-style: none;
        cursor: pointer;
        margin: -0.5rem -0.68rem 0;
        padding: 0.44rem 0.72rem 0.46rem;
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--wiz-text-muted);
    }

    .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible > summary::marker,
    .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible > summary::-webkit-details-marker {
        display: none;
    }

    .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible > summary::before {
        content: "\25B6";
        display: inline-block;
        margin-inline-end: 0.42rem;
        font-size: 0.56rem;
        color: var(--wiz-text-soft);
        transform-origin: center;
        transition: transform .15s ease;
    }

    .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible[open] > summary::before {
        transform: rotate(90deg);
    }

    .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible > .shared-task-taskcode-layout {
        padding: 0;
        margin-top: 0;
        gap: 0.25rem;
    }

    .assignment-import-prepare-drawer-body .shared-task-taskcode-column {
        gap: 0.5rem;
    }

    .assignment-import-prepare-drawer-body .shared-task-taskcode-column > .wizard-column-body {
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .assignment-import-prepare-drawer-body .wizard-tests-item,
    .assignment-import-prepare-drawer-body .shared-task-identity-conflict-summary {
        border-radius: 0.75rem;
    }

    .assignment-import-prepare-drawer-body .shared-task-question-editor,
    .assignment-import-prepare-drawer-body .shared-task-solution-editor-host,
    .assignment-import-prepare-drawer-body .shared-task-taskcode-editor-host,
    .assignment-import-prepare-drawer-body .shared-task-tests-code-editor {
        min-height: 12rem;
    }

    .assignment-import-prepare-drawer-body .wizard-preview,
    .assignment-import-prepare-drawer-body .wizard-column-body,
    .assignment-import-prepare-drawer-body .wizard-tests-pane-body,
    .assignment-import-prepare-drawer-body .wizard-analysis-panel {
        min-height: 12rem;
    }

    .assignment-import-prepare-drawer-body .shared-task-question-split .wizard-column,
    .assignment-import-prepare-drawer-body .shared-task-solution-split .wizard-column,
    .assignment-import-prepare-drawer-body .shared-task-solution-layout-resizable > .wizard-column {
        height: 100%;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .assignment-import-prepare-drawer-body .shared-task-question-split .wizard-column-body,
    .assignment-import-prepare-drawer-body .shared-task-question-split .wizard-preview,
    .assignment-import-prepare-drawer-body .shared-task-solution-split .wizard-column-body,
    .assignment-import-prepare-drawer-body .shared-task-solution-split .wizard-analysis-panel,
    .assignment-import-prepare-drawer-body .shared-task-solution-layout-resizable > .wizard-column > .wizard-column-body {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        min-height: 0;
    }

    .assignment-import-prepare-drawer-body .shared-task-solution-layout-resizable .shared-task-solution-editor-host {
        height: clamp(10.25rem, 30vh, 12.25rem);
        min-height: 10.25rem;
        border-color: rgba(160, 176, 204, 0.45);
        border-radius: 0.55rem;
    }

    .assignment-import-prepare-drawer-body .shared-task-taskcode-editor-host {
        height: 6.4rem;
        min-height: 5.8rem;
        border-color: var(--wiz-border);
        border-radius: 0.55rem;
    }

    .assignment-import-prepare-drawer-body .shared-task-question-split {
        --shared-task-question-height: clamp(18rem, 42vh, 24rem);
    }

    .assignment-import-prepare-drawer-body .shared-task-question-split .shared-task-question-editor,
    .assignment-import-prepare-drawer-body .shared-task-question-split .wizard-preview {
        border: 1px solid rgba(160, 176, 204, 0.45);
        border-radius: 0.55rem;
        background: var(--wiz-surface-2, #f3f5f8);
    }

    .assignment-import-prepare-drawer-body .shared-task-question-split .wizard-preview-content {
        padding: 0.75rem;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible {
        border-color: rgba(160, 176, 204, 0.45);
        background: transparent;
        box-shadow: none;
    }

    .assignment-import-prepare-drawer-body .shared-task-taskcode-collapsible > summary {
        border-radius: 0.72rem;
        background: var(--wiz-surface-sub);
    }

    .assignment-import-drawer-tab-indicator {
        min-width: 1.2rem;
        padding: 0 0.3rem;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.06);
        font-size: 0.7rem;
        font-weight: 700;
        line-height: 1.1rem;
        text-align: center;
    }

    .assignment-import-drawer-tab-indicator.is-ready {
        background: #f0fbf4;
        color: #157347;
    }

    .assignment-import-drawer-tab-indicator.is-warn {
        background: #fff8ec;
        color: #7a4d00;
    }

    .assignment-import-drawer-tab-indicator.is-error {
        background: #fff5f5;
        color: #7a1515;
    }

    .assignment-import-analysis-text {
        white-space: pre-wrap;
        line-height: 1.45;
    }

    .assignment-import-final-review {
        display: grid;
        gap: 0.78rem;
    }

    .assignment-import-final-review-summary-card {
        display: grid;
        gap: 0.72rem;
        padding: 0.72rem 0.82rem;
        border: 1px solid var(--wiz-border);
        border-radius: 0.62rem;
        background: linear-gradient(180deg, #fbfcff 0%, #f7f9fc 100%);
        box-shadow: var(--wiz-shadow);
    }

    .assignment-import-final-review-summary-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .assignment-import-final-review-summary-copy {
        display: grid;
        gap: 0.38rem;
        min-width: 0;
    }

    .assignment-import-final-review-chip-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.42rem;
        align-items: center;
    }

    .assignment-import-final-review-chip {
        display: inline-flex;
        align-items: center;
        min-height: 1.55rem;
        padding: 0 0.62rem;
        border: 1px solid var(--wiz-border);
        border-radius: 999px;
        background: var(--wiz-surface);
        color: var(--wiz-text-muted);
        font-size: 0.74rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .assignment-import-final-review-chip.is-blocked {
        background: #fff5f5;
        border-color: #f5a3a3;
        color: #7a1515;
    }

    .assignment-import-final-review-chip.is-warning {
        background: #fff8ec;
        border-color: #f5c27a;
        color: #7a4d00;
    }

    .assignment-import-final-review-chip.is-ready {
        background: #f0fbf4;
        border-color: #86c99a;
        color: #155730;
    }

    .assignment-import-final-review-summary-text {
        color: var(--wiz-text-muted);
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .assignment-import-final-review-kpis {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .assignment-import-final-review-kpi {
        border: 1px solid var(--wiz-border);
        border-radius: 0.52rem;
        padding: 0.62rem 0.75rem;
        background: var(--wiz-surface);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .assignment-import-final-review-kpi-label {
        font-size: 0.68rem;
        font-weight: 700;
        color: var(--wiz-text-muted);
        margin-bottom: 0;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .assignment-import-final-review-kpi-value {
        font-size: 1.35rem;
        font-weight: 700;
        line-height: 1;
        color: var(--wiz-text);
    }

    .assignment-import-final-review-kpi-value.is-warn {
        color: #d9a406;
    }

    .assignment-import-final-review-kpi-value.is-error {
        color: #dc3545;
    }

    .assignment-import-final-review-box {
        border: 1px solid #f5c27a;
        border-radius: 0.5rem;
        padding: 0.9rem 0.95rem;
        background: #fff8ec;
        display: flex;
        flex-direction: column;
        gap: 0.72rem;
    }

    .assignment-import-final-review-box.is-blocked {
        border-color: #f5a3a3;
        background: #fff5f5;
    }

    .assignment-import-final-review-box.is-warning {
        border-color: #f5c27a;
        background: #fff8ec;
    }

    .assignment-import-final-review-box.is-ready {
        border-color: #86c99a;
        background: #f0fbf4;
    }

    .assignment-import-final-review-box-title {
        font-size: 0.92rem;
        font-weight: 700;
    }

    .assignment-import-final-review-box-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .assignment-import-final-review-box-header-copy {
        display: grid;
        gap: 0.22rem;
    }

    .assignment-import-final-review-box-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.7rem;
        height: 1.7rem;
        padding: 0 0.5rem;
        border-radius: 999px;
        border: 1px solid var(--wiz-border);
        background: rgba(255, 255, 255, 0.75);
        color: var(--wiz-text);
        font-size: 0.76rem;
        font-weight: 700;
    }

    .assignment-import-final-review-box-count.is-blocked {
        border-color: #f5a3a3;
        color: #7a1515;
    }

    .assignment-import-final-review-box-count.is-warning {
        border-color: #f5c27a;
        color: #7a4d00;
    }

    .assignment-import-final-review-box-count.is-ready {
        border-color: #86c99a;
        color: #155730;
    }

    .assignment-import-final-review-list {
        margin: 0;
        padding-inline-start: 1.1rem;
        display: grid;
        gap: 0.42rem;
    }

    .assignment-import-final-review-list-item {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .assignment-import-final-review-list-item.is-blocker::marker {
        color: #7a1515;
    }

    .assignment-import-final-review-list-item.is-warning::marker {
        color: #7a4d00;
    }

    .assignment-import-final-review-ready-state {
        border-radius: 0.48rem;
        padding: 0.68rem 0.78rem;
        border-color: #86c99a;
        background: #f0fbf4;
        border: 1px solid #86c99a;
        color: #155730;
        font-size: 0.82rem;
        font-weight: 600;
    }

    .assignment-import-final-review-impact {
        color: var(--wiz-text-muted);
        font-size: 0.8rem;
        font-weight: 600;
    }

    .assignment-import-final-review-box.is-blocked .assignment-import-final-review-impact {
        color: #7a1515;
    }

    .assignment-import-final-review-box.is-warning .assignment-import-final-review-impact {
        color: #7a4d00;
    }

    .assignment-import-final-review-box.is-ready .assignment-import-final-review-impact {
        color: #155730;
    }

    .assignment-import-final-review-note {
        color: var(--wiz-text-muted);
        font-size: 0.8rem;
        line-height: 1.45;
        padding: 0;
    }

    .assignment-import-final-review-actions {
        justify-content: flex-end;
    }
    .assignment-import-final-review-actions > .btn {
        max-width: 100%;
        white-space: normal;
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-box.is-warning,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-box.is-warning {
        background: color-mix(in srgb, var(--wiz-surface-sub) 92%, #ffb84d 8%);
        border-color: rgba(255, 184, 77, 0.3);
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-box.is-warning .assignment-import-final-review-impact,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-box.is-warning .assignment-import-final-review-impact {
        color: #e9c890;
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-box.is-ready .assignment-import-final-review-impact,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-box.is-ready .assignment-import-final-review-impact {
        color: #bdebd0;
    }
    .assignment-import-shell.theme-dark .assignment-import-final-review-list-item.is-warning::marker,
    [data-bs-theme="dark"] .assignment-import-shell .assignment-import-final-review-list-item.is-warning::marker {
        color: #d9b46f;
    }

    .single-import-progress {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--bs-emphasis-color);
        background: rgba(13, 110, 253, 0.12);
        border: 1px solid rgba(13, 110, 253, 0.35);
        border-radius: 0.5rem;
        padding: 0.3rem 0.52rem;
    }

    .single-import-progress .spinner-border {
        width: 0.86rem;
        height: 0.86rem;
        border-width: 0.14em;
    }

    .assignment-import-raw-preview {
        display: block;
        width: 100%;
        box-sizing: border-box;
        min-height: 16rem;
        height: 16rem;
        max-height: 22rem;
        overflow-y: auto;
        margin-bottom: 0;
    }

    .assignment-import-leading-preview {
        max-height: 180px;
        overflow: auto;
        white-space: pre-wrap;
        border: 1px solid var(--bs-border-color);
        border-radius: 0.5rem;
        padding: 0.65rem;
        margin-bottom: 0;
        background: rgba(255, 255, 255, 0.01);
    }

    .assignment-import-identity-details {
        display: block;
    }

    .assignment-import-identity-summary {
        color: inherit;
        display: flex;
        align-items: center;
        gap: 0.45rem;
        min-width: 0;
        padding: 0.2rem 0;
        text-align: inherit;
    }

    .assignment-import-identity-edit-icon:hover,
    .assignment-import-identity-edit-icon:focus-visible {
        background: var(--wiz-accent-soft);
        opacity: 1;
    }

    .assignment-import-identity-details > summary {
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.45rem;
        flex-wrap: wrap;
        padding: 0.2rem 0;
        font-size: 0.78rem;
        list-style: none;
    }

    .assignment-import-identity-details > summary::-webkit-details-marker {
        display: none;
    }

    .assignment-import-identity-edit-icon {
        border: 0;
        background: transparent;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.35rem;
        height: 1.35rem;
        border-radius: 999px;
        color: var(--wiz-accent, #0d6efd);
        opacity: 0.88;
        transition: background-color 120ms ease, opacity 120ms ease;
    }

    .assignment-import-identity-details > summary:hover .assignment-import-identity-edit-icon,
    .assignment-import-identity-details > summary:focus-visible .assignment-import-identity-edit-icon {
        background: var(--wiz-accent-soft);
        opacity: 1;
    }

    .assignment-import-identity-edit-icon svg {
        width: 0.95rem;
        height: 0.95rem;
    }

    .assignment-import-question-review-warning {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .assignment-import-question-review-warning-main {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.65rem;
        flex: 1 1 auto;
        min-width: 0;
    }

    .assignment-import-question-review-dismiss {
        flex: 0 0 auto;
    }

    .assignment-import-identity-inline-editor {
        display: grid;
        grid-template-columns: minmax(6.8rem, 8.5rem) minmax(11.7rem, 23.4rem) auto;
        gap: 0.48rem;
        align-items: center;
    }

    .assignment-import-identity-inline-field {
        display: flex;
        align-items: center;
        gap: 0.42rem;
        min-width: 0;
    }

    .assignment-import-identity-inline-field label {
        flex: 0 0 auto;
        margin: 0;
        color: var(--wiz-text-muted);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .assignment-import-identity-inline-input {
        min-width: 0;
        background: var(--wiz-surface);
        border-color: rgba(160, 176, 204, 0.55);
        color: var(--wiz-text);
        box-shadow: none;
    }

    .assignment-import-identity-inline-input-id {
        direction: rtl;
        text-align: right;
        font-weight: 700;
    }

    .assignment-import-identity-inline-actions {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
    }

    .assignment-import-identity-inline-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.45rem;
        height: 1.45rem;
        padding: 0;
        border: 1px solid var(--wiz-border);
        border-radius: 999px;
        background: var(--wiz-surface-sub);
        color: var(--wiz-text-muted);
        line-height: 1;
        font-size: 0.85rem;
        font-weight: 800;
    }

    .assignment-import-identity-inline-action svg {
        width: 0.9rem;
        height: 0.9rem;
    }

    .assignment-import-identity-inline-action.is-accept {
        color: #16875a;
        border-color: rgba(22, 135, 90, 0.38);
        background: rgba(22, 135, 90, 0.1);
    }

    .assignment-import-identity-inline-action.is-reject {
        color: #c55858;
        border-color: rgba(197, 88, 88, 0.38);
        background: rgba(197, 88, 88, 0.1);
    }

    .assignment-import-identity-details-body {
        padding-top: 0.42rem;
    }

    .assignment-import-final-review-replace-warning {
        border-radius: 0.4rem;
        padding: 0.6rem 0.9rem;
        margin-bottom: 0.75rem;
        font-size: 0.82rem;
        font-weight: 600;
        background: rgba(255, 193, 7, 0.18);
        border: 1px solid rgba(255, 193, 7, 0.55);
        color: var(--bs-warning-text-emphasis, #664d03);
    }

    .assignment-import-question-snippet {
        max-width: 28rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .single-import-plan-row {
        cursor: pointer;
    }

    .single-import-plan-row.is-expanded {
        background: rgba(13, 110, 253, 0.08);
    }

    .single-import-plan-details > td {
        background: rgba(255, 255, 255, 0.02);
    }

    .assignment-import-question-full {
        max-height: 260px;
        overflow: auto;
        white-space: pre-wrap;
        direction: rtl !important;
        text-align: right !important;
        unicode-bidi: plaintext;
        border: 1px solid var(--bs-border-color);
        border-radius: 0.5rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.01);
    }

    .assignment-import-solution-full {
        max-height: 260px;
        overflow: auto;
        white-space: pre-wrap;
        direction: ltr !important;
        text-align: left !important;
        unicode-bidi: plaintext;
        border: 1px solid var(--bs-border-color);
        border-radius: 0.5rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.01);
    }

    .assignment-import-tests-drawer {
        padding-bottom: 0.75rem !important;
    }

    .assignment-import-tests-drawer-scroll {
        max-height: 320px;
        overflow-y: auto;
        padding-right: 0.25rem;
    }

    .assignment-import-question-editor {
        min-height: 180px;
        white-space: pre-wrap;
        direction: rtl !important;
        text-align: right !important;
        unicode-bidi: plaintext;
    }

    @media (max-width: 992px) {
        .assignment-import-final-review-kpis {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 768px) {
        .assignment-import-prepare-drawer-head {
            align-items: stretch;
        }

        .assignment-import-prepare-drawer-head-main,
        .assignment-import-prepare-drawer-tabs,
        .assignment-import-prepare-drawer-actions {
            width: 100%;
        }

        .assignment-import-prepare-drawer-actions {
            justify-content: space-between;
        }

        .assignment-import-final-review-summary-top {
            flex-direction: column;
            align-items: stretch;
        }

        .assignment-import-final-review-actions {
            justify-content: stretch;
        }

        .assignment-import-final-review-actions > * {
            flex: 1 1 100%;
        }
    }

    @media (max-width: 576px) {
        .assignment-import-final-review-kpis {
            grid-template-columns: 1fr;
        }

        .assignment-import-status-pill {
            min-width: 0;
            width: 100%;
        }
    }
