:root {
    --snv-tools-ink: #172033;
    --snv-tools-muted: #667085;
    --snv-tools-line: #dfe5ee;
    --snv-tools-soft: #f5f7fb;
    --snv-tools-blue: #2563eb;
    --snv-tools-indigo: #5b5ce2;
}

/* Address search: return to the current 3D workspace */
.snv-return-3d-button {
    box-sizing: border-box;
    position: absolute;
    top: 80px;
    left: 24px;
    z-index: 6;
    width: 220px;
    min-height: 52px;
    padding: 7px 12px 7px 8px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(147, 197, 253, .42);
    border-radius: 17px;
    background: linear-gradient(135deg, #172554 0%, #1d4ed8 58%, #2563eb 100%);
    box-shadow: 0 12px 30px rgba(30, 64, 175, .26), inset 0 1px rgba(255, 255, 255, .16);
    color: #ffffff;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: left;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.snv-return-3d-button:hover {
    border-color: rgba(191, 219, 254, .82);
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 62%, #3b82f6 100%);
    box-shadow: 0 16px 36px rgba(30, 64, 175, .34), inset 0 1px rgba(255, 255, 255, .2);
    transform: translateY(-2px);
}

.snv-return-3d-button:active {
    box-shadow: 0 8px 20px rgba(30, 64, 175, .26), inset 0 1px rgba(255, 255, 255, .12);
    transform: translateY(0) scale(.99);
}

.snv-return-3d-button:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

.snv-return-3d-button__badge {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px rgba(255, 255, 255, .14);
    color: #ffffff;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.02em;
}

.snv-return-3d-button__copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 1px;
}

.snv-return-3d-button__copy strong,
.snv-return-3d-button__copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.snv-return-3d-button__copy strong {
    font-size: 14px;
    font-weight: 760;
    line-height: 18px;
    letter-spacing: -.015em;
}

.snv-return-3d-button__copy small {
    color: #dbeafe;
    font-size: 10px;
    font-weight: 520;
    line-height: 14px;
}

.snv-return-3d-button__arrow {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
}

.snv-return-3d-button__arrow::before {
    position: absolute;
    top: 7px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    content: "";
    transform: rotate(45deg);
}

/* Address search: parcel information returned by Kakao + VWorld */
.snv-parcel-card,
.snv-parcel-card * {
    box-sizing: border-box;
}

.snv-parcel-card {
    position: absolute;
    top: 150px;
    left: 24px;
    z-index: 7;
    width: 368px;
    max-height: calc(100vh - 174px);
    overflow: auto;
    padding: 16px;
    border: 1px solid rgba(203, 213, 225, .9);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 54px rgba(15, 23, 42, .2), inset 0 1px rgba(255, 255, 255, .8);
    color: #172033;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    backdrop-filter: blur(14px);
}

.snv-parcel-card[hidden] {
    display: none !important;
}

.snv-parcel-card--terrain {
    position: fixed;
    top: 72px;
    left: 94px;
    z-index: 89;
    width: 380px;
    max-height: calc(100dvh - 96px);
    animation: snv-terrain-parcel-card-in .18s ease-out both;
}

.snv-parcel-card__header--terrain {
    padding-right: 184px;
}

