/* ==========================================================================
   Utilix — Image Resize Tool Page
   ========================================================================== */

:root {
    --imgr-accent: #16a34a;
    --imgr-accent-dark: #15803d;
    --imgr-accent-light: #f0fdf4;
}

.imgr-hero { padding-bottom: 40px; }

.imgr-hero__grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
}

.imgr-hero__main {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.imgr-hero__frame {
    position: relative;
    width: 220px;
    height: 140px;
    margin: 0 auto;
    background: linear-gradient(135deg, #dcfce7 0%, #f8fafc 100%);
    border: 2px solid #bbf7d0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(22, 163, 74, 0.2);
}

.imgr-hero__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #16a34a;
}

.imgr-hero__img svg,
.imgr-hero__img [data-lucide] { width: 48px; height: 48px; }

.imgr-hero__handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--imgr-accent);
    border: 2px solid #fff;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.4);
}

.imgr-hero__handle--tl { top: -6px; left: -6px; }
.imgr-hero__handle--tr { top: -6px; right: -6px; }
.imgr-hero__handle--bl { bottom: -6px; left: -6px; }
.imgr-hero__handle--br { bottom: -6px; right: -6px; }

.imgr-hero__dim {
    position: absolute;
    padding: 2px 8px;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--imgr-accent);
    background: #fff;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
    white-space: nowrap;
}

.imgr-hero__dim--w { bottom: -28px; left: 50%; transform: translateX(-50%); }
.imgr-hero__dim--h { right: -52px; top: 50%; transform: translateY(-50%) rotate(90deg); }

.imgr-main { padding: 0 0 48px; }

.imgr-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.imgr-workspace {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.imgr-step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.imgr-step-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.imgr-step-card__head h2 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--heading);
}

.imgr-step-card__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
    font-weight: 800;
    color: #fff;
    background: var(--imgr-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.imgr-dropzone {
    position: relative;
    border: 2px dashed #bbf7d0;
    border-radius: 16px;
    background: #fafbff;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}

.imgr-dropzone.is-dragover {
    border-color: var(--imgr-accent);
    background: var(--imgr-accent-light);
}

.imgr-dropzone__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
}

.imgr-dropzone__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    color: var(--imgr-accent);
    background: var(--imgr-accent-light);
    border-radius: 50%;
}

.imgr-dropzone__icon svg,
.imgr-dropzone__icon [data-lucide] { width: 28px; height: 28px; }

.imgr-dropzone__title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--heading);
}

.imgr-dropzone__or {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    color: #94a3b8;
}

.imgr-dropzone__hint {
    margin: 12px 0 0;
    font-size: 0.75rem;
    color: #94a3b8;
}

.imgr-upload-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
}

.imgr-upload-preview img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.imgr-upload-preview__meta { flex: 1; min-width: 0; }

.imgr-upload-preview__meta strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.imgr-upload-preview__meta span { font-size: 0.8125rem; color: #94a3b8; }

.imgr-settings {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 24px;
    align-items: start;
}

.imgr-mode-tabs { display: flex; gap: 8px; flex-wrap: wrap; }

.imgr-mode-tab {
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
}

.imgr-mode-tab.is-active {
    color: #fff;
    background: var(--imgr-accent);
    border-color: var(--imgr-accent);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.imgr-dim-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin: 16px 0;
}

.imgr-dim-field { flex: 1; }

.imgr-dim-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.imgr-input,
.imgr-select {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.9375rem;
    color: var(--heading);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.imgr-input:focus,
.imgr-select:focus {
    outline: none;
    border-color: var(--imgr-accent);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.imgr-lock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 2px;
    color: #94a3b8;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.imgr-lock.is-locked {
    color: var(--imgr-accent);
    background: var(--imgr-accent-light);
    border-color: #bbf7d0;
}

.imgr-lock svg,
.imgr-lock [data-lucide] { width: 18px; height: 18px; }

.imgr-field { margin-bottom: 16px; }

.imgr-field__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.imgr-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.imgr-field__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.imgr-field__value {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--imgr-accent);
}

.imgr-range { width: 100%; accent-color: var(--imgr-accent); }

.imgr-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--heading);
}

.imgr-check input { display: none; }

.imgr-check__box {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}

.imgr-check input:checked + .imgr-check__box {
    background: var(--imgr-accent);
    border-color: var(--imgr-accent);
}

.imgr-check input:checked + .imgr-check__box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.imgr-preview-card__label {
    margin: 0 0 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.imgr-preview-card {
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    text-align: center;
}

.imgr-preview-card__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    margin-bottom: 12px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    color: #94a3b8;
}

