body {
    padding: 0;
    margin: 0;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
    background-color: #f2efe9;
}

iframe {
    border-radius: 15px;
}

#text {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -o-user-select: text;
    user-select: text;
}

html,
body {
    height: 100%;
    width: 100%;
}

#map {
    width: 100%;
    height: 100%;
}

#div-gpt-ad-1565843300729-0 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    min-height: 0 !important;
    height: auto;
    overflow: hidden;
    pointer-events: none;
}

#div-gpt-ad-1565843300729-0 iframe,
#div-gpt-ad-1565843300729-0 > div {
    pointer-events: auto;
}

.maplibregl-ctrl-top-left {
    top: var(--ad-offset-left, 0px);
    transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.maplibregl-ctrl-top-right {
    top: var(--ad-offset-right, 0px);
    transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#loading,
.loading {
    width: 100%;
    height: 1px
}

#loading {
    position: fixed;
    top: 0px;
    z-index: 999;
    overflow: hidden;
    background-color: #000;
    margin: auto;
    border-radius: 10px;
    -o-border-radius: 10px;
    -ms-border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px
}

.loading {
    background-color: #ffffffb8;
    margin-top: 0;
    margin-left: -100%;
    animation-name: bounce_loading;
    -o-animation-name: bounce_loading;
    -ms-animation-name: bounce_loading;
    -webkit-animation-name: bounce_loading;
    -moz-animation-name: bounce_loading;
    animation-duration: 1.5s;
    -o-animation-duration: 1.5s;
    -ms-animation-duration: 1.5s;
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-timing-function: linear;
    -o-animation-timing-function: linear;
    -ms-animation-timing-function: linear;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear
}

@keyframes bounce_loading {
    0% {
        margin-left: -100%
    }

    100% {
        margin-left: 100%
    }
}

@-o-keyframes bounce_loading {
    0% {
        margin-left: -100%
    }

    100% {
        margin-left: 100%
    }
}

@-ms-keyframes bounce_loading {
    0% {
        margin-left: -100%
    }

    100% {
        margin-left: 100%
    }
}

@-webkit-keyframes bounce_loading {
    0% {
        margin-left: -100%
    }

    100% {
        margin-left: 100%
    }
}

@-moz-keyframes bounce_loading {
    0% {
        margin-left: -100%
    }

    100% {
        margin-left: 100%
    }
}

button:focus {
    outline: 0;
}

#dw8,
#loader {
    width: 100%;
    height: 100%
}

#loader {
    position: absolute;
    z-index: 999;
    background-color: rgba(0, 0, 0, .3);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

#dw8 {
    position: fixed;
    top: 45%
}

.circle-loader {
    fill: transparent;
    stroke: #009688;
    stroke-width: 5;
    animation: dash 2s ease infinite, rotate 2s linear infinite
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 95;
        stroke-dashoffset: 0
    }

    50% {
        stroke-dasharray: 85, 95;
        stroke-dashoffset: -25
    }

    100% {
        stroke-dasharray: 85, 95;
        stroke-dashoffset: -93
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

#dbz_table span {
    font-size: 8px;
    font-weight: bold;
    color: black;
}

#dbz_legend {
    display: flex;
    width: 100%;
    direction: rtl;
    background: none;
    backdrop-filter: none;
    margin-bottom: 2px;
    opacity: 0.8;
}

.legend-item {
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    color: #222;
    position: relative;
    text-shadow: 0 0 4px #fff, 0 0 4px #fff;
}

.legend-item-content {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 20px;
}

