
#AddressBox_dxf_parent:active{
    background-color: rgb(221, 221, 221);
}

#AddressBox_dxf_parent{
    cursor: pointer;
    position:absolute;
    width: 0px;
    height: 44px;
    right: 50px;
    top:5px;
    border-radius: 24px;
    background-color:rgb(235, 235, 235);
    box-shadow: -1px -1px 10px rgb(94, 94, 94);
    overflow: hidden;
}

#AddressBox_project_parent:active{
    background-color: rgb(221, 221, 221);
}

#AddressBox_project_parent{
    cursor: pointer;
    position:absolute;
    width: 0px;
    height: 44px;
    right: 50px;
    top:5px;
    border-radius: 24px;
    background-color:rgb(235, 235, 235);
    box-shadow: -1px -1px 10px rgb(94, 94, 94);
    overflow: hidden;
}


#RightButtonMenuBox_stair{
    position: absolute;
    width: 150px;
    height: 84px;
    top: 300px;
    right:400px;
    background-color:rgb(255, 255, 255);
    border-radius: 10px;
    border: solid 1.5px rgb(209, 209, 209);
    box-shadow: 0px 2px 6px 0px rgb(151, 151, 151);
}

#RightButtonMenuBox_land{
    position: absolute;
    width: 150px;
    height: 84px;
    top: 300px;
    right:400px;
    background-color:rgb(255, 255, 255);
    border-radius: 10px;
    border: solid 1.5px rgb(209, 209, 209);
    box-shadow: 0px 2px 6px 0px rgb(151, 151, 151);
}

#RightButtonMenuBox4{
    position: absolute;
    width: 150px;
    height: 42px;
    top: 300px;
    right:400px;
    background-color:rgb(255, 255, 255);
    border-radius: 10px;
    border: solid 1.5px rgb(209, 209, 209);
    box-shadow: 0px 2px 6px 0px rgb(151, 151, 151);
}



.RightButtonMenuBox_item{
    position: absolute;
    top: 0px;
    width: 100%;
    height: 40px;
    vertical-align: middle;
    line-height: 40px;
    padding-left: 20px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    color: #333333;
    transition: all 0.1s ease-in-out;
}

.RightButtonMenuBox_item:hover{
    background-color: rgb(233, 233, 233);
}

.RightButtonMenuBox_item:active{
    background-color: rgb(212, 212, 212);
}

.iconbutton {
    cursor: pointer;
    transition: all 0.1s ease-out;
}
.iconbutton:hover {
    background-color: rgba(189, 189, 189, 0.425);
}

.iconbutton:active {
    background-color: rgba(189, 189, 189, 0.825);
}

.Round_li_Button{
    cursor: pointer;
    width: 90px;
    height: 30px;
    line-height: 26px;
    transition: all 0.05s ease-in-out;
    border: solid 1px rgb(209, 209, 209);
    font-size: 14px;
    text-align: center;
    border-radius: 20px;
    background-color: rgb(255, 255, 255);
    font-weight: 600;
}

.Round_li_Button:hover{
    background-color: rgb(196, 196, 196);
}

.Round_li_Button:active{
    background-color: rgb(167, 167, 167);
}

