html, body {
    background-color: #f1f2f4;
    height: 100%;
}

body, .v-application, .v-application .text-body-1, .v-application .text-body-2 {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 600;
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.page-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
}

.v-card {
    border: 1px solid #e3e3e3 !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.app-topbar {
    border-bottom: 1px solid #e3e3e3 !important;
}

.app-topbar .app-title-link {
    color: #303030;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-topbar .app-title-link img {
    width: 22px;
    height: 22px;
}

.app-nav .v-list-item--active {
    background: rgba(0, 0, 0, 0.05);
}

.app-banners .v-alert {
    border-radius: 0;
}

.app-footer {
    background: transparent !important;
    color: #6d7175;
}

.app-footer a {
    color: #6d7175;
}

.bottom-nav-label {
    font-size: 10px;
    white-space: nowrap;
}

.sticky-save {
    position: sticky;
    bottom: 12px;
    z-index: 4;
}

.sticky-save .v-card__actions {
    flex-wrap: wrap;
    row-gap: 8px;
}

.sticky-save__hint {
    font-size: 12px;
    color: #6d7175;
    margin-right: auto;
    padding-right: 8px;
}

.sticky-save__hint--warning {
    color: #b28400;
}

.marker-settings .marker-choices {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.marker-settings .marker-choice {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    color: #303030;
}

.marker-settings .marker-choice:hover {
    border-color: #8a8a8a;
}

.marker-settings .marker-choice:focus-visible {
    outline: 2px solid #0094d5;
    outline-offset: 2px;
}

.marker-settings .marker-choice--selected {
    border-color: #303030;
    box-shadow: inset 0 0 0 1px #303030;
}

.marker-settings .marker-choice__image {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.marker-settings .marker-choice__image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.marker-settings .marker-choice__image--checker,
.marker-settings .custom-marker__preview-image {
    background-color: #fff;
    background-image:
        linear-gradient(45deg, #e9e9e9 25%, transparent 25%),
        linear-gradient(-45deg, #e9e9e9 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e9e9e9 75%),
        linear-gradient(-45deg, transparent 75%, #e9e9e9 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0;
}

.marker-settings .marker-choice__label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.marker-settings .marker-choice__status {
    font-size: 10px;
    color: #6d7175;
    line-height: 1.2;
}

.marker-settings .marker-choice__check {
    position: absolute;
    top: 6px;
    right: 6px;
    color: #29845a !important;
    background: #fff;
    border-radius: 50%;
}

.marker-settings .custom-marker {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e3e3e3;
}

.marker-settings .custom-marker__heading {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.marker-settings .custom-marker__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.marker-settings .custom-marker__size-hint {
    font-size: 12px;
    color: #6d7175;
    margin: 8px 0 0;
}

.marker-settings .marker-status {
    font-size: 12px;
    min-height: 18px;
    margin: 4px 0 0;
}

.marker-settings .marker-status--error {
    color: #e51c00;
}

.marker-settings .marker-status--warning {
    color: #b28400;
}

.marker-settings .marker-status--success {
    color: #29845a;
}

.marker-settings .marker-status--info {
    color: #6d7175;
}

.marker-settings .custom-marker__preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #fafafa;
}

.marker-settings .custom-marker__preview-image {
    width: 56px;
    height: 56px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    overflow: hidden;
}

.marker-settings .custom-marker__preview-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.marker-settings .custom-marker__preview-title {
    font-size: 13px;
    font-weight: 600;
}

.marker-settings .custom-marker__preview-sub {
    font-size: 12px;
    color: #6d7175;
}

.marker-settings .custom-marker__help {
    margin-top: 12px;
    border: 1px solid #e3e3e3;
    border-radius: 10px !important;
    overflow: hidden;
}

.marker-settings .custom-marker__help .v-expansion-panel {
    background-color: transparent;
}

.marker-settings .custom-marker__help .v-expansion-panel-header {
    font-size: 13px;
    min-height: 44px;
}

.marker-settings .custom-marker__help .v-expansion-panel-content__wrap {
    font-size: 13px;
    color: #303030;
}

.marker-settings .custom-marker__help ol {
    margin: 0 0 8px 18px;
    padding: 0;
}
