/* _content/AutoViewerServer/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-cg5c9i2ki9] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-cg5c9i2ki9] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/AutoViewerServer/Components/Pages/AccessLogs.razor.rz.scp.css */
.access-log-page[b-ch0u0z3lme] {
    padding: 24px;
    min-width: 1120px;
    color: #1f2937;
}

.access-log-head[b-ch0u0z3lme] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

    .access-log-head h1[b-ch0u0z3lme] {
        margin: 0;
        font-size: 28px;
    }

    .access-log-head .sub[b-ch0u0z3lme] {
        margin-top: 4px;
        color: #667085;
        font-size: 13px;
    }

.back-btn[b-ch0u0z3lme] {
    text-decoration: none;
    border: 1px solid #cfd5df;
    border-radius: 6px;
    padding: 9px 14px;
    color: #344054;
    background: #fff;
    white-space: nowrap;
}

.notice[b-ch0u0z3lme] {
    border: 1px solid #d9e2ef;
    background: #f7faff;
    border-radius: 7px;
    padding: 12px 14px;
    line-height: 1.55;
    margin-bottom: 14px;
    font-size: 13px;
}

.access-table-wrap[b-ch0u0z3lme] {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #d8dee8;
    border-radius: 7px;
    background: #fff;
}

.access-table[b-ch0u0z3lme] {
    border-collapse: collapse;
    width: 100%;
    min-width: 1080px;
    font-size: 12px;
}

    .access-table th[b-ch0u0z3lme],
    .access-table td[b-ch0u0z3lme] {
        border-bottom: 1px solid #e7ebf0;
        padding: 9px 10px;
        text-align: left;
        white-space: nowrap;
    }

    .access-table th[b-ch0u0z3lme] {
        background: #f3f5f8;
        font-weight: 700;
    }

.type[b-ch0u0z3lme], .state[b-ch0u0z3lme] {
    display: inline-block;
    min-width: 48px;
    text-align: center;
    border-radius: 999px;
    padding: 3px 8px;
    font-weight: 700;
}

    .type.id[b-ch0u0z3lme] {
        background: #eef2ff;
        color: #4338ca;
    }

    .type.web[b-ch0u0z3lme] {
        background: #ecfdf3;
        color: #027a48;
    }

    .state.online[b-ch0u0z3lme] {
        background: #ecfdf3;
        color: #027a48;
    }

    .state.pending[b-ch0u0z3lme] {
        background: #fff7e6;
        color: #b76e00;
    }

.conn-id[b-ch0u0z3lme] {
    color: #98a2b3;
    font-family: Consolas, monospace;
}

.empty[b-ch0u0z3lme] {
    text-align: center !important;
    color: #98a2b3;
    padding: 36px !important;
}

.foot[b-ch0u0z3lme] {
    margin-top: 10px;
    color: #98a2b3;
    font-size: 12px;
}

@media (max-width: 768px) {
    .access-log-page[b-ch0u0z3lme] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 12px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .access-log-head[b-ch0u0z3lme] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }

        .access-log-head > div:first-child[b-ch0u0z3lme] {
            flex: 1 1 auto !important;
            min-width: 0 !important;
        }

        .access-log-head h1[b-ch0u0z3lme] {
            font-size: 22px !important;
        }

        .access-log-head .sub[b-ch0u0z3lme] {
            white-space: normal !important;
            overflow-wrap: anywhere !important;
            word-break: keep-all !important;
        }

    .back-btn[b-ch0u0z3lme] {
        flex: 0 0 auto !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    .notice[b-ch0u0z3lme] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-wrap: anywhere !important;
        word-break: keep-all !important;
    }

    /* 페이지는 고정하고 접속기록 표만 좌우로 움직인다. */
    .access-table-wrap[b-ch0u0z3lme] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x pan-y !important;
        overscroll-behavior-x: contain !important;
    }

    .access-table[b-ch0u0z3lme] {
        width: 1080px !important;
        min-width: 1080px !important;
        max-width: none !important;
    }

    .pager[b-ch0u0z3lme],
    .foot[b-ch0u0z3lme] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .pager[b-ch0u0z3lme] {
        gap: 6px !important;
    }

    .pager-btn[b-ch0u0z3lme] {
        min-width: 76px !important;
        padding: 8px 9px !important;
        font-size: 12px !important;
    }

    .pager-current[b-ch0u0z3lme] {
        min-width: 72px !important;
        font-size: 12px !important;
    }
}

.pager[b-ch0u0z3lme] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.pager-btn[b-ch0u0z3lme] {
    min-width: 92px;
    border: 1px solid #cfd5df;
    border-radius: 6px;
    padding: 8px 13px;
    background: #fff;
    color: #344054;
    font-weight: 700;
    cursor: pointer;
}

    .pager-btn:disabled[b-ch0u0z3lme] {
        opacity: 0.45;
        cursor: default;
    }

.pager-current[b-ch0u0z3lme] {
    min-width: 90px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #475467;
}
/* _content/AutoViewerServer/Components/Pages/Login.razor.rz.scp.css */
.login-page[b-lkqoc4heg3] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #173d70 0%, #0c1c32 45%, #07111f 100%);
    font-family: "Segoe UI", "Malgun Gothic", sans-serif;
}

.login-box[b-lkqoc4heg3] {
    width: 360px;
    max-width: calc(100vw - 24px);
    padding: 38px 40px 42px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .97);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.login-logo[b-lkqoc4heg3] {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #0879e8, #00b9ff);
    color: white;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 7px 18px rgba(0, 112, 230, .28);
}

.login-box h1[b-lkqoc4heg3] {
    margin: 0;
    text-align: center;
    color: #172235;
    font-size: 25px;
}

.login-sub[b-lkqoc4heg3] {
    margin-top: 5px;
    margin-bottom: 30px;
    text-align: center;
    color: #7a8798;
    font-size: 13px;
}

.login-field[b-lkqoc4heg3] {
    margin-bottom: 17px;
}

    .login-field label[b-lkqoc4heg3] {
        display: block;
        margin-bottom: 7px;
        color: #445064;
        font-size: 13px;
        font-weight: 600;
    }

    .login-field input[b-lkqoc4heg3] {
        width: 100%;
        height: 43px;
        box-sizing: border-box;
        padding: 0 12px;
        border: 1px solid #cbd3df;
        border-radius: 7px;
        outline: none;
        font-size: 14px;
    }

        .login-field input:focus[b-lkqoc4heg3] {
            border-color: #1688ee;
            box-shadow: 0 0 0 3px rgba(22, 136, 238, .10);
        }

.remember[b-lkqoc4heg3] {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #586579;
    font-size: 13px;
    cursor: pointer;
}

.login-error[b-lkqoc4heg3] {
    margin-top: 14px;
    padding: 9px 10px;
    background: #fff0f0;
    border-radius: 6px;
    color: #d33b3b;
    font-size: 12px;
}