.snv-parcel-card__header-actions {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.snv-parcel-card--terrain .snv-parcel-card__header-actions > a {
    position: static;
}

button.snv-parcel-card__close.snv-unified-close-button {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 36px;
}

.snv-parcel-card--terrain.is-error .snv-parcel-card__footer {
    color: #b42318;
}

@keyframes snv-terrain-parcel-card-in {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.snv-parcel-card__header {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 34px;
    padding-right: 132px;
    align-items: flex-start;
}

.snv-parcel-card__heading {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 1px;
}

.snv-parcel-card__heading small {
    color: #667085;
    font-size: 10px;
    font-weight: 650;
    line-height: 14px;
}

.snv-parcel-card__heading strong {
    font-size: 16px;
    font-weight: 800;
    line-height: 21px;
    letter-spacing: -.02em;
}

.snv-parcel-card__details {
    display: grid;
    margin: 13px 0 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.snv-parcel-card__details[hidden] {
    display: none !important;
}

.snv-parcel-card__field {
    min-width: 0;
    min-height: 62px;
    padding: 9px 10px;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    background: #f8fafc;
}

.snv-parcel-card__field--wide {
    grid-column: 1 / -1;
}

.snv-parcel-card__field dt {
    margin: 0 0 4px;
    color: #667085;
    font-size: 10px;
    font-weight: 650;
    line-height: 14px;
}

.snv-parcel-card__field dd {
    margin: 0;
    color: #1f2937;
    font-size: 12px;
    font-weight: 680;
    line-height: 18px;
    letter-spacing: -.012em;
    overflow-wrap: anywhere;
}

.snv-parcel-card__footer {
    display: flex;
    min-width: 0;
    margin-top: 12px;
    padding-top: 10px;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #e4e9f1;
    color: #667085;
    font-size: 9px;
    font-weight: 560;
    line-height: 13px;
}

.snv-parcel-card__actions {
    min-width: 0;
    margin-top: 12px;
}

.snv-parcel-card__land-use-link {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    min-height: 30px;
    overflow: visible;
    padding: 5px 10px;
    align-items: center;
    gap: 6px;
    border: 1px solid #bfdbfe;
    border-radius: 9px;
    background: #f8fbff;
    box-shadow: 0 3px 9px rgba(37, 99, 235, .1);
    color: #1d4ed8;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.snv-parcel-card__land-use-link[hidden] {
    display: none !important;
}

.snv-parcel-card__land-use-link:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(37, 99, 235, .14);
}

.snv-parcel-card__land-use-link:focus-visible {
    outline: 3px solid rgba(96, 165, 250, .52);
    outline-offset: 3px;
}

.snv-parcel-card__land-use-link:active {
    transform: translateY(0);
}

.snv-parcel-card__land-use-copy {
    display: inline-flex;
    min-width: 0;
    align-items: center;
}

.snv-parcel-card__land-use-copy strong {
    font-size: 11px;
    font-weight: 750;
    line-height: 16px;
    letter-spacing: -.01em;
}

.snv-parcel-card__land-use-arrow {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    overflow: visible;
    border-radius: 5px;
    background: #dbeafe;
}

.snv-parcel-card__land-use-arrow::before,
.snv-parcel-card__land-use-arrow::after {
    position: absolute;
    content: "";
}

.snv-parcel-card__land-use-arrow::before {
    top: 3px;
    right: 3px;
    width: 5px;
    height: 5px;
    border-top: 1px solid #1d4ed8;
    border-right: 1px solid #1d4ed8;
}

.snv-parcel-card__land-use-arrow::after {
    top: 7px;
    right: 3px;
    width: 8px;
    height: 1px;
    background: #1d4ed8;
    transform: rotate(-45deg);
    transform-origin: right center;
}

/* Address search: terrain extent preview and confirmation */
.snv-address-create-button {
    position: relative;
    top: auto;
    left: auto;
    z-index: auto;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 16px;
    background: linear-gradient(135deg, #172554 0%, #1d4ed8 58%, #2563eb 100%);
    box-shadow: 0 16px 36px rgba(30, 64, 175, .3), inset 0 1px rgba(255, 255, 255, .18);
    color: #ffffff;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 760;
    line-height: 20px;
    letter-spacing: -.015em;
    text-align: center;
    cursor: pointer;
    transform: none;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.snv-address-create-button:hover {
    box-shadow: 0 20px 42px rgba(30, 64, 175, .36), inset 0 1px rgba(255, 255, 255, .22);
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.snv-address-create-button:active {
    box-shadow: 0 11px 26px rgba(30, 64, 175, .28), inset 0 1px rgba(255, 255, 255, .14);
    transform: translateY(0) scale(.99);
}

.snv-address-create-button:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

.snv-terrain-range,
.snv-terrain-range * {
    box-sizing: border-box;
}

.snv-terrain-range {
    position: absolute;
    inset: 0;
    z-index: 125;
    color: #172033;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.snv-terrain-range[hidden] {
    display: none !important;
}

.snv-terrain-range__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(8px);
}

.snv-terrain-range__panel {
    position: absolute;
    top: 50%;
    left: calc(50% - 35px);
    display: flex;
    width: min(1040px, calc(100% - 64px));
    height: min(650px, calc(100% - 64px));
    min-height: 520px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 26px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 34px 90px rgba(15, 23, 42, .38), inset 0 1px rgba(255, 255, 255, .9);
    transform: translate(-50%, -50%);
}

.snv-terrain-range__header {
    display: flex;
    flex: 0 0 auto;
    min-height: 86px;
    padding: 20px 24px;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #e7ecf3;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #eff6ff 100%);
}

.snv-terrain-range__step {
    display: grid;
    flex: 0 0 54px;
    width: 54px;
    height: 30px;
    place-items: center;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 820;
    line-height: 1;
    letter-spacing: .04em;
}

.snv-terrain-range__heading {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.snv-terrain-range__heading strong {
    font-size: 20px;
    font-weight: 820;
    line-height: 26px;
    letter-spacing: -.025em;
}

.snv-terrain-range__heading > span {
    color: #667085;
    font-size: 12px;
    font-weight: 540;
    line-height: 17px;
}

.snv-terrain-range__body {
    display: grid;
    min-height: 0;
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr) 348px;
}

.snv-terrain-range__preview {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-right: 1px solid #e7ecf3;
    background: #dce7f3;
}

.snv-terrain-range__map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
}

.snv-terrain-range__map-badge,
.snv-terrain-range__map-size {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    backdrop-filter: blur(12px);
}

.snv-terrain-range__map-badge {
    top: 18px;
    left: 18px;
    display: flex;
    min-height: 34px;
    padding: 7px 11px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .14);
    color: #334155;
    font-size: 11px;
    font-weight: 720;
    line-height: 16px;
}

.snv-terrain-range__map-dot {
    display: block;
    width: 8px;
    height: 8px;
    border: 2px solid #dbeafe;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

.snv-terrain-range__map-size {
    bottom: 18px;
    left: 18px;
    display: flex;
    min-width: 174px;
    padding: 11px 14px;
    flex-direction: column;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 14px;
    background: rgba(15, 23, 42, .86);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .22);
    color: #ffffff;
}

.snv-terrain-range__map-size small {
    color: #cbd5e1;
    font-size: 9px;
    font-weight: 620;
    line-height: 13px;
}

.snv-terrain-range__map-size strong {
    font-size: 16px;
    font-weight: 820;
    line-height: 21px;
    letter-spacing: -.02em;
}

.snv-terrain-range__controls {
    display: flex;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    padding: 28px 26px 24px;
    flex-direction: column;
    background: #ffffff;
}

.snv-terrain-range__control-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.snv-terrain-range__control-icon {
    position: relative;
    display: block;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #bfdbfe;
    border-radius: 13px;
    background: linear-gradient(145deg, #eff6ff, #e0e7ff);
}

.snv-terrain-range__control-icon::before,
.snv-terrain-range__control-icon::after {
    position: absolute;
    border: 2px solid #2563eb;
    content: "";
}

.snv-terrain-range__control-icon::before {
    inset: 11px;
    border-radius: 3px;
}

.snv-terrain-range__control-icon::after {
    top: 7px;
    left: 7px;
    width: 7px;
    height: 7px;
    border-right: 0;
    border-bottom: 0;
}

.snv-terrain-range__control-heading > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.snv-terrain-range__control-heading small {
    color: #667085;
    font-size: 10px;
    font-weight: 650;
    line-height: 14px;
}

.snv-terrain-range__control-heading output {
    color: #172033;
    font-size: 20px;
    font-weight: 850;
    line-height: 25px;
    letter-spacing: -.025em;
}

.snv-terrain-range__slider-label {
    margin-top: 28px;
    color: #344054;
    font-size: 11px;
    font-weight: 720;
    line-height: 16px;
}

.snv-terrain-range__slider {
    --snv-terrain-range-progress: 11.111%;
    width: 100%;
    height: 32px;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    outline: none;
    background: linear-gradient(to right,
        #2563eb 0,
        #2563eb var(--snv-terrain-range-progress),
        #dbe3ee var(--snv-terrain-range-progress),
        #dbe3ee 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 7px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.snv-terrain-range__slider::-webkit-slider-runnable-track {
    height: 7px;
    border-radius: 999px;
    background: transparent;
}

.snv-terrain-range__slider::-moz-range-track {
    height: 7px;
    border-radius: 999px;
    background: #dbe3ee;
}

.snv-terrain-range__slider::-moz-range-progress {
    height: 7px;
    border-radius: 999px;
    background: #2563eb;
}

.snv-terrain-range__slider::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    margin-top: -7.5px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 2px 10px rgba(37, 99, 235, .45), 0 0 0 1px rgba(37, 99, 235, .2);
    appearance: none;
    -webkit-appearance: none;
}

.snv-terrain-range__slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 2px 10px rgba(37, 99, 235, .45), 0 0 0 1px rgba(37, 99, 235, .2);
}

.snv-terrain-range__slider:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .28);
    outline-offset: 4px;
    border-radius: 999px;
}