.line-before,
.line-after {
    flex: 1 0 5px;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.line-after::after {
    display: none;
}

.legend-item:last-child .line-after::after {
    display: none;
}

/* Add gap between legend items */
.legend-item {
    padding-right: 4px;
}

.legend-item span {
    padding: 0 6px;
    white-space: nowrap;
}

.legend-item:last-child {
    border-left: none;
}

.maplibregl-ctrl-group button {
    width: 30px;
    height: 30px;
}

.mapy-geo-hidden {
    display: none !important;
}

.mapy-nav-cluster {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.maplibregl-ctrl-top-right {
    transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.22s ease, opacity 0.18s ease;
}

@media (max-width: 720px) {
    body.is-search-open .maplibregl-ctrl-top-right {
        transform: translateX(calc(100% + 24px));
        opacity: 0;
        pointer-events: none;
    }
}

.mapy-ctrl-group {
    display: inline-flex;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 16px 0px;
    background: #fff;
    gap: 1px;
    overflow: hidden;
}

.mapy-ctrl-group button {
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: rgba(1, 30, 57, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mapy-ctrl-group button:not(:first-child)::before {
    display: block;
    position: absolute;
    left: -1px;
    top: 6px;
    content: "";
    width: 1px;
    height: 20px;
    background: rgba(1, 30, 57, 0.08);
}

.mapy-ctrl-group button:hover {
    color: rgba(1, 30, 57, 0.85);
}

.mapy-ctrl-group button:active {
    background: rgba(1, 30, 57, 0.05);
}

.mapy-ctrl-group button svg {
    display: block;
    width: 24px;
    height: 24px;
}

.mapy-loc-btn.is-off {
    color: rgba(1, 30, 57, 0.4);
}

.mapy-loc-btn.is-on {
    color: rgba(1, 30, 57, 0.6);
}

.mapy-loc-btn.is-center {
    color: #2F80ED;
}

.mapy-loc-btn.is-center:hover {
    color: #1B6FD6;
}

/* Modern Settings Modal */
#settings-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9999;
    display: none;
    animation: backdropFadeIn 0.25s ease;
}

@keyframes backdropFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#settings-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    z-index: 10000;
    border-radius: 24px;
    max-height: 85vh;
    width: 90%;
    max-width: 420px;
    overflow: hidden;
    direction: rtl;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.settings-header {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.settings-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.close-btn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
    font-size: 16px;
    font-weight: bold;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.settings-content {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.settings-content::-webkit-scrollbar {
    width: 6px;
}

.settings-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.settings-section {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.settings-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 4px 0;
}

.settings-row:last-child {
    margin-bottom: 0;
}

.settings-label {
    font-size: 0.95rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0;
    transition: .3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background-color: #007AFF;
}

input:checked+.slider:before {
    transform: translateX(20px);
}

/* Selects */
select.modern-select {
    appearance: none;
    padding: 10px 30px 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    width: 100%;
    margin-top: 5px;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 10px;
    transition: border-color 0.2s;
}

select.modern-select:focus {
    border-color: #007AFF;
}

/* Badges */
.badge {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 6px;
}

.badge-pro {
    background: rgba(255, 215, 0, 0.2);
    color: #b8860b;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.badge-new {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    border: 1px solid rgba(0, 122, 255, 0.2);
}

.badge-exp {
    background: rgba(255, 59, 48, 0.1);
    color: #FF3B30;
    border: 1px solid rgba(255, 59, 48, 0.2);
}

/* Radio Group */
.radio-group {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px;
    border-radius: 10px;
    margin-top: 5px;
}

.radio-group label {
    flex: 1;
    text-align: center;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s;
    color: #666;
}

.radio-group input {
    display: none;
}

.radio-group input:checked+span {
    background: white;
    color: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.radio-group span {
    display: block;
    padding: 6px;
    border-radius: 6px;
}

/* Color Scheme Selector — one full-width card per scale, so the preview is the
   scale itself rather than a sliver of it. The gradients are set from JS, read
   out of the very palette table the radar is drawn with (see updateLegend). */
.scheme-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.scheme-option {
    cursor: pointer;
    display: block;
}

.scheme-option input {
    display: none;
}

.scheme-card {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.035);
    border: 1.5px solid transparent;
    transition: background 0.2s, border-color 0.2s;
}

.scheme-option input:checked+.scheme-card {
    background: #fff;
    border-color: #007AFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.scheme-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.scheme-name {
    font-size: 0.9rem;
    color: #444;
}

.scheme-option input:checked+.scheme-card .scheme-name {
    color: #000;
    font-weight: 600;
}

/* Empty ring until the scheme is the chosen one, then a filled tick. */
.scheme-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.scheme-option input:checked+.scheme-card .scheme-check {
    border-color: #007AFF;
    background: #007AFF;
}

.scheme-option input:checked+.scheme-card .scheme-check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Chequerboard behind the bar: these scales carry alpha, and a scheme whose
   drizzle is a wash rather than a colour has to look like one here too — over a
   flat white it would read as a solid pale blue instead. The palette gradient
   itself goes on .scheme-fill, from JS. */
.scheme-bar {
    display: block;
    width: 100%;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    background-color: #fff;
    background-image:
        linear-gradient(45deg, rgba(0, 0, 0, 0.09) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0, 0, 0, 0.09) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.09) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.09) 75%);
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0;
}

.scheme-fill {
    display: block;
    width: 100%;
    height: 100%;
}

.settings-hint {
    display: block;
    font-size: 0.75rem;
    color: #8a8a8e;
    margin-top: 2px;
}

.settings-row-top {
    align-items: flex-start;
    margin-top: 14px;
}

.settings-row-top .settings-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* The label stacks its title over its hint, so the title has to be its own row —
   otherwise a badge beside the text counts as a third stacked child and drops to
   a line of its own. */
.settings-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-text {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Search drawer — compact on desktop, full remaining width on phones */
.maplibregl-ctrl-top-left .mapy-search-ctrl {
    float: none;
    box-sizing: border-box;
    width: auto;
    max-width: calc(100vw - 20px);
    margin: 10px;
    pointer-events: none;
}

.mapy-search-ctrl .mapy-ctrl-group,
.mapy-search-ctrl .mapy-search-results {
    pointer-events: auto;
}

.mapy-tools-group,
.mapy-search-ctrl .mapy-ctrl-group {
    align-items: stretch;
}

.mapy-search-ctrl .mapy-ctrl-group.is-open {
    width: auto;
    box-sizing: border-box;
}

.mapy-search-ctrl .mapy-ctrl-group button {
    flex-shrink: 0;
}

.mapy-search-field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    width: 0;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-width 0.22s ease, opacity 0.18s ease;
}

.mapy-search-ctrl .mapy-ctrl-group.is-open .mapy-search-field {
    max-width: 260px;
    width: 260px;
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 720px) {
    .maplibregl-ctrl-top-left .mapy-search-ctrl {
        width: calc(100vw - 20px);
        max-width: none;
    }

    .mapy-search-ctrl .mapy-ctrl-group.is-open {
        width: 100%;
    }

    .mapy-search-ctrl .mapy-ctrl-group.is-open .mapy-search-field {
        max-width: 100%;
        width: auto;
    }
}

.mapy-search-field::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 1px;
    height: 20px;
    background: rgba(1, 30, 57, 0.08);
}

.mapy-search-field input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 32px;
    box-sizing: border-box;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 12px 0 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(1, 30, 57, 0.85);
    direction: rtl;
    text-align: right;
}