.building-makebox-actions {
    position: absolute;
    right: 20px;
    bottom: 15px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.building-makebox-error {
    margin: 0;
    color: #e53935;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.building-makebox-error[hidden] {
    display: none;
}


.hover{
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}

.hover:hover{
    background-color: rgb(233, 233, 233);
}

.hover:active{
    background-color: rgb(212, 212, 212);
}





.hoverEvent{
    cursor: pointer;
    transition: all 0.05s ease-in-out;
}

.hoverEvent:hover{
    background-color: rgb(196, 196, 196);
}

.hoverEvent:active{
    background-color: rgb(167, 167, 167);
}









































.modern-btn{
    width:200px;
    height:50px;

    border:none;
    border-radius:14px;

    background:linear-gradient(135deg,#4F8CFF,#6C63FF);
    color:white;

    font-size:16px;
    font-weight:600;
    letter-spacing:0.5px;

    cursor:pointer;

    transition:
            transform .25s ease,
            box-shadow .25s ease,
            background .25s ease;

    box-shadow:
            0 10px 25px rgba(79,140,255,.25);

    position:relative;
    overflow:hidden;
}

/* Hover */
.modern-btn:hover{
    background:linear-gradient(135deg,#3B82F6,#7C3AED);
    transform:translateY(-3px);
    box-shadow:
            0 16px 35px rgba(79,140,255,.35);
}

/* 클릭 */
.modern-btn:active{
    transform:translateY(0);
    box-shadow:
            0 6px 15px rgba(79,140,255,.25);
}


/* 로그인 안내 팝업 */
#LoginPrompt {
    display: none;
    opacity: 0;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(73, 74, 95, 0.527);
    z-index: 120;
}

#LoginPrompt .snv-login-prompt-panel {
    width: 390px;
    height: 210px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.snv-login-prompt-close {
    position: absolute;
    top: 3px;
    right: 2px;
    width: 28px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.snv-login-prompt-close img {
    width: 14px;
    height: 14px;
    pointer-events: none;
}

.snv-login-prompt-close:hover {
    background-color: rgba(189, 189, 189, 0.425);
}

.snv-login-prompt-message {
    position: absolute;
    top: 62px;
    left: 35px;
    width: 320px;
    margin: 0;
    color: #202020;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    word-break: keep-all;
}

.snv-login-prompt-actions {
    position: absolute;
    bottom: 24px;
    left: 50%;
    display: flex;
    gap: 14px;
    transform: translateX(-50%);
}

.snv-login-prompt-actions .Round_li_Button {
    width: 110px;
    line-height: 26px;
}

.snv-login-prompt-primary {
    border-color: #4f8cff;
    background: linear-gradient(135deg, #4f8cff, #6c63ff);
    color: #ffffff;
}

.snv-login-prompt-primary:hover {
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
}

#LicenseUpgradePrompt {
    display: none;
    opacity: 0;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(39, 43, 63, 0.58);
    z-index: 130;
}

#LicenseUpgradePrompt .snv-license-upgrade-prompt-panel {
    width: 420px;
    height: 220px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.snv-license-upgrade-prompt-close {
    position: absolute;
    top: 3px;
    right: 2px;
    width: 28px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.snv-license-upgrade-prompt-close img {
    width: 14px;
    height: 14px;
    pointer-events: none;
}

.snv-license-upgrade-prompt-close:hover {
    background-color: rgba(189, 189, 189, 0.425);
}

.snv-license-upgrade-prompt-message {
    position: absolute;
    top: 68px;
    left: 35px;
    width: 350px;
    margin: 0;
    color: #202020;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    word-break: keep-all;
}

.snv-license-upgrade-prompt-actions {
    position: absolute;
    bottom: 25px;
    left: 50%;
    display: flex;
    gap: 14px;
    transform: translateX(-50%);
}

.snv-license-upgrade-prompt-actions .Round_li_Button {
    width: 125px;
    line-height: 26px;
}

.snv-license-upgrade-prompt-primary {
    border-color: #4f8cff;
    background: linear-gradient(135deg, #4f8cff, #6c63ff);
    color: #ffffff;
}

.snv-license-upgrade-prompt-primary:hover {
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
}

#UserPage {
    z-index: 110;
}

#userbutton:focus-visible,
#UserPage_Logout:focus-visible,
.snv-login-prompt-close:focus-visible,
.snv-login-prompt-actions .Round_li_Button:focus-visible,
.snv-license-upgrade-prompt-close:focus-visible,
.snv-license-upgrade-prompt-actions .Round_li_Button:focus-visible {
    outline: 3px solid #4f8cff;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    #LoginPrompt .snv-login-prompt-panel {
        width: calc(100% - 32px);
    }

    .snv-login-prompt-message {
        left: 24px;
        width: calc(100% - 48px);
    }

    #LicenseUpgradePrompt .snv-license-upgrade-prompt-panel {
        width: calc(100% - 32px);
    }

    .snv-license-upgrade-prompt-message {
        left: 24px;
        width: calc(100% - 48px);
    }
}


.table_tr_left{
    border-bottom: 1px solid #959595;
    border-top: 1px solid #959595;
    border-right: 1px solid #959595;
}

.table_tr_center{
    border: 1px solid #959595
}
.table_tr_right{
    border-bottom: 1px solid #959595;
    border-top: 1px solid #959595;
    border-left: 1px solid #959595;
}

.floor-draw-feedback-layer {
    position: fixed;
    inset: 0;
    z-index: 220;
    contain: layout paint;
    pointer-events: none;
}

.floor-draw-overlap-notice,
.floor-draw-snap-badge {
    position: absolute;
    left: 50%;
    pointer-events: none;
    transform: translateX(-50%);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.02em;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.24);
}

.floor-draw-overlap-notice {
    top: 82px;
    padding: 13px 20px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: rgba(220, 38, 38, 0.94);
    font-size: 15px;
    animation: floor-draw-notice-in 160ms ease-out;
}

.floor-draw-snap-badge {
    bottom: 30px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(3, 105, 161, 0.9);
    font-size: 13px;
}

.floor-draw-snap-badge[data-invalid] {
    background: rgba(190, 24, 93, 0.94);
}

.floor-draw-overlap-notice[hidden],
.floor-draw-snap-badge[hidden] {
    display: none;
}

@keyframes floor-draw-notice-in {
    from {
        opacity: 0;
        transform: translate(-50%, -8px);
    }

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

/* Undo / redo completion toast. */
.snv-history-toast {
    --snv-history-accent: #3b82f6;
    --snv-history-accent-strong: #2563eb;
    --snv-history-glow: rgba(37, 99, 235, 0.28);
    position: fixed;
    top: 64px;
    left: 50%;
    z-index: 210;
    display: flex;
    box-sizing: border-box;
    width: min(390px, calc(100vw - 132px));
    min-height: 64px;
    margin-left: 45px;
    padding: 9px 12px 10px 9px;
    align-items: center;
    gap: 11px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(20, 32, 54, 0.97), rgba(34, 48, 78, 0.94));
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.09);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    backdrop-filter: blur(16px) saturate(135%);
    color: #f8fafc;
    font-family: Pretendard, sans-serif;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-50%, -14px, 0) scale(0.97);
    transform-origin: 50% 0;
    contain: layout paint;
    will-change: transform, opacity;
}

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

