/**
 * Bumaga EXIF Tools — Workflow Visual Redesign
 * Marker: __EXIF_TOOLS_WORKFLOW_VISUAL_CSS_P6D2_4__
 * Marker: __EXIF_TOOLS_SMALL_VISUAL_POLISH_CSS_P6D2_6__
 * Marker: __EXIF_TOOLS_INNER_BLOCKS_LIGHTENING_CSS_P6D2_7__
 * Marker: __EXIF_TOOLS_ACTION_ACCENT_POLISH_CSS_P6D2_8__
 * Marker: __EXIF_TOOLS_ADVANCED_CONTROLS_LIGHTENING_CSS_P6D2_9__
 *
 * Scope:
 * - visual/static UI only;
 * - EXIF-specific workflow;
 * - no upload backend;
 * - no API calls;
 * - no billing/package logic.
 */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    background: #1a1a1a;
    color: #fff;
}

:root {
    --exif-blue: #4a9eff;
    --exif-blue-hover: #2d7cd6;
    --exif-green: #4CAF50;
    --exif-gold: #FFD700;
    --exif-bg: #1a1a1a;
    --exif-panel: #1a1a1a;
    --exif-panel-soft: #1f1f1f;
    --exif-deep: #111;
    --exif-border: #333;
    --exif-border-soft: #282828;
    --exif-muted: #888;
    --exif-dim: #555;
    --exif-card-h: 540px;
}

/* Hero */
.exif-page {
    max-width: clamp(1280px, 86vw, 1420px);
    margin: 0 auto;
    padding: 30px 20px 24px;
}

.exif-header {
    text-align: center;
}

.exif-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.exif-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--exif-blue) 0%, var(--exif-blue-hover) 100%);
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.3);
}

.exif-title-icon svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.exif-subtitle {
    color: var(--exif-muted);
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Layout */
.exif-main {
    max-width: clamp(1280px, 86vw, 1420px);
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: 22% 53% 25%;
    gap: 20px;
}

.exif-settings,
.exif-action {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.exif-panel {
    background: var(--exif-panel);
    border: 1px solid var(--exif-border);
    border-radius: 16px;
    padding: 16px;
}

.exif-settings-card {
    min-height: var(--exif-card-h);
    display: flex;
    flex-direction: column;
}

/* Mode tabs */
.exif-mode-tabs {
    display: flex;
    gap: 6px;
    padding: 8px;
    background: var(--exif-deep);
    border-radius: 12px;
    margin-bottom: 16px;
}

.exif-mode-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 9px 5px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
}

.exif-mode-tab:hover {
    background: rgba(255,255,255,.05);
}

.exif-mode-tab .exif-mode-tab-icon {
    font-size: 17px;
}

.exif-mode-tab .exif-mode-tab-name {
    font-size: 10px;
    font-weight: 800;
    color: var(--exif-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.exif-mode-tab.active.cleanup {
    background: rgba(76,175,80,.15);
    box-shadow: inset 0 0 0 1px var(--exif-green);
}

.exif-mode-tab.active.cleanup .exif-mode-tab-name {
    color: var(--exif-green);
}

.exif-mode-tab.active.advanced {
    background: rgba(74,158,255,.15);
    box-shadow: inset 0 0 0 1px var(--exif-blue);
}

.exif-mode-tab.active.advanced .exif-mode-tab-name {
    color: var(--exif-blue);
}

/* Settings body */
.exif-settings-title {
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 6px;
}

.exif-settings-desc {
    color: var(--exif-muted);
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 16px;
}

.exif-settings-section {
    display: none;
}

.exif-settings-section.active {
    display: block;
}

.exif-clean-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exif-clean-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 11px;
    border-radius: 10px;
    background: var(--exif-deep);
}

.exif-clean-check {
    color: var(--exif-green);
    font-weight: 900;
    line-height: 1;
    margin-top: 2px;
}

.exif-clean-text {
    min-width: 0;
}

.exif-clean-name {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 2px;
}

.exif-clean-meta {
    display: block;
    color: var(--exif-muted);
    font-size: 12px;
    line-height: 1.35;
}

/* Advanced controls */
.exif-control-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exif-control {
    background: var(--exif-deep);
    border-radius: 12px;
    padding: 12px;
}

.exif-control-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 9px;
}

.exif-control-hint {
    color: var(--exif-muted);
    font-size: 11px;
    margin-top: 8px;
    line-height: 1.35;
}

.exif-select,
.exif-input {
    width: 100%;
    min-height: 38px;
    background: #151515;
    color: #ddd;
    border: 1px solid var(--exif-border);
    border-radius: 9px;
    padding: 0 11px;
    outline: none;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
}

.exif-select:disabled,
.exif-input:disabled {
    opacity: .75;
    cursor: not-allowed;
}

.exif-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.exif-toggle-line {
    display: flex;
    gap: 7px;
}

.exif-mini-toggle {
    flex: 1;
    min-height: 34px;
    border: 1px solid var(--exif-border);
    background: #151515;
    color: var(--exif-muted);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    font-family: 'Roboto', sans-serif;
}

.exif-mini-toggle.active {
    color: #fff;
    border-color: rgba(74,158,255,.38);
    background: rgba(74,158,255,.12);
}

/* Workspace */
.exif-workspace {
    min-width: 0;
}

.exif-work-card {
    min-height: var(--exif-card-h);
    display: flex;
    flex-direction: column;
}

.exif-work-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.exif-work-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
}

.exif-work-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(74,158,255,.12);
    border: 1px solid rgba(74,158,255,.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--exif-blue);
}

.exif-work-subtitle {
    color: var(--exif-muted);
    font-size: 13px;
    line-height: 1.45;
    margin-top: 5px;
}

.exif-mode-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(76,175,80,.14);
    border: 1px solid rgba(76,175,80,.25);
    color: var(--exif-green);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.exif-mode-pill.advanced {
    background: rgba(74,158,255,.14);
    border-color: rgba(74,158,255,.25);
    color: #7ab8ff;
}

/* Upload zone */
.exif-upload-zone {
    flex: 1;
    min-height: 255px;
    background:
        radial-gradient(circle at 50% 0%, rgba(74,158,255,.06), transparent 55%),
        var(--exif-deep);
    border: 1px dashed rgba(74,158,255,.30);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    text-align: center;
    transition: all .2s ease;
}

.exif-upload-zone:hover {
    background:
        radial-gradient(circle at 50% 0%, rgba(74,158,255,.09), transparent 55%),
        #101010;
    border-color: rgba(74,158,255,.48);
}

.exif-upload-box {
    max-width: 470px;
}

.exif-upload-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 18px;
    background: rgba(74,158,255,.12);
    border: 1px solid rgba(74,158,255,.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--exif-blue);
}

.exif-upload-icon svg {
    width: 36px;
    height: 36px;
}

.exif-upload-title {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 8px;
}

.exif-upload-desc {
    color: var(--exif-muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 12px;
}

.exif-upload-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.exif-upload-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(74,158,255,.10);
    color: #7ab8ff;
    border: 1px solid rgba(74,158,255,.18);
    font-size: 12px;
    font-weight: 800;
}

/* Progress */
.exif-progress {
    margin-top: 10px;
    background: var(--exif-deep);
    border-radius: 13px;
    padding: 11px 12px;
}

/* Metadata Report placeholder */
.exif-report-card {
    margin-top: 10px;
    background: var(--exif-deep);
    border-radius: 13px;
    padding: 11px 12px;
}

.exif-report-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.exif-report-title {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.exif-report-subtitle {
    color: var(--exif-muted);
    font-size: 12px;
    line-height: 1.35;
    margin-top: 3px;
}

.exif-report-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(74,158,255,.10);
    border: 1px solid rgba(74,158,255,.20);
    color: #7ab8ff;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.exif-report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.exif-report-col {
    background: #151515;
    border-radius: 11px;
    padding: 10px;
}

.exif-report-col-title {
    color: var(--exif-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 9px;
}

.exif-report-row {
    display: flex;
    justify-content: space-between;
    gap: 9px;
    min-height: 20px;
    color: #ddd;
    font-size: 12px;
    line-height: 1.3;
    padding: 2px 0;
}

.exif-report-row span:first-child {
    color: var(--exif-muted);
}

.exif-report-row span:last-child {
    text-align: right;
    font-weight: 800;
    color: #fff;
}

.exif-report-row .removed {
    color: var(--exif-green);
}

.exif-report-row .pending {
    color: #7ab8ff;
}

@media (max-width: 900px) {
    .exif-upload-zone {
        min-height: 280px;
    }

    .exif-report-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .exif-upload-zone {
        min-height: 240px;
        padding: 22px 16px;
    }
}

.exif-progress-line {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.exif-progress-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.exif-progress-dot {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #151515;
    border: 1px solid var(--exif-border);
    color: var(--exif-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
}

.exif-progress-step.active .exif-progress-dot {
    background: rgba(74,158,255,.14);
    border-color: rgba(74,158,255,.35);
    color: #7ab8ff;
}

.exif-progress-text {
    min-width: 0;
}

.exif-progress-name {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 1px;
}

.exif-progress-meta {
    display: block;
    color: var(--exif-muted);
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Right action */
.exif-action-card {
    margin-bottom: 12px;
}

.exif-action-summary {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--exif-border);
    margin-bottom: 16px;
}

.exif-action-mode {
    display: flex;
    align-items: center;
    gap: 9px;
}

.exif-action-icon {
    font-size: 20px;
    width: 26px;
    text-align: center;
}

.exif-action-title {
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

.exif-action-desc {
    color: var(--exif-muted);
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.45;
}

.exif-price-block {
    text-align: center;
    padding: 8px 0 18px;
}

.exif-price-main {
    color: #fff;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.05;
    font-family: 'Roboto Mono', monospace;
}

.exif-price-unit {
    color: var(--exif-muted);
    font-size: 12px;
    margin-top: 6px;
}

.exif-price-note {
    color: var(--exif-dim);
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.35;
}

.exif-cta-btn {
    width: 100%;
    min-height: 46px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--exif-blue), var(--exif-blue-hover));
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all .2s ease;
}

.exif-cta-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(74,158,255,.35);
}

.exif-cta-btn:disabled {
    opacity: .74;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    filter: saturate(.9);
}

.exif-cta-hint {
    color: var(--exif-muted);
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    margin-top: 11px;
}

.exif-history-card {
    padding: 14px;
}

/* __EXIF_HISTORY_SCROLL_CONTAINER_P7E6P6__ — компактный скролл-блок истории (~3 карточки) + fade-край */
.exif-history-scroll {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 158, 255, 0.4) transparent;
}

.exif-history-scroll::-webkit-scrollbar {
    width: 6px;
}

.exif-history-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.exif-history-scroll::-webkit-scrollbar-thumb {
    background: rgba(74, 158, 255, 0.35);
    border-radius: 999px;
}

.exif-history-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 158, 255, 0.55);
}

.exif-history-scroll.is-scrollable {
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 36px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 36px), transparent 100%);
}