.imgr-preview-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.imgr-preview-card__img svg,
.imgr-preview-card__img [data-lucide] { width: 32px; height: 32px; }

.imgr-preview-card__orig {
    margin: 0 0 4px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.imgr-preview-card__new {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #16a34a;
}

.imgr-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.imgr-field--quality,
.imgr-check--inline { grid-column: 1 / -1; }

.imgr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.imgr-btn svg,
.imgr-btn [data-lucide] { width: 18px; height: 18px; }

.imgr-btn--primary {
    color: #fff;
    background: var(--imgr-accent);
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4);
}

.imgr-btn--primary:hover { background: var(--imgr-accent-dark); }

.imgr-btn--ghost {
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid var(--border);
}

.imgr-btn--ghost:hover { background: #e2e8f0; }

.imgr-btn--sm { padding: 8px 12px; font-size: 0.8125rem; }

.imgr-btn--resize {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--imgr-accent) 0%, var(--imgr-accent-dark) 100%);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.imgr-btn--resize:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.imgr-btn--resize.is-loading { opacity: 0.7; pointer-events: none; }

.imgr-result-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.imgr-result-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.imgr-result-card__head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--heading);
}

.imgr-result-card__head h2 svg,
.imgr-result-card__head h2 [data-lucide] {
    width: 20px;
    height: 20px;
    color: #16a34a;
}

.imgr-result-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.imgr-result-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.imgr-result-preview {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.imgr-result-preview img {
    max-width: 100%;
    max-height: 280px;
    border-radius: 8px;
    object-fit: contain;
}

.imgr-result-info h3 {
    margin: 0 0 16px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--heading);
}

.imgr-info-table__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.imgr-info-table__row:last-child { border-bottom: none; }

.imgr-info-table__row dt { color: #64748b; font-weight: 500; }

.imgr-info-table__row dd {
    margin: 0;
    font-weight: 600;
    color: var(--heading);
    text-align: right;
}

.imgr-savings-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 100px;
}

.imgr-savings-badge--down { color: #15803d; background: #dcfce7; }
.imgr-savings-badge--up { color: #b45309; background: #fef3c7; }

.imgr-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.imgr-side-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.imgr-side-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--heading);
}

.imgr-side-card__title svg,
.imgr-side-card__title [data-lucide] {
    width: 18px;
    height: 18px;
    color: var(--imgr-accent);
}

.imgr-why-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.imgr-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.5;
}

.imgr-why-list li svg,
.imgr-why-list li [data-lucide] {
    width: 16px;
    height: 16px;
    color: var(--imgr-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.imgr-preset-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.imgr-preset-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.imgr-preset-btn:hover {
    border-color: #bbf7d0;
    background: var(--imgr-accent-light);
}

.imgr-preset-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--imgr-accent);
    background: #fff;
    border-radius: 10px;
    flex-shrink: 0;
}

.imgr-preset-btn__icon svg,
.imgr-preset-btn__icon [data-lucide] { width: 18px; height: 18px; }

.imgr-preset-btn__text strong {
    display: block;
    font-size: 0.8125rem;
    color: var(--heading);
}

.imgr-preset-btn__text small { font-size: 0.6875rem; color: #94a3b8; }

.imgr-link-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--imgr-accent);
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
}

.imgr-link-btn:hover { text-decoration: underline; }

.imgr-how-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.imgr-how-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: #475569;
}

.imgr-how-list li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--imgr-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.imgr-format-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.imgr-format-tags span {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 100px;
}

.imgr-features { padding: 48px 0; background: #f8fafc; }

.imgr-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.imgr-feature-card {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.imgr-feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
}

.imgr-feature-card__icon svg,
.imgr-feature-card__icon [data-lucide] { width: 24px; height: 24px; }

.imgr-feature-card__icon--purple { background: #f0fdf4; color: #16a34a; }
.imgr-feature-card__icon--green  { background: #dcfce7; color: #16a34a; }
.imgr-feature-card__icon--blue   { background: #dbeafe; color: #2563eb; }
.imgr-feature-card__icon--orange { background: #ffedd5; color: #ea580c; }

.imgr-feature-card h3 {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--heading);
}

.imgr-feature-card p {
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.6;
}

.imgr-steps-section { padding: 72px 0; }

.imgr-section-head { margin-bottom: 40px; }
.imgr-section-head--center { text-align: center; }

.imgr-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--imgr-accent);
    background: var(--imgr-accent-light);
    border-radius: 100px;
}

.imgr-section-head h2 {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--heading);
}

.imgr-section-head p {
    margin: 0;
    font-size: 1rem;
    color: #64748b;
}

.imgr-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.imgr-step {
    position: relative;
    padding: 24px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.imgr-step__num {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: var(--imgr-accent);
    border-radius: 50%;
}

.imgr-step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 8px auto 12px;
    color: var(--imgr-accent);
    background: var(--imgr-accent-light);
    border-radius: 14px;
}

.imgr-step__icon svg,
.imgr-step__icon [data-lucide] { width: 24px; height: 24px; }

.imgr-step strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9375rem;
    color: var(--heading);
}