.snv-history-toast.is-visible {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1);
    animation: snv-history-toast-fallback 2100ms linear both;
}

.snv-history-toast[data-history-action="undo"] {
    --snv-history-accent: #0ea5e9;
    --snv-history-accent-strong: #2563eb;
    --snv-history-glow: rgba(37, 99, 235, 0.28);
}

.snv-history-toast[data-history-action="redo"] {
    --snv-history-accent: #8b5cf6;
    --snv-history-accent-strong: #6d5ce7;
    --snv-history-glow: rgba(109, 92, 231, 0.3);
}

.snv-history-toast__icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 13px;
    background: linear-gradient(135deg, var(--snv-history-accent), var(--snv-history-accent-strong));
    box-shadow: 0 8px 20px var(--snv-history-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.snv-history-toast__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.snv-history-toast[data-history-action="redo"] .snv-history-toast__icon svg {
    transform: scaleX(-1);
}

.snv-history-toast__content {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
}

.snv-history-toast__text {
    overflow: hidden;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 750;
    line-height: 18px;
    letter-spacing: -0.015em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.snv-history-toast__detail {
    overflow: hidden;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 550;
    line-height: 17px;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.snv-history-toast__shortcut {
    flex: 0 0 auto;
    min-width: 48px;
    padding: 5px 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #dbe5f4;
    font-family: Pretendard, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    white-space: nowrap;
}

.snv-history-toast__progress {
    position: absolute;
    right: 13px;
    bottom: 0;
    left: 13px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--snv-history-accent), var(--snv-history-accent-strong));
    transform: scaleX(0);
    transform-origin: left center;
}

.snv-history-toast.is-visible .snv-history-toast__progress {
    animation: snv-history-toast-progress 2100ms linear both;
}

@keyframes snv-history-toast-fallback {
    0% {
        opacity: 0;
        transform: translate3d(-50%, -14px, 0) scale(0.97);
    }

    11% {
        opacity: 1;
        transform: translate3d(-50%, 2px, 0) scale(1.01);
    }

    16%,
    84% {
        opacity: 1;
        transform: translate3d(-50%, 0, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate3d(-50%, -8px, 0) scale(0.985);
    }
}

@keyframes snv-history-toast-progress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (max-width: 560px) {
    .snv-history-toast {
        top: 54px;
        width: min(390px, calc(100vw - 116px));
        margin-left: 45px;
        padding-right: 10px;
        gap: 9px;
        border-radius: 16px;
    }

    .snv-history-toast__shortcut {
        display: none;
    }

    .snv-history-toast__detail {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .snv-history-toast,
    .snv-history-toast__icon svg,
    .snv-history-toast__progress {
        animation: none;
        transition: none;
    }
}

@media (forced-colors: active) {
    .snv-history-toast {
        border: 1px solid CanvasText;
        background: Canvas;
        box-shadow: none;
        color: CanvasText;
    }

    .snv-history-toast__icon,
    .snv-history-toast__shortcut {
        border-color: CanvasText;
        background: Canvas;
        box-shadow: none;
        color: CanvasText;
    }

    .snv-history-toast__text,
    .snv-history-toast__detail {
        color: CanvasText;
    }

    .snv-history-toast__progress {
        background: CanvasText;
    }
}

/* Non-modal guide shown while a modelling or measurement mode is active. */
.snv-make-infobox {
    position: fixed;
    z-index: 89;
    top: clamp(70px, 8vh, 92px);
    left: 50%;
    display: block;
    box-sizing: border-box;
    width: min(720px, calc(100vw - 32px));
    max-width: 720px;
    max-height: min(44dvh, 420px);
    padding: 18px 20px 15px;
    overflow: auto;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.97),
            rgba(244, 247, 255, 0.95));
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
    color: #25324a;
    font-family: Pretendard, sans-serif;
    line-height: 1.6;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    pointer-events: none;
    transform: translateX(-50%);
    transform-origin: top center;
}

#make_infobox {
    pointer-events: none;
}

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