.exif-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.exif-history-title {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.exif-history-count {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--exif-deep);
    border: 1px solid var(--exif-border);
    color: var(--exif-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
}

.exif-history-empty {
    min-height: 98px;
    border-radius: 12px;
    background: var(--exif-deep);
    border: 1px dashed var(--exif-border);
    color: var(--exif-muted);
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 14px;
    gap: 5px;
}

.exif-history-empty span:last-child {
    color: var(--exif-dim);
    font-size: 12px;
}

/* Mobile */
@media (max-width: 1200px) {
    .exif-main {
        grid-template-columns: 300px 1fr;
    }

    .exif-action {
        grid-column: 1 / -1;
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .exif-action-card,
    .exif-history-card {
        margin-bottom: 0;
    }
}

@media (max-width: 900px) {
    .exif-main {
        grid-template-columns: 1fr;
        padding: 0 12px 40px;
    }

    .exif-settings,
    .exif-action {
        position: static;
    }

    .exif-settings-card,
    .exif-work-card {
        min-height: auto;
    }

    .exif-action {
        display: block;
    }

    .exif-action-card {
        margin-bottom: 12px;
    }

    .exif-upload-zone {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .exif-page {
        padding: 30px 15px 30px;
    }

    .exif-title {
        font-size: 34px;
        flex-direction: column;
        gap: 14px;
    }

    .exif-subtitle {
        font-size: 15px;
    }

    .exif-work-head {
        flex-direction: column;
    }

    .exif-progress-line {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .exif-title {
        font-size: 30px;
    }

    .exif-row-2 {
        grid-template-columns: 1fr;
    }

    .exif-upload-zone {
        min-height: 280px;
        padding: 24px 18px;
    }

    .exif-upload-title {
        font-size: 20px;
    }

    .exif-price-main {
        font-size: 32px;
    }
}

/* __EXIF_TOOLS_INNER_BLOCKS_LIGHTENING_CSS_P6D2_7_OVERRIDES__ */


/* P6D2-7: reduce inner block visual noise */
.exif-clean-item {
    background: transparent;
    border-radius: 0;
    padding: 8px 0;
}

.exif-clean-item + .exif-clean-item {
    margin-top: 2px;
}

.exif-clean-check {
    font-size: 15px;
    margin-top: 1px;
}

.exif-upload-zone {
    background: transparent;
    border-color: rgba(74,158,255,.24);
}

.exif-upload-zone:hover {
    background: rgba(74,158,255,.025);
    border-color: rgba(74,158,255,.42);
}

.exif-upload-icon {
    background: rgba(74,158,255,.08);
    border-color: rgba(74,158,255,.22);
}

.exif-upload-chip {
    background: transparent;
    border-color: rgba(74,158,255,.24);
}

.exif-progress {
    background: transparent;
    padding: 10px 2px 0;
    margin-top: 10px;
}

.exif-progress-line {
    background: rgba(0,0,0,.18);
    border-radius: 12px;
    padding: 10px 12px;
}

.exif-report-card {
    background: transparent;
    padding: 12px 2px 0;
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,.045);
    border-radius: 0;
}

.exif-report-head {
    margin-bottom: 9px;
}

.exif-report-col {
    background: transparent;
    padding: 6px 0;
    border-radius: 0;
}

.exif-report-grid {
    gap: 22px;
}

.exif-report-row {
    min-height: 19px;
    padding: 2px 0;
}

.exif-history-empty {
    background: transparent;
    border-color: rgba(255,255,255,.08);
}

.exif-control {
    background: rgba(0,0,0,.22);
}

.exif-action-card .exif-action-summary {
    border-bottom-color: rgba(255,255,255,.08);
}

@media (max-width: 900px) {
    .exif-report-grid {
        gap: 8px;
    }
}

/* __EXIF_TOOLS_ACTION_ACCENT_POLISH_CSS_P6D2_8_OVERRIDES__ */


/* P6D2-8: action accents in Bumaga style */
.exif-mode-tab.active.cleanup {
    background: rgba(76,175,80,.18);
    box-shadow:
        inset 0 0 0 1px rgba(76,175,80,.95),
        0 0 18px rgba(76,175,80,.08);
}

.exif-mode-tab.active.advanced {
    background: rgba(74,158,255,.18);
    box-shadow:
        inset 0 0 0 1px rgba(74,158,255,.95),
        0 0 18px rgba(74,158,255,.10);
}

.exif-mode-tab.active .exif-mode-tab-icon {
    filter: saturate(1.2);
}

.exif-upload-zone {
    border-color: rgba(74,158,255,.34);
    box-shadow: inset 0 0 0 1px rgba(74,158,255,.025);
}

.exif-upload-zone:hover {
    background: rgba(74,158,255,.035);
    border-color: rgba(74,158,255,.55);
    box-shadow:
        inset 0 0 0 1px rgba(74,158,255,.055),
        0 0 24px rgba(74,158,255,.045);
}

.exif-upload-icon {
    background: rgba(74,158,255,.13);
    border-color: rgba(74,158,255,.34);
    box-shadow: 0 8px 22px rgba(74,158,255,.10);
}

.exif-upload-title {
    color: #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

.exif-upload-chip {
    background: rgba(74,158,255,.09);
    border-color: rgba(74,158,255,.34);
    color: #8cc3ff;
}

.exif-upload-chip:hover {
    background: rgba(74,158,255,.13);
    border-color: rgba(74,158,255,.48);
}

.exif-progress-step.active .exif-progress-dot {
    background: rgba(74,158,255,.20);
    border-color: rgba(74,158,255,.55);
    color: #9cccff;
    box-shadow: 0 0 14px rgba(74,158,255,.10);
}

.exif-progress-step.active .exif-progress-name {
    color: #fff;
}

.exif-progress-step.active .exif-progress-meta {
    color: #8cc3ff;
}

.exif-cta-btn:disabled {
    opacity: .86;
    color: rgba(255,255,255,.92);
    background: linear-gradient(135deg, rgba(74,158,255,.86), rgba(45,124,214,.86));
    filter: saturate(1);
}

.exif-cta-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.exif-action-card {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}

.exif-price-main {
    text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

.exif-mode-pill.cleanup {
    color: #5ee06a;
    border-color: rgba(76,175,80,.32);
    background: rgba(76,175,80,.14);
}

.exif-mode-pill.advanced {
    color: #8cc3ff;
    border-color: rgba(74,158,255,.34);
    background: rgba(74,158,255,.14);
}

.exif-report-badge {
    color: #8cc3ff;
    border-color: rgba(74,158,255,.32);
    background: rgba(74,158,255,.08);
}

/* __EXIF_TOOLS_ADVANCED_CONTROLS_LIGHTENING_CSS_P6D2_9_OVERRIDES__ */


/* P6D2-9: lighten Advanced controls + empty states */
.exif-control {
    background: transparent;
    border-radius: 0;
    padding: 9px 0;
}

.exif-control + .exif-control {
    border-top: 1px solid rgba(255,255,255,.045);
    margin-top: 2px;
    padding-top: 13px;
}

.exif-control-label {
    margin-bottom: 8px;
}

.exif-control-hint {
    color: rgba(136,136,136,.82);
    margin-top: 7px;
}

.exif-select,
.exif-input {
    background: rgba(0,0,0,.20);
    border-color: rgba(255,255,255,.12);
}

.exif-select:hover,
.exif-input:hover {
    border-color: rgba(74,158,255,.28);
}

.exif-mini-toggle {
    background: rgba(0,0,0,.18);
    border-color: rgba(255,255,255,.12);
}

.exif-mini-toggle.active {
    background: rgba(74,158,255,.14);
    border-color: rgba(74,158,255,.42);
    color: #fff;
}

.exif-clean-checklist {
    gap: 6px;
}

.exif-clean-item {
    gap: 11px;
    padding: 7px 0;
}

.exif-clean-name {
    font-size: 13px;
}

.exif-clean-meta {
    color: rgba(136,136,136,.88);
}

.exif-history-empty {
    min-height: 76px;
    background: transparent;
    border: none;
    padding: 8px 8px 10px;
}

.exif-history-card {
    padding-bottom: 12px;
}

.exif-history-head {
    margin-bottom: 8px;
}

.exif-report-row span:last-child {
    color: rgba(255,255,255,.92);
}

.exif-report-row .removed,
.exif-report-row .pending {
    color: rgba(255,255,255,.92);
}

/* __EXIF_TOOLS_P6E1E_UPLOAD_HANDLER_CONSOLIDATED__ */
.exif-file-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.exif-upload-zone {
    position: relative;
    cursor: pointer;
}

.exif-upload-zone.is-dragover,
.exif-upload-zone.has-file {
    border-color: rgba(74, 158, 255, 0.62);
    box-shadow: 0 0 0 1px rgba(74, 158, 255, 0.24), 0 18px 55px rgba(74, 158, 255, 0.12);
}

.exif-upload-zone.is-dragover {
    transform: translateY(-1px);
}

.exif-upload-box.is-hidden,
.exif-upload-zone.has-file #exifUploadBox {
    display: none !important;
}

.exif-upload-select,
.exif-preview-change {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    cursor: pointer;
}

.exif-upload-select {
    margin-top: 16px;
    border: 1px solid rgba(74, 158, 255, 0.45);
    background: rgba(74, 158, 255, 0.14);
    color: #dbeafe;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
}

.exif-upload-select:hover {
    background: rgba(74, 158, 255, 0.22);
}

.exif-preview-card {
    width: 100%;
    display: grid;
    grid-template-columns: 132px 1fr auto;
    gap: 18px;
    align-items: center;
    text-align: left;
}

.exif-preview-card[hidden] {
    display: none !important;
}

.exif-upload-zone.has-file .exif-preview-card,
.exif-preview-card:not([hidden]) {
    display: grid !important;
}

.exif-preview-media {
    width: 132px;
    height: 96px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
}

.exif-preview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.exif-preview-name {
    color: #f4f7fb;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.35;
    word-break: break-word;
}

.exif-preview-sub {
    margin-top: 7px;
    color: rgba(255,255,255,0.58);
    font-size: 13px;
}

.exif-preview-change {
    border: 1px solid rgba(74, 158, 255, 0.42);
    background: rgba(74, 158, 255, 0.12);
    color: #dbeafe;
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 800;
}

.exif-preview-change:hover {
    background: rgba(74, 158, 255, 0.2);
}

.exif-progress-step.completed .exif-progress-dot {
    font-size: 0;
    background: linear-gradient(135deg, #4a9eff, #67e8f9);
    color: #06111f;
    box-shadow: 0 0 0 5px rgba(74, 158, 255, 0.13);
}

.exif-progress-step.completed .exif-progress-dot::after {
    content: "✓";
    font-size: 12px;
}

.exif-cta-btn.is-ready:not(:disabled) {
    cursor: pointer;
    opacity: 1;
    filter: none;
}

.exif-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 9999;
    transform: translate(-50%, 16px);
    opacity: 0;
    max-width: min(520px, calc(100vw - 32px));
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(74, 158, 255, 0.28);
    background: rgba(16, 22, 33, 0.94);
    color: #eef5ff;
    font-weight: 700;
    box-shadow: 0 18px 60px rgba(0,0,0,0.38);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.exif-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 720px) {
    .exif-preview-card {
        grid-template-columns: 92px 1fr;
    }

    .exif-preview-media {
        width: 92px;
        height: 78px;
    }

    .exif-preview-change {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* __EXIF_TOOLS_P6E2_MOCK_PROCESSING_STATE__ */
.exif-progress-step.is-processing .exif-progress-dot {
    position: relative;
    font-size: 0;
    background: rgba(74, 158, 255, 0.16);
    border: 1px solid rgba(74, 158, 255, 0.5);
}

.exif-progress-step.is-processing .exif-progress-dot::after {
    content: "";
    width: 13px;
    height: 13px;
    border-radius: 999px;
    border: 2px solid rgba(219, 234, 254, 0.34);
    border-top-color: #dbeafe;
    animation: exif-spin 0.82s linear infinite;
}

.exif-report-card.is-processing {
    border-color: rgba(74, 158, 255, 0.32);
    box-shadow: 0 18px 55px rgba(74, 158, 255, 0.08);
}

.exif-report-card.is-result {
18px 55px rgba(74, 158, 255, 0.08);
}

.exif-report-card.is-result {
    border-color: rgba(103, 232, 249, 0.28);
}

.exif-report-row .ok {
    color: rgba(219, 234, 254, 0.95) !important;
}

.exif-cta-btn.is-processing:disabled {
    opacity: 1;
    filter: none;
    cursor: progress;
}

.exif-cta-btn.is-processing {
    background-size: 180% 180%;
    animation: exif-cta-pulse 1.15s ease-in-out infinite;
}

.exif-cta-btn.is-result:not(:disabled) {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.95), rgba(103, 232, 249, 0.82));
}

.exif-history-item {
    margin-top: 12px;
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    background: rgba(255,255,255,0.045);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;            /* __O6D__ allow detail to drop to full-width row */
    gap: 12px;
}

.exif-history-file {
    color: #f4f7fb;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

.exif-history-meta {
    margin-top: 4px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    line-height: 1.35;
}

.exif-history-status {
    flex: 0 0 auto;
    border: 1px solid rgba(103, 232, 249, 0.26);
    background: rgba(103, 232, 249, 0.1);
    color: #cffafe;
    border-radius: 999px;
    padding: 6px 9px;
    font-weight: 850;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@keyframes exif-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes exif-cta-pulse {
    0%, 100% {
        box-shadow: 0 14px 36px rgba(74, 158, 255, 0.2);
    }
    50% {
        box-shadow: 0 18px 50px rgba(74, 158, 255, 0.34);
    }
}

@media (max-width: 720px) {
    .exif-history-item {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* __EXIF_TOOLS_P6E5B_DOWNLOAD_UX__ */
.exif-cta-secondary {
    width: 100%;
    margin-top: 10px;
    border: 1px solid rgba(74, 158, 255, 0.42);
    background: rgba(74, 158, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.exif-cta-secondary:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(74, 158, 255, 0.75);
    background: rgba(74, 158, 255, 0.14);
}

.exif-cta-secondary[hidden] {
    display: none;
}

.exif-history-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.exif-history-download {
    border: 1px solid rgba(74, 158, 255, 0.46);
    background: rgba(74, 158, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.exif-history-download:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(74, 158, 255, 0.76);
    background: rgba(74, 158, 255, 0.2);
}

.exif-history-download:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 560px) {
    .exif-history-actions {
        width: 100%;
        justify-content: space-between;
    }

    .exif-history-download {
        padding: 9px 12px;
    }
}


/* __EXIF_TOOLS_P6E6B2_UPLOAD_CHIPS_NEUTRAL_POLISH__ */
/* Tiny visual-only change: make upload helper chips neutral, not blue-accented. */

.exif-upload-chip {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.58);
    box-shadow: none;
}

.exif-upload-chip:hover {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.76);
    box-shadow: none;
}


/* __EXIF_TOOLS_P6E6B3_FIX2_HIDE_CLEANUP_PRICE_UNIT__ */
/* Hard guard: cleanup action card has no pricing/unit/hint. Advanced may show it later. */

.exif-action-card.is-cleanup .exif-price-block,
.exif-action-card.is-cleanup .exif-price-main,
.exif-action-card.is-cleanup .exif-price-unit,
.exif-action-card.is-cleanup .exif-price-note,
.exif-action-card.is-cleanup .exif-cta-hint,
.exif-action-card:not(.is-advanced) .exif-price-block,
.exif-action-card:not(.is-advanced) .exif-price-main,
.exif-action-card:not(.is-advanced) .exif-price-unit,
.exif-action-card:not(.is-advanced) .exif-price-note,
.exif-action-card:not(.is-advanced) .exif-cta-hint {
    display: none !important;
    visibility: hidden !important;
}

.exif-action-card.is-cleanup .exif-cta-btn {
    margin-top: 20px;
}

.exif-action-card.is-cleanup {
    min-height: 0;
}


/* __EXIF_TOOLS_P6E6B4_RESULT_REPORT_POLISH_I18N__ */
/* Result/report card: less mock table, more compact privacy report. */

.exif-report-card {
    margin-top: 16px;
    padding: 18px 18px 16px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(13, 13, 13, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.075);
    box-shadow: none;
}

.exif-report-head {
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.exif-report-title {
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.exif-report-subtitle {
    margin-top: 5px;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.50);
    font-size: 13px;
    line-height: 1.45;
}

.exif-report-badge {
    min-height: 26px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.07em;
    font-weight: 850;
    color: rgba(143, 196, 255, 0.95);
    background: rgba(74, 158, 255, 0.075);
    border: 1px solid rgba(74, 158, 255, 0.25);
}

.exif-report-card.is-processing .exif-report-badge {
    color: rgba(143, 196, 255, 0.98);
    background: rgba(74, 158, 255, 0.10);
    border-color: rgba(74, 158, 255, 0.34);
}

.exif-report-card.is-result .exif-report-badge {
    color: #76ee97;
    background: rgba(89, 224, 125, 0.09);
    border-color: rgba(89, 224, 125, 0.25);
}

.exif-report-grid {
    margin-top: 14px;
    gap: 12px;
}

.exif-report-col {
    padding: 12px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.055);
}

.exif-report-col-title {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.44);
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.exif-report-row {
    min-height: 30px;
    padding: 6px 0;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.exif-report-row:first-of-type {
    border-top: 0;
}

.exif-report-row span:first-child {
    color: rgba(255, 255, 255, 0.52);
    font-size: 13px;
}

.exif-report-row span:last-child {
    font-size: 13px;
    font-weight: 750;
}

.exif-report-row .pending {
    color: rgba(255, 255, 255, 0.46);
}

.exif-report-row .removed {
    color: rgba(118, 238, 151, 0.92);
}

.exif-report-row .ok {
    color: rgba(143, 196, 255, 0.86);
}

@media (max-width: 720px) {
    .exif-report-card {
        padding: 16px;
    }

    .exif-report-head {
        flex-direction: column;
        gap: 10px;
    }

    .exif-report-badge {
        align-self: flex-start;
    }

    .exif-report-grid {
        grid-template-columns: 1fr;
    }
}


/* __EXIF_TOOLS_P6E6B6_LEFT_PANEL_COMPACT_FUTURE_ADVANCED__ */
/* Left settings panel: compact cleanup capabilities + quiet future advanced preview. */

.exif-settings-card {
    padding: 18px;
}

.exif-mode-tabs {
    padding: 8px;
    border-radius: 16px;
}

.exif-mode-tab {
    min-height: 58px;
    padding: 10px 12px;
    border-radius: 11px;
}

.exif-mode-tab-icon {
    font-size: 16px;
    line-height: 1;
}

.exif-mode-tab-name {
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: 0.075em;
}

.exif-settings-title {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.2;
}

.exif-settings-desc {
    margin-top: 8px;
    max-width: 270px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
}

.exif-clean-checklist {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.exif-clean-item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
}

.exif-clean-check {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #65e783;
    font-size: 13px;
    font-weight: 900;
}

.exif-clean-name {
    font-size: 14px;
    line-height: 1.25;
}

.exif-clean-meta {
    display: none;
}

.exif-advanced-preview {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.exif-advanced-preview-kicker {
    color: rgba(143, 196, 255, 0.86);
    font-size: 11px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.exif-advanced-preview-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.exif-advanced-preview-grid span {
    position: relative;
    padding-left: 15px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 12px;
    line-height: 1.25;
}

.exif-advanced-preview-grid span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(74, 158, 255, 0.58);
}

.exif-settings-section[data-settings-mode="advanced"] .exif-control-stack {
    opacity: 0.74;
}

.exif-mode-tab.advanced:not(.active)::after {
    content: 'Premium';
    position: absolute;
    right: 10px;
    top: 9px;
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(74, 158, 255, 0.10);
    border: 1px solid rgba(74, 158, 255, 0.20);
    color: rgba(143, 196, 255, 0.88);
    font-size: 9px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: 0.06em;
}

@media (max-width: 1200px) {
    .exif-settings-card {
        padding: 16px;
    }

    .exif-clean-checklist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exif-advanced-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .exif-clean-checklist,
    .exif-advanced-preview-grid {
        grid-template-columns: 1fr;
    }

    .exif-mode-tab.advanced:not(.active)::after {
        display: none;
    }
}


/* __EXIF_TOOLS_P6E6B6A_REMOVE_ADVANCED_PREMIUM_BADGE__ */
/* Remove the extra Premium pseudo badge from Advanced tab. Advanced preview block is enough. */

.exif-mode-tab.advanced::after,
.exif-mode-tab.advanced:not(.active)::after {
    display: none !important;
    content: none !important;
}


/* __EXIF_TOOLS_P6E6B7_HISTORY_CARD_POLISH__ */
/* Compact history card: less placeholder, ready for real cleanup entries. */

.exif-history-card {
    padding: 18px;
    min-height: 132px;
}

.exif-history-head {
    padding-bottom: 12px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.exif-history-title {
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.exif-history-count {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 850;
}

.exif-history-empty {
    min-height: 72px;
    padding: 18px 8px 6px;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.46);
}

.exif-history-empty::before {
    content: '';
    width: 8px;
    height: 8px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: rgba(74, 158, 255, 0.38);
    box-shadow: 0 0 0 5px rgba(74, 158, 255, 0.055);
}

.exif-history-empty span:first-child {
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
    font-weight: 750;
}

.exif-history-empty span:last-child {
    margin-top: 5px;
    max-width: 240px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.exif-history-item {
    margin-top: 12px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.075);
}

.exif-history-file {
    font-size: 13px;
    line-height: 1.3;
}

.exif-history-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.42);
}

.exif-history-status {
    color: #76ee97;
    background: rgba(89, 224, 125, 0.085);
    border-color: rgba(89, 224, 125, 0.20);
}

.exif-history-download {
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 9px;
}

@media (max-width: 1200px) {
    .exif-history-card {
        min-height: 120px;
    }
}

@media (max-width: 560px) {
    .exif-history-card {
        padding: 16px;
    }

    .exif-history-empty {
        min-height: 64px;
    }
}

/* __EXIF_TOOLS_PACKAGE_PURCHASE_SHELL_P7E3B__ */
/* __EXIF_TOOLS_PACKAGE_PANEL_RENDER_INTEGRATED_P7E3B7__ */
.exif-package-panel[hidden] {
    display: none !important;
}

.exif-package-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 12px;
    padding: 12px;
    border: 1px solid rgba(74, 158, 255, 0.22);
    border-radius: 14px;
    background:
        radial-gradient(circle at top right, rgba(74, 158, 255, 0.12), transparent 52%),
        rgba(74, 158, 255, 0.06);
}

.exif-package-panel-copy {
    min-width: 0;
}

.exif-package-panel-kicker {
    display: block;
    color: rgba(255, 255, 255, 0.52);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.exif-package-panel-balance {
    display: inline-flex;
    margin-top: 6px;
    min-width: 28px;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(74, 158, 255, 0.15);
    color: #4a9eff;
    font-size: 13px;
    font-weight: 900;
}

.exif-package-panel-buy {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(74, 158, 255, 0.36);
    border-radius: 11px;
    background: rgba(74, 158, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .03em;
}

.exif-package-panel-buy:hover {
    border-color: rgba(74, 158, 255, 0.68);
    background: rgba(74, 158, 255, 0.18);
    color: #fff;
}

.exif-pkg-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.exif-pkg-modal.is-open {
    display: block;
}

.exif-pkg-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(10px);
}

.exif-pkg-dialog {
    position: relative;
    width: min(940px, calc(100vw - 28px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    margin: 20px auto;
    padding: 24px;
    border: 1px solid rgba(74, 158, 255, 0.28);
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(74, 158, 255, 0.18), transparent 32%),
        #111;
    color: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.exif-pkg-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}

.exif-pkg-dialog-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-right: 42px;
}

.exif-pkg-dialog h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.04em;
}

.exif-pkg-dialog p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.5;
}

.exif-pkg-kicker {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.exif-pkg-balance {
    align-self: flex-start;
    min-width: 112px;
    padding: 12px 14px;
    border: 1px solid rgba(74, 158, 255, 0.28);
    border-radius: 18px;
    background: rgba(74, 158, 255, 0.10);
    text-align: center;
}

.exif-pkg-balance span {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 700;
}

.exif-pkg-balance strong {
    display: block;
    margin-top: 3px;
    color: #4a9eff;
    font-size: 28px;
    line-height: 1;
}

.exif-pkg-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.exif-pkg-compare > div,
.exif-pkg-plan,
.exif-pkg-history {
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: rgba(26, 26, 26, 0.78);
}

.exif-pkg-compare > div {
    padding: 15px;
}

.exif-pkg-compare span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.exif-pkg-compare strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 17px;
}

.exif-pkg-plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.exif-pkg-plan {
    position: relative;
    padding: 16px;
}

.exif-pkg-plan.is-best {
    border-color: rgba(74, 158, 255, 0.52);
    background:
        radial-gradient(circle at top, rgba(74, 158, 255, 0.20), transparent 48%),
        rgba(26, 26, 26, 0.9);
}

.exif-pkg-plan-badge {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(74, 158, 255, 0.16);
    color: #4a9eff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.exif-pkg-plan-credits {
    color: #fff;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
}

.exif-pkg-plan-title {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    min-height: 38px;
}

.exif-pkg-plan-price {
    margin-top: 10px;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.exif-pkg-plan-btn {
    width: 100%;
    margin-top: 13px;
    padding: 10px 12px;
    border: 1px solid rgba(74, 158, 255, 0.55);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.95), rgba(74, 158, 255, 0.68));
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.exif-pkg-notice {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(74, 158, 255, 0.22);
    border-radius: 15px;
    background: rgba(74, 158, 255, 0.10);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.45;
}

.exif-pkg-notice.is-visible {
    display: block;
}

.exif-pkg-history {
    margin-top: 14px;
    padding: 16px;
}

.exif-pkg-history h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 15px;
}

.exif-pkg-empty,
.exif-pkg-ledger-row {
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.exif-pkg-ledger-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.exif-pkg-ledger-event {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.exif-pkg-ledger-meta {
    text-align: right;
}

.exif-pkg-modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .exif-package-panel,
    .exif-pkg-dialog-head {
        align-items: stretch;
        flex-direction: column;
    }

    .exif-package-panel-buy {
        width: 100%;
    }

    .exif-pkg-dialog {
        width: calc(100vw - 18px);
        max-height: calc(100vh - 18px);
        margin: 9px auto;
        padding: 18px;
        border-radius: 22px;
    }

    .exif-pkg-compare,
    .exif-pkg-plans {
        grid-template-columns: 1fr;
    }

    .exif-pkg-balance {
        width: 100%;
    }
}



/* __EXIF_TOOLS_PACKAGE_DESIGN_POLISH_P7E3C2A__ */

/* Right action card package panel: compact Bumaga premium style */
.exif-package-panel {
    position: relative;
    overflow: hidden;
    min-height: 74px;
    margin: 17px 0 15px;
    padding: 13px 13px;
    border: 1px solid rgba(74, 158, 255, 0.26);
    border-radius: 16px;
    background:
        radial-gradient(circle at 92% 0%, rgba(74, 158, 255, 0.18), transparent 42%),
        linear-gradient(135deg, rgba(27, 34, 45, 0.92), rgba(17, 18, 21, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 14px 32px rgba(0, 0, 0, 0.22);
}

.exif-package-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(74, 158, 255, 0.06), transparent 46%);
}

.exif-package-panel-copy,
.exif-package-panel-buy {
    position: relative;
    z-index: 1;
}

.exif-package-panel-kicker {
    color: rgba(255, 255, 255, 0.50);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .105em;
}

.exif-package-panel-balance {
    margin-top: 7px;
    min-width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #4a9eff;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.exif-package-panel-balance::after {
    content: " credits available";
    margin-left: 7px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.exif-package-panel-buy {
    min-height: 36px;
    padding: 9px 13px;
    border: 1px solid rgba(74, 158, 255, 0.46);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(74, 158, 255, 0.22), rgba(74, 158, 255, 0.13)),
        rgba(19, 28, 41, 0.92);
    color: rgba(255, 255, 255, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 22px rgba(74, 158, 255, 0.10);
}

.exif-package-panel-buy:hover {
    transform: translateY(-1px);
    border-color: rgba(74, 158, 255, 0.78);
    background:
        linear-gradient(180deg, rgba(74, 158, 255, 0.34), rgba(74, 158, 255, 0.18)),
        rgba(19, 28, 41, 0.96);
}

/* Center modal properly */
.exif-pkg-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.exif-pkg-backdrop {
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(14px);
}

.exif-pkg-dialog {
    width: min(880px, calc(100vw - 48px));
    max-height: min(760px, calc(100vh - 48px));
    margin: 0;
    padding: 24px;
    border: 1px solid rgba(74, 158, 255, 0.30);
    border-radius: 24px;
    background:
        radial-gradient(circle at 82% 0%, rgba(74, 158, 255, 0.18), transparent 32%),
        radial-gradient(circle at 0% 100%, rgba(74, 158, 255, 0.08), transparent 34%),
        linear-gradient(180deg, #151719 0%, #101112 100%);
    box-shadow:
        0 34px 120px rgba(0, 0, 0, 0.68),
        0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.exif-pkg-close {
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.62);
    font-size: 22px;
}

.exif-pkg-close:hover {
    border-color: rgba(74, 158, 255, 0.42);
    background: rgba(74, 158, 255, 0.12);
    color: #fff;
}

.exif-pkg-dialog-head {
    align-items: flex-start;
    padding-right: 44px;
}

.exif-pkg-kicker {
    color: rgba(74, 158, 255, 0.86);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .155em;
}

.exif-pkg-dialog h2 {
    margin-top: 3px;
    font-size: clamp(27px, 3.1vw, 38px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.exif-pkg-dialog p {
    max-width: 600px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
}

.exif-pkg-balance {
    min-width: 112px;
    padding: 13px 15px;
    border-color: rgba(74, 158, 255, 0.30);
    background:
        radial-gradient(circle at top right, rgba(74, 158, 255, 0.18), transparent 48%),
        rgba(24, 33, 45, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.exif-pkg-balance span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
}

.exif-pkg-balance strong {
    margin-top: 6px;
    color: #4a9eff;
    font-size: 27px;
}

/* Compact comparison strip */
.exif-pkg-compare {
    gap: 10px;
    margin-top: 22px;
}

.exif-pkg-compare > div {
    padding: 14px 15px;
    border-color: rgba(255, 255, 255, 0.095);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
        rgba(24, 24, 24, 0.74);
}

.exif-pkg-compare span {
    color: rgba(255, 255, 255, 0.44);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .12em;
}

.exif-pkg-compare strong {
    margin-top: 7px;
    font-size: 16px;
}

.exif-pkg-compare p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.38;
}

/* Package cards */
.exif-pkg-plans {
    gap: 12px;
    margin-top: 14px;
}

.exif-pkg-plan {
    min-height: 218px;
    padding: 17px 16px 15px;
    border-color: rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%),
        rgba(23, 24, 25, 0.92);
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.exif-pkg-plan:hover {
    transform: translateY(-2px);
    border-color: rgba(74, 158, 255, 0.32);
    background:
        linear-gradient(180deg, rgba(74, 158, 255, 0.055), transparent 48%),
        rgba(25, 27, 30, 0.96);
}

.exif-pkg-plan.is-best {
    transform: translateY(-3px);
    border-color: rgba(74, 158, 255, 0.72);
    background:
        radial-gradient(circle at 60% 0%, rgba(74, 158, 255, 0.22), transparent 42%),
        linear-gradient(180deg, rgba(74, 158, 255, 0.08), transparent 54%),
        rgba(23, 25, 29, 0.98);
    box-shadow:
        0 20px 54px rgba(74, 158, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.exif-pkg-plan.is-best:hover {
    transform: translateY(-5px);
}

.exif-pkg-plan-badge {
    margin-bottom: 12px;
    padding: 5px 9px;
    background: rgba(74, 158, 255, 0.16);
    color: #4a9eff;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .08em;
}

.exif-pkg-plan-credits {
    font-size: 40px;
    font-weight: 950;
    letter-spacing: -0.075em;
}

.exif-pkg-plan-title {
    min-height: 34px;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
    line-height: 1.35;
}

.exif-pkg-plan-price {
    margin-top: 13px;
    font-size: 24px;
    letter-spacing: -0.045em;
}

.exif-pkg-plan-btn {
    min-height: 38px;
    margin-top: 13px;
    border: 1px solid rgba(74, 158, 255, 0.48);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(74, 158, 255, 0.92), rgba(53, 131, 220, 0.90));
    box-shadow:
        0 12px 24px rgba(74, 158, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 950;
}

.exif-pkg-plan-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.exif-pkg-notice {
    border-color: rgba(74, 158, 255, 0.24);
    border-radius: 14px;
    background: rgba(74, 158, 255, 0.09);
    color: rgba(255, 255, 255, 0.72);
}

.exif-pkg-history {
    padding: 15px;
    border-color: rgba(255, 255, 255, 0.09);
    border-radius: 17px;
    background: rgba(22, 23, 24, 0.76);
}

.exif-pkg-history h3 {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
}

.exif-pkg-empty {
    color: rgba(255, 255, 255, 0.50);
    line-height: 1.45;
}

@media (max-width: 900px) {
    .exif-pkg-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .exif-package-panel {
        gap: 10px;
        min-height: auto;
    }

    .exif-package-panel-balance {
        font-size: 20px;
    }

    .exif-package-panel-balance::after {
        display: block;
        margin-left: 0;
        margin-top: 3px;
        font-size: 11px;
    }

    .exif-pkg-modal.is-open {
        align-items: flex-start;
        padding: 10px;
    }

    .exif-pkg-dialog {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding: 18px;
        border-radius: 22px;
    }

    .exif-pkg-dialog-head {
        padding-right: 38px;
    }

    .exif-pkg-plans,
    .exif-pkg-compare {
        grid-template-columns: 1fr;
    }

    .exif-pkg-plan,
    .exif-pkg-plan.is-best {
        min-height: auto;
        transform: none;
    }
}


/* __EXIF_TOOLS_PACKAGE_TONE_DOWN_BUMAGA_DARK_P7E3C2B__ */

/* Right panel: less SaaS, more Bumaga dark */
.exif-package-panel {
    min-height: 66px;
    margin: 16px 0 14px;
    padding: 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-left-color: rgba(74, 158, 255, 0.42);
    border-radius: 15px;
    background:
        linear-gradient(90deg, rgba(74, 158, 255, 0.075), transparent 42%),
        rgba(18, 18, 18, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 10px 26px rgba(0, 0, 0, 0.18);
}

.exif-package-panel::before {
    width: 3px;
    right: auto;
    background: linear-gradient(180deg, rgba(74, 158, 255, 0.85), rgba(74, 158, 255, 0.08));
    opacity: .9;
}

.exif-package-panel-kicker {
    color: rgba(255, 255, 255, 0.45);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .13em;
}

.exif-package-panel-balance {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
}

.exif-package-panel-balance::before {
    content: "Credits:";
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0;
}

.exif-package-panel-balance::after {
    content: "";
    display: none;
}

.exif-package-panel-buy {
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid rgba(74, 158, 255, 0.38);
    border-radius: 11px;
    background: rgba(74, 158, 255, 0.08);
    color: rgba(255, 255, 255, 0.84);
    box-shadow: none;
    font-size: 11px;
    font-weight: 900;
}

.exif-package-panel-buy:hover {
    transform: none;
    border-color: rgba(74, 158, 255, 0.62);
    background: rgba(74, 158, 255, 0.13);
}

/* Modal: centered graphite, less blue wash */
.exif-pkg-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
}

.exif-pkg-backdrop {
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px);
}

.exif-pkg-dialog {
    width: min(850px, calc(100vw - 52px));
    max-height: min(735px, calc(100vh - 52px));
    padding: 24px;
    border-color: rgba(255, 255, 255, 0.10);
    border-top-color: rgba(74, 158, 255, 0.34);
    background:
        radial-gradient(circle at 78% 0%, rgba(74, 158, 255, 0.105), transparent 30%),
        linear-gradient(180deg, #171717 0%, #101010 100%);
    box-shadow:
        0 34px 120px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.exif-pkg-kicker {
    color: rgba(74, 158, 255, 0.78);
}

.exif-pkg-dialog h2 {
    color: rgba(255, 255, 255, 0.96);
}

.exif-pkg-dialog p {
    color: rgba(255, 255, 255, 0.58);
}

.exif-pkg-balance {
    border-color: rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
        rgba(19, 19, 19, 0.88);
}

.exif-pkg-balance strong {
    color: #4a9eff;
}

/* Comparison strip: darker and quieter */
.exif-pkg-compare > div {
    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(20, 20, 20, 0.84);
}

.exif-pkg-compare span {
    color: rgba(255, 255, 255, 0.38);
}

.exif-pkg-compare strong {
    color: rgba(255, 255, 255, 0.90);
}

/* Cards: less bright, 50 remains premium */
.exif-pkg-plan {
    border-color: rgba(255, 255, 255, 0.075);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 42%),
        rgba(19, 19, 19, 0.92);
    box-shadow: none;
}

.exif-pkg-plan:hover {
    border-color: rgba(74, 158, 255, 0.26);
    background:
        linear-gradient(180deg, rgba(74, 158, 255, 0.035), transparent 48%),
        rgba(21, 21, 21, 0.96);
}

.exif-pkg-plan.is-best {
    border-color: rgba(74, 158, 255, 0.48);
    background:
        radial-gradient(circle at 72% 0%, rgba(74, 158, 255, 0.13), transparent 40%),
        linear-gradient(180deg, rgba(74, 158, 255, 0.045), transparent 56%),
        rgba(20, 21, 22, 0.98);
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(74, 158, 255, 0.035) inset;
}

.exif-pkg-plan-badge {
    background: rgba(74, 158, 255, 0.12);
    color: rgba(100, 178, 255, 0.92);
}

.exif-pkg-plan-credits {
    color: rgba(255, 255, 255, 0.95);
}

.exif-pkg-plan-title {
    color: rgba(255, 255, 255, 0.58);
}

.exif-pkg-plan-price {
    color: rgba(255, 255, 255, 0.94);
}

.exif-pkg-plan-btn {
    border-color: rgba(74, 158, 255, 0.38);
    background:
        linear-gradient(180deg, rgba(74, 158, 255, 0.72), rgba(53, 131, 220, 0.72));
    box-shadow:
        0 10px 22px rgba(74, 158, 255, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.exif-pkg-plan:not(.is-best) .exif-pkg-plan-btn {
    background: rgba(74, 158, 255, 0.10);
    color: rgba(255, 255, 255, 0.82);
}

.exif-pkg-plan:not(.is-best) .exif-pkg-plan-btn:hover {
    background: rgba(74, 158, 255, 0.15);
}

/* History / notice */
.exif-pkg-history {
    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(18, 18, 18, 0.88);
}

.exif-pkg-notice {
    border-color: rgba(74, 158, 255, 0.18);
    background: rgba(74, 158, 255, 0.065);
}

/* Mobile */
@media (max-width: 760px) {
    .exif-package-panel {
        align-items: stretch;
    }

    .exif-package-panel-buy {
        width: auto;
    }

    .exif-pkg-modal.is-open {
        align-items: flex-start;
        padding: 10px;
    }

    .exif-pkg-dialog {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding: 18px;
    }
}


/* __EXIF_TOOLS_PACKAGE_MICRO_POLISH_P7E3C2C__ */

/* Right Advanced credits block: slightly smaller, calmer */
.exif-package-panel {
    min-height: 58px;
    margin: 15px 0 13px;
    padding: 10px 11px;
    border-color: rgba(255, 255, 255, 0.078);
    border-left-color: rgba(74, 158, 255, 0.36);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(74, 158, 255, 0.055), transparent 38%),
        rgba(17, 17, 17, 0.96);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.028),
        0 8px 22px rgba(0, 0, 0, 0.16);
}

.exif-package-panel::before {
    width: 2px;
    opacity: .74;
}

.exif-package-panel-kicker {
    font-size: 8.5px;
    letter-spacing: .13em;
    color: rgba(255, 255, 255, 0.40);
}

.exif-package-panel-balance {
    margin-top: 7px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.84);
}

.exif-package-panel-balance::before {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.48);
}

.exif-package-panel-buy {
    min-height: 30px;
    padding: 7px 11px;
    border-radius: 10px;
    border-color: rgba(74, 158, 255, 0.34);
    background: rgba(74, 158, 255, 0.075);
    font-size: 10.5px;
}

/* Modal: a touch more graphite, less glow */
.exif-pkg-dialog {
    border-top-color: rgba(74, 158, 255, 0.26);
    background:
        radial-gradient(circle at 78% 0%, rgba(74, 158, 255, 0.075), transparent 29%),
        linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
}

.exif-pkg-plan.is-best {
    border-color: rgba(74, 158, 255, 0.42);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.20),
        0 0 0 1px rgba(74, 158, 255, 0.03) inset;
}

.exif-pkg-plan-btn {
    min-height: 37px;
}

.exif-pkg-plan:not(.is-best) .exif-pkg-plan-btn {
    border-color: rgba(74, 158, 255, 0.30);
}

@media (max-width: 760px) {
    .exif-package-panel {
        min-height: auto;
        padding: 11px;
    }
}

/* __EXIF_TOOLS_PACKAGE_POPUP_MODAL_POLISH_P7E3C3B__ */
/* Package purchase modal: Bumaga graphite, centered, preview-only polish */
.exif-pkg-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

.exif-pkg-modal.is-open {
    display: flex;
}

.exif-pkg-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(74, 158, 255, 0.08), transparent 34%),
        rgba(6, 6, 7, 0.78);
    backdrop-filter: blur(10px);
}

.exif-pkg-dialog {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    max-height: min(86vh, 820px);
    overflow: auto;
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(28, 28, 28, 0.98), rgba(16, 16, 17, 0.98));
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.92);
}

.exif-pkg-dialog::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.08), transparent 34%, rgba(255, 255, 255, 0.025));
}

.exif-pkg-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.72);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.exif-pkg-close:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.07);
}