.imgr-step p {
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
}

.imgr-faq { padding: 56px 0; border-top: 1px solid var(--border);}
.imgr-faq__grid { margin-top: 32px; }

.imgr-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: #1e293b;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.25);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 9999;
    pointer-events: none;
}

.imgr-toast--show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.imgr-animate-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.imgr-animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.imgr-animate-in--delay  { transition-delay: 0.1s; }
.imgr-animate-in--delay2 { transition-delay: 0.2s; }
.imgr-animate-in--delay3 { transition-delay: 0.3s; }

@media (max-width: 1024px) {
    .imgr-hero__grid { grid-template-columns: 1fr; }
    .imgr-hero__visual { display: none; }
    .imgr-layout { grid-template-columns: 1fr; }
    .imgr-features__grid { grid-template-columns: repeat(2, 1fr); }
    .imgr-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .imgr-settings { grid-template-columns: 1fr; }
    .imgr-settings__preview { order: -1; }
    .imgr-options-grid { grid-template-columns: 1fr; }
    .imgr-result-body { grid-template-columns: 1fr; }
    .imgr-features__grid { grid-template-columns: 1fr; }
    .imgr-steps { grid-template-columns: 1fr; }
}

[data-theme="dark"] .imgr-step-card,
[data-theme="dark"] .imgr-result-card,
[data-theme="dark"] .imgr-side-card,
[data-theme="dark"] .imgr-feature-card,
[data-theme="dark"] .imgr-step {
    background: var(--bg-section);
    border-color: var(--border);
}

[data-theme="dark"] .imgr-dropzone {
    background: #1a2332;
    border-color: #334155;
}

[data-theme="dark"] .imgr-dropzone.is-dragover {
    background: rgba(22, 163, 74, 0.1);
    border-color: var(--imgr-accent);
}

[data-theme="dark"] .imgr-input,
[data-theme="dark"] .imgr-select {
    background: var(--bg);
    color: var(--heading);
    border-color: var(--border);
}

[data-theme="dark"] .imgr-mode-tab {
    background: #1a2332;
    color: #94a3b8;
}

[data-theme="dark"] .imgr-mode-tab.is-active {
    color: #fff;
    background: var(--imgr-accent);
}

[data-theme="dark"] .imgr-lock {
    background: #1a2332;
    border-color: var(--border);
    color: #64748b;
}

[data-theme="dark"] .imgr-lock.is-locked {
    background: rgba(22, 163, 74, 0.15);
    border-color: rgba(22, 163, 74, 0.35);
    color: #4ade80;
}

[data-theme="dark"] .imgr-preview-card,
[data-theme="dark"] .imgr-result-preview {
    background: #1a2332;
    border-color: var(--border);
}

[data-theme="dark"] .imgr-preview-card__img { background: #0f172a; }

[data-theme="dark"] .imgr-preset-btn {
    background: #1a2332;
    border-color: var(--border);
}

[data-theme="dark"] .imgr-preset-btn:hover {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.35);
}

[data-theme="dark"] .imgr-preset-btn__icon { background: var(--bg-section); }

[data-theme="dark"] .imgr-format-tags span {
    background: #1a2332;
    border-color: var(--border);
    color: #94a3b8;
}

[data-theme="dark"] .imgr-features { background: var(--bg); }

[data-theme="dark"] .imgr-hero__frame {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    border-color: #4338ca;
}

[data-theme="dark"] .imgr-hero__dim {
    background: var(--bg-section);
    border-color: #4338ca;
    color: #4ade80;
}

[data-theme="dark"] .imgr-btn--ghost {
    background: #1a2332;
    border-color: var(--border);
    color: #94a3b8;
}

[data-theme="dark"] .imgr-info-table__row { border-color: var(--border); }

[data-theme="dark"] .imgr-savings-badge--down {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

[data-theme="dark"] .imgr-savings-badge--up {
    background: rgba(234, 179, 8, 0.15);
    color: #fbbf24;
}

[data-theme="dark"] .imgr-toast { background: #334155; }