.login-button[b-lkqoc4heg3] {
    width: 100%;
    height: 44px;
    margin-top: 22px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(90deg, #0878e6, #079cf0);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

    .login-button:hover[b-lkqoc4heg3] {
        filter: brightness(1.04);
    }

    .login-button:disabled[b-lkqoc4heg3] {
        opacity: .6;
        cursor: default;
    }

@media (max-width: 430px) {
    .login-box[b-lkqoc4heg3] {
        width: calc(100vw - 24px);
        padding-left: 26px;
        padding-right: 26px;
    }
}
/* _content/AutoViewerServer/Components/Pages/Monitor.razor.rz.scp.css */
.monitor-page[b-s90vjzaf8w] {
    height: calc(100vh - 30px);
    min-height: 600px;
    padding: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: #f4f6f8;
}

.monitor-head[b-s90vjzaf8w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

    .monitor-head h1[b-s90vjzaf8w] {
        margin: 0;
        font-size: 26px;
    }

.sub-title[b-s90vjzaf8w] {
    color: #777;
    font-size: 13px;
}

.site-selector[b-s90vjzaf8w] {
    display: flex;
    align-items: center;
    gap: 9px;
}

    .site-selector select[b-s90vjzaf8w] {
        width: 230px;
        height: 38px;
    }

.btn-setting[b-s90vjzaf8w] {
    height: 38px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    background: #343a40;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

.site-status[b-s90vjzaf8w] {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
    font-size: 14px;
}

    .site-status span[b-s90vjzaf8w] {
        color: #777;
    }

/* ========================================
   화면 전체
======================================== */

.remote-area[b-s90vjzaf8w] {
    --split-size: 7px;
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: var(--left-percent, 65%) var(--split-size) 1fr;
}

/* ========================================
   왼쪽
======================================== */

.left-area[b-s90vjzaf8w] {
    min-width: 0;
    min-height: 0;
}

/* ========================================
   오른쪽
======================================== */

.right-area[b-s90vjzaf8w] {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: var(--top-percent, 50%) var(--split-size) 1fr;
}

.right-top[b-s90vjzaf8w],
.right-bottom[b-s90vjzaf8w] {
    min-width: 0;
    min-height: 0;
}

/* ========================================
   분할선
======================================== */

.split[b-s90vjzaf8w] {
    background: #444;
    transition: background .1s;
}

    .split:hover[b-s90vjzaf8w] {
        background: #1976d2;
    }

.split-vertical[b-s90vjzaf8w] {
    cursor: col-resize;
}

.split-horizontal[b-s90vjzaf8w] {
    cursor: row-resize;
}

/* ========================================
   프로그램 창
======================================== */

.remote-window[b-s90vjzaf8w] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #111;
    border: 1px solid #555;
    box-sizing: border-box;
    overflow: hidden;
}

.window-title[b-s90vjzaf8w] {
    height: 38px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 12px;
    background: #25282c;
    color: white;
}

.app-name[b-s90vjzaf8w] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.status-dot[b-s90vjzaf8w] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #777;
}

.btn-max[b-s90vjzaf8w] {
    width: 45px;
    height: 38px;
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 20px;
}

    .btn-max:hover[b-s90vjzaf8w] {
        background: rgba(255,255,255,.15);
    }

.remote-screen[b-s90vjzaf8w] {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #17191c;
}

.waiting[b-s90vjzaf8w] {
    text-align: center;
}

.waiting-title[b-s90vjzaf8w] {
    color: #aaa;
    font-size: 21px;
    font-weight: 700;
}

.waiting-text[b-s90vjzaf8w] {
    color: #777;
    margin-top: 8px;
    font-size: 13px;
}

/* ========================================
   최대화
======================================== */

.max-area[b-s90vjzaf8w] {
    flex: 1;
    min-height: 0;
}

/* ========================================
   현장 미선택
======================================== */

.select-empty[b-s90vjzaf8w] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px dashed #bbb;
}

.empty-icon[b-s90vjzaf8w] {
    font-size: 45px;
    color: #aaa;
}

.empty-title[b-s90vjzaf8w] {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
}

.empty-text[b-s90vjzaf8w] {
    margin-top: 5px;
    color: #888;
}

.status-dot.online[b-s90vjzaf8w] {
    background: #22c55e;
    box-shadow: 0 0 7px rgba(34, 197, 94, .8);
}
/* ===== 1화면 원격관제 ===== */

.monitor-page[b-s90vjzaf8w] {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.site-status[b-s90vjzaf8w] {
    flex: 0 0 auto;
}

.remote-area[b-s90vjzaf8w] {
    flex: 1;
    width: 100%;
    min-height: 0;
    display: block;
}

.remote-window[b-s90vjzaf8w] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.window-title[b-s90vjzaf8w] {
    flex: 0 0 auto;
}

.remote-screen[b-s90vjzaf8w] {
    flex: 1;
    min-height: 0;
    width: 100%;
    background: #000;
    overflow: hidden;
}

    .remote-screen img[b-s90vjzaf8w] {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

html[b-s90vjzaf8w],
body[b-s90vjzaf8w] {
    margin: 0;
    height: 100%;
    overflow: hidden;
}

.site-status[b-s90vjzaf8w] {
    height: 45px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    box-sizing: border-box;
}

.remote-full[b-s90vjzaf8w] {
    position: fixed;
    left: 0;
    right: 0;
    /* 헤더(90px) + 상태줄(45px) + 여백 */
    top: var(--remote-top, 165px);
    bottom: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .remote-full img[b-s90vjzaf8w] {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        display: block;
        object-fit: contain;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }

/* =========================================
   모바일 : PC 화면 전체를 처음부터 Fit
   ========================================= */

/*
   App.razor / bluegateMobileFit가 모바일 /monitor의 viewport를 1100px로 잡는다.
   따라서 PC용 상단 메뉴 + 상태줄 + 원격영역 전체가 휴대폰 가로폭에
   처음부터 축소되어 들어온다.

   원격 PC 영상은 video의 object-fit:contain으로 비율을 유지한다.
   세로로 절대 늘리지 않는다.
*/

.monitor-page[b-s90vjzaf8w],
.site-page[b-s90vjzaf8w] {
    min-width: 1100px;
}

.remote-full[b-s90vjzaf8w] {
    left: 0;
    right: 0;
    width: auto;
    min-width: 1100px;
}

/* PC / 모바일 공통: 그룹은 최초 전부 접힘, 제목 클릭 시 그룹 단위로 펼침/접힘 */
.site-tree-group-title[b-s90vjzaf8w] {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.site-tree-group-body[b-s90vjzaf8w] {
    display: none;
}

    .site-tree-group-body.open[b-s90vjzaf8w] {
        display: block;
    }

.site-tree-group:not(.mobile-open) .site-tree-arrow[b-s90vjzaf8w] {
    transform: rotate(-90deg);
}

.site-tree-arrow[b-s90vjzaf8w] {
    transition: transform 120ms ease;
    transform-origin: center;
}

/*
   예전 모바일 코드처럼 remote-full을 static으로 바꾸거나
   420px/100dvh 높이를 강제하지 않는다.
   PC 레이아웃을 그대로 유지한 채 브라우저 viewport만 축소한다.
*/
@media (hover: none) and (pointer: coarse) {

    .site-tree-group-title[b-s90vjzaf8w] {
        touch-action: manipulation;
    }

    .hangul-btn[b-s90vjzaf8w],
    .btn-site-search[b-s90vjzaf8w],
    .btn-setting[b-s90vjzaf8w] {
        touch-action: manipulation;
    }

    .remote-full[b-s90vjzaf8w],
    .remote-full video[b-s90vjzaf8w],
    .remote-full img[b-s90vjzaf8w] {
        -webkit-touch-callout: none;
        user-select: none;
        -webkit-user-select: none;
    }

    #bgExplorer[b-s90vjzaf8w] {
        max-width: 90vw;
        max-height: 90dvh;
    }
}


/* 최대화 중에는 폭 고정 해제 */
html.bg-remote-max[b-s90vjzaf8w],
html.bg-remote-max body[b-s90vjzaf8w] {
    min-width: 0 !important;
    overflow: hidden !important;
}

    html.bg-remote-max .monitor-page[b-s90vjzaf8w] {
        min-width: 0 !important;
        height: 100dvh !important;
    }

    html.bg-remote-max .remote-full[b-s90vjzaf8w] {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        min-width: 0 !important;
    }

.status-dot[b-s90vjzaf8w] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 auto;
}

    .status-dot.online[b-s90vjzaf8w] {
        background: #22c55e;
        box-shadow: 0 0 7px rgba(34, 197, 94, .75);
    }

    .status-dot.offline[b-s90vjzaf8w] {
        background: #ef4444;
        box-shadow: 0 0 7px rgba(239, 68, 68, .65);
    }

.status-text[b-s90vjzaf8w] {
    margin-left: -8px;
    font-size: 13px;
    font-weight: 600;
}

.online-text[b-s90vjzaf8w] {
    color: #16a34a !important;
}

.offline-text[b-s90vjzaf8w] {
    color: #dc2626 !important;
}

.hangul-btn[b-s90vjzaf8w] {
    height: 30px;
    padding: 0 14px;
    margin-left: 2px;
    border: 1px solid #64748b;
    border-radius: 5px;
    background: #334155;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

    .hangul-btn:hover[b-s90vjzaf8w] {
        background: #2563eb;
        border-color: #2563eb;
    }

    .hangul-btn:active[b-s90vjzaf8w] {
        transform: translateY(1px);
    }

.connection-mode[b-s90vjzaf8w] {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

    .connection-mode.server[b-s90vjzaf8w] {
        background: #e3f2fd;
        color: #1565c0 !important;
    }

    .connection-mode.client[b-s90vjzaf8w] {
        background: #e8f5e9;
        color: #2e7d32 !important;
    }
/* Alt 토글 ON 상태 */
.hangul-btn.key-on[b-s90vjzaf8w],
.fs-bar button.key-on[b-s90vjzaf8w] {
    background: #ff9800 !important;
    color: #fff !important;
    border-color: #ff9800 !important;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.35);
}

.password-backdrop[b-s90vjzaf8w] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .48);
    z-index: 9000;
}

.password-dialog[b-s90vjzaf8w] {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    padding: 26px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    z-index: 9001;
}

.password-title[b-s90vjzaf8w] {
    margin-bottom: 5px;
    color: #172235;
    font-size: 20px;
    font-weight: 700;
}

.password-user[b-s90vjzaf8w] {
    margin-bottom: 22px;
    color: #778397;
    font-size: 13px;
}

.password-dialog label[b-s90vjzaf8w] {
    display: block;
    margin: 13px 0 6px;
    color: #48566a;
    font-size: 13px;
    font-weight: 600;
}

.password-dialog input[b-s90vjzaf8w] {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    box-sizing: border-box;
    border: 1px solid #cbd3df;
    border-radius: 6px;
    outline: none;
}

    .password-dialog input:focus[b-s90vjzaf8w] {
        border-color: #1688ee;
    }

.password-message[b-s90vjzaf8w] {
    margin-top: 14px;
    padding: 9px;
    border-radius: 6px;
    font-size: 12px;
}

    .password-message.error[b-s90vjzaf8w] {
        background: #fff0f0;
        color: #cf3434;
    }

    .password-message.success[b-s90vjzaf8w] {
        background: #edf9f1;
        color: #218a47;
    }

.password-buttons[b-s90vjzaf8w] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 22px;
}

    .password-buttons button[b-s90vjzaf8w] {
        min-width: 75px;
        height: 36px;
        border: 1px solid #ccd3dc;
        border-radius: 6px;
        background: #fff;
        cursor: pointer;
    }

    .password-buttons .change[b-s90vjzaf8w] {
        border-color: #087ee5;
        background: #087ee5;
        color: #fff;
    }



/* ============================================================
   모바일 원격 연결 모드
   html.bg-mobile-remote
   ============================================================ */

.remote-video-layer[b-s90vjzaf8w] {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: visible;
}

/*
   현장 연결 전에는 기존 PC 전체 레이아웃을 1100px viewport로 Fit.
   현장 연결 후에는 JS가 viewport를 device-width로 전환하고
   이 모바일 전용 레이아웃을 사용한다.
*/
html.bg-mobile-remote[b-s90vjzaf8w],
html.bg-mobile-remote body[b-s90vjzaf8w] {
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #000 !important;
}

    html.bg-mobile-remote .monitor-page[b-s90vjzaf8w] {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        min-width: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        background: #000 !important;
    }

    /* 연결 중에는 PC용 상단 헤더를 숨긴다. */
    html.bg-mobile-remote .monitor-head[b-s90vjzaf8w] {
        display: none !important;
    }

    /*
   기존 site-status의 상태 텍스트는 숨기고
   원격 제어 버튼만 하단 모바일 툴바로 사용.
*/
    html.bg-mobile-remote .site-status[b-s90vjzaf8w] {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        z-index: 9000 !important;
        width: 100vw !important;
        height: 58px !important;
        min-height: 58px !important;
        padding: 6px 8px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 6px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        background: rgba(8, 18, 40, .97) !important;
        border-top: 1px solid rgba(255,255,255,.15) !important;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

        html.bg-mobile-remote .site-status[b-s90vjzaf8w]::-webkit-scrollbar {
            display: none;
        }

        /* 모바일 하단바에서는 정보 텍스트를 숨긴다. */
        html.bg-mobile-remote .site-status > strong[b-s90vjzaf8w],
        html.bg-mobile-remote .site-status > span[b-s90vjzaf8w],
        html.bg-mobile-remote .site-status .file-status[b-s90vjzaf8w] {
            display: none !important;
        }

        html.bg-mobile-remote .site-status .hangul-btn[b-s90vjzaf8w] {
            flex: 0 0 auto !important;
            min-width: 48px !important;
            height: 44px !important;
            padding: 0 10px !important;
            border: 1px solid rgba(255,255,255,.20) !important;
            border-radius: 8px !important;
            background: #172238 !important;
            color: #fff !important;
            font-size: 12px !important;
            font-weight: 700 !important;
            line-height: 42px !important;
            white-space: nowrap !important;
            touch-action: manipulation !important;
        }

            html.bg-mobile-remote .site-status .hangul-btn.key-on[b-s90vjzaf8w] {
                background: #1769d1 !important;
            }

    /*
   원격 화면 영역:
   하단 툴바 58px만 남기고 나머지는 전부 검은 viewer.
*/
    html.bg-mobile-remote .remote-full[b-s90vjzaf8w] {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 58px !important;
        width: 100vw !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        background: #000 !important;
        overflow: hidden !important;
        display: block !important;
    }

        /* 중복되는 전체화면 상단바는 모바일 연결 모드에서는 숨김 */
        html.bg-mobile-remote .remote-full > .fs-bar[b-s90vjzaf8w] {
            display: none !important;
        }

    /*
   실제 원격영상은 항상 16:9.
   휴대폰 가로폭 100% 기준, 세로는 절대 늘리지 않는다.
   남는 위/아래는 .remote-full의 검은 배경.
*/
    html.bg-mobile-remote .remote-video-layer[b-s90vjzaf8w] {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        width: 100vw !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        margin: 0 !important;
        overflow: visible !important;
        background: #000 !important;
        transform-origin: center center !important;
        will-change: transform;
    }

        html.bg-mobile-remote .remote-video-layer > video[b-s90vjzaf8w],
        html.bg-mobile-remote .remote-video-layer > img[b-s90vjzaf8w] {
            width: 100% !important;
            height: 100% !important;
            display: block !important;
            object-fit: contain !important;
            background: #000 !important;
            user-select: none !important;
            -webkit-user-select: none !important;
            -webkit-touch-callout: none !important;
            touch-action: none !important;
        }

    /* 최대화에서도 모바일 전용 레이아웃을 유지 */
    html.bg-mobile-remote.bg-remote-max .remote-full[b-s90vjzaf8w],
    html.bg-mobile-remote.bg-remote-max body .remote-full[b-s90vjzaf8w] {
        inset: 0 0 58px 0 !important;
        width: 100vw !important;
        height: auto !important;
    }



    /* ============================================================
   모바일 원격 제스처는 monitor.js가 전부 처리
   - 브라우저 double-tap zoom 금지
   - tap + 두 번째 tap hold/move = Windows drag
   - JS pinch zoom / two-finger wheel은 그대로 사용
   ============================================================ */
    html.bg-mobile-remote .remote-full[b-s90vjzaf8w],
    html.bg-mobile-remote .remote-video-layer[b-s90vjzaf8w],
    html.bg-mobile-remote .remote-video-layer > video[b-s90vjzaf8w],
    html.bg-mobile-remote .remote-video-layer > img[b-s90vjzaf8w] {
        touch-action: none !important;
        overscroll-behavior: none !important;
    }



    /* ============================================================
   모바일 보정 v2
   ============================================================ */

    /* 모바일에서는 최대화 버튼 불필요 */
    html.bg-mobile-remote .site-status .mobile-max-btn[b-s90vjzaf8w] {
        display: none !important;
    }

    /* 하단 툴바는 항상 viewer 위에 유지 */
    html.bg-mobile-remote .site-status[b-s90vjzaf8w] {
        z-index: 12000 !important;
    }



    /* ============================================================
   모바일 소프트키보드 표시 중
   ============================================================ */
    html.bg-mobile-remote.bg-mobile-keyboard .remote-full[b-s90vjzaf8w] {
        top: var(--bg-vv-top, 0px) !important;
        bottom: auto !important;
        height: calc(var(--bg-vv-height, 100dvh) - 58px) !important;
    }

    html.bg-mobile-remote.bg-mobile-keyboard .site-status[b-s90vjzaf8w] {
        top: calc( var(--bg-vv-top, 0px) + var(--bg-vv-height, 100dvh) - 58px ) !important;
        bottom: auto !important;
    }

    html.bg-mobile-remote.bg-mobile-keyboard .remote-video-layer[b-s90vjzaf8w] {
        width: var(--bg-kbd-video-width, 100vw) !important;
        max-width: 100vw !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }



/* ============================================================
   PC / MOBILE 커서 완전 분리
   - PC 웹: CURS 패킷을 monitor.js가 CSS cursor로 표시
   - 모바일: bluegateTouch 가상 커서/터치 제어 사용, 브라우저 포인터 숨김
   ============================================================ */
html:not(.bg-mobile-remote) .remote-full[b-s90vjzaf8w],
html:not(.bg-mobile-remote) .remote-video-layer[b-s90vjzaf8w],
html:not(.bg-mobile-remote) .remote-video-layer > video[b-s90vjzaf8w],
html:not(.bg-mobile-remote) .remote-video-layer > img[b-s90vjzaf8w] {
    cursor: default !important;
}

html.bg-mobile-remote .remote-full[b-s90vjzaf8w],
html.bg-mobile-remote .remote-video-layer[b-s90vjzaf8w],
html.bg-mobile-remote .remote-video-layer > video[b-s90vjzaf8w],
html.bg-mobile-remote .remote-video-layer > img[b-s90vjzaf8w] {
    cursor: none !important;
}

.site-status[b-s90vjzaf8w],
.site-status *[b-s90vjzaf8w],
.fs-bar[b-s90vjzaf8w],
.fs-bar *[b-s90vjzaf8w],
#bgExplorer[b-s90vjzaf8w],
#bgExplorer *[b-s90vjzaf8w] {
    cursor: default;
}

    .site-status button[b-s90vjzaf8w],
    .fs-bar button[b-s90vjzaf8w],
    #bgExplorer button[b-s90vjzaf8w],
    #bgExplorer a[b-s90vjzaf8w] {
        cursor: pointer;
    }

.mobile-keyboard-btn[b-s90vjzaf8w] {
    display: none !important;
}

html.bg-mobile-remote .site-status .mobile-keyboard-btn[b-s90vjzaf8w] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* ============================================================
   v8 : 로그인 후 초기 현장 트리
   ============================================================ */
.select-empty.site-home[b-s90vjzaf8w] {
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 22px 28px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: #f7f9fc !important;
    border: 1px solid #d9e0e9 !important;
}

.site-home-search[b-s90vjzaf8w] {
    flex: 0 0 auto;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 760px;
    width: 100%;
    margin: 0 auto 18px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #c8d2df;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 9px rgba(15, 35, 60, .06);
}

.site-home-search-icon[b-s90vjzaf8w] {
    flex: 0 0 auto;
    font-size: 18px;
}

.site-home-search input[b-s90vjzaf8w] {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172235;
    font-size: 16px;
    font-family: "Malgun Gothic", sans-serif;
}

.site-home-search button[b-s90vjzaf8w] {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 6px;
    background: #eef2f7;
    color: #526174;
    cursor: pointer;
}

.site-home-tree[b-s90vjzaf8w] {
    flex: 1 1 auto;
    width: 100%;
    max-width: 980px;
    min-height: 0;
    margin: 0 auto;
    overflow: auto;
    padding: 4px 8px 18px;
    box-sizing: border-box;
}

.site-home-empty[b-s90vjzaf8w] {
    margin-top: 70px;
    text-align: center;
    color: #7b8796;
    font-size: 16px;
}

.site-tree-group[b-s90vjzaf8w] {
    margin-bottom: 13px;
    border: 1px solid #dce3ec;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(20, 40, 70, .04);
}

.site-tree-group-title[b-s90vjzaf8w] {
    height: 42px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    background: #eaf0f7;
    color: #243348;
    border-bottom: 1px solid #dbe3ed;
    font-size: 14px;
}

.site-tree-arrow[b-s90vjzaf8w] {
    color: #61728a;
    font-size: 11px;
}

.site-tree-count[b-s90vjzaf8w] {
    margin-left: auto;
    min-width: 23px;
    height: 22px;
    padding: 0 7px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #d4deeb;
    color: #526174;
    font-size: 11px;
    font-weight: 700;
}

.site-tree-site[b-s90vjzaf8w] {
    width: 100%;
    min-height: 43px;
    padding: 5px 14px 5px 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    background: #fff;
    color: #253247;
    text-align: left;
    cursor: pointer;
    font-family: "Malgun Gothic", sans-serif;
}

    .site-tree-site:last-child[b-s90vjzaf8w] {
        border-bottom: 0;
    }

    .site-tree-site:hover[b-s90vjzaf8w] {
        background: #e8f2ff;
    }

    .site-tree-site:active[b-s90vjzaf8w] {
        background: #d5e8ff;
    }

.site-tree-branch[b-s90vjzaf8w] {
    color: #a9b4c2;
    font-family: Consolas, monospace;
}

.site-tree-dot[b-s90vjzaf8w] {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
}

.site-tree-site.online .site-tree-dot[b-s90vjzaf8w] {
    background: #20b15a;
    box-shadow: 0 0 6px rgba(32,177,90,.45);
}

.site-tree-site.offline .site-tree-dot[b-s90vjzaf8w] {
    background: #e35252;
}

.site-tree-name[b-s90vjzaf8w] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
}