.exif-pkg-dialog-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    padding: 30px 30px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.exif-pkg-kicker {
    margin-bottom: 8px;
    color: rgba(74, 158, 255, 0.82);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.exif-pkg-dialog h2 {
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.exif-pkg-dialog p {
    margin: 9px 0 0;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    line-height: 1.55;
}

.exif-pkg-balance {
    min-width: 112px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
    text-align: right;
}

.exif-pkg-balance span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.exif-pkg-balance strong {
    color: rgba(255, 255, 255, 0.94);
    font-size: 20px;
    line-height: 1;
}

.exif-pkg-compare {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 30px 4px;
}

.exif-pkg-compare > div,
.exif-pkg-plan,
.exif-pkg-ledger {
    border: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(23, 23, 23, 0.78);
    box-shadow: none;
}

.exif-pkg-compare > div {
    border-radius: 18px;
    padding: 15px 16px;
}

.exif-pkg-compare span,
.exif-pkg-plan-title,
.exif-pkg-ledger-event {
    color: rgba(255, 255, 255, 0.88);
}

.exif-pkg-compare strong,
.exif-pkg-plan-credits,
.exif-pkg-plan-price {
    color: rgba(255, 255, 255, 0.95);
}

.exif-pkg-plans {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 30px 22px;
}

.exif-pkg-plan {
    position: relative;
    min-height: 178px;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    padding: 18px;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.exif-pkg-plan:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(26, 26, 26, 0.96);
}

.exif-pkg-plan.is-best {
    border-color: rgba(74, 158, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(74, 158, 255, 0.075), rgba(23, 23, 23, 0.86));
}

.exif-pkg-plan.is-best::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.exif-pkg-plan-badge {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 5px 8px;
    border-radius: 999px;
    border: 1px solid rgba(74, 158, 255, 0.22);
    background: rgba(74, 158, 255, 0.08);
    color: rgba(210, 230, 255, 0.86);
    font-size: 10px;
    font-weight: 780;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.exif-pkg-plan-credits {
    font-size: 30px;
    font-weight: 820;
    letter-spacing: -0.045em;
    line-height: 1;
}

.exif-pkg-plan-title {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
    line-height: 1.4;
}

.exif-pkg-plan-price {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 760;
}

.exif-pkg-plan-btn {
    margin-top: auto;
    width: 100%;
    min-height: 38px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.105);
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 760;
    cursor: pointer;
}

.exif-pkg-plan-btn:hover {
    border-color: rgba(74, 158, 255, 0.24);
    background: rgba(74, 158, 255, 0.12);
    color: rgba(255, 255, 255, 0.95);
}

.exif-pkg-plan.is-best .exif-pkg-plan-btn {
    border-color: rgba(74, 158, 255, 0.26);
    background: rgba(74, 158, 255, 0.14);
}

.exif-pkg-notice {
    position: relative;
    z-index: 1;
    margin: -8px 30px 18px;
    padding: 11px 13px;
    border-radius: 15px;
    border: 1px solid rgba(74, 158, 255, 0.16);
    background: rgba(74, 158, 255, 0.07);
    color: rgba(210, 230, 255, 0.84);
    font-size: 12px;
    line-height: 1.45;
}

.exif-pkg-foot {
    position: relative;
    z-index: 1;
    padding: 0 30px 30px;
}

.exif-pkg-foot h3 {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.exif-pkg-ledger {
    border-radius: 18px;
    padding: 12px;
}

.exif-pkg-empty {
    color: rgba(255, 255, 255, 0.46);
    font-size: 12px;
    line-height: 1.45;
}

body.exif-pkg-modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .exif-pkg-modal {
        align-items: center;
        padding: 14px;
    }

    .exif-pkg-dialog {
        width: min(100%, calc(100vw - 20px));
        max-height: calc(100svh - 24px);
        border-radius: 20px;
    }

    .exif-pkg-dialog-head {
        grid-template-columns: 1fr;
        padding: 24px 18px 14px;
    }

    .exif-pkg-balance {
        width: 100%;
        text-align: left;
    }

    .exif-pkg-compare,
    .exif-pkg-plans {
        grid-template-columns: 1fr;
        padding-left: 18px;
        padding-right: 18px;
    }

    .exif-pkg-plan {
        min-height: 0;
    }

    .exif-pkg-notice {
        margin-left: 18px;
        margin-right: 18px;
    }

    .exif-pkg-foot {
        padding-left: 18px;
        padding-right: 18px;
        padding-bottom: 22px;
    }
}

/* __EXIF_TOOLS_PACKAGE_INLINE_PURCHASE_PANEL_P7E3C4__ */
/* Inline Advanced credits package selector: primary UX, modal stays secondary/dormant */
.exif-package-panel[data-p7e3c4-rendered="1"] {
    display: block;
    min-height: 0;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    background:
        linear-gradient(180deg, rgba(26, 26, 26, 0.92), rgba(18, 18, 18, 0.94));
    box-shadow: none;
}

.exif-package-panel[data-p7e3c4-rendered="1"]::before {
    display: none;
}

.exif-inline-pkg-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    margin-bottom: 13px;
}

.exif-inline-pkg-kicker {
    display: block;
    margin-bottom: 4px;
    color: rgba(74, 158, 255, 0.82);
    font-size: 10px;
    font-weight: 780;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.exif-inline-pkg-balance {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.exif-inline-pkg-balance span {
    color: rgba(255, 255, 255, 0.98);
}

.exif-inline-pkg-rate {
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    line-height: 1.35;
}

.exif-inline-pkg-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 9px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.exif-inline-pkg-title-row span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 720;
}

.exif-inline-pkg-title-row em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 680;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.exif-inline-pkg-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.exif-inline-pkg-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 54px;
    padding: 11px 12px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(23, 23, 23, 0.74);
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.exif-inline-pkg-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(28, 28, 28, 0.92);
}

.exif-inline-pkg-card.is-best {
    border-color: rgba(74, 158, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(74, 158, 255, 0.075), rgba(23, 23, 23, 0.88));
}

.exif-inline-pkg-card-main {
    display: grid;
    gap: 3px;
}

.exif-inline-pkg-card-main strong {
    color: rgba(255, 255, 255, 0.94);
    font-size: 13px;
    font-weight: 780;
    line-height: 1.1;
}

.exif-inline-pkg-card-main small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 700;
}

.exif-inline-pkg-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    border: 1px solid rgba(74, 158, 255, 0.21);
    background: rgba(74, 158, 255, 0.08);
    color: rgba(210, 230, 255, 0.82);
    font-size: 9px;
    font-weight: 780;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.exif-inline-pkg-notice {
    margin-top: 9px;
    padding: 9px 10px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.065);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
    line-height: 1.4;
}

.exif-inline-pkg-notice.is-visible {
    border-color: rgba(74, 158, 255, 0.18);
    background: rgba(74, 158, 255, 0.07);
    color: rgba(210, 230, 255, 0.82);
}

@media (max-width: 760px) {
    .exif-package-panel[data-p7e3c4-rendered="1"] {
        padding: 12px;
    }

    .exif-inline-pkg-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .exif-inline-pkg-card {
        min-height: 52px;
    }
}

/* __EXIF_TOOLS_PACKAGE_INLINE_FLATTEN_POLISH_P7E3C5__ */
/* Flatten Advanced credits panel: less nested, calmer Bumaga graphite */
.exif-package-panel[data-p7e3c5-rendered="1"] {
    display: block;
    min-height: 0;
    padding: 18px 0 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.exif-package-panel[data-p7e3c5-rendered="1"]::before {
    display: none;
}

.exif-package-panel[data-p7e3c5-rendered="1"] .exif-inline-flat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.exif-inline-flat-kicker {
    display: block;
    margin-bottom: 5px;
    color: rgba(235, 238, 242, 0.72);
    font-size: 10px;
    font-weight: 780;
    letter-spacing: 0.105em;
    text-transform: uppercase;
}

.exif-inline-flat-balance {
    display: block;
    color: rgba(255, 255, 255, 0.94);
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.exif-inline-flat-balance span {
    color: rgba(255, 255, 255, 0.98);
}

.exif-inline-flat-single {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 8px;
    padding: 11px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(255, 255, 255, 0.028);
}

.exif-inline-flat-single span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 680;
}

.exif-inline-flat-single strong {
    color: rgba(255, 255, 255, 0.94);
    font-size: 14px;
    font-weight: 820;
}

.exif-inline-flat-sub {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
    line-height: 1.45;
}

.exif-inline-flat-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.exif-inline-flat-row {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(23, 23, 23, 0.54);
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.exif-inline-flat-row:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.045);
}

.exif-inline-flat-row.is-best {
    border-color: rgba(74, 158, 255, 0.22);
    background: rgba(74, 158, 255, 0.055);
}

.exif-inline-flat-row-main {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.exif-inline-flat-row-main strong {
    color: rgba(255, 255, 255, 0.94);
    font-size: 13px;
    font-weight: 780;
    line-height: 1.1;
}

.exif-inline-flat-row-main small {
    color: rgba(255, 255, 255, 0.43);
    font-size: 11px;
    font-weight: 650;
}

.exif-inline-flat-row-side {
    display: grid;
    gap: 4px;
    justify-items: end;
    flex: 0 0 auto;
}

.exif-inline-flat-row-side strong {
    color: rgba(255, 255, 255, 0.96);
    font-size: 14px;
    font-weight: 820;
    line-height: 1;
}

.exif-inline-flat-row-side em {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.105);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(235, 238, 242, 0.62);
    font-style: normal;
    font-size: 9px;
    font-weight: 780;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.exif-inline-flat-row.is-best .exif-inline-flat-row-side em {
    border-color: rgba(74, 158, 255, 0.2);
    background: rgba(74, 158, 255, 0.075);
    color: rgba(210, 230, 255, 0.78);
}

.exif-inline-flat-notice {
    margin-top: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
    line-height: 1.45;
}

.exif-inline-flat-notice.is-visible {
    padding: 9px 10px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 760px) {
    .exif-package-panel[data-p7e3c5-rendered="1"] {
        padding-top: 15px;
    }

    .exif-inline-flat-balance {
        font-size: 20px;
    }

    .exif-inline-flat-row {
        min-height: 48px;
    }

    .exif-inline-flat-row-side em {
        font-size: 8px;
        padding: 0 7px;
    }
}

/* __EXIF_TOOLS_PACKAGE_COLLAPSIBLE_AREA_P7E3C7__ */
/* Package selector is progressive-disclosure: compact by default, packages open on demand. */
.exif-package-panel[data-p7e3c7-collapse-ready="1"] {
    padding-top: 15px;
}

.exif-package-panel[data-p7e3c7-collapse-ready="1"] .exif-inline-flat-single {
    margin-bottom: 8px;
}

.exif-inline-collapse-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 8px 0 0;
}