.snv-terrain-range__ticks {
    display: flex;
    margin-top: -1px;
    justify-content: space-between;
    color: #98a2b3;
    font-size: 9px;
    font-weight: 620;
    line-height: 13px;
}

.snv-terrain-range__summary {
    display: grid;
    margin: 24px 0 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.snv-terrain-range__summary > div {
    min-width: 0;
    padding: 11px;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    background: #f8fafc;
}

.snv-terrain-range__summary dt {
    margin: 0 0 4px;
    color: #667085;
    font-size: 9px;
    font-weight: 620;
    line-height: 13px;
}

.snv-terrain-range__summary dd {
    margin: 0;
    color: #1f2937;
    font-size: 12px;
    font-weight: 760;
    line-height: 17px;
}

.snv-terrain-range__notice {
    margin: 16px 0 0;
    padding: 10px 11px 10px 31px;
    border: 1px solid #fde68a;
    border-radius: 11px;
    background: #fffbeb;
    color: #92400e;
    font-size: 10px;
    font-weight: 570;
    line-height: 16px;
}

.snv-terrain-range__notice::before {
    float: left;
    width: 14px;
    margin-left: -20px;
    color: #d97706;
    content: "!";
    font-weight: 850;
    text-align: center;
}

.snv-terrain-range__actions {
    display: grid;
    margin-top: auto;
    padding-top: 22px;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 9px;
}

.snv-terrain-range__button {
    display: inline-flex;
    min-width: 0;
    min-height: 48px;
    padding: 0 15px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 13px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 760;
    line-height: 17px;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, filter .16s ease;
}

.snv-terrain-range__button--secondary {
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #475467;
}

.snv-terrain-range__button--secondary:hover {
    border-color: #98a2b3;
    background: #f8fafc;
}

.snv-terrain-range__button--primary {
    border: 1px solid #1d4ed8;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 65%, #1e40af 100%);
    box-shadow: 0 11px 24px rgba(37, 99, 235, .25), inset 0 1px rgba(255, 255, 255, .2);
    color: #ffffff;
}

.snv-terrain-range__button--primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.snv-terrain-range__button:active {
    transform: translateY(0) scale(.99);
}

.snv-terrain-range__button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .34);
    outline-offset: 3px;
}

.snv-terrain-range__button-arrow {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .14);
}

.snv-terrain-range__button-arrow::before {
    position: absolute;
    top: 5px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    content: "";
    transform: rotate(45deg);
}

#sideContent,
#sideContent *,
.snv-dxf-overlay,
.snv-dxf-overlay *,
.snv-report-dialog,
.snv-report-dialog * {
    box-sizing: border-box;
}

#canvasWrap {
    left: 70px;
    border-top-left-radius: 0;
}

/* Workspace navigation rail */
#sideContent {
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 100vh;
    border-right: 1px solid rgba(203, 213, 225, .9);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,247,252,.96));
    box-shadow: 10px 0 30px rgba(15, 23, 42, .08);
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    z-index: 14;
}