.snv-make-infobox::before {
    position: absolute;
    top: 0;
    right: 18px;
    left: 18px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #4ea2ff, #6d7ff7, #9a72ef);
    content: '';
}

.snv-make-infobox.is-open {
    animation: snv-make-infobox-in 180ms cubic-bezier(.2, .72, .2, 1) both;
}

.snv-make-infobox__header {
    position: relative;
    display: flex;
    min-height: 42px;
    padding-right: 48px;
    align-items: center;
}

.snv-make-infobox__identity {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.snv-make-infobox__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5872ae;
    font-size: 10px;
    font-weight: 800;
    line-height: 14px;
    letter-spacing: 0.1em;
}

.snv-make-infobox__eyebrow > span {
    color: #4f8cff;
    font-size: 12px;
}

.snv-make-infobox__header h2 {
    margin: 0;
    color: #1f2a44;
    font-size: 18px;
    font-weight: 780;
    line-height: 25px;
    letter-spacing: -0.025em;
}

.snv-make-infobox__close {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    pointer-events: auto;
}

.snv-make-infobox__content {
    padding-top: 11px;
    padding-right: 44px;
    color: #526079;
    font-size: 14px;
    font-weight: 520;
    line-height: 1.65;
    letter-spacing: -0.012em;
}

.snv-make-infobox__footer {
    display: flex;
    margin-top: 13px;
    align-items: center;
    gap: 7px;
    color: #7a879d;
    font-size: 11px;
    font-weight: 650;
    line-height: 16px;
}

.snv-make-infobox__footer kbd {
    min-width: 28px;
    padding: 2px 6px;
    border: 1px solid #d8e0ec;
    border-bottom-color: #bec9d8;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 1px 0 #d8e0ec;
    color: #536176;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 15px;
    text-align: center;
}

@keyframes snv-make-infobox-in {
    from {
        opacity: 0;
        transform: translate(-50%, -8px) scale(0.985);
    }

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

@media (max-width: 680px) {
    .snv-make-infobox {
        top: 60px;
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 72px);
        padding: 15px 14px 13px;
        border-radius: 16px;
    }

    .snv-make-infobox__header {
        padding-right: 44px;
    }

    .snv-make-infobox__header h2 {
        font-size: 16px;
        line-height: 23px;
    }

    .snv-make-infobox__content {
        padding-top: 9px;
        padding-right: 4px;
        font-size: 13px;
    }
}

@media (max-height: 560px) {
    .snv-make-infobox {
        top: 50px;
        max-height: calc(100dvh - 60px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .snv-make-infobox.is-open {
        animation: none;
    }
}

@media (forced-colors: active) {
    .snv-make-infobox {
        border: 1px solid CanvasText;
        background: Canvas;
        box-shadow: none;
        color: CanvasText;
    }

    .snv-make-infobox__header h2,
    .snv-make-infobox__content,
    .snv-make-infobox__footer {
        color: CanvasText;
    }
}
