:root {
    --snv-utility-ink: #172033;
    --snv-utility-muted: #667085;
    --snv-utility-line: #dfe4ec;
    --snv-utility-soft: #f6f8fb;
    --snv-utility-blue: #2563eb;
    --snv-utility-indigo: #5b5ce2;
    --snv-utility-danger: #dc3948;
}

.snv-utility-overlay,
.snv-utility-overlay *,
.snv-layer-dialog,
.snv-layer-dialog *,
.snv-floating-menu,
.snv-floating-menu * {
    box-sizing: border-box;
}

.snv-utility-overlay,
.snv-layer-dialog,
.snv-floating-menu {
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.snv-utility-overlay button,
.snv-layer-dialog button,
.snv-floating-menu button {
    font-family: inherit;
}

.snv-utility-overlay {
    display: none;
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 24px;
    background: rgba(15, 23, 42, .56);
    backdrop-filter: blur(5px);
    opacity: 0;
    z-index: 140;
}

#LoginPrompt.snv-utility-overlay,
#LicenseUpgradePrompt.snv-utility-overlay {
    background: rgba(15, 23, 42, .56);
    z-index: 140;
}

.snv-utility-modal {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 430px;
    min-height: 238px;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .34);
    color: var(--snv-utility-ink);
}

.snv-utility-header,
.snv-layer-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 16px 62px 16px 20px;
    border-bottom: 1px solid var(--snv-utility-line);
    background: linear-gradient(135deg, #fff 0%, #f7f9fd 100%);
}