#sideContent .snv-side-logo-link {
    position: absolute;
    top: 8px;
    left: 8px;
    display: grid;
    width: 54px;
    height: 54px;
    padding: 6px;
    place-items: center;
    border: 1px solid rgba(203, 213, 225, .82);
    border-radius: 15px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

#sideContent .snv-side-logo-link:hover,
#sideContent .snv-side-logo-link:focus-visible {
    border-color: #9fbbff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .16);
    transform: translateY(-1px);
}

#sideContent .snv-side-logo-link:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .42);
    outline-offset: 2px;
}

#sideContent #logobutton {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

#sideContent #userbutton {
    left: 13px;
    right: auto;
    display: flex;
    width: 44px;
    height: 44px;
    aspect-ratio: 1 / 1;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#sideContent #userbutton.is-authenticated {
    border: 1px solid #9ca3af;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
}

#sideContent #userbutton:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .48);
    outline-offset: 3px;
}

.snv-side-user-avatar {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
}

.snv-side-user-avatar img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

body[data-authenticated] #UserPage {
    top: auto;
    right: auto;
    bottom: 16px;
    left: 84px;
    max-width: calc(100vw - 100px);
    max-height: calc(100vh - 32px);
}

body[data-authenticated] #UserPage::before {
    display: none;
}

body[data-authenticated][class~="snv-taskbar-active"] #UserPage {
    bottom: 96px;
    max-height: calc(100vh - 112px);
}

#sideContent .leftbuttons3 {
    left: 8px;
    right: auto;
    display: grid;
    width: 54px;
    height: 52px;
    padding: 4px 3px 3px;
    grid-template-rows: 27px 13px;
    gap: 1px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 15px;
    background: transparent;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

#sideContent .leftbuttons3:hover,
#sideContent .leftbuttons3:focus-visible {
    border-color: #c9d7f2;
    background: #fff;
    box-shadow: 0 9px 22px rgba(37, 99, 235, .15);
    transform: translateY(-1px);
}

#sideContent .leftbuttons3[aria-expanded="true"] {
    border-color: #9fbbff;
    background: linear-gradient(145deg, #edf3ff, #f3f0ff);
}

#sideContent .left_icon {
    position: static;
    width: 26px;
    height: 26px;
    object-fit: contain;
    cursor: inherit;
}

#sideContent .leftbuttons3::after {
    color: #475467;
    font-size: 9px;
    font-weight: 800;
    line-height: 12px;
    letter-spacing: -.02em;
}

#LeftHomeButton::after { content: "홈"; }
#LeftsunButton::after { content: "일조"; }
#LeftjoButton::after { content: "조망"; }
#LeftprivateButton::after { content: "사생활"; }
#LeftlightButton::after { content: "빛환경"; }
#LefttutorialButton::after { content: "도움말"; }

#sideContent .sideContent_menu,
#sideContent .sideContent_menu2 {
    width: 224px;
    height: auto !important;
    min-height: 0;
    padding: 10px;
    overflow: visible;
    border: 1px solid rgba(211, 219, 232, .96);
    border-radius: 16px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 48px rgba(15, 23, 42, .2);
    font-family: inherit;
}

#sideContent .sideContent_menu {
    left: 70px;
}

#sideContent .sideContent_menu2 {
    left: 234px;
    z-index: 2;
}

#sideContent .sideContent_menu::before,
#sideContent .sideContent_menu2::before {
    display: block;
    padding: 5px 8px 9px;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

#sideContent_light::before { content: "빛환경 분석"; }
#sideContent_tutorial2::before { content: "사용 가이드"; }
#sideContent_tutorial3::before { content: "프로젝트 사례"; }

#sideContent .sideContent_button2 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: flex;
    float: none;
    width: 100%;
    height: 44px;
    margin: 2px 0;
    padding: 0 13px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: #344054;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

#sideContent .sideContent_button2::after {
    content: "›";
    margin-left: auto;
    color: #98a2b3;
    font-size: 18px;
}

#sideContent .sideContent_button2:hover,
#sideContent .sideContent_button2:focus-visible {
    border-color: #ccdaf7;
    background: #eef4ff;
    color: #174ea6;
    transform: translateX(2px);
}

#sideContent .sideContent_button_text {
    position: static;
    width: auto;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    transform: none;
}

#sideContent [role="button"]:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

/* DXF import dialogs */
.snv-dxf-overlay {
    position: fixed;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    padding: 24px;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(5px);
    opacity: 0;
    z-index: 139;
}

.snv-dxf-overlay[aria-hidden="true"] { display: none !important; }
.snv-dxf-overlay[aria-hidden="false"] { display: flex !important; }

.snv-dxf-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(640px, 100%);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 84px rgba(15,23,42,.36);
    color: var(--snv-tools-ink);
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.snv-tool-header {
    position: relative;
    display: flex;
    min-height: 82px;
    padding: 16px 64px 15px 22px;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--snv-tools-line);
    background: linear-gradient(135deg, #fff, #f7f9fd);
}

.snv-tool-heading h2 {
    margin: 0;
    color: var(--snv-tools-ink);
    font-size: 20px;
    line-height: 1.3;
}

.snv-tool-heading p {
    margin: 4px 0 0;
    color: var(--snv-tools-muted);
    font-size: 12px;
}

.snv-tool-symbol {
    position: relative;
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #e8f0ff, #eeeaff);
    color: var(--snv-tools-blue);
}