.exif-inline-collapse-toggle {
    min-height: 34px;
    padding: 0 13px;
    border-radius: 12px;
    border: 1px solid rgba(74, 158, 255, 0.22);
    background: rgba(74, 158, 255, 0.075);
    color: rgba(210, 230, 255, 0.86);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.exif-inline-collapse-toggle:hover {
    border-color: rgba(74, 158, 255, 0.32);
    background: rgba(74, 158, 255, 0.105);
    color: rgba(235, 245, 255, 0.95);
}

.exif-package-panel[data-p7e3c7-collapse-ready="1"].is-collapsed .exif-inline-flat-list {
    display: none;
}

.exif-package-panel[data-p7e3c7-collapse-ready="1"].is-collapsed .exif-inline-flat-notice {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.34);
    font-size: 10.5px;
}

.exif-package-panel[data-p7e3c7-collapse-ready="1"].is-expanded .exif-inline-flat-list {
    display: grid;
    margin-top: 9px;
}

.exif-package-panel[data-p7e3c7-collapse-ready="1"].is-expanded .exif-inline-flat-notice {
    margin-top: 9px;
}

.exif-package-panel[data-p7e3c7-collapse-ready="1"].has-credits .exif-inline-flat-sub {
    color: rgba(255, 255, 255, 0.36);
}

.exif-package-panel[data-p7e3c7-collapse-ready="1"].has-selected-package .exif-inline-flat-notice {
    padding: 8px 9px;
    border-radius: 12px;
    border: 1px solid rgba(74, 158, 255, 0.14);
    background: rgba(74, 158, 255, 0.055);
    color: rgba(210, 230, 255, 0.76);
}

@media (max-width: 760px) {
    .exif-inline-collapse-toggle {
        width: 100%;
        justify-content: center;
    }

    .exif-inline-collapse-actions {
        display: block;
    }
}

/* __EXIF_TOOLS_PACKAGE_RU_WORDING_BADGE_CLEANUP_P7E3D3__ */
/* Keep only the main recommendation badge; reduce visual noise on 10/100 packages. */
.exif-package-panel[data-p7e3c7-collapse-ready="1"] .exif-inline-flat-row:not(.is-best) .exif-inline-flat-row-side em {
    display: none;
}

.exif-package-panel[data-p7e3c7-collapse-ready="1"] .exif-inline-flat-row.is-best .exif-inline-flat-row-side em:empty {
    display: none;
}

/* __EXIF_ADVANCED_BALANCE_UX_CSS_P7E5I5__ */
/* Site balance card for EXIF Advanced. Visual baseline follows SMS Activation balance block. */
.exif-site-balance[hidden] {
    display: none !important;
}

.exif-site-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0 0 14px;
    padding: 12px 13px;
    border: 1px solid rgba(74, 158, 255, 0.22);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(74, 158, 255, 0.12) 0%, rgba(74, 158, 255, 0.03) 100%),
        rgba(18, 18, 18, 0.92);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.exif-site-balance-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.exif-site-balance-value {
    margin-left: auto;
    color: #4a9eff;
    font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 18px rgba(74, 158, 255, 0.28);
}

.exif-site-balance-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 9px;
    border: 1px solid rgba(74, 158, 255, 0.34);
    background: rgba(74, 158, 255, 0.13);
    color: #4a9eff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.exif-site-balance-add:hover {
    transform: translateY(-1px);
    border-color: rgba(74, 158, 255, 0.58);
    background: rgba(74, 158, 255, 0.2);
    color: #7bbcff;
}

@media (max-width: 640px) {
    .exif-site-balance {
        padding: 11px 12px;
        border-radius: 13px;
    }

    .exif-site-balance-value {
        font-size: 17px;
    }

    .exif-site-balance-add {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
}

/* __EXIF_ADVANCED_BALANCE_UX_INLINE_STRIP_CSS_P7E5I7B__ */
/* Compact balance chip next to Advanced credits. */
.exif-inline-flat-head.has-site-balance,
.exif-inline-pkg-head.has-site-balance {
    align-items: flex-start;
}

.exif-inline-site-balance {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin-left: auto;
    padding: 8px 9px;
    min-height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(74, 158, 255, 0.22);
    background:
        linear-gradient(135deg, rgba(74, 158, 255, 0.12), rgba(74, 158, 255, 0.035)),
        rgba(255, 255, 255, 0.025);
    color: rgba(220, 238, 255, 0.88);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.exif-inline-site-balance:hover {
    transform: translateY(-1px);
    border-color: rgba(74, 158, 255, 0.38);
    background:
        linear-gradient(135deg, rgba(74, 158, 255, 0.16), rgba(74, 158, 255, 0.055)),
        rgba(255, 255, 255, 0.035);
}

.exif-inline-site-balance-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.exif-inline-site-balance-value {
    color: #4a9eff;
    font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 18px rgba(74, 158, 255, 0.28);
}

.exif-inline-site-balance-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 7px;
    background: rgba(74, 158, 255, 0.15);
    color: #7bbcff;
    font-size: 15px;
    font-style: normal;
    font-weight: 950;
    line-height: 1;
}

.exif-inline-site-balance.is-payable {
    border-color: rgba(74, 158, 255, 0.32);
}

.exif-inline-site-balance.is-low {
    border-color: rgba(255, 170, 64, 0.36);
    background:
        linear-gradient(135deg, rgba(255, 170, 64, 0.14), rgba(255, 170, 64, 0.04)),
        rgba(255, 255, 255, 0.025);
}

.exif-inline-site-balance.is-low .exif-inline-site-balance-value {
    color: #ffb45c;
    text-shadow: 0 0 18px rgba(255, 170, 64, 0.22);
}

.exif-cta-btn.is-balance-topup {
    border-color: rgba(74, 158, 255, 0.42);
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.22), rgba(74, 158, 255, 0.13));
    color: #eaf4ff;
}

@media (max-width: 760px) {
    .exif-inline-flat-head.has-site-balance,
    .exif-inline-pkg-head.has-site-balance {
        flex-wrap: wrap;
    }

    .exif-inline-site-balance {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
        padding: 9px 10px;
    }
}


/* __EXIF_ADVANCED_INSUFFICIENT_BALANCE_UX_CSS_P7E6B2__
   Keep EXIF site balance chip blue even when balance is below $1.
   Low-balance state is handled by CTA + toast, not by orange warning chip. */
.exif-inline-site-balance,
.exif-inline-site-balance:hover,
.exif-inline-site-balance:focus,
.exif-inline-site-balance.is-low,
.exif-inline-site-balance.is-low-balance,
.exif-inline-site-balance[data-state="low"],
.exif-package-panel-head.has-site-balance .exif-inline-site-balance {
  border-color: rgba(74, 158, 255, 0.42) !important;
  background: rgba(74, 158, 255, 0.10) !important;
  color: #4a9eff !important;
  box-shadow: 0 0 0 1px rgba(74, 158, 255, 0.12), 0 10px 26px rgba(74, 158, 255, 0.08) !important;
}

.exif-inline-site-balance .exif-inline-site-balance-label,
.exif-inline-site-balance .exif-inline-site-balance-value,
.exif-inline-site-balance .exif-inline-site-balance-plus {
  color: #4a9eff !important;
}

.exif-insufficient-balance-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 99999;
  transform: translate(-50%, 18px);
  min-width: min(420px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  padding: 18px 24px;
  border-radius: 14px;
  background: #ef4444;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 18px 45px rgba(239, 68, 68, 0.32), 0 0 0 1px rgba(255,255,255,0.08) inset;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.exif-insufficient-balance-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 640px) {
  .exif-insufficient-balance-toast {
    bottom: 22px;
    padding: 15px 18px;
    font-size: 14px;
    border-radius: 12px;
  }
}


/* __EXIF_ADVANCED_BILLING_COPY_POLISH_CSS_P7E6D__
   Calmer right Advanced billing copy: keep focus on credits, balance and CTA. */
.exif-package-panel-kicker,
.exif-inline-pkg-kicker,
.exif-inline-flat-kicker {
  letter-spacing: .11em;
  color: #9ca3af !important;
}

.exif-package-panel-note:empty,
.exif-package-panel-hint:empty,
.exif-inline-pkg-hidden-notice:empty,
.exif-inline-flat-hidden-notice:empty,
.exif-inline-pkg-note:empty,
.exif-inline-flat-note:empty {
  display: none !important;
}

.exif-package-panel-note,
.exif-package-panel-hint,
.exif-inline-pkg-hidden-notice,
.exif-inline-flat-hidden-notice {
  color: rgba(255,255,255,.44);
}


/* __EXIF_UPLOAD_HELPER_CHIPS_COMPACT_P7E6E__
   Make upload helper chips calmer and smaller.
   Main action remains "Выбрать фото"; helper chips should not compete visually. */
.exif-upload-actions {
  gap: 7px;
}

.exif-upload-chip {
  min-height: 28px !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  color: rgba(255,255,255,.68) !important;
  background: rgba(255,255,255,.045) !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: none !important;
}

.exif-upload-chip:hover {
  color: rgba(255,255,255,.78) !important;
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.14) !important;
}

@media (max-width: 640px) {
  .exif-upload-chip {
    min-height: 26px !important;
    padding: 5px 9px !important;
    font-size: 10.5px !important;
  }
}


/* __EXIF_PACKAGE_EMPTY_NOTICE_HIDE_CSS_P7E6H2__
   Hide empty package notice/preview rows after copy cleanup. */
#exifPackagePanel [data-exif-inline-pkg-notice]:empty,
#exifPackagePanel .exif-inline-flat-notice:empty,
#exifPackagePanel .exif-inline-pkg-notice:empty,
#exifPackagePanel .exif-inline-flat-preview:empty,
#exifPackagePanel .exif-inline-pkg-preview:empty {
  display: none !important;
}


/* __EXIF_UPLOAD_HELPER_CHIPS_COMPACT_CSS_ONLY_P7E6I__
   Visual only: make upload helper chips smaller and calmer.
   Main "Выбрать фото" action remains untouched. */
.exif-upload-actions {
  gap: 6px !important;
  margin-top: 10px !important;
}

.exif-upload-chip {
  min-height: 22px !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  font-size: 10.5px !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: .005em !important;
  color: rgba(255,255,255,.54) !important;
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(255,255,255,.09) !important;
  box-shadow: none !important;
}

.exif-upload-chip:hover {
  color: rgba(255,255,255,.68) !important;
  background: rgba(255,255,255,.05) !important;
  border-color: rgba(255,255,255,.13) !important;
  box-shadow: none !important;
}

@media (max-width: 640px) {
  .exif-upload-actions {
    gap: 5px !important;
    margin-top: 9px !important;
  }

  .exif-upload-chip {
    min-height: 21px !important;
    padding: 3px 7px !important;
    font-size: 10px !important;
  }
}

/* __EXIF_COMPACT_RED_TOAST_FINAL_OVERRIDE_P7E6J11F__
   Final visual override after J11D: compact red toast, not a banner.
   P7E6J10A/P7E6J10B two-step logic unchanged. */
/* __EXIF_TOAST_NEUTRAL_COMPACT_P7E6P8D__ neutral dark, compact 14px, no visibility-lag */
.exif-toast,
.exif-insufficient-balance-toast {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 24px !important;
    transform: translateX(-50%) translateY(14px) !important;
    z-index: 99999 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: min(420px, calc(100vw - 40px)) !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 10px 16px !important;

    background: rgba(16, 22, 33, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42) !important;

    color: #eef5ff !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: normal !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.16s ease, transform 0.16s ease !important;
}

.exif-toast.show,
.exif-insufficient-balance-toast.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.exif-toast::before,
.exif-insufficient-balance-toast::before {
    content: none !important;
    display: none !important;
}

@media (max-width: 768px) {
    /* __EXIF_TOAST_MOBILE_COMPACT_P7E6P8D__ */
    .exif-toast,
    .exif-insufficient-balance-toast {
        bottom: 18px !important;
        max-width: calc(100vw - 28px) !important;
        padding: 9px 14px !important;
        border-radius: 11px !important;
        font-size: 13.5px !important;
        white-space: normal !important;
    }
}


/* __EXIF_PACKAGE_PURCHASE_NOTICE_CSS_POLISH_P7E6K7__ */
#exifPackagePanel .exif-inline-flat-notice,
#exifPackagePanel .exif-inline-pkg-notice,
[data-exif-pkg-notice],
[data-exif-inline-pkg-notice] {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

#exifPackagePanel .exif-inline-flat-notice:empty,
#exifPackagePanel .exif-inline-pkg-notice:empty,
[data-exif-pkg-notice]:empty,
[data-exif-inline-pkg-notice]:empty {
  display: none;
}

#exifPackagePanel [data-exif-pkg-notice-type="error"],
[data-exif-pkg-notice-type="error"] {
  border-color: rgba(255, 78, 78, 0.22);
  background: linear-gradient(180deg, rgba(255, 78, 78, 0.10), rgba(255, 78, 78, 0.055));
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 34px rgba(255, 60, 60, 0.08);
}

#exifPackagePanel [data-exif-pkg-notice-type="success"],
[data-exif-pkg-notice-type="success"] {
  border-color: rgba(74, 158, 255, 0.26);
  background: linear-gradient(180deg, rgba(74, 158, 255, 0.12), rgba(74, 158, 255, 0.055));
  color: rgba(255, 255, 255, 0.84);
}

#exifPackagePanel [data-exif-pkg-notice-type="loading"],
[data-exif-pkg-notice-type="loading"] {
  border-color: rgba(74, 158, 255, 0.20);
  background: rgba(74, 158, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
}

#exifPackagePanel [data-exif-pkg-notice-type] strong,
[data-exif-pkg-notice-type] strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
}

#exifPackagePanel .exif-inline-pkg-reset,
.exif-inline-pkg-reset,
[data-exif-pkg-onetime] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-top: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(74, 158, 255, 0.42);
  border-radius: 999px;
  background: rgba(74, 158, 255, 0.12);
  color: #dbeeff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}

#exifPackagePanel .exif-inline-pkg-reset:hover,
.exif-inline-pkg-reset:hover,
[data-exif-pkg-onetime]:hover {
  transform: translateY(-1px);
  border-color: rgba(74, 158, 255, 0.68);
  background: rgba(74, 158, 255, 0.18);
  color: #fff;
}

#exifPackagePanel .exif-inline-pkg-reset:active,
.exif-inline-pkg-reset:active,
[data-exif-pkg-onetime]:active {
  transform: translateY(0);
}

#exifPackagePanel .exif-inline-flat-row[data-exif-pkg-loading="1"],
#exifPackagePanel .exif-inline-pkg-card[data-exif-pkg-loading="1"] {
  opacity: .72;
  pointer-events: none;
  position: relative;
}

#exifPackagePanel .exif-inline-flat-row[data-exif-pkg-loading="1"]::after,
#exifPackagePanel .exif-inline-pkg-card[data-exif-pkg-loading="1"]::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(74, 158, 255, 0.95);
  border-radius: 999px;
  animation: exifPkgSpinP7E6K7 .72s linear infinite;
}

@keyframes exifPkgSpinP7E6K7 {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 720px) {
  #exifPackagePanel .exif-inline-flat-notice,
  #exifPackagePanel .exif-inline-pkg-notice,
  [data-exif-pkg-notice],
  [data-exif-inline-pkg-notice] {
    padding: 11px 12px;
    font-size: 12px;
  }

  #exifPackagePanel .exif-inline-pkg-reset,
  .exif-inline-pkg-reset,
  [data-exif-pkg-onetime] {
    width: 100%;
    min-height: 34px;
  }
}

/* EXIF Tools — Digital Trace Marketing Block
   Marker: __EXIF_DIGITAL_TRACE_CSS_P8A2C__ */

.exif-trace-block {
    width: min(100%, 1280px);
    margin: 44px auto 0;
    padding: 44px 20px 0;
    border-top: 1px solid rgba(255,255,255,.045);
    box-sizing: border-box;
}

.exif-trace-block * { box-sizing: border-box; }

.exif-trace-head {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.exif-trace-kicker {
    display: none;
}

.exif-trace-title {
    margin: 0 0 12px;
    color: #f3f3f3;
    font-size: clamp(28px, 2.15vw, 36px);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -.03em;
}

.exif-trace-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: var(--exif-muted);
    font-size: 15px;
    line-height: 1.58;
    font-weight: 500;
}

.exif-trace-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.exif-trace-card {
    min-width: 0;
    min-height: 188px;
    padding: 24px 22px 22px;
    background: rgba(255,255,255,.026);
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.exif-trace-card:hover {
    transform: translateY(-2px);
    border-color: rgba(74,158,255,.22);
    background: rgba(255,255,255,.034);
}

.exif-trace-num {
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(74,158,255,.11);
    border: 1px solid rgba(74,158,255,.38);
    color: #5aa8ff;
    font-size: 15px;
    font-weight: 900;
    font-family: 'Roboto Mono', Consolas, monospace;
}

.exif-trace-card-title {
    margin: 0 0 9px;
    color: #f2f2f2;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 900;
}

.exif-trace-card-text {
    margin: 0;
    color: var(--exif-muted);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
}

.exif-trace-note {
    min-height: 56px;
    margin-top: 22px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    color: var(--exif-muted);
    background: rgba(255,255,255,.024);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
}

.exif-trace-note-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #18d08f;
    border: 1px solid rgba(24,208,143,.35);
    background: rgba(24,208,143,.08);
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1180px) {
    .exif-trace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .exif-trace-block {
        width: 100%;
        margin-top: 34px;
        padding: 34px 16px 0;
    }

    .exif-trace-head { margin-bottom: 24px; }
    .exif-trace-title { font-size: 27px; }
    .exif-trace-subtitle { font-size: 14px; line-height: 1.55; }
    .exif-trace-grid { grid-template-columns: 1fr; gap: 14px; }
    .exif-trace-card { min-height: auto; padding: 22px 18px 20px; border-radius: 16px; }
    .exif-trace-num { width: 44px; height: 44px; margin-bottom: 18px; font-size: 14px; }
    .exif-trace-card-title { font-size: 17px; }
    .exif-trace-card-text { font-size: 13px; }
    .exif-trace-note { align-items: flex-start; justify-content: flex-start; text-align: left; padding: 14px; font-size: 13px; }
}

/* EXIF Tools — Digital Trace Polish
   Marker: __EXIF_DIGITAL_TRACE_POLISH_CSS_P8A2D__ */

.exif-trace-block {
    margin-top: 30px;
    padding-top: 36px;
}

.exif-trace-head {
    margin-bottom: 28px;
}

.exif-trace-title {
    font-size: clamp(27px, 2vw, 34px);
    margin-bottom: 10px;
}

.exif-trace-subtitle {
    font-size: 14.5px;
    max-width: 680px;
}

.exif-trace-card {
    min-height: 178px;
    padding-top: 22px;
    padding-bottom: 21px;
}

.exif-trace-num {
    margin-bottom: 22px;
}

.exif-trace-note {
    margin-top: 20px;
}

@media (max-width: 720px) {
    .exif-trace-block {
        margin-top: 28px;
        padding-top: 30px;
    }

    .exif-trace-title {
        font-size: 26px;
    }
}

/* EXIF Tools — Compare Table Marketing Block
   Marker: __EXIF_COMPARE_CSS_P8B1__ */

.exif-compare-block {
    width: min(100%, 1280px);
    margin: 46px auto 0;
    padding: 42px 20px 0;
    border-top: 1px solid rgba(255,255,255,.045);
    box-sizing: border-box;
}

.exif-compare-block * {
    box-sizing: border-box;
}

.exif-compare-head {
    max-width: 780px;
    margin: 0 auto 30px;
    text-align: center;
}

.exif-compare-title {
    margin: 0 0 12px;
    color: #f3f3f3;
    font-size: clamp(27px, 2vw, 34px);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -.03em;
}

.exif-compare-subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: var(--exif-muted);
    font-size: 14.5px;
    line-height: 1.58;
    font-weight: 500;
}

.exif-compare-card {
    overflow: hidden;
    background: rgba(255,255,255,.024);
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
}

.exif-compare-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.exif-compare-table th {
    padding: 18px 22px;
    color: #f2f2f2;
    background: rgba(255,255,255,.035);
    border-bottom: 1px solid rgba(255,255,255,.075);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
    text-align: left;
}

.exif-compare-table th.is-bumaga {
    color: #d9ecff;
    background: rgba(74,158,255,.085);
    border-left: 1px solid rgba(74,158,255,.16);
}

.exif-compare-table td {
    padding: 15px 22px;
    color: var(--exif-muted);
    border-top: 1px solid rgba(255,255,255,.055);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    vertical-align: top;
}

.exif-compare-table tbody tr:first-child td {
    border-top: none;
}

.exif-compare-table td.is-bumaga {
    color: #e7e7e7;
    background: rgba(74,158,255,.035);
    border-left: 1px solid rgba(74,158,255,.13);
}

.exif-compare-mark {
    width: 21px;
    height: 21px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: -4px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.exif-compare-mark.is-minus {
    color: #a7a7a7;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
}

.exif-compare-mark.is-plus {
    color: #18d08f;
    background: rgba(24,208,143,.08);
    border: 1px solid rgba(24,208,143,.35);
}

.exif-compare-note {
    min-height: 56px;
    margin-top: 20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    color: var(--exif-muted);
    background: rgba(255,255,255,.024);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
}

.exif-compare-note-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: var(--exif-blue);
    box-shadow: 0 0 18px rgba(74,158,255,.35);
}

