.resizer-shell {
    display: grid;
    gap: 1rem;
}

.resizer-hero {
    border-radius: 20px;
    padding: 1.4rem;
    color: #eff6ff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(130deg, #0f172a 0%, #0f766e 48%, #22c55e 100%);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.26);
}

.resizer-kicker {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.24rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 0.45rem;
}

.resizer-title {
    margin: 0 0 0.45rem;
    font-size: 2rem;
    line-height: 1.08;
    font-weight: 700;
}

.resizer-subtitle {
    color: rgba(239, 246, 255, 0.92);
    max-width: 760px;
}

.resizer-card {
    border: 1px solid #dbe7e2;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.resizer-limit-pill {
    border: 1px solid #cde4d9;
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    font-size: 0.92rem;
    color: #14532d;
    background: #effcf5;
}

.resizer-upload-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.resizer-upload-tabs .btn.active {
    color: #fff;
    border-color: #0f766e;
    background: #0f766e;
}

.resizer-upload-panel,
.resizer-setting-card {
    border: 1px solid #dbe7e2;
    border-radius: 14px;
    padding: 1rem;
    background: linear-gradient(180deg, #fbfefc 0%, #f4fbf7 100%);
}

.resizer-source-summary {
    min-height: 48px;
    border: 1px dashed #bdd6ca;
    border-radius: 12px;
    padding: 0.85rem;
    color: #334155;
    background: rgba(255, 255, 255, 0.85);
}

.resizer-stats-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resizer-stat {
    border: 1px solid #dbe7e2;
    border-radius: 14px;
    padding: 0.95rem;
    background: #fff;
}

.resizer-stat span {
    display: block;
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.resizer-stat strong {
    font-size: 1.1rem;
    color: #0f172a;
}

.resizer-mode-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resizer-choice {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid #cfe0d8;
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
    background: #fff;
    cursor: pointer;
}

.resizer-choice input {
    margin: 0;
}

.resizer-choice span {
    font-weight: 600;
    color: #0f172a;
}

.resizer-note {
    border-left: 4px solid #14b8a6;
    border-radius: 10px;
    padding: 0.8rem 0.95rem;
    color: #155e75;
    background: #ecfeff;
}

.resizer-inline-note {
    align-self: center;
    color: #64748b;
    font-size: 0.92rem;
}

.resizer-tree {
    margin: 0;
    border-radius: 12px;
    padding: 1rem;
    color: #d1fae5;
    background: #0f172a;
    font-size: 0.9rem;
    line-height: 1.55;
}

.resizer-steps {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
    color: #334155;
}

.resizer-progress-modal {
    border: 1px solid #dbe7e2;
    border-radius: 14px;
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.22);
}

.resizer-progress-bar {
    height: 12px;
    background: #e7f4ee;
}

@media (max-width: 991.98px) {
    .resizer-title {
        font-size: 1.65rem;
    }

    .resizer-stats-grid,
    .resizer-mode-grid {
        grid-template-columns: 1fr;
    }
}