.snv-tool-symbol--dxf::before {
    content: "DXF";
    font-size: 10px;
    font-weight: 900;
    letter-spacing: -.03em;
}

.snv-tool-symbol--report::before {
    content: "";
    width: 18px;
    height: 22px;
    border: 2px solid currentColor;
    border-radius: 3px;
    background: linear-gradient(currentColor,currentColor) 4px 6px/9px 2px no-repeat,
                linear-gradient(currentColor,currentColor) 4px 11px/9px 2px no-repeat,
                linear-gradient(currentColor,currentColor) 4px 16px/6px 2px no-repeat;
}

.snv-tool-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: #eef1f6;
    color: #667085;
    cursor: pointer;
    font: 26px/1 inherit;
}

.snv-dxf-body {
    padding: 20px 24px 16px;
    overflow-y: auto;
}

.snv-dxf-intro {
    display: grid;
    gap: 10px;
    padding: 17px 18px;
    border: 1px solid #dfe6f0;
    border-radius: 15px;
    background: linear-gradient(145deg, #f8faff, #f5f7fb);
}

.snv-dxf-note {
    position: relative;
    margin: 0;
    padding-left: 28px;
    color: #475467;
    font-size: 13px;
    line-height: 1.55;
}

.snv-dxf-note::before {
    content: "i";
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 7px;
    background: #e7efff;
    color: #2563eb;
    font: 800 12px Georgia, serif;
}

.snv-dxf-links {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.snv-dxf-links--intro-actions {
    display: grid;
    margin-top: 4px;
    padding-top: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #dfe6f0;
}

.snv-dxf-links--intro-actions .snv-link-button {
    width: 100%;
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
}

.snv-link-button {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #d7dfeb;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    cursor: pointer;
    font: 700 12px Pretendard, sans-serif;
}

.snv-link-button:hover { border-color: #a8c0f8; background: #eef4ff; color: #174ea6; }

.snv-dxf-mode {
    margin: 16px 0 0;
    padding: 0;
    border: 0;
}

.snv-dxf-mode legend {
    margin-bottom: 9px;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.snv-dxf-mode-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.snv-dxf-mode label {
    display: flex;
    min-height: 54px;
    padding: 0 15px;
    align-items: center;
    gap: 10px;
    border: 1px solid #dbe2ec;
    border-radius: 12px;
    background: #fff;
    color: #344054;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.snv-dxf-mode label:has(input:checked) {
    border-color: #8fb0ff;
    background: #edf3ff;
    color: #174ea6;
    box-shadow: inset 0 0 0 1px #8fb0ff;
}

.snv-dxf-mode input { width: 18px; height: 18px; accent-color: #2563eb; }
.snv-dxf-mode label span { display: grid; gap: 2px; }
.snv-dxf-mode label small { color: #667085; font-size: 11px; font-weight: 500; }

.snv-dxf-crs {
    margin: 16px 0 0;
    padding: 14px;
    border: 1px solid #dbe5f3;
    border-radius: 14px;
    background: linear-gradient(145deg, #f8fbff, #f4f7fc);
}

.snv-dxf-crs[hidden] { display: none !important; }

.snv-dxf-crs legend {
    padding: 0 5px;
    color: #243b64;
    font-size: 12px;
    font-weight: 800;
}

.snv-dxf-crs-description {
    margin: -1px 0 10px;
    color: #667085;
    font-size: 11px;
    line-height: 1.45;
}

.snv-dxf-crs-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.snv-dxf-crs label {
    display: flex;
    min-width: 0;
    min-height: 58px;
    padding: 9px 12px;
    align-items: center;
    gap: 10px;
    border: 1px solid #d9e2ef;
    border-radius: 11px;
    background: rgba(255, 255, 255, .92);
    color: #344054;
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.snv-dxf-crs label:hover {
    border-color: #a8c0f8;
    background: #f4f7ff;
}

.snv-dxf-crs label:has(input:checked) {
    border-color: #7da2f8;
    background: #eaf1ff;
    color: #174ea6;
    box-shadow: inset 0 0 0 1px #7da2f8, 0 5px 14px rgba(37, 99, 235, .08);
}

.snv-dxf-crs input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #2563eb;
}

.snv-dxf-crs label span {
    display: grid;
    min-width: 0;
    gap: 3px;
    line-height: 1.35;
}

.snv-dxf-crs label small {
    color: #667085;
    font-size: 10px;
    font-weight: 500;
}

.snv-tool-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 22px 18px;
    border-top: 1px solid #edf0f5;
    background: #fbfcfe;
}

.snv-tool-button {
    min-width: 120px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid #d8dee8;
    border-radius: 11px;
    background: #fff;
    color: #344054;
    cursor: pointer;
    font: 700 14px Pretendard, sans-serif;
}

.snv-tool-button--primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--snv-tools-blue), var(--snv-tools-indigo));
    color: #fff;
    box-shadow: 0 8px 20px rgba(55,92,220,.22);
}

/* Report generator */
.snv-report-dialog {
    width: 620px !important;
    height: auto !important;
    max-height: calc(100vh - 60px);
}

.snv-report-dialog .snv-dialog-header { min-height: 82px; }
.snv-report-dialog .snv-tool-header {
    align-items: center;
    background: linear-gradient(135deg, #fff, #f7f9fd);
}
.snv-report-dialog .snv-tool-heading { flex: 1 1 auto; min-width: 0; }
.snv-report-dialog .snv-dialog-body { padding: 20px 24px 16px; }

.snv-report-hierarchy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.snv-report-card {
    min-width: 0;
    padding: 13px;
    border: 1px solid #dfe5ee;
    border-radius: 14px;
    background: #f8fafd;
}

.snv-report-card label,
.snv-report-field label {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.snv-report-list {
    position: static;
    bottom: auto;
    width: 100%;
    height: 112px;
    overflow-y: auto;
    border: 1px solid #d8e0eb;
    border-radius: 10px;
    background: #fff;
}

.snv-report-list ul { margin: 0; padding: 5px; list-style: none; }
.snv-report-list .SquareBox_scrollView_item3 {
    height: auto;
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #475467;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.4;
}
.snv-report-list .SquareBox_scrollView_item3:hover,
.snv-report-list .SquareBox_scrollView_item3[aria-selected="true"] { background: #eaf1ff !important; color: #174ea6; }

.snv-report-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.snv-report-field select {
    width: 100%;
    height: 42px;
    padding: 0 34px 0 12px;
    border: 1px solid #d5dde8;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    font: 650 13px Pretendard, sans-serif;
}

.snv-report-status { min-height: 20px; margin: 12px 0 0; color: #667085; font-size: 12px; }
.snv-report-status[data-state="success"] { color: #18794e; }
.snv-report-status[data-state="error"] { color: #b42318; }
.snv-report-dialog .snv-dialog-actions { justify-content: center; }
.snv-report-dialog .snv-tool-button:disabled {
    cursor: not-allowed;
    background: #e6eaf0;
    color: #98a2b3;
    box-shadow: none;
}

.snv-layer-tree .nested .treeli {
    min-width: 0;
    overflow: visible;
}

.snv-layer-tree .snv-layer-color-picker {
    position: relative;
    display: block;
    box-sizing: border-box;
    justify-self: center;
    width: 32px;
    height: 28px;
    overflow: hidden;
    border: 1px solid #aeb8c7;
    border-radius: 8px;
    background-color: var(--layer-color, #667085);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .72),
        0 1px 2px rgba(15, 23, 42, .12);
    cursor: pointer;
}

.snv-layer-tree .snv-layer-color-picker::after {
    position: absolute;
    inset: 2px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 5px;
    content: "";
    pointer-events: none;
}

.snv-layer-tree .snv-layer-color-picker .Layer_Menu_color {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1;
    display: block;
    box-sizing: border-box;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: inherit !important;
    opacity: 0;
    cursor: pointer;
}

.snv-layer-tree .snv-layer-color-picker:hover {
    border-color: #7f8da3;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8),
        0 2px 5px rgba(15, 23, 42, .18);
}

.snv-layer-tree .snv-layer-color-picker:focus-within {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

#LicenseUpgradePrompt .snv-license-upgrade-prompt-actions {
    justify-content: center;
}

/*
 * Analysis result task dock
 *
 * The legacy full-width 30px strip is intentionally overridden here so it
 * stays scoped to SNV and does not affect pages that also load main.css.
 */
.snv-taskbar {
    position: fixed;
    left: calc(50% + 35px);
    bottom: 14px;
    z-index: 98;
    display: flex;
    width: fit-content;
    max-width: calc(100vw - 112px);
    min-height: 0;
    padding: 6px;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(24, 34, 56, .96), rgba(34, 48, 78, .92));
    box-shadow: 0 18px 46px rgba(15, 23, 42, .3), 0 3px 12px rgba(15, 23, 42, .2);
    backdrop-filter: blur(16px) saturate(135%);
    color: #fff;
    font-family: Pretendard, sans-serif;
    transform: translateX(-50%);
}

/* Keep a restored result window clear of the floating dock on short PC displays. */
body.snv-taskbar-active .SquareBox.snv-analysis-result {
    height: min(680px, calc(100vh - 110px));
    min-height: min(520px, calc(100vh - 110px));
}

body.snv-taskbar-active .SquareBox.snv-analysis-result--private {
    height: min(650px, calc(100vh - 110px));
}

body.snv-taskbar-active .SquareBox.snv-analysis-result--view {
    height: min(760px, calc(100vh - 110px));
}

.snv-taskbar[hidden] {
    display: none !important;
}

.snv-taskbar-label {
    display: flex;
    flex: 0 0 auto;
    padding: 0 7px 0 5px;
    align-items: center;
    gap: 8px;
    color: #dbe5f5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.snv-taskbar-label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #67e8f9;
    box-shadow: 0 0 0 4px rgba(103, 232, 249, .13), 0 0 12px rgba(103, 232, 249, .45);
}

.snv-taskbar .TaskBar_UL {
    display: flex;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0 2px 1px;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    list-style: none;
    scrollbar-color: rgba(191, 209, 235, .55) transparent;
    scrollbar-width: thin;
}

.snv-taskbar .TaskBar_LI,
.snv-taskbar .TaskBar_LI:hover {
    float: none;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin: 0;
    opacity: 1;
    background: transparent;
    line-height: normal;
    list-style: none;
}

.snv-taskbar-item {
    display: inline-flex;
    box-sizing: border-box;
    width: 210px;
    min-height: 50px;
    padding: 7px 9px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(219, 230, 247, .14);
    border-radius: 13px;
    background: rgba(255, 255, 255, .075);
    color: #fff;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.snv-taskbar-item:hover {
    border-color: rgba(191, 211, 246, .34);
    background: rgba(255, 255, 255, .14);
    box-shadow: 0 8px 20px rgba(7, 13, 28, .2);
    transform: translateY(-1px);
}

.snv-taskbar-item:active {
    transform: translateY(0);
}

.snv-taskbar-item:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 2px;
}

.snv-taskbar-item-icon {
    position: relative;
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 11px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24);
}

.TaskBar_LI--sun .snv-taskbar-item-icon::before {
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 -8px 0 -5px #fff, 0 8px 0 -5px #fff, 8px 0 0 -5px #fff, -8px 0 0 -5px #fff;
    content: "";
}

.TaskBar_LI--view .snv-taskbar-item-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.TaskBar_LI--view .snv-taskbar-item-icon::before {
    width: 18px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 70% 25%;
    content: "";
    transform: rotate(45deg);
}

.TaskBar_LI--view .snv-taskbar-item-icon::after {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    content: "";
}

.TaskBar_LI--private .snv-taskbar-item-icon {
    background: linear-gradient(135deg, #8b5cf6, #6d4bd7);
}

.TaskBar_LI--private .snv-taskbar-item-icon::before {
    width: 17px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 9px 9px 12px 12px;
    clip-path: polygon(50% 0, 100% 19%, 88% 76%, 50% 100%, 12% 76%, 0 19%);
    content: "";
}

.snv-taskbar-item-copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
}

.snv-taskbar-item-copy strong {
    overflow: hidden;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 750;
    line-height: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.snv-taskbar-item-copy small {
    overflow: hidden;
    color: #aebdd3;
    font-size: 10px;
    font-weight: 550;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.snv-taskbar-restore-mark {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.snv-taskbar-restore-mark::before {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #dbe8fb;
    border-right: 2px solid #dbe8fb;
    content: "";
    transform: rotate(-45deg);
}

/* Bottom-center sun and shadow time controller. */
.snv-sun-slider {
    --sun-slider-progress: 50%;
    position: fixed;
    left: calc(50% + 35px);
    bottom: 18px;
    z-index: 92;
    box-sizing: border-box;
    width: min(520px, calc(100vw - 112px));
    max-width: calc(100vw - 112px);
    min-width: min(390px, calc(100vw - 112px));
    padding: 13px 16px 11px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(20, 32, 54, .94), rgba(30, 45, 72, .9));
    box-shadow: 0 18px 44px rgba(15, 23, 42, .3), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px) saturate(135%);
    color: #f8fafc;
    font-family: Pretendard, sans-serif;
    transform: translateX(-50%);
}

body.snv-taskbar-active .snv-sun-slider {
    bottom: calc(18px + 80px);
}

.snv-sun-slider__header {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.snv-sun-slider__sun {
    position: relative;
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(253, 186, 116, .42);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(245, 158, 11, .24), rgba(249, 115, 22, .14));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.snv-sun-slider__sun::before {
    width: 12px;
    height: 12px;
    border: 2px solid #fbbf24;
    border-radius: 50%;
    box-shadow: 0 -8px 0 -6px #fdba74, 0 8px 0 -6px #fdba74,
        8px 0 0 -6px #fdba74, -8px 0 0 -6px #fdba74;
    content: "";
}

.snv-sun-slider__copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
}

.snv-sun-slider__eyebrow {
    color: #fbbf24;
    font-size: 9px;
    font-weight: 800;
    line-height: 12px;
    letter-spacing: .12em;
}

#sunSliderBox #suntimetext_day {
    position: static;
    width: auto;
    color: #dbe5f4;
    font-size: 12px;
    font-weight: 650;
    line-height: 16px;
    text-align: left;
    white-space: nowrap;
}

#sunSliderBox #suntimetext {
    position: static;
    flex: 0 0 auto;
    width: auto;
    min-width: 112px;
    padding: 6px 11px;
    border: 1px solid rgba(251, 191, 36, .24);
    border-radius: 11px;
    background: rgba(15, 23, 42, .48);
    color: #fff;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    cursor: text;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

#sunSliderBox #suntimetext:focus-within {
    border-color: rgba(125, 211, 252, .88);
    background: rgba(15, 23, 42, .68);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
}

#sunSliderBox #suntimetext2 {
    display: block;
    box-sizing: border-box;
    width: 88px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    caret-color: #fbbf24;
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    font-weight: 760;
    line-height: 24px;
    letter-spacing: .02em;
    text-align: center;
}

#sunSliderBox #suntimetext2[aria-invalid="true"] {
    color: #fecaca;
}

#sunSliderBox #suntimetext2:focus-visible {
    outline: none;
}

.snv-sun-slider .snv-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.snv-sun-slider__control {
    display: grid;
    margin-top: 10px;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    align-items: start;
    gap: 9px;
}

.snv-sun-slider__edge {
    padding-top: 1px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 22px;
    text-align: center;
}

.snv-sun-slider__track-wrap {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.snv-sun-slider__range {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    outline: none;
    background: linear-gradient(90deg,
        #f59e0b 0%,
        #fb923c var(--sun-slider-progress),
        rgba(203, 213, 225, .28) var(--sun-slider-progress),
        rgba(203, 213, 225, .28) 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 6px;
    cursor: pointer;
}

.snv-sun-slider__range::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: transparent;
}

.snv-sun-slider__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    margin-top: -8px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .38), 0 0 0 1px rgba(245, 158, 11, .45);
    cursor: grab;
}

.snv-sun-slider__range::-webkit-slider-thumb:active {
    cursor: grabbing;
}

.snv-sun-slider__range::-moz-range-track {
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(203, 213, 225, .28);
}

.snv-sun-slider__range::-moz-range-progress {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #fb923c);
}

.snv-sun-slider__range::-moz-range-thumb {
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .38), 0 0 0 1px rgba(245, 158, 11, .45);
    cursor: grab;
}

.snv-sun-slider__range:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 4px;
}