@media (max-width: 720px) {
    .exif-compare-block {
        width: 100%;
        margin-top: 34px;
        padding: 34px 16px 0;
    }

    .exif-compare-head {
        margin-bottom: 22px;
    }

    .exif-compare-title {
        font-size: 26px;
    }

    .exif-compare-subtitle {
        font-size: 14px;
        line-height: 1.55;
    }

    .exif-compare-card {
        border-radius: 16px;
    }

    .exif-compare-table,
    .exif-compare-table thead,
    .exif-compare-table tbody,
    .exif-compare-table tr,
    .exif-compare-table td {
        display: block;
        width: 100%;
    }

    .exif-compare-table thead {
        display: none;
    }

    .exif-compare-table tr {
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .exif-compare-table tr:first-child {
        border-top: none;
    }

    .exif-compare-table td {
        position: relative;
        padding: 34px 16px 14px;
        border-top: none;
        border-left: none !important;
    }

    .exif-compare-table td::before {
        content: attr(data-label);
        position: absolute;
        top: 12px;
        left: 16px;
        color: var(--exif-muted);
        font-size: 10px;
        font-weight: 900;
        letter-spacing: .08em;
        text-transform: uppercase;
        opacity: .72;
    }

    .exif-compare-table td.is-bumaga {
        background: rgba(74,158,255,.045);
    }

    .exif-compare-note {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        padding: 14px;
        font-size: 13px;
    }
}

/* EXIF Tools — Compare Table Compact Polish
   Marker: __EXIF_COMPARE_COMPACT_CSS_P8B2__ */

.exif-compare-block {
    width: min(100%, 1120px);
    margin-top: 34px;
    padding-top: 34px;
}

.exif-compare-head {
    max-width: 690px;
    margin-bottom: 24px;
}

.exif-compare-title {
    font-size: clamp(24px, 1.75vw, 30px);
    margin-bottom: 9px;
}

.exif-compare-subtitle {
    max-width: 650px;
    font-size: 13.5px;
    line-height: 1.5;
}

.exif-compare-card {
    border-radius: 16px;
}

.exif-compare-table th {
    padding: 14px 18px;
    font-size: 13.5px;
}

.exif-compare-table td {
    padding: 11px 18px;
    font-size: 13px;
    line-height: 1.38;
}

.exif-compare-mark {
    width: 18px;
    height: 18px;
    margin-right: 9px;
    font-size: 11px;
    vertical-align: -3px;
}

.exif-compare-note {
    min-height: 48px;
    margin-top: 16px;
    padding: 12px 18px;
    font-size: 12.5px;
    border-radius: 12px;
}

.exif-compare-note-dot {
    width: 7px;
    height: 7px;
}

@media (max-width: 720px) {
    .exif-compare-block {
        width: 100%;
        margin-top: 30px;
        padding: 30px 16px 0;
    }

    .exif-compare-title {
        font-size: 24px;
    }

    .exif-compare-subtitle {
        font-size: 13.5px;
    }

    .exif-compare-table td {
        padding: 31px 14px 12px;
        font-size: 13px;
    }

    .exif-compare-table td::before {
        top: 10px;
        left: 14px;
        font-size: 9.5px;
    }
}

/* EXIF Tools — Geo Profile Coverage Map
   Marker: __EXIF_GEO_MAP_CSS_P8C1__ */

.exif-geo-map-block {
    width: min(100%, 1120px);
    margin: 34px auto 0;
    padding: 34px 0 4px;
    text-align: center;
}

.exif-geo-map-head {
    max-width: 690px;
    margin: 0 auto 24px;
}

.exif-geo-map-title {
    font-size: 13px;
    font-weight: 800;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 9px;
}

.exif-geo-map-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: var(--exif-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.exif-geo-map-card {
    position: relative;
    overflow: hidden;
    min-height: 318px;
    padding: 20px 22px 22px;
    background:
        radial-gradient(circle at 50% 45%, rgba(74,158,255,.075), transparent 48%),
        linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.014));
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    box-shadow: 0 18px 56px rgba(0,0,0,.26);
}

.exif-geo-map-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
    opacity: .42;
}

.exif-geo-map-wrap {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
    padding: 4px 18px 0;
}

.exif-geo-map-wrap svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    opacity: .92;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,.28));
}

.exif-geo-map-wrap svg path.st1 {
    fill: #1e2230 !important;
    stroke: #2a2f40 !important;
    stroke-width: .3 !important;
    transition: fill .25s ease, stroke .25s ease, filter .25s ease;
}

.exif-geo-map-wrap svg path.st0 {
    fill: none !important;
    stroke: rgba(255,255,255,.035) !important;
    stroke-width: .5 !important;
}

.exif-geo-map-wrap svg path.st1.has-coverage {
    fill: rgba(74,158,255,.34) !important;
    stroke: rgba(74,158,255,.54) !important;
    stroke-width: .55 !important;
    filter: drop-shadow(0 0 4px rgba(74,158,255,.18));
}

.exif-geo-map-wrap svg path.st1.has-coverage:hover {
    fill: rgba(74,158,255,.55) !important;
    stroke: rgba(74,158,255,.82) !important;
    cursor: pointer;
    filter: brightness(1.22) drop-shadow(0 0 7px rgba(74,158,255,.28));
}

.exif-geo-map-glow {
    position: absolute;
    top: 52%;
    left: 50%;
    z-index: 0;
    width: 60%;
    height: 62%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(74,158,255,.095) 0%, transparent 70%);
    pointer-events: none;
}

.exif-geo-map-tooltip {
    position: absolute;
    z-index: 3;
    top: 28px;
    right: 34px;
    min-width: 190px;
    max-width: 255px;
    padding: 11px 14px;
    text-align: left;
    pointer-events: none;
    background: rgba(13,17,23,.94);
    border: 1px solid rgba(74,158,255,.30);
    border-radius: 10px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,.45), 0 0 15px rgba(74,158,255,.11);
}

.exif-geo-map-tooltip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.exif-geo-map-tooltip-flag {
    font-size: 18px;
    line-height: 1;
}

.exif-geo-map-tooltip-name {
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: .03em;
}

.exif-geo-map-tooltip-services {
    margin-bottom: 7px;
    color: var(--exif-blue);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.exif-geo-map-tooltip-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.exif-geo-map-tooltip-tier {
    padding: 3px 7px;
    border-radius: 5px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.5);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
}

.exif-geo-map-tooltip-tier.active {
    color: #00a2ff;
    background: rgba(0,162,255,.18);
}

.exif-geo-map-stat {
    margin-top: 16px;
    color: #555;
    font-size: 13px;
    font-weight: 600;
}

.exif-geo-map-stat span {
    color: var(--exif-blue);
    font-weight: 800;
}

.exif-geo-map-mobile-list {
    display: none;
}

@media (max-width: 720px) {
    .exif-geo-map-block {
        width: 100%;
        margin-top: 30px;
        padding: 30px 16px 0;
    }

    .exif-geo-map-head {
        margin-bottom: 18px;
    }

    .exif-geo-map-title {
        font-size: 12px;
        letter-spacing: 2.4px;
    }

    .exif-geo-map-subtitle {
        font-size: 13.5px;
        line-height: 1.55;
    }

    .exif-geo-map-card {
        min-height: 0;
        padding: 16px 14px;
        border-radius: 16px;
    }

    .exif-geo-map-wrap {
        display: none;
    }

    .exif-geo-map-tooltip {
        position: relative;
        top: auto;
        right: auto;
        max-width: none;
        width: 100%;
        margin: 0;
        pointer-events: auto;
    }

    .exif-geo-map-mobile-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 12px;
    }

    .exif-geo-map-mobile-list span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 8px 10px;
        color: rgba(255,255,255,.76);
        background: rgba(74,158,255,.065);
        border: 1px solid rgba(74,158,255,.16);
        border-radius: 10px;
        font-size: 12px;
        font-weight: 800;
    }

    .exif-geo-map-stat {
        margin-top: 13px;
        font-size: 12.5px;
        line-height: 1.45;
    }
}

/* EXIF Tools — Geo Map Real Map Repair / Compact Numbers Style
   Marker: __EXIF_GEO_MAP_CSS_P8C2__ */

.exif-geo-map-block {
    width: min(100%, 1120px);
    margin-top: 28px;
    padding-top: 28px;
}

.exif-geo-map-head {
    margin-bottom: 20px;
}

.exif-geo-map-card {
    max-width: 1040px;
    min-height: 0;
    margin: 0 auto;
    padding: 0 12px 8px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.exif-geo-map-card::before {
    display: none;
}

.exif-geo-map-wrap {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 18px;
}

.exif-geo-map-wrap svg {
    width: 100%;
    max-height: 330px;
    height: auto;
    display: block;
    opacity: .9;
    filter: drop-shadow(0 20px 42px rgba(0,0,0,.34));
}

.exif-geo-map-wrap svg path.st1 {
    fill: #1e2230 !important;
    stroke: #2a2f40 !important;
    stroke-width: .3 !important;
}

.exif-geo-map-wrap svg path.st0 {
    fill: none !important;
    stroke: rgba(255,255,255,.03) !important;
    stroke-width: .5 !important;
}

.exif-geo-map-wrap svg path.st1.has-coverage,
.exif-geo-map-wrap svg path[id="US"],
.exif-geo-map-wrap svg path[id="CA"],
.exif-geo-map-wrap svg path[id="MX"],
.exif-geo-map-wrap svg path[id="GB"],
.exif-geo-map-wrap svg path[id="UK"],
.exif-geo-map-wrap svg path[id="IE"],
.exif-geo-map-wrap svg path[id="FR"],
.exif-geo-map-wrap svg path[id="DE"],
.exif-geo-map-wrap svg path[id="NL"],
.exif-geo-map-wrap svg path[id="BE"],
.exif-geo-map-wrap svg path[id="LU"],
.exif-geo-map-wrap svg path[id="CH"],
.exif-geo-map-wrap svg path[id="AT"],
.exif-geo-map-wrap svg path[id="IT"],
.exif-geo-map-wrap svg path[id="ES"],
.exif-geo-map-wrap svg path[id="PT"],
.exif-geo-map-wrap svg path[id="NO"],
.exif-geo-map-wrap svg path[id="SE"],
.exif-geo-map-wrap svg path[id="FI"],
.exif-geo-map-wrap svg path[id="DK"],
.exif-geo-map-wrap svg path[id="PL"],
.exif-geo-map-wrap svg path[id="CZ"],
.exif-geo-map-wrap svg path[id="SK"],
.exif-geo-map-wrap svg path[id="HU"],
.exif-geo-map-wrap svg path[id="RO"],
.exif-geo-map-wrap svg path[id="UA"] {
    fill: rgba(74,158,255,.35) !important;
    stroke: rgba(74,158,255,.55) !important;
    stroke-width: .5 !important;
}

.exif-geo-map-glow {
    width: 58%;
    height: 58%;
    background: radial-gradient(ellipse, rgba(74,158,255,.065) 0%, transparent 70%);
}

.exif-geo-map-tooltip {
    top: auto;
    right: 34px;
    bottom: 20px;
    min-width: 188px;
    box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 15px rgba(74,158,255,.10);
}

.exif-geo-map-stat {
    margin-top: 10px;
}

@media (max-width: 980px) {
    .exif-geo-map-tooltip {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(100%, 420px);
        max-width: 420px;
        margin: 12px auto 0;
    }
}

@media (max-width: 720px) {
    .exif-geo-map-block {
        margin-top: 28px;
        padding: 28px 16px 0;
    }

    .exif-geo-map-card {
        padding: 0;
    }
}

/* EXIF Tools — Geo Map Visual Polish Mini Step
   Marker: __EXIF_GEO_MAP_CSS_P8C3__ */

/* меньше воздуха между compare и картой */
.exif-geo-map-block {
    margin-top: 24px;
    padding-top: 24px;
    padding-bottom: 0;
}

/* заголовок чуть ближе к карте */
.exif-geo-map-head {
    margin-bottom: 14px;
}

.exif-geo-map-title {
    color: rgba(255,255,255,.34);
    letter-spacing: 3.4px;
}

.exif-geo-map-subtitle {
    color: rgba(255,255,255,.48);
}

/* убираем лишнюю строку под картой */
.exif-geo-map-stat {
    display: none !important;
}

/* делаем карту крупнее и ближе к стилю /numbers */
.exif-geo-map-card {
    max-width: 1120px;
    padding: 0;
}

.exif-geo-map-wrap {
    max-width: 1040px;
    padding: 0;
}

/* сама карта больше, светлее, без ощущения маленькой картинки */
.exif-geo-map-wrap svg {
    max-height: 405px;
    transform: scale(1.12);
    transform-origin: center center;
    opacity: .98;
    filter:
        drop-shadow(0 24px 48px rgba(0,0,0,.42))
        drop-shadow(0 0 22px rgba(74,158,255,.08));
}

/* базовые страны чуть виднее */
.exif-geo-map-wrap svg path.st1 {
    fill: rgba(34,39,55,.92) !important;
    stroke: rgba(70,80,105,.42) !important;
    stroke-width: .32 !important;
}

/* активные регионы делаем реально заметными */
.exif-geo-map-wrap svg path.st1.has-coverage,
.exif-geo-map-wrap svg path[id="US"],
.exif-geo-map-wrap svg path[id="CA"],
.exif-geo-map-wrap svg path[id="MX"],
.exif-geo-map-wrap svg path[id="GB"],
.exif-geo-map-wrap svg path[id="UK"],
.exif-geo-map-wrap svg path[id="IE"],
.exif-geo-map-wrap svg path[id="FR"],
.exif-geo-map-wrap svg path[id="DE"],
.exif-geo-map-wrap svg path[id="NL"],
.exif-geo-map-wrap svg path[id="BE"],
.exif-geo-map-wrap svg path[id="LU"],
.exif-geo-map-wrap svg path[id="CH"],
.exif-geo-map-wrap svg path[id="AT"],
.exif-geo-map-wrap svg path[id="IT"],
.exif-geo-map-wrap svg path[id="ES"],
.exif-geo-map-wrap svg path[id="PT"],
.exif-geo-map-wrap svg path[id="NO"],
.exif-geo-map-wrap svg path[id="SE"],
.exif-geo-map-wrap svg path[id="FI"],
.exif-geo-map-wrap svg path[id="DK"],
.exif-geo-map-wrap svg path[id="PL"],
.exif-geo-map-wrap svg path[id="CZ"],
.exif-geo-map-wrap svg path[id="SK"],
.exif-geo-map-wrap svg path[id="HU"],
.exif-geo-map-wrap svg path[id="RO"],
.exif-geo-map-wrap svg path[id="UA"] {
    fill: rgba(74,158,255,.58) !important;
    stroke: rgba(112,184,255,.92) !important;
    stroke-width: .7 !important;
    filter: drop-shadow(0 0 5px rgba(74,158,255,.42));
}

/* мягкое синее свечение как на /numbers */
.exif-geo-map-glow {
    width: 72%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(74,158,255,.13) 0%, rgba(74,158,255,.055) 34%, transparent 72%);
}

/* tooltip делаем меньше и не таким шумным */
.exif-geo-map-tooltip {
    right: 42px;
    bottom: 28px;
    min-width: 168px;
    max-width: 218px;
    padding: 10px 12px;
    background: rgba(10,14,20,.92);
    border-color: rgba(74,158,255,.38);
    box-shadow: 0 10px 34px rgba(0,0,0,.52), 0 0 18px rgba(74,158,255,.13);
}

.exif-geo-map-tooltip-services {
    display: none;
}

.exif-geo-map-tooltip-name {
    font-size: 13px;
}

.exif-geo-map-tooltip-tiers {
    margin-top: 2px;
}

/* на средних экранах не даём tooltip ломать карту */
@media (max-width: 980px) {
    .exif-geo-map-wrap svg {
        transform: scale(1.04);
        max-height: 340px;
    }

    .exif-geo-map-tooltip {
        width: min(100%, 360px);
        max-width: 360px;
    }
}

@media (max-width: 720px) {
    .exif-geo-map-block {
        margin-top: 26px;
        padding-top: 26px;
    }

    .exif-geo-map-tooltip-services {
        display: none;
    }
}

/* __EXIF_HISTORY_DETAIL_V2_P7E6O6B__ compact accordion record detail */
.exif-history-item-main { cursor: pointer; }
.exif-history-detail {
    flex-basis: 100%;          /* __O6D__ own row, full card width */
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.32s ease, opacity 0.2s ease, margin 0.2s ease, padding 0.2s ease;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
}
.exif-history-item.is-expanded .exif-history-detail {
    max-height: 1200px;
    opacity: 1;
    margin-top: 12px;
    padding-top: 12px;
    border-top-color: rgba(255, 255, 255, 0.07);
}
.exif-hd-field {
    display: grid;
    grid-template-columns: 70px 1fr 1fr;
    gap: 10px;
    align-items: baseline;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.exif-hd-field:last-child { border-bottom: 0; }
.exif-hd-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.42);
    margin-bottom: 0;
}
.exif-hd-flow {
    display: contents;        /* __O6D__ was/now become grid cols 2 & 3 */
}
.exif-hd-flow > span {
    font-size: 12px;
    line-height: 1.4;
}
.exif-hd-was {
    color: rgba(255, 255, 255, 0.45);
    word-break: break-word;
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.22);
}
.exif-hd-arrow {
    display: none;
}
.exif-hd-now {
    color: #76ee97;
    font-weight: 500;
    word-break: break-word;
}
.exif-hd-empty {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.42);
    padding: 8px 0;
}

/* EXIF Tools — Real Coverage + Numbers Style Reset
   Marker: __EXIF_GEO_MAP_CSS_P8C5__ */

/* Exact numbers-like composition */
.exif-geo-map-block {
    width: 100%;
    max-width: 100%;
    margin: 0 auto !important;
    padding: 20px 0 40px !important;
    text-align: center;
}

.exif-geo-map-head {
    max-width: 760px;
    margin: 0 auto 32px !important;
    padding: 0 20px;
}

.exif-geo-map-title {
    font-size: 13px;
    font-weight: 700;
    color: #555 !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.exif-geo-map-subtitle {
    max-width: none;
    margin: 0 auto !important;
    font-size: 14px;
    line-height: 1.45;
    color: #666 !important;
}

/* Kill card feeling — map should live like /numbers */
.exif-geo-map-card {
    position: relative;
    max-width: 100%;
    min-height: 0 !important;
    margin: 0 auto;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.exif-geo-map-card::before {
    display: none !important;
}

.exif-geo-map-wrap {
    position: relative;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    z-index: 1;
}

.exif-geo-map-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(74,158,255,.06) 0%, transparent 70%) !important;
    pointer-events: none;
}

.exif-geo-map-wrap svg {
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: 100%;
    max-height: none !important;
    height: auto !important;
    display: block;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

/* Base country style — copied from /numbers */
.exif-geo-map-wrap svg path.st1 {
    fill: #1e2230 !important;
    stroke: #2a2f40 !important;
    stroke-width: .3 !important;
    transition: fill .3s ease;
    filter: none !important;
}

/* Equator / decoration */
.exif-geo-map-wrap svg path.st0 {
    fill: none !important;
    stroke: rgba(255,255,255,.03) !important;
    stroke-width: .5 !important;
}

/* Active EXIF coverage — same logic as /numbers */
.exif-geo-map-wrap svg path.st1.has-coverage {
    fill: rgba(74,158,255,.35) !important;
    stroke: rgba(74,158,255,.5) !important;
    stroke-width: .5 !important;
}

.exif-geo-map-wrap svg path.st1.has-coverage:hover {
    fill: rgba(74,158,255,.55) !important;
    stroke: rgba(74,158,255,.8) !important;
    cursor: pointer;
    filter: brightness(1.3) !important;
}

/* No permanent tooltip/no noisy stat for EXIF */
.exif-geo-map-tooltip,
.exif-geo-map-stat {
    display: none !important;
}

/* Mobile: do not show huge world map */
@media (max-width: 720px) {
    .exif-geo-map-block {
        padding: 28px 16px 34px !important;
    }

    .exif-geo-map-head {
        padding: 0;
        margin-bottom: 18px !important;
    }

    .exif-geo-map-wrap {
        display: none !important;
    }

    .exif-geo-map-mobile-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 0;
    }

    .exif-geo-map-mobile-list span {
        min-height: 34px;
        padding: 8px 10px;
        color: rgba(255,255,255,.76);
        background: rgba(74,158,255,.065);
        border: 1px solid rgba(74,158,255,.16);
        border-radius: 10px;
        font-size: 12px;
        font-weight: 800;
    }
}

/* EXIF Tools — Geo Map Tooltip Like Numbers + City Counts
   Marker: __EXIF_GEO_MAP_CSS_P8C9__ */