.mapy-search-field input::placeholder {
    color: rgba(1, 30, 57, 0.35);
    font-weight: 500;
}

.mapy-search-btn.is-open {
    color: #2F80ED;
}

.mapy-search-results {
    display: none;
    margin-top: 6px;
    background: #fff;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 16px 0px;
    overflow: hidden;
    max-height: 240px;
    overflow-y: auto;
    direction: rtl;
}

.mapy-search-results.is-open {
    display: block;
}

.mapy-search-results button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: right;
    padding: 9px 12px;
    border: 0;
    border-bottom: 1px solid rgba(1, 30, 57, 0.06);
    background: transparent;
    color: rgba(1, 30, 57, 0.85);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.35;
}

.mapy-search-results button:last-child {
    border-bottom: 0;
}

.mapy-search-results button:hover,
.mapy-search-results button:active {
    background: rgba(1, 30, 57, 0.05);
}

/* Local export — chooser + progress share the same top card */
#export-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    direction: rtl;
    pointer-events: none;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 0;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

#export-progress.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

#export-progress.is-choose {
    bottom: 0;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.12);
}

#export-progress[hidden] {
    display: none !important;
}

.export-progress-card {
    pointer-events: auto;
    max-width: 560px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 12px 10px;
    display: grid;
}

.export-panel {
    grid-area: 1 / 1;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.export-panel.is-off {
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
}

.export-chooser-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin-bottom: 8px;
}

.export-chooser-row {
    display: flex;
    gap: 8px;
}

.export-chooser-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #222;
    cursor: pointer;
    padding: 10px 8px;
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.export-chooser-btn:hover,
.export-chooser-btn:active {
    background: #fff;
    border-color: rgba(0, 121, 107, 0.45);
}

.export-chooser-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: rgba(1, 30, 57, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.export-chooser-icon svg {
    display: block;
}

.export-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.export-progress-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

#export-progress-label {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#export-progress-pct {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #00796b;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

#export-progress-stop {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.14);
    color: #333;
    cursor: pointer;
    padding: 5px 14px;
    border-radius: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

#export-progress-stop:hover,
#export-progress-stop:active {
    background: rgba(0, 0, 0, 0.06);
}

#export-progress-stop:disabled {
    opacity: 0.45;
    pointer-events: none;
}

.export-progress-track {
    margin-top: 8px;
    height: 5px;
    border-radius: 99px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

#export-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 99px;
    background: linear-gradient(90deg, #26a69a, #00897b 60%, #00796b);
    box-shadow: 0 0 8px rgba(0, 150, 136, 0.45);
    transition: width 0.18s linear;
}