.snv-sun-slider__ticks {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 550;
    line-height: 12px;
}

.snv-sun-slider__ticks span:nth-child(2) {
    color: #fcd34d;
}

.snv-sun-slider__hint {
    display: block;
    margin-top: 2px;
    color: #aebdd3;
    font-size: 9px;
    line-height: 12px;
    text-align: center;
}

.snv-sun-slider__hint.is-error {
    color: #fecaca;
    font-weight: 700;
}

.snv-tool-close:focus-visible,
.snv-link-button:focus-visible,
.snv-tool-button:focus-visible,
.snv-dxf-mode input:focus-visible,
.snv-dxf-crs input:focus-visible,
.snv-report-dialog button:focus-visible,
.snv-report-dialog select:focus-visible,
.snv-report-list [role="option"]:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

.snv-layer-tree .snv-layer-color-picker .Layer_Menu_color:focus-visible {
    outline: none;
}

@media (max-height: 760px) {
    .snv-terrain-range__panel {
        height: calc(100% - 32px);
        min-height: 0;
    }
    .snv-terrain-range__header {
        min-height: 70px;
        padding: 14px 20px;
    }
    .snv-terrain-range__controls { padding: 20px 22px 18px; }
    .snv-terrain-range__slider-label { margin-top: 20px; }
    .snv-terrain-range__summary { margin-top: 18px; }
    .snv-terrain-range__notice { margin-top: 12px; }
    .snv-terrain-range__actions { padding-top: 16px; }
    .snv-dxf-dialog { max-height: calc(100vh - 24px); }
    .snv-dxf-body { padding-top: 14px; }
    .snv-report-dialog { max-height: calc(100vh - 24px); }
    .snv-taskbar { bottom: 10px; }
    .snv-sun-slider {
        bottom: 12px;
        padding: 10px 14px 8px;
    }
    body.snv-taskbar-active .snv-sun-slider { bottom: 90px; }
    .snv-sun-slider__control { margin-top: 7px; }
    .snv-sun-slider__hint { display: none; }
}