.exif-geo-map-tooltip {
    display: block !important;
    position: fixed !important;
    z-index: 9999;
    pointer-events: none;
    min-width: 168px;
    max-width: 242px;
    padding: 10px 14px;
    text-align: left;
    background: rgba(13, 17, 23, .95);
    border: 1px solid rgba(74, 158, 255, .3);
    border-radius: 10px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 15px rgba(74,158,255,.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.exif-geo-map-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.exif-geo-map-tooltip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.exif-geo-map-tooltip-flag {
    font-size: 18px;
    line-height: 1;
}

.exif-geo-map-tooltip-name {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
}

.exif-geo-map-tooltip-services {
    display: block !important;
    margin-bottom: 7px;
    color: #4a9eff;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.exif-geo-map-tooltip-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.exif-geo-map-tooltip-tier {
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.5);
    font-size: 10px;
    line-height: 1.25;
    font-weight: 700;
}

.exif-geo-map-tooltip-tier.active {
    color: #fff;
}

.exif-geo-map-tooltip-tier.active.cities {
    color: #00a2ff;
    background: rgba(0,162,255,.2);
}

.exif-geo-map-tooltip-tier.active.gps {
    color: #4CAF50;
    background: rgba(76,175,80,.25);
}

.exif-geo-map-tooltip-tier.active.timezone {
    color: #FF9800;
    background: rgba(255,152,0,.2);
}

.exif-geo-map-wrap svg path.st1.has-coverage {
    transition: fill .25s ease, stroke .25s ease, filter .25s ease;
}

.exif-geo-map-wrap svg path.st1.has-coverage:hover {
    fill: rgba(74,158,255,.55) !important;
    stroke: rgba(74,158,255,.8) !important;
    cursor: pointer;
    filter: brightness(1.3) !important;
}

@media (max-width: 720px) {
    .exif-geo-map-tooltip {
        display: none !important;
    }
}

/* EXIF Tools — Tooltip compact size fix
   Marker: __EXIF_GEO_MAP_CSS_P8C10__ */

.exif-geo-map-tooltip {
    position: fixed !important;
    left: 0;
    top: 0;
    right: auto !important;
    bottom: auto !important;

    width: auto !important;
    min-width: 168px !important;
    max-width: 230px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    display: inline-block !important;
    overflow: hidden !important;
    white-space: normal !important;

    padding: 10px 14px !important;
    border-radius: 10px !important;

    box-sizing: border-box !important;
}

.exif-geo-map-tooltip-header,
.exif-geo-map-tooltip-services,
.exif-geo-map-tooltip-tiers {
    width: auto !important;
    max-width: 100% !important;
}

.exif-geo-map-tooltip-name {
    display: inline-block;
    max-width: 170px;
    vertical-align: top;
    word-break: break-word;
}

.exif-geo-map-tooltip-services {
    margin-bottom: 8px !important;
}

.exif-geo-map-tooltip-tiers {
    align-items: center;
}

.exif-geo-map-tooltip-tier {
    white-space: nowrap;
}

@media (max-width: 720px) {
    .exif-geo-map-tooltip {
        display: none !important;
    }
}

/* EXIF Tools — Tooltip follow cursor fix
   Marker: __EXIF_GEO_MAP_CSS_P8C11__ */

/* P8C10 accidentally pinned tooltip to viewport corner with left/top !important.
   Keep compact sizing, but allow JS inline left/top to move it near cursor. */
.exif-geo-map-tooltip.visible {
    pointer-events: none !important;
}



/* __EXIF_USE_CASES_CSS_P8E1B__ */
.exif-use-cases {
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid rgba(74, 158, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(74, 158, 255, 0.11), transparent 34%),
    rgba(18, 18, 18, 0.72);
}

.exif-use-cases__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.exif-use-cases__kicker {
  margin-bottom: 5px;
  color: #4a9eff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exif-use-cases h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.exif-use-cases__head p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.exif-use-cases__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.exif-use-cases__card {
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.exif-use-cases__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(74, 158, 255, 0.22);
  border-radius: 10px;
  background: rgba(74, 158, 255, 0.08);
  font-size: 15px;
}

.exif-use-cases__card h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.93);
  font-size: 13px;
  line-height: 1.25;
}

.exif-use-cases__card p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.4;
}

.exif-use-cases__note {
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(74, 158, 255, 0.14);
  border-radius: 12px;
  background: rgba(74, 158, 255, 0.055);
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 1040px) {
  .exif-use-cases__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .exif-use-cases__head {
    display: block;
  }

  .exif-use-cases__head p {
    margin-top: 8px;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .exif-use-cases {
    padding: 13px;
    border-radius: 16px;
  }

  .exif-use-cases__grid {
    grid-template-columns: 1fr;
  }
}

/* __EXIF_USE_CASES_VISUAL_POLISH_P8E2__ */
.exif-use-cases {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.exif-use-cases__head {
  display: grid !important;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr) !important;
  align-items: end !important;
  gap: 18px !important;
  margin: 0 0 10px !important;
  padding: 0 2px !important;
}

.exif-use-cases__kicker {
  margin-bottom: 4px !important;
  color: rgba(74, 158, 255, 0.9) !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
}

.exif-use-cases h2 {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: clamp(17px, 1.45vw, 21px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em !important;
}

.exif-use-cases__head p {
  max-width: 620px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.exif-use-cases__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 7px !important;
}

.exif-use-cases__card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  min-width: 0 !important;
  padding: 10px 11px !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.028) !important;
  box-shadow: none !important;
}

.exif-use-cases__card:hover {
  border-color: rgba(74, 158, 255, 0.22) !important;
  background: rgba(74, 158, 255, 0.045) !important;
}

.exif-use-cases__icon {
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 26px !important;
  border: 1px solid rgba(74, 158, 255, 0.16) !important;
  border-radius: 8px !important;
  background: rgba(74, 158, 255, 0.055) !important;
  font-size: 13px !important;
  opacity: 0.9 !important;
}

.exif-use-cases__card h3 {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 12px !important;
  line-height: 1.22 !important;
}

.exif-use-cases__card p {
  margin: 4px 0 0 !important;
  color: rgba(255, 255, 255, 0.46) !important;
  font-size: 11px !important;
  line-height: 1.34 !important;
}

.exif-use-cases__note {
  margin-top: 7px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.42) !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}

@media (max-width: 1040px) {
  .exif-use-cases__head {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  .exif-use-cases__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .exif-use-cases {
    margin-top: 12px !important;
  }

  .exif-use-cases__grid {
    grid-template-columns: 1fr !important;
  }

  .exif-use-cases__card {
    padding: 10px !important;
  }
}


/* __EXIF_USE_CASES_TABS_CSS_P8E3__ */
.exif-use-cases.exif-use-cases--tabs {
  max-width: 1120px !important;
  margin: 72px auto 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.exif-use-cases__intro {
  max-width: 760px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.exif-use-cases__intro .exif-use-cases__kicker {
  margin: 0 0 14px !important;
  color: rgba(255, 255, 255, 0.34) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.36em !important;
  text-transform: uppercase !important;
}

.exif-use-cases__intro h2 {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: clamp(28px, 3.1vw, 42px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.045em !important;
}

.exif-use-cases__intro p {
  max-width: 650px !important;
  margin: 14px auto 0 !important;
  color: rgba(255, 255, 255, 0.46) !important;
  font-size: clamp(15px, 1.3vw, 18px) !important;
  line-height: 1.45 !important;
}

.exif-use-cases__tabs {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 42px auto 26px !important;
}

.exif-use-cases__tab {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: rgba(255, 255, 255, 0.48) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

.exif-use-cases__tab:hover {
  color: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(74, 158, 255, 0.32) !important;
  background: rgba(74, 158, 255, 0.08) !important;
}

.exif-use-cases__tab.is-active {
  color: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(74, 158, 255, 0.72) !important;
  background: rgba(74, 158, 255, 0.13) !important;
  box-shadow: inset 0 0 0 1px rgba(74, 158, 255, 0.11), 0 0 26px rgba(74, 158, 255, 0.06) !important;
}

.exif-use-cases__panels {
  max-width: 1120px !important;
  margin: 0 auto !important;
}

.exif-use-cases__panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) !important;
  min-height: 205px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  border-radius: 19px !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

.exif-use-cases__panel[hidden] {
  display: none !important;
}

.exif-use-cases__panel-copy {
  padding: 34px 38px !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.exif-use-cases__panel-icon {
  margin-bottom: 22px !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 34px !important;
  line-height: 1 !important;
  filter: grayscale(0.15) !important;
}

.exif-use-cases__panel h3 {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(24px, 2.1vw, 30px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
}

.exif-use-cases__panel p {
  max-width: 430px !important;
  margin: 16px 0 0 !important;
  color: rgba(255, 255, 255, 0.48) !important;
  font-size: 17px !important;
  line-height: 1.58 !important;
}

.exif-use-cases__bullets {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 34px 38px !important;
  list-style: none !important;
}

.exif-use-cases__bullets li {
  display: grid !important;
  grid-template-columns: 9px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 18px !important;
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
}

.exif-use-cases__bullets li span {
  width: 8px !important;
  height: 8px !important;
  margin-top: 8px !important;
  border-radius: 999px !important;
  background: #4a9eff !important;
  box-shadow: 0 0 18px rgba(74, 158, 255, 0.45) !important;
}

.exif-use-cases__bullets li em {
  font-style: normal !important;
}

@media (max-width: 860px) {
  .exif-use-cases.exif-use-cases--tabs {
    margin-top: 48px !important;
    padding: 0 12px !important;
  }

  .exif-use-cases__tabs {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 4px !important;
  }

  .exif-use-cases__tab {
    flex: 0 0 auto !important;
  }

  .exif-use-cases__panel {
    grid-template-columns: 1fr !important;
  }

  .exif-use-cases__panel-copy {
    padding: 26px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .exif-use-cases__bullets {
    padding: 24px 26px 28px !important;
  }
}

@media (max-width: 560px) {
  .exif-use-cases__intro .exif-use-cases__kicker {
    font-size: 10px !important;
    letter-spacing: 0.24em !important;
  }

  .exif-use-cases__intro h2 {
    font-size: 26px !important;
  }

  .exif-use-cases__intro p {
    font-size: 14px !important;
  }

  .exif-use-cases__tab {
    min-height: 44px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
  }

  .exif-use-cases__panel p,
  .exif-use-cases__bullets li {
    font-size: 15px !important;
  }
}

/* __EXIF_USE_CASES_TABS_COMPACT_P8E4__ */
.exif-use-cases.exif-use-cases--tabs {
  max-width: 980px !important;
  margin: 34px auto 0 !important;
  padding: 0 14px !important;
}

.exif-use-cases__intro {
  max-width: 660px !important;
}

.exif-use-cases__intro .exif-use-cases__kicker {
  margin-bottom: 8px !important;
  font-size: 10px !important;
  letter-spacing: 0.28em !important;
}

.exif-use-cases__intro h2 {
  font-size: clamp(23px, 2.35vw, 31px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
}

.exif-use-cases__intro p {
  max-width: 560px !important;
  margin-top: 9px !important;
  font-size: clamp(13px, 1.05vw, 15px) !important;
  line-height: 1.4 !important;
}

.exif-use-cases__tabs {
  gap: 9px !important;
  margin: 26px auto 18px !important;
}

.exif-use-cases__tab {
  min-height: 39px !important;
  padding: 0 16px !important;
  border-radius: 11px !important;
  font-size: 13px !important;
  gap: 8px !important;
}

.exif-use-cases__panels {
  max-width: 980px !important;
}

.exif-use-cases__panel {
  min-height: 142px !important;
  border-radius: 16px !important;
}

.exif-use-cases__panel-copy {
  padding: 22px 28px !important;
}

.exif-use-cases__panel-icon {
  margin-bottom: 12px !important;
  font-size: 25px !important;
}

.exif-use-cases__panel h3 {
  font-size: clamp(19px, 1.65vw, 24px) !important;
  line-height: 1.12 !important;
}

.exif-use-cases__panel p {
  max-width: 360px !important;
  margin-top: 10px !important;
  font-size: 14px !important;
  line-height: 1.48 !important;
}

.exif-use-cases__bullets {
  gap: 12px !important;
  padding: 22px 28px !important;
}

.exif-use-cases__bullets li {
  grid-template-columns: 7px minmax(0, 1fr) !important;
  gap: 14px !important;
  font-size: 14px !important;
  line-height: 1.32 !important;
}

.exif-use-cases__bullets li span {
  width: 7px !important;
  height: 7px !important;
  margin-top: 6px !important;
}

@media (max-width: 860px) {
  .exif-use-cases.exif-use-cases--tabs {
    margin-top: 30px !important;
    padding: 0 12px !important;
  }

  .exif-use-cases__tabs {
    margin-top: 22px !important;
    margin-bottom: 14px !important;
  }

  .exif-use-cases__panel-copy {
    padding: 20px 22px !important;
  }

  .exif-use-cases__bullets {
    padding: 18px 22px 22px !important;
  }
}

@media (max-width: 560px) {
  .exif-use-cases.exif-use-cases--tabs {
    margin-top: 24px !important;
  }

  .exif-use-cases__intro h2 {
    font-size: 23px !important;
  }

  .exif-use-cases__intro p {
    font-size: 13px !important;
  }

  .exif-use-cases__tab {
    min-height: 38px !important;
    padding: 0 13px !important;
    font-size: 12px !important;
  }

  .exif-use-cases__panel p,
  .exif-use-cases__bullets li {
    font-size: 13px !important;
  }
}




/* __EXIF_PHOTO_FLOW_CSS_P8F2B__ */
.exif-photo-flow {
  max-width: 1120px;
  margin: 26px auto 0;
  padding: 28px 18px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.exif-photo-flow * {
  box-sizing: border-box;
}

.exif-photo-flow__head {
  max-width: 690px;
  margin: 0 auto 26px;
  text-align: center;
}

.exif-photo-flow__kicker {
  margin-bottom: 8px;
  color: rgba(74, 158, 255, 0.72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.exif-photo-flow__head h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.exif-photo-flow__head p {
  max-width: 610px;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  line-height: 1.48;
}

.exif-photo-flow__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 238px) minmax(54px, 1fr) minmax(0, 292px) minmax(54px, 1fr) minmax(0, 238px);
  align-items: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.exif-photo-flow__node {
  position: relative;
  min-height: 214px;
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.032);
  z-index: 2;
}

.exif-photo-flow__node--center {
  border-color: rgba(74, 158, 255, 0.25);
  background:
    radial-gradient(circle at 50% 0%, rgba(74, 158, 255, 0.12), transparent 62%),
    rgba(18, 24, 31, 0.48);
  box-shadow: 0 0 42px rgba(74, 158, 255, 0.055);
}

.exif-photo-flow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.55);
}

.exif-photo-flow__icon--raw,
.exif-photo-flow__icon--clean {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.exif-photo-flow__icon--raw span,
.exif-photo-flow__icon--clean span {
  position: absolute;
  inset: 8px 8px 18px;
  border-radius: 7px;
  background:
    radial-gradient(circle at 72% 35%, rgba(74, 158, 255, 0.45), transparent 22%),
    linear-gradient(135deg, rgba(74, 158, 255, 0.13), rgba(255, 255, 255, 0.045));
}

.exif-photo-flow__icon--raw i,
.exif-photo-flow__icon--clean i {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 8px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.exif-photo-flow__icon--clean {
  border-color: rgba(74, 158, 255, 0.24);
  background: rgba(74, 158, 255, 0.075);
}

.exif-photo-flow__icon--bumaga {
  border: 1px solid rgba(74, 158, 255, 0.2);
  background: rgba(74, 158, 255, 0.12);
  color: #4a9eff;
  font-size: 23px;
  box-shadow: 0 0 28px rgba(74, 158, 255, 0.12);
}

.exif-photo-flow__label {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.exif-photo-flow__node--center .exif-photo-flow__label {
  color: rgba(74, 158, 255, 0.78);
}

.exif-photo-flow__node h3 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.91);
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.exif-photo-flow__node ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.exif-photo-flow__node li {
  position: relative;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
  line-height: 1.25;
}

.exif-photo-flow__node li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.exif-photo-flow__node--center li::before {
  background: #4a9eff;
  box-shadow: 0 0 12px rgba(74, 158, 255, 0.48);
}

.exif-photo-flow__meta {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: rgba(74, 158, 255, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.exif-photo-flow__line {
  position: relative;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(74, 158, 255, 0.42) 0 9px,
    transparent 9px 18px
  );
  opacity: 0.72;
  z-index: 1;
}

.exif-photo-flow__line span {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #4a9eff;
  box-shadow: 0 0 18px rgba(74, 158, 255, 0.65);
  transform: translate(-50%, -50%);
}

.exif-photo-flow__line--left span {
  right: 10px;
}

.exif-photo-flow__line--right span {
  left: 18px;
}

@media (max-width: 920px) {
  .exif-photo-flow {
    margin-top: 22px;
    padding: 24px 12px 26px;
  }

  .exif-photo-flow__stage {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 520px;
  }

  .exif-photo-flow__node {
    min-height: auto;
    padding: 20px;
  }

  .exif-photo-flow__line {
    width: 1px;
    height: 32px;
    margin: 0 auto;
    background: repeating-linear-gradient(
      180deg,
      rgba(74, 158, 255, 0.42) 0 8px,
      transparent 8px 16px
    );
  }

  .exif-photo-flow__line span {
    left: 50% !important;
    top: 50%;
    right: auto;
  }
}

@media (max-width: 560px) {
  .exif-photo-flow__head h2 {
    font-size: 23px;
  }

  .exif-photo-flow__head p {
    font-size: 13px;
  }

  .exif-photo-flow__node h3 {
    font-size: 17px;
  }

  .exif-photo-flow__node li {
    font-size: 12px;
  }
}

/* __EXIF_PHOTO_FLOW_ANIMATION_P8F2C__ */
/* CSS-only polish for compact EXIF photo flow. No HTML/JS/backend changes. */
@media (prefers-reduced-motion: no-preference) {
  .exif-photo-flow__node--center {
    animation: exifPhotoFlowCenterPulseP8F2C 4.8s ease-in-out infinite;
    will-change: box-shadow, border-color, transform;
  }

  .exif-photo-flow__icon--bumaga {
    position: relative;
    animation: exifPhotoFlowIconGlowP8F2C 3.4s ease-in-out infinite;
    will-change: box-shadow, filter;
  }

  .exif-photo-flow__icon--bumaga::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(74, 158, 255, 0.18);
    border-radius: 16px;
    opacity: 0;
    transform: scale(0.76);
    pointer-events: none;
    animation: exifPhotoFlowIconRingP8F2C 3.4s ease-out infinite;
  }

  .exif-photo-flow__line {
    overflow: visible;
  }

  .exif-photo-flow__line::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.2), transparent);
    filter: blur(9px);
    opacity: 0;
    transform: translateY(-50%);
    pointer-events: none;
    animation: exifPhotoFlowTrackGlowP8F2C 3.2s ease-in-out infinite;
  }

  .exif-photo-flow__line span {
    left: 6%;
    right: auto;
    width: 9px;
    height: 9px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
    animation: exifPhotoFlowDotP8F2C 3.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
    will-change: left, top, opacity, transform;
  }

  .exif-photo-flow__line--right span,
  .exif-photo-flow__line--right::before {
    animation-delay: 1.05s;
  }

  .exif-photo-flow__stage > .exif-photo-flow__node--side:first-child li {
    animation: exifPhotoFlowRawTextP8F2C 3.2s ease-in-out infinite;
  }

  .exif-photo-flow__stage > .exif-photo-flow__node--side:first-child li::before {
    animation: exifPhotoFlowRawDotP8F2C 3.2s ease-in-out infinite;
  }

  .exif-photo-flow__stage > .exif-photo-flow__node--side:first-child li:nth-child(2),
  .exif-photo-flow__stage > .exif-photo-flow__node--side:first-child li:nth-child(2)::before {
    animation-delay: 0.16s;
  }

  .exif-photo-flow__stage > .exif-photo-flow__node--side:first-child li:nth-child(3),
  .exif-photo-flow__stage > .exif-photo-flow__node--side:first-child li:nth-child(3)::before {
    animation-delay: 0.32s;
  }

  .exif-photo-flow__stage > .exif-photo-flow__node--side:first-child li:nth-child(4),
  .exif-photo-flow__stage > .exif-photo-flow__node--side:first-child li:nth-child(4)::before {
    animation-delay: 0.48s;
  }

  .exif-photo-flow__stage > .exif-photo-flow__node--side:last-child li {
    animation: exifPhotoFlowCleanTextP8F2C 3.2s ease-in-out infinite;
    animation-delay: 1.2s;
  }

  .exif-photo-flow__stage > .exif-photo-flow__node--side:last-child li::before {
    animation: exifPhotoFlowCleanDotP8F2C 3.2s ease-in-out infinite;
    animation-delay: 1.2s;
  }

  .exif-photo-flow__stage > .exif-photo-flow__node--side:last-child li:nth-child(2),
  .exif-photo-flow__stage > .exif-photo-flow__node--side:last-child li:nth-child(2)::before {
    animation-delay: 1.36s;
  }

  .exif-photo-flow__stage > .exif-photo-flow__node--side:last-child li:nth-child(3),
  .exif-photo-flow__stage > .exif-photo-flow__node--side:last-child li:nth-child(3)::before {
    animation-delay: 1.52s;
  }

  .exif-photo-flow__stage > .exif-photo-flow__node--side:last-child li:nth-child(4),
  .exif-photo-flow__stage > .exif-photo-flow__node--side:last-child li:nth-child(4)::before {
    animation-delay: 1.68s;
  }

  @media (max-width: 920px) {
    .exif-photo-flow__line::before {
      left: 50%;
      right: auto;
      top: 0;
      bottom: 0;
      width: 14px;
      height: auto;
      background: linear-gradient(180deg, transparent, rgba(74, 158, 255, 0.2), transparent);
      transform: translateX(-50%);
    }

    .exif-photo-flow__line span {
      left: 50%;
      top: 6%;
      right: auto;
      animation-name: exifPhotoFlowDotVerticalP8F2C;
    }
  }
}

@keyframes exifPhotoFlowDotP8F2C {
  0% {
    left: 6%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.68);
  }
  12% {
    opacity: 0.92;
  }
  68% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    left: 94%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78);
  }
}

@keyframes exifPhotoFlowDotVerticalP8F2C {
  0% {
    top: 6%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.68);
  }
  12% {
    opacity: 0.92;
  }
  68% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    top: 94%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78);
  }
}