.site-tree-ip[b-s90vjzaf8w] {
    flex: 0 0 auto;
    color: #76859a;
    font-size: 12px;
}

.site-tree-state[b-s90vjzaf8w] {
    flex: 0 0 62px;
    text-align: right;
    font-size: 11px;
    font-weight: 700;
}

.site-tree-site.online .site-tree-state[b-s90vjzaf8w] {
    color: #159447;
}

.site-tree-site.offline .site-tree-state[b-s90vjzaf8w] {
    color: #c94b4b;
}

@media (hover:none) and (pointer:coarse) {
    html:not(.bg-mobile-remote) .select-empty.site-home[b-s90vjzaf8w] {
        padding: 16px !important;
    }

    html:not(.bg-mobile-remote) .site-home-search[b-s90vjzaf8w],
    html:not(.bg-mobile-remote) .site-home-tree[b-s90vjzaf8w] {
        max-width: none;
    }

    html:not(.bg-mobile-remote) .site-tree-site[b-s90vjzaf8w] {
        min-height: 48px;
    }
}


/* ============================================================
   v9 : 현장 선택 트리 / 연결 닫기 / 모바일 선택화면
   ============================================================ */

.site-home-filter-row[b-s90vjzaf8w] {
    flex: 0 0 auto;
    width: 100%;
    max-width: 980px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .site-home-filter-row .site-home-search[b-s90vjzaf8w] {
        flex: 1 1 auto;
        max-width: none;
        width: auto;
        margin: 0;
    }

.site-home-online[b-s90vjzaf8w] {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-sizing: border-box;
    border: 1px solid #c8d2df;
    border-radius: 9px;
    background: #fff;
    color: #32445a;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    color-scheme: light;
}

    .site-home-online input[b-s90vjzaf8w] {
        width: 17px;
        height: 17px;
        margin: 0;
    }

.site-tree-site[b-s90vjzaf8w] {
    cursor: default !important;
}

    .site-tree-site:hover[b-s90vjzaf8w] {
        background: #fff;
    }

.site-tree-connect[b-s90vjzaf8w] {
    flex: 0 0 auto;
    min-width: 62px;
    height: 31px;
    padding: 0 12px;
    border: 1px solid #1769c2;
    border-radius: 6px;
    background: #1976d2;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

    .site-tree-connect:hover[b-s90vjzaf8w] {
        background: #0f63bb;
    }

.close-site-btn[b-s90vjzaf8w] {
    flex: 0 0 auto !important;
    border-color: #b93c3c !important;
    background: #a92f2f !important;
    color: #fff !important;
}

@media (hover:none) and (pointer:coarse) {

    html:not(.bg-mobile-remote)[b-s90vjzaf8w],
    html:not(.bg-mobile-remote) body[b-s90vjzaf8w] {
        width: 100% !important;
        min-width: 0 !important;
        height: 100% !important;
        overflow: hidden !important;
        color-scheme: light;
        background: #f4f6f8 !important;
    }

        html:not(.bg-mobile-remote) .monitor-page[b-s90vjzaf8w] {
            width: 100vw !important;
            min-width: 0 !important;
            height: 100dvh !important;
            min-height: 0 !important;
            padding: 8px !important;
            overflow: hidden !important;
            box-sizing: border-box !important;
        }

        html:not(.bg-mobile-remote) .monitor-head[b-s90vjzaf8w] {
            flex: 0 0 auto;
            margin-bottom: 8px;
            gap: 6px;
            align-items: center;
        }

            html:not(.bg-mobile-remote) .monitor-head h1[b-s90vjzaf8w] {
                font-size: 17px;
                white-space: nowrap;
            }

        html:not(.bg-mobile-remote) .sub-title[b-s90vjzaf8w] {
            display: none;
        }

        html:not(.bg-mobile-remote) .header-actions[b-s90vjzaf8w] {
            margin-left: auto;
            gap: 4px;
        }

            html:not(.bg-mobile-remote) .header-actions .btn-setting[b-s90vjzaf8w] {
                height: 34px;
                padding: 0 8px;
                font-size: 11px;
            }

        html:not(.bg-mobile-remote) .select-empty.site-home[b-s90vjzaf8w] {
            flex: 1 1 auto !important;
            width: 100% !important;
            min-width: 0 !important;
            min-height: 0 !important;
            padding: 8px !important;
            overflow: hidden !important;
        }

        html:not(.bg-mobile-remote) .site-home-filter-row[b-s90vjzaf8w] {
            width: 100%;
            max-width: none;
            margin-bottom: 8px;
            gap: 6px;
        }

        html:not(.bg-mobile-remote) .site-home-search[b-s90vjzaf8w] {
            height: 42px;
            min-width: 0;
            padding: 0 8px;
        }

        html:not(.bg-mobile-remote) .site-home-online[b-s90vjzaf8w] {
            min-height: 42px;
            padding: 0 8px;
            font-size: 11px;
        }

        html:not(.bg-mobile-remote) .site-home-tree[b-s90vjzaf8w] {
            width: 100%;
            max-width: none;
            min-width: 0;
            padding: 0 0 8px;
            overflow-x: hidden;
            overflow-y: auto;
        }

        html:not(.bg-mobile-remote) .site-tree-group[b-s90vjzaf8w] {
            width: 100%;
            margin-bottom: 8px;
        }

        html:not(.bg-mobile-remote) .site-tree-site[b-s90vjzaf8w] {
            min-height: 48px;
            padding: 5px 7px;
            gap: 5px;
        }

        html:not(.bg-mobile-remote) .site-tree-branch[b-s90vjzaf8w],
        html:not(.bg-mobile-remote) .site-tree-ip[b-s90vjzaf8w] {
            display: none;
        }

        html:not(.bg-mobile-remote) .site-tree-name[b-s90vjzaf8w] {
            font-size: 13px;
        }

        html:not(.bg-mobile-remote) .site-tree-state[b-s90vjzaf8w] {
            flex: 0 0 44px;
            font-size: 10px;
        }

        html:not(.bg-mobile-remote) .site-tree-connect[b-s90vjzaf8w] {
            min-width: 52px;
            height: 34px;
            padding: 0 8px;
            font-size: 11px;
        }
}


/* ============================================================
   v11 : 모바일 초기화면 헤더 / 하단 닫기 / 실제 IME 입력창
   ============================================================ */

@media (hover:none) and (pointer:coarse) {

    html:not(.bg-mobile-remote) .monitor-head[b-s90vjzaf8w] {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 7px !important;
        width: 100% !important;
    }

        html:not(.bg-mobile-remote) .monitor-head > div:first-child[b-s90vjzaf8w] {
            width: 100% !important;
            min-width: 0 !important;
        }

        html:not(.bg-mobile-remote) .monitor-head h1[b-s90vjzaf8w] {
            margin: 0 !important;
            font-size: 18px !important;
            line-height: 26px !important;
        }

    html:not(.bg-mobile-remote) .header-actions[b-s90vjzaf8w] {
        width: 100% !important;
        margin: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

        html:not(.bg-mobile-remote) .header-actions .btn-setting[b-s90vjzaf8w] {
            width: 100% !important;
            min-width: 0 !important;
            height: 38px !important;
            padding: 0 4px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            box-sizing: border-box !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
            font-size: 11px !important;
        }

    /* 연결된 모바일 하단바의 닫기는 항상 맨 앞에 고정 */
    html.bg-mobile-remote .site-status .close-site-btn[b-s90vjzaf8w] {
        order: -999 !important;
        position: sticky !important;
        left: 0 !important;
        z-index: 3 !important;
        display: inline-flex !important;
        min-width: 60px !important;
        background: #b52e2e !important;
        border-color: #d45a5a !important;
    }
    /* 원격키보드 입력창은 화면에 표시하지 않는다. */
}


/* ============================================================
   v12 : 모바일 하단 닫기 버튼은 다른 버튼과 같이 움직임
   ============================================================ */
@media (hover:none) and (pointer:coarse) {
    html.bg-mobile-remote .site-status .close-site-btn[b-s90vjzaf8w] {
        position: static !important;
        left: auto !important;
        z-index: auto !important;
        order: initial !important;
        flex: 0 0 auto !important;
    }
}


/* v13.1 : Relay 등록대기 상태 */
.site-tree-site.pending .site-tree-dot[b-s90vjzaf8w] {
    background: #f0a000 !important;
    box-shadow: 0 0 6px rgba(240,160,0,.45) !important;
}

.site-tree-site.pending .site-tree-state[b-s90vjzaf8w] {
    color: #d98a00 !important;
}

.site-tree-connect.pending[b-s90vjzaf8w],
.site-tree-connect.pending:disabled[b-s90vjzaf8w] {
    border-color: #d6a64b !important;
    background: #fff3d5 !important;
    color: #9a6500 !important;
    cursor: default !important;
    opacity: 1 !important;
}


/* v13.2 : 등록대기도 Relay 연결 가능 */
.site-status .status-dot.pending[b-s90vjzaf8w] {
    background: #f0a000 !important;
    box-shadow: 0 0 6px rgba(240,160,0,.45) !important;
}

.site-status .status-text.pending-text[b-s90vjzaf8w] {
    color: #d98a00 !important;
}

.site-tree-connect.pending[b-s90vjzaf8w] {
    border-color: #d6a64b !important;
    background: #fff3d5 !important;
    color: #9a6500 !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

/* v14 round3 : 연결끊김 현장은 연결 버튼 비활성 */
.site-tree-connect:disabled:not(.pending)[b-s90vjzaf8w] {
    border-color: #c9ced6 !important;
    background: #d9dde3 !important;
    color: #7d8590 !important;
    cursor: not-allowed !important;
    opacity: .75 !important;
}

    .site-tree-connect:disabled:not(.pending):hover[b-s90vjzaf8w] {
        background: #d9dde3 !important;
    }

/* ============================================================
   v15 : 모바일 첫 화면을 실제 viewport 폭에 고정
   - 페이지 전체가 좌우로 끌려가는 현상 차단
   - 원격 연결 화면의 핀치/제스처는 건드리지 않음
   ============================================================ */
@media (max-width: 768px) {
    html:not(.bg-mobile-remote) .monitor-page[b-s90vjzaf8w] {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 100dvh !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        overscroll-behavior-x: none !important;
    }

    html:not(.bg-mobile-remote) .monitor-head[b-s90vjzaf8w],
    html:not(.bg-mobile-remote) .monitor-head > div[b-s90vjzaf8w],
    html:not(.bg-mobile-remote) .header-actions[b-s90vjzaf8w],
    html:not(.bg-mobile-remote) .select-empty.site-home[b-s90vjzaf8w],
    html:not(.bg-mobile-remote) .site-home-filter-row[b-s90vjzaf8w],
    html:not(.bg-mobile-remote) .site-home-tree[b-s90vjzaf8w],
    html:not(.bg-mobile-remote) .site-tree-group[b-s90vjzaf8w] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html:not(.bg-mobile-remote) .monitor-head[b-s90vjzaf8w] {
        overflow: hidden !important;
    }

        html:not(.bg-mobile-remote) .monitor-head h1[b-s90vjzaf8w] {
            max-width: 100% !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
        }

    html:not(.bg-mobile-remote) .site-home-filter-row[b-s90vjzaf8w] {
        overflow: hidden !important;
    }

    html:not(.bg-mobile-remote) .site-home-search[b-s90vjzaf8w] {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
    }

    html:not(.bg-mobile-remote) .site-home-tree[b-s90vjzaf8w] {
        overflow-x: hidden !important;
        overscroll-behavior-x: none !important;
        touch-action: pan-y !important;
    }
}


/* ============================================================
   v16 : 모바일 현장명 전체 표시
   - 첫 화면 현장명이 길어도 말줄임표로 자르지 않는다.
   - 페이지 가로폭은 그대로 고정하고 이름만 여러 줄로 표시한다.
   ============================================================ */
@media (max-width: 768px) {
    html:not(.bg-mobile-remote) .site-tree-site[b-s90vjzaf8w] {
        height: auto !important;
        min-height: 48px !important;
        align-items: center !important;
    }

    html:not(.bg-mobile-remote) .site-tree-name[b-s90vjzaf8w] {
        min-width: 0 !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        line-height: 18px !important;
    }
}


/* ============================================================
   Desktop remote video text sharpness
   - Chrome/Edge video compositor edge-preserving scaling
   - no extra canvas/filter/frame buffer: no CPU/memory increase
   - mobile pinch/zoom path intentionally unchanged
   ============================================================ */
html:not(.bg-mobile-remote) .remote-video-layer > video[b-s90vjzaf8w] {
    image-rendering: crisp-edges !important;
}

/* 모바일 2단 독립 특수키 바: 위 기존 바 / 아래 특수키 바 */
.mobile-extra-keys[b-s90vjzaf8w] { display: none; }
html.bg-mobile-remote .mobile-extra-keys[b-s90vjzaf8w] {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    z-index: 12001 !important;
    width: 100vw !important;
    height: 58px !important;
    padding: 6px 8px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background: rgba(8, 18, 40, .97) !important;
    border-top: 1px solid rgba(255,255,255,.15) !important;
    touch-action: pan-x !important;
}
html.bg-mobile-remote .mobile-extra-keys[b-s90vjzaf8w]::-webkit-scrollbar { display: none; }
html.bg-mobile-remote .mobile-extra-keys .hangul-btn[b-s90vjzaf8w] {
    flex: 0 0 auto !important;
    min-width: 48px !important;
    height: 44px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(255,255,255,.20) !important;
    border-radius: 8px !important;
    background: #172238 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    touch-action: manipulation !important;
}
html.bg-mobile-remote .site-status[b-s90vjzaf8w] { bottom: 58px !important; }
html.bg-mobile-remote .remote-full[b-s90vjzaf8w] { bottom: 116px !important; }
html.bg-mobile-remote.bg-remote-max .remote-full[b-s90vjzaf8w],
html.bg-mobile-remote.bg-remote-max body .remote-full[b-s90vjzaf8w] {
    inset: 0 0 116px 0 !important;
}
html.bg-mobile-remote.bg-mobile-keyboard .mobile-extra-keys[b-s90vjzaf8w] {
    top: calc(var(--bg-vv-top, 0px) + var(--bg-vv-height, 100dvh) - 58px) !important;
    bottom: auto !important;
}
html.bg-mobile-remote.bg-mobile-keyboard .site-status[b-s90vjzaf8w] {
    top: calc(var(--bg-vv-top, 0px) + var(--bg-vv-height, 100dvh) - 116px) !important;
    bottom: auto !important;
}
html.bg-mobile-remote.bg-mobile-keyboard .remote-full[b-s90vjzaf8w] {
    height: calc(var(--bg-vv-height, 100dvh) - 116px) !important;
    bottom: auto !important;
}
/* _content/AutoViewerServer/Components/Pages/Sites.razor.rz.scp.css */
/* 원격PC 설정 상단 액션 */
.page-header-actions[b-f1cubflm10] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-sites-close[b-f1cubflm10] {
    min-width: 78px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid #9aa3ad;
    border-radius: 8px;
    background: #fff;
    color: #38424d;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

    .btn-sites-close:hover[b-f1cubflm10] {
        background: #eef1f4;
    }

/* =========================================================
   그룹 + 원격PC 2단 레이아웃
   ========================================================= */

.site-layout[b-f1cubflm10] {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}


/* =========================================================
   왼쪽 그룹 패널
   ========================================================= */

.group-panel[b-f1cubflm10] {
    background: #fff;
    border: 1px solid #e1e5ea;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.group-panel-head[b-f1cubflm10] {
    min-height: 72px;
    box-sizing: border-box;
    padding: 14px 14px 13px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf0f3;
}

.group-panel-title[b-f1cubflm10] {
    font-size: 17px;
    font-weight: 700;
    color: #222;
}

.group-panel-count[b-f1cubflm10] {
    margin-top: 4px;
    font-size: 12px;
    color: #9097a1;
}


.btn-group-add-small[b-f1cubflm10] {
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 7px;
    background: #1976d2;
    color: #fff;
    font-size: 22px;
    line-height: 33px;
    cursor: pointer;
}

    .btn-group-add-small:hover[b-f1cubflm10] {
        background: #1565c0;
    }


/* =========================================================
   그룹 목록
   ========================================================= */

.group-list[b-f1cubflm10] {
    padding: 8px;
    max-height: calc(100vh - 250px);
    overflow-y: auto;
}

.group-list-item[b-f1cubflm10] {
    min-height: 46px;
    box-sizing: border-box;
    padding: 0 9px 0 13px;
    margin-bottom: 4px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    color: #50555c;
    transition: background .12s, color .12s;
}

    .group-list-item:hover[b-f1cubflm10] {
        background: #f3f6f9;
    }

    .group-list-item.active[b-f1cubflm10] {
        background: #eaf3ff;
        color: #1565c0;
    }


.group-list-name[b-f1cubflm10] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
}


.group-list-right[b-f1cubflm10] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}


.group-list-count[b-f1cubflm10] {
    min-width: 25px;
    height: 22px;
    box-sizing: border-box;
    padding: 0 6px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf0f3;
    color: #72777f;
    font-size: 11px;
    font-weight: 700;
}

.group-list-item.active .group-list-count[b-f1cubflm10] {
    background: #1976d2;
    color: #fff;
}


.group-list-delete[b-f1cubflm10] {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #a9aeb5;
    font-size: 17px;
    line-height: 22px;
    cursor: pointer;
}

    .group-list-delete:hover[b-f1cubflm10] {
        background: #ffebee;
        color: #c62828;
    }


/* =========================================================
   오른쪽 원격PC 패널
   ========================================================= */

.site-panel[b-f1cubflm10] {
    min-width: 0;
}

.site-panel-head[b-f1cubflm10] {
    min-height: 72px;
    box-sizing: border-box;
    margin-bottom: 12px;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e1e5ea;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.025);
}

.site-panel-title[b-f1cubflm10] {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.site-panel-sub[b-f1cubflm10] {
    margin-top: 4px;
    font-size: 13px;
    color: #9097a1;
}


/* =========================================================
   그룹 추가 팝업
   ========================================================= */

.group-popup-box[b-f1cubflm10] {
    width: 390px;
}

/* =========================================================
   원격PC 카드 개선
   ========================================================= */

.site-list[b-f1cubflm10] {
    gap: 12px;
}

.site-row[b-f1cubflm10] {
    min-height: 62px;
    border: 1px solid #e1e5ea;
    border-radius: 10px;
    padding: 16px 18px;
    transition: box-shadow .15s, border-color .15s, transform .15s;
}

    .site-row:hover[b-f1cubflm10] {
        border-color: #c8d7e8;
        box-shadow: 0 5px 18px rgba(0,0,0,.06);
        transform: translateY(-1px);
    }

.site-name[b-f1cubflm10] {
    color: #222;
}

.site-address[b-f1cubflm10] {
    display: flex;
    align-items: center;
    gap: 7px;
}

.site-actions[b-f1cubflm10] {
    flex-shrink: 0;
}

.btn-edit[b-f1cubflm10] {
    background: #f1f4f8;
    color: #3c4652;
    font-weight: 600;
}

    .btn-edit:hover[b-f1cubflm10] {
        background: #e5eaf0;
    }

.btn-delete[b-f1cubflm10] {
    font-weight: 600;
}

    .btn-delete:hover[b-f1cubflm10] {
        background: #ffcdd2;
    }


/* =========================================================
   원격PC 편집창
   ========================================================= */

.modal-box[b-f1cubflm10] {
    width: 470px;
    border: 1px solid #e3e6ea;
}

.modal-title[b-f1cubflm10] {
    padding-bottom: 15px;
    border-bottom: 1px solid #edf0f3;
}

.field label[b-f1cubflm10] {
    color: #333;
}

.field input[b-f1cubflm10],
.group-select[b-f1cubflm10] {
    width: 100%;
    height: 43px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #ccd2da;
    border-radius: 7px;
    background: #fff;
    font-size: 15px;
    color: #222;
    outline: none;
}

    .field input:focus[b-f1cubflm10],
    .group-select:focus[b-f1cubflm10] {
        border-color: #1976d2;
        box-shadow: 0 0 0 3px rgba(25,118,210,.08);
    }

.group-select[b-f1cubflm10] {
    cursor: pointer;
}

.field-help[b-f1cubflm10] {
    margin-top: 6px;
    color: #8a8f98;
    font-size: 12px;
}

.mode-option[b-f1cubflm10] {
    transition: .15s;
}

    .mode-option:hover[b-f1cubflm10] {
        border-color: #aab8c7;
        background: #fafbfd;
    }

    .mode-option.selected[b-f1cubflm10] {
        border-color: #1976d2;
        background: #eef6ff;
        box-shadow: 0 0 0 1px rgba(25,118,210,.05);
    }

    .mode-option span[b-f1cubflm10] {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .mode-option small[b-f1cubflm10] {
        color: #888;
        font-size: 11px;
    }

@media (max-width: 900px) {
    .site-layout[b-f1cubflm10] {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 12px;
    }
}
/* =========================================================
   팝업 공통
   ========================================================= */

.modal-back[b-f1cubflm10] {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}


.modal-box[b-f1cubflm10] {
    width: 470px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 60px);
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
}


.group-popup-box[b-f1cubflm10] {
    width: 390px;
}


.modal-title[b-f1cubflm10] {
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf0f3;
    font-size: 21px;
    font-weight: 700;
    color: #222;
}


/* =========================================================
   팝업 입력 항목
   ========================================================= */

.field[b-f1cubflm10] {
    margin-bottom: 18px;
}

    .field label[b-f1cubflm10] {
        display: block;
        margin-bottom: 7px;
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }


    .field input[b-f1cubflm10],
    .group-select[b-f1cubflm10] {
        width: 100%;
        height: 43px;
        box-sizing: border-box;
        padding: 0 12px;
        border: 1px solid #ccd2da;
        border-radius: 7px;
        background: #fff;
        font-size: 15px;
        color: #222;
        outline: none;
    }


        .field input:focus[b-f1cubflm10],
        .group-select:focus[b-f1cubflm10] {
            border-color: #1976d2;
            box-shadow: 0 0 0 3px rgba(25,118,210,.08);
        }


.field-help[b-f1cubflm10] {
    margin-top: 6px;
    color: #8a8f98;
    font-size: 12px;
}


/* =========================================================
   연결방식
   ========================================================= */

.mode-select[b-f1cubflm10] {
    display: flex;
    gap: 10px;
}


.mode-option[b-f1cubflm10] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    transition: .15s;
}


    .mode-option:hover[b-f1cubflm10] {
        border-color: #aab8c7;
        background: #fafbfd;
    }


    .mode-option.selected[b-f1cubflm10] {
        border-color: #1976d2;
        background: #eef6ff;
        box-shadow: 0 0 0 1px rgba(25,118,210,.05);
    }


    .mode-option span[b-f1cubflm10] {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }


    .mode-option small[b-f1cubflm10] {
        color: #888;
        font-size: 11px;
    }


/* =========================================================
   팝업 버튼
   ========================================================= */

.modal-buttons[b-f1cubflm10] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 24px;
}


.btn-cancel[b-f1cubflm10],
.btn-save[b-f1cubflm10] {
    min-width: 75px;
    border: 0;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}


.btn-cancel[b-f1cubflm10] {
    background: #eeeeee;
    color: #333;
}


    .btn-cancel:hover[b-f1cubflm10] {
        background: #e0e0e0;
    }


.btn-save[b-f1cubflm10] {
    background: #1976d2;
    color: #fff;
}


    .btn-save:hover[b-f1cubflm10] {
        background: #1565c0;
    }


/* =========================================================
   오류
   ========================================================= */

.error[b-f1cubflm10] {
    margin-top: 10px;
    color: #d32f2f;
    font-size: 14px;
}
/* =========================================================
   상단 원격PC 추가 버튼
   ========================================================= */

.btn-add[b-f1cubflm10] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 135px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid #1565c0;
    border-radius: 8px;
    background: linear-gradient(180deg, #2f8df3 0%, #1976d2 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 3px 9px rgba(25,118,210,.22);
    cursor: pointer;
    transition: background .15s, box-shadow .15s, transform .1s;
}

    .btn-add:hover[b-f1cubflm10] {
        background: linear-gradient(180deg, #2684e8 0%, #1565c0 100%);
        box-shadow: 0 5px 13px rgba(25,118,210,.28);
        transform: translateY(-1px);
    }

    .btn-add:active[b-f1cubflm10] {
        transform: translateY(0);
        box-shadow: 0 2px 5px rgba(25,118,210,.20);
    }


/* =========================================================
   원격PC 수정 / 삭제 버튼
   ========================================================= */

.site-actions[b-f1cubflm10] {
    display: flex;
    align-items: center;
    gap: 8px;
}


.btn-edit[b-f1cubflm10],
.btn-delete[b-f1cubflm10] {
    min-width: 68px;
    height: 36px;
    padding: 0 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .1s;
}


/* 수정 */

.btn-edit[b-f1cubflm10] {
    border: 1px solid #90caf9;
    background: #eaf5ff;
    color: #1565c0;
    box-shadow: 0 2px 5px rgba(21,101,192,.08);
}

    .btn-edit:hover[b-f1cubflm10] {
        border-color: #64b5f6;
        background: #dcedff;
        color: #0d47a1;
        box-shadow: 0 3px 8px rgba(21,101,192,.14);
        transform: translateY(-1px);
    }

    .btn-edit:active[b-f1cubflm10] {
        transform: translateY(0);
    }


/* 삭제 */

.btn-delete[b-f1cubflm10] {
    border: 1px solid #ef9a9a;
    background: #fff0f0;
    color: #c62828;
    box-shadow: 0 2px 5px rgba(198,40,40,.07);
}

    .btn-delete:hover[b-f1cubflm10] {
        border-color: #e57373;
        background: #ffe1e1;
        color: #b71c1c;
        box-shadow: 0 3px 8px rgba(198,40,40,.13);
        transform: translateY(-1px);
    }

    .btn-delete:active[b-f1cubflm10] {
        transform: translateY(0);
    }
/* =========================================================
   상단 여백
   ========================================================= */

.page-header[b-f1cubflm10] {
    margin-bottom: 28px;
}


/* =========================================================
   원격PC 카드 - 버튼을 오른쪽 끝으로
   ========================================================= */

.site-row[b-f1cubflm10] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-info[b-f1cubflm10] {
    flex: 1;
    min-width: 0;
}

.site-actions[b-f1cubflm10] {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}


/* =========================================================
   그룹 패널 높이 자동
   ========================================================= */

.group-list[b-f1cubflm10] {
    max-height: none;
    overflow-y: visible;
}

.group-panel[b-f1cubflm10] {
    min-height: 0;
}

/* ============================================================
   v12 : 모바일 원격PC설정 전용 레이아웃
   ============================================================ */
@media (max-width: 768px) {

    html[b-f1cubflm10],
    body[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    .site-page[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .page-header[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        gap: 8px !important;
    }

        .page-header h1[b-f1cubflm10] {
            font-size: 22px !important;
            white-space: nowrap !important;
        }

        .page-header .sub-title[b-f1cubflm10] {
            font-size: 12px !important;
        }

    .btn-add[b-f1cubflm10] {
        min-width: 96px !important;
        height: 38px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    .site-layout[b-f1cubflm10] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .group-panel[b-f1cubflm10],
    .site-panel[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .group-panel[b-f1cubflm10] {
        margin-bottom: 12px !important;
    }

    .group-list[b-f1cubflm10] {
        display: flex !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 7px !important;
        box-sizing: border-box !important;
        -webkit-overflow-scrolling: touch;
    }

    .group-list-item[b-f1cubflm10] {
        flex: 0 0 auto !important;
        min-width: 112px !important;
        max-width: 180px !important;
        margin: 0 !important;
    }

    .site-panel-head[b-f1cubflm10] {
        min-height: 58px !important;
        padding: 10px 12px !important;
    }

    .site-panel-title[b-f1cubflm10] {
        font-size: 18px !important;
    }

    .site-search-bar[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        gap: 6px !important;
    }

    .site-search-box[b-f1cubflm10] {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .site-search-count[b-f1cubflm10] {
        flex: 0 0 auto !important;
        font-size: 11px !important;
    }

    .site-list[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .site-row[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        padding: 13px 14px !important;
        overflow: hidden !important;
    }

    .site-info[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 5px !important;
    }

    .site-name[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    .site-address[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
        overflow: hidden !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        font-size: 13px !important;
    }

    .connection-mode[b-f1cubflm10] {
        display: inline-flex !important;
        align-items: center !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .site-actions[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 2px 0 0 0 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

        .site-actions .btn-edit[b-f1cubflm10],
        .site-actions .btn-delete[b-f1cubflm10] {
            width: 100% !important;
            min-width: 0 !important;
            height: 38px !important;
            padding: 0 8px !important;
            box-sizing: border-box !important;
        }

    .modal-back[b-f1cubflm10] {
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        padding: 10px !important;
    }

    .modal-box[b-f1cubflm10],
    .group-popup-box[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 18px 14px !important;
    }

    .mode-options[b-f1cubflm10],
    .modal-buttons[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}


/* ============================================================
   v13 : 모바일 원격PC설정 - 그룹 왼쪽 세로 + 작은 수정/삭제
   ============================================================ */
@media (max-width: 768px) {

    html[b-f1cubflm10],
    body[b-f1cubflm10] {
        min-width: 430px !important;
        width: auto !important;
        max-width: none !important;
        overflow-x: auto !important;
    }

    .site-page[b-f1cubflm10] {
        width: 672px !important;
        min-width: 672px !important;
        max-width: none !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .site-layout[b-f1cubflm10] {
        display: grid !important;
        grid-template-columns: 220px 222px !important;
        gap: 10px !important;
        width: 662px !important;
        min-width: 662px !important;
        max-width: none !important;
        align-items: start !important;
    }

    .group-panel[b-f1cubflm10] {
        display: block !important;
        width: 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .group-panel-head[b-f1cubflm10] {
        width: 100% !important;
        min-width: 0 !important;
        padding: 8px 6px !important;
        box-sizing: border-box !important;
    }

    .group-panel-title[b-f1cubflm10] {
        font-size: 13px !important;
    }

    .group-panel-count[b-f1cubflm10] {
        font-size: 10px !important;
    }

    .btn-group-add-small[b-f1cubflm10] {
        width: 26px !important;
        min-width: 26px !important;
        height: 26px !important;
        margin-left: 3px !important;
        padding: 0 !important;
    }

    .group-list[b-f1cubflm10] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 5px !important;
        box-sizing: border-box !important;
    }

    .group-list-item[b-f1cubflm10] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 0 5px 0 !important;
        box-sizing: border-box !important;
    }

    .group-list-name[b-f1cubflm10] {
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 14px !important;
    }

    .site-panel[b-f1cubflm10] {
        width: 302px !important;
        min-width: 302px !important;
        max-width: 302px !important;
        overflow: visible !important;
    }

    .site-list[b-f1cubflm10] {
        width: 100% !important;
        overflow: visible !important;
    }

    .site-row[b-f1cubflm10] {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 8px 7px !important;
        min-width: 0 !important;
    }

    .site-info[b-f1cubflm10] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: block !important;
    }

    .site-name[b-f1cubflm10] {
        font-size: 13px !important;
        margin-bottom: 3px !important;
    }

    .site-address[b-f1cubflm10] {
        display: block !important;
        font-size: 11px !important;
        line-height: 18px !important;
    }

    .connection-mode[b-f1cubflm10] {
        display: inline-flex !important;
        margin: 3px 0 0 0 !important;
        font-size: 10px !important;
    }

    .site-actions[b-f1cubflm10] {
        flex: 0 0 auto !important;
        width: auto !important;
        display: flex !important;
        grid-template-columns: none !important;
        gap: 4px !important;
        margin: 0 !important;
    }

        .site-actions .btn-edit[b-f1cubflm10],
        .site-actions .btn-delete[b-f1cubflm10] {
            width: auto !important;
            min-width: 40px !important;
            height: 29px !important;
            padding: 0 6px !important;
            font-size: 10px !important;
        }
}

@media (max-width: 768px) {
    .page-header-actions[b-f1cubflm10] {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .btn-sites-close[b-f1cubflm10] {
        min-width: 58px !important;
        height: 38px !important;
        padding: 0 9px !important;
        font-size: 12px !important;
    }
}


/* ============================================================
   v14 : 모바일 원격PC설정 가로 끝 오버스크롤 방지
   - 기존 가로 레이아웃 폭은 그대로 유지
   - 실제 콘텐츠 끝까지만 좌우 이동
   - 끝에서 빈 공간 쪽으로 더 끌리는 동작 차단
   ============================================================ */
@media (max-width: 768px) {

    html[b-f1cubflm10] {
        overscroll-behavior-x: none !important;
        overflow-y: auto !important;
    }

    body[b-f1cubflm10] {
        overscroll-behavior-x: none !important;
        -ms-scroll-chaining: none !important;
    }

    .site-page[b-f1cubflm10] {
        overscroll-behavior-x: contain !important;
    }

    .site-layout[b-f1cubflm10] {
        overscroll-behavior-x: contain !important;
    }

    .group-list[b-f1cubflm10] {
        overscroll-behavior-x: contain !important;
    }
}

/* ============================================================
   v15 : 모바일 원격PC설정 실제 화면폭에 맞춤
   - v13의 430/672/662px 강제 가로폭 해제
   - 그룹/원격PC 2열 구조는 유지하되 viewport 안에서 비율 배치
   - 페이지 자체의 좌우 드래그/빈 공간 제거
   ============================================================ */
@media (max-width: 768px) {
    .site-page[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overscroll-behavior-x: none !important;
    }

    .page-header[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

        .page-header > div:first-child[b-f1cubflm10] {
            flex: 1 1 auto !important;
            min-width: 0 !important;
        }

        .page-header h1[b-f1cubflm10] {
            margin: 0 !important;
            max-width: 100% !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
            font-size: 20px !important;
        }

    .page-header-actions[b-f1cubflm10] {
        flex: 0 0 auto !important;
        min-width: 0 !important;
        gap: 5px !important;
    }

    .btn-add[b-f1cubflm10] {
        min-width: 0 !important;
        height: 36px !important;
        padding: 0 9px !important;
        font-size: 11px !important;
    }

    .btn-sites-close[b-f1cubflm10] {
        min-width: 50px !important;
        height: 36px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
    }

    .site-layout[b-f1cubflm10] {
        display: grid !important;
        grid-template-columns: minmax(108px, 36%) minmax(0, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .group-panel[b-f1cubflm10],
    .site-panel[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .group-panel-head[b-f1cubflm10] {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 58px !important;
        padding: 8px 6px !important;
        gap: 3px !important;
        box-sizing: border-box !important;
    }

        .group-panel-head > div:first-child[b-f1cubflm10] {
            min-width: 0 !important;
            overflow: hidden !important;
        }

    .group-panel-title[b-f1cubflm10] {
        font-size: 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .group-panel-count[b-f1cubflm10] {
        font-size: 9px !important;
    }

    .btn-group-add-small[b-f1cubflm10] {
        flex: 0 0 25px !important;
        width: 25px !important;
        min-width: 25px !important;
        height: 25px !important;
        padding: 0 !important;
        font-size: 17px !important;
        line-height: 23px !important;
    }

    .group-list[b-f1cubflm10] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 4px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .group-list-item[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 42px !important;
        margin: 0 0 4px 0 !important;
        padding: 0 4px 0 7px !important;
        gap: 3px !important;
        box-sizing: border-box !important;
    }

    .group-list-name[b-f1cubflm10] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        font-size: 12px !important;
    }

    .group-list-right[b-f1cubflm10] {
        flex: 0 0 auto !important;
        gap: 1px !important;
    }

    .group-list-count[b-f1cubflm10] {
        min-width: 20px !important;
        height: 20px !important;
        padding: 0 4px !important;
        font-size: 9px !important;
    }

    .group-list-delete[b-f1cubflm10] {
        width: 21px !important;
        min-width: 21px !important;
        height: 21px !important;
        font-size: 15px !important;
    }

    .site-panel-head[b-f1cubflm10] {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 58px !important;
        margin-bottom: 8px !important;
        padding: 8px 9px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .site-panel-title[b-f1cubflm10] {
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 15px !important;
    }

    .site-panel-sub[b-f1cubflm10] {
        font-size: 10px !important;
    }

    .site-search-bar[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 4px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .site-search-box[b-f1cubflm10] {
        flex: 1 1 0 !important;
        width: 0 !important;
        max-width: none !important;
        min-width: 0 !important;
    }

        .site-search-box input[b-f1cubflm10] {
            width: 100% !important;
            min-width: 0 !important;
            padding-left: 28px !important;
            padding-right: 26px !important;
            font-size: 12px !important;
        }

    .site-search-count[b-f1cubflm10] {
        flex: 0 0 auto !important;
        font-size: 9px !important;
    }

    .site-list[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .site-row[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 8px 6px !important;
        gap: 4px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .site-info[b-f1cubflm10] {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .site-name[b-f1cubflm10] {
        max-width: 100% !important;
        font-size: 12px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .site-address[b-f1cubflm10] {
        max-width: 100% !important;
        font-size: 10px !important;
        line-height: 16px !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .connection-mode[b-f1cubflm10] {
        max-width: 100% !important;
        font-size: 9px !important;
    }

    .site-actions[b-f1cubflm10] {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        gap: 2px !important;
        margin: 0 !important;
        display: flex !important;
    }

        .site-actions .btn-edit[b-f1cubflm10],
        .site-actions .btn-delete[b-f1cubflm10] {
            width: auto !important;
            min-width: 34px !important;
            height: 28px !important;
            padding: 0 4px !important;
            font-size: 9px !important;
        }

    .modal-back[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .modal-box[b-f1cubflm10],
    .group-popup-box[b-f1cubflm10] {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}


/* ============================================================
   모바일 원격PC명 전체 표시
   - 원격PC명이 길어도 ... 으로 자르지 않고 여러 줄로 표시한다.
   - 페이지 자체의 가로 스크롤은 만들지 않는다.
   ============================================================ */
@media (max-width: 768px) {
    .site-row[b-f1cubflm10] {
        height: auto !important;
        min-height: 54px !important;
        align-items: center !important;
    }

    .site-name[b-f1cubflm10] {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        line-height: 17px !important;
    }
}

/* ============================================================
   vNext : 설정 관리 PC / 모바일 재배치
   ============================================================ */

/* 모바일 전용 요소는 PC에서 숨김 */
.mobile-page-header[b-f1cubflm10],
.mobile-site-search[b-f1cubflm10],
.mobile-group-sites[b-f1cubflm10],
.btn-group-add-mobile[b-f1cubflm10] {
    display: none;
}

@media (min-width: 769px) {
    /* 원격PC 그룹 카드 폭을 기존 240px의 3배로 확대 */
    .site-layout[b-f1cubflm10] {
        grid-template-columns: 720px minmax(0, 1fr) !important;
        gap: 18px !important;
    }

    .group-panel[b-f1cubflm10] {
        width: 720px !important;
        min-width: 720px !important;
        max-width: 720px !important;
    }

    .group-list-block[b-f1cubflm10] {
        width: 100%;
    }

    .group-list-item[b-f1cubflm10] {
        width: 100%;
        min-height: 44px !important;
        padding: 0 10px 0 14px !important;
        box-sizing: border-box;
    }

    .group-list-right[b-f1cubflm10] {
        gap: 6px !important;
    }

    .group-action-rename[b-f1cubflm10],
    .group-action-delete[b-f1cubflm10] {
        height: 30px;
        padding: 0 12px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
    }

    .group-action-rename[b-f1cubflm10] {
        border: 1px solid #90caf9;
        background: #eaf5ff;
        color: #1565c0;
    }

        .group-action-rename:hover[b-f1cubflm10] {
            background: #dcedff;
        }

    .group-action-delete[b-f1cubflm10] {
        border: 1px solid #ef9a9a;
        background: #fff0f0;
        color: #c62828;
    }

        .group-action-delete:hover[b-f1cubflm10] {
            background: #ffe1e1;
        }

    /* 오른쪽 원격PC 행 세로 크기 축소 */
    .site-row[b-f1cubflm10] {
        min-height: 44px !important;
        padding: 8px 14px !important;
        gap: 8px !important;
    }

    .site-actions .btn-edit[b-f1cubflm10],
    .site-actions .btn-delete[b-f1cubflm10] {
        height: 30px !important;
        padding: 0 12px !important;
    }
}

@media (max-width: 768px) {
    /* 기존 모바일 고정 폭/가로 스크롤 규칙을 최종적으로 무효화 */
    html[b-f1cubflm10],
    body[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    .site-page[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .desktop-page-header[b-f1cubflm10] {
        display: none !important;
    }

    .mobile-page-header[b-f1cubflm10] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 12px !important;
    }

    .mobile-title-row[b-f1cubflm10] {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
    }

        .mobile-title-row h1[b-f1cubflm10] {
            margin: 0 !important;
            font-size: 22px !important;
            white-space: nowrap !important;
        }

    .mobile-site-search[b-f1cubflm10] {
        display: block !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }

        .mobile-site-search .site-search-bar[b-f1cubflm10] {
            width: 100% !important;
            margin: 0 !important;
            gap: 6px !important;
        }

        .mobile-site-search .site-search-box[b-f1cubflm10] {
            flex: 1 1 auto !important;
            width: auto !important;
            max-width: none !important;
            min-width: 0 !important;
        }

        .mobile-site-search .site-search-count[b-f1cubflm10] {
            flex: 0 0 auto !important;
            font-size: 11px !important;
        }

    .mobile-header-actions[b-f1cubflm10] {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

        .mobile-header-actions .btn-add[b-f1cubflm10],
        .btn-group-add-mobile[b-f1cubflm10] {
            width: 100% !important;
            min-width: 0 !important;
            height: 40px !important;
            padding: 0 8px !important;
            border-radius: 8px !important;
            font-size: 13px !important;
            font-weight: 700 !important;
            box-sizing: border-box !important;
            cursor: pointer !important;
        }

    .btn-group-add-mobile[b-f1cubflm10] {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #15803d !important;
        background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
        color: #fff !important;
    }

        .btn-group-add-mobile:hover[b-f1cubflm10] {
            background: linear-gradient(180deg, #1fb757 0%, #15803d 100%) !important;
        }

    .btn-sites-close[b-f1cubflm10] {
        min-width: 58px !important;
        height: 36px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    /* 제목 -> 검색 -> 버튼 -> 그룹 순서, 이후 그룹 내부에서 PC 목록 펼침 */
    .site-layout[b-f1cubflm10] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .group-panel[b-f1cubflm10] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .group-panel-head[b-f1cubflm10] {
        width: 100% !important;
        min-height: 54px !important;
        padding: 9px 12px !important;
        box-sizing: border-box !important;
    }

    .group-panel-title[b-f1cubflm10] {
        font-size: 15px !important;
    }

    .group-panel-count[b-f1cubflm10] {
        font-size: 10px !important;
    }

    /* 모바일에서는 상단에 별도 그룹 추가 버튼이 있으므로 + 버튼 숨김 */
    .btn-group-add-small[b-f1cubflm10] {
        display: none !important;
    }

    .group-list[b-f1cubflm10] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 6px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .group-list-block[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 6px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .group-list-item[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 6px 7px 6px 10px !important;
        gap: 5px !important;
        box-sizing: border-box !important;
    }

    .group-list-name[b-f1cubflm10] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        font-size: 13px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .group-list-right[b-f1cubflm10] {
        flex: 0 0 auto !important;
        gap: 3px !important;
    }

    .group-list-count[b-f1cubflm10] {
        min-width: 22px !important;
        height: 22px !important;
        padding: 0 5px !important;
        font-size: 9px !important;
    }

    .group-action-rename[b-f1cubflm10],
    .group-action-delete[b-f1cubflm10] {
        min-width: 0 !important;
        height: 27px !important;
        padding: 0 7px !important;
        border-radius: 5px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
    }

    .group-action-rename[b-f1cubflm10] {
        border: 1px solid #90caf9 !important;
        background: #eaf5ff !important;
        color: #1565c0 !important;
    }

    .group-action-delete[b-f1cubflm10] {
        border: 1px solid #ef9a9a !important;
        background: #fff0f0 !important;
        color: #c62828 !important;
    }

    /* PC용 오른쪽 패널은 모바일에서 사용하지 않는다. */
    .site-panel[b-f1cubflm10] {
        display: none !important;
    }

    .desktop-site-search[b-f1cubflm10] {
        display: none !important;
    }

    /* 클릭한 그룹 바로 아래에 원격PC 목록을 세로로 펼침 */
    .mobile-group-sites[b-f1cubflm10] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 6px !important;
        background: #f8fafc !important;
        border: 1px solid #e6eaf0 !important;
        border-top: 0 !important;
        box-sizing: border-box !important;
    }

    .mobile-group-empty[b-f1cubflm10] {
        padding: 13px 10px !important;
        text-align: center !important;
        color: #8b94a1 !important;
        font-size: 12px !important;
    }

    .mobile-site-row.site-row[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 9px 10px !important;
        margin-bottom: 6px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 7px !important;
        box-sizing: border-box !important;
    }

    .mobile-site-row:last-child[b-f1cubflm10] {
        margin-bottom: 0 !important;
    }

    .mobile-site-row .site-info[b-f1cubflm10] {
        width: 100% !important;
        min-width: 0 !important;
    }

    .mobile-site-row .site-name[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 13px !important;
        line-height: 18px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mobile-site-row .site-address[b-f1cubflm10] {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 5px !important;
        font-size: 11px !important;
        line-height: 16px !important;
    }

    .mobile-site-row .site-actions[b-f1cubflm10] {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        margin: 0 !important;
    }

        .mobile-site-row .site-actions .btn-edit[b-f1cubflm10],
        .mobile-site-row .site-actions .btn-delete[b-f1cubflm10] {
            width: 100% !important;
            min-width: 0 !important;
            height: 31px !important;
            padding: 0 6px !important;
            font-size: 11px !important;
            box-sizing: border-box !important;
        }

    .modal-back[b-f1cubflm10] {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .modal-box[b-f1cubflm10],
    .group-popup-box[b-f1cubflm10] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 18px 14px !important;
        box-sizing: border-box !important;
    }
}
/* ============================================================
   vNext2 : 전체 검색 / 모바일 펼침 내용 / 기본 그룹 정렬 보조
   ============================================================ */
@media (min-width: 769px) {
    .desktop-page-header .page-header-actions[b-f1cubflm10] {
        flex: 1 1 auto;
        justify-content: flex-end;
        min-width: 0;
    }

    .desktop-page-header .desktop-site-search[b-f1cubflm10] {
        display: flex !important;
        flex: 1 1 360px;
        max-width: 520px;
        min-width: 240px;
        margin: 0 8px 0 0 !important;
    }

        .desktop-page-header .desktop-site-search .site-search-box[b-f1cubflm10] {
            flex: 1 1 auto;
            min-width: 0;
            max-width: none;
        }
}

@media (max-width: 768px) {
    /* 이전 모바일 규칙의 flex-basis:0 때문에 정보 영역 높이가 0으로 접히던 문제 수정 */
    .mobile-site-row .site-info[b-f1cubflm10] {
        display: block !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        overflow: visible !important;
    }

    .mobile-site-row .site-name[b-f1cubflm10],
    .mobile-site-row .site-address[b-f1cubflm10] {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        overflow: visible !important;
        color: #222 !important;
    }

    .mobile-site-row .site-name[b-f1cubflm10] {
        display: block !important;
    }
}