@media (max-width: 1100px) {
    .snv-return-3d-button {
        top: 144px;
        left: 18px;
    }

    .snv-parcel-card {
        top: 212px;
        left: 18px;
        width: 348px;
        max-height: calc(100vh - 230px);
    }

    .snv-parcel-card--terrain {
        top: 72px;
        left: 88px;
        width: 368px;
        max-height: calc(100dvh - 96px);
    }

    .snv-terrain-range__panel {
        width: calc(100% - 36px);
        left: calc(50% - 35px);
    }

    .snv-terrain-range__body {
        grid-template-columns: minmax(0, 1fr) 326px;
    }

    .snv-terrain-range__controls {
        padding-right: 20px;
        padding-left: 20px;
    }

    .snv-taskbar-label { display: none; }
    .snv-taskbar-item { width: 184px; }
    .snv-sun-slider {
        width: min(480px, calc(100vw - 98px));
        min-width: min(360px, calc(100vw - 98px));
    }
}

@media (max-width: 480px) {
    .snv-dxf-links--intro-actions {
        grid-template-columns: 1fr;
    }

    .snv-dxf-mode-options,
    .snv-dxf-crs-options {
        grid-template-columns: 1fr;
    }

    .snv-parcel-card {
        right: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100vh - 224px);
    }

    .snv-parcel-card--terrain {
        top: 72px;
        max-height: calc(100dvh - 88px);
    }

    .snv-parcel-card__header--terrain {
        padding-right: 0;
        flex-wrap: wrap;
        gap: 10px;
    }

    .snv-parcel-card__header-actions {
        position: static;
        width: 100%;
        justify-content: flex-end;
    }

    body[data-authenticated] #UserPage {
        top: 10px;
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: calc(100vw - 20px);
        max-width: none;
        max-height: calc(100vh - 20px);
    }
}

@media (max-height: 600px) {
    #LeftHomeButton { top: 68px !important; }
    #LeftsunButton,
    #sideContent_sun { top: 124px !important; }
    #LeftjoButton,
    #sideContent_jo { top: 180px !important; }
    #LeftprivateButton,
    #sideContent_private { top: 236px !important; }
    #LeftlightButton,
    #sideContent_light { top: 292px !important; }
    #sideContent #userbutton { bottom: 62px !important; }
    #LefttutorialButton { bottom: 6px !important; }
    #sideContent_tutorial { bottom: 4px !important; }
}

@media (prefers-reduced-motion: reduce) {
    #sideContent .snv-side-logo-link,
    .snv-return-3d-button,
    .snv-parcel-card,
    .snv-parcel-card__land-use-link,
    .snv-address-create-button,
    .snv-terrain-range__slider,
    .snv-terrain-range__button,
    .snv-sun-slider,
    .snv-sun-slider__range,
    #sideContent .leftbuttons3,
    #sideContent .sideContent_button2,
    .snv-taskbar-item { transition: none; }

    .snv-parcel-card--terrain { animation: none; }
}