@keyframes exifPhotoFlowTrackGlowP8F2C {
  0%, 100% {
    opacity: 0;
  }
  24%, 70% {
    opacity: 0.68;
  }
}

@keyframes exifPhotoFlowCenterPulseP8F2C {
  0%, 100% {
    border-color: rgba(74, 158, 255, 0.25);
    box-shadow: 0 0 42px rgba(74, 158, 255, 0.055);
    transform: translateY(0);
  }
  50% {
    border-color: rgba(74, 158, 255, 0.38);
    box-shadow: 0 0 54px rgba(74, 158, 255, 0.105);
    transform: translateY(-1px);
  }
}

@keyframes exifPhotoFlowIconGlowP8F2C {
  0%, 100% {
    box-shadow: 0 0 28px rgba(74, 158, 255, 0.12);
    filter: none;
  }
  50% {
    box-shadow: 0 0 34px rgba(74, 158, 255, 0.24);
    filter: brightness(1.08);
  }
}

@keyframes exifPhotoFlowIconRingP8F2C {
  0% {
    opacity: 0;
    transform: scale(0.76);
  }
  36% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes exifPhotoFlowRawDotP8F2C {
  0%, 100% {
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: none;
  }
  48%, 74% {
    opacity: 0.28;
    background: rgba(74, 158, 255, 0.34);
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.2);
  }
}

@keyframes exifPhotoFlowRawTextP8F2C {
  0%, 100% {
    color: rgba(255, 255, 255, 0.46);
  }
  52%, 74% {
    color: rgba(255, 255, 255, 0.32);
  }
}

@keyframes exifPhotoFlowCleanDotP8F2C {
  0%, 38%, 100% {
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: none;
  }
  62%, 82% {
    opacity: 1;
    background: #4a9eff;
    box-shadow: 0 0 12px rgba(74, 158, 255, 0.48);
  }
}

@keyframes exifPhotoFlowCleanTextP8F2C {
  0%, 38%, 100% {
    color: rgba(255, 255, 255, 0.46);
  }
  62%, 82% {
    color: rgba(255, 255, 255, 0.64);
  }
}

@media (prefers-reduced-motion: reduce) {
  .exif-photo-flow__node--center,
  .exif-photo-flow__icon--bumaga,
  .exif-photo-flow__icon--bumaga::after,
  .exif-photo-flow__line::before,
  .exif-photo-flow__line span,
  .exif-photo-flow__node li,
  .exif-photo-flow__node li::before {
    animation: none !important;
    transition: none !important;
  }

  .exif-photo-flow__line span {
    opacity: 1;
  }
}

/* __EXIF_MARKETING_RHYTHM_LINES_P8G3__ */
/* Marketing rhythm polish: avoid stacked divider lines between accepted EXIF blocks. */
.exif-photo-flow {
  border-bottom: 0 !important;
  padding-bottom: 24px !important;
}

.exif-compare-block {
  border-top: 0 !important;
  margin-top: 22px !important;
  padding-top: 22px !important;
}

.exif-compare-head {
  margin-bottom: 22px !important;
}

@media (max-width: 720px) {
  .exif-photo-flow {
    padding-bottom: 22px !important;
  }

  .exif-compare-block {
    margin-top: 20px !important;
    padding-top: 20px !important;
  }
}

/* __EXIF_UNIFIED_SECTION_HEADERS_P8G4__ */
/* Unified premium section header system for EXIF marketing blocks. CSS-only. */
.exif-trace-head,
.exif-photo-flow__head,
.exif-compare-head,
.exif-geo-map-head,
.exif-use-cases__intro {
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.exif-trace-title,
.exif-photo-flow__head h2,
.exif-compare-title,
.exif-geo-map-title,
.exif-use-cases__intro h2,
.exif-use-cases h2 {
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: clamp(26px, 2.05vw, 32px) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.045em !important;
  text-align: center !important;
  text-transform: none !important;
}

.exif-trace-subtitle,
.exif-photo-flow__head p,
.exif-compare-subtitle,
.exif-geo-map-subtitle,
.exif-use-cases__intro p,
.exif-use-cases__head p {
  max-width: 660px !important;
  margin: 10px auto 0 !important;
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: clamp(13.5px, 1vw, 14.5px) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

/* Flow already works better without a kicker. Hide other small labels that break the unified rhythm. */
.exif-trace-kicker,
.exif-photo-flow__kicker,
.exif-use-cases.exif-use-cases--tabs .exif-use-cases__kicker {
  display: none !important;
}

/* GEO block had only a small label. Treat it as a real section title visually. */
.exif-geo-map-title {
  display: block !important;
  margin: 0 auto 10px !important;
  padding: 0 !important;
}

/* Keep header-to-content rhythm consistent without changing section spacing yet. */
.exif-trace-head,
.exif-photo-flow__head,
.exif-compare-head,
.exif-geo-map-head,
.exif-use-cases__intro {
  margin-bottom: 26px !important;
}

@media (max-width: 720px) {
  .exif-trace-title,
  .exif-photo-flow__head h2,
  .exif-compare-title,
  .exif-geo-map-title,
  .exif-use-cases__intro h2,
  .exif-use-cases h2 {
    font-size: clamp(24px, 7vw, 29px) !important;
    line-height: 1.1 !important;
  }

  .exif-trace-subtitle,
  .exif-photo-flow__head p,
  .exif-compare-subtitle,
  .exif-geo-map-subtitle,
  .exif-use-cases__intro p,
  .exif-use-cases__head p {
    font-size: 13.5px !important;
    line-height: 1.48 !important;
  }

  .exif-trace-head,
  .exif-photo-flow__head,
  .exif-compare-head,
  .exif-geo-map-head,
  .exif-use-cases__intro {
    margin-bottom: 22px !important;
  }
}

/* __EXIF_UNIFIED_SECTION_HEADERS_SCALE_P8G4B__ */
/* Scale down unified section headers after P8G4: keep one style, reduce visual weight. */
.exif-trace-title,
.exif-photo-flow__head h2,
.exif-compare-title,
.exif-geo-map-title,
.exif-use-cases__intro h2,
.exif-use-cases h2 {
  font-size: clamp(23px, 1.65vw, 28px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.04em !important;
}

.exif-trace-subtitle,
.exif-photo-flow__head p,
.exif-compare-subtitle,
.exif-geo-map-subtitle,
.exif-use-cases__intro p,
.exif-use-cases__head p {
  max-width: 620px !important;
  margin-top: 9px !important;
  font-size: 13.5px !important;
  line-height: 1.48 !important;
  color: rgba(255, 255, 255, 0.49) !important;
}

/* Keep headers compact after smaller title scale. */
.exif-trace-head,
.exif-photo-flow__head,
.exif-compare-head,
.exif-geo-map-head,
.exif-use-cases__intro {
  margin-bottom: 24px !important;
}

@media (max-width: 720px) {
  .exif-trace-title,
  .exif-photo-flow__head h2,
  .exif-compare-title,
  .exif-geo-map-title,
  .exif-use-cases__intro h2,
  .exif-use-cases h2 {
    font-size: clamp(22px, 6.2vw, 26px) !important;
    line-height: 1.12 !important;
  }

  .exif-trace-subtitle,
  .exif-photo-flow__head p,
  .exif-compare-subtitle,
  .exif-geo-map-subtitle,
  .exif-use-cases__intro p,
  .exif-use-cases__head p {
    font-size: 13px !important;
    line-height: 1.46 !important;
  }

  .exif-trace-head,
  .exif-photo-flow__head,
  .exif-compare-head,
  .exif-geo-map-head,
  .exif-use-cases__intro {
    margin-bottom: 21px !important;
  }
}

/* __EXIF_GEO_TITLE_NUMBERS_STYLE_P8G4D__ */
/* Clone /numbers coverage heading style for EXIF GEO block. CSS-only. */
.exif-geo-map-block {
  text-align: center !important;
}

.exif-geo-map-head {
  max-width: 690px !important;
  margin: 0 auto 32px !important;
  text-align: center !important;
}

.exif-geo-map-title {
  display: block !important;
  max-width: none !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #555 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 3px !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.exif-geo-map-subtitle {
  max-width: none !important;
  margin: 0 !important;
  color: #666 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

@media (max-width: 720px) {
  .exif-geo-map-head {
    margin-bottom: 26px !important;
  }

  .exif-geo-map-title {
    font-size: 12px !important;
    letter-spacing: 2.6px !important;
  }

  .exif-geo-map-subtitle {
    font-size: 13.5px !important;
  }
}

/* __EXIF_FAQ_CSS_P8H2__ */
/* FAQ block copied in rhythm from /numbers .sms-faq-* style, isolated for EXIF Tools */
.exif-faq-section {
    max-width: clamp(1280px, 86vw, 1420px);
    margin: 34px auto 76px;
    padding: 28px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
}

.exif-faq-header {
    margin-bottom: 24px;
}

.exif-faq-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
    text-transform: none;
    letter-spacing: normal;
}

.exif-faq-title::before {
    content: '?';
    font-size: 22px;
    line-height: 1;
    color: #ff2d2d;
    font-weight: 800;
    font-family: 'Roboto Mono', monospace;
}

.exif-faq-subtitle {
    color: #888;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.exif-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exif-faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.exif-faq-item:hover {
    border-color: rgba(74, 158, 255, 0.3);
    background: rgba(255,255,255,0.04);
}

.exif-faq-item.active {
    border-color: rgba(74, 158, 255, 0.4);
    background: rgba(74, 158, 255, 0.05);
}

.exif-faq-question {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    transition: all 0.2s ease;
}

.exif-faq-question:hover {
    background: transparent;
}

.exif-faq-question span {
    font-size: 14px;
    font-weight: 500;
    color: #e0e0e0;
    line-height: 1.5;
}

.exif-faq-icon {
    flex: 0 0 auto;
    color: rgba(255,255,255,0.38);
    transition: transform 0.2s ease, color 0.2s ease;
}

.exif-faq-item.active .exif-faq-icon {
    transform: rotate(180deg);
    color: rgba(74, 158, 255, 0.78);
}

.exif-faq-answer {
    padding: 0 20px 18px;
    color: #9b9b9b;
    font-size: 14px;
    line-height: 1.65;
}

.exif-faq-answer p {
    margin: 0;
}

@media (max-width: 768px) {
    .exif-faq-section {
        margin: 28px 15px 56px;
        padding: 22px 18px;
        border-radius: 14px;
    }

    .exif-faq-question {
        padding: 16px 16px;
    }

    .exif-faq-answer {
        padding: 0 16px 16px;
    }
}
/* /__EXIF_FAQ_CSS_P8H2__ */

/* __EXIF_FAQ_WIDTH_POLISH_P8H2B__ */
/* Narrower EXIF FAQ rhythm: keep /numbers visual style, but align better with EXIF marketing content */
.exif-faq-section {
    max-width: min(1120px, calc(100% - 120px));
    margin-top: 34px;
    margin-bottom: 72px;
}

@media (max-width: 1200px) {
    .exif-faq-section {
        max-width: calc(100% - 56px);
    }
}

@media (max-width: 768px) {
    .exif-faq-section {
        max-width: none;
        margin-left: 15px;
        margin-right: 15px;
    }
}
/* /__EXIF_FAQ_WIDTH_POLISH_P8H2B__ */

/* __EXIF_FAQ_FONT_NUMBERS_STYLE_P8H2C__ */
/* Match /numbers FAQ typography: Roboto / Arial sans-serif, isolated to EXIF FAQ only */
.exif-faq-section,
.exif-faq-section *,
.exif-faq-section button {
    font-family: 'Roboto', 'Arial', sans-serif;
}

.exif-faq-title {
    font-size: 18px;
    font-weight: 600;
}

.exif-faq-subtitle {
    font-size: 14px;
    font-weight: 400;
}

.exif-faq-question span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: normal;
}

.exif-faq-answer {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
}
/* /__EXIF_FAQ_FONT_NUMBERS_STYLE_P8H2C__ */

/* __EXIF_FAQ_TOP_AIR_P8H5__ */
/* More breathing room between EXIF use-cases block and FAQ */
.exif-faq-section {
    margin-top: 56px;
}

@media (max-width: 768px) {
    .exif-faq-section {
        margin-top: 42px;
    }
}
/* /__EXIF_FAQ_TOP_AIR_P8H5__ */


/* EXIF_MARKETING_FLOW_ADVANCED_OUTPUT_P8M2
   Marketing flow: keep Clean Output and add premium Advanced Output.
   Static UI only. No JS/backend/API/billing/package changes. */
.exif-photo-flow__stage {
  max-width: 1120px;
  grid-template-columns:
    minmax(0, 218px)
    minmax(44px, 0.68fr)
    minmax(0, 270px)
    minmax(44px, 0.68fr)
    minmax(0, 456px);
}

.exif-photo-flow__output-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.exif-photo-flow__node--output {
  min-height: 214px;
  padding: 22px 18px;
}

.exif-photo-flow__node--clean-output {
  background:
    radial-gradient(circle at 50% 0%, rgba(74, 158, 255, 0.07), transparent 60%),
    rgba(255, 255, 255, 0.032);
}

.exif-photo-flow__node--advanced {
  overflow: hidden;
  border-color: rgba(74, 158, 255, 0.3);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 215, 0, 0.13), transparent 30%),
    radial-gradient(circle at 12% 0%, rgba(74, 158, 255, 0.18), transparent 58%),
    rgba(18, 24, 31, 0.56);
  box-shadow:
    0 0 40px rgba(74, 158, 255, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.exif-photo-flow__node--advanced::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.18), transparent 36%, rgba(255, 215, 0, 0.09));
  opacity: 0.55;
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

.exif-photo-flow__node--advanced .exif-photo-flow__label {
  color: rgba(74, 158, 255, 0.84);
}

.exif-photo-flow__node--advanced li::before {
  background: #4a9eff;
  box-shadow: 0 0 12px rgba(74, 158, 255, 0.48);
}

.exif-photo-flow__icon--advanced {
  border: 1px solid rgba(74, 158, 255, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.15), transparent 62%),
    rgba(74, 158, 255, 0.12);
  color: #4a9eff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(74, 158, 255, 0.14);
}

@media (prefers-reduced-motion: no-preference) {
  .exif-photo-flow__output-stack .exif-photo-flow__node--output li {
    animation: exifPhotoFlowCleanTextP8F2C 3.2s ease-in-out infinite;
    animation-delay: 1.2s;
  }

  .exif-photo-flow__output-stack .exif-photo-flow__node--output li::before {
    animation: exifPhotoFlowCleanDotP8F2C 3.2s ease-in-out infinite;
    animation-delay: 1.2s;
  }

  .exif-photo-flow__output-stack .exif-photo-flow__node--output li:nth-child(2),
  .exif-photo-flow__output-stack .exif-photo-flow__node--output li:nth-child(2)::before {
    animation-delay: 1.36s;
  }

  .exif-photo-flow__output-stack .exif-photo-flow__node--output li:nth-child(3),
  .exif-photo-flow__output-stack .exif-photo-flow__node--output li:nth-child(3)::before {
    animation-delay: 1.52s;
  }

  .exif-photo-flow__output-stack .exif-photo-flow__node--output li:nth-child(4),
  .exif-photo-flow__output-stack .exif-photo-flow__node--output li:nth-child(4)::before {
    animation-delay: 1.68s;
  }

  .exif-photo-flow__node--advanced {
    animation: exifPhotoFlowAdvancedGlowP8M2 4.8s ease-in-out infinite;
  }

  .exif-photo-flow__icon--advanced {
    animation: exifPhotoFlowAdvancedIconP8M2 3.4s ease-in-out infinite;
  }
}

@keyframes exifPhotoFlowAdvancedGlowP8M2 {
  0%, 100% {
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow:
      0 0 40px rgba(74, 158, 255, 0.075),
      inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transform: translateY(0);
  }
  50% {
    border-color: rgba(74, 158, 255, 0.43);
    box-shadow:
      0 0 52px rgba(74, 158, 255, 0.13),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
  }
}

@keyframes exifPhotoFlowAdvancedIconP8M2 {
  0%, 100% {
    box-shadow: 0 0 28px rgba(74, 158, 255, 0.14);
    filter: none;
  }
  50% {
    box-shadow: 0 0 36px rgba(74, 158, 255, 0.28);
    filter: brightness(1.08);
  }
}

@media (max-width: 920px) {
  .exif-photo-flow__stage {
    grid-template-columns: 1fr;
  }

  .exif-photo-flow__output-stack {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .exif-photo-flow__output-stack {
    grid-template-columns: 1fr;
  }

  .exif-photo-flow__node--output {
    padding: 20px;
  }
}


/* EXIF_MARKETING_FLOW_VERTICAL_FORK_P8M3
   Marketing flow layout polish: one Bumaga engine splits into two output branches.
   CSS-only layout/lines + page cache bust. No JS/backend/API/billing/package changes. */
.exif-photo-flow__stage {
  max-width: 1060px;
  grid-template-columns:
    minmax(0, 230px)
    minmax(50px, 0.68fr)
    minmax(0, 292px)
    minmax(64px, 0.62fr)
    minmax(0, 330px);
  align-items: center;
}

.exif-photo-flow__output-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  width: 100%;
  max-width: 330px;
  padding-left: 22px;
  min-width: 0;
}

.exif-photo-flow__node--output {
  min-height: 190px;
  padding: 18px 20px;
}

.exif-photo-flow__node--output .exif-photo-flow__icon {
  width: 38px;
  height: 38px;
  margin-bottom: 13px;
  border-radius: 12px;
}

.exif-photo-flow__node--output h3 {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.18;
}

.exif-photo-flow__node--output li {
  font-size: 12.5px;
  line-height: 1.26;
}

.exif-photo-flow__line--right {
  align-self: center;
  width: 100%;
  height: 286px;
  margin: 0;
  overflow: visible !important;
  background: none !important;
  opacity: 1;
}

.exif-photo-flow__line--right::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    rgba(74, 158, 255, 0.46) 0 9px,
    transparent 9px 18px
  );
  box-shadow: 0 0 18px rgba(74, 158, 255, 0.18);
  opacity: 0.82;
  transform: translateY(-50%);
  animation: none !important;
}

.exif-photo-flow__line--right::after {
  content: "";
  position: absolute;
  right: 0;
  top: 23%;
  bottom: 23%;
  width: 1px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    180deg,
    rgba(74, 158, 255, 0.46) 0 8px,
    transparent 8px 16px
  );
  box-shadow: 0 0 18px rgba(74, 158, 255, 0.16);
  opacity: 0.82;
  animation: none !important;
}

.exif-photo-flow__line--right span {
  left: auto !important;
  right: -4px !important;
  top: 50% !important;
  width: 9px;
  height: 9px;
  opacity: 1 !important;
  transform: translateY(-50%) scale(1) !important;
  animation: none !important;
}

.exif-photo-flow__output-stack::before,
.exif-photo-flow__output-stack::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    rgba(74, 158, 255, 0.46) 0 8px,
    transparent 8px 16px
  );
  box-shadow: 0 0 18px rgba(74, 158, 255, 0.16);
  opacity: 0.82;
  z-index: 1;
  pointer-events: none;
}

.exif-photo-flow__output-stack::before {
  top: 24.5%;
}

.exif-photo-flow__output-stack::after {
  top: 75.5%;
}

.exif-photo-flow__output-stack > .exif-photo-flow__node {
  z-index: 2;
}

.exif-photo-flow__node--advanced {
  border-color: rgba(74, 158, 255, 0.34);
}

@media (prefers-reduced-motion: no-preference) {
  .exif-photo-flow__line--right::before,
  .exif-photo-flow__line--right::after,
  .exif-photo-flow__output-stack::before,
  .exif-photo-flow__output-stack::after {
    animation: exifPhotoFlowForkGlowP8M3 3.8s ease-in-out infinite;
  }
}

@keyframes exifPhotoFlowForkGlowP8M3 {
  0%, 100% {
    opacity: 0.64;
    filter: none;
  }
  50% {
    opacity: 0.94;
    filter: brightness(1.12);
  }
}

@media (max-width: 920px) {
  .exif-photo-flow__stage {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .exif-photo-flow__line--right {
    width: 1px;
    height: 34px;
    margin: 0 auto;
    background: repeating-linear-gradient(
      180deg,
      rgba(74, 158, 255, 0.42) 0 8px,
      transparent 8px 16px
    ) !important;
  }

  .exif-photo-flow__line--right::before,
  .exif-photo-flow__line--right::after,
  .exif-photo-flow__output-stack::before,
  .exif-photo-flow__output-stack::after {
    display: none !important;
  }

  .exif-photo-flow__line--right span {
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) scale(1) !important;
  }

  .exif-photo-flow__output-stack {
    max-width: 520px;
    padding-left: 0;
    gap: 12px;
  }

  .exif-photo-flow__node--output {
    min-height: auto;
    padding: 20px;
  }

  .exif-photo-flow__node--output .exif-photo-flow__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
  }

  .exif-photo-flow__node--output h3 {
    font-size: 17px;
  }

  .exif-photo-flow__node--output li {
    font-size: 12px;
  }
}