.snv-utility-header small,
.snv-layer-header small {
    display: block;
    margin-bottom: 2px;
    color: var(--snv-utility-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}

.snv-utility-header h2,
.snv-layer-header h2 {
    margin: 0;
    color: var(--snv-utility-ink);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.25;
}

.snv-layer-header h2 { display: block; }
.snv-layer-header small { margin: 4px 0 0; color: var(--snv-utility-muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }

.snv-utility-symbol {
    position: relative;
    display: inline-grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: #e8efff;
    color: var(--snv-utility-blue);
    font-size: 20px;
    font-weight: 800;
}

.snv-utility-symbol--confirm { background: #fff2d9; color: #b96900; }
.snv-utility-symbol--alert { background: #e7f1ff; color: #2563eb; font-family: Georgia, serif; }
.snv-utility-symbol--license { background: #eeeaff; color: #6750d8; }
.snv-utility-symbol--license::before { content: ""; width: 17px; height: 17px; border: 3px solid currentColor; border-radius: 4px; transform: rotate(45deg); }
.snv-utility-symbol--login::before { content: ""; width: 19px; height: 15px; border: 2px solid currentColor; border-radius: 3px; box-shadow: inset 0 -5px 0 rgba(37, 99, 235, .14); }
.snv-utility-symbol--login::after { content: ""; position: absolute; top: 11px; left: 13px; width: 9px; height: 5px; border: 2px solid currentColor; border-bottom: 0; border-radius: 8px 8px 0 0; }
.snv-utility-symbol--layers::before,
.snv-utility-symbol--layers::after { content: ""; position: absolute; width: 20px; height: 12px; border: 2px solid currentColor; border-radius: 3px; transform: rotate(30deg) skewX(-20deg); }
.snv-utility-symbol--layers::before { top: 10px; }
.snv-utility-symbol--layers::after { top: 18px; }

.snv-utility-close {
    position: absolute;
    top: 17px;
    right: 17px;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: #eef1f6;
    color: #667085;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}

.snv-utility-close:hover { background: #e2e7ef; color: #172033; }

.snv-utility-body {
    display: grid;
    flex: 1;
    min-height: 84px;
    padding: 24px 28px 16px;
    overflow-y: auto;
    place-items: center;
}

.snv-utility-message-list {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #344054;
    font-size: 16px;
    font-weight: 550;
    line-height: 1.6;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.snv-utility-message-list li { height: auto !important; line-height: 1.6 !important; }

.snv-utility-message-list--bulleted {
    width: 100%;
    text-align: left;
}

.snv-utility-bullet-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.snv-utility-bullet-list li {
    position: relative;
    padding-left: 18px;
}

.snv-utility-bullet-list li::before {
    content: "-";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--snv-utility-blue);
    font-weight: 800;
}

.snv-utility-actions,
.snv-login-prompt-actions,
.snv-license-upgrade-prompt-actions,
.snv-layer-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px 18px;
    border-top: 1px solid #edf0f5;
    background: #fbfcfe;
}

#AlarmBox .snv-utility-actions,
#AlertBox .snv-utility-actions,
#LoginPrompt .snv-login-prompt-actions {
    justify-content: center;
}

.snv-button {
    min-width: 112px;
    height: 42px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 11px;
    cursor: pointer;
    font: 650 14px Pretendard, sans-serif;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.snv-button:hover { transform: translateY(-1px); }
.snv-button--secondary { border-color: #d8dee8; background: #fff; color: #344054; }
.snv-button--primary { background: linear-gradient(135deg, #3478f6, #5b5ce2); color: #fff; box-shadow: 0 8px 20px rgba(55, 92, 220, .22); }
.snv-button--danger { background: linear-gradient(135deg, #3478f6, #5b5ce2); color: #fff; box-shadow: 0 8px 20px rgba(55, 92, 220, .22); }

#LoginPrompt .snv-login-prompt-panel,
#LicenseUpgradePrompt .snv-license-upgrade-prompt-panel {
    position: relative;
    top: auto;
    left: auto;
    width: 450px;
    height: auto;
    min-height: 258px;
    transform: none;
}

.snv-login-prompt-message,
.snv-license-upgrade-prompt-message {
    position: static;
    flex: 1;
    width: auto;
    margin: 0;
    padding: 27px 35px 20px;
    color: #344054;
    font-size: 16px;
    font-weight: 550;
    line-height: 1.65;
    text-align: center;
}

.snv-login-prompt-actions,
.snv-license-upgrade-prompt-actions { position: static; transform: none; }

#AddressWelcomeDialog.snv-address-welcome {
    align-items: center;
    justify-content: center;
    z-index: 110;
    padding: 28px;
    background: transparent;
    backdrop-filter: none;
    pointer-events: none;
}

.snv-address-welcome__panel {
    width: min(760px, calc(100vw - 56px));
    min-height: 0;
    max-height: 84vh;
    max-height: min(84dvh, 760px);
    border: 1px solid rgba(224, 236, 255, .96);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(41, 72, 137, .3);
    pointer-events: auto;
}

.snv-address-welcome__hero {
    position: relative;
    flex: 0 0 auto;
    padding: 40px 82px 32px 42px;
    overflow: hidden;
    color: #1f2a44;
    background:
        radial-gradient(circle at 86% 12%, rgba(255, 255, 255, .78), transparent 30%),
        linear-gradient(130deg, #e8f4ff 0%, #edf0ff 52%, #f7efff 100%);
}

.snv-address-welcome__hero::before,
.snv-address-welcome__hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(83, 118, 190, .18);
    border-radius: 50%;
    pointer-events: none;
}

.snv-address-welcome__hero::before {
    top: -106px;
    right: -64px;
    width: 260px;
    height: 260px;
}

.snv-address-welcome__hero::after {
    right: 92px;
    bottom: -90px;
    width: 168px;
    height: 168px;
}

.snv-address-welcome__hero > * {
    position: relative;
    z-index: 1;
}

.snv-address-welcome__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    margin-bottom: 11px;
    padding: 4px 10px;
    border: 1px solid rgba(79, 113, 183, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
    color: #31527f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
}

.snv-address-welcome__hero h2 {
    margin: 0;
    font-size: clamp(24px, 3.4vw, 31px);
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: -.035em;
}

.snv-address-welcome__intro {
    display: grid;
    gap: 7px;
    max-width: 610px;
    margin-top: 17px;
    color: #526079;
    font-size: 14px;
    line-height: 1.7;
    word-break: keep-all;
}

.snv-address-welcome__intro p {
    margin: 0;
}

.snv-address-welcome__intro strong {
    padding: 1px 4px 2px;
    border-radius: 5px;
    background: rgba(84, 134, 246, .12);
    color: #285dd0;
    font-weight: 800;
}

.snv-address-welcome__feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 19px 0 0;
    padding: 0;
    list-style: none;
}

.snv-address-welcome__feature-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid #d6e4fb;
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    color: #344054;
    font-size: 11px;
    font-weight: 750;
}

.snv-address-welcome__feature-list li span {
    color: #6d61d4;
    font-size: 13px;
}

.snv-address-welcome__close.snv-utility-close {
    position: absolute !important;
    top: 20px;
    right: 20px;
    bottom: auto;
    left: auto;
    background: rgba(255, 255, 255, .7);
    color: #315a8f;
    box-shadow: 0 4px 14px rgba(68, 101, 166, .13);
}

.snv-address-welcome__close.snv-utility-close:hover {
    background: #fff;
    color: #21466f;
}

.snv-address-welcome__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 22px 24px 24px;
    overflow-y: auto;
    background: linear-gradient(180deg, #f5f9ff 0%, #fff 100%);
}

.snv-address-welcome__guide-card {
    display: flex;
    gap: 13px;
    min-width: 0;
    padding: 19px 20px;
    border: 1px solid #dce9ff;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(65, 103, 178, .08);
}

.snv-address-welcome__guide-card--tip {
    border-color: #e7e0ff;
    background: linear-gradient(145deg, #fff 0%, #fcfaff 100%);
}

.snv-address-welcome__guide-icon {
    display: grid;
    flex: 0 0 37px;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 12px;
    background: #edf3ff;
    font-size: 18px;
}

.snv-address-welcome__guide-card--tip .snv-address-welcome__guide-icon {
    background: #f1edff;
}

.snv-address-welcome__guide-card h3 {
    margin: 1px 0 7px;
    color: #1c2b48;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.snv-address-welcome__guide-card p {
    margin: 0;
    color: #5d6b82;
    font-size: 12px;
    line-height: 1.7;
    word-break: keep-all;
}

.snv-address-welcome__guide-card strong {
    color: #315fd0;
    font-weight: 800;
}

.snv-address-welcome__key {
    color: #315fd0;
    font-weight: 750;
    white-space: nowrap;
}

@media (max-width: 640px) {
    #AddressWelcomeDialog.snv-address-welcome {
        align-items: center;
        justify-content: center;
        padding: 14px;
    }

    .snv-address-welcome__panel {
        width: min(100%, 560px);
        max-height: 84vh;
        max-height: min(84dvh, 700px);
        border-radius: 20px;
    }

    .snv-address-welcome__hero {
        padding: 28px 58px 23px 23px;
    }

    .snv-address-welcome__hero h2 {
        font-size: 24px;
    }

    .snv-address-welcome__intro {
        margin-top: 13px;
        font-size: 13px;
    }

    .snv-address-welcome__feature-list {
        margin-top: 15px;
    }

    .snv-address-welcome__body {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 13px;
    }

    .snv-address-welcome__guide-card {
        padding: 14px;
    }

}

.snv-layer-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    display: none;
    width: 500px;
    height: min(600px, calc(100vh - 48px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 26px 72px rgba(15, 23, 42, .3);
    opacity: 0;
    transform: translate(-50%, -50%);
    z-index: 115;
}

.snv-layer-header { height: 80px; }
.snv-layer-columns { display: grid; grid-template-columns: minmax(0, 1fr) 56px 56px; gap: 12px; padding: 12px 24px; border-bottom: 1px solid var(--snv-utility-line); background: #f7f9fc; color: #667085; font-size: 11px; font-weight: 750; line-height: 16px; text-transform: uppercase; }
.snv-layer-columns span:not(:first-child) { text-align: center; }
.snv-layer-scroll { min-height: 0; height: calc(100% - 194px); padding: 12px 16px; overflow-y: auto; }
.snv-layer-tree { margin: 0; padding: 0; list-style: none; }
.snv-layer-actions { position: absolute; right: 0; bottom: 0; left: 0; }

#Layer_Menu .snv-layer-actions {
    min-height: 70px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px 16px;
}

#Layer_Menu .snv-layer-actions .snv-button {
    min-width: 124px;
    min-height: 42px;
}

.snv-layer-tree .treeli { position: relative; left: auto !important; width: 100%; min-height: 38px; }
.snv-layer-tree > .treeli { margin-bottom: 8px; border: 1px solid var(--snv-utility-line); border-radius: 12px; background: #fff; overflow: hidden; }
.snv-layer-tree .caret { position: relative; display: flex; width: 100%; min-height: 42px; padding: 0 42px 0 38px; align-items: center; border: 0; background: #f5f7fb; color: #344054; cursor: pointer; font: 750 13px Pretendard, sans-serif; text-align: left; }
.snv-layer-tree .caret::before { content: ""; position: absolute; left: 17px; width: 7px; height: 7px; border-right: 2px solid #667085; border-bottom: 2px solid #667085; transform: rotate(-45deg); transition: transform .15s ease; }
.snv-layer-tree .caret.caret-down::before { transform: rotate(45deg); }
.snv-layer-tree .nested { margin: 0; padding: 4px 8px; list-style: none; }
.snv-layer-tree .nested:not(.active) { display: none; }
.snv-layer-tree .nested .treeli { display: grid; min-height: 44px; grid-template-columns: minmax(0, 1fr) 56px 56px; gap: 12px; align-items: center; padding: 6px 10px 6px 14px; border-radius: 9px; }
.snv-layer-tree .nested .treeli:hover { background: #f5f8ff; }
.snv-layer-tree .treeli_icon_layer { overflow: hidden; color: #344054; font-size: 13px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.snv-layer-tree .Layer_Menu_check { position: static; justify-self: center; width: 20px; height: 20px; accent-color: var(--snv-utility-blue); }
.snv-layer-tree .Layer_Menu_color { position: static; justify-self: center; width: 32px; height: 28px; padding: 2px; border: 1px solid #ccd4e0; border-radius: 8px; background: #fff; }

.snv-floating-menu {
    position: absolute;
    display: none;
    width: 310px;
    padding: 12px;
    border: 1px solid rgba(210, 218, 231, .95);
    border-radius: 17px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 58px rgba(15, 23, 42, .24);
    color: var(--snv-utility-ink);
    opacity: 0;
    z-index: 116;
}

.snv-floating-menu::before { content: ""; position: absolute; top: -7px; right: 40px; width: 14px; height: 14px; border-top: 1px solid #d2dae7; border-left: 1px solid #d2dae7; background: #fff; transform: rotate(45deg); }
.snv-floating-menu-header { display: flex; align-items: center; gap: 11px; padding: 5px 6px 12px; border-bottom: 1px solid #e8ecf2; }
.snv-floating-menu-header strong { display: block; font-size: 15px; font-weight: 750; }
.snv-floating-menu-header small { display: block; margin-top: 3px; color: var(--snv-utility-muted); font-size: 11px; }
.snv-menu-title-icon {
    display: block;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    box-sizing: border-box;
    padding: 5px;
    border-radius: 11px;
    background: linear-gradient(135deg, #eaf1ff, #dce8ff);
    object-fit: contain;
}
.snv-floating-menu-group { display: grid; gap: 6px; padding-top: 11px; }
.snv-floating-menu-label { padding: 0 5px 2px; color: #667085; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

.snv-menu-option {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: #344054;
    cursor: pointer;
    text-align: left;
}

.snv-menu-option > span:not(.snv-css-icon):not(.snv-switch) { font-size: 13px; font-weight: 700; }
.snv-menu-option > small { color: #667085; font-size: 11px; }
.snv-menu-option:hover { background: #f4f7fc; }
#viewBox .snv-menu-option:hover { background: #f4f7fc; }
.snv-menu-option.is-active,
.snv-menu-option[aria-checked="true"] { border-color: #bfd2ff; background: #edf3ff; color: #174ea6; }
#viewBox .snv-menu-option.is-active,
#viewBox .snv-menu-option[aria-checked="true"],
#viewBox .snv-menu-option.is-active:hover,
#viewBox .snv-menu-option[aria-checked="true"]:hover {
    border-color: #bfd2ff;
    background: #edf3ff;
    color: #174ea6;
}
.snv-menu-option-icon {
    display: block;
    width: 34px;
    height: 34px;
    box-sizing: border-box;
    padding: 5px;
    border-radius: 11px;
    background: linear-gradient(135deg, #eaf1ff, #dce8ff);
    object-fit: contain;
}
.snv-menu-option[aria-checked="true"] .snv-menu-option-icon { background: #dbe8ff; }
.snv-menu-option--switch { grid-template-columns: 40px minmax(0, 1fr) 42px; min-height: 64px; }
.snv-menu-option--switch > span:nth-child(2) small { display: block; margin-top: 3px; color: #667085; font-size: 11px; font-weight: 500; }

#SettingBox_button1,
#SettingBox_button2,
#SettingBox_button3 {
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

#SettingBox_button1 > .snv-menu-option-icon,
#SettingBox_button2 > .snv-menu-option-icon,
#SettingBox_button3 > .snv-menu-option-icon { justify-self: start; }
#SettingBox_button1 > span:nth-child(2),
#SettingBox_button2 > span:nth-child(2),
#SettingBox_button3 > span:nth-child(2) { min-width: 0; justify-self: stretch; }
#SettingBox_button1 > .snv-switch,
#SettingBox_button2 > .snv-switch,
#SettingBox_button3 > .snv-switch { justify-self: end; }

.snv-switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #cfd6e1; transition: background .15s ease; }
.snv-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(15, 23, 42, .25); transition: transform .15s ease; }
.snv-menu-option[aria-checked="true"] .snv-switch { background: var(--snv-utility-blue); }
.snv-menu-option[aria-checked="true"] .snv-switch::after { transform: translateX(16px); }

.snv-view-menu { top: 108px; right: 78px; }
.snv-setting-menu { top: 108px; right: 118px; }
.snv-result-display-menu { right: 96px; bottom: -112px; width: 325px; }
.snv-result-display-menu::before { top: auto; right: -7px; bottom: 96px; border-top: 1px solid #d2dae7; border-right: 1px solid #d2dae7; border-left: 0; transform: rotate(45deg); }

.snv-css-icon {
    position: relative;
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #eaf1ff, #dce8ff);
    color: #2563eb;
}

.snv-css-icon::before,
.snv-css-icon::after { content: ""; position: absolute; }
.snv-css-icon--sliders::before { width: 18px; height: 14px; background: linear-gradient(currentColor,currentColor) 0 1px/18px 2px no-repeat, linear-gradient(currentColor,currentColor) 0 7px/18px 2px no-repeat, linear-gradient(currentColor,currentColor) 0 13px/18px 2px no-repeat; }
.snv-css-icon--sliders::after { width: 4px; height: 4px; border: 2px solid currentColor; border-radius: 50%; box-shadow: 8px 6px 0 -2px #e5edff, 8px 6px 0 0 currentColor, -3px 12px 0 -2px #e5edff, -3px 12px 0 0 currentColor; transform: translate(-3px,-6px); }
.snv-css-icon--view::before { width: 21px; height: 13px; border: 2px solid currentColor; border-radius: 50% 50% 46% 46%; transform: rotate(-4deg); }
.snv-css-icon--view::after { width: 6px; height: 6px; border: 2px solid currentColor; border-radius: 50%; }
.snv-css-icon--isometric::before { width: 17px; height: 17px; border: 2px solid currentColor; transform: rotate(30deg) skew(-5deg); }
.snv-css-icon--isometric::after { width: 2px; height: 17px; background: currentColor; box-shadow: 7px 4px 0 -1px currentColor; transform: rotate(-30deg); }
.snv-css-icon--perspective::before { width: 20px; height: 17px; border: 2px solid currentColor; clip-path: polygon(16% 0,100% 14%,84% 100%,0 82%); }
.snv-css-icon--perspective::after { width: 2px; height: 19px; background: currentColor; transform: rotate(42deg); }
.snv-css-icon--map::before { width: 22px; height: 18px; border: 2px solid currentColor; background: linear-gradient(70deg,transparent 30%,currentColor 31% 35%,transparent 36% 65%,currentColor 66% 70%,transparent 71%); clip-path: polygon(0 14%,31% 0,67% 14%,100% 0,100% 86%,67% 100%,31% 86%,0 100%); }
.snv-css-icon--satellite::before { width: 22px; height: 22px; border: 2px solid currentColor; border-radius: 50%; background: radial-gradient(circle at 32% 32%,#9fd3ff 0 14%,transparent 15%), radial-gradient(circle at 65% 63%,#72bd86 0 20%,transparent 21%); }
.snv-css-icon--window-point::before { width: 20px; height: 18px; border: 2px solid currentColor; background: linear-gradient(90deg,transparent 46%,currentColor 47% 54%,transparent 55%),linear-gradient(transparent 46%,currentColor 47% 54%,transparent 55%); }
.snv-css-icon--window-point::after { width: 6px; height: 6px; border: 2px solid #fff; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 2px #f59e0b; }
.snv-css-icon--parcel::before { width: 21px; height: 17px; border: 2px solid currentColor; border-radius: 3px 8px 3px 7px; transform: skew(-12deg); }
.snv-css-icon--parcel::after { width: 14px; height: 7px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; border-radius: 50%; }
.snv-css-icon--sun::before,.snv-css-icon--total-sun::before { width: 13px; height: 13px; border: 2px solid #f59e0b; border-radius: 50%; background: #ffd166; box-shadow: 0 -10px 0 -5px #f59e0b,0 10px 0 -5px #f59e0b,10px 0 0 -5px #f59e0b,-10px 0 0 -5px #f59e0b; }
.snv-css-icon--continuous-sun::before { width: 17px; height: 17px; border: 2px solid #f59e0b; border-radius: 50%; }
.snv-css-icon--continuous-sun::after { width: 7px; height: 5px; border-left: 2px solid #f59e0b; border-bottom: 2px solid #f59e0b; transform: translate(2px,-2px); }
.snv-css-icon--threshold::before { width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 50%; }
.snv-css-icon--threshold::after { width: 10px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translate(1px,-1px); }
.snv-css-icon--decrease::before { width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; }
.snv-css-icon--decrease::after { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translate(5px,4px) rotate(45deg); }
.snv-css-icon--sky::before { width: 22px; height: 12px; border-radius: 12px 12px 3px 3px; background: linear-gradient(#56a9ff,#bfe3ff); }
.snv-css-icon--sky::after { bottom: 8px; width: 23px; height: 2px; background: currentColor; }
.snv-css-icon--distance::before { width: 21px; height: 2px; background: currentColor; }
.snv-css-icon--distance::after { width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; box-shadow: 9px 9px 0 -3px #e5edff,9px 9px 0 -1px currentColor; transform: rotate(45deg); }

.snv-legend-settings-trigger,
.snv-canvas-tool-button {
    display: grid;
    padding: 0;
    place-items: center;
    border: 0;
    cursor: pointer;
}

.snv-legend-settings-trigger { position: absolute; right: 30px; bottom: -30px; width: 38px; height: 38px; border-radius: 13px; }

#Setting_button,
#view_box_button,
#view_inside_button_1view,
#colorvalueBox_menu_Button {
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(145deg, #3478f6 0%, #5b5ce2 100%);
    box-shadow:
        0 8px 20px rgba(52, 84, 196, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition:
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

#Setting_button:hover,
#view_box_button:hover,
#view_inside_button_1view:hover,
#colorvalueBox_menu_Button:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: linear-gradient(145deg, #4690ff 0%, #6d67f2 100%);
    box-shadow:
        0 10px 24px rgba(52, 84, 196, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

#Setting_button:active,
#view_box_button:active,
#view_inside_button_1view:active,
#colorvalueBox_menu_Button:active,
#Setting_button[aria-expanded="true"],
#view_box_button[aria-expanded="true"],
#colorvalueBox_menu_Button[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.28);
    background: linear-gradient(145deg, #2563eb 0%, #4f46e5 100%);
    box-shadow:
        0 6px 16px rgba(45, 68, 170, 0.3),
        inset 0 1px 2px rgba(15, 23, 42, 0.16);
    transform: translateY(0);
}

#Setting_button:focus-visible,
#view_box_button:focus-visible,
#view_inside_button_1view:focus-visible,
#colorvalueBox_menu_Button:focus-visible {
    outline: 3px solid #bfdbfe;
    outline-offset: 3px;
    box-shadow:
        0 0 0 1px #2563eb,
        0 8px 20px rgba(52, 84, 196, 0.3);
}
.snv-legend-settings-trigger .snv-css-icon,
.snv-canvas-tool-button .snv-css-icon { width: 28px; height: 28px; border-radius: 9px; background: transparent; color: #fff; transform: scale(.78); }
.snv-legend-settings-trigger-icon {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
    pointer-events: none;
    filter: brightness(0) invert(1);
}

.snv-button:focus-visible,
.snv-utility-close:focus-visible,
.snv-menu-option:focus-visible,
.snv-legend-settings-trigger:focus-visible,
.snv-canvas-tool-button:focus-visible,
.snv-layer-tree button:focus-visible,
.snv-layer-tree input:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

@media (max-height: 760px) {
    .snv-layer-dialog { height: calc(100vh - 36px); }
    .snv-view-menu,.snv-setting-menu { max-height: calc(100vh - 126px); overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .snv-button,.snv-switch,.snv-switch::after,.snv-layer-tree .caret::before { transition: none; }
}
