.proportions-box-square {
    position: relative;
    padding: 100% 0 0 !important;
    height: 0;
}

.proportions-box-content {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.background-cover {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.background-left-top {
    background-position: left top;
}

.background-left-center {
    background-position: left center;
}

.background-left-bottom {
    background-position: left bottom;
}

.background-right-top {
    background-position: right top;
}

.background-right-center {
    background-position: right center;
}

.background-right-bottom {
    background-position: right bottom;
}

.background-center-top {
    background-position: center top;
}

.background-center-center {
    background-position: center center;
}

.background-center-bottom {
    background-position: center bottom;
}

.border-width-1 {
    border-width: 1px !important;
}

.border-width-2 {
    border-width: 2px !important;
}

.border-width-3 {
    border-width: 3px !important;
}

.border-width-4 {
    border-width: 4px !important;
}

.border-width-6 {
    border-width: 6px !important;
}

.border-width-8 {
    border-width: 8px !important;
}

.border-width-12 {
    border-width: 12px !important;
}

.border-width-16 {
    border-width: 16px !important;
}

.border-width-24 {
    border-width: 24px !important;
}

.image-fit {
    object-fit: contain;
    object-position: center center;
}

.image-fit-left-top {
    object-position: left top;
}

.image-fit-left-center {
    object-position: left center;
}

.image-fit-left-bottom {
    object-position: left bottom;
}

.image-fit-right-top {
    object-position: right top;
}

.image-fit-right-center {
    object-position: right center;
}

.image-fit-right-bottom {
    object-position: right bottom;
}

.image-fit-center-top {
    object-position: center top;
}

.image-fit-center-center {
    object-position: center center;
}

.image-fit-center-bottom {
    object-position: center bottom;
}

.transition {
    transition: all 0.25s ease-in;
}

.transition-slow {
    transition: all 0.5s ease-in;
}

.transition-very-slow {
    transition: all 1s ease-in;
}

.line-height-1 {
    line-height: 1 !important;
}

.opacity-100 {
    opacity: 1 !important;
}

.opacity-85 {
    opacity: 0.85 !important;
}

.opacity-75 {
    opacity: 0.75 !important;
}

.opacity-50 {
    opacity: 0.50 !important;
}

.opacity-25 {
    opacity: 0.25 !important;
}

.opacity-0 {
    opacity: 0 !important;
}

.log-box {
    background: #111827;
    min-height: 220px;
    color: #d1fae5;
    border-radius: .5rem;
    padding: 1rem;
    max-height: 280px;
    overflow-y: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .9rem;
    overflow-anchor: none;
    contain: layout paint;
}

.log-line {
    opacity: 1;
    transform: translateY(0);
}

.log-line.log-line-enter {
    opacity: 0;
    transform: translateY(3px);
    animation: log-line-enter .22s ease forwards;
}

.log-line::before {
    content: ">";
    margin-right: .5rem;
    color: #6ee7b7;
}

.progress-sub {
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

#analysisPanel {
    overflow-anchor: none;
}

#statusText {
    min-height: 2.8em;
}

#extractionSubRow {
    min-height: 48px;
    transition: opacity .22s ease;
}

#extractionSubRow.is-hidden {
    visibility: hidden;
    opacity: 0;
}

.hero-image-switch {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(8px);
    will-change: opacity, transform;
    backface-visibility: hidden;
    transition: opacity .35s ease, transform .35s ease, max-height .35s ease, margin .35s ease;
}

.hero-image-switch.is-visible {
    max-height: 820px;
    opacity: 1;
    transform: translateY(0);
}

.hero-image-switch.is-hidden {
    max-height: 0;
    opacity: 0;
    transform: translateY(8px);
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.analysis-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    margin-right: 0.35rem;
    vertical-align: middle;
    animation: analysis-pulse 1.2s ease-in-out infinite;
}

@keyframes analysis-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.92);
    }
}

#activityHint.analysis-hint-visible {
    animation: hint-fade 0.4s ease;
}

@keyframes hint-fade {
    from {
        opacity: 0.6;
    }

    to {
        opacity: 1;
    }
}

@keyframes log-line-enter {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-image-switch,
    .log-line.log-line-enter,
    #extractionSubRow,
    #activityHint.analysis-hint-visible {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}