.resume-import-indicator {
    --resume-import-footer-offset: 0px;
    right: clamp(1rem, 2vw, 1.5rem);
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px) + var(--resume-import-footer-offset));
    z-index: 1040;
    display: flex;
    width: min(24rem, calc(100vw - 2rem));
    min-height: 7rem;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--bs-gray-300);
    border-radius: var(--bs-border-radius-xl, 1rem);
    background: var(--bs-card-bg, var(--bs-body-bg));
    box-shadow: var(--bs-box-shadow-lg, 0 .75rem 2rem rgba(15, 23, 42, .18));
    color: var(--bs-body-color);
    transition: bottom .18s ease, width .18s ease, box-shadow .18s ease, opacity .15s ease, transform .15s ease;
}
.resume-import-indicator__main {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    flex: 1 1 auto;
    min-width: 0;
    min-height: 7rem;
    align-items: start;
    gap: .875rem;
    padding: 1rem .75rem 1rem 1rem;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}
.resume-import-indicator__main:hover { background: rgba(var(--bs-primary-rgb), .045); }
.resume-import-indicator__main:focus-visible,
.resume-import-indicator__dismiss:focus-visible { outline: 3px solid rgba(var(--bs-primary-rgb), .34); outline-offset: -3px; }
.resume-import-indicator__icon { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: .8rem; background: rgba(var(--bs-primary-rgb), .12); color: var(--bs-primary); }
.resume-import-indicator__copy { display: flex; min-width: 0; flex-direction: column; line-height: 1.3; }
.resume-import-indicator__heading { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: .75rem; }
.resume-import-indicator__title { overflow: hidden; color: var(--bs-gray-900); font-size: 1rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.resume-import-indicator__percent { flex: 0 0 auto; color: var(--bs-primary); font-size: .9rem; font-weight: 700; }
.resume-import-indicator__secondary { overflow: hidden; margin-top: .2rem; color: var(--bs-gray-700); font-size: .825rem; text-overflow: ellipsis; white-space: nowrap; }
.resume-import-indicator__progress { height: .45rem; margin-top: .7rem; background: var(--bs-gray-200); }
.resume-import-indicator__progress .progress-bar { width: 0; }
.resume-import-indicator__summary { overflow: hidden; margin-top: .55rem; color: var(--bs-gray-600); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.resume-import-indicator__dismiss { display: inline-flex; width: 3rem; min-height: 7rem; flex: 0 0 3rem; align-items: center; justify-content: center; border: 0; border-left: 1px solid var(--bs-gray-300); background: transparent; color: var(--bs-gray-700); }
.resume-import-indicator__dismiss:hover { background: rgba(var(--bs-gray-500-rgb, 153, 153, 153), .08); color: var(--bs-gray-900); }
.resume-import-indicator.is-minimized { width: 6rem; min-height: 4rem; }
.resume-import-indicator.is-minimized .resume-import-indicator__copy { display: none; }
.resume-import-indicator.is-minimized .resume-import-indicator__main { min-height: 4rem; grid-template-columns: 2.25rem; justify-content: center; padding: .6rem .35rem; }
.resume-import-indicator.is-minimized .resume-import-indicator__icon { width: 2.25rem; height: 2.25rem; }
.resume-import-indicator.is-minimized .resume-import-indicator__dismiss { width: 2.75rem; min-height: 4rem; flex-basis: 2.75rem; }

.resume-import-shell-panel { display: flex !important; width: min(31rem, 100vw) !important; height: 100dvh; max-height: 100dvh; flex-direction: column; overflow: hidden; background: var(--bs-card-bg, var(--bs-body-bg)); }
.resume-import-shell-panel__header { position: relative; z-index: 2; flex: 0 0 auto; padding: 1.25rem; background: var(--bs-card-bg, var(--bs-body-bg)); }
.resume-import-shell-panel__close { width: 2.75rem; height: 2.75rem; }
.resume-import-shell-panel__summary { flex: 0 0 auto; padding: 1rem 1.25rem; background: var(--bs-card-bg, var(--bs-body-bg)); }
.resume-import-shell-panel__summary .progress { height: .65rem; background: var(--bs-gray-200); }
.resume-import-shell-panel__body { min-height: 0; flex: 1 1 auto; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 1rem 1.25rem; }
.resume-import-shell-panel__footer { display: flex; z-index: 2; flex: 0 0 auto; flex-wrap: wrap; gap: .75rem; padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px)); background: var(--bs-card-bg, var(--bs-body-bg)); box-shadow: 0 -.35rem 1rem rgba(15, 23, 42, .06); }
.resume-import-shell-panel__footer .btn { min-height: 2.75rem; }
.resume-import-shell-batches__title { margin: 0 0 .6rem; color: var(--bs-gray-900); font-size: .875rem; font-weight: 700; }
.resume-import-shell-batches__list { display: flex; flex-direction: column; gap: .45rem; }
.resume-import-shell-batches__item { display: flex; min-height: 2.75rem; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem .75rem; border: 1px solid var(--bs-gray-300); border-radius: .65rem; background: var(--bs-gray-100); color: var(--bs-gray-800); font-size: .8rem; }
.resume-import-shell-batches__item:hover { border-color: var(--bs-primary); color: var(--bs-primary); }
.resume-import-shell-item { min-width: 0; padding: 1rem; border: 1px solid var(--bs-gray-300); border-radius: var(--bs-border-radius-lg, .75rem); background: var(--bs-card-bg, var(--bs-body-bg)); }
.resume-import-shell-item__name { overflow: hidden; color: var(--bs-gray-900); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.resume-import-shell-item__meta { display: flex; justify-content: space-between; gap: .75rem; margin-top: .35rem; color: var(--bs-gray-600); font-size: .775rem; }
.resume-import-shell-item__stage { display: flex; align-items: center; gap: .45rem; margin-top: .7rem; color: var(--bs-gray-800); font-size: .85rem; font-weight: 600; }
.resume-import-shell-item__progress { height: .45rem; margin-top: .65rem; background: var(--bs-gray-200); }
.resume-import-shell-item__explanation { margin-top: .45rem; overflow-wrap: anywhere; color: var(--bs-gray-700); font-size: .825rem; line-height: 1.45; }
.resume-import-shell-item__action { margin-top: .85rem; }
.resume-import-shell-item__action .btn { min-height: 2.75rem; }

.swal2-popup.hyralis-resume-import-result {
    width: min(27.5rem, calc(100vw - 2rem)) !important;
    min-height: 10rem;
    padding: 1rem !important;
    border: 1px solid var(--bs-gray-300) !important;
    border-radius: var(--bs-border-radius-xl, 1rem) !important;
    background: var(--bs-card-bg, var(--bs-body-bg)) !important;
    box-shadow: var(--bs-box-shadow-lg, 0 .75rem 2rem rgba(15, 23, 42, .2)) !important;
    color: var(--bs-body-color) !important;
}
.swal2-popup.hyralis-resume-import-result .swal2-title { margin: 0; padding: .25rem 2.75rem 0 0; color: var(--bs-gray-900); font-size: 1.05rem; line-height: 1.35; text-align: left; }
.swal2-popup.hyralis-resume-import-result .swal2-html-container { margin: .45rem 0 0; color: var(--bs-gray-700); font-size: .875rem; line-height: 1.5; text-align: left; }
.swal2-popup.hyralis-resume-import-result .swal2-icon { width: 2.75rem; height: 2.75rem; margin: .15rem .9rem 0 0; flex: 0 0 2.75rem; }
.swal2-popup.hyralis-resume-import-result .swal2-actions { width: 100%; margin: .9rem 0 0; justify-content: flex-start; }
.swal2-popup.hyralis-resume-import-result .swal2-actions .btn { min-height: 2.75rem; }
.swal2-popup.hyralis-resume-import-result .swal2-close { width: 2.75rem; height: 2.75rem; color: var(--bs-gray-700); }
.swal2-popup.hyralis-resume-import-result .swal2-close:hover { color: var(--bs-gray-900); }
[data-bs-theme="dark"] .swal2-popup.hyralis-resume-import-result { border-color: var(--bs-gray-400) !important; background: var(--bs-card-bg, var(--bs-body-bg)) !important; }

@media (max-width: 575.98px) {
    .resume-import-indicator { right: .75rem; left: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px) + var(--resume-import-footer-offset)); width: auto; max-width: none; }
    .resume-import-indicator__title, .resume-import-indicator__secondary, .resume-import-indicator__summary { white-space: normal; }
    .resume-import-indicator.is-minimized { right: .75rem; left: auto; width: 6rem; }
    .resume-import-shell-panel__header, .resume-import-shell-panel__summary, .resume-import-shell-panel__body, .resume-import-shell-panel__footer { padding-right: 1rem; padding-left: 1rem; }
    .resume-import-shell-panel__footer { flex-direction: column; }
    .resume-import-shell-panel__footer .btn { width: 100%; }
    .swal2-container.swal2-top-end { padding: 1rem !important; }
}
@media (max-height: 640px) {
    .resume-import-shell-panel__header { padding-top: .85rem; padding-bottom: .85rem; }
    .resume-import-shell-panel__summary { padding-top: .75rem; padding-bottom: .75rem; }
    .resume-import-shell-panel__body { padding-top: .75rem; padding-bottom: .75rem; }
    .resume-import-shell-panel__footer { padding-top: .75rem; padding-bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
    .resume-import-indicator,
    .resume-import-indicator .spinner-border,
    .resume-import-indicator .progress-bar-animated,
    .resume-import-shell-panel .progress-bar-animated { animation: none !important; transition: none !important; }
}