/* EXIF_MARKETING_FLOW_FORK_LINES_POLISH_P8M4
   Stronger readable fork: Bumaga engine splits into Clean and Advanced outputs.
   CSS-only visual polish. No JS/backend/API/billing/package changes. */
.exif-photo-flow__stage {
  grid-template-columns:
    minmax(0, 230px)
    minmax(62px, 0.7fr)
    minmax(0, 292px)
    minmax(92px, 0.74fr)
    minmax(0, 340px);
}

.exif-photo-flow__line--right {
  height: 302px;
  overflow: visible !important;
  isolation: isolate;
}

.exif-photo-flow__line--right::before {
  left: 0;
  right: -20px;
  top: 50%;
  height: 2px;
  background:
    linear-gradient(90deg, rgba(74, 158, 255, 0.1), rgba(74, 158, 255, 0.82), rgba(74, 158, 255, 0.44)),
    repeating-linear-gradient(90deg, rgba(74, 158, 255, 0.75) 0 10px, transparent 10px 19px);
  background-blend-mode: screen;
  box-shadow:
    0 0 18px rgba(74, 158, 255, 0.34),
    0 0 34px rgba(74, 158, 255, 0.16);
  opacity: 1;
}

.exif-photo-flow__line--right::after {
  right: -20px;
  top: 20.5%;
  bottom: 20.5%;
  width: 2px;
  background:
    linear-gradient(180deg, rgba(74, 158, 255, 0.25), rgba(74, 158, 255, 0.9), rgba(74, 158, 255, 0.25)),
    repeating-linear-gradient(180deg, rgba(74, 158, 255, 0.78) 0 9px, transparent 9px 18px);
  background-blend-mode: screen;
  box-shadow:
    0 0 18px rgba(74, 158, 255, 0.34),
    0 0 34px rgba(74, 158, 255, 0.15);
  opacity: 1;
}

.exif-photo-flow__line--right span {
  right: -24px !important;
  width: 12px;
  height: 12px;
  background: #4a9eff;
  box-shadow:
    0 0 0 4px rgba(74, 158, 255, 0.13),
    0 0 22px rgba(74, 158, 255, 0.86),
    0 0 42px rgba(74, 158, 255, 0.36);
  z-index: 4;
}

.exif-photo-flow__output-stack {
  max-width: 340px;
  padding-left: 38px;
}

.exif-photo-flow__output-stack::before,
.exif-photo-flow__output-stack::after {
  left: 0;
  width: 38px;
  height: 2px;
  background:
    linear-gradient(90deg, rgba(74, 158, 255, 0.84), rgba(74, 158, 255, 0.48)),
    repeating-linear-gradient(90deg, rgba(74, 158, 255, 0.78) 0 8px, transparent 8px 16px);
  background-blend-mode: screen;
  box-shadow:
    0 0 18px rgba(74, 158, 255, 0.28),
    0 0 30px rgba(74, 158, 255, 0.12);
  opacity: 1;
}

.exif-photo-flow__output-stack::before {
  top: 24%;
}

.exif-photo-flow__output-stack::after {
  top: 76%;
}

.exif-photo-flow__node--output::before {
  content: "";
  position: absolute;
  left: -45px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #4a9eff;
  box-shadow:
    0 0 0 4px rgba(74, 158, 255, 0.1),
    0 0 20px rgba(74, 158, 255, 0.72);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 5;
}

.exif-photo-flow__node--clean-output::before {
  top: 24%;
}

.exif-photo-flow__node--advanced::before {
  top: 76%;
}

.exif-photo-flow__node--advanced {
  box-shadow:
    0 0 46px rgba(74, 158, 255, 0.11),
    0 0 70px rgba(74, 158, 255, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (prefers-reduced-motion: no-preference) {
  .exif-photo-flow__line--right::before,
  .exif-photo-flow__line--right::after,
  .exif-photo-flow__output-stack::before,
  .exif-photo-flow__output-stack::after {
    animation: exifPhotoFlowForkLineBreathP8M4 3.8s ease-in-out infinite !important;
  }

  .exif-photo-flow__line--right span,
  .exif-photo-flow__node--output::before {
    animation: exifPhotoFlowForkDotPulseP8M4 2.7s ease-in-out infinite;
  }

  .exif-photo-flow__node--advanced::before {
    animation-delay: 0.45s;
  }
}

@keyframes exifPhotoFlowForkLineBreathP8M4 {
  0%, 100% {
    opacity: 0.68;
    filter: none;
  }
  50% {
    opacity: 1;
    filter: brightness(1.2);
  }
}

@keyframes exifPhotoFlowForkDotPulseP8M4 {
  0%, 100% {
    transform: translateY(-50%) scale(0.92);
    opacity: 0.76;
  }
  50% {
    transform: translateY(-50%) scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .exif-photo-flow__stage {
    grid-template-columns: 1fr;
  }

  .exif-photo-flow__output-stack {
    padding-left: 0;
    max-width: 520px;
  }

  .exif-photo-flow__line--right {
    height: 34px;
  }

  .exif-photo-flow__line--right::before,
  .exif-photo-flow__line--right::after,
  .exif-photo-flow__output-stack::before,
  .exif-photo-flow__output-stack::after,
  .exif-photo-flow__node--output::before {
    display: none !important;
  }

  .exif-photo-flow__line--right span {
    width: 10px;
    height: 10px;
    right: auto !important;
  }
}


/* EXIF_MARKETING_FLOW_SVG_FORK_OVERLAY_P8M5
   One-piece SVG fork connector: Bumaga engine -> Clean Output + Advanced Output.
   Hides earlier fragmented CSS fork lines on desktop. No JS/backend/API/billing/package changes. */
.exif-photo-flow__stage {
  max-width: 1060px;
  grid-template-columns:
    minmax(0, 230px)
    minmax(62px, 0.7fr)
    minmax(0, 292px)
    minmax(92px, 0.74fr)
    minmax(0, 340px);
}

.exif-photo-flow__fork-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
}

.exif-photo-flow__fork-path {
  fill: none;
  stroke: url(#exifForkLineP8M5);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 10 10;
  vector-effect: non-scaling-stroke;
  opacity: 0.92;
  filter:
    drop-shadow(0 0 8px rgba(74, 158, 255, 0.42))
    drop-shadow(0 0 20px rgba(74, 158, 255, 0.18));
}

.exif-photo-flow__fork-path--glow {
  stroke: rgba(74, 158, 255, 0.25);
  stroke-width: 10;
  stroke-dasharray: none;
  opacity: 0.32;
  filter: blur(7px);
}

.exif-photo-flow__fork-dot {
  fill: #4a9eff;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 7px rgba(74, 158, 255, 0.9))
    drop-shadow(0 0 20px rgba(74, 158, 255, 0.38));
}

.exif-photo-flow__fork-dot--engine,
.exif-photo-flow__fork-dot--output {
  opacity: 0.86;
}

.exif-photo-flow__fork-dot--split {
  stroke: rgba(74, 158, 255, 0.2);
  stroke-width: 7;
  opacity: 1;
}

/* Disable old fragmented right-side CSS connector from P8M3/P8M4 on desktop. */
.exif-photo-flow__line--right {
  background: none !important;
  opacity: 1 !important;
  overflow: visible !important;
}

.exif-photo-flow__line--right::before,
.exif-photo-flow__line--right::after,
.exif-photo-flow__line--right span,
.exif-photo-flow__output-stack::before,
.exif-photo-flow__output-stack::after,
.exif-photo-flow__node--output::before {
  display: none !important;
}

.exif-photo-flow__output-stack {
  padding-left: 38px;
  max-width: 340px;
}

.exif-photo-flow__output-stack > .exif-photo-flow__node {
  z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .exif-photo-flow__fork-path {
    animation: exifPhotoFlowSvgForkDashP8M5 4.6s linear infinite;
  }

  .exif-photo-flow__fork-path--glow {
    animation: exifPhotoFlowSvgForkGlowP8M5 3.8s ease-in-out infinite;
  }

  .exif-photo-flow__fork-dot--split {
    animation: exifPhotoFlowSvgForkSplitPulseP8M5 2.8s ease-in-out infinite;
  }

  .exif-photo-flow__fork-dot--output {
    animation: exifPhotoFlowSvgForkOutputPulseP8M5 3.2s ease-in-out infinite;
  }
}

@keyframes exifPhotoFlowSvgForkDashP8M5 {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -40;
  }
}

@keyframes exifPhotoFlowSvgForkGlowP8M5 {
  0%, 100% {
    opacity: 0.22;
  }
  50% {
    opacity: 0.42;
  }
}

@keyframes exifPhotoFlowSvgForkSplitPulseP8M5 {
  0%, 100% {
    opacity: 0.72;
    r: 7;
  }
  50% {
    opacity: 1;
    r: 9;
  }
}

@keyframes exifPhotoFlowSvgForkOutputPulseP8M5 {
  0%, 100% {
    opacity: 0.56;
    r: 4.5;
  }
  50% {
    opacity: 0.9;
    r: 5.5;
  }
}

@media (max-width: 920px) {
  .exif-photo-flow__fork-svg {
    display: none !important;
  }

  .exif-photo-flow__output-stack {
    padding-left: 0;
    max-width: 520px;
  }

  .exif-photo-flow__line--right {
    display: block !important;
    width: 1px;
    height: 34px;
    margin: 0 auto;
    background: repeating-linear-gradient(
      180deg,
      rgba(74, 158, 255, 0.42) 0 8px,
      transparent 8px 16px
    ) !important;
  }

  .exif-photo-flow__line--right span {
    display: block !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    width: 10px;
    height: 10px;
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) !important;
    animation: none !important;
  }
}

/* __EXIF_TARIFF_QUOTA_PANEL_CSS_P7E8__ — плашка тарифной квоты Advanced (вариант B, лесенка) */
.exif-tariff-quota-panel {
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(74, 158, 255, 0.28);
    background:
        radial-gradient(circle at top right, rgba(74, 158, 255, 0.12), transparent 60%),
        rgba(20, 26, 36, 0.92);
}
.exif-tariff-quota-panel[hidden] { display: none !important; }
.exif-tariff-quota-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.exif-tariff-quota-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: rgba(74, 158, 255, 0.16);
    color: #4a9eff;
    border: 1px solid rgba(74, 158, 255, 0.30);
}
.exif-tariff-quota-badge.is-vip {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.30);
}
.exif-tariff-quota-badge.is-admin {
    background: rgba(16, 185, 129, 0.14);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.30);
}
.exif-tariff-quota-tag {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: .03em;
}
.exif-tariff-quota-meter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.exif-tariff-quota-bar {
    flex: 1;
    height: 5px;
    background: #2a2f3a;
    border-radius: 3px;
    overflow: hidden;
}
.exif-tariff-quota-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #4a9eff, #00d4ff);
    transition: width 0.3s ease;
}
.exif-tariff-quota-badge.is-vip ~ .exif-tariff-quota-meter .exif-tariff-quota-bar-fill,
.exif-tariff-quota-panel.is-vip .exif-tariff-quota-bar-fill {
    background: linear-gradient(90deg, #a855f7, #c084fc);
}
.exif-tariff-quota-count {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    white-space: nowrap;
}
.exif-tariff-quota-count small {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}
.exif-tariff-quota-note {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 10px;
}
.exif-tariff-quota-next {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}
.exif-tariff-quota-next strong {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

/* __EXIF_TARIFF_QUOTA_HASQUOTA_CSS_P7E8__ — при активной тарифной квоте прячем строку Credits в пакетной панели */
.exif-package-panel.has-tariff-quota .exif-package-panel-balance,
.exif-package-panel.has-tariff-quota .exif-inline-pkg-balance,
.exif-package-panel.has-tariff-quota .exif-inline-flat-balance { display: none !important; }

/* __EXIF_TARIFF_QUOTA_BARFIX_P7E8__ — span-fill схлопывался без display:block */
.exif-tariff-quota-bar { display: inline-block; position: relative; min-width: 60px; height: 5px; line-height: 0; font-size: 0; }
.exif-tariff-quota-bar-fill { display: block; height: 5px; min-height: 5px; }

/* __EXIF_TARIFF_QUOTA_FLATHIDE_P7E8__ — при активной квоте прячем весь пакетный flat-блок, остаётся только тариф-плашка */
.exif-package-panel.has-tariff-quota .exif-inline-flat-head,
.exif-package-panel.has-tariff-quota .exif-inline-flat-single,
.exif-package-panel.has-tariff-quota .exif-inline-flat-sub,
.exif-package-panel.has-tariff-quota .exif-inline-flat-list,
.exif-package-panel.has-tariff-quota .exif-inline-flat-notice,
.exif-package-panel.has-tariff-quota .exif-inline-pkg-head,
.exif-package-panel.has-tariff-quota .exif-inline-pkg-title-row,
.exif-package-panel.has-tariff-quota .exif-inline-pkg-list,
.exif-package-panel.has-tariff-quota .exif-inline-pkg-notice,
.exif-package-panel.has-tariff-quota .exif-package-panel-copy,
.exif-package-panel.has-tariff-quota .exif-package-panel-buy { display: none !important; }
.exif-action-card.has-tariff-quota-card .exif-site-balance { display: none !important; }

/* __EXIF_TARIFF_QUOTA_HIDEALL_P7E8__ — при активной квоте прячем ВСЮ пакетную панель целиком (плашка квоты снаружи неё) */
.exif-package-panel.has-tariff-quota { display: none !important; }


/* __EXIF_CLEANUP_LIMITS_UI_CSS_P8K2__ */
.exif-cleanup-limits-p8k2 {
    width: 100%;
    max-width: 470px;
    margin: 11px auto 0;
    text-align: center;
}

.exif-cleanup-limits-p8k2[hidden] {
    display: none !important;
}

.exif-cleanup-limits-main-p8k2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3px 7px;
    color: rgba(255,255,255,.58);
    font-size: 11.5px;
    line-height: 1.4;
}

.exif-cleanup-limits-main-p8k2 strong {
    color: rgba(255,255,255,.88);
    font-weight: 800;
}

.exif-cleanup-limits-sep-p8k2 {
    color: rgba(255,255,255,.28);
}

.exif-cleanup-limits-plans-p8k2 {
    margin-top: 4px;
    color: rgba(255,255,255,.42);
    font-size: 10.5px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .exif-cleanup-limits-main-p8k2 {
        font-size: 10.5px;
    }

    .exif-cleanup-limits-plans-p8k2 {
        font-size: 10px;
    }
}


/* __EXIF_CLEANUP_DYNAMIC_QUOTA_UX_CSS_P8K4__ */

.exif-cleanup-limits-p8k2.is-exhausted
.exif-cleanup-limits-main-p8k2 {
    color: rgba(255, 196, 118, .92);
}

.exif-cleanup-limits-status-p8k4 {
    margin-top: 3px;
    color: rgba(255,255,255,.62);
    font-size: 10.8px;
    line-height: 1.4;
}

.exif-cleanup-limits-status-p8k4 strong {
    color: rgba(255,255,255,.90);
    font-weight: 800;
}

.exif-upload-zone.is-quota-exhausted-p8k4 {
    cursor: default;
    border-color: rgba(255,255,255,.13);
    box-shadow: none;
}

.exif-upload-zone.is-quota-exhausted-p8k4:hover,
.exif-upload-zone.is-quota-exhausted-p8k4.is-dragover {
    background: transparent;
    border-color: rgba(255,255,255,.13);
    box-shadow: none;
    transform: none;
}

.exif-upload-select.is-quota-exhausted-p8k4 {
    cursor: not-allowed;
    pointer-events: none;
    color: rgba(255,255,255,.48);
    background: rgba(255,255,255,.045);
    border-color: rgba(255,255,255,.10);
    box-shadow: none;
}

@media (max-width: 640px) {
    .exif-cleanup-limits-status-p8k4 {
        font-size: 10px;
    }
}


/* __EXIF_HEIC_PREVIEW_POLISH_P9A2__ */
.exif-preview-status-p9a2 {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px;
    text-align: center;
    color: rgba(244, 247, 251, 0.88);
    background: rgba(11, 15, 21, 0.88);
}

.exif-preview-status-p9a2[hidden] {
    display: none !important;
}

.exif-preview-spinner-p9a2 {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-top-color: rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    animation: exif-preview-spin-p9a2 0.8s linear infinite;
}

.exif-preview-status-text-p9a2 {
    max-width: 112px;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 650;
}

.exif-preview-status-p9a2.is-error
.exif-preview-spinner-p9a2 {
    display: none;
}

.exif-batch-thumb-p8f4 {
    position: relative;
}

.exif-batch-thumb-p8f4 .exif-preview-status-p9a2 {
    gap: 4px;
    padding: 4px;
}

.exif-batch-thumb-p8f4 .exif-preview-spinner-p9a2 {
    width: 17px;
    height: 17px;
}

.exif-batch-thumb-p8f4 .exif-preview-status-text-p9a2 {
    max-width: 78px;
    font-size: 8px;
}

@keyframes exif-preview-spin-p9a2 {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .exif-preview-spinner-p9a2 {
        animation-duration: 1.6s;
    }
}

/* __EXIF_ADV_ADMIN_COMPACT_UI_P7E9__ */
.exif-tariff-quota-panel.is-unlimited {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 0 0 10px 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.exif-tariff-quota-panel.is-unlimited .exif-tariff-quota-badge {
    margin: 0;
    padding: 3px 8px;
    font-size: 11px;
    line-height: 1.2;
}

/* __EXIF_ADV_TARIFF_COMPACT_UI_P7E12__ */
.exif-tariff-quota-panel.is-compact {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 0 0 10px 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.exif-tariff-quota-panel.is-compact .exif-tariff-quota-badge {
    margin: 0;
    padding: 3px 8px;
    font-size: 11px;
    line-height: 1.2;
}

.exif-tariff-quota-mini-plan,
.exif-tariff-quota-mini-count {
    display: inline-flex;
    align-items: center;
}

.exif-tariff-quota-mini-divider {
    margin: 0 1px;
    opacity: .45;
}

.exif-tariff-quota-mini-count {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
    opacity: .88;
}

/* __EXIF_ADV_BATCH_P2O11_BILLING_STYLE__
   Advanced Batch billing status.
   Visual-only layer over P2O10 billing logic. */

.exif-cleanup-limits-p8k2.is-advanced-billing-p2o11 {
    width: 100%;
    max-width: 560px;
    margin: 12px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.exif-advanced-billing-main-p2o11 {
    max-width: 520px;
    color: rgba(255,255,255,.58);
    font-size: 11.5px;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: .002em;
}

.exif-advanced-billing-status-p2o11 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    min-height: 23px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(74,158,255,.24);
    background: rgba(74,158,255,.09);
    color: rgba(141,193,255,.94);
    font-size: 10.5px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: .012em;
    white-space: normal;
}

.is-advanced-billing-p2o11.is-source-unlimited-p2o11
.exif-advanced-billing-status-p2o11 {
    color: #34d399;
    background: rgba(16,185,129,.11);
    border-color: rgba(16,185,129,.28);
}

.is-advanced-billing-p2o11.is-source-tariff-p2o11
.exif-advanced-billing-status-p2o11 {
    color: #8dc1ff;
    background: rgba(74,158,255,.10);
    border-color: rgba(74,158,255,.28);
}

.is-advanced-billing-p2o11.is-source-package-p2o11
.exif-advanced-billing-status-p2o11 {
    color: #c4a7ff;
    background: rgba(168,85,247,.10);
    border-color: rgba(168,85,247,.25);
}

.is-advanced-billing-p2o11.is-source-balance-p2o11
.exif-advanced-billing-status-p2o11 {
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.045);
    border-color: rgba(255,255,255,.12);
}

.is-advanced-billing-p2o11.is-source-login-p2o11
.exif-advanced-billing-status-p2o11 {
    color: rgba(255,255,255,.62);
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.10);
}


/* Selected Advanced Batch: same compact billing language. */

.exif-advanced-batch-billing-p2o11 {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin-top: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(74,158,255,.24);
    background: rgba(74,158,255,.08);
    color: #8dc1ff;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .01em;
    white-space: normal;
}

.exif-advanced-batch-billing-p2o11.is-source-unlimited-p2o11 {
    color: #34d399;
    background: rgba(16,185,129,.10);
    border-color: rgba(16,185,129,.27);
}

.exif-advanced-batch-billing-p2o11.is-source-tariff-p2o11 {
    color: #8dc1ff;
    background: rgba(74,158,255,.09);
    border-color: rgba(74,158,255,.27);
}

.exif-advanced-batch-billing-p2o11.is-source-package-p2o11 {
    color: #c4a7ff;
    background: rgba(168,85,247,.09);
    border-color: rgba(168,85,247,.24);
}

.exif-advanced-batch-billing-p2o11.is-source-balance-p2o11,
.exif-advanced-batch-billing-p2o11.is-source-login-p2o11 {
    color: rgba(255,255,255,.68);
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.11);
}

@media (max-width: 640px) {
    .exif-cleanup-limits-p8k2.is-advanced-billing-p2o11 {
        max-width: 100%;
        margin-top: 10px;
        gap: 5px;
    }

    .exif-advanced-billing-main-p2o11 {
        max-width: 360px;
        font-size: 10.5px;
    }

    .exif-advanced-billing-status-p2o11 {
        max-width: 360px;
        font-size: 10px;
        padding: 3px 8px;
    }

    .exif-advanced-batch-billing-p2o11 {
        max-width: 100%;
        font-size: 9.5px;
    }
}
